/* ==========================================================================
   SHOGIE — tasarım sistemi
   --------------------------------------------------------------------------
   Dil: büyük tipografi, cömert boşluk, kısıtlı renk, ince hareket.
   Renk yalnızca üç işte kullanılır: metin, zemin, tek bir eylem rengi.
   Vurgu için renk değil BOŞLUK ve PUNTO kullanılır.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Sıfırlama
   -------------------------------------------------------------------------- */

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

* { margin: 0; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  /* Sabit başlık altına çapa atlarken içerik gizlenmesin. */
  scroll-padding-top: 96px;
}

body {
  min-height: 100dvh;
  font-family: var(--font);
  font-size: var(--fs-body);
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-synthesis-weight: none;
  text-rendering: optimizeLegibility;
}

img, picture, svg, video { display: block; max-width: 100%; }
img { height: auto; }

input, button, textarea, select { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; }
a { color: inherit; }

:where(h1, h2, h3, h4) { font-weight: 600; line-height: 1.08; letter-spacing: -0.022em; }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

::selection { background: var(--ink); color: var(--bg); }

/* --------------------------------------------------------------------------
   2. Tasarım belirteçleri
   -------------------------------------------------------------------------- */

:root {
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text",
          "Inter", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-num: var(--font);

  /* Nötr palet — tek renk ailesi, sıcaklığı sabit. */
  --ink:        #1d1d1f;
  --ink-2:      #6e6e73;
  --ink-3:      #86868b;
  --bg:         #ffffff;
  --bg-2:       #f5f5f7;
  --bg-3:       #ebebef;
  --line:       #d2d2d7;
  --line-soft:  #e8e8ed;

  /* Tek eylem rengi. Başka hiçbir yerde renk kullanılmaz. */
  --accent:     #0071e3;
  --accent-ink: #ffffff;

  /* Anlamsal (yalnızca geri bildirim için) */
  --ok:      #1d7a44;
  --ok-bg:   #eaf6ee;
  --warn:    #8a5a00;
  --warn-bg: #fdf3e2;
  --bad:     #b3261e;
  --bad-bg:  #fceceb;

  /* Tipografik ölçek — akışkan, viewport ile ölçeklenir. */
  --fs-body:    17px;
  --fs-sm:      14px;
  --fs-xs:      12px;
  --fs-lead:    clamp(19px, 1.4vw, 22px);
  --fs-h3:      clamp(21px, 1.8vw, 26px);
  --fs-h2:      clamp(30px, 3.6vw, 48px);
  --fs-h1:      clamp(38px, 5.2vw, 68px);
  --fs-display: clamp(46px, 8.4vw, 116px);

  /* Boşluk — tek bir ritim. */
  --gap:        24px;
  --wrap:       1320px;
  --wrap-text:  720px;
  --pad-x:      clamp(20px, 5vw, 64px);
  --section:    clamp(72px, 11vw, 168px);

  --radius:     16px;
  --radius-lg:  24px;
  --radius-pill: 980px;

  /* Hareket — tek eğri. Apple'ın "yavaşlayarak yerine oturma" hissi. */
  --ease:   cubic-bezier(0.16, 1, 0.3, 1);
  --ease-io: cubic-bezier(0.4, 0, 0.2, 1);
  --dur:    0.6s;

  --shadow-sm: 0 1px 2px rgba(0,0,0,.04), 0 4px 14px rgba(0,0,0,.05);
  --shadow-md: 0 2px 6px rgba(0,0,0,.05), 0 18px 44px rgba(0,0,0,.09);
}

@media (prefers-color-scheme: dark) {
  :root {
    --ink:       #f5f5f7;
    --ink-2:     #a1a1a6;
    --ink-3:     #86868b;
    --bg:        #000000;
    --bg-2:      #101012;
    --bg-3:      #1c1c1e;
    --line:      #38383c;
    --line-soft: #2a2a2e;
    --accent:    #2997ff;
    --accent-ink:#000000;

    --ok:      #6ddc95;  --ok-bg:   #10231a;
    --warn:    #f0c26b;  --warn-bg: #241d0f;
    --bad:     #ff8a80;  --bad-bg:  #2a1210;

    --shadow-sm: 0 1px 2px rgba(0,0,0,.5);
    --shadow-md: 0 18px 44px rgba(0,0,0,.6);
  }
}

/* --------------------------------------------------------------------------
   3. Düzen
   -------------------------------------------------------------------------- */

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--pad-x); }
.wrap--text { max-width: var(--wrap-text); }
.wrap--mid  { max-width: 980px; }

.section { padding-block: var(--section); }
.section--tight { padding-block: clamp(48px, 7vw, 96px); }
.section--flush-top { padding-top: 0; }

.skip-link {
  position: fixed; top: 12px; left: 12px; z-index: 200;
  padding: 12px 20px; border-radius: var(--radius-pill);
  background: var(--ink); color: var(--bg);
  transform: translateY(-160%);
  transition: transform .3s var(--ease);
  text-decoration: none; font-size: var(--fs-sm); font-weight: 500;
}
.skip-link:focus-visible { transform: translateY(0); }

/* --------------------------------------------------------------------------
   4. Tipografi yardımcıları
   -------------------------------------------------------------------------- */

