/* ==========================================================================
   Pazarics — tasarım sistemi
   Renkler logodan: turuncu = satın alma düğmeleri, mor→pembe = marka vurgusu,
   lacivert = logo yazısı ve toptan modu. Yönetim > Görünüm'den değiştirilebilir:
   Brand::css() buradaki --brand* / --acc-* / --navy / --wh* değerlerini sayfa başında ezer.
   Mantıksal özellikler (margin-inline vb.) sayesinde Arapça (RTL) otomatik çalışır.
   ========================================================================== */

:root {
  --brand: #ea580c;
  --brand-2: #c2410c;
  --brand-soft: #fff1e8;
  --brand-ink: #9a3412;
  --acc-1: #6d28d9;
  --acc-2: #db2777;
  --navy: #0b3466;
  --logo-ink: var(--navy);
  --wh: #0b3466;
  --wh-2: #072549;
  --wh-soft: #eef2f8;
  --gold: #f59e0b;
  --gold-soft: #fff7e6;
  --ok: #059669;
  --ok-soft: #e7f8f1;
  --warn: #d97706;
  --warn-soft: #fff6e5;
  --bad: #dc2626;
  --bad-soft: #fdecec;
  --info: #4338ca;
  --info-soft: #eef0ff;

  --ink: #0b1a33;
  --ink-2: #334155;
  --muted: #64748b;
  --line: #e6e8ec;
  --line-2: #eef0f3;
  --bg: #f4f5f7;
  --surface: #ffffff;
  --surface-2: #f8f9fb;
  --overlay: rgba(11, 18, 32, .5);

  --radius: 16px;
  --radius-sm: 10px;
  --radius-xs: 7px;
  --shadow-1: 0 1px 2px rgba(15, 23, 42, .05), 0 1px 1px rgba(15, 23, 42, .03);
  --shadow-2: 0 6px 24px -8px rgba(15, 23, 42, .14), 0 2px 6px -2px rgba(15, 23, 42, .06);
  --shadow-3: 0 24px 60px -16px rgba(15, 23, 42, .28);
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI Variable", "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", "Noto Sans Arabic", Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", "Cascadia Code", Consolas, monospace;
  --wrap: 1360px;
  --hd-h: 64px;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --ink: #eef2f7;
    --ink-2: #c7d0dc;
    --muted: #8d9aab;
    --line: #232c3b;
    --line-2: #1b2331;
    --bg: #0a0e15;
    --surface: #111722;
    --surface-2: #0e141e;
    --brand: #ee7936;
    --brand-2: #ea580c;
    --brand-soft: #2c1a12;
    --brand-ink: #fbcdb2;
    --acc-1: #9a6be4;
    --acc-2: #e8679f;
    --logo-ink: #e8eefc;
    --wh: #8fa6c8;
    --wh-2: #b3c3dc;
    --wh-soft: #141e2e;
    --info: #a5b4fc;
    --ok-soft: #0c2a20;
    --warn-soft: #2b1f08;
    --bad-soft: #2c1111;
    --info-soft: #161a35;
    --gold-soft: #2a2008;
    --shadow-1: 0 1px 2px rgba(0, 0, 0, .4);
    --shadow-2: 0 8px 28px -10px rgba(0, 0, 0, .7);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --ink: #eef2f7;
  --ink-2: #c7d0dc;
  --muted: #8d9aab;
  --line: #232c3b;
  --line-2: #1b2331;
  --bg: #0a0e15;
  --surface: #111722;
  --surface-2: #0e141e;
  --brand: #ee7936;
  --brand-2: #ea580c;
  --brand-soft: #2c1a12;
  --brand-ink: #fbcdb2;
  --acc-1: #9a6be4;
  --acc-2: #e8679f;
  --logo-ink: #e8eefc;
  --wh: #8fa6c8;
  --wh-2: #b3c3dc;
  --wh-soft: #141e2e;
  --info: #a5b4fc;
  --ok-soft: #0c2a20;
  --warn-soft: #2b1f08;
  --bad-soft: #2c1111;
  --info-soft: #161a35;
  --gold-soft: #2a2008;
  --shadow-1: 0 1px 2px rgba(0, 0, 0, .4);
  --shadow-2: 0 8px 28px -10px rgba(0, 0, 0, .7);
  color-scheme: dark;
}

