/* =========================================================================
   3D Yazılımcımız — Vitrin tasarım sistemi
   Yön: "Atölye defteri" — sıcak kâğıt zemin, baskı tablası ızgarası,
   katman çizgileri, teknik ölçü etiketleri ve filament turuncusu.
   ========================================================================= */

:root {
  /* Zemin & mürekkep */
  --paper: #F3F0E8;
  --paper-2: #E9E4D8;
  --paper-3: #DDD6C6;
  --card: #FFFDF8;
  --ink: #17150F;
  --ink-2: #47433A;
  --ink-3: #6A6558;
  --line: #D8D1C1;
  --line-strong: #BDB4A0;
  --grid: rgba(23, 21, 15, .06);

  /* Vurgu */
  --accent: #FF5A1F;
  --accent-soft: #FFE4D6;
  --accent-ink: #B83A0C;

  /* Durum renkleri (stok modları) */
  --ok: #0E6B4F;      --ok-soft: #D7EEE3;
  --warn: #8A5A00;    --warn-soft: #F8E9C6;
  --info: #2F43C4;    --info-soft: #E0E4FA;
  --bad: #B42318;     --bad-soft: #F9DEDA;
  --mute: #5C5A55;    --mute-soft: #E5E2DB;

  /* Tipografi */
  --f-display: "Bricolage Grotesque", "Segoe UI", system-ui, sans-serif;
  --f-body: "Manrope", "Segoe UI", system-ui, sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, "Cascadia Code", Consolas, monospace;

  /* Ölçek */
  --r-xs: 4px; --r-sm: 8px; --r-md: 14px; --r-lg: 22px; --r-pill: 999px;
  --s-1: 4px; --s-2: 8px; --s-3: 12px; --s-4: 16px; --s-5: 24px; --s-6: 32px; --s-7: 48px; --s-8: 72px; --s-9: 112px;
  --shadow-1: 0 1px 0 rgba(23,21,15,.06), 0 1px 2px rgba(23,21,15,.06);
  --shadow-2: 0 2px 0 rgba(23,21,15,.04), 0 12px 32px -12px rgba(23,21,15,.25);
  --shadow-3: 0 30px 80px -20px rgba(23,21,15,.35);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --container: 1280px;
  --header-h: 72px;
}

/* ---------- Temel ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--f-body); font-size: 16px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
body.lock { overflow: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--f-display); line-height: 1.08; letter-spacing: -.02em; margin: 0 0 .4em; font-weight: 700; }
h1 { font-size: clamp(2.1rem, 4.4vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3vw, 2.5rem); }
h3 { font-size: 1.25rem; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
::selection { background: var(--accent); color: var(--ink); }
:focus-visible { outline: 2.5px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--ink); color: var(--paper); padding: 10px 16px; border-radius: var(--r-sm); text-decoration: none; }
.skip-link:focus { top: 12px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }
@media (min-width: 900px) { .container { padding: 0 32px; } }
.section { padding: var(--s-8) 0; }
.section--tight { padding: var(--s-7) 0; }
.muted { color: var(--ink-3); }
.mono { font-family: var(--f-mono); font-size: .8rem; letter-spacing: .02em; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--f-mono); font-size: .75rem; text-transform: uppercase; letter-spacing: .12em; color: var(--ink-2);
}
.eyebrow::before { content: ""; width: 18px; height: 2px; background: var(--accent); }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: var(--s-6); flex-wrap: wrap; }
.section-head h2 { margin: 10px 0 0; max-width: 18ch; }
.section-head p { max-width: 46ch; color: var(--ink-2); margin: 0; }
.idx { font-family: var(--f-mono); font-size: .75rem; color: var(--ink-3); }

/* Katman çizgisi ve ızgara dokuları */
.bed-grid {
  background-color: var(--paper-2);
  background-image:
    linear-gradient(var(--grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 22px 22px;
}
.layers { background-image: repeating-linear-gradient(0deg, rgba(23,21,15,.05) 0 1px, transparent 1px 5px); }

/* ---------- Butonlar ---------- */
.btn {
  --bg: var(--card); --fg: var(--ink); --bd: var(--line-strong);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 22px; border-radius: var(--r-pill);
  background: var(--bg); color: var(--fg); border: 1.5px solid var(--bd);
  font-weight: 700; font-size: .95rem; text-decoration: none; white-space: nowrap;
  transition: transform .15s var(--ease), background .2s, border-color .2s, box-shadow .2s;
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 6px 0 -2px rgba(23,21,15,.18); }
.btn:active { transform: translateY(1px); box-shadow: none; }
.btn[disabled], .btn.is-disabled { opacity: .45; pointer-events: none; }
.btn--primary { --bg: var(--ink); --fg: var(--paper); --bd: var(--ink); }
.btn--accent { --bg: var(--accent); --fg: var(--ink); --bd: var(--ink); }
.btn--accent:hover { box-shadow: 0 6px 0 -2px var(--ink); }
.btn--ghost { --bg: transparent; --bd: transparent; padding: 0 12px; }
.btn--ghost:hover { background: var(--paper-2); box-shadow: none; }
.btn--sm { min-height: 38px; padding: 0 16px; font-size: .85rem; }
.btn--lg { min-height: 56px; padding: 0 28px; font-size: 1rem; }
.btn--block { width: 100%; }
.btn svg { width: 18px; height: 18px; flex: none; }
.link-btn { background: none; border: 0; padding: 0; text-decoration: underline; text-underline-offset: 3px; font-weight: 600; color: var(--ink); }
.link-arrow { display: inline-flex; gap: 8px; align-items: center; font-weight: 700; text-decoration: none; border-bottom: 2px solid var(--accent); padding-bottom: 2px; }
.link-arrow:hover { color: var(--accent-ink); }

.icon-btn {
  position: relative; flex: none; display: inline-grid; place-items: center; width: 44px; height: 44px;
  border-radius: 50%; border: 0; background: transparent; color: var(--ink); text-decoration: none;
  transition: background .2s;
}
.icon-btn:hover { background: var(--paper-2); }
.icon-btn svg { width: 22px; height: 22px; }
.count-badge {
  position: absolute; top: 3px; right: 1px; min-width: 19px; height: 19px; padding: 0 5px;
  border-radius: 10px; background: var(--accent); color: var(--ink); border: 2px solid var(--paper);
  font: 700 .68rem/15px var(--f-body); text-align: center;
}
.count-badge:empty, .count-badge[data-count="0"] { display: none; }

/* ---------- Form ---------- */
.field { display: grid; gap: 6px; }
.field > label, .label { font-weight: 700; font-size: .88rem; }
.field .hint { font-size: .8rem; color: var(--ink-3); }
.field .err { font-size: .8rem; color: var(--bad); display: none; }
.field.has-error .err { display: block; }
.field.has-error .input, .field.has-error .select { border-color: var(--bad); background: #FFF7F5; }
.input, .select, .textarea {
  width: 100%; min-height: 48px; padding: 12px 14px; border-radius: var(--r-sm);
  border: 1.5px solid var(--line-strong); background: var(--card); transition: border-color .2s, box-shadow .2s;
}
.textarea { min-height: 110px; resize: vertical; }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 4px rgba(255,90,31,.22); }
.select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%2317150F' stroke-width='2.5'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 40px; }
.grid-2 { display: grid; gap: 16px; }
@media (min-width: 640px) { .grid-2 { grid-template-columns: 1fr 1fr; } }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: .92rem; cursor: pointer; }
.check input { appearance: none; flex: none; width: 22px; height: 22px; margin: 1px 0 0; border: 1.5px solid var(--ink); border-radius: 6px; background: var(--card); display: grid; place-items: center; cursor: pointer; }
.check input:checked { background: var(--ink); }
.check input:checked::after { content: ""; width: 11px; height: 6px; border: solid var(--paper); border-width: 0 0 2.5px 2.5px; transform: rotate(-45deg) translate(1px, -1px); }
.check input[type=radio] { border-radius: 50%; }
.check input[type=radio]:checked::after { width: 8px; height: 8px; border: 0; border-radius: 50%; background: var(--paper); transform: none; }

.switch { position: relative; display: inline-flex; align-items: center; gap: 12px; cursor: pointer; font-weight: 600; }
.switch input { appearance: none; width: 46px; height: 26px; border-radius: 20px; background: var(--paper-3); border: 1.5px solid var(--line-strong); position: relative; cursor: pointer; transition: background .2s; flex: none; margin: 0; }
.switch input::after { content: ""; position: absolute; top: 2px; left: 2px; width: 19px; height: 19px; border-radius: 50%; background: var(--card); box-shadow: var(--shadow-1); transition: transform .2s var(--ease); }
.switch input:checked { background: var(--ok); border-color: var(--ok); }
.switch input:checked::after { transform: translateX(20px); }

/* Seçim kartı (radio kart) */
.opt-card {
  position: relative; display: flex; gap: 14px; align-items: flex-start; padding: 16px 18px;
  border: 1.5px solid var(--line-strong); border-radius: var(--r-md); background: var(--card); cursor: pointer;
  transition: border-color .2s, box-shadow .2s, transform .15s;
}
.opt-card:hover { border-color: var(--ink); }
.opt-card input { position: absolute; opacity: 0; pointer-events: none; }
.opt-card:has(input:checked) { border-color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink), 4px 4px 0 var(--accent); }
.opt-card:has(input:focus-visible) { outline: 2.5px solid var(--accent); outline-offset: 3px; }
.opt-card:has(input:disabled) { opacity: .5; cursor: not-allowed; }
.opt-card .opt-title { font-weight: 800; display: block; }
.opt-card .opt-sub { font-size: .85rem; color: var(--ink-2); }
.opt-card .opt-price { margin-left: auto; font-weight: 800; white-space: nowrap; }

