/* CSS Variables */
:root {
    --primary: #1a1a1a;
    --secondary: #f8f9fa;
    --accent: #e9ecef;
    --text-primary: #1a1a1a;
    --text-secondary: #6c757d;
    --text-tertiary: #adb5bd;
    --bg-primary: #ffffff;
    --bg-secondary: #f8f9fa;
    --bg-card: #ffffff;
    --gray-100: #f8f9fa;
    --gray-200: #e9ecef;
    --gray-300: #dee2e6;
    --gray-400: #ced4da;
    --gray-500: #adb5bd;
    --gray-600: #6c757d;
    --gray-700: #495057;
    --gray-800: #343a40;
    --gray-900: #212529;
    --border-radius: 12px;
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.1);
    --shadow-lg: 0 8px 24px rgba(0,0,0,0.15);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    /* Header boşluğu (navbar yüksekliği) - tüm düzen bununla senkron */
    --header-space: 150px;
    /* Slider altında aynı ekranda görünecek alan (başlık+alt metin+boşluk) */
    --below-hero-space: 260px;
    /* Dinamik aşağı alan: cihaz yüksekliğine göre otomatik ayarlanır */
    --below-hero-space-dyn: clamp(160px, 26vh, 420px);
    /* Mobil slider yüksekliği (<=578px) - JS tarafından güncellenir */
    --mobile-slider-h: 320px;
    /* Mobilde navbar ile slider arasındaki görsel boşluk */
    --mobile-slider-gap: 36px; /* mobile slider üst boşluk */
}

/* Sayfa yüksekliği ayarı */
html, body {
    height: 100%;
    margin: 0;
    padding: 0;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: #ffffff !important; /* Tek beyaz renk */
    background-attachment: fixed;
    min-height: 100vh;
    position: relative;
}

/* Subtle Pattern Overlay - Kaldırıldı */
/* body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(26,26,26,0.02) 0%, transparent 50%), 
                radial-gradient(circle at 80% 20%, rgba(26,26,26,0.02) 0%, transparent 50%), 
                radial-gradient(circle at 40% 80%, rgba(26,26,26,0.02) 0%, transparent 50%);
    pointer-events: none;
    z-index: -1;
} */

/* === RESPONSIVE BODY PADDING FOR FIXED HEADER === */
/* Tüm cihazlarda boşluğu değişkenle yönet */
body {
    padding-top: var(--header-space) !important;
}

/* Header boşluğu breakpoints */
@media (max-width: 992px) { :root{ --header-space: 150px; } }
@media (max-width: 768px) { :root{ --header-space: 145px; } }
@media (max-width: 576px) { :root{ --header-space: 130px; } }
@media (max-width: 480px) { :root{ --header-space: 124px; } }
@media (max-width: 425px) { :root{ --header-space: 132px; } }
@media (max-width: 375px) { :root{ --header-space: 130px; } }
@media (max-width: 340px) { :root{ --header-space: 138px; } }

/* Aynı ekranda başlık ve "Kategorileri Keşfet"in görünmesi için boşluk */
@media (max-width: 1200px) { :root{ --below-hero-space: 300px; } }
@media (max-width: 992px)  { :root{ --below-hero-space: 290px; } }
@media (max-width: 768px)  { :root{ --below-hero-space: 260px; } }
@media (max-width: 576px)  { :root{ --below-hero-space: 240px; } }
@media (max-width: 480px)  { :root{ --below-hero-space: 230px; } }
@media (max-width: 375px)  { :root{ --below-hero-space: 210px; } }

/* Dinamik boşluğu genişliklere göre ince ayar */
@media (max-width: 576px)  { :root{ --below-hero-space-dyn: clamp(150px, 28vh, 320px); } }
@media (min-width: 577px) and (max-width: 768px) { :root{ --below-hero-space-dyn: clamp(170px, 26vh, 360px); } }
@media (min-width: 769px) and (max-width: 1200px) { :root{ --below-hero-space-dyn: clamp(220px, 26vh, 400px); } }

/* Dizüstü ~1024px görünümü: "Kategorileri Keşfet" aynı ekranda görünsün */
@media (min-width: 993px) and (max-width: 1200px) {
    :root { --below-hero-space: 360px; }
}

/* 992px ve altı için kademeli boşluklar (870px'e kadar) */
@media (min-width: 941px) and (max-width: 992px) {
    :root { --below-hero-space: 340px; }
}

@media (min-width: 901px) and (max-width: 940px) {
    :root { --below-hero-space: 320px; }
}

@media (min-width: 871px) and (max-width: 900px) {
    :root { --below-hero-space: 300px; }
}

/* === CONTAINER RESPONSIVE PADDING === */
/* Desktop container padding */
.container {
    padding-left: 15px;
    padding-right: 15px;
}

/* Tablet container padding */
@media (max-width: 768px) {
    .container {
        padding-left: 12px;
        padding-right: 12px;
    }
}

/* Mobil container padding */
@media (max-width: 576px) {
    .container {
        padding-left: 10px;
        padding-right: 10px;
    }
}

/* Küçük telefon container padding */
@media (max-width: 480px) {
    .container {
        padding-left: 8px;
        padding-right: 8px;
    }
}

/* Çok küçük telefon container padding */
@media (max-width: 375px) {
    .container {
        padding-left: 6px;
        padding-right: 6px;
    }
}

/* Modern Page Layout */
.page-wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    position: relative;
}

.page-content {
    flex: 1;
    position: relative;
    z-index: 1;
}

/* Modern Container Styles */
/* Modern Container Styles - Product Detail için özel */
.container:not(.product-detail-container):not(.product-detail-wrapper) {
    position: relative;
    z-index: 2;
}

.container-fluid:not(.product-detail-wrapper) {
    position: relative;
    z-index: 2;
}

/* ===================================================
   PRODUCT DETAIL SAYFASI - TAM BAĞIMSIZLIK
   Bootstrap ve site.css bu sayfayı ETKİLEYEMEZ
   =================================================== */
.product-detail-container,
.product-detail-container *,
.product-detail-wrapper,
.product-detail-wrapper *,
.product-main,
.product-main *,
.product-images,
.product-images *,
.product-info,
.product-info * {
    /* Bootstrap'ın container sınırlamalarını kaldır */
    max-width: none !important;
}

/* Product detail için tüm Bootstrap col override'ları devre dışı */
.product-detail-container .row,
.product-detail-wrapper .row,
.product-main.row {
    margin-left: 0 !important;
    margin-right: 0 !important;
}

.product-detail-container .col-lg-6,
.product-detail-wrapper .col-lg-6,
.product-main .col-lg-6 {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

/* === HERO SLIDER === */
.hero-slider-section {
    margin-top: 0; /* Header ile arasında boşluk yok */
    padding: 0;
    height: calc(100vh - 110px); /* Ekran yüksekliği - header yüksekliği */
    overflow: hidden;
}

.hero-slide {
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    display: flex;
    align-items: center;
}

.hero-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(0,0,0,0.4) 0%, rgba(0,0,0,0.1) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    color: white;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
    opacity: 0.9;
}

.hero-slide .btn {
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 0;
    transition: all 0.3s ease;
}

.hero-slide .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

/* Carousel kontrolleri */
/* Genel carousel kontrol butonları - 578px ÜSTÜ İÇİN */
@media (min-width: 579px) {
    .carousel-control-prev,
    .carousel-control-next {
        width: 60px;
        height: 60px;
        background: rgba(0,0,0,0.5);
        border: none;
        border-radius: 50%;
        top: 50%;
        transform: translateY(-50%);
        transition: all 0.3s ease;
    }
    
    .carousel-control-prev:hover,
    .carousel-control-next:hover {
        background: rgba(0,0,0,0.8);
        transform: translateY(-50%) scale(1.1);
    }
}

.carousel-indicators {
    bottom: 12px; /* daha aşağıda ve kompakt */
}

/* Mobilde büyük iki top görünümünü engelle, küçük nokta yap */
.carousel-indicators [data-bs-target] {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: rgba(255,255,255,0.5);
    border: 1px solid rgba(255,255,255,0.8);
    transition: all 0.2s ease;
    margin: 0 4px;
}

.carousel-indicators .active {
    background-color: #111;
}

/* Bizim özel dots (hs) için de güvenli küçük ölçüler */
.hs-dots { bottom: 10px; }
.hs-dots button { width: 6px; height: 6px; }

