/* ══════════════════════════════════════════════════════
   Site CSS
   Tüm değişkenler config 'deki themeCSS() fonksiyonu
   tarafından <style> olarak sayfaya eklenir.
   ══════════════════════════════════════════════════════ */

/* ── Reset & Base ───────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --primary:       #6366f1;
  --primary-rgb:   99,102,241;
  --primary-10:    rgba(99,102,241,.10);
  --primary-20:    rgba(99,102,241,.20);
  --primary-50:    rgba(99,102,241,.50);
  --btn-radius:    10px;
  --font:          'Inter', system-ui, sans-serif;
  --card-shadow:   0 4px 20px rgba(99,102,241,.10);
  --card-border:   none;

  --text:          #1e293b;
  --text-muted:    #64748b;
  --text-light:    #94a3b8;
  --border:        #e2e8f0;
  --bg:            #f8fafc;
  --surface:       #ffffff;
  --header-h:      64px;
  --radius-sm:     8px;
  --radius-md:     12px;
  --radius-lg:     16px;
  --transition:    .18s ease;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
button, input, select, textarea { font: inherit; }
/* iOS Safari buton metnini sistem mavisiyle boyar ve rengi miras aldırmaz;
   masaüstünde siyah görünen butonlar mobilde mavi çıkıyordu. */
button { color: inherit; -webkit-tap-highlight-color: transparent; }
ul, ol { list-style: none; }

/* ── Container ──────────────────────────────────────── */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ── Buttons ────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 22px;
  border-radius: var(--btn-radius);
  border: none;
  cursor: pointer;
  font-weight: 600;
  font-size: 15px;
  transition: all var(--transition);
  white-space: nowrap;
}
.btn-primary {
  background: var(--primary);
  color: #fff;
}
.btn-primary:hover {
  background: color-mix(in srgb, var(--primary) 85%, #000);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(var(--primary-rgb),.35);
}
.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}
.btn-outline:hover {
  background: var(--primary-10);
}
.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}
.btn-ghost:hover { background: var(--bg); }
.btn-sm { padding: 7px 14px; font-size: 13px; }
.btn-lg { padding: 14px 28px; font-size: 17px; }
.btn-block { width: 100%; justify-content: center; }
/* Stoğu biten üründe buton yerinde durur ama soluk ve tıklanamaz —
   kart yüksekliği sabit kalsın, ızgara hizası kaymasın. */
.btn-soldout {
  opacity: .45;
  cursor: not-allowed;
  pointer-events: none;
  filter: grayscale(1);
}
.btn:disabled { opacity: .5; pointer-events: none; }

/* Metin etiketli ikon butonları (Sepetim / Giriş Yap) — masaüstünde yazı, mobilde yalnız ikon */
.icon-btn.has-label {
  width: auto;
  gap: 7px;
  padding: 0 12px;
}
.icon-btn-label {
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
}
.icon-btn.has-label .cart-badge { right: auto; left: 26px; }
@media (max-width: 768px) {
  .icon-btn.has-label { width: 40px; padding: 0; gap: 0; }
  .icon-btn-label { display: none; }
  .icon-btn.has-label .cart-badge { right: 2px; left: auto; }
}

.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  border: none;
  background: transparent;
  cursor: pointer;
  color: var(--text);
  border-radius: var(--radius-sm);
  transition: all var(--transition);
  position: relative;
}
.icon-btn:hover {
  background: var(--primary-10);
  color: var(--primary);
}

/* ── Header ─────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 900;
  background: var(--surface);
  border-bottom: 0;
  box-shadow: 0 1px 8px rgba(0,0,0,.06);
}

/* Classic Header */
.classic-header .header-top { padding: var(--header-py, 12px) 0; }
.classic-header .header-top-inner {
  display: flex;
  align-items: center;
  gap: 16px;
}
.classic-header .search-form { flex: 1; max-width: 520px; }

/* Minimal Header — tek satır: solda logo · ortada kategoriler · sağda ikonlar */
.minimal-header .mh-inner {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  /* Yatay padding .container'dan gelsin — kısayol `padding` kullanılırsa ezilir
     ve içerik ekranın soluna/sağına yapışır. */
  padding-top: var(--header-py, 12px);
  padding-bottom: var(--header-py, 12px);
}
.minimal-header .mh-left  { flex-shrink: 0; }
.minimal-header .mh-right { display: flex; align-items: center; gap: 4px; justify-self: end; }

/* Ortadaki kategori menüsü — sticky şerit değil, header satırının parçası.
   Kategoriler sığmazsa taşmak yerine yatay kaydırılır (açılır menüler
   position:fixed olduğu için kırpılmaz). */
.minimal-header .mh-nav { min-width: 0; overflow-x: auto; scrollbar-width: none; }
.minimal-header .mh-nav::-webkit-scrollbar { display: none; }
.minimal-header .mh-nav .nav-inner { flex-wrap: nowrap; overflow: visible; }
/* Minimal dışındaki header stillerinde şerit menü: köşesiz, alt çizgiye yer bırakan padding */
.main-nav .nav-link {
  padding: 12px 12px 9px 18px;
  border-radius: 0;
}
.minimal-header .mh-nav .nav-link {
  color: var(--text-muted);
  padding: 8px 14px;
  white-space: nowrap;
  /* Minimal'de alt çizgi yok — vurgu yalnızca arka planla verilir */
  border-bottom: 0;
  /* Köşeler buton ayarını izler (admin → Buton Köşeleri) */
  border-radius: var(--btn-radius);
}
.minimal-header .mh-nav .nav-link:hover,
.minimal-header .mh-nav .nav-link.active {
  color: var(--primary);
  background: var(--primary-10);
}

/* Arama satırı: ikona basılınca açılır (masaüstünde de) */
.minimal-header .mh-search { display: none; border-top: 1px solid var(--border); }
.minimal-header.search-open .mh-search { display: block; }
.minimal-header .mh-search .search-form { margin: 10px 0; width: 100%; }
/* Minimal'de arama ikonu masaüstünde de görünür */
.minimal-header .search-toggle-btn { display: flex; }

/* Centered Header */
.centered-header .centered-top {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
  /* Yatay padding .container'dan gelsin (kısayol `padding` onu ezip 0'lıyordu) */
  padding-top: var(--header-py, 12px);
  padding-bottom: var(--header-py, 12px);
}
.centered-logo { justify-self: center; }
.header-side { display: flex; align-items: center; gap: 8px; }
.header-side-right { justify-content: flex-end; }

.header-actions {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}

/* Logo */
.site-logo { display: flex; align-items: center; flex-shrink: 0; }
.site-logo-img { height: var(--logo-height, 42px); width: auto; object-fit: contain; }
/* Mobil logo: yalnızca mobil genişlikte gösterilir (ayarlarda tanımlıysa) */
.site-logo-img--mobile { display: none; }
.site-logo-text {
  font-size: 22px;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -.5px;
}
.footer-logo { height: 36px; width: auto; }
.footer-logo-text {
  font-size: 20px;
  font-weight: 800;
  color: var(--primary);
}

/* Search */
.search-form {
  display: flex;
  align-items: center;
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.search-form:focus-within {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-10);
}
.search-input {
  flex: 1;
  padding: 9px 16px;
  border: none;
  background: transparent;
  outline: none;
  font-size: 14px;
  color: var(--text);
}
.search-input::placeholder { color: var(--text-light); }
.search-btn {
  padding: 9px 14px;
  border: none;
  background: transparent;
  cursor: pointer;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  transition: color var(--transition);
}
.search-btn:hover { color: var(--primary); }

/* Scroll Progress Bar */
#scrollProgress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 3px;
  background: var(--primary);
  z-index: 9999;
  transition: width .08s linear;
  pointer-events: none;
}