.display { font-size: var(--fs-display); font-weight: 600; letter-spacing: -0.035em; line-height: 0.98; }
.h1 { font-size: var(--fs-h1); letter-spacing: -0.028em; }
.h2 { font-size: var(--fs-h2); letter-spacing: -0.024em; }
.h3 { font-size: var(--fs-h3); letter-spacing: -0.018em; }

.lead { font-size: var(--fs-lead); line-height: 1.5; color: var(--ink-2); letter-spacing: -0.01em; }
.muted { color: var(--ink-2); }
.small { font-size: var(--fs-sm); }
.xs { font-size: var(--fs-xs); }

.eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.balance { text-wrap: balance; }
.measure { max-width: 62ch; }

.link {
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid color-mix(in srgb, var(--accent) 35%, transparent);
  transition: border-color .25s var(--ease-io);
}
.link:hover { border-bottom-color: var(--accent); }

/* --------------------------------------------------------------------------
   5. Düğmeler
   -------------------------------------------------------------------------- */

.btn {
  --btn-bg: var(--ink);
  --btn-fg: var(--bg);
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 50px;
  padding: 0 30px;
  border-radius: var(--radius-pill);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-size: var(--fs-body);
  font-weight: 500;
  letter-spacing: -0.01em;
  text-decoration: none;
  white-space: nowrap;
  transition: transform .28s var(--ease), opacity .2s linear, background-color .2s linear;
}
.btn:hover { opacity: .86; }
.btn:active { transform: scale(.975); }

.btn--accent { --btn-bg: var(--accent); --btn-fg: var(--accent-ink); }
.btn--ghost {
  --btn-bg: transparent; --btn-fg: var(--ink);
  box-shadow: inset 0 0 0 1px var(--line);
}
.btn--ghost:hover { background: var(--bg-2); opacity: 1; }
.btn--block { display: flex; width: 100%; }
.btn--lg { min-height: 58px; padding-inline: 40px; font-size: var(--fs-lead); }
.btn--sm { min-height: 38px; padding-inline: 18px; font-size: var(--fs-sm); }

.btn[disabled], .btn[aria-disabled="true"] {
  opacity: .38; pointer-events: none;
}

.textbtn {
  color: var(--accent);
  font-size: var(--fs-sm);
  text-decoration: none;
  padding: 4px 0;
}
.textbtn:hover { text-decoration: underline; }

/* --------------------------------------------------------------------------
   6. Duyuru şeridi + başlık
   -------------------------------------------------------------------------- */

/* Kurulum modu şeridi — canlıda görünürse mağaza henüz siparişe kapalıdır. */
.setupbar {
  padding: 10px var(--pad-x);
  background: var(--warn-bg);
  color: var(--warn);
  font-size: var(--fs-xs);
  line-height: 1.5;
  text-align: center;
}
.setupbar strong { font-weight: 600; }

.announce {
  background: var(--bg-2);
  color: var(--ink-2);
  font-size: var(--fs-xs);
  letter-spacing: .01em;
}
.announce__track {
  display: flex; align-items: center; justify-content: center; flex-wrap: wrap;
  gap: 10px;
  min-height: 36px;
  padding: 8px var(--pad-x);
  text-align: center;
}

.masthead {
  position: sticky; top: 0; z-index: 100;
  background: color-mix(in srgb, var(--bg) 76%, transparent);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease-io), background-color .3s var(--ease-io);
}
.masthead.is-stuck { border-bottom-color: var(--line-soft); }

.masthead__inner {
  display: flex; align-items: center; gap: var(--gap);
  max-width: var(--wrap); margin-inline: auto;
  padding: 0 var(--pad-x);
  min-height: 60px;
}

.brandmark { text-decoration: none; flex: 0 0 auto; }
.brandmark__text {
  font-size: 15px; font-weight: 600;
  letter-spacing: .3em;
  text-indent: .3em; /* letter-spacing'in sağda bıraktığı boşluğu dengeler */
}

.masthead__nav { flex: 1 1 auto; }
.masthead__nav ul {
  display: flex; align-items: center; justify-content: center; gap: clamp(16px, 2.4vw, 38px);
  list-style: none; padding: 0;
}
.masthead__nav a {
  position: relative;
  display: block;
  padding: 6px 0;
  font-size: var(--fs-sm);
  color: var(--ink-2);
  text-decoration: none;
  transition: color .2s var(--ease-io);
}
.masthead__nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 1px;
  background: currentColor;
  transform: scaleX(0); transform-origin: left;
  transition: transform .35s var(--ease);
}
.masthead__nav a:hover { color: var(--ink); }
.masthead__nav a:hover::after,
.masthead__nav a.is-active::after { transform: scaleX(1); }
.masthead__nav a.is-active { color: var(--ink); }

.masthead__actions { display: flex; align-items: center; gap: 4px; flex: 0 0 auto; }

