/* Layout: koyu "stüdyo" sahnesi (3D) üstte sabitlenir; altında çelik-gri kâğıt üzerinde teknik katalog. */
:root {
  --paper: #eef1f5;
  --paper-2: #e3e8ef;
  --surface: #ffffff;
  --surface-2: #f6f8fa;
  --ink: #0f1a2a;
  --ink-2: #4a586b;
  --ink-3: #7a8698;
  --line: #d4dbe4;
  --line-2: #b9c4d1;
  --accent: #c8231b;
  --accent-2: #a81a13;
  --accent-ink: #ffffff;
  --accent-soft: #fbe6e4;
  --amber: #e39d17;
  --amber-ink: #2e1f00;
  --navy: #0e1b33;
  --ok: #157a45;
  --ok-bg: #e1f2e8;
  --warn: #8f5600;
  --warn-bg: #fcefd6;
  --bad: #b42318;
  --bad-bg: #fde4e1;
  --studio: #0a111d;
  --studio-2: #14223b;
  --studio-ink: #eaf0f8;
  --studio-ink-2: #a6b6cc;
  --scrim: rgba(8, 14, 24, 0.55);
  --shadow: 0 1px 2px rgba(15, 26, 42, 0.06), 0 10px 30px -14px rgba(15, 26, 42, 0.28);
  --shadow-lg: 0 30px 80px -20px rgba(8, 14, 24, 0.45);
  --logo-blue: #1d52ad;

  --font-display: "Saira Condensed", "Arial Narrow", "Roboto Condensed", sans-serif;
  --font-body: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;

  --r: 6px;
  --r-lg: 10px;
  --hdr: 116px;
  --wrap: 1280px;
  --gutter-l: max(16px, env(safe-area-inset-left, 0px));
  --gutter-r: max(16px, env(safe-area-inset-right, 0px));
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #0b111b; --paper-2: #101826; --surface: #141d2b; --surface-2: #192436;
    --ink: #e6ecf4; --ink-2: #a2b0c3; --ink-3: #718199; --line: #233046; --line-2: #33445e;
    --accent: #e5392e; --accent-2: #ff5a4f; --accent-soft: #3a1714; --logo-blue: #4a86e8;
    --amber: #f0b03a; --amber-ink: #2a1c00; --navy: #0e1b33;
    --ok: #4fcf8a; --ok-bg: #11301f; --warn: #f0b03a; --warn-bg: #33270f; --bad: #ff7a6e; --bad-bg: #3a1714;
    --scrim: rgba(2, 5, 10, 0.7);
    --shadow: 0 1px 2px rgba(0, 0, 0, 0.3), 0 12px 30px -14px rgba(0, 0, 0, 0.6);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --paper: #0b111b; --paper-2: #101826; --surface: #141d2b; --surface-2: #192436;
  --ink: #e6ecf4; --ink-2: #a2b0c3; --ink-3: #718199; --line: #233046; --line-2: #33445e;
  --accent: #e5392e; --accent-2: #ff5a4f; --accent-soft: #3a1714; --logo-blue: #4a86e8;
  --amber: #f0b03a; --amber-ink: #2a1c00; --navy: #0e1b33;
  --ok: #4fcf8a; --ok-bg: #11301f; --warn: #f0b03a; --warn-bg: #33270f; --bad: #ff7a6e; --bad-bg: #3a1714;
  --scrim: rgba(2, 5, 10, 0.7);
  --shadow: 0 1px 2px rgba(0, 0, 0, 0.3), 0 12px 30px -14px rgba(0, 0, 0, 0.6);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; } }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 15px/1.55 var(--font-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: var(--surface); }
img { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 700; line-height: 1.05; margin: 0; text-wrap: balance; letter-spacing: 0.005em; }
p { margin: 0; }
[hidden] { display: none !important; }
.mono { font-family: var(--font-mono); font-variant-numeric: tabular-nums; }
.ic { width: 20px; height: 20px; flex: none; }
:focus-visible { outline: 2px solid var(--amber); outline-offset: 2px; border-radius: 3px; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-left: var(--gutter-l); padding-right: var(--gutter-r); }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--accent); color: #fff; padding: 8px 14px; border-radius: var(--r); }
.skip:focus { left: 16px; }
.hide-sm { }
.only-sm { display: none !important; }

