/* ── Çelik Takı Custom Styles ── */
:root {
    --gold: #c8a45c;
    --gold-dark: #a8883c;
    --dark: #1a1a2e;
    --dark2: #16213e;
    --background: #ffffff;
}

/* Tema koyu arka planı — Bootstrap .bg-dark'ı tema rengiyle ez */
.bg-dark {
    background-color: var(--dark) !important;
}

/* Brand Colors */
.text-gold { color: var(--gold) !important; }
.bg-gold { background-color: var(--gold) !important; }
.btn-gold {
    background-color: var(--gold);
    color: #fff;
    border: none;
}
.btn-gold:hover {
    background-color: var(--gold-dark);
    color: #fff;
}

/* ── Navbar: saydam başlangıç, scroll'dan sonra koyu ── */
#mainNav {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    transition: all 0.4s ease;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
    z-index: 1030;
}
#mainNav.navbar-scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 4px 30px rgba(0,0,0,0.1);
}
#mainNav.navbar-scrolled .navbar-brand {
    color: #1a1a1a !important;
}
#mainNav.navbar-scrolled .nav-link {
    color: rgba(0, 0, 0, 0.75) !important;
}
#mainNav.navbar-scrolled .btn-outline-light {
    border-color: rgba(0, 0, 0, 0.3);
    color: rgba(0, 0, 0, 0.75);
}
#mainNav.navbar-scrolled .btn-outline-light:hover {
    background: rgba(0, 0, 0, 0.05);
    color: #000;
}
#mainNav.navbar-scrolled .navbar-toggler {
    border-color: rgba(0, 0, 0, 0.3);
}
#mainNav.navbar-scrolled .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(0, 0, 0, 0.7)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}
#mainNav .navbar-brand {
    font-family: 'Birthstone Bounce', cursive;
    font-size: 4.5rem;
    line-height: 1;
    text-transform: lowercase;
    font-weight: 400;
    letter-spacing: 4px;
    color: #fff !important;
}
#mainNav .nav-link {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    color: rgba(255,255,255,0.85) !important;
    transition: color 0.3s;
}
#mainNav .nav-link:hover,
#mainNav .nav-link:focus {
    color: var(--gold) !important;
}
#mainNav .navbar-toggler {
    border-color: rgba(255,255,255,0.5);
}
/* Navbar'daki butonlar ve ikonlar beyaz tonlarda */
#mainNav .btn-outline-light {
    border-color: rgba(255,255,255,0.5);
    color: rgba(255,255,255,0.9);
}
#mainNav .btn-outline-light:hover {
    background: rgba(255,255,255,0.15);
    color: #fff;
}
/* Navbar arama kutusu — saydam görünüm */
#mainNav .form-control {
    background: transparent;
    border-color: rgba(255,255,255,0.4);
    color: #fff;
}
#mainNav .form-control::placeholder {
    color: rgba(255,255,255,0.7);
}
#mainNav .form-control:focus {
    background: rgba(255,255,255,0.12);
    border-color: var(--gold);
    color: #fff;
    box-shadow: none;
}
#mainNav.navbar-scrolled .form-control {
    background: rgba(0,0,0,0.04);
    border-color: rgba(0,0,0,0.25);
    color: #1a1a1a;
}
#mainNav.navbar-scrolled .form-control::placeholder {
    color: rgba(0,0,0,0.5);
}
#mainNav.navbar-scrolled .form-control:focus {
    background: #fff;
    border-color: var(--gold);
    color: #1a1a1a;
    box-shadow: none;
}

/* Minimal navbar ikonları (giriş & sepet) */
.nav-icon {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    color: rgba(255,255,255,0.92);
    font-size: 1.35rem;
    transition: all 0.3s ease;
}
.nav-icon:hover {
    color: var(--gold);
    background: rgba(255,255,255,0.08);
}
#mainNav.navbar-scrolled .nav-icon {
    color: rgba(0,0,0,0.75);
}
#mainNav.navbar-scrolled .nav-icon:hover {
    color: var(--gold);
    background: rgba(0,0,0,0.05);
}
.nav-icon .badge {
    font-size: 0.62rem;
    font-weight: 700;
    min-width: 17px;
    height: 17px;
    padding: 0 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    box-shadow: 0 0 0 2px rgba(255,255,255,0.9);
}

