.cart-page {
    max-width: 480px;
    margin: 0 auto;
    padding: 1rem;
    min-height: calc(100vh - 550px);
}

.cart-header {
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 2px solid #000;
}

.cart-header .page-title {
    font-size: 24px;
    font-weight: 700;
    color: #000;
    margin: 0;
}

.cart-list {
    list-style: none;
    padding: 0;
    margin: 0 0 24px 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.cart-item {
    display: flex;
    gap: 12px;
    padding: 16px;
    background: #f9f9f9;
    border-radius: 8px;
    border: 1px solid #eee;
}

.cart-item-image {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    border-radius: 6px;
    overflow: hidden;
    background: #fff;
}

.cart-item-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.cart-item-info {
    flex: 1;
    min-width: 0;
}

.cart-item-name {
    font-size: 15px;
    font-weight: 600;
    color: #000;
    margin-bottom: 4px;
    line-height: 1.3;
}

.cart-item-option {
    font-size: 13px;
    color: #666;
    margin-bottom: 8px;
}

.cart-item-price {
    font-size: 16px;
    font-weight: 700;
    color: #000;
}

.cart-item-controls {
    display: flex;
    align-items: center;
    gap: 8px;
}

.cart-item-qty {
    display: flex;
    align-items: center;
    border: 1px solid #ddd;
    border-radius: 4px;
    overflow: hidden;
}

.cart-item-qty button {
    width: 32px;
    height: 32px;
    border: none;
    background: #fff;
    cursor: pointer;
    font-size: 18px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cart-item-qty button:hover {
    background: #f0f0f0;
}

.cart-item-qty input {
    width: 40px;
    height: 32px;
    border: none;
    border-left: 1px solid #ddd;
    border-right: 1px solid #ddd;
    text-align: center;
    font-size: 14px;
}

.cart-item-remove {
    padding: 6px 12px;
    border: 1px solid #dc3545;
    background: #fff;
    color: #dc3545;
    border-radius: 4px;
    font-size: 13px;
    cursor: pointer;
}

.cart-item-remove:hover {
    background: #dc3545;
    color: #fff;
}

.cart-summary {
    background: #f9f9f9;
    border-radius: 8px;
    padding: 16px;
    margin-bottom: 20px;
}

.cart-summary .summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    font-size: 14px;
}

.cart-summary .summary-row.main-row {
    font-size: 18px;
    font-weight: 700;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid #ddd;
}

.cart-summary .summary-label {
    color: #666;
}

.cart-summary .summary-value {
    font-weight: 600;
    color: #000;
}

.cart-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.btn-clear {
    padding: 12px 16px;
    border: 1px solid #ddd;
    background: #fff;
    color: #666;
    border-radius: 6px;
    font-size: 15px;
    cursor: pointer;
}

.btn-clear:hover {
    background: #f5f5f5;
}

.btn-order {
    padding: 14px 16px;
    border: none;
    background: #1971c2;
    color: #fff;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
}

.btn-order:hover {
    background: #1565c0;
}

.btn-login, .btn-shopping {
    display: inline-block;
    margin-top: 16px;
    padding: 12px 24px;
    background: #1971c2;
    color: #fff;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
}

.btn-login:hover, .btn-shopping:hover {
    background: #1565c0;
    color: #fff;
}

@media (max-width: 768px) {
    .cart-page {
        padding: 0.75rem;
    }

    .cart-item-image {
        width: 70px;
        height: 70px;
    }
}
