/* ==========================================================================
   Berrak — tasarım sistemi
   Palet ve kontrast değerleri WCAG AA doğrulanmıştır (bkz. docs/TASARIM.md)
   ========================================================================== */

@import url("../fonts/inter.css");

:root {
  /* --- marka --- */
  --primary:          #0E6E6E;
  --primary-hover:    #0A5858;
  --primary-active:   #084A4A;
  --primary-subtle:   #E6F2F2;
  --primary-ring:     rgba(14, 110, 110, .28);
  --accent:           #C2410C;
  --accent-hover:     #9C3900;
  --accent-loud:      #EA580C;
  --accent-subtle:    #FDF0E9;

  /* --- yüzeyler --- */
  --surface:          #FFFFFF;
  --background:       #F8FAFA;
  --surface-muted:    #F1F5F5;
  --surface-sunken:   #EAF0F0;

  /* --- çizgiler --- */
  --border:           #DCE5E5;   /* yalnız dekoratif ayraç (1.28:1) */
  --border-strong:    #C3D2D2;
  --border-input:     #7F9494;   /* 3.20:1 — form kontrolü */

  /* --- metin --- */
  --text:             #0F1B1B;   /* 17.60:1 */
  --text-muted:       #556969;   /*  5.82:1 */
  --text-subtle:      #6E8080;   /*  4.15:1 — yalnız ≥24px veya ikon */
  --text-on-dark:     #FFFFFF;

  /* --- durum --- */
  --success:          #137A3A;
  --success-subtle:   #E7F4EC;
  --warning:          #B45309;
  --warning-subtle:   #FDF3E4;
  --danger:           #C2261B;
  --danger-subtle:    #FBECEA;
  --info:             #0F5C99;
  --info-subtle:      #E8F1F9;

  /* --- tipografi --- */
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --fs-h1: clamp(30px, 3.2vw, 40px);
  --fs-h2: clamp(24px, 2.4vw, 32px);
  --fs-h3: 24px;
  --fs-h4: 20px;
  --fs-lead: 18px;
  --fs-body: 16px;
  --fs-sm: 14px;
  --fs-xs: 12px;

  /* --- boşluk / ölçü --- */
  --sp-1: 4px;  --sp-2: 8px;  --sp-3: 12px; --sp-4: 16px;
  --sp-5: 20px; --sp-6: 24px; --sp-8: 32px; --sp-10: 40px;
  --sp-12: 48px; --sp-16: 64px; --sp-20: 80px;
  --r-sm: 6px; --r-md: 8px; --r-lg: 10px; --r-xl: 14px; --r-full: 999px;

  --shadow-card: 0 1px 2px rgba(15, 27, 27, .06);
  --shadow-pop:  0 8px 24px -8px rgba(15, 27, 27, .18), 0 2px 6px rgba(15, 27, 27, .06);

  --header-h: 72px;
  --utility-h: 32px;
  --container: 1280px;
  --ease: cubic-bezier(.2, 0, 0, 1);
}

/* ── temel ────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--fs-body);
  line-height: 1.5;
  color: var(--text);
  background: var(--background);
  font-feature-settings: "cv11", "ss01";
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { margin: 0 0 var(--sp-3); line-height: 1.2; font-weight: 650; letter-spacing: -.015em; }
h1 { font-size: var(--fs-h1); font-weight: 700; letter-spacing: -.02em; }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); }
h4 { font-size: var(--fs-h4); }
p  { margin: 0 0 var(--sp-4); max-width: 70ch; }
a  { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }
ul, ol { margin: 0; padding: 0; }

/* sayılar her yerde hizalı */
.num, .price, td, th, .qty input { font-variant-numeric: tabular-nums; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--sp-5); }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: var(--sp-4); top: -60px; z-index: 200;
  background: var(--primary); color: #fff; padding: var(--sp-3) var(--sp-5);
  border-radius: var(--r-md); transition: top .15s var(--ease);
}
.skip-link:focus { top: var(--sp-2); }

/* ── odak: çift katmanlı halka (tek renk primary buton üstünde görünmez) ── */
:focus-visible {
  outline: 2px solid var(--primary-active);
  outline-offset: 2px;
  box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--primary-active);
  border-radius: var(--r-sm);
}

/* ── üst şerit ─────────────────────────────────────────────────────────── */
.utility {
  background: var(--primary-active);
  color: #fff;
  font-size: var(--fs-xs);
  height: var(--utility-h);
  display: flex; align-items: center;
}
.utility .container { display: flex; align-items: center; gap: var(--sp-5); }
.utility a { color: #fff; display: inline-flex; align-items: center; gap: 6px; }
.utility a:hover { text-decoration: none; opacity: .85; }
.utility .right { margin-left: auto; display: flex; gap: var(--sp-5); align-items: center; }
.utility .sep { opacity: .35; }

/* Üst şeritler + header tek yapışkan blok. Blok, üst şeritlerin yüksekliği
   kadar yukarı yapışır: aşağı kaydırırken iki satır gizlenir, yukarı
   kaydırınca geri gelir. Böylece "kaybolma" sessiz bir kırılma değil,
   kontrollü ve geri alınabilir bir davranış olur. */
.headerstack {
  position: sticky;
  top: calc(-1 * var(--bars-h, 73px));
  z-index: 90;
  transition: top .24s var(--ease);
}
body.bars-visible .headerstack { top: 0; }

/* ── header ───────────────────────────────────────────────────────────── */
.header {
  position: relative; z-index: 1;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  transition: box-shadow .18s var(--ease);
}
body.has-shadow .header { box-shadow: 0 6px 18px -12px rgba(15, 27, 27, .35); }
.header__main {
  height: var(--header-h);
  display: flex; align-items: center; gap: var(--sp-6);
}

.logo { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.logo:hover { text-decoration: none; }
.logo__mark { width: 34px; height: 34px; flex-shrink: 0; }
.logo__text { display: flex; flex-direction: column; line-height: 1; }
.logo__name {
  font-size: 21px; font-weight: 700; letter-spacing: -.02em;
  color: var(--text); text-transform: uppercase;
}
.logo__sub { font-size: 10px; letter-spacing: .12em; color: var(--text-muted); text-transform: uppercase; margin-top: 3px; }

/* arama */
.search { position: relative; flex: 1 1 0; min-width: 0; max-width: 560px; }
.search__row {
  display: flex; align-items: stretch; min-height: 44px;
  border: 1.5px solid var(--border-input);
  border-radius: var(--r-md); background: var(--surface);
  overflow: hidden; transition: border-color .12s var(--ease), box-shadow .12s var(--ease);
}
.search__row:focus-within { border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-ring); }
.search input {
  flex: 1; border: 0; padding: 0 var(--sp-4); font: inherit; font-size: var(--fs-sm);
  background: transparent; color: var(--text); min-width: 0;
}
.search input:focus { outline: none; }
.search input::placeholder { color: var(--text-subtle); }
.search__btn {
  border: 0; background: var(--primary); color: #fff; cursor: pointer;
  padding: 0 var(--sp-5); font: inherit; font-size: var(--fs-sm); font-weight: 600;
  display: inline-flex; align-items: center; gap: 6px;
  transition: background .12s var(--ease);
}
.search__btn:hover { background: var(--primary-hover); }

.search__suggest {
  position: absolute; inset-inline: 0; top: calc(100% + 6px);
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r-lg); box-shadow: var(--shadow-pop);
  padding: var(--sp-2); z-index: 95; display: none;
}
.search__suggest[data-open="true"] { display: block; }
.search__suggest button {
  display: flex; width: 100%; align-items: center; gap: var(--sp-3);
  padding: var(--sp-3); border: 0; background: none; cursor: pointer;
  font: inherit; font-size: var(--fs-sm); color: var(--text); text-align: left;
  border-radius: var(--r-sm);
}
.search__suggest button:hover, .search__suggest button[aria-selected="true"] { background: var(--surface-muted); }
.search__suggest mark { background: var(--primary-subtle); color: var(--primary-active); font-weight: 600; border-radius: 3px; padding: 0 2px; }