/* Seçici butonlar (varyant) */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 16px;
  border: 1.5px solid var(--line-strong); border-radius: var(--r-pill); background: var(--card);
  font-weight: 700; font-size: .88rem; transition: border-color .15s, background .15s;
}
.chip:hover { border-color: var(--ink); }
.chip[aria-pressed="true"], .chip.is-active { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.chip[disabled] { opacity: .4; text-decoration: line-through; cursor: not-allowed; }
.chip .x { font-size: 1.1em; line-height: 1; }

.swatches { display: flex; flex-wrap: wrap; gap: 10px; }
.swatch {
  position: relative; width: 40px; height: 40px; border-radius: 50%; border: 0; padding: 0;
  background: var(--c); box-shadow: inset 0 0 0 1px rgba(0,0,0,.15), 0 0 0 3px var(--paper), 0 0 0 4.5px transparent;
  transition: box-shadow .15s, transform .15s;
}
.swatch::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: repeating-linear-gradient(0deg, rgba(0,0,0,.08) 0 1px, transparent 1px 4px), linear-gradient(135deg, rgba(255,255,255,.35), transparent 55%); }
.swatch:hover { transform: scale(1.06); }
.swatch[aria-pressed="true"] { box-shadow: inset 0 0 0 1px rgba(0,0,0,.15), 0 0 0 3px var(--paper), 0 0 0 5px var(--ink); }
.swatch[disabled] { cursor: not-allowed; opacity: .55; }
.swatch[disabled]::before { content: ""; position: absolute; left: 50%; top: -2px; bottom: -2px; width: 2px; background: var(--bad); transform: rotate(45deg); z-index: 1; }
.swatch--sm { width: 16px; height: 16px; box-shadow: inset 0 0 0 1px rgba(0,0,0,.18); }
.swatch--sm::after { display: none; }

.qty { display: inline-flex; align-items: center; border: 1.5px solid var(--line-strong); border-radius: var(--r-pill); background: var(--card); height: 48px; }
.qty button { width: 44px; height: 100%; border: 0; background: none; font-size: 1.2rem; font-weight: 700; border-radius: var(--r-pill); }
.qty button:hover { background: var(--paper-2); }
.qty input { width: 52px; text-align: center; border: 0; background: none; font-weight: 800; -moz-appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; }
.qty--sm { height: 38px; } .qty--sm button { width: 34px; } .qty--sm input { width: 38px; }

/* ---------- Rozetler ---------- */
.badge { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: var(--r-pill); font: 700 .72rem/1.3 var(--f-body); letter-spacing: .02em; background: var(--ink); color: var(--paper); }
.badge--accent { background: var(--accent); color: var(--ink); }
.badge--soft { background: var(--paper-2); color: var(--ink); }
.badge--outline { background: var(--card); color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }

.stock { display: inline-flex; align-items: center; gap: 8px; font-size: .85rem; font-weight: 700; }
.stock::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 3px color-mix(in srgb, currentColor 20%, transparent); }
.stock--in_stock { color: var(--ok); }
.stock--made_to_order { color: var(--warn); }
.stock--pre_order { color: var(--info); }
.stock--out_of_stock { color: var(--bad); }
.stock--unavailable { color: var(--mute); }

.status-pill { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: var(--r-pill); font-weight: 800; font-size: .78rem; }
.status-pill::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.st-pending_approval, .st-submitted, .st-reviewing { background: var(--warn-soft); color: var(--warn); }
.st-approved, .st-accepted, .st-quote_sent { background: var(--info-soft); color: var(--info); }
.st-in_production { background: var(--accent-soft); color: var(--accent-ink); }
.st-shipped { background: var(--info-soft); color: var(--info); }
.st-delivered, .st-paid { background: var(--ok-soft); color: var(--ok); }
.st-cancelled, .st-rejected, .st-declined_by_customer { background: var(--bad-soft); color: var(--bad); }
.st-revision_requested { background: var(--mute-soft); color: var(--mute); }

/* ---------- Duyuru + Header ---------- */
.announce { background: var(--ink); color: var(--paper); font-size: .82rem; }
.announce .container { display: flex; align-items: center; justify-content: center; gap: 12px; min-height: 38px; text-align: center; padding-top: 6px; padding-bottom: 6px; }
.announce strong { color: var(--accent); }
.announce-close { background: none; border: 0; color: var(--paper); opacity: .7; padding: 4px 8px; margin-left: auto; }
.announce-close:hover { opacity: 1; }

.site-header { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--paper) 88%, transparent); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 8px 24px -18px rgba(23,21,15,.4); }
.header-row { display: flex; align-items: center; gap: 12px; height: var(--header-h); }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; flex: none; }
.logo svg { width: 38px; height: 38px; }
.logo-word { font-family: var(--f-display); font-weight: 800; font-size: 1.12rem; letter-spacing: -.03em; line-height: 1; }
.logo-word small { display: block; font-family: var(--f-mono); font-weight: 500; font-size: .6rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); margin-top: 4px; }

.main-nav { display: none; margin-left: 20px; }
.main-nav > ul { display: flex; gap: 2px; list-style: none; margin: 0; padding: 0; }
.nav-link { display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 12px; white-space: nowrap; border-radius: var(--r-pill); font-weight: 700; font-size: .92rem; text-decoration: none; border: 0; background: none; }
.nav-link:hover, .nav-link[aria-expanded="true"] { background: var(--paper-2); }
.nav-link.is-current { box-shadow: inset 0 -2px 0 var(--accent); border-radius: 0; }
.nav-link svg { width: 14px; height: 14px; transition: transform .2s; }
.nav-link[aria-expanded="true"] svg { transform: rotate(180deg); }
.nav-new { font-family: var(--f-mono); font-size: .62rem; background: var(--accent); padding: 1px 6px; border-radius: 6px; }

