/* 1. FONT VE DE???KENLER */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700&family=Montserrat:wght@300;400;500;600&display=swap');

/* Safnaturel & Osmanlı Doğal Taş esinli palet: koyu yeşil, altın aksan, krem arka plan */
:root {
    --primary-color: #0f3d34;       /* Derin yosun / orman yeşili */
    --primary-light: #1a5245;
    --secondary-color: #1c1c1c;     /* Koyu metin */
    --accent-color: #b8860b;        /* Koyu altın (DarkGoldenrod) */
    --accent-light: #d4af37;        /* Altın vurgu */
    --bg-light: #f6f3ed;            /* Sıcak krem / fildişi */
    --bg-page: #faf8f5;
    --text-body: #4a4744;
    --text-muted: #5c5854;
    --dark-bg: #0d2822;             /* CTA / banner koyu yeşil */
    --border-radius: 8px;
    /* Sıkıştırılmış ürün görselleri: aynı oranda küçük gösterim (ppi algısı) */
    --product-display-scale: 0.85;
}

@media (max-width: 768px) {
    :root {
        /* Mobilde masaüstü ile aynı ölçek (tek yerden yönetim) */
        --product-display-scale: 0.85;
    }
}

body {
    font-family: 'Montserrat', sans-serif;
    color: var(--text-body);
    background-color: var(--bg-page);
    line-height: 1.7;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    color: var(--secondary-color);
    font-weight: 700;
}

a {
    text-decoration: none;
    transition: all 0.3s ease;
}

/* 2. HEADER & NAVBAR — FatihGems şık üst bölüm */
.site-header {
    position: relative;
}

.header-top-bar {
    background: var(--secondary-color);
    color: rgba(255, 255, 255, 0.88);
    padding: 0.4rem 0;
    font-size: 0.75rem;
    letter-spacing: 0.06em;
    text-align: center;
}

.header-top-text {
    opacity: 0.95;
}

.header-whatsapp {
    color: #25D366;
    font-weight: 600;
}

.header-whatsapp:hover {
    color: #34e077;
}

.navbar-spacer {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(15, 61, 52, 0.12), transparent);
}

.navbar-fatihgems {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(250, 248, 245, 0.94) 100%);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
    padding: 1rem 0;
    transition: background 0.3s ease, box-shadow 0.3s ease, padding 0.3s ease;
    border-bottom: 1px solid rgba(15, 61, 52, 0.08);
}

.navbar-fatihgems.shadow-sm {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 4px 24px rgba(15, 61, 52, 0.06);
    border-bottom-color: rgba(15, 61, 52, 0.1);
}

.navbar-container {
    max-width: 1320px;
}

.brand-fatihgems {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    font-family: 'Playfair Display', serif;
    font-size: 1.65rem;
    font-weight: 700;
    color: var(--primary-color) !important;
    letter-spacing: -0.02em;
}

.brand-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: linear-gradient(145deg, rgba(15, 61, 52, 0.12) 0%, rgba(15, 61, 52, 0.06) 100%);
    border-radius: 10px;
    color: var(--primary-color);
    font-size: 1rem;
}

.brand-fatihgems:hover {
    color: var(--primary-light) !important;
}

.brand-fatihgems:hover .brand-icon {
    background: rgba(15, 61, 52, 0.18);
}

.navbar-nav-center {
    gap: 0.15rem;
}

.nav-link-fatihgems {
    font-size: 0.8rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--secondary-color) !important;
    padding: 0.5rem 0.85rem !important;
    border-radius: 6px;
    transition: color 0.2s ease, background 0.2s ease;
}

.nav-link-fatihgems:hover {
    color: var(--primary-color) !important;
    background: rgba(15, 61, 52, 0.06);
}