/* ---------- 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: 15px;
  line-height: 1.5;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, video { max-width: 100%; }
img { display: block; height: auto; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--brand); }
p { margin: 0 0 .8em; }
h1, h2, h3, h4 { margin: 0 0 .5em; line-height: 1.2; letter-spacing: -.02em; font-weight: 750; }
h1 { font-size: clamp(24px, 3vw, 34px); }
h2 { font-size: clamp(20px, 2.2vw, 26px); }
h3 { font-size: 18px; }
h4 { font-size: 15px; }
hr { border: 0; border-top: 1px solid var(--line); margin: 20px 0; }
small, .small { font-size: 13px; }
.tiny { font-size: 12px; }
.muted { color: var(--muted); }
.ink2 { color: var(--ink-2); }
.strong { font-weight: 650; }
.nowrap { white-space: nowrap; }
.mono { font-family: var(--mono); font-size: .92em; }
.center { text-align: center; }
.end { text-align: end; }
.hide { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hp { position: absolute; inset-inline-start: -9999px; width: 1px; height: 1px; overflow: hidden; }
:focus-visible { outline: 2.5px solid var(--brand); outline-offset: 2px; border-radius: 6px; }
::selection { background: var(--brand); color: #fff; }

.i { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; vertical-align: middle; }
.i-sm { width: 16px; height: 16px; }
.i-lg { width: 26px; height: 26px; }
.i-xl { width: 34px; height: 34px; stroke-width: 1.5; }
.i-fill { fill: currentColor; }
[dir="rtl"] .i-flip { transform: scaleX(-1); }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: 20px; }
@media (max-width: 640px) { .wrap { padding-inline: 14px; } }
.wrap-narrow { max-width: 880px; }
.wrap-tight { max-width: 520px; }

.stack > * + * { margin-top: var(--gap, 14px); }
.row { display: flex; align-items: center; gap: var(--gap, 12px); }
.row-top { align-items: flex-start; }
.wrap-row { flex-wrap: wrap; }
.between { justify-content: space-between; }
.grow { flex: 1 1 auto; min-width: 0; }
.cluster { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.grid { display: grid; gap: var(--gap, 16px); }
.g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 900px) { .g3, .g4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .g2, .g3, .g4 { grid-template-columns: minmax(0, 1fr); } .g4.keep2, .g3.keep2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.mt0 { margin-top: 0 !important; } .mt1 { margin-top: 8px; } .mt2 { margin-top: 16px; } .mt3 { margin-top: 24px; } .mt4 { margin-top: 36px; }
.mb0 { margin-bottom: 0 !important; } .mb1 { margin-bottom: 8px; } .mb2 { margin-bottom: 16px; } .mb3 { margin-bottom: 24px; }

/* ---------- Duyuru ve üst bar ---------- */
.announce { background: var(--ink); color: #fff; font-size: 13px; text-align: center; padding: 7px 14px; }
:root[data-theme="dark"] .announce { background: #1c2433; }
.topbar { background: var(--surface); border-bottom: 1px solid var(--line-2); font-size: 13px; color: var(--ink-2); }
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; height: 34px; gap: 16px; }
.topbar a, .topbar button { display: inline-flex; align-items: center; gap: 6px; color: inherit; }
.topbar a:hover, .topbar button:hover { color: var(--brand); }
.topbar .tb-right { display: flex; align-items: center; gap: 18px; }
.topbar .tb-left { display: flex; align-items: center; gap: 8px; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.locale-btn { background: none; border: 0; padding: 0; font: inherit; cursor: pointer; }
.flag { font-size: 1.1em; line-height: 1; font-family: "Twemoji Mozilla", "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", sans-serif; }
@media (max-width: 860px) { .topbar { display: none; } }

/* ---------- Başlık ---------- */
.hd { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--surface) 92%, transparent); backdrop-filter: saturate(1.6) blur(14px); -webkit-backdrop-filter: saturate(1.6) blur(14px); border-bottom: 1px solid var(--line); }
.hd-row { display: flex; align-items: center; gap: 18px; height: var(--hd-h); }
.logo { display: inline-flex; align-items: center; gap: 9px; font-weight: 800; font-size: 23px; letter-spacing: -.045em; color: var(--logo-ink); flex: none; }
.logo:hover { color: var(--logo-ink); }
.logo-mark { width: 34px; height: 34px; border-radius: 11px; background: conic-gradient(from 200deg, #ff7a00, #ffc21a, #4caf50, #12c2e9, #1e4fd8, #8e2de2, #ec2e8c, #ff7a00); display: grid; place-items: center; color: #fff; font-weight: 900; font-size: 21px; font-style: italic; letter-spacing: 0; text-shadow: 0 1px 2px rgba(0, 0, 0, .35); box-shadow: 0 6px 14px -6px rgba(142, 45, 226, .6); }
.logo-mark .i { width: 21px; height: 21px; stroke-width: 2; }
.logo-img { display: block; height: 38px; width: auto; max-width: 210px; object-fit: contain; }
@media (max-width: 480px) { .logo-img { height: 30px; max-width: 150px; } }
.logo b { font-weight: 800; background: linear-gradient(90deg, var(--acc-1), var(--acc-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.modeswitch { display: inline-flex; padding: 3px; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--line); flex: none; }
.modeswitch a { padding: 6px 14px; border-radius: 999px; font-size: 13.5px; font-weight: 650; color: var(--muted); display: inline-flex; gap: 6px; align-items: center; transition: background .2s, color .2s; }
.modeswitch a .i { width: 16px; height: 16px; }
.modeswitch a.on { background: var(--surface); color: var(--brand); box-shadow: var(--shadow-1); }
.modeswitch a.on.wh { color: var(--wh); }
.search { flex: 1 1 auto; position: relative; display: flex; align-items: center; height: 44px; background: var(--surface-2); border: 1.5px solid var(--line); border-radius: 999px; transition: border-color .15s, box-shadow .15s, background .15s; min-width: 0; }
.search:focus-within { border-color: var(--brand); background: var(--surface); box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand) 14%, transparent); }
.search input { flex: 1; min-width: 0; border: 0; background: none; height: 100%; padding-inline: 18px 8px; font: inherit; color: var(--ink); outline: none; }
.search input::placeholder { color: var(--muted); }
.search .s-ai { border: 0; background: none; color: var(--muted); height: 34px; width: 34px; border-radius: 999px; display: grid; place-items: center; cursor: pointer; }
.search .s-ai:hover { color: var(--brand); background: var(--brand-soft); }
.search .s-go { border: 0; background: var(--brand); color: #fff; height: 36px; padding-inline: 16px; margin-inline-end: 4px; border-radius: 999px; display: inline-flex; align-items: center; gap: 6px; font-weight: 650; cursor: pointer; transition: background .2s; }
.search .s-go:hover { background: var(--brand-2); }
.suggest { position: absolute; inset-inline: 0; top: calc(100% + 8px); background: var(--surface); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-3); padding: 8px; z-index: 60; max-height: 70vh; overflow: auto; }
.suggest a { display: flex; align-items: center; gap: 12px; padding: 8px 10px; border-radius: 10px; }
.suggest a:hover, .suggest a.act { background: var(--surface-2); color: var(--ink); }
.suggest img { width: 40px; height: 40px; border-radius: 8px; object-fit: cover; background: var(--surface-2); }
.suggest .sg-h { font-size: 11.5px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); padding: 8px 10px 4px; font-weight: 650; }
.suggest .sg-price { margin-inline-start: auto; font-weight: 700; font-size: 13.5px; white-space: nowrap; }
.hd-actions { display: flex; align-items: center; gap: 4px; flex: none; }
.hd-btn { position: relative; display: inline-flex; flex-direction: column; align-items: center; gap: 1px; padding: 6px 10px; border-radius: 12px; font-size: 11.5px; color: var(--ink-2); background: none; border: 0; cursor: pointer; font-family: inherit; }
.hd-btn:hover { background: var(--surface-2); color: var(--ink); }
.hd-btn .i { width: 22px; height: 22px; }
.hd-btn .cnt { position: absolute; top: 1px; inset-inline-end: 4px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 99px; background: var(--brand); color: #fff; font-size: 11px; font-weight: 700; display: grid; place-items: center; border: 2px solid var(--surface); }
.hd-menu { position: relative; }
.dropdown { position: absolute; top: calc(100% + 8px); inset-inline-end: 0; min-width: 260px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-3); padding: 8px; z-index: 70; display: none; }
.dropdown.open { display: block; animation: pop .14s ease-out; }
.dropdown a, .dropdown button.dd-item { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 9px; font-size: 14px; width: 100%; background: none; border: 0; font: inherit; color: inherit; cursor: pointer; text-align: start; }
.dropdown a:hover, .dropdown button.dd-item:hover { background: var(--surface-2); color: var(--ink); }
.dropdown .dd-head { padding: 10px 10px 12px; border-bottom: 1px solid var(--line-2); margin-bottom: 6px; }
.dropdown .dd-sep { height: 1px; background: var(--line-2); margin: 6px 4px; }
@keyframes pop { from { opacity: 0; transform: translateY(-4px) scale(.98); } to { opacity: 1; transform: none; } }

.catbar { border-top: 1px solid var(--line-2); }
.catbar .wrap { display: flex; align-items: center; gap: 4px; height: 44px; overflow-x: auto; scrollbar-width: none; }
.catbar .wrap::-webkit-scrollbar { display: none; }
.catbar a, .catbar button { flex: none; display: inline-flex; align-items: center; gap: 7px; padding: 7px 12px; border-radius: 999px; font-size: 14px; font-weight: 550; color: var(--ink-2); white-space: nowrap; background: none; border: 0; font-family: inherit; cursor: pointer; }
.catbar a:hover, .catbar button:hover { background: var(--surface-2); color: var(--ink); }
.catbar .allcats { background: var(--ink); color: var(--surface); font-weight: 650; }
.catbar .allcats:hover { background: var(--ink-2); color: var(--surface); }
.catbar .hl { color: var(--brand); }
.catbar .sep { width: 1px; height: 20px; background: var(--line); margin-inline: 6px; flex: none; }

.mega { position: absolute; inset-inline: 0; top: 100%; background: var(--surface); border-bottom: 1px solid var(--line); box-shadow: var(--shadow-3); display: none; z-index: 40; }
.mega.open { display: block; }
.mega .wrap { display: grid; grid-template-columns: 280px 1fr; gap: 0; padding-block: 12px 18px; max-height: 72vh; }
.mega-roots { border-inline-end: 1px solid var(--line-2); padding-inline-end: 10px; overflow: auto; }
.mega-roots a { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 10px; font-size: 14px; font-weight: 550; }
.mega-roots a.on, .mega-roots a:hover { background: var(--brand-soft); color: var(--brand-ink); }
.mega-panel { padding-inline-start: 26px; overflow: auto; }
.mega-panel h3 { display: flex; align-items: center; gap: 10px; }
.mega-subs { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 8px; }
.mega-subs a { padding: 10px 12px; border-radius: 10px; background: var(--surface-2); font-size: 14px; display: flex; justify-content: space-between; gap: 8px; }
.mega-subs a:hover { background: var(--brand-soft); color: var(--brand-ink); }

@media (max-width: 860px) {
  :root { --hd-h: 56px; }
  .hd-row { gap: 10px; flex-wrap: wrap; height: auto; padding-block: 8px; }
  .logo { font-size: 20px; }
  .logo-mark { width: 30px; height: 30px; border-radius: 9px; }
  .modeswitch { margin-inline-start: auto; }
  .modeswitch a { padding: 5px 10px; font-size: 12.5px; }
  .modeswitch a .i { display: none; }
  .search { order: 10; flex-basis: 100%; height: 42px; }
  .search .s-go span { display: none; }
  .hd-actions .hd-btn span.lbl { display: none; }
  .hd-actions .hide-m { display: none; }
  .hd-btn { padding: 6px; }
  .catbar { display: none; }
  .catbar.show-m { display: block; }
}

/* Dar telefonlar: sepet alttaki sekme çubuğunda; mod anahtarı her dilde logo ile aynı satıra sığsın */
@media (max-width: 480px) {
  .hd-row { gap: 8px; }
  .hd-actions .hide-xs { display: none; }
  .modeswitch a { padding: 5px 8px; font-size: 12px; }
}

/* ---------- Mobil sekme çubuğu ---------- */
.tabbar { display: none; }
@media (max-width: 860px) {
  body { padding-bottom: calc(64px + env(safe-area-inset-bottom)); }
  .tabbar { display: grid; grid-template-columns: repeat(5, 1fr); position: fixed; inset-inline: 0; bottom: 0; z-index: 55; background: color-mix(in srgb, var(--surface) 94%, transparent); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-top: 1px solid var(--line); padding-bottom: env(safe-area-inset-bottom); }
  .tabbar a { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; height: 60px; font-size: 11px; color: var(--muted); font-weight: 550; }
  .tabbar a.on { color: var(--brand); }
  .tabbar a .i { width: 23px; height: 23px; }
  .tabbar .cnt { position: absolute; top: 6px; inset-inline-start: calc(50% + 4px); min-width: 17px; height: 17px; border-radius: 99px; background: var(--brand); color: #fff; font-size: 10.5px; font-weight: 700; display: grid; place-items: center; padding: 0 4px; }
}

/* ---------- Düğmeler ---------- */
.btn { --b: var(--surface); --c: var(--ink); --bd: var(--line); display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 42px; padding: 0 18px; border-radius: 12px; border: 1.5px solid var(--bd); background: var(--b); color: var(--c); font: 650 14.5px/1.1 var(--font); cursor: pointer; text-align: center; white-space: nowrap; transition: background .15s, border-color .15s, color .15s, transform .08s, box-shadow .15s; user-select: none; }
.btn:hover { --bd: color-mix(in srgb, var(--ink) 25%, var(--line)); color: var(--c); }
.btn:active { transform: translateY(1px); }
.btn[disabled], .btn.disabled { opacity: .5; pointer-events: none; }
.btn-primary { --b: var(--brand); --c: #fff; --bd: var(--brand); box-shadow: 0 8px 18px -10px var(--brand); }
.btn-primary:hover { --b: var(--brand-2); --bd: var(--brand-2); --c: #fff; }
.btn-dark { --b: var(--ink); --c: var(--surface); --bd: var(--ink); }
.btn-dark:hover { --b: var(--ink-2); --bd: var(--ink-2); --c: var(--surface); }
.btn-soft { --b: var(--brand-soft); --c: var(--brand-ink); --bd: transparent; }
.btn-soft:hover { --bd: color-mix(in srgb, var(--brand) 40%, transparent); --c: var(--brand-ink); }
.btn-wh { --b: var(--brand); --c: #fff; --bd: var(--brand); box-shadow: 0 8px 18px -10px var(--brand); }
.btn-wh:hover { --b: var(--brand-2); --bd: var(--brand-2); --c: #fff; }
.btn-gold { --b: var(--gold); --c: #1b1302; --bd: var(--gold); }
.btn-ok { --b: var(--ok); --c: #fff; --bd: var(--ok); }
.btn-danger { --b: var(--surface); --c: var(--bad); --bd: color-mix(in srgb, var(--bad) 35%, var(--line)); }
.btn-danger:hover { --b: var(--bad-soft); --c: var(--bad); }
.btn-ghost { --b: transparent; --bd: transparent; }
.btn-ghost:hover { --b: var(--surface-2); --bd: transparent; }
.btn-link { background: none; border: 0; padding: 0; color: var(--brand); font: inherit; font-weight: 600; cursor: pointer; display: inline-flex; align-items: center; gap: 4px; }
.btn-link:hover { text-decoration: underline; }
.btn-sm { min-height: 34px; padding: 0 12px; font-size: 13.5px; border-radius: 10px; }
.btn-xs { min-height: 28px; padding: 0 10px; font-size: 12.5px; border-radius: 8px; gap: 5px; }
.btn-lg { min-height: 52px; padding: 0 26px; font-size: 16px; border-radius: 14px; }
.btn-block { width: 100%; }
.btn-icon { width: 42px; padding: 0; }
.btn-icon.btn-sm { width: 34px; }
.btn .i { width: 18px; height: 18px; }

/* ---------- Formlar ---------- */
.field { display: block; }
.field > label, .lbl { display: block; font-size: 13.5px; font-weight: 600; margin-bottom: 6px; color: var(--ink-2); }
.field .help, .help { font-size: 12.5px; color: var(--muted); margin-top: 5px; }
.input, .select, .textarea {
  width: 100%; min-height: 44px; padding: 10px 14px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--surface); color: var(--ink);
  font: inherit; font-size: 15px; transition: border-color .15s, box-shadow .15s; appearance: none;
}
.input:hover, .select:hover, .textarea:hover { border-color: color-mix(in srgb, var(--ink) 20%, var(--line)); }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand) 14%, transparent); }
.textarea { min-height: 110px; resize: vertical; line-height: 1.5; }
.select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5l5-5' fill='none' stroke='%2364748b' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-inline-end: 36px; }
[dir="rtl"] .select { background-position: left 14px center; }
.input-sm, .select.input-sm { min-height: 36px; padding: 6px 10px; font-size: 14px; border-radius: 10px; }
.input-group { display: flex; align-items: stretch; }
.input-group .input { border-start-end-radius: 0; border-end-end-radius: 0; }
.input-group .addon { display: grid; place-items: center; padding: 0 12px; border: 1.5px solid var(--line); border-inline-start: 0; border-start-end-radius: 12px; border-end-end-radius: 12px; background: var(--surface-2); color: var(--muted); font-size: 14px; font-weight: 600; }
.input-group .select.addon-sel { width: auto; border-start-start-radius: 0; border-end-start-radius: 0; border-inline-start: 0; min-width: 96px; }
.check { display: flex; align-items: flex-start; gap: 10px; font-size: 14.5px; cursor: pointer; }
.check input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--brand); flex: none; }
.radio-card { display: flex; gap: 12px; align-items: flex-start; padding: 14px; border: 1.5px solid var(--line); border-radius: 14px; cursor: pointer; transition: border-color .15s, background .15s; }
.radio-card:hover { border-color: color-mix(in srgb, var(--brand) 40%, var(--line)); }
.radio-card:has(input:checked) { border-color: var(--brand); background: var(--brand-soft); }
.radio-card input { accent-color: var(--brand); margin-top: 3px; width: 18px; height: 18px; flex: none; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.form-grid .full { grid-column: 1 / -1; }
.form-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 640px) { .form-grid, .form-grid-3 { grid-template-columns: minmax(0, 1fr); } }
.error-text { color: var(--bad); font-size: 13px; margin-top: 4px; }
fieldset { border: 0; padding: 0; margin: 0; }
legend { font-weight: 700; font-size: 16px; margin-bottom: 12px; padding: 0; }

/* ---------- Kartlar ve yüzeyler ---------- */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-1); }
.card-pad { padding: 20px; }
.card-pad-lg { padding: 28px; }
@media (max-width: 640px) { .card-pad-lg { padding: 20px; } .card-pad { padding: 16px; } }
.card-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 20px; border-bottom: 1px solid var(--line-2); }
.card-head h2, .card-head h3 { margin: 0; font-size: 17px; }
.card-foot { padding: 14px 20px; border-top: 1px solid var(--line-2); background: var(--surface-2); border-end-start-radius: var(--radius); border-end-end-radius: var(--radius); }
.soft { background: var(--surface-2); border-radius: 14px; padding: 14px 16px; }
.soft-brand { background: var(--brand-soft); color: var(--brand-ink); border-radius: 14px; padding: 14px 16px; }

