/* ── Değişkenler (ana site ile birebir aynı) ─────────────────────────── */
:root {
    --gold:       #c9a84c;
    --gold-light: #f0d080;
    --gold-dark:  #8a6a1a;
    --gold-dim:   rgba(201,168,76,.12);
    --dark:       #0a0a0f;
    --darker:     #16162a;
    --dark-card:  #1a1a2e;
    --stone:      #1a1a2e;
    --stone-light:#16213e;
    --smoke:      rgba(200,180,120,.08);
    --border:     rgba(201,168,76,.18);
    --glow:       rgba(201,168,76,.4);
    --text:       #ffffff;
    --text-dim:   #e0e0e0;
    --parchment:  #ffffff;
    --radius:     8px;
}

/* ── Reset & Base ────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; max-width: 100%; overflow-x: hidden; }

body {
    background-color: var(--darker);
    background-image:
        radial-gradient(ellipse at 20% 50%, rgba(201,168,76,.05) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(116,0,1,.08)    0%, transparent 50%);
    color: var(--parchment);
    font-family: 'EB Garamond', serif;
    font-size: 18px;
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
    cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 20 20'%3E%3Ccircle cx='10' cy='10' r='4' fill='%23c9a84c' opacity='0.8'/%3E%3C/svg%3E") 10 10, auto;
}

/* Yıldız efekti (ana site ile aynı) */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    background-image:
        radial-gradient(1px 1px at 15% 20%, rgba(255,255,255,.6) 0%, transparent 100%),
        radial-gradient(1px 1px at 42% 8%,  rgba(255,255,255,.5) 0%, transparent 100%),
        radial-gradient(1.5px 1.5px at 70% 15%, rgba(255,255,255,.7) 0%, transparent 100%),
        radial-gradient(1px 1px at 88% 30%, rgba(255,255,255,.4) 0%, transparent 100%),
        radial-gradient(1px 1px at 5% 55%,  rgba(255,255,255,.5) 0%, transparent 100%),
        radial-gradient(2px 2px at 30% 70%, rgba(201,168,76,.4)  0%, transparent 100%),
        radial-gradient(1px 1px at 65% 60%, rgba(255,255,255,.6) 0%, transparent 100%),
        radial-gradient(1px 1px at 92% 75%, rgba(255,255,255,.3) 0%, transparent 100%),
        radial-gradient(1.5px 1.5px at 20% 88%, rgba(255,255,255,.5) 0%, transparent 100%),
        radial-gradient(1px 1px at 55% 92%, rgba(201,168,76,.3)  0%, transparent 100%),
        radial-gradient(1px 1px at 78% 85%, rgba(255,255,255,.4) 0%, transparent 100%),
        radial-gradient(1px 1px at 48% 45%, rgba(255,255,255,.3) 0%, transparent 100%);
    pointer-events: none;
    z-index: 0;
}

a { color: var(--gold); text-decoration: none; transition: color .2s; }
a:hover { color: var(--gold-light); }

img { max-width: 100%; display: block; }

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ── Header ──────────────────────────────────────────────────────────── */
.shop-header {
    background: rgba(5,5,8,0.97);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid rgba(201,168,76,.12);
    position: sticky;
    top: 0;
    z-index: 100;
}

