/* ==========================================================================
   VAKIA SAAT — Ana stil dosyası
   Mobil öncelikli (mobile-first). 8px boşluk sistemi.
   Bölümler: 1 Token · 2 Reset · 3 Tipografi · 4 Düğme/Form · 5 Header
             6 Hero · 7 Ürün ızgarası · 8 Carousel · 9 Ürün detay
             10 Sepet/Ödeme · 11 İçerik sayfaları · 12 Footer · 13 Yardımcılar
   ========================================================================== */

/* ---------- 1. TOKENLAR --------------------------------------------------- */
:root {
  --brand: #6B1F2A;
  --brand-dark: #55161F;
  --brand-soft: #F5EAEC;
  --brand-line: #E3CDD1;

  --ink: #1A1719;
  --ink-2: #443E3C;
  --muted: #7A726E;
  --muted-2: #9A928D;

  --bg: #FFFFFF;
  --surface: #F8F6F3;
  --surface-2: #F1EDE8;
  --line: #E8E3DD;
  --line-strong: #D8D1C9;

  --ok: #2F6B4F;
  --ok-soft: #EAF3EE;
  --warn: #8A6212;
  --warn-soft: #FBF3E2;
  --bad: #9A2C2C;
  --bad-soft: #F9EBEB;
  --info: #2C5673;
  --info-soft: #EBF1F6;

  /* 8px sistemi */
  --s1: 8px;  --s2: 16px; --s3: 24px; --s4: 32px;
  --s5: 40px; --s6: 48px; --s7: 64px; --s8: 80px; --s9: 96px;

  --r-sm: 6px;
  --r-md: 12px;
  --r-lg: 18px;
  --r-pill: 999px;

  --shadow-sm: 0 1px 2px rgba(26,23,25,.05), 0 2px 8px rgba(26,23,25,.04);
  --shadow-md: 0 2px 6px rgba(26,23,25,.06), 0 12px 32px rgba(26,23,25,.07);
  --shadow-lg: 0 8px 24px rgba(26,23,25,.10), 0 32px 64px rgba(26,23,25,.10);

  --ease: cubic-bezier(.22,.61,.36,1);
  --t-fast: .18s var(--ease);
  --t: .28s var(--ease);

  --font-display: Georgia, "Times New Roman", "Noto Serif", serif;
  --font-ui: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;

  --wrap: 1240px;
  --header-h: 60px;
  --tap: 44px;                     /* minimum dokunma alanı */
  --safe-b: env(safe-area-inset-bottom, 0px);
}

@media (min-width: 1024px) {
  :root { --header-h: 76px; }
}

/* ---------- 2. RESET ------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

/* Yatay taşmayı engelle.
   DİKKAT: `overflow-x: hidden` html VE body'ye birlikte verilirse tarayıcı body'yi
   ayrı bir kaydırma kutusuna çevirir; masaüstünde fare tekerleği çalışmaz, yalnızca
   sağdaki çubuk kaydırır. `clip` kaydırma kutusu oluşturmaz, doğru davranış budur. */
html, body { max-width: 100%; }
html { overflow-x: clip; }
@supports not (overflow: clip) {
  html { overflow-x: hidden; }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-ui);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overscroll-behavior-y: none;
}

img, picture, svg, video { max-width: 100%; height: auto; display: block; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }

a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible, input:focus-visible,
select:focus-visible, textarea:focus-visible, summary:focus-visible, [tabindex]:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
  border-radius: 4px;
}

ul, ol { margin: 0; padding: 0; }
li { list-style: none; }

table { border-collapse: collapse; width: 100%; }

::selection { background: var(--brand); color: #fff; }

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

/* ---------- 3. TİPOGRAFİ -------------------------------------------------- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: -.01em;
  line-height: 1.18;
  margin: 0;
  color: var(--ink);
}

h1 { font-size: clamp(28px, 7.4vw, 56px); }
h2 { font-size: clamp(24px, 5.6vw, 40px); }
h3 { font-size: clamp(19px, 3.4vw, 26px); }
h4 { font-size: clamp(17px, 2.4vw, 20px); }
p  { margin: 0 0 var(--s2); }
p:last-child { margin-bottom: 0; }

.eyebrow {
  font-family: var(--font-ui);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--brand);
  margin: 0 0 var(--s2);
}

.lead { font-size: clamp(15px, 3.6vw, 19px); color: var(--ink-2); line-height: 1.7; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.tiny  { font-size: 12px; }

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--s2);
}
@media (min-width: 768px)  { .wrap { padding-inline: var(--s3); } }
@media (min-width: 1280px) { .wrap { padding-inline: var(--s4); } }

.section { padding-block: var(--s6); }
@media (min-width: 768px)  { .section { padding-block: var(--s8); } }
@media (min-width: 1280px) { .section { padding-block: var(--s9); } }

.section--tight { padding-block: var(--s5); }
.section--surface { background: var(--surface); }

.section-head { margin-bottom: var(--s4); }
.section-head p { max-width: 62ch; color: var(--muted); }
@media (min-width: 768px) { .section-head { margin-bottom: var(--s5); } }

.rule { height: 1px; background: var(--line); border: 0; margin: 0; }

/* ---------- 4. DÜĞMELER & FORMLAR ---------------------------------------- */
.btn {
  --btn-bg: var(--ink);
  --btn-fg: #fff;
  --btn-bd: var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--s1);
  min-height: var(--tap);
  padding: 12px 22px;
  border: 1px solid var(--btn-bd);
  border-radius: var(--r-pill);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-size: 15px;
  font-weight: 550;
  letter-spacing: .01em;
  text-align: center;
  transition: background var(--t-fast), border-color var(--t-fast), color var(--t-fast), transform var(--t-fast), opacity var(--t-fast);
  -webkit-tap-highlight-color: transparent;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); opacity: .9; }

.btn--brand   { --btn-bg: var(--brand); --btn-bd: var(--brand); }
.btn--brand:hover { --btn-bg: var(--brand-dark); --btn-bd: var(--brand-dark); }
.btn--ghost   { --btn-bg: transparent; --btn-fg: var(--ink); --btn-bd: var(--line-strong); }
.btn--ghost:hover { --btn-bd: var(--ink); }
.btn--light   { --btn-bg: #fff; --btn-fg: var(--ink); --btn-bd: #fff; }
.btn--block   { display: flex; width: 100%; }
.btn--sm      { min-height: 38px; padding: 8px 16px; font-size: 14px; }
.btn--lg      { min-height: 52px; padding: 15px 30px; font-size: 16px; }
.btn[disabled], .btn.is-disabled { opacity: .45; pointer-events: none; }
.btn.is-loading { pointer-events: none; opacity: .7; }

.field { margin-bottom: var(--s2); min-width: 0; }
.field > label,
.label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-2);
  margin-bottom: 6px;
}
.field .req { color: var(--brand); }

.input, .select, .textarea {
  width: 100%;
  min-height: var(--tap);
  padding: 11px 14px;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-md);
  background: #fff;
  font-size: 16px;          /* iOS'ta otomatik zoom'u engeller */
  color: var(--ink);
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
  appearance: none;
}
.textarea { min-height: 108px; resize: vertical; line-height: 1.6; }
.select {
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='none' stroke='%237A726E' stroke-width='1.6' d='M1 1.5 6 6.5l5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 38px;
}
.input:focus, .select:focus, .textarea:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px var(--brand-soft);
}
.input.is-error, .select.is-error, .textarea.is-error { border-color: var(--bad); }
.field-error { display: block; margin-top: 5px; font-size: 12.5px; color: var(--bad); }

.grid-2 { display: grid; grid-template-columns: 1fr; gap: 0 var(--s2); }
@media (min-width: 560px) { .grid-2 { grid-template-columns: 1fr 1fr; } }