.navbar-actions {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

/* Giriş Yap — her zaman koyu zemin + beyaz yazı (okunaklı) */
.btn-giris-fatihgems,
a.btn-giris-fatihgems,
a.btn-giris-fatihgems:hover,
a.btn-giris-fatihgems:focus,
a.btn-giris-fatihgems:visited {
    display: inline-flex;
    align-items: center;
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 0.5rem 1.15rem;
    border-radius: 8px;
    background: #0f3d34 !important;
    color: #ffffff !important;
    border: 1px solid #0f3d34 !important;
    transition: background 0.25s ease, transform 0.2s ease;
}

.btn-giris-fatihgems:hover,
a.btn-giris-fatihgems:hover {
    background: #1a5245 !important;
    border-color: #1a5245 !important;
    color: #ffffff !important;
    transform: translateY(-1px);
}

.btn-hesap {
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--primary-color) !important;
    border: 1px solid rgba(15, 61, 52, 0.25);
    border-radius: 8px;
    padding: 0.45rem 0.9rem;
    background: transparent;
    transition: background 0.2s, border-color 0.2s;
}

.btn-hesap:hover {
    background: rgba(15, 61, 52, 0.06);
    border-color: var(--primary-color);
    color: var(--primary-color) !important;
}

.cart-icon-fatihgems {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    color: var(--primary-color);
    font-size: 1.15rem;
    border-radius: 10px;
    transition: background 0.2s ease, color 0.2s ease;
}

.cart-icon-fatihgems:hover {
    background: rgba(15, 61, 52, 0.08);
    color: var(--primary-light);
}

.cart-icon-wrapper {
    position: relative;
    color: var(--primary-color);
    font-size: 1.2rem;
}

.cart-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    background: linear-gradient(145deg, var(--accent-color) 0%, var(--accent-light) 100%);
    color: #1a1a1a;
    font-size: 0.65rem;
    font-weight: 700;
    min-width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
}

.navbar-toggler-fatihgems {
    color: var(--primary-color);
    padding: 0.5rem;
}

.navbar-toggler-icon-custom {
    font-size: 1.2rem;
}

@media (max-width: 991px) {
    .navbar-nav-center {
        padding: 1rem 0;
        border-top: 1px solid rgba(15, 61, 52, 0.08);
    }

    .nav-link-fatihgems {
        padding: 0.6rem 0 !important;
    }

    .navbar-actions {
        margin-top: 0.5rem;
        padding-top: 0.75rem;
        border-top: 1px solid rgba(15, 61, 52, 0.06);
    }
}

/* Eski sınıflar uyumluluk */
.navbar {
    background: rgba(255, 255, 255, 0.78);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    padding: 1.2rem 0;
    transition: background 0.3s ease, box-shadow 0.3s ease;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.navbar.shadow-sm {
    background: rgba(255, 255, 255, 0.9);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
    border-bottom-color: rgba(0, 0, 0, 0.08);
}

.navbar-brand {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color) !important;
    letter-spacing: -0.5px;
}

.nav-link {
    font-size: 0.85rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--secondary-color) !important;
    padding: 0 15px !important;
}

.nav-link:hover {
    color: var(--accent-color) !important;
}

.btn-siparis-takip {
    display: inline-flex;
    align-items: center;
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 0.35rem 0.65rem;
    border-radius: 2px;
    background: transparent;
    color: var(--primary-color) !important;
    border: 1px solid rgba(15, 61, 52, 0.35);
    transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}
.btn-siparis-takip:hover {
    color: var(--primary-color) !important;
    border-color: var(--primary-color);
    background: rgba(15, 61, 52, 0.06);
}
.btn-siparis-takip .fa-box-open { font-size: 0.75rem; }

.navbar-whatsapp-note {
    background: rgba(255, 255, 255, 0.5);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid rgba(0,0,0,0.06);
    padding: 0.35rem 0;
}
.navbar-whatsapp-note-text {
    font-size: 0.75rem;
    color: var(--text-body);
    opacity: 0.9;
}
.navbar-whatsapp-link {
    color: #25D366;
    font-weight: 600;
}
.navbar-whatsapp-link:hover {
    color: #128C7E;
}

/* Sabit WhatsApp ikonu (sa? alt) */
.whatsapp-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 56px;
    height: 56px;
    background-color: #25D366;
    color: white !important;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.5);
    z-index: 9999;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.whatsapp-float:hover {
    transform: scale(1.08);
    box-shadow: 0 6px 24px rgba(37, 211, 102, 0.6);
    color: white !important;
}

/* Ana sayfa: header ile hero arasında boşluk olmasın */
main.main-home {
    padding-top: 0 !important;
}

/* 3. HERO SLIDER & BANNER */
.hero-section {
    position: relative;
    height: 80vh;
    min-height: 500px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.3); /* Resmi hafif karart?r */
}