/* Body üst padding: fixed navbar offset */
html {
    background-color: #1a1a2e;
}
html,
body {
    margin: 0;
    padding: 0;
}
body {
    padding-top: 0;
    background-color: var(--background);
    font-family: 'Inter', sans-serif;
}
/* İlk sayfada slider navbar'ın altına taşmasın */
.hero-slider {
    margin-top: 0;
}

/* Navbar dropdown */
#mainNav .dropdown-menu {
    border: none;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    border-radius: 10px;
    background: rgba(20, 20, 40, 0.95);
    backdrop-filter: blur(10px);
    margin-top: 0.8rem;
}
#mainNav .dropdown-item {
    color: rgba(255,255,255,0.85);
    font-size: 0.9rem;
}
#mainNav .dropdown-item:hover {
    background: color-mix(in srgb, var(--gold) 20%, transparent);
    color: var(--gold);
}
#mainNav .dropdown-divider { border-color: rgba(255,255,255,0.1); }

/* Top Bar */
.top-bar { font-size: 0.85rem; }

/* Navbar (eski sınıflar için destek) */
.navbar-brand {
    letter-spacing: 1px;
}
.navbar .dropdown-menu {
    border: none;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    border-radius: 10px;
}

/* ── Category Circle Carousel ── */
.category-carousel-container {
    display: flex;
    align-items: center;
    gap: 0;
    overflow: hidden;
}
.category-carousel {
    display: flex;
    gap: 1.5rem;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;  /* Firefox */
    -ms-overflow-style: none;  /* IE */
    padding: 0.5rem 0;
    flex: 1;
    justify-content: flex-start;  /* taşarsa kaydırma doğru çalışsın */
}
/* İçerik sığarsa ortala, taşarsa kaydırılabilir kalsın */
.category-circle-item:first-child { margin-left: auto; }
.category-circle-item:last-child { margin-right: auto; }
.category-carousel::-webkit-scrollbar {
    display: none;  /* Chrome/Safari */
}
.category-circle-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}
.category-circle-item:hover {
    transform: translateY(-3px);
}
.category-circle {
    width: 108px;
    height: 108px;
    border-radius: 50%;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}
.category-circle i {
    font-size: 2.4rem;
    color: var(--gold);
    transition: color 0.3s ease;
}
.category-circle-item:hover .category-circle {
    background: var(--gold);
    border-color: var(--gold-dark);
    box-shadow: 0 6px 20px color-mix(in srgb, var(--gold) 35%, transparent);
}
.category-circle-item:hover .category-circle i {
    color: #fff;
}
.category-circle-label {
    font-size: 0.8rem;
    font-weight: 500;
    color: #333;
    text-align: center;
}
.cat-carousel-btn {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid #ddd;
    background: #fff;
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    z-index: 1;
}
.cat-carousel-btn:hover {
    background: var(--gold);
    color: #fff;
    border-color: var(--gold);
}
.cat-carousel-prev { margin-right: 0.5rem; }
.cat-carousel-next { margin-left: 0.5rem; }

/* Orijinal Category Cards (diğer sayfalar için destek) */
.category-card {
    transition: all 0.3s ease;
    cursor: pointer;
    border-radius: 12px;
}
.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1) !important;
    background-color: var(--gold);
    color: #fff;
}
.category-card:hover .category-icon i {
    color: #fff !important;
}
.category-card:hover .card-title {
    color: #fff !important;
}

/* Product Cards */
.product-card {
    transition: all 0.3s ease;
    border-radius: 0;
    overflow: hidden;
}
.opacity-60 {
    opacity: 0.6;
}
.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.12) !important;
}
.product-card .card-body {
    position: relative;
    z-index: 1;
}

/* Product Image */
.product-img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.product-card:hover .product-img {
    transform: scale(1.08);
}
.product-img-lg {
    width: 100%;
    height: 450px;
    object-fit: cover;
    border-radius: 12px;
}
.product-img-sm {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 8px;
}
.product-img-related {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

/* ── Hero Slider ── */
.hero-slider {
    position: relative;
    height: 100vh;
    min-height: 680px;
    max-height: 880px;
    overflow: hidden;
    background-color: #1a1a2e;
}
.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 1.1s ease-in-out, visibility 1.1s ease-in-out;
    display: flex;
    align-items: center;
    z-index: 1;
    overflow: hidden;
}
.hero-slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 2;
}
.hero-slide-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transform: scale(1);
    transition: transform 7s ease-out;
}
.hero-slide.active .hero-slide-bg {
    transform: scale(1.08);
}
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}
.hero-content {
    position: relative;
    z-index: 3;
    padding: 90px 0;
}
.hero-badge {
    display: inline-block;
    background: var(--gold);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 3px;
    padding: 8px 18px;
    border-radius: 2px;
    margin-bottom: 22px;
    text-transform: uppercase;
    opacity: 0;
    transform: translateY(26px);
    transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}