.iconbtn {
  position: relative;
  display: grid; place-items: center;
  width: 40px; height: 40px;
  border-radius: 50%;
  color: var(--ink);
  text-decoration: none;
  transition: background-color .2s var(--ease-io);
}
.iconbtn:hover { background: var(--bg-2); }
.iconbtn svg {
  width: 20px; height: 20px;
  fill: none; stroke: currentColor; stroke-width: 1.35;
  stroke-linecap: round; stroke-linejoin: round;
}
.iconbtn__badge {
  position: absolute; top: 3px; right: 2px;
  min-width: 17px; height: 17px; padding: 0 4px;
  display: grid; place-items: center;
  border-radius: 999px;
  background: var(--accent); color: var(--accent-ink);
  font-size: 10px; font-weight: 600; line-height: 1;
  font-variant-numeric: tabular-nums;
}
.iconbtn--menu { display: none; }
.iconbtn__bars { display: block; width: 18px; }
.iconbtn__bars i {
  display: block; height: 1.4px; background: currentColor; border-radius: 2px;
  transition: transform .32s var(--ease), opacity .2s linear;
}
.iconbtn__bars i + i { margin-top: 5px; }
[aria-expanded="true"] .iconbtn__bars i:first-child { transform: translateY(3.2px) rotate(45deg); }
[aria-expanded="true"] .iconbtn__bars i:last-child  { transform: translateY(-3.2px) rotate(-45deg); }

/* Arama paneli */
.searchpanel {
  border-top: 1px solid var(--line-soft);
  background: var(--bg);
  animation: slideDown .4s var(--ease);
}
.searchpanel[hidden] { display: none; }
.searchpanel__form {
  display: flex; align-items: center; gap: 12px;
  max-width: var(--wrap); margin-inline: auto;
  padding: 14px var(--pad-x);
}
.searchpanel__icon {
  width: 18px; height: 18px; flex: 0 0 auto;
  fill: none; stroke: var(--ink-3); stroke-width: 1.4; stroke-linecap: round;
}
.searchpanel input {
  flex: 1 1 auto; min-width: 0;
  border: 0; background: none; padding: 8px 0;
  font-size: var(--fs-lead); letter-spacing: -.01em;
}
.searchpanel input::placeholder { color: var(--ink-3); }
.searchpanel input:focus { outline: none; }

/* Mobil menü */
.mobilemenu { display: none; }
.mobilemenu[hidden] { display: none !important; }

@keyframes slideDown {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* --------------------------------------------------------------------------
   7. Flash mesajları
   -------------------------------------------------------------------------- */

.flashes {
  position: sticky; top: 60px; z-index: 90;
  padding: 12px var(--pad-x) 0;
  max-width: var(--wrap); margin-inline: auto;
  display: grid; gap: 8px;
}
.flash {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 13px 16px;
  border-radius: 12px;
  font-size: var(--fs-sm);
  background: var(--bg-2); color: var(--ink);
  box-shadow: var(--shadow-sm);
  animation: slideDown .4s var(--ease);
}
.flash--success { background: var(--ok-bg);   color: var(--ok); }
.flash--error   { background: var(--bad-bg);  color: var(--bad); }
.flash--warning { background: var(--warn-bg); color: var(--warn); }
.flash span { flex: 1 1 auto; }
.flash__close {
  flex: 0 0 auto; font-size: 20px; line-height: 1; opacity: .5;
  padding: 0 2px;
}
.flash__close:hover { opacity: 1; }

/* --------------------------------------------------------------------------
   8. Kahraman bölümü
   -------------------------------------------------------------------------- */

.hero {
  position: relative;
  min-height: min(92svh, 880px);
  display: grid; align-items: end;
  overflow: hidden;
  background: var(--bg-3);
}
.hero__media { position: absolute; inset: 0; }
.hero__media img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center 28%;
  /* Ağır fotoğrafın metni ezmemesi için hafif bir yumuşatma. */
  filter: saturate(.92) contrast(1.02);
}
.hero__scrim {
  position: absolute; inset: 0;
  background: linear-gradient(180deg,
    rgba(0,0,0,.34) 0%,
    rgba(0,0,0,.06) 34%,
    rgba(0,0,0,.14) 62%,
    rgba(0,0,0,.62) 100%);
}
.hero__body {
  position: relative;
  width: 100%; max-width: var(--wrap);
  margin-inline: auto;
  padding: 0 var(--pad-x) clamp(48px, 8vw, 104px);
  color: #fff;
}
.hero .eyebrow { color: rgba(255,255,255,.72); }
.hero__title { font-size: var(--fs-display); font-weight: 600; letter-spacing: -.035em; line-height: .98; margin-top: 18px; }
.hero__sub {
  margin-top: 20px; max-width: 46ch;
  font-size: var(--fs-lead); color: rgba(255,255,255,.86);
}
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero__cta .btn { --btn-bg: #fff; --btn-fg: #000; }
.hero__cta .btn--ghost {
  --btn-bg: transparent; --btn-fg: #fff;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.42);
}
.hero__cta .btn--ghost:hover { background: rgba(255,255,255,.12); }

/* --------------------------------------------------------------------------
   9. Bölüm başlıkları
   -------------------------------------------------------------------------- */

.sechead { display: grid; gap: 14px; margin-bottom: clamp(32px, 4vw, 56px); }
.sechead--center { justify-items: center; text-align: center; }
.sechead--split {
  grid-template-columns: 1fr auto;
  align-items: end; gap: 24px;
}
.sechead p { color: var(--ink-2); max-width: 58ch; }

/* --------------------------------------------------------------------------
   10. Ürün ızgarası ve kartı
   -------------------------------------------------------------------------- */

.pgrid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr));
  gap: clamp(24px, 3vw, 48px) clamp(16px, 2vw, 32px);
}
.pgrid--3 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); }

.pcard { position: relative; display: flex; flex-direction: column; }
.pcard__media {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--bg-2);
}
.pcard__media img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: opacity .7s var(--ease), transform 1.1s var(--ease);
}
.pcard__img--alt { opacity: 0; }
.pcard:hover .pcard__img--main { opacity: 0; transform: scale(1.04); }
.pcard:hover .pcard__img--alt  { opacity: 1; transform: scale(1.04); }
/* Alternatif görsel yoksa ana görsel yalnızca hafifçe yaklaşır. */
.pcard:hover .pcard__img--main:only-child { opacity: 1; }

.pcard__badge {
  position: absolute; top: 12px; left: 12px; z-index: 2;
  padding: 5px 11px;
  border-radius: var(--radius-pill);
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(10px);
  font-size: 11px; font-weight: 600; letter-spacing: .04em;
  color: var(--ink);
}
.pcard__badge--out { background: var(--ink); color: var(--bg); }

.pcard__link { position: absolute; inset: 0; z-index: 3; }
.pcard__link span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }

.pcard__body { padding-top: 16px; display: grid; gap: 3px; }
.pcard__name { font-size: var(--fs-body); font-weight: 500; letter-spacing: -.012em; }
.pcard__sub { font-size: var(--fs-sm); color: var(--ink-2); }
.pcard__price { margin-top: 6px; font-size: var(--fs-sm); font-variant-numeric: tabular-nums; }
.pcard__price del { color: var(--ink-3); margin-right: 8px; }

.pcard__swatches { display: flex; gap: 5px; margin-top: 8px; }
.swatch {
  width: 11px; height: 11px; border-radius: 50%;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,.16);
}

/* --------------------------------------------------------------------------
   11. Editoryal bloklar
   -------------------------------------------------------------------------- */

.split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr));
  gap: clamp(32px, 5vw, 88px);
  align-items: center;
}
.split--reverse > *:first-child { order: 2; }

.split__media {
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-2);
}
.split__media img { width: 100%; height: 100%; object-fit: cover; }

.split__body { display: grid; gap: 20px; align-content: center; }

.statgrid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr));
  gap: clamp(28px, 4vw, 64px);
  border-top: 1px solid var(--line-soft);
  padding-top: clamp(32px, 4vw, 56px);
}
.stat { display: grid; gap: 8px; }
.stat__num { font-size: clamp(28px, 3.4vw, 44px); font-weight: 600; letter-spacing: -.03em; }
.stat__label { font-size: var(--fs-sm); color: var(--ink-2); }

.featureband {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  gap: clamp(24px, 3vw, 48px);
}
.feature { display: grid; gap: 10px; }
.feature__icon {
  width: 26px; height: 26px;
  fill: none; stroke: var(--ink); stroke-width: 1.25;
  stroke-linecap: round; stroke-linejoin: round;
}
.feature h3 { font-size: var(--fs-body); font-weight: 600; }
.feature p { font-size: var(--fs-sm); color: var(--ink-2); }

/* --------------------------------------------------------------------------
   12. Ürün detay sayfası
   -------------------------------------------------------------------------- */

.pdp {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  gap: clamp(32px, 5vw, 80px);
  align-items: start;
  padding-top: clamp(28px, 4vw, 56px);
}

.pdp__gallery { display: grid; gap: 12px; }
.pdp__shot {
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-2);
}
.pdp__shot img { width: 100%; height: 100%; object-fit: cover; }

.pdp__panel { position: sticky; top: 92px; display: grid; gap: 26px; }

.pdp__head { display: grid; gap: 10px; }
.pdp__title { font-size: var(--fs-h1); letter-spacing: -.028em; }
.pdp__sub { color: var(--ink-2); font-size: var(--fs-lead); }
.pdp__price {
  display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap;
  font-size: var(--fs-h3); font-weight: 500; font-variant-numeric: tabular-nums;
  margin-top: 4px;
}
.pdp__price del { color: var(--ink-3); font-size: var(--fs-body); font-weight: 400; }
.pdp__price .save {
  font-size: var(--fs-xs); font-weight: 600; letter-spacing: .04em;
  color: var(--ok); background: var(--ok-bg);
  padding: 4px 10px; border-radius: var(--radius-pill);
}
.pdp__vatnote { font-size: var(--fs-xs); color: var(--ink-3); }

.optionset { display: grid; gap: 12px; }
.optionset__label {
  display: flex; justify-content: space-between; align-items: baseline; gap: 12px;
  font-size: var(--fs-sm); font-weight: 500;
}
.optionset__label .muted { font-weight: 400; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  position: relative;
  min-width: 54px;
  padding: 11px 16px;
  border-radius: 12px;
  box-shadow: inset 0 0 0 1px var(--line);
  font-size: var(--fs-sm);
  text-align: center;
  cursor: pointer;
  transition: box-shadow .2s var(--ease-io), background-color .2s var(--ease-io), color .2s var(--ease-io);
}
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip:hover { box-shadow: inset 0 0 0 1px var(--ink-3); }
.chip:has(input:checked) {
  background: var(--ink); color: var(--bg);
  box-shadow: inset 0 0 0 1px var(--ink);
}
.chip:has(input:focus-visible) { outline: 2px solid var(--accent); outline-offset: 2px; }
.chip.is-out {
  color: var(--ink-3);
  cursor: not-allowed;
  background:
    linear-gradient(to top left,
      transparent calc(50% - 0.6px), var(--line) 50%, transparent calc(50% + 0.6px));
}
.chip.is-out:hover { box-shadow: inset 0 0 0 1px var(--line); }