.check {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 10px 0;
  font-size: 14px;
  line-height: 1.55;
  color: var(--ink-2);
  cursor: pointer;
}
.check input[type="checkbox"], .check input[type="radio"] {
  width: 20px; height: 20px;
  margin: 1px 0 0;
  accent-color: var(--brand);
  flex: 0 0 auto;
}
.check a { color: var(--brand); text-decoration: underline; text-underline-offset: 2px; }

.alert {
  display: flex; gap: 10px; align-items: flex-start;
  padding: 12px 16px;
  border-radius: var(--r-md);
  border: 1px solid var(--line);
  background: var(--surface);
  font-size: 14px;
  line-height: 1.55;
  margin-bottom: var(--s2);
}
.alert--ok   { background: var(--ok-soft);   border-color: #CADFD3; color: #1F4A37; }
.alert--warn { background: var(--warn-soft); border-color: #EBDCB6; color: #6B4C0D; }
.alert--bad  { background: var(--bad-soft);  border-color: #EACACA; color: #7C2323; }
.alert--info { background: var(--info-soft); border-color: #C9DAE6; color: #24485F; }

.badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 10px;
  border-radius: var(--r-pill);
  font-size: 11.5px; font-weight: 600; letter-spacing: .02em;
  background: var(--surface-2); color: var(--ink-2);
  white-space: nowrap;
}
.badge--ok   { background: var(--ok-soft);   color: var(--ok); }
.badge--warn { background: var(--warn-soft); color: var(--warn); }
.badge--bad  { background: var(--bad-soft);  color: var(--bad); }
.badge--info { background: var(--info-soft); color: var(--info); }
.badge--brand{ background: var(--brand-soft); color: var(--brand); }

/* ---------- 5. HEADER ----------------------------------------------------- */
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--brand); color: #fff; padding: 10px 16px; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

.header {
  position: sticky; top: 0; z-index: 90;
  background: rgba(255,255,255,.88);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow var(--t);
}
.header.is-stuck { box-shadow: var(--shadow-sm); }

/* MOBİL: [hamburger]  ·  [logo — ortada]  ·  [arama · hesap · sepet]
   Sol ve sağ blok eşit genişlikte olduğu için logo tam ortada durur. */
.header__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s1);
  height: var(--header-h);
}
.header__left { display: flex; align-items: center; flex: 0 0 auto; }
.header__actions { display: flex; align-items: center; justify-content: flex-end; gap: 2px; flex: 1 1 auto; }

.logo { display: flex; align-items: center; flex: 0 0 auto; }

/* Mobilde logo, sol/sağ blokların genişliğinden bağımsız olarak TAM ortada durur. */
@media (max-width: 1023px) {
  .header__bar { position: relative; }
  .header__bar > .logo {          /* yalnızca header çubuğundaki logo */
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    pointer-events: auto;
  }
}
.logo img {
  height: 26px;              /* oran korunur: width auto */
  width: auto;
  object-fit: contain;
}
@media (min-width: 768px)  { .logo img { height: 30px; } }
@media (min-width: 1024px) { .logo img { height: 34px; } }
/* Çok dar ekranlarda logo ile sağdaki ikonların arası açık kalsın (oran korunur) */
@media (max-width: 400px)  { .logo img { height: 23px; } }

.nav { display: none; }
@media (min-width: 1024px) {
  .nav { display: flex; align-items: center; gap: var(--s3); }
  .nav a {
    position: relative;
    font-size: 14.5px;
    color: var(--ink-2);
    padding: 6px 0;
    transition: color var(--t-fast);
  }
  .nav a::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: 0;
    height: 1px; background: var(--brand);
    transform: scaleX(0); transform-origin: left;
    transition: transform var(--t);
  }
  .nav a.is-cat { font-weight: 650; color: var(--ink); }
  .nav a:hover { color: var(--brand); }
  .nav a:hover::after, .nav a.is-active::after { transform: scaleX(1); }
  .nav a.is-active { color: var(--brand); }
}

/* MASAÜSTÜ: logo solda, menü ortada, ikonlar sağda (hamburger gizli) */
@media (min-width: 1024px) {
  .header__bar { gap: var(--s2); }
  .header__left { display: none; }
  .logo { order: -1; margin-right: var(--s3); }
  .nav { flex: 1 1 auto; }
  .header__actions { flex: 0 0 auto; gap: 4px; }
}

.icon-btn {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center;
  width: var(--tap); height: var(--tap);
  border: 0; background: transparent; color: var(--ink);
  border-radius: var(--r-pill);
  transition: background var(--t-fast);
  -webkit-tap-highlight-color: transparent;
}
.icon-btn:hover { background: var(--surface-2); }
.icon-btn svg { width: 21px; height: 21px; }

.cart-count {
  position: absolute; top: 5px; right: 4px;
  min-width: 17px; height: 17px; padding: 0 4px;
  display: none; align-items: center; justify-content: center;
  background: var(--brand); color: #fff;
  font-size: 10.5px; font-weight: 700; line-height: 1;
  border-radius: var(--r-pill);
  font-family: var(--font-ui);
}
.cart-count.is-visible { display: inline-flex; }

.burger { display: inline-flex; }
@media (min-width: 1024px) { .burger { display: none; } }

/* Arama paneli (header altında açılır) */
.search-panel {
  border-top: 1px solid var(--line);
  background: #fff;
  animation: vks-search-in var(--t) ease-out;
}
.search-panel[hidden] { display: none; }
@keyframes vks-search-in {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}
.search-panel__form {
  display: flex; align-items: center; gap: 8px;
  padding-block: 10px;
  position: relative;
}
.search-panel__icon {
  position: absolute; left: calc(var(--gutter) + 12px);
  width: 17px; height: 17px; color: var(--muted-2);
  pointer-events: none;
}
.search-panel__form .input {
  flex: 1 1 auto; min-width: 0;
  padding-left: 40px;
}
.search-panel__form .btn { flex: 0 0 auto; }
@media (prefers-reduced-motion: reduce) { .search-panel { animation: none; } }

/* Mobil çekmece menü */
.drawer {
  position: fixed; inset: 0; z-index: 120;
  visibility: hidden; pointer-events: none;
}
.drawer.is-open { visibility: visible; pointer-events: auto; }
.drawer__scrim {
  position: absolute; inset: 0;
  background: rgba(26,23,25,.42);
  opacity: 0; transition: opacity var(--t);
}
.drawer.is-open .drawer__scrim { opacity: 1; }
.drawer__panel {
  position: absolute; inset: 0 auto 0 0;   /* SOLDAN açılır */
  width: min(86vw, 360px);
  background: #fff;
  display: flex; flex-direction: column;
  transform: translateX(-100%);
  transition: transform var(--t);
  padding-bottom: var(--safe-b);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
.drawer.is-open .drawer__panel { transform: translateX(0); }
.drawer__title {
  font-size: 11px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase;
  color: var(--muted);
}
.drawer__head {
  display: flex; align-items: center; justify-content: space-between;
  height: var(--header-h);
  padding-inline: var(--s2);
  border-bottom: 1px solid var(--line);
  flex: 0 0 auto;
}
.drawer__nav { padding: var(--s2) var(--s2) var(--s3); }
.drawer__nav a {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 52px;
  padding: 8px 8px;
  font-family: var(--font-display);
  font-size: 20px;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
}
.drawer__nav a:last-child { border-bottom: 0; }
/* Ana ürün kategorileri diğer bağlantılardan ayrışsın */
.drawer__nav a.is-cat { font-weight: 600; }
.drawer__nav a.is-cat.is-active { color: var(--brand); }
.drawer__nav a.is-active { color: var(--brand); }
/* Panelin kendisi odak alır; çevresine çerçeve çizilmez */
.drawer__panel:focus, .drawer__panel:focus-visible { outline: none; }
.drawer__foot {
  margin-top: auto;
  padding: var(--s3) var(--s2) var(--s4);
  border-top: 1px solid var(--line);
  background: var(--surface);
}
.drawer__foot .btn { margin-bottom: var(--s1); }
.drawer__meta { font-size: 13px; color: var(--muted); }
.drawer__meta a { color: var(--brand); }

body.no-scroll { overflow: hidden; }

/* Duyuru şeridi — tek satır, sürekli kayan */
.topbar {
  background: var(--ink);
  color: #fff;
  font-size: 12px;
  letter-spacing: .05em;
  overflow: hidden;
}
.topbar__viewport { overflow: hidden; width: 100%; }
.topbar__track {
  display: flex;
  width: max-content;
  animation: vks-marquee var(--marquee-duration, 38s) linear infinite;
  will-change: transform;
}
.topbar__item {
  flex: 0 0 auto;
  padding: 8px 0;
  padding-right: 4rem;
  white-space: nowrap;      /* tek satır: asla alta düşmez */
}
@keyframes vks-marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.topbar:hover .topbar__track { animation-play-state: paused; }
@media (prefers-reduced-motion: reduce) {
  .topbar__track { animation: none; }
  .topbar__viewport { overflow-x: auto; scrollbar-width: none; }
  .topbar__viewport::-webkit-scrollbar { display: none; }
}

/* Girişli kullanıcı göstergesi */
.dot-on {
  position: absolute; top: 9px; right: 9px;
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--ok);
  box-shadow: 0 0 0 2px rgba(255,255,255,.9);
}