/* ---------- butonlar ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 42px; padding: 0 18px; border-radius: var(--r);
  border: 1px solid transparent; background: var(--surface); color: var(--ink);
  font-weight: 600; font-size: 14.5px; text-decoration: none; white-space: nowrap;
  transition: background-color .18s, border-color .18s, color .18s, transform .12s;
}
.btn:active { transform: translateY(1px); }
.btn-lg { min-height: 50px; padding: 0 24px; font-size: 15.5px; }
.btn-accent { background: var(--accent); color: var(--accent-ink); }
.btn-accent:hover { background: var(--accent-2); }
.btn-amber { background: var(--amber); color: var(--amber-ink); }
.btn-amber:hover { filter: brightness(1.06); }
.btn-outline { border-color: var(--line-2); background: transparent; }
.btn-outline:hover { border-color: var(--ink); }
.btn-ghost-light { border-color: rgba(234, 240, 248, 0.32); color: var(--studio-ink); background: rgba(10, 17, 29, 0.35); backdrop-filter: blur(6px); }
.btn-ghost-light:hover { border-color: var(--studio-ink); }
.btn .ic { width: 18px; height: 18px; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }
.full { width: 100%; }
.link-btn { background: none; border: 0; padding: 0; color: inherit; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--line-2); font-size: inherit; }
.link-btn:hover { text-decoration-color: currentColor; }
.icon-btn { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: var(--r); border: 1px solid var(--line); background: var(--surface); color: var(--ink); }
.icon-btn:hover { border-color: var(--line-2); }

/* ---------- üst bant & header ---------- */
.topbar { background: var(--studio); color: var(--studio-ink-2); font-size: 13px; }
.topbar-row { display: flex; justify-content: space-between; gap: 16px; padding-block: 7px; }
.topbar strong { color: var(--studio-ink); font-weight: 500; }
.ship-clock { display: inline-flex; align-items: center; gap: 7px; margin-left: 8px; white-space: nowrap; }
.ship-clock b { font-family: var(--font-mono); font-weight: 600; font-variant-numeric: tabular-nums; letter-spacing: .04em; padding: 1px 7px; border-radius: 3px; background: var(--amber); color: var(--amber-ink); }
.demo-pill { display: inline-block; font-family: var(--font-mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; padding: 1px 7px; border-radius: 3px; background: var(--amber); color: var(--amber-ink); margin-right: 6px; }

.site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; background: var(--surface); border-bottom: 1px solid var(--line); }
.header-row { display: flex; align-items: center; gap: 20px; padding-block: 12px; }
.logo { display: inline-flex; align-items: center; gap: 9px; text-decoration: none; color: var(--ink); flex: none; }
.logo-mark { width: 43px; height: 32px; }
.logo-word { font-family: var(--font-display); font-weight: 800; font-style: italic; font-size: 26px; letter-spacing: 0.02em; line-height: 1; text-transform: uppercase; color: var(--logo-blue); }
.logo-word b { color: var(--ink); font-weight: 800; }
.logo-light { color: var(--studio-ink); --logo-blue: #4a86e8; }
.logo-light .logo-word b { color: var(--studio-ink); }

.search { position: relative; flex: 1; display: flex; align-items: center; min-width: 0; }
.search input {
  width: 100%; height: 46px; padding: 0 92px 0 44px; border-radius: var(--r);
  border: 1px solid var(--line-2); background: var(--surface-2); color: var(--ink); font-size: 15px;
}
.search input:focus { outline: none; border-color: var(--ink); background: var(--surface); }
.search input::-webkit-search-cancel-button { display: none; }
.search-ic { position: absolute; left: 14px; color: var(--ink-3); pointer-events: none; }
.search-btn { position: absolute; right: 4px; min-height: 38px; padding: 0 16px; }
.suggest {
  position: absolute; top: calc(100% + 6px); left: 0; right: 0; z-index: 70;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-lg);
  max-height: min(70vh, 520px); overflow: auto; padding: 6px;
}
.sg-item { display: grid; grid-template-columns: 52px 1fr auto; gap: 12px; align-items: center; width: 100%; padding: 8px; border: 0; border-radius: var(--r); background: none; text-align: left; }
.sg-item:hover, .sg-item[aria-selected="true"] { background: var(--paper); }
.sg-item img, .sg-thumb { width: 52px; height: 52px; border-radius: var(--r); background: var(--paper-2); object-fit: contain; }
.sg-name { font-weight: 600; font-size: 14px; line-height: 1.3; }
.sg-meta { font-family: var(--font-mono); font-size: 12px; color: var(--ink-3); }
.sg-price { font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.sg-foot { padding: 8px 10px; font-size: 13px; color: var(--ink-2); border-top: 1px solid var(--line); margin-top: 4px; }
.sg-empty { padding: 14px; color: var(--ink-2); font-size: 14px; }
mark { background: var(--amber); color: var(--amber-ink); border-radius: 2px; padding: 0 1px; }

.header-actions { display: flex; align-items: center; gap: 6px; flex: none; }
.hbtn { position: relative; display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 12px; border-radius: var(--r); border: 1px solid transparent; background: none; color: var(--ink); font-weight: 500; font-size: 14px; }
.hbtn:hover { background: var(--paper); }
.hbtn.icon { width: 44px; justify-content: center; padding: 0; }
.car-btn { border-color: var(--line-2); max-width: 260px; }
.car-btn span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.car-btn.has-car { border-color: var(--ok); color: var(--ok); background: var(--ok-bg); }
.cart-btn { background: var(--ink); color: var(--paper); padding: 0 14px; }
.cart-btn:hover { background: var(--ink); opacity: .9; }
.cart-total { font-variant-numeric: tabular-nums; font-weight: 600; }
.count { position: absolute; top: 3px; right: 2px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--accent); color: #fff; font-size: 11px; font-weight: 700; display: grid; place-items: center; line-height: 1; font-variant-numeric: tabular-nums; }
.cart-btn .count { top: -6px; right: -6px; border: 2px solid var(--surface); }
.bump { animation: bump .45s ease; }
@keyframes bump { 30% { transform: scale(1.25); } 60% { transform: scale(.95); } }

.catnav { border-top: 1px solid var(--line); }
.catnav-row { display: flex; gap: 2px; overflow-x: auto; scrollbar-width: none; padding-block: 0; }
.catnav-row::-webkit-scrollbar { display: none; }
.catnav-row button { flex: none; border: 0; background: none; padding: 10px 12px; font-size: 13.5px; font-weight: 500; color: var(--ink-2); border-bottom: 2px solid transparent; white-space: nowrap; }
.catnav-row button:hover { color: var(--ink); }
.catnav-row button.is-on { color: var(--ink); border-bottom-color: var(--accent); }

/* ---------- 3D hikâye ---------- */
.story { position: relative; height: 520vh; background: var(--studio); }
.stage {
  position: sticky; top: var(--hdr); height: calc(100vh - var(--hdr)); height: calc(100svh - var(--hdr)); min-height: 520px;
  overflow: hidden; color: var(--studio-ink);
  background:
    radial-gradient(60% 70% at 68% 46%, #1d3157 0%, rgba(20, 34, 59, 0.6) 38%, rgba(10, 17, 29, 0) 70%),
    radial-gradient(40% 40% at 90% 100%, rgba(200, 35, 27, 0.18), rgba(10, 17, 29, 0) 70%),
    var(--studio);
}
.stage::after { /* teknik çizim ızgarası */
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .35;
  background-image: linear-gradient(rgba(166, 182, 204, 0.07) 1px, transparent 1px), linear-gradient(90deg, rgba(166, 182, 204, 0.07) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(80% 80% at 60% 40%, #000 30%, transparent 85%);
}
#heroCanvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; z-index: 1; }
.stage-shade { position: absolute; inset: 0; z-index: 2; pointer-events: none; background: linear-gradient(90deg, rgba(10, 17, 29, 0.88) 0%, rgba(10, 17, 29, 0.55) 30%, rgba(10, 17, 29, 0) 52%); }
.stage-copy { position: relative; z-index: 4; height: 100%; display: grid; grid-template-columns: minmax(0, 560px) 1fr; align-items: center; padding-bottom: 56px; pointer-events: none; }
.panels { position: relative; display: grid; pointer-events: auto; }
.panel { grid-area: 1 / 1; align-self: center; opacity: 0; transform: translateY(18px); visibility: hidden; transition: opacity .5s ease, transform .6s cubic-bezier(.2, .7, .2, 1), visibility 0s .6s; }
.panel.is-active { opacity: 1; transform: none; visibility: visible; transition: opacity .5s ease .1s, transform .6s cubic-bezier(.2, .7, .2, 1) .1s, visibility 0s; }
.eyebrow { font-family: var(--font-mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--amber); margin-bottom: 18px; display: flex; align-items: center; gap: 10px; }
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; }
.eyebrow-dark { color: var(--accent); }
.panel h1 { font-size: clamp(42px, 6.2vw, 84px); font-weight: 800; line-height: .94; letter-spacing: -0.01em; text-transform: uppercase; }
.panel h1 em { font-style: normal; color: var(--studio-ink-2); display: block; font-weight: 600; }
.panel h2 { font-size: clamp(32px, 4.2vw, 56px); font-weight: 800; text-transform: uppercase; line-height: .96; margin-bottom: 18px; }
.panel p { color: var(--studio-ink-2); font-size: 16.5px; max-width: 46ch; margin-bottom: 26px; }
.panel .lede { margin-top: 22px; font-size: 17px; }
.step-no { font-family: var(--font-mono); font-size: 12.5px !important; letter-spacing: .1em; text-transform: uppercase; color: var(--amber) !important; margin-bottom: 14px !important; }
.cta-row { display: flex; flex-wrap: wrap; gap: 10px; }
.quick { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 26px; font-size: 13px; color: var(--studio-ink-2); }
.quick button { border: 1px solid rgba(166, 182, 204, 0.3); background: rgba(10, 17, 29, 0.4); color: var(--studio-ink); padding: 5px 11px; border-radius: 99px; font-size: 13px; }
.quick button:hover { border-color: var(--amber); color: var(--amber); }

.rail { position: absolute; left: var(--gutter-l); bottom: 22px; width: min(640px, calc(100% - 32px)); list-style: none; margin: 0; padding: 0; display: flex; gap: 6px; pointer-events: auto; }
.rail li { flex: 1; }
.rail button { width: 100%; display: flex; flex-direction: column-reverse; align-items: stretch; gap: 8px; background: none; border: 0; color: var(--studio-ink-2); padding: 6px 0 0; font-size: 12px; font-family: var(--font-mono); letter-spacing: .04em; text-align: left; }
.rail button::after { content: ""; width: 100%; height: 3px; border-radius: 2px; background: rgba(166, 182, 204, 0.35); transition: width .3s, background-color .3s; }
.rail button span { opacity: .65; transition: opacity .3s; }
.rail button:hover span, .rail button.is-on span { opacity: 1; color: var(--studio-ink); }
.rail button.is-on::after { background: var(--accent); }
.rail button span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.hotspots { position: absolute; inset: 0; z-index: 3; pointer-events: none; }
.hotspot { position: absolute; left: 0; top: 0; opacity: 0; display: flex; align-items: center; gap: 0; border: 0; background: none; padding: 0; color: var(--studio-ink); will-change: transform, opacity; }
.hs-dot { width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 0 4px rgba(227, 157, 23, 0.25), 0 0 0 9px rgba(227, 157, 23, 0.08); flex: none; animation: pulse 2.2s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 6px rgba(227, 157, 23, 0.3), 0 0 0 14px rgba(227, 157, 23, 0); } }
.hs-tag { margin: -7px 0 0 10px; padding: 6px 11px 7px; border-radius: var(--r); background: rgba(10, 17, 29, 0.78); border: 1px solid rgba(166, 182, 204, 0.25); backdrop-filter: blur(6px); font-size: 13.5px; font-weight: 600; white-space: nowrap; text-align: left; line-height: 1.25; }
.hs-tag small { display: block; font-weight: 400; font-size: 11.5px; color: var(--amber); font-family: var(--font-mono); letter-spacing: .03em; }
.hotspot:hover .hs-tag { border-color: var(--amber); }
.hotspot.flip { flex-direction: row-reverse; }
.hotspot.flip .hs-dot { margin: -7px -7px 0 0; }
.hotspot.flip .hs-tag { margin: -7px 10px 0 0; text-align: right; transform: translateX(0); }
.hotspot.flip { transform-origin: right; }

.scroll-cue { position: absolute; z-index: 4; right: var(--gutter-r); bottom: 24px; display: flex; align-items: center; gap: 10px; font-family: var(--font-mono); font-size: 12px; letter-spacing: .08em; color: var(--studio-ink-2); transition: opacity .4s; text-transform: uppercase; }
.scroll-cue span { width: 18px; height: 28px; border: 1.5px solid var(--studio-ink-2); border-radius: 10px; position: relative; }
.scroll-cue span::after { content: ""; position: absolute; left: 50%; top: 5px; width: 3px; height: 6px; margin-left: -1.5px; border-radius: 2px; background: var(--amber); animation: wheel 1.6s infinite; }
@keyframes wheel { 60% { transform: translateY(9px); opacity: 0; } }
.scroll-cue.gone { opacity: 0; }
.hero-fallback { position: absolute; z-index: 4; right: 24px; bottom: 24px; max-width: 320px; font-size: 13px; color: var(--studio-ink-2); }
/* ?embed=1: yalnız 3D sahne, kaydırma yok; bağlantılar tam siteyi yeni sekmede açar */
.embed-open { display: none; }
.embed, .embed body { overflow: hidden; }
.embed body > :not(main), .embed main > :not(.story) { display: none; }
.embed .story { height: 100vh; height: 100svh; }
.embed .stage { top: 0; height: 100%; min-height: 0; }
.embed .scroll-cue { display: none; }
.embed .embed-open { display: inline-flex; position: absolute; z-index: 5; top: 14px; right: var(--gutter-r); }
/* alçak ekranlarda (ve Ticimax menüsünün altındaki çerçevede) başlık küçülür, sık arananlar alt şeride binmesin */
@media (min-width: 761px) and (max-height: 860px) {
  .panel h1 { font-size: clamp(38px, 7.5vh, 84px); }
  .panel h2 { font-size: clamp(30px, 5.6vh, 56px); }
  .panel .lede { margin-top: 14px; }
  .quick { display: none; }
}
/* ?frame=1: logo, sepet ve sipariş takibi zaten Ticimax'in üst menüsünde */
.framed .logo, .framed #cartBtn, .framed #trackBtn { display: none; }
.story.no-3d { height: auto; }
.story.no-3d .stage { position: relative; top: 0; height: auto; min-height: 0; padding-block: 72px; }
.story.no-3d .panel:not([data-step="0"]), .story.no-3d .rail, .story.no-3d .scroll-cue { display: none; }

/* ---------- araç seçici ---------- */
.finder { background: var(--surface); border-bottom: 1px solid var(--line); position: relative; }
.finder::before { content: ""; position: absolute; inset: 0 0 auto; height: 4px; background: repeating-linear-gradient(90deg, var(--accent) 0 40px, var(--amber) 40px 52px, transparent 52px 60px); opacity: .9; }
.finder-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 48px; align-items: center; padding-block: 56px; }
.finder-copy h2 { font-size: clamp(30px, 3.6vw, 46px); text-transform: uppercase; font-weight: 800; margin-bottom: 14px; }
.finder-copy p { color: var(--ink-2); max-width: 52ch; }
.finder-form { display: grid; grid-template-columns: 1fr 0.7fr 1fr; gap: 12px; align-items: end; }
.finder-form .btn { grid-column: 1 / -1; }
.field { display: grid; gap: 6px; font-size: 13px; font-weight: 500; color: var(--ink-2); min-width: 0; }
.field > span { letter-spacing: .01em; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 46px; padding: 10px 12px; border-radius: var(--r); border: 1px solid var(--line-2);
  background: var(--surface); color: var(--ink); font-size: 15px; font-weight: 400;
}
.field textarea { resize: vertical; min-height: 84px; }
.field select { appearance: none; padding-right: 36px; background-image: linear-gradient(45deg, transparent 50%, var(--ink-2) 50%), linear-gradient(135deg, var(--ink-2) 50%, transparent 50%); background-position: calc(100% - 18px) 50%, calc(100% - 13px) 50%; background-size: 5px 5px; background-repeat: no-repeat; }
.field select:disabled { opacity: .55; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px color-mix(in srgb, var(--amber) 35%, transparent); }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: var(--bad); }
.field .err { color: var(--bad); font-size: 12.5px; }
.field .hint { color: var(--ink-3); font-size: 12px; font-weight: 400; }
.field-sm input { min-height: 40px; }
.garage { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; padding: 12px 14px; border-radius: var(--r); background: var(--ok-bg); color: var(--ok); font-size: 14px; }
.garage strong { color: var(--ink); }
.garage .link-btn { color: var(--ink-2); font-size: 13px; }