/* header aksiyonları */
.header__actions { margin-left: auto; display: flex; align-items: center; gap: var(--sp-2); }
.icon-btn {
  display: inline-flex; align-items: center; gap: var(--sp-2);
  min-height: 44px; padding: 0 var(--sp-3); border-radius: var(--r-md);
  border: 1px solid transparent; background: none; cursor: pointer;
  font: inherit; font-size: var(--fs-sm); font-weight: 500; color: var(--text);
  transition: background .12s var(--ease), border-color .12s var(--ease);
}
.icon-btn:hover { background: var(--surface-muted); text-decoration: none; }
.icon-btn svg { width: 20px; height: 20px; flex-shrink: 0; }
.icon-btn--cart { border-color: var(--border-input); }
.icon-btn--cart:hover { border-color: var(--primary); background: var(--primary-subtle); }
.cart-count {
  min-width: 20px; height: 20px; padding: 0 5px; border-radius: var(--r-full);
  background: var(--accent); color: #fff; font-size: 11px; font-weight: 700;
  display: inline-flex; align-items: center; justify-content: center;
}
.cart-count:empty, .cart-count[data-empty="true"] { display: none; }
@keyframes pulse { 0% { transform: scale(1); } 50% { transform: scale(1.15); } 100% { transform: scale(1); } }
.cart-count.pulse { animation: pulse .2s var(--ease) 1; }

/* navigasyon */
.nav { border-top: 1px solid var(--border); }
.nav__list { display: flex; gap: var(--sp-1); list-style: none; overflow-x: auto; scrollbar-width: none; }
.nav__list::-webkit-scrollbar { display: none; }
.nav__item { position: relative; }
.nav__link {
  display: inline-flex; align-items: center; gap: 6px;
  padding: var(--sp-3) var(--sp-4); font-size: var(--fs-sm); font-weight: 500;
  color: var(--text); white-space: nowrap; border-bottom: 2px solid transparent;
}
.nav__link:hover { color: var(--primary); text-decoration: none; }
.nav__link[aria-current="page"] { color: var(--primary); border-bottom-color: var(--primary); }

/* mega menü — 300ms açılış gecikmesi (yanlışlıkla açılmayı önler) */
.mega {
  position: absolute; left: 0; top: 100%; min-width: 620px;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 0 0 var(--r-xl) var(--r-xl); box-shadow: var(--shadow-pop);
  padding: var(--sp-6); display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-5);
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .16s var(--ease), transform .16s var(--ease), visibility 0s .16s;
  z-index: 92;
}
.nav__item:hover .mega, .nav__item:focus-within .mega {
  opacity: 1; visibility: visible; transform: translateY(0);
  transition-delay: .3s, .3s, 0s;
}
.mega h5 { margin: 0 0 var(--sp-3); font-size: var(--fs-xs); letter-spacing: .08em; text-transform: uppercase; color: var(--text-muted); font-weight: 600; }
.mega ul { list-style: none; display: grid; gap: 2px; }
.mega a { display: block; padding: 6px var(--sp-2); border-radius: var(--r-sm); font-size: var(--fs-sm); color: var(--text); min-height: 32px; }
.mega a:hover { background: var(--primary-subtle); color: var(--primary-active); text-decoration: none; }

/* erişilebilirlik: satır içi olmayan tüm bağlantılar en az 24×24 px (WCAG 2.5.8 AA) */
.footer a, .breadcrumb a, .section__link, .tabbar a, .chip, .line__del,
.utility a, .mega a, .promobar a, .camp__cta {
  display: inline-flex; align-items: center; min-height: 24px;
}
.utility a { min-height: 24px; }
.promobar a { min-height: 24px; padding-block: 3px; font-weight: 600; }
/* metin içi bağlantılarda dikey dolgu dokunma alanını büyütür, satır akışını bozmaz */
.card__title a, .ptable__prod b a, .spec-list dd a { padding-block: 4px; }
.chip button {
  min-width: 24px; min-height: 24px; display: inline-grid; place-items: center;
  border: 0; background: none; cursor: pointer; color: inherit; font-size: 15px;
  padding: 0; border-radius: var(--r-full);
}
.footer li a { padding-block: 3px; }

/* ── butonlar ─────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--sp-2);
  min-height: 44px; padding: 0 var(--sp-5);
  border: 1px solid transparent; border-radius: var(--r-md);
  font: inherit; font-size: var(--fs-sm); font-weight: 600; cursor: pointer;
  transition: background .12s var(--ease), color .12s var(--ease),
              border-color .12s var(--ease), transform .08s var(--ease);
}
.btn:active { transform: scale(.98); }
.btn:hover { text-decoration: none; }
.btn--primary { background: var(--primary); color: #fff; }
.btn--primary:hover { background: var(--primary-hover); }
.btn--accent { background: var(--accent); color: #fff; }
.btn--accent:hover { background: var(--accent-hover); }
.btn--ghost { background: var(--surface); color: var(--text); border-color: var(--border-input); }
.btn--ghost:hover { border-color: var(--primary); color: var(--primary); }
.btn--quiet { background: var(--surface-muted); color: var(--text); }
.btn--quiet:hover { background: var(--surface-sunken); }
.btn--lg { min-height: 48px; padding: 0 var(--sp-6); font-size: var(--fs-body); }
.btn--block { width: 100%; }
.btn--sm { min-height: 36px; padding: 0 var(--sp-4); font-size: var(--fs-xs); }
.btn[disabled] { opacity: .5; cursor: not-allowed; }

/* ── hero ─────────────────────────────────────────────────────────────── */
.hero {
  background:
    radial-gradient(120% 90% at 8% 0%, var(--primary-subtle) 0%, rgba(230,242,242,0) 58%),
    var(--surface);
  border-bottom: 1px solid var(--border);
}
.hero__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: var(--sp-12); align-items: center; padding-block: var(--sp-16); }
.hero__eyebrow {
  display: inline-flex; align-items: center; gap: var(--sp-2);
  background: var(--primary-subtle); color: var(--primary-active);
  font-size: var(--fs-xs); font-weight: 600; letter-spacing: .04em;
  padding: 6px var(--sp-3); border-radius: var(--r-full); margin-bottom: var(--sp-5);
}
.hero h1 { max-width: 16ch; }
.hero__lead { font-size: var(--fs-lead); color: var(--text-muted); max-width: 52ch; margin-bottom: var(--sp-6); }
.hero__cta { display: flex; flex-wrap: wrap; gap: var(--sp-3); margin-bottom: var(--sp-8); }
.hero__stats { display: flex; gap: var(--sp-8); flex-wrap: wrap; padding-top: var(--sp-6); border-top: 1px solid var(--border); }
.hero__stat b { display: block; font-size: 28px; font-weight: 700; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.hero__stat span { font-size: var(--fs-xs); color: var(--text-muted); }
.hero__media { position: relative; }
.hero__media img { width: 100%; height: auto; border-radius: var(--r-xl); aspect-ratio: 16/10; object-fit: cover; box-shadow: var(--shadow-card); }
.hero__badge {
  position: absolute; left: -18px; bottom: 28px;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r-lg); box-shadow: var(--shadow-pop);
  padding: var(--sp-4) var(--sp-5); display: flex; align-items: center; gap: var(--sp-3);
}
.hero__badge svg { width: 26px; height: 26px; color: var(--primary); }
.hero__badge b { display: block; font-size: 15px; letter-spacing: -.005em; }
.hero__badge span { font-size: 13px; color: var(--text-muted); display: block; margin-top: 2px; }