.hero-content {
    position: relative;
    z-index: 2;
    color: white;
    max-width: 800px;
    padding: 20px;
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 20px;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.3);
}

/* 4. ÜRÜN KARTLARI (PREMIUM) */
.product-card {
    border: none;
    transition: all 0.3s ease;
    background: white;
    padding-bottom: 15px;
}

    .product-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 15px 30px rgba(0,0,0,0.08);
    }

.product-img-wrap {
    position: relative;
    overflow: hidden;
    height: calc(300px * var(--product-display-scale));
    border-radius: var(--border-radius);
    margin-bottom: 15px;
}

    .product-img-wrap img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.6s ease;
    }

.product-card:hover .product-img-wrap img {
    transform: scale(1.08);
}

.btn-quick-add {
    position: absolute;
    bottom: -50px;
    left: 0;
    right: 0;
    background: white;
    color: var(--primary-color);
    text-align: center;
    padding: 10px;
    font-weight: 600;
    transition: bottom 0.3s ease;
    opacity: 0.95;
}

.product-card:hover .btn-quick-add {
    bottom: 0;
}

.price-text {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 1.1rem;
}

/* 5. BUTONLAR */
.btn-primary-custom {
    background-color: var(--primary-color);
    color: white;
    padding: 12px 35px;
    border-radius: 50px;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 1.5px;
    font-weight: 600;
    border: 2px solid var(--primary-color);
    transition: all 0.3s;
}

    .btn-primary-custom:hover {
        background-color: transparent;
        color: var(--primary-color);
    }

/* 6. FOOTER — örnek sitelerdeki koyu blok */
footer {
    background-color: var(--dark-bg);
    color: rgba(255, 255, 255, 0.82);
    padding-top: 80px;
    padding-bottom: 40px;
    margin-top: 80px;
}

    footer h5 {
        color: #f6f3ed;
        margin-bottom: 25px;
        font-size: 1.1rem;
    }

    footer a {
        color: rgba(255, 255, 255, 0.75);
        display: block;
        margin-bottom: 10px;
        font-size: 0.9rem;
    }

        footer a:hover {
            color: var(--accent-light);
            padding-left: 5px;
        }