.drawer__group {
  display: block;
  padding: var(--s2) 8px 4px;
  font-size: 10.5px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  color: var(--muted-2);
}

/* ---------- 6. HERO ------------------------------------------------------- */
.hero {
  position: relative;
  background: linear-gradient(178deg, var(--surface) 0%, #FFFFFF 78%);
  overflow: hidden;
}
.hero__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s4);
  padding-block: var(--s6) var(--s5);
  align-items: center;
}
.hero__copy { text-align: center; }
.hero h1 { margin-bottom: var(--s2); }
.hero__sub {
  max-width: 46ch;
  margin: 0 auto var(--s3);
  color: var(--ink-2);
  font-size: clamp(15px, 3.9vw, 18px);
  line-height: 1.65;
}
.hero__cta { display: flex; flex-direction: column; gap: var(--s1); align-items: center; }
.hero__cta .btn { width: 100%; max-width: 320px; }
.hero__note {
  margin-top: var(--s2);
  font-size: 12.5px;
  color: var(--muted);
  display: flex; flex-wrap: wrap; gap: 6px 16px; justify-content: center;
}
/* Her madde tek parça: işaret ile metin asla ayrı satıra düşmez. */
.hero__note span { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.hero__note span::before {
  content: "✓";
  color: var(--brand);
  font-size: 11px;
}

.hero__media {
  position: relative;
  aspect-ratio: 1 / 1;
  max-width: 330px;          /* mobilde koleksiyon daha erken görünsün */
  margin-inline: auto;
  width: 100%;
}
@media (min-width: 560px) { .hero__media { max-width: 460px; } }
.hero__media::before {
  content: "";
  position: absolute; inset: 6%;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 45%, #fff 0%, var(--surface-2) 62%, transparent 72%);
}
.hero__media img {
  position: relative;
  width: 100%; height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 24px 40px rgba(26,23,25,.14));
}

@media (min-width: 900px) {
  .hero__inner {
    grid-template-columns: 1.05fr .95fr;
    gap: var(--s6);
    padding-block: var(--s8);
  }
  .hero__copy { text-align: left; }
  .hero__sub { margin-inline: 0; }
  .hero__cta { flex-direction: row; align-items: center; }
  .hero__cta .btn { width: auto; }
  .hero__note { justify-content: flex-start; }
  .hero__media { max-width: none; }
}

/* Güven şeridi */
.trust {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border-block: 1px solid var(--line);
}
.trust__item {
  background: #fff;
  padding: var(--s2) var(--s1);
  text-align: center;
  min-width: 0;
}
.trust__item svg { width: 20px; height: 20px; margin: 0 auto 6px; color: var(--brand); }
.trust__item b { display: block; font-size: 13px; font-weight: 600; }
.trust__item span { display: block; font-size: 11.5px; color: var(--muted); }
@media (min-width: 768px) {
  .trust { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .trust__item { padding: var(--s3) var(--s2); }
  .trust__item b { font-size: 14px; }
  .trust__item span { font-size: 12.5px; }
}

/* ---------- 7. ÜRÜN IZGARASI --------------------------------------------- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));   /* MOBİLDE HER ZAMAN 2 KOLON */
  gap: var(--s2);
}
@media (min-width: 768px)  { .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s3); } }
@media (min-width: 1120px) { .product-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: border-color var(--t), box-shadow var(--t), transform var(--t);
}
.card:hover { border-color: var(--line-strong); box-shadow: var(--shadow-md); }
@media (hover: hover) and (min-width: 768px) { .card:hover { transform: translateY(-3px); } }

.card__media {
  position: relative;
  display: block;
  aspect-ratio: 1 / 1;
  background: var(--surface);
  overflow: hidden;
}
.card__media img {
  width: 100%; height: 100%;
  object-fit: contain;
  padding: 8%;
  transition: transform .5s var(--ease);
}
@media (hover: hover) { .card:hover .card__media img { transform: scale(1.045); } }

.card__flag {
  position: absolute; top: 8px; left: 8px; z-index: 2;
}
.card__body {
  display: flex; flex-direction: column;
  flex: 1;
  padding: var(--s2) 12px 12px;
  min-width: 0;
}
.card__name {
  font-family: var(--font-display);
  font-size: 15px;
  line-height: 1.3;
  margin: 0 0 2px;
  color: var(--ink);
  overflow-wrap: anywhere;
}
.card__desc {
  font-size: 12px;
  line-height: 1.45;
  color: var(--muted);
  margin: 0 0 10px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.card__price {
  font-size: 17px;
  font-weight: 650;
  letter-spacing: -.01em;
  margin: auto 0 10px;
}
.card__price s { color: var(--muted-2); font-weight: 400; font-size: 13px; margin-right: 6px; }
.card__actions { display: grid; gap: 6px; }

@media (min-width: 768px) {
  .card__body { padding: var(--s3) var(--s2) var(--s2); }
  .card__name { font-size: 18px; }
  .card__desc { font-size: 13px; margin-bottom: 14px; }
  .card__price { font-size: 20px; margin-bottom: 14px; }
}

.card__link::after {
  content: ""; position: absolute; inset: 0; z-index: 1;
}
.card__actions { position: relative; z-index: 2; }

/* Ürün adı + marka (ad önde, marka arkada) */
.pname { font: inherit; }
.pbrand {
  font-family: var(--font-ui);
  font-size: .68em;
  font-weight: 500;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--muted-2);
  white-space: nowrap;
}