/* ── bölüm ────────────────────────────────────────────────────────────── */
.section { padding: var(--sp-16) 0; }
.section--tight { padding: var(--sp-12) 0; }
.section--muted { background: var(--surface); border-block: 1px solid var(--border); }
.section__head { display: flex; align-items: flex-end; justify-content: space-between; gap: var(--sp-6); margin-bottom: var(--sp-8); }
.section__head p { margin: var(--sp-2) 0 0; color: var(--text-muted); font-size: var(--fs-sm); }
.section__link { font-size: var(--fs-sm); font-weight: 600; white-space: nowrap; }

/* ── kategori kartları ────────────────────────────────────────────────── */
.cats { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--sp-4); }
.cat {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg);
  padding: var(--sp-4); display: flex; flex-direction: column; gap: var(--sp-3);
  transition: transform .12s var(--ease), border-color .12s var(--ease);
}
.cat:hover { transform: translateY(-2px); border-color: var(--primary); text-decoration: none; }
.cat img {
  width: 100%; height: auto; aspect-ratio: 4/3; object-fit: cover; border-radius: var(--r-md);
  background: var(--surface-muted); transition: transform .28s var(--ease);
}
.cat:hover img { transform: scale(1.03); }
.cat b { font-size: var(--fs-sm); font-weight: 600; color: var(--text); }
.cat span { font-size: var(--fs-xs); color: var(--text-muted); }
.cat__media { display: block; overflow: hidden; border-radius: var(--r-md); }

/* ── ürün kartı ───────────────────────────────────────────────────────── */
.products { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--sp-4); }
.card {
  position: relative; background: var(--surface);
  border: 1px solid var(--border); border-radius: var(--r-lg);
  display: flex; flex-direction: column; overflow: hidden;
  transition: transform .12s var(--ease), border-color .12s var(--ease);
}
.card:hover { transform: translateY(-2px); border-color: var(--border-strong); }
.card__media { position: relative; display: block; background: var(--surface-muted); }
.card__media img { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; }
.card__badges { position: absolute; inset: var(--sp-3) var(--sp-3) auto var(--sp-3); display: flex; justify-content: space-between; gap: var(--sp-2); }
.card__body { padding: var(--sp-4); display: flex; flex-direction: column; gap: var(--sp-2); flex: 1; }
.card__brand { font-size: var(--fs-xs); color: var(--text-muted); letter-spacing: .02em; }
.card__title {
  font-size: var(--fs-sm); font-weight: 600; line-height: 1.35; color: var(--text);
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
  min-height: 3.1em;
}
.card__title a { color: inherit; }
.card__title a:hover { color: var(--primary); text-decoration: none; }
.card__meta { font-size: var(--fs-xs); color: var(--text-muted); display: flex; gap: var(--sp-2); }
.card__price-row { margin-top: auto; padding-top: var(--sp-2); }
.card__case { display: flex; align-items: baseline; gap: var(--sp-2); flex-wrap: wrap; }
.card__case .price { font-size: 20px; font-weight: 700; letter-spacing: -.01em; }
.card__case .cur { font-size: var(--fs-xs); color: var(--text-muted); }
.card__unit { font-size: var(--fs-xs); color: var(--text-muted); }
.card__was { font-size: var(--fs-xs); color: var(--text-muted); text-decoration: line-through; }
.card__foot { padding: 0 var(--sp-4) var(--sp-4); display: grid; gap: var(--sp-2); }

/* rozetler */
.badge {
  display: inline-flex; align-items: center; height: 24px; padding: 0 var(--sp-2);
  border-radius: var(--r-sm); font-size: var(--fs-xs); font-weight: 600; letter-spacing: .01em;
  white-space: nowrap;
}
.badge--new     { background: var(--primary-subtle); color: var(--primary-active); }
.badge--disc    { background: var(--accent); color: #fff; }
.badge--stock   { background: var(--success-subtle); color: var(--success); }
.badge--low     { background: var(--warning-subtle); color: var(--warning); }
.badge--out     { background: var(--surface-muted); color: var(--text-muted); }
.badge--b2b     { background: var(--info-subtle); color: var(--info); }

/* ── adet / koli seçici ───────────────────────────────────────────────── */
.qty { display: flex; align-items: center; gap: 0; border: 1px solid var(--border-input); border-radius: var(--r-md); overflow: hidden; background: var(--surface); }
.qty button {
  width: 40px; height: 40px; border: 0; background: var(--surface); cursor: pointer;
  color: var(--text); font-size: 18px; line-height: 1; display: grid; place-items: center;
  transition: background .12s var(--ease);
}
.qty button:hover { background: var(--surface-muted); color: var(--primary); }
.qty input {
  width: 46px; height: 40px; border: 0; border-inline: 1px solid var(--border);
  text-align: center; font: inherit; font-size: var(--fs-sm); font-weight: 600;
  color: var(--text); background: var(--surface); -moz-appearance: textfield;
}
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.qty input:focus { outline: none; background: var(--primary-subtle); }

.seg { display: inline-flex; padding: 3px; background: var(--surface-muted); border-radius: var(--r-md); }
.seg button {
  border: 0; background: none; cursor: pointer; font: inherit; font-size: var(--fs-xs); font-weight: 600;
  color: var(--text-muted); padding: 6px var(--sp-3); border-radius: var(--r-sm); min-height: 32px;
  transition: background .12s var(--ease), color .12s var(--ease);
}
.seg button[aria-pressed="true"] { background: var(--surface); color: var(--primary-active); box-shadow: var(--shadow-card); }

/* ── araç şeritleri ───────────────────────────────────────────────────── */
.strip {
  background: linear-gradient(90deg, var(--primary-active), var(--primary));
  color: #fff; border-radius: var(--r-xl); padding: var(--sp-8) var(--sp-10);
  display: flex; align-items: center; gap: var(--sp-8); flex-wrap: wrap;
}
.strip h3 { color: #fff; margin-bottom: var(--sp-2); }
.strip p { color: rgba(255,255,255,.85); margin: 0; font-size: var(--fs-sm); }
.strip .btn--ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.5); }
.strip .btn--ghost:hover { background: rgba(255,255,255,.12); color: #fff; border-color: #fff; }
.strip .btn--accent { margin-left: auto; }

/* ── güven bloğu ──────────────────────────────────────────────────────── */
.trust { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--sp-4); }
.trust__item {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg);
  padding: var(--sp-5); display: flex; gap: var(--sp-4); align-items: flex-start;
}
.trust__item svg { width: 24px; height: 24px; color: var(--primary); flex-shrink: 0; margin-top: 2px; }
.trust__item b { display: block; font-size: var(--fs-sm); margin-bottom: 2px; }
.trust__item span { font-size: var(--fs-xs); color: var(--text-muted); }
a.trust__item { color: inherit; }
a.trust__item:hover { border-color: var(--primary); text-decoration: none; }
.trust--3 { grid-template-columns: repeat(3, 1fr); }