/* ── PayTR taksit tablosu (ürün detayı) ─────────────── */
.product-installments { margin-top: 28px; }
/* Sağ sütunda dar alan — kartlar tam genişliğe yayılsın */
.product-detail-wrap .product-installments .taksit-tablosu-wrapper {
  width: 100%;
  max-width: 320px;
  margin: 5px 0;
}
.product-detail-wrap .product-installments #paytr_taksit_tablosu { text-align: left; }
/* Sayfa sonundaki geniş yerleşim ortalanır */
.product-installments--bottom #paytr_taksit_tablosu { text-align: center; }
.product-installments h3 {
  font-size: 16px;
  font-weight: 700;
  margin: 0 0 12px;
  color: var(--text);
}
/* PayTR betiğinin ürettiği yapı — sınıf adları sağlayıcıya ait, değiştirilmemeli */
#paytr_taksit_tablosu {
  clear: both;
  font-size: 12px;
  max-width: 1200px;
  text-align: center;
  font-family: inherit;
}
#paytr_taksit_tablosu::before { display: table; content: " "; }
#paytr_taksit_tablosu::after  { content: ""; clear: both; display: table; }
.taksit-tablosu-wrapper {
  margin: 5px;
  width: 280px;
  padding: 12px;
  cursor: default;
  text-align: center;
  display: inline-block;
  border: 1px solid var(--border, #e1e1e1);
  border-radius: var(--radius-md, 8px);
  background: var(--surface, #fff);
}
.taksit-logo img { max-height: 28px; padding-bottom: 10px; }
.taksit-tutari-text { float: left; width: 126px; color: var(--text-muted, #a2a2a2); margin-bottom: 5px; }
.taksit-tutar-wrapper { display: inline-block; background-color: var(--bg, #f7f7f7); }
.taksit-tutar-wrapper:hover { background-color: var(--bg-soft, #e8e8e8); }
.taksit-tutari { float: left; width: 126px; padding: 6px 0; color: var(--text, #474747); border: 2px solid var(--surface, #fff); }
.taksit-tutari-bold { font-weight: bold; }
@media all and (max-width: 600px) {
  .taksit-tablosu-wrapper { margin: 5px 0; width: 100%; }
}

/* ── Şerit banner (header üstü / hero altı) ─────────── */
/* Aynı konumda birden fazla şerit varsa boyama sırası tersine çevrilir:
   üsttteki şerit altındakinin gölgesinin üzerinde kalır, böylece iki şeridin
   birleştiği yerde renk kirlenmesi olmaz. */
.bstrip-group > .banner-strip { position: relative; }
.bstrip-group > .banner-strip:nth-last-child(1)  { z-index: 1; }
.bstrip-group > .banner-strip:nth-last-child(2)  { z-index: 2; }
.bstrip-group > .banner-strip:nth-last-child(3)  { z-index: 3; }
.bstrip-group > .banner-strip:nth-last-child(4)  { z-index: 4; }
.bstrip-group > .banner-strip:nth-last-child(5)  { z-index: 5; }
.bstrip-group > .banner-strip:nth-last-child(6)  { z-index: 6; }
.bstrip-group > .banner-strip:nth-last-child(7)  { z-index: 7; }
.bstrip-group > .banner-strip:nth-last-child(8)  { z-index: 8; }
.bstrip-group > .banner-strip:nth-last-child(9)  { z-index: 9; }
.bstrip-group > .banner-strip:nth-last-child(10) { z-index: 10; }

.banner-strip {
  /* --bstrip-base / --bstrip-fg satır bazında (admin) atanır; yoksa tema rengi */
  --bstrip-base: var(--primary);
  /* 2. renk girilmediyse ana renge düşer — tanımsız kalırsa color-mix geçersiz
     olur ve tüm background kuralı düşerdi (şerit şeffaf görünürdü). */
  --bstrip-base2: var(--bstrip-base);
  --bstrip-fg: #fff;
  --bstrip-pad: 9px;
  background: var(--bstrip-base);
  color: var(--bstrip-fg);
  font-size: 13px;
  font-weight: 500;
  overflow: hidden;
}
/* Renk geçişli arka plan — tonlar ana renkten türetilir, yavaşça kayar */
.banner-strip.bstrip-bg-gradient {
  background: linear-gradient(135deg,
    color-mix(in srgb, var(--bstrip-base) 55%, #000) 0%,
    color-mix(in srgb, var(--bstrip-base) 78%, #000) 25%,
    var(--bstrip-base) 50%,
    color-mix(in srgb, var(--bstrip-base) 72%, #fff) 75%,
    color-mix(in srgb, var(--bstrip-base) 55%, #000) 100%);
  background-size: 200% 100%;
  animation: bstripGradient 14s linear infinite;
  text-shadow: 0 1px 2px rgba(0, 0, 0, .28);
}
/* İki renkli geçiş — ikinci renk girildiğinde devreye girer.
   Beş durak: koyu → 2. renk → ana renk → açık → koyu.
   Baş ve son aynı olduğu için döngü kesintisiz görünür.
   Animasyon .bstrip-bg-gradient'ten miras alınır (14s linear infinite). */
.banner-strip.bstrip-bg-gradient.bstrip-duo {
  background: linear-gradient(135deg,
    color-mix(in srgb, var(--bstrip-base) 55%, #000) 0%,
    var(--bstrip-base2) 25%,
    var(--bstrip-base) 50%,
    color-mix(in srgb, var(--bstrip-base2) 70%, #fff) 75%,
    color-mix(in srgb, var(--bstrip-base) 55%, #000) 100%);
  background-size: 200% 100%;
}
@keyframes bstripGradient {
  from { background-position: 0 0; }
  to   { background-position: 200% 0; }
}
@media (prefers-reduced-motion: reduce) {
  .banner-strip.bstrip-bg-gradient { animation: none; }
}
.bstrip-icon { font-size: 1.05em; opacity: .95; }
/* Gölge seçeneği (admin → Gölge: Yok / Az / Orta / Çok).
   Negatif yayılım gölgeyi aşağı doğru tutar; üstteki şeride taşmaz. */
.banner-strip.bstrip-sm,
.banner-strip.bstrip-md,
.banner-strip.bstrip-lg { position: relative; }
.banner-strip.bstrip-sm { box-shadow: 0 3px  8px -4px rgba(0, 0, 0, .22); }
.banner-strip.bstrip-md { box-shadow: 0 6px 14px -5px rgba(0, 0, 0, .32); }
.banner-strip.bstrip-lg { box-shadow: 0 12px 26px -8px rgba(0, 0, 0, .45); }
.banner-strip .bstrip-link { color: inherit; text-decoration: none; display: block; }
.banner-strip .bstrip-link:hover { opacity: .9; }
.bstrip-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  padding-top: var(--bstrip-pad, 9px);
  padding-bottom: var(--bstrip-pad, 9px);
  text-align: center;
}
.bstrip-title { font-weight: 700; }
.bstrip-sub   { opacity: .85; }
.bstrip-pos-hero_bottom { margin-top: 0; }

/* Kayan yazı — içerik iki kez basılır, yarısı kadar kaydırılır (kesintisiz döngü) */
.bstrip-marquee { padding: var(--bstrip-pad, 9px) 0; width: 100%; }
.bstrip-track {
  display: flex;
  /* Şerit ekran genişliğinde: iki kopya birlikte en az iki ekran eder,
     böylece kısa metinlerde de kayan alan tüm genişliği kaplar. */
  min-width: 200%;
  white-space: nowrap;
  will-change: transform;
  animation: bstripScroll var(--bstrip-speed, 24s) linear infinite;
}
.bstrip-track:hover { animation-play-state: paused; }
.bstrip-seq {
  /* Boş alan iki kopya arasında eşit bölünür → her biri tam ekran genişliği */
  flex: 1 0 auto;
  display: inline-flex;
  align-items: center;
  /* Tek öğede ortalar, birden fazlaysa aralarına eşit boşluk bırakır */
  justify-content: space-evenly;
}
/* Aynı konumdaki her kayan yazı, aynı şeritte peş peşe akan bir öğedir */
.bstrip-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0 24px;
  white-space: nowrap;
}
a.bstrip-item { color: inherit; text-decoration: none; }
a.bstrip-item:hover { opacity: .85; }
@keyframes bstripScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .bstrip-track { animation: none; }
}

/* Nav */
.main-nav {
  background: var(--primary);
  display: block;
  position: sticky;
  top: 0;
  z-index: 500;
  box-shadow: 0 2px 8px rgba(0,0,0,.18);
}
.nav-inner {
  display: flex;
  align-items: center;
  gap: 0;
  overflow: visible;
}
/* Menü hizası — admin → Header Stili → Menü Hizası */
.main-nav.nav-align-left   .nav-inner,
.mh-nav.nav-align-left     .nav-inner { justify-content: flex-start; }
.main-nav.nav-align-center .nav-inner,
.mh-nav.nav-align-center   .nav-inner { justify-content: center; }
.main-nav.nav-align-right  .nav-inner,
.mh-nav.nav-align-right    .nav-inner { justify-content: flex-end; }

/* Minimal header: menü şeridi logoyla aynı arka planı paylaştığı için
   bağlantı metni logo ile aynı hizada başlamalı. .nav-link'in 18px yan
   boşluğu metni içeri kaydırdığından baştaki (ve sağa yaslıyken sondaki)
   bağlantının o taraftaki boşluğu sıfırlanır. */
.minimal-header .mh-nav.nav-align-left  .nav-inner > :first-child,
.minimal-header .mh-nav.nav-align-left  .nav-inner > :first-child > .nav-link { padding-left: 0; }
.minimal-header .mh-nav.nav-align-right .nav-inner > :last-child,
.minimal-header .mh-nav.nav-align-right .nav-inner > :last-child > .nav-link { padding-right: 0; }

.nav-link {
  display: inline-flex;
  align-items: center;
  padding: 12px 18px;
  font-size: 14px;
  font-weight: 500;
  color: rgba(255,255,255,.85);
  white-space: nowrap;
  transition: all var(--transition);
  position: relative;
  /* Şeffaf alt çizgi hep duruyor — hover/active'de yalnızca rengi değişir,
     böylece yükseklik oynamaz ve yazılar dikeyde ortalı kalır.
     Kalınlık admin → Header Stili → Menü Alt Çizgisi ayarından gelir;
     kapalıyken 0 olur ve hover/active'de de çizgi çıkmaz. */
  border-bottom: var(--nav-underline, 3px) solid transparent;
}
.nav-link:hover,
.nav-link.active {
  color: #fff;
  border-bottom-color: rgba(255,255,255,.7);
  /* Arka plan admin → Header Stili → Menü Vurgu Rengi'nden gelir */
  background: var(--nav-hover-bg, rgba(255,255,255,.1));
}

/* ── Kategori Dropdown ───────────────────────────── */
.nav-item-wrap {
  position: relative;
  display: inline-flex;
  align-items: stretch;
}
.nav-item-wrap .nav-dropdown {
  display: none;
  position: fixed;
  top: -9999px;
  left: -9999px;
  min-width: 190px;
  max-height: calc(100vh - 120px);
  overflow-y: auto;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  box-shadow: 0 8px 24px rgba(0,0,0,.14);
  z-index: 99999;
  padding: 4px 0;
}
.nav-dropdown-link {
  display: block;
  padding: 9px 16px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-primary);
  white-space: nowrap;
  transition: background .15s, color .15s;
  border-left: 3px solid transparent;
}
.nav-dropdown-link:hover,
.nav-dropdown-link.active {
  background: var(--primary-10);
  color: var(--primary);
  border-left-color: var(--primary);
}
.nav-link-arrow {
  margin-left: 5px;
  font-size: 9px;
  opacity: .75;
  transition: transform .2s;
}
.nav-item-wrap:hover .nav-link-arrow { transform: rotate(180deg); }
/* Sidebar alt kategori hiyerarşi */
.filter-suboption {
  font-size: 13px;
  color: var(--text-muted);
}
.filter-suboption:hover { color: var(--primary); }
.filter-suboption.active {
  background: var(--primary-10);
  color: var(--primary);
  font-weight: 600;
}

/* Hiyerarşi wrapper — her seviyede sol çizgi + girinti */
.filter-suboption-group {
  border-left: 2px solid var(--border);
  margin-left: 14px;
  margin-top: 2px;
  margin-bottom: 2px;
  padding-top: 2px;
}
.filter-suboption-group .filter-suboption-group {
  border-left-color: var(--primary-20);
}

/* Minimal header nav */


/* Centered nav */
.centered-nav { background: var(--primary); }
.centered-nav .nav-inner { justify-content: center; }

/* Cart Badge */
.cart-btn { position: relative; }
.cart-badge {
  position: absolute;
  top: 2px; right: 2px;
  min-width: 18px; height: 18px;
  /* Renk admin → Ayarlar → Site Teması → Rozet Rengi'nden gelir */
  background: var(--badge-bg, #ef4444);
  color: var(--badge-fg, #fff);
  font-size: 11px;
  font-weight: 700;
  /* Köşeler buton ayarını izler (admin → Buton Köşeleri) */
  border-radius: var(--btn-radius);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
  line-height: 1;
}

/* Mobile Menu */
.mobile-menu-btn { display: none; }
/* Mobil arama aç/kapat ikonu — masaüstünde arama kutusu zaten görünür */
.search-toggle-btn { display: none; }
.mobile-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.45);
  z-index: 950;
}
.mobile-nav {
  position: fixed;
  top: 0; left: 0;
  width: 280px; height: 100%;
  background: var(--surface);
  z-index: 960;
  transform: translateX(-100%);
  transition: transform .25s ease;
  overflow-y: auto;
  box-shadow: 4px 0 24px rgba(0,0,0,.15);
}
.mobile-nav.open { transform: translateX(0); }
.mobile-overlay.open { display: block; }
.mobile-nav-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  /* Dikey boşluk ve logo yüksekliği admin → Header Stili'nden gelir */
  padding: var(--mnav-py, 18px) 20px;
  border-bottom: 1px solid var(--border);
  font-weight: 700;
  font-size: 17px;
}
/* Mobil menü logosu — tanımlıysa firma adının yerini alır */
.mobile-nav-logo { display: inline-flex; align-items: center; min-width: 0; }
.mobile-nav-logo img { max-height: var(--mnav-logo-h, 34px); max-width: 170px; width: auto; object-fit: contain; }
.mobile-nav-link {
  display: block;
  /* Yazı boyutu ve dikey boşluk admin → Header Stili'nden gelir */
  padding: var(--mnav-link-py, 14px) 20px;
  border-bottom: 1px solid var(--border);
  font-size: var(--mnav-link-fs, 15px);
  color: var(--text);
  transition: all var(--transition);
}
.mobile-nav-link:hover { background: var(--primary-10); color: var(--primary); padding-left: 28px; }
/* Bulunulan sayfa — sol kenardaki çizgi yerleşimi kaydırmaz (hover'daki
   padding sıçraması aktif bağlantıda istenmez). */
.mobile-nav-link.active {
  background: var(--primary-10);
  color: var(--primary);
  font-weight: 600;
  box-shadow: inset 3px 0 0 var(--primary);
}
/* Sabit menü öğelerindeki ikonlar tek sütunda hizalı dursun */
.mobile-nav-link > i {
  display: inline-block;
  width: 18px;
  text-align: center;
  margin-right: 6px;
  opacity: .75;
}
.mobile-nav-link.active > i { opacity: 1; }
/* Kategori/sayfa işareti: alt öğesi olan "+", olmayan "-".
   Sabit genişlik + küçük punto — metin hizası bozulmaz. */
.mobile-nav-link > i.mnav-mark {
  display: inline-block;
  width: 14px;
  text-align: center;
  margin-right: 8px;
  font-size: 10px;
  opacity: .45;
  vertical-align: middle;
}
.mobile-nav-link.active > i.mnav-mark { opacity: .85; }

/* ── Main ───────────────────────────────────────────── */
.site-main { flex: 1; }

/* ── Cards ──────────────────────────────────────────── */
.product-card {
  background: var(--surface);
  border-radius: var(--radius-md);
  box-shadow: var(--card-shadow);
  border: var(--card-border);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform var(--transition), box-shadow var(--transition);
}
.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(var(--primary-rgb),.18);
}
.product-card-img {
  width: 100%;
  /* Yükseklik ayardan gelir: 100 = kare, 130 = %30 daha uzun (ayarlar → ürün resmi) */
  aspect-ratio: 100 / var(--card-img-h, 100);
  object-fit: contain;
  object-position: center;
  padding: 12px;
  background: #fff;
  flex-shrink: 0;
  display: block;
}
/* ── Resim Doldur modu ─── */
.img-fit-cover .product-card-img {
  object-fit: cover;
  object-position: center;
  padding: 0;
}
.product-card-img-wrap {
  position: relative;
  overflow: hidden;
  background: #fff;
}
.img-fit-cover .product-card-img-wrap { background: var(--bg); }
/* İndirim yüzdesi rozeti — kart görselinin sol üst köşesi */
.card-discount {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
  background: var(--badge-bg, #ef4444);
  color: var(--badge-fg, #fff);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.5;
  padding: 3px 9px 2px 9px;
  /* Köşe yuvarlaması admin → Ayarlar → Buton Köşeleri ayarından gelir */
  border-radius: var(--btn-radius, 8px);
  box-shadow: 0 2px 6px rgba(0, 0, 0, .18);
  pointer-events: none;
}
.product-card-img-wrap:hover .product-card-overlay { opacity: 1; }

/* ── Onay kutusu (siteConfirm) ─────────────────────── */
.sc-overlay {
  position: fixed; inset: 0; z-index: 9500;
  background: rgba(15, 23, 42, .5);
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
  opacity: 0; transition: opacity .18s ease;
}
.sc-overlay.is-open { opacity: 1; }
.sc-box {
  background: var(--bg, #fff);
  border-radius: 16px;
  padding: 28px 24px 20px;
  width: 100%; max-width: 380px;
  text-align: center;
  box-shadow: 0 20px 60px rgba(0, 0, 0, .3);
  transform: translateY(10px) scale(.97);
  transition: transform .18s ease;
}
.sc-overlay.is-open .sc-box { transform: translateY(0) scale(1); }
.sc-icon {
  width: 64px; height: 64px; margin: 0 auto 16px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.sc-icon svg { width: 34px; height: 34px; }
.sc-icon-warning  { background: #fef3c7; color: #d97706; }
.sc-icon-question { background: var(--primary-10, #eef2ff); color: var(--primary, #4f46e5); }
.sc-icon-success  { background: #d1fae5; color: #059669; }
.sc-icon-danger   { background: #fee2e2; color: #dc2626; }
.sc-title { font-size: 19px; font-weight: 700; color: var(--text, #111827); }
.sc-text  { font-size: 14px; color: var(--text-muted, #6b7280); margin-top: 8px; line-height: 1.6; }
.sc-actions { display: flex; gap: 10px; margin-top: 22px; }
.sc-btn {
  flex: 1; padding: 11px 16px; border-radius: var(--btn-radius, 10px);
  font-size: 14px; font-weight: 600; cursor: pointer; border: 1px solid var(--border, #e5e7eb);
  background: var(--bg-alt, #f8fafc); color: var(--text, #111827);
  transition: filter .15s ease, background .15s ease;
}
.sc-btn:hover { filter: brightness(.97); }
.sc-ok { background: var(--primary, #4f46e5); border-color: var(--primary, #4f46e5); color: #fff; }
.sc-ok.sc-danger { background: #dc2626; border-color: #dc2626; }

/* Galeri geçiş katmanı: yeni görsel hafif kayarak belirir (crossfade + slide) */
.pc-img-alt {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  pointer-events: none;
  z-index: 2;
  transition: opacity .32s ease, transform .32s ease;
}
@media (prefers-reduced-motion: reduce) {
  .pc-img-alt { transition-duration: .01ms; }
}

/* ── Kart galerisi: görsel sayısı kadar nokta (sağ alt) ── */
.pc-dots {
  position: absolute;
  right: 8px;
  bottom: 8px;
  display: flex;
  gap: 5px;
  z-index: 3;
}
.pc-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(0, 0, 0, .22);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .6);
  cursor: pointer;
  transition: background .15s ease, transform .15s ease;
}
.pc-dot:hover { background: rgba(0, 0, 0, .45); }
.pc-dot.active {
  background: var(--primary);
  transform: scale(1.3);
}

/* Görselin üzerine gelince çıkan sağ/sol oklar */
.pc-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .92);
  color: #111;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .18);
  opacity: 0;
  pointer-events: none;
  transition: opacity .18s ease, background .15s ease;
  cursor: pointer;
  z-index: 4;
}
.pc-nav:hover { background: #fff; }
.pc-prev { left: 8px; }
.pc-next { right: 8px; }
.product-card-img-wrap:hover .pc-nav,
.gallery-main:hover .pc-nav { opacity: 1; pointer-events: auto; }
/* Dokunmatik cihazlarda hover yok: oklar sürekli görünür ama daha küçük */
@media (hover: none) {
  .pc-nav {
    opacity: 1;
    pointer-events: auto;
    width: 24px;
    height: 24px;
    background: rgba(255, 255, 255, .85);
    box-shadow: 0 1px 5px rgba(0, 0, 0, .16);
  }
  .pc-nav svg { width: 12px; height: 12px; }
  .pc-prev { left: 5px; }
  .pc-next { right: 5px; }

  .gallery-main .pc-nav { width: 30px; height: 30px; }
  .gallery-main .pc-nav svg { width: 15px; height: 15px; }
  .gallery-main .pc-prev { left: 8px; }
  .gallery-main .pc-next { right: 8px; }
}
.product-card-overlay {
  position: absolute;
  inset: 0;
  background: rgba(var(--primary-rgb),.12);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--transition);
}
.product-card-body {
  padding: 14px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.product-card-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 6px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.product-card-cat {
  font-size: 12px;
  color: var(--text-light);
  margin-bottom: 0;
}
.product-card-price {
  font-size: 18px;
  font-weight: 700;
  color: var(--primary);
  margin-top: auto;
  display: flex;
  align-items: baseline;
  gap: 6px;
  flex-wrap: wrap;
}
.compare-price {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
  text-decoration: line-through;
}
.product-card-footer { padding: 0 14px 14px; }
/* "Stok tükendi" — düz yazı yerine rozet, "Son N adet!" ile aynı biçim */
.out-of-stock {
  display: inline-block;
  background: #fee2e2;
  color: #b91c1c;
  font-size: 11px;
  font-weight: 600;
  padding: 2px 8px;
  /* Köşeler buton ayarını izler (admin → Buton Köşeleri) */
  border-radius: var(--btn-radius);
  white-space: nowrap;
}
/* Fiyat satırının en sağına yaslanır (kart gövdesinde fiyatla aynı satırda) */
.product-card-price .badge-stock-low,
.product-card-price .out-of-stock { margin-left: auto; margin-bottom: 0; }
.badge-stock-low {
  display: inline-block;
  background: #fef9c3;
  color: #a16207;
  font-size: 11px;
  font-weight: 600;
  padding: 2px 8px;
  /* Köşeler buton ayarını izler (admin → Buton Köşeleri) */
  border-radius: var(--btn-radius);
  margin-bottom: 8px;
}

/* Product Grid */
.product-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(var(--grid-cols, 4), 1fr);
}

/* ── Slider / Banner ─────────────────────────────────── */
.slider-wrap {
  position: relative;
  overflow: hidden;
  background: var(--primary-10);
}
.slider-wrap.boxed { max-width: 1280px; margin: 0 auto; border-radius: var(--radius-lg); }
.slider-wrap.full-width {
  width: 100%;
  border-radius: 0 !important;
}
/* ── Vitrin — yanyana çok slaytlı carousel ──────────── */
.slider-wrap.vitrin {
  background: transparent;
  overflow: hidden;
}
.slider-wrap.vitrin .slider-inner {
  align-items: stretch;
  transition: transform .4s ease;
}
.slider-wrap.vitrin .slide {
  border-radius: var(--radius-lg);
  overflow: hidden;
  flex-shrink: 0;
}
.slider-wrap.vitrin.vitrin-full,
.slider-wrap.vitrin.vitrin-full .slide { border-radius: 0; }
.slider-wrap.vitrin .slide img {
  object-fit: cover;
  width: 100%;
  height: 100%;
}

.slider-inner {
  display: flex;
  height: 100%;
  transition: transform .45s ease;
}
.slide {
  min-width: 100%;
  width: 100%;
  height: 100%;
  position: relative;
  flex-shrink: 0;
}
.slide[data-href] { cursor: pointer; }
.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
/* Slider resmi görünümü — admin "Slider Resmi Görünümü" ayarı */
.slider-wrap.slider-fit-contain .slide img,
.slider-wrap.slider-fit-contain.vitrin .slide img { object-fit: contain; }
.slider-wrap.slider-fit-cover   .slide img,
.slider-wrap.slider-fit-cover.vitrin   .slide img { object-fit: cover; }
.slider-wrap.slider-fit-none    .slide img,
.slider-wrap.slider-fit-none.vitrin    .slide img { object-fit: none; }
/* Tam Genişlik — resim %100 ende, doğal yükseklikte (kırpılmaz); slider yüksekliği yerine resim boyu belirler.
   Yükseklik "Sabit" seçiliyse bu kural devre dışı kalır; girilen px değeri geçerli olur. */
.slider-wrap.slider-fit-fullwidth:not(.vitrin):not(.slider-h-fixed),
.slider-wrap.slider-fit-fullwidth:not(.vitrin):not(.slider-h-fixed) .slider-inner,
.slider-wrap.slider-fit-fullwidth:not(.vitrin):not(.slider-h-fixed) .slide { height: auto; }
.slider-wrap.slider-fit-fullwidth:not(.slider-h-fixed) .slide img { width: 100%; height: auto; object-fit: fill; }
/* Sabit yükseklik + Tam Genişlik: resim alanı doldurur, oranı bozulmaz */
.slider-wrap.slider-fit-fullwidth.slider-h-fixed .slide img { width: 100%; height: 100%; object-fit: cover; }
/* Slider metin katmanı — karartma ve konum admin ayarlarından gelir
   (--slider-overlay, --slider-align, --slider-text-align) */
.slide-content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: var(--slider-align, flex-start);
  justify-content: center;
  text-align: var(--slider-text-align, left);
  /* İçerik container ile aynı hizada dursun */
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 40px 20px;
  color: #fff;
}
/* Karartma ayrı katmanda: metin hizası değişse de tüm resmi kaplar */
.slide-content::before {
  content: '';
  position: absolute;
  inset: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100vw;
  max-width: none;
  background: var(--slider-overlay, rgba(0,0,0,.45));
  pointer-events: none;
}
.slide-content > * { position: relative; z-index: 1; }
.slide-content h2 { font-size: clamp(22px, 4vw, 48px); font-weight: 800; margin-bottom: 12px; }
.slide-content p  { font-size: clamp(14px, 2vw, 20px); margin-bottom: 24px; opacity: .9; max-width: 500px; }

.slider-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--primary) 0%, color-mix(in srgb, var(--primary) 60%, #000) 100%);
  color: #fff;
}
.slider-placeholder-inner { text-align: center; }
.slider-placeholder-inner h2 { font-size: clamp(20px, 4vw, 42px); font-weight: 800; margin-bottom: 12px; }
.slider-placeholder-inner p  { font-size: clamp(14px, 2vw, 18px); opacity: .8; margin-bottom: 24px; }

.slider-controls { display: flex; gap: 8px; margin-top: 16px; }
.slider-btn-wrap {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 12px;
  pointer-events: none;
}
.slider-nav-btn {
  pointer-events: all;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,.9);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0,0,0,.2);
  transition: all var(--transition);
}
.slider-nav-btn:hover { background: #fff; transform: scale(1.1); }
.slider-dots {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
}
.slider-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,.5);
  border: none;
  cursor: pointer;
  transition: all var(--transition);
}
.slider-dot.active {
  background: #fff;
  width: 24px;
  border-radius: 4px;
}

/* Heights */
.slider-h-sm  { height: 240px; }
.slider-h-md  { height: 380px; }
.slider-h-lg  { height: 520px; }
.slider-h-full { height: min(600px, 55vw); }
/* Sabit yükseklik — gerçek değer tema CSS'inden gelir (admin → Slider Yüksekliği: Sabit).
   Buradaki değer yalnızca tema CSS'i yüklenemezse devreye giren yedektir. */
.slider-h-fixed { height: 380px; }

/* ── Section ────────────────────────────────────────── */
.section { padding: 60px 0; }
.section-sm { padding: 40px 0; }
.section-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 28px;
  gap: 16px;
}
.section-title {
  font-size: 24px;
  font-weight: 800;
  color: var(--text);
  position: relative;
}
.section-title::after {
  content: '';
  display: block;
  width: 40px; height: 4px;
  background: var(--primary);
  border-radius: 2px;
  margin-top: 6px;
}
.section-link {
  font-size: 14px;
  font-weight: 600;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 4px;
  transition: gap var(--transition);
}
.section-link:hover { gap: 8px; }

/* ── Category Cards ─────────────────────────────────── */
.category-grid {
  display: grid;
  grid-template-columns: repeat(var(--home-cat-cols, 4), minmax(0, 1fr));
  gap: 16px;
}
.category-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px 16px;
  background: var(--surface);
  border-radius: var(--radius-md);
  box-shadow: var(--card-shadow);
  border: var(--card-border);
  transition: all var(--transition);
  text-align: center;
}
.category-card:hover {
  background: var(--primary-10);
  color: var(--primary);
  transform: translateY(-3px);
}
.category-card-icon {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--primary-10);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  color: var(--primary);
  font-size: 24px;
}
.category-card-name { font-size: 14px; font-weight: 600; }
.category-card-count { font-size: 12px; color: var(--text-light); margin-top: 4px; }

/* Resimli kategori kartı */
.category-card.category-card-img { padding: 0; overflow: hidden; }
.category-card.category-card-img .category-card-img-wrap {
  width: 100%; aspect-ratio: 1/1; overflow: hidden;
}
.category-card.category-card-img .category-card-thumb {
  width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease;
}
.category-card.category-card-img:hover .category-card-thumb { transform: scale(1.06); }
.category-card.category-card-img .category-card-name,
.category-card.category-card-img .category-card-count {
  padding: 0 12px;
}
.category-card.category-card-img .category-card-name { padding-top: 10px; }
.category-card.category-card-img .category-card-count { padding-bottom: 12px; }

/* ── Banner Strip ───────────────────────────────────── */
.banner-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}
.banner-card {
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
  min-height: 180px;
  background: var(--primary-10);
}
.banner-card img { width: 100%; height: 100%; object-fit: cover; display: block; }
.banner-card-link { display: block; height: 100%; }
/* Resimli banner gölgesi (admin → Gölge). Kart zaten overflow:hidden olduğu
   için gölge dışa düşer; yarıçapla uyumlu kalması adına kart üzerinde. */
.banner-card.bshadow-sm { box-shadow: 0 3px  10px -5px rgba(0, 0, 0, .25); }
.banner-card.bshadow-md { box-shadow: 0 8px  18px -7px rgba(0, 0, 0, .35); }
.banner-card.bshadow-lg { box-shadow: 0 16px 32px -10px rgba(0, 0, 0, .48); }
.banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0,0,0,.55) 0%, transparent 60%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px;
  color: #fff;
}
.banner-overlay h3 { font-size: 18px; font-weight: 700; margin-bottom: 4px; }
.banner-overlay p  { font-size: 13px; opacity: .85; margin-bottom: 10px; }
.banner-card:hover .banner-overlay { background: linear-gradient(0deg, rgba(0,0,0,.65) 0%, rgba(0,0,0,.1) 100%); }

/* ── Urunler / Category Page ─────────────────────────── */
.cat-page-layout {
  display: flex;
  gap: 28px;
  align-items: flex-start;
}

/* Sidebar filter */
.filter-sidebar {
  width: 240px;
  flex-shrink: 0;
  background: var(--surface);
  border-radius: var(--radius-md);
  box-shadow: var(--card-shadow);
  padding: 20px;
  position: sticky;
  top: calc(var(--header-h) + 16px);
}
.filter-sidebar h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}
.filter-group { margin-bottom: 20px; }
.filter-group h4 {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .5px;
  color: var(--text-muted);
  margin-bottom: 10px;
}
.filter-option {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 10px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--transition);
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
}
.filter-option:hover { background: var(--primary-10); color: var(--primary); }
.filter-option.active { background: var(--primary); color: #fff; font-weight: 600; }
.filter-option input[type=checkbox] { accent-color: var(--primary); }

/* Alt kategori ağacını kök öğeden görsel ayır */
.filter-suboption-group {
  border-left: 2px solid var(--border);
  margin-left: 12px;
  margin-top: 2px;
  margin-bottom: 2px;
}

/* Top filter bar */
.filter-bar {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 14px 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-bottom: 24px;
}
/* Ayarlar → Kategori Sayfası → Kategori Liste Görünümü: Minimalist
   Kart kabı kalkar, etiketler doğrudan sayfa üzerinde durur. */
.filter-bar--minimal {
  background: none;
  border: 0;
  border-radius: 0;
  padding: 0;
}

/* Breadcrumb satırının en sağındaki eylemler — .breadcrumb zaten flex */
.breadcrumb-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  flex-wrap: wrap;
}
/* "Stokta olanları göster" anahtarı */
.stock-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  white-space: nowrap;
  cursor: pointer;
  transition: color var(--transition);
}
.stock-toggle:hover { color: var(--text); }
.stock-toggle.is-on { color: var(--primary); }
.stock-toggle-track {
  position: relative;
  display: inline-block;
  width: 34px;
  height: 18px;
  border-radius: 999px;
  background: var(--border);
  flex-shrink: 0;
  transition: background var(--transition);
}
.stock-toggle.is-on .stock-toggle-track { background: var(--primary); }
.stock-toggle-knob {
  position: absolute;
  top: 2px;
  left: 2px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, .25);
  transition: left var(--transition);
}
.stock-toggle.is-on .stock-toggle-knob { left: 18px; }

/* Kaydırmalı filtre şeridi — etiketler alt satıra inmez, yana kayar */
.filter-bar--scroll {
  flex-wrap: nowrap;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}
.filter-bar--scroll > * { flex-shrink: 0; }
.filter-bar--scroll::-webkit-scrollbar { height: 4px; }
.filter-bar--scroll::-webkit-scrollbar-thumb { background: var(--border); border-radius: 999px; }

/* Kenar çubuğu kullanılmayan stillerde düzen tek sütun akar */
.cat-page-layout--plain { display: block; }

/* Masaüstü / mobil için ayrı filtre stili seçilebilir — karşı kırılımda gizlenir */
@media (max-width: 768px) { .flt-desk, .desk-only { display: none !important; } }
@media (min-width: 769px) { .flt-mob,  .mob-only  { display: none !important; } }

/* Filtrele butonu ile sıralama kutusu sayfa başlığında yan yana */
.page-header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
  flex-shrink: 0;
}
.page-header-actions .sort-select { margin-left: 0; }
/* Buton ve kutu aynı yükseklikte dursun. Dikey padding yerine sabit yükseklik
   veriliyor: .btn-outline 2px, .sort-select 1px çerçeve taşıdığı için eşit
   padding aynı yüksekliği vermiyordu (box-sizing: border-box zaten global). */
.page-header-actions .sort-select,
.page-header-actions .btn {
  height: 36px;
  padding-top: 0;
  padding-bottom: 0;
  line-height: 1;
}
/* ── Görünüm seçici (mobil): kart 2 / kart 1 / liste ─────────────── */
.view-switch {
  display: inline-flex;
  align-items: stretch;
  height: 36px;
  border: 1px solid var(--border);
  border-radius: var(--btn-radius, 8px);
  overflow: hidden;
  flex-shrink: 0;
}
.view-switch-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  color: var(--text-muted);
  background: var(--bg);
  transition: all var(--transition);
}
.view-switch-btn + .view-switch-btn { border-left: 1px solid var(--border); }
.view-switch-btn.is-on { background: var(--primary); color: #fff; }
/* İkonlar tek bir kutu içinde çubuklarla çizilir — ek dosya gerekmez */
.vs-ico { display: flex; gap: 2px; width: 16px; height: 14px; }
.vs-ico i { background: currentColor; border-radius: 1px; display: block; }
.vs-ico-2 i { flex: 1; }
.vs-ico-1 i { flex: 1; }
.vs-ico-l  { flex-direction: column; justify-content: space-between; }
.vs-ico-l i { height: 3px; width: 100%; }

/* Liste görünümü — kart yatay: görsel solda, bilgi ve buton sağda.
   Yalnızca mobilde geçerli; masaüstü ızgarası ayarlardan gelmeye devam eder.
   Izgara kullanılıyor çünkü flex satırda gövde ile buton yan yana düşerdi. */
@media (max-width: 768px) {
  .product-grid--list { grid-template-columns: 1fr; }
  .product-grid--list .product-card {
    display: grid;
    /* Yerleşim isimli alan yerine açık satır/sütun ile veriliyor —
       adlandırma çözülmediğinde öğeler tüm genişliğe yayılıp görselin
       altında kalıyordu. */
    grid-template-columns: 116px minmax(0, 1fr);
    grid-template-rows: auto auto;
    align-items: start;
  }
  .product-grid--list .product-card-img-wrap {
    grid-column: 1;
    grid-row: 1 / span 2;
    align-self: stretch;
    /* aspect-ratio YOK: stretch ile birlikte yükseklikten genişlik türetiyor,
       kutu 116px sütunu aşıp (position:relative olduğu için üstte boyanarak)
       yazıların solunu örtüyordu. Genişlik sabit, görsel içeride sığdırılır. */
    width: 116px;
    overflow: hidden;
    min-width: 0;
  }
  .product-grid--list .product-card-img {
    width: 100%;
    height: 100%;
    /* Temel kuraldaki aspect-ratio burada height:100% ile çakışır */
    aspect-ratio: auto;
    object-fit: contain;
    padding: 8px;
  }
  .product-grid--list .product-card-body {
    grid-column: 2;
    grid-row: 1;
    min-width: 0;
    padding: 12px 14px 6px;
  }
  .product-grid--list .product-card-footer {
    grid-column: 2;
    grid-row: 2;
    min-width: 0;
    padding: 0 14px 12px;
  }
  .product-grid--list .product-card-name { -webkit-line-clamp: 3; }
}

/* Ürün sayısı — mobilde stok anahtarı bu satıra girer */
.page-header-count { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.page-header-count p { margin: 0; }
@media (max-width: 768px) {
  /* Dar ekranda ikili tam genişliğe yayılır, kutu kalan alanı alır */
  .page-header-actions { width: 100%; margin-left: 0; }
  .page-header-actions .sort-select { flex: 1; min-width: 0; }
  /* Anahtar ürün sayısının sağına yaslanır */
  .page-header-count .stock-toggle { margin-left: auto; }
}

/* ── Filtre yan paneli (Ayarlar → Kategori Sayfası → Filtre Stili: Yan Panel) ──
   Ortada kutu yerine sağdan açılan tam yükseklikte panel: çok kategorili
   mağazalarda liste dikeyde akar, dar ekranda da kırpılmaz. */
.filter-drawer-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 17px;
  height: 17px;
  padding: 0 5px;
  margin-left: 4px;
  background: var(--primary);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  border-radius: var(--btn-radius, 8px);
}
.filter-drawer-overlay {
  position: fixed;
  inset: 0;
  z-index: 9400;
  background: rgba(15, 23, 42, .45);
  opacity: 0;
  transition: opacity .22s ease;
}
.filter-drawer-overlay[hidden] { display: none; }
.filter-drawer-overlay.is-open { opacity: 1; }
.filter-drawer {
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  width: min(360px, 88vw);
  background: var(--surface);
  box-shadow: -8px 0 32px rgba(0, 0, 0, .18);
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform .24s cubic-bezier(.4, 0, .2, 1);
}
.filter-drawer-overlay.is-open .filter-drawer { transform: translateX(0); }
.filter-drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}
.filter-drawer-head h3 { font-size: 16px; font-weight: 700; margin: 0; }
.filter-drawer-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-muted);
  border-radius: var(--btn-radius, 8px);
  flex-shrink: 0;
}
.filter-drawer-close:hover { color: var(--text); background: var(--bg); }
/* Uzun kategori listesi panel içinde kayar — sayfa değil */
.filter-drawer-body {
  padding: 16px 20px 24px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  flex: 1;
  min-height: 0;
}
.filter-tag {
  padding: 5px 12px;
  /* Köşeler buton ayarını izler (admin → Buton Köşeleri) */
  border-radius: var(--btn-radius);
  font-size: 13px;
  font-weight: 500;
  background: var(--bg);
  border: 1px solid var(--border);
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  color: var(--text);
}
.filter-tag:hover, .filter-tag.active {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

.sort-select {
  padding: 7px 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 13px;
  background: var(--bg);
  color: var(--text);
  cursor: pointer;
  outline: none;
  margin-left: auto;
}
.sort-select:focus { border-color: var(--primary); }

.cat-main { flex: 1; min-width: 0; }

/* ── Pagination ─────────────────────────────────────── */
.pagination {
  display: flex;
  gap: 8px;
  justify-content: center;
  flex-wrap: wrap;
  padding: 32px 0;
}
.page-btn {
  min-width: 40px; height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 500;
  padding: 0 12px;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text);
  transition: all var(--transition);
}
.page-btn:hover { background: var(--primary-10); color: var(--primary); border-color: var(--primary-50); }
.page-btn.active { background: var(--primary); color: #fff; border-color: var(--primary); }

/* ── Product Detail ─────────────────────────────────── */
.product-detail-wrap {
  display: grid;
  gap: 48px;
  align-items: start;
}
.product-detail-wrap.layout-left { grid-template-columns: 1fr 1fr; }
.product-detail-wrap.layout-right { grid-template-columns: 1fr 1fr; direction: rtl; }
.product-detail-wrap.layout-right > * { direction: ltr; }
.product-detail-wrap.layout-top { grid-template-columns: 1fr; }

.product-gallery { position: sticky; top: calc(var(--header-h) + 20px); }
.gallery-main {
  position: relative;   /* galeri noktaları için */
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg);
  margin-bottom: 12px;
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}
/* Ürün detayında noktalar ve oklar kartlardakinden bir tık büyük */
.gallery-main .pc-dots { right: 12px; bottom: 12px; gap: 6px; }
.gallery-main .pc-dot  { width: 9px; height: 9px; }
.gallery-main .pc-nav  { width: 38px; height: 38px; }
.gallery-main .pc-prev { left: 12px; }
.gallery-main .pc-next { right: 12px; }
.gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 20px;
}
.gallery-thumbs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.gallery-thumb {
  width: 72px; height: 72px;
  border-radius: var(--radius-sm);
  border: 2px solid var(--border);
  overflow: hidden;
  cursor: pointer;
  transition: border-color var(--transition);
}
.gallery-thumb:hover, .gallery-thumb.active { border-color: var(--primary); }
.gallery-thumb img { width: 100%; height: 100%; object-fit: contain; padding: 4px; }

.product-info {}
.product-brand { font-size: 13px; color: var(--text-muted); margin-bottom: 6px; text-transform: uppercase; letter-spacing: .5px; }
.product-title { font-size: 28px; font-weight: 800; line-height: 1.3; margin-bottom: 12px; }
.product-sku   { font-size: 12px; color: var(--text-light); margin-bottom: 16px; }

/* Üstü çizili fiyat üstte, satış fiyatı + indirim rozeti altında.
   Kıyas fiyatı gizlendiğinde flex gap uygulanmaz, boşluk kalmaz. */
.product-price-block {
  margin-bottom: 24px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
}
.product-price-row {
  display: flex;
  align-items: baseline;
  gap: 12px;
  flex-wrap: wrap;
}
.product-price {
  font-size: 36px;
  font-weight: 800;
  color: var(--primary);
}
/* Üst satır: çizili fiyat + indirim rozeti yan yana */
.product-compare-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.product-compare-row.is-hidden { display: none; }
.product-compare {
  font-size: 17px;
  font-weight: 500;
  color: var(--text-muted);
  text-decoration: line-through;
  line-height: 1.2;
}
.product-compare.is-hidden { display: none; }
.product-discount {
  font-size: 12px;
  font-weight: 700;
  color: var(--badge-fg, #fff);
  background: var(--badge-bg, #ef4444);
  padding: 3px 9px 2px 9px;
  /* Köşe yuvarlaması admin → Ayarlar → Buton Köşeleri ayarından gelir */
  border-radius: var(--btn-radius, 8px);
  white-space: nowrap;
}
.product-discount.is-hidden { display: none; }
.product-vat { font-size: 13px; color: var(--text-muted); margin-top: 4px; }

.product-variants { margin-bottom: 24px; }
.variants-label { font-size: 13px; font-weight: 600; color: var(--text-muted); margin-bottom: 3px; text-transform: uppercase; }
.variant-options { display: flex; flex-wrap: wrap; gap: 8px; }
/* Her seçenek adı (Renk, Numara …) kendi başlığı ve buton satırıyla */
.variant-group + .variant-group { margin-top: 16px; }
/* Bu birleşim var ama stoğu yok — görünür kalsın, seçilemesin */
.variant-btn.is-oos { text-decoration: line-through; }
.variant-btn {
  /* Ölçüler .btn-sm ile aynı; sınıfı doğrudan kullanamayız çünkü .btn
     border:none tanımlıyor, seçili durumu 2px çerçeveyle gösteriyoruz */
  padding: 7px 14px;
  font-size: 13px;
  border: 2px solid var(--border);
  border-radius: var(--btn-radius);
  background: var(--surface);
  /* iOS Safari <button> metnini sistem mavisiyle boyar (renk miras alınmaz) —
     masaüstünde siyah, mobilde mavi görünmesinin sebebi buydu. */
  color: var(--text);
  -webkit-appearance: none;
  appearance: none;
  -webkit-tap-highlight-color: transparent;
  cursor: pointer;
  font-weight: 500;
  transition: all var(--transition);
}
.variant-btn:hover { border-color: var(--primary); color: var(--primary); }
.variant-btn.active { border-color: var(--primary); background: var(--primary); color: #fff; }
.variant-btn:disabled { opacity: .4; pointer-events: none; }

.qty-wrap {
  display: flex;
  align-items: center;
  gap: 0;
  border: 1.5px solid var(--border);
  border-radius: var(--btn-radius);
  overflow: hidden;
  width: fit-content;
  margin-bottom: 20px;
}
.qty-btn {
  width: 40px; height: 42px;
  border: none;
  background: var(--bg);
  cursor: pointer;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
  color: var(--text);
}
.qty-btn:hover { background: var(--primary-10); color: var(--primary); }
.qty-input {
  width: 56px; height: 42px;
  border: none;
  text-align: center;
  font-size: 16px;
  font-weight: 600;
  outline: none;
  background: var(--surface);
}

.add-to-cart-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: var(--btn-radius);
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--transition);
  width: 100%;
  justify-content: center;
  margin-bottom: 12px;
}
.add-to-cart-btn:hover {
  background: color-mix(in srgb, var(--primary) 85%, #000);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(var(--primary-rgb),.35);
}
.add-to-cart-btn.sticky-btn {
  position: sticky;
  bottom: 20px;
  z-index: 50;
  box-shadow: 0 4px 20px rgba(var(--primary-rgb),.4);
}

.product-description {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}
.product-description h3 { font-size: 18px; font-weight: 700; margin-bottom: 12px; }
.prose, .cms-content {
  color: var(--text-muted);
  line-height: 1.8;
  font-size: 14px;
  white-space: normal;
  word-wrap: break-word;
  overflow-wrap: break-word;
}
.prose p,
.cms-content p {
  display: block;
  margin-bottom: 0.75em;
}
.prose p:last-child,
.cms-content p:last-child { margin-bottom: 0; }
/* Shift+Enter satır kırılımı (paragraf içi) */
.prose p br,
.cms-content p br {
  display: block;
  margin-bottom: 0.35em;
}
/* Quill boş paragraf — gizle (cleanRichHtml ile de temizlenir) */
.prose p:has(> br:only-child),
.cms-content p:has(> br:only-child) {
  display: none;
  margin: 0;
  padding: 0;
}
.prose strong, .prose b,
.cms-content strong, .cms-content b { font-weight: 700; color: var(--text); }
.prose em, .prose i,
.cms-content em, .cms-content i { font-style: italic; }
.prose u, .cms-content u { text-decoration: underline; }
.prose ul, .prose ol,
.cms-content ul, .cms-content ol { padding-left: 20px; margin-bottom: 10px; }
.prose ul, .cms-content ul { list-style: disc; }
.prose ol, .cms-content ol { list-style: decimal; }
.prose li, .cms-content li { margin-bottom: 4px; }
.prose h1, .prose h2, .prose h3, .prose h4,
.cms-content h1, .cms-content h2, .cms-content h3, .cms-content h4 { color: var(--text); font-weight: 700; margin: 14px 0 6px; }
.prose h1, .cms-content h1 { font-size: 20px; }
.prose h2, .cms-content h2 { font-size: 18px; }
.prose h3, .cms-content h3 { font-size: 16px; }
.prose a, .cms-content a { color: var(--primary); text-decoration: underline; }
.prose blockquote, .cms-content blockquote {
  border-left: 4px solid var(--border);
  margin: 10px 0;
  padding-left: 16px;
  color: var(--text-muted);
}
.prose img, .cms-content img { max-width: 100%; height: auto; }
.prose .ql-align-center, .cms-content .ql-align-center { text-align: center; }
.prose .ql-align-right, .cms-content .ql-align-right { text-align: right; }
.prose .ql-align-justify, .cms-content .ql-align-justify { text-align: justify; }
/* Üçten fazla ardışık br gizle (çift boşluk korunur) */
.prose br + br + br,
.cms-content br + br + br { display: none; }

/* Quill editör HTML — madde işaretleri <ol><li data-list="bullet"> + .ql-ui */
.prose ol:has(> li[data-list]),
.cms-content ol:has(> li[data-list]) {
  list-style: none;
  counter-reset: list-0 list-1 list-2 list-3 list-4 list-5 list-6 list-7 list-8 list-9;
  padding-left: 1.5em;
}
.prose ol > li[data-list],
.cms-content ol > li[data-list] {
  list-style: none;
  padding-left: 1.5em;
  position: relative;
}
.prose ol > li[data-list] > .ql-ui::before,
.cms-content ol > li[data-list] > .ql-ui::before {
  display: inline-block;
  margin-left: -1.5em;
  margin-right: 0.3em;
  text-align: right;
  white-space: nowrap;
  width: 1.2em;
}
.prose ol > li[data-list="bullet"] > .ql-ui::before,
.cms-content ol > li[data-list="bullet"] > .ql-ui::before {
  content: "\2022";
}
.prose ol > li[data-list="ordered"],
.cms-content ol > li[data-list="ordered"] {
  counter-increment: list-0;
}
.prose ol > li[data-list="ordered"] > .ql-ui::before,
.cms-content ol > li[data-list="ordered"] > .ql-ui::before {
  content: counter(list-0, decimal) ". ";
}
/* .ql-ui yoksa yedek (eski kayıtlar) */
.prose ol > li[data-list="bullet"]:not(:has(.ql-ui))::before,
.cms-content ol > li[data-list="bullet"]:not(:has(.ql-ui))::before {
  content: "\2022";
  display: inline-block;
  margin-right: 0.35em;
}
.prose ol > li[data-list="ordered"]:not(:has(.ql-ui)),
.cms-content ol > li[data-list="ordered"]:not(:has(.ql-ui)) {
  list-style: decimal;
  padding-left: 0.25em;
}
.prose ol > li.ql-indent-1:not(.ql-direction-rtl),
.cms-content ol > li.ql-indent-1:not(.ql-direction-rtl) { padding-left: 4.5em; }
.prose ol > li.ql-indent-2:not(.ql-direction-rtl),
.cms-content ol > li.ql-indent-2:not(.ql-direction-rtl) { padding-left: 7.5em; }
.prose ol > li.ql-indent-3:not(.ql-direction-rtl),
.cms-content ol > li.ql-indent-3:not(.ql-direction-rtl) { padding-left: 10.5em; }

/* ── Cart ───────────────────────────────────────────── */
.cart-layout {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 32px;
  align-items: start;
}
.cart-table { background: var(--surface); border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--card-shadow); }
.cart-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
}
.cart-item:last-child { border-bottom: none; }
.cart-item-img {
  width: 80px; height: 80px;
  border-radius: var(--radius-sm);
  object-fit: contain;
  background: var(--bg);
  padding: 8px;
  flex-shrink: 0;
}
.cart-item-info { flex: 1; min-width: 0; }
.cart-item-name { font-size: 15px; font-weight: 600; margin-bottom: 4px; }
.cart-item-variant { font-size: 12px; color: var(--text-muted); }
.cart-item-price {
  font-size: 16px;
  font-weight: 700;
  color: var(--primary);
  margin-top: 0;
  display: flex;
  align-items: baseline;
  gap: 8px;
  flex-wrap: wrap;
}
.cart-item-discount {
  font-size: 11px;
  font-weight: 700;
  color: var(--badge-fg, #fff);
  background: var(--badge-bg, #ef4444);
  padding: 3px 9px 2px 9px;
  /* Köşe yuvarlaması admin → Ayarlar → Buton Köşeleri ayarından gelir */
  border-radius: var(--btn-radius, 8px);
  white-space: nowrap;
}
.cart-item-remove {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-light);
  transition: color var(--transition);
  padding: 4px;
}
.cart-item-remove:hover { color: #ef4444; }

/* Mobil: resim solda tam yükseklik, sağ sütunda ürün adı; adın altında
   seçenek, fiyat, adet ve silme. Tek sırada dörde bölünce ad eziliyordu. */
@media (max-width: 640px) {
  .cart-item {
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr);
    column-gap: 12px;
    row-gap: 10px;
    align-items: start;
    padding: 14px 16px;
  }
  .cart-item > a:first-child { grid-column: 1; grid-row: 1 / span 2; }
  .cart-item-img { width: 72px; height: 72px; }
  .cart-item-info { grid-column: 2; grid-row: 1; }
  /* Adet ve silme aynı satırı paylaşır: biri sola, diğeri sağa yaslanır */
  .cart-item .qty-wrap {
    grid-column: 2;
    grid-row: 2;
    justify-self: start;
    margin-bottom: 0;
  }
  .cart-item-remove {
    grid-column: 2;
    grid-row: 2;
    justify-self: end;
    align-self: center;
  }
}

.cart-summary {
  background: var(--surface);
  border-radius: var(--radius-md);
  box-shadow: var(--card-shadow);
  padding: 24px;
  position: sticky;
  top: calc(var(--header-h) + 20px);
}
.cart-summary h3 { font-size: 18px; font-weight: 700; margin-bottom: 20px; }
.summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
}
.summary-row:last-of-type { border-bottom: none; }
.summary-total {
  font-size: 20px;
  font-weight: 800;
  color: var(--primary);
}
.empty-cart {
  text-align: center;
  padding: 80px 20px;
}
.empty-cart-icon { font-size: 64px; margin-bottom: 16px; }
.empty-cart h2 { font-size: 22px; font-weight: 700; margin-bottom: 8px; }
.empty-cart p { color: var(--text-muted); margin-bottom: 24px; }

/* ── Auth / Forms ───────────────────────────────────── */
.auth-wrap {
  max-width: 460px;
  margin: 60px auto;
  background: var(--surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--card-shadow);
  overflow: hidden;
}
.auth-tabs {
  display: flex;
  border-bottom: 1px solid var(--border);
}
.auth-tab {
  flex: 1;
  padding: 16px;
  text-align: center;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  background: transparent;
  color: var(--text-muted);
  border-bottom: 3px solid transparent;
  transition: all var(--transition);
}
.auth-tab.active { color: var(--primary); border-bottom-color: var(--primary); }
.auth-body { padding: 32px; }

.form-group { margin-bottom: 20px; }
.form-label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 6px; color: var(--text); }
.form-control {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 15px;
  color: var(--text);
  background: var(--bg);
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.form-control:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-10);
  background: var(--surface);
}
.form-control::placeholder { color: var(--text-light); }
.form-error { font-size: 12px; color: #ef4444; margin-top: 4px; }
.form-hint  { font-size: 12px; color: var(--text-muted); margin-top: 4px; }

select.form-control { cursor: pointer; }
textarea.form-control { resize: vertical; min-height: 120px; }




/* ── Hesabım: hesap kredisi ─────────────────────────── */
.stat-card--link { text-decoration: none; color: inherit; transition: all var(--transition); }
.stat-card--link:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,.10); }
.credit-hero {
  background: var(--surface);
  border-radius: var(--radius-md);
  box-shadow: var(--card-shadow);
  padding: 22px;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.credit-hero-label { font-size: 12px; color: var(--text-muted); text-transform: uppercase; letter-spacing: .5px; }
.credit-hero-value { font-size: 30px; font-weight: 800; color: #059669; margin-top: 4px; }
.credit-hero-note  { font-size: 12px; color: #ef4444; margin-top: 4px; }
.credit-tx-list { display: flex; flex-direction: column; }
.credit-tx {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border-light, var(--border));
}
.credit-tx:last-child { border-bottom: 0; }
.credit-tx--muted { opacity: .7; }
.credit-tx-title  { font-size: 13px; font-weight: 600; color: var(--text); }
.credit-tx-meta   { font-size: 11px; color: var(--text-muted); margin-top: 3px; }
.credit-tx-amount { font-size: 14px; font-weight: 700; white-space: nowrap; }
.credit-tx-status { font-size: 10px; font-weight: 700; margin-top: 2px; }

/* ── Hesabım: adres defteri kartları ────────────────── */
.addr-card {
  background: var(--surface);
  border-radius: var(--radius-md);
  box-shadow: var(--card-shadow);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.addr-card-head { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; margin-bottom: 4px; }
.addr-card-title { font-size: 14px; font-weight: 700; color: var(--text); }
.addr-badge {
  font-size: 10px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 20px;
  background: var(--primary-10);
  color: var(--primary);
}
.addr-badge--kind { background: var(--bg); color: var(--text-muted); }
.addr-card-line { font-size: 13px; color: var(--text-secondary); line-height: 1.5; }
.addr-card-muted { color: var(--text-muted); font-size: 12px; }
.addr-card-actions {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid var(--border);
}
.addr-act {
  font-size: 12px;
  padding: 4px 10px;
  border: 1px solid var(--border);
  border-radius: var(--btn-radius);
  background: var(--surface);
  color: var(--text-secondary);
  cursor: pointer;
  font-family: inherit;
}
.addr-act:hover { border-color: var(--primary); color: var(--primary); }
.addr-act.addr-del:hover { border-color: #ef4444; color: #ef4444; }

/* ── Checkout: kayıtlı adres kartları ───────────────── */
.addr-picker { margin-bottom: 18px; }
.addr-chip-row { display: flex; flex-wrap: wrap; gap: 8px; }
.addr-chip {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  padding: 9px 14px;
  min-width: 150px;
  border: 2px solid var(--border);
  border-radius: var(--btn-radius);
  background: var(--surface);
  cursor: pointer;
  text-align: left;
  transition: all var(--transition);
  font-family: inherit;
}
.addr-chip:hover { border-color: var(--primary); }
.addr-chip.active { border-color: var(--primary); background: var(--primary-10); }
.addr-chip-title { font-size: 13px; font-weight: 700; color: var(--text); }
.addr-chip-city  { font-size: 11px; color: var(--text-muted); }
.addr-picker-hint { font-size: 11px; color: var(--text-muted); margin-top: 6px; }
.addr-save-row {
  display: flex;
  align-items: center;
  gap: 9px;
  cursor: pointer;
  padding: 10px 0 0;
  margin-top: 14px;
  border-top: 1px solid var(--border);
  font-size: 13px;
}
.addr-save-row input { width: 15px; height: 15px; accent-color: var(--primary); }

/* ── Checkout ───────────────────────────────────────── */
.checkout-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 32px;
  align-items: start;
}
/* Sipariş özeti sütunu satır yüksekliğine uzamalı — aksi halde sarmalayıcı
   özet kadar kısa kalıyor ve position:sticky kayacak yer bulamıyordu. */
.checkout-layout > * { min-width: 0; }
.checkout-layout > :last-child { align-self: stretch; }
.checkout-card {
  background: var(--surface);
  border-radius: var(--radius-md);
  box-shadow: var(--card-shadow);
  padding: 28px;
  margin-bottom: 20px;
}
.checkout-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}
.payment-option {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px;
  border: 2px solid var(--border);
  border-radius: var(--radius-md);
  cursor: pointer;
  margin-bottom: 10px;
  transition: all var(--transition);
}
.payment-option:has(input:checked),
.payment-option.selected { border-color: var(--primary); background: var(--primary-10); }
.payment-option input[type=radio] { accent-color: var(--primary); margin-top: 3px; flex-shrink: 0; }
.payment-option-body h5 { font-size: 15px; font-weight: 600; }
.payment-option-body p  { font-size: 13px; color: var(--text-muted); margin-top: 2px; }

/* ── Account Page ───────────────────────────────────── */
.account-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 28px;
  align-items: start;
}
.account-nav {
  background: var(--surface);
  border-radius: var(--radius-md);
  box-shadow: var(--card-shadow);
  overflow: hidden;
  position: sticky;
  top: calc(var(--header-h) + 20px);
}
.account-nav-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 20px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  border-bottom: 1px solid var(--border);
  transition: all var(--transition);
}
.account-nav-link:last-child { border-bottom: none; }
.account-nav-link:hover { background: var(--primary-10); color: var(--primary); padding-left: 26px; }
.account-nav-link.active { background: var(--primary-10); color: var(--primary); font-weight: 700; }
.account-main {}

.order-card {
  background: var(--surface);
  border-radius: var(--radius-md);
  box-shadow: var(--card-shadow);
  overflow: hidden;
  margin-bottom: 16px;
}
.order-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}
.order-badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  /* Köşeler buton ayarını izler (admin → Buton Köşeleri) */
  border-radius: var(--btn-radius);
  font-size: 12px;
  font-weight: 600;
}
.order-badge-pending    { background: #fef3c7; color: #92400e; }
.order-badge-processing { background: #dbeafe; color: #1e40af; }
.order-badge-shipped    { background: #d1fae5; color: #065f46; }
.order-badge-completed  { background: #dcfce7; color: #14532d; }
.order-badge-cancelled  { background: #fee2e2; color: #7f1d1d; }

/* ── Toast / Notifications ──────────────────────────── */
#toastContainer {
  position: fixed;
  bottom: 24px; right: 24px;
  z-index: 999;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.toast {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 20px;
  border-radius: var(--radius-md);
  box-shadow: 0 8px 24px rgba(0,0,0,.15);
  background: var(--surface);
  border-left: 4px solid var(--primary);
  font-size: 14px;
  font-weight: 500;
  animation: slideIn .25s ease;
  max-width: 360px;
}
.toast.toast-success { border-left-color: #22c55e; }
.toast.toast-error   { border-left-color: #ef4444; }
.toast.toast-info    { border-left-color: var(--primary); }
@keyframes slideIn {
  from { transform: translateX(120%); opacity: 0; }
  to   { transform: translateX(0);   opacity: 1; }
}

/* ── Alert ──────────────────────────────────────────── */
.alert {
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 16px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.alert-success { background: #dcfce7; color: #14532d; border: 1px solid #86efac; }
.alert-error   { background: #fee2e2; color: #7f1d1d; border: 1px solid #fca5a5; }
.alert-info    { background: #dbeafe; color: #1e3a8a; border: 1px solid #93c5fd; }
.alert-warning { background: #fef9c3; color: #713f12; border: 1px solid #fde047; }
/* Tek satırlık stok uyarısı — ikon ile metin dikeyde ortalanır */
#stockNotice { align-items: center; }

/* ── Loading ────────────────────────────────────────── */
.spinner {
  width: 24px; height: 24px;
  border: 3px solid var(--primary-20);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin .6s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.loading-overlay {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 20px;
}

/* ── Sabit yuvarlak butonlar (WhatsApp / destek / yukarı çık) ──
   Üçü de aynı boyut ve aynı sağ hizada, alt alta dizilir. */
:root {
  --fab-size: 50px;
  --fab-gap: 12px;
  --fab-right: 24px;
  --fab-bottom: 24px;
}
@media (max-width: 640px) {
  :root { --fab-size: 46px; --fab-right: 16px; --fab-bottom: 16px; }
}
/* Sepet çubuğu varken üçü birlikte yukarı kayar */
body.has-sticky-cart   { --fab-bottom: 74px; }
body.has-floating-cart { --fab-bottom: 100px; }

.whatsapp-fab {
  position: fixed;
  bottom: var(--fab-bottom); right: var(--fab-right);
  width: var(--fab-size); height: var(--fab-size);
  background: #25d366;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,.4);
  z-index: 150;
  transition: all var(--transition);
}
.whatsapp-fab svg { width: 26px; height: 26px; }
.whatsapp-fab:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 28px rgba(37,211,102,.5);
}

/* ── Footer ─────────────────────────────────────────── */
.site-footer {
  margin-top: auto;
  background: #121621;
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
}
.footer-main {
  padding: 52px 0 40px;
}
.footer-grid {
  display: grid;
  grid-template-columns: minmax(240px, 1.35fr) repeat(3, minmax(140px, 1fr));
  gap: 40px 32px;
  align-items: start;
}
.footer-col-brand {
  max-width: 360px;
}
.footer-brand-name {
  margin: 0 0 14px;
  font-size: 22px;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.02em;
}
.footer-brand-name a {
  color: #fff;
  text-decoration: none;
}
.footer-brand-name a:hover {
  color: rgba(255, 255, 255, 0.9);
}
.footer-address {
  margin: 0 0 18px;
  font-size: 13px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.55);
}
.footer-contact-list {
  list-style: none;
  margin: 0 0 22px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-contact-list li {
  display: flex;
  align-items: center;
  gap: 10px;
}
.footer-contact-icon {
  flex-shrink: 0;
  width: 18px;
  color: rgba(255, 255, 255, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
}
.footer-contact-list a {
  color: rgba(255, 255, 255, 0.78);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.18s ease;
}
.footer-contact-list a:hover {
  color: #fff;
}
.footer-kart-img {
  display: block;
  max-width: 100%;
  width: auto;
  height: auto;
  max-height: 23px;
  object-fit: contain;
}
.footer-col-title {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 18px;
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0;
  text-transform: none;
}
.footer-title-icon {
  flex-shrink: 0;
  color: rgba(255, 255, 255, 0.55);
}
.footer-links-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-links-list a::before {
  content: "– ";
  color: rgba(255, 255, 255, 0.35);
}
.footer-links-list a {
  color: rgba(255, 255, 255, 0.62);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.18s ease;
}
.footer-links-list a:hover {
  color: #fff;
}
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.footer-bottom-inner {
  /* 3 sütunlu grid: ödeme görseli sayfanın tam ortasında kalsın
     (space-between'de yanlardaki öğelerin genişliğine göre kayıyordu) */
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 20px;
  /* Yatay padding .container'dan gelsin — kısayol `padding` onu ezip içeriği
     ekranın kenarına yapıştırıyordu. */
  padding-top: 20px;
  padding-bottom: 20px;
}
.footer-bottom-inner .footer-copy       { justify-self: start; }
.footer-bottom-inner .footer-creditcard { justify-self: center; }
.footer-bottom-inner .footer-social-row { justify-self: end; }
.footer-copy {
  margin: 0;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.45);
}
/* Alt şeritte ödeme yöntemleri görseli (telif ile sosyal linkler arasında) */
.footer-creditcard {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.footer-social-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}
.footer-social-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.55);
  text-decoration: none;
  font-size: 13px;
  line-height: 1;          /* ikon ile yazı tam ortada hizalansın */
  transition: color 0.18s ease;
}
.footer-social-link:hover {
  color: #fff;
}
.footer-social-link svg {
  flex-shrink: 0;
  opacity: 0.85;
  /* inline SVG'nin taban çizgisi boşluğu ikonu metne göre kaydırıyordu */
  display: block;
  width: 16px;
  height: 16px;
}

/* ── Breadcrumb ─────────────────────────────────────── */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-muted);
  padding: 14px 0;
  flex-wrap: wrap;
}
.breadcrumb a { color: var(--text-muted); transition: color var(--transition); }
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb-sep { color: var(--text-light); }
.breadcrumb-active { color: var(--text); font-weight: 500; }

/* ── Page Header ────────────────────────────────────── */
/* ── İlgili Ürünler Slider ───────────────────────────── */
.related-slider-wrap {
  position: relative;
}
.related-slider {
  display: grid;
  grid-template-columns: repeat(var(--rel-cols, 4), minmax(0, 1fr));
  gap: 20px;
  overflow: hidden;
}
.related-slider-wrap.is-slider .related-slider {
  display: flex;
  overflow: hidden;
  gap: 0;
  transition: transform .35s ease;
  will-change: transform;
}
.related-slider-wrap.is-slider .related-slide {
  flex: 0 0 calc(100% / var(--rel-cols, 4));
  padding-right: 20px;
  box-sizing: border-box;
}
.related-prev,
.related-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: none;
  background: #fff;
  box-shadow: 0 2px 12px rgba(0,0,0,.15);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-primary);
  z-index: 2;
  transition: background .15s, box-shadow .15s;
}
.related-prev:hover, .related-next:hover {
  background: var(--primary);
  color: #fff;
}
.related-prev { left: -18px; }
.related-next { right: -18px; }

/* ── Kategori Banner ────────────────────────────────── */
.cat-banner-wrap {
  position: relative;
  width: 100%;
  max-height: 280px;
  overflow: hidden;
}
.cat-banner-img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  display: block;
}
.cat-banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(0,0,0,.55) 0%, rgba(0,0,0,.2) 60%, transparent 100%);
  display: flex;
  align-items: center;
}
.cat-banner-title {
  font-size: 32px;
  font-weight: 800;
  color: #fff;
  text-shadow: 0 2px 8px rgba(0,0,0,.4);
}
.cat-banner-desc {
  font-size: 15px;
  color: rgba(255,255,255,.88);
  margin-top: 8px;
  text-shadow: 0 1px 4px rgba(0,0,0,.3);
}

.page-header {
  background: linear-gradient(135deg, var(--primary-10) 0%, transparent 100%);
  border-bottom: 1px solid var(--border);
  padding: 24px 0;
  margin-bottom: 5px;
}
.page-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

/* ── CMS Page Blocks ──────────────────────────────────── */

.cms-page-wrap {
  max-width: 1280px;
  padding: 40px 20px 80px;
}
/* Sayfa başlığı — kategori listesi .page-header h1 ile aynı */
.cms-page-title {
  font-size: 26px;
  font-weight: 800;
  line-height: 1.25;
  margin: 0 0 24px;
  color: var(--text);
}
/* Sayfa kısa açıklaması — başlığın hemen altında */
.cms-page-lead {
  font-size: 16px;
  line-height: 1.65;
  color: var(--text-muted);
  margin: -14px 0 24px;
}
.cms-page-breadcrumb {
  padding: 0 0 16px;
}
.cms-page-children {
  margin-top: 30px;
  padding-top: 30px;
  border-top: 1px solid var(--border);
}
/* Alt sayfa listesi — ürün kartlarıyla aynı görünüm (.product-grid / .product-card) */
.cms-page-children-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.cms-page-child-name {
  text-decoration: none;
}
.cms-page-child-desc {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.4;
}
/* Kapak resmi olmayan kartın gövdesi tek başına kalınca dengeli dursun */
.cms-page-child-card > .product-card-body:first-child { padding-top: 18px; }

/* Base block spacing */
.cms-blocks { display: flex; flex-direction: column; gap: 0; }
.cms-block   { margin-bottom: 40px; }
.cms-block:last-child { margin-bottom: 0; }

/* ── Text block ── */
.block-text.prose,
.block-text .prose { font-size: 16px; line-height: 1.75; }

/* ── Image + Text block ── */
.block-image-text {
  display: flex;
  gap: 32px;
  align-items: flex-start;
}
.block-image-text.vertical {
  flex-direction: column;
  gap: 20px;
}
.block-image-text.layout-image-right { flex-direction: row-reverse; }
.block-image-text.layout-image-bottom { flex-direction: column-reverse; }

.block-image-text .img-col { flex-shrink: 0; }
.block-image-text .img-col img {
  width: 100%;
  border-radius: var(--radius-md);
  object-fit: cover;
  display: block;
}
.block-image-text.vertical .img-col { width: 100% !important; }

.block-image-text .img-w-25 { width: 25%; }
.block-image-text .img-w-33 { width: 33.33%; }
.block-image-text .img-w-40 { width: 40%; }
.block-image-text .img-w-50 { width: 50%; }

.block-image-text .text-col { flex: 1 1 0; min-width: 0; }
.block-image-text .block-title {
  font-size: clamp(18px, 2.5vw, 24px);
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text);
}

/* ── Full-width image block ── */
.block-full-image .full-image-img {
  width: 100%;
  border-radius: var(--radius-md);
  display: block;
}
.block-full-image .full-image-img--auto {
  height: auto;
  max-width: 100%;
}
.block-full-image .full-image-img--fixed {
  width: 100%;
  object-fit: cover;
}
.block-full-image .img-caption {
  text-align: center;
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 8px;
}

/* ── Gallery block ── */
.block-gallery {
  display: grid;
  /* Boşluk blok bazında ayarlanır (admin → galeri bloğu) */
  gap: var(--cms-gallery-gap, 12px);
}
.block-gallery.cols-1 { grid-template-columns: repeat(1, 1fr); }
.block-gallery.cols-2 { grid-template-columns: repeat(2, 1fr); }
.block-gallery.cols-3 { grid-template-columns: repeat(3, 1fr); }
.block-gallery.cols-4 { grid-template-columns: repeat(4, 1fr); }
.block-gallery.cols-5 { grid-template-columns: repeat(5, 1fr); }
.block-gallery.cols-6 { grid-template-columns: repeat(6, 1fr); }
.block-gallery.cols-7 { grid-template-columns: repeat(7, 1fr); }
.block-gallery.cols-8 { grid-template-columns: repeat(8, 1fr); }
.block-gallery.cols-9 { grid-template-columns: repeat(9, 1fr); }
.block-gallery.cols-10 { grid-template-columns: repeat(10, 1fr); }
.block-gallery.cols-11 { grid-template-columns: repeat(11, 1fr); }
.block-gallery.cols-12 { grid-template-columns: repeat(12, 1fr); }

.block-gallery.cols-mobile-1 { --cms-gallery-cols-mobile: 1; }
.block-gallery.cols-mobile-2 { --cms-gallery-cols-mobile: 2; }
.block-gallery.cols-mobile-3 { --cms-gallery-cols-mobile: 3; }
.block-gallery.cols-mobile-4 { --cms-gallery-cols-mobile: 4; }
.block-gallery.cols-mobile-5 { --cms-gallery-cols-mobile: 5; }
.block-gallery.cols-mobile-6 { --cms-gallery-cols-mobile: 6; }
.block-gallery.cols-mobile-7 { --cms-gallery-cols-mobile: 7; }
.block-gallery.cols-mobile-8 { --cms-gallery-cols-mobile: 8; }
.block-gallery.cols-mobile-9 { --cms-gallery-cols-mobile: 9; }
.block-gallery.cols-mobile-10 { --cms-gallery-cols-mobile: 10; }
.block-gallery.cols-mobile-11 { --cms-gallery-cols-mobile: 11; }
.block-gallery.cols-mobile-12 { --cms-gallery-cols-mobile: 12; }

.block-gallery .gallery-item { position: relative; overflow: hidden; border-radius: var(--radius-sm); }
.block-gallery .gallery-item img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  display: block;
  transition: transform .3s ease;
}
.block-gallery .gallery-item:hover img { transform: scale(1.04); }
.block-gallery .gallery-caption {
  font-size: 12px;
  color: var(--text-muted);
  text-align: center;
  margin-top: 4px;
}

/* ── YouTube block ── */
.block-youtube {
  display: grid;
  /* Boşluk blok bazında ayarlanır (admin → youtube bloğu) */
  gap: var(--cms-youtube-gap, 20px);
}
.block-youtube.cols-1 { grid-template-columns: 1fr; }
.block-youtube.cols-2 { grid-template-columns: repeat(2, 1fr); }
.block-youtube.cols-3 { grid-template-columns: repeat(3, 1fr); }
.block-youtube.cols-4 { grid-template-columns: repeat(4, 1fr); }
.block-youtube.cols-5 { grid-template-columns: repeat(5, 1fr); }

.block-youtube.cols-mobile-1 { --cms-youtube-cols-mobile: 1; }
.block-youtube.cols-mobile-2 { --cms-youtube-cols-mobile: 2; }
.block-youtube.cols-mobile-3 { --cms-youtube-cols-mobile: 3; }
.block-youtube.cols-mobile-4 { --cms-youtube-cols-mobile: 4; }
.block-youtube.cols-mobile-5 { --cms-youtube-cols-mobile: 5; }

.block-youtube .youtube-embed {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: #0f172a;
}
.block-youtube .youtube-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.block-youtube .youtube-caption {
  font-size: 13px;
  color: var(--text-muted);
  text-align: center;
  margin-top: 8px;
}

/* ── Maps block ── */
.block-maps .maps-embed {
  position: relative;
  width: 100%;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--border);
}
.block-maps .maps-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* ── Contact form block ── */
.block-contact-form {
  max-width: 560px;
}
.block-contact-form .cms-contact-form .form-group {
  margin-bottom: 14px;
}

/* ── Legal agreements ── */
.legal-agreements-wrap {
  margin: 16px 0;
}
.legal-agreement-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  line-height: 1.5;
  margin-bottom: 10px;
  cursor: pointer;
}
.legal-agreement-item input {
  margin-top: 3px;
  flex-shrink: 0;
}
.legal-agreement-link {
  color: var(--primary);
  font-weight: 600;
  text-decoration: underline;
}
.legal-req {
  color: var(--danger);
}
.legal-index-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.legal-index-list li {
  margin-bottom: 10px;
}
.legal-index-list a {
  color: var(--primary);
  font-weight: 600;
  text-decoration: none;
}
.legal-index-list a:hover {
  text-decoration: underline;
}
.legal-doc-page .legal-doc-content {
  margin-top: 20px;
}

/* ── File download list ── */
.block-files-title {
  font-size: clamp(18px, 2.5vw, 22px);
  font-weight: 700;
  margin-bottom: 16px;
}
.block-files .file-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.block-files .file-list-link {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg-card);
  text-decoration: none;
  color: var(--text);
  transition: border-color .18s, box-shadow .18s;
}
.block-files .file-list-link:hover {
  border-color: var(--primary);
  box-shadow: 0 2px 8px rgba(0,0,0,.06);
}
.block-files .file-list-icon {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  border-radius: 8px;
  background: #fee2e2;
  color: #dc2626;
  font-size: 11px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}
