/* Manrope — local fonts (assets/fonts/static/) */
@font-face { font-family: 'Manrope'; src: url('fonts/static/Manrope-Regular.ttf') format('truetype'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Manrope'; src: url('fonts/static/Manrope-Medium.ttf') format('truetype'); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: 'Manrope'; src: url('fonts/static/Manrope-SemiBold.ttf') format('truetype'); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: 'Manrope'; src: url('fonts/static/Manrope-Bold.ttf') format('truetype'); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: 'Manrope'; src: url('fonts/static/Manrope-ExtraBold.ttf') format('truetype'); font-weight: 800; font-style: normal; font-display: swap; }
/* Variable font fallback — covers all other weights */
@font-face { font-family: 'Manrope'; src: url('fonts/Manrope-VariableFont_wght.ttf') format('truetype'); font-weight: 200 800; font-style: normal; font-display: swap; }

@font-face {
  font-family: 'TokaLogo';
  src: url('fonts/00625.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}


/* ── Sayfa geçişi: üstte ince yükleniyor çubuğu + içerik fade-in ────────── */
.nav-progress {
  position: fixed; top: 0; left: 0; height: 2.5px; width: 0;
  background: linear-gradient(90deg, #c9a83a, #e6cf7a);
  z-index: 99999; opacity: 0; pointer-events: none;
  box-shadow: 0 0 8px rgba(201,168,58,.5);
}
.nav-progress.active { width: 92%; opacity: 1; transition: width 8s cubic-bezier(.05,.7,.1,1), opacity .2s; }
@media (prefers-reduced-motion: no-preference) {
  body.catalog-page #main-content { animation: tokaPageIn .26s ease both; }
}
@keyframes tokaPageIn { from { opacity: 0; } to { opacity: 1; } }

/* Tek konsolide :root ve body (2026-06-12 CSS temizliği) */
:root {
  font-family: 'Manrope', system-ui, -apple-system, Segoe UI, Roboto, Arial;
  --bn-h: 74px;
  --bn-safe: env(safe-area-inset-bottom, 0px);
  --topbar-h: 68px; /* sticky header yüksekliği — sidebar top offset için */
}
* { box-sizing: border-box; }
/* Form elemanları varsayılan olarak gövde fontunu miras almaz —
   Manrope'un admin paneldeki input/select/button/textarea'larda da
   uygulanması için açıkça belirtiyoruz. */
button, input, select, textarea, optgroup {
  font-family: inherit;
}
body {
  margin: 0;
  position: relative; /* absolute konumlu öğelerin çapası */
  background: #f7f4ef;
  color: #1a1a1a;
  padding-bottom: calc(var(--bn-h) + var(--bn-safe));
}

/* ── Android app: durum çubuğu güvenli alanı (2026-07-17) ──────────────────────
   Android 15, targetSdk 35 olan uygulamalara edge-to-edge'i ZORUNLU kılıyor:
   WebView'in viewport'u durum çubuğunun ALTINDAN başlıyor. Bu yüzden en üstteki
   ne varsa (marquee şeridi ya da kaydırınca tepeye yapışan sticky .topbar) saat/pil
   ikonlarının içine giriyordu.

   Tek tek elemanlara padding vermek çözmez — sorun elemanda değil, viewport'un
   kendisinde. O yüzden: (1) içeriği inset kadar aşağı al, (2) durum çubuğunun
   arkasına SABİT opak bir şerit koy ki altından kayan içerik ikonları okunmaz
   hale getirmesin, (3) sticky topbar o şeridin ALTINA yapışsın.

   KAPSAM: .toka-edge2edge sınıfını yalnız chrome.php edge_to_edge_boot() ekler ve
   yalnız window.Capacitor varsa — yani sadece Android app. iOS app Capacitor değil
   (kendi WKWebView'i, contentInsetAdjustmentBehavior ile hallediyor); mobil tarayıcı
   da etkilenmez. Ayrıca env() viewport-fit=cover olmadan 0 döner (ikinci güvence). */
html.toka-edge2edge body { padding-top: env(safe-area-inset-top, 0px); }

html.toka-edge2edge::before {
  content: '';
  position: fixed;
  top: 0; left: 0; right: 0;
  height: env(safe-area-inset-top, 0px);
  background: #12100a; /* marquee şeridiyle aynı renk → tepede kesintisiz görünür */
  z-index: 100;        /* .topbar(90) üstünde, modal'ların(900+) altında */
  pointer-events: none;
}

html.toka-edge2edge .topbar { top: env(safe-area-inset-top, 0px); }
a { color: inherit; text-decoration: none; }
.container { max-width: 1320px; margin: 0 auto; padding: 14px; padding-bottom: calc(88px + env(safe-area-inset-bottom));}
.container.narrow { max-width: 520px; }

.bottomnav{
  position: fixed;
  left: 0; right: 0; bottom: 0;
  height: calc(var(--bn-h) + var(--bn-safe));
  padding: 0 4px calc(10px + var(--bn-safe));
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  align-items: end;
  z-index: 80;
  background:
    radial-gradient(700px 150px at 15% 0%, rgba(212,175,55,.14), transparent 55%),
    radial-gradient(600px 150px at 85% 0%, rgba(80,120,255,.12), transparent 55%),
    linear-gradient(to bottom, rgba(8,10,18,.45), rgba(8,10,18,.92));
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-top: 1px solid rgba(255,255,255,.10);
  box-shadow: 0 -24px 70px rgba(0,0,0,.60);
  padding-bottom: calc(10px + env(safe-area-inset-bottom));
}

.bn-item{
  position: relative;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  gap: 4px;
  padding: 8px 4px 6px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.03);
  color: rgba(255,255,255,.55);
  text-decoration: none;
  font-family: inherit;
  cursor: pointer;
  transition: background .15s ease, border-color .15s ease, color .15s;
}

.bn-item:hover{ border-color: rgba(255,255,255,.14); background: rgba(255,255,255,.05); color: rgba(255,255,255,.85); }

.bn-ico{ width: 22px; height: 22px; display: block; }
.bn-label{ font-size: 10px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; line-height: 1; }

/* Sepet — altın daire wrapper */
.bn-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  padding-bottom: 6px;
}
.bn-cart-wrap {
  position: relative;
  width: 52px; height: 52px;
  border-radius: 50%;
  background: linear-gradient(145deg, #d4b042 0%, #c9a83a 60%, #b8922a 100%);
  box-shadow: 0 6px 22px rgba(201,168,58,.50), 0 2px 8px rgba(0,0,0,.22);
  display: flex; align-items: center; justify-content: center;
  transform: translateY(-10px);
  color: #1a1a1a;
  text-decoration: none;
  transition: box-shadow .15s, transform .12s;
}
.bn-cart-wrap:hover { box-shadow: 0 8px 28px rgba(201,168,58,.65), 0 2px 8px rgba(0,0,0,.22); transform: translateY(-12px); }
.bn-cart-wrap svg { width: 22px; height: 22px; }
.bn-cart-lbl { font-size: 10px; font-weight: 700; color: #c9a83a; margin-top: -4px; line-height: 1; }

.bn-badge{
  position: absolute;
  right: -1px;
  top: 0;
  min-width: 17px;
  height: 17px;
  padding: 0 4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 9px;
  font-weight: 800;
  border-radius: 999px;
  background: #1a1a1a;
  color: #f0d98c;
  border: 2px solid #fff;
}

@media (min-width: 900px){
  :root{ --bn-h: 70px; }
}

/* Premium hero */
.hero{
  margin: 14px 0 12px;
}
.hero-card{
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 18px;
  background: linear-gradient(135deg,
    rgba(180,140,40,.22),
    rgba(35,50,120,.22)
  );
  backdrop-filter: blur(10px);
  box-shadow:
    0 24px 70px rgba(0,0,0,.55),
    inset 0 1px 0 rgba(255,255,255,.08);
  padding: 16px 16px;
  overflow: hidden;
  position: relative;
}
.hero-card::after{
  content:"";
  position:absolute;
  inset:-2px;
  background:
    radial-gradient(400px 140px at 20% 30%, rgba(212,175,55,.16), transparent 60%),
    radial-gradient(360px 120px at 80% 60%, rgba(80,120,255,.14), transparent 60%);
  filter: blur(18px);
  opacity: .9;
  pointer-events:none;
}
.hero-content{ position: relative; z-index: 1; }
.hero-title{ margin: 10px 0 6px; font-size: 18px; line-height: 1.2; font-weight: 900; }
.hero-sub{ margin: 0; opacity: .86; line-height: 1.35; }
.sheet {
  max-height: 62vh;
  overflow: auto;
  padding-bottom: 18px;
}
.sheet::before{
  content:"";
  display:block;
  width: 44px;
  height: 5px;
  border-radius: 999px;
  background: rgba(255,255,255,.18);
  margin: 10px auto 12px;
}


/* küçük ekranda topbar+hero daha ferah */
@media (max-width: 560px){
  .container{ padding: 12px; }
  .hero-title{ font-size: 17px; }
}

/* Category sheet */
/* Catsheet — final_preview drawer stili */
.catsheet {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 850;
  background: #fff;
  border-radius: 24px 24px 0 0;
  box-shadow: 0 -8px 40px rgba(0,0,0,.18);
  transform: translateY(110%);
  transition: transform .28s cubic-bezier(.32,.72,0,1);
  padding-bottom: calc(var(--bn-h) + var(--bn-safe) + 8px);
  max-height: 80dvh;
  max-height: 80vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.catsheet.is-open { transform: translateY(0); }

/* Kategoriler paneli açıkken arka sayfa KAYMASIN (mobil scroll bleed-through).
   :has() ile JS'e dokunmadan catSheet bulunan tüm sayfalarda çalışır. Panelin
   kendi listesi normal kayar; overscroll-behavior ile kaydırma body'ye
   zincirlenmez. catSheet'in kapanış (dışına dokun) davranışı etkilenmez —
   touch-action yalnız pan/scroll'u keser, tap/click'i değil. */
html:has(.catsheet.is-open),
body:has(.catsheet.is-open) {
  overflow: hidden;
  touch-action: none;
}
.catsheet { touch-action: pan-y; overscroll-behavior: contain; }
.catsheet-list { overscroll-behavior: contain; touch-action: pan-y; }

/* Drag handle */
.catsheet-handle {
  width: 36px; height: 4px;
  background: rgba(0,0,0,.14); border-radius: 2px;
  margin: 12px auto 0; flex-shrink: 0;
}

/* Başlık */
.catsheet-top {
  display: flex; align-items: center; justify-content: space-between;
  gap: 10px; padding: 14px 18px 12px; border-bottom: 1px solid rgba(0,0,0,.07);
  flex-shrink: 0;
}
.catsheet-title { font-size: 15px; font-weight: 900; color: #1a1a1a; }
.catsheet-close {
  background: #f2ede4; border: none; color: #666;
  border-radius: 999px; padding: 6px 14px; font-size: 12px; font-weight: 800;
  cursor: pointer; font-family: inherit;
}
.catsheet-close:hover { background: #e8e2d8; color: #1a1a1a; }

/* Arama */
.catsheet-search-wrap { padding: 10px 14px 6px; flex-shrink: 0; }
.catsheet-search-input {
  width: 100%; height: 40px; border-radius: 999px;
  border: 1.5px solid rgba(0,0,0,.10); background: #f2ede4;
  color: #1a1a1a; padding: 0 14px; font-size: 13.5px;
  font-family: inherit; outline: none;
}
.catsheet-search-input:focus { border-color: #c9a83a; background: #fff; }

/* Kategori listesi */
.catsheet-list { overflow-y: auto; flex: 1; }
.catsheet-item {
  display: flex; align-items: center; gap: 10px;
  padding: 13px 18px; font-size: 13.5px; font-weight: 700;
  color: #1a1a1a; text-decoration: none;
  border-left: 3px solid transparent;
  border-bottom: 1px solid rgba(0,0,0,.05);
  transition: background .12s;
}
.catsheet-item:hover { background: rgba(201,168,58,.05); }
.catsheet-item--active {
  border-left-color: #c9a83a;
  background: rgba(201,168,58,.08);
  color: #7a6010;
}
.catsheet-item-icon { font-size: 17px; flex-shrink: 0; width: 24px; text-align: center; }
/* Kategori SVG ikonları (category_icon_svg): viewBox var ama intrinsic boyut yok,
   bu yüzden her bağlamda açıkça boyutlanır (yoksa %100'e şişer). Tek renk
   (currentColor) → metin rengini izler, aktif/hover durumlarına uyar. */
.cicon { width: 18px; height: 18px; flex: 0 0 auto; vertical-align: middle; }
.catsheet-item-icon .cicon { width: 18px; height: 18px; }
.ved-cat-icon .cicon { width: 17px; height: 17px; }
.subnav-item-icon { display: inline-flex; align-items: center; }
.subnav-item-icon .cicon { width: 16px; height: 16px; }
.catsheet-item-name { flex: 1; }
.catsheet-item-count {
  font-size: 11.5px; font-weight: 700;
  background: rgba(0,0,0,.07); color: rgba(0,0,0,.45);
  border-radius: 999px; padding: 2px 10px; flex-shrink: 0;
}
.catsheet-item--active .catsheet-item-count {
  background: rgba(201,168,58,.20); color: #7a6010;
}
.catsheet-item--child {
  padding-left: 36px; font-size: 13px; font-weight: 500;
  border-left-color: transparent;
}
.catsheet-item--child::before { content: '└'; margin-right: 6px; color: #ccc; font-size: 12px; }

/* Filtreler */
.catsheet-filters {
  padding: 14px 18px; border-top: 1px solid rgba(0,0,0,.07); flex-shrink: 0;
}

.catbtn{ display:flex; align-items:center; justify-content:center; text-align:center; padding: 12px 10px; border-radius: 16px; border: 1px solid rgba(255,255,255,.10); background: rgba(255,255,255,.03); font-weight: 850; line-height: 1.1; }
.catbtn:hover{ border-color: rgba(212,175,55,.35); background: rgba(212,175,55,.07); }

.catsheet-pricerange { margin-top: 14px; }
.catsheet-pricerange-label { font-weight: 800; font-size: 13px; margin-bottom: 8px; opacity: .85; }
.catsheet-pricerange-row { display: flex; align-items: center; gap: 8px; }
.catsheet-pricerange-row input[type="number"] {
  flex: 1 1 0;
  min-width: 0;
  height: 42px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.06);
  color: inherit;
  padding: 0 14px;
  font-size: 14px;
  outline: none;
}
.catsheet-pricerange-sep { opacity: .5; font-weight: 700; }
.catsheet-pricerange-row .btn { white-space: nowrap; padding: 0 16px; height: 42px; }
body.catalog-page.theme-light .catsheet-pricerange-row input[type="number"] {
  background: #f0ede8 !important;
  border-color: rgba(0,0,0,.10) !important;
  color: #1a1a1a !important;
}

/* ── Fiyat aralığı çift kollu slider (catSheet) ───────────────────────────
   catSheet zemini her zaman beyaz olduğundan açık temaya göre tasarlandı. */
.price-slider { margin-top: 6px; }
.price-slider-head {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 14px;
}
.price-slider-label { font-size: 13px; font-weight: 800; color: #333; }
.price-slider-vals  { font-size: 13px; font-weight: 800; color: #9a7a00; }
.price-slider-track { position: relative; height: 28px; }
.price-slider-rail {
  position: absolute; top: 50%; left: 0; right: 0; height: 4px;
  transform: translateY(-50%);
  background: rgba(0,0,0,.12); border-radius: 999px;
}
.price-slider-fill {
  position: absolute; top: 50%; height: 4px;
  transform: translateY(-50%);
  background: #c9a83a; border-radius: 999px;
}
/* İki range input üst üste; track şeffaf, sadece thumb'lar tıklanabilir */
.price-slider-input {
  position: absolute; top: 0; left: 0;
  width: 100%; height: 28px; margin: 0;
  -webkit-appearance: none; appearance: none;
  background: none; pointer-events: none;
}
.price-slider-input::-webkit-slider-runnable-track { background: none; border: none; }
.price-slider-input::-moz-range-track { background: none; border: none; }
.price-slider-input::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none; pointer-events: auto;
  width: 20px; height: 20px; border-radius: 50%;
  background: #fff; border: 2px solid #c9a83a;
  box-shadow: 0 1px 5px rgba(0,0,0,.28); cursor: pointer;
  margin-top: -8px;   /* track (4px) ortasına hizala */
}
.price-slider-input::-moz-range-thumb {
  pointer-events: auto;
  width: 20px; height: 20px; border-radius: 50%;
  background: #fff; border: 2px solid #c9a83a;
  box-shadow: 0 1px 5px rgba(0,0,0,.28); cursor: pointer;
}
.price-slider-ticks {
  display: flex; justify-content: space-between;
  margin-top: 8px;
}
.price-slider-ticks span { font-size: 10.5px; color: #9a9a9a; font-weight: 600; }
.price-slider-actions { display: flex; gap: 8px; margin-top: 14px; }
.price-slider-actions .btn { flex: 1 1 0; height: 42px; }
.btn.ghost {
  background: transparent; border: 1px solid rgba(0,0,0,.14); color: #555;
}
.btn.ghost:hover { background: rgba(0,0,0,.04); }


.header {
  padding: 14px 14px 10px;
}


/* Tek konsolide .topbar tanımı */
.topbar {
  display: block;
  position: sticky;
  top: 0;
  z-index: 90;
  background: #ffffff;
  border-bottom: 1px solid rgba(0,0,0,.07);
  box-shadow: 0 1px 8px rgba(0,0,0,.06);
  padding: 10px 14px;
  overflow: hidden; /* .topbar--catalog bunu visible'a çevirir */
}
.back { opacity: .9; }

.search { flex: 1; display: flex; gap: 8px; align-items: center; justify-content: flex-end; flex-wrap: wrap; }
.search input {
  flex: 1; min-width: 180px;
  background: #f2ede4; border: 1.5px solid rgba(0,0,0,.10);
  color: #1a1a1a; padding: 10px 14px; border-radius: 999px;
  font-family: inherit; font-size: 14px; outline: none;
  transition: border-color .15s, background .15s;
}
.search input:focus { border-color: #c9a83a; background: white; }
.search button {
  background: transparent; border: 2px solid #c9a83a; color: #c9a83a;
  padding: 10px 16px; border-radius: 999px; font-weight: 700; cursor: pointer;
  transition: background .18s, border-color .18s, color .18s;
}
.search button:hover { background: rgba(201,168,58,.1); border-color: #a07c1e; color: #a07c1e; }
.chk { display: flex; gap: 8px; align-items: center; opacity: .95; }

.grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
@media (min-width: 720px) { .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

.card {
  background: #ffffff;
  border: 1px solid rgba(0,0,0,.07);
  border-radius: 18px;
  overflow: hidden;
  content-visibility: auto;
  contain-intrinsic-size: 320px 420px;
}

.skeleton-card {
  background: #ffffff;
  border: 1px solid rgba(0,0,0,.07);
  border-radius: 18px;
  overflow: hidden;
}
.skeleton-thumb { aspect-ratio: 2 / 3; }
.skeleton-meta { padding: 10px 12px 12px; display: flex; flex-direction: column; gap: 8px; }
.skeleton-line { height: 12px; border-radius: 6px; }
.skeleton-line--title { width: 78%; height: 14px; }
.skeleton-line--sub { width: 46%; }
.skeleton-line--price { width: 36%; height: 16px; margin-top: 2px; }
.skeleton-thumb,
.skeleton-line {
  background: linear-gradient(100deg, rgba(0,0,0,.06) 30%, rgba(0,0,0,.11) 50%, rgba(0,0,0,.06) 70%);
  background-size: 220% 100%;
  animation: skeleton-shimmer 1.4s ease-in-out infinite;
}
body.catalog-page.theme-dark .skeleton-card {
  background: rgba(255,255,255,.04);
  border-color: rgba(255,255,255,.08);
}
body.catalog-page.theme-dark .skeleton-thumb,
body.catalog-page.theme-dark .skeleton-line {
  background: linear-gradient(100deg, rgba(255,255,255,.05) 30%, rgba(255,255,255,.11) 50%, rgba(255,255,255,.05) 70%);
  background-size: 220% 100%;
}
@keyframes skeleton-shimmer {
  0%   { background-position: 200% 0; }
  100% { background-position: -20% 0; }
}
@media (prefers-reduced-motion: reduce) {
  .skeleton-thumb, .skeleton-line { animation: none; }
  .marquee-track { animation: none; }
  .scroll-dots span { animation: none; }
  .compare-tray { animation: none; }
}

.thumb { position: relative; aspect-ratio: 2 / 3; background: #f0ede8; }
.thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.noimg { height: 100%; display:flex; align-items:center; justify-content:center; opacity:.6; background: url('placeholder.png') center/contain no-repeat; font-size: 0; color: transparent; }

.card-badges {
  position: absolute;
  bottom: 8px;
  left: 8px;
  z-index: 4;
  display: flex;
  flex-direction: column;
  gap: 5px;
  max-width: calc(100% - 16px);
  pointer-events: none;
}
.card-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  height: 19px;
  padding: 0 7px;
  border-radius: 6px;
  font-size: 9px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: .04em;
  text-transform: uppercase;
  white-space: nowrap;
  color: #fff;
  background: rgba(17,17,17,.62);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  box-shadow: 0 2px 8px rgba(0,0,0,.20);
}
/* SVG ikon + kısa etiket: ikon tip rengini (--badge-dot) alır, koyu yarı saydam
   zemin her foto üzerinde kontrastı garanti eder. */
.card-badge svg {
  width: 12px;
  height: 12px;
  flex: 0 0 auto;
  color: var(--badge-dot, #c9a83a);
}
.card-badge span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}
.card-badge--new   { --badge-dot: #34d399; }
.card-badge--trend { --badge-dot: #f87171; }
.card-badge--deal  { --badge-dot: #60a5fa; }
.card-badge--low   { --badge-dot: #fbbf24; }
.card-badge--out   { --badge-dot: #9ca3af; color: rgba(255,255,255,.82); }
.card-badge--custom  { --badge-dot: #c9a83a; }
.card-badge--freeship{ --badge-dot: #34d399; }
.card-badge--discount{ --badge-dot: #fb7185; }
.card-badge--limited { --badge-dot: #fb923c; }
.card-badge--handmade{ --badge-dot: #d8b24a; }
.card-badge--gift    { --badge-dot: #a78bfa; }
.card-badge--premium { --badge-dot: #e3c15a; }

/* Küçük öneri/son-gezilen kartlarında (sepet "ilginizi çekebilir" + ürün
   "benzer/son görüntülenen") rozetler kompakt — küçük foto'yu kaplamasın. */
.ce-thumb .card-badges,
.similar-grid .card-badges { gap: 4px; bottom: 6px; left: 6px; }
.ce-thumb .card-badge,
.similar-grid .card-badge {
  height: 16px;
  padding: 0 5px;
  font-size: 7.5px;
  gap: 3px;
  border-radius: 5px;
  letter-spacing: .02em;
}
.ce-thumb .card-badge svg,
.similar-grid .card-badge svg { width: 10px; height: 10px; }

/* ── Fav + Compare: yan yana sağ üst köşe ── */
.card-actions {
  position: absolute;
  top: 8px; right: 8px;
  display: flex; gap: 4px; z-index: 4;
}
.fav-btn {
  position: static;
  width: 28px; height: 28px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 8px;
  border: 1px solid rgba(0,0,0,.08);
  background: rgba(255,255,255,.88);
  color: #94a3b8;
  cursor: pointer;
  transition: color .15s, background .15s;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 2px 8px rgba(0,0,0,.10);
  flex-shrink: 0;
}
.fav-btn svg { width: 13px; height: 13px; pointer-events: none; }
.fav-btn:hover { color: #ef4444; background: #fff; }
.fav-btn.is-active { color: #ef4444; background: rgba(239,68,68,.08); border-color: rgba(239,68,68,.18); }
.fav-btn.is-active svg path { fill: currentColor; }
body.catalog-page.theme-dark .fav-btn { background: rgba(15,20,30,.72); border-color: rgba(255,255,255,.12); color: #94a3b8; }
body.catalog-page.theme-dark .fav-btn.is-active { color: #ef4444; }
.noimg.big { height: 280px; border-radius: 18px; border: 1px dashed rgba(0,0,0,.14); }

.meta { padding: 10px 12px 12px; }
.name { font-weight: 750; line-height: 1.15; margin-bottom: 6px; }
.sku { opacity: .75; font-size: 12px; margin-bottom: 8px; }
.price { font-weight: 800; }
.price.big { font-size: 18px; margin: 10px 0; }
.page{
  padding-bottom: calc(82px + env(safe-area-inset-bottom)); /* nav yüksekliği */
}
.badge {
  position: absolute; left: 10px; top: 10px;
  padding: 6px 10px; border-radius: 999px;
  font-size: 12px; font-weight: 800;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(0,0,0,.35);
}


.h1 { font-size: 22px; margin: 12px 0 8px; }
.sub { display:flex; gap: 8px; align-items:center; flex-wrap: wrap; opacity: .9; }
.desc {
  margin-top: 12px;
  background: #ffffff;
  border: 1px solid rgba(0,0,0,.07);
  border-radius: 18px;
  padding: 12px;
  line-height: 1.5;
  color: #1a1a1a;
}

.nav a { margin-left: 12px; font-weight: 700; color: #444; transition: color .15s; }
.nav a:hover { color: #c9a83a; }
.cards { display:grid; gap: 12px; grid-template-columns: 1fr; }
@media (min-width: 720px) { .cards { grid-template-columns: repeat(3, 1fr); } }
.tile {
  background: #ffffff;
  border: 1px solid rgba(0,0,0,.07);
  border-radius: 18px;
  padding: 16px;
  font-weight: 800;
  color: #1a1a1a;
}

.form { display:flex; flex-direction: column; gap: 10px; }
.form input, .form textarea, .form select {
  background: #f2ede4;
  border: 1.5px solid rgba(0,0,0,.10);
  color: #1a1a1a;
  padding: 10px 14px;
  border-radius: 999px;
  font-family: inherit;
  font-size: 14px;
  outline: none;
  transition: border-color .15s, background .15s;
}
.form textarea { border-radius: 14px; min-height: 110px; resize: vertical; }
.form select { border-radius: 999px; }
.form input:focus, .form textarea:focus, .form select:focus { border-color: #c9a83a; background: white; }

.btn {
  background: transparent;
  border: 2px solid #c9a83a;
  color: #c9a83a;
  padding: 10px 18px;
  border-radius: 999px;
  font-weight: 800;
  cursor: pointer;
  font-size: 15px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: background .18s, border-color .18s, color .18s;
  text-decoration: none;
}
.btn:hover { background: rgba(201,168,58,.1); border-color: #a07c1e; color: #a07c1e; }
.btn.secondary {
  background: #f2ede4;
  color: #1a1a1a;
  border-color: rgba(0,0,0,.10);
}
.btn.secondary:hover { border-color: #c9a83a; background: rgba(201,168,58,.07); color: #111; }
.btn.danger {
  background: transparent;
  color: #b91c1c;
  border-color: rgba(220,38,38,.45);
}
.btn.danger:hover { background: rgba(220,38,38,.08); border-color: #dc2626; }
.btn.wa { background: #25d366; color: #fff; border-color: transparent; }
.btn.wa:hover { background: #1aad52; border-color: transparent; color: #fff; }

.btn-save {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  padding: 11px 24px;
  background: transparent;
  color: #c9a83a;
  border: 2px solid #c9a83a;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
  text-decoration: none;
  transition: background .15s, color .15s, border-color .15s;
}
.btn-save:hover { background: rgba(201,168,58,.10); border-color: #b8922a; color: #b8922a; }
.btn-save--ghost {
  background: transparent;
  color: inherit;
  border: 1px solid rgba(0,0,0,.16);
  border-radius: 999px;
  text-decoration: none;
  display: inline-flex; align-items: center;
}

.alert { background: rgba(239,68,68,.10); border: 1px solid rgba(239,68,68,.28); padding: 10px 12px; border-radius: 12px; color: #991b1b; }
.notice { background: rgba(34,197,94,.10); border: 1px solid rgba(34,197,94,.25); padding: 10px 12px; border-radius: 12px; color: #166534; }

.table { width:100%; border-collapse: collapse; overflow:hidden; border-radius: 14px; border: 1px solid rgba(0,0,0,.08); }
.table th, .table td { padding: 10px 10px; border-bottom: 1px solid rgba(0,0,0,.06); text-align: left; font-size: 14px; color: #1a1a1a; }
.table th { background: rgba(0,0,0,.03); font-weight: 800; color: #333; }
.row-actions { display:flex; gap: 8px; flex-wrap: wrap; }

.filebtn {
  display:inline-flex; align-items:center; justify-content:center;
  padding: 10px 16px; border-radius: 999px; font-weight: 800;
  background: #16a34a; color: #fff; cursor: pointer;
}
.filehint { opacity: .7; font-size: 13px; }
.small { opacity:.8; font-size: 13px; }

body.catalog-page.theme-dark .brand::after {
  content: "";
  position: absolute;
  inset: -8px -14px;
  background: radial-gradient(
    circle,
    rgba(201,162,58,0.25) 0%,
    rgba(201,162,58,0.12) 35%,
    transparent 70%
  );
  z-index: -1;
  filter: blur(14px);
}
.table-wrap {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: 14px;
}

.table {
  min-width: 920px; /* tablo minimum genişliği */
}
@media (max-width: 560px) {
    .topbar {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    padding: 14px 0 10px;
  }

  .brand {
    text-align: center;
  }

  .search {
    width: 100%;
    justify-content: flex-start;
  }

  .search input {
    width: 100%;
    min-width: 0;
  }
  
}

/* Menü öğeleri */

/* Çıkış */

/* ===== Catalog Header v2 ===== */
/* Tek konsolide .brand tanımı (eski 3 katmanın kümülatif sonucu) */
.brand{
  position: relative;
  font-weight: 800;
  font-size: 34px;
  line-height: 1;
  white-space: nowrap;
  letter-spacing: 1.5px;
  text-align: center;
}

/* Searchbar layout */

/* Button for header */
.btn.primary{
  height: 44px;
  padding: 0 20px;
  font-weight: 700;
}

/* Toggle (Sadece stokta) */
.toggle{
  display:flex;
  align-items:center;
  gap: 10px;
  user-select:none;
  white-space: nowrap;
  justify-content: flex-start;
  height: 44px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(0,0,0,.09);
  background: #f2ede4;
}

.toggle input{ display:none; }

.toggle-ui{
  width: 44px;
  height: 26px;
  border-radius: 999px;
  position: relative;
  border: 1px solid rgba(0,0,0,.14);
  background: rgba(0,0,0,.10);
  flex: 0 0 auto;
  transition: .2s ease;
}
.toggle-ui::after{
  content:"";
  position:absolute;
  top: 50%;
  transform: translateY(-50%);
  left: 4px;
  width: 18px;
  height: 18px;
  border-radius: 999px;
  background: #fff;
  transition: .2s ease;
  box-shadow: 0 1px 4px rgba(0,0,0,.18);
}

.toggle input:checked + .toggle-ui{
  background: rgba(201,168,58,.35);
  border-color: rgba(201,168,58,.60);
}
.toggle input:checked + .toggle-ui::after{
  left: 22px;
  background: #c9a83a;
}

.toggle-text{
  font-weight: 600;
  color: #444;
}

/* ---- FIX: mobile horizontal overflow ---- */
@media (max-width: 560px){

  /* Alt satır layout: 2 satıra böl */

  /* Kategoriler yatay kayar ama sayfa değil */

  /* Her kategori pill’i sabit kalsın */

  /* Toggle alt satırda tam genişlik */

  /* Topbar içindeki olası taşmaları kes */
}

/* ===== Premium Glow Header ===== */

.toggle input:checked + .toggle-ui{
  box-shadow:
    0 0 18px rgba(52,120,255,0.45),
    inset 0 0 6px rgba(255,255,255,0.25);
}

.topbar::after{
  content:"";
  position:absolute;
  left:0;
  right:0;
  bottom:0;
  height:1px;
  background: linear-gradient(
    to right,
    transparent,
    rgba(212,175,55,0.55),
    transparent
  );
}
/* ===== Icon Buttons ===== */

/* Cart count badge */
.badge-count{
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 12px;
  line-height: 1;
  background: rgba(212,175,55,0.22);
  border: 1px solid rgba(212,175,55,0.35);
  color: rgba(255,255,255,0.95);
  box-shadow: 0 0 18px rgba(212,175,55,0.20);
}

/* tighten top actions */
/* ===== Placeholder text color fix ===== */

/* Placeholder text */

/* Safari / older browsers */

/* Select option text (dropdown açılınca) */

/* =========================
   Category-first header
========================= */

/* Logo centered, buttons absolute */

/* Cart top-right */
body.catalog .topbar-cart{
  position: absolute;
  right: 0;
  top: 0;
}

/* Admin top-left (optional) */

/* Category bar */

/* Category box: "tıklanabilir kutu" */

/* Active category: gold glow */

/* Tools row under categories */

/* Mobile: category boxes slightly smaller */

/* Mobilde daha kompakt */
@media (max-width: 560px){
  .toggle{
    height: 44px;
  }
}
/* ===== HARD FIX: mobile horizontal drift (iOS/Safari) ===== */
html {
  width: 100%;
  max-width: 100%;
  overflow-x: clip;          /* clip: sayfanın kendisi yatay kaymaz ama iç
                                elementler (yatay scroll row'ları) kendi overflow
                                context'ini oluşturabilir — hidden'ın aksine
                                scroll container yaratmaz */
}
body {
  width: 100%;
  max-width: 100%;
  overflow-x: clip;
  position: relative;
}

/* Topbar glow/pseudo taşmalarını kes */
.topbar::before,
.topbar::after{
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  max-width: 100% !important;
}

/* İç container hiçbir durumda taşmasın */

/* Kategori pill’leri wrap + taşma yok */

/* Eğer bir şey hala taşırsa (özellikle sepet butonu) */

/* iOS: drop-shadow bazen overflow tetikler, topbar’da yumuşat */
/* ===== Mobile layout: categories wrap, stock toggle under ===== */
@media (max-width: 560px){

  /* Bottom row içindeki form tam genişlik */

  /* Form içini kesin column yap */

  /* Kategoriler üstte: wrap + tam genişlik */

  /* Sadece stokta altta: tam genişlik */

  /* Kategori pill boyutu mobil */

  /* Toggle mobil boyut */
  .toggle{
    height: 44px;
    border-radius: 14px;
  }
}
/* Toggle satırı: kategorilerin altında tek satır */

/* Mobilde daha sıkı */

/* Kartların üstündeki küçük ibare */
.list-note{
  margin: 14px 2px 10px;
  font-size: 13px;
  opacity: .75;
  letter-spacing: .2px;
}

/* Minimum alım bilgi kutusu */
.infinite-sentinel{
  margin: 16px 0 6px;
  padding: 12px;
  text-align: center;
  font-size: 13px;
  opacity: .75;
}
/* ============================= */
/* ADMIN NAVBAR – PREMIUM BUTTON */
/* ============================= */

.admin-nav,
.nav {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  padding: 12px 14px;
  margin-bottom: 14px;
  border-radius: 16px;
  background: #ffffff;
  border: 1px solid rgba(0,0,0,.07);
  box-shadow: 0 1px 6px rgba(0,0,0,.05);
}

.admin-nav a,
.nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 38px;
  padding: 0 14px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  color: #444;
  background: #f2ede4;
  border: 1.5px solid rgba(0,0,0,.08);
  transition: background .15s, border-color .15s, color .15s;
}

.admin-nav a:hover,
.nav a:hover {
  background: rgba(201,168,58,.10);
  border-color: rgba(201,168,58,.45);
  color: #111;
}

/* Aktif sayfa */
.admin-nav a.is-active,
.nav a.is-active {
  background: rgba(201,168,58,.14);
  border-color: rgba(201,168,58,.50);
  color: #7a5c00;
}

/* Çıkış butonu */
.admin-nav a[href*="logout"],
.nav a[href*="logout"] {
  margin-left: auto;
  background: rgba(224,64,64,.08);
  border-color: rgba(224,64,64,.22);
  color: #b91c1c;
}

.admin-nav a[href*="logout"]:hover,
.nav a[href*="logout"]:hover {
  background: rgba(224,64,64,.14);
  border-color: rgba(224,64,64,.38);
}

/* Mobil uyum */
@media (max-width: 600px){
  .admin-nav,
  .nav {
    gap: 8px;
  }

  .admin-nav a,
  .nav a {
    height: 40px;
    padding: 0 14px;
    font-size: 13px;
  }
}
/* ============================= */
/* PRODUCT PAGE – INDEX THEME     */
/* ============================= */

.product-page{
  padding-bottom: calc(92px + env(safe-area-inset-bottom));
}

/* product topbar */ /* admin yoksa sağ boşluk */

/* product layout */
.product-hero{ margin-top: 14px; }
.product-card{
  border-radius: 18px;
  border: 1px solid rgba(0,0,0,.07);
  background: #ffffff;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,.07);
}

@media(min-width: 980px){
  .product-card{
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
    align-items: stretch;
    filter: drop-shadow(0 8px 14px rgba(0,0,0,.35));
  }
  .product-info {
    padding: 28px 30px 28px;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  .product-kicker  { margin-bottom: 12px; }
  .product-title   { font-size: 28px; line-height: 1.15; }
  .product-price   { font-size: 32px; margin-top: 20px; }
  .product-cta     { margin: 22px 0 16px; }
  .product-sub     { margin-top: 10px; }
}

.product-media{
  padding: 12px;
  position: relative;
}

.product-info{
  padding: 14px 14px 16px;
}

.product-kicker{
  display:flex;
  gap: 10px;
  align-items:center;
  flex-wrap: wrap;
  margin-bottom: 10px;
}

.pill{
  display:inline-flex;
  align-items:center;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .2px;
  background: rgba(0,0,0,.05);
  border: 1px solid rgba(0,0,0,.09);
  color: #555;
}

.product-title{
  margin: 0;
  font-size: 20px;
  line-height: 1.2;
}

.product-sub{
  margin-top: 8px;
  font-size: 13px;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.product-price{
  margin-top: 12px;
  font-size: 22px;
  font-weight: 900;
  letter-spacing: .2px;
}

.product-cta{
  display:flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
  margin: 14px 0 10px;
}

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

/* Product CTA — quantity stepper (Q1 pill style) + add button */
.prd-stepper {
  display: flex;
  align-items: center;
  height: 44px;
  border-radius: 999px;
  border: none;
  background: #f0ede7;
  padding: 4px;
  flex-shrink: 0;
  gap: 0;
}
.prd-step {
  width: 36px;
  height: 36px;
  font-size: 20px;
  font-weight: 300;
  color: #555;
  cursor: pointer;
  border: none;
  border-radius: 50%;
  background: white;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 1px 4px rgba(0,0,0,.10);
  transition: background .15s, color .15s;
  flex-shrink: 0;
}
.prd-step:hover { background: #c9a83a; color: white; box-shadow: none; }
.prd-qty {
  min-width: 44px;
  height: 36px;
  border: none;
  background: transparent;
  text-align: center;
  font-family: inherit;
  font-size: 15px;
  font-weight: 800;
  color: inherit;
  outline: none;
  -moz-appearance: textfield;
}
.prd-qty::-webkit-outer-spin-button,
.prd-qty::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.prd-add {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 44px;
  padding: 0 20px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
}
.prd-add svg { flex-shrink: 0; }
.prd-add:disabled, .prd-add.btn--disabled {
  opacity: .5; cursor: not-allowed; pointer-events: none;
}
.prd-stepper--disabled { opacity: .45; pointer-events: none; }

body.catalog-page.theme-dark .prd-stepper {
  background: rgba(255,255,255,.08);
}
body.catalog-page.theme-dark .prd-step { background: rgba(255,255,255,.12); color: rgba(255,255,255,.7); box-shadow: none; }
body.catalog-page.theme-dark .prd-step:hover { background: #c9a83a; color: white; }
body.catalog-page.theme-dark .prd-qty {
  border-color: rgba(255,255,255,.10);
  color: #fff;
}
body.catalog-page.theme-light .prd-stepper {
  border-color: rgba(0,0,0,.10);
  background: #f2ede4;
}
body.catalog-page.theme-light .prd-step { color: #555; }
body.catalog-page.theme-light .prd-qty { color: #1a1a1a; }

.product-detail-panel{
  margin-top: 14px;
  border-radius: 18px;
  border: 1px solid rgba(0,0,0,.07);
  background: #ffffff;
  box-shadow: 0 2px 10px rgba(0,0,0,.05);
  padding: 18px 18px 16px;
}
.product-detail-head{
  display:flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}
.product-detail-title{
  font-size: 15px;
  font-weight: 900;
  letter-spacing: .2px;
}
.product-detail-body{
  font-size: 14px;
  line-height: 1.7;
  color: inherit;
  opacity: .92;
  white-space: pre-wrap;
}

/* noimg big tune — pgal-main ile aynı konteyner */
.noimg.big{
  width: min(75%, 420px);
  aspect-ratio: 2 / 3;
  height: auto;
  border-radius: 16px;
  margin-inline: auto;
  display:flex;
  align-items:center;
  justify-content:center;
  border: 1px solid rgba(0,0,0,.07);
  background: url('placeholder.png') center/contain no-repeat #f0ede8;
  opacity: .85;
}
/* ============================= */
/* CART PAGE – INDEX THEME       */
/* ============================= */

.cart-page{
  padding-bottom: calc(150px + env(safe-area-inset-bottom));
}

.cart-hero{ margin-top: 14px; }
.cart-card .hero-title{ font-size: 20px; margin-bottom: 6px; }
.cart-empty{
  margin-top: 14px;
  border-radius: 16px;
  background: rgba(255,255,255,.04);
  border: 1px dashed rgba(255,255,255,.16);
}

/* cart.js’nin ürettiği input/buttonlar için güvenli target */

/* Sticky action bar */

/* Mobilde tablo taşmasın */
/* ============================= */
/* SIMILAR PRODUCTS              */
/* ============================= */

.similar{
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid rgba(0,0,0,.07);
}

.similar-head{
  display:flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}

.similar-title{
  font-size: 15px;
  font-weight: 900;
  letter-spacing: .2px;
}

.similar-sub{
  font-size: 12px;
  opacity: .7;
}

.similar-grid{
  display:flex;
  flex-wrap:nowrap;
  gap: 10px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 8px;
}

.similar-grid::-webkit-scrollbar{ height: 4px; }
.similar-grid::-webkit-scrollbar-thumb{ background: rgba(0,0,0,.15); border-radius: 4px; }

.similar-grid > *{
  flex: 0 0 155px;
  scroll-snap-align: start;
  min-width: 0;
}

@media(min-width: 900px){
  .similar-grid{
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    overflow-x: visible;
    scroll-snap-type: none;
    padding-bottom: 0;
  }

  .similar-grid > *{
    flex: unset;
  }
}

/* .card'daki content-visibility:auto vitrin satırlarındaki gibi similar-grid
   kartlarını da yapay yükseklikle ölçüyor; kaydırınca düzeliyor. Fix: kapatıyoruz. */
.similar-grid .card--b2b {
  content-visibility: visible;
  contain-intrinsic-size: auto;
}
/* Thumb yüksekliğini sabit 155px yerine ORANLA bağla: mobilde 155px genişlikteki
   kart → 155px kare; desktop'ta 4 sütun grid genişleyince thumb de oranla büyür
   (eskiden sabit 155px yükseklik kalıp kart "şişman/yana geniş" görünüyordu). */
.similar-grid .card--b2b .thumb {
  height: auto;
  aspect-ratio: 1 / 1;
}

.sthumb{
  height: 140px;
  background: #f0ede8;
  display:flex;
  align-items:center;
  justify-content:center;
}

.sthumb img{
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* ============================= */
/* FIX: bottomnav overlap        */
/* ============================= */

/* bottomnav yüksekliği ~62px + güvenli alan */
:root{
  --bottomnav-h: 62px;
}

/* Tüm public sayfalar için */
.container{
  padding-bottom: calc(var(--bottomnav-h) + 16px + env(safe-area-inset-bottom));
}

.cart-page{
  padding-bottom: calc(var(--bottomnav-h) + 16px + env(safe-area-inset-bottom));
}
/* Product gallery */
.pgal{position:relative}
.pgal-main{
  border-radius:16px;
  overflow:hidden;
  border:1px solid rgba(0,0,0,.07);
  background:#f0ede8;
  width: min(75%, 420px);
  margin-inline:auto;
  aspect-ratio: 2 / 3;
}

.pgal-main img{
  width:100%;
  height:100%;
  object-fit:cover;         /* ÇERÇEVEYİ DOLDUR (crop) */
  display:block;
  cursor:zoom-in;
}
.pgal-nav{
  position:absolute;top:50%;transform:translateY(-50%);
  width:44px;height:44px;border-radius:50%;border:1px solid rgba(255,255,255,.12);
  background:rgba(20,25,34,.75);color:#fff;font-size:28px;line-height:40px;
  display:flex;align-items:center;justify-content:center;cursor:pointer;
}
.pgal-nav.prev{left:10px}
.pgal-nav.next{right:10px}
.pgal-thumbs{display:flex;gap:10px;margin-top:10px;overflow:auto;padding-bottom:6px}
.pth{border:1px solid rgba(0,0,0,.08);background:#f0ede8;border-radius:12px;padding:0;overflow:hidden;flex:0 0 auto;cursor:pointer}
.pth img{display:block;width:64px;height:64px;object-fit:cover}

/* Lightbox */
.lbox {
  position: fixed;
  inset: 0;
  z-index: 99999;
  opacity: 0;
  pointer-events: none;
  transition: opacity .22s ease;
}
.lbox[aria-hidden="false"] {
  opacity: 1;
  pointer-events: auto;
}
.lbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.45);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.lbox-panel {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 56px 80px;
}
.lbox-panel img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 14px;
  display: block;
  box-shadow: 0 20px 60px rgba(0,0,0,.55);
  cursor: zoom-out;
  transform: scale(0.90);
  transition: transform .3s cubic-bezier(.34,1.56,.64,1);
}
.lbox[aria-hidden="false"] .lbox-panel img {
  transform: scale(1);
}
.lbox-close {
  position: absolute;
  top: 14px; right: 14px;
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,.22);
  background: rgba(0,0,0,.60);
  backdrop-filter: blur(6px);
  color: #fff;
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  transition: background .15s, border-color .15s;
}
.lbox-close:hover { background: rgba(0,0,0,.85); border-color: rgba(255,255,255,.50); }
.lbox-nav {
  position: absolute;
  top: 50%; transform: translateY(-50%);
  width: 48px; height: 48px;
  border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,.18);
  background: rgba(0,0,0,.55);
  backdrop-filter: blur(6px);
  color: #fff;
  font-size: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 2;
  transition: background .15s, border-color .15s;
}
.lbox-nav:hover { background: rgba(0,0,0,.82); border-color: rgba(255,255,255,.40); }
.lbox-nav.prev { left: 16px; }
.lbox-nav.next { right: 16px; }

@media (max-width: 600px) {
  .pth img { width: 56px; height: 56px; }
  .lbox-panel { padding: 50px 12px; }
  .lbox-nav { width: 42px; height: 42px; font-size: 22px; }
}
@media (max-width: 600px) {
  .pgal-main { width: min(66%, 280px); }
}

/* ===== ADMIN TABLE INPUT/SELECT THEME ===== */
.table input,
.table textarea,
.table select{
  background: #f2ede4;
  border: 1px solid rgba(0,0,0,.10);
  color: #1a1a1a;
  padding: 10px 12px;
  border-radius: 12px;
  font: inherit;
  outline: none;
}
.table input:focus, .table select:focus { border-color: #c9a83a; }

.table textarea{ resize: vertical; }

/* dropdown açılınca option listesi okunaklı olsun */
.table select option{
  color:#111;
  background:#fff;
}

/* ===== ADMIN: toplu seçim tikleri, aç/kapa anahtarı, ikon butonlar ===== */
.table input[type="checkbox"]{ accent-color: #c9a83a; width: 16px; height: 16px; }

.ios-switch{position:relative;display:inline-block;width:46px;height:26px;flex:0 0 auto}
.ios-switch input{opacity:0;width:0;height:0;position:absolute}
.ios-switch .ios-slider{position:absolute;inset:0;background:#d7d2c8;border-radius:999px;cursor:pointer;transition:background .15s}
.ios-switch .ios-slider::before{content:"";position:absolute;left:3px;top:3px;width:20px;height:20px;background:#fff;border-radius:50%;transition:transform .15s;box-shadow:0 1px 3px rgba(0,0,0,.25)}
.ios-switch input:checked + .ios-slider{background:#c9a83a}
.ios-switch input:checked + .ios-slider::before{transform:translateX(20px)}

.pe-link{font-size:13px;font-weight:700;color:#a07c1e;text-decoration:none;display:inline-flex;align-items:center;gap:6px}
.pe-link:hover{color:#c9a83a}
.pe-btn{width:36px;height:36px;padding:0;border-radius:10px;border:1px solid rgba(0,0,0,.10);background:#f2ede4;color:#1a1a1a;font-size:15px;font-weight:700;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;transition:background .12s,border-color .12s}
.pe-btn:hover{border-color:#c9a83a;background:rgba(201,168,58,.08)}
.pe-btn-save{border-color:rgba(32,160,92,.30);background:rgba(32,160,92,.10);color:#166534}
.pe-btn-save:hover{background:rgba(32,160,92,.18);border-color:rgba(32,160,92,.5)}
.pe-btn-danger{border-color:rgba(220,38,38,.22);background:rgba(220,38,38,.06);color:#b91c1c}
.pe-btn-danger:hover{background:rgba(220,38,38,.14);border-color:rgba(220,38,38,.4)}

/* ===================================== */
/* PRODUCT GALLERY + LIGHTBOX HARD FIX  */
/* ===================================== */

/* Thumbnail aktif border */
.pth.active{
  border-color: rgba(212,175,55,.65);
  box-shadow: 0 0 18px rgba(212,175,55,.25);
}

/* Thumbnail reset button style (button ise) */
.pth{
  appearance:none;
  background:#0b0f16;
}

/* Main image hover zoom cursor */
.pgal-main img{
  cursor: zoom-in;
  transition: transform .25s ease;
}
.pgal-main img:hover{
  transform: scale(1.02);
}

/* Backdrop overflow fix */

/* Gallery thumbs container scroll fix */
.pgal-thumbs{
  scrollbar-width: none;
}
.pgal-thumbs::-webkit-scrollbar{
  display:none;
}
.c-left{ display:flex; gap:10px; align-items:flex-start; }
.c-thumb{
  width:56px; height:56px; flex:0 0 56px;
  border-radius:12px;
  overflow:hidden;
  border:1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.04);
  cursor:pointer;
}
.c-thumb img{ width:100%; height:100%; object-fit:cover; display:block; }

/* qty stepper */
.c-qtyrow{ display:flex; align-items:center; gap:8px; }
.c-step{
  width:36px; height:36px;
  border-radius:50%;
  border:none;
  background:rgba(255,255,255,.10);
  color:#e9eef6;
  font-weight:700;
  cursor:pointer;
  display:flex; align-items:center; justify-content:center;
  transition:background .15s, color .15s;
}
.c-step:hover{ background:#c9a83a; color:white; }
.c-qty{
  width:84px; height:42px; text-align:center;
  -moz-appearance:textfield;
}
.c-qty::-webkit-outer-spin-button,
.c-qty::-webkit-inner-spin-button{ -webkit-appearance:none; margin:0; }

/* lightbox */
.clbox{ position:fixed; inset:0; z-index:80; display:none; }
.clbox[aria-hidden="false"]{ display:block; }
.clbox-backdrop{ position:absolute; inset:0; background:rgba(0,0,0,.75); }
.clbox-panel{
  position:absolute; left:50%; top:50%;
  transform:translate(-50%,-50%);
  width:min(92vw, 520px);
  border-radius:18px;
  overflow:hidden;
  border:1px solid rgba(255,255,255,.14);
  background:#0b1020;
}
.clbox-panel img{ width:100%; height:auto; display:block; }
.clbox-close{
  position:absolute; right:10px; top:10px;
  width:38px; height:38px;
  border-radius:12px;
  border:1px solid rgba(255,255,255,.18);
  background:rgba(0,0,0,.45);
  color:#fff; font-weight:1000;
  cursor:pointer;
}

/* ===== Topbar absolute overlays ===== */
.topbar-cart-count {
  position: absolute;
  top: -6px; right: -6px;
  min-width: 18px; height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  background: rgba(239,68,68,.92);
  color: #fff;
  font-size: 11px; font-weight: 900;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1.5px solid #080c14;
  line-height: 1;
}

/* ===== Compact catalog notice (replaces hero) ===== */
.catalog-notice {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  padding: 10px 14px;
  margin-bottom: 14px;
  border-radius: 14px;
  border: 1px solid rgba(212,175,55,.16);
  background: rgba(212,175,55,.05);
  font-size: 13.5px;
}
.cn-badge {
  background: rgba(212,175,55,.15);
  border: 1px solid rgba(212,175,55,.28);
  border-radius: 999px;
  padding: 3px 10px;
  font-size: 11px; font-weight: 800;
  letter-spacing: .05em;
  color: #d6b25e;
  white-space: nowrap;
}
.cn-hint { opacity: .65; font-size: 13px; }
@media (max-width: 560px) {
  .catalog-notice { gap: 8px; padding: 9px 12px; }
  .cn-hint { font-size: 12.5px; }
}

/* ===== Active category button ===== */
.catbtn--active {
  border-color: rgba(212,175,55,.50) !important;
  background: rgba(212,175,55,.12) !important;
  color: #d6b25e;
}

/* ===== Light Theme ===== */
body.theme-light {
  background: #f5f6f8;
  color: #111;
}
body.theme-light .topbar-cart-count { border-color: #f5f6f8; }
body.theme-light .catalog-notice {
  border-color: rgba(180,140,40,.20);
  background: rgba(180,140,40,.06);
}
body.theme-light .catbtn--active { color: #9a7a00; }
body.theme-light .card {
  background: #fff;
  border-color: rgba(0,0,0,.08);
}
body.theme-light .thumb { background: #ebebeb; }
body.theme-light .topbar {
  background: rgba(248,248,250,.95);
  border-bottom-color: rgba(0,0,0,.09);
}
body.theme-light .topbar::after {
  background: linear-gradient(to right, transparent, rgba(180,140,40,.40), transparent);
}
body.theme-light .hero-card {
  border-color: rgba(0,0,0,.08);
  background: linear-gradient(135deg, rgba(180,140,40,.10), rgba(35,50,120,.08));
}
body.theme-light .catsheet {
  background: rgba(248,248,250,.97);
  border-top-color: rgba(0,0,0,.10);
}
body.theme-light .catsheet-close {
  background: rgba(0,0,0,.06);
  border-color: rgba(0,0,0,.12);
  color: #111;
}
body.theme-light .catbtn {
  border-color: rgba(0,0,0,.09);
  background: rgba(0,0,0,.02);
}
body.theme-light .catbtn:hover {
  border-color: rgba(180,140,40,.35);
  background: rgba(180,140,40,.07);
}
body.theme-light .bottomnav {
  background:
    radial-gradient(700px 150px at 15% 0%, rgba(180,140,40,.08), transparent 55%),
    linear-gradient(to bottom, rgba(248,248,250,.70), rgba(248,248,250,.97));
  border-top-color: rgba(0,0,0,.09);
  box-shadow: 0 -8px 30px rgba(0,0,0,.10);
}
body.theme-light .bn-item {
  border-color: rgba(0,0,0,.09);
  background: rgba(0,0,0,.03);
}
body.theme-light .bn-item:hover {
  border-color: rgba(0,0,0,.16);
  background: rgba(0,0,0,.05);
}
body.theme-light .form input,
body.theme-light .form textarea,
body.theme-light .form select {
  background: #fff;
  border-color: rgba(0,0,0,.12);
  color: #111;
}
body.theme-light .toggle {
  border-color: rgba(0,0,0,.10);
  background: rgba(0,0,0,.04);
}
body.theme-light .desc {
  background: #fff;
  border-color: rgba(0,0,0,.08);
}
body.theme-light .table {
  border-color: rgba(0,0,0,.08);
}
body.theme-light .table th, body.theme-light .table td {
  border-bottom-color: rgba(0,0,0,.06);
}
body.theme-light .table th { background: rgba(0,0,0,.03); }

/* ===== Card Size: Compact ===== */
body.cards-compact .grid {
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 8px;
}
@media (min-width:720px) {
  body.cards-compact .grid {
    grid-template-columns: repeat(6, minmax(0,1fr));
  }
}
body.cards-compact .meta          { padding: 6px 8px 8px; }
body.cards-compact .name--compact { font-size: 11px; margin-top: 4px; }
body.cards-compact .price--strong { font-size: 12px; margin-top: 5px; }

/* ===== Card Size: Large ===== */
body.cards-large .grid {
  grid-template-columns: 1fr;
  gap: 16px;
}
@media (min-width:720px) {
  body.cards-large .grid {
    grid-template-columns: repeat(2, minmax(0,1fr));
  }
}
body.cards-large .thumb    { aspect-ratio: 4/3; }
body.cards-large .meta     { padding: 14px 16px 16px; }
body.cards-large .name--compact { font-size: 17px; }
body.cards-large .price--strong { font-size: 18px; }

/* ================================================
   CATALOG v2 — Premium Design
   ================================================ */

/* Marquee announcement band */
.marquee-band {
  background: #12100a;
  overflow: hidden;
  height: 32px;
  display: flex;
  align-items: center;
  position: relative;
}
.marquee-band::before,
.marquee-band::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 48px;
  z-index: 2;
  pointer-events: none;
}
.marquee-band::before { left: 0;  background: linear-gradient(to right, #12100a 40%, transparent); }
.marquee-band::after  { right: 0; background: linear-gradient(to left,  #12100a 40%, transparent); }

.marquee-track {
  display: flex;
  width: max-content;
  animation: marqueeScroll 38s linear infinite;
}
/* Yalnız gerçek imleci olan cihazlarda duraklat: dokunmatikte parmak :hover'ı
   tetikleyip ÜZERİNDE bıraktığı için şerit kalıcı donuyordu (2026-07-17). */
@media (hover: hover) and (pointer: fine) {
  .marquee-track:hover { animation-play-state: paused; }
}

.mq-set {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  white-space: nowrap;
}
.mq-text {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #d6b25e;
}
.mq-sep {
  display: inline-block;
  color: rgba(201,162,58,0.4);
  font-size: 9px;
  margin: 0 20px;
}

@keyframes marqueeScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ================================================
   Sosyal bar — sadece mobilde görünür (marquee altı, header üstü)
   ================================================ */
.social-bar { display: none; }
@media (max-width: 720px) {
  .social-bar {
    display: flex;
    justify-content: center;
    gap: 10px;
    padding: 10px 12px 4px;
  }
  .social-chip {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 7px 14px;
    border-radius: 999px;
    font-size: 12.5px;
    font-weight: 700;
    text-decoration: none;
    border: 1.5px solid rgba(0,0,0,.10);
    background: #fff;
    color: #1a1a1a;
    box-shadow: 0 1px 5px rgba(0,0,0,.05);
    transition: transform .12s, box-shadow .12s, border-color .12s;
  }
  .social-chip:active { transform: scale(.97); }
  .social-chip svg { flex-shrink: 0; }
  .social-chip--wa { color: #1f8f4e; border-color: rgba(31,143,78,.30); }
  .social-chip--ig { color: #c13584; border-color: rgba(193,53,132,.30); }
}
body.catalog-page.theme-dark .social-chip {
  background: rgba(255,255,255,.06);
  border-color: rgba(255,255,255,.12);
  color: #e8e3da;
  box-shadow: none;
}
body.catalog-page.theme-dark .social-chip--wa { color: #4ed884; border-color: rgba(78,216,132,.30); }
body.catalog-page.theme-dark .social-chip--ig { color: #f08ac8; border-color: rgba(240,138,200,.30); }

/* ================================================
   Floating social bubble
   ================================================ */
.social-float {
  position: fixed;
  right: 16px;
  bottom: 24px;
  z-index: 899;
  display: flex;
  flex-direction: column-reverse;
  align-items: flex-end;
  gap: 10px;
  pointer-events: none;
}
@media (max-width: 768px) {
  .social-float { bottom: calc(var(--bn-h) + var(--bn-safe) + 10px); }
  body:has(.product-sticky.visible) .social-float {
    bottom: calc(var(--bn-h) + var(--bn-safe) + 72px);
  }
}
.social-float > * { pointer-events: auto; }
.sf-toggle {
  width: 52px; height: 52px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #c9a83a;
  color: #0b0f16;
  box-shadow: 0 4px 18px rgba(0,0,0,.32);
  transition: transform .18s, box-shadow .18s;
  flex-shrink: 0;
}
.sf-toggle:hover { transform: scale(1.07); box-shadow: 0 6px 24px rgba(0,0,0,.40); }
.sf-toggle:active { transform: scale(.92); }
.sf-menu {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transition: max-height .28s cubic-bezier(.4,0,.2,1), opacity .22s ease;
  pointer-events: none;
}
.sf-menu.is-open {
  max-height: 180px;
  opacity: 1;
  pointer-events: auto;
}
.sf-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px 10px 12px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 3px 14px rgba(0,0,0,.28);
  transition: transform .14s, box-shadow .14s;
  white-space: nowrap;
  color: #fff;
}
.sf-btn:hover { transform: scale(1.04); box-shadow: 0 5px 20px rgba(0,0,0,.36); }
.sf-btn:active { transform: scale(.96); }
.sf-btn--wa { background: #25d366; }
.sf-btn--ig { background: linear-gradient(135deg,#f58529 0%,#dd2a7b 50%,#8134af 100%); }

/* Misafir sipariş takip ipucu — bubble'ın hemen üstünde, sade/abartısız bir
   "hint": opak siyah zemin + beyaz yazı, temayla yarışmayan tooltip görünümü.
   Yalnız mobilde gösterilir (webde katalog topbar'ındaki belirgin buton var). */
.sf-track-label {
  display: inline-flex;
  align-items: center;
  align-self: flex-end;
  margin-bottom: 8px;
  padding: 5px 10px;
  border-radius: 8px;
  background: rgba(0,0,0,.82);
  color: #fff;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: .2px;
  white-space: nowrap;
  cursor: pointer;
  box-shadow: 0 3px 12px rgba(0,0,0,.25);
  user-select: none;
}
.sf-track-label:hover { background: rgba(0,0,0,.92); }
/* Webde gizli — orada belirgin topbar butonu kullanılır (bubble'da gösterilmez). */
@media (min-width: 721px) { .sf-track-label { display: none; } }

/* New 3-column catalog topbar */
.topbar--catalog {
  background: #ffffff !important;
  border-bottom: 1px solid rgba(0,0,0,.07) !important;
  box-shadow: 0 1px 8px rgba(0,0,0,.05) !important; /* header_alternatives.html referansı */
  overflow: visible !important;
}
.topbar-catalog-grid {
  display: grid;
  grid-template-areas: "logo search actions";
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 14px;
  max-width: 1320px;
  margin: 0 auto;
  padding: 12px 18px;
}
.tc-left {
  grid-area: logo;
  display: flex;
  align-items: center;
  gap: 10px;
}
.tc-search { grid-area: search; }
.tc-search-inner {
  position: relative;
  display: flex;
  align-items: center;
}
.tc-search input[type="search"] {
  width: 100%;
  height: 44px;
  padding: 0 84px 0 16px;
  border-radius: 999px;
  border: 1.5px solid rgba(0,0,0,.09);
  background: #f2ede4; /* header_alternatives.html: krem dolgu */
  color: #1a1a1a;
  font-size: 14px;
  font-family: inherit;
  outline: none;
  transition: border-color .15s, background .15s;
  -webkit-appearance: none;
  appearance: none;
}
.tc-search input[type="search"]:focus {
  border-color: #c9a83a;
  background: #fff; /* odakta beyaza döner (referans tasarım) */
}
.tc-search input[type="search"]::placeholder { color: rgba(0,0,0,.38); }
.tc-search-btn {
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  width: 36px; height: 36px;
  border-radius: 999px;
  border: none;
  background: #c9a83a;
  color: #1a1a1a; /* referans tasarımda ikon koyu */
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: background .15s;
  flex-shrink: 0;
}
.tc-search-btn:hover { background: #b8942e; }
.tc-search-clear {
  position: absolute;
  right: 48px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  color: #999;
  font-size: 15px;
  padding: 4px 6px;
  line-height: 1;
}
.tc-search-clear:hover { color: #444; }

.tc-actions {
  grid-area: actions;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Misafir "Sipariş Takip" butonu (web katalog topbar — sepetin yanı). Belirgin
   olsun diye etiketli altın pill. Mobilde social float kullanıldığından gizli. */
.tc-track-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 40px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1.5px solid #c9a83a;
  background: rgba(201,168,58,.10);
  color: #9a7a00;
  font-size: 13.5px;
  font-weight: 800;
  white-space: nowrap;
  cursor: pointer;
  transition: background .14s, border-color .14s, color .14s;
}
.tc-track-btn:hover { background: #c9a83a; color: #16130f; border-color: #c9a83a; }
.tc-track-btn svg { flex: 0 0 auto; }
@media (max-width: 720px) {
  .tc-track-btn { display: none; }   /* mobilde social float'taki "Sipariş Takip" kullanılır */
}

/* Topbar icon buttons — header_alternatives.html: çerçevesiz/şeffaf, hover'da krem zemin */
.tc-icon-btn {
  position: relative;
  width: 42px; height: 42px;
  border-radius: 12px;
  border: none;
  background: transparent;
  color: #1a1a1a;
  display: inline-flex; align-items: center; justify-content: center;
  transition: background .15s, color .15s;
  text-decoration: none;
  flex-shrink: 0;
}
.tc-icon-btn:hover {
  background: #f2ede4;
  color: #b8922a;
}
.tc-icon-btn svg { width: 20px; height: 20px; display: block; }
.tc-cart { color: #1a1a1a; }

/* Cart badge on new topbar — referans tasarım: altın zemin, koyu yazı, köşede içeride */
.tc-cart .topbar-cart-count {
  position: absolute;
  top: 2px; right: 2px;
  min-width: 16px; height: 16px;
  padding: 0 4px;
  border-radius: 999px;
  background: #c9a83a;
  color: #1a1a1a;
  font-size: 10px; font-weight: 800;
  display: inline-flex; align-items: center; justify-content: center;
  border: none;
  line-height: 1;
  box-shadow: none;
}

/* Admin link inside catalog topbar */
.tc-admin-link {
  display: inline-flex;
  align-items: center;
  padding: 5px 12px;
  border-radius: 10px;
  border: 1.5px solid rgba(0,0,0,.08);
  background: #f2ede4;
  color: #555;
  font-size: 12px; font-weight: 700;
  white-space: nowrap;
  text-decoration: none;
  transition: all .15s;
}
.tc-admin-link:hover { border-color: #c9a83a; background: rgba(201,168,58,.10); color: #111; }

/* Catalog page background */
body.catalog-page { background: #f7f4ef; color: #1a1a1a; }
body.catalog-page.theme-dark { background: #080c14; color: #fff; }

/* Dark theme overrides for new topbar */
body.catalog-page.theme-dark .topbar--catalog {
  background: rgba(8,12,20,.96) !important;
  border-bottom-color: rgba(255,255,255,.08) !important;
  box-shadow: 0 2px 14px rgba(0,0,0,.40) !important;
}
body.catalog-page.theme-dark .tc-search input[type="search"] {
  background: rgba(255,255,255,.06);
  border-color: rgba(255,255,255,.14);
  color: #f0f0f0;
}
body.catalog-page.theme-dark .tc-search input[type="search"]::placeholder { color: rgba(255,255,255,.38); }
body.catalog-page.theme-dark .tc-search input[type="search"]:focus {
  border-color: rgba(212,175,55,.55);
  box-shadow: 0 0 0 3px rgba(212,175,55,.12);
}
body.catalog-page.theme-dark .tc-icon-btn {
  background: rgba(255,255,255,.05);
  border-color: rgba(255,255,255,.10);
  color: rgba(255,255,255,.88);
}
body.catalog-page.theme-dark .tc-icon-btn:hover {
  border-color: rgba(212,175,55,.40);
  background: rgba(212,175,55,.08);
}
body.catalog-page.theme-dark .tc-cart .topbar-cart-count { border-color: #080c14; }
body.catalog-page.theme-dark .tc-admin-link {
  background: rgba(255,255,255,.04);
  border-color: rgba(255,255,255,.10);
  color: rgba(255,255,255,.70);
}
body.catalog-page.theme-dark .tc-admin-link:hover { border-color: rgba(212,175,55,.35); color: #fff; }
body.catalog-page.theme-dark .btn.secondary {
  background: rgba(255,255,255,.06);
  color: #fff;
  border-color: rgba(255,255,255,.14);
}
body.catalog-page.theme-dark .btn.secondary:hover {
  border-color: rgba(212,175,55,.45);
  background: rgba(212,175,55,.10);
  color: #fff;
}

/* Light theme card & UI improvements */
body.catalog-page.theme-light .card {
  background: #ffffff;
  border-color: rgba(0,0,0,.07);
  box-shadow: 0 2px 10px rgba(0,0,0,.05);
  transition: transform .14s ease, box-shadow .14s ease;
}
body.catalog-page.theme-light .card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 22px rgba(0,0,0,.10);
}
body.catalog-page.theme-light .thumb { background: #f0ede8; }
body.catalog-page.theme-light .meta { color: #1a1a1a; }
body.catalog-page.theme-light .name--compact { color: #1a1a1a; }
body.catalog-page.theme-light .price--strong { color: #1a1a1a; }
body.catalog-page.theme-dark .name--compact { color: #e8e3da; }
body.catalog-page.theme-dark .price--strong { color: #f0ebe0; }
body.catalog-page.theme-dark .price-na { color: rgba(255,255,255,.38); }
body.catalog-page.theme-light .badge {
  background: rgba(0,0,0,.28);
  border-color: rgba(255,255,255,.25);
}
body.catalog-page.theme-light .list-note { color: #666; }
body.catalog-page.theme-light .catalog-notice {
  border-color: rgba(180,140,40,.22);
  background: rgba(180,140,40,.07);
  color: #4a3800;
}
body.catalog-page.theme-light .catalog-notice .cn-badge {
  background: rgba(180,140,40,.15);
  border-color: rgba(180,140,40,.28);
  color: #7a5c00;
}
body.catalog-page.theme-light .cn-hint { color: #7a6030; opacity: 1; }
body.catalog-page.theme-light .catsheet {
  background: rgba(250,248,244,.98);
  border-top-color: rgba(0,0,0,.09);
  color: #1a1a1a;
}
body.catalog-page.theme-light .catsheet-title { color: #1a1a1a; }
body.catalog-page.theme-light .catsheet-close {
  background: rgba(0,0,0,.06);
  border-color: rgba(0,0,0,.12);
  color: #111;
}
body.catalog-page.theme-light .catbtn {
  border-color: rgba(0,0,0,.09);
  background: rgba(0,0,0,.03);
  color: #1a1a1a;
}
body.catalog-page.theme-light .catbtn:hover {
  border-color: rgba(180,140,40,.35);
  background: rgba(180,140,40,.07);
}
body.catalog-page.theme-light .catbtn--active {
  border-color: rgba(180,140,40,.55) !important;
  background: rgba(180,140,40,.12) !important;
  color: #7a5c00 !important;
}
body.catalog-page.theme-light .catsheet input[type="search"] {
  background: #f0ede8 !important;
  border-color: rgba(0,0,0,.12) !important;
  color: #1a1a1a !important;
}
body.catalog-page.theme-light .bottomnav {
  background: #ffffff;
  border-top: 1.5px solid rgba(0,0,0,.07);
  box-shadow: 0 -2px 16px rgba(0,0,0,.06);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
body.catalog-page.theme-light .bn-item {
  border: none;
  background: none;
  color: #999;
  gap: 4px;
}
body.catalog-page.theme-light .bn-item:hover {
  border: none;
  background: rgba(0,0,0,.04);
  transform: none;
}
body.catalog-page.theme-light .bn-cart-lbl { color: #c9a83a; }
body.catalog-page.theme-light .bn-label { color: inherit; }
body.catalog-page.theme-light .infinite-sentinel { color: #888; }

/* Mobile: 2-row topbar (logo+actions / search) */
@media (max-width: 720px) {
  .topbar-catalog-grid {
    grid-template-areas: "logo logo" "search search";
    grid-template-columns: 1fr;
    gap: 9px;
    padding: 10px 12px;
    position: relative;
  }
  .tc-left {
    width: 100%;
    justify-content: center;
  }
  /* Mobil: tc-actions tamamen gizle — alt nav tüm ikonları karşılar */
  .tc-actions { display: none !important; }
  .tc-icon-btn { width: 38px; height: 38px; border-radius: 10px; }
  .tc-search input[type="search"] { height: 40px; }
  .tc-search-btn { width: 32px; height: 32px; right: 5px; }
  .tc-search-clear { right: 44px; }
  .tc-admin-link { display: none; }
}

/* ================================================
   CATALOG v2 — Narrow topbar (product/cart pages)
   ================================================ */

/* Narrow 2-col grid — no search area */
.topbar-catalog-grid--narrow {
  grid-template-areas: "logo actions";
  grid-template-columns: 1fr auto;
}
@media (max-width: 720px) {
  .topbar-catalog-grid--narrow {
    grid-template-areas: "logo";
    grid-template-columns: 1fr;
    padding: 10px 12px;
    position: relative;
  }
  /* Geri ok sol köşede sabit (akıştan çıkar), logo header'da tam ortada kalsın */
  .topbar-catalog-grid--narrow .tc-left {
    position: relative;
    width: 100%;
    justify-content: center;
  }
  .topbar-catalog-grid--narrow .tc-left .tc-back-btn {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
  }
  .topbar-catalog-grid--narrow .tc-actions {
    position: absolute;
    top: 50%;
    right: 12px;
    transform: translateY(-50%);
  }
}

/* Logo + arama gridi (sepet, favoriler) — actions sütunu yok */
.topbar-catalog-grid--search {
  grid-template-areas: "logo search actions";
  grid-template-columns: auto 1fr auto;
}
@media (max-width: 720px) {
  /* Mobilde 2 satır: üstte logo + hesap ikonu, altta arama (tam genişlik).
     Geri ok sol köşede sabit kalır, logonun ortasını bozmaz. */
  .topbar-catalog-grid--search {
    grid-template-areas: "logo actions" "search search";
    grid-template-columns: 1fr auto;
    padding: 10px 12px;
  }
  /* tc-left = logo satırı; geri ok bu satıra göre dikey ortalanır (logo boyu
     değişse de doğru hizada kalır), sol köşede sabit durur. */
  .topbar-catalog-grid--search .tc-left {
    position: relative;
    width: 100%;
    justify-content: center;
  }
  /* --search sayfalarında geri oku artık arama satırının içinde (sol tarafında);
     tc-left'te bir ok kalırsa (yedek) yine sol köşeye sabitlenir. */
  .topbar-catalog-grid--search .tc-left .tc-back-btn {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
  }
}

/* Arama çubuğu OLMAYAN default grid sayfaları (login/kayıt/sipariş takip vb.):
   geri oku logo satırının sol köşesinde, logo ortada kalsın. */
@media (max-width: 720px) {
  .topbar-catalog-grid .tc-left { position: relative; }
  .topbar-catalog-grid .tc-left .tc-back-btn {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
  }
}

/* Back button — ÇERÇEVESİZ, yalnızca geri oku (icon-only).
   Müşteri akışındaki tüm sayfalarda (anasayfa hariç) görünür; webview/app'te
   tarayıcı geri tuşu olmadığı için JS ile history.back() çalışır (data-back). */
.tc-back-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: none;
  background: none;
  padding: 0;
  border-radius: 8px;
  color: #5a5a5a;
  flex-shrink: 0;
  cursor: pointer;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
  transition: color .15s, background .15s;
}
.tc-back-btn:hover { color: #111; background: rgba(0,0,0,.05); }
.tc-back-btn:active { background: rgba(0,0,0,.09); }
body.catalog-page.theme-dark .tc-back-btn { color: rgba(255,255,255,.78); }
body.catalog-page.theme-dark .tc-back-btn:hover { color: #fff; background: rgba(255,255,255,.08); }

/* Geri oku arama çubuğunun SOLUNDA (arama barı olan sayfalar) — mobil+masaüstü
   aynı satırda; ek mutlak konumlandırma gerektirmez. */
.tc-search { display: flex; align-items: center; gap: 4px; }
.tc-search > .tc-search-inner { flex: 1 1 auto; min-width: 0; }
.tc-search > .tc-back-btn { margin-left: -4px; }

/* ── Sayfa geçiş animasyonu — yalnız VARIŞTA nazik beliriş (fade-in) ──────────
   Çıkıştaki kayma efekti kaldırıldı: geri gidilen sayfa önyüklü olmadığından
   (bfcache yok → tam reload) kayma boş alanı açığa çıkarıp kötü görünüyordu.
   Sadece varışta hafif beliriş kaldı. prefers-reduced-motion'a saygılı.
   ÖNEMLİ: keyframe SADECE opacity animasyonlamalı — `body`'ye transform
   uygulamak (translateY vb.) onu position:fixed çocuklar için containing block'a
   çevirir; o zaman .catsheet/scroll-top/social-float/bottomnav viewport yerine
   tüm-sayfa-yüksekliğine göre konumlanır (catsheet'in translateY(110%) gizlemesi
   bozulup panel ekranda kalır). Bu yüzden transform burada KULLANILMAZ. */
@media (prefers-reduced-motion: no-preference) {
  body { animation: tk-page-in .26s ease both; }
  /* bfcache'ten geri gelişte CSS animasyonu kendiliğinden oynamaz → JS sınıfı oynatır */
  body.tk-page-in-replay { animation: tk-page-in .26s ease both; }
  @keyframes tk-page-in { from { opacity: 0; } }
}

/* Mobile logo always left-aligned in new topbar */
.topbar-catalog-grid .tc-left .brand { text-align: left !important; }

/* ================================================
   Bottom nav active state
   ================================================ */
.bn-item.is-active {
  border-color: rgba(201,168,58,.45) !important;
  background: rgba(201,168,58,.08) !important;
  color: #c9a83a !important;
}
.bn-item.is-active .bn-ico { opacity: 1; }
.bn-item.is-active .bn-label { opacity: 1; font-weight: 900; }
body.catalog-page.theme-light .bn-item.is-active {
  border-color: rgba(180,140,40,.45) !important;
  background: rgba(180,140,40,.10) !important;
  color: #8a6400 !important;
}
body.catalog-page.theme-light .bn-cart-wrap.is-active {
  box-shadow: 0 8px 28px rgba(201,168,58,.70), 0 2px 8px rgba(0,0,0,.18);
}

/* ================================================
   Light theme — cart page element overrides
   ================================================ */
body.catalog-page.theme-light .citem {
  border: 1px solid rgba(0,0,0,.08) !important;
  background: #ffffff !important;
  box-shadow: 0 1px 6px rgba(0,0,0,.05);
}
body.catalog-page.theme-light .c-thumb {
  border-color: rgba(0,0,0,.07) !important;
  background: #f0ede8 !important;
}
body.catalog-page.theme-light .c-step {
  background: #f5f2ed !important;
  border-color: rgba(0,0,0,.10) !important;
  color: #1a1a1a !important;
}
body.catalog-page.theme-light .c-qty {
  background: #f5f2ed !important;
  border-color: rgba(0,0,0,.10) !important;
  color: #1a1a1a !important;
}
body.catalog-page.theme-light .cart-clear-link:hover {
  background: rgba(180,40,40,.08) !important;
  color: #b42828 !important;
}
body.catalog-page.theme-light .ce-card {
  border-color: rgba(0,0,0,.08) !important;
  background: #ffffff !important;
  box-shadow: 0 1px 6px rgba(0,0,0,.05);
}
body.catalog-page.theme-light .ce-thumb { background: #f0ede8 !important; }
body.catalog-page.theme-light .ce-name { color: #1a1a1a; }
body.catalog-page.theme-light .cart-extra-head { color: #1a1a1a; }
body.catalog-page.theme-light .cart-summary {
  border-color: rgba(0,0,0,.08) !important;
  background: #ffffff !important;
  box-shadow: 0 1px 6px rgba(0,0,0,.05);
}
body.catalog-page.theme-light .minbox {
  border-color: rgba(0,0,0,.07) !important;
  background: #f5f2ed !important;
}
body.catalog-page.theme-light .catname { color: #1a1a1a; }
body.catalog-page.theme-light .catsubtotal { color: #555; }
body.catalog-page.theme-light .c-name { color: #1a1a1a; }
.c-variant { font-size: 12px; font-weight: 600; opacity: .7; margin: 2px 0; }
body.catalog-page.theme-light .c-variant { color: #8a6c10; }
body.catalog-page.theme-light .c-sku { color: #888; }
body.catalog-page.theme-light .c-unit { color: #1a1a1a; }
body.catalog-page.theme-light .c-line { color: #1a1a1a; }
body.catalog-page.theme-light .hero-card {
  background: rgba(180,140,40,.07);
  border-color: rgba(180,140,40,.18);
  box-shadow: 0 2px 12px rgba(0,0,0,.06);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
body.catalog-page.theme-light .hero-card::after { opacity: .3; }
body.catalog-page.theme-light .hero-title { color: #1a1a1a; }
body.catalog-page.theme-light .hero-sub { color: #555; }
body.catalog-page.theme-light .clbox-panel {
  background: #ffffff !important;
  border-color: rgba(0,0,0,.10) !important;
}
body.catalog-page.theme-light .clbox-close {
  background: rgba(0,0,0,.08) !important;
  border-color: rgba(0,0,0,.14) !important;
  color: #1a1a1a !important;
}
body.catalog-page.theme-light .cart-bulkbar {
  border-color: rgba(0,0,0,.08) !important;
  background: rgba(255,255,255,.92) !important;
  box-shadow: 0 4px 18px rgba(0,0,0,.08);
}
body.catalog-page.theme-light .cart-bulkbar-info { color: #1a1a1a; }
body.catalog-page.theme-light .bb-btn {
  background: #f5f2ed !important;
  border-color: rgba(0,0,0,.10) !important;
  color: #1a1a1a !important;
}
body.catalog-page.theme-light .bb-btn--danger { background: rgba(180,40,40,.06) !important; color: #b42828 !important; border-color: rgba(180,40,40,.25) !important; }
body.catalog-page.theme-light .bb-btn--danger:hover { background: rgba(180,40,40,.12) !important; }
body.catalog-page.theme-light .alarm-remove {
  background: rgba(255,255,255,.85) !important;
  border-color: rgba(0,0,0,.10) !important;
  color: #555 !important;
}
body.catalog-page.theme-light .alarm-remove:hover {
  background: rgba(180,40,40,.08) !important;
  border-color: rgba(180,40,40,.3) !important;
  color: #b42828 !important;
}
body.catalog-page.theme-light .alarm-status { color: #555; }

/* ================================================
   Light theme — product page element overrides
   ================================================ */
body.catalog-page.theme-light .product-card { background: #ffffff; }
body.catalog-page.theme-light .pgal-main { background: #f5f2ed; }
body.catalog-page.theme-light .noimg.big { background-color: #f5f2ed; }
body.catalog-page.theme-light .pth {
  border-color: rgba(0,0,0,.08);
  background: #f5f2ed;
}
body.catalog-page.theme-light .pth.active { border-color: #c9a83a !important; }
body.catalog-page.theme-light .product-title { color: #1a1a1a; }
body.catalog-page.theme-light .product-price { color: #1a1a1a; }
body.catalog-page.theme-light .product-sub { color: #777; }
body.catalog-page.theme-light .product-detail-panel { background: #fff; border-color: rgba(0,0,0,.08); }
body.catalog-page.theme-light .pill {
  background: rgba(0,0,0,.06);
  border-color: rgba(0,0,0,.10);
  color: #444;
}
body.catalog-page.theme-light .lbox-close {
  background: rgba(0,0,0,.60) !important;
  border-color: rgba(255,255,255,.22) !important;
  color: #fff !important;
}
body.catalog-page.theme-light .pgal-nav {
  background: rgba(255,255,255,.92);
  border-color: rgba(0,0,0,.10);
  color: #1a1a1a;
}
body.catalog-page.theme-light .similar-title { color: #1a1a1a; }
body.catalog-page.theme-light .similar-sub { color: #777; }

/* ================================================
   Dark catalog theme — restore dark for global elements
   (global defaults flipped to light, bring back dark for catalog dark theme)
   ================================================ */
body.catalog-page.theme-dark .card {
  background: #0f1724;
  border-color: rgba(255,255,255,.08);
}
body.catalog-page.theme-dark .thumb { background: #0b1220; }
body.catalog-page.theme-dark .meta { color: #fff; }
body.catalog-page.theme-dark .name { color: #fff; }
body.catalog-page.theme-dark .sku { color: rgba(255,255,255,.65); }
body.catalog-page.theme-dark .price { color: #fff; }
body.catalog-page.theme-dark .badge {
  background: rgba(0,0,0,.35);
  border-color: rgba(255,255,255,.14);
  color: #fff;
}
body.catalog-page.theme-dark .noimg { color: rgba(255,255,255,.6); }
body.catalog-page.theme-dark .noimg.big { border-color: rgba(255,255,255,.18); }
body.catalog-page.theme-dark .product-card {
  background: rgba(255,255,255,.04);
  border-color: rgba(255,255,255,.10);
}
body.catalog-page.theme-dark .product-detail-panel {
  background: rgba(255,255,255,.04);
  border-color: rgba(255,255,255,.08);
}
body.catalog-page.theme-dark .pill {
  background: rgba(255,255,255,.06);
  border-color: rgba(255,255,255,.12);
  color: rgba(255,255,255,.85);
}
body.catalog-page.theme-dark .sthumb { background: rgba(0,0,0,.14); }
body.catalog-page.theme-dark .pth { background: #0b0f16; border-color: rgba(255,255,255,.10); }

/* ================================================
   Admin dashboard inline overrides (via global CSS, avoids editing each file)
   ================================================ */
.bulkbar {
  background: #f2ede4 !important;
  border: 1px solid rgba(0,0,0,.09) !important;
  color: #1a1a1a !important;
}
.bulkbar .sep { background: rgba(0,0,0,.10) !important; }
.bulkbar .small { color: #555 !important; }
.thumbImg { border-color: rgba(0,0,0,.10) !important; }
td.td-actions, th.td-actions {
  background: #f2ede4 !important;
}
td.td-actions::before, th.td-actions::before {
  background: linear-gradient(to left, #f2ede4, transparent) !important;
}

/* ================================================
   Vitrin Sections (showcase)
   ================================================ */
.vitrin-section {
  margin: 0 0 28px;
  padding-top: 20px;
  border-top: 2px solid rgba(0,0,0,.08);
}
.vitrin-section:first-child {
  border-top: none;
  padding-top: 0;
}
.vitrin-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
  padding: 0 2px;
}
.vitrin-label { flex: 1; min-width: 0; }
.vitrin-title {
  font-size: 20px;
  font-weight: 900;
  letter-spacing: -.02em;
}
.vitrin-sub {
  font-size: 12px;
  opacity: .52;
  margin-top: 3px;
}
.vitrin-more {
  font-size: 13px;
  font-weight: 600;
  color: #c9a83a;
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
  opacity: .9;
  transition: opacity .15s;
}
.vitrin-more:hover { opacity: 1; }

.vitrin-row {
  display: flex;
  align-items: flex-start;
  overflow-x: auto;
  overflow-y: hidden;
  gap: 10px;
  padding: 4px 2px 14px;
  scrollbar-width: none;
  /* iOS Safari'de yumuşak (momentum) kaydırma için. */
  -webkit-overflow-scrolling: touch;
}
.vitrin-row::-webkit-scrollbar { display: none; }
/* .card'daki content-visibility:auto + contain-intrinsic-size:320x420, ekran
   dışı kartlar için 420px'lik bir yer tutucu yükseklik kullanıyor. Bu satırda
   kart gerçek yüksekliği ~308px iken, henüz görünüme yaklaşmamış kartlar
   420px yer tutucuyla ölçülüyor ve align-items:flex-start nedeniyle satırın
   yüksekliğini 420px'e kadar şişiriyor (kaydırınca kart render olup düzeliyor).
   Bu satırlarda sadece 8'er kart var; içerik görünürlüğü optimizasyonuna
   gerek yok — kapatıp gerçek yüksekliği kullanıyoruz. */
.vitrin-row .card--b2b {
  content-visibility: visible;
  contain-intrinsic-size: auto;
  flex: 0 0 180px;
  width: 180px;
  min-width: 0;
}
/* Kart genişliği sabit olduğu için thumb yüksekliğini de sabitliyoruz (2:3).
   Böylece lazy görsel henüz yüklenmeden de doğru yükseklik rezerve edilir;
   ekran dışındaki son kart yüklenince satır yüksekliği DEĞİŞMEZ (boşluk fix). */
.vitrin-row .card--b2b .thumb {
  height: 270px;
  aspect-ratio: auto;
}
@media (max-width: 600px) {
  .vitrin-section { margin-bottom: 24px; }
  .vitrin-row .card--b2b {
    flex: 0 0 148px;
    width: 148px;
  }
  .vitrin-row .card--b2b .thumb { height: 222px; }
}

.vitrin-divider {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 4px 0 20px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(0,0,0,.38);
}
.vitrin-divider::before,
.vitrin-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: rgba(0,0,0,.10);
}

/* ══════════════════════════════════════════════════
   VİTRİN E+D — Sol sidebar + sağda bento grid
══════════════════════════════════════════════════ */
.vitrin-ed {
  display: flex;
  gap: 0;
  align-items: flex-start;
  margin: 0 -16px; /* container padding'ini iptal et */
}
.ved-sidebar {
  width: 190px;
  flex-shrink: 0;
  position: sticky;
  top: var(--topbar-h, 68px);
  max-height: calc(100vh - var(--topbar-h, 68px));
  overflow-y: auto;
  padding: 16px 0 40px;
  border-right: 1px solid rgba(0,0,0,.07);
  scrollbar-width: none;
}
.ved-sidebar::-webkit-scrollbar { display: none; }
.ved-sidebar-head {
  font-size: 9.5px; font-weight: 900; letter-spacing: .15em;
  text-transform: uppercase; color: rgba(0,0,0,.30);
  padding: 0 16px 10px;
}
.ved-cat-item {
  display: flex; align-items: center; gap: 0;
  padding: 9px 16px; font-size: 13px; font-weight: 500; color: #3a3020;
  text-decoration: none; border: 0; border-left: 3px solid transparent;
  background: transparent; width: 100%; text-align: left; cursor: pointer;
  font-family: inherit; transition: background .12s;
}
.ved-cat-item:hover { background: rgba(201,168,58,.06); }
.ved-cat-item.is-active {
  border-left-color: #c9a83a;
  background: rgba(201,168,58,.10); color: #1a1a1a; font-weight: 600;
}
.ved-cat-count {
  font-size: 11px; font-weight: 700; color: rgba(0,0,0,.32);
  background: rgba(0,0,0,.06); border-radius: 999px; padding: 2px 8px; flex-shrink: 0;
}
.ved-cat-item.is-active .ved-cat-count { background: rgba(201,168,58,.22); color: #7a6218; }
.ved-cat-icon { font-size: 15px; flex-shrink: 0; line-height: 1; width: 24px; text-align: center; margin-right: 6px; }
.ved-cat-name { flex: 1; min-width: 0; }
.ved-sidebar-div { height: 1px; background: rgba(0,0,0,.07); margin: 8px 16px; }
/* Alt kategori girintisi sol nav'da */
.ved-cat-item--child { padding-left: 36px; font-size: 12px; font-weight: 400; color: #5a4e3a; }
.ved-cat-item--child::before { content: '└'; margin-right: 5px; color: #ccc; font-size: 11px; }
.ved-cat-item--child.is-active { color: #7a6010; font-weight: 600; }
/* Ana kategori label (ürünü olmayan parent) */
.ved-cat-label {
  display: flex; align-items: center; gap: 0;
  padding: 9px 16px; font-size: 13px; font-weight: 700; color: #3a3020;
  border-left: 3px solid transparent;
}

/* Sağ içerik alanı */
.ved-content { flex: 1; min-width: 0; padding: 20px 20px 40px; }

/* Ayraç 2 */
.ved-ayrac2 { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 16px; scroll-margin-top: 16px; }
.ved-ayrac2-num { font-size: 44px; font-weight: 900; color: rgba(201,168,58,.16); line-height: 1; letter-spacing: -.02em; flex-shrink: 0; }
.ved-ayrac2-right { flex: 1; padding-top: 6px; border-top: 2px solid #c9a83a; }
.ved-ayrac2-name { font-size: 14px; font-weight: 900; letter-spacing: .06em; text-transform: uppercase; }
.ved-ayrac2-sub { font-size: 11px; color: rgba(0,0,0,.38); font-weight: 600; margin-top: 3px; }

/* Bento grid */
.ved-bento {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-bottom: 28px;
}
/* Featured kart (ilk ürün) — 2×2 */
.ved-feat {
  grid-column: span 2; grid-row: span 2;
  position: relative; border-radius: 13px; overflow: hidden;
  background: linear-gradient(145deg, #2c2010, #4a3820);
  display: flex; flex-direction: column; justify-content: flex-end;
  text-decoration: none; color: inherit; min-height: 260px;
}
.ved-feat::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(8,6,2,.88) 0%, rgba(8,6,2,.08) 55%, transparent 100%);
}
.ved-feat img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ved-feat-info { position: relative; z-index: 1; padding: 16px; color: #fff; }
.ved-feat-tag { font-size: 9px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; background: #c9a83a; color: #1a1a1a; border-radius: 5px; padding: 3px 8px; display: inline-block; margin-bottom: 8px; }
.ved-feat-name { font-size: 16px; font-weight: 800; line-height: 1.25; }
.ved-feat-price { font-size: 13px; font-weight: 700; opacity: .85; margin-top: 5px; }
.ved-feat-stars { margin-top: 5px; font-size: 11px; color: #f0d98c; letter-spacing: .5px; }
/* Normal kartlar (2, 3, 4...) */
.ved-bento .card--b2b {
  content-visibility: visible; contain-intrinsic-size: auto;
  flex: none; width: auto; min-width: 0;
}
.ved-bento .card--b2b .thumb { aspect-ratio: 2/3; height: auto; }
/* Tümünü Gör bağlantısı */
.ved-more {
  grid-column: span 4;
  border: 1.5px dashed rgba(0,0,0,.14); border-radius: 11px;
  display: flex; align-items: center; justify-content: center;
  padding: 13px; font-size: 13px; font-weight: 800; color: #b8922a;
  text-decoration: none; transition: background .12s;
}
.ved-more:hover { background: rgba(201,168,58,.06); }

/* Kampanya banner */
.ved-banner {
  grid-column: span 4;
  background: linear-gradient(90deg, #1a1208, #3a2c18);
  border-radius: 13px; display: flex; align-items: center;
  padding: 0 20px; min-height: 78px; text-decoration: none; color: #fff; gap: 16px;
}
.ved-banner-kicker { font-size: 10px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: #c9a83a; }
.ved-banner-title { font-size: 15px; font-weight: 900; margin-top: 3px; }
.ved-banner-cta { margin-left: auto; background: #c9a83a; color: #1a1a1a; font-size: 12px; font-weight: 800; border: 0; border-radius: 999px; padding: 8px 16px; cursor: pointer; white-space: nowrap; font-family: inherit; flex-shrink: 0; }

/* Vitrin E+D dark/light theme uyumu */
body.catalog-page.theme-light .ved-sidebar { background: #faf7f2; }
body.catalog-page.theme-light .ved-cat-item { color: #3a3020; }
body.catalog-page.theme-dark  .ved-sidebar { background: rgba(255,255,255,.02); border-right-color: rgba(255,255,255,.07); }
body.catalog-page.theme-dark  .ved-cat-item { color: #c8bfaf; }
body.catalog-page.theme-dark  .ved-cat-item.is-active { color: #f0d98c; }
body.catalog-page.theme-dark  .ved-sidebar-head { color: rgba(255,255,255,.28); }
body.catalog-page.theme-dark  .ved-sidebar-div { background: rgba(255,255,255,.07); }
body.catalog-page.theme-dark  .ved-ayrac2-num { color: rgba(201,168,58,.14); }
body.catalog-page.theme-dark  .ved-ayrac2-sub { color: rgba(255,255,255,.35); }
body.catalog-page.theme-dark  .ved-more { border-color: rgba(255,255,255,.12); color: #c9a83a; }
body.catalog-page.theme-dark  .ved-more:hover { background: rgba(201,168,58,.06); }
body.catalog-page.theme-dark  .ved-cat-count { background: rgba(255,255,255,.07); color: rgba(255,255,255,.35); }
body.catalog-page.theme-dark  .ved-cat-item.is-active .ved-cat-count { background: rgba(201,168,58,.20); color: #c9a83a; }

/* Mobil: sidebar gizle, bento 2 sütun yap */
@media (max-width: 720px) {
  .vitrin-ed { margin: 0; }
  .ved-sidebar { display: none; }
  .ved-content { padding: 12px 0 32px; }
  .ved-bento { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .ved-feat { grid-column: span 2; grid-row: span 1; min-height: 160px; }
  .ved-more { grid-column: span 2; }
  .ved-banner { grid-column: span 2; flex-direction: column; align-items: flex-start; padding: 14px 16px; min-height: auto; gap: 10px; }
  .ved-banner-cta { margin-left: 0; }
  .ved-ayrac2-num { font-size: 30px; }
  .ved-ayrac2-name { font-size: 12.5px; }
}

body.catalog-page.theme-dark .vitrin-title  { color: #e8e3da; }
body.catalog-page.theme-dark .vitrin-sub    { color: rgba(232,227,218,.50); }
body.catalog-page.theme-dark .vitrin-divider { color: rgba(255,255,255,.30); }
body.catalog-page.theme-dark .vitrin-divider::before,
body.catalog-page.theme-dark .vitrin-divider::after { background: rgba(255,255,255,.10); }
body.catalog-page.theme-light .vitrin-title { color: #1a1a1a; }
body.catalog-page.theme-light .vitrin-sub   { color: rgba(0,0,0,.50); }

/* ================================================
   Toast notifications
   ================================================ */
.toast-container {
  position: fixed;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  pointer-events: none;
}
.toast {
  background: #1a1a1a;
  color: #fff;
  padding: 10px 20px;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 700;
  box-shadow: 0 4px 20px rgba(0,0,0,.22);
  opacity: 0;
  transform: translateY(-10px) scale(.95);
  transition: opacity .18s ease, transform .18s ease;
  white-space: nowrap;
}
.toast.show {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* ================================================
   Animated scroll dots (infinite scroll)
   ================================================ */
.scroll-dots {
  display: flex;
  gap: 5px;
  align-items: center;
  justify-content: center;
  padding: 16px 0;
}
.scroll-dots span {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: currentColor;
  opacity: .3;
  animation: sdot .9s infinite ease-in-out;
}
.scroll-dots span:nth-child(2) { animation-delay: .15s; }
.scroll-dots span:nth-child(3) { animation-delay: .30s; }
@keyframes sdot {
  0%, 80%, 100% { opacity: .2; transform: scale(.8); }
  40%           { opacity: .9; transform: scale(1.1); }
}

/* ================================================
   Empty states (no results + empty cart)
   ================================================ */
.empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 48px 24px;
  gap: 12px;
  color: inherit;
}
.empty-state svg { opacity: .20; }
.empty-state-title { font-size: 17px; font-weight: 900; margin: 0; }
.empty-state-sub { font-size: 13.5px; opacity: .58; margin: 0; max-width: 260px; line-height: 1.5; }

.cart-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 52px 24px;
  gap: 14px;
}
.cart-empty svg { opacity: .18; }
.cart-empty-title { font-size: 18px; font-weight: 900; margin: 0; }
.cart-empty-sub { font-size: 13.5px; opacity: .58; margin: 0; line-height: 1.5; max-width: 260px; }

/* ================================================
   Topbar scroll shrink — header sayfayla birlikte
   normal akışta kayar (gizlenmez), sadece scroll
   sırasında hafif inceliyor.
   ================================================ */
.topbar--catalog {
  transition: padding .18s ease, box-shadow .18s ease;
}
.topbar--catalog.is-scrolled {
  padding-top: 7px !important;
  padding-bottom: 7px !important;
}

/* ================================================
   Masaüstü kategori şeridi (subnav) — üst kategoriler
   yan yana sade linkler; alt kategorisi olanlarda
   hover/focus ile küçük açılır liste. Mobilde gizli.
   ================================================ */
.subnav { display: none; }

@media (min-width: 769px) {
  /* Header'a yapışık, çerçevesiz şerit (header'ın kendi alt kenarı yeterli) */
  .subnav {
    display: block;
    background: #fff;
  }
  .subnav-inner {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 18px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 22px;
  }

  .subnav-cat { position: relative; }

  .subnav-item {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 12px 1px;
    font-size: 13.5px;
    font-weight: 500;
    color: #4a4a4a;
    text-decoration: none;
    white-space: nowrap;
    transition: color .15s;
    line-height: 1.2;
  }
  /* Alt 2 imzası: hover/aktifte içe doğru genişleyen altın alt çizgi */
  .subnav-item::after {
    content: "";
    position: absolute;
    left: 0; right: 0; bottom: -1px;
    height: 2.5px;
    background: #c9a83a;
    transform: scaleX(0);
    transition: transform .18s ease;
  }
  .subnav-item:hover { color: #1a1a1a; }
  .subnav-item.is-active { color: #b8922a; }
  .subnav-item:hover::after,
  .subnav-item.is-active::after { transform: scaleX(1); }
  .subnav-caret { font-size: 9px; opacity: .5; }

  /* Kısayollar ile kategorileri ayıran ince dikey çizgi */
  .subnav-sep {
    width: 1px;
    align-self: center;
    height: 16px;
    margin: 0 4px;
    background: rgba(0,0,0,.12);
  }

  /* Alt kategori açılır listesi (küçük dropdown) */
  .subnav-dd {
    position: absolute;
    top: 100%;
    left: 6px;
    min-width: 200px;
    display: none;
    background: #fff;
    border: 1px solid rgba(0,0,0,.08);
    border-radius: 12px;
    box-shadow: 0 14px 34px rgba(0,0,0,.13);
    padding: 7px;
    z-index: 70;
  }
  .subnav-cat.has-kids:hover .subnav-dd,
  .subnav-cat.has-kids:focus-within .subnav-dd { display: block; }

  .subnav-dd-item {
    display: block;
    padding: 9px 12px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    color: #4a4a4a;
    text-decoration: none;
    white-space: nowrap;
  }
  .subnav-dd-item:hover { background: #f2ede4; color: #b8922a; }
  .subnav-dd-item.is-active { color: #b8922a; background: rgba(201,168,58,.10); }

  /* Koyu tema */
  body.catalog-page.theme-dark .subnav { background: rgba(10,14,22,.88); }
  body.catalog-page.theme-dark .subnav-item { color: rgba(255,255,255,.55); }
  body.catalog-page.theme-dark .subnav-sep { background: rgba(255,255,255,.14); }
  body.catalog-page.theme-dark .subnav-item:hover { color: #fff; }
  body.catalog-page.theme-dark .subnav-item.is-active { color: #d6b25e; }
  body.catalog-page.theme-dark .subnav-item::after { background: #d6b25e; }
  body.catalog-page.theme-dark .subnav-dd {
    background: #0e1320;
    border-color: rgba(255,255,255,.10);
    box-shadow: 0 14px 34px rgba(0,0,0,.55);
  }
  body.catalog-page.theme-dark .subnav-dd-item { color: rgba(255,255,255,.66); }
  body.catalog-page.theme-dark .subnav-dd-item:hover,
  body.catalog-page.theme-dark .subnav-dd-item.is-active {
    background: rgba(212,175,55,.10);
    color: #d6b25e;
  }
}

/* ================================================
   Bottomnav — mobile only
   ================================================ */
@media (min-width: 769px) {
  .bottomnav { display: none !important; }
  .container { padding-bottom: 40px; }
  .product-sticky { bottom: 0 !important; }
  .compare-tray  { bottom: 0 !important; }
  /* Social float + cookie banner above compare tray on desktop */
  body.has-compare-tray .social-float { bottom: 78px; }
  body.has-compare-tray .cookie-banner { bottom: 62px; }
}

/* ================================================
   Mobile logo — daha belirgin
   ================================================ */

/* ================================================
   Scroll-to-top button
   ================================================ */
.scroll-top-btn {
  position: fixed;
  bottom: calc(var(--bottomnav-h) + 20px + env(safe-area-inset-bottom));
  /* Sol köşe: sağ-alttaki sosyal medya balonu (.social-float) ile üst üste
     binmesin diye sola alındı. */
  left: 16px;
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1.5px solid rgba(0,0,0,.10);
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #555;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  z-index: 890;
  box-shadow: 0 4px 16px rgba(0,0,0,.14);
  opacity: 0;
  transform: scale(0.7) translateY(8px);
  pointer-events: none;
  transition: opacity .22s ease, transform .22s ease;
}
.scroll-top-btn.visible {
  opacity: 1;
  transform: scale(1) translateY(0);
  pointer-events: auto;
}
.scroll-top-btn:hover {
  background: #fff;
  border-color: #c9a83a;
  color: #c9a83a;
}
@media (min-width: 769px) {
  .scroll-top-btn { bottom: 28px; }
}
body.catalog-page.theme-dark .scroll-top-btn {
  background: rgba(20,26,38,.95);
  border-color: rgba(255,255,255,.14);
  color: rgba(255,255,255,.75);
}
body.catalog-page.theme-dark .scroll-top-btn:hover {
  border-color: rgba(212,175,55,.5);
  color: #d6b25e;
}

/* Yeni Gelenler (--new) kartları, kategori vitrinleriyle (--cat) birebir aynı
   stili kullanır — kart altına taşan altın parıltı (box-shadow) kaldırıldı,
   böylece kartlar ile alttaki ayraç arasında boşluk oluşmuyor. */

/* ================================================
   Info modals (Hakkımızda, Nasıl Sipariş)
   ================================================ */
.info-modal {
  position: fixed;
  inset: 0;
  z-index: 9000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: rgba(0,0,0,.55);
  backdrop-filter: blur(6px);
  opacity: 0;
  pointer-events: none;
  transition: opacity .22s ease;
}
.info-modal[aria-hidden="false"] {
  opacity: 1;
  pointer-events: auto;
}
.info-modal-box {
  position: relative;
  width: 100%;
  max-width: 480px;
  background: #fff;
  border-radius: 20px;
  padding: 32px 28px 28px;
  box-shadow: 0 24px 60px rgba(0,0,0,.22);
  transform: scale(0.93) translateY(12px);
  transition: transform .28s cubic-bezier(.34,1.56,.64,1);
}
.info-modal[aria-hidden="false"] .info-modal-box {
  transform: scale(1) translateY(0);
}
.info-modal-close {
  position: absolute;
  top: 14px; right: 14px;
  width: 34px; height: 34px;
  border-radius: 50%;
  border: 1.5px solid rgba(0,0,0,.10);
  background: rgba(0,0,0,.04);
  color: #666;
  cursor: pointer;
  font-size: 14px;
  display: flex; align-items: center; justify-content: center;
  transition: background .15s;
}
.info-modal-close:hover { background: rgba(0,0,0,.09); color: #111; }
.info-modal-title {
  font-size: 18px;
  font-weight: 800;
  color: #1a1a1a;
  margin-bottom: 16px;
}
.info-modal-box p {
  font-size: 14px;
  line-height: 1.6;
  color: #444;
  margin: 0 0 10px;
}

body.catalog-page.theme-dark .info-modal-box {
  background: #111826;
  color: #e8e3da;
}
body.catalog-page.theme-dark .info-modal-title { color: #f0ebe0; }
body.catalog-page.theme-dark .info-modal-box p { color: #aaa; }
body.catalog-page.theme-dark .info-modal-close {
  border-color: rgba(255,255,255,.12);
  background: rgba(255,255,255,.06);
  color: rgba(255,255,255,.6);
}

/* ================================================
   Social icon hover — brand colors
   ================================================ */

/* ================================================
   Product sticky CTA bar (mobile only)
   ================================================ */
.product-sticky {
  position: fixed;
  left: 0; right: 0;
  bottom: calc(var(--bn-h) + var(--bn-safe));
  z-index: 45;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-top: 1px solid rgba(0,0,0,.07);
  box-shadow: 0 -4px 20px rgba(0,0,0,.07);
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  transform: translateY(110%);
  transition: transform .22s ease;
}
.product-sticky.visible {
  transform: translateY(0);
}
body.catalog-page.theme-dark .product-sticky {
  background: rgba(10,14,22,.96);
  border-top-color: rgba(255,255,255,.08);
  box-shadow: 0 -4px 20px rgba(0,0,0,.40);
}
.ps-price {
  font-weight: 900;
  font-size: 16px;
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: inherit;
}
.ps-controls {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.ps-qtybox {
  display: flex;
  align-items: center;
  border: 1.5px solid rgba(0,0,0,.10);
  border-radius: 999px;
  overflow: hidden;
  height: 36px;
}
body.catalog-page.theme-dark .ps-qtybox { border-color: rgba(255,255,255,.12); }
.ps-step {
  width: 36px; height: 36px;
  background: #f2ede4;
  border: none;
  color: #1a1a1a;
  font-weight: 900;
  font-size: 16px;
  cursor: pointer;
  transition: background .12s;
  line-height: 1;
}
body.catalog-page.theme-dark .ps-step { background: rgba(255,255,255,.06); color: #fff; }
.ps-step:hover { background: rgba(201,168,58,.14); }
.ps-qty {
  width: 40px; height: 36px;
  border: none;
  border-left: 1.5px solid rgba(0,0,0,.08);
  border-right: 1.5px solid rgba(0,0,0,.08);
  text-align: center;
  font-weight: 800;
  font-size: 14px;
  background: #fff;
  color: #1a1a1a;
  outline: none;
  -moz-appearance: textfield;
}
body.catalog-page.theme-dark .ps-qty {
  background: rgba(255,255,255,.04);
  color: #fff;
  border-color: rgba(255,255,255,.08);
}
.ps-qty::-webkit-outer-spin-button,
.ps-qty::-webkit-inner-spin-button { -webkit-appearance: none; }
.ps-add {
  height: 36px;
  padding: 0 16px;
  border-radius: 999px;
  font-size: 13.5px;
}
.ps-step--del { color: #e05050; }
@media (min-width: 900px) {
  .product-sticky { display: none !important; }
}

/* ================================================
   Live search dropdown
   ================================================ */
.tc-search-inner { position: relative; }

.search-dd {
  display: none;
  position: absolute;
  top: calc(100% + 6px);
  left: 0; right: 0;
  z-index: 9999;
  background: #fff;
  border: 1.5px solid rgba(0,0,0,.09);
  border-radius: 16px;
  box-shadow: 0 8px 36px rgba(0,0,0,.14), 0 2px 8px rgba(0,0,0,.06);
  overflow: hidden;
  max-height: 420px;
  overflow-y: auto;
  scrollbar-width: thin;
}
.search-dd.is-open { display: block; }

.search-dd-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  text-decoration: none;
  color: inherit;
  border-bottom: 1px solid rgba(0,0,0,.05);
  transition: background .12s;
}
.search-dd-item:last-of-type { border-bottom: none; }
.search-dd-item:hover, .search-dd-item:focus { background: rgba(0,0,0,.03); outline: none; }

.sdi-thumb {
  width: 48px; height: 48px;
  border-radius: 10px;
  overflow: hidden;
  flex-shrink: 0;
  background: #f0ede8;
}
.sdi-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }

.sdi-info { flex: 1; min-width: 0; }
.sdi-name {
  font-size: 13px; font-weight: 700; line-height: 1.25;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  color: #1a1a1a;
}
.sdi-meta { font-size: 11.5px; margin-top: 3px; display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.sdi-sku { opacity: .52; }
.sdi-price { font-weight: 800; color: #c9a83a; }

.search-dd-skel {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
}
.search-dd-skel .skeleton-thumb {
  width: 48px; height: 48px; aspect-ratio: auto;
  border-radius: 10px; flex-shrink: 0;
}
.search-dd-skel .skeleton-meta { flex: 1; padding: 0; gap: 7px; }

.search-dd-empty,
.search-dd-more {
  padding: 14px 16px;
  font-size: 13px;
  text-align: center;
  opacity: .62;
}
.search-dd-more {
  font-size: 12px;
  border-top: 1px solid rgba(0,0,0,.06);
  opacity: .55;
  font-style: italic;
}

body.catalog-page.theme-dark .search-dd {
  background: #111826;
  border-color: rgba(255,255,255,.12);
  box-shadow: 0 8px 36px rgba(0,0,0,.50);
}
body.catalog-page.theme-dark .search-dd-item { border-bottom-color: rgba(255,255,255,.06); }
body.catalog-page.theme-dark .search-dd-item:hover { background: rgba(255,255,255,.05); }
body.catalog-page.theme-dark .sdi-name { color: #e8e3da; }
body.catalog-page.theme-dark .sdi-thumb { background: #0b1220; }
body.catalog-page.theme-dark .search-dd-more { border-top-color: rgba(255,255,255,.08); }

/* ================================================
   Vitrin scroll arrows
   ================================================ */
.vitrin-scroll-wrap {
  position: relative;
}
.vitrin-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1.5px solid rgba(0,0,0,.10);
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #444;
  font-size: 26px;
  line-height: 1;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  z-index: 10;
  box-shadow: 0 2px 14px rgba(0,0,0,.14);
  transition: opacity .18s ease, background .14s, transform .14s;
  padding: 0;
}
.vitrin-arrow--prev { left: 6px; }
.vitrin-arrow--next { right: 6px; }
.vitrin-arrow:hover {
  background: #fff;
  transform: translateY(-50%) scale(1.08);
  box-shadow: 0 4px 20px rgba(0,0,0,.18);
}
@media (max-width: 768px) {
  .vitrin-arrow { display: none; }
}
body.catalog-page.theme-dark .vitrin-arrow {
  background: rgba(18,24,36,.94);
  border-color: rgba(255,255,255,.16);
  color: rgba(255,255,255,.82);
  box-shadow: 0 2px 14px rgba(0,0,0,.40);
}
body.catalog-page.theme-dark .vitrin-arrow:hover {
  background: rgba(28,36,52,.98);
}

/* ================================================
   Info modal — mobile bottom-sheet
   ================================================ */
@media (max-width: 768px) {
  .info-modal {
    align-items: flex-end;
    padding: 0;
  }
  .info-modal-box {
    width: 100%;
    max-width: 100%;
    border-radius: 22px 22px 0 0;
    padding: 28px 20px calc(28px + env(safe-area-inset-bottom));
    transform: translateY(110%);
    transition: transform .30s cubic-bezier(.32,0,.67,0);
  }
  .info-modal[aria-hidden="false"] .info-modal-box {
    transform: translateY(0);
    transition: transform .34s cubic-bezier(.34,1.1,.64,1);
  }
  /* drag handle */
  .info-modal-box::before {
    content: '';
    display: block;
    width: 40px; height: 4px;
    background: rgba(0,0,0,.14);
    border-radius: 999px;
    margin: -12px auto 18px;
  }
  body.catalog-page.theme-dark .info-modal-box::before {
    background: rgba(255,255,255,.18);
  }
}

/* ================================================
   Catsheet info links (mobile "Nasıl Sipariş" etc.)
   ================================================ */
.catsheet-inforow {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid rgba(255,255,255,.08);
}
body.catalog-page.theme-light .catsheet-inforow {
  border-top-color: rgba(0,0,0,.07);
}
.catsheet-infobtn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 11px 10px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.04);
  font-size: 13px;
  font-weight: 700;
  color: inherit;
  cursor: pointer;
  text-align: center;
  transition: background .14s, border-color .14s;
}
.catsheet-infobtn:hover {
  background: rgba(201,168,58,.10);
  border-color: rgba(201,168,58,.28);
}
body.catalog-page.theme-light .catsheet-infobtn {
  border-color: rgba(0,0,0,.09);
  background: rgba(0,0,0,.03);
  color: #1a1a1a;
}
body.catalog-page.theme-light .catsheet-infobtn:hover {
  background: rgba(180,140,40,.08);
  border-color: rgba(180,140,40,.28);
}

/* ================================================
   FIX: Card flex layout — cart btn always bottom
   ================================================ */
.card--b2b {
  --card-name-lines: 2;
  --card-name-line-height: 1.3;
  --card-name-max-size: 13px;
  --card-name-min-size: 10px;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  border-radius: 16px;
  overflow: hidden;
}
body.cards-compact .card--b2b {
  --card-name-max-size: 11px;
  --card-name-min-size: 9px;
}
body.cards-large .card--b2b {
  --card-name-max-size: 17px;
  --card-name-min-size: 12px;
}
.card--b2b .thumb { overflow: hidden; border-radius: 0; }
.card--b2b .meta {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 8px 10px 10px;
}
.card--b2b .meta-footer {
  margin-top: auto !important;
  padding-top: 6px;
}
/* Ürün adı uzun olsa da kart yüksekliği sabit kalsın — 2 satırla kırp,
   alanı font-size'a göre orantılı (em) ayır ki cards-compact/large boyut
   varyantlarında da kartlar aynı hizada kalsın. */
.card--b2b .name--compact {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: var(--card-name-line-height);
  font-size: var(--card-name-max-size);
  height: calc(var(--card-name-lines) * 1em * var(--card-name-line-height));
  min-height: calc(var(--card-name-lines) * 1em * var(--card-name-line-height));
  max-height: calc(var(--card-name-lines) * 1em * var(--card-name-line-height));
  overflow-wrap: anywhere;
  word-break: break-word;
  hyphens: auto;
}

/* ================================================
   B2B kart meta — katalog (anasayfa) ve ürün sayfasındaki
   "Benzer Ürünler" / "Son Görüntülenenler" kartlarında ortak
   ================================================ */
.name--compact { font-size: var(--card-name-max-size, 13px); font-weight: 500; line-height: var(--card-name-line-height, 1.3); margin: 0; }
.price--strong { font-size: 15px; font-weight: 800; }
.price-na { font-size: 12px; font-weight: 500; opacity: .55; font-style: italic; }
.card-rating { display: flex; align-items: center; gap: 4px; margin-top: 3px; }
.card-rating .star-rating .star { width: 11px; height: 11px; }
.card-rating-count { font-size: 11px; font-weight: 600; opacity: .55; }
.card--b2b .meta-footer { display: flex; align-items: center; justify-content: space-between; gap: 6px; }
/* ── Kart alt aksiyonu: qty pill (sol) + sepet butonu (sağ) ── */
.card-footer {
  display: flex; align-items: center; justify-content: space-between;
  padding: 5px 10px 10px; gap: 6px;
}
.card-qty-ctrl {
  display: flex; align-items: center;
  background: #f0ede7; border-radius: 999px; padding: 3px; gap: 0;
}
.cqc-btn {
  width: 26px; height: 26px; border: 0; border-radius: 50%;
  background: #fff; color: #555;
  font-size: 18px; font-weight: 300; cursor: pointer; line-height: 1;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 1px 3px rgba(0,0,0,.10);
  transition: background .12s, color .12s; flex-shrink: 0;
}
.cqc-btn:hover { background: #c9a83a; color: #fff; box-shadow: none; }
.cqc-num {
  min-width: 22px; text-align: center; font-size: 12px; font-weight: 800;
  color: #1a1a1a; user-select: none;
}
.card-add-btn {
  flex-shrink: 0; width: 30px; height: 30px; border-radius: 50%;
  background: transparent; border: 2px solid #c9a83a; color: #c9a83a;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: background .14s, color .14s, transform .12s;
}
.card-add-btn:hover { background: #c9a83a; color: #fff; }
.card-add-btn.added { background: rgba(201,168,58,.18); color: #b08920; transform: scale(.92); }
.card-add-btn svg { width: 14px; height: 14px; pointer-events: none; }
.card-add-btn:disabled { border-color: #ccc; color: #ccc; cursor: not-allowed; transform: none !important; }
body.catalog-page.theme-dark .card-qty-ctrl { background: rgba(255,255,255,.10); }
body.catalog-page.theme-dark .cqc-btn { background: rgba(255,255,255,.15); color: rgba(255,255,255,.8); box-shadow: none; }
body.catalog-page.theme-dark .cqc-num { color: #fff; }
body.catalog-page.theme-dark .card-add-btn { border-color: #c9a83a; color: #c9a83a; }
body.catalog-page.theme-dark .card-add-btn:hover { background: #c9a83a; color: #1a1a1a; }
.card--oos { opacity: .52; }
.card--oos .thumb { filter: grayscale(.35); }

/* Tükenen ürün kartında "Stoğa girince haber ver" CTA (sepete ekle yerine) */
.card-notify {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 6px 11px; border-radius: 999px;
  border: 1.5px solid rgba(0,0,0,.16); background: rgba(0,0,0,.03);
  color: #555; font-size: 11px; font-weight: 800; white-space: nowrap;
  cursor: pointer; flex-shrink: 0;
}
.card-notify svg { width: 14px; height: 14px; }
body.theme-dark .card-notify { border-color: rgba(255,255,255,.22); background: rgba(255,255,255,.05); color: #ccc; }

/* ================================================
   FIX: Vitrin section separators — dark theme
   ================================================ */
body.catalog-page.theme-dark .vitrin-section {
  border-top-color: rgba(255,255,255,.08);
}
body.catalog-page.theme-dark .vitrin-title { color: #e8e3da; }
body.catalog-page.theme-dark .vitrin-sub { color: rgba(232,227,218,.50); }

/* ================================================
   Lightbox desktop — bigger image, minimal backdrop
   ================================================ */
@media (min-width: 769px) {
  .lbox-backdrop {
    background: rgba(0,0,0,.14);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
  }
  .lbox-panel { padding: 52px; }
  .lbox-panel img {
    max-width: min(92vw, 1300px);
    max-height: 92vh;
    box-shadow: 0 32px 100px rgba(0,0,0,.55), 0 0 0 1px rgba(0,0,0,.05);
  }
}

/* ================================================
   FIX: pgal-main mobile full-width
   ================================================ */
@media (max-width: 600px) {
  .pgal-main { width: min(66%, 280px); }
}

/* ================================================
   Vitrin section — category title sub-row fix
   ================================================ */
.vitrin-section .vitrin-head:not(:has(.vitrin-label)) .vitrin-title {
  /* category sections without sub-label */
  align-self: center;
}

/* ================================================
   Logo image (replaces text brand)
   ================================================ */
.logo-img {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  text-decoration: none;
}
.logo-img img {
  height: 49px; /* masaüstü: header_alternatives.html referansı (38px) + %30 */
  width: auto;
  display: block;
  object-fit: contain;
}
@media (max-width: 480px) {
  .logo-img img { height: 72px; } /* mobil: 80px - %10 */
}

/* ================================================
   Product page — stock pill (inline, replaces position:absolute badge)
   ================================================ */
.stock-pill {
  display: inline-flex;
  align-items: center;
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .01em;
  border: 1.5px solid;
}
.stock-pill--badge-in {
  color: #1a7a4a;
  background: rgba(34,197,94,.10);
  border-color: rgba(34,197,94,.25);
}
.stock-pill--badge-low {
  color: #b45309;
  background: rgba(251,146,60,.10);
  border-color: rgba(251,146,60,.30);
}
.stock-pill--badge-out {
  color: #991b1b;
  background: rgba(239,68,68,.10);
  border-color: rgba(239,68,68,.25);
}
body.catalog-page.theme-dark .stock-pill--badge-in {
  color: #4ade80;
  background: rgba(74,222,128,.10);
  border-color: rgba(74,222,128,.22);
}
body.catalog-page.theme-dark .stock-pill--badge-low {
  color: #fb923c;
  background: rgba(251,146,60,.12);
  border-color: rgba(251,146,60,.28);
}
body.catalog-page.theme-dark .stock-pill--badge-out {
  color: #f87171;
  background: rgba(248,113,113,.10);
  border-color: rgba(248,113,113,.22);
}

/* ================================================
   Product page — sosyal kanıt rozetleri (gerçek veri)
   ================================================ */
.social-proof-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 10px;
  padding: 7px 12px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 600;
  border: 1.5px solid;
  width: fit-content;
}
.social-proof-badge--urgent {
  color: #b45309;
  background: rgba(251,146,60,.10);
  border-color: rgba(251,146,60,.28);
}
body.catalog-page.theme-dark .social-proof-badge--urgent {
  color: #fb923c;
  background: rgba(251,146,60,.12);
  border-color: rgba(251,146,60,.30);
}

/* ================================================
   Product page — başlık satırı & paylaşım butonları
   ================================================ */
.product-title-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}
.product-title-row .product-title {
  flex: 1 1 auto;
  min-width: 0;
}
.share-buttons {
  display: flex;
  align-items: center;
  gap: 6px;
  flex: 0 0 auto;
}
.share-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 1.5px solid rgba(0,0,0,.12);
  background: rgba(0,0,0,.03);
  color: #555;
  cursor: pointer;
  transition: background .15s ease, border-color .15s ease, color .15s ease, transform .1s ease;
}
.share-btn:hover {
  background: rgba(201,168,58,.12);
  border-color: rgba(201,168,58,.35);
  color: #c9a83a;
}
.share-btn:active {
  transform: scale(.94);
}
.share-btn--done {
  background: rgba(34,197,94,.14);
  border-color: rgba(34,197,94,.35);
  color: #1a7a4a;
}
body.catalog-page.theme-dark .share-btn {
  border-color: rgba(255,255,255,.14);
  background: rgba(255,255,255,.04);
  color: #cfd3d8;
}
body.catalog-page.theme-dark .share-btn:hover {
  background: rgba(201,168,58,.14);
  border-color: rgba(201,168,58,.4);
  color: #e0c25e;
}
body.catalog-page.theme-dark .share-btn--done {
  background: rgba(74,222,128,.14);
  border-color: rgba(74,222,128,.35);
  color: #4ade80;
}

/* ================================================
   Product page — teslimat süresi tahmini
   ================================================ */
.delivery-estimate {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2px 6px;
  margin-top: 10px;
  padding: 7px 12px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 600;
  color: #2f6f4f;
  background: rgba(34,197,94,.08);
  border: 1.5px solid rgba(34,197,94,.20);
  width: fit-content;
}
body.catalog-page.theme-dark .delivery-estimate {
  color: #6ee7a8;
  background: rgba(74,222,128,.08);
  border-color: rgba(74,222,128,.22);
}

.breadcrumbs {
  margin: 14px 0 4px;
}
.breadcrumbs-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin: 0;
  padding: 0;
  font-size: 12.5px;
  font-weight: 600;
}
.breadcrumb-item a {
  color: rgba(26,26,26,.55);
  text-decoration: none;
}
.breadcrumb-item a:hover {
  color: #c9a83a;
  text-decoration: underline;
}
.breadcrumb-current {
  color: rgba(26,26,26,.85);
}
.breadcrumb-sep {
  color: rgba(26,26,26,.3);
}
body.catalog-page.theme-dark .breadcrumb-item a {
  color: rgba(241,237,228,.55);
}
body.catalog-page.theme-dark .breadcrumb-item a:hover {
  color: #c9a83a;
}
body.catalog-page.theme-dark .breadcrumb-current {
  color: rgba(241,237,228,.85);
}
body.catalog-page.theme-dark .breadcrumb-sep {
  color: rgba(241,237,228,.3);
}

.stock-alert-box {
  margin-top: 14px;
  padding: 14px 16px;
  border-radius: 12px;
  background: rgba(0,0,0,.03);
  border: 1.5px solid rgba(0,0,0,.08);
}
body.catalog-page.theme-dark .stock-alert-box {
  background: rgba(255,255,255,.04);
  border-color: rgba(255,255,255,.08);
}
.stock-alert-title {
  margin: 0 0 10px;
  font-size: 13.5px;
  font-weight: 700;
}
.stock-alert-form {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.stock-alert-form input[type="email"] {
  flex: 1 1 220px;
  min-width: 0;
  padding: 10px 13px;
  border-radius: 999px;
  border: 1.5px solid rgba(0,0,0,.14);
  background: #fff;
  font-size: 13.5px;
}
body.catalog-page.theme-dark .stock-alert-form input[type="email"] {
  background: rgba(255,255,255,.05);
  border-color: rgba(255,255,255,.16);
  color: #f1ede4;
}
.stock-alert-form button {
  padding: 10px 20px;
  border-radius: 999px;
  border: 2px solid #c9a83a;
  background: transparent;
  color: #c9a83a;
  font-weight: 800;
  font-size: 13.5px;
  cursor: pointer;
  white-space: nowrap;
  transition: background .15s, color .15s, border-color .15s;
}
.stock-alert-form button:hover {
  background: rgba(201,168,58,.10);
  border-color: #b8922a;
  color: #b8922a;
}
.stock-alert-msg {
  margin: 0;
  font-size: 13.5px;
  font-weight: 600;
}
.stock-alert-msg--ok { color: #15803d; }
.stock-alert-msg--err { color: #b91c1c; }
body.catalog-page.theme-dark .stock-alert-msg--ok { color: #4ade80; }
body.catalog-page.theme-dark .stock-alert-msg--err { color: #f87171; }

/* ================================================
   Product page — varyant seçici (renk/model)
   ================================================ */
.variant-picker { margin-top: 16px; }
.variant-picker-label {
  font-size: 12.5px;
  font-weight: 700;
  color: #94a3b8;
  margin-bottom: 8px;
}
.variant-options { display: flex; flex-wrap: wrap; gap: 8px; }
.variant-opt {
  padding: 9px 16px;
  border-radius: 10px;
  border: 1.5px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.04);
  color: inherit;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: border-color .15s, background .15s;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.variant-opt:hover:not(:disabled) { border-color: rgba(201,168,58,.45); }
.variant-opt.is-selected {
  border-color: #c9a83a;
  background: rgba(201,168,58,.14);
  color: #c9a83a;
}
.variant-opt--out, .variant-opt:disabled {
  opacity: .45;
  cursor: not-allowed;
  text-decoration: line-through;
}
.variant-opt-tag {
  font-size: 10px;
  font-weight: 800;
  text-decoration: none;
  opacity: .8;
}
.variant-picker-msg {
  font-size: 12px;
  color: #ff8a8a;
  margin-top: 8px;
  min-height: 16px;
}
body.catalog-page:not(.theme-dark) .variant-opt {
  border-color: rgba(0,0,0,.14);
  background: rgba(0,0,0,.03);
}

/* ================================================
   Product page — trust signals row
   ================================================ */

/* ================================================
   Product page — WhatsApp order card
   ================================================ */

/* ============================================================
   Site Footer (login/register/account/cart/checkout vb. ortak)
   ============================================================ */
.site-footer {
  margin-top: 48px;
  border-top: 1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.02);
}
.site-footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 36px 20px 20px;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 28px;
}
.sf-col { display: flex; flex-direction: column; gap: 8px; }
.sf-brand .sf-logo { display: inline-block; margin-bottom: 6px; }
.sf-brand .sf-logo img { height: 34px; display: block; }
.sf-text { font-size: 13px; line-height: 1.6; color: #8a97a8; max-width: 320px; }
.sf-title { font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; color: #c9a83a; margin-bottom: 4px; }
.sf-link { font-size: 13.5px; color: #aab4c0; text-decoration: none; transition: color .15s; }
.sf-link:hover { color: #fff; text-decoration: underline; }
.sf-link-static { cursor: default; display: block; }
.sf-link-static:hover { color: #aab4c0; text-decoration: none; }
a.sf-link-static:hover { color: #fff; text-decoration: underline; }
.sf-address { line-height: 1.5; max-width: 240px; }
.sf-newsletter {
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px 20px;
  border-top: 1px solid rgba(255,255,255,.07);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.sf-newsletter-title {
  font-size: 15px;
  font-weight: 800;
  margin-bottom: 4px;
}
.sf-newsletter-sub {
  font-size: 13px;
  opacity: .65;
}
.sf-newsletter-form {
  display: flex;
  gap: 8px;
  flex-wrap: nowrap;
  flex: 0 1 420px;
}
.sf-newsletter-input {
  flex: 1;
  padding: 10px 13px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.15);
  background: rgba(255,255,255,.06);
  color: inherit;
  font-size: 14px;
  outline: none;
  font-family: inherit;
  transition: border-color .15s;
}
.sf-newsletter-input:focus { border-color: #c9a83a; }
.sf-newsletter-input::placeholder { color: rgba(255,255,255,.35); }
.sf-newsletter-btn {
  padding: 10px 18px;
  background: transparent;
  color: #c9a83a;
  border: 2px solid #c9a83a;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 800;
  cursor: pointer;
  white-space: nowrap;
  transition: background .15s, color .15s, border-color .15s;
}
.sf-newsletter-btn:hover { background: rgba(201,168,58,.10); border-color: #b8922a; color: #b8922a; }
.sf-newsletter-btn:disabled { opacity: .7; cursor: wait; }
.sf-newsletter-msg {
  font-size: 13px;
  margin-top: 8px;
  width: 100%;
}
.sf-newsletter-msg--ok { color: #4ade80; }
.sf-newsletter-msg--err { color: #f87171; }
body.catalog-page.theme-light .sf-newsletter-input {
  background: #f7f8fa;
  border-color: #e5e7eb;
  color: #1a1a1a;
}
body.catalog-page.theme-light .sf-newsletter-input::placeholder { color: #9ca3af; }
body.catalog-page.theme-light .sf-newsletter-input:focus { border-color: #c9a83a; }
@media (max-width: 700px) {
  .sf-newsletter { flex-direction: column; align-items: stretch; }
  .sf-newsletter-form { flex: 1; }
}

.sf-trust {
  max-width: 1200px;
  margin: 0 auto;
  padding: 6px 20px 22px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-top: 1px solid rgba(255,255,255,.06);
}
.sf-trust-ssl {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  color: #8a97a8;
}
.sf-trust-ssl svg { color: #c9a83a; flex-shrink: 0; }
.sf-trust-paylogos { height: 30px; width: auto; opacity: .92; }
.sf-trust-paylogos--dark { display: block; }
.sf-trust-paylogos--light { display: none; }
.site-footer-bottom {
  border-top: 1px solid rgba(255,255,255,.06);
  padding: 14px 20px 22px;
  text-align: center;
  font-size: 12px;
  color: #5b6b7d;
}

body.catalog-page.theme-light .site-footer {
  border-top: 1px solid rgba(0,0,0,.08);
  background: rgba(0,0,0,.02);
}
body.catalog-page.theme-light .sf-text { color: #5b6b7d; }
body.catalog-page.theme-light .sf-link { color: #3c4a5a; }
body.catalog-page.theme-light .sf-link:hover { color: #111; }
body.catalog-page.theme-light .site-footer-bottom {
  border-top: 1px solid rgba(0,0,0,.06);
  color: #7a8899;
}
body.catalog-page.theme-light .sf-trust {
  border-top: 1px solid rgba(0,0,0,.06);
}
body.catalog-page.theme-light .sf-trust-ssl { color: #5b6b7d; }
body.catalog-page.theme-light .sf-trust-paylogos--dark { display: none; }
body.catalog-page.theme-light .sf-trust-paylogos--light { display: block; }

/* Chrome topbar (auth/cart/checkout sayfaları için sade üst menü) */
.chrome-topbar-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.chrome-actions { display: flex; align-items: center; gap: 8px; }
@media (max-width: 720px) {
  /* Mobilde alt gezinme çubuğu (Ana Sayfa/Sepet/Hesabım) zaten var — header'daki ikonlar gereksiz çift yer kaplıyor */
  .chrome-actions { display: none; }
}

/* site_header arama çubuğu (giriş/kayıt gibi sayfalarda 'search'=>true ile).
   chrome-topbar-grid flex olduğundan arama ortada esner; mobilde GİZLENMEZ
   (chrome-actions gizlenir ama arama kalır → müşteri kaybolmaz). */
.chrome-topbar-grid.has-search { gap: 12px; }
.chrome-topbar-grid.has-search .chrome-search { flex: 1 1 auto; min-width: 0; }

/* Auth sayfalarına (giriş/kayıt/şifre) artık alt navbar eklendi; mobilde içerik
   navbar'ın altına girmesin diye yeterli alt boşluk (sayfa içi style'ı geçecek
   specificity ile). */
@media (max-width: 720px) {
  body.catalog-page .auth-wrap { padding-bottom: calc(var(--bn-h) + var(--bn-safe) + 28px); }
}

/* ============================================================
   Cookie consent banner
   ============================================================ */
/* ================================================
   Skip-link erişilebilirlik
   ================================================ */
.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  z-index: 99999;
  background: #c9a83a;
  color: #0b0f16;
  font-size: 14px;
  font-weight: 800;
  padding: 10px 18px;
  border-radius: 0 0 10px 10px;
  text-decoration: none;
  transition: top .15s ease;
}
.skip-link:focus {
  top: 0;
  outline: 3px solid #fff;
  outline-offset: 2px;
}

/* ================================================
   E-posta doğrulama banner (header altı, marquee tarzı)
   ================================================ */
.verify-band {
  width: 100%;
  background: rgba(201,168,58,.12);
  border-bottom: 1px solid rgba(201,168,58,.3);
  padding: 0 16px;
  min-height: 42px;
  display: flex;
  align-items: center;
}
.verify-band-inner {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  flex-wrap: nowrap;
}
.verify-band-icon {
  font-size: 15px;
  flex-shrink: 0;
  line-height: 1;
}
.verify-band-text {
  font-size: 12.5px;
  font-weight: 600;
  color: #c9a83a;
  flex: 1;
  min-width: 0;
  line-height: 1.4;
}
.verify-band-btn {
  flex-shrink: 0;
  padding: 5px 14px;
  background: transparent;
  color: #c9a83a;
  border: 1.5px solid #c9a83a;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: background .15s, color .15s, border-color .15s;
}
.verify-band-btn:hover { background: rgba(201,168,58,.12); border-color: #b8922a; color: #b8922a; }
.verify-band-btn:disabled { opacity: .65; cursor: default; }
.verify-band-countdown {
  flex-shrink: 0;
  font-size: 11.5px;
  color: rgba(201,168,58,.7);
  white-space: nowrap;
  display: none;
}
.verify-band-close {
  flex-shrink: 0;
  background: none;
  border: none;
  color: rgba(201,168,58,.6);
  cursor: pointer;
  font-size: 14px;
  padding: 4px;
  line-height: 1;
  border-radius: 4px;
  transition: color .12s;
}
.verify-band-close:hover { color: #c9a83a; }
body.catalog-page.theme-light .verify-band {
  background: #fffbeb;
  border-bottom-color: rgba(201,168,58,.35);
}
body.catalog-page.theme-light .verify-band-text { color: #8a6c10; }
body.catalog-page.theme-light .verify-band-close { color: #a07c1e; }
@media (max-width: 600px) {
  .verify-band-text { font-size: 11.5px; }
  .verify-band-btn  { padding: 5px 10px; font-size: 11px; }
}

.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 9999;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s ease;
  background: #111826;
  border-top: 1px solid #1e2836;
  box-shadow: 0 -8px 30px rgba(0,0,0,.35);
}
.cookie-banner.is-visible { opacity: 1; pointer-events: auto; }
.cookie-banner-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: nowrap;
}
.cookie-banner-inner p {
  flex: 1 1 auto;
  min-width: 0;
  font-size: 12.5px;
  line-height: 1.5;
  color: #aab4c0;
  margin: 0;
}
.cookie-banner-inner p a { color: #c9a83a; text-decoration: none; }
.cookie-banner-inner p a:hover { text-decoration: underline; }
.cookie-banner-actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}
.cookie-accept-btn,
.cookie-decline-btn {
  flex-shrink: 0;
  padding: 10px 20px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  transition: background .15s, border-color .15s, color .15s;
  white-space: nowrap;
}
.cookie-accept-btn {
  background: transparent;
  color: #c9a83a;
  border: 2px solid #c9a83a;
}
.cookie-accept-btn:hover { background: rgba(201,168,58,.10); border-color: #b8922a; color: #b8922a; }
.cookie-decline-btn {
  background: transparent;
  color: #aab4c0;
  border: 1.5px solid #2a3645;
}
.cookie-decline-btn:hover { border-color: #aab4c0; color: #e2e8f0; }

body.catalog-page.theme-light .cookie-banner {
  background: #fff;
  border-top: 1px solid #e5e7eb;
  box-shadow: 0 -8px 30px rgba(0,0,0,.12);
}
body.catalog-page.theme-light .cookie-banner-inner p { color: #44505e; }
body.catalog-page.theme-light .cookie-decline-btn { color: #5b6b7d; border-color: #d8dde3; }
body.catalog-page.theme-light .cookie-decline-btn:hover { border-color: #5b6b7d; color: #1a1a1a; }

@media (max-width: 860px) {
  .site-footer-inner { grid-template-columns: 1fr 1fr; }
  .sf-brand { grid-column: 1 / -1; }
}
@media (max-width: 768px) {
  .cookie-banner { bottom: calc(var(--bn-h) + var(--bn-safe)); }
  body.has-compare-tray .cookie-banner { bottom: calc(var(--bn-h) + var(--bn-safe) + 62px); }
  body.has-compare-tray .social-float { bottom: calc(var(--bn-h) + var(--bn-safe) + 78px); }
}
@media (max-width: 520px) {
  .site-footer-inner { grid-template-columns: 1fr; }
  .cookie-banner-inner { flex-direction: column; align-items: stretch; gap: 12px; padding: 14px 16px 16px; }
  .cookie-banner-inner p { font-size: 12px; flex: none; }
  .cookie-banner-actions { flex-direction: row; }
  .cookie-accept-btn, .cookie-decline-btn { flex: 1; }
}

/* ============================================================
   Cart dropdown popup (sepet ikonuna tıklayınca açılan mini önizleme)
   ============================================================ */
.cart-popover {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  width: 320px;
  max-width: 92vw;
  background: #111826;
  border: 1px solid #1e2836;
  border-radius: 14px;
  box-shadow: 0 16px 48px rgba(0,0,0,.45);
  z-index: 200;
  display: none;
  overflow: hidden;
}
.cart-popover.is-open { display: block; }
.cart-popover-head {
  padding: 14px 16px 10px;
  font-size: 13.5px;
  font-weight: 800;
  border-bottom: 1px solid #1e2836;
}
.cart-popover-list {
  max-height: 320px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}
.cart-popover-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  border-bottom: 1px solid rgba(255,255,255,.05);
}
.cart-popover-item img {
  width: 44px; height: 44px;
  border-radius: 8px;
  object-fit: cover;
  background: #1a2230;
  flex-shrink: 0;
}
.cart-popover-item .cpi-info { flex: 1; min-width: 0; }
.cart-popover-item .cpi-name {
  font-size: 12.5px; font-weight: 600;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.cart-popover-item .cpi-qty { font-size: 11.5px; color: #7a8899; margin-top: 2px; }
.cart-popover-empty {
  padding: 28px 16px;
  text-align: center;
  font-size: 13px;
  color: #7a8899;
}
.cart-popover-foot {
  padding: 12px 16px 16px;
  border-top: 1px solid #1e2836;
}
.cart-popover-foot a {
  display: block;
  text-align: center;
  padding: 11px;
  border-radius: 999px;
  background: rgba(255,255,255,.06);
  color: #e2e8f0;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  transition: background .15s;
}
.cart-popover-foot a:hover { background: rgba(255,255,255,.11); }

body.catalog-page.theme-light .cart-popover {
  background: #fff;
  border: 1px solid #e5e7eb;
  box-shadow: 0 16px 48px rgba(0,0,0,.18);
}
body.catalog-page.theme-light .cart-popover-head { border-bottom: 1px solid #eef0f3; }
body.catalog-page.theme-light .cart-popover-item { border-bottom: 1px solid #f2f3f5; }
body.catalog-page.theme-light .cart-popover-item img { background: #f0f1f3; }
body.catalog-page.theme-light .cart-popover-item .cpi-qty { color: #8893a1; }
body.catalog-page.theme-light .cart-popover-empty { color: #8893a1; }
body.catalog-page.theme-light .cart-popover-foot { border-top: 1px solid #eef0f3; }
body.catalog-page.theme-light .cart-popover-foot a { background: #f3f4f6; color: #1a1a1a; }
body.catalog-page.theme-light .cart-popover-foot a:hover { background: #e9ebee; }

@media (max-width: 520px) {
  .cart-popover { position: fixed; left: 12px; right: 12px; top: auto; bottom: 78px; width: auto; }
}

/* ================================================
   Ürün puanlama / değerlendirmeler
   ================================================ */
.product-rating-line {
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: 6px; text-decoration: none; color: inherit;
}
.star-rating { display: inline-flex; gap: 1px; color: #c9a83a; }
.star-rating .star { color: rgba(148,163,184,.45); }
.star-rating .star--on { color: #c9a83a; }
.star-rating--lg .star { width: 19px; height: 19px; }
.product-rating-text { font-size: 12.5px; font-weight: 700; opacity: .8; }
.product-rating-text--muted { font-weight: 500; opacity: .55; font-style: italic; }

.reviews-section {
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,.08);
}
body.catalog-page.theme-light .reviews-section { border-top-color: rgba(0,0,0,.08); }

.reviews-head {
  display: flex; align-items: center; flex-wrap: wrap;
  gap: 12px; margin-bottom: 18px;
}
.reviews-title { font-size: 19px; font-weight: 900; }
.reviews-summary { display: flex; align-items: center; gap: 8px; }
.reviews-summary-num { font-weight: 800; font-size: 14px; }
.reviews-summary-count { font-size: 12.5px; opacity: .6; }
.review-form-title { font-size: 14.5px; font-weight: 800; margin-bottom: 14px; }

.review-stars-input { display: inline-flex; flex-direction: row-reverse; gap: 4px; margin-bottom: 14px; }
.review-stars-input label { cursor: pointer; color: rgba(148,163,184,.45); transition: color .12s; }
.review-stars-input label svg path { fill: none; stroke: currentColor; }
.review-stars-input input { position: absolute; opacity: 0; width: 0; height: 0; }
.review-stars-input label:hover,
.review-stars-input label:hover ~ label,
.review-stars-input input:checked ~ label,
.review-stars-input input:checked + label {
  color: #c9a83a;
}
.review-stars-input input:checked ~ label svg path,
.review-stars-input label:hover ~ label svg path,
.review-stars-input label:hover svg path {
  fill: currentColor;
}

.review-form textarea {
  width: 100%;
  padding: 11px 13px;
  background: #ffffff;
  border: 1px solid rgba(0,0,0,.14);
  border-radius: 10px;
  color: #1a1a1a;
  font-size: 14px;
  font-family: inherit;
  outline: none;
  resize: vertical;
  margin-bottom: 14px;
  display: block;
}
.review-form textarea:focus { border-color: #c9a83a; }

.review-login-notice {
  display: flex;
  align-items: center;
  gap: 11px;
  background: rgba(201,168,58,.07);
  border: 1px solid rgba(201,168,58,.22);
  border-radius: 14px;
  padding: 14px 18px;
  margin-bottom: 22px;
  font-size: 13.5px;
  line-height: 1.5;
  max-width: 520px;
}
.review-login-notice .review-notice-ico {
  flex-shrink: 0;
  width: 22px; height: 22px;
  color: #c9a83a;
}
body.catalog-page.theme-light .review-login-notice {
  background: rgba(201,168,58,.08);
  border-color: rgba(201,168,58,.28);
  box-shadow: 0 1px 6px rgba(0,0,0,.04);
}
.review-login-notice a { color: #c9a83a; font-weight: 700; text-decoration: none; }
.review-login-notice a:hover { text-decoration: underline; }

.review-list { display: flex; flex-direction: column; gap: 14px; max-width: 640px; }
.review-item {
  border-bottom: 1px solid rgba(255,255,255,.07);
  padding-bottom: 14px;
}
body.catalog-page.theme-light .review-item { border-bottom-color: rgba(0,0,0,.07); }
.review-item-head { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin-bottom: 6px; }
.review-author { font-size: 13px; font-weight: 800; }
.review-date { font-size: 11.5px; opacity: .5; }
.review-comment { font-size: 13.5px; line-height: 1.6; opacity: .85; }

.reviews-empty { font-size: 13.5px; opacity: .6; font-style: italic; }

.review-open-btn { display: inline-block; margin-bottom: 22px; }

.review-already-card {
  display: inline-flex; align-items: center; gap: 10px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 14px;
  padding: 12px 18px;
  margin-bottom: 22px;
  font-size: 13.5px;
  opacity: .85;
}
body.catalog-page.theme-light .review-already-card {
  background: #fff; border-color: rgba(0,0,0,.08); box-shadow: 0 1px 6px rgba(0,0,0,.05);
}

.review-modal-overlay {
  position: fixed; inset: 0; z-index: 1000;
  background: rgba(0,0,0,.55);
  display: flex; align-items: center; justify-content: center;
  padding: 16px;
}
.review-modal-overlay[hidden] { display: none; }
.review-modal {
  position: relative;
  width: 100%; max-width: 480px;
  max-height: 90vh; overflow-y: auto;
  background: #161b26;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 18px;
  padding: 24px 22px;
}
body.catalog-page.theme-light .review-modal {
  background: #fff; border-color: rgba(0,0,0,.08);
}
.review-modal-close {
  position: absolute; top: 12px; right: 12px;
  width: 32px; height: 32px;
  display: flex; align-items: center; justify-content: center;
  border: none; border-radius: 50%;
  background: rgba(255,255,255,.06);
  color: inherit;
  font-size: 22px; line-height: 1;
  cursor: pointer;
  transition: background .12s;
}
.review-modal-close:hover { background: rgba(255,255,255,.14); }
body.catalog-page.theme-light .review-modal-close { background: rgba(0,0,0,.06); }
body.catalog-page.theme-light .review-modal-close:hover { background: rgba(0,0,0,.1); }
.review-modal .review-form-title { margin-top: 4px; }

/* ── Compare button (.card-actions içinde static, ürün sayfasında absolute) ── */
.compare-btn {
  position: static;
  width: 28px; height: 28px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 8px;
  background: rgba(255,255,255,.88);
  color: #7b8796;
  cursor: pointer;
  transition: background .15s, color .15s;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 2px 8px rgba(0,0,0,.10);
  flex-shrink: 0;
}
.compare-btn:hover { background: rgba(201,168,58,.18); color: #b08920; }
.compare-btn--active { background: rgba(201,168,58,.24) !important; color: #b08920 !important; border-color: rgba(201,168,58,.35) !important; }
.compare-btn svg { width: 13px; height: 13px; pointer-events: none; }
body.catalog-page.theme-dark .compare-btn { background: rgba(15,20,30,.72); border-color: rgba(255,255,255,.12); color: #94a3b8; }
body.catalog-page.theme-dark .compare-btn:hover { background: rgba(30,36,54,.9); color: #c9a83a; }
body.catalog-page.theme-dark .compare-btn--active { background: rgba(201,168,58,.22) !important; color: #e0bb53 !important; }

/* product-page compare button: matches fav-btn circle style */
.product-page .compare-btn {
  background: rgba(255,255,255,.85);
  border: 1px solid rgba(0,0,0,.10);
  color: #94a3b8;
}
.product-page .compare-btn:hover { background: #fff; color: #c9a83a; }
.product-page .compare-btn--active { background: rgba(201,168,58,.12) !important; color: #c9a83a !important; border-color: rgba(201,168,58,.35) !important; }
body.catalog-page.theme-dark .product-page .compare-btn { background: rgba(15,20,30,.65); border: 1px solid rgba(255,255,255,.12); color: #94a3b8; }
body.catalog-page.theme-dark .product-page .compare-btn:hover { background: rgba(30,36,54,.85); color: #c9a83a; }

/* delivery date estimate */
.delivery-date {
  flex: 0 0 100%;
  font-size: .8rem;
  color: #94a3b8;
  letter-spacing: .01em;
}
body.catalog-page.theme-light .delivery-date { color: #64748b; }

/* ── Compare tray ───────────────────────────────────────────────────── */
.compare-tray {
  position: fixed;
  bottom: calc(var(--bn-h) + var(--bn-safe));
  left: 0; right: 0; z-index: 800;
  background: #1a1f2e;
  border-top: 2px solid #c9a83a;
  padding: 8px 14px;
  display: flex; align-items: center; gap: 10px;
  min-height: 62px;
  box-shadow: 0 -4px 20px rgba(0,0,0,.4);
  animation: compareTrayIn .25s cubic-bezier(.4,0,.2,1);
}
@keyframes compareTrayIn {
  from { transform: translateY(100%); }
  to   { transform: translateY(0); }
}
.compare-tray-items {
  flex: 1; display: flex; gap: 7px; align-items: center;
  overflow-x: auto; scrollbar-width: none; min-width: 0;
}
.compare-tray-items::-webkit-scrollbar { display: none; }
.compare-tray-item {
  display: flex; align-items: center; gap: 4px;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 10px;
  padding: 4px 7px 4px 4px;
  flex-shrink: 0; min-width: 0; max-width: 155px;
}
.compare-tray-item img,
.compare-tray-item-ph {
  width: 40px; height: 40px; border-radius: 7px;
  object-fit: cover; flex-shrink: 0;
}
.compare-tray-item-ph { background: rgba(201,168,58,.18); }
.compare-tray-item-name {
  font-size: .72rem; color: #d1d5db; line-height: 1.3;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  flex: 1; min-width: 0; max-width: 72px;
}
.compare-tray-item-link {
  display: flex; align-items: center; gap: 6px;
  flex: 1; min-width: 0; text-decoration: none;
  color: inherit;
}
a.compare-tray-item-link:hover .compare-tray-item-name { text-decoration: underline; text-decoration-color: rgba(201,168,58,.6); }
.compare-tray-item-rm {
  background: none; border: none; color: #6b7280;
  padding: 2px 2px; cursor: pointer; font-size: .7rem;
  line-height: 1; flex-shrink: 0; border-radius: 4px;
  transition: color .12s;
}
.compare-tray-item-rm:hover { color: #f87171; }
.compare-tray-actions { flex-shrink: 0; }
.compare-tray-open:disabled { opacity: .4; cursor: default; }
body.catalog-page.theme-light .compare-tray {
  background: #f8f8f8; border-top-color: #c9a83a;
  box-shadow: 0 -4px 20px rgba(0,0,0,.1);
}
body.catalog-page.theme-light .compare-tray-item {
  background: rgba(0,0,0,.04); border-color: rgba(0,0,0,.1);
}
body.catalog-page.theme-light .compare-tray-item-name { color: #374151; }
body.catalog-page.theme-light .compare-tray-item-rm { color: #9ca3af; }
body.catalog-page.theme-light .compare-tray-item-rm:hover { color: #dc2626; }

/* ── Compare modal ──────────────────────────────────────────────────── */
.compare-modal {
  position: fixed; inset: 0; z-index: 900;
  display: flex; align-items: center; justify-content: center;
  padding: 16px;
  background: rgba(0,0,0,.6);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
}
.compare-modal-inner {
  position: relative;
  width: 100%; max-width: 960px;
  max-height: 90vh; overflow-y: auto;
  background: #161b26;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 18px;
  padding: 28px 24px 24px;
}
body.catalog-page.theme-light .compare-modal-inner {
  background: #fff; border-color: rgba(0,0,0,.1);
}
.compare-modal-close {
  position: absolute; top: 12px; right: 14px;
  width: 34px; height: 34px;
  display: flex; align-items: center; justify-content: center;
  border: none; border-radius: 50%;
  background: rgba(255,255,255,.07);
  color: inherit; font-size: 22px; line-height: 1;
  cursor: pointer; transition: background .12s;
}
.compare-modal-close:hover { background: rgba(255,255,255,.15); }
body.catalog-page.theme-light .compare-modal-close { background: rgba(0,0,0,.06); }
body.catalog-page.theme-light .compare-modal-close:hover { background: rgba(0,0,0,.12); }
.compare-modal-head {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 20px;
}
.compare-modal-title {
  font-size: 1.1rem; font-weight: 700; margin: 0;
  color: #e8e0cc;
}
body.catalog-page.theme-light .compare-modal-title { color: #1a1f2e; }

/* ── Compare table ──────────────────────────────────────────────────── */
.compare-table-wrap { overflow-x: auto; }
.compare-table {
  width: 100%; border-collapse: collapse;
  font-size: .88rem;
}
.compare-table th,
.compare-table td {
  padding: 10px 14px;
  border-bottom: 1px solid rgba(255,255,255,.07);
  vertical-align: top;
  text-align: left;
}
body.catalog-page.theme-light .compare-table th,
body.catalog-page.theme-light .compare-table td {
  border-bottom-color: rgba(0,0,0,.08);
}
.compare-table th {
  width: 130px; min-width: 110px;
  font-weight: 600; color: #c9a83a;
  white-space: nowrap;
}
body.catalog-page.theme-light .compare-table th { color: #b08a20; }
.compare-table td { color: #d0c9bd; }
body.catalog-page.theme-light .compare-table td { color: #333; }
.compare-table-remove {
  display: inline-flex; align-items: center; justify-content: center;
  margin-top: 6px;
  width: 26px; height: 26px; border-radius: 50%;
  border: none; background: rgba(255,255,255,.08);
  color: #aaa; font-size: 15px; cursor: pointer;
  transition: background .12s;
}
.compare-table-remove:hover { background: rgba(220,50,50,.25); color: #f66; }
body.catalog-page.theme-light .compare-table-remove { background: rgba(0,0,0,.06); color: #888; }
.compare-loading {
  text-align: center; padding: 40px 20px;
  color: #aaa; font-size: .9rem;
}
.compare-row-label {
  font-weight: 600; color: #c9a83a; white-space: nowrap;
}
body.catalog-page.theme-light .compare-row-label { color: #b08a20; }

/* ── Misafir sipariş takip modalı ────────────────────────────────────────── */
.otrack-modal {
  position: fixed; inset: 0; z-index: 1000;
  display: none; align-items: center; justify-content: center;
  padding: 16px;
}
.otrack-modal[aria-hidden="false"] { display: flex; }
.otrack-backdrop {
  position: absolute; inset: 0;
  background: rgba(0,0,0,.6);
  backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px);
}
.otrack-inner {
  position: relative;
  width: 100%; max-width: 420px;
  max-height: 90vh; overflow-y: auto;
  background: #161b26;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 18px;
  padding: 30px 26px 26px;
  box-shadow: 0 24px 70px rgba(0,0,0,.45);
}
body.theme-light .otrack-inner { background: #fff; border-color: rgba(0,0,0,.1); }
.otrack-close {
  position: absolute; top: 12px; right: 14px;
  width: 34px; height: 34px;
  display: flex; align-items: center; justify-content: center;
  border: none; border-radius: 50%;
  background: rgba(255,255,255,.07);
  color: inherit; font-size: 20px; line-height: 1;
  cursor: pointer; transition: background .12s;
}
.otrack-close:hover { background: rgba(255,255,255,.15); }
body.theme-light .otrack-close { background: rgba(0,0,0,.06); }
body.theme-light .otrack-close:hover { background: rgba(0,0,0,.12); }
.otrack-title { font-size: 1.15rem; font-weight: 800; color: #e8e0cc; margin: 0 0 6px; }
body.theme-light .otrack-title { color: #1a1a1a; }
.otrack-sub { font-size: .85rem; color: #9aa3b2; margin: 0 0 18px; line-height: 1.5; }
body.theme-light .otrack-sub { color: #666; }
.otrack-field { margin-bottom: 14px; }
.otrack-field label {
  display: block; font-size: .8rem; font-weight: 700;
  margin-bottom: 6px; color: #c9c2b2;
}
body.theme-light .otrack-field label { color: #444; }
.otrack-field input {
  width: 100%; box-sizing: border-box;
  padding: 11px 15px; border-radius: 10px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.04);
  color: inherit; font-size: 15px; outline: none;
  transition: border-color .14s;
}
.otrack-field input:focus { border-color: #c9a83a; }
body.theme-light .otrack-field input { background: #f5f2ed; border-color: rgba(0,0,0,.12); color: #1a1a1a; }
.otrack-btn {
  width: 100%; padding: 13px; border-radius: 10px;
  background: #c9a83a; color: #16130f; border: none;
  font-size: 15px; font-weight: 800; cursor: pointer;
  transition: opacity .14s, background .14s; margin-top: 4px;
}
.otrack-btn:hover:not(:disabled) { background: #d8b94a; }
.otrack-btn:disabled { opacity: .55; cursor: not-allowed; }
.otrack-msg {
  margin-top: 16px; padding: 11px 14px; border-radius: 10px;
  font-size: .85rem; font-weight: 600; line-height: 1.5;
}
.otrack-msg--err { background: rgba(220,64,64,.12); border: 1px solid rgba(220,64,64,.28); color: #f0a0a0; }
.otrack-msg--ok  { background: rgba(32,160,92,.12); border: 1px solid rgba(32,160,92,.28); color: #8fdcb0; }
body.theme-light .otrack-msg--err { color: #991b1b; }
body.theme-light .otrack-msg--ok  { color: #166534; }
.otrack-result { margin-top: 18px; }
.otrack-row {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,.08);
  font-size: .9rem;
}
.otrack-row:last-child { border-bottom: none; }
.otrack-row span { color: #9aa3b2; }
.otrack-row strong { color: #e8e0cc; text-align: right; }
body.theme-light .otrack-row { border-color: rgba(0,0,0,.08); }
body.theme-light .otrack-row span { color: #666; }
body.theme-light .otrack-row strong { color: #1a1a1a; }

/* ── Header'a yapışık tam-genişlik duyuru şeridi (.site-announce) ── */
.site-announce {
  width: 100%;
  background: linear-gradient(90deg, #c9a83a, #b8962e);
  color: #fff;
}
.site-announce-inner {
  max-width: 1320px; margin: 0 auto;
  padding: 9px 16px;
  display: flex; align-items: center; justify-content: center;
  gap: 9px; text-align: center; flex-wrap: wrap;
}
.site-announce-ico { width: 15px; height: 15px; flex: 0 0 auto; opacity: .95; }
.site-announce-badge {
  background: rgba(255,255,255,.22);
  border-radius: 999px; padding: 2px 10px;
  font-size: 11.5px; font-weight: 800; letter-spacing: .02em; text-transform: uppercase;
}
.site-announce-text { font-size: 13px; font-weight: 700; }
@media (max-width: 560px) {
  .site-announce-inner { padding: 8px 12px; gap: 7px; }
  .site-announce-text { font-size: 12px; }
}

/* ── Ürün sayfası "değerlendir" şeridi (satın alıp teslim alan müşteriye) ── */
.review-prompt-strip {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  margin: 16px 0; padding: 14px 16px;
  background: linear-gradient(90deg, rgba(201,168,58,.12), rgba(201,168,58,.05));
  border: 1px solid rgba(201,168,58,.35); border-radius: 14px;
  flex-wrap: wrap;
}
.review-prompt-strip .rps-left { display: flex; align-items: center; gap: 12px; min-width: 0; }
.review-prompt-strip .rps-ico { width: 26px; height: 26px; color: #c9a83a; flex: 0 0 auto; }
.review-prompt-strip .rps-title { font-size: 14px; font-weight: 800; color: inherit; }
.review-prompt-strip .rps-sub { font-size: 12.5px; opacity: .75; margin-top: 2px; }
.review-prompt-strip .rps-btn {
  flex: 0 0 auto; border: none; cursor: pointer;
  background: #c9a83a; color: #fff; font-weight: 800; font-size: 13.5px;
  padding: 10px 22px; border-radius: 999px; transition: background .14s;
}
.review-prompt-strip .rps-btn:hover { background: #b8962e; }
@media (max-width: 560px) {
  .review-prompt-strip { padding: 12px; gap: 10px; }
  .review-prompt-strip .rps-btn { width: 100%; }
}

/* ── Ürün detay sekmeleri (Açıklama / Özellikler / Değerlendirmeler) ── */
.pd-tabs { background: #fff; border: 1px solid #ece6db; border-radius: 16px; margin: 16px 0; overflow: hidden; }
body.theme-dark .pd-tabs { background: rgba(255,255,255,.03); border-color: rgba(255,255,255,.08); }
/* Sekmeler tek satırda kalır; dar ekranda alta sarmak yerine (Değerlendirmeler
   alta düşüyordu) yatay kaydırılır. Kaydırma çubuğu gizli, dokunmatik akıcı. */
.pd-tab-nav {
  display: flex; gap: 2px; border-bottom: 1px solid #ece6db; padding: 6px 6px 0;
  flex-wrap: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.pd-tab-nav::-webkit-scrollbar { display: none; }
body.theme-dark .pd-tab-nav { border-color: rgba(255,255,255,.08); }
.pd-tab-btn {
  border: none; background: transparent; cursor: pointer;
  font-size: 13.5px; font-weight: 800; color: #8a8170;
  padding: 12px 16px; border-radius: 10px 10px 0 0;
  border-bottom: 3px solid transparent; margin-bottom: -1px;
  white-space: nowrap; flex: 0 0 auto;
  transition: color .14s, border-color .14s, background .14s;
}
@media (max-width: 480px) {
  .pd-tab-btn { font-size: 12.5px; padding: 11px 12px; }
}
.pd-tab-btn:hover { color: #c9a83a; background: rgba(201,168,58,.06); }
.pd-tab-btn.is-active { color: #1a1a1a; border-bottom-color: #c9a83a; }
body.theme-dark .pd-tab-btn.is-active { color: #fff; }
.pd-tab-count { display: inline-block; min-width: 18px; padding: 0 5px; background: #c9a83a; color: #fff; border-radius: 999px; font-size: 11px; font-weight: 800; }
.pd-tab-panel { padding: 20px 22px; }
.pd-tab-panel[hidden] { display: none; }
.pd-empty { opacity: .65; font-size: 13.5px; margin: 4px 0; }
.pd-specs { margin: 0; }
.pd-spec-row { display: flex; gap: 14px; padding: 9px 0; border-bottom: 1px solid #f0ebe2; font-size: 13.5px; }
body.theme-dark .pd-spec-row { border-color: rgba(255,255,255,.06); }
.pd-spec-row:last-child { border-bottom: none; }
.pd-spec-row dt { flex: 0 0 130px; font-weight: 800; opacity: .7; margin: 0; }
.pd-spec-row dd { margin: 0; font-weight: 600; }
.pd-spec-note { opacity: .6; font-weight: 600; }
.pd-hygiene-note {
  font-size: 12px; color: #7a5a0a; background: rgba(201,168,58,.10);
  border: 1px solid rgba(201,168,58,.28); border-radius: 7px;
  padding: 7px 12px; margin: 10px 0 0; line-height: 1.5;
}

/* Değerlendirme formu: foto + anonim alanları */
.review-photo-field { display: flex; flex-direction: column; gap: 6px; margin: 10px 0; }
.review-photo-cta { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 700; opacity: .85; }
.review-photo-field input[type=file] { font-size: 12.5px; }
.review-anon-field { display: flex; align-items: center; gap: 8px; margin: 8px 0 4px; font-size: 13px; cursor: pointer; }
.review-anon-field input { width: 16px; height: 16px; flex: 0 0 auto; }
.review-photo { display: inline-block; margin-top: 8px; }
.review-photo img { max-width: 120px; max-height: 120px; border-radius: 10px; object-fit: cover; border: 1px solid #ece6db; }

/* ================================================
   Mobil uygulama tanıtımı (App Store / Google Play)
   — footer rozetleri + akıllı şerit + ilk ziyaret modalı + bağlamsal dürtme.
   App webview içinde JS <html>'e .toka-in-app ekler → hepsi gizlenir.
   ================================================ */

/* App webview: hiçbir "uygulamayı indir" öğesi gösterme */
html.toka-in-app .app-promo-badges,
html.toka-in-app .app-promo-nudge,
html.toka-in-app .sf-app,
html.toka-in-app .app-smart-banner,
html.toka-in-app .app-promo-modal { display: none !important; }

/* Rozet satırı (footer / modal / nudge ortak) */
.app-promo-badges { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.app-badge { display: inline-flex; line-height: 0; border-radius: 8px; transition: transform .12s ease, opacity .12s ease; }
.app-badge img { display: block; height: 40px; width: auto; border-radius: 8px; }
.app-badge:hover { transform: translateY(-1px); opacity: .92; }
.app-promo-badges--modal { justify-content: center; gap: 12px; margin: 4px 0 2px; }
.app-promo-badges--modal .app-badge img { height: 46px; }

/* Footer marka kolonundaki rozet bloğu */
.sf-app-block { margin-top: 14px; }
.sf-app-label { font-size: 12px; font-weight: 700; letter-spacing: .02em; opacity: .7; margin-bottom: 8px; }
.sf-app-block .app-promo-badges { gap: 8px; }
.sf-app-block .app-badge img { height: 38px; }

/* ── Akıllı indirme şeridi (mobil; sayfanın en üstünde, akış içinde — kaydırınca
   header'ın altından kayıp gider; sabit alt öğelerle —alt nav/float/sticky bar—
   çakışmaz). JS şeridi header'dan önce taşır ve gösterir. ── */
.app-smart-banner {
  display: none; align-items: center; gap: 11px;
  position: relative; z-index: 60;
  padding: 9px 14px;
  background: linear-gradient(180deg, rgba(22,24,34,.98), rgba(13,15,23,.98));
  border-bottom: 1px solid rgba(255,255,255,.12);
  box-shadow: 0 6px 20px rgba(0,0,0,.28);
  animation: app-banner-in .3s ease both;
}
@keyframes app-banner-in { from { opacity: 0; transform: translateY(-100%); } to { opacity: 1; transform: translateY(0); } }
.app-smart-banner-ic { width: 38px; height: 38px; flex: 0 0 auto; border-radius: 9px; object-fit: contain; background: rgba(255,255,255,.06); padding: 4px; }
.app-smart-banner-txt { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.app-smart-banner-txt strong { font-size: 13.5px; font-weight: 800; color: #fff; line-height: 1.2; }
.app-smart-banner-txt span { font-size: 11.5px; color: #b9c2cf; line-height: 1.25; }
.app-smart-banner-btn {
  flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center;
  padding: 8px 16px; border-radius: 999px;
  font-size: 13px; font-weight: 800; text-decoration: none; color: #2a2103;
  background: linear-gradient(90deg, #c9a83a, #e6cf7a);
  box-shadow: 0 4px 14px rgba(201,168,58,.34);
}
.app-smart-banner-x {
  flex: 0 0 auto; width: 26px; height: 26px; margin-left: -2px;
  border: 0; background: transparent; color: #9aa4b1;
  font-size: 22px; line-height: 1; cursor: pointer; border-radius: 8px;
}
.app-smart-banner-x:hover { color: #fff; background: rgba(255,255,255,.08); }

/* ── İlk ziyaret modalı ── */
.app-promo-modal { position: fixed; inset: 0; z-index: 1100; display: none; align-items: center; justify-content: center; padding: 20px; }
.app-promo-modal-backdrop { position: absolute; inset: 0; background: rgba(8,10,16,.62); backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px); }
.app-promo-modal-card {
  position: relative; z-index: 1; width: 100%; max-width: 380px;
  background: #fff; color: #1a1d24; border-radius: 20px;
  padding: 30px 24px 22px; text-align: center;
  box-shadow: 0 30px 80px rgba(0,0,0,.5);
  animation: app-modal-in .26s ease both;
}
@keyframes app-modal-in { from { opacity: 0; transform: translateY(16px) scale(.98); } to { opacity: 1; transform: translateY(0) scale(1); } }
.app-promo-modal-x { position: absolute; top: 10px; right: 12px; width: 32px; height: 32px; border: 0; background: transparent; color: #9aa4b1; font-size: 26px; line-height: 1; cursor: pointer; border-radius: 9px; }
.app-promo-modal-x:hover { color: #1a1d24; background: #f1f1f4; }
.app-promo-modal-ic { width: 64px; height: 64px; border-radius: 16px; object-fit: contain; margin: 2px auto 12px; display: block; box-shadow: 0 8px 24px rgba(0,0,0,.14); }
.app-promo-modal-title { font-size: 19px; font-weight: 900; margin-bottom: 8px; }
.app-promo-modal-sub { font-size: 13.5px; line-height: 1.6; color: #5a626e; margin-bottom: 18px; }
.app-promo-modal-later { margin-top: 14px; border: 0; background: transparent; color: #8a929e; font-size: 13px; font-weight: 700; cursor: pointer; padding: 6px 10px; }
.app-promo-modal-later:hover { color: #5a626e; text-decoration: underline; }

/* ── Bağlamsal dürtme kartı ── */
.app-promo-nudge {
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
  padding: 14px 16px; margin: 16px 0;
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(201,168,58,.10), rgba(201,168,58,.04));
  border: 1px solid rgba(201,168,58,.30);
}
.app-promo-nudge-ic { font-size: 26px; flex: 0 0 auto; }
.app-promo-nudge-txt { flex: 1 1 220px; min-width: 0; }
.app-promo-nudge-title { font-size: 14.5px; font-weight: 800; margin-bottom: 2px; }
.app-promo-nudge-sub { font-size: 12.5px; line-height: 1.5; opacity: .82; }
.app-promo-badges--nudge .app-badge img { height: 40px; }

@media (max-width: 480px) {
  .app-smart-banner-btn { padding: 7px 13px; font-size: 12.5px; }
  .app-promo-modal-card { padding: 26px 18px 20px; }
}
