/* Otobüs Sepeti – ortak stil. Sade mağaza düzeni: beyaz zemin, kare ürün kartları, hap düğmeler.
   Tabela bileşeninin ölçüleri onaylı taslaktan (tasarim/_orijinal/index.html) alındı. */
:root {
  --bg: #FFFFFF;
  --soft: #F5F5F4;
  --surface: #FFFFFF;
  --ink: #222222;
  --muted: #595959;
  --line: #E1E1E1;
  --navy: #15315A;
  --blue: #2B7BC6;
  --signal: #E5532F;
  --primary: #222222;
  --primary-ink: #FFFFFF;
  --sign-body: #F2EBDD;
  --sign-ink: #111111;
  --sign-glow: #FFF6DC;
  --ok: #1F7A4D;
  --warn: #A6470A;
  --warn-bg: #FFF4E5;
  --font-display: "Barlow Condensed", "Arial Narrow", "Roboto Condensed", sans-serif;
  --font-body: "Figtree", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --radius: 12px;
  /* Klasik mağaza görünümü: cihaz karanlık modda olsa da site her zaman beyaz zeminde açılır. */
  color-scheme: light;
}

html, body { margin: 0; }
img { max-width: 100%; }
[hidden] { display: none !important; }
* { box-sizing: border-box; }
body { background: var(--bg); color: var(--ink); font-family: var(--font-body); font-size: 16px; line-height: 1.55; overflow-x: hidden; }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 10; background: var(--surface); }
a { color: inherit; }
h1, h2, h3 { line-height: 1.2; text-wrap: balance; margin: 0; font-weight: 600; }
p { margin: 0; }
.wrap { max-width: 1240px; margin: 0 auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 4px; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 20; background: var(--surface); color: var(--ink); padding: 10px 14px; border-radius: 8px; font-weight: 700; }
.skip:focus { top: 12px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* Taslak bandı (panelden açılıp kapanır) */
.draft { background: var(--soft); color: var(--muted); font-size: 13px; text-align: center; padding-block: 6px; border-bottom: 1px solid var(--line); }

/* Üst bar */
header.top { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 5; background: var(--surface); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; gap: 24px; padding-block: 10px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; min-width: 0; }
.brand .logo { width: 44px; height: 44px; object-fit: contain; background: #fff; border-radius: 50%; border: 1px solid var(--line); flex: none; display: block; }
.brand b { font-size: 20px; font-weight: 700; color: var(--navy); letter-spacing: -.01em; }
.brand b span { color: var(--signal); }
.brand small { display: block; font-size: 12px; color: var(--muted); margin-top: -2px; }
nav.menu { display: flex; gap: 4px; margin-left: auto; font-weight: 500; font-size: 15px; }
nav.menu a { text-decoration: none; color: var(--ink); padding: 8px 14px; border-radius: 999px; }
nav.menu a:hover, nav.menu a[aria-current="page"] { background: var(--soft); }
.top .brand { margin-right: auto; }
.top-account { display: inline-flex; align-items: center; gap: 6px; text-decoration: none; color: var(--ink); font-weight: 500; font-size: 15px; padding: 8px 12px; border-radius: 999px; white-space: nowrap; }
.top-account:hover, .top-account[aria-current="page"] { background: var(--soft); }
.mnav { display: none; position: relative; }
.mnav summary { list-style: none; cursor: pointer; font-weight: 600; font-size: 14px; padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; }
.mnav summary::-webkit-details-marker { display: none; }
.mnav div { position: absolute; right: 0; top: calc(100% + 8px); min-width: 200px; display: grid; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 12px 30px -12px rgba(0,0,0,.3); padding: 6px; }
.mnav div a { text-decoration: none; padding: 10px 12px; border-radius: 8px; font-weight: 500; }
.mnav div a:hover { background: var(--soft); }

/* Düğmeler */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: 600 15px/1 var(--font-body); padding: 12px 22px; border-radius: 999px; border: 2px solid transparent; text-decoration: none; cursor: pointer; }
.btn-signal { background: var(--primary); color: var(--primary-ink); }
.btn-signal:hover { transform: scale(1.02); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-ghost:hover { background: var(--soft); }
.btn-block { width: 100%; padding: 16px 22px; font-size: 16px; }
.btn[aria-disabled="true"], .btn:disabled { opacity: .45; cursor: not-allowed; pointer-events: none; }
.link { background: none; border: 0; padding: 0; font: 500 14px var(--font-body); color: var(--ink); text-decoration: underline; cursor: pointer; }
.ctas { display: flex; flex-wrap: wrap; gap: 10px; }

/* Rozetler */
.badge { display: inline-block; background: var(--soft); color: var(--ink); font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: 999px; }
.badge.signal { background: var(--signal); color: #fff; }
.badge.ok { background: var(--ok); color: #fff; }
.badge.off { background: var(--line); color: var(--muted); }

/* Mağaza başlığı */
.shop-head { padding: 0; }
.shop-head .cover { height: clamp(120px, 20vw, 240px); background: var(--soft); overflow: hidden; }
.shop-head .cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.shop-id { display: flex; gap: 20px; align-items: center; padding-block: 28px; border-bottom: 1px solid var(--line); }
.shop-head .cover + .shop-id { padding-top: 0; }
.shop-head .cover + .shop-id .shop-logo { margin-top: -28px; }
.shop-logo { width: 96px; height: 96px; border-radius: 50%; object-fit: contain; background: #fff; border: 1px solid var(--line); flex: none; position: relative; }
.shop-id h1 { font-size: clamp(24px, 3vw, 32px); font-weight: 700; letter-spacing: -.01em; }
.shop-id p { color: var(--muted); margin-top: 4px; max-width: 46em; }
.shop-meta { list-style: none; margin: 10px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 14px; color: var(--muted); }
.shop-meta b { color: var(--ink); }
.shop-meta a { color: var(--ink); font-weight: 600; }

/* Ürün listesi */
.shop-items, .others { padding-block: 28px 56px; }
.items-head { display: flex; align-items: baseline; gap: 12px; margin-bottom: 16px; }
.items-head h2 { font-size: 22px; }
.items-head span { color: var(--muted); font-size: 14px; }
.items-lead { color: var(--muted); margin: -8px 0 16px; }
.grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px 20px; }
.card { position: relative; display: grid; gap: 6px; align-content: start; min-width: 0; }
.card .ph { position: relative; display: block; aspect-ratio: 1; border-radius: var(--radius); overflow: hidden; background: var(--soft); }
.card .ph img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .3s; }
.card:hover .ph img { transform: scale(1.03); }
.card .badge { position: absolute; left: 10px; top: 10px; box-shadow: 0 1px 3px rgba(0,0,0,.15); }
.card .badge:not(.signal):not(.off) { background: #fff; color: #222; }
.card h3 { font-size: 15px; font-weight: 400; margin-top: 4px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card h3 a { text-decoration: none; }
.card h3 a::after { content: ""; position: absolute; inset: 0; }
.card:hover h3 a { text-decoration: underline; }
.card-price { font-size: 17px; font-weight: 700; }
.card-sub { font-size: 14px; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card.is-soon .ph img { opacity: .8; }
.card:has(a:focus-visible) { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: var(--radius); }
.card a:focus-visible { outline: none; }
.ph-empty { position: absolute; inset: 0; display: grid; place-items: center; font-size: 56px; font-weight: 700; color: var(--line); text-transform: uppercase; }
.ph-empty.big { position: static; aspect-ratio: 4 / 3; background: var(--soft); border-radius: var(--radius); font-size: 120px; }

/* Sayfa yolu */
.crumbs { padding-top: 18px; font-size: 13px; color: var(--muted); }
.crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.crumbs li + li::before { content: "›"; margin-right: 6px; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--ink); text-decoration: underline; }

/* Ürün sayfası */
.pdp { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); gap: 48px; align-items: start; padding-block: 16px 40px; }
.pdp-media { position: sticky; top: 84px; min-width: 0; }
.gallery { display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 12px; align-items: start; }
.gallery .thumbs { display: grid; gap: 8px; max-height: 560px; overflow-y: auto; }
.gallery .thumbs[hidden] + .stage { grid-column: 1 / -1; }
.thumbs button { width: 72px; aspect-ratio: 1; padding: 0; border: 2px solid transparent; border-radius: 8px; overflow: hidden; background: var(--soft); cursor: pointer; opacity: .7; }
.thumbs button[aria-current="true"] { border-color: var(--ink); opacity: 1; }
.thumbs img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gallery .stage { position: relative; border-radius: var(--radius); overflow: hidden; background: var(--soft); touch-action: pan-y; }
.gallery .stage button.zoom { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; }
.gallery .main { width: 100%; height: auto; max-height: 78vh; object-fit: contain; display: block; }
.gallery .nav { position: absolute; top: 50%; transform: translateY(-50%); width: 40px; height: 40px; border-radius: 50%; border: 0; background: #fff; color: #222; font-size: 22px; cursor: pointer; display: grid; place-items: center; box-shadow: 0 1px 4px rgba(0,0,0,.25); }
.gallery .nav.prev { left: 12px; } .gallery .nav.next { right: 12px; }
.gallery .cap { grid-column: 2; font-size: 13px; color: var(--muted); }
.gallery .thumbs[hidden] ~ .cap { grid-column: 1 / -1; }

.pdp-buy { display: grid; gap: 14px; min-width: 0; }
.pdp-alert { color: var(--signal); font-weight: 600; font-size: 14px; }
.pdp-title h1 { font-size: clamp(22px, 2.4vw, 28px); font-weight: 600; letter-spacing: -.01em; }
.pdp-sub { color: var(--muted); margin-top: 4px; }
.pdp-desc { color: var(--muted); }
.price { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.price strong { font-size: 28px; font-weight: 700; }
.price span { font-size: 14px; color: var(--muted); }
.perks { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; font-size: 15px; }
.perks li { display: flex; gap: 10px; }
.perks li::before { content: "✓"; color: var(--ok); font-weight: 700; }

/* Açılır bölümler */
.acc { border-top: 1px solid var(--line); margin-top: 6px; }
.acc > details { border-bottom: 1px solid var(--line); }
.acc > details > summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; padding: 16px 0; font-weight: 600; font-size: 17px; }
.acc > details > summary::-webkit-details-marker { display: none; }
.acc > details > summary::after { content: ""; width: 9px; height: 9px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); margin-right: 4px; transition: transform .2s; }
.acc > details[open] > summary::after { transform: rotate(-135deg); }
.acc-body { padding-bottom: 18px; display: grid; gap: 14px; }
.specs { display: grid; grid-template-columns: auto 1fr; gap: 6px 18px; margin: 0; font-size: 15px; }
.specs dt { color: var(--muted); }
.specs dd { margin: 0; font-variant-numeric: tabular-nums; }
.rich { color: var(--ink); }
.rich p + p { margin-top: 8px; }
.rich ul { margin: 0; padding-left: 1.2em; }
.rich li + li { margin-top: 4px; }
.rich h3 { margin: 18px 0 8px; font-size: 16px; font-weight: 600; }
.steps { margin: 0; padding-left: 1.3em; }
.steps li { padding-left: 4px; }
.steps li b { display: block; }
.steps li span { color: var(--muted); font-size: 15px; }
.faq { gap: 8px; }
.faq details { border-radius: 8px; background: var(--soft); padding: 12px 14px; }
.faq summary { cursor: pointer; font-weight: 500; }
.faq details p { margin-top: 6px; color: var(--muted); font-size: 15px; }

/* Sipariş formu (satın alma kutusu) */
.buy-form { display: grid; gap: 14px; min-width: 0; }
.perso { display: grid; gap: 12px; padding: 16px; border: 1px solid var(--line); border-radius: var(--radius); scroll-margin-top: 90px; }
.perso-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.perso-head h2 { font-size: 17px; }
.preview { display: grid; gap: 10px; padding: 16px 12px 12px; background: var(--soft); border-radius: 10px; min-width: 0; }
.field { display: grid; gap: 4px; }
.field label { font-weight: 600; font-size: 14px; display: flex; justify-content: space-between; gap: 8px; }
.field label .count { font-weight: 400; color: var(--muted); font-variant-numeric: tabular-nums; }
.field input, .field textarea { width: 100%; font: 500 16px/1.4 var(--font-body); padding: 10px 12px; border-radius: 8px; border: 1px solid #949494; background: var(--surface); color: var(--ink); }
.field input { text-transform: uppercase; }
.field input.handle { text-transform: none; }
.field textarea { min-height: 150px; resize: vertical; text-transform: uppercase; line-height: 1.5; }
.field textarea.plain { min-height: 96px; text-transform: none; }
.field input:focus, .field textarea:focus { border-color: var(--ink); outline: 2px solid var(--ink); outline-offset: 0; }
.hint { font-size: 13px; color: var(--muted); }
.hint.warn { color: var(--warn); }
.tape { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; }
.tape div { font: 700 13px/1 var(--font-display); letter-spacing: .03em; text-transform: uppercase; color: var(--sign-ink); background: var(--sign-glow); border: 1px solid rgba(0,0,0,.12); padding: 6px 9px; border-radius: 6px; max-width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; cursor: pointer; }
.tape div[aria-current="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }

.summary { display: grid; gap: 12px; padding: 16px; border: 2px solid var(--ok); border-radius: var(--radius); background: var(--surface); }
.summary h3 { font-size: 18px; }
.summary ol { margin: 0; padding-left: 1.3em; display: grid; gap: 4px; font-size: 15px; }
.summary pre { margin: 0; white-space: pre-wrap; word-break: break-word; font: 500 14px/1.5 ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace; background: var(--soft); border-radius: 8px; padding: 12px 14px; user-select: all; }
.summary .pay-wait { font-size: 14px; color: var(--warn); }
.status { font-size: 14px; font-weight: 600; min-height: 1.4em; color: var(--ok); }
.source { margin: 0; padding: 0; border: 0; min-width: 0; }
.source legend { font-size: 14px; font-weight: 600; padding: 0; margin-bottom: 8px; }
.source legend span { font-weight: 400; color: var(--muted); }
.source .opts { display: flex; flex-wrap: wrap; gap: 6px; }
.source .opts label { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px; font-size: 14px; cursor: pointer; }
.source .opts label:has(input:checked) { border-color: var(--ink); background: var(--soft); }
.source .opts input { accent-color: var(--ink); margin: 0; }
.closed { padding: 12px 14px; border-radius: 10px; background: var(--warn-bg); color: var(--warn); font-weight: 500; font-size: 15px; }
[data-want][aria-pressed="true"] { background: var(--ok); color: #fff; opacity: 1; }

/* Sefer tabelası (CSS ile) */
.sign-stage { display: grid; gap: 12px; justify-items: center; min-width: 0; }
.sign { position: relative; width: 100%; max-width: 560px; aspect-ratio: 220 / 88; background: var(--sign-body); border-radius: 4.5% / 11%; box-shadow: 0 1px 0 rgba(0,0,0,.08), 0 14px 30px -16px rgba(0,0,0,.45); container-type: inline-size; }
.sign::before { content: ""; position: absolute; inset: 3.4% 1.4%; border: 2px solid var(--sign-ink); border-radius: 3.2% / 8%; }
.sign .stripes { position: absolute; top: 27%; height: 45.5%; width: 8.2%; background: repeating-linear-gradient(to bottom, var(--sign-ink) 0 5.5%, transparent 5.5% 11.4%); }
.sign .stripes.l { left: 4.1%; } .sign .stripes.r { right: 4.1%; }
.sign .window { position: absolute; left: 13.6%; right: 13.6%; top: 27.3%; height: 45.5%; background: var(--sign-glow); overflow: hidden; box-shadow: inset 0 0 0 1px rgba(0,0,0,.25), inset 0 6px 14px -8px rgba(0,0,0,.45), inset 0 -6px 14px -8px rgba(0,0,0,.45); }
.sign .roll { position: absolute; inset: 0 0 auto; transition: transform .55s cubic-bezier(.5,.05,.3,1); }
.sign .roll div { display: grid; place-items: center; font-family: var(--font-display); font-weight: 800; color: var(--sign-ink); text-transform: uppercase; white-space: nowrap; letter-spacing: .02em; line-height: 1; padding-inline: 4%; }
.sign .label { position: absolute; left: 4.5%; right: 4.5%; bottom: 8%; display: flex; align-items: center; gap: 2.4%; font-family: var(--font-body); font-weight: 700; color: var(--sign-ink); font-size: 2.1cqw; white-space: nowrap; }
.sign .label span { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.sign .label .mid { font-size: 1.4em; letter-spacing: .02em; flex: none; max-width: 46%; }
.sign .label i { flex: 1 1 6%; min-width: 3%; height: .55em; border-top: 1.5px solid var(--sign-ink); border-bottom: 1.5px solid var(--sign-ink); }
.knob { position: absolute; left: -3.2%; top: 6%; width: 6.4%; aspect-ratio: 1; border-radius: 50%; border: 0; padding: 0; cursor: pointer; background: repeating-conic-gradient(#1b1b1b 0 10deg, #3a3a3a 10deg 22.5deg); box-shadow: 0 2px 4px rgba(0,0,0,.4); transition: transform .55s cubic-bezier(.5,.05,.3,1); }
.knob:hover { filter: brightness(1.3); }
.legs { display: flex; justify-content: space-between; width: 100%; max-width: 560px; padding-inline: 18%; margin-top: -12px; }
.legs span { width: 3.2%; min-width: 8px; height: 18px; background: repeating-linear-gradient(to bottom, #2a2a2a 0 3px, #444 3px 5px); }
.base { width: 90%; max-width: 504px; height: 22px; margin-top: -2px; background: #232323; border-radius: 6px; position: relative; }
.base::after { content: "I / O"; position: absolute; right: 10px; top: 50%; transform: translateY(-50%); font: 700 9px var(--font-body); color: #888; }
.sign-controls { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; align-items: center; font-size: 13px; color: var(--muted); }
.sign-controls .btn { padding: 8px 14px; font-size: 14px; }
.sign-controls .pos { min-width: 4em; text-align: center; font-variant-numeric: tabular-nums; }

/* Tam ekran galeri */
.lightbox { position: fixed; inset: 0; z-index: 50; background: rgba(10,10,10,.94); display: grid; grid-template-rows: auto 1fr auto; touch-action: pan-y; }
.lightbox[hidden] { display: none; }
.lightbox .bar { display: flex; justify-content: space-between; align-items: center; padding: 12px 16px; color: #fff; font-size: 14px; }
.lightbox .bar button { background: none; border: 1px solid rgba(255,255,255,.4); color: #fff; border-radius: 999px; padding: 8px 14px; font: 600 14px var(--font-body); cursor: pointer; }
.lightbox figure { margin: 0; display: grid; place-items: center; min-height: 0; padding: 0 56px; }
.lightbox img { max-width: 100%; max-height: 100%; object-fit: contain; }
.lightbox .nav { position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255,255,255,.15); color: #fff; font-size: 22px; cursor: pointer; }
.lightbox .nav.prev { left: 8px; } .lightbox .nav.next { right: 8px; }
.lightbox figcaption { color: #ccc; text-align: center; padding: 12px 16px 20px; font-size: 14px; }

/* Genel bölüm başlığı (iletişim vb.) */
section { padding-block: 32px 56px; }
.sec-head { display: grid; gap: 6px; margin-bottom: 24px; max-width: 42em; }
.sec-head h1, .sec-head h2 { font-size: clamp(26px, 3vw, 34px); font-weight: 700; letter-spacing: -.01em; }
.sec-head p { color: var(--muted); }
.eyebrow { font-size: 13px; font-weight: 600; color: var(--muted); }

/* İçerik sayfaları (yasal metinler vb.) */
.doc { max-width: 760px; }
.doc h1 { font-size: clamp(26px, 3vw, 34px); font-weight: 700; letter-spacing: -.01em; }
.doc .updated { margin-top: 6px; font-size: 14px; color: var(--muted); }
.doc .body { margin-top: 24px; display: grid; gap: 14px; }
.doc .body h2 { font-size: 21px; font-weight: 700; margin-top: 16px; }
.doc .body h3 { font-size: 18px; font-weight: 600; margin-top: 6px; }
.doc .body ul, .doc .body ol { margin: 0; padding-left: 1.3em; display: grid; gap: 4px; }
.doc .body table { border-collapse: collapse; width: 100%; font-size: 15px; }
.doc .body th, .doc .body td { text-align: left; padding: 8px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
.doc .body th { color: var(--muted); font-weight: 500; width: 38%; }
.notice { padding: 12px 16px; border-radius: 10px; background: var(--warn-bg); color: var(--warn); font-weight: 500; }
.fill { background: var(--warn-bg); color: var(--warn); font-weight: 700; padding: 0 4px; border-radius: 4px; }

/* İletişim */
.contact { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.contact article { border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; display: grid; gap: 8px; align-content: start; min-width: 0; }
.contact article.primary { border-color: var(--ink); }
.contact h2 { font-size: 19px; }
.contact p { color: var(--muted); font-size: 15px; overflow-wrap: anywhere; }
.contact .btn { justify-self: start; margin-top: 6px; }
.contact-form { margin-top: 32px; max-width: 720px; }
.contact-form h2 { font-size: 22px; margin-bottom: 14px; }
.contact-form form { display: grid; gap: 14px; }
.contact-form .btn { justify-self: start; }
.contact-form .notice { margin-bottom: 14px; }
.notice.ok { background: var(--soft); color: var(--ok); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Formlar: ödeme, üyelik, hesap */
.form { display: grid; gap: 14px; }
.form .field input, .form .field select { text-transform: none; }
.field select { width: 100%; font: 500 16px/1.4 var(--font-body); padding: 10px 12px; border-radius: 8px; border: 1px solid #949494; background: var(--surface); color: var(--ink); }
.field select:focus { border-color: var(--ink); outline: 2px solid var(--ink); outline-offset: 0; }
.field .err { color: var(--warn); font-size: 13px; font-weight: 500; }
.field input[aria-invalid="true"], .field select[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: var(--warn); }
.grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--muted); }
.check input { margin-top: 3px; width: 18px; height: 18px; flex: none; accent-color: var(--ink); }
.form .btn { justify-self: start; }
.flash { padding-top: 16px; }
.box { border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; display: grid; gap: 14px; align-content: start; min-width: 0; background: var(--surface); }
.box h2 { font-size: 19px; }
.muted { color: var(--muted); }
.divider { display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: 13px; }
.divider::before, .divider::after { content: ""; flex: 1; border-top: 1px solid var(--line); }
.btn-google { background: var(--surface); color: var(--ink); border-color: var(--line); width: 100%; }
.btn-google:hover { background: var(--soft); }
.auth { max-width: 440px; margin: 0 auto; display: grid; gap: 18px; }
.auth h1 { font-size: clamp(26px, 3vw, 32px); font-weight: 700; }
.auth .alt { font-size: 14px; color: var(--muted); }

.checkout { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 32px; align-items: start; }
.checkout h1 { font-size: clamp(26px, 3vw, 34px); font-weight: 700; }
.checkout aside { position: sticky; top: 90px; }
.checkout .sum-row { display: flex; justify-content: space-between; gap: 12px; font-size: 15px; }
.checkout .sum-row.total { font-weight: 700; font-size: 18px; border-top: 1px solid var(--line); padding-top: 12px; }
.checkout pre, .order-page pre { margin: 0; white-space: pre-wrap; word-break: break-word; font: 500 13px/1.5 ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace; background: var(--soft); border-radius: 8px; padding: 12px 14px; }
.saved { display: grid; gap: 8px; }
.saved label { display: flex; gap: 10px; align-items: flex-start; border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; cursor: pointer; font-size: 15px; }
.saved label:has(input:checked) { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.saved input { margin-top: 4px; accent-color: var(--ink); }
.member-bar { display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; justify-content: space-between; padding: 12px 16px; border-radius: 10px; background: var(--soft); font-size: 15px; }

.account { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 32px; align-items: start; }
.account-nav { display: grid; gap: 2px; }
.account-nav a, .account-nav button { text-align: left; text-decoration: none; color: var(--ink); padding: 10px 14px; border-radius: 8px; font: 500 15px var(--font-body); background: none; border: 0; cursor: pointer; width: 100%; }
.account-nav a:hover, .account-nav button:hover, .account-nav a[aria-current="page"] { background: var(--soft); }
.account h1 { font-size: clamp(24px, 2.6vw, 30px); font-weight: 700; margin-bottom: 18px; }
.list { display: grid; gap: 12px; }
.order-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px 16px; align-items: center; border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; text-decoration: none; color: var(--ink); }
.order-row:hover { border-color: var(--ink); }
.order-row small { color: var(--muted); font-size: 13px; }
.pill { display: inline-block; padding: 4px 10px; border-radius: 999px; font-size: 13px; font-weight: 600; background: var(--soft); color: var(--ink); white-space: nowrap; }
.pill.odeme_bekliyor { background: var(--warn-bg); color: var(--warn); }
.pill.odendi, .pill.uretimde, .pill.kargoda, .pill.teslim { color: var(--ok); }
.pill.iptal { color: var(--muted); text-decoration: line-through; }
.addr { display: grid; gap: 4px; font-size: 15px; }
.addr-actions { display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; font-size: 14px; }
.addr-actions form { display: inline; }

.order-page { max-width: 860px; display: grid; gap: 20px; }
.order-page h1 { font-size: clamp(26px, 3vw, 34px); font-weight: 700; }
.timeline { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; font-size: 13px; text-align: center; }
.timeline li { padding-top: 12px; border-top: 4px solid var(--line); color: var(--muted); }
.timeline li.done { border-color: var(--ok); color: var(--ink); font-weight: 600; }
.kv { display: grid; grid-template-columns: max-content 1fr; gap: 6px 16px; font-size: 15px; margin: 0; }
.kv dt { color: var(--muted); }
.kv dd { margin: 0; white-space: pre-line; overflow-wrap: anywhere; }

/* 404 */
.notfound { padding-block: 56px 72px; display: grid; gap: 24px; justify-items: center; text-align: center; }
.notfound .sign-stage { width: 100%; max-width: 560px; }
.notfound h1 { font-size: clamp(26px, 3vw, 34px); font-weight: 700; }
.notfound p { color: var(--muted); max-width: 32em; }
.notfound .ctas { justify-content: center; }

footer { padding-block: 32px; font-size: 14px; color: var(--muted); background: var(--soft); }
footer .wrap { display: grid; gap: 16px; }
footer .row { display: flex; flex-wrap: wrap; gap: 12px 32px; justify-content: space-between; align-items: center; }
footer b { color: var(--ink); }
footer nav { display: flex; flex-wrap: wrap; gap: 8px 20px; }
footer nav a { text-decoration: none; }
footer nav a:hover { color: var(--ink); text-decoration: underline; }
footer .pay-logos { display: flex; align-items: center; gap: 8px; }
footer .pay-logos img { height: 24px; width: auto; padding: 4px 8px; background: #fff; border: 1px solid var(--line); border-radius: 6px; box-sizing: content-box; }

@media (max-width: 1000px) {
  .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .pdp { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; }
}
@media (max-width: 760px) {
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 12px; }
  .pdp { grid-template-columns: 1fr; gap: 20px; padding-top: 10px; }
  .pdp-media { position: static; margin-inline: -16px; }
  .gallery { grid-template-columns: 1fr; gap: 8px; }
  .gallery .stage { border-radius: 0; order: -1; }
  .gallery .thumbs { display: flex; overflow-x: auto; padding-inline: 16px; max-height: none; }
  .gallery .thumbs button { flex: none; width: 60px; }
  .gallery .cap { grid-column: 1; padding-inline: 16px; }
  .contact { grid-template-columns: 1fr; }
  .grid2 { grid-template-columns: 1fr; }
  .checkout, .account { grid-template-columns: 1fr; gap: 20px; }
  .checkout aside { position: static; order: -1; }
  .account-nav { display: flex; overflow-x: auto; gap: 4px; }
  .account-nav a, .account-nav button { white-space: nowrap; width: auto; }
  .timeline { grid-template-columns: 1fr; text-align: left; }
  .timeline li { padding: 0 0 0 12px; border-top: 0; border-left: 4px solid var(--line); }
  .top-account span { display: none; }
  nav.menu { display: none; }
  .mnav { display: block; margin-left: auto; }
  .shop-id { align-items: flex-start; gap: 14px; padding-block: 20px; }
  .shop-logo { width: 64px; height: 64px; }
}
@media (max-width: 480px) {
  .top .wrap { gap: 12px; }
  .brand small { display: none; }
  .top .top-cta { display: none; }
  .perso { padding: 12px; }
  .lightbox figure { padding: 0 8px; }
}
@media (prefers-reduced-motion: reduce) {
  .sign .roll, .knob, .card .ph img { transition: none; }
}