.hero-title {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: clamp(2.6rem, 5.2vw, 4.6rem);
    line-height: 1.08;
    margin-bottom: 1.25rem;
    letter-spacing: 0.5px;
    opacity: 0;
    transform: translateY(26px);
    transition: opacity 0.8s ease 0.12s, transform 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.12s;
}
.hero-desc {
    font-size: 1.15rem;
    font-weight: 300;
    max-width: 540px;
    margin-bottom: 2rem;
    opacity: 0;
    transform: translateY(26px);
    transition: opacity 0.8s ease 0.24s, transform 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.24s;
}
.hero-buttons {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity 0.8s ease 0.36s, transform 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.36s;
}
.hero-slide.active .hero-badge,
.hero-slide.active .hero-title,
.hero-slide.active .hero-desc,
.hero-slide.active .hero-buttons {
    opacity: 1;
    transform: translateY(0);
}
.hero-buttons .btn {
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.82rem;
    font-weight: 600;
    padding: 0.8rem 1.8rem;
}
.hero-buttons .btn-outline-light {
    border-width: 1.5px;
}
/* Hero Nav Arrows */
.hero-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    background: rgba(255,255,255,0.08);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,0.22);
    color: #fff;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    font-size: 1.35rem;
    cursor: pointer;
    transition: all 0.35s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}
.hero-nav:hover {
    background: var(--gold);
    border-color: var(--gold);
    color: #fff;
}
.hero-prev { left: 28px; }
.hero-next { right: 28px; }
/* Hero Dots — çizgi + ilerleme animasyonu */
.hero-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    gap: 8px;
}
.hero-dot {
    width: 36px;
    height: 3px;
    border-radius: 2px;
    background: rgba(255,255,255,0.35);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}
.hero-dot::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gold);
    transform: scaleX(0);
    transform-origin: left;
}
.hero-dot.active::after {
    animation: heroProgress var(--slide-duration, 5000ms) linear forwards;
}
@keyframes heroProgress {
    from { transform: scaleX(0); }
    to { transform: scaleX(1); }
}
/* Responsive Hero */
@media (max-width: 768px) {
    .hero-slider {
        height: 82vh;
        min-height: 560px;
        max-height: 720px;
    }
    .hero-content {
        padding: 60px 0;
        text-align: center;
    }
    .hero-title {
        font-size: 2.1rem;
    }
    .hero-desc {
        font-size: 1rem;
        margin-left: auto;
        margin-right: auto;
    }
    .hero-nav {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
    }
    .hero-prev { left: 10px; }
    .hero-next { right: 10px; }
}
/* Masaüstünde oklar yalnızca hover'da belirginleşir */
@media (min-width: 992px) {
    .hero-nav {
        opacity: 0;
        transform: translateY(-50%) scale(0.9);
    }
    .hero-slider:hover .hero-nav {
        opacity: 0.85;
        transform: translateY(-50%) scale(1);
    }
}

/* Footer */
footer a {
    transition: color 0.2s;
}
footer a:hover {
    color: var(--gold) !important;
}

/* Star Ratings */
.star-label:hover .star-rating {
    color: #ffc107 !important;
}

/* Breadcrumb */
.breadcrumb a {
    color: var(--dark);
    text-decoration: none;
}
.breadcrumb a:hover {
    color: var(--gold);
}

/* Pagination */
.page-link {
    color: var(--dark);
}
.page-item.active .page-link {
    background-color: var(--gold);
    border-color: var(--gold);
}

/* Cart Badge */
.nav-link .badge {
    font-size: 0.6rem;
}

/* Alerts */
.alert {
    border: none;
    border-radius: 10px;
}

/* Buttons */
.btn {
    border-radius: 8px;
}
.btn-dark {
    background-color: var(--dark);
    border-color: var(--dark);
}
.btn-dark:hover {
    background-color: var(--dark2);
}

/* Forms */
.form-control:focus, .form-select:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 0.2rem color-mix(in srgb, var(--gold) 25%, transparent);
}

/* Tables */
.table th {
    font-weight: 600;
    color: var(--dark);
}