/* ── hızlı sipariş ────────────────────────────────────────────────────── */
.quick { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-8); align-items: start; }
.quick__panel { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-xl); padding: var(--sp-6); }
.quick textarea {
  width: 100%; min-height: 160px; resize: vertical; padding: var(--sp-5);
  border: 1.5px solid var(--border-input); border-radius: var(--r-md);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 13px; line-height: 1.7;
  color: var(--text); background: var(--surface);
}
.quick textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-ring); }
.quick__hint { font-size: var(--fs-xs); color: var(--text-muted); margin: var(--sp-3) 0 var(--sp-6); line-height: 1.6; }
.quick__result { margin-top: var(--sp-4); }
.qr-row {
  display: grid; grid-template-columns: 1fr auto auto; gap: var(--sp-3); align-items: center;
  padding: var(--sp-3) 0; border-bottom: 1px solid var(--border); font-size: var(--fs-sm);
}
.qr-row:last-child { border-bottom: 0; }
.qr-row--miss { color: var(--danger); }

/* ── filtre + liste ───────────────────────────────────────────────────── */
.catalog { display: grid; grid-template-columns: 280px 1fr; gap: var(--sp-8); align-items: start; }
.filters {
  position: sticky;
  top: calc(var(--stack-h, 121px) + var(--sp-4));
  max-height: calc(100vh - var(--stack-h, 121px) - var(--sp-10));
  overflow-y: auto;
  overscroll-behavior: contain;
  padding-right: var(--sp-2);
}
.filter-group { border-bottom: 1px solid var(--border); padding: var(--sp-4) 0; }
.filter-group:first-child { padding-top: 0; }
.filter-group > summary {
  cursor: pointer; font-size: var(--fs-sm); font-weight: 600; list-style: none;
  display: flex; justify-content: space-between; align-items: center; min-height: 32px;
}
.filter-group > summary::-webkit-details-marker { display: none; }
.filter-group > summary::after { content: ""; width: 8px; height: 8px; border-right: 2px solid var(--text-muted); border-bottom: 2px solid var(--text-muted); transform: rotate(45deg); transition: transform .16s var(--ease); }
.filter-group[open] > summary::after { transform: rotate(-135deg); }
.filter-body { padding-top: var(--sp-3); display: grid; gap: var(--sp-2); }
.check { display: flex; align-items: center; gap: var(--sp-3); font-size: var(--fs-sm); min-height: 32px; cursor: pointer; color: var(--text); }
.check input { width: 18px; height: 18px; accent-color: var(--primary); }
.check .count { margin-left: auto; font-size: var(--fs-xs); color: var(--text-muted); }
.price-range { display: flex; align-items: center; gap: var(--sp-2); }
.price-range input {
  width: 100%; min-height: 40px; padding: 0 var(--sp-3); font: inherit; font-size: var(--fs-sm);
  border: 1.5px solid var(--border-input); border-radius: var(--r-md); color: var(--text);
}
.price-range input:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-ring); }

.applied { display: flex; flex-wrap: wrap; gap: var(--sp-2); margin-bottom: var(--sp-5); }
.chip {
  display: inline-flex; align-items: center; gap: 6px; min-height: 32px; padding: 0 var(--sp-2) 0 var(--sp-3);
  background: var(--primary-subtle); color: var(--primary-active);
  border: 1px solid transparent; border-radius: var(--r-full);
  font-size: var(--fs-xs); font-weight: 600;
}
.chip button:hover { background: rgba(14,110,110,.15); }
.chip--clear { background: transparent; border-color: var(--border-input); color: var(--text); }

.toolbar { display: flex; align-items: center; gap: var(--sp-4); margin-bottom: var(--sp-4); flex-wrap: wrap; }
.toolbar .count { font-size: var(--fs-sm); color: var(--text-muted); }
.toolbar .count b { color: var(--text); }
.toolbar select {
  margin-left: auto; min-height: 40px; padding: 0 var(--sp-3); font: inherit; font-size: var(--fs-sm);
  border: 1.5px solid var(--border-input); border-radius: var(--r-md); background: var(--surface); color: var(--text);
}

/* masaüstü tablo görünümü (B2B) */
.table-wrap { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); overflow: clip; }
table.ptable { width: 100%; border-collapse: collapse; font-size: var(--fs-sm); }
table.ptable th, table.ptable td { padding: var(--sp-3) var(--sp-4); text-align: left; border-bottom: 1px solid var(--border); vertical-align: middle; }
table.ptable thead th {
  background: var(--surface-muted); font-size: var(--fs-xs); font-weight: 600; letter-spacing: .02em;
  color: var(--text-muted); text-transform: uppercase; position: sticky;
  top: var(--stack-h, 121px); z-index: 3;
  box-shadow: 0 1px 0 var(--border), 0 8px 14px -12px rgba(15, 27, 27, .45);
}
table.ptable th.sortable { cursor: pointer; user-select: none; white-space: nowrap; }
table.ptable th.sortable:hover { color: var(--primary); }
table.ptable th .arrow { opacity: .35; margin-left: 4px; }
table.ptable th[aria-sort] .arrow { opacity: 1; color: var(--primary); }
table.ptable tbody tr:hover { background: var(--surface-muted); }
table.ptable tbody tr:last-child td { border-bottom: 0; }
table.ptable .col-name { position: sticky; left: 0; background: var(--surface); z-index: 1; min-width: 300px; }
table.ptable thead th.col-name { z-index: 4; background: var(--surface-muted); }
table.ptable tbody tr:hover .col-name { background: var(--surface-muted); }
.ptable__prod { display: flex; gap: var(--sp-3); align-items: center; }
.ptable__prod img { width: 56px; height: 56px; border-radius: var(--r-sm); object-fit: cover; background: var(--surface-muted); flex-shrink: 0; }
.ptable__prod b { font-weight: 600; display: block; font-size: var(--fs-sm); }
.ptable__prod span { font-size: var(--fs-xs); color: var(--text-muted); }
.ptable .price-cell { font-weight: 700; white-space: nowrap; }
.ptable .unit-cell { color: var(--text-muted); font-size: var(--fs-xs); white-space: nowrap; }
.ptable td.cell-add { white-space: nowrap; }
.ptable .row-add { display: flex; align-items: center; gap: var(--sp-2); }

.load-more { display: flex; justify-content: center; margin-top: var(--sp-6); }

/* masaüstünde B2B tablosu, mobilde kart ızgarası */
.products--mobile-only { display: none; }

/* ── ürün detay ───────────────────────────────────────────────────────── */
.pdp { display: grid; grid-template-columns: 7fr 5fr; gap: var(--sp-10); align-items: start; }
.gallery__main {
  border: 1px solid var(--border); border-radius: var(--r-xl); overflow: hidden; background: var(--surface);
}
.gallery__main img { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; }
.gallery__thumbs { display: flex; gap: var(--sp-3); margin-top: var(--sp-3); }
.gallery__thumbs button {
  width: 76px; height: 76px; padding: 0; border: 1.5px solid var(--border); border-radius: var(--r-md);
  overflow: hidden; background: var(--surface); cursor: pointer; transition: border-color .12s var(--ease);
}
.gallery__thumbs button[aria-pressed="true"] { border-color: var(--primary); }
.gallery__thumbs img { width: 100%; height: 100%; object-fit: cover; }

.buybox { position: sticky; top: calc(var(--stack-h, 121px) + var(--sp-4)); display: grid; gap: var(--sp-4); }
.buybox__top { display: grid; gap: var(--sp-2); }
.buybox__price { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); padding: var(--sp-5); }
.buybox__case { display: flex; align-items: baseline; gap: var(--sp-3); flex-wrap: wrap; }
.buybox__case .price { font-size: 32px; font-weight: 700; letter-spacing: -.02em; }
.buybox__unit { font-size: var(--fs-sm); color: var(--text-muted); margin-top: var(--sp-1); }
.buybox__b2b {
  margin-top: var(--sp-4); padding: var(--sp-3) var(--sp-4); border-radius: var(--r-md);
  background: var(--info-subtle); color: var(--info); font-size: var(--fs-xs); display: flex; gap: var(--sp-2); align-items: center;
}
.buybox__row { display: flex; align-items: center; gap: var(--sp-3); flex-wrap: wrap; }
.buybox__total { display: flex; justify-content: space-between; align-items: baseline; padding-top: var(--sp-3); border-top: 1px solid var(--border); font-size: var(--fs-sm); }
.buybox__total b { font-size: 20px; }

.spec-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 var(--sp-8); }
.spec-list div { display: flex; justify-content: space-between; gap: var(--sp-4); padding: var(--sp-3) 0; border-bottom: 1px solid var(--border); font-size: var(--fs-sm); }
.spec-list dt { color: var(--text-muted); }
.spec-list dd { margin: 0; font-weight: 600; }

/* dikey bölümler (sekme değil) */
.pdp-sections { display: grid; gap: var(--sp-10); margin-top: var(--sp-16); }
.pdp-section { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-xl); padding: var(--sp-8); }
.pdp-section h3 { margin-bottom: var(--sp-4); }
.pdp-section p:last-child { margin-bottom: 0; }

/* ── sepet çekmecesi ──────────────────────────────────────────────────── */
.scrim {
  position: fixed; inset: 0; background: rgba(15, 27, 27, .45); z-index: 100;
  opacity: 0; visibility: hidden; transition: opacity .18s var(--ease), visibility 0s .18s;
}
.scrim[data-open="true"] { opacity: 1; visibility: visible; transition-delay: 0s; }
.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; width: 400px; max-width: 100%;
  background: var(--surface); z-index: 101; display: flex; flex-direction: column;
  transform: translateX(100%); transition: transform .18s var(--ease);
  box-shadow: -8px 0 32px -12px rgba(15,27,27,.25);
}
.drawer[data-open="true"] { transform: translateX(0); transition-duration: .24s; }
.drawer__head { display: flex; align-items: center; gap: var(--sp-3); padding: var(--sp-5); border-bottom: 1px solid var(--border); }
.drawer__head h3 { margin: 0; font-size: var(--fs-h4); }
.drawer__close { margin-left: auto; }
.drawer__body { flex: 1; overflow-y: auto; padding: var(--sp-5); }
.drawer__foot { border-top: 1px solid var(--border); padding: var(--sp-5); display: grid; gap: var(--sp-4); background: var(--surface); }

.line { display: grid; grid-template-columns: 64px 1fr auto; gap: var(--sp-3); padding: var(--sp-4) 0; border-bottom: 1px solid var(--border); }
.line:last-child { border-bottom: 0; }
.line img { width: 64px; height: 64px; border-radius: var(--r-sm); object-fit: cover; background: var(--surface-muted); }
.line b { font-size: var(--fs-sm); font-weight: 600; display: block; line-height: 1.35; }
.line .meta { font-size: var(--fs-xs); color: var(--text-muted); margin-top: 2px; }
.line .qty { margin-top: var(--sp-3); }
.line .qty button { width: 32px; height: 32px; }
.line .qty input { width: 40px; height: 32px; }
.line__right { text-align: right; display: flex; flex-direction: column; align-items: flex-end; gap: var(--sp-2); }
.line__price { font-weight: 700; font-size: var(--fs-sm); white-space: nowrap; }
.line__del { border: 0; background: none; cursor: pointer; color: var(--text-muted); font-size: var(--fs-xs); text-decoration: underline; padding: 4px; min-height: 32px; }
.line__del:hover { color: var(--danger); }

.summary-row { display: flex; justify-content: space-between; font-size: var(--fs-sm); }
.summary-row--save { color: var(--success); font-weight: 600; }
.summary-row--total { font-size: var(--fs-h4); font-weight: 700; padding-top: var(--sp-3); border-top: 1px solid var(--border); }

.empty { text-align: center; padding: var(--sp-10) var(--sp-4); }
.empty svg { width: 44px; height: 44px; color: var(--text-subtle); margin-bottom: var(--sp-4); }
.empty p { margin-inline: auto; color: var(--text-muted); font-size: var(--fs-sm); }

/* ── formlar ──────────────────────────────────────────────────────────── */
.field { display: grid; gap: 6px; margin-bottom: var(--sp-4); }
.field label { font-size: var(--fs-sm); font-weight: 600; }
.field .req { color: var(--danger); }
.field .hint { font-size: var(--fs-xs); color: var(--text-muted); }
.field input, .field select, .field textarea {
  min-height: 44px; padding: var(--sp-3) var(--sp-4); font: inherit; font-size: var(--fs-sm);
  border: 1.5px solid var(--border-input); border-radius: var(--r-md);
  background: var(--surface); color: var(--text); width: 100%;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-ring);
}
.field[data-invalid="true"] input, .field[data-invalid="true"] textarea { border-color: var(--danger); }
.field .error { font-size: var(--fs-xs); color: var(--danger); display: none; }
.field[data-invalid="true"] .error { display: block; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 var(--sp-5); }

/* ── footer ───────────────────────────────────────────────────────────── */
.footer { background: var(--primary-active); color: rgba(255,255,255,.82); margin-top: var(--sp-20); }
.footer__grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: var(--sp-10); padding: var(--sp-16) 0 var(--sp-10); }
.footer h5 { color: #fff; font-size: var(--fs-sm); margin: 0 0 var(--sp-4); letter-spacing: .02em; }
.footer ul { list-style: none; display: grid; gap: var(--sp-2); }
.footer a { color: rgba(255,255,255,.82); font-size: var(--fs-sm); }
.footer a:hover { color: #fff; }
.footer__brand .logo__name, .footer__brand .logo__sub { color: #fff; }
.footer__brand p { font-size: var(--fs-sm); color: rgba(255,255,255,.7); margin-top: var(--sp-4); max-width: 34ch; }
.footer__pay { display: flex; gap: var(--sp-2); flex-wrap: wrap; margin-top: var(--sp-5); }
.footer__pay span {
  border: 1px solid rgba(255,255,255,.28); border-radius: var(--r-sm);
  padding: 6px var(--sp-3); font-size: 11px; color: rgba(255,255,255,.85);
}
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,.15); padding: var(--sp-5) 0;
  display: flex; justify-content: space-between; gap: var(--sp-5); flex-wrap: wrap;
  font-size: var(--fs-xs); color: rgba(255,255,255,.65);
}

/* ── mobil alt çubuk ──────────────────────────────────────────────────── */
.tabbar {
  display: none; position: fixed; inset-inline: 0; bottom: 0; z-index: 80;
  background: var(--surface); border-top: 1px solid var(--border);
  padding-bottom: env(safe-area-inset-bottom); height: calc(56px + env(safe-area-inset-bottom));
}
.tabbar ul { display: grid; grid-template-columns: repeat(5, 1fr); list-style: none; height: 56px; }
.tabbar a {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  font-size: 10px; color: var(--text-muted); min-height: 44px;
}
.tabbar a[aria-current="page"] { color: var(--primary); }
.tabbar svg { width: 22px; height: 22px; }
.tabbar .cart-count { position: absolute; transform: translate(14px, -12px); }

.mobile-filter-btn { display: none; }

/* ── mobil filtre çekmecesi ───────────────────────────────────────────── */
.sheet {
  position: fixed; inset-inline: 0; bottom: 0; z-index: 101; max-height: 90vh;
  background: var(--surface); border-radius: var(--r-xl) var(--r-xl) 0 0;
  transform: translateY(100%); transition: transform .28s var(--ease);
  display: flex; flex-direction: column;
}
.sheet[data-open="true"] { transform: translateY(0); }
.sheet__head { padding: var(--sp-5); border-bottom: 1px solid var(--border); display: flex; align-items: center; }
.sheet__head h3 { margin: 0; font-size: var(--fs-h4); }
.sheet__body { overflow-y: auto; padding: 0 var(--sp-5); }
.sheet__foot { padding: var(--sp-4) var(--sp-5) calc(var(--sp-4) + env(safe-area-inset-bottom)); border-top: 1px solid var(--border); }

/* ── toast ────────────────────────────────────────────────────────────── */
.toast-wrap { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 120; display: grid; gap: var(--sp-2); }
.toast {
  background: var(--text); color: #fff; padding: var(--sp-3) var(--sp-5);
  border-radius: var(--r-md); font-size: var(--fs-sm); box-shadow: var(--shadow-pop);
  display: flex; align-items: center; gap: var(--sp-3);
  animation: toast-in .2s var(--ease);
}
.toast--ok { background: var(--success); }
@keyframes toast-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* ── scroll animasyonu ────────────────────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(12px); transition: opacity .4s var(--ease), transform .4s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

/* ── yardımcılar ──────────────────────────────────────────────────────── */
.muted { color: var(--text-muted); }
.small { font-size: var(--fs-sm); }
.xs { font-size: var(--fs-xs); }
.mt-2 { margin-top: var(--sp-2); } .mt-4 { margin-top: var(--sp-4); } .mt-6 { margin-top: var(--sp-6); }
.mb-0 { margin-bottom: 0; }
.breadcrumb { display: flex; gap: var(--sp-2); font-size: var(--fs-xs); color: var(--text-muted); padding: var(--sp-5) 0; flex-wrap: wrap; }
.breadcrumb a { color: var(--text-muted); }
.breadcrumb span { color: var(--border-strong); }
.page-head { padding-bottom: var(--sp-6); }
.page-head p { color: var(--text-muted); margin: 0; }


/* ==========================================================================
   VİTRİN / KAMPANYA BÖLÜMLERİ
   ========================================================================== */

/* ── duyuru şeridi ────────────────────────────────────────────────────── */
.promobar {
  background: var(--accent-subtle);
  border-bottom: 1px solid var(--border);
  font-size: var(--fs-xs);
  color: var(--accent-hover);
}
.promobar .container { display: flex; align-items: center; gap: var(--sp-3); min-height: 40px; }
.promobar b { font-weight: 700; }
.promobar .dot { opacity: .45; }
.promobar__close {
  margin-left: auto; border: 0; background: none; cursor: pointer; color: inherit;
  width: 32px; height: 32px; display: grid; place-items: center; border-radius: var(--r-sm);
}
.promobar__close:hover { background: rgba(194, 65, 12, .12); }
.promobar[hidden] { display: none; }

/* ── kampanya kartları ────────────────────────────────────────────────── */
.camps { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-4); }
.camp {
  display: flex; flex-direction: column; overflow: hidden;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-xl);
  transition: transform .12s var(--ease), border-color .12s var(--ease);
}
.camp:hover { transform: translateY(-2px); border-color: var(--primary); text-decoration: none; }
.camp__media { display: block; position: relative; overflow: hidden; }
.camp__media img { display: block; width: 100%; height: auto; aspect-ratio: 16/9; object-fit: cover; transition: transform .3s var(--ease); }
.camp:hover .camp__media img { transform: scale(1.03); }
.camp__badge { position: absolute; top: var(--sp-3); left: var(--sp-3); }
.camp__body { display: flex; flex-direction: column; gap: var(--sp-2); flex: 1; padding: var(--sp-5); }
.camp__body h3 { font-size: var(--fs-h4); margin: 0; letter-spacing: -.01em; }
.camp__body p { margin: 0; font-size: var(--fs-sm); color: var(--text-muted); }
.camp__cta { display: block; margin-top: auto; padding-top: var(--sp-3); font-size: var(--fs-sm); font-weight: 600; color: var(--primary); }
.camp__cta::after { content: " →"; }
.camp:hover .camp__cta { color: var(--primary-hover); }

/* ── günün fırsatları + geri sayım ────────────────────────────────────── */
.dealhead { display: flex; align-items: center; gap: var(--sp-4); flex-wrap: wrap; }
.countdown { display: inline-flex; align-items: center; gap: 6px; }
.countdown__label { font-size: var(--fs-xs); color: var(--text-muted); }
.countdown b {
  background: var(--text); color: #fff; border-radius: var(--r-sm);
  padding: 5px 9px; font-size: var(--fs-sm); font-weight: 700; font-variant-numeric: tabular-nums;
  min-width: 38px; text-align: center;
}
.countdown i { font-style: normal; color: var(--text-muted); font-weight: 700; }

/* ── marka şeridi ─────────────────────────────────────────────────────── */
.brands { display: flex; flex-wrap: wrap; gap: var(--sp-3); }
.brands span {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-md);
  padding: 10px var(--sp-5); font-size: var(--fs-sm); font-weight: 600; color: var(--text-muted);
}
.brands span:hover { border-color: var(--primary); color: var(--primary); }