.block-files .file-list-body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.block-files .file-list-name {
  font-weight: 600;
  font-size: 14px;
  word-break: break-word;
}
.block-files .file-list-size {
  font-size: 12px;
  color: var(--text-muted);
}
.block-files .file-list-dl {
  flex-shrink: 0;
  font-size: 18px;
  color: var(--primary);
  opacity: .7;
}

/* ── CTA block ── */
.block-cta { border-radius: var(--radius-lg); overflow: hidden; }
.cta-inner  { padding: 48px 40px; }

.cta-align-left   .cta-inner { text-align: left; }
.cta-align-center .cta-inner { text-align: center; }
.cta-align-right  .cta-inner { text-align: right; }

.cta-style-primary {
  background: linear-gradient(135deg, var(--primary) 0%, color-mix(in srgb, var(--primary) 70%, #000) 100%);
  color: #fff;
}
.cta-style-outline {
  background: var(--bg-card);
  border: 2px solid color-mix(in srgb, var(--primary) 35%, var(--border));
  color: var(--text);
}
.cta-style-ghost {
  background: color-mix(in srgb, var(--primary) 8%, var(--bg-card));
  border: 1px solid var(--border);
  color: var(--text);
}
.cta-style-light {
  background: var(--primary-10);
  border: 1px solid var(--border);
  color: var(--text);
}
.cta-style-dark {
  background: #1e293b;
  color: #fff;
}

.block-cta .cta-title {
  font-size: clamp(20px, 3vw, 28px);
  font-weight: 800;
  margin-bottom: 10px;
}
.cta-style-primary .cta-title,
.cta-style-dark    .cta-title { color: #fff; }
.cta-style-outline .cta-title,
.cta-style-ghost   .cta-title,
.cta-style-light   .cta-title { color: var(--text); }

.block-cta .cta-subtitle {
  font-size: 16px;
  margin-bottom: 24px;
  opacity: .85;
}
.cta-style-outline .cta-subtitle,
.cta-style-ghost   .cta-subtitle { color: var(--text-muted); }

.block-cta .btn-cta {
  display: inline-block;
  padding: 12px 28px;
  border-radius: var(--btn-radius);
  font-weight: 600;
  font-size: 15px;
  transition: opacity .18s, transform .18s, background .18s, border-color .18s, color .18s;
  text-decoration: none;
}
.block-cta .btn-cta:hover { opacity: .88; transform: translateY(-1px); }
.cta-style-primary .btn-cta {
  background: rgba(255, 255, 255, .2);
  border: 2px solid rgba(255, 255, 255, .5);
  color: #fff;
}
.cta-style-outline .btn-cta {
  background: transparent;
  border: 2px solid var(--primary);
  color: var(--primary);
}
.cta-style-ghost .btn-cta {
  background: transparent;
  border: 2px solid transparent;
  color: var(--primary);
  box-shadow: none;
}
.cta-style-ghost .btn-cta:hover {
  background: color-mix(in srgb, var(--primary) 10%, transparent);
}
.cta-style-light .btn-cta { background: var(--primary); color: #fff; border: none; }
.cta-style-dark    .btn-cta { background: var(--primary); color: #fff; border: none; }

/* ── Divider block ── */
.block-divider { padding: 8px 0; }
.block-divider hr { border: none; }
.divider-solid  hr { border-top: 1px solid var(--border); }
.divider-dashed hr { border-top: 1px dashed var(--border); }
.divider-dotted hr { border-top: 1px dotted var(--border); }
.divider-thick  hr { border-top: 3px solid var(--border); }
.divider-none   hr { border: none; height: 32px; }

/* ── Responsive ── */
@media (max-width: 640px) {
  .block-image-text:not(.vertical) {
    flex-direction: column !important;
  }
  .block-image-text .img-col {
    width: 100% !important;
  }
  .block-gallery[class*="cols-mobile-"] {
    grid-template-columns: repeat(var(--cms-gallery-cols-mobile, 2), 1fr);
  }
  .block-youtube[class*="cols-mobile-"] {
    grid-template-columns: repeat(var(--cms-youtube-cols-mobile, 1), 1fr);
  }
  .cta-inner { padding: 32px 20px; }
}
.page-header h1 { font-size: 26px; font-weight: 800; }
.page-header p  { font-size: 14px; color: var(--text-muted); margin-top: 4px; }

/* ── Utilities ──────────────────────────────────────── */
.text-primary  { color: var(--primary); }
.text-muted    { color: var(--text-muted); }
.text-center   { text-align: center; }
.font-bold     { font-weight: 700; }
.mt-auto       { margin-top: auto; }
.mb-0          { margin-bottom: 0; }
.gap-8         { gap: 8px; }
.flex          { display: flex; }
.flex-center   { display: flex; align-items: center; justify-content: center; }
.items-center  { align-items: center; }
.justify-between { justify-content: space-between; }
.w-full        { width: 100%; }
.hidden        { display: none; }

.divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 24px 0;
}

/* ── Responsive ─────────────────────────────────────── */
@media (max-width: 1024px) {
  .cat-page-layout { flex-direction: column; }
  .filter-sidebar { width: 100%; position: static; }
  .cart-layout, .checkout-layout { grid-template-columns: 1fr; }
  .cart-summary { position: static; }
  .account-layout { grid-template-columns: 1fr; }
  .account-nav { position: static; }
}

@media (max-width: 768px) {
  .product-detail-wrap.layout-left,
  .product-detail-wrap.layout-right { grid-template-columns: 1fr; direction: ltr; }
  .product-gallery { position: static; }
  .mobile-menu-btn { display: flex; }
  .main-nav { display: none; }
  .site-logo-img--desktop { display: none; }
  .site-logo-img--mobile  { display: inline-block; }

  /* Arama mobilde ikonla açılır: kapalıyken gizli, açıkken header'ın altında tam genişlik */
  .search-toggle-btn { display: flex; }

  /* Classic: arama zaten header-top-inner'ın doğrudan çocuğu */
  .classic-header .header-top-inner { flex-wrap: wrap; }
  .classic-header .search-form { order: 3; flex: 0 0 100%; max-width: none; display: none; }
  .classic-header.search-open .search-form { display: flex; }

  /* Minimal: ortadaki kategori menüsü gizlenir, yerini hamburger alır */
  .minimal-header .mh-inner { grid-template-columns: auto auto; justify-content: space-between; }
  .minimal-header .mh-nav { display: none; }

  /* Centered: arama grid'in 2. satırında tüm genişliği kaplar */
  .centered-header .header-side:first-child {
    display: none;
    grid-column: 1 / -1;
    grid-row: 2;
  }
  .centered-header.search-open .header-side:first-child { display: flex; }
  .centered-header .header-side:first-child .search-form { flex: 1 1 100%; }
  .classic-header .header-top-inner { gap: 8px; }
  .centered-header .centered-top { grid-template-columns: 1fr auto; }
  /* Logo 1. satırda tek başına 1fr sütunda kalıyor; justify-self:center kalırsa
     sola boşluk varmış gibi görünür → sola hizala. */
  .centered-header .centered-logo { justify-self: start; }

  .product-grid { grid-template-columns: repeat(var(--grid-cols-mobile, 2), 1fr); }

  /* Kategori sayfa başlığı: mobilde dikey yığ — sıralama dropdown'u alta */
  .page-header { padding: 16px 0; margin-bottom: 0; }
  .page-header-inner { flex-direction: column; align-items: stretch; gap: 12px; }
  .page-header h1 { font-size: 22px; }
  .cms-page-title { font-size: 22px; margin-bottom: 20px; }
  .cms-page-lead  { font-size: 15px; margin: -12px 0 20px; }
  .page-header .sort-select { width: 100%; }

  /* Mobilde "Kategoriler:" etiketi gerekmiyor */

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px 24px;
  }
  .footer-col-brand {
    grid-column: 1 / -1;
    max-width: none;
  }
  /* Alt şerit: sosyal ikonlar üstte yuvarlak butonlar, telif altta — ortalanmış */
  /* Mobil: tek sütun — sosyal linkler → telif → ödeme yöntemleri görseli */
  .footer-bottom-inner {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
    gap: 10px;
    padding-top: 18px !important;
    padding-bottom: 18px !important;
  }
  .footer-bottom-inner .footer-social-row { order: 1; justify-self: center; }
  .footer-bottom-inner .footer-copy       { order: 2; justify-self: center; }
  .footer-bottom-inner .footer-creditcard { order: 3; justify-self: center; }
  /* Sosyal linkler masaüstündeki gibi ikon + isim; tek satırda kalsın, alt alta düşmesin.
     Sığmazsa yatayda kaydırılır (gizli scrollbar). */
  .footer-social-row {
    flex-wrap: nowrap;
    justify-content: center;
    gap: 12px;
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .footer-social-row::-webkit-scrollbar { display: none; }
  .footer-social-link {
    flex-shrink: 0;
    gap: 6px;
    font-size: 12px;
    white-space: nowrap;
  }
  .footer-copy { font-size: 12px; }
  /* Mobilde yan yana banner sayısı — admin → Ayarlar → Banner. Değişken
     yoksa (eski tema önbelleği) tek sütuna düşer. */
  .banner-grid {
    grid-template-columns: repeat(var(--banner-cols-mobile, 1), minmax(0, 1fr));
    gap: 12px;
  }
  /* Kart yüksekliği sütun sayısıyla ölçeklenir; 110px'in altına düşmez.
     1 sütun → 200px, 2 → 110px, 3 → 110px */
  .banner-grid .banner-card {
    min-height: max(110px, calc(200px / var(--banner-cols-mobile, 1)));
  }
  .section { padding: 40px 0; }
  /* Oklar 36px + 8px kenar boşluğu kaplıyor; yazı onların altına girmesin diye
     yatay iç boşluk buna göre verilir (8 + 36 + 8 = 52px). */
  .slider-btn-wrap { padding: 0 8px; }
  .slider-nav-btn  { width: 36px; height: 36px; }
  .slider-nav-btn svg { width: 16px; height: 16px; }
  .slide-content   { padding: 20px 52px; }
  /* Tek slaytta ok basılmaz — o zaman dar boşluk yeter */
  .slider-wrap:not(:has(.slider-btn-wrap)) .slide-content { padding: 20px; }
  .slider-h-lg { height: 280px; }
  .slider-h-full { height: 240px; }
  .category-grid { grid-template-columns: repeat(var(--home-cat-cols-mobile, 2), minmax(0, 1fr)); }
}

@media (max-width: 640px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .footer-col-brand {
    grid-column: auto;
  }
}

@media (max-width: 480px) {
  .product-grid { grid-template-columns: repeat(var(--grid-cols-mobile, 2), 1fr); gap: 12px; }
  .category-grid { grid-template-columns: repeat(var(--home-cat-cols-mobile, 2), minmax(0, 1fr)); }
  .container { padding: 0 14px; }
  .product-title { font-size: 22px; }
  .product-price { font-size: 28px; }
  .auth-body { padding: 24px 20px; }
}

/* ── CMS lightbox (blog / sayfa) ─────────────────────── */
.pg-lb {
  position: fixed; inset: 0; z-index: 9000;
  background: rgba(0, 0, 0, .92);
  display: none; align-items: center; justify-content: center;
  padding: 24px;
}
.pg-lb.is-open { display: flex; }
.pg-lb-stage {
  max-width: 100%; max-height: 100%;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
}
.pg-lb-stage img {
  max-width: 90vw; max-height: 80vh;
  object-fit: contain; display: block;
  user-select: none; -webkit-user-drag: none;
}
.pg-lb-cap {
  margin-top: 12px; max-width: 90vw;
  color: rgba(255, 255, 255, .85); font-size: 14px; text-align: center;
}
.pg-lb-close, .pg-lb-nav {
  position: absolute;
  background: rgba(255, 255, 255, .1); color: #fff; border: none;
  cursor: pointer; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: inherit; line-height: 1;
  transition: background .15s;
}
.pg-lb-close:hover, .pg-lb-nav:hover { background: rgba(255, 255, 255, .22); }
.pg-lb-close { top: 20px; right: 20px; width: 42px; height: 42px; font-size: 26px; }
.pg-lb-nav { top: 50%; transform: translateY(-50%); width: 48px; height: 48px; font-size: 32px; }
.pg-lb-prev { left: 20px; }
.pg-lb-next { right: 20px; }
.pg-lb-counter {
  position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%);
  color: rgba(255, 255, 255, .85); font-size: 13px; font-weight: 600;
  background: rgba(0, 0, 0, .4); padding: 6px 14px; border-radius: 20px;
}
body.cms-lb-open { overflow: hidden; }
[data-cms-lightbox] img.cms-lb-ready,
[data-cms-lightbox] .cms-lb-trigger { cursor: zoom-in; }
.cms-lb-trigger {
  display: block; padding: 0; border: none; background: none;
  width: 100%; text-align: inherit; font: inherit;
}
@media (max-width: 640px) {
  .pg-lb-nav { width: 40px; height: 40px; font-size: 26px; }
  .pg-lb-prev { left: 8px; }
  .pg-lb-next { right: 8px; }
  .pg-lb-close { top: 12px; right: 12px; width: 36px; height: 36px; font-size: 22px; }
}

/* ── Referanslar (ana sayfa + referanslar sayfası) ─── */
.section-header-row {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; flex-wrap: wrap; margin-bottom: 24px;
}
.section-more-link {
  font-size: 14px; font-weight: 600; color: var(--primary);
  text-decoration: none; white-space: nowrap;
}
.section-more-link:hover { text-decoration: underline; }

.home-references { background: var(--surface, #fff); }

.refs-logo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 16px;
}
.refs-logo-grid--page {
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  margin-top: 8px;
}
.refs-logo-item,
.refs-logo-card {
  display: flex; flex-direction: column; align-items: center;
  gap: 10px; padding: 20px 16px;
  background: var(--surface, #fff);
  border: 1px solid var(--border);
  border-radius: var(--radius-md, 12px);
  text-decoration: none; color: inherit;
  transition: box-shadow .15s, border-color .15s;
}
.refs-logo-item:hover {
  border-color: var(--primary-20, rgba(99,102,241,.2));
  box-shadow: var(--card-shadow, 0 4px 20px rgba(0,0,0,.06));
}
.refs-logo-item img,
.refs-logo-card img {
  max-width: 80px; max-height: 56px; object-fit: contain;
}
.refs-logo-fallback {
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--primary-10, rgba(99,102,241,.1));
  color: var(--primary);
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; font-weight: 700;
}
.refs-logo-fallback--lg { width: 56px; height: 56px; font-size: 22px; }
.refs-logo-name {
  font-size: 12px; font-weight: 600; text-align: center;
  color: var(--text); line-height: 1.3;
}
.refs-logo-sector { font-size: 11px; color: var(--text-muted); text-align: center; }

.refs-page-wrap { padding: 40px 20px 80px; }
.refs-page-title {
  text-align: center; margin-bottom: 12px;
  font-size: clamp(22px, 4vw, 36px);
}
.refs-page-lead {
  text-align: center; color: var(--text-muted);
  margin-bottom: 48px; font-size: 15px;
}
.refs-empty { text-align: center; padding: 80px 20px; color: var(--text-muted); }
.refs-empty-icon { font-size: 48px; margin-bottom: 12px; }
.refs-empty-title { font-size: 16px; font-weight: 600; }

.refs-testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px; margin-bottom: 48px;
}
.refs-testimonial-card {
  background: var(--surface, #fff);
  border: 1px solid var(--border);
  border-radius: var(--radius-md, 12px);
  padding: 24px;
  display: flex; flex-direction: column; gap: 16px;
}
.refs-testimonial-head { display: flex; align-items: center; gap: 14px; }
.refs-testimonial-logo {
  width: 52px; height: 52px; object-fit: contain;
  border-radius: 8px; border: 1px solid var(--border);
  background: var(--bg, #f8fafc);
}
.refs-testimonial-name { font-size: 15px; font-weight: 700; }
.refs-testimonial-sector { font-size: 12px; color: var(--text-muted); margin-top: 2px; }
.refs-stars { color: #f59e0b; font-size: 14px; margin-top: 2px; }
.refs-quote {
  margin: 0; font-size: 14px; color: var(--text-2, #4b5563);
  line-height: 1.6; font-style: italic;
}
.refs-website-link {
  font-size: 12px; color: var(--primary);
  text-decoration: none; align-self: flex-start;
}
.refs-website-link:hover { text-decoration: underline; }
.refs-subtitle {
  text-align: center; font-size: 18px; font-weight: 600;
  margin-bottom: 28px; color: var(--text);
}

/* ── İletişim sayfası ───────────────────────────────── */
.contact-page { padding: 32px 0 72px; }
.contact-page-header { text-align: center; margin-bottom: 40px; }
.contact-page-title {
  font-size: clamp(26px, 4vw, 38px); font-weight: 800;
  margin-bottom: 10px; color: var(--text);
}
.contact-page-lead { color: var(--text-muted); font-size: 15px; max-width: 520px; margin: 0 auto; }

.contact-page-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 28px;
  align-items: start;
}
@media (max-width: 900px) {
  .contact-page-grid { grid-template-columns: 1fr; }
}

.contact-info-panel,
.contact-form-panel {
  background: var(--surface, #fff);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg, 16px);
  padding: 28px;
}
.contact-info-heading { font-size: 18px; font-weight: 700; margin-bottom: 20px; }
.contact-info-list { list-style: none; display: flex; flex-direction: column; gap: 18px; margin-bottom: 24px; }
.contact-info-item { display: flex; gap: 14px; align-items: flex-start; }
.contact-info-icon { font-size: 20px; line-height: 1; flex-shrink: 0; }
.contact-info-icon i { font-size: 16px; line-height: 1; color: var(--primary); width: 20px; text-align: center; }
.contact-info-label { display: block; font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; color: var(--text-muted); margin-bottom: 4px; }
.contact-info-value { font-size: 14px; color: var(--text); text-decoration: none; }
a.contact-info-value:hover { color: var(--primary); text-decoration: underline; }
.contact-info-address { line-height: 1.6; }

.contact-map-wrap { margin-top: 8px; }
.contact-map {
  width: 100%; height: 220px; border: 1px solid var(--border);
  border-radius: var(--radius-md, 12px);
}
.contact-map-link {
  display: inline-block; margin-top: 8px; font-size: 13px; font-weight: 600;
  color: var(--primary); text-decoration: none;
}
.contact-map-link:hover { text-decoration: underline; }

.contact-form-title { font-size: 18px; font-weight: 700; margin-bottom: 16px; }
.contact-form-alert {
  padding: 12px 14px; border-radius: var(--radius-sm, 8px);
  font-size: 14px; margin-bottom: 16px;
}
.contact-form-alert--success {
  background: #ecfdf5; color: #166534; border: 1px solid #bbf7d0;
}
.contact-form-alert--error {
  background: #fef2f2; color: #991b1b; border: 1px solid #fecaca;
}
.contact-form .form-row-2 {
  display: grid; grid-template-columns: 1fr 1fr; gap: 14px;
}
@media (max-width: 560px) {
  .contact-form .form-row-2 { grid-template-columns: 1fr; }
}
.contact-form .form-group { margin-bottom: 14px; }
.contact-form label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 6px; color: var(--text); }
.contact-form .req { color: #ef4444; }
.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%; padding: 10px 12px; font-size: 14px; font-family: inherit;
  border: 1px solid var(--border); border-radius: var(--radius-sm, 8px);
  background: var(--surface, #fff); color: var(--text);
}
.contact-form textarea { resize: vertical; min-height: 120px; }
.contact-recaptcha-wrap { display: flex; justify-content: center; }