/* === HEADER === */
.zara-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background-color: #ffffff;
    border-bottom: 2px solid #2c2c2c;
    display: flex;
    align-items: center;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.zara-header.scrolled {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.zara-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.left-section {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo {
    font-size: 3rem;
    font-weight: bold;
    text-decoration: none;
    color: #2c2c2c;
    letter-spacing: -1px;
    font-family: 'Didot', serif;
    transition: color 0.3s ease;
}

.logo:hover {
    color: #666666;
}

.menu-toggle {
    width: 40px;
    height: 30px;
    border: none;
    background: transparent;
    cursor: pointer;
    position: relative;
}

.bar {
    display: block;
    height: 3px;
    width: 100%;
    background-color: #2c2c2c;
    position: absolute;
    transition: all 0.3s ease-in-out;
}

.top {
    top: 0;
}

.middle {
    top: 13px;
}

.bottom {
    top: 26px;
}

.menu-toggle.active .top {
    transform: rotate(45deg);
    top: 13px;
}

.menu-toggle.active .middle {
    opacity: 0;
}

.menu-toggle.active .bottom {
    transform: rotate(-45deg);
    top: 13px;
}

.right-menu {
    display: flex;
    align-items: center;
    gap: 1rem;
}

    .right-menu a {
        text-decoration: none;
        color: #2c2c2c;
        font-size: 0.9rem;
        transition: color 0.3s ease;
    }

    .right-menu a:hover {
        color: #666666;
    }

.search-bar input {
    border: none;
    border-bottom: 2px solid #2c2c2c;
    padding: 4px 8px;
    outline: none;
    background: transparent;
    color: #2c2c2c;
    transition: border-color 0.3s ease;
}

.search-bar input:focus {
    border-bottom-color: #666666;
}

/* === SIDE MENU === */
.side-menu {
    position: fixed;
    top: 100px;
    left: -100%;
    width: 300px;
    height: calc(100% - 100px);
    background-color: #f8f8f8;
    box-shadow: 2px 0 15px rgba(0, 0, 0, 0.15);
    transition: left 0.3s ease-in-out;
    z-index: 999;
    padding: 2rem;
    overflow-y: auto;
    border-right: 2px solid #2c2c2c;
}

    .side-menu.open {
        left: 0;
    }

.side-nav a {
    display: block;
    color: #2c2c2c;
    text-decoration: none;
    margin-bottom: 0.75rem;
    font-size: 1rem;
    padding: 0.5rem;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.side-nav a:hover {
    background-color: #e8e8e8;
    color: #666666;
}

.side-nav strong {
    margin-top: 1.5rem;
    display: block;
    font-size: 0.9rem;
    color: #666666;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* === FOOTER === */
.custom-footer {
    padding: 3rem 1rem;
    background-color: #f8f8f8;
    text-align: center;
    border-top: 2px solid #2c2c2c;
    font-size: 0.85rem;
    color: #2c2c2c;
}

.footer-top p {
    margin-bottom: 1rem;
    font-weight: bold;
    letter-spacing: 0.05rem;
}

.social-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2rem;
}

    .social-links a {
        text-decoration: none;
        color: #2c2c2c;
        font-weight: 500;
        letter-spacing: 0.04rem;
        transition: color 0.3s ease;
    }

    .social-links a:hover {
        color: #666666;
    }

.footer-bottom {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2rem;
    border-top: 1px solid #eee;
    padding-top: 1rem;
}

    .footer-bottom a {
        text-decoration: none;
        color: #2c2c2c;
        transition: color 0.3s ease;
    }

    .footer-bottom a:hover {
        color: #666666;
    }

/* === RESPONSIVE === */
@media (max-width: 768px) {
    .right-menu {
        display: none;
    }

    .footer-bottom,
    .social-links {
        flex-direction: column;
        gap: 0.75rem;
    }
}

/* === HOME SLIDER SECTION === */
.slider-section {
    /* Navbar biter bitmez başlasın; body zaten padding-top veriyor */
    margin-top: 0;
    padding-top: 0;
    background: #ffffff;
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 100%;
    margin-left: 0;
    overflow: visible;
    height: auto;
}

/* Birleşik dinamik slider yüksekliği: Navbar bitiminden sonra başlar, altında yer bırakır */
.slider-section,
.slider-section .carousel,
.slider-section #homeSlider,
.slider-section .carousel-inner {
    height: calc(100vh - var(--below-hero-space-dyn)) !important;
    min-height: 320px !important;
}

/* Ok butonlarının her zaman slider içinde ortalanması için */
.slider-section .carousel { position: relative; }


.hs,
.hs-viewport,
.slider-image {
    height: calc(100vh - var(--below-hero-space-dyn)) !important;
    max-height: calc(100vh - var(--below-hero-space-dyn)) !important;
}

/* Slide içeriği yüksekliği doldursun */
.hs-slide { height: 100% !important; display: flex; align-items: center; }

/* Küçük ekranlarda boş alan kalmaması için görseli kapla */
@media (max-width: 576px) {
    .slider-image { object-fit: cover !important; }
}

/* Slider ok tuşları ve noktalar: tüm cihazlarda akıllı boyutlandırma - 578px ÜSTÜ İÇİN */
@media (min-width: 579px) {
    .slider-section .carousel-control-prev,
    .slider-section .carousel-control-next {
        /* Tüm ekranlarda orantılı ok boyutu */
        width: clamp(22px, 3.2vw, 48px) !important;
        height: clamp(22px, 3.2vw, 48px) !important;
        top: 50%;
        transform: translateY(-50%);
        background: rgba(0,0,0,0.45) !important;
        border-radius: 50%;
        padding: 0 !important;
        opacity: 0.95 !important;
    }
    .slider-section .carousel-control-prev { left: clamp(8px, 1.6vw, 28px); }
    .slider-section .carousel-control-next { right: clamp(8px, 1.6vw, 28px); }
}

.slider-section .carousel-control-prev:hover,
.slider-section .carousel-control-next:hover { background: rgba(0,0,0,0.75); }

.slider-section .carousel-indicators { bottom: clamp(8px, 2vh, 14px); }
.slider-section .carousel-indicators [data-bs-target] {
    width: clamp(3px, 0.4vw, 5px) !important;
    height: clamp(3px, 0.4vw, 5px) !important;
    margin: 0 2px !important;
    border: 0 !important;
    background-color: rgba(17,17,17,0.8) !important;
}

/* Bootstrap v5 indicator değişkenleriyle kesin küçültme (tablet+mobil) */
@media (max-width: 1024px) {
    .slider-section .carousel-indicators,
    .carousel .carousel-indicators {
    --bs-carousel-indicator-width: 5px;
    --bs-carousel-indicator-height: 5px;
    --bs-carousel-indicator-spacer: 4px;
    }
}

@media (max-width: 768px) {
    .slider-section .carousel-indicators,
    .carousel .carousel-indicators {
    --bs-carousel-indicator-width: 4px;
    --bs-carousel-indicator-height: 4px;
    --bs-carousel-indicator-spacer: 3px;
    }
}

@media (max-width: 480px) {
    .slider-section .carousel-indicators,
    .carousel .carousel-indicators {
    --bs-carousel-indicator-width: 3px;
    --bs-carousel-indicator-height: 3px;
    --bs-carousel-indicator-spacer: 3px;
    }
}

/* Kontrol ikonlarını da küçült */
.slider-section .carousel-control-prev-icon,
.slider-section .carousel-control-next-icon {
    width: clamp(12px, 1.6vw, 20px) !important;
    height: clamp(12px, 1.6vw, 20px) !important;
    background-size: 100% 100% !important;
}

/* Mobile S: ekstra küçük ekranlar için ek küçültme ve konum düzeltmesi */
@media (max-width: 360px) {
    .slider-section .carousel-control-prev,
    .slider-section .carousel-control-next {
        width: 16px !important;
        height: 16px !important;
        background: rgba(0,0,0,0.45) !important;
        /* top değeri JavaScript ile ayarlanacak - !important kaldırıldı */
    }
    .slider-section .carousel-control-prev { left: 8px !important; }
    .slider-section .carousel-control-next { right: 8px !important; }
    .slider-section .carousel-indicators { bottom: 6px; }
    .slider-section .carousel-indicators [data-bs-target] { width: 3px !important; height: 3px !important; }
    .slider-section .carousel-control-prev-icon,
    .slider-section .carousel-control-next-icon { width: 9px !important; height: 9px !important; }
}

/* Mobile: slider tam ekran genişlik (yan boşluk olmasın) */
@media (max-width: 576px) {
    .slider-section,
    .slider-section #homeSlider,
    .slider-section .carousel,
    .slider-section .carousel-inner {
        width: 100vw !important;
        max-width: 100vw !important;
        margin-left: calc(-50vw + 50%) !important;
    }
}

/* Mobile S: navbar ikonları orantı düzeltme */
@media (max-width: 360px) {
    .lcw-style-header .user-actions { gap: 6px; }
    .lcw-style-header .user-actions .user-action-link {
        width: 36px;
        height: 36px;
        padding: 0;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        border-radius: 12px;
    }
    .lcw-style-header .user-actions .user-action-link i { font-size: 14px; }
    .lcw-style-header .user-actions .user-action-link span { display: none; }
}

/* Orta boy mobil (361–480px) */
@media (min-width: 361px) and (max-width: 480px) {
    .lcw-style-header .user-actions { gap: 8px; }
    .lcw-style-header .user-actions .user-action-link {
        width: 40px;
        height: 40px;
        padding: 0;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        border-radius: 12px;
    }
    .lcw-style-header .user-actions .user-action-link i { font-size: 16px; }
    .lcw-style-header .user-actions .user-action-link span { display: none; }
}

/* Geniş mobil (481–768px) */
@media (min-width: 481px) and (max-width: 768px) {
    .lcw-style-header .user-actions { gap: 10px; }
    .lcw-style-header .user-actions .user-action-link {
        width: 44px;
        height: 44px;
        padding: 0;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        border-radius: 12px;
    }
    .lcw-style-header .user-actions .user-action-link i { font-size: 18px; }
    .lcw-style-header .user-actions .user-action-link span { display: none; }
}

/* Mobile S: Navbar arama ve kullanıcı ikon boyutları (düzeni bozmadan) */
@media (max-width: 360px) {
    .lcw-style-header .search-section .search-container { height: 34px; }
    .lcw-style-header .search-section .search-input { font-size: 12px; padding: 6px 30px 6px 10px; }
    .lcw-style-header .search-section .search-btn { width: 28px; height: 28px; }
    .lcw-style-header .search-section .search-btn i { font-size: 12px; }

    .lcw-style-header .user-actions { gap: 6px; }
    .lcw-style-header .user-actions .user-action-link { padding: 4px 6px; }
    .lcw-style-header .user-actions .user-action-link i { font-size: 14px; }
    .lcw-style-header .user-actions .user-action-link span { font-size: 11px; }
}

/* Masaüstünde: slider'ı daha kompakt tut, altında "Kategorileri Keşfet" görünsün */
@media (min-width: 992px) {
    .slider-section { margin-bottom: 16px; }
    .hs { height: auto; }
    .slider-image {
        width: 100%;
        height: auto;
        max-height: calc(100vh - var(--below-hero-space));
        object-fit: contain;
    }
}

/* 1025px+ masaüstünde slider ile kategoriler arasındaki boşluğu 10-20px azalt */
@media (min-width: 1025px) {
    .slider-section { margin-bottom: 8px; }
    .homepage-categories-section { padding-top: 50px !important; }
}

/* Slider: Navbar'ın bittiği yerden BAŞLASIN (tablet) - 578px ÜSTÜ CİHAZLAR İÇİN */
@media (min-width: 579px) and (max-width: 1024px) {
    .slider-section { margin-top: 6px !important; padding-top: 0 !important; height: calc(100vh - var(--below-hero-space)) !important; }
    .hs { height: calc(100vh - var(--below-hero-space)) !important; }
    .slider-image { width: 100%; height: calc(100vh - var(--below-hero-space)) !important; max-height: calc(100vh - var(--below-hero-space)) !important; object-fit: contain !important; }
}

@media (min-width: 579px) and (max-width: 768px) {
    .slider-section { margin-top: 8px !important; padding-top: 0 !important; height: calc(100vh - var(--below-hero-space)) !important; }
    .hs { height: calc(100vh - var(--below-hero-space)) !important; }
    .slider-image { width: 100%; height: calc(100vh - var(--below-hero-space)) !important; max-height: calc(100vh - var(--below-hero-space)) !important; object-fit: contain !important; }
}

/* Geniş mobil (579–768px): üst çakışmayı kesin olarak yok et - 578px ÜSTÜ */
@media (min-width: 579px) and (max-width: 768px) {
    .slider-section { margin-top: 14px !important; }
}

/* Tablet ve telefonda slider noktalarını gizle */
@media (max-width: 1024px) {
    .slider-section .carousel-indicators,
    .carousel .carousel-indicators,
    .hs-dots { display: none !important; }
}

/* Slider biter bitmez kategori başlığını başlat (üst boşluğu sabitle) */
.slider-section + .homepage-categories-section {
    padding-top: 0 !important;
}

/* ============================================
   578px ALTINDAKİ CİHAZLAR İÇİN SLIDER DÜZENLEMELERİ
   - Navbar ile slider arasında padding
   - Slider fotoğrafı tam genişlikte (yanında beyaz padding yok)
   - Ok butonları fotoğrafın tam ortasında
   - Tüm düzenlemeler dinamik olarak boyuta göre yerleşir
   ============================================ */
@media (max-width: 578px) {
    /* Navbar ile slider arasında güzel bir padding - göz kararı ayarlanmış */
    .slider-section {
        margin-top: 18px !important;
        padding: 0 !important;
        margin-bottom: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
        position: relative !important;
        overflow: hidden !important;
    }

    /* Slider container'ını tam genişlik yap, içinde padding olmaması için */
    .slider-section #homeSlider {
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 !important;
        margin: 0 !important;
        position: relative !important;
        overflow: hidden !important;
    }

    .slider-section .carousel {
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 !important;
        margin: 0 !important;
        position: relative !important;
        overflow: hidden !important;
    }

    /* carousel-inner - GEÇİŞLERİN DÜZGÜN ÇALIŞMASI İÇİN KRİTİK */
    .slider-section .carousel-inner {
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 !important;
        margin: 0 !important;
        position: relative !important;
        overflow: hidden !important;
        /* Geçiş sırasında içerik dışarı taşmasın */
        will-change: transform !important;
        /* Bootstrap clearfix için */
    }

    /* carousel-inner::after clearfix - Bootstrap için gerekli */
    .slider-section .carousel-inner::after {
        display: block !important;
        clear: both !important;
        content: "" !important;
    }

    /* Carousel item'ları - Bootstrap'ın float/transform mantığını koru */
    .slider-section .carousel-item {
        position: relative !important;
        width: 100% !important;
        padding: 0 !important;
        /* Bootstrap için gerekli margin-right: -100% korunmalı */
        float: left !important; /* Bootstrap carousel için gerekli */
        overflow: hidden !important;
        /* Geçiş animasyonu için */
        backface-visibility: hidden !important;
        -webkit-backface-visibility: hidden !important;
    }

    /* Geçişteki item'lar - Bootstrap'ın kendi transform değerlerini koru, override etme */
    /* İçerik merkezleme için - img veya a tag'i içinde */
    .slider-section .carousel-item img,
    .slider-section .carousel-item a {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 auto !important;
    }

    /* Slider fotoğrafını tam genişlikte göster - yanında beyaz padding olmasın */
    .slider-image {
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        object-fit: contain !important;
        object-position: center center !important;
        display: block !important;
        padding: 0 !important;
        margin: 0 !important;
    }

    /* 578px ALTINDA TÜM OK BUTONLARINI GİZLE - MOBİLDE OK TUŞU İSTEMİYORUZ */
    .slider-section .carousel-control-prev,
    .slider-section .carousel-control-next {
        display: none !important; /* 578px altında gizle */
    }
    
    /* Custom butonları da gizle (eğer oluşturulmuşsa) */
    .slider-section .custom-carousel-prev,
    .slider-section .custom-carousel-next {
        display: none !important; /* 578px altında gizle */
    }

    /* Slider sonrası boşlukları minimize et - kategorileri keşfet bölümünü yakınlaştır */
    /* GENEL YÜKSEKLİK KURALLARINI OVERRIDE ET - 578px ALTINDA */
    .slider-section {
        margin-bottom: 0 !important;
        padding-bottom: 0 !important;
        height: auto !important; /* Genel height kuralını override et */
        min-height: auto !important; /* Genel min-height kuralını override et */
    }
    
    /* Slider container'larının genel height kurallarını override et */
    .slider-section #homeSlider,
    .slider-section .carousel,
    .slider-section .carousel-inner {
        height: auto !important; /* Genel calc(100vh - ...) kuralını override et */
        min-height: auto !important; /* Genel min-height kuralını override et */
        margin-bottom: 0 !important;
        padding-bottom: 0 !important;
    }
    
    /* Carousel item'ları */
    .slider-section .carousel-item {
        margin-bottom: 0 !important;
        padding-bottom: 0 !important;
        height: auto !important;
    }
    
    /* Slider fotoğrafı - sadece genişlik korunmalı, yükseklik auto */
    .slider-section .slider-image {
        height: auto !important; /* Genel height kurallarını override et */
        max-height: none !important;
        margin-bottom: 0 !important;
    }
    
    /* Kategorileri keşfet bölümünü slider'a yakınlaştır - inline style'ı override et */
    .homepage-categories-section {
        padding-top: 8px !important; /* Çok minimal boşluk - slider ile yakınlaştır */
        padding-bottom: 40px !important; /* Alt padding'i koru */
        margin-top: 0 !important;
    }
    
    /* Slider section'dan sonra gelen ilk bölüm için negatif margin (dene) */
    .slider-section + section,
    .slider-section + .homepage-categories-section {
        margin-top: -8px !important; /* Negatif margin ile daha da yakınlaştır */
    }

    /* HS slider için de aynı kurallar */
    .hs {
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 !important;
        margin: 0 !important;
    }
}

/* 425px ve altı: ok butonlarını biraz daha küçült */
@media (max-width: 425px) {
    .slider-section .carousel-control-prev,
    .slider-section .carousel-control-next {
        width: 28px !important;
        height: 28px !important;
        /* top değeri JavaScript ile ayarlanacak - !important kaldırıldı */
    }
    .slider-section .carousel-control-prev {
        left: 8px !important;
    }
    .slider-section .carousel-control-next {
        right: 8px !important;
    }
    .slider-section .carousel-control-prev-icon,
    .slider-section .carousel-control-next-icon {
        width: 12px !important;
        height: 12px !important;
    }
}

/* 375px ve altı: ok butonlarını daha da küçült */
@media (max-width: 375px) {
    .slider-section .carousel-control-prev,
    .slider-section .carousel-control-next {
        width: 26px !important;
        height: 26px !important;
        /* top değeri JavaScript ile ayarlanacak - !important kaldırıldı */
    }
    .slider-section .carousel-control-prev {
        left: 6px !important;
    }
    .slider-section .carousel-control-next {
        right: 6px !important;
    }
    .slider-section .carousel-control-prev-icon,
    .slider-section .carousel-control-next-icon {
        width: 11px !important;
        height: 11px !important;
    }
}

/* Sticky Hero Effect */
.sticky-hero {
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
}

.sticky-hero.scrolled {
    transform: translateY(-30px);
    opacity: 0.9;
}

/* === YENİ SONSUZ DÖNGÜLÜ SLIDER CSS === */
.hs {
    position: relative;
    width: 100%;
    max-width: 100%;
    margin: 0;
    height: auto;
}

/* Mobilde/Tabletlerde slider tam genişlik (100vw) - TUTARLI */
@media (max-width: 1024px) {
    .hs {
        width: 100vw; /* Viewport genişliği */
        margin-left: calc(-50vw + 50%); /* Container padding'ini kompanse et */
        margin-right: calc(-50vw + 50%);
        max-width: 100vw;
    }
}

@media (max-width: 768px) {
    .hs {
        width: 100vw; /* Viewport genişliği */
        margin-left: calc(-50vw + 50%); /* Container padding'ini kompanse et */
        margin-right: calc(-50vw + 50%);
        max-width: 100vw;
    }
}

@media (max-width: 480px) {
    .hs {
        width: 100vw; /* Viewport genişliği */
        margin-left: calc(-50vw + 50%); /* Container padding'ini kompanse et */
        margin-right: calc(-50vw + 50%);
        max-width: 100vw;
    }
}

.hs-viewport {
    overflow: hidden;
    width: 100%;
    height: 100%;
}

.hs-track {
    display: flex;
    transition: transform 0.45s ease;
    will-change: transform;
}

.hs-slide {
    position: relative;
    min-width: 100%;
    user-select: none;
}

.slider-image {
    width: 100%;
    height: auto;
    max-height: calc(100vh - var(--below-hero-space));
    object-fit: contain;
    object-position: center;
    display: block;
}

/* Mobilde/Tabletlerde slider resimleri tam genişlik - TUTARLI */
@media (max-width: 1024px) {
    .slider-image {
        width: 100vw; /* Viewport genişliği */
        max-width: 100vw;
        max-height: calc(100vh - var(--below-hero-space));
    }
}

@media (max-width: 768px) {
    .slider-image {
        width: 100vw; /* Viewport genişliği */
        max-width: 100vw;
        max-height: calc(100vh - var(--below-hero-space));
    }
}

@media (max-width: 480px) {
    .slider-image {
        width: 100vw; /* Viewport genişliği */
        max-width: 100vw;
        max-height: calc(100vh - var(--below-hero-space));
    }
}

/* Caption (opsiyonel) */
.hs-caption {
    position: absolute;
    left: 3%;
    bottom: 6%;
    color: #fff;
    text-shadow: 0 2px 8px rgba(0,0,0,0.7);
}

.hs-caption h3 {
    font-size: 28px;
    margin: 0.2rem 0;
    font-weight: 700;
}

.hs-caption p {
    font-size: 16px;
    opacity: 0.9;
    margin: 0;
}

/* Oklar - Modern cam efektli (glassmorphism) - Slider boyutuna göre ayarlanmış */
.hs-btn {
    position: absolute !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    z-index: 999 !important;
    width: clamp(24px, 3.2vw, 48px) !important;
    height: clamp(24px, 3.2vw, 48px) !important;
    border-radius: 999px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    font-size: clamp(12px, 1.4vw, 18px) !important;
    font-weight: 700 !important;
    color: #ffffff !important;
    background: rgba(17,17,17,0.35) !important;
    border: 1px solid rgba(255,255,255,0.35) !important;
    backdrop-filter: blur(10px) saturate(120%) !important;
    -webkit-backdrop-filter: blur(10px) saturate(120%) !important;
    box-shadow: 0 10px 30px rgba(0,0,0,0.25), inset 0 0 0 1px rgba(255,255,255,0.08) !important;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease !important;
    opacity: 1 !important;
    visibility: visible !important;
}

.hs-btn:hover {
    background: rgba(17,17,17,0.55) !important;
    border-color: rgba(255,255,255,0.55) !important;
    transform: translateY(-50%) scale(1.06) !important;
    box-shadow: 0 12px 34px rgba(0,0,0,0.35), 0 0 0 6px rgba(255,255,255,0.12) !important;
}

.hs-btn:active {
    transform: translateY(-50%) scale(0.96) !important;
    box-shadow: 0 6px 18px rgba(0,0,0,0.28) inset !important;
}

.hs-prev { left: clamp(-26px, -2.4vw, -14px) !important; }
.hs-next { right: clamp(-26px, -2.4vw, -14px) !important; }

/* Ok işaretleri - KESINLIKLE GÖRÜNÜR */
.hs-prev::before {
    content: '❮' !important;
    font-size: clamp(14px, 1.5vw, 20px) !important;
    font-weight: 800 !important;
    line-height: 1 !important;
    color: #ffffff !important;
    text-shadow: 0 2px 8px rgba(0,0,0,0.45) !important;
}

.hs-next::before {
    content: '❯' !important;
    font-size: clamp(14px, 1.5vw, 20px) !important;
    font-weight: 800 !important;
    line-height: 1 !important;
    color: #ffffff !important;
    text-shadow: 0 2px 8px rgba(0,0,0,0.45) !important;
}

/* Noktalar */
.hs-dots {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 12px;
    display: flex;
    gap: 8px;
    justify-content: center;
}

.hs-dots button {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    border: 0;
    background: #ddd;
    cursor: pointer;
    transition: all 0.3s ease;
}

.hs-dots button.is-active {
    background: #111;
    transform: scale(1.2);
}

/* Responsive Design - Yeni Slider */
@media (max-width: 1200px) {
    .slider-section {
        margin-top: 0; /* Body padding-top ile halledildi */
        height: calc(100vh - var(--below-hero-space)); /* Alt bölüm aynı ekranda görünsün */
    }
    
    .slider-image {
        width: 100%;
        height: calc(100vh - var(--below-hero-space));
        object-fit: contain; /* Kırpma olmasın */
        object-position: center;
    }
    
    .hs-caption h3 {
        font-size: 24px;
    }
}

@media (max-width: 768px) {
    .slider-section {
        margin-top: 0; /* Body padding-top ile halledildi */
        height: calc(100vh - 310px); /* Tam ekran - mobil navbar yüksekliği - 180px küçültüldü */
    }
    
    .slider-image {
        width: 100%; /* Fotoğrafı tam genişlikte göster - tam ortala */
        height: calc(100vh - 310px); /* Tam ekran - mobil navbar yüksekliği - 180px küçültüldü */
        object-fit: contain; /* Resmin tamamını göster, kırpma */
        object-position: center; /* Resmi tam ortala */
    }
    
    .hs-caption {
        left: 5%;
        bottom: 8%;
    }
    
    .hs-caption h3 {
        font-size: 20px;
    }
    
    .hs-caption p {
        font-size: 14px;
    }
    
    .hs-btn {
        width: 28px !important;
        height: 28px !important;
        font-size: 13px !important;
    }
    
    .hs-prev {
        left: -25px !important;
    }
    
    .hs-next {
        right: -25px !important;
    }
    
    .hs-prev::before,
    .hs-next::before {
        font-size: 16px !important;
    }
}

@media (max-width: 480px) {
    .slider-section {
        margin-top: 0; /* Body padding-top ile halledildi */
        height: calc(100vh - 280px); /* Tam ekran - küçük mobil navbar yüksekliği - 180px küçültüldü */
    }
    
    .slider-image {
        width: 100%; /* Fotoğrafı tam genişlikte göster - tam ortala */
        height: calc(100vh - 280px); /* Tam ekran - küçük mobil navbar yüksekliği - 180px küçültüldü */
        object-fit: contain; /* Resmin tamamını göster, kırpma */
        object-position: center; /* Resmi tam ortala */
    }
    
    .hs-caption h3 {
        font-size: 18px;
    }
    
    .hs-caption p {
        font-size: 12px;
    }
    
    .hs-btn {
        width: 24px !important;
        height: 24px !important;
        font-size: 12px !important;
    }
    
    .hs-prev {
        left: -20px !important;
    }
    
    .hs-next {
        right: -20px !important;
    }
    
    .hs-prev::before,
    .hs-next::before {
        font-size: 14px !important;
    }
    
    .hs-dots {
        bottom: 8px;
    }
    
    .hs-dots button {
        width: 4px;
        height: 4px;
    }
}

/* Responsive Design */
@media (max-width: 1200px) {
    .slider-container {
        max-width: 1000px;
    }
    
    .slider-wrapper {
        height: 45vh;
        min-height: 350px;
    }
}

@media (max-width: 768px) {
    .home-slider-section {
        padding: 20px 0;
    }
    
    .slider-container {
        max-width: 100%;
        margin: 0 1rem;
    }
    
    .slider-wrapper {
        height: 40vh;
        min-height: 300px;
    }
    
    .slider-item {
        flex: 0 0 50%;
        padding: 0 5px;
    }
}

@media (max-width: 480px) {
    .slider-wrapper {
        height: 35vh;
        min-height: 250px;
    }
    
    .slider-item {
        flex: 0 0 100%;
        padding: 0;
    }
    
    .slider-title {
        font-size: 2rem;
    }
    
    .slider-subtitle {
        font-size: 1rem;
    }
    
    .slider-button {
        padding: 10px 25px;
        font-size: 0.9rem;
    }
    
    .slider-nav {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .prev-nav {
        left: 10px;
    }
    
    .next-nav {
        right: 10px;
    }
    
    .slider-indicators {
        bottom: 15px;
    }
    
    .indicator {
        width: 10px;
        height: 10px;
    }
}


@media (max-width: 480px) {
    .slider-wrapper {
        height: 300px;
        min-height: 300px;
    }
    
    .slider-title {
        font-size: 1.5rem;
    }
    
    .slider-subtitle {
        font-size: 0.8rem;
    }
    
    .slider-button {
        padding: 8px 20px;
        font-size: 0.8rem;
    }
    
    .slider-nav {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }
    
    .prev-nav {
        left: 10px;
    }
    
    .next-nav {
        right: 10px;
    }
    
    .slider-indicators {
        bottom: 10px;
    }
    
    .indicator {
        width: 8px;
        height: 8px;
    }
}

/* === HOMEPAGE CATEGORIES SECTION === */
.homepage-categories-section {
    padding: 60px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
    z-index: 1;
}

/* Tablet ve telefon için slider altındaki beyazlığı azalt - inline style'ı override et */
@media (max-width: 992px) {
    .homepage-categories-section {
        padding: 30px 0 !important; /* Üst padding'i azalt */
    }
}

@media (max-width: 768px) {
    .homepage-categories-section {
        padding: 20px 0 !important; /* Üst padding'i daha da azalt */
    }
}

@media (max-width: 480px) {
    .homepage-categories-section {
        padding: 15px 0 !important; /* Üst padding'i en aza indir */
    }
}

/* .categories-grid artık Bootstrap grid sistemi kullanıyor */

.category-card {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 12px 35px rgba(0,0,0,0.15); /* Daha belirgin gölge */
    transition: all 0.3s ease;
    background: #ffffff;
    border: 3px solid #d1d5db; /* Daha kalın ve belirgin border */
}

.category-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.2);
    border-color: #2c2c2c;
}

.category-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.category-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.category-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.3s ease;
}