/* ── kupon / bülten ───────────────────────────────────────────────────── */
.coupon {
  display: grid; grid-template-columns: 1.1fr .9fr; gap: var(--sp-8); align-items: center;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-xl);
  padding: var(--sp-8);
}
.coupon h3 { margin-bottom: var(--sp-2); }
.coupon p { margin: 0; color: var(--text-muted); font-size: var(--fs-sm); }
.coupon form { display: flex; gap: var(--sp-2); }
.coupon input {
  flex: 1; min-height: 48px; padding: 0 var(--sp-4); font: inherit; font-size: var(--fs-sm);
  border: 1.5px solid var(--border-input); border-radius: var(--r-md); background: var(--surface); color: var(--text);
}
.coupon input:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-ring); }

/* ── müşteri yorumları ────────────────────────────────────────────────── */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-4); }
.quote {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg);
  padding: var(--sp-5); display: flex; flex-direction: column; gap: var(--sp-3);
}
.quote__stars { color: var(--warning); font-size: 13px; letter-spacing: 2px; }
.quote p { margin: 0; font-size: var(--fs-sm); line-height: 1.6; }
.quote footer { margin-top: auto; font-size: var(--fs-xs); color: var(--text-muted); }
.quote footer b { color: var(--text); }

/* ── vitrin şeridi (yatay ürün kaydırma) ──────────────────────────────── */
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(240px, 1fr); gap: var(--sp-4); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: var(--sp-2); }
.rail > * { scroll-snap-align: start; }
.rail::-webkit-scrollbar { height: 8px; }
.rail::-webkit-scrollbar-thumb { background: var(--border-strong); border-radius: var(--r-full); }