/* 7. İÇ SAYFALAR — Anasayfa tasarımına uyumlu (tüm müşteri sayfaları) */
.inner-page {
    background: var(--bg-light);
    min-height: 60vh;
    padding: 2.5rem 0 4rem;
}
.inner-page .page-hero {
    text-align: center;
    padding: 3rem 1rem 2.5rem;
    background: #fff;
    border-bottom: 1px solid rgba(15, 61, 52, 0.08);
    margin-bottom: 2rem;
}
.inner-page .page-hero .eyebrow {
    display: inline-block;
    font-size: 0.68rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.28em;
    color: var(--primary-color);
    margin-bottom: 0.6rem;
}
.inner-page .page-hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.75rem, 3.5vw, 2.5rem);
    font-weight: 600;
    color: var(--secondary-color);
    letter-spacing: 0.02em;
    margin-bottom: 0.5rem;
}
.inner-page .page-hero .intro-line {
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color) 0%, var(--accent-color) 100%);
    margin: 0 auto 1rem;
}
.inner-page .page-hero p {
    font-size: 0.98rem;
    color: var(--text-muted);
    max-width: 520px;
    margin: 0 auto;
    line-height: 1.7;
}
.inner-page .card-premium {
    background: #fff;
    border: 1px solid rgba(0,0,0,0.06);
    border-radius: 14px;
    box-shadow: 0 8px 28px rgba(15, 61, 52, 0.06);
    transition: border-color 0.3s, box-shadow 0.3s;
}
.inner-page .card-premium:hover {
    border-color: rgba(15, 61, 52, 0.12);
    box-shadow: 0 14px 40px rgba(15, 61, 52, 0.08);
}
.inner-page .btn-page-primary {
    background: var(--primary-color);
    color: #fff;
    border: 1px solid var(--primary-color);
    padding: 0.75rem 1.75rem;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    border-radius: 10px;
    transition: background 0.28s, color 0.28s, transform 0.22s;
}
.inner-page .btn-page-primary:hover {
    background: var(--primary-light);
    border-color: var(--primary-light);
    color: #fff;
    transform: translateY(-2px);
}
.inner-page .form-control:focus,
.inner-page .form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(15, 61, 52, 0.12);
}
.inner-page .form-label {
    color: var(--secondary-color);
    font-weight: 500;
    font-size: 0.9rem;
}
.inner-page .alert-success { border-left: 4px solid var(--primary-color); }
.inner-page .alert-danger { border-left: 4px solid #dc3545; }

/* 7.1 Koleksiyon / İç sayfa — Safnaturel & Osmanlı tarzı ek stiller */
.inner-page .collection-hero {
    text-align: center;
    padding: 4rem 1.5rem 3.5rem;
    background: #fff;
    border-bottom: 1px solid rgba(15, 61, 52, 0.08);
}
.inner-page .collection-hero .eyebrow {
    display: inline-block;
    font-size: 0.68rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.28em;
    color: var(--primary-color);
    margin-bottom: 0.75rem;
}
.inner-page .collection-hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.9rem, 4.5vw, 2.75rem);
    font-weight: 600;
    color: var(--secondary-color);
    letter-spacing: 0.02em;
    margin-bottom: 0.5rem;
}
.inner-page .collection-hero .intro-line {
    width: 56px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color) 0%, var(--accent-color) 100%);
    margin: 0 auto 1.25rem;
}
.inner-page .collection-hero p {
    font-size: 1rem;
    color: var(--text-muted);
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.75;
}
/* İçerik bloğu — Osmanlı/Safnaturel alt metin alanı */
.inner-page .content-block {
    background: #fff;
    border-radius: 16px;
    padding: 2.5rem 2rem;
    margin-top: 3rem;
    margin-bottom: 2rem;
    border: 1px solid rgba(0,0,0,0.06);
    box-shadow: 0 8px 28px rgba(15, 61, 52, 0.05);
}
.inner-page .content-block h2 {
    font-family: 'Playfair Display', serif;
    font-size: 1.35rem;
    font-weight: 600;
    color: var(--secondary-color);
    margin-bottom: 1rem;
    letter-spacing: 0.02em;
}
.inner-page .content-block p {
    color: var(--text-body);
    font-size: 0.98rem;
    line-height: 1.8;
    margin-bottom: 0;
}
/* Koleksiyon ürün kartı — anasayfa vitrin ile aynı his */
.inner-page .product-card-wrap {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(0,0,0,0.06);
    box-shadow: 0 8px 28px rgba(15, 61, 52, 0.06);
    transition: border-color 0.35s, box-shadow 0.4s, transform 0.35s;
}
.inner-page .product-card-wrap:hover {
    border-color: rgba(15, 61, 52, 0.14);
    box-shadow: 0 20px 48px rgba(15, 61, 52, 0.1);
    transform: translateY(-6px);
}