/* Üst ince şerit */
.header-serit {
    height: 3px;
    background: linear-gradient(90deg, #ae0001 0%, var(--gold) 40%, #ae0001 100%);
    opacity: .7;
}

.header-inner {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 32px;
    height: 64px;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 24px;
}

/* ── Logo ── */
.header-logo { justify-self: start; }

.logo-link {
    display: flex;
    align-items: baseline;
    gap: 5px;
    text-decoration: none;
}

.logo-main {
    font-family: 'Cinzel Decorative', serif;
    font-size: 1.05rem;
    color: var(--gold);
    font-weight: 700;
    text-shadow: 0 0 20px var(--glow);
    letter-spacing: .5px;
    white-space: nowrap;
}

.logo-sub {
    font-family: 'Cinzel', serif;
    font-size: .62rem;
    color: var(--text-dim);
    letter-spacing: 4px;
    text-transform: uppercase;
    font-weight: 400;
    opacity: .8;
}

/* Geriye dönük uyumluluk */
.logo-shop {
    font-family: 'Cinzel Decorative', serif;
    font-size: 1rem;
    color: var(--gold);
    font-weight: 700;
    text-shadow: 0 0 20px var(--glow);
    letter-spacing: 1px;
}

/* ── Orta Nav (dropdown) ── */
.header-nav {
    justify-self: center;
    display: flex;
    gap: 4px;
    align-items: center;
}

/* Nav Item */
.nav-item {
    position: relative;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 8px 14px;
    font-family: 'Cinzel', serif;
    font-size: .82rem;
    letter-spacing: .08em;
    color: var(--text-dim);
    cursor: default;
    user-select: none;
    border-radius: 6px;
    transition: color .2s, background .2s;
    white-space: nowrap;
}

.nav-item:hover > .nav-link,
.nav-link.active {
    color: var(--gold);
    background: var(--gold-dim);
}

.nav-chevron {
    flex-shrink: 0;
    transition: transform .25s;
    opacity: .7;
}

.nav-item:hover > .nav-link .nav-chevron {
    transform: rotate(180deg);
    opacity: 1;
}

/* ── Regular Dropdown paneli ──────────────────────────────────────── */
.nav-dropdown {
    position: absolute;
    top: calc(100% + 6px);
    left: 50%;
    transform: translateX(-50%) translateY(-6px);
    background: var(--dark-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 8px;
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transition: opacity .22s, visibility .22s, transform .22s;
    z-index: 300;
    box-shadow: 0 12px 40px rgba(0,0,0,.6);
    pointer-events: none;
}

.nav-item:hover .nav-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
    pointer-events: auto;
}

/* Kategori linkleri */
.dd-kat {
    display: block;
    padding: 9px 14px;
    border-radius: 6px;
    text-decoration: none;
    color: var(--text-dim);
    font-family: 'Cinzel', serif;
    font-size: .8rem;
    letter-spacing: .04em;
    transition: all .15s;
    white-space: nowrap;
}
.dd-kat:hover, .dd-kat.active {
    color: var(--gold);
    background: var(--gold-dim);
}

/* ── Mega Menu (Binalar) ───────────────────────────────────────────── */

/* has-mega: nav-item positioning context kaldırılır, shop-header devralır */
.nav-item.has-mega {
    position: static;
}

/* nav-mega: tam genişlik, üstten kayma animasyonu */
.nav-mega {
    position: absolute;
    top: 100%;          /* .shop-header'ın alt kenarı */
    left: 0;
    width: 100%;
    transform: translateX(0) translateY(-12px) !important;
    min-width: 0;
    border-radius: 0;
    padding: 28px 32px;
    background: rgba(5,5,8,0.98);
    backdrop-filter: blur(12px);
    border-top: 1px solid rgba(201,168,76,.15);
    border-left: none;
    border-right: none;
    border-bottom: 1px solid rgba(201,168,76,.1);
    box-shadow: 0 20px 60px rgba(0,0,0,.7);
}

.nav-item.has-mega:hover .nav-mega {
    transform: translateX(0) translateY(0) !important;
}

/* 5 sütunlu ızgara */
.mega-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 14px;
    max-width: 1300px;
    margin: 0 auto;
}

/* Kart kapsayıcısı */
.mega-kart {
    position: relative;
    height: 210px;
    border-radius: 8px;
    overflow: hidden;
    text-decoration: none;
    display: block;
    cursor: pointer;
}

/* Arka plan (zoom efekti için ayrı katman) */
.mega-kart-bg {
    position: absolute;
    inset: 0;
    transition: transform .55s cubic-bezier(.25,.46,.45,.94);
}

.mega-kart:hover .mega-kart-bg {
    transform: scale(1.06);
}