/* Kategori rozeti (ürün kartı) */
.card__cat {
  position: absolute; top: 8px; left: 8px; z-index: 2;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(6px);
  color: var(--ink-2);
  border: 1px solid var(--line);
  padding: 3px 9px;
  border-radius: var(--r-pill);
  font-size: 10.5px; font-weight: 600; letter-spacing: .04em;
}
.card__cat--set { background: var(--brand); border-color: var(--brand); color: #fff; }

.card__rating { display: flex; align-items: center; gap: 5px; margin: 0 0 6px; font-size: 11.5px; color: var(--muted); }

/* Kategori sekmeleri */
.cat-tabs {
  display: flex; gap: 6px;
  overflow-x: auto;
  scrollbar-width: none;
  padding-bottom: 2px;
  min-width: 0;
}
.cat-tabs::-webkit-scrollbar { display: none; }
.cat-tab {
  flex: 0 0 auto;
  display: inline-flex; align-items: center;
  min-height: 40px;
  padding: 8px 16px;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-pill);
  background: #fff;
  font-size: 14px;
  white-space: nowrap;
  transition: border-color var(--t-fast), background var(--t-fast), color var(--t-fast);
}
.cat-tab:hover { border-color: var(--ink); }
.cat-tab.is-active { background: var(--ink); border-color: var(--ink); color: #fff; font-weight: 600; }

/* "Kategoriye Git" — mobilde carousel altında tam genişlik, masaüstünde başlık yanında */
.cat-go { gap: 7px; }
.cat-go--inline { display: none; }
.cat-go--mobile { display: flex; }
@media (min-width: 768px) {
  .cat-go--inline { display: inline-flex; flex: 0 0 auto; }
  .cat-go--mobile { display: none; }
}

/* ---------- 7b. KATEGORİ KARTLARI ---------------------------------------- */
.cat-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s2);
}
@media (min-width: 700px) { .cat-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.cat-card {
  position: relative;
  display: flex;
  align-items: center;
  gap: var(--s2);
  min-width: 0;
  padding: var(--s2);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: border-color var(--t), box-shadow var(--t), transform var(--t);
}
.cat-card:hover { border-color: var(--line-strong); box-shadow: var(--shadow-md); }
@media (hover: hover) and (min-width: 768px) { .cat-card:hover { transform: translateY(-3px); } }
.cat-card__media {
  width: 84px; height: 84px; flex: 0 0 auto;
  background: var(--surface);
  border-radius: var(--r-md);
  padding: 6px;
}
.cat-card__media img { width: 100%; height: 100%; object-fit: contain; }
.cat-card__body { min-width: 0; flex: 1; }
.cat-card__body h3 { font-size: 18px; margin-bottom: 2px; }
.cat-card__body p { font-size: 12.5px; color: var(--muted); margin: 0 0 6px; line-height: 1.45; }
.cat-card__price { font-size: 13px; font-weight: 650; }
.cat-card__price s { color: var(--muted-2); font-weight: 400; margin-left: 5px; font-size: 12px; }
.cat-card__arrow {
  flex: 0 0 auto; width: 26px; height: 26px;
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--brand);
}
@media (min-width: 700px) {
  .cat-card { flex-direction: column; align-items: flex-start; text-align: left; padding: var(--s3) var(--s2); }
  .cat-card__media { width: 100%; height: 132px; }
  .cat-card__arrow { position: absolute; top: 14px; right: 12px; }
}

/* ---------- 8. CAROUSEL --------------------------------------------------- */
.carousel { position: relative; }
.carousel__track {
  display: flex;
  gap: var(--s2);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-bottom: 4px;
  scroll-padding-inline: var(--s2);
}
.carousel__track::-webkit-scrollbar { display: none; }
.carousel__item {
  flex: 0 0 auto;
  width: 72%;
  max-width: 300px;
  scroll-snap-align: start;
  min-width: 0;
}
@media (min-width: 560px) { .carousel__item { width: 46%; } }
@media (min-width: 900px) { .carousel__item { width: 30%; } }
@media (min-width: 1200px){ .carousel__item { width: 23%; max-width: none; } }

.carousel__hint {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  margin-top: var(--s2);
  font-size: 12px; color: var(--muted-2);
}
@media (min-width: 1200px) { .carousel__hint { display: none; } }

.dots { display: flex; justify-content: center; gap: 7px; margin-top: var(--s2); }
.dots button {
  width: 7px; height: 7px; padding: 0;
  border: 0; border-radius: 50%;
  background: var(--line-strong);
  transition: background var(--t-fast), transform var(--t-fast), width var(--t-fast);
}
.dots button.is-active { background: var(--brand); width: 20px; border-radius: var(--r-pill); }
/* dokunma alanını büyütmek için görünmez pad */
.dots button::before { content: ""; position: absolute; inset: -14px; }
.dots button { position: relative; }

.carousel__nav {
  display: none;
  position: absolute; top: 50%; z-index: 3;
  width: 42px; height: 42px;
  transform: translateY(-50%);
  align-items: center; justify-content: center;
  background: rgba(255,255,255,.94);
  border: 1px solid var(--line);
  border-radius: 50%;
  box-shadow: var(--shadow-sm);
  transition: opacity var(--t-fast), background var(--t-fast);
}
.carousel__nav svg { width: 16px; height: 16px; }
.carousel__nav--prev { left: -14px; }
.carousel__nav--next { right: -14px; }
.carousel__nav[disabled] { opacity: 0; pointer-events: none; }
@media (min-width: 1200px) { .carousel__nav { display: flex; } }

/* ---------- 9. ÜRÜN DETAY ------------------------------------------------- */
.pdp { padding-block: var(--s3) var(--s6); }
@media (min-width: 1024px) { .pdp { padding-block: var(--s5) var(--s8); } }

.breadcrumb {
  display: flex; flex-wrap: wrap; gap: 6px;
  font-size: 12.5px; color: var(--muted);
  margin-bottom: var(--s2);
}
.breadcrumb a:hover { color: var(--brand); }
.breadcrumb span[aria-hidden] { color: var(--line-strong); }

.pdp__layout { display: grid; grid-template-columns: 1fr; gap: var(--s4); }
@media (min-width: 1024px) {
  .pdp__layout { grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: var(--s7); align-items: start; }
  .pdp__buy { position: sticky; top: calc(var(--header-h) + 24px); }
}

/* Galeri — mobil: yatay kaydırmalı; masaüstü: büyük görsel + küçük görseller */
.gallery { min-width: 0; }
.gallery__stage {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  border-radius: var(--r-lg);
  background: var(--surface);
}
.gallery__stage::-webkit-scrollbar { display: none; }
.gallery__slide {
  flex: 0 0 100%;
  width: 100%;
  aspect-ratio: 1 / 1;
  scroll-snap-align: center;
  display: flex; align-items: center; justify-content: center;
  padding: 6%;
}
.gallery__slide img { width: 100%; height: 100%; object-fit: contain; }

.gallery__thumbs { display: none; }
@media (min-width: 1024px) {
  .gallery { display: grid; grid-template-columns: 84px minmax(0, 1fr); gap: var(--s2); }
  .gallery__thumbs {
    display: flex; flex-direction: column; gap: var(--s1);
    order: -1;
  }
  .gallery__thumb {
    width: 84px; height: 84px;
    padding: 8px;
    border: 1px solid var(--line);
    border-radius: var(--r-md);
    background: var(--surface);
    transition: border-color var(--t-fast);
  }
  .gallery__thumb img { width: 100%; height: 100%; object-fit: contain; }
  .gallery__thumb.is-active { border-color: var(--brand); }
  .gallery__stage { scroll-snap-type: none; overflow: hidden; }
  .gallery .dots { display: none; }
}

.pdp__buy { min-width: 0; }
.pdp__title { margin-bottom: 6px; }
.pdp__model {
  font-size: 12.5px; letter-spacing: .1em; text-transform: uppercase;
  color: var(--muted); margin-bottom: var(--s1);
}
.pdp__short { color: var(--ink-2); font-size: 15px; margin-bottom: var(--s3); }

.price-row { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; margin-bottom: 6px; }
.price {
  font-size: clamp(26px, 6vw, 34px);
  font-weight: 650;
  letter-spacing: -.02em;
  line-height: 1.1;
}
.price-old { font-size: 16px; color: var(--muted-2); text-decoration: line-through; }
.price-note { font-size: 12.5px; color: var(--muted); margin-bottom: var(--s2); }

.perks { display: grid; gap: 6px; margin: var(--s2) 0 var(--s3); }
.perks li {
  display: flex; align-items: center; gap: 8px;
  font-size: 14px; color: var(--ink-2);
}
.perks svg { width: 16px; height: 16px; flex: 0 0 auto; color: var(--ok); }