/* 8. MOBİL UYUMLULUK — Tam responsive & touch-friendly */
/* Genel: dokunma alanları min 44px, font 16px input (iOS zoom önleme) */
@media (max-width: 991px) {
    main:not(.main-home) {
        padding-top: 72px !important;
    }
    .header-top-bar {
        padding: 0.35rem 0.5rem;
        font-size: 0.7rem;
    }
    .header-top-text {
        display: block;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 100%;
        padding: 0 0.5rem;
    }
    .navbar-actions .btn-giris-fatihgems,
    .navbar-actions .btn-hesap,
    .navbar-actions .cart-icon-fatihgems {
        min-height: 44px;
        min-width: 44px;
        padding: 0.5rem 0.75rem;
    }
    .cart-icon-fatihgems {
        width: 44px;
        height: 44px;
    }
    .brand-fatihgems { font-size: 1.35rem; }
    .brand-icon { width: 32px; height: 32px; font-size: 0.9rem; }
}
@media (max-width: 576px) {
    .header-top-bar .container {
        padding-left: 0.5rem;
        padding-right: 0.5rem;
    }
    .header-top-text strong { display: inline; }
    .navbar-container { padding-left: 0.75rem; padding-right: 0.75rem; }
    .navbar-actions { gap: 0.5rem; }
    footer {
        padding-top: 2.5rem;
        padding-bottom: 2rem;
        margin-top: 2.5rem;
    }
    footer .row { margin-left: -0.5rem; margin-right: -0.5rem; }
    footer h5 { font-size: 1rem; margin-bottom: 1rem; }
    footer a {
        padding: 0.35rem 0;
        font-size: 0.85rem;
        min-height: 44px;
        display: flex;
        align-items: center;
    }
    footer .input-group .form-control,
    footer .input-group .btn {
        min-height: 44px;
        font-size: 16px; /* iOS zoom önleme */
    }
    .whatsapp-float {
        bottom: 1rem;
        right: 1rem;
        width: 52px;
        height: 52px;
        font-size: 1.6rem;
    }
}
/* Form elemanları: mobilde 16px (iOS zoom) */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    .product-img-wrap {
        height: calc(200px * var(--product-display-scale));
    }
    input[type="text"],
    input[type="email"],
    input[type="password"],
    input[type="number"],
    input[type="tel"],
    select.form-control,
    select.form-select,
    textarea.form-control {
        font-size: 16px !important;
    }
}
/* Tablolar: mobilde kart görünümü (opsiyonel) veya yatay kaydırma */
@media (max-width: 768px) {
    .table-responsive {
        margin-left: -0.75rem;
        margin-right: -0.75rem;
        padding-left: 0.75rem;
        padding-right: 0.75rem;
        -webkit-overflow-scrolling: touch;
    }
    .table-responsive table {
        font-size: 0.875rem;
    }
    .table-responsive th,
    .table-responsive td {
        padding: 0.5rem 0.35rem;
        white-space: nowrap;
    }
}
/* Container padding mobil */
@media (max-width: 576px) {
    .container { padding-left: 0.75rem; padding-right: 0.75rem; }
    .inner-page { padding: 1.5rem 0 2.5rem; }
    .inner-page .page-hero,
    .inner-page .collection-hero {
        padding: 2rem 0.75rem 1.5rem;
    }
    .inner-page .page-hero h1,
    .inner-page .collection-hero h1 {
        font-size: 1.5rem;
    }
    .content-block {
        padding: 1.25rem 1rem;
        margin-top: 1.5rem;
    }
}
/* Taş seçici: mobilde tam genişlik */
@media (max-width: 991px) {
    .tas-secici-nav select#navTasSecici { max-width: 100%; }
}

/* Safe area: notch / home indicator */
@supports (padding-bottom: env(safe-area-inset-bottom)) {
    .whatsapp-float {
        bottom: calc(1rem + env(safe-area-inset-bottom));
        right: calc(1rem + env(safe-area-inset-right));
    }
}
@media (max-width: 991px) {
    .sepet-drawer-panel {
        max-width: 100%;
        border-radius: 0;
    }
}

/* 9. SEPET DRAWER — Minimal siyah-beyaz anlık sepet (modern e-ticaret) */
.sepet-drawer-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.2);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s ease, visibility 0.35s ease;
    z-index: 1040;
}
.sepet-drawer-backdrop.is-open {
    opacity: 1;
    visibility: visible;
}

.sepet-drawer-panel {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    max-width: 440px;
    height: 100vh;
    background: #fff;
    box-shadow: -12px 0 40px rgba(0, 0, 0, 0.12);
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1050;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}
.sepet-drawer-panel.is-open {
    transform: translateX(0);
}

.sepet-drawer-panel-inner {
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
}

/* İçerik sarmalayıcı: flex zincirini korur, sepet listesinin kayması için gerekli */
.sepet-drawer-content {
    flex: 1;
    min-height: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.sepet-drawer-inner-content {
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
}

.sepet-drawer-header {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.35rem 1.5rem;
    border-bottom: 1px solid #e8e8e8;
    background: #fff;
}
.sepet-drawer-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1c1c1c;
    margin: 0;
    letter-spacing: -0.01em;
}
.sepet-drawer-close {
    width: 44px;
    height: 44px;
    min-width: 44px;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: none;
    background: transparent;
    color: #666;
    font-size: 1.6rem;
    line-height: 1;
    cursor: pointer;
    transition: color 0.2s, background 0.2s;
    border-radius: 6px;
}
.sepet-drawer-close:hover {
    background: #f0f0f0;
    color: #1c1c1c;
}