/* ---------- bölümler ---------- */
.section { padding-block: 72px; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 16px; flex-wrap: wrap; margin-bottom: 28px; }
.section-head h2, .results-head h2, .faq h2 { font-size: clamp(30px, 3.4vw, 44px); text-transform: uppercase; font-weight: 800; }
.section-head p { color: var(--ink-3); font-size: 13.5px; }

.cat-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.cat {
  position: relative; display: grid; grid-template-columns: 1fr; text-align: left; padding: 18px 18px 16px; border-radius: var(--r-lg);
  border: 1px solid var(--line); background: var(--surface); overflow: hidden; color: var(--ink); min-height: 220px; align-content: end;
  transition: border-color .2s, transform .2s;
}
.cat:hover { border-color: var(--ink); transform: translateY(-2px); }
.cat-img { position: absolute; right: 6px; top: 8px; width: 50%; aspect-ratio: 1; object-fit: contain; transition: transform .5s cubic-bezier(.2, .7, .2, 1); }
.cat:hover .cat-img { transform: rotate(-8deg) scale(1.06); }
.cat-n { font-family: var(--font-mono); font-size: 12px; color: var(--ink-3); position: absolute; left: 18px; top: 16px; }
.cat h3 { font-size: 24px; text-transform: uppercase; position: relative; }
.cat p { color: var(--ink-2); font-size: 13.5px; position: relative; margin-top: 4px; }
.cat.is-on { border-color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent); }
.skel { background: linear-gradient(100deg, var(--paper-2) 30%, var(--paper) 50%, var(--paper-2) 70%); background-size: 300% 100%; animation: shimmer 1.4s infinite linear; }
@keyframes shimmer { from { background-position: 100% 0; } to { background-position: 0 0; } }
img.skel { border-radius: 50%; }