/* Sosyal kanıt — sakin, premium, alarm hissi vermeyen */
.proof {
  display: grid; gap: 2px;
  padding: 12px 14px;
  margin-bottom: var(--s3);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
}
.proof li {
  display: flex; align-items: center; gap: 9px;
  font-size: 13.5px;
  color: var(--ink-2);
  line-height: 1.5;
  padding: 3px 0;
}
.proof .proof__icon { font-size: 14px; line-height: 1; opacity: .85; flex: 0 0 auto; }
.proof b {
  font-weight: 650;
  font-variant-numeric: tabular-nums;
  color: var(--ink);
  transition: opacity .35s ease;
}
.proof b.is-updating { opacity: .35; }

.qty {
  display: inline-flex; align-items: center;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-pill);
  overflow: hidden;
  background: #fff;
}
.qty button {
  width: var(--tap); height: var(--tap);
  border: 0; background: transparent;
  font-size: 18px; line-height: 1; color: var(--ink);
  transition: background var(--t-fast);
}
.qty button:hover { background: var(--surface-2); }
.qty button[disabled] { opacity: .3; pointer-events: none; }
.qty input {
  width: 44px; height: var(--tap);
  border: 0; text-align: center;
  font-size: 15px; font-weight: 600;
  font-variant-numeric: tabular-nums;
  background: transparent;
  -moz-appearance: textfield;
}
.qty input::-webkit-outer-spin-button,
.qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.buy-row { display: flex; gap: var(--s1); align-items: center; margin-bottom: var(--s1); }
.buy-row .btn { flex: 1; min-width: 0; }
.buy-actions { display: grid; gap: var(--s1); margin-bottom: var(--s3); }

.stock-line { display: flex; align-items: center; gap: 7px; font-size: 13px; margin-bottom: var(--s2); }
.stock-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--ok); flex: 0 0 auto; }
.stock-dot--low { background: var(--warn); }
.stock-dot--out { background: var(--bad); }

/* Aynı modelin diğer alım seçenekleri */
.variants { margin-bottom: var(--s3); }
.variants__label {
  font-size: 11.5px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  color: var(--muted); margin: 0 0 8px;
}
.variant {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 12px;
  margin-bottom: 6px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: #fff;
  transition: border-color var(--t-fast), background var(--t-fast);
  min-width: 0;
}
.variant:hover { border-color: var(--brand); background: var(--brand-soft); }
.variant__media {
  width: 48px; height: 48px; flex: 0 0 auto;
  background: var(--surface); border-radius: 8px; padding: 4px;
}
.variant__media img { width: 100%; height: 100%; object-fit: contain; }
.variant__body { flex: 1; min-width: 0; }
.variant__body b { display: block; font-size: 13.5px; font-weight: 650; }
.variant__body span { display: block; font-size: 12px; color: var(--muted); }
.variant__price { flex: 0 0 auto; font-size: 14px; font-weight: 650; text-align: right; white-space: nowrap; }
.variant__price s { display: block; font-size: 11.5px; font-weight: 400; color: var(--muted-2); }

/* Açılır bilgi blokları */
.accordion { border-top: 1px solid var(--line); }
.accordion details { border-bottom: 1px solid var(--line); }
.accordion summary {
  display: flex; align-items: center; justify-content: space-between; gap: var(--s2);
  min-height: 56px;
  padding: 14px 0;
  font-size: 15px; font-weight: 600;
  cursor: pointer;
  list-style: none;
}
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after {
  content: ""; flex: 0 0 auto;
  width: 10px; height: 10px;
  border-right: 1.5px solid var(--muted);
  border-bottom: 1.5px solid var(--muted);
  transform: rotate(45deg) translate(-2px, -2px);
  transition: transform var(--t);
}
.accordion details[open] summary::after { transform: rotate(-135deg) translate(-2px, -2px); }
.accordion__body { padding: 0 0 var(--s3); font-size: 14.5px; color: var(--ink-2); line-height: 1.7; }
.accordion__body p { margin-bottom: 10px; }
.accordion__body ul li { position: relative; padding-left: 16px; margin-bottom: 5px; }
.accordion__body ul li::before {
  content: ""; position: absolute; left: 2px; top: 10px;
  width: 4px; height: 4px; border-radius: 50%; background: var(--brand-line);
}

.spec-table td { padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 14px; vertical-align: top; }
.spec-table tr:last-child td { border-bottom: 0; }
.spec-table td:first-child { color: var(--muted); width: 44%; padding-right: 12px; }
.spec-table td:last-child { color: var(--ink); font-weight: 500; }

/* Mobil sabit satın alma çubuğu */
.sticky-buy {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 80;
  display: flex; align-items: center; gap: var(--s2);
  padding: 10px var(--s2) calc(10px + var(--safe-b));
  background: rgba(255,255,255,.94);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-top: 1px solid var(--line);
  transform: translateY(110%);
  transition: transform var(--t);
}
.sticky-buy.is-visible { transform: translateY(0); }
.sticky-buy__price { min-width: 0; }
.sticky-buy__price b { display: block; font-size: 17px; font-weight: 650; line-height: 1.2; }
.sticky-buy__price span { display: block; font-size: 11px; color: var(--muted); }
.sticky-buy .btn { flex: 1; min-width: 0; }
@media (min-width: 1024px) { .sticky-buy { display: none; } }
body.has-sticky-buy { padding-bottom: 76px; }
@media (min-width: 1024px) { body.has-sticky-buy { padding-bottom: 0; } }

/* Marka bilgilendirmesi */
.disclaimer {
  font-size: 12px; line-height: 1.6; color: var(--muted);
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-md); padding: 12px 14px;
  margin-top: var(--s3);
}

/* ---------- 9a. HAKKIMIZDA ---------------------------------------------- */
/* Sayfada ortalı, sabit yükseklikli kart. Metin uzasa da bölüm büyümez;
   metin kendi içinde kaydırılır ve alt kenarda yumuşak bir soluklaşma olur. */
.about {
  max-width: 660px;
  margin-inline: auto;
  text-align: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: var(--s3) var(--s2);
}
@media (min-width: 768px) { .about { padding: var(--s5) var(--s4); } }

.about .eyebrow { text-align: center; }
.about__title {
  font-size: clamp(22px, 5vw, 30px);
  margin-bottom: var(--s2);
}