.category-card:hover .category-image img {
    transform: scale(1.05);
}

.category-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.05) 0%, rgba(0,0,0,0.75) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.25s ease, transform 0.25s ease;
    z-index: 2;
}

.category-card:hover .category-overlay,
.category-link:hover .category-overlay,
.category-link:focus .category-overlay {
    opacity: 1;
    transform: translateY(0);
}

.category-content {
    text-align: center;
    color: white;
    padding: 20px;
    z-index: 3;
}

.category-title {
    font-size: 1.6rem;
    font-weight: 800;
    margin: 0 0 10px 0;
    color: #ffffff;
    text-shadow: 0 3px 6px rgba(0,0,0,0.7);
}

.category-description {
    font-size: 1rem;
    margin: 0;
    opacity: 0.9;
    text-shadow: 0 1px 2px rgba(0,0,0,0.5);
}

.category-button {
    display: inline-block;
    margin-top: 12px;
    background: #ffffff;
    color: #1a1a1a;
    padding: 8px 14px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.95rem;
}

/* === HOMEPAGE CATEGORIES RESPONSIVE DESIGN === */
/* Kategori bölümünün görünürlüğünü garanti et */
.homepage-categories-section {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.homepage-categories-section .row {
    display: flex !important;
    flex-wrap: wrap !important;
    margin: 0 -15px !important;
}

/* Desktop için varsayılan 4 sütun */
.homepage-categories-section .row > div {
    flex: 0 0 25% !important;
    max-width: 25% !important;
    padding: 0 15px !important;
    margin-bottom: 30px !important;
}

/* Tablet ve küçük ekranlar için kategori düzeni */
@media (max-width: 992px) and (min-width: 769px) {
    .homepage-categories-section .row > div {
        flex: 0 0 33.333333% !important; /* 3 sütun */
        max-width: 33.333333% !important;
    }
}

/* Tablet için 2 sütunlu düzen */
@media (max-width: 768px) and (min-width: 577px) {
    .homepage-categories-section {
        padding: 40px 0 !important;
    }
    
    .homepage-categories-section .row > div {
        flex: 0 0 50% !important; /* 2 sütun */
        max-width: 50% !important;
    }
    
    .homepage-categories-section .category-image-container {
        height: 250px !important;
    }
    
    .homepage-categories-section .category-title {
        font-size: 1.3rem !important;
    }
}

/* Mobil telefonlar için tek sütunlu düzen */
@media (max-width: 576px) {
    .homepage-categories-section {
        padding: 30px 0 !important;
        display: block !important;
    }
    
    .homepage-categories-section .row {
        display: flex !important;
        flex-direction: column !important;
        margin: 0 !important;
    }
    
    .homepage-categories-section .row > div {
        flex: 0 0 100% !important; /* 1 sütun */
        max-width: 100% !important;
        padding: 0 !important;
        margin-bottom: 20px !important;
        width: 100% !important;
    }
    
    .homepage-categories-section .category-card {
        display: block !important;
        width: 100% !important;
    }
    
    .homepage-categories-section .category-image-container {
        height: 200px !important;
        display: block !important;
    }
    
    .homepage-categories-section .category-image {
        display: block !important;
        width: 100% !important;
        height: 100% !important;
    }
    
    .homepage-categories-section .category-title {
        font-size: 1.2rem !important;
    }
    
    .homepage-categories-section .category-info {
        padding: 20px !important;
    }
}

/* Bootstrap col-sm-6 override for mobile */
@media (max-width: 576px) {
    .homepage-categories-section .col-sm-6 {
        flex: 0 0 100% !important;
        max-width: 100% !important;
    }
}

/* Çok küçük telefonlar için ek optimizasyon */
@media (max-width: 480px) {
    .homepage-categories-section .category-image-container {
        height: 180px !important;
    }
    
    .homepage-categories-section .category-title {
        font-size: 1.1rem !important;
    }
    
    .homepage-categories-section .category-info {
        padding: 15px !important;
    }
}

@media (max-width: 375px) {
    .homepage-categories-section .category-image-container {
        height: 160px !important;
    }
    
    .homepage-categories-section .category-title {
        font-size: 1rem !important;
    }
    
    .homepage-categories-section .category-info {
        padding: 12px !important;
    }
}

/* === FEATURED PRODUCTS SECTION - MOBILE OPTIMIZATION === */
/* Telefon ekranları için öne çıkan ürünler 2 sütunlu düzen */
@media (max-width: 576px) {
    /* Bootstrap row'u override et */
    .featured-products-section .row {
        display: flex !important;
        flex-wrap: wrap !important;
        margin: 0 -6px !important; /* Negatif margin ile padding'i telafi et */
    }
    
    /* Bootstrap col sınıflarını override et - daha spesifik selector */
    .featured-products-section .row > .col-lg-3.col-md-4.col-sm-6,
    .featured-products-section .row > [class*="col-"] {
        flex: 0 0 50% !important; /* 2 sütun için %50 genişlik */
        max-width: 50% !important;
        padding: 0 6px !important; /* Yan boşluklar */
        margin-bottom: 16px !important;
    }
    
    /* Ürün kartlarının mobil görünümü için optimizasyon */
    .featured-products-section .product-card {
        margin-bottom: 0 !important; /* Bootstrap'in mb-5'ini override et */
        height: auto !important;
    }
    
    .featured-products-section .product-image-container {
        height: 180px !important; /* Mobilde daha küçük resim */
    }
    
    .featured-products-section .product-info {
        padding: 12px !important; /* Daha kompakt padding */
    }
    
    .featured-products-section .product-title {
        font-size: 0.9rem !important; /* Daha küçük başlık */
        line-height: 1.2 !important;
        margin-bottom: 8px !important;
    }
    
    .featured-products-section .product-price {
        font-size: 0.9rem !important; /* Daha küçük fiyat */
        margin-bottom: 0 !important;
    }
    
    /* Alt çizgiyi küçült */
    .featured-products-section .product-info > div[style*="width: 50px"] {
        width: 30px !important;
        height: 2px !important;
        margin: 8px auto 0 !important;
    }
}

/* Çok küçük telefon ekranları için ek optimizasyon */
@media (max-width: 375px) {
    .featured-products-section .product-image-container {
        height: 160px !important;
    }
    
    .featured-products-section .product-info {
        padding: 10px !important;
    }
    
    .featured-products-section .product-title {
        font-size: 0.8rem !important;
    }
    
    .featured-products-section .product-price {
        font-size: 0.8rem !important;
    }
    
    /* Alt çizgiyi daha da küçült */
    .featured-products-section .product-info > div[style*="width: 50px"] {
        width: 25px !important;
        height: 2px !important;
        margin: 6px auto 0 !important;
    }
}

/* === PRODUCT IMAGE SYSTEM === */
/* Tüm cihazlarda ürün fotoğrafları tam görünsün - kesilmesin */

/* Genel ürün fotoğraf kuralları - tüm cihazlar için */
.product-image,
.card-img-top,
.product-image-container img,
img.product-image {
    object-fit: contain !important; /* Kesme yerine sığdır */
    object-position: center !important;
    max-width: 100% !important;
    max-height: 100% !important;
}

.product-image-container {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: #f8f9fa !important;
    overflow: hidden !important;
}

/* Desktop için fotoğraf yükseklikleri */
@media (min-width: 993px) {
    .product-image,
    .card-img-top,
    .product-image-container {
        height: 300px !important;
    }
}

@media (min-width: 769px) and (max-width: 992px) {
    .product-image,
    .card-img-top,
    .product-image-container {
        height: 250px !important;
    }
}

@media (min-width: 577px) and (max-width: 768px) {
    .product-image,
    .card-img-top,
    .product-image-container {
        height: 200px !important;
    }
}

@media (max-width: 576px) {
    .product-image,
    .card-img-top,
    .product-image-container {
        height: 220px !important; /* Mobilde daha büyük fotoğraf */
    }
}

@media (max-width: 375px) {
    .product-image,
    .card-img-top,
    .product-image-container {
        height: 200px !important; /* Küçük telefonlarda da büyük */
    }
}

/* === RESPONSIVE PRODUCT GRID SYSTEM === */
/* Responsive ürün grid sistemi - boyutlara göre düzen */

/* Mobil (576px ve altı) - 2 sütun */
@media (max-width: 576px) {
    .products-grid {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 12px !important;
        margin: 0 !important;
    }
    
    .products-grid .product-card {
        width: 100% !important;
        margin-bottom: 0 !important;
    }
    
    /* Bootstrap col sınıfları için */
    .row > .col-lg-3.col-md-4.col-sm-6.col-6,
    .row > [class*="col-"] {
        flex: 0 0 50% !important;
        max-width: 50% !important;
        padding: 0 6px !important;
        margin-bottom: 16px !important;
    }
}

/* Tablet (577px - 768px) - 2 sütun */
@media (min-width: 577px) and (max-width: 768px) {
    .products-grid {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 15px !important;
        margin: 0 !important;
    }
    
    .products-grid .product-card {
        width: 100% !important;
        margin-bottom: 0 !important;
    }
    
    /* Bootstrap col sınıfları için */
    .row > .col-lg-3.col-md-4.col-sm-6.col-6,
    .row > [class*="col-"] {
        flex: 0 0 50% !important;
        max-width: 50% !important;
        padding: 0 8px !important;
        margin-bottom: 20px !important;
    }
}

/* Küçük Desktop (769px - 992px) - 3 sütun */
@media (min-width: 769px) and (max-width: 992px) {
    .products-grid {
        display: grid !important;
        grid-template-columns: 1fr 1fr 1fr !important;
        gap: 18px !important;
        margin: 0 !important;
    }
    
    .products-grid .product-card {
        width: 100% !important;
        margin-bottom: 0 !important;
    }
    
    /* Bootstrap col sınıfları için */
    .row > .col-lg-3.col-md-4.col-sm-6.col-6,
    .row > [class*="col-"] {
        flex: 0 0 33.333% !important;
        max-width: 33.333% !important;
        padding: 0 9px !important;
        margin-bottom: 20px !important;
    }
}

/* Büyük Desktop (993px ve üstü) - 4 sütun */
@media (min-width: 993px) {
    .products-grid {
        display: grid !important;
        grid-template-columns: 1fr 1fr 1fr 1fr !important;
        gap: 20px !important;
        margin: 0 !important;
    }
    
    .products-grid .product-card {
        width: 100% !important;
        margin-bottom: 0 !important;
    }
    
    /* Bootstrap col sınıfları için */
    .row > .col-lg-3.col-md-4.col-sm-6.col-6,
    .row > [class*="col-"] {
        flex: 0 0 25% !important;
        max-width: 25% !important;
        padding: 0 10px !important;
        margin-bottom: 20px !important;
    }
}
    
    /* Ürün kartları için mobil optimizasyon */
    .product-card {
        margin-bottom: 0 !important;
        height: auto !important;
        display: flex !important;
        flex-direction: column !important;
    }
    
    /* Fotoğraf kuralları yukarıda genel olarak tanımlandı */
    
    .product-info {
        padding: 12px !important;
        display: flex !important;
        flex-direction: column !important;
        flex-grow: 1 !important;
        justify-content: space-between !important; /* İçeriği dağıt */
    }
    
    .product-title {
        font-size: 0.9rem !important;
        line-height: 1.2 !important;
        margin-bottom: 8px !important;
        flex-grow: 0 !important;
    }
    
    .product-price {
        font-size: 0.9rem !important;
        margin-bottom: 0 !important; /* Margin'i kaldır */
        margin-top: auto !important; /* Fiyatı en alta yaklaştır */
        flex-grow: 0 !important;
    }
    
    .product-actions {
        margin-top: 8px !important; /* Buton ile fiyat arasında sabit boşluk */
        flex-grow: 0 !important;
    }
    
    .add-to-cart-btn {
        font-size: 0.8rem !important;
        padding: 6px 12px !important;
        width: 100% !important;
    }
    
    /* Card body için - Bootstrap kartları */
    .card {
        display: flex !important;
        flex-direction: column !important;
        height: 100% !important;
    }
    
    .card-body {
        padding: 12px !important;
        display: flex !important;
        flex-direction: column !important;
        flex-grow: 1 !important;
        justify-content: space-between !important; /* İçeriği dağıt */
    }
    
    .card-title {
        font-size: 0.9rem !important;
        line-height: 1.2 !important;
        margin-bottom: 8px !important;
        flex-grow: 0 !important;
    }
    
    .card-text {
        font-size: 0.8rem !important;
        line-height: 1.3 !important;
        margin-bottom: 8px !important;
        flex-grow: 0 !important;
    }
    
    .price {
        font-size: 0.9rem !important;
        font-weight: 600 !important;
        margin-bottom: 0 !important; /* Margin'i kaldır */
        margin-top: auto !important; /* Fiyatı en alta yaklaştır */
        flex-grow: 0 !important;
    }
    
    .mt-auto {
        margin-top: 8px !important; /* Buton ile fiyat arasında sabit boşluk */
    }
    
    .add-to-cart {
        font-size: 0.8rem !important;
        padding: 6px 12px !important;
        width: 100% !important;
    }
    
    /* Card image kuralları yukarıda genel olarak tanımlandı */
}