.mega {
  position: absolute; left: 0; right: 0; top: 100%; background: var(--card); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  box-shadow: var(--shadow-3); opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .2s, transform .2s var(--ease), visibility .2s;
}
.mega.is-open { opacity: 1; visibility: visible; transform: none; }
.mega-inner { display: grid; grid-template-columns: repeat(3, 1fr) 1.2fr; gap: 28px; padding: 32px 0 36px; }
.mega-cat { display: grid; grid-template-columns: 64px 1fr; gap: 14px; align-items: start; text-decoration: none; padding: 10px; border-radius: var(--r-md); }
.mega-cat:hover { background: var(--paper); }
.mega-cat .art { border-radius: var(--r-sm); }
.mega-cat strong { display: block; font-family: var(--f-display); font-size: 1.05rem; }
.mega-cat span { font-size: .82rem; color: var(--ink-3); }
.mega-promo { background: var(--ink); color: var(--paper); border-radius: var(--r-md); padding: 24px; display: flex; flex-direction: column; justify-content: space-between; gap: 16px; position: relative; overflow: hidden; }
.mega-promo h3 { font-size: 1.4rem; }
.mega-promo p { color: #CFC8B8; font-size: .9rem; }
.mega-promo::after { content: ""; position: absolute; right: -40px; bottom: -40px; width: 160px; height: 160px; border-radius: 50%; background: repeating-linear-gradient(0deg, var(--accent) 0 3px, transparent 3px 7px); opacity: .9; }

.header-search { flex: 1; max-width: 420px; margin-left: auto; position: relative; display: none; }
.search-box { display: flex; align-items: center; gap: 8px; height: 44px; padding: 0 6px 0 16px; border-radius: var(--r-pill); background: var(--card); border: 1.5px solid var(--line); transition: border-color .2s; }
.search-box:focus-within { border-color: var(--ink); }
.search-box svg { width: 18px; height: 18px; color: var(--ink-3); flex: none; }
.search-box input { flex: 1; min-width: 0; border: 0; background: none; outline: none; height: 100%; }
.search-box kbd { font-family: var(--f-mono); font-size: .7rem; border: 1px solid var(--line-strong); border-radius: 5px; padding: 1px 6px; color: var(--ink-3); }
.search-results { position: absolute; left: 0; right: 0; top: calc(100% + 8px); background: var(--card); border: 1px solid var(--line); border-radius: var(--r-md); box-shadow: var(--shadow-3); padding: 8px; display: none; z-index: 60; max-height: 70vh; overflow: auto; }
.search-results.is-open { display: block; }
.sr-item { display: grid; grid-template-columns: 48px 1fr auto; gap: 12px; align-items: center; padding: 8px; border-radius: var(--r-sm); text-decoration: none; }
.sr-item:hover, .sr-item.is-active { background: var(--paper); }
.sr-item .art { border-radius: 6px; }
.sr-item strong { font-size: .92rem; display: block; }
.sr-item span { font-size: .78rem; color: var(--ink-3); }
.sr-item mark { background: var(--accent-soft); color: inherit; border-radius: 3px; }
.sr-empty { padding: 16px; font-size: .9rem; color: var(--ink-2); }
.sr-all { display: block; text-align: center; padding: 10px; font-weight: 700; font-size: .88rem; border-top: 1px solid var(--line); margin-top: 6px; }

.header-actions { display: flex; align-items: center; gap: 2px; margin-left: auto; }
.lang-switch { display: none; align-items: center; height: 34px; border: 1.5px solid var(--line-strong); border-radius: var(--r-pill); padding: 2px; margin-right: 6px; }
.lang-switch button { border: 0; background: none; height: 100%; padding: 0 10px; border-radius: var(--r-pill); font: 700 .72rem var(--f-mono); }
.lang-switch button[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.menu-toggle { display: inline-grid; }
.search-toggle { display: inline-grid; }

@media (max-width: 1079px) { .mega { display: none; } }
/* Grid öğeleri içeriklerine göre genişleyip sayfayı taşırmasın */
.account > *, .listing > *, .pdp > *, .cart-layout > *, .wiz > *, .contact > *, .hero-grid > *, .grid-2 > *, .footer-top > * { min-width: 0; }
html, body { overflow-x: clip; }
@media (max-width: 400px) {
  .logo-word { font-size: .9rem !important; }
  .logo { gap: 6px; }
  .header-actions .icon-btn { width: 36px !important; height: 36px !important; }
  .header-row .menu-toggle { width: 36px; height: 36px; }
}
@media (max-width: 520px) {
  .header-row { gap: 4px; }
  .logo-word { font-size: 1rem; }
  .logo-word small { display: none; }
  .logo svg { width: 32px; height: 32px; }
  .header-actions .icon-btn { width: 40px; height: 40px; }
  .header-actions a[href*="favoriler"] { display: none; }
}
@media (min-width: 1080px) {
  .main-nav { display: block; margin-left: 12px; }
  .header-search { display: block; margin-left: 16px; max-width: 360px; }
  .lang-switch { display: inline-flex; }
  .menu-toggle, .search-toggle { display: none; }
  .header-actions { margin-left: 8px; }
}

/* Mobil arama satırı */
.mobile-search { display: none; padding: 0 0 14px; position: relative; }
.mobile-search.is-open { display: block; }
@media (min-width: 1080px) { .mobile-search { display: none !important; } }

/* ---------- Çekmeceler (drawer) ---------- */
.scrim { position: fixed; inset: 0; background: rgba(23,21,15,.45); z-index: 90; opacity: 0; visibility: hidden; transition: opacity .25s, visibility .25s; }
.scrim.is-open { opacity: 1; visibility: visible; }
.drawer {
  position: fixed; top: 0; bottom: 0; right: 0; width: min(440px, 100%); z-index: 100; background: var(--paper);
  display: flex; flex-direction: column; transform: translateX(100%); transition: transform .32s var(--ease); box-shadow: var(--shadow-3);
}
.drawer--left { right: auto; left: 0; transform: translateX(-100%); }
.drawer.is-open { transform: none; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 18px 20px; border-bottom: 1px solid var(--line); }
.drawer-head h2 { font-size: 1.3rem; margin: 0; }
.drawer-body { flex: 1; overflow: auto; padding: 20px; }
.drawer-foot { padding: 18px 20px 22px; border-top: 1px solid var(--line); background: var(--card); }

.mnav-list { list-style: none; padding: 0; margin: 0 0 24px; }
.mnav-list a, .mnav-list button { display: flex; width: 100%; align-items: center; justify-content: space-between; padding: 14px 4px; border: 0; border-bottom: 1px solid var(--line); background: none; text-decoration: none; font-family: var(--f-display); font-weight: 700; font-size: 1.25rem; text-align: left; }
.mnav-list svg { width: 20px; height: 20px; flex: none; transition: transform .2s; }
.mnav-list [aria-expanded="true"] svg { transform: rotate(180deg); }
.mnav-sub { list-style: none; padding: 4px 0 8px 12px; margin: 0; display: none; }
.mnav-sub.is-open { display: block; }
.mnav-sub a { font-family: var(--f-body); font-size: 1rem; font-weight: 600; padding: 10px 4px; border-bottom: 0; justify-content: flex-start; gap: 12px; }

/* Mini sepet */
.mc-item { display: grid; grid-template-columns: 76px 1fr; gap: 14px; padding: 14px 0; border-bottom: 1px dashed var(--line-strong); }
.mc-item .art { border-radius: var(--r-sm); }
.mc-item h4 { font-family: var(--f-body); font-size: .95rem; margin: 0 0 2px; letter-spacing: 0; }
.mc-item .meta { font-size: .8rem; color: var(--ink-3); }
.mc-row { display: flex; justify-content: space-between; align-items: center; margin-top: 8px; }
.ship-progress { margin-bottom: 14px; font-size: .85rem; }
.bar { height: 8px; border-radius: 8px; background: var(--paper-3); overflow: hidden; margin-top: 8px; }
.bar > span { display: block; height: 100%; background: repeating-linear-gradient(-45deg, var(--accent) 0 6px, #FF7A45 6px 12px); border-radius: inherit; transition: width .5s var(--ease); }
.total-row { display: flex; justify-content: space-between; align-items: baseline; font-weight: 800; margin-bottom: 12px; }
.total-row strong { font-family: var(--f-display); font-size: 1.5rem; }

/* ---------- Ürün görseli (SVG sanat) ---------- */
.art { position: relative; aspect-ratio: 1; overflow: hidden; border-radius: var(--r-md); }
.art svg { width: 100%; height: 100%; }
.art--bed { background-color: var(--paper-2); background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px); background-size: 22px 22px; background-position: center; }

/* ---------- Ürün kartı ---------- */
.product-grid { display: grid; gap: 28px 20px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 820px) { .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1180px) { .product-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.pcard { position: relative; display: flex; flex-direction: column; }
.pcard-media { position: relative; display: block; border-radius: var(--r-md); overflow: hidden; }
.pcard-media .art { transition: transform .5s var(--ease); }
.pcard:hover .pcard-media .art svg { transform: scale(1.05) rotate(-1deg); }
.pcard-media .art svg { transition: transform .6s var(--ease); }
.pcard-badges { position: absolute; top: 12px; left: 12px; display: flex; flex-direction: column; gap: 6px; align-items: flex-start; z-index: 2; }
.fav-btn { position: absolute; top: 10px; right: 10px; z-index: 2; width: 40px; height: 40px; border-radius: 50%; border: 0; display: grid; place-items: center; background: var(--card); box-shadow: var(--shadow-1); transition: transform .15s; }
.fav-btn:hover { transform: scale(1.08); }
.fav-btn svg { width: 19px; height: 19px; }
.fav-btn[aria-pressed="true"] svg { fill: var(--accent); stroke: var(--accent-ink); }
.pcard-quick { position: absolute; left: 12px; right: 12px; bottom: 12px; z-index: 2; opacity: 0; transform: translateY(8px); transition: opacity .2s, transform .25s var(--ease); }
.pcard:hover .pcard-quick, .pcard:focus-within .pcard-quick { opacity: 1; transform: none; }
@media (hover: none) { .pcard-quick { display: none; } }
.pcard-body { padding: 14px 2px 0; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.pcard-cat { font-family: var(--f-mono); font-size: .7rem; text-transform: uppercase; letter-spacing: .1em; color: var(--ink-3); }
.pcard-title { font-family: var(--f-display); font-weight: 700; font-size: 1.08rem; line-height: 1.2; letter-spacing: -.01em; text-decoration: none; }
.pcard-title::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.pcard-dots { display: flex; gap: 4px; align-items: center; }
.pcard-dots small { font-size: .75rem; color: var(--ink-3); margin-left: 4px; }
.pcard-foot { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; margin-top: auto; padding-top: 4px; flex-wrap: wrap; }
.price { font-family: var(--f-display); font-weight: 800; font-size: 1.15rem; letter-spacing: -.01em; }
.price del { font-family: var(--f-body); font-weight: 600; font-size: .82rem; color: var(--ink-3); margin-left: 6px; }
.price .from { font-family: var(--f-body); font-size: .75rem; font-weight: 600; color: var(--ink-3); }
.price--sale { color: var(--accent-ink); }
.rating { display: inline-flex; align-items: center; gap: 4px; font-size: .8rem; font-weight: 700; }
.rating svg { width: 14px; height: 14px; fill: var(--ink); }
.stars { display: inline-flex; gap: 1px; }
.stars svg { width: 16px; height: 16px; }
.stars .on { fill: var(--accent); }
.stars .off { fill: var(--paper-3); }
.pcard.is-row { flex-direction: row; gap: 20px; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 48px 0 72px; overflow: hidden; }
.hero-grid { display: grid; gap: 40px; align-items: center; }
@media (min-width: 980px) { .hero-grid { grid-template-columns: 1.02fr 1fr; gap: 56px; } .hero { padding: 64px 0 96px; } }
.hero h1 { font-size: clamp(2.6rem, 6.4vw, 5.2rem); line-height: .98; letter-spacing: -.04em; margin: 18px 0 22px; }
.hero h1 em { font-style: normal; position: relative; white-space: nowrap; }
.hero h1 em::after { content: ""; position: absolute; left: -2%; right: -2%; bottom: .06em; height: .2em; background: repeating-linear-gradient(0deg, var(--accent) 0 3px, transparent 3px 6px); z-index: -1; }
.hero-lead { font-size: 1.15rem; color: var(--ink-2); max-width: 48ch; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 32px; }
.hero-facts { display: grid; grid-template-columns: repeat(3, auto); gap: 28px; justify-content: start; }
@media (max-width: 520px) { .hero-facts { grid-template-columns: repeat(3, 1fr); gap: 12px; } .hero-facts strong { font-size: 1.25rem; white-space: nowrap; } }
.hero-facts div { border-left: 2px solid var(--ink); padding-left: 12px; }
.hero-facts strong { display: block; font-family: var(--f-display); font-size: 1.6rem; line-height: 1; }
.hero-facts span { font-size: .8rem; color: var(--ink-3); }

.printer {
  position: relative; border-radius: var(--r-lg); background: var(--ink); color: var(--paper); padding: 18px;
  box-shadow: var(--shadow-3); isolation: isolate;
}
.printer-top { display: flex; justify-content: space-between; align-items: center; font-family: var(--f-mono); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: #BDB5A3; padding: 2px 6px 14px; }
.printer-top .live { display: inline-flex; align-items: center; gap: 8px; color: var(--paper); }
.printer-top .live::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); animation: pulse 1.4s infinite; }
@keyframes pulse { 50% { opacity: .3; } }
.printer-stage { position: relative; border-radius: var(--r-md); overflow: hidden; background: #24211A; aspect-ratio: 1 / .92; }
.printer-stage::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px); background-size: 26px 26px; }
.printer-stage svg { position: relative; width: 100%; height: 100%; }
.printer-hud { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; margin-top: 14px; border-radius: var(--r-sm); overflow: hidden; background: #3A362C; }
.printer-hud div { background: #1F1C16; padding: 10px 12px; }
.printer-hud span { display: block; font-family: var(--f-mono); font-size: .62rem; text-transform: uppercase; letter-spacing: .1em; color: #A9A190; }
.printer-hud strong { font-family: var(--f-mono); font-size: .95rem; font-weight: 600; }
.printer-progress { height: 4px; background: #3A362C; border-radius: 4px; margin-top: 12px; overflow: hidden; }
.printer-progress span { display: block; height: 100%; width: 0; background: var(--accent); }
.printer-tag { position: absolute; z-index: 2; background: var(--paper); color: var(--ink); border-radius: var(--r-sm); padding: 10px 14px; box-shadow: var(--shadow-2); font-size: .82rem; }
.printer-tag strong { display: block; font-family: var(--f-display); font-size: 1rem; }
.printer-tag--a { left: -18px; top: 30%; transform: rotate(-3deg); }
.printer-tag--b { right: -14px; bottom: 22%; transform: rotate(2deg); }
@media (max-width: 600px) { .printer-tag { display: none; } .printer-hud { grid-template-columns: repeat(2, 1fr); } }

/* Marquee şerit */
.ticker { border-block: 1.5px solid var(--ink); background: var(--accent); overflow: hidden; }
.ticker-track { display: flex; gap: 40px; width: max-content; padding: 14px 0; animation: ticker 38s linear infinite; font-family: var(--f-display); font-weight: 700; font-size: 1.15rem; }
.ticker-track span { display: inline-flex; align-items: center; gap: 40px; white-space: nowrap; }
.ticker-track span::after { content: "✦"; font-size: .9rem; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* Onay ilkesi şeridi */
.flow { display: grid; gap: 0; border: 1.5px solid var(--ink); border-radius: var(--r-lg); background: var(--card); overflow: hidden; }
@media (min-width: 860px) { .flow { grid-template-columns: repeat(4, 1fr); } }
.flow-step { position: relative; padding: 28px 26px 30px; border-bottom: 1.5px dashed var(--line-strong); }
@media (min-width: 860px) { .flow-step { border-bottom: 0; border-right: 1.5px dashed var(--line-strong); } .flow-step:last-child { border-right: 0; } }
.flow-step:last-child { border-bottom: 0; }
.flow-step .n { font-family: var(--f-mono); font-size: .72rem; color: var(--ink-3); }
.flow-step h3 { margin: 14px 0 8px; }
.flow-step p { color: var(--ink-2); font-size: .92rem; margin: 0; }
.flow-step .ico { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: var(--paper-2); }
.flow-step .ico svg { width: 24px; height: 24px; }
.flow-step.is-key { background: var(--ink); color: var(--paper); }
.flow-step.is-key p { color: #D4CDBD; }
.flow-step.is-key .n { color: #A9A190; }
.flow-step.is-key .ico { background: var(--accent); color: var(--ink); }

/* Kategori kutuları */
.cat-grid { display: grid; gap: 16px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 900px) {
  .cat-grid { grid-template-columns: repeat(12, 1fr); }
  .cat-tile { grid-column: span 3; min-height: 250px; }
  .cat-tile:nth-child(1), .cat-tile:nth-child(6) { grid-column: span 6; }
  .cat-tile:nth-child(6) .art { width: 52%; right: -2%; bottom: -12%; }
}
.cat-tile { position: relative; display: flex; flex-direction: column; justify-content: space-between; min-height: 200px; border-radius: var(--r-lg); padding: 20px; text-decoration: none; overflow: hidden; border: 1.5px solid var(--line); transition: border-color .2s, transform .2s var(--ease); }
.cat-tile:hover { border-color: var(--ink); transform: translateY(-3px); }
.cat-tile .art { position: absolute; right: -8%; bottom: -10%; width: 70%; aspect-ratio: 1; background: none; }
@media (min-width: 900px) { .cat-tile:nth-child(1) .art { width: 52%; right: -2%; bottom: -12%; } }
.cat-tile h3 { font-size: 1.35rem; margin: 0; position: relative; }
.cat-tile .cnt { position: relative; font-family: var(--f-mono); font-size: .72rem; color: var(--ink-3); }
.cat-tile .go { position: relative; width: 40px; height: 40px; border-radius: 50%; border: 1.5px solid var(--ink); display: grid; place-items: center; background: var(--card); transition: background .2s; }
.cat-tile:hover .go { background: var(--accent); }
.cat-tile .go svg { width: 18px; height: 18px; }

/* Satış kanalları */
.channels { display: grid; gap: 16px; }
@media (min-width: 900px) { .channels { grid-template-columns: repeat(3, 1fr); } }
.channel { position: relative; display: flex; flex-direction: column; gap: 14px; padding: 28px; border-radius: var(--r-lg); background: var(--card); border: 1.5px solid var(--line); min-height: 340px; overflow: hidden; }
.channel .k { font-family: var(--f-mono); font-size: .72rem; text-transform: uppercase; letter-spacing: .12em; color: var(--ink-3); }
.channel h3 { font-size: 1.7rem; margin: 0; }
.channel p { color: var(--ink-2); margin: 0; }
.channel ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; font-size: .9rem; }
.channel li::before { content: "→ "; color: var(--accent-ink); font-weight: 800; }
.channel .btn { margin-top: auto; align-self: flex-start; }
.channel--dark { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.channel--dark p, .channel--dark .k { color: #CFC8B8; }
.channel--dark li::before { color: var(--accent); }
.channel--accent { background: var(--accent); border-color: var(--ink); }
.channel--accent .k, .channel--accent p { color: var(--ink); }
.channel--accent li::before { color: var(--ink); }

/* Sekmeler */
.tabs { display: flex; gap: 6px; flex-wrap: wrap; }
.tab { border: 1.5px solid var(--line-strong); background: transparent; border-radius: var(--r-pill); padding: 8px 16px; font-weight: 700; font-size: .9rem; }
.tab[aria-selected="true"] { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.tabs--line { gap: 0; border-bottom: 1.5px solid var(--line); flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
.tabs--line .tab { border: 0; border-radius: 0; padding: 14px 18px; border-bottom: 3px solid transparent; margin-bottom: -1.5px; white-space: nowrap; color: var(--ink-2); }
.tabs--line .tab[aria-selected="true"] { background: none; color: var(--ink); border-bottom-color: var(--accent); }
.tab-panel[hidden] { display: none; }

/* Malzeme gezgini */
.mat-explorer { display: grid; gap: 24px; background: var(--card); border: 1.5px solid var(--line); border-radius: var(--r-lg); padding: 24px; }
@media (min-width: 960px) { .mat-explorer { grid-template-columns: 300px 1fr; padding: 32px; gap: 40px; } }
.mat-list { display: grid; gap: 6px; }
.mat-btn { display: flex; justify-content: space-between; align-items: center; text-align: left; padding: 14px 16px; border-radius: var(--r-md); border: 1.5px solid transparent; background: var(--paper); font-weight: 700; }
.mat-btn small { font-family: var(--f-mono); font-size: .7rem; color: var(--ink-3); }
.mat-btn[aria-selected="true"] { background: var(--ink); color: var(--paper); }
.mat-btn[aria-selected="true"] small { color: #BDB5A3; }
.mat-detail h3 { font-size: 2rem; margin-bottom: 6px; }
.meters { display: grid; gap: 14px; margin: 24px 0; }
@media (min-width: 640px) { .meters { grid-template-columns: 1fr 1fr; gap: 18px 32px; } }
.meter-label { display: flex; justify-content: space-between; font-size: .85rem; font-weight: 700; margin-bottom: 6px; }
.meter-label span:last-child { font-family: var(--f-mono); font-weight: 500; color: var(--ink-3); }
.meter { display: grid; grid-template-columns: repeat(5, 1fr); gap: 4px; }
.meter i { height: 10px; border-radius: 3px; background: var(--paper-3); transition: background .3s; }
.meter i.on { background: var(--ink); }
.meter i.on:last-of-type { background: var(--accent); }
.mat-specs { display: flex; flex-wrap: wrap; gap: 10px; }

/* Yorum vitrini */
.review-strip { display: grid; gap: 16px; }
@media (min-width: 860px) { .review-strip { grid-template-columns: repeat(3, 1fr); } }
.review-card { margin: 0; background: var(--card); border: 1.5px solid var(--line); border-radius: var(--r-lg); padding: 24px; display: flex; flex-direction: column; gap: 12px; }
.review-card blockquote { margin: 0; font-size: 1.02rem; }
.review-card .who { display: flex; align-items: center; gap: 12px; margin-top: auto; font-size: .85rem; }
.avatar { width: 38px; height: 38px; border-radius: 50%; background: var(--ink); color: var(--paper); display: grid; place-items: center; font-weight: 800; font-size: .85rem; flex: none; }
.verified { display: inline-flex; align-items: center; gap: 4px; font-size: .72rem; font-weight: 700; color: var(--ok); }

.ref-row { display: flex; flex-wrap: wrap; gap: 12px 40px; align-items: center; justify-content: center; padding: 28px 0; border-block: 1px solid var(--line); }
.ref-row span { font-family: var(--f-display); font-weight: 700; font-size: 1.25rem; color: var(--ink-3); letter-spacing: -.02em; }

/* CTA bandı */
.cta-band { position: relative; border-radius: var(--r-lg); background: var(--ink); color: var(--paper); padding: 48px 28px; overflow: hidden; display: grid; gap: 24px; }
@media (min-width: 900px) { .cta-band { grid-template-columns: 1.3fr 1fr; padding: 64px; align-items: center; } }
.cta-band h2 { font-size: clamp(2rem, 4vw, 3.2rem); }
.cta-band p { color: #CFC8B8; }
.cta-band .layers-deco { position: absolute; right: -60px; top: -60px; width: 360px; height: 360px; border-radius: 50%; background: repeating-linear-gradient(0deg, rgba(255,90,31,.85) 0 4px, transparent 4px 10px); opacity: .35; }
.cta-band > * { position: relative; }

/* SSS akordeon */
.acc { border-top: 1.5px solid var(--ink); }
.acc-item { border-bottom: 1px solid var(--line-strong); }
.acc-btn { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 0; background: none; border: 0; text-align: left; font-family: var(--f-display); font-weight: 700; font-size: 1.12rem; }
.acc-btn .pm { position: relative; flex: none; width: 30px; height: 30px; border-radius: 50%; border: 1.5px solid var(--ink); }
.acc-btn .pm::before, .acc-btn .pm::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; background: var(--ink); transform: translate(-50%, -50%); transition: transform .25s var(--ease); }
.acc-btn .pm::after { transform: translate(-50%, -50%) rotate(90deg); }
.acc-btn[aria-expanded="true"] .pm { background: var(--accent); }
.acc-btn[aria-expanded="true"] .pm::after { transform: translate(-50%, -50%) rotate(0); }
.acc-panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .3s var(--ease); }
.acc-panel > div { overflow: hidden; }
.acc-panel.is-open { grid-template-rows: 1fr; }
.acc-panel p { color: var(--ink-2); padding: 0 48px 20px 0; margin: 0; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #D9D2C2; margin-top: var(--s-8); }
.footer-top { display: grid; gap: 40px; padding: 64px 0 40px; }
@media (min-width: 900px) { .footer-top { grid-template-columns: 1.4fr repeat(3, 1fr); } }
.site-footer h4 { font-family: var(--f-mono); font-size: .72rem; font-weight: 500; text-transform: uppercase; letter-spacing: .12em; color: #A39B8A; margin-bottom: 14px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--accent); }
.site-footer .logo-word { color: var(--paper); }
.site-footer .logo-word small { color: #A39B8A; }
.newsletter { margin-top: 22px; max-width: 420px; }
.newsletter p { font-size: .9rem; }
.nl-row { display: flex; gap: 8px; margin: 12px 0 10px; }
.nl-row .input { background: #24211A; border-color: #4A4537; color: var(--paper); min-height: 46px; }
.nl-row .input::placeholder { color: #8E8676; }
.newsletter .check { font-size: .78rem; color: #B9B1A0; }
.newsletter .check input { border-color: #8E8676; background: transparent; }
.newsletter .check input:checked { background: var(--accent); border-color: var(--accent); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; padding: 22px 0 30px; border-top: 1px solid #39352B; font-size: .8rem; color: #A39B8A; }
.pay-icons { display: flex; gap: 8px; flex-wrap: wrap; }
.pay-icons span { font-family: var(--f-mono); font-size: .66rem; border: 1px solid #4A4537; padding: 4px 8px; border-radius: 6px; }
.footer-giant { font-family: var(--f-display); font-weight: 800; letter-spacing: -.05em; font-size: clamp(3rem, 13vw, 11rem); line-height: .8; color: #26231C; white-space: nowrap; overflow: hidden; padding-top: 10px; user-select: none; }

/* WhatsApp + toast + çerez */
.wa-btn { position: fixed; right: 18px; bottom: 18px; z-index: 40; width: 56px; height: 56px; border-radius: 50%; background: #1FAF55; color: #fff; display: grid; place-items: center; box-shadow: var(--shadow-2); transition: transform .2s; }
.wa-btn:hover { transform: scale(1.06); }
.wa-btn svg { width: 28px; height: 28px; }
body.has-sticky-buy .wa-btn { bottom: 96px; }

.toasts { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 300; display: grid; gap: 8px; width: min(440px, calc(100% - 32px)); }
.toast { display: flex; align-items: center; gap: 12px; background: var(--ink); color: var(--paper); padding: 14px 16px; border-radius: var(--r-md); box-shadow: var(--shadow-3); animation: toast-in .35s var(--ease); font-size: .92rem; }
.toast .ti { flex: none; width: 26px; height: 26px; border-radius: 50%; background: var(--accent); color: var(--ink); display: grid; place-items: center; font-weight: 900; }
.toast.is-error .ti { background: #FF8A80; }
.toast a { color: var(--accent); font-weight: 700; margin-left: auto; white-space: nowrap; }
.toast.is-out { animation: toast-out .3s forwards; }
@keyframes toast-in { from { opacity: 0; transform: translateY(16px) scale(.98); } }
@keyframes toast-out { to { opacity: 0; transform: translateY(10px); } }

.cookie { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 120; max-width: 520px; background: var(--card); border: 1.5px solid var(--ink); border-radius: var(--r-lg); padding: 22px; box-shadow: var(--shadow-3); }
@media (min-width: 700px) { .cookie { left: 24px; bottom: 24px; } }
.cookie h3 { font-size: 1.15rem; margin-bottom: 6px; }
.cookie p { font-size: .88rem; color: var(--ink-2); }
.cookie-opts { display: grid; gap: 10px; margin: 6px 0 16px; padding: 14px; border-radius: var(--r-md); background: var(--paper); }
.cookie-opts[hidden] { display: none; }
.cookie-actions { display: flex; flex-wrap: wrap; gap: 8px; }

/* Modal */
.modal { position: fixed; inset: 0; z-index: 150; display: grid; place-items: center; padding: 16px; opacity: 0; visibility: hidden; transition: opacity .2s, visibility .2s; }
.modal.is-open { opacity: 1; visibility: visible; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(23,21,15,.5); }
.modal-box { position: relative; width: min(640px, 100%); max-height: 88vh; overflow: auto; background: var(--paper); border-radius: var(--r-lg); box-shadow: var(--shadow-3); transform: translateY(12px) scale(.98); transition: transform .3s var(--ease); }
.modal.is-open .modal-box { transform: none; }
.modal-head { position: sticky; top: 0; display: flex; justify-content: space-between; align-items: center; padding: 18px 22px; background: var(--paper); border-bottom: 1px solid var(--line); z-index: 1; }
.modal-head h2 { font-size: 1.3rem; margin: 0; }
.modal-body { padding: 22px; }
.modal-body .doc { font-size: .9rem; color: var(--ink-2); }
.modal-body .doc h4 { font-family: var(--f-body); font-size: .95rem; color: var(--ink); margin: 18px 0 6px; letter-spacing: 0; }

/* ---------- Sayfa başlığı + breadcrumb ---------- */
.page-head { padding: 28px 0 32px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; padding: 0; margin: 0 0 18px; font-size: .82rem; color: var(--ink-3); }
.crumbs li:not(:last-child)::after { content: "/"; margin-left: 6px; color: var(--line-strong); }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--ink); text-decoration: underline; }
.crumbs [aria-current] { color: var(--ink); font-weight: 600; }
.page-head h1 { margin: 0 0 10px; }
.page-head p { color: var(--ink-2); max-width: 60ch; margin: 0; }

/* ---------- Liste sayfası ---------- */
.listing { display: grid; gap: 32px; padding-bottom: var(--s-8); }
@media (min-width: 1000px) { .listing { grid-template-columns: 260px 1fr; gap: 44px; } }
.filters { display: none; }
@media (min-width: 1000px) { .filters { display: block; position: sticky; top: calc(var(--header-h) + 16px); align-self: start; max-height: calc(100vh - var(--header-h) - 32px); overflow: auto; padding-right: 6px; } }
.fgroup { border-bottom: 1px solid var(--line); padding: 18px 0; }
.fgroup:first-child { padding-top: 0; }
.fgroup h3 { font-family: var(--f-mono); font-size: .72rem; font-weight: 500; text-transform: uppercase; letter-spacing: .12em; color: var(--ink-2); margin: 0 0 12px; }
.fgroup .check { padding: 5px 0; font-size: .9rem; }
.fgroup .check .c { margin-left: auto; font-family: var(--f-mono); font-size: .72rem; color: var(--ink-3); }
.filters-sheet-head, .filters-sheet-foot { display: none; }
.filters.is-sheet { display: flex; flex-direction: column; position: fixed; top: 0; bottom: 0; left: 0; width: min(380px, 100%); z-index: 100; background: var(--paper); box-shadow: var(--shadow-3); animation: sheet-in .3s var(--ease); }
.filters.is-sheet .filters-sheet-head { display: flex; }
.filters.is-sheet form { flex: 1; overflow: auto; padding: 20px; }
.filters.is-sheet .filters-sheet-foot { display: block; padding: 16px 20px; border-top: 1px solid var(--line); background: var(--card); }
@keyframes sheet-in { from { transform: translateX(-100%); } }
.price-range { display: grid; grid-template-columns: 1fr auto 1fr; gap: 8px; align-items: center; }
.price-range .input { min-height: 40px; padding: 8px 10px; }
.toolbar { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; padding-bottom: 18px; border-bottom: 1px solid var(--line); margin-bottom: 20px; }
.toolbar .count { font-size: .9rem; color: var(--ink-2); }
.toolbar .select { min-height: 42px; width: auto; padding-top: 8px; padding-bottom: 8px; font-weight: 600; }
.toolbar-r { display: flex; gap: 8px; align-items: center; }
.filter-open { display: inline-flex; }
@media (min-width: 1000px) { .filter-open { display: none; } }
.active-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.active-filters:empty { display: none; }
.pager { display: flex; justify-content: center; gap: 6px; margin-top: 48px; }
.pager button { min-width: 44px; height: 44px; border-radius: var(--r-pill); border: 1.5px solid var(--line-strong); background: var(--card); font-weight: 700; }
.pager button[aria-current="page"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.pager button:disabled { opacity: .4; }
.empty { text-align: center; padding: 64px 24px; border: 1.5px dashed var(--line-strong); border-radius: var(--r-lg); }
.empty svg { width: 120px; margin: 0 auto 16px; }
.empty h2, .empty h3 { margin-bottom: 8px; }
.empty p { color: var(--ink-2); max-width: 42ch; margin: 0 auto 20px; }
.cat-intro { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 20px; }

/* ---------- Ürün detay ---------- */
.pdp { display: grid; gap: 36px; padding-bottom: var(--s-7); }
@media (min-width: 1000px) { .pdp { grid-template-columns: 1.08fr 1fr; gap: 56px; } }
.gallery { display: grid; gap: 12px; }
@media (min-width: 1000px) { .gallery { position: sticky; top: calc(var(--header-h) + 16px); align-self: start; grid-template-columns: 76px 1fr; } }
.g-main { position: relative; border-radius: var(--r-lg); overflow: hidden; cursor: zoom-in; order: -1; }
@media (min-width: 1000px) { .g-main { order: 2; } }
.g-main .art { border-radius: var(--r-lg); }
.g-main .art svg { transition: transform .2s ease-out; transform-origin: var(--zx, 50%) var(--zy, 50%); }
.g-main.is-zoom .art svg { transform: scale(1.8); }
.g-thumbs { display: flex; gap: 10px; overflow-x: auto; }
@media (min-width: 1000px) { .g-thumbs { flex-direction: column; order: 1; } }
.g-thumb { flex: none; width: 76px; border-radius: var(--r-sm); border: 2px solid transparent; padding: 0; background: none; overflow: hidden; }
.g-thumb .art { border-radius: 6px; }
.g-thumb[aria-current="true"] { border-color: var(--ink); }
.dim { position: absolute; font-family: var(--f-mono); font-size: .7rem; color: var(--ink-2); pointer-events: none; }
.dim--h { left: 12%; right: 12%; bottom: 5%; display: flex; align-items: center; gap: 8px; }
.dim--h::before, .dim--h::after { content: ""; flex: 1; height: 1px; background: var(--ink-3); }
.dim--v { top: 12%; bottom: 14%; right: 4%; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.dim--v::before, .dim--v::after { content: ""; flex: 1; width: 1px; background: var(--ink-3); }
.dim--v span { writing-mode: vertical-rl; }
.g-tools { position: absolute; right: 14px; top: 14px; display: flex; gap: 8px; z-index: 2; }
.g-tools .badge { font-family: var(--f-mono); font-weight: 500; }

.buy h1 { font-size: clamp(2rem, 3.6vw, 2.9rem); margin: 10px 0 12px; }
.buy-meta { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; font-size: .88rem; }
.buy-meta a { color: var(--ink-2); }
.buy-price { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; margin: 20px 0 6px; }
.buy-price .now { font-family: var(--f-display); font-weight: 800; font-size: 2.3rem; letter-spacing: -.03em; line-height: 1; }
.buy-price del { color: var(--ink-3); font-weight: 600; }
.tax-note { font-size: .8rem; color: var(--ink-3); }
.summary-box { margin: 20px 0; padding: 16px 18px; border-left: 3px solid var(--accent); background: var(--card); border-radius: 0 var(--r-sm) var(--r-sm) 0; font-size: .95rem; color: var(--ink-2); }
.opt-block { padding: 18px 0; border-top: 1px solid var(--line); }
.opt-block .label { display: flex; justify-content: space-between; margin-bottom: 12px; }
.opt-block .label span { font-weight: 500; color: var(--ink-2); }
.delivery-box { display: grid; grid-template-columns: auto 1fr; gap: 14px; padding: 16px 18px; border-radius: var(--r-md); background: var(--card); border: 1.5px solid var(--line); margin: 6px 0 18px; }
.delivery-box .ico { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--paper-2); }
.delivery-box .ico svg { width: 22px; height: 22px; }
.delivery-box strong { display: block; }
.delivery-box small { color: var(--ink-3); }
details.opt-block > summary { list-style: none; }
details.opt-block > summary::-webkit-details-marker { display: none; }
details.opt-block > summary span::after { content: "  +"; font-weight: 800; color: var(--ink); }
details.opt-block[open] > summary span::after { content: "  −"; }
.tier-table { width: 100%; border-collapse: collapse; font-size: .88rem; }
.tier-table th, .tier-table td { padding: 9px 10px; text-align: left; border-bottom: 1px solid var(--line); }
.tier-table th { font-family: var(--f-mono); font-weight: 500; font-size: .7rem; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-3); }
.tier-table tr.is-active td { background: var(--accent-soft); font-weight: 800; }
.buy-row { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 8px; }
.buy-row .btn--accent { flex: 1; min-width: 200px; }
.approval-note { display: flex; gap: 12px; padding: 14px 16px; border-radius: var(--r-md); background: var(--ink); color: var(--paper); font-size: .86rem; margin-top: 16px; }
.approval-note svg { width: 22px; height: 22px; flex: none; color: var(--accent); }
.approval-note p { margin: 0; color: #DCD5C5; }
.custom-note { font-size: .84rem; padding: 12px 14px; border-radius: var(--r-sm); background: var(--warn-soft); color: #5E3E00; margin-top: 12px; }
.bulk-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 16px; font-weight: 700; font-size: .9rem; }
.bulk-link svg, .link-arrow svg { width: 18px; height: 18px; flex: none; }
.char-count { font-family: var(--f-mono); font-size: .72rem; color: var(--ink-3); text-align: right; }

.spec-table { width: 100%; border-collapse: collapse; }
.spec-table th, .spec-table td { text-align: left; padding: 14px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.spec-table th { width: 38%; font-family: var(--f-mono); font-size: .76rem; font-weight: 500; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-3); padding-right: 16px; }
.pdp-tabs { padding: var(--s-6) 0 0; }
.pdp-tabs .tab-panel { padding: 28px 0; max-width: 820px; }
.rating-sum { display: grid; gap: 24px; margin-bottom: 28px; }
@media (min-width: 700px) { .rating-sum { grid-template-columns: 200px 1fr; } }
.rating-big { font-family: var(--f-display); font-size: 3.6rem; font-weight: 800; line-height: 1; }
.dist { display: grid; gap: 6px; font-size: .82rem; }
.dist div { display: grid; grid-template-columns: 30px 1fr 34px; gap: 10px; align-items: center; }
.dist .bar { margin: 0; height: 8px; }
.dist .bar span { background: var(--ink); }
.review { padding: 20px 0; border-bottom: 1px solid var(--line); }
.review h4 { font-family: var(--f-body); letter-spacing: 0; font-size: 1rem; margin: 8px 0 4px; }
.review .meta { font-size: .8rem; color: var(--ink-3); display: flex; gap: 10px; flex-wrap: wrap; }

.sticky-buy { position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; display: flex; align-items: center; gap: 12px; padding: 12px 16px; background: var(--card); border-top: 1.5px solid var(--ink); transform: translateY(110%); transition: transform .3s var(--ease); }
.sticky-buy.is-on { transform: none; }
.sticky-buy .price { font-size: 1.2rem; }
.sticky-buy .btn { margin-left: auto; }
@media (min-width: 1000px) { .sticky-buy { display: none; } }
@media (max-width: 999px) { body.has-sticky-buy { padding-bottom: 72px; } .sticky-buy { padding-bottom: max(12px, env(safe-area-inset-bottom)); } }

/* ---------- Sepet ---------- */
.cart-layout { display: grid; gap: 32px; padding-bottom: var(--s-8); }
@media (min-width: 1000px) { .cart-layout { grid-template-columns: 1fr 400px; gap: 48px; align-items: start; } }
.cart-line { display: grid; grid-template-columns: 96px 1fr; gap: 18px; padding: 22px 0; border-bottom: 1px solid var(--line); }
@media (min-width: 640px) { .cart-line { grid-template-columns: 120px 1fr auto; } }
.cart-line .art { border-radius: var(--r-md); }
.cart-line h3 { font-size: 1.12rem; margin: 0 0 4px; }
.cart-line h3 a { text-decoration: none; }
.cart-line .meta { font-size: .85rem; color: var(--ink-2); display: grid; gap: 2px; }
.cart-line .pers { font-size: .82rem; background: var(--paper-2); padding: 6px 10px; border-radius: 6px; margin-top: 8px; display: inline-block; }
.cart-line .actions { display: flex; align-items: center; gap: 14px; margin-top: 12px; flex-wrap: wrap; }
.cart-line .lp { text-align: right; grid-column: 2; }
@media (min-width: 640px) { .cart-line .lp { grid-column: auto; } }
.cart-line .lp .price { font-size: 1.25rem; }
.cart-line .lp small { display: block; font-size: .78rem; color: var(--ink-3); }
.tier-hint { font-size: .78rem; color: var(--ok); font-weight: 700; }
.summary { background: var(--card); border: 1.5px solid var(--ink); border-radius: var(--r-lg); padding: 24px; }
@media (min-width: 1000px) { .summary { position: sticky; top: calc(var(--header-h) + 16px); } }
.summary h2 { font-size: 1.4rem; }
.sum-row { display: flex; justify-content: space-between; padding: 8px 0; font-size: .94rem; }
.sum-row.discount { color: var(--ok); font-weight: 700; }
.sum-row.total { border-top: 1.5px solid var(--ink); margin-top: 10px; padding-top: 16px; font-weight: 800; align-items: baseline; }
.sum-row.total strong { font-family: var(--f-display); font-size: 1.8rem; letter-spacing: -.02em; }
.coupon { display: flex; gap: 8px; margin: 16px 0 6px; }
.coupon .input { min-height: 44px; text-transform: uppercase; }
.coupon-msg { font-size: .82rem; min-height: 1.2em; }
.coupon-msg.ok { color: var(--ok); } .coupon-msg.bad { color: var(--bad); }
.trust { display: grid; gap: 10px; margin-top: 18px; font-size: .82rem; color: var(--ink-2); }
.trust div { display: flex; gap: 10px; align-items: center; }
.trust svg { width: 18px; height: 18px; flex: none; }

/* ---------- Ödeme adımı ---------- */
.checkout-head { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); }
.secure { display: inline-flex; gap: 8px; align-items: center; font-size: .85rem; font-weight: 700; color: var(--ok); }
.secure svg { width: 18px; height: 18px; }
.stepper { display: flex; gap: 0; list-style: none; padding: 0; margin: 8px 0 32px; counter-reset: s; }
.stepper li { flex: 1; position: relative; padding-top: 34px; font-size: .82rem; font-weight: 700; color: var(--ink-3); text-align: center; }
.stepper li::before { counter-increment: s; content: counter(s); position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 28px; height: 28px; border-radius: 50%; border: 1.5px solid var(--line-strong); background: var(--paper); display: grid; place-items: center; font-family: var(--f-mono); font-size: .75rem; z-index: 1; }
.stepper li::after { content: ""; position: absolute; top: 14px; left: -50%; right: 50%; height: 2px; background: var(--line); }
.stepper li:first-child::after { display: none; }
.stepper li.is-done, .stepper li.is-current { color: var(--ink); }
.stepper li.is-done::before { content: "✓"; background: var(--ink); color: var(--paper); border-color: var(--ink); }
.stepper li.is-current::before { background: var(--accent); border-color: var(--ink); color: var(--ink); }
.stepper li.is-done::after, .stepper li.is-current::after { background: var(--ink); }
.co-step { background: var(--card); border: 1.5px solid var(--line); border-radius: var(--r-lg); margin-bottom: 16px; overflow: hidden; }
.co-step.is-current { border-color: var(--ink); }
.co-step-head { display: flex; align-items: center; gap: 14px; padding: 20px 22px; }
.co-step-head .n { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--paper-2); font-family: var(--f-mono); font-size: .8rem; font-weight: 700; flex: none; }
.co-step.is-current .co-step-head .n { background: var(--accent); }
.co-step.is-done .co-step-head .n { background: var(--ink); color: var(--paper); }
.co-step-head h2 { font-size: 1.2rem; margin: 0; flex: 1; }
.co-step-head .sum { font-size: .85rem; color: var(--ink-2); }
.co-step-body { padding: 4px 22px 24px; display: none; }
.co-step.is-current .co-step-body { display: block; }
.co-step.is-done .edit { display: inline-flex; }
.co-step .edit { display: none; }
.co-done-summary { display: none; padding: 0 22px 20px 68px; font-size: .9rem; color: var(--ink-2); }
.co-step.is-done .co-done-summary { display: block; }
.seg { display: inline-flex; padding: 4px; background: var(--paper-2); border-radius: var(--r-pill); margin-bottom: 16px; }
.seg button { border: 0; background: none; padding: 8px 18px; border-radius: var(--r-pill); font-weight: 700; font-size: .88rem; }
.seg button[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.opts { display: grid; gap: 10px; }
.notice { display: flex; gap: 12px; padding: 16px 18px; border-radius: var(--r-md); background: var(--accent-soft); border: 1.5px solid var(--accent); font-size: .9rem; margin: 16px 0; }
.notice svg { width: 22px; height: 22px; flex: none; color: var(--accent-ink); }
.notice p { margin: 0; }
.notice--ink { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.notice--ink svg { color: var(--accent); }
.co-items { display: grid; gap: 12px; margin-bottom: 14px; max-height: 300px; overflow: auto; }
.co-item { display: grid; grid-template-columns: 56px 1fr auto; gap: 12px; align-items: center; font-size: .88rem; }
.co-item .art { border-radius: 8px; }
.co-item .q { position: relative; }
.co-item .q b { position: absolute; top: -6px; right: -6px; min-width: 20px; height: 20px; border-radius: 10px; background: var(--ink); color: var(--paper); font-size: .7rem; display: grid; place-items: center; padding: 0 5px; }
.secure-pane { position: fixed; inset: 0; z-index: 200; background: rgba(23,21,15,.75); display: none; place-items: center; padding: 16px; }
.secure-pane.is-open { display: grid; }
.secure-card { width: min(420px, 100%); background: var(--card); border-radius: var(--r-lg); padding: 32px 28px; text-align: center; }
.secure-card .spinner { width: 54px; height: 54px; margin: 0 auto 20px; border-radius: 50%; border: 4px solid var(--paper-3); border-top-color: var(--accent); animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Teşekkür / sipariş takip ---------- */
.thanks-hero { text-align: center; padding: 56px 0 24px; }
.thanks-hero .stamp { width: 96px; height: 96px; margin: 0 auto 22px; border-radius: 50%; background: var(--accent); border: 2px solid var(--ink); display: grid; place-items: center; box-shadow: 6px 6px 0 var(--ink); }
.thanks-hero .stamp svg { width: 44px; height: 44px; }
.thanks-hero h1 { max-width: 18ch; margin: 0 auto 14px; }
.thanks-hero p { max-width: 56ch; margin: 0 auto; color: var(--ink-2); }
.order-no { display: inline-flex; gap: 10px; align-items: center; margin-top: 18px; padding: 8px 16px; border: 1.5px dashed var(--ink); border-radius: var(--r-pill); font-family: var(--f-mono); font-size: .9rem; }
.timeline { display: grid; gap: 0; list-style: none; padding: 0; margin: 0; }
@media (min-width: 760px) { .timeline { grid-template-columns: repeat(5, 1fr); } }
.timeline li { position: relative; padding: 0 0 22px 44px; font-size: .9rem; }
@media (min-width: 760px) { .timeline li { padding: 44px 10px 0 0; } }
.timeline li::before { content: ""; position: absolute; left: 0; top: 0; width: 28px; height: 28px; border-radius: 50%; border: 2px solid var(--line-strong); background: var(--paper); z-index: 1; }
.timeline li::after { content: ""; position: absolute; left: 13px; top: 28px; bottom: 0; width: 2px; background: var(--line); }
@media (min-width: 760px) { .timeline li::after { left: 28px; right: 0; top: 13px; bottom: auto; width: auto; height: 2px; } }
.timeline li:last-child::after { display: none; }
.timeline li strong { display: block; }
.timeline li small { color: var(--ink-3); }
.timeline li.is-done::before { background: var(--ink); border-color: var(--ink); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23F3F0E8' stroke-width='3'%3E%3Cpath d='m5 12 5 5 9-10'/%3E%3C/svg%3E"); background-size: 14px; background-position: center; background-repeat: no-repeat; }
.timeline li.is-done::after { background: var(--ink); }
.timeline li.is-current::before { background: var(--accent); border-color: var(--ink); box-shadow: 0 0 0 6px rgba(255,90,31,.25); animation: ring 1.8s infinite; }
@keyframes ring { 50% { box-shadow: 0 0 0 10px rgba(255,90,31,.08); } }
.panel { background: var(--card); border: 1.5px solid var(--line); border-radius: var(--r-lg); padding: 24px; }
.panel + .panel { margin-top: 16px; }
.panel h2 { font-size: 1.3rem; }
.kv { display: grid; grid-template-columns: auto 1fr; gap: 8px 20px; font-size: .9rem; margin: 0; }
.kv dt { color: var(--ink-3); }
.kv dd { margin: 0; font-weight: 600; }

/* ---------- Hesabım ---------- */
.account { display: grid; gap: 28px; padding-bottom: var(--s-8); }
@media (min-width: 960px) { .account { grid-template-columns: 250px 1fr; gap: 44px; } }
.acc-nav { display: flex; gap: 6px; overflow-x: auto; padding-bottom: 4px; }
@media (min-width: 960px) { .acc-nav { flex-direction: column; position: sticky; top: calc(var(--header-h) + 16px); align-self: start; } }
.acc-nav a { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: var(--r-md); text-decoration: none; font-weight: 700; white-space: nowrap; font-size: .92rem; }
.acc-nav a:hover { background: var(--paper-2); }
.acc-nav a[aria-current="page"] { background: var(--ink); color: var(--paper); }
.acc-nav a svg { width: 18px; height: 18px; }
.acc-nav .sep { height: 1px; background: var(--line); margin: 8px 0; }
.acc-user { display: flex; gap: 14px; align-items: center; margin-bottom: 24px; }
.acc-user .avatar { width: 56px; height: 56px; font-size: 1.2rem; background: var(--accent); color: var(--ink); border: 2px solid var(--ink); }
.stat-grid { display: grid; gap: 12px; grid-template-columns: repeat(2, 1fr); margin-bottom: 24px; }
@media (min-width: 760px) { .stat-grid { grid-template-columns: repeat(4, 1fr); } }
.stat { background: var(--card); border: 1.5px solid var(--line); border-radius: var(--r-md); padding: 18px; }
.stat span { font-size: .8rem; color: var(--ink-3); }
.stat strong { display: block; font-family: var(--f-display); font-size: 2rem; line-height: 1.1; }
.order-card { background: var(--card); border: 1.5px solid var(--line); border-radius: var(--r-lg); padding: 20px 22px; margin-bottom: 14px; }
.order-card-head { display: flex; flex-wrap: wrap; gap: 10px 20px; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.order-card-head .no { font-family: var(--f-mono); font-weight: 600; }
.order-card-head .date { font-size: .85rem; color: var(--ink-3); }
.order-thumbs { display: flex; gap: 8px; }
.order-thumbs .art { width: 60px; border-radius: 8px; }
.order-card-foot { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: space-between; margin-top: 16px; padding-top: 14px; border-top: 1px dashed var(--line-strong); }
.order-detail { margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line); }
.addr-grid { display: grid; gap: 14px; }
@media (min-width: 700px) { .addr-grid { grid-template-columns: 1fr 1fr; } }
.addr { background: var(--card); border: 1.5px solid var(--line); border-radius: var(--r-md); padding: 20px; font-size: .92rem; position: relative; }
.addr.is-default { border-color: var(--ink); }
.addr h3 { font-size: 1.05rem; display: flex; gap: 8px; align-items: center; }
.addr-add { display: grid; place-items: center; gap: 8px; min-height: 170px; border: 1.5px dashed var(--line-strong); border-radius: var(--r-md); background: transparent; font-weight: 700; }
.addr-add:hover { border-color: var(--ink); background: var(--card); }
.quote { background: var(--paper); border-radius: var(--r-md); padding: 16px; margin-top: 14px; }

/* ---------- Giriş ---------- */
.auth { display: grid; min-height: calc(100vh - var(--header-h) - 38px); }
@media (min-width: 960px) { .auth { grid-template-columns: 1fr 1fr; } }
.auth-art { display: none; position: relative; background: var(--ink); color: var(--paper); padding: 56px; overflow: hidden; }
@media (min-width: 960px) { .auth-art { display: flex; flex-direction: column; justify-content: space-between; } }
.auth-art h2 { font-size: 2.6rem; max-width: 14ch; }
.auth-art p { color: #CFC8B8; max-width: 40ch; }
.auth-art .stack { position: absolute; right: -40px; bottom: 60px; width: 380px; }
.auth-form { display: grid; place-items: center; padding: 40px 20px 64px; }
.auth-card { width: min(440px, 100%); }
.auth-card form { display: grid; gap: 16px; }
.pw-wrap { position: relative; }
.pw-wrap .input { padding-right: 52px; }
.pw-toggle { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); }
.divider { display: flex; align-items: center; gap: 14px; color: var(--ink-3); font-size: .82rem; margin: 6px 0; }
.divider::before, .divider::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.pw-meter { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; }
.pw-meter i { height: 4px; border-radius: 2px; background: var(--paper-3); }
.pw-meter[data-s="1"] i:nth-child(-n+1) { background: var(--bad); }
.pw-meter[data-s="2"] i:nth-child(-n+2) { background: var(--warn); }
.pw-meter[data-s="3"] i:nth-child(-n+3) { background: var(--info); }
.pw-meter[data-s="4"] i { background: var(--ok); }

/* ---------- Özel sipariş sihirbazı ---------- */
.wiz-hero { padding: 28px 0 8px; }
.wiz { display: grid; gap: 32px; padding-bottom: var(--s-8); }
@media (min-width: 1040px) { .wiz { grid-template-columns: 1fr 360px; gap: 48px; align-items: start; } }
.wiz-progress { position: sticky; top: var(--header-h); z-index: 5; background: var(--paper); padding: 14px 0 12px; margin-bottom: 8px; }
.wiz-progress .top { display: flex; justify-content: space-between; font-size: .82rem; font-weight: 700; margin-bottom: 8px; }
.wiz-progress .top span:last-child { font-family: var(--f-mono); font-weight: 500; color: var(--ink-3); }
.wiz-bar { display: grid; grid-template-columns: repeat(8, 1fr); gap: 4px; }
.wiz-bar button { height: 8px; border: 0; padding: 0; border-radius: 4px; background: var(--paper-3); }
.wiz-bar button.is-done { background: var(--ink); }
.wiz-bar button.is-current { background: var(--accent); }
.wiz-bar button:disabled { cursor: default; }
.wiz-step { display: none; animation: step-in .35s var(--ease); }
.wiz-step.is-current { display: block; }
@keyframes step-in { from { opacity: 0; transform: translateX(12px); } }
.wiz-step h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); }
.wiz-step > p.lead { color: var(--ink-2); margin-bottom: 24px; }
.type-grid { display: grid; gap: 12px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 760px) { .type-grid { grid-template-columns: repeat(3, 1fr); } }
.type-card { flex-direction: column; gap: 10px; min-height: 150px; }
.type-card .ti { width: 46px; height: 46px; border-radius: 12px; background: var(--paper-2); display: grid; place-items: center; }
.type-card .ti svg { width: 24px; height: 24px; }
.dropzone { display: grid; place-items: center; text-align: center; gap: 10px; padding: 40px 20px; border: 2px dashed var(--line-strong); border-radius: var(--r-lg); background: var(--card); transition: border-color .2s, background .2s; cursor: pointer; }
.dropzone.is-over { border-color: var(--accent); background: var(--accent-soft); }
.dropzone svg { width: 48px; height: 48px; color: var(--ink-2); }
.dropzone strong { font-family: var(--f-display); font-size: 1.2rem; }
.dropzone small { color: var(--ink-3); }
.file-list { display: grid; gap: 10px; margin-top: 16px; }
.file-item { display: grid; grid-template-columns: 44px 1fr auto; gap: 14px; align-items: center; padding: 12px 14px; background: var(--card); border: 1.5px solid var(--line); border-radius: var(--r-md); }
.file-item .ext { width: 44px; height: 44px; border-radius: 10px; background: var(--ink); color: var(--paper); display: grid; place-items: center; font-family: var(--f-mono); font-size: .68rem; font-weight: 700; }
.file-item .ext.img { background: var(--info); }
.file-item strong { display: block; font-size: .9rem; word-break: break-all; }
.file-item small { font-size: .78rem; color: var(--ink-3); }
.file-item.is-error { border-color: var(--bad); background: #FFF7F5; }
.file-item.is-error small { color: var(--bad); }
.model-card { display: grid; gap: 16px; margin-top: 16px; padding: 18px; border-radius: var(--r-md); background: var(--ink); color: var(--paper); }
@media (min-width: 640px) { .model-card { grid-template-columns: 160px 1fr; } }
.model-card .box3d { aspect-ratio: 1; border-radius: var(--r-sm); background: #24211A; display: grid; place-items: center; }
.model-card .kv dt { color: #A9A190; }
.model-card h4 { font-family: var(--f-mono); font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; color: #A9A190; margin-bottom: 10px; }
.mat-cards { display: grid; gap: 10px; }
@media (min-width: 700px) { .mat-cards { grid-template-columns: 1fr 1fr; } }
.mat-card { flex-direction: column; gap: 6px; }
.mat-card .tags { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 4px; }
.mat-card .tags span { font-size: .7rem; font-family: var(--f-mono); padding: 2px 8px; border-radius: 10px; background: var(--paper-2); }
.size-grid { display: grid; gap: 10px; grid-template-columns: repeat(3, 1fr); margin-bottom: 18px; }
.size-card { flex-direction: column; align-items: center; text-align: center; gap: 6px; }
.size-card .sz { display: grid; place-items: end center; height: 64px; }
.size-card .sz i { display: block; background: repeating-linear-gradient(0deg, var(--ink) 0 2px, var(--ink-2) 2px 4px); border-radius: 4px 4px 2px 2px; }
.speed-cards { display: grid; gap: 10px; }
@media (min-width: 700px) { .speed-cards { grid-template-columns: 1fr 1fr; } }
.wiz-nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--line); }
.wiz-aside { display: grid; gap: 16px; }
@media (min-width: 1040px) { .wiz-aside { position: sticky; top: calc(var(--header-h) + 80px); } }
.draft-state { display: inline-flex; align-items: center; gap: 8px; font-size: .78rem; color: var(--ink-3); font-family: var(--f-mono); }
.draft-state::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--ok); }
.est { padding: 20px; border-radius: var(--r-md); background: var(--ink); color: var(--paper); }
.est .range { font-family: var(--f-display); font-size: 1.9rem; font-weight: 800; letter-spacing: -.02em; line-height: 1.1; margin: 6px 0; }
.est small { color: #CFC8B8; }
.mode-switch { display: inline-flex; gap: 4px; padding: 4px; border-radius: var(--r-pill); background: var(--paper-2); margin-top: 14px; }
.mode-switch a { padding: 8px 16px; border-radius: var(--r-pill); text-decoration: none; font-weight: 700; font-size: .88rem; }
.mode-switch a[aria-current="page"] { background: var(--ink); color: var(--paper); }
.success-panel { text-align: center; padding: 48px 24px; }

/* ---------- İletişim ---------- */
.contact { display: grid; gap: 32px; padding-bottom: var(--s-8); }
@media (min-width: 960px) { .contact { grid-template-columns: 1fr 1.2fr; gap: 56px; } }
.contact-cards { display: grid; gap: 12px; }
.contact-card { display: flex; gap: 16px; padding: 20px; background: var(--card); border: 1.5px solid var(--line); border-radius: var(--r-md); text-decoration: none; }
.contact-card .ico { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: var(--paper-2); flex: none; }
.contact-card .ico svg { width: 22px; height: 22px; }
.contact-card span { font-size: .82rem; color: var(--ink-3); }
.contact-card strong { display: block; }
.map { border-radius: var(--r-lg); overflow: hidden; border: 1.5px solid var(--line); }
.hp { position: absolute; left: -9999px; }

/* ---------- 404 ---------- */
.nf { min-height: 70vh; display: grid; place-items: center; text-align: center; padding: 48px 0; }
.nf .code { font-family: var(--f-display); font-weight: 800; font-size: clamp(6rem, 22vw, 14rem); line-height: .85; letter-spacing: -.06em; background: repeating-linear-gradient(0deg, var(--ink) 0 5px, transparent 5px 9px); -webkit-background-clip: text; background-clip: text; color: transparent; }
.nf svg { width: min(360px, 80%); margin: 0 auto; }

/* ---------- Animasyon / reveal ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Mobil düzeltmeler ---------- */
.pcard-cat { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.price .from { display: block; line-height: 1.2; }
@media (max-width: 759px) {
  .announce { font-size: .74rem; }
  .announce .container { min-height: 34px; gap: 8px; text-align: left; }
  .section { padding: 56px 0; }
  .section-head { margin-bottom: 24px; }
  .product-grid { gap: 24px 12px; }
  .pcard-body { gap: 4px; padding-top: 10px; }
  .pcard-title { font-size: .98rem; }
  .pcard-foot { flex-direction: column; align-items: flex-start; gap: 2px; }
  .price { font-size: 1.05rem; }
  .pcard-badges { top: 8px; left: 8px; }
  .fav-btn { top: 6px; right: 6px; width: 36px; height: 36px; }
  .tabs:not(.tabs--line) { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; width: 100%; padding-bottom: 2px; }
  .tabs:not(.tabs--line) .tab { white-space: nowrap; flex: none; }
  .mat-explorer { padding: 18px; }
  .mat-list { display: flex; overflow-x: auto; scrollbar-width: none; gap: 8px; margin: 0 -18px; padding: 0 18px 4px; }
  .mat-btn { flex: none; flex-direction: column; align-items: flex-start; gap: 2px; padding: 10px 14px; }
  .mat-detail h3 { font-size: 1.6rem; }
  .cat-tile { min-height: 170px; padding: 16px; }
  .cat-tile h3 { font-size: 1.1rem; }
  .channel { min-height: 0; padding: 22px; }
  .channel h3 { font-size: 1.45rem; }
  .flow-step { padding: 22px 20px; }
  .cta-band { padding: 36px 22px; }
  .cta-band .btn { width: 100%; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 32px 20px; padding-top: 48px; }
  .footer-top > div:first-child { grid-column: 1 / -1; }
  .footer-top > div:last-child { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; gap: 10px; }
  .review-card { padding: 20px; }
  .page-head { padding: 20px 0 24px; }
  .wa-btn { width: 50px; height: 50px; right: 14px; bottom: 14px; }
  .auth { min-height: 0; }
  .auth-form { place-items: start center; padding: 28px 20px 56px; }
  .auth-card h1 { font-size: 1.9rem !important; }
  .cart-line { gap: 14px; padding: 18px 0; }
  .cart-line .actions { gap: 4px 14px; font-size: .85rem; }
  .cart-line .actions .qty { margin-right: 4px; }
  .cart-line h3 { font-size: 1.02rem; }
  .summary { padding: 20px; }
  .co-step-head { padding: 16px; gap: 12px; }
  .co-step-body { padding: 4px 16px 20px; }
  .co-done-summary { padding: 0 16px 16px 60px; }
  .checkout-head .secure { font-size: .75rem; }
  .stepper li { font-size: .72rem; }
  .wiz-step h2 { font-size: 1.6rem; }
  .type-card { min-height: 0; padding: 14px; }
  .order-card { padding: 16px; }
  .panel { padding: 20px; }
  .toasts { bottom: 76px; }
}

/* Yardımcılar */
.flex { display: flex; } .items-center { align-items: center; } .gap-2 { gap: 8px; } .gap-3 { gap: 12px; } .wrap { flex-wrap: wrap; }
.mt-0 { margin-top: 0; } .mt-2 { margin-top: 8px; } .mt-4 { margin-top: 16px; } .mt-6 { margin-top: 32px; } .mb-0 { margin-bottom: 0; } .mb-4 { margin-bottom: 16px; }
.text-center { text-align: center; }
.hidden { display: none !important; }