@media (max-width: 1100px) {
  .camps { grid-template-columns: repeat(2, 1fr); }
  .quotes { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .coupon { grid-template-columns: 1fr; padding: var(--sp-6); }
  .coupon form { flex-direction: column; }
}
@media (max-width: 560px) {
  .camps { grid-template-columns: 1fr; }
  .quotes { grid-template-columns: 1fr; }
  .rail { grid-auto-columns: minmax(210px, 1fr); }
}


/* ── bayilik bölümü ───────────────────────────────────────────────────── */
.dealer {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: var(--sp-12);
  align-items: start;
}
.dealer__intro h2 { margin-bottom: var(--sp-3); max-width: 22ch; }
.dealer__intro > p { color: var(--text-muted); max-width: 56ch; }

.dealer__benefits { list-style: none; display: grid; gap: var(--sp-4); margin: var(--sp-6) 0 var(--sp-8); }
.dealer__benefits li { display: flex; gap: var(--sp-4); align-items: flex-start; }
.dealer__benefits svg {
  width: 22px; height: 22px; flex-shrink: 0; margin-top: 2px;
  color: var(--primary); background: var(--primary-subtle);
  border-radius: var(--r-sm); padding: 2px;
}
.dealer__benefits b { display: block; font-size: var(--fs-sm); }
.dealer__benefits span { font-size: var(--fs-sm); color: var(--text-muted); }

/* fiyat karşılaştırma kartı */
.dealer__card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--shadow-card);
}
.dealer__card-head {
  background: linear-gradient(160deg, var(--primary) 0%, var(--primary-active) 100%);
  color: #fff; padding: var(--sp-6);
}
.dealer__card-head h3 { color: #fff; font-size: var(--fs-h4); margin: 0 0 var(--sp-2); }
.dealer__card-head p { margin: 0; font-size: var(--fs-sm); color: rgba(255,255,255,.85); }
.dealer__table { width: 100%; border-collapse: collapse; font-size: var(--fs-sm); }
.dealer__table th, .dealer__table td { padding: var(--sp-3) var(--sp-4); text-align: right; border-bottom: 1px solid var(--border); }
.dealer__table th:first-child, .dealer__table td:first-child { text-align: left; }
.dealer__table thead th { font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: .04em; color: var(--text-muted); background: var(--surface-muted); }
.dealer__table .old { color: var(--text-muted); text-decoration: line-through; }
.dealer__table .new { font-weight: 700; color: var(--success); }
.dealer__save {
  display: flex; justify-content: space-between; align-items: baseline; gap: var(--sp-4);
  padding: var(--sp-4) var(--sp-5); background: var(--success-subtle); color: var(--success);
  font-size: var(--fs-sm); font-weight: 600;
}
.dealer__save b { font-size: var(--fs-h4); font-variant-numeric: tabular-nums; }
.dealer__active {
  display: flex; align-items: center; gap: var(--sp-2);
  padding: var(--sp-3) var(--sp-5); background: var(--info-subtle); color: var(--info); font-size: var(--fs-xs);
}
.dealer__active[hidden] { display: none; }

.dealer__steps { list-style: none; counter-reset: step; display: grid; gap: var(--sp-4); padding: var(--sp-5) var(--sp-6); }
.dealer__steps li { counter-increment: step; display: grid; grid-template-columns: 28px 1fr; gap: var(--sp-3); align-items: start; }
.dealer__steps li::before {
  content: counter(step); grid-column: 1; width: 28px; height: 28px; border-radius: var(--r-full);
  background: var(--primary-subtle); color: var(--primary-active);
  font-size: var(--fs-xs); font-weight: 700; display: grid; place-items: center;
}
.dealer__steps li > span { grid-column: 2; }
.dealer__steps b { display: block; font-size: var(--fs-sm); }
.dealer__steps li > span > span { font-size: var(--fs-xs); color: var(--text-muted); }
.dealer__assure {
  border-top: 1px solid var(--border); padding: var(--sp-5) var(--sp-6);
  background: var(--surface-muted);
}
.dealer__assure p { margin: 0 0 var(--sp-3); font-size: var(--fs-xs); color: var(--text-muted); line-height: 1.6; }
.dealer__assure p b { color: var(--text); }
.dealer__assure a { font-size: var(--fs-xs); font-weight: 600; display: inline-flex; align-items: center; min-height: 24px; }

@media (max-width: 900px) {
  .dealer { grid-template-columns: 1fr; gap: var(--sp-8); }
  .dealer__intro h2 { max-width: none; }
  .dealer__table th, .dealer__table td { padding: var(--sp-3); font-size: var(--fs-xs); }
}


/* ── koyu bant ────────────────────────────────────────────────────────── */
.section--dark {
  background: linear-gradient(158deg, var(--primary) 0%, var(--primary-active) 62%, #063D3D 100%);
  color: #fff;
}
.section--dark h2, .section--dark h3 { color: #fff; }
.section--dark p { color: rgba(255,255,255,.84); }
.section--dark .hero__eyebrow { background: rgba(255,255,255,.16); color: #fff; }
.section--dark .btn--ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.45); }
.section--dark .btn--ghost:hover { background: rgba(255,255,255,.12); color: #fff; border-color: #fff; }

/* ── katalog bölümü ───────────────────────────────────────────────────── */
.catalog-cta { display: grid; grid-template-columns: 1.15fr .85fr; gap: var(--sp-12); align-items: center; }
.catalog-cta__list { list-style: none; display: grid; gap: var(--sp-3); margin: var(--sp-6) 0 var(--sp-8); }
.catalog-cta__list li { display: flex; gap: var(--sp-3); align-items: flex-start; font-size: var(--fs-sm); color: rgba(255,255,255,.9); }
.catalog-cta__list svg { width: 18px; height: 18px; flex-shrink: 0; margin-top: 2px; color: #fff; opacity: .9; }
.catalog-cta__list b { color: #fff; font-weight: 600; }

/* belge önizleme kartı */
.doc {
  background: var(--surface); color: var(--text); border-radius: var(--r-xl);
  padding: var(--sp-6); box-shadow: 0 24px 48px -24px rgba(0,0,0,.5);
  transform: rotate(-1.2deg); transition: transform .2s var(--ease);
  max-width: 340px; margin-inline: auto;
}
.doc:hover { transform: rotate(0deg) translateY(-2px); }
.doc__cover {
  aspect-ratio: 3/4; border-radius: var(--r-md); overflow: hidden;
  background: linear-gradient(160deg, var(--primary) 0%, var(--primary-active) 100%);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: var(--sp-3); padding: var(--sp-6); text-align: center; position: relative;
}
.doc__cover::after {
  content: ""; position: absolute; right: 0; top: 0;
  border-width: 0 34px 34px 0; border-style: solid;
  border-color: transparent rgba(255,255,255,.22) transparent transparent;
}
.doc__cover img { width: 46px; height: 46px; }
.doc__cover b { color: #fff; font-size: 26px; letter-spacing: -.02em; }
.doc__cover span { color: rgba(255,255,255,.75); font-size: 11px; letter-spacing: .22em; text-transform: uppercase; margin-top: -8px; }
.doc__cover em {
  font-style: normal; font-size: 40px; font-weight: 700; color: #fff;
  letter-spacing: -.03em; line-height: 1; margin-top: var(--sp-3);
}
.doc__cover small { color: rgba(255,255,255,.8); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; }
.doc__meta { display: flex; gap: var(--sp-2); flex-wrap: wrap; margin-top: var(--sp-4); }
.doc__meta span {
  border: 1px solid var(--border); border-radius: var(--r-sm); padding: 5px var(--sp-3);
  font-size: var(--fs-xs); color: var(--text-muted); font-variant-numeric: tabular-nums;
}
.doc__note { font-size: var(--fs-xs); color: var(--text-muted); margin: var(--sp-3) 0 0; }

@media (max-width: 900px) {
  .catalog-cta { grid-template-columns: 1fr; gap: var(--sp-8); }
  .doc { max-width: 280px; }
}


/* ── kampanya detay sayfası ───────────────────────────────────────────── */
.camp-hero { padding: var(--sp-12) 0 var(--sp-16); }
.camp-hero__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: var(--sp-10); align-items: center; }
.camp-hero h1 { color: #fff; font-size: clamp(26px, 3vw, 38px); letter-spacing: -.02em; max-width: 20ch; }
.camp-hero .badge { display: inline-flex; }
.camp-hero__lead { color: rgba(255,255,255,.88); font-size: var(--fs-lead); max-width: 58ch; margin-bottom: var(--sp-5); }
.camp-hero__meta { display: flex; gap: var(--sp-5); align-items: center; flex-wrap: wrap; margin-bottom: var(--sp-7); }
.camp-hero__meta > span:first-child {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: var(--fs-sm); color: rgba(255,255,255,.9);
}
.camp-hero__media img {
  display: block; width: 100%; height: auto; aspect-ratio: 16/10; object-fit: cover;
  border-radius: var(--r-xl); box-shadow: 0 24px 48px -24px rgba(0,0,0,.55);
}
/* koyu zeminde geri sayım */
.section--dark .countdown__label { color: rgba(255,255,255,.75); }
.section--dark .countdown b { background: rgba(255,255,255,.18); color: #fff; }
.section--dark .countdown i { color: rgba(255,255,255,.6); }

.camp-detail { display: grid; grid-template-columns: 1.05fr .95fr; gap: var(--sp-10); align-items: start; }
.camp-terms { list-style: none; display: grid; gap: var(--sp-4); }
.camp-terms li { display: flex; gap: var(--sp-3); align-items: flex-start; font-size: var(--fs-sm); color: var(--text-muted); }
.camp-terms svg { width: 18px; height: 18px; flex-shrink: 0; margin-top: 2px; color: var(--success); }
.camp-side { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-xl); overflow: hidden; }
.camp-side h3 { padding: var(--sp-6) var(--sp-6) 0; font-size: var(--fs-h4); margin-bottom: var(--sp-4); }

@media (max-width: 900px) {
  .camp-hero { padding: var(--sp-8) 0 var(--sp-10); }
  .camp-hero__grid, .camp-detail { grid-template-columns: 1fr; gap: var(--sp-8); }
  .camp-hero__media { order: -1; }
}

/* ── duyarlı ──────────────────────────────────────────────────────────── */
@media (max-width: 1100px) {
  .products { grid-template-columns: repeat(3, 1fr); }
  .cats { grid-template-columns: repeat(3, 1fr); }
  .trust { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .catalog { grid-template-columns: 240px 1fr; }
}

@media (max-width: 900px) {
  .trust--3 { grid-template-columns: repeat(2, 1fr); }
  .hero__grid { grid-template-columns: 1fr; gap: var(--sp-8); padding-block: var(--sp-10); }
  .hero__media { order: -1; }
  .hero__badge { left: var(--sp-4); }
  .quick { grid-template-columns: 1fr; }
  .pdp { grid-template-columns: 1fr; }
  .buybox { position: static; }
  .spec-list { grid-template-columns: 1fr; }
  .catalog { grid-template-columns: 1fr; }
  .filters { display: none; }
  .mobile-filter-btn { display: inline-flex; }
  .table-wrap { display: none; }         /* mobilde tablo yok */
  .products { grid-template-columns: repeat(2, 1fr); }
  .products--mobile-only { display: grid; }
  /* header iki satıra döner: üstte logo + aksiyonlar, altta tam genişlik arama */
  .header__main { height: auto; flex-wrap: wrap; padding-block: 10px; gap: var(--sp-3); }
  .logo { order: 1; }
  .header__actions { order: 2; margin-left: auto; }
  .search { order: 3; flex: 1 0 100%; max-width: none; }
  .search__row { min-height: 44px; }
  .search__btn { padding: 0 var(--sp-4); }
  .nav { display: none; }
  .header__main { height: 64px; gap: var(--sp-3); }
  .search { max-width: none; }
  .tabbar { display: block; }
  body { padding-bottom: calc(56px + env(safe-area-inset-bottom)); }
  .drawer { width: 100%; }
  .utility { display: none; }
  .section { padding: var(--sp-10) 0; }
  .footer { margin-top: var(--sp-12); }
  .footer__grid { padding: var(--sp-10) 0 var(--sp-8); }
}

@media (max-width: 560px) {
  .trust--3 { grid-template-columns: 1fr; }
  .cats { grid-template-columns: repeat(2, 1fr); }
  .trust { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; gap: var(--sp-8); }
  .strip { padding: var(--sp-6); }
  .strip .btn { width: 100%; margin-left: 0; }
  .section__head { flex-direction: column; align-items: flex-start; gap: var(--sp-3); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    transition-duration: 100ms !important;
    transition-property: opacity !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
  .card:hover, .cat:hover { transform: none; }
}

@media print {
  .header, .tabbar, .utility, .drawer, .scrim, .footer { display: none; }
}