/* Responsive */
@media (max-width: 768px) {
    .hero-section {
        text-align: center;
        min-height: 300px;
    }
    .hero-section h1 {
        font-size: 2rem;
    }
    .product-img {
        height: 180px !important;
    }
    .product-img-lg {
        height: 300px !important;
    }
}

/* ── Product Slider (Öne Çıkan Ürünler) ── */
.product-slider-row {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}
.product-slider-section .product-slider-track {
    overflow: hidden;
    flex: 1;
}
.product-slider-section .product-slider-inner {
    display: flex;
    gap: 1rem;
    transition: transform 0.8s ease-in-out;
}
.product-slider-card {
    flex-shrink: 0;
    width: 250px;
}
.product-slider-arrow {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid #ddd;
    background: #fff;
    font-size: 1rem;
    color: #333;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    z-index: 1;
}
.product-slider-arrow:hover {
    background: var(--gold);
    color: #fff;
    border-color: var(--gold);
}
@media (max-width: 768px) {
    .product-slider-arrow {
        display: none;
    }
    .product-slider-card {
        width: 200px;
    }
    .product-slider-section .product-slider-track {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    /* Mobilde JS slider'ı kapat, doğal kaydırmaya izin ver */
    .product-slider-section .product-slider-inner {
        transition: none !important;
        transform: none !important;
    }
}

/* Animation */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}
.product-card {
    animation: fadeIn 0.5s ease-out;
}

/* Custom Scrollbar */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #f1f1f1; }
::-webkit-scrollbar-thumb { background: var(--gold); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--gold-dark); }
/* Alt kategoriler listesi ve filtre kontrolleri — tema rengiyle uyumlu */
.list-group-item.active {
    background-color: var(--gold) !important;
    border-color: var(--gold) !important;
    color: #fff !important;
}
.list-group-item-action:hover,
.list-group-item-action:focus {
    color: var(--gold);
}
.form-check-input:checked {
    background-color: var(--gold) !important;
    border-color: var(--gold) !important;
}

/* Düşük stok rozeti için kart göreli konumlandırma */
.product-card {
    position: relative;
}

/* ═══════════════════════════════════════════════════════════
   MODERN UI REFRESH — 2026
   ═══════════════════════════════════════════════════════════ */
:root {
    --announce-h: 40px;
    --radius-sm: 10px;
    --radius: 16px;
    --shadow-sm: 0 2px 12px rgba(20, 20, 40, 0.06);
    --shadow-md: 0 14px 34px rgba(20, 20, 40, 0.10);
    --shadow-lg: 0 28px 60px rgba(20, 20, 40, 0.16);
    --ink: #17131f;
    --muted: #6f6b78;
    --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

html { scroll-behavior: smooth; }

body {
    color: var(--ink);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

::selection { background: var(--gold); color: #fff; }

/* ── Tipografi hiyerarşisi ── */
h1, h2, h3, h4 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    letter-spacing: 0.2px;
}

/* ── Bölüm başlıkları (eyebrow + başlık) ── */
.section-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--gold-dark);
    margin-bottom: 0.65rem;
}
.section-eyebrow::before,
.section-eyebrow::after {
    content: '';
    width: 26px;
    height: 1px;
    background: var(--gold);
    display: inline-block;
}
.bg-dark .section-eyebrow { color: var(--gold); }
.section-title {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    letter-spacing: 0.3px;
}
.section-subtitle { color: var(--muted); }

/* ── Duyuru çubuğu ── */
.announcement-bar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--announce-h);
    z-index: 1040;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0 1rem;
    background: var(--announcement-bg);
    color: var(--announcement-text);
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    white-space: nowrap;
    overflow: hidden;
}
.announcement-bar span { overflow: hidden; text-overflow: ellipsis; }
.announcement-bar strong { color: var(--gold); font-weight: 700; }
.announcement-bar .bi { color: var(--gold); }

/* Duyuru çubuğu varsa navbar'ı onun altına al */
body.has-announcement #mainNav { top: var(--announce-h); }

/* ── Navbar: cam efekti ── */
#mainNav.navbar-scrolled {
    background: rgba(255, 255, 255, 0.86);
    backdrop-filter: blur(18px) saturate(160%);
    -webkit-backdrop-filter: blur(18px) saturate(160%);
    box-shadow: 0 6px 30px rgba(20, 20, 40, 0.08);
    border-bottom: 1px solid rgba(20, 20, 40, 0.06);
}