.about__text {
  max-height: 132px;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  text-align: left;
  padding-right: 10px;
  scrollbar-width: thin;
  scrollbar-color: var(--line-strong) transparent;
  /* alt kenarda soluklaşma — sona gelince JS kaldırır */
  -webkit-mask-image: linear-gradient(to bottom, #000 calc(100% - 26px), transparent 100%);
  mask-image: linear-gradient(to bottom, #000 calc(100% - 26px), transparent 100%);
}
.about__text.is-end {
  -webkit-mask-image: none;
  mask-image: none;
}
@media (min-width: 768px) {
  .about__text { max-height: 150px; text-align: center; padding-inline: var(--s2); }
}
.about__text p {
  font-size: 14.5px;
  line-height: 1.75;
  color: var(--ink-2);
  margin: 0 0 12px;
}
.about__text p:last-child { margin-bottom: 0; }
.about__text::-webkit-scrollbar { width: 5px; }
.about__text::-webkit-scrollbar-thumb { background: var(--line-strong); border-radius: 999px; }
.about__text::-webkit-scrollbar-track { background: transparent; }

.about__facts {
  display: flex;
  justify-content: center;
  gap: var(--s2);
  margin: var(--s3) 0 var(--s2);
  padding-top: var(--s3);
  border-top: 1px solid var(--line);
}
.about__facts li { flex: 1 1 0; min-width: 0; }
.about__facts b {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(24px, 6vw, 32px);
  font-weight: 400;
  color: var(--brand);
  line-height: 1.1;
}
.about__facts span {
  display: block;
  font-size: 11.5px;
  letter-spacing: .04em;
  color: var(--muted);
  margin-top: 3px;
}

/* ---------- 9b. DEĞERLENDİRMELER ---------------------------------------- */
.stars { display: inline-flex; gap: 1px; line-height: 1; white-space: nowrap; }
.stars .star { color: var(--line-strong); font-size: 15px; }
.stars .star.is-on { color: #D8A32B; }
.stars .star.is-half { background: linear-gradient(90deg, #D8A32B 50%, var(--line-strong) 50%);
  -webkit-background-clip: text; background-clip: text; color: transparent; }
.stars--sm .star { font-size: 12px; }
.stars--lg .star { font-size: 21px; }

.reviews { padding-block: var(--s5); }
.reviews__head {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: var(--s2); margin-bottom: var(--s3);
}
.reviews__score { display: flex; align-items: center; gap: 14px; }
.reviews__score b { font-size: 34px; font-weight: 650; letter-spacing: -.02em; line-height: 1; }
/* Yıldızlar ile sayı alt alta dizilir. DİKKAT: burada genel "span" seçicisi
   kullanılmaz — .star öğeleri de span'dir, display:block verilirse yıldızlar
   dikey dizilir. */
.reviews__score > div:last-child { display: grid; gap: 3px; justify-items: start; }
.reviews__count { font-size: 12.5px; color: var(--muted); }

.review-track {
  display: flex; gap: var(--s2);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-bottom: 4px;
}
.review-track::-webkit-scrollbar { display: none; }

.review {
  flex: 0 0 auto;
  width: 78%;
  max-width: 340px;
  scroll-snap-align: start;
  display: flex; flex-direction: column;
  min-width: 0;
  padding: var(--s2);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
}
@media (min-width: 560px) { .review { width: 46%; } }
@media (min-width: 900px) { .review { width: 31%; } }
@media (min-width: 1200px){ .review { width: 24%; max-width: none; } }

.review__top { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 8px; }
.review__who { display: flex; align-items: center; gap: 9px; min-width: 0; }
.review__avatar {
  width: 34px; height: 34px; flex: 0 0 auto;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: var(--brand-soft); color: var(--brand);
  font-size: 13px; font-weight: 700;
}
.review__name { display: block; font-size: 13.5px; font-weight: 600; line-height: 1.25; }
.review__date { display: block; font-size: 11.5px; color: var(--muted-2); }
.review__verified {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 11px; font-weight: 600; color: var(--ok);
  background: var(--ok-soft);
  border-radius: var(--r-pill);
  padding: 3px 8px;
  white-space: nowrap;
}
.review__verified svg { width: 11px; height: 11px; }
.review__title { font-size: 14.5px; font-weight: 650; margin: 6px 0 4px; }
.review__body { font-size: 13.5px; line-height: 1.6; color: var(--ink-2); margin: 0; }
.review__product { margin-top: auto; padding-top: 10px; font-size: 11.5px; color: var(--muted-2); }

.review-empty {
  border: 1px dashed var(--line-strong);
  border-radius: var(--r-lg);
  padding: var(--s4) var(--s2);
  text-align: center;
  color: var(--muted);
  font-size: 14px;
}

.rating-input { display: flex; flex-direction: row-reverse; justify-content: flex-end; gap: 2px; }
.rating-input input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.rating-input label {
  cursor: pointer; font-size: 30px; line-height: 1;
  color: var(--line-strong); padding: 2px;
  transition: color var(--t-fast), transform var(--t-fast);
  margin: 0;
}
.rating-input label:hover,
.rating-input label:hover ~ label,
.rating-input input:checked ~ label { color: #D8A32B; }
.rating-input input:focus-visible + label { outline: 2px solid var(--brand); outline-offset: 2px; border-radius: 4px; }

/* ---------- 10. SEPET & ÖDEME -------------------------------------------- */
.page-head { padding-block: var(--s4) var(--s2); }
@media (min-width: 768px) { .page-head { padding-block: var(--s6) var(--s3); } }
.page-head h1 { margin-bottom: 6px; }
.page-head p { color: var(--muted); }

.steps {
  display: flex; align-items: center; gap: 6px;
  margin-bottom: var(--s3);
  overflow-x: auto;
  scrollbar-width: none;
  padding-bottom: 4px;
}
.steps::-webkit-scrollbar { display: none; }
.steps li {
  display: inline-flex; align-items: center; gap: 6px;
  flex: 0 0 auto;
  font-size: 12px; color: var(--muted-2); white-space: nowrap;
}
.steps li b {
  width: 20px; height: 20px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%; border: 1px solid currentColor;
  font-size: 11px; font-weight: 600;
}
.steps li.is-active { color: var(--brand); font-weight: 600; }
.steps li.is-done { color: var(--ok); }
.steps li::after { content: "›"; margin-left: 4px; color: var(--line-strong); }
.steps li:last-child::after { content: none; }

.cart-layout { display: grid; grid-template-columns: 1fr; gap: var(--s3); align-items: start; }
@media (min-width: 1024px) {
  .cart-layout { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: var(--s5); }
  .summary { position: sticky; top: calc(var(--header-h) + 24px); }
}

.cart-item {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  gap: var(--s2);
  padding: var(--s2) 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
}
.cart-item:first-child { border-top: 1px solid var(--line); }
.cart-item__media {
  width: 76px; height: 76px;
  background: var(--surface);
  border-radius: var(--r-md);
  padding: 6px;
  overflow: hidden;
}
.cart-item__media img { width: 100%; height: 100%; object-fit: contain; }
.cart-item__info { min-width: 0; }
.cart-item__name { font-family: var(--font-display); font-size: 16px; line-height: 1.3; margin-bottom: 2px; }
.cart-item__meta { font-size: 12.5px; color: var(--muted); margin-bottom: 10px; }
.cart-item__row {
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--s2); flex-wrap: wrap;
}
.cart-item__total { font-size: 16px; font-weight: 650; white-space: nowrap; }
.link-danger {
  background: none; border: 0; padding: 6px 0;
  font-size: 13px; color: var(--muted);
  text-decoration: underline; text-underline-offset: 3px;
  min-height: 32px;
}
.link-danger:hover { color: var(--bad); }
@media (min-width: 560px) {
  .cart-item { grid-template-columns: 96px minmax(0, 1fr); }
  .cart-item__media { width: 96px; height: 96px; }
}

.summary {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: var(--s3) var(--s2);
}
@media (min-width: 768px) { .summary { padding: var(--s3); } }
.summary h3 { font-size: 18px; margin-bottom: var(--s2); }
.summary__row {
  display: flex; align-items: baseline; justify-content: space-between; gap: var(--s2);
  padding: 7px 0;
  font-size: 14.5px;
}
.summary__row span:last-child { font-weight: 600; white-space: nowrap; }
.summary__row--total {
  border-top: 1px solid var(--line-strong);
  margin-top: var(--s1); padding-top: var(--s2);
  font-size: 16px;
}
.summary__row--total span:last-child { font-size: 21px; font-weight: 700; letter-spacing: -.01em; }
.summary .btn { margin-top: var(--s2); }
.summary__note { font-size: 12px; color: var(--muted); margin-top: 12px; line-height: 1.55; }

.empty {
  text-align: center;
  padding: var(--s7) var(--s2);
}
.empty svg { width: 48px; height: 48px; margin: 0 auto var(--s2); color: var(--line-strong); }
.empty h2 { margin-bottom: var(--s1); }
.empty p { color: var(--muted); margin-bottom: var(--s3); }

/* Ödeme adımı */
.checkout-layout { display: grid; grid-template-columns: 1fr; gap: var(--s3); align-items: start; }
@media (min-width: 1024px) {
  .checkout-layout { grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: var(--s5); }
}
.panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: var(--s3) var(--s2);
  margin-bottom: var(--s3);
}
@media (min-width: 768px) { .panel { padding: var(--s3); } }
.panel__title {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-display); font-size: 19px;
  margin-bottom: var(--s2);
}
.panel__title i {
  width: 24px; height: 24px; flex: 0 0 auto;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--brand-soft); color: var(--brand);
  border-radius: 50%;
  font-size: 12px; font-weight: 700; font-style: normal;
}

.pay-option {
  display: block;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-md);
  padding: 14px;
  margin-bottom: var(--s1);
  cursor: pointer;
  transition: border-color var(--t-fast), background var(--t-fast);
}
.pay-option:hover { border-color: var(--ink-2); }
.pay-option.is-selected { border-color: var(--brand); background: var(--brand-soft); }
.pay-option__head { display: flex; align-items: center; gap: 10px; }
.pay-option input { width: 20px; height: 20px; accent-color: var(--brand); flex: 0 0 auto; }
.pay-option__head b { font-size: 15px; font-weight: 600; }
/* Bu öğeler <label> içinde <span> olarak yazılır (etiketin tamamı tıklanabilir
   kalsın diye); blok gibi davranmaları için display açıkça verilir. */