.chip--color {
  display: inline-flex; align-items: center; gap: 8px;
  min-width: 0; padding: 9px 15px 9px 11px;
}
.chip--color .dot {
  width: 15px; height: 15px; border-radius: 50%;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,.18);
}

.pdp__stock { font-size: var(--fs-sm); display: flex; align-items: center; gap: 8px; }
.dotpulse {
  width: 7px; height: 7px; border-radius: 50%; background: var(--ok);
  box-shadow: 0 0 0 0 color-mix(in srgb, var(--ok) 55%, transparent);
  animation: pulse 2.4s var(--ease-io) infinite;
}
.dotpulse--low { background: var(--warn); box-shadow: 0 0 0 0 color-mix(in srgb, var(--warn) 55%, transparent); }
.dotpulse--out { background: var(--ink-3); animation: none; box-shadow: none; }
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 currentColor; }
  70%  { box-shadow: 0 0 0 7px transparent; }
  100% { box-shadow: 0 0 0 0 transparent; }
}

.pdp__assure {
  display: grid; gap: 10px;
  padding-top: 20px;
  border-top: 1px solid var(--line-soft);
  font-size: var(--fs-sm); color: var(--ink-2);
}
.pdp__assure li { display: flex; gap: 10px; align-items: flex-start; }
.pdp__assure ul { list-style: none; padding: 0; display: grid; gap: 10px; }
.pdp__assure svg {
  width: 17px; height: 17px; flex: 0 0 auto; margin-top: 2px;
  fill: none; stroke: currentColor; stroke-width: 1.35; stroke-linecap: round; stroke-linejoin: round;
}

/* Açılır bilgi blokları */
.disclosure { border-top: 1px solid var(--line-soft); }
.disclosure:last-of-type { border-bottom: 1px solid var(--line-soft); }
.disclosure summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 18px 0;
  font-size: var(--fs-sm); font-weight: 500;
  cursor: pointer; list-style: none;
}
.disclosure summary::-webkit-details-marker { display: none; }
.disclosure summary::after {
  content: ""; flex: 0 0 auto;
  width: 10px; height: 10px;
  border-right: 1.4px solid var(--ink-3);
  border-bottom: 1.4px solid var(--ink-3);
  transform: rotate(45deg) translate(-2px, -2px);
  transition: transform .34s var(--ease);
}
.disclosure[open] summary::after { transform: rotate(225deg) translate(-2px, -2px); }
.disclosure__body {
  padding-bottom: 20px;
  font-size: var(--fs-sm); color: var(--ink-2); line-height: 1.7;
  animation: fadeUp .45s var(--ease);
}
.disclosure__body ul { padding-left: 18px; display: grid; gap: 6px; }
.disclosure__body dl { display: grid; grid-template-columns: auto 1fr; gap: 8px 20px; }
.disclosure__body dt { color: var(--ink-3); }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* --------------------------------------------------------------------------
   13. Formlar
   -------------------------------------------------------------------------- */

.field { display: grid; gap: 7px; }
.field > label, .fieldset__legend {
  font-size: var(--fs-sm); font-weight: 500;
}
.field__hint { font-size: var(--fs-xs); color: var(--ink-3); }
.field__error { font-size: var(--fs-xs); color: var(--bad); }

.input, .select, .textarea {
  width: 100%;
  min-height: 50px;
  padding: 13px 16px;
  border: 0;
  border-radius: 12px;
  background: var(--bg-2);
  box-shadow: inset 0 0 0 1px transparent;
  font-size: var(--fs-body);
  transition: box-shadow .2s var(--ease-io), background-color .2s var(--ease-io);
}
.textarea { min-height: 120px; resize: vertical; line-height: 1.6; }
.input:hover, .select:hover, .textarea:hover { background: var(--bg-3); }
.input:focus, .select:focus, .textarea:focus {
  outline: none;
  background: var(--bg);
  box-shadow: inset 0 0 0 1.5px var(--accent);
}
.input[aria-invalid="true"], .textarea[aria-invalid="true"], .select[aria-invalid="true"] {
  box-shadow: inset 0 0 0 1.5px var(--bad);
}
.input::placeholder, .textarea::placeholder { color: var(--ink-3); }

.select {
  appearance: none;
  padding-right: 44px;
  background-image:
    linear-gradient(45deg, transparent 50%, var(--ink-3) 50%),
    linear-gradient(135deg, var(--ink-3) 50%, transparent 50%);
  background-position: right 20px center, right 14px center;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
}

.fieldrow {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr));
  gap: 16px;
}
.fieldset { display: grid; gap: 16px; border: 0; padding: 0; margin: 0; }
.fieldset__legend { padding: 0; margin-bottom: 2px; }