.section { margin-block: 34px; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 16px; }
.section-head h2 { margin: 0; display: flex; align-items: center; gap: 10px; }
.section-head .more { font-weight: 650; font-size: 14px; color: var(--brand); display: inline-flex; align-items: center; gap: 4px; white-space: nowrap; }
.section-head p { margin: 4px 0 0; color: var(--muted); font-size: 14px; }

/* ---------- Rozet, etiket ---------- */
.badge { display: inline-flex; align-items: center; gap: 5px; padding: 3px 9px; border-radius: 999px; font-size: 12px; font-weight: 650; line-height: 1.4; white-space: nowrap; }
.badge-ok { background: var(--ok-soft); color: var(--ok); }
.badge-bad { background: var(--bad-soft); color: var(--bad); }
.badge-warn { background: var(--warn-soft); color: var(--warn); }
.badge-info { background: var(--info-soft); color: var(--info); }
.badge-muted { background: var(--surface-2); color: var(--muted); border: 1px solid var(--line); }
.badge-brand { background: var(--brand-soft); color: var(--brand-ink); }
.badge-wh { background: var(--wh-soft); color: var(--wh); }
.badge-gold { background: var(--gold-soft); color: #a15c00; }
:root[data-theme="dark"] .badge-gold { color: var(--gold); }
.badge .i { width: 13px; height: 13px; stroke-width: 2.2; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 7px 13px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--surface); font-size: 13.5px; font-weight: 550; cursor: pointer; color: var(--ink-2); white-space: nowrap; font-family: inherit; }
.chip:hover { border-color: color-mix(in srgb, var(--brand) 40%, var(--line)); color: var(--ink); }
.chip.on { border-color: var(--brand); background: var(--brand-soft); color: var(--brand-ink); }
.chip .x { opacity: .6; }
.verified { display: inline-flex; align-items: center; gap: 4px; color: var(--info); font-weight: 650; font-size: 12.5px; }
.verified .i { width: 15px; height: 15px; stroke-width: 2; }
.verified.lv2 { color: var(--ok); }

/* ---------- Yıldızlar ---------- */
.stars { --s: 14px; position: relative; display: inline-block; width: calc(var(--s) * 5); height: var(--s); vertical-align: -2px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m12 2.5 2.9 6 6.6.9-4.8 4.6 1.2 6.5L12 17.4l-5.9 3.1 1.2-6.5-4.8-4.6 6.6-.9z' fill='%23d6dae1'/%3E%3C/svg%3E") repeat-x; background-size: var(--s) var(--s); }
.stars > span { position: absolute; inset-block: 0; inset-inline-start: 0; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m12 2.5 2.9 6 6.6.9-4.8 4.6 1.2 6.5L12 17.4l-5.9 3.1 1.2-6.5-4.8-4.6 6.6-.9z' fill='%23f59e0b'/%3E%3C/svg%3E") repeat-x; background-size: var(--s) var(--s); }
[dir="rtl"] .stars > span { background-position: right; }
.stars.lg { --s: 20px; }
.stars.sm { --s: 12px; }

/* ---------- Ürün kartı ---------- */
.pgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(206px, 1fr)); gap: 16px; }
.pgrid.dense { grid-template-columns: repeat(auto-fill, minmax(176px, 1fr)); gap: 12px; }
@media (max-width: 560px) { .pgrid, .pgrid.dense { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; } }
.pscroll { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(196px, 1fr); gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; scrollbar-width: thin; }
.pscroll > * { scroll-snap-align: start; }
@media (max-width: 560px) { .pscroll { grid-auto-columns: 46%; gap: 10px; } }
.pcard { position: relative; display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: box-shadow .2s, transform .2s, border-color .2s; }
.pcard:hover { box-shadow: var(--shadow-2); transform: translateY(-2px); border-color: transparent; }
.pcard .ph { position: relative; aspect-ratio: 1; background: var(--surface-2); overflow: hidden; }
.pcard .ph img { width: 100%; height: 100%; object-fit: cover; transition: opacity .35s, transform .5s; }
.pcard .ph img.alt { position: absolute; inset: 0; opacity: 0; }
.pcard:hover .ph img.alt { opacity: 1; }
.pcard:hover .ph img:only-of-type { transform: scale(1.04); }
.pcard .tl { position: absolute; top: 10px; inset-inline-start: 10px; display: flex; flex-direction: column; gap: 5px; align-items: flex-start; z-index: 2; }
.pcard .tl .badge { box-shadow: var(--shadow-1); }
.pcard .disc { background: var(--brand); color: #fff; }
.pcard .wish { position: absolute; top: 8px; inset-inline-end: 8px; z-index: 3; width: 36px; height: 36px; border-radius: 99px; border: 0; background: color-mix(in srgb, var(--surface) 88%, transparent); display: grid; place-items: center; cursor: pointer; color: var(--ink-2); box-shadow: var(--shadow-1); }
.pcard .wish:hover { color: var(--brand); }
.pcard .wish.on { color: var(--brand); }
.pcard .wish.on .i { fill: currentColor; }
.pcard .body { padding: 12px 13px 14px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.pcard .t { font-size: 14px; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.7em; color: var(--ink); font-weight: 500; }
.pcard a.cover { position: absolute; inset: 0; z-index: 1; }
.price { font-weight: 800; font-size: 19px; letter-spacing: -.02em; color: var(--ink); white-space: nowrap; }
.price small { font-size: 12px; font-weight: 600; color: var(--muted); letter-spacing: 0; }
.price-was { color: var(--muted); text-decoration: line-through; font-size: 13px; font-weight: 500; margin-inline-start: 6px; }
.price-row { display: flex; align-items: baseline; flex-wrap: wrap; gap: 0 4px; }
.pcard .whl { font-size: 12.5px; color: var(--wh); font-weight: 600; display: flex; align-items: center; gap: 5px; }
body[data-mode="wholesale"] .pcard .whl { color: var(--muted); font-weight: 500; }
.pcard .meta { display: flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--muted); flex-wrap: wrap; }
.pcard .meta .stars { --s: 12px; }
.pcard .seller { display: flex; align-items: center; gap: 5px; font-size: 12.5px; color: var(--muted); margin-top: auto; padding-top: 6px; border-top: 1px dashed var(--line); min-width: 0; }
.pcard .seller span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pcard .gb { margin-top: 2px; }
.progress { height: 7px; border-radius: 99px; background: var(--line-2); overflow: hidden; }
.progress > span { display: block; height: 100%; background: linear-gradient(90deg, var(--gold), var(--brand)); border-radius: inherit; }
.progress.ok > span { background: var(--ok); }

/* ---------- Mağaza kartı ---------- */
.scard { display: flex; flex-direction: column; gap: 12px; padding: 18px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); transition: box-shadow .2s; }
.scard:hover { box-shadow: var(--shadow-2); }
.avatar { width: 48px; height: 48px; border-radius: 14px; background: linear-gradient(135deg, var(--brand-soft), var(--surface-2)); color: var(--brand-ink); display: grid; place-items: center; font-weight: 800; font-size: 17px; overflow: hidden; flex: none; border: 1px solid var(--line); }
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.avatar.sm { width: 34px; height: 34px; border-radius: 10px; font-size: 13px; }
.avatar.lg { width: 84px; height: 84px; border-radius: 22px; font-size: 28px; }
.avatar.round { border-radius: 99px; }
.scard .thumbs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.scard .thumbs img { aspect-ratio: 1; object-fit: cover; border-radius: 10px; background: var(--surface-2); width: 100%; }