/* Çok küçük telefonlar için kategori sayfaları */
@media (max-width: 375px) {
    .products-grid .product-card {
        flex: 0 0 50% !important;
        max-width: 50% !important;
    }
    
    /* Fotoğraf yükseklikleri yukarıda genel olarak tanımlandı */
    
    .product-info,
    .card-body {
        padding: 10px !important;
    }
    
    .product-title,
    .card-title {
        font-size: 0.8rem !important;
    }
    
    .product-price,
    .price {
        font-size: 0.8rem !important;
    }
    
    .add-to-cart-btn,
    .add-to-cart {
        font-size: 0.7rem !important;
        padding: 5px 10px !important;
    }
    
    /* Filtre modal için küçük ekranlar */
    .price-range-inputs {
        gap: 6px !important;
    }
    
    .price-range-inputs input {
        padding: 6px 8px !important;
        font-size: 0.8rem !important;
    }
}

/* === BEDEN VE RENK FİLTRE SEÇENEKLERİ === */
.size-option, .color-option {
    display: inline-block;
    padding: 10px 16px;
    margin: 6px;
    border: 2px solid #e0e6ed;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    font-weight: 600;
    text-align: center;
    min-width: 50px;
    position: relative;
}

.size-option {
    background: #f8f9fa;
    color: #2c3e50;
    border-radius: 20px;
    font-weight: 700;
}