/* Onay kutuları — yasal onaylar için, tıklama alanı geniş */
.check {
  display: grid; grid-template-columns: auto 1fr; gap: 12px;
  align-items: start;
  padding: 14px 16px;
  border-radius: 12px;
  background: var(--bg-2);
  cursor: pointer;
  font-size: var(--fs-sm); line-height: 1.55;
  transition: background-color .2s var(--ease-io);
}
.check:hover { background: var(--bg-3); }
.check input[type="checkbox"] {
  appearance: none;
  width: 21px; height: 21px; margin: 0; flex: 0 0 auto;
  border-radius: 6px;
  background: var(--bg);
  box-shadow: inset 0 0 0 1.5px var(--line);
  transition: background-color .2s var(--ease-io), box-shadow .2s var(--ease-io);
  cursor: pointer;
}
.check input[type="checkbox"]:checked {
  background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='white' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m3.5 8.5 3 3 6-6'/%3E%3C/svg%3E") center / 14px no-repeat;
  box-shadow: inset 0 0 0 1.5px var(--accent);
}
.check input[type="checkbox"]:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.check--error { background: var(--bad-bg); }
.check--error input[type="checkbox"] { box-shadow: inset 0 0 0 1.5px var(--bad); }

.qty {
  display: inline-flex; align-items: center;
  border-radius: var(--radius-pill);
  background: var(--bg-2);
  overflow: hidden;
}
.qty button {
  width: 38px; height: 38px;
  display: grid; place-items: center;
  font-size: 17px; color: var(--ink-2);
  transition: color .2s, background-color .2s;
}
.qty button:hover { color: var(--ink); background: var(--bg-3); }
.qty input {
  width: 40px; height: 38px;
  border: 0; background: none; text-align: center;
  font-size: var(--fs-sm); font-variant-numeric: tabular-nums;
  -moz-appearance: textfield;
}
.qty input::-webkit-outer-spin-button,
.qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.qty input:focus { outline: none; }

/* --------------------------------------------------------------------------
   14. Sepet ve ödeme
   -------------------------------------------------------------------------- */

.checkout-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}

.linelist { display: grid; gap: 4px; }
.line {
  display: grid;
  grid-template-columns: 84px 1fr auto;
  gap: 18px;
  align-items: start;
  padding: 22px 0;
  border-bottom: 1px solid var(--line-soft);
}
.line:first-child { border-top: 1px solid var(--line-soft); }
.line__media {
  aspect-ratio: 3 / 4; border-radius: 10px; overflow: hidden; background: var(--bg-2);
}
.line__media img { width: 100%; height: 100%; object-fit: cover; }
.line__body { display: grid; gap: 4px; min-width: 0; }
.line__name { font-size: var(--fs-body); font-weight: 500; text-decoration: none; }
.line__name:hover { text-decoration: underline; }
.line__meta { font-size: var(--fs-sm); color: var(--ink-2); }
.line__controls { display: flex; align-items: center; gap: 14px; margin-top: 10px; flex-wrap: wrap; }
.line__price {
  text-align: right; font-size: var(--fs-body);
  font-variant-numeric: tabular-nums; white-space: nowrap;
}

.summary {
  position: sticky; top: 92px;
  display: grid; gap: 18px;
  padding: clamp(22px, 2.6vw, 32px);
  border-radius: var(--radius-lg);
  background: var(--bg-2);
}
.summary h2 { font-size: var(--fs-h3); }
.summary__rows { display: grid; gap: 11px; font-size: var(--fs-sm); }
.summary__row { display: flex; justify-content: space-between; gap: 16px; }
.summary__row span:last-child { font-variant-numeric: tabular-nums; }
.summary__row--total {
  padding-top: 14px; margin-top: 3px;
  border-top: 1px solid var(--line);
  font-size: var(--fs-lead); font-weight: 600;
}
.summary__note { font-size: var(--fs-xs); color: var(--ink-3); line-height: 1.6; }

.freeship {
  display: grid; gap: 8px;
  padding: 14px 16px;
  border-radius: 12px;
  background: var(--bg);
  font-size: var(--fs-sm);
}
.freeship__bar { height: 3px; border-radius: 3px; background: var(--bg-3); overflow: hidden; }
.freeship__fill {
  height: 100%; border-radius: 3px; background: var(--ink);
  transition: width .8s var(--ease);
}

.paylist { display: flex; flex-wrap: wrap; gap: 6px; }
.paymark {
  padding: 5px 10px;
  border-radius: 6px;
  background: var(--bg-3);
  font-size: 10px; font-weight: 600; letter-spacing: .04em;
  color: var(--ink-2);
  white-space: nowrap;
}

.emptystate {
  display: grid; gap: 20px; justify-items: center; text-align: center;
  padding-block: clamp(56px, 10vw, 120px);
}

/* Adım göstergesi */
.steps {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  font-size: var(--fs-xs); color: var(--ink-3);
  margin-bottom: clamp(24px, 3vw, 40px);
}
.steps b { font-weight: 600; color: var(--ink); }
.steps span[aria-hidden] { opacity: .5; }

/* --------------------------------------------------------------------------
   15. Sipariş onayı
   -------------------------------------------------------------------------- */

.receipt {
  display: grid; gap: 22px;
  padding: clamp(24px, 3vw, 40px);
  border-radius: var(--radius-lg);
  background: var(--bg-2);
}
.receipt__num {
  font-size: var(--fs-h3); font-weight: 600;
  letter-spacing: .01em; font-variant-numeric: tabular-nums;
}
.receipt__grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
  gap: 22px;
  padding-top: 20px; border-top: 1px solid var(--line);
}
.receipt__block { display: grid; gap: 5px; font-size: var(--fs-sm); }
.receipt__block h3 { font-size: var(--fs-xs); color: var(--ink-3); font-weight: 500; letter-spacing: .04em; text-transform: uppercase; }

.tick {
  width: 56px; height: 56px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--ok-bg);
  animation: tickIn .7s var(--ease) both;
}
.tick svg { width: 26px; height: 26px; fill: none; stroke: var(--ok); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.tick path {
  stroke-dasharray: 30; stroke-dashoffset: 30;
  animation: draw .5s .35s var(--ease-io) forwards;
}
@keyframes tickIn { from { opacity: 0; transform: scale(.7); } to { opacity: 1; transform: scale(1); } }
@keyframes draw { to { stroke-dashoffset: 0; } }

.statuspill {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 5px 13px; border-radius: var(--radius-pill);
  font-size: var(--fs-xs); font-weight: 500;
  background: var(--bg-3); color: var(--ink-2);
}
.statuspill--paid    { background: var(--ok-bg);   color: var(--ok); }
.statuspill--pending { background: var(--warn-bg); color: var(--warn); }
.statuspill--failed  { background: var(--bad-bg);  color: var(--bad); }

/* --------------------------------------------------------------------------
   16. Yasal / uzun metin sayfaları
   -------------------------------------------------------------------------- */

.prose { max-width: var(--wrap-text); }
.prose > * + * { margin-top: 1.1em; }
.prose h2 {
  font-size: var(--fs-h3);
  margin-top: 2.4em;
  padding-top: 1.6em;
  border-top: 1px solid var(--line-soft);
}
.prose h2:first-of-type { margin-top: 1.6em; }
.prose h3 { font-size: var(--fs-body); font-weight: 600; margin-top: 1.9em; }
.prose p, .prose li { color: var(--ink-2); line-height: 1.72; }
.prose strong { color: var(--ink); font-weight: 600; }
.prose ul, .prose ol { padding-left: 22px; display: grid; gap: 8px; }
.prose a { color: var(--accent); text-decoration: none; border-bottom: 1px solid color-mix(in srgb, var(--accent) 30%, transparent); }
.prose a:hover { border-bottom-color: var(--accent); }
.prose table {
  width: 100%; border-collapse: collapse; font-size: var(--fs-sm);
  display: block; overflow-x: auto; white-space: nowrap;
}
.prose th, .prose td {
  padding: 12px 16px; text-align: left;
  border-bottom: 1px solid var(--line-soft);
}
.prose th { font-weight: 600; color: var(--ink); }
.prose td { color: var(--ink-2); }
.prose dl { display: grid; grid-template-columns: minmax(140px, auto) 1fr; gap: 10px 24px; font-size: var(--fs-sm); }
.prose dt { color: var(--ink-3); }
.prose dd { color: var(--ink); margin: 0; }

.callout {
  padding: 20px 22px;
  border-radius: var(--radius);
  background: var(--bg-2);
  font-size: var(--fs-sm); line-height: 1.7;
}
.callout--warn { background: var(--warn-bg); color: var(--warn); }
.callout strong { color: inherit; }

.toc {
  display: grid; gap: 7px;
  padding: 20px 22px;
  border-radius: var(--radius);
  background: var(--bg-2);
  font-size: var(--fs-sm);
}
.toc a { color: var(--ink-2); text-decoration: none; border: 0; }
.toc a:hover { color: var(--ink); }

.pagehead {
  padding-top: clamp(40px, 6vw, 88px);
  padding-bottom: clamp(24px, 3vw, 40px);
}
.pagehead__meta { margin-top: 14px; font-size: var(--fs-xs); color: var(--ink-3); }

/* --------------------------------------------------------------------------
   17. Altbilgi
   -------------------------------------------------------------------------- */

.sitefoot {
  margin-top: var(--section);
  padding-block: clamp(48px, 6vw, 88px) 40px;
  background: var(--bg-2);
  font-size: var(--fs-sm);
}
.sitefoot__top {
  display: grid;
  grid-template-columns: minmax(200px, 260px) 1fr;
  gap: clamp(32px, 5vw, 72px);
  padding-bottom: clamp(32px, 4vw, 56px);
}
.sitefoot__mark { font-size: 14px; font-weight: 600; letter-spacing: .3em; }
.sitefoot__tag { margin-top: 10px; color: var(--ink-2); max-width: 24ch; }

.sitefoot__cols {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 160px), 1fr));
  gap: 32px;
}
.sitefoot__title {
  font-size: var(--fs-xs); font-weight: 600; letter-spacing: .1em;
  text-transform: uppercase; color: var(--ink-3);
  margin-bottom: 14px;
}
.sitefoot__col ul { list-style: none; padding: 0; display: grid; gap: 10px; }
.sitefoot__col a {
  color: var(--ink-2); text-decoration: none;
  transition: color .2s var(--ease-io);
}
.sitefoot__col a:hover { color: var(--ink); }

.sitefoot__pay {
  display: grid; gap: 14px;
  padding-block: 26px;
  border-top: 1px solid var(--line);
}
.sitefoot__secure {
  display: flex; align-items: flex-start; gap: 9px; flex-wrap: wrap;
  font-size: var(--fs-xs); color: var(--ink-2); line-height: 1.6;
}
.sitefoot__secure a { color: var(--accent); text-decoration: none; }
.lockicon {
  width: 15px; height: 15px; flex: 0 0 auto; margin-top: 2px;
  fill: none; stroke: currentColor; stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round;
}

.sitefoot__legal {
  display: grid; gap: 6px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
  font-size: var(--fs-xs); color: var(--ink-3); line-height: 1.65;
}
.sitefoot__legal strong { color: var(--ink-2); }
.sitefoot__legal a { color: var(--ink-2); text-decoration: none; }
.sitefoot__legal a:hover { color: var(--ink); text-decoration: underline; }
.sitefoot__copy { margin-top: 10px; }

/* --------------------------------------------------------------------------
   18. Çerez şeridi
   -------------------------------------------------------------------------- */

.cookiebar {
  position: fixed; z-index: 120;
  left: 16px; right: 16px; bottom: 16px;
  max-width: 620px; margin-inline: auto;
  padding: 18px 20px;
  border-radius: var(--radius);
  background: color-mix(in srgb, var(--bg) 92%, transparent);
  backdrop-filter: saturate(180%) blur(24px);
  -webkit-backdrop-filter: saturate(180%) blur(24px);
  box-shadow: var(--shadow-md);
  animation: cookieIn .55s .5s var(--ease) both;
}
.cookiebar[hidden] { display: none; }
.cookiebar__inner { display: grid; gap: 14px; }
.cookiebar p { font-size: var(--fs-sm); color: var(--ink-2); line-height: 1.6; }
.cookiebar a { color: var(--accent); text-decoration: none; }
.cookiebar__actions { display: flex; gap: 8px; flex-wrap: wrap; }
@keyframes cookieIn { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }

/* --------------------------------------------------------------------------
   19. Girişte beliren hareket
   -------------------------------------------------------------------------- */

/*
  Öğeler VARSAYILAN OLARAK GÖRÜNÜRDÜR. Gizleme yalnızca <html> üzerinde
  "js" sınıfı varken devreye girer — bu sınıfı <head> içindeki küçük satır
  içi betik ekler. Böylece JavaScript engellenmiş bir tarayıcıda içerik
  görünmez kalmaz (ilerleyici geliştirme).
*/
.js [data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity .85s var(--ease) var(--reveal-delay, 0s),
    transform .85s var(--ease) var(--reveal-delay, 0s);
  will-change: opacity, transform;
}
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* --------------------------------------------------------------------------
   20. Duyarlılık
   -------------------------------------------------------------------------- */

@media (max-width: 1024px) {
  .pdp { grid-template-columns: 1fr; }
  .pdp__panel { position: static; }
  .checkout-grid { grid-template-columns: 1fr; }
  .summary { position: static; }
  .sitefoot__top { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
  html { scroll-padding-top: 80px; }

  .masthead__nav { display: none; }
  .iconbtn--menu { display: grid; }
  .masthead__inner { justify-content: space-between; }
  .brandmark { flex: 1 1 auto; }

  .mobilemenu {
    display: block;
    border-top: 1px solid var(--line-soft);
    background: var(--bg);
    padding: 8px var(--pad-x) 24px;
    animation: slideDown .4s var(--ease);
    max-height: calc(100dvh - 96px);
    overflow-y: auto;
  }
  .mobilemenu ul { list-style: none; padding: 0; display: grid; }
  .mobilemenu a {
    display: block; padding: 15px 0;
    font-size: var(--fs-lead); letter-spacing: -.015em;
    text-decoration: none;
    border-bottom: 1px solid var(--line-soft);
  }
  .mobilemenu__secondary { margin-top: 16px; }
  .mobilemenu__secondary a {
    font-size: var(--fs-sm); color: var(--ink-2); padding: 11px 0; border: 0;
  }

  .flashes { top: 52px; }
  .split--reverse > *:first-child { order: 0; }
  .sechead--split { grid-template-columns: 1fr; align-items: start; }
  .line { grid-template-columns: 68px 1fr; }
  .line__price { grid-column: 2; text-align: left; margin-top: 4px; }
  .receipt__grid { grid-template-columns: 1fr; }
  .prose dl { grid-template-columns: 1fr; gap: 4px 0; }
  .prose dl dt { margin-top: 10px; }
}

@media (max-width: 520px) {
  :root { --fs-body: 16px; }
  .hero { min-height: 78svh; }
  .cookiebar { left: 10px; right: 10px; bottom: 10px; }
  .cookiebar__actions .btn { flex: 1 1 auto; }
  .pgrid { grid-template-columns: repeat(2, 1fr); gap: 22px 12px; }
  .pcard__sub { display: none; }
  .btn { padding-inline: 24px; }
}

/* --------------------------------------------------------------------------
   21. Erişilebilirlik ve yazdırma
   -------------------------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
  .js [data-reveal] { opacity: 1; transform: none; }
}

@media (prefers-contrast: more) {
  :root { --ink-2: #45454a; --ink-3: #55555a; --line: #9a9aa0; }
}

@media print {
  .masthead, .announce, .cookiebar, .sitefoot__cols, .flashes, .skip-link { display: none !important; }
  body { color: #000; background: #fff; font-size: 12pt; }
  .prose { max-width: none; }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 9pt; color: #555; }
}