.pay-option__desc { display: block; font-size: 13px; color: var(--muted); margin: 6px 0 0 30px; line-height: 1.55; }
.pay-option__extra { display: none; margin: 12px 0 0 30px; }
.pay-option.is-selected .pay-option__extra { display: block; }

.bank-box {
  display: block;
  background: #fff;
  border: 1px dashed var(--brand-line);
  border-radius: var(--r-md);
  padding: 14px;
  font-size: 14px;
}
.bank-box dl { display: grid; grid-template-columns: 1fr; gap: 10px; margin: 0; }
.bank-box dt { font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 2px; }
.bank-box dd { margin: 0; font-weight: 600; overflow-wrap: anywhere; }
.bank-box .iban {
  font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, monospace;
  font-size: 15px; letter-spacing: .04em;
}
.bank-box dt { display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; }
.bank-box__hint { text-transform: none; letter-spacing: 0; font-size: 11px; color: var(--muted-2); font-weight: 400; }
.bank-box__ref {
  background: var(--brand-soft);
  border-radius: var(--r-md);
  padding: 12px;
  margin-top: 2px;
}
.bank-box__note { font-size: 12.5px; line-height: 1.55; color: var(--ink-2); margin: 8px 0 0; }

.copy-btn {
  display: inline-flex; align-items: center; gap: 6px;
  min-height: 36px; padding: 6px 12px; margin-top: 8px;
  border: 1px solid var(--line-strong); border-radius: var(--r-pill);
  background: #fff; font-size: 13px;
}
.copy-btn:hover { border-color: var(--brand); color: var(--brand); }

.mini-item {
  display: flex; align-items: center; gap: 10px;
  padding: 8px 0; border-bottom: 1px solid var(--line);
  font-size: 13.5px;
}
.mini-item:last-of-type { border-bottom: 0; }
.mini-item img { width: 44px; height: 44px; object-fit: contain; background: #fff; border-radius: 8px; flex: 0 0 auto; }
.mini-item__name { flex: 1; min-width: 0; }
.mini-item__name b { display: block; font-weight: 600; line-height: 1.3; }
.mini-item__name span { color: var(--muted); font-size: 12px; }

/* Sipariş tamamlandı */
.done { text-align: center; padding-block: var(--s6) var(--s4); }
.done__mark {
  width: 64px; height: 64px; margin: 0 auto var(--s2);
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%; background: var(--ok-soft); color: var(--ok);
}
.done__mark svg { width: 30px; height: 30px; }
.done h1 { margin-bottom: var(--s1); }
.done__no {
  display: inline-block; margin-top: var(--s2);
  padding: 8px 18px;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-pill);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 15px; font-weight: 600; letter-spacing: .04em;
}

/* ---------- 11. İÇERİK SAYFALARI ----------------------------------------- */
.prose { max-width: 76ch; }
.prose h2 { font-size: clamp(20px, 4.4vw, 27px); margin: var(--s4) 0 var(--s1); }
.prose h3 { font-size: clamp(17px, 3.4vw, 20px); margin: var(--s3) 0 var(--s1); }
.prose h2:first-child, .prose h3:first-child { margin-top: 0; }
.prose p, .prose li { color: var(--ink-2); font-size: 15px; line-height: 1.75; }
.prose ul, .prose ol { margin: 0 0 var(--s2); padding-left: 20px; }
.prose ul li { list-style: disc; margin-bottom: 6px; }
.prose ol li { list-style: decimal; margin-bottom: 6px; }
.prose a { color: var(--brand); text-decoration: underline; text-underline-offset: 2px; }
.prose table { margin: var(--s2) 0; font-size: 14px; display: block; overflow-x: auto; }
.prose table td, .prose table th { border: 1px solid var(--line); padding: 8px 10px; text-align: left; }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: var(--s4) 0; }
.prose strong { color: var(--ink); }

/* SSS — sayfada ortalı, sabit yükseklikli kutu.
   Soru sayısı artsa da bölüm uzamaz; liste kendi içinde kaydırılır. */
.section-head--center { text-align: center; }
.section-head--center .eyebrow { text-align: center; }
.section-head--center .lead { margin-inline: auto; }