.size-option:hover {
    border-color: #007bff;
    background: #e3f2fd;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.2);
}

.size-option.selected {
    background: #007bff;
    color: white;
    border-color: #007bff;
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.4);
    transform: translateY(-2px);
}

.size-option.selected::after {
    content: '✓';
    position: absolute;
    top: -5px;
    right: -5px;
    background: #28a745;
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
}

.color-option {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    position: relative;
    border: 3px solid #e0e6ed;
    margin: 8px;
}

.color-option:hover {
    border-color: #007bff;
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.3);
}

.color-option.selected {
    border-color: #007bff;
    transform: scale(1.1);
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.4);
}

.color-option.selected::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-weight: bold;
    font-size: 16px;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.7);
}

/* Beden filtreleri için flexbox düzeni */
#sizeFilters, #mobileSizeFilters {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
}

/* Renk filtreleri için flexbox düzeni */
#colorFilters, #mobileColorFilters {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
}

/* === MOBILE FILTER MODAL === */
/* Mobil filtre modalını varsayılan olarak gizle */
.filter-modal-backdrop,
.filter-modal {
    display: none !important;
}

/* Mobil için filtreleme modal'ı - sadece mobil cihazlarda göster */
@media (max-width: 768px) {
    /* Mobil filtre butonunu göster */
    .mobile-filter-btn {
        display: block !important;
    }
    
    /* Filtre sidebar'ını gizle */
    .col-lg-3.col-md-4 {
        display: none !important;
    }
    
    /* Ana içeriği tam genişlik yap */
    .col-lg-9.col-md-8 {
        flex: 0 0 100% !important;
        max-width: 100% !important;
    }
    
    /* Sıralama ve filtre butonu yan yana */
    .controls-row {
        display: flex !important;
        align-items: center !important;
        gap: 15px !important;
        flex-wrap: wrap !important;
    }
    
    .sort-dropdown {
        flex: 1 !important;
        min-width: 200px !important;
    }
    
    .mobile-filter-btn .btn {
        font-size: 0.9rem !important;
        padding: 8px 16px !important;
        border-radius: 6px !important;
        white-space: nowrap !important;
    }
    
    /* Modal backdrop - sadece mobilde göster */
    .filter-modal-backdrop {
        position: fixed !important;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        z-index: 1050;
        display: none !important;
    }
    
    .filter-modal-backdrop.show {
        display: block !important;
    }
    
    /* Modal içeriği - sadece mobilde göster */
    .filter-modal {
        position: fixed !important;
        top: 0;
        right: -100%;
        width: 85%;
        max-width: 400px;
        height: 100%;
        background: white;
        z-index: 1051;
        transition: right 0.3s ease;
        overflow-y: auto;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        display: block !important;
    }
    
    .filter-modal.show {
        right: 0;
    }
    
    /* Modal header */
    .filter-modal-header {
        padding: 20px;
        border-bottom: 1px solid #eee;
        display: flex;
        justify-content: space-between;
        align-items: center;
        background: #f8f9fa;
        position: sticky;
        top: 0;
        z-index: 1;
    }
    
    .filter-modal-title {
        font-size: 1.2rem;
        font-weight: 600;
        margin: 0;
        color: #333;
    }
    
    .filter-modal-close {
        background: none;
        border: none;
        font-size: 1.5rem;
        color: #666;
        cursor: pointer;
        padding: 5px;
        border-radius: 50%;
        width: 35px;
        height: 35px;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: all 0.2s ease;
    }
    
    .filter-modal-close:hover {
        background: #e9ecef;
        color: #333;
    }
    
    /* Modal body */
    .filter-modal-body {
        padding: 20px;
    }
    
    /* Filtre grupları */
    .filter-group {
        margin-bottom: 25px;
    }
    
    .filter-group-title {
        font-size: 1rem;
        font-weight: 600;
        margin-bottom: 15px;
        color: #333;
        border-bottom: 2px solid #007bff;
        padding-bottom: 5px;
    }
    
    /* Filtre seçenekleri */
    .filter-options {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }
    
    .filter-option {
        display: flex;
        align-items: center;
        padding: 12px;
        border: 2px solid #e0e6ed;
        border-radius: 10px;
        cursor: pointer;
        transition: all 0.3s ease;
        background: white;
    }
    
    .filter-option:hover {
        border-color: #007bff;
        background: #f8f9ff;
        transform: translateY(-1px);
        box-shadow: 0 2px 8px rgba(0, 123, 255, 0.1);
    }
    
    .filter-option.selected {
        border-color: #007bff;
        background: #e3f2fd;
        box-shadow: 0 2px 8px rgba(0, 123, 255, 0.2);
    }
    
    .filter-option input[type="checkbox"] {
        margin-right: 12px;
        transform: scale(1.3);
        accent-color: #007bff;
    }
    
    .filter-option label {
        margin: 0;
        cursor: pointer;
        font-size: 0.95rem;
        color: #333;
        font-weight: 500;
    }
    
    /* Mobil modal için beden seçenekleri */
    .filter-modal .size-option {
        padding: 8px 12px;
        margin: 4px;
        font-size: 0.85rem;
        min-width: 40px;
    }
    
    /* Mobil modal için renk seçenekleri */
    .filter-modal .color-option {
        width: 35px;
        height: 35px;
        margin: 6px;
    }
    
    /* Fiyat aralığı */
    .price-range-inputs {
        display: flex;
        gap: 8px;
        margin-bottom: 15px;
    }
    
    .price-range-inputs input {
        flex: 1;
        padding: 8px 10px;
        border: 1px solid #ddd;
        border-radius: 6px;
        font-size: 0.85rem;
        min-width: 0;
    }
    
    .price-range-inputs input:focus {
        outline: none;
        border-color: #007bff;
        box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.1);
    }
    
    /* Modal footer */
    .filter-modal-footer {
        padding: 20px;
        border-top: 1px solid #eee;
        background: #f8f9fa;
        position: sticky;
        bottom: 0;
        display: flex;
        gap: 10px;
    }
    
    .filter-modal-footer .btn {
        flex: 1;
        padding: 12px;
        font-size: 0.9rem;
        font-weight: 600;
        border-radius: 8px;
    }
    
    .btn-apply-filters {
        background: #007bff;
        color: white;
        border: none;
    }
    
    .btn-apply-filters:hover {
        background: #0056b3;
    }
    
    .btn-clear-filters {
        background: #6c757d;
        color: white;
        border: none;
    }
    
    .btn-clear-filters:hover {
        background: #545b62;
    }
}