/* ── Kartlar ── */
.card {
    border: 1px solid rgba(20, 20, 40, 0.05);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
}
.card-header {
    border-bottom: 1px solid rgba(20, 20, 40, 0.05);
    background-color: #fff;
}
.product-card {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease);
}
.product-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg) !important;
}
.product-card .card-title a:hover { color: var(--gold) !important; }

/* ── Butonlar ── */
.btn {
    border-radius: 12px;
    font-weight: 600;
    letter-spacing: 0.3px;
    transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease),
                background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}
.btn:active { transform: translateY(1px); }
.btn-gold {
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
    border-radius: 999px;
    color: #fff;
    border: none;
    box-shadow: 0 8px 20px color-mix(in srgb, var(--gold) 35%, transparent);
}
.btn-gold:hover {
    background: linear-gradient(135deg, var(--gold-dark) 0%, var(--gold) 100%);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 14px 30px color-mix(in srgb, var(--gold) 45%, transparent);
}
.btn-dark {
    background-color: var(--dark);
    border-color: var(--dark);
    border-radius: 999px;
}
.btn-dark:hover {
    background-color: var(--dark2);
    border-color: var(--dark2);
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(20, 20, 40, 0.22);
}

/* ── Formlar ── */
.form-control,
.form-select {
    border-radius: 10px;
    border-color: rgba(20, 20, 40, 0.12);
}
.form-control:focus,
.form-select:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 0.25rem color-mix(in srgb, var(--gold) 18%, transparent);
}