/* ---------- katalog ---------- */
.catalog { background: var(--paper); border-top: 1px solid var(--line); }
.catalog-grid { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 32px; align-items: start; }
.filters { position: sticky; top: calc(var(--hdr) + 16px); display: grid; gap: 20px; max-height: calc(100vh - var(--hdr) - 32px); overflow: auto; padding-right: 4px; scrollbar-width: thin; }
.filters-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.filters-head h3 { font-size: 22px; text-transform: uppercase; }
.filters-head .link-btn { font-size: 13px; color: var(--ink-2); margin-left: auto; }
.fgroup { border: 0; margin: 0; padding: 0 0 18px; border-bottom: 1px solid var(--line); display: grid; gap: 10px; min-width: 0; }
.fgroup legend { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 10px; padding: 0; }
.checks { display: grid; gap: 4px; }
.check { display: flex; align-items: center; gap: 10px; font-size: 14px; cursor: pointer; padding: 3px 0; }
.check input { width: 17px; height: 17px; accent-color: var(--accent); margin: 0; }
.check .n { margin-left: auto; font-family: var(--font-mono); font-size: 12px; color: var(--ink-3); }
.switch { display: flex; align-items: center; gap: 10px; font-size: 14px; cursor: pointer; }
.switch input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.switch .track { width: 36px; height: 20px; border-radius: 10px; background: var(--line-2); position: relative; flex: none; transition: background-color .2s; }
.switch .track::after { content: ""; position: absolute; left: 2px; top: 2px; width: 16px; height: 16px; border-radius: 50%; background: var(--surface); transition: transform .2s; box-shadow: 0 1px 2px rgba(0, 0, 0, .2); }
.switch input:checked + .track { background: var(--ok); }
.switch input:checked + .track::after { transform: translateX(16px); }
.switch input:focus-visible + .track { outline: 2px solid var(--amber); outline-offset: 2px; }
.price-range { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }

.results-head { display: flex; justify-content: space-between; align-items: end; gap: 16px; flex-wrap: wrap; margin-bottom: 14px; }
.results-count { color: var(--ink-2); font-size: 14px; margin-top: 6px; }
.results-tools { display: flex; gap: 10px; align-items: center; }
.sort { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--ink-2); }
.sort select { min-height: 40px; border-radius: var(--r); border: 1px solid var(--line-2); background: var(--surface); padding: 0 10px; color: var(--ink); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; min-height: 0; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 5px 8px 5px 12px; border-radius: 99px; background: var(--surface); border: 1px solid var(--line-2); font-size: 13px; }
.chip button { border: 0; background: none; padding: 0; display: grid; place-items: center; color: var(--ink-3); }
.chip button:hover { color: var(--accent); }
.chip .ic { width: 15px; height: 15px; }
.chip-car { background: var(--ok-bg); border-color: transparent; color: var(--ok); }

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(232px, 1fr)); gap: 14px; }
.card { position: relative; display: flex; flex-direction: column; border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--surface); overflow: hidden; transition: border-color .2s, box-shadow .2s, transform .2s; animation: rise .45s cubic-bezier(.2, .7, .2, 1) both; }
@keyframes rise { from { opacity: .001; transform: translateY(10px); } }
.card:hover { border-color: var(--line-2); box-shadow: var(--shadow); }
.card-media { position: relative; display: grid; place-items: center; aspect-ratio: 4 / 3; border: 0; padding: 0; background: radial-gradient(70% 70% at 50% 45%, var(--surface) 0%, var(--paper-2) 100%); border-bottom: 1px solid var(--line); }
.card-media img { width: 78%; height: 92%; object-fit: contain; transition: transform .5s cubic-bezier(.2, .7, .2, 1); }
.card-media img.skel { width: 55%; height: 70%; }
.card:hover .card-media img:not(.skel) { transform: scale(1.06) rotate(-3deg); }
.badge { position: absolute; left: 10px; top: 10px; font-family: var(--font-mono); font-size: 11px; letter-spacing: .05em; text-transform: uppercase; padding: 3px 7px; border-radius: 3px; background: var(--ink); color: var(--paper); }
.badge-sale { background: var(--accent); color: #fff; }
.fav { position: absolute; right: 8px; top: 8px; z-index: 2; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); display: grid; place-items: center; color: var(--ink-2); }
.fav .ic { width: 18px; height: 18px; }
.fav:hover { color: var(--accent); }
.fav[aria-pressed="true"] { color: var(--accent); }
.fav[aria-pressed="true"] .ic path { fill: currentColor; }
.card-body { display: flex; flex-direction: column; gap: 6px; padding: 14px 14px 16px; flex: 1; }
.card-brand { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.card-title { font-family: var(--font-body); font-weight: 600; font-size: 15px; line-height: 1.32; letter-spacing: 0; }
.card-title button { border: 0; background: none; padding: 0; text-align: left; font: inherit; color: inherit; }
.card-title button:hover { text-decoration: underline; text-underline-offset: 3px; }
.card-codes { font-family: var(--font-mono); font-size: 12px; color: var(--ink-2); display: flex; flex-wrap: wrap; gap: 2px 10px; }
.card-codes span { white-space: nowrap; }
.card-codes b { font-weight: 500; color: var(--ink-3); margin-right: 4px; }
.fit { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 500; padding: 3px 8px; border-radius: 4px; width: fit-content; }
.fit .ic { width: 14px; height: 14px; }
.fit-ok { background: var(--ok-bg); color: var(--ok); }
.fit-no { background: var(--bad-bg); color: var(--bad); }
.fit-maybe { background: var(--warn-bg); color: var(--warn); }
.card-foot { display: flex; align-items: end; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 8px; }
.price { display: grid; line-height: 1.15; }
.price s { color: var(--ink-3); font-size: 13px; font-variant-numeric: tabular-nums; }
.price strong { font-family: var(--font-display); font-size: 25px; font-weight: 700; font-variant-numeric: tabular-nums; letter-spacing: .01em; }
.price small { font-size: 11px; color: var(--ink-3); }
.add { min-height: 40px; padding: 0 12px; }
.add .ic { width: 18px; height: 18px; }
.stock { font-size: 12.5px; display: flex; align-items: center; gap: 6px; color: var(--ink-2); }
.stock::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--ok); flex: none; }
.stock.low::before { background: var(--amber); }
.stock.out::before { background: var(--ink-3); }
.more-row { display: flex; justify-content: center; margin-top: 26px; }
.empty { text-align: center; padding: 48px 16px; border: 1px dashed var(--line-2); border-radius: var(--r-lg); display: grid; gap: 10px; justify-items: center; }
.empty h3 { font-size: 26px; text-transform: uppercase; }
.empty p { color: var(--ink-2); max-width: 52ch; }

/* ---------- kupon ---------- */
.promo { background: var(--navy); color: var(--studio-ink); position: relative; overflow: hidden; }
.promo::after { content: ""; position: absolute; right: -60px; top: -60px; width: 300px; height: 300px; border-radius: 50%; border: 36px solid rgba(227, 157, 23, 0.12); }
.promo-row { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding-block: 44px; flex-wrap: wrap; position: relative; z-index: 1; }
.promo h2 { font-size: clamp(26px, 3vw, 38px); text-transform: uppercase; font-weight: 800; margin-bottom: 8px; }
.promo p { color: var(--studio-ink-2); }
.promo .eyebrow-dark { color: var(--amber); }
.coupon-code { font-family: var(--font-mono); font-weight: 500; font-size: .8em; padding: 0 .35em; border: 2px dashed var(--amber); border-radius: 4px; color: var(--amber); letter-spacing: .04em; }

/* ---------- vaatler ---------- */
.promise-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; }
.promise { display: grid; gap: 8px; align-content: start; padding-top: 18px; border-top: 2px solid var(--ink); }
.promise .ic { width: 28px; height: 28px; color: var(--accent); }
.promise h3 { font-size: 22px; text-transform: uppercase; }
.promise p { color: var(--ink-2); font-size: 14px; }

/* ---------- talep ---------- */
.request { background: var(--surface); border-block: 1px solid var(--line); }
.request-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 48px; align-items: start; }
.request h2 { font-size: clamp(30px, 3.4vw, 44px); text-transform: uppercase; font-weight: 800; margin-bottom: 14px; }
.request p { color: var(--ink-2); max-width: 52ch; }
.ticks { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 10px; }
.ticks li { display: flex; gap: 10px; align-items: center; font-weight: 500; }
.ticks .ic { color: var(--ok); }
.card-form { display: grid; gap: 16px; padding: 24px; border-radius: var(--r-lg); background: var(--paper); border: 1px solid var(--line); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.span-2 { grid-column: 1 / -1; }
.form-note { font-size: 14px; padding: 12px 14px; border-radius: var(--r); background: var(--ok-bg); color: var(--ok); display: grid; gap: 8px; }
.form-note a { color: var(--ink); font-weight: 600; }

/* ---------- SSS ---------- */
.faq-grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 2fr); gap: 48px; }
.faq-list { display: grid; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; padding: 18px 0; font-weight: 600; font-size: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--font-mono); font-size: 20px; line-height: 1; color: var(--accent); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 20px; color: var(--ink-2); max-width: 68ch; }

/* ---------- footer ---------- */
.site-footer { background: var(--studio); color: var(--studio-ink-2); font-size: 14px; padding-bottom: env(safe-area-inset-bottom, 0px); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; padding-block: 56px 40px; }
.footer-brand p { margin-top: 14px; max-width: 36ch; }
.site-footer h4 { font-family: var(--font-mono); font-weight: 500; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--studio-ink); margin-bottom: 14px; }
.footer-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer-list a, .footer-list .link-btn { color: var(--studio-ink-2); text-decoration: none; }
.footer-list a:hover, .footer-list .link-btn:hover { color: var(--studio-ink); }
.footer-list .copyable { font-family: var(--font-mono); font-size: 13px; color: var(--studio-ink); user-select: all; }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-block: 20px 28px; border-top: 1px solid rgba(166, 182, 204, 0.15); font-size: 12.5px; }
.footer-bottom p:first-child { max-width: 70ch; }
.pay-marks { display: flex; gap: 6px; flex-wrap: wrap; }
.pay-marks span { font-family: var(--font-mono); font-size: 11px; padding: 3px 7px; border: 1px solid rgba(166, 182, 204, 0.3); border-radius: 3px; color: var(--studio-ink); }