/* Tablet için özel düzenleme - çift filtre sorununu çöz */
@media (min-width: 769px) and (max-width: 992px) {
    /* Mobil filtre butonunu gizle */
    .mobile-filter-btn {
        display: none !important;
    }
    
    /* Tablet'te filtre sidebar'ını göster */
    .col-lg-3.col-md-4 {
        display: block !important;
    }
    
    /* Ana içeriği normal genişlik yap */
    .col-lg-9.col-md-8 {
        flex: 0 0 66.666667% !important;
        max-width: 66.666667% !important;
    }
    
    /* Modal'ı kesinlikle gizle */
    .filter-modal-backdrop,
    .filter-modal {
        display: none !important;
    }
}

/* ===================================================
   HESABIM SAYFASI - MODERN VE RESPONSIVE TASARIM
   =================================================== */

/* Ana Container */
.auth-container {
    max-width: 100%;
    margin: 0;
    padding: 1rem 0.5rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    min-height: calc(100vh - 200px);
}

/* Profile Content */
.profile-content {
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    border: 1px solid #e9ecef;
    width: 100%;
    margin: 0;
}

/* Profile Header */
.profile-header {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    color: white;
    padding: 3rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.profile-header::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translate(-50%, -50%) rotate(0deg); }
    50% { transform: translate(-50%, -50%) rotate(180deg); }
}

.profile-header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    position: relative;
    z-index: 2;
}

.profile-header p {
    font-size: 1.1rem;
    opacity: 0.9;
    margin: 0;
    position: relative;
    z-index: 2;
}

/* Profile Tabs */
.profile-tabs {
    display: flex;
    background: #f8f9fa;
    border-bottom: 1px solid #e9ecef;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.profile-tabs::-webkit-scrollbar {
    display: none;
}

.tab-btn {
    flex: 1;
    min-width: 200px;
    padding: 1.5rem 1rem;
    background: transparent;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    font-size: 1rem;
    font-weight: 600;
    color: #6c757d;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    white-space: nowrap;
}

.tab-btn:hover {
    background: #e9ecef;
    color: #495057;
}

.tab-btn.active {
    background: white;
    color: #1a1a1a;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
}

.tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #007bff, #0056b3);
}

.tab-btn i {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.tab-btn:hover i {
    transform: scale(1.1);
}

/* Tab Content */
.tab-content {
    display: none;
    padding: 2rem;
    animation: fadeIn 0.3s ease;
}

.tab-content.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Profile Card */
.profile-card {
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid #f0f0f0;
    overflow: hidden;
}

.card-header {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    padding: 2rem;
    border-bottom: 1px solid #e9ecef;
}

.card-header h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 0.5rem;
}

.card-header p {
    color: #6c757d;
    margin: 0;
    font-size: 1rem;
}

/* Profile Info Display */
.profile-info-display {
    padding: 2rem;
}

.info-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.info-group {
    margin-bottom: 1.5rem;
}

.info-group label {
    display: block;
    font-weight: 600;
    color: #495057;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.info-value {
    font-size: 1.1rem;
    color: #1a1a1a;
    padding: 0.75rem 0;
    border-bottom: 2px solid #f8f9fa;
    font-weight: 500;
}

.info-group small {
    display: block;
    color: #6c757d;
    font-size: 0.85rem;
    margin-top: 0.5rem;
    font-style: italic;
}

/* Status Badge */
.status-badge {
    display: inline-block;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-badge.accepted {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.status-badge.not-accepted {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Info Actions */
.info-actions {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #e9ecef;
}

.edit-info-btn,
.view-consent-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    color: white;
    text-decoration: none;
    border-radius: 10px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 0.95rem;
}

.edit-info-btn:hover,
.view-consent-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 123, 255, 0.3);
    color: white;
    text-decoration: none;
}

.edit-info-btn i,
.view-consent-btn i {
    font-size: 1rem;
}

/* Orders Tab */
.orders-list {
    display: grid;
    gap: 1.5rem;
}

.order-item {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    border: 1px solid #f0f0f0;
    transition: all 0.3s ease;
}

.order-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.order-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #f8f9fa;
}

.order-number {
    font-weight: 700;
    color: #1a1a1a;
    font-size: 1.1rem;
}

.order-date {
    color: #6c757d;
    font-size: 0.9rem;
}

.order-status {
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
}

.order-status.pending {
    background: #fff3cd;
    color: #856404;
}

.order-status.completed {
    background: #d4edda;
    color: #155724;
}

.order-status.cancelled {
    background: #f8d7da;
    color: #721c24;
}

.order-total {
    font-size: 1.2rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-top: 1rem;
}

/* Addresses Tab */
.addresses-list {
    display: grid;
    gap: 1.5rem;
}

.address-item {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    border: 1px solid #f0f0f0;
    transition: all 0.3s ease;
}

.address-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.address-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.address-name {
    font-weight: 700;
    color: #1a1a1a;
    font-size: 1.1rem;
}

.address-actions {
    display: flex;
    gap: 0.5rem;
}

.btn-edit,
.btn-delete {
    padding: 0.4rem 0.8rem;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-edit {
    background: #007bff;
    color: white;
}

.btn-edit:hover {
    background: #0056b3;
}

.btn-delete {
    background: #dc3545;
    color: white;
}

.btn-delete:hover {
    background: #c82333;
}

.address-details {
    color: #6c757d;
    line-height: 1.6;
}

/* Add Address Button */
.add-address-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    padding: 1.5rem;
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: white;
    border: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 1rem;
}

.add-address-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(40, 167, 69, 0.3);
}

.add-address-btn i {
    font-size: 1.2rem;
}

/* Settings Tab */
.settings-section {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    border: 1px solid #f0f0f0;
    margin-bottom: 2rem;
}

.settings-section h4 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #f8f9fa;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-weight: 600;
    color: #495057;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.form-control {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: white;
}

.form-control:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
}

.btn-save {
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    color: white;
    border: none;
    padding: 0.75rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.btn-save:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 123, 255, 0.3);
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 4rem 2rem;
    color: #6c757d;
}

.empty-state i {
    font-size: 4rem;
    margin-bottom: 1rem;
    opacity: 0.5;
}

.empty-state h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: #495057;
}

.empty-state p {
    font-size: 1rem;
    margin-bottom: 2rem;
}

/* ===================================================
   RESPONSIVE DESIGN - MOBİL VE TABLET
   =================================================== */

/* Tablet (768px - 1024px) */
@media (max-width: 1024px) {
    .auth-container {
        padding: 1.5rem 1rem;
    }
    
    .profile-header {
        padding: 2rem 1.5rem;
    }
    
    .profile-header h1 {
        font-size: 2rem;
    }
    
    .tab-btn {
        min-width: 150px;
        padding: 1.25rem 0.75rem;
        font-size: 0.9rem;
    }
    
    .tab-content {
        padding: 1.5rem;
    }
    
    .info-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .card-header {
        padding: 1.5rem;
    }
    
    .profile-info-display {
        padding: 1.5rem;
    }
}