/* ── Yukarı çık butonu ── */
.back-to-top {
    position: fixed;
    left: 24px;
    bottom: 24px;
    z-index: 1035;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: none;
    background: var(--dark);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: all 0.35s var(--ease);
    box-shadow: var(--shadow-md);
}
.back-to-top.is-visible {
    opacity: 1;
    visibility: visible;
    transform: none;
}
.back-to-top:hover { background: var(--gold); color: #fff; }

/* ── Footer ── */
footer.bg-dark {
    background: linear-gradient(180deg, #17131f 0%, #0f0c16 100%) !important;
    color: #fff;
}
footer.bg-dark .text-muted,
footer.bg-dark .text-white-50 {
    color: rgba(255, 255, 255, 0.78) !important;
}
footer.bg-dark h5,
footer.bg-dark h6 {
    color: #fff !important;
}

/* ── Scroll reveal animasyonları ── */
.js .reveal {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity 0.7s ease, transform 0.7s var(--ease);
    will-change: opacity, transform;
}
.js .reveal.is-visible {
    opacity: 1;
    transform: none;
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .js .reveal { opacity: 1; transform: none; transition: none; }
    .product-card, .btn, .btn-gold, .btn-dark { transition: none; }
}

@media (max-width: 576px) {
    .announcement-bar { letter-spacing: 1px; font-size: 0.66rem; }
    .back-to-top { left: 16px; bottom: 16px; width: 42px; height: 42px; }
}

/* ── Mobil Optimizasyonu ── */
@media (max-width: 768px) {
    /* Ürün görselleri kompakt */
    .product-img { height: 150px !important; }
    .product-img-lg { height: 240px !important; }
    .product-img-related { height: 140px; }
    .product-img-sm { width: 48px; height: 48px; }

    /* Ürün kartı: 2 sütun, ölçekli yazı */
    .product-card .card-body { padding: 0.5rem 0.6rem; }
    .product-card .card-title {
        font-size: 0.82rem;
        margin-bottom: 0.25rem;
        line-height: 1.3;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
    .product-card .card-title a { font-size: 0.82rem; }
    .product-card .card-body small.text-muted { font-size: 0.68rem; }
    .product-card .card-body .fs-5 { font-size: 0.9rem !important; }

    /* Butonlar kompakt */
    .btn { font-size: 0.9rem; }
    .btn-lg { padding: 0.5rem 1rem; font-size: 0.95rem; }
    .hero-buttons .btn { padding: 0.55rem 1.1rem; font-size: 0.72rem; }

    /* Hero slider daha kısa */
    .hero-slider { height: 64vh; min-height: 400px; max-height: 520px; }
    .hero-content { padding: 28px 0; }
    .hero-title { font-size: 1.8rem; }
    .hero-desc { font-size: 0.9rem; }
    .hero-badge { padding: 6px 12px; margin-bottom: 14px; font-size: 0.65rem; }

    /* Navbar kompakt */
    #mainNav { padding-top: 0.35rem; padding-bottom: 0.35rem; }
    #mainNav .navbar-brand { font-size: 2rem; letter-spacing: 2px; }
    .nav-icon { width: 36px; height: 36px; font-size: 1.15rem; }

    /* Kategori çemberi */
    .category-circle { width: 80px; height: 80px; }
    .category-circle i { font-size: 1.8rem; }

    /* Bölüm boşlukları */
    .py-5 { padding-top: 2.25rem !important; padding-bottom: 2.25rem !important; }
    .mb-5 { margin-bottom: 2rem !important; }

    /* Toast konteyner */
    #toastContainer { left: 16px; right: 16px; bottom: 16px; }

    /* Öne çıkan slider kartları */
    .product-slider-card { width: 170px; }

    /* Sekme başlıkları */
    .nav-tabs .nav-link { padding: 0.5rem 0.7rem; font-size: 0.85rem; }
}

@media (max-width: 576px) {
    .product-img { height: 130px !important; }
    .product-img-lg { height: 210px !important; }
    .product-img-related { height: 120px; }
    .hero-slider { height: 56vh; min-height: 360px; max-height: 460px; }
    .hero-title { font-size: 1.6rem; }
    .product-card .card-title { font-size: 0.78rem; }
    .btn-lg { font-size: 0.9rem; padding: 0.45rem 0.85rem; }
    .product-slider-card { width: 150px; }
    h1 { font-size: 1.4rem; }
    .section-title { font-size: 1.5rem; }
    .display-5 { font-size: 1.5rem !important; }
}

/* ── Mobil: Navbar beyaz + Hero tam ekran + ok yok ── */
@media (max-width: 768px) {
    /* Navbar şeffaf değil, beyaz */
    #mainNav {
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        box-shadow: 0 4px 30px rgba(0, 0, 0, 0.08);
    }
    #mainNav .navbar-brand { color: #1a1a1a !important; }
    #mainNav .nav-link { color: rgba(0, 0, 0, 0.8) !important; }
    #mainNav .nav-icon { color: rgba(0, 0, 0, 0.8) !important; }
    #mainNav .navbar-toggler { border-color: rgba(0, 0, 0, 0.3); }
    #mainNav .navbar-toggler-icon {
        background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(0, 0, 0, 0.7)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
    }
    #mainNav .form-control { background: rgba(0, 0, 0, 0.04); border-color: rgba(0, 0, 0, 0.25); color: #1a1a1a; }
    #mainNav .form-control::placeholder { color: rgba(0, 0, 0, 0.5); }
    #mainNav .form-control:focus { background: #fff; color: #1a1a1a; }

    /* Hero tam ekran (aşağıya kadar doldurur) */
    .hero-slider { height: 100vh; height: 100svh; min-height: 0; max-height: none; }
    .hero-content { padding: 40px 0; }

    /* Hero okları gizle (parmakla kaydırma) */
    .hero-nav { display: none; }

    /* Kategori carousel okları gizle (parmakla kaydırma) */
    .cat-carousel-btn { display: none; }

    /* Hero yazı/butonlar daha küçük */
    .hero-title { font-size: 1.5rem; }
    .hero-desc { font-size: 0.82rem; }
    .hero-badge { padding: 5px 10px; margin-bottom: 12px; font-size: 0.6rem; letter-spacing: 2px; }
    .hero-buttons .btn { padding: 0.45rem 0.9rem; font-size: 0.62rem; }
}

@media (max-width: 576px) {
    .hero-title { font-size: 1.35rem; }
    .hero-desc { font-size: 0.78rem; }
    .hero-buttons .btn { padding: 0.4rem 0.75rem; font-size: 0.6rem; }
}

/* ── Sepet Çekmecesi (Drawer) ── */
.cart-drawer {
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: 400px;
    max-width: 92vw;
    background: #fff;
    z-index: 10000;
    transform: translateX(100%);
    visibility: hidden;
    transition: none;
    display: flex;
    flex-direction: column;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.18);
}
.cart-drawer.ready {
    transition: transform 0.3s ease, visibility 0.3s;
}
.cart-drawer.open { transform: translateX(0); visibility: visible; }
.cart-drawer-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s;
}
.cart-drawer-overlay.open { opacity: 1; visibility: visible; }
.cart-drawer-header {
    background: var(--dark, #17131f);
    color: #fff;
    padding: 16px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.cart-drawer-body { flex: 1; overflow-y: auto; padding: 16px; }
.cart-drawer-footer { padding: 16px; border-top: 1px solid #eee; background: #fff; }
.cart-drawer-img { width: 64px; height: 64px; object-fit: cover; border-radius: 8px; flex-shrink: 0; }