/* ---------- Ana sayfa ---------- */
.hero { display: grid; grid-template-columns: 1.65fr 1fr; gap: 16px; margin-top: 18px; }
@media (max-width: 960px) { .hero { grid-template-columns: minmax(0, 1fr); } }
.hero-main { position: relative; border-radius: 24px; overflow: hidden; min-height: 360px; padding: 40px; color: #fff; display: flex; flex-direction: column; justify-content: flex-end; isolation: isolate; background: radial-gradient(120% 120% at 100% 0%, color-mix(in srgb, var(--brand) 70%, #ffd54a) 0%, transparent 46%), radial-gradient(90% 90% at 0% 100%, var(--acc-1) 0%, transparent 58%), linear-gradient(135deg, var(--brand), var(--acc-2)); }
body[data-mode="wholesale"] .hero-main { background: radial-gradient(110% 110% at 100% 0%, color-mix(in srgb, var(--acc-1) 75%, transparent) 0%, transparent 50%), radial-gradient(90% 90% at 0% 100%, color-mix(in srgb, var(--acc-2) 45%, transparent) 0%, transparent 55%), linear-gradient(135deg, var(--navy), #061a36); }
.hero-main .art { position: absolute; inset-block: 0; inset-inline-end: 0; width: 58%; z-index: -1; opacity: .95; }
[dir="rtl"] .hero-main .art { transform: scaleX(-1); }
.hero-main h1 { font-size: clamp(28px, 4.2vw, 50px); line-height: 1.04; letter-spacing: -.035em; max-width: 13em; margin-bottom: 14px; color: #fff; }
.hero-main p { font-size: clamp(15px, 1.4vw, 18px); max-width: 32em; opacity: .92; }
.hero-main .eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 99px; background: rgba(255, 255, 255, .16); backdrop-filter: blur(8px); font-size: 13px; font-weight: 650; margin-bottom: 16px; align-self: flex-start; }
.hero-main .btn { --b: #fff; --c: #0b1220; --bd: #fff; }
.hero-main .btn-outline-w { --b: transparent; --c: #fff; --bd: rgba(255, 255, 255, .55); }
.hero-main .btn-outline-w:hover { --b: rgba(255, 255, 255, .12); --c: #fff; }
.hero-side { display: grid; grid-template-rows: 1fr 1fr; gap: 16px; }
@media (max-width: 960px) { .hero-main { min-height: 300px; padding: 26px; } .hero-side { grid-template-rows: none; grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .hero-side { grid-template-columns: minmax(0, 1fr); } }
.promo { position: relative; border-radius: 22px; padding: 24px; overflow: hidden; display: flex; flex-direction: column; justify-content: space-between; gap: 12px; min-height: 172px; border: 1px solid var(--line); background: var(--surface); }
.promo h3 { font-size: 20px; margin-bottom: 4px; }
.promo p { color: var(--muted); font-size: 14px; margin: 0; }
.promo .art { position: absolute; inset-inline-end: -10px; bottom: -10px; width: 46%; opacity: .9; pointer-events: none; }
.promo-gold { background: linear-gradient(135deg, #fff7e6, #ffe7c2); border-color: #f6dfb4; color: #3b2603; }
.promo-gold p { color: #6b4a12; }
.promo-blue { background: linear-gradient(135deg, #f4efff, #e7dcff); border-color: #ddd0fb; color: #2e1065; }
.promo-blue p { color: #5b3f8c; }
.promo-rose { background: linear-gradient(135deg, #fff0f3, #ffd9e1); border-color: #fbcdd7; color: #4c0519; }
.promo-rose p { color: #7f1d35; }
:root[data-theme="dark"] .promo-gold, :root[data-theme="dark"] .promo-blue, :root[data-theme="dark"] .promo-rose { background: var(--surface); border-color: var(--line); color: var(--ink); }
:root[data-theme="dark"] .promo-gold p, :root[data-theme="dark"] .promo-blue p, :root[data-theme="dark"] .promo-rose p { color: var(--muted); }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .promo-gold, :root:not([data-theme="light"]) .promo-blue, :root:not([data-theme="light"]) .promo-rose { background: var(--surface); border-color: var(--line); color: var(--ink); }
  :root:not([data-theme="light"]) .promo-gold p, :root:not([data-theme="light"]) .promo-blue p, :root:not([data-theme="light"]) .promo-rose p { color: var(--muted); }
}

.catcircles { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(96px, 1fr); gap: 10px; overflow-x: auto; scrollbar-width: none; padding-bottom: 4px; }
.catcircles::-webkit-scrollbar { display: none; }
.catcircles a { display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; font-size: 13px; font-weight: 550; padding: 6px 4px; border-radius: 14px; }
.catcircles a:hover { color: var(--brand); }
.catcircles .ic { width: 66px; height: 66px; border-radius: 22px; display: grid; place-items: center; background: var(--surface); border: 1px solid var(--line); color: var(--brand); transition: transform .2s, background .2s; box-shadow: var(--shadow-1); }
.catcircles a:hover .ic { transform: translateY(-3px); background: var(--brand-soft); }
.catcircles .ic .i { width: 28px; height: 28px; stroke-width: 1.6; }

.trust { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 900px) { .trust { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.trust > div { display: flex; gap: 12px; align-items: flex-start; padding: 16px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); }
.trust .ic { width: 42px; height: 42px; border-radius: 13px; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand); flex: none; }
.trust b { display: block; font-size: 14.5px; margin-bottom: 2px; }
.trust span { font-size: 13px; color: var(--muted); line-height: 1.4; display: block; }

.deals-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 18px; border-radius: 18px 18px 0 0; background: linear-gradient(90deg, var(--brand), color-mix(in srgb, var(--brand) 60%, #f59e0b)); color: #fff; }
.deals-bar h2 { color: #fff; margin: 0; font-size: 20px; display: flex; align-items: center; gap: 8px; }
.deals-wrap { border: 1px solid var(--line); border-top: 0; border-radius: 0 0 18px 18px; background: var(--surface); padding: 16px; }
.countdown { display: inline-flex; gap: 4px; font-variant-numeric: tabular-nums; font-weight: 700; }
.countdown b { background: rgba(0, 0, 0, .22); padding: 3px 7px; border-radius: 7px; min-width: 30px; text-align: center; }
.cd-inline { font-variant-numeric: tabular-nums; }

/* ---------- Toptan merkez ---------- */
.b2b-hero { border-radius: 26px; padding: 44px; color: #fff; position: relative; overflow: hidden; isolation: isolate; margin-top: 18px; background: radial-gradient(70% 90% at 100% 0%, color-mix(in srgb, var(--acc-1) 60%, transparent), transparent 60%), radial-gradient(60% 80% at 0% 100%, color-mix(in srgb, var(--acc-2) 40%, transparent), transparent 60%), linear-gradient(135deg, var(--navy), #061a36); }
.b2b-hero h1 { color: #fff; font-size: clamp(28px, 4vw, 48px); max-width: 15em; letter-spacing: -.035em; line-height: 1.05; }
.b2b-hero p { opacity: .85; max-width: 40em; font-size: 17px; }
.b2b-hero .rfq-quick { margin-top: 24px; background: rgba(255, 255, 255, .97); color: var(--ink); border-radius: 20px; padding: 10px; display: grid; grid-template-columns: 1fr 140px 170px auto; gap: 8px; max-width: 900px; box-shadow: 0 20px 50px -20px rgba(0, 0, 0, .5); }
.b2b-hero .rfq-quick .input, .b2b-hero .rfq-quick .select { border-color: transparent; background-color: #f2f4f8; color: #0b1220; }
@media (max-width: 860px) { .b2b-hero { padding: 26px; } .b2b-hero .rfq-quick { grid-template-columns: 1fr 1fr; } .b2b-hero .rfq-quick .input:first-child { grid-column: 1 / -1; } .b2b-hero .rfq-quick .btn { grid-column: 1 / -1; } }
.b2b-stats { display: flex; gap: 34px; margin-top: 28px; flex-wrap: wrap; }
.b2b-stats b { font-size: 28px; display: block; letter-spacing: -.03em; }
.b2b-stats span { font-size: 13px; opacity: .75; }
.why { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
@media (max-width: 900px) { .why { grid-template-columns: minmax(0, 1fr); } }
.why > div { padding: 22px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); }
.why .ic { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--wh-soft); color: var(--wh); margin-bottom: 14px; }
.why h3 { font-size: 17px; margin-bottom: 6px; }
.why p { color: var(--muted); font-size: 14px; margin: 0; }
.rfq-feed { display: grid; gap: 10px; }
.rfq-row { display: grid; grid-template-columns: 1fr auto; gap: 6px 14px; padding: 14px 16px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); align-items: center; }
.rfq-row:hover { border-color: color-mix(in srgb, var(--brand) 35%, var(--line)); }
.rfq-row h4 { margin: 0; font-size: 15px; font-weight: 650; }
.rfq-row .meta { font-size: 13px; color: var(--muted); display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- Harita ---------- */
.tmap { position: relative; }
.tmap svg { width: 100%; height: auto; display: block; overflow: visible; }
.tmap .dot { fill: color-mix(in srgb, var(--ink) 16%, transparent); }
.tmap .pin { cursor: pointer; }
.tmap .pin circle.halo { fill: var(--brand); opacity: .18; transform-origin: center; transform-box: fill-box; animation: halo 2.6s ease-out infinite; }
.tmap .pin circle.core { fill: var(--brand); stroke: var(--surface); stroke-width: 2.5; }
.tmap .pin text { font-size: 15px; font-weight: 700; fill: var(--ink); paint-order: stroke; stroke: var(--surface); stroke-width: 4px; }
.tmap .pin:hover circle.core, .tmap .pin.on circle.core { fill: var(--gold); }
@keyframes halo { 0% { transform: scale(.6); opacity: .35; } 100% { transform: scale(2.4); opacity: 0; } }
.region-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.region-card { display: flex; gap: 14px; padding: 16px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); align-items: flex-start; }
.region-card:hover { border-color: color-mix(in srgb, var(--brand) 40%, var(--line)); }
.region-card .num { width: 44px; height: 44px; border-radius: 13px; background: var(--brand-soft); color: var(--brand); display: grid; place-items: center; flex: none; }

/* ---------- Liste sayfası ---------- */
.crumbs { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; font-size: 13px; color: var(--muted); margin: 16px 0 10px; }
.crumbs a:hover { color: var(--brand); }
.crumbs .i { width: 14px; height: 14px; }
[dir="rtl"] .crumbs .i { transform: scaleX(-1); }
.listing { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 24px; align-items: start; }
@media (max-width: 960px) { .listing { grid-template-columns: minmax(0, 1fr); } }
.filters { position: sticky; top: calc(var(--hd-h) + 56px); max-height: calc(100vh - var(--hd-h) - 76px); overflow: auto; padding-inline-end: 4px; scrollbar-width: thin; }
.filters .fgroup { padding: 14px 0; border-bottom: 1px solid var(--line); }
.filters .fgroup:first-child { padding-top: 0; }
.filters h4 { font-size: 13px; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); margin-bottom: 10px; }
.filters .flinks a { display: flex; justify-content: space-between; padding: 6px 8px; border-radius: 8px; font-size: 14px; }
.filters .flinks a:hover { background: var(--surface-2); }
.filters .flinks a.on { background: var(--brand-soft); color: var(--brand-ink); font-weight: 650; }
.filters .flinks a .n { color: var(--muted); font-size: 12.5px; }
.filters .check { font-size: 14px; padding: 4px 0; }
.price-range { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
@media (max-width: 960px) {
  .filters { position: fixed; inset: 0; z-index: 90; background: var(--surface); max-height: none; padding: 18px; transform: translateX(-100%); transition: transform .25s; top: 0; }
  [dir="rtl"] .filters { transform: translateX(100%); }
  .filters.open { transform: none; }
  .filters .f-close { display: flex !important; }
}
.f-close { display: none !important; }
.toolbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; flex-wrap: wrap; }
.toolbar h1 { font-size: 24px; margin: 0; }
.toolbar .count { color: var(--muted); font-size: 14px; }
.toolbar .sort { display: flex; align-items: center; gap: 8px; }
.toolbar .select { min-height: 38px; padding-block: 6px; font-size: 14px; width: auto; }
.activef { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.subcats { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding-bottom: 4px; margin-bottom: 18px; }
.subcats::-webkit-scrollbar { display: none; }
.ai-note { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: 14px; background: linear-gradient(135deg, var(--brand-soft), var(--surface-2)); border: 1px solid color-mix(in srgb, var(--brand) 20%, var(--line)); font-size: 14px; margin-bottom: 14px; }
.ai-note .i { color: var(--brand); }

.pager { display: flex; justify-content: center; gap: 6px; margin: 30px 0 10px; flex-wrap: wrap; }
.pager a, .pager span { min-width: 40px; height: 40px; padding: 0 12px; display: grid; place-items: center; border-radius: 11px; border: 1.5px solid var(--line); background: var(--surface); font-weight: 600; font-size: 14px; }
.pager a:hover { border-color: var(--brand); color: var(--brand); }
.pager .cur { background: var(--ink); color: var(--surface); border-color: var(--ink); }
.pager .gap { border: 0; background: none; }
[dir="rtl"] .pager .i { transform: scaleX(-1); }

.empty { text-align: center; padding: 56px 20px; color: var(--muted); }
.empty .ic { width: 72px; height: 72px; border-radius: 22px; background: var(--surface-2); display: grid; place-items: center; margin: 0 auto 16px; color: var(--muted); }
.empty .ic .i { width: 34px; height: 34px; stroke-width: 1.5; }
.empty h3 { color: var(--ink); }

/* ---------- Ürün detay ---------- */
.pdp { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); gap: 34px; align-items: start; }
@media (max-width: 960px) { .pdp { grid-template-columns: minmax(0, 1fr); gap: 18px; } }
.gallery { position: sticky; top: calc(var(--hd-h) + 60px); display: grid; grid-template-columns: 76px 1fr; gap: 12px; }
@media (max-width: 960px) { .gallery { position: static; grid-template-columns: minmax(0, 1fr); } }
.gallery .main { position: relative; aspect-ratio: 1; border-radius: 20px; overflow: hidden; background: var(--surface-2); border: 1px solid var(--line); }
.gallery .main img { width: 100%; height: 100%; object-fit: contain; background: var(--surface); }
.gallery .thumbs { display: flex; flex-direction: column; gap: 8px; order: -1; }
.gallery .thumbs button { width: 76px; height: 76px; padding: 0; border-radius: 12px; overflow: hidden; border: 2px solid transparent; background: var(--surface-2); cursor: pointer; flex: none; }
.gallery .thumbs button.on { border-color: var(--brand); }
.gallery .thumbs img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 960px) {
  .gallery .main { border-radius: 16px; }
  .gallery .thumbs { flex-direction: row; order: 0; overflow-x: auto; }
  .gallery .thumbs button { width: 62px; height: 62px; }
}
.gallery .nav { position: absolute; top: 50%; transform: translateY(-50%); width: 40px; height: 40px; border-radius: 99px; border: 0; background: color-mix(in srgb, var(--surface) 90%, transparent); box-shadow: var(--shadow-2); display: grid; place-items: center; cursor: pointer; z-index: 2; color: var(--ink); }
.gallery .nav.prev { inset-inline-start: 12px; }
.gallery .nav.next { inset-inline-end: 12px; }
[dir="rtl"] .gallery .nav .i { transform: scaleX(-1); }
.pdp-title { font-size: clamp(21px, 2.3vw, 28px); line-height: 1.22; margin-bottom: 10px; font-weight: 700; letter-spacing: -.02em; }
.pdp-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; font-size: 13.5px; color: var(--muted); margin-bottom: 16px; }
.pdp-meta a { color: var(--ink-2); font-weight: 600; }
.pdp-meta a:hover { color: var(--brand); }
.buybox { border: 1px solid var(--line); border-radius: 20px; background: var(--surface); overflow: hidden; box-shadow: var(--shadow-1); }
.buy-tabs { display: grid; grid-template-columns: 1fr 1fr; background: var(--surface-2); border-bottom: 1px solid var(--line); }
.buy-tabs button { border: 0; background: none; padding: 14px 10px; font: 650 14.5px var(--font); color: var(--muted); cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 8px; border-bottom: 2.5px solid transparent; }
.buy-tabs button.on { color: var(--brand); background: var(--surface); border-bottom-color: var(--brand); }
.buy-tabs button.on[data-tab="wholesale"] { color: var(--wh); border-bottom-color: var(--wh); }
.buy-pane { padding: 20px; display: none; }
.buy-pane.on { display: block; }
.big-price { font-size: 34px; font-weight: 800; letter-spacing: -.035em; line-height: 1.05; }
.big-price small { font-size: 14px; font-weight: 600; color: var(--muted); letter-spacing: 0; }
.vat-note { font-size: 12.5px; color: var(--muted); margin-top: 4px; }
.deal-strip { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 14px; border-radius: 12px; background: linear-gradient(90deg, var(--brand), color-mix(in srgb, var(--brand) 55%, #f59e0b)); color: #fff; font-weight: 650; font-size: 14px; margin-bottom: 14px; }
.tierbar { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 6px; margin: 4px 0 6px; }
.tierbar .tier { padding: 10px 8px; border-radius: 12px; border: 1.5px solid var(--line); text-align: center; background: var(--surface); cursor: pointer; transition: border-color .15s, background .15s; font-family: inherit; color: inherit; }
.tierbar .tier:hover { border-color: color-mix(in srgb, var(--wh) 40%, var(--line)); }
.tierbar .tier.on { border-color: var(--wh); background: var(--wh-soft); }
.tierbar .tier b { display: block; font-size: 16.5px; letter-spacing: -.02em; }
.tierbar .tier span { font-size: 12px; color: var(--muted); }
.qtyrow { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 16px; }
.qty { display: inline-flex; align-items: center; border: 1.5px solid var(--line); border-radius: 12px; background: var(--surface); overflow: hidden; height: 44px; }
.qty button { width: 40px; height: 100%; border: 0; background: none; cursor: pointer; color: var(--ink); display: grid; place-items: center; }
.qty button:hover { background: var(--surface-2); }
.qty input { width: 76px; height: 100%; border: 0; border-inline: 1px solid var(--line); text-align: center; font: 650 15px var(--font); background: none; color: var(--ink); -moz-appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.qty.sm { height: 36px; border-radius: 10px; }
.qty.sm button { width: 32px; }
.qty.sm input { width: 54px; font-size: 14px; }
.nudge { display: flex; gap: 10px; align-items: center; padding: 10px 12px; margin-top: 12px; border-radius: 12px; background: var(--wh-soft); color: var(--wh); font-size: 13.5px; font-weight: 550; }
.nudge .i { flex: none; }
.line-total { display: flex; justify-content: space-between; align-items: baseline; margin-top: 14px; padding-top: 14px; border-top: 1px dashed var(--line); }
.line-total b { font-size: 20px; letter-spacing: -.02em; }
.opts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.opts .opt { padding: 8px 14px; border-radius: 11px; border: 1.5px solid var(--line); background: var(--surface); cursor: pointer; font: 550 14px var(--font); color: var(--ink); }
.opts .opt:hover { border-color: color-mix(in srgb, var(--brand) 40%, var(--line)); }
.opts .opt.on { border-color: var(--brand); background: var(--brand-soft); color: var(--brand-ink); }
.opts .opt[disabled] { opacity: .45; text-decoration: line-through; cursor: not-allowed; }
.buy-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 16px; }
.buy-actions .full { grid-column: 1 / -1; }
.infolist { display: grid; gap: 10px; margin-top: 16px; }
.infolist > div { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; }
.infolist .i { color: var(--muted); margin-top: 1px; }
.infolist b { font-weight: 650; }
.shipbox { margin-top: 16px; border: 1px solid var(--line); border-radius: 16px; padding: 14px 16px; background: var(--surface); }
.shipbox .sh-row { display: flex; justify-content: space-between; gap: 10px; padding: 7px 0; font-size: 14px; border-bottom: 1px solid var(--line-2); }
.shipbox .sh-row:last-child { border-bottom: 0; }
.landed { margin-top: 10px; padding: 12px 14px; border-radius: 12px; background: var(--surface-2); font-size: 13.5px; }
.landed .l-row { display: flex; justify-content: space-between; padding: 3px 0; }
.landed .l-total { border-top: 1px solid var(--line); margin-top: 6px; padding-top: 8px; font-weight: 750; font-size: 14.5px; }
.sellerbox { display: flex; gap: 14px; padding: 16px; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); margin-top: 16px; }
.sellerbox .stats { display: grid; grid-template-columns: repeat(3, auto); gap: 4px 18px; font-size: 12.5px; color: var(--muted); margin-top: 8px; }
.sellerbox .stats b { color: var(--ink); font-size: 14px; display: block; }
.gb-box { margin-top: 16px; padding: 16px; border-radius: 18px; background: linear-gradient(135deg, var(--gold-soft), var(--surface)); border: 1px solid color-mix(in srgb, var(--gold) 35%, var(--line)); }
.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); margin-bottom: 20px; overflow-x: auto; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tabs a, .tabs button { padding: 12px 16px; font-weight: 650; font-size: 14.5px; color: var(--muted); border-bottom: 2.5px solid transparent; margin-bottom: -1px; white-space: nowrap; background: none; border-top: 0; border-inline: 0; cursor: pointer; font-family: inherit; display: inline-flex; gap: 6px; align-items: center; }
.tabs a.on, .tabs button.on { color: var(--ink); border-bottom-color: var(--brand); }
.tabs .n { font-size: 12px; background: var(--surface-2); padding: 1px 7px; border-radius: 99px; color: var(--muted); }
.prose { font-size: 15.5px; line-height: 1.7; color: var(--ink-2); max-width: 820px; }
.prose h2 { font-size: 20px; margin-top: 1.6em; color: var(--ink); }
.prose h3 { font-size: 17px; margin-top: 1.4em; color: var(--ink); }
.prose ul, .prose ol { padding-inline-start: 22px; }
.prose li { margin-bottom: .4em; }
.prose a { color: var(--brand); text-decoration: underline; text-underline-offset: 3px; }
.specs { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.specs th, .specs td { text-align: start; padding: 11px 14px; border-bottom: 1px solid var(--line-2); vertical-align: top; }
.specs th { width: 38%; color: var(--muted); font-weight: 550; background: var(--surface-2); }
.highlights { list-style: none; padding: 0; margin: 0 0 18px; display: grid; gap: 8px; }
.highlights li { display: flex; gap: 10px; align-items: flex-start; }
.highlights .i { color: var(--ok); flex: none; margin-top: 1px; }
.review { padding: 18px 0; border-bottom: 1px solid var(--line-2); }
.review .who { display: flex; align-items: center; gap: 10px; font-size: 13.5px; }
.review .reply { margin-top: 10px; padding: 10px 14px; border-radius: 12px; background: var(--surface-2); font-size: 14px; border-inline-start: 3px solid var(--brand); }
.rating-sum { display: grid; grid-template-columns: auto 1fr; gap: 24px; align-items: center; padding: 18px; border-radius: 18px; background: var(--surface-2); margin-bottom: 10px; }
.rating-sum .big { font-size: 46px; font-weight: 800; letter-spacing: -.04em; line-height: 1; }
.rbar { display: grid; grid-template-columns: 22px 1fr 34px; gap: 8px; align-items: center; font-size: 12.5px; color: var(--muted); }
.qa { padding: 16px 0; border-bottom: 1px solid var(--line-2); }
.qa .q { font-weight: 650; display: flex; gap: 10px; }
.qa .a { margin-top: 8px; padding-inline-start: 26px; color: var(--ink-2); font-size: 14.5px; }
.stickybuy { display: none; }
@media (max-width: 960px) {
  .stickybuy { display: flex; position: fixed; inset-inline: 0; bottom: calc(60px + env(safe-area-inset-bottom)); z-index: 54; gap: 10px; align-items: center; padding: 10px 14px; background: var(--surface); border-top: 1px solid var(--line); box-shadow: 0 -10px 30px -18px rgba(0, 0, 0, .3); }
  .stickybuy .btn { flex: 1; }
  .stickybuy .sp { font-weight: 800; font-size: 18px; letter-spacing: -.02em; white-space: nowrap; }
}

/* ---------- Mağaza sayfası ---------- */
.store-hero { position: relative; border-radius: 24px; overflow: hidden; margin-top: 16px; background: var(--surface); border: 1px solid var(--line); }
.store-hero .banner { height: 190px; background: linear-gradient(135deg, var(--brand), var(--brand-2)); background-size: cover; background-position: center; }
.store-hero .info { display: flex; gap: 20px; align-items: flex-end; padding: 0 26px 22px; margin-top: -42px; flex-wrap: wrap; }
.store-hero .avatar.lg { border: 4px solid var(--surface); box-shadow: var(--shadow-2); background: var(--surface); }
.store-hero h1 { margin: 0 0 4px; font-size: 26px; }
.store-kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 10px; margin-top: 16px; }
.store-kpis > div { padding: 14px; border-radius: 14px; background: var(--surface-2); }
.store-kpis b { display: block; font-size: 19px; letter-spacing: -.02em; }
.store-kpis span { font-size: 12.5px; color: var(--muted); }

/* ---------- Tablolar ---------- */
.table-wrap { overflow-x: auto; border-radius: var(--radius); }
.table { width: 100%; border-collapse: collapse; font-size: 14px; }
.table th { text-align: start; font-size: 12px; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); font-weight: 650; padding: 12px 14px; border-bottom: 1px solid var(--line); background: var(--surface-2); white-space: nowrap; }
.table td { padding: 12px 14px; border-bottom: 1px solid var(--line-2); vertical-align: middle; }
.table tr:last-child td { border-bottom: 0; }
.table tr:hover td { background: color-mix(in srgb, var(--surface-2) 60%, transparent); }
.table .thumb { width: 46px; height: 46px; border-radius: 10px; object-fit: cover; background: var(--surface-2); }
.table .num { text-align: end; font-variant-numeric: tabular-nums; white-space: nowrap; }
.table tr.hl td { background: var(--wh-soft); }
.table-compare th:first-child, .table-compare td:first-child { position: sticky; inset-inline-start: 0; background: var(--surface); z-index: 1; }

/* ---------- Uyarı / toast ---------- */
.alert { display: flex; gap: 10px; align-items: flex-start; padding: 12px 16px; border-radius: 14px; font-size: 14.5px; border: 1px solid transparent; }
.alert .i { flex: none; margin-top: 1px; }
.alert-info { background: var(--info-soft); color: var(--info); }
.alert-ok { background: var(--ok-soft); color: var(--ok); }
.alert-warn { background: var(--warn-soft); color: var(--warn); }
.alert-error { background: var(--bad-soft); color: var(--bad); }
.alert a { text-decoration: underline; font-weight: 650; }
.toasts { position: fixed; z-index: 200; bottom: 24px; inset-inline-start: 50%; transform: translateX(-50%); display: flex; flex-direction: column; gap: 8px; align-items: center; pointer-events: none; width: min(92vw, 460px); }
[dir="rtl"] .toasts { transform: translateX(50%); }
@media (max-width: 860px) { .toasts { bottom: calc(80px + env(safe-area-inset-bottom)); } }
.toast { pointer-events: auto; display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-radius: 14px; background: var(--ink); color: var(--surface); box-shadow: var(--shadow-3); font-size: 14.5px; font-weight: 550; animation: toastIn .25s ease-out; width: 100%; }
.toast.error { background: var(--bad); color: #fff; }
.toast.ok .i { color: #34d399; }
.toast a { color: inherit; text-decoration: underline; margin-inline-start: auto; font-weight: 700; white-space: nowrap; }
@keyframes toastIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

/* ---------- Diyalog ---------- */
dialog.modal { border: 0; padding: 0; border-radius: 22px; background: var(--surface); color: var(--ink); box-shadow: var(--shadow-3); width: min(94vw, 560px); max-height: 90vh; }
dialog.modal.wide { width: min(94vw, 820px); }
dialog.modal::backdrop { background: var(--overlay); backdrop-filter: blur(3px); }
dialog.modal[open] { animation: pop .18s ease-out; }
.modal-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 22px; border-bottom: 1px solid var(--line-2); position: sticky; top: 0; background: var(--surface); z-index: 2; }
.modal-head h3 { margin: 0; font-size: 18px; display: flex; gap: 10px; align-items: center; }
.modal-body { padding: 22px; }
.modal-foot { padding: 16px 22px; border-top: 1px solid var(--line-2); display: flex; justify-content: flex-end; gap: 10px; background: var(--surface-2); }
@media (max-width: 560px) {
  dialog.modal { width: 100vw; max-width: 100vw; margin: auto 0 0; border-radius: 22px 22px 0 0; max-height: 92vh; }
}

/* ---------- Panel (hesap / satıcı / yönetim) ---------- */
.panel { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 24px; margin-top: 22px; align-items: start; }
@media (max-width: 960px) { .panel { grid-template-columns: minmax(0, 1fr); gap: 14px; margin-top: 12px; } }
.pnav { position: sticky; top: calc(var(--hd-h) + 60px); background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 10px; }
.pnav .pn-head { display: flex; gap: 12px; align-items: center; padding: 10px 10px 14px; border-bottom: 1px solid var(--line-2); margin-bottom: 8px; }
.pnav a { display: flex; align-items: center; gap: 11px; padding: 9px 12px; border-radius: 11px; font-size: 14.5px; font-weight: 550; color: var(--ink-2); }
.pnav a:hover { background: var(--surface-2); color: var(--ink); }
.pnav a.on { background: var(--brand-soft); color: var(--brand-ink); }
.pnav a .i { width: 19px; height: 19px; }
.pnav a .n { margin-inline-start: auto; background: var(--brand); color: #fff; border-radius: 99px; font-size: 11.5px; font-weight: 700; padding: 1px 7px; }
.pnav .pn-sep { font-size: 11px; text-transform: uppercase; letter-spacing: .07em; color: var(--muted); padding: 14px 12px 6px; font-weight: 700; }
@media (max-width: 960px) {
  .pnav { position: static; display: flex; gap: 4px; overflow-x: auto; padding: 6px; scrollbar-width: none; }
  .pnav::-webkit-scrollbar { display: none; }
  .pnav .pn-head, .pnav .pn-sep { display: none; }
  .pnav a { flex: none; white-space: nowrap; font-size: 13.5px; padding: 8px 12px; }
}
.page-head { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 18px; flex-wrap: wrap; }
.page-head h1 { margin: 0; font-size: 26px; }
.page-head p { margin: 4px 0 0; color: var(--muted); }
.kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 900px) { .kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.kpi { padding: 18px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); }
.kpi .k-l { font-size: 13px; color: var(--muted); display: flex; align-items: center; gap: 8px; }
.kpi .k-v { font-size: 26px; font-weight: 800; letter-spacing: -.03em; margin-top: 6px; line-height: 1.1; }
.kpi .k-s { font-size: 12.5px; color: var(--muted); margin-top: 4px; }
.kpi.accent { background: linear-gradient(135deg, var(--brand), var(--brand-2)); color: #fff; border: 0; }
.kpi.accent .k-l, .kpi.accent .k-s { color: rgba(255, 255, 255, .8); }
.chart { width: 100%; height: auto; display: block; }
.chart .bar { fill: var(--brand); }
.chart .bar2 { fill: color-mix(in srgb, var(--brand) 30%, transparent); }
.chart .grid-l { stroke: var(--line-2); }
.chart text { fill: var(--muted); font-size: 11px; }
.chart .area { fill: color-mix(in srgb, var(--brand) 14%, transparent); }
.chart .line { fill: none; stroke: var(--brand); stroke-width: 2.4; stroke-linejoin: round; }

.timeline { list-style: none; margin: 0; padding: 0; position: relative; }
.timeline li { position: relative; padding-inline-start: 30px; padding-bottom: 18px; }
.timeline li::before { content: ""; position: absolute; inset-inline-start: 7px; top: 18px; bottom: 0; width: 2px; background: var(--line); }
.timeline li:last-child::before { display: none; }
.timeline .dot { position: absolute; inset-inline-start: 0; top: 3px; width: 16px; height: 16px; border-radius: 99px; background: var(--surface); border: 3px solid var(--brand); }
.timeline li.muted .dot { border-color: var(--line); }
.timeline b { font-size: 14.5px; }
.timeline .tl-t { font-size: 12.5px; color: var(--muted); }

.stepper { display: flex; gap: 0; margin-bottom: 18px; }
.stepper .st { flex: 1; text-align: center; position: relative; font-size: 12.5px; color: var(--muted); font-weight: 600; }
.stepper .st::before { content: ""; position: absolute; top: 14px; inset-inline: 0; height: 3px; background: var(--line); z-index: 0; }
.stepper .st:first-child::before { inset-inline-start: 50%; }
.stepper .st:last-child::before { inset-inline-end: 50%; }
.stepper .st i { position: relative; z-index: 1; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 99px; margin: 0 auto 6px; background: var(--surface); border: 3px solid var(--line); font-style: normal; color: var(--muted); }
.stepper .st.done { color: var(--ink); }
.stepper .st.done::before { background: var(--brand); }
.stepper .st.done i { border-color: var(--brand); background: var(--brand); color: #fff; }
.stepper .st.cur i { border-color: var(--brand); color: var(--brand); }
.stepper .st .i { width: 14px; height: 14px; stroke-width: 3; }

/* ---------- Sepet ---------- */
.cart-layout { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 24px; align-items: start; margin-top: 18px; }
@media (max-width: 960px) { .cart-layout { grid-template-columns: minmax(0, 1fr); } }
.summary { position: sticky; top: calc(var(--hd-h) + 60px); }
.cgroup { margin-bottom: 16px; }
.cgroup .cg-head { display: flex; align-items: center; gap: 12px; padding: 14px 18px; border-bottom: 1px solid var(--line-2); }
.cline { display: grid; grid-template-columns: auto 84px minmax(0, 1fr) auto; gap: 14px; padding: 16px 18px; border-bottom: 1px solid var(--line-2); align-items: start; }
.cline:last-child { border-bottom: 0; }
.cline img { width: 84px; height: 84px; border-radius: 12px; object-fit: cover; background: var(--surface-2); }
.cline .ct { font-weight: 550; font-size: 14.5px; line-height: 1.35; }
.cline .cp { text-align: end; }
.cline.err { background: color-mix(in srgb, var(--bad-soft) 50%, transparent); }
@media (max-width: 640px) { .cline { grid-template-columns: auto 64px minmax(0, 1fr); } .cline img { width: 64px; height: 64px; } .cline .cp { grid-column: 2 / -1; display: flex; justify-content: space-between; align-items: center; text-align: start; } }
.sum-row { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; font-size: 14.5px; }
.sum-row.total { font-size: 18px; font-weight: 800; border-top: 1px solid var(--line); margin-top: 8px; padding-top: 14px; letter-spacing: -.01em; }
.secure-note { display: flex; gap: 8px; align-items: center; font-size: 12.5px; color: var(--muted); margin-top: 12px; justify-content: center; }

/* ---------- Pazarlık / mesaj ---------- */
.nego-head { display: flex; gap: 16px; align-items: center; padding: 18px 20px; border-bottom: 1px solid var(--line-2); }
.nego-head img { width: 64px; height: 64px; border-radius: 12px; object-fit: cover; background: var(--surface-2); }
.offers { padding: 20px; display: flex; flex-direction: column; gap: 14px; background: var(--surface-2); max-height: 560px; overflow: auto; }
.bubble { max-width: 78%; padding: 12px 16px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); font-size: 14.5px; box-shadow: var(--shadow-1); }
.bubble.me { align-self: flex-end; background: var(--brand-soft); border-color: color-mix(in srgb, var(--brand) 25%, var(--line)); border-end-end-radius: 6px; }
.bubble.them { align-self: flex-start; border-end-start-radius: 6px; }
.bubble.sys { align-self: center; background: transparent; border: 0; box-shadow: none; color: var(--muted); font-size: 13px; text-align: center; padding: 4px; }
.bubble .b-t { font-size: 11.5px; color: var(--muted); margin-top: 6px; display: flex; gap: 8px; align-items: center; }
.bubble .offer-amt { font-size: 22px; font-weight: 800; letter-spacing: -.02em; }
.bubble .tr { margin-top: 8px; padding-top: 8px; border-top: 1px dashed var(--line); color: var(--ink-2); font-size: 14px; }
.chat-list a { display: flex; gap: 12px; padding: 14px 16px; border-bottom: 1px solid var(--line-2); align-items: center; }
.chat-list a:hover { background: var(--surface-2); }
.chat-list a.unread .cl-t { font-weight: 750; }
.chat-list .cl-s { font-size: 13px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.chat-box { display: flex; flex-direction: column; height: min(72vh, 720px); }
.chat-box .offers { flex: 1; max-height: none; }
.composer { display: flex; gap: 10px; padding: 12px; border-top: 1px solid var(--line); align-items: flex-end; background: var(--surface); }
.composer .textarea { min-height: 46px; max-height: 160px; border-radius: 14px; }

/* ---------- Statik / hukuki ---------- */
.doc { max-width: 860px; margin: 26px auto 60px; }
.doc .card { padding: 34px; }
@media (max-width: 640px) { .doc .card { padding: 20px; } }
.feature-split { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; align-items: center; }
@media (max-width: 860px) { .feature-split { grid-template-columns: minmax(0, 1fr); } }
.steps-list { counter-reset: s; display: grid; gap: 14px; }
.steps-list > div { counter-increment: s; position: relative; padding: 18px 18px 18px 70px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); }
[dir="rtl"] .steps-list > div { padding: 18px 70px 18px 18px; }
.steps-list > div::before { content: counter(s); position: absolute; inset-inline-start: 18px; top: 18px; width: 36px; height: 36px; border-radius: 12px; background: var(--brand); color: #fff; display: grid; place-items: center; font-weight: 800; }
.steps-list h4 { margin-bottom: 4px; }
.steps-list p { margin: 0; color: var(--muted); font-size: 14px; }
.faq details { border-bottom: 1px solid var(--line); padding: 4px 0; }
.faq summary { cursor: pointer; padding: 14px 0; font-weight: 650; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 20px; color: var(--muted); line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--ink-2); padding-bottom: 12px; }

/* ---------- Altbilgi ---------- */
.ft { margin-top: 60px; background: var(--surface); border-top: 1px solid var(--line); }
.ft-top { display: grid; grid-template-columns: 1.5fr repeat(4, 1fr); gap: 30px; padding-block: 44px 30px; }
@media (max-width: 900px) { .ft-top { grid-template-columns: 1fr 1fr; } .ft-top .ft-brand { grid-column: 1 / -1; } }
.ft h4 { font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin-bottom: 14px; }
.ft ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; font-size: 14px; }
.ft ul a { color: var(--ink-2); }
.ft ul a:hover { color: var(--brand); }
.ft-brand p { color: var(--muted); font-size: 14px; max-width: 30em; margin-top: 12px; }
.ft-news { display: flex; gap: 8px; margin-top: 16px; max-width: 420px; }
.ft-bottom { border-top: 1px solid var(--line-2); padding-block: 18px; display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; font-size: 13px; color: var(--muted); align-items: center; }
.ft-bottom .pay { display: flex; gap: 8px; align-items: center; }
.ft-bottom .pay span { padding: 4px 9px; border: 1px solid var(--line); border-radius: 7px; font-weight: 700; font-size: 11.5px; color: var(--ink-2); }

/* ---------- Diller / ülke diyaloğu ---------- */
.lang-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.lang-grid a { padding: 10px; border-radius: 12px; border: 1.5px solid var(--line); text-align: center; font-weight: 600; font-size: 14px; }
.lang-grid a.on { border-color: var(--brand); background: var(--brand-soft); color: var(--brand-ink); }

/* ---------- İskelet / yükleniyor ---------- */
.skel { background: linear-gradient(90deg, var(--surface-2) 25%, var(--line-2) 37%, var(--surface-2) 63%); background-size: 400% 100%; animation: sk 1.3s ease infinite; border-radius: 10px; }
@keyframes sk { 0% { background-position: 100% 50%; } 100% { background-position: 0 50%; } }
.spin { width: 18px; height: 18px; border-radius: 99px; border: 2.5px solid currentColor; border-top-color: transparent; animation: spin .7s linear infinite; display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }
.loading { position: relative; pointer-events: none; opacity: .7; }

/* ---------- Görsel yükleyici ---------- */
.uploader { display: grid; grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: 10px; }
.uploader .u-item { position: relative; aspect-ratio: 1; border-radius: 14px; overflow: hidden; background: var(--surface-2); border: 1px solid var(--line); }
.uploader .u-item img { width: 100%; height: 100%; object-fit: cover; }
.uploader .u-item .u-del { position: absolute; top: 6px; inset-inline-end: 6px; width: 28px; height: 28px; border-radius: 99px; border: 0; background: rgba(0, 0, 0, .6); color: #fff; display: grid; place-items: center; cursor: pointer; }
.uploader .u-item .u-first { position: absolute; bottom: 6px; inset-inline-start: 6px; }
.uploader label.u-add { aspect-ratio: 1; border-radius: 14px; border: 2px dashed var(--line); display: grid; place-items: center; text-align: center; cursor: pointer; color: var(--muted); font-size: 13px; padding: 8px; }
.uploader label.u-add:hover { border-color: var(--brand); color: var(--brand); }
.tier-rows .tier-row, .var-rows .var-row { display: grid; grid-template-columns: 1fr 1fr auto; gap: 8px; margin-bottom: 8px; }
.var-rows .var-row { grid-template-columns: 2fr 1fr 1fr auto; }
@media (max-width: 560px) { .var-rows .var-row { grid-template-columns: 1fr 1fr; } }

/* ---------- Yazdırma ---------- */
.print-doc { background: #fff; color: #111; max-width: 860px; margin: 24px auto; padding: 40px; border-radius: 12px; box-shadow: var(--shadow-2); font-size: 13.5px; }
.print-doc table { width: 100%; border-collapse: collapse; }
.print-doc th, .print-doc td { border: 1px solid #ddd; padding: 8px 10px; text-align: start; }
.print-doc th { background: #f4f4f4; }
@media print {
  body { background: #fff; padding: 0; }
  .hd, .topbar, .ft, .tabbar, .no-print, .announce { display: none !important; }
  .print-doc { box-shadow: none; margin: 0; padding: 0; max-width: none; }
}

/* ---------- Animasyon tercihi ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* ---------- Yardımcı düzenler ---------- */
.split { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 24px; align-items: start; }
.split.split-wide { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); }
@media (max-width: 960px) { .split, .split.split-wide { grid-template-columns: minmax(0, 1fr); } #fbtn { display: inline-flex !important; } }
.nego-form { grid-template-columns: 1fr 1fr 1fr auto; align-items: end; }
@media (max-width: 760px) { .nego-form { grid-template-columns: 1fr 1fr; } }
.chip:has(input:checked) { border-color: var(--brand); background: var(--brand-soft); color: var(--brand-ink); }
details > summary { list-style: none; }
details > summary::-webkit-details-marker { display: none; }
.split.split-chat { grid-template-columns: 320px minmax(0, 1fr); }
@media (max-width: 960px) { .split.split-chat { grid-template-columns: minmax(0, 1fr); } .split-chat .chat-list { max-height: 240px; overflow: auto !important; } }
[hidden] { display: none !important; }
.b2b-hero .art { position: absolute; inset-inline-end: -60px; top: 50%; transform: translateY(-50%); width: 520px; max-width: 48%; z-index: -1; pointer-events: none; }
[dir="rtl"] .b2b-hero .art { transform: translateY(-50%) scaleX(-1); }
@media (max-width: 860px) { .b2b-hero .art { opacity: .5; width: 320px; inset-inline-end: -100px; } }

/* Ürün formu kaydet çubuğu: masaüstünde altta yapışkan, telefonda sekme çubuğunun üstünde tek satır */
.save-bar { position: sticky; bottom: calc(env(safe-area-inset-bottom) + 12px); z-index: 5; box-shadow: var(--shadow-3); }
@media (max-width: 860px) { .save-bar { bottom: calc(env(safe-area-inset-bottom) + 72px); } }
@media (max-width: 640px) {
  .save-bar { padding: 10px; }
  .save-bar .sb-hint { display: none; }
  .save-bar .sb-btns { width: 100%; flex-wrap: nowrap; gap: 8px; }
  .save-bar .sb-btns .btn { flex: 1; min-height: 44px; font-size: 14px; padding-inline: 10px; }
}

/* Alt bilgi: sosyal medya */
.ft-social { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 12px 0 4px; }
.ft-social a { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: var(--surface-2); border: 1px solid var(--line); color: var(--ink-2); transition: color .15s, border-color .15s, background .15s; }
.ft-social a:hover { color: #fff; background: linear-gradient(135deg, var(--acc-1), var(--acc-2)); border-color: transparent; }
.ft-social a .i { width: 18px; height: 18px; }
.ft-social a.ft-phone { width: auto; padding: 0 12px; gap: 6px; display: inline-flex; font-size: 13.5px; font-weight: 600; }

/* Yönetim > Görünüm */
.presets { display: flex; flex-wrap: wrap; gap: 8px; }
.preset { display: inline-flex; align-items: center; gap: 10px; padding: 8px 12px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--surface); color: var(--ink); font: 600 13.5px var(--font); cursor: pointer; }
.preset:hover, .preset.on { border-color: var(--ink-2); }
.preset .sw { display: inline-flex; border-radius: 7px; overflow: hidden; height: 22px; }
.preset .sw i { width: 18px; height: 100%; }
.preset .sw i:nth-child(2) { width: 26px; }
.color-field { display: flex; gap: 8px; align-items: center; }
.color-field input[type="color"] { width: 46px; height: 42px; padding: 3px; border: 1.5px solid var(--line); border-radius: 10px; background: var(--surface); cursor: pointer; flex: none; }
.brand-preview { --brand: var(--pv-primary); border: 1px dashed var(--line); border-radius: 16px; padding: 16px; display: grid; gap: 12px; background: var(--surface-2); }
.brand-preview .bp-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.brand-preview .bp-logo { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; font-size: 21px; letter-spacing: -.045em; }
.brand-preview .bp-word { color: var(--pv-navy); }
:root[data-theme="dark"] .brand-preview .bp-word { color: #e8eefc; }
.brand-preview .bp-word b { background: linear-gradient(90deg, var(--pv-accent1), var(--pv-accent2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.brand-preview .bp-badge { font-size: 12px; font-weight: 650; padding: 4px 9px; border-radius: 99px; color: #fff; background: linear-gradient(90deg, var(--pv-accent1), var(--pv-accent2)); }
.brand-preview .bp-hero { border-radius: 12px; padding: 18px; color: #fff; font-size: 17px; background: radial-gradient(90% 120% at 0% 100%, var(--pv-accent1), transparent 60%), linear-gradient(135deg, var(--pv-primary), var(--pv-accent2)); }
.brand-preview .bp-price { font-weight: 800; font-size: 20px; color: var(--ink); }
.brand-preview .bp-btn { display: inline-flex; align-items: center; gap: 7px; padding: 10px 16px; border-radius: 11px; font-weight: 650; font-size: 14px; color: #fff; background: var(--pv-primary); box-shadow: 0 8px 18px -10px var(--pv-primary); }
.brand-preview .bp-btn.ghost { background: var(--surface); color: var(--ink); border: 1.5px solid var(--line); box-shadow: none; }
.brand-preview .bp-wh { display: inline-flex; align-items: center; gap: 7px; justify-self: start; padding: 8px 14px; border-radius: 10px; color: #fff; font-size: 13px; font-weight: 650; background: linear-gradient(135deg, var(--pv-navy), #061a36); }
.logo-prev { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 8px; }
.logo-prev .lp { border-radius: 12px; padding: 16px; display: grid; place-items: center; border: 1px solid var(--line); min-height: 76px; }
.logo-prev .lp.light { background: #fff; --logo-ink: var(--navy); }
.logo-prev .lp.dark { background: #0e141e; --logo-ink: #e8eefc; }
.icon-prev { border-radius: 14px; border: 1px solid var(--line); background: repeating-conic-gradient(#e9ecf1 0% 25%, #fff 0% 50%) 50% / 14px 14px; }
.icon-prev.round { border-radius: 50%; }