/* Mobil (768px ve altı) */
@media (max-width: 768px) {
    .auth-container {
        padding: 0.5rem;
        margin: 0;
        border-radius: 0;
    }
    
    .profile-content {
        border-radius: 0;
        margin: 0;
        width: 100%;
    }
    
    .profile-header {
        padding: 2rem 1rem;
        border-radius: 0;
    }
    
    .profile-header h1 {
        font-size: 1.8rem;
    }
    
    .profile-header p {
        font-size: 1rem;
    }
    
    .profile-tabs {
        flex-direction: column;
        background: white;
    }
    
    .tab-btn {
        min-width: auto;
        padding: 1rem;
        border-bottom: 1px solid #f8f9fa;
        border-radius: 0;
        justify-content: flex-start;
        text-align: left;
    }
    
    .tab-btn:last-child {
        border-bottom: none;
    }
    
    .tab-btn.active {
        background: #f8f9fa;
        box-shadow: none;
    }
    
    .tab-btn.active::after {
        display: none;
    }
    
    .tab-btn.active::before {
        content: '';
        position: absolute;
        left: 0;
        top: 0;
        bottom: 0;
        width: 4px;
        background: linear-gradient(180deg, #007bff, #0056b3);
    }
    
    .tab-content {
        padding: 1rem;
    }
    
    .card-header {
        padding: 1rem;
    }
    
    .card-header h3 {
        font-size: 1.3rem;
    }
    
    .profile-info-display {
        padding: 1rem;
    }
    
    .info-group {
        margin-bottom: 1rem;
    }
    
    .info-value {
        font-size: 1rem;
    }
    
    .edit-info-btn,
    .view-consent-btn {
        width: 100%;
        justify-content: center;
        padding: 1rem;
    }
    
    .order-item,
    .address-item {
        padding: 1rem;
    }
    
    .order-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .address-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .address-actions {
        width: 100%;
        justify-content: flex-end;
    }
    
    .settings-section {
        padding: 1rem;
    }
    
    .settings-section h4 {
        font-size: 1.2rem;
    }
    
    .btn-save {
        width: 100%;
        padding: 1rem;
    }
}

/* Küçük telefonlar (480px ve altı) */
@media (max-width: 480px) {
    .auth-container {
        padding: 0.25rem;
    }
    
    .profile-header {
        padding: 1.5rem 0.75rem;
    }
    
    .profile-header h1 {
        font-size: 1.5rem;
    }
    
    .tab-btn {
        padding: 0.75rem;
        font-size: 0.85rem;
    }
    
    .tab-btn i {
        font-size: 1rem;
    }
    
    .tab-content {
        padding: 0.75rem;
    }
    
    .card-header {
        padding: 0.75rem;
    }
    
    .profile-info-display {
        padding: 0.75rem;
    }
    
    .order-item,
    .address-item {
        padding: 0.75rem;
    }
    
    .settings-section {
        padding: 0.75rem;
    }
    
    .empty-state {
        padding: 2rem 1rem;
    }
    
    .empty-state i {
        font-size: 3rem;
    }
    
    .empty-state h3 {
        font-size: 1.3rem;
    }
}

/* Çok küçük telefonlar (375px ve altı) */
@media (max-width: 375px) {
    .profile-header h1 {
        font-size: 1.3rem;
    }
    
    .tab-btn {
        padding: 0.6rem;
        font-size: 0.8rem;
    }
    
    .tab-btn i {
        font-size: 0.9rem;
    }
    
    .info-value {
        font-size: 0.9rem;
    }
    
    .btn-edit,
    .btn-delete {
        padding: 0.3rem 0.6rem;
        font-size: 0.75rem;
    }
}

/* ===================================================
   GENEL MOBİL UX İYİLEŞTİRMELERİ
   =================================================== */

/* Touch-friendly button sizes */
@media (max-width: 768px) {
    .btn, button, input[type="submit"], input[type="button"] {
        min-height: 44px;
        min-width: 44px;
        padding: 12px 16px;
        font-size: 16px; /* Prevents zoom on iOS */
    }
    
    /* Form inputs */
    input[type="text"], 
    input[type="email"], 
    input[type="password"], 
    input[type="tel"], 
    input[type="number"],
    textarea, 
    select {
        min-height: 44px;
        font-size: 16px; /* Prevents zoom on iOS */
        padding: 12px 16px;
    }
    
    /* Links */
    a {
        min-height: 44px;
        display: inline-flex;
        align-items: center;
        padding: 8px 12px;
    }
    
    /* Cards and containers */
    .card, .product-card, .order-item, .address-item {
        margin-bottom: 16px;
        border-radius: 12px;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    }
    
    /* Better spacing */
    .container, .container-fluid {
        padding-left: 8px;
        padding-right: 8px;
    }
    
    /* Improved typography */
    h1 { font-size: 1.8rem; }
    h2 { font-size: 1.5rem; }
    h3 { font-size: 1.3rem; }
    h4 { font-size: 1.1rem; }
    h5 { font-size: 1rem; }
    h6 { font-size: 0.9rem; }
    
    /* Better line heights */
    p, span, div {
        line-height: 1.6;
    }
    
    /* Improved navigation */
    .navbar-nav .nav-link {
        padding: 12px 16px;
        font-size: 16px;
    }
    
    /* Better grid layouts */
    .row {
        margin-left: -8px;
        margin-right: -8px;
    }
    
    .row > * {
        padding-left: 8px;
        padding-right: 8px;
    }
    
    /* Improved modals */
    .modal-dialog {
        margin: 16px;
        max-width: calc(100% - 32px);
    }
    
    .modal-content {
        border-radius: 12px;
    }
    
    /* Better tables */
    .table-responsive {
        border-radius: 8px;
        overflow: hidden;
    }
    
    /* Improved alerts */
    .alert {
        border-radius: 8px;
        padding: 16px;
        margin-bottom: 16px;
    }
    
    /* Better pagination */
    .pagination {
        justify-content: center;
        margin: 24px 0;
    }
    
    .page-link {
        min-width: 44px;
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 16px;
    }
}

/* Landscape orientation improvements */
@media (max-width: 768px) and (orientation: landscape) {
    .profile-header {
        padding: 1.5rem 1rem;
    }
    
    .profile-header h1 {
        font-size: 1.5rem;
    }
    
    .tab-content {
        padding: 1rem;
    }
    
    .card-header {
        padding: 1rem;
    }
    
    .profile-info-display {
        padding: 1rem;
    }
}

/* High DPI displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .profile-header::before {
        background: radial-gradient(circle, rgba(255,255,255,0.08) 0%, transparent 70%);
    }
    
    .tab-btn.active::after {
        background: linear-gradient(90deg, #007bff, #0056b3);
        height: 2px;
    }
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
    .profile-content {
        background: #1a1a1a;
        color: #ffffff;
    }
    
    .profile-header {
        background: linear-gradient(135deg, #2d2d2d 0%, #1a1a1a 100%);
    }
    
    .tab-btn {
        color: #adb5bd;
    }
    
    .tab-btn.active {
        background: #2d2d2d;
        color: #ffffff;
    }
    
    .card-header {
        background: linear-gradient(135deg, #2d2d2d 0%, #1a1a1a 100%);
        border-bottom-color: #495057;
    }
    
    .info-value {
        color: #ffffff;
        border-bottom-color: #495057;
    }
    
    .form-control {
        background: #2d2d2d;
        border-color: #495057;
        color: #ffffff;
    }
    
    .form-control:focus {
        background: #2d2d2d;
        border-color: #007bff;
        color: #ffffff;
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    .profile-header::before {
        animation: none;
    }
    
    .tab-content {
        animation: none;
    }
    
    .tab-btn i {
        transition: none;
    }
    
    .tab-btn:hover i {
        transform: none;
    }
    
    .edit-info-btn:hover,
    .view-consent-btn:hover,
    .btn-save:hover,
    .add-address-btn:hover {
        transform: none;
    }
    
    .order-item:hover,
    .address-item:hover {
        transform: none;
    }
}

/* Print styles */
@media print {
    .profile-header {
        background: #ffffff !important;
        color: #000000 !important;
        padding: 1rem;
    }
    
    .profile-tabs {
        display: none;
    }
    
    .tab-content {
        display: block !important;
        padding: 0;
    }
    
    .tab-content:not(.active) {
        display: none;
    }
    
    .btn, button {
        display: none;
    }
    
    .profile-content {
        box-shadow: none;
        border: 1px solid #000000;
    }
}

/* Focus improvements for accessibility */
.tab-btn:focus,
.btn:focus,
button:focus,
input:focus,
textarea:focus,
select:focus {
    outline: 2px solid #007bff;
    outline-offset: 2px;
}

/* Skip link for accessibility */
.skip-link {
    position: absolute;
    top: -40px;
    left: 6px;
    background: #000000;
    color: #ffffff;
    padding: 8px;
    text-decoration: none;
    z-index: 10000;
}

.skip-link:focus {
    top: 6px;
}

/* Screen reader only content */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Loading states */
.loading {
    position: relative;
    pointer-events: none;
}

.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid #f3f3f3;
    border-top: 2px solid #007bff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Error states */
.is-invalid {
    border-color: #dc3545 !important;
}

.invalid-feedback {
    display: block;
    width: 100%;
    margin-top: 0.25rem;
    font-size: 0.875rem;
    color: #dc3545;
}

/* Success states */
.is-valid {
    border-color: #28a745 !important;
}

.valid-feedback {
    display: block;
    width: 100%;
    margin-top: 0.25rem;
    font-size: 0.875rem;
    color: #28a745;
}

/* Notification styles */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background: #ffffff;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 10000;
    max-width: 400px;
    animation: slideInRight 0.3s ease;
}

.notification-success {
    border-color: #28a745;
    background: #d4edda;
    color: #155724;
}

.notification-error {
    border-color: #dc3545;
    background: #f8d7da;
    color: #721c24;
}

.notification-info {
    border-color: #007bff;
    background: #d1ecf1;
    color: #0c5460;
}

.notification-content {
    padding: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.notification-close {
    background: none;
    border: none;
    font-size: 18px;
    cursor: pointer;
    margin-left: auto;
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Desktop için kesinlikle modal gizle */
@media (min-width: 993px) {
    /* Mobil filtre butonunu gizle */
    .mobile-filter-btn {
        display: none !important;
    }
    
    /* Desktop'ta filtre sidebar'ını göster */
    .col-lg-3.col-md-4 {
        display: block !important;
    }
    
    /* Ana içeriği normal genişlik yap */
    .col-lg-9.col-md-8 {
        flex: 0 0 75% !important;
        max-width: 75% !important;
    }
    
    /* Modal'ı kesinlikle gizle */
    .filter-modal-backdrop,
    .filter-modal {
        display: none !important;
    }
}

/* ===================================================
   HESABIM SAYFASI - MODERN VE RESPONSIVE TASARIM
   =================================================== */

/* Ana Container */
.auth-container {
    max-width: 100%;
    margin: 0;
    padding: 1rem 0.5rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    min-height: calc(100vh - 200px);
}

/* Profile Content */
.profile-content {
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    border: 1px solid #e9ecef;
    width: 100%;
    margin: 0;
}

/* Profile Header */
.profile-header {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    color: white;
    padding: 3rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.profile-header::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translate(-50%, -50%) rotate(0deg); }
    50% { transform: translate(-50%, -50%) rotate(180deg); }
}

.profile-header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    position: relative;
    z-index: 2;
}

.profile-header p {
    font-size: 1.1rem;
    opacity: 0.9;
    margin: 0;
    position: relative;
    z-index: 2;
}

/* Profile Tabs */
.profile-tabs {
    display: flex;
    background: #f8f9fa;
    border-bottom: 1px solid #e9ecef;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.profile-tabs::-webkit-scrollbar {
    display: none;
}

.tab-btn {
    flex: 1;
    min-width: 200px;
    padding: 1.5rem 1rem;
    background: transparent;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    font-size: 1rem;
    font-weight: 600;
    color: #6c757d;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    white-space: nowrap;
}

.tab-btn:hover {
    background: #e9ecef;
    color: #495057;
}

.tab-btn.active {
    background: white;
    color: #1a1a1a;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
}

.tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #007bff, #0056b3);
}

.tab-btn i {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.tab-btn:hover i {
    transform: scale(1.1);
}

/* Tab Content */
.tab-content {
    display: none;
    padding: 2rem;
    animation: fadeIn 0.3s ease;
}

.tab-content.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Profile Card */
.profile-card {
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid #f0f0f0;
    overflow: hidden;
}

.card-header {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    padding: 2rem;
    border-bottom: 1px solid #e9ecef;
}

.card-header h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 0.5rem;
}

.card-header p {
    color: #6c757d;
    margin: 0;
    font-size: 1rem;
}

/* Profile Info Display */
.profile-info-display {
    padding: 2rem;
}

.info-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.info-group {
    margin-bottom: 1.5rem;
}

.info-group label {
    display: block;
    font-weight: 600;
    color: #495057;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.info-value {
    font-size: 1.1rem;
    color: #1a1a1a;
    padding: 0.75rem 0;
    border-bottom: 2px solid #f8f9fa;
    font-weight: 500;
}

.info-group small {
    display: block;
    color: #6c757d;
    font-size: 0.85rem;
    margin-top: 0.5rem;
    font-style: italic;
}

/* Status Badge */
.status-badge {
    display: inline-block;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-badge.accepted {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.status-badge.not-accepted {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Info Actions */
.info-actions {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #e9ecef;
}

.edit-info-btn,
.view-consent-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    color: white;
    text-decoration: none;
    border-radius: 10px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 0.95rem;
}

.edit-info-btn:hover,
.view-consent-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 123, 255, 0.3);
    color: white;
    text-decoration: none;
}

.edit-info-btn i,
.view-consent-btn i {
    font-size: 1rem;
}

/* Orders Tab */
.orders-list {
    display: grid;
    gap: 1.5rem;
}

.order-item {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    border: 1px solid #f0f0f0;
    transition: all 0.3s ease;
}

.order-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.order-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #f8f9fa;
}

.order-number {
    font-weight: 700;
    color: #1a1a1a;
    font-size: 1.1rem;
}

.order-date {
    color: #6c757d;
    font-size: 0.9rem;
}

.order-status {
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
}

.order-status.pending {
    background: #fff3cd;
    color: #856404;
}

.order-status.completed {
    background: #d4edda;
    color: #155724;
}

.order-status.cancelled {
    background: #f8d7da;
    color: #721c24;
}

.order-total {
    font-size: 1.2rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-top: 1rem;
}

/* Addresses Tab */
.addresses-list {
    display: grid;
    gap: 1.5rem;
}

.address-item {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    border: 1px solid #f0f0f0;
    transition: all 0.3s ease;
}

.address-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.address-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.address-name {
    font-weight: 700;
    color: #1a1a1a;
    font-size: 1.1rem;
}

.address-actions {
    display: flex;
    gap: 0.5rem;
}

.btn-edit,
.btn-delete {
    padding: 0.4rem 0.8rem;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-edit {
    background: #007bff;
    color: white;
}

.btn-edit:hover {
    background: #0056b3;
}

.btn-delete {
    background: #dc3545;
    color: white;
}

.btn-delete:hover {
    background: #c82333;
}

.address-details {
    color: #6c757d;
    line-height: 1.6;
}

/* Add Address Button */
.add-address-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    padding: 1.5rem;
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: white;
    border: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 1rem;
}