/* ---------- dialog: çekmece & modal ---------- */
dialog { color: var(--ink); background: var(--surface); border: 0; padding: 0; max-width: none; max-height: none; }
dialog::backdrop { background: var(--scrim); backdrop-filter: blur(2px); }
.drawer { position: fixed; inset: 0 0 0 auto; margin: 0; width: min(440px, 100vw); height: 100%; display: none; flex-direction: column; box-shadow: var(--shadow-lg); padding-top: env(safe-area-inset-top, 0px); padding-bottom: env(safe-area-inset-bottom, 0px); padding-right: env(safe-area-inset-right, 0px); }
.drawer[open] { display: flex; animation: slideIn .35s cubic-bezier(.2, .7, .2, 1); }
@keyframes slideIn { from { transform: translateX(100%); } }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 16px 20px; border-bottom: 1px solid var(--line); }
.drawer-head h3 { font-size: 26px; text-transform: uppercase; }
.drawer-body { flex: 1; overflow: auto; padding: 8px 20px; }
.drawer-foot { border-top: 1px solid var(--line); padding: 16px 20px 20px; display: grid; gap: 12px; background: var(--surface-2); }
.ship-meter { padding: 12px 20px; font-size: 13.5px; color: var(--ink-2); border-bottom: 1px solid var(--line); display: grid; gap: 8px; }
.ship-meter strong { color: var(--ink); }
.meter { height: 6px; border-radius: 3px; background: var(--paper-2); overflow: hidden; }
.meter i { display: block; height: 100%; background: linear-gradient(90deg, var(--amber), var(--ok)); border-radius: inherit; transition: width .5s cubic-bezier(.2, .7, .2, 1); }
.line-item { display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.line-item:last-child { border-bottom: 0; }
.line-item img { width: 72px; height: 72px; border-radius: var(--r); background: var(--paper-2); object-fit: contain; }
.li-top { display: flex; justify-content: space-between; gap: 8px; }
.li-name { font-weight: 600; font-size: 14px; line-height: 1.3; border: 0; background: none; padding: 0; text-align: left; }
.li-name:hover { text-decoration: underline; }
.li-meta { font-family: var(--font-mono); font-size: 11.5px; color: var(--ink-3); margin-top: 3px; }
.li-bottom { display: flex; justify-content: space-between; align-items: center; margin-top: 10px; gap: 8px; }
.li-price { font-weight: 700; font-variant-numeric: tabular-nums; }
.stepper { display: inline-flex; align-items: center; border: 1px solid var(--line-2); border-radius: var(--r); overflow: hidden; }
.stepper button { width: 34px; height: 34px; border: 0; background: none; display: grid; place-items: center; color: var(--ink-2); }
.stepper button:hover { background: var(--paper); color: var(--ink); }
.stepper .ic { width: 16px; height: 16px; }
.stepper output, .stepper input { width: 38px; text-align: center; font-weight: 600; font-variant-numeric: tabular-nums; border: 0; background: none; padding: 0; -moz-appearance: textfield; }
.stepper input::-webkit-outer-spin-button, .stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.stepper-lg button { width: 42px; height: 46px; }
.li-remove { border: 0; background: none; color: var(--ink-3); display: grid; place-items: center; padding: 4px; }
.li-remove:hover { color: var(--bad); }
.li-remove .ic { width: 18px; height: 18px; }
.drawer-empty { padding: 48px 8px; text-align: center; display: grid; gap: 12px; justify-items: center; color: var(--ink-2); }
.drawer-empty .ic { width: 44px; height: 44px; color: var(--line-2); }
.coupon-form { display: flex; gap: 8px; }
.coupon-form input { flex: 1; min-width: 0; min-height: 42px; padding: 0 12px; border-radius: var(--r); border: 1px solid var(--line-2); background: var(--surface); font-family: var(--font-mono); text-transform: uppercase; }
.coupon-msg { font-size: 13px; }
.coupon-msg.ok { color: var(--ok); }
.coupon-msg.bad { color: var(--bad); }
.sums { display: grid; gap: 6px; font-size: 14px; }
.sums div { display: flex; justify-content: space-between; gap: 12px; }
.sums dd, .sums dt { margin: 0; }
.sums dd { font-variant-numeric: tabular-nums; font-weight: 500; }
.sums .disc dd { color: var(--ok); }
.sums .total { font-size: 18px; padding-top: 8px; border-top: 1px solid var(--line); margin-top: 4px; }
.sums .total dd { font-family: var(--font-display); font-weight: 700; font-size: 26px; }
.sums .vat { font-size: 12.5px; color: var(--ink-3); }

.modal { margin: auto; width: min(1080px, calc(100vw - 32px)); max-height: calc(100vh - 32px); max-height: calc(100dvh - 32px); border-radius: 14px; box-shadow: var(--shadow-lg); overflow: auto; }
.modal[open] { animation: pop .35s cubic-bezier(.2, .7, .2, 1); }
@keyframes pop { from { opacity: 0; transform: translateY(16px) scale(.98); } }
.modal-close { position: absolute; right: 14px; top: 14px; z-index: 5; }
.small-modal { width: min(560px, calc(100vw - 32px)); padding: 28px; }
.small-modal h3 { font-size: 30px; text-transform: uppercase; margin-bottom: 18px; padding-right: 48px; }

.pm-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); min-height: min(640px, calc(100dvh - 32px)); }
.pm-stage { position: relative; background: radial-gradient(70% 70% at 50% 42%, #22365c 0%, var(--studio) 75%); min-height: 360px; }
.pm-stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; cursor: grab; touch-action: none; }
.pm-stage canvas:active { cursor: grabbing; }
.pm-fallback { position: absolute; inset: 10%; width: 80%; height: 80%; object-fit: contain; }
.pm-hint { position: absolute; left: 16px; bottom: 14px; display: flex; gap: 8px; align-items: center; font-size: 12.5px; color: var(--studio-ink-2); font-family: var(--font-mono); pointer-events: none; }
.pm-hint .ic { width: 16px; height: 16px; }
.pm-info { padding: 32px 30px 28px; display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.pm-brand { font-family: var(--font-mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); }
.pm-info h2 { font-size: clamp(28px, 3vw, 40px); text-transform: uppercase; font-weight: 800; padding-right: 40px; }
.codes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.code { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 8px 10px; border-radius: var(--r); background: var(--paper); border: 1px solid var(--line); min-width: 0; }
.code div { min-width: 0; }
.code small { display: block; font-size: 11px; color: var(--ink-3); text-transform: uppercase; letter-spacing: .08em; font-family: var(--font-mono); }
.code b { font-family: var(--font-mono); font-weight: 500; font-size: 14px; overflow-wrap: anywhere; }
.code button { border: 0; background: none; color: var(--ink-3); padding: 4px; display: grid; place-items: center; }
.code button:hover { color: var(--ink); }
.code .ic { width: 16px; height: 16px; }
.pm-price { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.pm-price strong { font-family: var(--font-display); font-size: 42px; font-weight: 700; font-variant-numeric: tabular-nums; line-height: 1; }
.pm-price s { color: var(--ink-3); font-variant-numeric: tabular-nums; }
.pm-price .save { font-size: 12.5px; font-weight: 600; color: var(--accent); background: var(--accent-soft); padding: 2px 8px; border-radius: 4px; }
.pm-price small { color: var(--ink-3); font-size: 12.5px; width: 100%; }
.pm-buy { display: flex; gap: 10px; flex-wrap: wrap; }
.pm-buy .btn-accent { flex: 1; min-width: 180px; }
.pm-ship { display: grid; gap: 6px; font-size: 13.5px; color: var(--ink-2); padding: 12px 14px; border-radius: var(--r); background: var(--surface-2); border: 1px solid var(--line); }
.pm-ship div { display: flex; gap: 8px; align-items: center; }
.pm-ship .ic { width: 17px; height: 17px; color: var(--ink-3); }
.tabs { display: flex; gap: 2px; border-bottom: 1px solid var(--line); margin-top: 6px; overflow-x: auto; }
.tabs button { border: 0; background: none; padding: 10px 12px; font-weight: 600; font-size: 14px; color: var(--ink-3); border-bottom: 2px solid transparent; margin-bottom: -1px; white-space: nowrap; }
.tabs button[aria-selected="true"] { color: var(--ink); border-bottom-color: var(--accent); }
.tabpanel { font-size: 14px; color: var(--ink-2); }
.spec { width: 100%; border-collapse: collapse; }
.spec th, .spec td { text-align: left; padding: 8px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.spec th { font-weight: 500; color: var(--ink-3); width: 42%; }
.spec td { color: var(--ink); }
.fits-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.fits-list li { display: flex; justify-content: space-between; gap: 10px; padding: 8px 10px; border-radius: var(--r); background: var(--paper); }
.fits-list li.me { background: var(--ok-bg); color: var(--ok); font-weight: 600; }
.fits-list span:last-child { font-family: var(--font-mono); font-size: 12.5px; color: var(--ink-3); }
.related { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.rel { display: grid; gap: 4px; border: 1px solid var(--line); border-radius: var(--r); padding: 8px; background: var(--surface); text-align: left; font-size: 12.5px; }
.rel:hover { border-color: var(--ink); }
.rel img { aspect-ratio: 1; width: 100%; object-fit: contain; background: var(--paper); border-radius: 4px; }
.rel b { font-variant-numeric: tabular-nums; }
.rel span { line-height: 1.25; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pm-section-title { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); margin-top: 8px; }

/* ödeme */
.checkout-modal { width: min(1040px, calc(100vw - 32px)); }
.co-wrap { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); min-height: min(620px, calc(100dvh - 32px)); }
.co-main { padding: 28px 30px; display: grid; gap: 20px; align-content: start; min-width: 0; }
.co-main h2 { font-size: 34px; text-transform: uppercase; font-weight: 800; padding-right: 48px; }
.co-side { background: var(--surface-2); border-left: 1px solid var(--line); padding: 28px 24px; display: grid; gap: 16px; align-content: start; min-width: 0; }
.co-side h3 { font-size: 22px; text-transform: uppercase; }
.co-steps { list-style: none; margin: 0; padding: 0; display: flex; gap: 6px; counter-reset: c; flex-wrap: wrap; }
.co-steps li { display: flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--ink-3); font-weight: 500; }
.co-steps li::before { counter-increment: c; content: counter(c); width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; border: 1.5px solid var(--line-2); font-size: 12px; font-family: var(--font-mono); }
.co-steps li + li::after { order: -1; content: ""; width: 22px; height: 1.5px; background: var(--line-2); }
.co-steps li.on { color: var(--ink); }
.co-steps li.on::before { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.co-steps li.done::before { background: var(--ok); border-color: var(--ok); color: #fff; content: "✓"; }
.seg { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.opt { position: relative; display: grid; grid-template-columns: auto 1fr auto; gap: 4px 12px; align-items: start; padding: 14px; border-radius: var(--r); border: 1px solid var(--line-2); background: var(--surface); cursor: pointer; }
.opt input { margin: 3px 0 0; accent-color: var(--accent); width: 17px; height: 17px; }
.opt b { font-weight: 600; font-size: 14.5px; }
.opt small { grid-column: 2 / -1; color: var(--ink-2); font-size: 13px; }
.opt em { font-style: normal; font-size: 13px; font-weight: 600; color: var(--ok); white-space: nowrap; }
.opt:has(input:checked) { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.pay-opts { display: grid; gap: 8px; }
.notice { display: flex; gap: 10px; padding: 12px 14px; border-radius: var(--r); background: var(--warn-bg); color: var(--warn); font-size: 13.5px; }
.notice .ic { flex: none; margin-top: 1px; }
.notice p { color: var(--ink); }
.agree { display: flex; gap: 10px; align-items: start; font-size: 13.5px; color: var(--ink-2); }
.agree input { margin-top: 3px; accent-color: var(--accent); width: 17px; height: 17px; flex: none; }
.co-actions { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.co-actions .btn-accent { min-width: 200px; }
.mini-items { display: grid; gap: 10px; max-height: 260px; overflow: auto; }
.mini { display: grid; grid-template-columns: 48px 1fr auto; gap: 10px; align-items: center; font-size: 13px; }
.mini img { width: 48px; height: 48px; background: var(--paper-2); border-radius: var(--r); object-fit: contain; }
.mini b { font-variant-numeric: tabular-nums; }
.mini span { line-height: 1.3; }
.mini i { font-style: normal; color: var(--ink-3); font-family: var(--font-mono); font-size: 12px; }
.success { display: grid; gap: 16px; justify-items: start; }
.success-mark { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: var(--ok-bg); color: var(--ok); }
.success-mark .ic { width: 34px; height: 34px; }
.order-no { font-family: var(--font-mono); font-size: 22px; padding: 10px 14px; border: 1.5px dashed var(--line-2); border-radius: var(--r); user-select: all; }
.iban { font-family: var(--font-mono); font-size: 14px; padding: 10px 12px; border-radius: var(--r); background: var(--paper); border: 1px solid var(--line); user-select: all; overflow-wrap: anywhere; }

/* takip */
.track-form { display: grid; grid-template-columns: 1fr auto; gap: 10px; align-items: end; }
.timeline { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 0; }
.timeline li { position: relative; padding: 0 0 18px 30px; color: var(--ink-3); font-size: 14px; }
.timeline li::before { content: ""; position: absolute; left: 0; top: 3px; width: 14px; height: 14px; border-radius: 50%; border: 2px solid var(--line-2); background: var(--surface); }
.timeline li::after { content: ""; position: absolute; left: 7px; top: 19px; bottom: 0; width: 2px; background: var(--line); margin-left: -1px; }
.timeline li:last-child::after { display: none; }
.timeline li.done { color: var(--ink); }
.timeline li.done::before { background: var(--ok); border-color: var(--ok); }
.timeline li.now::before { background: var(--amber); border-color: var(--amber); box-shadow: 0 0 0 4px color-mix(in srgb, var(--amber) 30%, transparent); }
.timeline li b { display: block; }
.legal-body { color: var(--ink-2); display: grid; gap: 10px; font-size: 14px; }

/* WhatsApp & toast */
.wa-float { position: fixed; right: calc(18px + env(safe-area-inset-right, 0px)); bottom: calc(18px + env(safe-area-inset-bottom, 0px)); z-index: 40; display: inline-flex; align-items: center; gap: 8px; height: 50px; padding: 0 18px 0 14px; border-radius: 25px; background: #1f9d55; color: #fff; text-decoration: none; font-weight: 600; box-shadow: 0 12px 30px -10px rgba(0, 0, 0, .45); }
.wa-float svg { width: 24px; height: 24px; }
.wa-float:hover { background: #18864a; }
.toast { position: fixed; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom, 0px)); z-index: 200; transform: translate(-50%, calc(100% + 48px)); visibility: hidden; display: flex; align-items: center; gap: 12px; max-width: calc(100vw - 32px); padding: 12px 14px 12px 16px; border-radius: var(--r-lg); background: var(--ink); color: var(--paper); font-size: 14px; box-shadow: var(--shadow-lg); transition: transform .35s cubic-bezier(.2, .7, .2, 1), visibility 0s .35s; }
.toast.show { transform: translate(-50%, 0); visibility: visible; transition: transform .35s cubic-bezier(.2, .7, .2, 1); }
.toast .ic { color: var(--ok); }
.toast button { border: 0; background: none; color: var(--amber); font-weight: 600; padding: 4px 6px; white-space: nowrap; }

/* ---------- duyarlı ---------- */
@media (max-width: 1080px) {
  .cat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .promise-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cart-total { display: none; }
  .car-btn { max-width: 180px; }
}
@media (max-width: 900px) {
  .finder-grid, .request-grid, .faq-grid { grid-template-columns: 1fr; gap: 28px; }
  .catalog-grid { grid-template-columns: 1fr; }
  .only-sm { display: inline-flex !important; }
  .filters {
    position: fixed; inset: 0 auto 0 0; z-index: 90; width: min(360px, 88vw); max-height: none; height: 100%;
    background: var(--surface); padding: calc(16px + env(safe-area-inset-top, 0px)) 18px calc(18px + env(safe-area-inset-bottom, 0px)) max(18px, env(safe-area-inset-left, 0px));
    transform: translateX(-105%); transition: transform .35s cubic-bezier(.2, .7, .2, 1); box-shadow: var(--shadow-lg); align-content: start;
  }
  .filters.open { transform: none; }
  .filters-scrim { position: fixed; inset: 0; z-index: 89; background: var(--scrim); }
  .pm-grid, .co-wrap { grid-template-columns: 1fr; }
  .pm-stage { min-height: 300px; height: 44vh; }
  .co-side { border-left: 0; border-top: 1px solid var(--line); }
  .stage-copy { grid-template-columns: 1fr; align-items: end; padding-bottom: 76px; }
  .stage-shade { background: linear-gradient(0deg, rgba(10, 17, 29, 0.95) 0%, rgba(10, 17, 29, 0.75) 36%, rgba(10, 17, 29, 0) 62%); }
  .rail { position: absolute; left: var(--gutter-l); right: var(--gutter-r); bottom: 18px; flex-direction: row; justify-content: space-between; gap: 4px; }
  .rail li { flex: 1; }
  .rail button { width: 100%; flex-direction: column-reverse; align-items: stretch; gap: 6px; font-size: 10.5px; padding: 0; }
  .rail button::after { width: 100%; }
  .rail button.is-on::after { width: 100%; }
  .rail button span { text-align: left; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .scroll-cue { display: none; }
  .panel p { font-size: 15px; margin-bottom: 18px; }
  .panel .lede { margin-top: 14px; font-size: 15.5px; }
  .quick { display: none; }
}
@media (max-width: 760px) {
  :root { --hdr: 112px; }
  .hide-sm { display: none; }
  .header-row { flex-wrap: wrap; gap: 10px 8px; padding-block: 10px; }
  .search { order: 3; flex-basis: 100%; }
  .header-actions { margin-left: auto; gap: 2px; }
  .car-btn span { display: none; }
  .car-btn { width: 44px; padding: 0; justify-content: center; }
  .hbtn.icon, .cart-btn { width: 42px; padding: 0; justify-content: center; }
  .logo-word { font-size: 23px; }
  .framed .header-row { flex-wrap: nowrap; }
  .framed .search { order: 0; flex: 1 1 auto; min-width: 0; }
  .framed .header-actions { margin-left: 0; }
  .section { padding-block: 52px; }
  .cat { min-height: 180px; padding: 14px; }
  .cat h3 { font-size: 19px; }
  .cat p { display: none; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .card-body { padding: 10px 10px 12px; }
  .card-title { font-size: 13.5px; }
  .card-codes span + span { display: none; }
  .price strong { font-size: 20px; }
  .card-foot { flex-direction: column; align-items: stretch; }
  .add { width: 100%; }
  .finder-form { grid-template-columns: 1fr 1fr; }
  .finder-form label:first-child { grid-column: 1 / -1; }
  .promise-grid { grid-template-columns: 1fr; gap: 20px; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .seg { grid-template-columns: 1fr; }
  .codes { grid-template-columns: 1fr; }
  .related { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pm-info, .co-main { padding: 22px 18px; }
  .co-side { padding: 22px 18px; }
  .wa-float span { display: none; }
  .wa-float { width: 50px; padding: 0; justify-content: center; }
  .drawer { width: 100vw; }
  .modal { width: 100vw; max-height: 100dvh; height: 100dvh; border-radius: 0; }
  .small-modal { height: auto; max-height: 100dvh; border-radius: 14px 14px 0 0; margin-bottom: 0; }
  .track-form { grid-template-columns: 1fr; }
  .hs-tag small { display: none; }
  .hs-tag { font-size: 12px; padding: 4px 8px; }
  #themeBtn, #trackBtn { display: none; }
  .panel h1 { font-size: 38px; }
  .panel h2 { font-size: 30px; margin-bottom: 12px; }
  .eyebrow { margin-bottom: 12px; }
  .rail button span { visibility: hidden; }
  .rail button.is-on span { visibility: visible; overflow: visible; }
  .wa-float { width: 46px; height: 46px; bottom: calc(84px + env(safe-area-inset-bottom, 0px)); }
}
@media (max-width: 340px) {
  .grid { grid-template-columns: 1fr; }
}
html:has(dialog[open]) { overflow: hidden; }

.badge-oe { background: var(--navy); color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.25); }
.card-veh { font-size: 12px; color: var(--ink-2); font-family: var(--font-mono); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.price strong.ask, .pm-price strong.ask { font-size: 19px; color: var(--ink-2); }
.pm-price strong.ask { font-size: 30px; }
.more-brands { font-size: 13px; color: var(--ink-2); justify-self: start; margin-top: 6px; }