/* Ev gradyanları */
.mega-tum       .mega-kart-bg { background: linear-gradient(155deg, #6a0000 0%, #2d0e5c 35%, #0a2a50 65%, #6a5000 100%); }
.mega-gryffindor .mega-kart-bg { background: linear-gradient(155deg, #3d0000 0%, #740000 40%, #ae0001 75%, #c80000 100%); }
.mega-slytherin  .mega-kart-bg { background: linear-gradient(155deg, #051a05 0%, #0d3d0d 40%, #1a6a1a 75%, #1f7a1f 100%); }
.mega-ravenclaw  .mega-kart-bg { background: linear-gradient(155deg, #000d26 0%, #001540 40%, #002868 75%, #003a8c 100%); }
.mega-hufflepuff .mega-kart-bg { background: linear-gradient(155deg, #3d2a00 0%, #705000 40%, #a07800 75%, #c89a00 100%); }

/* Karanlık overlay + içerik */
.mega-kart-ic {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: linear-gradient(to bottom, rgba(0,0,0,.15) 0%, rgba(0,0,0,.55) 100%);
    transition: background .3s;
    z-index: 1;
    padding: 16px;
}

.mega-kart:hover .mega-kart-ic {
    background: linear-gradient(to bottom, rgba(0,0,0,.05) 0%, rgba(0,0,0,.4) 100%);
}

/* İnce dekoratif iç çerçeve */
.mega-kart::before {
    content: '';
    position: absolute;
    inset: 10px;
    border: 1px solid rgba(255,255,255,.2);
    border-radius: 4px;
    z-index: 2;
    pointer-events: none;
    transition: border-color .3s, inset .3s;
}

.mega-kart:hover::before {
    border-color: rgba(255,255,255,.45);
    inset: 8px;
}

/* Köşe nokta süslemeleri */
.mega-kart::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 14px 14px, rgba(255,255,255,.5) 2px, transparent 2px),
        radial-gradient(circle at calc(100% - 14px) 14px, rgba(255,255,255,.5) 2px, transparent 2px),
        radial-gradient(circle at 14px calc(100% - 14px), rgba(255,255,255,.5) 2px, transparent 2px),
        radial-gradient(circle at calc(100% - 14px) calc(100% - 14px), rgba(255,255,255,.5) 2px, transparent 2px);
    z-index: 3;
    pointer-events: none;
    opacity: .6;
    transition: opacity .3s;
}

.mega-kart:hover::after { opacity: 1; }

/* Simge (emoji) */
.mega-simge {
    font-size: 2.6rem;
    line-height: 1;
    filter: drop-shadow(0 2px 12px rgba(0,0,0,.9));
    transition: transform .3s;
}

.mega-kart:hover .mega-simge { transform: scale(1.12) translateY(-2px); }

/* Ev adı */
.mega-kart-adi {
    font-family: 'Cinzel', serif;
    font-size: .85rem;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: #ffffff;
    text-shadow: 0 2px 16px rgba(0,0,0,.95), 0 0 30px rgba(0,0,0,.8);
    font-weight: 600;
}

/* Aktif ev */
.mega-kart.mega-aktif { box-shadow: inset 0 0 0 2px var(--gold), 0 0 20px rgba(201,168,76,.2); }
.mega-kart.mega-aktif::before { border-color: rgba(201,168,76,.5); }

/* Açık tema */
[data-theme="light"] .nav-mega {
    background: rgba(255,255,255,.97);
    border-top-color: rgba(0,0,0,.08);
    border-bottom-color: rgba(0,0,0,.06);
    box-shadow: 0 20px 60px rgba(0,0,0,.15);
}

/* ── Sağ Aksiyonlar ── */
.header-actions {
    justify-self: end;
    display: flex;
    align-items: center;
    gap: 4px;
}

/* ── İkon Butonları ── */
.ikon-btn {
    position: relative;
    background: none;
    border: none;
    color: var(--text-dim);
    width: 40px; height: 40px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 50%;
    cursor: pointer;
    transition: all .2s;
    text-decoration: none;
    flex-shrink: 0;
    font-size: 1rem;
}

.ikon-btn:hover {
    color: var(--text);
    background: var(--gold-dim);
}

.ikon-badge {
    position: absolute;
    top: 3px; right: 3px;
    background: var(--gold);
    color: var(--dark);
    font-size: .6rem;
    font-family: 'Cinzel', serif;
    font-weight: 700;
    min-width: 15px; height: 15px;
    border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
    padding: 0 3px;
    line-height: 1;
}

/* ── Genişleyen Arama Çubuğu ── */
.arama-cubugu {
    overflow: hidden;
    max-height: 0;
    background: var(--dark-card);
    border-top: 1px solid transparent;
    transition: max-height .3s ease, border-color .3s;
}

.arama-cubugu.acik {
    max-height: 64px;
    border-top-color: var(--border);
}

.arama-cubugu-form {
    display: flex;
    align-items: center;
    gap: 12px;
    max-width: 640px;
    margin: 0 auto;
    padding: 13px 24px;
    color: var(--text-dim);
}

.arama-cubugu-input {
    flex: 1;
    background: none;
    border: none;
    border-bottom: 1px solid var(--border);
    color: var(--text);
    font-family: 'EB Garamond', serif;
    font-size: 1.1rem;
    padding: 4px 0;
    outline: none;
    transition: border-color .2s;
}
.arama-cubugu-input:focus { border-bottom-color: var(--gold); }
.arama-cubugu-input::placeholder { color: rgba(255,255,255,.3); }

.arama-cubugu-kapat {
    background: none;
    border: none;
    color: var(--text-dim);
    width: 30px; height: 30px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer;
    font-size: 1rem;
    transition: all .15s;
}
.arama-cubugu-kapat:hover { background: var(--gold-dim); color: var(--text); }

/* ── Kullanıcı Dropdown ──────────────────────────────────────────────── */
.kullanici-dropdown {
    position: relative;
}

.kullanici-bilgi {
    display: flex;
    align-items: center;
    gap: 8px;
    background: none;
    border: none;
    border-radius: 50%;
    padding: 0;
    cursor: pointer;
    transition: all .2s;
}

.kullanici-bilgi:hover {
    background: var(--gold-dim);
}

.dropdown-ok {
    font-size: .7rem;
    color: var(--text-dim);
    transition: transform .2s;
}

.kullanici-dropdown.acik .dropdown-ok { transform: rotate(180deg); }

.dropdown-menu {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: var(--dark-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    min-width: 180px;
    box-shadow: 0 8px 24px rgba(0,0,0,.5);
    z-index: 200;
    overflow: hidden;
}

.kullanici-dropdown.acik .dropdown-menu { display: block; }

.dropdown-menu a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 11px 16px;
    color: var(--text);
    font-family: 'EB Garamond', serif;
    font-size: .95rem;
    transition: background .15s;
    border-bottom: none;
}

.dropdown-menu a:hover { background: var(--gold-dim); color: var(--gold); }

.dropdown-ayrac {
    height: 1px;
    background: var(--border);
    margin: 4px 0;
}

.cikis-link { color: #e74c3c !important; }
.cikis-link:hover { background: rgba(192,57,43,.1) !important; }

.mini-avatar-harf {
    width: 28px; height: 28px;
    background: var(--gold-dim);
    border: 1px solid var(--border);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-family: 'Cinzel', serif;
    font-size: .8rem;
    color: var(--gold);
}

.sepet-btn {
    position: relative;
    background: var(--gold-dim);
    border: 1px solid var(--border);
    color: var(--gold);
    padding: 7px 16px;
    border-radius: var(--radius);
    font-family: 'Cinzel', serif;
    font-size: .85rem;
    transition: all .2s;
}

.sepet-btn:hover {
    background: var(--gold);
    color: var(--dark);
}

.sepet-badge {
    position: absolute;
    top: -6px; right: -6px;
    background: #c0392b;
    color: #fff;
    font-size: .7rem;
    font-family: sans-serif;
    width: 18px; height: 18px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
}

.kullanici-bilgi {
    display: flex;
    align-items: center;
    gap: 8px;
}

.mini-avatar {
    width: 32px; height: 32px;
    border-radius: 50%;
    border: 1px solid var(--border);
    object-fit: cover;
}

.kullanici-adi {
    font-family: 'Cinzel', serif;
    font-size: .85rem;
    color: var(--text);
}

.giris-btn {
    background: var(--gold);
    color: var(--dark);
    padding: 7px 20px;
    border-radius: var(--radius);
    font-family: 'Cinzel', serif;
    font-size: .85rem;
    font-weight: 600;
    transition: all .2s;
}

.giris-btn:hover {
    background: var(--gold-light);
    color: var(--dark);
}

/* ── Hero ────────────────────────────────────────────────────────────── */
.hero {
    background:
        radial-gradient(ellipse at 50% 0%, rgba(201,168,76,.08) 0%, transparent 70%),
        var(--darker);
    border-bottom: 1px solid var(--border);
    padding: 60px 20px;
    text-align: center;
}

.hero-inner { max-width: 600px; margin: 0 auto; }

.hero-yildizlar {
    color: var(--gold);
    font-size: .9rem;
    letter-spacing: .5em;
    opacity: .5;
    margin-bottom: 16px;
}

.hero-baslik {
    font-family: 'Cinzel Decorative', serif;
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 900;
    color: var(--gold-light);
    text-shadow: 0 0 40px rgba(201,168,76,.6), 0 0 80px rgba(201,168,76,.3), 0 4px 20px rgba(0,0,0,.8);
    margin-bottom: 12px;
}

.hero-alt {
    font-size: 1.1rem;
    color: var(--text-dim);
    font-style: italic;
    margin-bottom: 16px;
}

/* ── Kategoriler ─────────────────────────────────────────────────────── */
.kategoriler-bolum {
    padding: 32px 0;
    border-bottom: 1px solid var(--border);
}

.kategori-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.kategori-karti {
    background: var(--dark-card);
    border: 1px solid var(--border);
    border-radius: 50px;
    padding: 8px 20px;
    transition: all .2s;
}

.kategori-karti:hover {
    background: var(--gold-dim);
    border-color: var(--gold);
}

.kategori-adi {
    font-family: 'Cinzel', serif;
    font-size: .85rem;
    color: var(--text);
    letter-spacing: .03em;
}

/* ── Ürünler Bölümü ──────────────────────────────────────────────────── */
.urunler-bolum { padding: 48px 0 64px; }

.bolum-baslik {
    font-family: 'Cinzel', serif;
    font-size: 1.5rem;
    color: var(--gold);
    text-align: center;
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 36px;
}

.baslik-cizgi {
    flex: 1;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--border));
}

.baslik-cizgi:first-child {
    background: linear-gradient(to left, transparent, var(--border));
}

/* ── Ürün Grid ───────────────────────────────────────────────────────── */
.urun-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 24px;
}

.urun-karti {
    background: var(--dark-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: all .3s;
    position: relative;
    display: flex;
    flex-direction: column;
    color: var(--text);
}

.urun-karti:hover {
    border-color: var(--gold);
    box-shadow: var(--glow);
    transform: translateY(-3px);
}

.urun-karti.tukendi { opacity: .6; }

.one-cikan-rozet {
    position: absolute;
    top: 10px; left: 10px;
    background: var(--gold);
    color: var(--dark);
    font-family: 'Cinzel', serif;
    font-size: .72rem;
    padding: 3px 10px;
    border-radius: 4px;
    font-weight: 600;
    z-index: 1;
}

.tukendi-rozet {
    position: absolute;
    top: 10px; right: 10px;
    background: rgba(192,57,43,.85);
    color: #fff;
    font-family: 'Cinzel', serif;
    font-size: .72rem;
    padding: 3px 10px;
    border-radius: 4px;
    z-index: 1;
}

.urun-gorsel-kap {
    aspect-ratio: 1;
    overflow: hidden;
    background: var(--darker);
}

.urun-gorsel-kap img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform .4s;
}

.urun-karti:hover .urun-gorsel-kap img { transform: scale(1.05); }

.urun-bilgi {
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex: 1;
}

.urun-kategori {
    font-size: .78rem;
    color: var(--gold);
    font-family: 'Cinzel', serif;
    letter-spacing: .05em;
    text-transform: uppercase;
}

.urun-adi {
    font-family: 'Cinzel', serif;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text);
    line-height: 1.3;
}

.urun-aciklama {
    font-size: .88rem;
    color: var(--text-dim);
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.urun-fiyat-kap {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 4px;
}

.fiyat {
    font-family: 'Cinzel', serif;
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--gold);
}

.eski-fiyat {
    font-size: .9rem;
    color: var(--text-dim);
    text-decoration: line-through;
}

.sepete-ekle-btn {
    margin-top: auto;
    padding: 9px 16px;
    background: var(--gold-dim);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    text-align: center;
    font-family: 'Cinzel', serif;
    font-size: .85rem;
    color: var(--gold);
    transition: all .2s;
    margin-top: 8px;
}

.urun-karti:hover .sepete-ekle-btn:not(.disabled) {
    background: var(--gold);
    color: var(--dark);
    border-color: var(--gold);
}

.sepete-ekle-btn.disabled {
    opacity: .4;
    cursor: not-allowed;
}

/* ── Boş Mesaj ───────────────────────────────────────────────────────── */
.bos-mesaj {
    text-align: center;
    padding: 80px 20px;
    color: var(--text-dim);
    font-style: italic;
    font-size: 1.1rem;
    line-height: 2;
}

/* ── Footer ──────────────────────────────────────────────────────────── */
.shop-footer {
    background: rgba(5,5,8,0.98);
    border-top: 1px solid var(--border);
    padding: 48px 0 24px;
    margin-top: 64px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 32px;
    margin-bottom: 32px;
}

.footer-col h4 {
    font-family: 'Cinzel', serif;
    color: var(--gold);
    font-size: .9rem;
    margin-bottom: 12px;
    letter-spacing: .05em;
}

.footer-col p,
.footer-col a {
    display: block;
    font-size: .9rem;
    color: var(--text-dim);
    margin-bottom: 6px;
    transition: color .2s;
}

.footer-col a:hover { color: var(--gold); }

.footer-alt {
    border-top: 1px solid var(--border);
    padding-top: 20px;
    text-align: center;
}

.footer-alt p {
    font-size: .82rem;
    color: var(--text-dim);
    margin-bottom: 4px;
}

.telif { font-size: .76rem !important; opacity: .6; }

/* ── Responsive ──────────────────────────────────────────────────────── */
@media (max-width: 768px) {
    .header-nav { display: none; }

    .header-inner { gap: 16px; }

    .urun-grid {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
        gap: 14px;
    }

    .hero { padding: 40px 20px; }
}

@media (max-width: 480px) {
    .urun-grid { grid-template-columns: 1fr 1fr; }
    .bolum-baslik { font-size: 1.2rem; }
}

/* ══════════════════════════════════════════════════════════════════════
   GÜNDÜZ MODU (Light Mode)
   data-theme="light" attribute'u <html> elementine uygulanır
   ══════════════════════════════════════════════════════════════════════ */
[data-theme="light"] {
    --gold:       #9a7020;
    --gold-light: #b88c28;
    --gold-dark:  #6a4c10;
    --gold-dim:   rgba(154,112,32,.1);
    --dark:       #ffffff;
    --darker:     #f4f4f8;
    --dark-card:  #ffffff;
    --stone:      #f0f0f5;
    --stone-light:#e8e8f0;
    --smoke:      rgba(0,0,0,.03);
    --border:     rgba(0,0,0,.1);
    --glow:       rgba(154,112,32,.25);
    --text:       #1a1a2e;
    --text-dim:   #55556a;
    --parchment:  #1a1a2e;
}

[data-theme="light"] body {
    background-color: #f4f4f8;
    background-image:
        radial-gradient(ellipse at 20% 50%, rgba(154,112,32,.05) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(116,0,1,.03)    0%, transparent 50%);
}

/* Yıldız efekti light mode'da gizle */
[data-theme="light"] body::before { display: none; }

/* Header */
[data-theme="light"] .shop-header {
    background: rgba(255,255,255,.97);
    border-bottom: 1px solid rgba(0,0,0,.08);
    box-shadow: 0 1px 8px rgba(0,0,0,.06);
}
[data-theme="light"] .header-serit { opacity: .5; }

/* Logo */
[data-theme="light"] .logo-shop  { color: var(--gold); text-shadow: none; }
[data-theme="light"] .logo-main  { color: var(--gold); text-shadow: none; }
[data-theme="light"] .logo-sub   { color: #55556a; }

/* Nav linkleri */
[data-theme="light"] .nav-link           { color: #1a1a2e; }
[data-theme="light"] .nav-item:hover > .nav-link,
[data-theme="light"] .nav-link.active    { color: var(--gold); background: rgba(154,112,32,.08); }

/* Dropdown */
[data-theme="light"] .nav-dropdown {
    background: #ffffff;
    border-color: rgba(0,0,0,.1);
    box-shadow: 0 8px 32px rgba(0,0,0,.12);
}
[data-theme="light"] .dd-bina:hover { background: rgba(0,0,0,.04); }
[data-theme="light"] .dd-kat        { color: #55556a; }
[data-theme="light"] .dd-kat:hover,
[data-theme="light"] .dd-kat.active { color: var(--gold); background: rgba(154,112,32,.08); }

/* İkon butonları */
[data-theme="light"] .ikon-btn       { color: #55556a; }
[data-theme="light"] .ikon-btn:hover { color: #1a1a2e; background: rgba(0,0,0,.06); }

/* Arama çubuğu */
[data-theme="light"] .arama-cubugu { background: #f8f8fc; }
[data-theme="light"] .arama-cubugu-input { color: #1a1a2e; }
[data-theme="light"] .arama-cubugu-input::placeholder { color: rgba(0,0,0,.3); }
[data-theme="light"] .arama-cubugu-form { color: #55556a; }

/* Sepet butonu */
[data-theme="light"] .sepet-btn {
    background: rgba(154,112,32,.1);
    border-color: rgba(154,112,32,.25);
    color: var(--gold);
}

/* Kullanıcı butonu */
[data-theme="light"] .kullanici-bilgi { border-color: rgba(0,0,0,.12); }
[data-theme="light"] .kullanici-adi { color: #1a1a2e; }
[data-theme="light"] .dropdown-ok { color: #55556a; }

/* Dropdown menü */
[data-theme="light"] .dropdown-menu {
    background: #ffffff;
    border-color: rgba(0,0,0,.1);
    box-shadow: 0 8px 24px rgba(0,0,0,.12);
}
[data-theme="light"] .dropdown-menu a { color: #1a1a2e; }
[data-theme="light"] .dropdown-menu a:hover { background: rgba(154,112,32,.08); color: var(--gold); }
[data-theme="light"] .dropdown-ayrac { background: rgba(0,0,0,.08); }

/* Mini avatar harf */
[data-theme="light"] .mini-avatar-harf {
    background: rgba(154,112,32,.1);
    border-color: rgba(154,112,32,.2);
}

/* Hero */
[data-theme="light"] .hero {
    background:
        radial-gradient(ellipse at 50% 0%, rgba(154,112,32,.07) 0%, transparent 60%),
        #f4f4f8;
    border-bottom: 1px solid rgba(0,0,0,.08);
}
[data-theme="light"] .hero-baslik { text-shadow: 0 2px 20px rgba(0,0,0,.1); }
[data-theme="light"] .hero-alt { color: #55556a; }

/* Kategori kartları */
[data-theme="light"] .kategori-karti { background: #ffffff; border-color: rgba(0,0,0,.1); }
[data-theme="light"] .kategori-karti:hover { background: rgba(154,112,32,.08); border-color: var(--gold); }
[data-theme="light"] .kategori-adi { color: #1a1a2e; }

/* Ürün kartları */
[data-theme="light"] .urun-karti {
    background: #ffffff;
    border-color: rgba(0,0,0,.1);
    box-shadow: 0 1px 4px rgba(0,0,0,.05);
}
[data-theme="light"] .urun-karti:hover {
    border-color: var(--gold);
    box-shadow: 0 4px 20px rgba(154,112,32,.15);
}
[data-theme="light"] .urun-adi { color: #1a1a2e; }
[data-theme="light"] .urun-aciklama { color: #55556a; }
[data-theme="light"] .sepete-ekle-btn { background: rgba(154,112,32,.08); border-color: rgba(154,112,32,.2); }

/* Rozet */
[data-theme="light"] .one-cikan-rozet { color: #ffffff; }

/* Footer */
[data-theme="light"] .shop-footer {
    background: #eeeef4;
    border-top: 1px solid rgba(0,0,0,.08);
}

/* Genel input/form */
[data-theme="light"] input,
[data-theme="light"] textarea,
[data-theme="light"] select {
    background: #f8f8fc !important;
    border-color: rgba(0,0,0,.15) !important;
    color: #1a1a2e !important;
}
[data-theme="light"] input:focus,
[data-theme="light"] textarea:focus {
    border-color: var(--gold) !important;
    background: #ffffff !important;
}

/* Tema geçiş animasyonu */
html {
    transition: background-color .25s ease, color .25s ease;
}
*, *::before, *::after {
    transition: background-color .2s ease, border-color .2s ease, color .15s ease;
}

/* ── Tema Toggle Butonu ───────────────────────────────────────────── */
.tema-btn {
    background: none;
    border: 1px solid var(--border);
    border-radius: 50%;
    width: 36px;
    height: 36px;
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all .2s;
    flex-shrink: 0;
    color: var(--text);
    line-height: 1;
}

.tema-btn:hover {
    border-color: var(--gold);
    background: var(--gold-dim);
    transform: rotate(20deg);
}

/* ── Arama Formu (Header) ────────────────────────────────────────── */
.arama-form {
    display: flex;
    align-items: center;
    flex: 1;
    max-width: 340px;
    position: relative;
}

.arama-input {
    width: 100%;
    background: rgba(255,255,255,.06);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 8px 44px 8px 16px;
    color: var(--text);
    font-family: 'EB Garamond', serif;
    font-size: .95rem;
    outline: none;
    transition: all .25s;
}

.arama-input::placeholder { color: rgba(255,255,255,.35); }

.arama-input:focus {
    background: rgba(255,255,255,.1);
    border-color: rgba(201,168,76,.5);
    box-shadow: 0 0 0 3px rgba(201,168,76,.1);
}

.arama-gonder {
    position: absolute;
    right: 4px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--text-dim);
    width: 34px; height: 34px;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer;
    font-size: 1rem;
    border-radius: 50%;
    transition: all .2s;
}

.arama-gonder:hover {
    background: var(--gold-dim);
    color: var(--gold);
}

/* Açık tema — arama */
[data-theme="light"] .arama-input {
    background: rgba(0,0,0,.05);
    color: #1a1a2e;
}
[data-theme="light"] .arama-input::placeholder { color: rgba(0,0,0,.35); }
[data-theme="light"] .arama-input:focus {
    background: rgba(0,0,0,.03);
}

@media (max-width: 900px) {
    .arama-form { max-width: 180px; }
    .header-nav { display: none; }
}

@media (max-width: 600px) {
    .arama-form { max-width: 140px; }
    .arama-input { font-size: .85rem; padding: 7px 36px 7px 12px; }
}

/* ── Arama Sayfası ───────────────────────────────────────────────── */
.arama-baslik-alan {
    margin-bottom: 32px;
}

.arama-baslik {
    font-family: 'Cinzel', serif;
    font-size: clamp(1.4rem, 3vw, 2rem);
    color: var(--text);
    margin-bottom: 8px;
}

.arama-alt {
    color: var(--text-dim);
    font-size: 1rem;
}

.arama-link { color: var(--gold); text-decoration: underline; }
.arama-link:hover { color: var(--gold-light); }

/* Boş arama — büyük form */
.arama-buyuk-form {
    max-width: 560px;
    margin: 0 auto 48px;
}

.arama-buyuk-wrap {
    display: flex;
    gap: 0;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--dark-card);
}

.arama-buyuk-input {
    flex: 1;
    background: none;
    border: none;
    padding: 14px 20px;
    color: var(--text);
    font-family: 'EB Garamond', serif;
    font-size: 1.1rem;
    outline: none;
}

.arama-buyuk-input::placeholder { color: rgba(255,255,255,.3); }
[data-theme="light"] .arama-buyuk-input::placeholder { color: rgba(0,0,0,.3); }

.arama-buyuk-btn {
    background: var(--gold);
    border: none;
    color: var(--dark);
    padding: 14px 28px;
    font-family: 'Cinzel', serif;
    font-size: .95rem;
    font-weight: 700;
    cursor: pointer;
    transition: background .2s;
}

.arama-buyuk-btn:hover { background: var(--gold-light); }

/* ── Nav-Alt (Kategori Çubuğu) ───────────────────────────────────── */
.nav-alt {
    position: relative;
    z-index: 99;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    background: rgba(5,5,8,0.95);
    border-bottom: 1px solid rgba(201,168,76,0.1);
    backdrop-filter: blur(4px);
    flex-wrap: wrap;
}

.nav-alt-link {
    font-family: 'Cinzel', serif;
    font-size: 11px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--text);
    text-decoration: none;
    padding: 14px 22px;
    transition: all 0.3s;
    position: relative;
    white-space: nowrap;
}

.nav-alt-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    right: 50%;
    height: 2px;
    background: var(--gold);
    transition: all 0.3s;
}

.nav-alt-link:hover { color: var(--gold); }
.nav-alt-link:hover::after,
.nav-alt-link.active::after { left: 0; right: 0; }
.nav-alt-link.active { color: var(--gold); }

/* Nav-Alt — Açık Tema */
[data-theme="light"] .nav-alt {
    background: rgba(255,255,255,0.97);
    border-bottom: 1px solid rgba(0,0,0,0.08);
}
[data-theme="light"] .nav-alt-link { color: #1a1a2e; }
[data-theme="light"] .nav-alt-link:hover,
[data-theme="light"] .nav-alt-link.active { color: var(--gold); }

@media (max-width: 768px) {
    .nav-alt {
        justify-content: flex-start;
        overflow-x: auto;
        flex-wrap: nowrap;
        scrollbar-width: none;
    }
    .nav-alt::-webkit-scrollbar { display: none; }
    .nav-alt-link { padding: 12px 16px; font-size: 10px; letter-spacing: 1.5px; }
}