.add-address-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(40, 167, 69, 0.3);
}

.add-address-btn i {
    font-size: 1.2rem;
}

/* Settings Tab */
.settings-section {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    border: 1px solid #f0f0f0;
    margin-bottom: 2rem;
}

.settings-section h4 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #f8f9fa;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-weight: 600;
    color: #495057;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.form-control {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: white;
}

.form-control:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
}

.btn-save {
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    color: white;
    border: none;
    padding: 0.75rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.btn-save:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 123, 255, 0.3);
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 4rem 2rem;
    color: #6c757d;
}

.empty-state i {
    font-size: 4rem;
    margin-bottom: 1rem;
    opacity: 0.5;
}

.empty-state h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: #495057;
}

.empty-state p {
    font-size: 1rem;
    margin-bottom: 2rem;
}

/* ===================================================
   RESPONSIVE DESIGN - MOBİL VE TABLET
   =================================================== */

/* Tablet (768px - 1024px) */
@media (max-width: 1024px) {
    .auth-container {
        padding: 1.5rem 1rem;
    }
    
    .profile-header {
        padding: 2rem 1.5rem;
    }
    
    .profile-header h1 {
        font-size: 2rem;
    }
    
    .tab-btn {
        min-width: 150px;
        padding: 1.25rem 0.75rem;
        font-size: 0.9rem;
    }
    
    .tab-content {
        padding: 1.5rem;
    }
    
    .info-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .card-header {
        padding: 1.5rem;
    }
    
    .profile-info-display {
        padding: 1.5rem;
    }
}

/* Mobil (768px ve altı) */
@media (max-width: 768px) {
    .auth-container {
        padding: 0.5rem;
        margin: 0;
        border-radius: 0;
    }
    
    .profile-content {
        border-radius: 0;
        margin: 0;
        width: 100%;
    }
    
    .profile-header {
        padding: 2rem 1rem;
        border-radius: 0;
    }
    
    .profile-header h1 {
        font-size: 1.8rem;
    }
    
    .profile-header p {
        font-size: 1rem;
    }
    
    .profile-tabs {
        flex-direction: column;
        background: white;
    }
    
    .tab-btn {
        min-width: auto;
        padding: 1rem;
        border-bottom: 1px solid #f8f9fa;
        border-radius: 0;
        justify-content: flex-start;
        text-align: left;
    }
    
    .tab-btn:last-child {
        border-bottom: none;
    }
    
    .tab-btn.active {
        background: #f8f9fa;
        box-shadow: none;
    }
    
    .tab-btn.active::after {
        display: none;
    }
    
    .tab-btn.active::before {
        content: '';
        position: absolute;
        left: 0;
        top: 0;
        bottom: 0;
        width: 4px;
        background: linear-gradient(180deg, #007bff, #0056b3);
    }
    
    .tab-content {
        padding: 1rem;
    }
    
    .card-header {
        padding: 1rem;
    }
    
    .card-header h3 {
        font-size: 1.3rem;
    }
    
    .profile-info-display {
        padding: 1rem;
    }
    
    .info-group {
        margin-bottom: 1rem;
    }
    
    .info-value {
        font-size: 1rem;
    }
    
    .edit-info-btn,
    .view-consent-btn {
        width: 100%;
        justify-content: center;
        padding: 1rem;
    }
    
    .order-item,
    .address-item {
        padding: 1rem;
    }
    
    .order-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .address-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .address-actions {
        width: 100%;
        justify-content: flex-end;
    }
    
    .settings-section {
        padding: 1rem;
    }
    
    .settings-section h4 {
        font-size: 1.2rem;
    }
    
    .btn-save {
        width: 100%;
        padding: 1rem;
    }
}

/* Küçük telefonlar (480px ve altı) */
@media (max-width: 480px) {
    .auth-container {
        padding: 0.25rem;
    }
    
    .profile-header {
        padding: 1.5rem 0.75rem;
    }
    
    .profile-header h1 {
        font-size: 1.5rem;
    }
    
    .tab-btn {
        padding: 0.75rem;
        font-size: 0.85rem;
    }
    
    .tab-btn i {
        font-size: 1rem;
    }
    
    .tab-content {
        padding: 0.75rem;
    }
    
    .card-header {
        padding: 0.75rem;
    }
    
    .profile-info-display {
        padding: 0.75rem;
    }
    
    .order-item,
    .address-item {
        padding: 0.75rem;
    }
    
    .settings-section {
        padding: 0.75rem;
    }
    
    .empty-state {
        padding: 2rem 1rem;
    }
    
    .empty-state i {
        font-size: 3rem;
    }
    
    .empty-state h3 {
        font-size: 1.3rem;
    }
}

/* Çok küçük telefonlar (375px ve altı) */
@media (max-width: 375px) {
    .profile-header h1 {
        font-size: 1.3rem;
    }
    
    .tab-btn {
        padding: 0.6rem;
        font-size: 0.8rem;
    }
    
    .tab-btn i {
        font-size: 0.9rem;
    }
    
    .info-value {
        font-size: 0.9rem;
    }
    
    .btn-edit,
    .btn-delete {
        padding: 0.3rem 0.6rem;
        font-size: 0.75rem;
    }
}

/* ===================================================
   GENEL MOBİL UX İYİLEŞTİRMELERİ
   =================================================== */

/* Touch-friendly button sizes */
@media (max-width: 768px) {
    .btn, button, input[type="submit"], input[type="button"] {
        min-height: 44px;
        min-width: 44px;
        padding: 12px 16px;
        font-size: 16px; /* Prevents zoom on iOS */
    }
    
    /* Form inputs */
    input[type="text"], 
    input[type="email"], 
    input[type="password"], 
    input[type="tel"], 
    input[type="number"],
    textarea, 
    select {
        min-height: 44px;
        font-size: 16px; /* Prevents zoom on iOS */
        padding: 12px 16px;
    }
    
    /* Links */
    a {
        min-height: 44px;
        display: inline-flex;
        align-items: center;
        padding: 8px 12px;
    }
    
    /* Cards and containers */
    .card, .product-card, .order-item, .address-item {
        margin-bottom: 16px;
        border-radius: 12px;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    }
    
    /* Better spacing */
    .container, .container-fluid {
        padding-left: 8px;
        padding-right: 8px;
    }
    
    /* Improved typography */
    h1 { font-size: 1.8rem; }
    h2 { font-size: 1.5rem; }
    h3 { font-size: 1.3rem; }
    h4 { font-size: 1.1rem; }
    h5 { font-size: 1rem; }
    h6 { font-size: 0.9rem; }
    
    /* Better line heights */
    p, span, div {
        line-height: 1.6;
    }
    
    /* Improved navigation */
    .navbar-nav .nav-link {
        padding: 12px 16px;
        font-size: 16px;
    }
    
    /* Better grid layouts */
    .row {
        margin-left: -8px;
        margin-right: -8px;
    }
    
    .row > * {
        padding-left: 8px;
        padding-right: 8px;
    }
    
    /* Improved modals */
    .modal-dialog {
        margin: 16px;
        max-width: calc(100% - 32px);
    }
    
    .modal-content {
        border-radius: 12px;
    }
    
    /* Better tables */
    .table-responsive {
        border-radius: 8px;
        overflow: hidden;
    }
    
    /* Improved alerts */
    .alert {
        border-radius: 8px;
        padding: 16px;
        margin-bottom: 16px;
    }
    
    /* Better pagination */
    .pagination {
        justify-content: center;
        margin: 24px 0;
    }
    
    .page-link {
        min-width: 44px;
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 16px;
    }
}

/* Landscape orientation improvements */
@media (max-width: 768px) and (orientation: landscape) {
    .profile-header {
        padding: 1.5rem 1rem;
    }
    
    .profile-header h1 {
        font-size: 1.5rem;
    }
    
    .tab-content {
        padding: 1rem;
    }
    
    .card-header {
        padding: 1rem;
    }
    
    .profile-info-display {
        padding: 1rem;
    }
}

/* High DPI displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .profile-header::before {
        background: radial-gradient(circle, rgba(255,255,255,0.08) 0%, transparent 70%);
    }
    
    .tab-btn.active::after {
        background: linear-gradient(90deg, #007bff, #0056b3);
        height: 2px;
    }
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
    .profile-content {
        background: #1a1a1a;
        color: #ffffff;
    }
    
    .profile-header {
        background: linear-gradient(135deg, #2d2d2d 0%, #1a1a1a 100%);
    }
    
    .tab-btn {
        color: #adb5bd;
    }
    
    .tab-btn.active {
        background: #2d2d2d;
        color: #ffffff;
    }
    
    .card-header {
        background: linear-gradient(135deg, #2d2d2d 0%, #1a1a1a 100%);
        border-bottom-color: #495057;
    }
    
    .info-value {
        color: #ffffff;
        border-bottom-color: #495057;
    }
    
    .form-control {
        background: #2d2d2d;
        border-color: #495057;
        color: #ffffff;
    }
    
    .form-control:focus {
        background: #2d2d2d;
        border-color: #007bff;
        color: #ffffff;
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    .profile-header::before {
        animation: none;
    }
    
    .tab-content {
        animation: none;
    }
    
    .tab-btn i {
        transition: none;
    }
    
    .tab-btn:hover i {
        transform: none;
    }
    
    .edit-info-btn:hover,
    .view-consent-btn:hover,
    .btn-save:hover,
    .add-address-btn:hover {
        transform: none;
    }
    
    .order-item:hover,
    .address-item:hover {
        transform: none;
    }
}

/* Print styles */
@media print {
    .profile-header {
        background: #ffffff !important;
        color: #000000 !important;
        padding: 1rem;
    }
    
    .profile-tabs {
        display: none;
    }
    
    .tab-content {
        display: block !important;
        padding: 0;
    }
    
    .tab-content:not(.active) {
        display: none;
    }
    
    .btn, button {
        display: none;
    }
    
    .profile-content {
        box-shadow: none;
        border: 1px solid #000000;
    }
}

/* Focus improvements for accessibility */
.tab-btn:focus,
.btn:focus,
button:focus,
input:focus,
textarea:focus,
select:focus {
    outline: 2px solid #007bff;
    outline-offset: 2px;
}

/* Skip link for accessibility */
.skip-link {
    position: absolute;
    top: -40px;
    left: 6px;
    background: #000000;
    color: #ffffff;
    padding: 8px;
    text-decoration: none;
    z-index: 10000;
}

.skip-link:focus {
    top: 6px;
}

/* Screen reader only content */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Loading states */
.loading {
    position: relative;
    pointer-events: none;
}

.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid #f3f3f3;
    border-top: 2px solid #007bff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Error states */
.is-invalid {
    border-color: #dc3545 !important;
}

.invalid-feedback {
    display: block;
    width: 100%;
    margin-top: 0.25rem;
    font-size: 0.875rem;
    color: #dc3545;
}

/* Success states */
.is-valid {
    border-color: #28a745 !important;
}

.valid-feedback {
    display: block;
    width: 100%;
    margin-top: 0.25rem;
    font-size: 0.875rem;
    color: #28a745;
}

/* Notification styles */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background: #ffffff;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 10000;
    max-width: 400px;
    animation: slideInRight 0.3s ease;
}

.notification-success {
    border-color: #28a745;
    background: #d4edda;
    color: #155724;
}

.notification-error {
    border-color: #dc3545;
    background: #f8d7da;
    color: #721c24;
}

.notification-info {
    border-color: #007bff;
    background: #d1ecf1;
    color: #0c5460;
}

.notification-content {
    padding: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.notification-close {
    background: none;
    border: none;
    font-size: 18px;
    cursor: pointer;
    margin-left: auto;
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}