.faq-box {
  max-width: 720px;
  margin-inline: auto;
  position: relative;
}
.faq-list {
  max-height: 400px;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  padding: 2px 10px 2px 2px;   /* odak çerçevesi kırpılmasın */
  scrollbar-width: thin;
  scrollbar-color: var(--line-strong) transparent;
  /* alt kenarda yumuşak soluklaşma — sona gelince JS kaldırır */
  -webkit-mask-image: linear-gradient(to bottom, #000 calc(100% - 34px), transparent 100%);
  mask-image: linear-gradient(to bottom, #000 calc(100% - 34px), transparent 100%);
}
.faq-list.is-end { -webkit-mask-image: none; mask-image: none; }
@media (min-width: 768px) { .faq-list { max-height: 460px; } }
.faq-list::-webkit-scrollbar { width: 6px; }
.faq-list::-webkit-scrollbar-thumb { background: var(--line-strong); border-radius: 999px; }
.faq-list::-webkit-scrollbar-track { background: transparent; }

.faq-list details {
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  margin-bottom: var(--s1);
  background: #fff;
  transition: border-color var(--t-fast);
}
.faq-list details[open] { border-color: var(--line-strong); }
.faq-list summary {
  display: flex; align-items: center; justify-content: space-between; gap: var(--s2);
  min-height: 56px; padding: 14px var(--s2);
  font-size: 15px; font-weight: 600; cursor: pointer; list-style: none;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "+"; flex: 0 0 auto;
  font-size: 20px; font-weight: 300; color: var(--brand);
  transition: transform var(--t);
}
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list .faq-answer {
  padding: 0 var(--s2) var(--s2);
  font-size: 14.5px; color: var(--ink-2); line-height: 1.7;
}

.contact-grid { display: grid; grid-template-columns: 1fr; gap: var(--s2); }
@media (min-width: 768px) { .contact-grid { grid-template-columns: repeat(2, minmax(0,1fr)); } }
.contact-card {
  border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: var(--s3) var(--s2); background: #fff;
}
.contact-card b { display: block; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.contact-card a, .contact-card span { font-size: 16px; overflow-wrap: anywhere; }
.contact-card a { color: var(--brand); }

/* Sipariş takip sonucu */
.track-status {
  display: grid; gap: var(--s1);
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: var(--s3) var(--s2);
}
.track-row { display: flex; justify-content: space-between; gap: var(--s2); font-size: 14.5px; padding: 6px 0; border-bottom: 1px solid var(--line); }
.track-row:last-child { border-bottom: 0; }
.track-row span:first-child { color: var(--muted); }
.track-row span:last-child { font-weight: 600; text-align: right; overflow-wrap: anywhere; }

/* ---------- 11b. ÜYELİK / HESAP ------------------------------------------ */
.auth {
  width: 100%;
  max-width: 440px;
  margin-inline: auto;
  padding-block: var(--s5) var(--s7);
}
.auth__card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: var(--s3) var(--s2);
}
@media (min-width: 480px) { .auth__card { padding: var(--s4) var(--s3); } }
.auth__head { text-align: center; margin-bottom: var(--s3); }
.auth__head h1 { font-size: clamp(24px, 6vw, 32px); margin-bottom: 6px; }
.auth__head p { color: var(--muted); font-size: 14.5px; }
.auth__switch { text-align: center; margin-top: var(--s3); font-size: 14px; color: var(--muted); }
.auth__switch a { color: var(--brand); font-weight: 600; }
.auth__aside { text-align: center; margin-top: var(--s2); font-size: 13px; }
.auth__aside a { color: var(--brand); text-decoration: underline; text-underline-offset: 2px; }

.account-layout { display: grid; grid-template-columns: 1fr; gap: var(--s3); align-items: start; }
@media (min-width: 1024px) {
  .account-layout { grid-template-columns: 260px minmax(0, 1fr); gap: var(--s5); }
  .account-nav { position: sticky; top: calc(var(--header-h) + 24px); }
}
.account-nav {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: var(--s2);
}
.account-nav__me { padding-bottom: var(--s2); border-bottom: 1px solid var(--line); margin-bottom: var(--s1); }
.account-nav__me b { display: block; font-size: 15px; }
.account-nav__me span { font-size: 12.5px; color: var(--muted); overflow-wrap: anywhere; }
.account-nav a {
  display: flex; align-items: center; gap: 9px;
  min-height: 44px; padding: 8px 10px;
  border-radius: var(--r-md);
  font-size: 14.5px;
  transition: background var(--t-fast);
}
.account-nav a:hover { background: #fff; }
.account-nav a.is-active { background: #fff; color: var(--brand); font-weight: 600; }
.account-nav svg { width: 16px; height: 16px; flex: 0 0 auto; }

.order-row {
  display: grid; gap: 10px;
  padding: var(--s2) 0;
  border-bottom: 1px solid var(--line);
}
.order-row:first-of-type { border-top: 1px solid var(--line); }
.order-row__top { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.order-row__no { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 14px; font-weight: 600; }
.order-row__meta { font-size: 13px; color: var(--muted); }
.order-row__foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.order-row__total { font-size: 16px; font-weight: 650; }

/* 404 */
.error-page { text-align: center; padding-block: var(--s8); }
.error-page .code {
  font-family: var(--font-display); font-size: clamp(64px, 20vw, 130px);
  line-height: 1; color: var(--brand-line); margin-bottom: var(--s2);
}

/* ---------- 12. FOOTER ---------------------------------------------------- */
.footer {
  background: var(--ink);
  color: #CFC7C4;
  padding-top: var(--s5);
  margin-top: var(--s6);
}
.footer a { color: #CFC7C4; transition: color var(--t-fast); }
.footer a:hover { color: #fff; }

.footer__brand { margin-bottom: var(--s4); }
.footer__brand img { height: 30px; width: auto; margin-bottom: var(--s2); }
.footer__brand p { font-size: 13px; line-height: 1.7; color: #A79E9B; max-width: 42ch; }
.footer__contact { font-size: 13px; margin-top: 12px; }

.footer__badges { display: flex; flex-wrap: wrap; gap: 6px; margin-top: var(--s2); }
.footer__badges li {
  font-size: 11px; letter-spacing: .03em;
  color: #CFC7C4;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: var(--r-pill);
  padding: 4px 10px;
}

.footer__legal {
  border-top: 1px solid rgba(255,255,255,.08);
  padding-block: var(--s2) calc(var(--s3) + var(--safe-b));
  margin: 0;
  font-size: 11.5px;
  color: #7E7673;
  line-height: 1.6;
}
.footer__legal a { color: #A79E9B; text-decoration: underline; text-underline-offset: 2px; }

.footer__cols { display: grid; grid-template-columns: 1fr; gap: 0; }
.footer__col { border-top: 1px solid rgba(255,255,255,.1); }
.footer__col > h4 {
  display: none;
}
.footer__col summary {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 52px; padding: 14px 0;
  font-family: var(--font-ui);
  font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: #fff; cursor: pointer; list-style: none;
}
.footer__col summary::-webkit-details-marker { display: none; }
.footer__col summary::after {
  content: "+"; font-size: 18px; font-weight: 300; color: #A79E9B; transition: transform var(--t);
}
.footer__col details[open] summary::after { transform: rotate(45deg); }
.footer__links { padding-bottom: var(--s2); }
.footer__links li { margin-bottom: 2px; }
.footer__links a { display: block; padding: 8px 0; font-size: 14px; min-height: 36px; }

@media (min-width: 768px) {
  .footer__cols { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s4); }
  .footer__col { border-top: 0; }
  .footer__col summary { pointer-events: none; padding: 0 0 var(--s2); min-height: 0; }
  .footer__col summary::after { content: none; }
  .footer__links { padding-bottom: 0; }
  .footer__links a { padding: 5px 0; min-height: 0; }
}
@media (min-width: 1024px) {
  .footer__top { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 2fr); gap: var(--s6); }
  .footer__brand { margin-bottom: 0; }
}

.footer__social { display: flex; gap: var(--s1); margin-top: var(--s2); }
.footer__social a {
  width: 40px; height: 40px;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid rgba(255,255,255,.18); border-radius: 50%;
  transition: background var(--t-fast), border-color var(--t-fast);
}
.footer__social a:hover { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.35); }
.footer__social svg { width: 18px; height: 18px; }

.footer__bottom {
  margin-top: var(--s4);
  border-top: 1px solid rgba(255,255,255,.1);
  padding-block: var(--s2);
  display: flex; flex-direction: column; gap: 8px;
  font-size: 12px; color: #8C8380;
}
.footer__bottom p { margin: 0; }
.footer__pay { display: flex; flex-wrap: wrap; gap: 6px; }
.footer__pay span {
  border: 1px solid rgba(255,255,255,.16);
  border-radius: var(--r-sm);
  padding: 4px 9px; font-size: 11px;
}
@media (min-width: 768px) {
  .footer__bottom { flex-direction: row; align-items: center; justify-content: space-between; }
}

/* ---------- 13. YARDIMCILAR ---------------------------------------------- */
.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;
}
.center { text-align: center; }
.mt-1 { margin-top: var(--s1); }  .mt-2 { margin-top: var(--s2); }
.mt-3 { margin-top: var(--s3); }  .mt-4 { margin-top: var(--s4); }
.mb-0 { margin-bottom: 0; }       .mb-2 { margin-bottom: var(--s2); }
.mb-3 { margin-bottom: var(--s3); }
.flex { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.flex-between { display: flex; align-items: center; justify-content: space-between; gap: var(--s2); flex-wrap: wrap; }

/* Bildirim (toast) */
.toast-host {
  position: fixed; left: 50%; bottom: calc(84px + var(--safe-b)); z-index: 140;
  transform: translateX(-50%);
  width: min(92vw, 420px);
  display: grid; gap: 8px;
  pointer-events: none;
}
@media (min-width: 1024px) { .toast-host { bottom: 28px; } }
.toast {
  display: flex; align-items: center; gap: 10px;
  background: var(--ink); color: #fff;
  padding: 12px 16px;
  border-radius: var(--r-md);
  box-shadow: var(--shadow-lg);
  font-size: 14px; line-height: 1.45;
  opacity: 0; transform: translateY(10px);
  transition: opacity var(--t), transform var(--t);
  pointer-events: auto;
}
.toast.is-in { opacity: 1; transform: translateY(0); }
.toast svg { width: 18px; height: 18px; flex: 0 0 auto; }
.toast--bad { background: var(--bad); }
.toast a { color: #fff; text-decoration: underline; text-underline-offset: 2px; white-space: nowrap; }

/* Görünüme girince yumuşak fade */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }
