/* ═══════════════════════════════════════════
   REYHAN ESANS — MODERN E-TİCARET (v2)
   Gold + Siyah · Premium kart, sticky filtre
   ═══════════════════════════════════════════ */

.magaza-body {
  --nav-h: clamp(64px, 7vw, 84px);   /* global ile ayni kompakt navbar - 3 sayfa esit */
  padding-top: 0;   /* hero navbar arkasina binsin (cam efekti gri sizmasin) - index ile ayni */
  background: #fafafa;
  transition: padding-top 0.35s cubic-bezier(0.4,0,0.2,1);
}
/* Hero koyu, navbar arkasina biner: navbar yuksekligi kadar ust bosluk iceride */
.shop-hero { padding-top: calc(var(--nav-h, 84px) + 50px) !important; }
/* Logo global .nav-logo ile ayni (kompakt) - 3 sayfa esit */
.magaza-body .nav-logo { height: clamp(48px, 5vw, 60px); }
@media (max-width: 640px) {
  .magaza-body .nav-logo { height: clamp(44px, 11vw, 56px); }
}

.active-nav { color: var(--gold) !important; }

.nav-right { display: flex; align-items: center; gap: 12px; }

/* ── NAVBAR TASMA FIX (sadece magaza) ──────────────────────────
   Magaza navbar'inda 7 link + dil secici + Giris/Uye + Sepet var.
   ~1100px alti tek satira sigmaz -> "Giris/Uye Ol" butonu ekrandan
   tasip kesiliyordu. Cozum: bu genislikte link satirini hamburger
   menusune al; Giris/Uye + Sepet + hamburger HER ZAMAN gorunur kalir.
   (style.css'teki global 768px hamburger kurali bozulmaz, sadece
   magaza icin esik 1280px'e cekilir.) */
@media (max-width: 1450px) {
  .magaza-body .hamburger { display: flex; }
  .magaza-body .nav-links {
    display: none;
    position: fixed;
    top: var(--nav-h);
    left: 0; right: 0;
    background: rgba(10,10,10,0.98);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    flex-direction: column;
    align-items: stretch;
    margin-left: 0;            /* masaustundeki margin-left:auto'yu ez */
    padding: 24px;
    gap: 18px;
    border-top: 1px solid rgba(201,168,76,0.2);
    box-shadow: 0 12px 30px rgba(0,0,0,0.4);
    max-height: calc(100vh - var(--nav-h));
    overflow-y: auto;
    z-index: 1100;
  }
  body:has(.navbar.scrolled) .magaza-body .nav-links,
  .magaza-body:has(.navbar.scrolled) .nav-links { top: 60px; }
  .magaza-body .nav-links.open { display: flex; }
  .magaza-body .nav-links a {
    font-size: 1rem;
    justify-content: center;
    min-height: 48px;
  }
  .magaza-body .nav-links a:not(.nav-phone)::after { display: none; }
  .magaza-body .nav-links a .nav-ico {
    width: 18px !important; height: 18px !important;
    flex: 0 0 18px; align-self: center;
  }
  /* Dil secici menude tam genislik */
  .magaza-body .lang-switcher { width: 100%; }
  .magaza-body .lang-switcher > button.lang-active { width: 100%; }
  .magaza-body .lang-menu {
    position: static; width: 100%; margin-top: 8px;
    opacity: 1; visibility: visible; transform: none; display: none;
  }
  .magaza-body .lang-menu.open { display: block; }
  /* Giris/Uye + Sepet butonlari hamburgerin solunda, kesilmeden */
  .magaza-body .cart-btn-fixed { flex-shrink: 0; }
  .magaza-body #uyeToggle { padding: 8px 12px; font-size: 0.84rem; }
  /* Bu aralikta Giris metnini gizle, sadece ikon kalsin — tasma biter */
  .magaza-body #uyeBtnText { display: none; }
  .magaza-body #uyeToggle { padding: 8px 11px; }
}
/* Cok dar ekranda (mobil) Giris butonu metnini kisalt — sadece ikon kalmasin
   ama tasmasin; sepet+hamburger onceligli */
@media (max-width: 420px) {
  .magaza-body #uyeToggle { padding: 8px 10px; font-size: 0.8rem; }
}

/* ── Sepet Butonu ────────────────────────────── */
.cart-btn {
  background: var(--gold);
  border: none;
  border-radius: 10px;
  padding: 9px 16px;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--black);
  cursor: pointer;
  position: relative;
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.cart-btn:hover { background: var(--gold-light); transform: translateY(-1px); box-shadow: 0 4px 12px rgba(201,168,76,0.35); }
/* Varyantli urun detayinda ikili buton (sepete ekle | whatsapp) */
.detail-btn-ikili { display: flex; gap: 10px; margin-top: 12px; }
.detail-btn-ikili button { transition: transform 0.15s, box-shadow 0.15s; }
.detail-btn-ikili button:hover { transform: translateY(-2px); box-shadow: 0 6px 16px rgba(0,0,0,0.2); }

/* nav-links saga yaslanir (blog/index ile AYNI dizilim) - sepet onun sagina gelir */
.magaza-body .nav-links { margin-left: auto; }
/* Sepet butonu - nav-links'in sagi, hamburgerin solu */
.cart-btn-fixed {
  margin-left: 18px;     /* nav-links ile arasinda bosluk */
  margin-right: 12px;    /* hamburger ile arasinda bosluk */
  padding: 9px 15px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.2);
  flex-shrink: 0;
}
@media (max-width: 900px) {
  .cart-btn-fixed { margin-right: 10px; padding: 8px 12px; font-size: 0.86rem; }
}
.cart-count {
  background: #e11d48;
  color: #fff;
  border-radius: 50%;
  min-width: 20px; height: 20px;
  padding: 0 6px;
  font-size: 0.72rem;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease;
}
/* Sepet bos iken sayac gizli */
.cart-count.empty { display: none; }
/* Urun eklenince ziplama animasyonu */
.cart-count.bump { animation: cart-bump 0.4s ease; }
@keyframes cart-bump {
  0% { transform: scale(1); }
  35% { transform: scale(1.5); background: #C9A84C; }
  70% { transform: scale(0.9); }
  100% { transform: scale(1); }
}

/* ── Sepete eklendi TOAST bildirimi ── */
.cart-toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: #0A0A0A;
  color: #fff;
  padding: 14px 24px;
  border-radius: 40px;
  font-size: 0.9rem;
  font-weight: 600;
  box-shadow: 0 8px 30px rgba(0,0,0,0.35);
  border: 1px solid var(--gold);
  z-index: 9999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
  display: flex;
  align-items: center;
  gap: 10px;
}
.cart-toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
.cart-toast .toast-ico { color: var(--gold); font-size: 1.2rem; }
.cart-toast .toast-count {
  background: var(--gold);
  color: #0A0A0A;
  border-radius: 20px;
  padding: 2px 10px;
  font-size: 0.78rem;
  font-weight: 800;
}

/* ── Hero Banner (default sade) ─ */
.shop-hero {
  position: relative;
  padding: 50px 0 60px;
  background:
    linear-gradient(135deg, rgba(10,10,10,0.78) 0%, rgba(26,26,26,0.65) 100%),
    url('img/IMG-20250529-WA0028.webp') center/cover;
  background-attachment: scroll, scroll;
  overflow: hidden;
  min-height: 220px;
}
.shop-hero::before { content: none; }
.shop-hero-overlay {
  position: absolute;
  inset: 0;
  /* Ust kisim (navbar arkasi) daha saydam - ana sayfa gibi cam; alt kisim yazi icin koyu */
  background: linear-gradient(180deg, rgba(10,10,10,0.45) 0%, rgba(10,10,10,0.72) 60%, rgba(10,10,10,0.82) 100%);
  z-index: 1;
}
.shop-hero .container { position: relative; z-index: 2; }
.shop-hero h1 {
  font-family: var(--font-serif);
  color: #fff;
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  line-height: 1.15;
  margin: 12px 0;
}
.shop-hero p { color: rgba(255,255,255,0.7); margin-top: 8px; font-size: 0.95rem; }

/* Hero arama kutusu */
.hero-search {
  margin-top: 28px;
  max-width: 560px;
  display: flex;
  background: #fff;
  border-radius: 12px;
  padding: 6px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.25);
}
.hero-search input {
  flex: 1;
  border: 0;
  outline: 0;
  padding: 12px 16px;
  font-size: 0.95rem;
  background: transparent;
  color: #111;
}
.hero-search button {
  background: var(--gold);
  border: 0;
  padding: 0 22px;
  font-weight: 700;
  border-radius: 8px;
  cursor: pointer;
  color: var(--black);
  transition: background 0.2s;
}
.hero-search button:hover { background: var(--gold-light); }

/* Hero kategori chipler */
.hero-chips {
  margin-top: 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.hero-chip {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  color: #fff;
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
}
.hero-chip:hover, .hero-chip.active {
  background: var(--gold);
  color: var(--black);
  border-color: var(--gold);
}

/* ── Shop Section ────────────────────────────── */
.shop-section {
  padding: 50px 0 80px;
}

/* Mağaza içeriği daha geniş alan kullansın — varsayılan 1200px container
   geniş ekranda fazla ortalanıp solda büyük beyaz boşluk bırakıyordu.
   Filtre paneli + ürün gridi daha ferah, sola daha yaslı dursun. */
.shop-section .container { max-width: 1360px; }

.shop-layout {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 32px;
  align-items: start;
}

/* ── Filtre Sidebar (sticky) ─────────────────── */
.shop-filters {
  position: sticky;
  top: 80px;                       /* scrolled navbar (60px) + nefes payi */
  background: #fff;
  border-radius: 16px;
  padding: 26px 24px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
  border: 1px solid #ececec;
}
.shop-filters h3 {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 14px;
  color: var(--black);
  border-bottom: 2px solid var(--gold);
  padding-bottom: 6px;
}
.filter-list { list-style: none; padding: 0; margin: 0 0 8px; }
.filter-list li { margin-bottom: 4px; }
.filter-btn {
  width: 100%;
  text-align: left;
  background: transparent;
  border: 0;
  padding: 9px 12px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 0.88rem;
  color: #444;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.2s;
}
.filter-btn:hover { background: #f7f1e1; color: var(--black); }
.filter-btn.active { background: var(--gold); color: var(--black); font-weight: 700; }
.filter-btn span {
  background: #f0f0f0;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 600;
}
.filter-btn.active span { background: rgba(0,0,0,0.15); }

.price-filters { display: flex; flex-direction: column; gap: 6px; }

.toptan-box {
  margin-top: 28px;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
  padding: 18px;
  border-radius: 12px;
  color: var(--black);
}
.toptan-box h4 { font-family: var(--font-serif); font-size: 1.05rem; margin-bottom: 8px; }
.toptan-box p { font-size: 0.82rem; line-height: 1.5; }

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

/* B varyanti - kategori bazli gruplama */
.shop-products:has(.kategori-baslik) {
  display: block;     /* alt-grid'ler kendi grid'i olsun */
}

.kategori-baslik {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 32px 0 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--gold);
}
.kategori-baslik:first-of-type { margin-top: 8px; }
/* Kategori içi seri (alt-başlık) — örn "Dubai Serisi" */
.seri-baslik {
  margin: 18px 0 10px;
  padding-left: 4px;
}
.seri-baslik h3 {
  font-family: var(--font-serif);
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--gold);
  display: inline-flex;
  align-items: baseline;
  gap: 7px;
  padding-bottom: 4px;
  border-bottom: 1px solid var(--gold);
}
.seri-baslik h3 span {
  font-size: 0.8rem;
  color: var(--black);
  opacity: 0.55;
  font-family: var(--font-sans, inherit);
}
.kategori-baslik h2 {
  font-family: var(--font-serif);
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--black);
  display: flex;
  align-items: baseline;
  gap: 8px;
}
.kategori-baslik h2 span {
  font-size: 0.85rem;
  color: #888;
  font-weight: 500;
}
.kategori-hepsi {
  background: transparent;
  border: 1px solid var(--gold);
  color: var(--gold-dark);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}
.kategori-hepsi:hover {
  background: var(--gold);
  color: var(--black);
}

/* Netflix satır sarmalayıcı (oklar + kaydırma alanı) */
.kategori-satir {
  position: relative;
  margin-bottom: 18px;
}
.kat-ok {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.95);
  box-shadow: 0 3px 12px rgba(0,0,0,0.18);
  color: #1a1a1a;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.25s, background 0.2s;
}
/* Oklar SADECE 4'ten fazla ürün varsa (kaydırılabilir satır) görünür */
.kategori-satir.kaydirilabilir:hover .kat-ok { opacity: 1; }
.kategori-satir:not(.kaydirilabilir) .kat-ok { display: none; }
.kat-ok:hover { background: var(--gold, #c4a747); color: #fff; }
.kat-ok-sol { left: -6px; }
.kat-ok-sag { right: -6px; }
@media (max-width: 768px) { .kat-ok { display: none; } } /* mobilde parmakla kaydır */

/* "Tümü" görünümü: yatay kaydırmalı Netflix tarzı satır — 1 ekranda ~4 ürün */
.kategori-grid {
  display: flex;
  flex-wrap: nowrap;
  gap: 18px;
  margin-bottom: 18px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x proximity;
  scroll-padding-left: 4px;
  -webkit-overflow-scrolling: touch;
  padding: 6px 4px 16px;
  scrollbar-width: thin;
}
/* TAM 4 kart görünür — 5. kart kenardan sızmaz.
   Genişlik = (görünür alan − 3 boşluk) / 4. gap 18px → 3*18=54px. */
.kategori-grid > .shop-card {
  flex: 0 0 calc((100% - 54px) / 4);
  width: calc((100% - 54px) / 4);
  min-width: 0;
  scroll-snap-align: start;
}
/* İnce, zarif kaydırma çubuğu — varsayılan görünmez, hover'da belirir */
.kategori-grid {
  scrollbar-width: thin;
  scrollbar-color: transparent transparent;
  transition: scrollbar-color 0.3s;
}
.kategori-grid:hover { scrollbar-color: #cdbf9e transparent; }
.kategori-grid::-webkit-scrollbar { height: 4px; }
.kategori-grid::-webkit-scrollbar-track {
  background: transparent;
  margin: 0 12px;
}
.kategori-grid::-webkit-scrollbar-thumb {
  background: transparent;
  border-radius: 99px;
  transition: background 0.3s;
}
.kategori-grid:hover::-webkit-scrollbar-thumb { background: #d8c9a8; }
.kategori-grid::-webkit-scrollbar-thumb:hover { background: var(--gold, #c4a747); }

/* Sıralama bar */
.shop-toolbar {
  grid-column: 1 / -1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #fff;
  border-radius: 12px;
  padding: 12px 18px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  border: 1px solid #eee;
  margin-bottom: 4px;
}
.shop-toolbar .count { font-size: 0.88rem; color: #666; font-weight: 600; }
.shop-toolbar .count strong { color: var(--black); }
.shop-toolbar select {
  border: 1px solid #ddd;
  padding: 7px 12px;
  border-radius: 8px;
  background: #fafafa;
  font-size: 0.85rem;
  cursor: pointer;
  outline: none;
}

/* Ürün Kartı */
.shop-card {
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0,0,0,0.04);
  border: 1px solid #eee;
  transition: all 0.3s;
  position: relative;
  cursor: pointer;
  display: flex;
  flex-direction: column;
}
.shop-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 32px rgba(0,0,0,0.12);
  border-color: var(--gold);
}
.shop-card-img {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  overflow: hidden;
  background: #fafafa;
  border-radius: 14px 14px 0 0;
}
.shop-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;       /* TUM KARTLAR ESIT - gorsel kutuyu doldurur, oran korunur, kirpilir */
  object-position: center 58%;  /* gorseli hafif asagi kaydir — ust kenar/rozet icin nefes payi */
  display: block;
  transition: transform 0.5s;
}
.shop-card:hover .shop-card-img img { transform: scale(1.08); }

.shop-card-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  background: var(--gold);
  color: var(--black);
  font-size: 0.7rem;
  font-weight: 800;
  padding: 5px 11px;
  border-radius: 999px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  line-height: 1.1;
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(0,0,0,0.18);
}
.shop-card-badge.yeni { background: #16a34a; color: #fff; }
.shop-card-badge.cok-satan { background: #e11d48; color: #fff; }

.shop-card-fav {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  width: 24px; height: 24px;
  box-shadow: 0 1px 5px rgba(0,0,0,0.3);
  background: rgba(20,20,20,0.82);
  color: var(--gold, #c9a84c);
  border: 1px solid rgba(201,168,76,0.55);
  border-radius: 50%;
  cursor: pointer;
  font-size: 0.7rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}
.shop-card-fav:hover { background: #000; transform: scale(1.12); }
.shop-card-fav.active { background: var(--gold,#c9a84c); color: #000; border-color: var(--gold,#c9a84c); }

.shop-card-body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.shop-card-cat {
  font-size: 0.7rem;
  color: var(--gold-dark);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 6px;
}
.shop-card-seri {
  display: block;
  font-family: var(--font-serif);
  font-size: 0.72rem;
  font-weight: 400;
  font-style: italic;
  color: var(--gold-dark);
  letter-spacing: .3px;
  margin: -2px 0 5px;
  opacity: .85;
}
.shop-card-title {
  font-family: var(--font-serif);
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--black);
  margin-bottom: 8px;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.6em;
}
.shop-card-desc {
  font-size: 0.82rem;
  color: #666;
  margin-bottom: 12px;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}
.shop-card-price-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px solid #f0f0f0;
}
.shop-card-price {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--gold-dark, #9A7A2E);
  letter-spacing: 0.02em;
}
.shop-card-price small { font-size: 0.84rem; color: #555; font-weight: 600; display: block; letter-spacing: 0; }
/* Birim icindeki rakamlar (orn. "1ml") daha belirgin */
.birim-num { font-weight: 800; color: #1a1a1a; font-size: 1.06em; }
.shop-card-add {
  background: var(--black);
  color: var(--gold);
  border: 0;
  width: 36px; height: 36px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.1rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}
.shop-card-add:hover { background: var(--gold); color: var(--black); transform: scale(1.1) rotate(90deg); }
/* Sepete eklendi - yesil onay (donmeden) */
.shop-card-add.added {
  background: #25d366;
  color: #fff;
  transform: scale(1.15);
  box-shadow: 0 4px 14px rgba(37,211,102,0.45);
}
.shop-card-add.added:hover { transform: scale(1.15); }

/* Boş durum */
.shop-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 60px 20px;
  background: #fff;
  border-radius: 14px;
  border: 1px dashed #ddd;
}
.shop-empty h3 { font-family: var(--font-serif); font-size: 1.4rem; color: var(--black); margin-bottom: 8px; }
.shop-empty p { color: #666; }

/* ── Sepet Paneli (kayan) ────────────────────── */
.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.55);
  z-index: 10050;          /* navbar (1000) ve her seyin USTUNDE */
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s;
  backdrop-filter: blur(4px);
}
.cart-overlay.open { opacity: 1; visibility: visible; }

.cart-panel {
  position: fixed;
  top: 0; right: 0;
  width: min(420px, 100vw);
  height: 100vh;
  background: #fff;
  z-index: 10051;          /* overlay'in de ustunde - sepet HER ZAMAN en ust */
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  box-shadow: -8px 0 32px rgba(0,0,0,0.15);
}
.cart-panel.open { transform: translateX(0); }

.cart-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px;
  border-bottom: 1px solid #eee;
  background: linear-gradient(135deg, #fff 0%, #faf6e9 100%);
}
.cart-header h3 { font-family: var(--font-serif); font-size: 1.4rem; color: var(--black); }
.cart-close {
  background: transparent;
  border: 0;
  font-size: 1.4rem;
  cursor: pointer;
  width: 36px; height: 36px;
  border-radius: 50%;
  transition: background 0.2s;
}
.cart-close:hover { background: #f0f0f0; }

.cart-items {
  flex: 1;
  overflow-y: auto;
  padding: 18px 22px;
}
.cart-empty {
  text-align: center;
  color: #999;
  padding: 40px 0;
  font-style: italic;
}
.cart-item {
  display: grid;
  grid-template-columns: 60px 1fr auto;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid #f5f5f5;
  align-items: center;
}
.cart-item img {
  width: 60px; height: 60px;
  border-radius: 8px;
  object-fit: cover;
}
.cart-item-info h5 { font-size: 0.88rem; margin-bottom: 4px; color: var(--black); font-weight: 600; }
.cart-item-info p { font-size: 0.78rem; color: #777; }
.cart-item-varyant { font-size: 0.8rem; color: var(--gold, #c9a84c); margin: 2px 0; }
.cart-item-qty {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 6px;
}
.cart-item-qty button {
  width: 22px; height: 22px;
  border: 1px solid #ddd;
  background: #fff;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 700;
  font-size: 0.75rem;
}
.cart-item-qty button:hover { background: var(--gold); border-color: var(--gold); }
.cart-item-qty span { font-weight: 700; font-size: 0.85rem; min-width: 20px; text-align: center; }
.cart-item-actions { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.cart-item-price { font-weight: 700; color: var(--black); font-size: 0.95rem; }
.cart-item-remove {
  background: transparent;
  border: 0;
  color: #e11d48;
  cursor: pointer;
  font-size: 0.78rem;
}
.cart-item-remove:hover { text-decoration: underline; }

.cart-footer {
  padding: 22px;
  border-top: 1px solid #eee;
  background: #fafafa;
}
.cart-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.05rem;
  margin-bottom: 6px;
}
.cart-total strong {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  color: var(--black);
}
.cart-note { font-size: 0.75rem; color: #888; margin-bottom: 12px; }
.btn-full { width: 100%; }

/* ── Ürün Detay Modal ────────────────────────── */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.65);
  z-index: 10000;        /* navbar (1000) USTUNDE - modal navbar arkasinda kalmasin */
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s;
  backdrop-filter: blur(4px);
}
.modal-overlay.open { opacity: 1; visibility: visible; }

.modal-box {
  position: fixed;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%) scale(0.96);
  width: min(920px, 95vw);
  max-height: 92vh;
  background: #fff;
  border-radius: 16px;
  z-index: 10001;        /* overlay'in de ustunde, navbar'in cok ustunde */
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  overflow-y: auto;          /* TUM modal tek scroll */
  overflow-x: hidden;
  overscroll-behavior: contain;
  box-shadow: 0 24px 60px rgba(0,0,0,0.3);
  -webkit-overflow-scrolling: touch;
}
.modal-box.open {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, -50%) scale(1);
}
.modal-close {
  position: sticky;       /* modal scroll edilince çarpı hep üstte kalır (kaymaz) */
  top: 14px;
  right: 14px;
  margin-left: auto;      /* sağa yasla (sticky + block akışında) */
  float: right;
  width: 38px; height: 38px;
  background: #fff;
  border: 1px solid #eee;
  border-radius: 50%;
  font-size: 1.1rem;
  cursor: pointer;
  z-index: 10;
  transition: all 0.2s;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}
.modal-close:hover { background: #e11d48; color: #fff; border-color: #e11d48; transform: rotate(90deg); }

.detail-grid {
  /* Tek kolon - resim ust, bilgi alt; hepsi MODAL'in scroll'unda akar */
  display: block;
}
.detail-img-wrap {
  position: relative;
  background: #f5f0e8;
  width: 100%;
  /* Resmin oranına uyar — yatay/dikey farketmez, etrafta dev boşluk olmaz.
     min/max yükseklik ile oklar makul aralıkta sabit kalır. */
  min-height: 320px;
  max-height: 78vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
}
.detail-img-wrap img {
  max-width: 100%;
  max-height: 100%;        /* sabit kare alana sigar, kirpma yok */
  width: auto;
  height: auto;
  object-fit: contain;     /* KIRPMA YOK */
  display: block;
  border-radius: 8px;
}
.detail-info {
  padding: 28px 32px 36px;
  /* Modal'in kendi scroll'u var; ic scroll YOK */
}
.detail-info .cat-tag {
  display: inline-block;
  background: var(--gold);
  color: var(--black);
  font-size: 0.72rem;
  padding: 4px 12px;
  border-radius: 999px;
  font-weight: 700;
  margin-bottom: 14px;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.detail-info h2 {
  font-family: var(--font-serif);
  font-size: 1.85rem;
  line-height: 1.18;
  margin-bottom: 14px;
  color: var(--black);
}
.detail-info .price-big {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 700;
  color: var(--gold-dark);
  margin: 16px 0;
}
.detail-info .price-big small { font-size: 0.95rem; color: #555; font-weight: 600; }
.detail-info p { color: #444; line-height: 1.75; font-size: 1rem; margin-bottom: 14px; }
.detail-info ul { list-style: none; padding: 0; margin: 16px 0; }
.detail-info ul li {
  padding: 6px 0 6px 22px;
  position: relative;
  font-size: 0.88rem;
  color: #444;
}
.detail-info ul li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--gold);
  font-weight: 700;
}
.detail-toptan {
  background: #faf6e9;
  border-left: 3px solid var(--gold);
  padding: 10px 14px;
  font-size: 0.85rem;
  color: #555;
  margin: 14px 0;
  border-radius: 6px;
}
/* ── Özel kampanya kutusu (ürün 0: Reyhan Esans Koleksiyonu) ── */
.detail-kampanya {
  border: 1px solid var(--gold);
  border-radius: 10px;
  padding: 14px 16px;
  margin: 14px 0;
  background: linear-gradient(180deg, #fffdf6 0%, #fbf4e2 100%);
}
.detail-kampanya .kmp-baslik {
  font-weight: 800;
  color: #3a2c10;
  font-size: 0.95rem;
  margin-bottom: 12px;
}
.detail-kampanya .kmp-tablo {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
  margin-bottom: 10px;
}
.detail-kampanya .kmp-tablo th,
.detail-kampanya .kmp-tablo td {
  border: 1px solid #e6d9b3;
  padding: 7px 10px;
  text-align: center;
}
.detail-kampanya .kmp-tablo th {
  background: var(--gold);
  color: #fff;
  font-weight: 700;
}
.detail-kampanya .kmp-tablo td:nth-child(2) { font-weight: 700; color: #3a2c10; }
.detail-kampanya .kmp-tasarruf {
  font-size: 0.85rem;
  color: #555;
  margin: 6px 0 12px;
}
.detail-kampanya .kmp-hediye {
  background: #fff3cd;
  border: 1px dashed #d9a700;
  border-radius: 8px;
  padding: 10px 12px;
  font-size: 0.88rem;
  color: #5a4500;
  text-align: center;
}
.detail-cesitler {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid #eee;
}
.detail-cesitler h4 {
  font-size: 0.95rem;
  margin-bottom: 10px;
  color: var(--black);
}
.detail-cesitler .cesit-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 6px;
  max-height: 200px;
  overflow-y: auto;
  padding-right: 6px;
}
.detail-cesitler .cesit-chip {
  background: #f5f5f5;
  padding: 6px 10px;
  border-radius: 6px;
  font-size: 0.75rem;
  color: #444;
}

.detail-qty {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 16px 0;
}
.detail-qty button {
  width: 36px; height: 36px;
  border: 1px solid #ddd;
  background: #fff;
  border-radius: 6px;
  cursor: pointer;
  font-size: 1.1rem;
  font-weight: 700;
}
.detail-qty button:hover { background: var(--gold); border-color: var(--gold); }
.detail-qty input {
  width: 60px;
  text-align: center;
  border: 1px solid #ddd;
  border-radius: 6px;
  padding: 8px;
  font-size: 1rem;
  font-weight: 700;
}

/* ── Sipariş Modal ───────────────────────────── */
.order-modal-content {
  padding: 28px;
  max-height: 90vh;
  overflow-y: auto;
}
.order-modal-content h2 {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  margin-bottom: 8px;
  color: var(--black);
}
.order-modal-content > p { color: #666; font-size: 0.9rem; margin-bottom: 22px; }
.order-form .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.order-form .form-group { margin-bottom: 14px; }
.order-form label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 5px;
  color: #444;
}
.order-form input,
.order-form select,
.order-form textarea {
  width: 100%;
  border: 1px solid #ddd;
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 0.92rem;
  font-family: inherit;
  outline: none;
  transition: border-color 0.2s;
}
.order-form input:focus,
.order-form select:focus,
.order-form textarea:focus { border-color: var(--gold); }

.order-summary {
  background: #faf6e9;
  border-radius: 10px;
  padding: 16px;
  margin: 18px 0;
}
.order-summary-row {
  display: flex;
  justify-content: space-between;
  padding: 4px 0;
  font-size: 0.88rem;
}
.order-summary-row.total {
  border-top: 1px solid var(--gold);
  margin-top: 8px;
  padding-top: 10px;
  font-weight: 700;
  font-size: 1.05rem;
}

/* ── Responsive ──────────────────────────────── */
/* NAV: hamburger artik 768px'te aciliyor (style.css ile tutarli, masaustunde linkler acik) */
@media (max-width: 900px) {
  /* MOBILE: filtreler EN ALTA, urunler once gozuksun */
  .shop-layout {
    display: flex;
    flex-direction: column-reverse;
    gap: 24px;
  }
  /* ⛔ KOK NEDEN FIX (769-900px araligi): .shop-layout burada flex olunca
     .shop-products bir flex-item olur (default min-width:auto). Netflix satiri
     .kategori-grid nowrap oldugundan icerik .shop-products'i tasirir → kart
     flex-basis calc((100%-54px)/4) devasa hesaplanir → tek kart tum ekrani
     kaplar (bozuk gorunum). Bu koruma zinciri 768px'te vardi ama 769-900px
     araliginda YOKTU. min-width:0 flex-item'in icerige gore buyumesini kilitler. */
  .shop-products,
  .shop-products:has(.kategori-baslik) {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    overflow-x: hidden;
  }
  .kategori-satir { width: 100%; max-width: 100%; min-width: 0; }
  .kategori-grid { width: 100%; max-width: 100%; min-width: 0; box-sizing: border-box; }
  /* Bu araliktaki (2 kolon layout kalkti, mobil henuz degil) kart genisligi:
     3 kart + sonraki kartin kenari gorunsun (kaydirma ipucu). */
  .kategori-grid > .shop-card {
    flex: 0 0 calc((100% - 40px) / 3.2);
    width: calc((100% - 40px) / 3.2);
    min-width: 0;
  }
  .shop-filters {
    position: sticky;
    top: 80px;
    margin-bottom: 0;
    margin-top: 0;
    z-index: 10;
  }
  .detail-img-wrap { padding: 8px; max-height: 70vh; }
  .detail-info { padding: 22px 20px 30px; }
  .detail-info h2 { font-size: 1.5rem; }
  .detail-info p { font-size: 0.96rem; line-height: 1.65; }
  .order-form .form-row { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  /* SAYFA YATAY KAYMASIN — sadece urun satirlari kendi icinde kayar */
  html, body { overflow-x: hidden; max-width: 100%; }
  .shop-layout, .shop-main, main { overflow-x: hidden; max-width: 100%; }
  /* Kategori tiklayinca duz izgara: 2 sutun */
  .shop-products { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  /* KOK NEDEN FIX: .shop-products flex-item olarak genislik almiyordu, icerige gore 5682px tasiyordu.
     min-width:0 + max-width:100% zinciri kilitler, alttaki grid %100'u dogru alir. */
  .shop-products { width: 100%; max-width: 100%; min-width: 0; }
  .shop-products:has(.kategori-baslik) { width: 100%; max-width: 100%; min-width: 0; }
  /* SAYFA SABIT: yatay kaydirma SADECE .kategori-grid icinde, body kaymaz */
  .kategori-satir { width: 100%; max-width: 100%; min-width: 0; overflow: visible; }
  .kategori-grid {
    gap: 10px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow-x: auto;        /* SADECE bu satir kayar */
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
  }
  /* 2.5 urun sigsin (sonraki urun kenardan gorunur = kaydirma ipucu), foto buyuk */
  .kategori-grid > .shop-card {
    flex: 0 0 calc((100% - 18px) / 2.5);
    width: calc((100% - 18px) / 2.5);
    min-width: 0;
  }
  /* Foto OLABILDIGINCE BUYUK + hafif dikey (4/5), urunun ustu temiz */
  .shop-card-img { aspect-ratio: 4 / 5; border-radius: 10px 10px 0 0; }
  .shop-card-img img { object-fit: cover; object-position: center; }
  /* ⛔ Begeni/paylas ikonlari kucuk kartta GORUNMESIN — foto ustu tamamen temiz.
     Detaya girilince (urun-paylas-btn) zaten ayri buton var. */
  .shop-card-fav, .shop-card .shop-card-paylas { display: none !important; }
  .kategori-baslik h2 { font-size: 1.15rem; }
  .kategori-hepsi { padding: 5px 10px; font-size: 0.75rem; }
  /* Bosluklari KAPAT: kompakt govde, dar fontlar, gereksiz alan yok */
  .shop-card-body { padding: 7px 8px 9px; }
  .shop-card-cat { font-size: 0.6rem; letter-spacing: .3px; margin-bottom: 2px; }
  .shop-card-seri { font-size: 0.62rem; margin: -1px 0 3px; }
  .shop-card-title { font-size: 0.76rem; line-height: 1.2; min-height: auto; margin: 1px 0 4px; }
  .shop-card-desc { display: none; }
  .shop-card-price-row { margin-top: 4px; }
  .shop-card-price { font-size: 0.92rem; }
  .shop-card-badge { top: 8px; left: 8px; font-size: 0.6rem; padding: 2px 6px; }
  /* Duz izgara (kategori secili) — orada da ikon gizli, foto dikey, 2 sutun */
  .shop-products > .shop-card .shop-card-title { font-size: 0.84rem; }
  .shop-products > .shop-card .shop-card-price { font-size: 1.0rem; }
  .shop-hero { padding: 70px 0 24px; min-height: 200px; }
}

/* ── Detay galeri slider (coklu resim oklari) ── */
.gal-ok {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: rgba(0,0,0,0.55); color: #fff; border: 1px solid rgba(255,255,255,0.25);
  width: 38px; height: 38px; border-radius: 50%; font-size: 22px; line-height: 1;
  cursor: pointer; z-index: 5; transition: background 0.2s;
}
.gal-ok:hover { background: rgba(201,168,76,0.85); color: #111; }
.gal-sol { left: 10px; }
.gal-sag { right: 10px; }
.gal-noktalar { position: absolute; bottom: 10px; left: 0; right: 0; display: flex; justify-content: center; gap: 7px; z-index: 5; }
.gal-nokta { width: 9px; height: 9px; border-radius: 50%; background: rgba(255,255,255,0.35); cursor: pointer; transition: background 0.2s; }
.gal-nokta.aktif { background: var(--gold, #c9a84c); }

/* Hızlı Varyant Seçim Popup */
.vp-overlay { position: fixed; inset: 0; background: rgba(0,0,0,.6); z-index: 2000; display: none; }
.vp-overlay.open { display: block; }
.vp-box { position: fixed; z-index: 2001; left: 50%; top: 50%; transform: translate(-50%,-50%);
  width: min(92vw, 360px); background: #161616; border: 1px solid rgba(201,168,76,.35);
  border-radius: 14px; padding: 18px; display: none; box-shadow: 0 18px 50px rgba(0,0,0,.6); }
.vp-box.open { display: block; }
.vp-close { position: absolute; top: 10px; right: 12px; background: none; border: 0; color: #aaa; font-size: 1.1rem; cursor: pointer; }
.vp-head { display: flex; gap: 10px; align-items: center; margin-bottom: 14px; }
.vp-head img { width: 54px; height: 54px; object-fit: cover; border-radius: 8px; }
.vp-head h4 { font-size: 1rem; color: #fff; margin: 0; }
.vp-box select { width: 100%; padding: 10px; border-radius: 8px; border: 1px solid rgba(255,255,255,.15); background: #1a1a1a; color: #fff; font-size: 13px; }
.vp-box label { font-size: 13px; color: #aaa; display: block; margin-bottom: 6px; }
.vp-adet { display: flex; align-items: center; gap: 10px; margin: 14px 0; color: #ccc; }
.vp-adet button { width: 30px; height: 30px; border-radius: 6px; border: 1px solid rgba(255,255,255,.2); background: #222; color: #fff; cursor: pointer; font-size: 1rem; }
.vp-actions { display: flex; gap: 8px; }
.vp-actions button { flex: 1; padding: 12px; border-radius: 8px; cursor: pointer; font-size: 0.9rem; border: 0; }
.vp-iptal { background: #2a2a2a; color: #ccc; }
.vp-ekle { background: var(--gold, #c9a84c); color: #1a1a1a; font-weight: 700; }

/* Varyant uyarı toast (ekran ortası) */
.uyari-toast {
  position: fixed; left: 50%; top: 28%;
  transform: translate(-50%,-50%) scale(.9);
  background: #1a1a1a; color: #fff; border: 2px solid var(--gold,#c9a84c);
  padding: 16px 26px; border-radius: 12px; font-size: 1rem; font-weight: 600;
  z-index: 3000; opacity: 0; pointer-events: none; box-shadow: 0 12px 40px rgba(0,0,0,.55);
  transition: opacity .25s, transform .25s; text-align: center; max-width: 88vw;
}
.uyari-toast.show { opacity: 1; transform: translate(-50%,-50%) scale(1); }

/* Varyant seçici yanıp sönen vurgu */
@keyframes varyantParlama {
  0%,100% {
    box-shadow: 0 0 0 0 rgba(201,168,76,0);
    border-color: var(--gold,#c9a84c);
    background-color: rgba(201,168,76,0);
    transform: scale(1);
  }
  50% {
    box-shadow: 0 0 14px 6px rgba(255,200,60,.95), 0 0 0 3px var(--gold,#c9a84c);
    border-color: #ffd24d;
    background-color: rgba(201,168,76,.22);
    transform: scale(1.04);
  }
}
.varyant-parla {
  animation: varyantParlama 0.55s ease-in-out 5;
  border: 2px solid var(--gold,#c9a84c);
  border-radius: 8px;
}
.varyant-parla select {
  animation: varyantParlama 0.55s ease-in-out 5;
  border: 2px solid var(--gold,#c9a84c) !important;
  border-radius: 8px;
}

/* Kart varyant/çeşit rozeti */
.shop-card-varyant {
  display: inline-block; margin: 4px 0 2px; font-size: 0.75rem; font-weight: 600;
  color: var(--gold,#c9a84c); background: rgba(201,168,76,.12);
  padding: 2px 8px; border-radius: 20px;
}

/* Ürün paylaş butonu (detay başlığı yanında) — belirgin */
.urun-paylas-btn {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 0.85rem; font-weight: 700; vertical-align: middle;
  margin-left: 10px; padding: 8px 16px; cursor: pointer;
  color: #1a1a1a; background: var(--gold,#c9a84c);
  border: 0; border-radius: 24px;
  box-shadow: 0 3px 10px rgba(201,168,76,.45);
  transition: background .2s, transform .15s, box-shadow .2s;
}
.urun-paylas-btn:hover { background: var(--gold-light,#d9bd6a); transform: translateY(-2px); box-shadow: 0 5px 16px rgba(201,168,76,.6); }
.urun-paylas-btn:active { transform: scale(.95); }

/* Kart paylaş butonu (resim sağ üst, favori altında) */
.shop-card-paylas {
  position: absolute; top: 42px; right: 10px; z-index: 3;
  width: 24px; height: 24px; border-radius: 50%; cursor: pointer;
  background: rgba(20,20,20,0.82); color: var(--gold, #c9a84c);
  border: 1px solid rgba(201,168,76,0.55);
  font-size: 0.7rem; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 1px 5px rgba(0,0,0,.3); transition: all 0.2s;
}
.shop-card-paylas:hover { background: #000; transform: scale(1.12); }

/* ── Son Bakılan & Benzer Ürünler — Küçük Kart Şeridi ─────────── */
.mini-kart {
  flex: 0 0 110px; width: 110px; cursor: pointer;
  background: #fff; border-radius: 10px;
  border: 1px solid rgba(0,0,0,.07);
  overflow: hidden; transition: box-shadow .2s, transform .2s;
  text-align: center;
}
.mini-kart:hover { box-shadow: 0 6px 18px rgba(0,0,0,.13); transform: translateY(-2px); }
.mini-kart img {
  width: 100%; height: 80px; object-fit: cover; display: block;
  background: #f3f1ec;
}
.mini-kart-ad {
  font-size: .68rem; font-weight: 600; color: #333; line-height: 1.25;
  padding: 5px 6px 2px; display: -webkit-box;
  -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.mini-kart-fiyat {
  font-size: .67rem; color: var(--gold,#c9a84c); font-weight: 700;
  padding: 0 6px 6px;
}
/* Benzer ürünler şeridi (detay modal içi) */
.benzer-serit {
  display: flex; gap: 10px; overflow-x: auto;
  padding: 0 0 6px; margin-top: 6px;
  scrollbar-width: thin; scrollbar-color: rgba(201,168,76,.4) transparent;
}
.benzer-serit::-webkit-scrollbar { height: 4px; }
.benzer-serit::-webkit-scrollbar-thumb { background: rgba(201,168,76,.35); border-radius: 4px; }
.benzer-serit .mini-kart { flex: 0 0 100px; width: 100px; }
.benzer-serit .mini-kart img { height: 70px; }
#sonBakilanList { scrollbar-width: thin; scrollbar-color: rgba(201,168,76,.4) transparent; }
#sonBakilanList::-webkit-scrollbar { height: 4px; }
#sonBakilanList::-webkit-scrollbar-thumb { background: rgba(201,168,76,.35); border-radius: 4px; }

/* ── G — İndirim Rozeti ─────────────────────────── */
.shop-card-indirim {
  position: absolute;
  top: 8px;
  left: 8px;
  background: #e11d48;
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  padding: 3px 7px;
  border-radius: 999px;
  z-index: 3;
  pointer-events: none;
}
.eski-fiyat {
  text-decoration: line-through;
  color: #aaa;
  font-size: 0.82em;
  margin-right: 4px;
}
.eski-fiyat-detail {
  font-size: 0.78em;
}
.indirim-etiket {
  background: #e11d48;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 999px;
  margin-left: 6px;
  vertical-align: middle;
}

/* ── E — Puan/Yorum (Compact) ───────────────────── */
.yorum-bolumu {
  margin: 14px 0;
  padding: 12px 14px;
  background: #f9f9f9;
  border-radius: 10px;
  border: 1px solid #eee;
}
.yorum-baslik-ana {
  font-size: 13px;
  font-weight: 700;
  color: #333;
  margin-bottom: 6px;
}
.yorum-ort { margin-bottom: 8px; }
.yildiz-grup { display: inline-flex; gap: 2px; }
.yildiz-stat { color: #ddd; font-size: 14px; }
.yildiz-stat.dolu { color: #f59e0b; }
.yildiz-sec { color: #ddd; font-size: 20px; cursor: pointer; transition: color 0.15s; }
.yildiz-sec.dolu, .yildiz-sec:hover { color: #f59e0b; }
.yorum-liste { margin: 8px 0; }
.yorum-satir {
  padding: 8px 0;
  border-bottom: 1px solid #eee;
}
.yorum-satir:last-child { border-bottom: none; }
.yorum-baslik {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}
.yorum-baslik b { font-size: 12px; }
.yorum-tarih { font-size: 11px; color: #aaa; margin-left: auto; }
.yorum-metin { font-size: 12px; color: #555; margin: 4px 0 0; }
.yorum-form { margin-top: 10px; display: flex; flex-direction: column; gap: 6px; }
.yorum-form .y-isim,
.yorum-form .y-yorum {
  padding: 7px 10px;
  border: 1px solid #ddd;
  border-radius: 7px;
  font-size: 12.5px;
  resize: none;
  font-family: inherit;
}
.yorum-form .y-gonder {
  align-self: flex-start;
  background: var(--gold, #c9a84c);
  color: #111;
  border: none;
  padding: 7px 18px;
  border-radius: 7px;
  font-weight: 700;
  font-size: 12.5px;
  cursor: pointer;
  transition: background 0.2s;
}
.yorum-form .y-gonder:hover { background: var(--gold-light, #d4b45a); }

/* ════════════════════════════════════════════════════════════════
   MAĞAZA NAVBAR (Hepsiburada düzeni · Reyhan siyah+altın)
   SADECE .magaza-body kapsamında. Global .navbar'a dokunulmadı.
   3 katman: üst şerit · ana satır (arama) · kategori şeridi
   ════════════════════════════════════════════════════════════════ */
.magaza-body {
  --shop-gold: var(--gold, #C9A84C);
  --shop-gold-light: var(--gold-light, #E4C76B);
  --shop-ink: #0c0c0e;
  --shop-ink2: #16161a;
  --shop-line: rgba(201,168,76,0.18);
}

/* Sticky kapsayıcı: artık akışta -> hero üst boşluğunu sıfırla */
.magaza-body .shop-hero { padding-top: 50px !important; }

.shop-nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  font-family: 'Inter', system-ui, sans-serif;
  background: var(--shop-ink);
  box-shadow: 0 4px 22px rgba(0,0,0,0.35);
}
.shop-nav .container { max-width: 1280px; margin: 0 auto; padding: 0 22px; }

/* ── KATMAN 1: üst ince şerit ───────────────────────── */
.shop-nav-top {
  background: #060607;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.shop-nav-top-inner {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 34px;
}
.shop-nav-top-tag {
  font-size: 0.72rem; letter-spacing: 0.04em;
  color: var(--shop-gold);
}
.shop-nav-top-links { display: flex; align-items: center; gap: 14px; }
.shop-nav-top-links a {
  font-size: 0.74rem; color: #9a9a9e; text-decoration: none;
  transition: color 0.18s;
}
.shop-nav-top-links a:hover { color: var(--shop-gold-light); }
.shop-nav-sep { width: 1px; height: 12px; background: rgba(255,255,255,0.12); }

/* ── KATMAN 2: ana satır ───────────────────────────── */
.shop-nav-main {
  background: linear-gradient(180deg, #131316 0%, var(--shop-ink) 100%);
  border-bottom: 1px solid var(--shop-line);
}
.shop-nav-main-inner {
  display: flex; align-items: center; gap: 22px;
  min-height: 76px;
}
.shop-nav-brand { flex: 0 0 auto; display: flex; align-items: center; }
.shop-nav-logo { height: 52px; width: auto; display: block; }

/* Büyük arama çubuğu */
.shop-nav-search {
  flex: 1 1 auto; min-width: 0; max-width: 640px;
  display: flex; align-items: center;
  background: #fff;
  border: 1.5px solid transparent;
  border-radius: 12px;
  padding: 4px 4px 4px 14px;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.shop-nav-search:focus-within {
  border-color: var(--shop-gold);
  box-shadow: 0 0 0 3px rgba(201,168,76,0.18);
}
.shop-nav-search-ico {
  width: 18px; height: 18px; flex: 0 0 18px;
  fill: none; stroke: #888; stroke-width: 2;
  stroke-linecap: round; margin-right: 8px;
}
.shop-nav-search input {
  flex: 1 1 auto; min-width: 0;
  border: 0; outline: 0; background: transparent;
  font-size: 0.92rem; color: #1a1a1a; padding: 9px 6px;
}
.shop-nav-search input::placeholder { color: #9a9a9a; }
.shop-nav-search-btn {
  flex: 0 0 auto;
  border: 0; cursor: pointer;
  border-radius: 9px; padding: 10px 22px;
  font-weight: 700; font-size: 0.85rem; letter-spacing: 0.02em;
  color: #1a1206;
  background: linear-gradient(135deg, var(--shop-gold-light), var(--shop-gold));
  transition: filter 0.2s, transform 0.12s;
}
.shop-nav-search-btn:hover { filter: brightness(1.06); }
.shop-nav-search-btn:active { transform: translateY(1px); }

/* Sağ aksiyonlar */
.shop-nav-actions { flex: 0 0 auto; display: flex; align-items: center; gap: 10px; }

/* Dil seçici – konteyner içinde dikey ortala */
.shop-nav-lang { position: relative; }
.shop-nav-lang > .lang-active {
  background: transparent; border: 1px solid rgba(255,255,255,0.16);
  color: #e9e9ea; border-radius: 9px; padding: 9px 12px;
  font-size: 0.8rem; cursor: pointer; transition: border-color 0.18s, color 0.18s;
}
.shop-nav-lang > .lang-active:hover { border-color: var(--shop-gold); color: var(--shop-gold-light); }

/* Giriş + Sepet butonları (her zaman görünür, taşmaz) */
.shop-nav-btn {
  position: relative;
  display: inline-flex; align-items: center; gap: 8px;
  flex: 0 0 auto; white-space: nowrap;
  border: 1px solid rgba(255,255,255,0.16);
  background: transparent; color: #f2f2f3;
  border-radius: 10px; padding: 9px 15px;
  font-size: 0.84rem; font-weight: 600; cursor: pointer;
  transition: border-color 0.18s, color 0.18s, background 0.18s;
}
.shop-nav-btn:hover { border-color: var(--shop-gold); color: #fff; }
.shop-nav-btn-ico {
  width: 18px; height: 18px; flex: 0 0 18px;
  fill: none; stroke: currentColor; stroke-width: 1.8;
  stroke-linecap: round; stroke-linejoin: round;
}
.shop-nav-cart {
  background: linear-gradient(135deg, var(--shop-gold-light), var(--shop-gold));
  border-color: transparent; color: #1a1206; font-weight: 700;
}
.shop-nav-cart:hover { filter: brightness(1.05); color: #1a1206; }
.shop-nav-cart .cart-count {
  background: #e11d48; color: #fff; border-radius: 999px;
  min-width: 20px; height: 20px; padding: 0 6px;
  font-size: 0.72rem; font-weight: 800;
  display: inline-flex; align-items: center; justify-content: center;
}
.shop-nav-cart .cart-count.empty { background: #6b6b6b; }

.shop-nav-uye { position: relative; }

/* Hamburger – masaüstünde gizli */
.shop-nav-burger { display: none; }

/* ── KATMAN 3: kategori şeridi ─────────────────────── */
.shop-nav-cats {
  background: var(--shop-ink);
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.shop-nav-cats-inner {
  display: flex; align-items: center; gap: 4px;
  min-height: 46px;
}
.shop-nav-cats-inner a {
  position: relative;
  color: #cfcfd2; text-decoration: none;
  font-size: 0.86rem; font-weight: 500;
  padding: 12px 18px; border-radius: 8px;
  transition: color 0.18s, background 0.18s;
}
/* ayraç */
.shop-nav-cats-inner a:not(:last-child)::before {
  content: ""; position: absolute; right: -2px; top: 50%;
  transform: translateY(-50%); height: 14px; width: 1px;
  background: rgba(255,255,255,0.1);
}
.shop-nav-cats-inner a:hover { color: var(--shop-gold-light); background: rgba(201,168,76,0.08); }
.shop-nav-cats-inner a.active-nav {
  color: var(--shop-gold) !important; font-weight: 700;
}
.shop-nav-cats-inner a.active-nav::after {
  content: ""; position: absolute; left: 18px; right: 18px; bottom: 4px;
  height: 2px; background: var(--shop-gold); border-radius: 2px;
}

/* ── MOBİL (≤900px) ────────────────────────────────── */
@media (max-width: 900px) {
  .shop-nav .container { padding: 0 14px; }
  .shop-nav-top { display: none; }
  .shop-nav-main-inner { flex-wrap: wrap; gap: 12px; min-height: 0; padding: 12px 0; }
  .shop-nav-logo { height: 44px; }
  .shop-nav-brand { order: 1; }
  .shop-nav-actions { order: 2; margin-left: auto; gap: 8px; }
  /* Arama tam genişlik, ikinci satıra */
  .shop-nav-search { order: 3; flex-basis: 100%; max-width: none; }

  /* Dil + Giriş metnini gizle, ikon kalsın -> taşma biter */
  .shop-nav-lang { display: none; }
  .shop-nav-uye #uyeBtnText { display: none; }
  .shop-nav-btn { padding: 9px 12px; }
  .shop-nav-cart-label { display: none; }

  /* Hamburger görünür */
  .shop-nav-burger { display: inline-flex; }

  /* Kategori şeridi -> hamburger ile açılan dikey menü (#navLinks .open).
     Wrapper akışta kalır (in-flow), inner collapse olur -> sayfayı iter. */
  .shop-nav-cats { background: var(--shop-ink); border-bottom: 0; }
  .magaza-body .shop-nav-cats-inner.nav-links {
    display: none;
    flex-direction: column; align-items: stretch; gap: 4px;
    padding: 12px 0 16px; margin: 0; min-height: 0;
    border-top: 1px solid var(--shop-line);
  }
  .magaza-body .shop-nav-cats-inner.nav-links.open { display: flex; }
  .magaza-body .shop-nav-cats-inner.nav-links a {
    padding: 14px 16px; font-size: 1rem; text-align: center;
  }
  .magaza-body .shop-nav-cats-inner.nav-links a::before { display: none; }
  .magaza-body .shop-nav-cats-inner.nav-links a.active-nav::after { display: none; }
}

/* Çok dar (≤420px): butonları sıkılaştır */
@media (max-width: 420px) {
  .shop-nav-btn { padding: 8px 10px; }
  .shop-nav-actions { gap: 6px; }
  .shop-nav-search-btn { padding: 10px 16px; }
}

/* Hero içindeki eski arama kutusu artık navbar'da -> gizle (çift olmasın) */
.magaza-body .hero-search { display: none; }

/* ════════════════════════════════════════════════════════════════
   ÜRÜN DETAY GALERİSİ FIX — büyük resmin etrafındaki dev krem boşluk
   Sorun: .detail-img-wrap aspect-ratio:1/1 zorunlu kare + krem zemin
   -> dikey/yatay görselde üst/alt/yanda kocaman boşluk kalıyordu.
   Çözüm: kare zorunluluğunu kaldır, kutu görsele göre büyüsün (makul
   tavan), zemin marka koyu tonu. Oklar flex-center + top:50% ile yerinde.
   ════════════════════════════════════════════════════════════════ */
.magaza-body .detail-img-wrap {
  aspect-ratio: auto;
  background: #14110b;          /* krem yerine marka koyu tonu */
  /* SABIT YÜKSEKLİK: resim yatay/dikey farketmez alan değişmez ->
     oklar (top:50%) HER ZAMAN tam ortada, aşağı-yukarı KAYMAZ. */
  height: 70vh;
  min-height: 0;
  padding: 10px;
}
.magaza-body .detail-img-wrap img {
  max-width: 100%;
  max-height: 100%;            /* sabit alana sığar, contain ile kırpma yok */
  width: auto; height: auto;
  object-fit: contain;
}
@media (max-width: 900px) {
  .magaza-body .detail-img-wrap { height: 56vh; padding: 8px; }
}

/* Hero çipler: tek satır + kaydırma oku */
.hero-chips-wrap{position:relative;max-width:700px}
.hero-chips{flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none;-webkit-overflow-scrolling:touch;padding:0 36px 0 36px}
.hero-chips::-webkit-scrollbar{display:none}
.hero-chip{flex-shrink:0;white-space:nowrap}
.hero-chips-ok.sol{right:auto;left:0}
.hero-chips-ok{position:absolute;right:0;top:50%;transform:translateY(-50%);width:30px;height:30px;border-radius:50%;border:1px solid rgba(255,255,255,.2);background:rgba(0,0,0,.55);color:#fff;font-size:16px;line-height:1;cursor:pointer;backdrop-filter:blur(6px);transition:all .2s}
.hero-chips-ok:hover{background:var(--gold);color:var(--black);border-color:var(--gold)}
@media(max-width:768px){
  .hero-chips-ok{display:none}
  .hero-chips{padding:0 0 4px 0}
}

/* Toptan kampanya banner — birleşik şerit: esans + %50 + diğer ürünler */
.toptan-banner{display:block;margin:16px auto 0;max-width:1200px;padding:0 20px;text-decoration:none}
.toptan-banner .tb-kart{display:flex;align-items:stretch;border-radius:16px;overflow:hidden;border:1px solid rgba(196,167,71,.35);background:linear-gradient(105deg,#1c1710,#26200f);transition:transform .25s,border-color .25s,box-shadow .25s;min-height:110px}
.toptan-banner:hover .tb-kart{transform:translateY(-2px);border-color:var(--gold);box-shadow:0 12px 32px rgba(196,167,71,.16)}
.toptan-banner .tbm-gorsel{flex:1;min-width:0;background:#0d1524}
.toptan-banner .tbm-gorsel+.tbm-gorsel,.toptan-banner .tbm-metin+.tbm-gorsel{border-left:1px solid rgba(196,167,71,.2)}
.toptan-banner .tbm-gorsel img{width:100%;height:100%;object-fit:cover;object-position:center 62%;display:block;min-height:110px}
.toptan-banner .tbm-metin{flex:0 0 auto;display:flex;flex-direction:column;justify-content:center;padding:14px 26px;text-align:center}
.toptan-banner .tbm-oran{font-size:clamp(34px,4.6vw,52px);font-weight:900;line-height:1;color:var(--gold);letter-spacing:-.02em}
.toptan-banner .tbm-alt{font-size:.86rem;font-weight:700;color:#e8e2d4;margin-top:4px;white-space:nowrap}
.toptan-banner .tbm-cta{display:inline-block;margin-top:10px;background:var(--gold);color:var(--black);font-size:.8rem;font-weight:800;padding:7px 16px;border-radius:999px;white-space:nowrap;transition:background .2s}
.toptan-banner:hover .tbm-cta{background:var(--gold-light,#dcc06a)}

@media(max-width:700px){
  .toptan-banner .tb-kart{flex-wrap:wrap}
  .toptan-banner .tbm-gorsel{flex:1 1 25%;order:1;display:block !important}
  .toptan-banner .tbm-gorsel img{min-height:96px;height:96px}
  .toptan-banner .tbm-metin{flex:1 1 100%;order:2;padding:16px}
  .toptan-banner .tbm-gorsel+.tbm-gorsel,.toptan-banner .tbm-metin+.tbm-gorsel{border-left:1px solid rgba(196,167,71,.2)}
}

.toptan-banner .tb-icerik{flex:1;display:flex;flex-direction:column;justify-content:center;padding:22px 28px;min-width:0}
.toptan-banner .tb-buyuk{font-size:clamp(44px,7vw,72px);font-weight:900;line-height:.95;color:var(--gold);letter-spacing:-.02em}
.toptan-banner .tb-alt{font-size:clamp(17px,2.4vw,24px);font-weight:800;color:#f3efe6;margin-top:2px}
.toptan-banner .tb-mini{font-size:.82rem;color:#b9b3a6;margin-top:10px}
@media(max-width:640px){
  .toptan-banner .tb-gorsel{flex-basis:38%}
  .toptan-banner .tb-icerik{padding:14px 16px}
  .toptan-banner .tb-mini{display:none}
}