.sepet-drawer-body {
    flex: 1;
    min-height: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.sepet-drawer-scroll {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 1.25rem 1.5rem;
    -webkit-overflow-scrolling: touch;
}
.sepet-drawer-scroll::-webkit-scrollbar {
    width: 6px;
}
.sepet-drawer-scroll::-webkit-scrollbar-track {
    background: #f5f5f5;
    border-radius: 3px;
}
.sepet-drawer-scroll::-webkit-scrollbar-thumb {
    background: #b0b0b0;
    border-radius: 3px;
}
.sepet-drawer-scroll::-webkit-scrollbar-thumb:hover {
    background: #909090;
}

.sepet-drawer-body:not(:has(.sepet-drawer-scroll)) {
    padding: 1.25rem 1.5rem;
}
.sepet-drawer-empty {
    text-align: center;
    padding: 2.5rem 1rem;
}
.sepet-drawer-empty-icon {
    font-size: 2.5rem;
    color: #ccc;
    margin-bottom: 1rem;
}
.sepet-drawer-empty-text {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1c1c1c;
    margin-bottom: 0.25rem;
}
.sepet-drawer-empty-sub {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 1.25rem;
}

.sepet-drawer-items {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}
.sepet-drawer-item {
    display: flex;
    gap: 1rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid #eee;
}
.sepet-drawer-item:last-of-type {
    border-bottom: none;
    padding-bottom: 0;
}
.sepet-drawer-item-img-wrap {
    flex-shrink: 0;
    width: calc(88px * var(--product-display-scale));
    height: calc(88px * var(--product-display-scale));
    border-radius: 8px;
    overflow: hidden;
    background: #f5f5f5;
}
.sepet-drawer-item-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.sepet-drawer-item-info {
    flex: 1;
    min-width: 0;
}
.sepet-drawer-item-name {
    font-size: 0.95rem;
    font-weight: 600;
    color: #1c1c1c;
    line-height: 1.35;
    display: block;
    margin-bottom: 0.35rem;
    text-decoration: none;
}
.sepet-drawer-item-name:hover {
    color: #333;
}
.sepet-drawer-item-price {
    font-size: 0.95rem;
    font-weight: 600;
    color: #1c1c1c;
    margin-bottom: 0.6rem;
}
.sepet-drawer-item-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}
.sepet-drawer-qty {
    display: inline-flex;
    align-items: center;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    overflow: hidden;
    background: #f0f0f0;
}
.sepet-drawer-qty-btn {
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #f0f0f0;
    color: #1c1c1c;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
}
.sepet-drawer-qty-btn:hover:not(.disabled) {
    background: #e5e5e5;
    color: #000;
}
.sepet-drawer-qty-btn.disabled {
    opacity: 0.4;
    cursor: not-allowed;
    pointer-events: none;
}
.sepet-drawer-qty-num {
    min-width: 2.25rem;
    text-align: center;
    font-weight: 600;
    font-size: 0.9rem;
    color: #1c1c1c;
}
.sepet-drawer-remove {
    font-size: 0.8rem;
    color: #666;
    text-decoration: none;
    transition: color 0.2s;
}
.sepet-drawer-remove:hover {
    color: #333;
}

.sepet-drawer-footer {
    flex-shrink: 0;
    padding: 1.35rem 1.5rem;
    border-top: 1px solid #e8e8e8;
    background: #fff;
}
.sepet-drawer-summary .sepet-drawer-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.4rem;
    font-size: 0.95rem;
    color: #444;
}
.sepet-drawer-amount {
    font-weight: 700;
    color: #1c1c1c;
    font-size: 1rem;
}
.sepet-drawer-note {
    font-size: 0.78rem;
    color: #888;
    margin: 0.5rem 0 1rem 0;
    line-height: 1.4;
}
.sepet-drawer-buttons {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}
.sepet-drawer-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.85rem 1.25rem;
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    border-radius: 6px;
    text-decoration: none;
    transition: background 0.25s, color 0.25s;
    flex: 1;
    min-width: 0;
}
.sepet-drawer-btn-outline {
    background: transparent;
    border: 2px solid #1c1c1c;
    color: #1c1c1c;
}
.sepet-drawer-btn-outline:hover {
    background: #f5f5f5;
    color: #1c1c1c;
}
.sepet-drawer-btn-black {
    background: #1c1c1c;
    border: none;
    color: #fff;
}
.sepet-drawer-btn-black:hover {
    background: #333;
    color: #fff;
}
@media (max-width: 480px) {
    .sepet-drawer-panel {
        max-width: 100%;
    }
}

/* ========== KEŞFET MEGA MENÜ — Header dropdown ========== */
.nav-item-kesfet {
    position: static;
}
.nav-link-kesfet {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-weight: 600 !important;
    color: var(--primary-color) !important;
}
.kesfet-emoji {
    font-size: 1rem;
    line-height: 1;
}
.nav-link-kesfet:hover {
    color: var(--accent-color) !important;
}
.kesfet-mega-wrapper {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    padding-top: 0.5rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
    z-index: 1050;
    pointer-events: none;
}
.kesfet-mega-wrapper.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}
.kesfet-mega-inner {
    max-width: 1320px;
    margin: 0 auto;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 24px 56px rgba(15, 61, 52, 0.12), 0 12px 24px rgba(0,0,0,0.06);
    border: 1px solid rgba(15, 61, 52, 0.08);
    overflow: hidden;
}
.kesfet-mega-grid {
    display: grid;
    grid-template-columns: 220px 1fr;
    min-height: 280px;
}
.kesfet-mega-tabs {
    display: flex;
    flex-direction: column;
    background: linear-gradient(180deg, rgba(15, 61, 52, 0.04) 0%, rgba(250, 248, 245, 0.6) 100%);
    border-right: 1px solid rgba(15, 61, 52, 0.08);
    padding: 0.75rem 0;
}
.kesfet-tab {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.9rem 1.25rem;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
    color: var(--text-body);
    font-weight: 500;
    font-size: 0.9rem;
}
.kesfet-tab:hover,
.kesfet-tab.active {
    background: rgba(15, 61, 52, 0.08);
    color: var(--primary-color);
}
.kesfet-tab-icon {
    font-size: 1.25rem;
}
.kesfet-mega-panels {
    position: relative;
    padding: 1.5rem 1.75rem;
    background: #fff;
}
.kesfet-panel {
    position: absolute;
    inset: 0;
    padding: 1.5rem 1.75rem;
    background: #fff;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, visibility 0.2s;
}
.kesfet-panel.active {
    position: relative;
    opacity: 1;
    visibility: visible;
}
.kesfet-product-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
    align-items: stretch;
}
.kesfet-mega-card {
    display: block;
    text-decoration: none;
    color: inherit;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(15, 61, 52, 0.08);
    transition: box-shadow 0.25s, border-color 0.25s, transform 0.2s;
}
.kesfet-mega-card:hover {
    border-color: rgba(15, 61, 52, 0.2);
    box-shadow: 0 12px 28px rgba(15, 61, 52, 0.1);
    transform: translateY(-2px);
}
.kesfet-mega-card-img {
    position: relative;
    aspect-ratio: 1;
    width: 100%;
    border-radius: 0;
    background: var(--bg-light);
    overflow: hidden;
}
.kesfet-mega-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}
.kesfet-mega-card:hover .kesfet-mega-card-img img {
    transform: scale(1.06);
}
.kesfet-mega-badge {
    position: absolute;
    top: 0.5rem;
    left: 0.5rem;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.3rem 0.5rem;
    border-radius: 6px;
    background: var(--primary-color);
    color: #fff;
}
.kesfet-mega-badge-firsat {
    background: linear-gradient(135deg, #c2410c 0%, #ea580c 100%);
    color: #fff;
}
.kesfet-mega-card-body {
    padding: 0.85rem;
}
.kesfet-mega-card-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--secondary-color);
    margin: 0 0 0.35rem 0;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.kesfet-mega-card-price {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}
.kesfet-mega-price-old {
    font-size: 0.8rem;
    color: #888;
    text-decoration: line-through;
}
.kesfet-mega-price-new {
    font-size: 1rem;
    font-weight: 700;
    color: var(--primary-color);
}
@media (max-width: 1199px) {
    .kesfet-product-row {
        grid-template-columns: repeat(3, 1fr);
    }
}
@media (max-width: 991px) {
    .nav-item-kesfet .kesfet-mega-wrapper {
        display: none;
    }
    .nav-link-kesfet { display: inline-flex !important; }
}
@media (min-width: 992px) {
    .navbar-nav-center {
        align-items: center;
    }
}
