/* ============================================================
   ŞENLİK — "Cesur Modern" editoryal tasarım sistemi
   Yüksek kontrast · dev tipografi · sert kenarlı kartlar ·
   çakışan katmanlar · cesur renk blokları. Fiyat GÖSTERİLMEZ (vitrin).
   ============================================================ */

:root {
  --paper: #f3f1ea;        /* kağıt zemin */
  --paper-2: #eae6db;
  --ink: #111114;          /* neredeyse siyah */
  --ink-2: #4a4a52;
  --line: #111114;

  --magenta: #ff2d6b;
  --magenta-ink: #d11259;  /* koyu magenta — açık zeminde metin/buton için AA */
  --blue: #3b2bff;
  --lime: #d8ff3e;
  --amber: #ffb000;

  --shadow-hard: 6px 6px 0 var(--ink);
  --shadow-hard-lg: 10px 10px 0 var(--ink);

  /* Outfit: geometrik, yuvarlak, balon/parti markasına uygun; E'nin üç kolu
     düz ve eşit. Ağırlık ekseni 100-900 → CSS'teki 800 istekleri gerçek
     ağırlıkla karşılanır (sahte kalınlaştırma yok). */
  --font-display: "Outfit", system-ui, sans-serif;
  --font-body: "Archivo", system-ui, sans-serif;

  --wrap: 1280px;
  --ease: cubic-bezier(.19, 1, .22, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--font-body); line-height: 1.5; -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
/* Satır aralığı .92 idi: Türkçe BÜYÜK harflerde İ/Ö/Ü/Ğ'nin üstteki noktası
   bir üst satırın Ş/Ç kuyruğuna değiyordu. Canvas ink metrikleriyle ölçüldü:
   Outfit'te "İÖÜ" tepesi + "ŞÇ" kuyruğu = 1.21em. 1.24 → her boyutta pay kalır. */
h1, h2, h3, .display { font-family: var(--font-display); font-weight: 800; line-height: 1.24; margin: 0; letter-spacing: -.02em; }
/* Gökkuşağı harfleri inline-block; kelime içinde satır sonu oluşmasın. */
.rw { white-space: nowrap; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
::selection { background: var(--magenta); color: #fff; }

.wrap { width: min(100% - 40px, var(--wrap)); margin-inline: auto; }
.tag {
  display: inline-flex; align-items: center; gap: 7px; font-family: var(--font-body);
  font-weight: 700; font-size: .7rem; letter-spacing: .18em; text-transform: uppercase;
}
.hl { background: var(--lime); padding: 0 .12em; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.mag { color: var(--magenta); }

/* ---------- butonlar ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-display); font-weight: 700; font-size: 1rem; letter-spacing: -.01em;
  padding: 14px 26px; border: 2px solid var(--ink); background: var(--paper); color: var(--ink);
  cursor: pointer; border-radius: 0; transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .15s;
  box-shadow: 0 0 0 var(--ink);
}
.btn:hover { transform: translate(-3px, -3px); box-shadow: var(--shadow-hard); }
.btn:active { transform: translate(0, 0); box-shadow: 0 0 0 var(--ink); }
.btn-primary { background: var(--ink); color: var(--paper); }
.btn-primary:hover { background: var(--magenta-ink); border-color: var(--ink); color: #fff; }
.btn-mag { background: var(--magenta-ink); color: #fff; }
.btn-sm { padding: 9px 16px; font-size: .85rem; }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--paper); border-bottom: 2px solid var(--ink); }
.nav { display: flex; align-items: center; gap: 24px; height: 70px; }
/* Logo yalnızca yazıdan oluşur — yanındaki magenta baklava (.mark) kaldırıldı. */
.brand { display: flex; align-items: center; font-family: var(--font-display); font-weight: 800; font-size: 1.85rem; letter-spacing: -.03em; text-transform: uppercase; line-height: 1.24; white-space: nowrap; }
.nav-links { display: flex; gap: 4px; margin-left: 8px; }
.nav-links a { padding: 8px 12px; font-weight: 700; font-size: .9rem; text-transform: uppercase; letter-spacing: .02em; border: 2px solid transparent; transition: .15s; }
.nav-links a:hover, .nav-links a.active { border-color: var(--ink); }
.nav-spacer { flex: 1; }
.icon-btn {
  position: relative; height: 44px; min-width: 44px; padding: 0 12px; border: 2px solid var(--ink); background: var(--paper);
  cursor: pointer; display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-display); font-weight: 700; font-size: .9rem;
  transition: .15s var(--ease);
}
.icon-btn:hover { background: var(--ink); color: var(--paper); }
/* Dar ekranda metin etiketleri yerine ikon gösterilir (başlık çubuğu 366px'e
   çıkıp 320px'lik sarmalayıcıyı taşırıyordu). */
.icon-btn .ico { display: none; font-size: 1.1rem; line-height: 1; }
.cart-count {
  min-width: 22px; height: 22px; padding: 0 6px; background: var(--magenta); color: #fff; border: 2px solid var(--ink);
  font-size: .72rem; font-weight: 800; display: grid; place-items: center; font-family: var(--font-body);
}
.cart-count[data-n="0"] { display: none; }
.burger { display: none; }

/* kategori mega-menü */
.nav-drop { position: relative; }
.nav-drop .drop-trigger { display: inline-flex; align-items: center; gap: 5px; }
.nav-drop .caret { font-size: .7em; }
.mega {
  position: absolute; top: calc(100% + 10px); left: 0; width: min(700px, 80vw);
  background: var(--paper); border: 2px solid var(--ink); box-shadow: var(--shadow-hard);
  padding: 14px; z-index: 60; opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity .16s var(--ease), transform .16s var(--ease), visibility .16s;
  max-height: 74vh; overflow-y: auto;
  /* savunma amaçlı: yazı tipi yedeğe düşerse tetikleyici sağa kayabilir */
  max-width: calc(100vw - 40px);
}
.nav-drop:hover .mega, .nav-drop:focus-within .mega { opacity: 1; visibility: visible; transform: translateY(0); }
.mega-all { display: block; font-family: var(--font-display); font-weight: 800; text-transform: uppercase; background: var(--ink); color: var(--paper); padding: 11px 13px; margin-bottom: 10px; font-size: .95rem; }
.mega-cols { columns: 3; column-gap: 16px; }
.mega-group { break-inside: avoid; -webkit-column-break-inside: avoid; margin-bottom: 8px; display: inline-block; width: 100%; }
.mega-cat { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 7px 9px; font-family: var(--font-display); font-weight: 700; font-size: .92rem; border: 1px solid transparent; text-transform: none; letter-spacing: 0; }
.mega-cat:hover { background: var(--lime); border-color: var(--ink); }
.mega-cat b, .mega-sub b { font-family: var(--font-body); font-size: .72rem; color: var(--ink-2); font-weight: 700; }
.mega-sub { display: flex; flex-direction: column; margin: 2px 0 4px 10px; border-left: 2px solid var(--line); padding-left: 8px; }
.mega-sub a { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 4px 8px; font-size: .82rem; font-weight: 500; }
.mega-sub a:hover { background: var(--lime); }

/* alt kategori chip satırı (urunler) */
.chips-sub-wrap:empty { display: none; }
.chips-sub-wrap { margin-top: -10px; margin-bottom: 22px; }
.chip .ci-caret { font-size: .7em; opacity: .7; margin-left: 2px; display: inline-block; transition: transform .18s var(--ease); }
/* açık olduğunu tıklanan noktada göster — alt satır aşağıda açılıyor */
.chip.active .ci-caret { transform: rotate(180deg); opacity: 1; }
.chip-sub { font-size: .8rem; padding: 6px 13px; background: var(--paper); }
.chip-sub.active { background: var(--magenta-ink); color: #fff; border-color: var(--ink); }

/* banner slider okları */
.slide-arrow { position: absolute; top: 50%; transform: translateY(-50%); width: 46px; height: 46px; background: var(--paper); border: 2px solid var(--ink); font-family: var(--font-display); font-weight: 700; font-size: 1.7rem; line-height: 1; cursor: pointer; z-index: 3; display: grid; place-items: center; transition: background .15s, color .15s; box-shadow: 4px 4px 0 var(--ink); color: var(--ink); }
.slide-arrow:hover { background: var(--magenta-ink); color: #fff; }
.slide-arrow.prev { left: 14px; }
.slide-arrow.next { right: 14px; }

/* RENK DALGASI — hero "RENKLERİ", PARTİ PLATO logosu (üst + alt) ve
   data-rainbow taşıyan sayfa başlıkları (ör. KOLEKSİYON).
   Harfler yerinde durur; gökkuşağı paleti harfler arasında akar. Her harf aynı
   döngüyü NEGATİF gecikmeyle farklı fazdan başlatır → dalga etkisi.
   (Eski "bob" zıplaması kaldırıldı: gecikmeler 2n/3n/4n ile dağıtıldığı için
   sıra karışık ve titrek görünüyordu.) */
.rainbow span,
.rainbow-brand span {
  display: inline-block;
  animation: hueflow 5.6s linear infinite;
  animation-delay: calc(var(--i, 0) * -0.7s);
}
@keyframes hueflow {
  0%   { color: #ff1744; }
  14%  { color: #ff6d00; }
  28%  { color: #ffab00; }
  43%  { color: #00c853; }
  57%  { color: #00b0ff; }
  71%  { color: #2962ff; }
  86%  { color: #7c4dff; }
  100% { color: #ff1744; }
}

/* ---------- hero ---------- */
.hero { position: relative; padding: 40px 0 12px; overflow: hidden; }
.hero-head { max-width: 820px; }
.hero-head .tag { color: var(--magenta-ink); margin-bottom: 14px; display: inline-block; }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 30px; align-items: end; }
.hero-kicker { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.hero-kicker .idx { font-family: var(--font-display); font-weight: 800; font-size: 1rem; }
.hero-kicker .rule { flex: 1; height: 2px; background: var(--ink); }
.hero h1 { font-size: clamp(2.8rem, 8.5vw, 6.6rem); text-transform: uppercase; }
.hero h1 .rainbow { white-space: nowrap; display: inline-block; }
.hero h1 .out { color: transparent; -webkit-text-stroke: 2px var(--ink); }
.hero .sub { max-width: 44ch; font-size: 1.1rem; margin: 22px 0 26px; color: var(--ink-2); }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }

.hero-visual { position: relative; aspect-ratio: 4/5; }
.hero-visual .block { position: absolute; inset: 12px -12px -12px 12px; background: var(--blue); border: 2px solid var(--ink); }
.hero-visual .shot { position: absolute; inset: 0; border: 2px solid var(--ink); overflow: hidden; background: var(--paper-2); }
.hero-visual .shot img { width: 100%; height: 100%; object-fit: cover; }
.hero-visual .stamp {
  position: absolute; top: -14px; right: -14px; background: var(--lime); border: 2px solid var(--ink);
  font-family: var(--font-display); font-weight: 800; padding: 8px 14px; transform: rotate(6deg); font-size: .95rem; z-index: 2;
}

/* ---------- banner slider ---------- */
.hero-slider { position: relative; margin-top: 26px; border: 2px solid var(--ink); box-shadow: var(--shadow-hard); }
.hero-slider .slides { position: relative; aspect-ratio: 2 / 1; background: var(--paper-2); overflow: hidden; }
/* Slaytlar üst üste duruyor. opacity:0 tıklamayı ENGELLEMEZ — pointer-events olmadan
   en son slayt hepsinin üstünde kalıp tüm tıklamaları yutuyordu (yanlış kategoriye gidiyordu). */
.hero-slider .slide { position: absolute; inset: 0; opacity: 0; pointer-events: none; transition: opacity .6s var(--ease); display: block; }
.hero-slider .slide.active { opacity: 1; pointer-events: auto; }
.hero-slider .slide img { width: 100%; height: 100%; object-fit: cover; }
.hero-slider .slide-cap { position: absolute; left: 0; bottom: 0; background: var(--ink); color: var(--paper); padding: 9px 16px; display: flex; flex-direction: column; max-width: 70%; }
.hero-slider .slide-cap b { font-family: var(--font-display); font-weight: 800; font-size: 1.05rem; text-transform: uppercase; line-height: 1; }
.hero-slider .slide-cap span { font-size: .76rem; font-weight: 600; opacity: .85; margin-top: 2px; }
.slide-dots { position: absolute; right: 14px; bottom: 14px; display: flex; gap: 8px; z-index: 3; }
.slide-dots .dot { width: 13px; height: 13px; border: 2px solid var(--ink); background: var(--paper); cursor: pointer; padding: 0; box-shadow: 2px 2px 0 var(--ink); }
.slide-dots .dot.active { background: var(--magenta); }

/* ---------- marquee ---------- */
.marquee { border-block: 2px solid var(--ink); background: var(--ink); color: var(--paper); overflow: hidden; padding: 12px 0; margin-top: 28px; }
.marquee-track { display: flex; gap: 34px; white-space: nowrap; animation: scroll 24s linear infinite; font-family: var(--font-display); font-weight: 800; font-size: 1.15rem; text-transform: uppercase; letter-spacing: -.01em; }
.marquee-track span { display: inline-flex; gap: 34px; }
.marquee .star { color: var(--magenta); }
@keyframes scroll { to { transform: translateX(-50%); } }

/* ---------- bölüm başlığı ---------- */
.section { padding: 62px 0; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 34px; flex-wrap: wrap; border-bottom: 2px solid var(--ink); padding-bottom: 16px; }
.section-head .idx { font-family: var(--font-display); font-weight: 800; font-size: 1rem; display: block; margin-bottom: 6px; }
.section-head h2 { font-size: clamp(2.2rem, 5vw, 4rem); text-transform: uppercase; }
.section-head .r { text-align: right; color: var(--ink-2); font-weight: 700; font-size: .9rem; text-transform: uppercase; letter-spacing: .04em; }

/* ---------- kategori blokları ---------- */
.cat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border: 2px solid var(--ink); }
.cat-card {
  position: relative; padding: 26px 22px; min-height: 168px; border-right: 2px solid var(--ink); border-bottom: 2px solid var(--ink);
  display: flex; flex-direction: column; justify-content: space-between; overflow: hidden; background: var(--paper);
  transition: background .2s, color .2s; color: var(--ink);
}
.cat-card:hover { background: var(--ink); color: var(--paper); }
.cat-card .n { font-family: var(--font-display); font-weight: 800; font-size: .95rem; }
.cat-card h3 { font-size: 1.7rem; text-transform: uppercase; margin-top: auto; }
.cat-card .c { font-weight: 700; font-size: .82rem; text-transform: uppercase; letter-spacing: .04em; }
.cat-card:hover .arrow { transform: translateX(6px); }
.cat-card .arrow { transition: transform .2s var(--ease); display: inline-block; }
.cat-card.feat { background: var(--magenta); color: #fff; grid-column: span 2; }
.cat-card.feat:hover { background: var(--blue); }

/* ---------- ürün grid + kart ----------
   minmax(0,1fr): düz "1fr" satırın min-content'i kadar şişebiliyor; uzun
   ürün adları mobilde sütunu 216px'e çıkarıp sayfayı yatay taşırıyordu. */
.grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
.card { position: relative; background: var(--paper); border: 2px solid var(--ink); display: flex; flex-direction: column; transition: transform .2s var(--ease), box-shadow .2s var(--ease); }
.card:hover { transform: translate(-4px, -4px); box-shadow: var(--shadow-hard); }
.card-media { position: relative; aspect-ratio: 4/5; overflow: hidden; background: var(--paper-2); border-bottom: 2px solid var(--ink); }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .55s var(--ease); }
.card:hover .card-media img { transform: scale(1.06); }
.card .idx { position: absolute; top: 0; left: 0; background: var(--paper); border-right: 2px solid var(--ink); border-bottom: 2px solid var(--ink); font-family: var(--font-display); font-weight: 800; font-size: .85rem; padding: 4px 9px; }
.card .fav { position: absolute; top: 0; right: 0; width: 40px; height: 40px; background: var(--paper); border-left: 2px solid var(--ink); border-bottom: 2px solid var(--ink); cursor: pointer; font-size: 1rem; display: grid; place-items: center; transition: .15s; }
.card .fav:hover { background: var(--magenta); }
.card .out-tag { position: absolute; bottom: 10px; left: 10px; background: var(--ink); color: var(--paper); font-family: var(--font-display); font-weight: 700; font-size: .7rem; padding: 4px 9px; text-transform: uppercase; letter-spacing: .06em; }
.card-body { padding: 14px 15px 16px; display: flex; flex-direction: column; gap: 7px; flex: 1; }
.card-cat { font-size: .68rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--magenta-ink); overflow-wrap: anywhere; }
.card-title { font-family: var(--font-display); font-weight: 700; font-size: 1rem; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.6em; overflow-wrap: anywhere; }
.card-foot { margin-top: auto; padding-top: 8px; display: flex; align-items: center; justify-content: space-between; }
.card-view { font-family: var(--font-display); font-weight: 700; font-size: .85rem; text-transform: uppercase; letter-spacing: .02em; }
.card:hover .card-view .arrow { transform: translateX(5px); }
.card-view .arrow { display: inline-block; transition: transform .2s var(--ease); }

/* ---------- filtre ---------- */
.toolbar { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; margin-bottom: 22px; }
.search { flex: 1; min-width: 220px; display: flex; align-items: center; gap: 10px; background: var(--paper); border: 2px solid var(--ink); padding: 11px 16px; }
.search input { border: none; outline: none; background: none; font-family: var(--font-body); font-size: 1rem; width: 100%; color: var(--ink); font-weight: 500; }
.select { background: var(--paper); border: 2px solid var(--ink); padding: 11px 16px; font-family: var(--font-display); font-weight: 700; font-size: .95rem; cursor: pointer; color: var(--ink); }
.chips { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 22px; }
.chip { padding: 8px 15px; border: 2px solid var(--ink); background: var(--paper); font-family: var(--font-display); font-weight: 700; font-size: .85rem; cursor: pointer; transition: .15s; text-transform: uppercase; letter-spacing: .02em; }
.chip:hover { background: var(--lime); }
.chip.active { background: var(--ink); color: var(--paper); }
.result-count { font-family: var(--font-display); font-weight: 700; margin-bottom: 18px; text-transform: uppercase; letter-spacing: .04em; font-size: .9rem; }

/* ---------- ürün detay ---------- */
.pd { display: grid; grid-template-columns: 1.05fr .95fr; gap: 44px; padding: 36px 0 60px; }
.pd-gallery .main { border: 2px solid var(--ink); overflow: hidden; background: var(--paper-2); aspect-ratio: 4/5; }
.pd-gallery .main img { width: 100%; height: 100%; object-fit: cover; }
.pd-thumbs { display: flex; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
.pd-thumbs img { width: 74px; height: 74px; object-fit: cover; border: 2px solid var(--ink); cursor: pointer; opacity: .55; transition: .15s; background: var(--paper-2); }
.pd-thumbs img:hover, .pd-thumbs img.active { opacity: 1; }
.pd-info .pd-brand { font-family: var(--font-display); font-weight: 700; text-transform: uppercase; letter-spacing: .06em; font-size: .85rem; color: var(--magenta-ink); }
.pd-info h1 { font-size: clamp(2rem, 4.4vw, 3.4rem); text-transform: uppercase; margin: 12px 0 18px; }
.pd-desc { color: var(--ink-2); font-size: 1.05rem; line-height: 1.7; margin: 0 0 26px; max-width: 52ch; }
.pd-actions { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.qty { display: inline-flex; align-items: center; border: 2px solid var(--ink); background: var(--paper); }
.qty button { width: 44px; height: 48px; border: none; background: none; font-size: 1.3rem; cursor: pointer; color: var(--ink); font-family: var(--font-display); }
.qty button:hover { background: var(--ink); color: var(--paper); }
.qty span { min-width: 42px; text-align: center; font-weight: 800; font-family: var(--font-display); }
.pd-meta { margin-top: 28px; border-top: 2px solid var(--ink); padding-top: 18px; display: grid; gap: 10px; font-weight: 600; }
.pd-meta div { display: flex; justify-content: space-between; border-bottom: 1px solid var(--ink); padding-bottom: 8px; text-transform: uppercase; font-size: .82rem; letter-spacing: .03em; }
.pd-meta b { font-family: var(--font-display); }

/* ---------- ilgi listesi çekmecesi ---------- */
.drawer-scrim { position: fixed; inset: 0; background: rgba(17,17,20,.5); opacity: 0; visibility: hidden; transition: .25s; z-index: 90; }
.drawer-scrim.open { opacity: 1; visibility: visible; }
.drawer { position: fixed; top: 0; right: 0; height: 100%; width: min(430px, 94vw); background: var(--paper); z-index: 91; transform: translateX(100%); transition: transform .35s var(--ease); display: flex; flex-direction: column; border-left: 2px solid var(--ink); }
.drawer.open { transform: translateX(0); }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 20px 22px; border-bottom: 2px solid var(--ink); }
.drawer-head h2 { font-size: 1.6rem; text-transform: uppercase; }
.drawer-body { flex: 1; overflow-y: auto; padding: 16px 22px; display: flex; flex-direction: column; gap: 14px; }
.cart-item { display: grid; grid-template-columns: 70px 1fr auto; gap: 13px; align-items: center; border-bottom: 2px solid var(--ink); padding-bottom: 14px; }
.cart-item img { width: 70px; height: 84px; object-fit: cover; border: 2px solid var(--ink); background: var(--paper-2); }
.cart-item .ci-title { font-family: var(--font-display); font-weight: 700; font-size: .9rem; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.cart-item .ci-cat { font-size: .68rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; color: var(--magenta-ink); margin-top: 3px; }
.ci-remove { background: none; border: none; cursor: pointer; font-size: 1.1rem; }
.mini-qty { display: inline-flex; align-items: center; gap: 8px; margin-top: 6px; }
.mini-qty button { width: 26px; height: 26px; border: 2px solid var(--ink); background: var(--paper); cursor: pointer; font-weight: 800; }
.drawer-foot { padding: 18px 22px; border-top: 2px solid var(--ink); }
.sales-off-note { font-size: .8rem; color: var(--ink-2); text-align: center; margin-top: 10px; font-weight: 600; }
.cart-empty { text-align: center; color: var(--ink-2); padding: 44px 0; }
.cart-empty .em { font-family: var(--font-display); font-size: 2.4rem; font-weight: 800; }

/* ---------- görsel büyüteci (lightbox) ----------
   z-index 100: çekmece (91) ve mobil menünün (93) üstünde kalmalı.
   Dolgular env(safe-area-inset-*) ile çentikli/gestür çubuklu telefonlarda
   ✕ ve gezinme düğmelerinin sistem alanına girmesini engeller. */
.lightbox {
  position: fixed; inset: 0; z-index: 100; display: none;
  align-items: center; justify-content: center;
  background: rgba(17, 17, 20, .93);
  padding: calc(env(safe-area-inset-top, 0px) + 70px) 16px calc(env(safe-area-inset-bottom, 0px) + 26px);
}
.lightbox.open { display: flex; }
.lb-img {
  max-width: 100%; max-height: 100%; width: auto; height: auto;
  object-fit: contain; border: 2px solid var(--ink); background: var(--paper-2);
}
.lb-btn {
  position: absolute; width: 48px; height: 48px; padding: 0; z-index: 2;
  display: grid; place-items: center; cursor: pointer;
  background: var(--paper); color: var(--ink); border: 2px solid var(--ink);
  box-shadow: 4px 4px 0 var(--ink);
  font-family: var(--font-display); font-weight: 800; line-height: 1;
  transition: background .15s, color .15s;
}
.lb-btn:hover { background: var(--magenta-ink); color: #fff; }
.lb-close { top: calc(env(safe-area-inset-top, 0px) + 14px); right: 16px; font-size: 1.25rem; }
.lb-prev, .lb-next { top: 50%; transform: translateY(-50%); font-size: 1.9rem; }
.lb-prev { left: 16px; }
.lb-next { right: 16px; }
.lb-count {
  position: absolute; bottom: calc(env(safe-area-inset-bottom, 0px) + 18px); left: 50%;
  transform: translateX(-50%); background: var(--paper); color: var(--ink);
  border: 2px solid var(--ink); padding: 6px 14px;
  font-family: var(--font-display); font-weight: 700; font-size: .85rem;
}
/* büyütülebileceğini imleçle belli et */
.pd-gallery .main { cursor: zoom-in; }

/* ---------- toast ---------- */
.toast { position: fixed; bottom: 26px; left: 50%; transform: translateX(-50%) translateY(30px); background: var(--ink); color: var(--paper); padding: 13px 22px; border: 2px solid var(--ink); font-family: var(--font-display); font-weight: 700; opacity: 0; transition: .25s var(--ease); z-index: 95; text-transform: uppercase; letter-spacing: .03em; }
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ---------- footer ---------- */
.footer { background: var(--ink); color: var(--paper); padding: 60px 0 28px; margin-top: 30px; }
.footer a { color: var(--paper); }
.footer a:hover { color: var(--lime); }
.footer-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 30px; padding-bottom: 40px; border-bottom: 2px solid var(--paper); }
.footer .big-brand { font-family: var(--font-display); font-weight: 800; font-size: clamp(2.4rem, 6vw, 4.5rem); text-transform: uppercase; line-height: 1.24; }
.footer .foot-h { font-family: var(--font-display); font-weight: 700; text-transform: uppercase; letter-spacing: .04em; font-size: .95rem; margin-bottom: 12px; }
.footer .cols a { display: block; padding: 5px 0; font-weight: 500; }
.footer-bottom { margin-top: 24px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .82rem; font-weight: 500; letter-spacing: .01em; opacity: .8; }

/* ---------- marka bandı (ana sayfa) ----------
   Eskiden index.html'de satır içi grid'di; satır içi stil medya sorgusuyla
   ezilemediği için mobilde iki sütun kalıp sağ sütunu ekran dışına itiyordu. */
.brand-band { display: grid; grid-template-columns: 1.2fr 1fr; gap: 36px; align-items: center; }

/* ---------- mobil menü ---------- */
.mm-scrim { position: fixed; inset: 0; background: rgba(17,17,20,.5); opacity: 0; visibility: hidden; transition: .25s; z-index: 92; }
.mm-scrim.open { opacity: 1; visibility: visible; }
.mobile-menu {
  position: fixed; top: 0; left: 0; height: 100%; width: min(360px, 90vw); background: var(--paper);
  z-index: 93; transform: translateX(-100%); transition: transform .3s var(--ease);
  display: flex; flex-direction: column; border-right: 2px solid var(--ink);
}
.mobile-menu.open { transform: translateX(0); }
.mm-head { display: flex; align-items: center; justify-content: space-between; padding: 14px 18px; border-bottom: 2px solid var(--ink); flex: none; }
.mm-title { font-family: var(--font-display); font-weight: 800; font-size: 1.3rem; text-transform: uppercase; }
.mm-body { flex: 1; overflow-y: auto; -webkit-overflow-scrolling: touch; padding: 10px 14px 18px; }
.mm-link {
  display: block; padding: 13px 12px; font-family: var(--font-display); font-weight: 700;
  font-size: 1.02rem; text-transform: uppercase; border: 2px solid var(--ink); margin-bottom: 8px; background: var(--paper);
}
.mm-link:active { background: var(--lime); }
.mm-h { font-family: var(--font-body); font-weight: 800; font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-2); margin: 18px 0 8px; }
.mm-cat {
  display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 46px;
  padding: 11px 12px; font-family: var(--font-display); font-weight: 700; font-size: .96rem;
  border-bottom: 2px solid var(--ink);
}
.mm-cat:active { background: var(--lime); }
.mm-cat b, .mm-sub b { font-family: var(--font-body); font-size: .72rem; color: var(--ink-2); font-weight: 700; }
.mm-sub { display: flex; flex-direction: column; margin: 0 0 6px 10px; border-left: 2px solid var(--line); padding-left: 8px; }
.mm-sub a { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 42px; padding: 9px 10px; font-size: .88rem; font-weight: 600; }
.mm-sub a:active { background: var(--lime); }
.mm-foot { flex: none; padding: 14px 18px; border-top: 2px solid var(--ink); }
.mm-tr { display: block; margin-top: 12px; text-align: center; font-size: .84rem; font-weight: 700; color: var(--ink-2); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- görsel koruması (sürükle/seç/uzun-bas kaydet engeli) ----------
   Sağ tık JS'te engellenir; bu kurallar sürüklemeyi, metin seçimini ve
   mobilde uzun basınca çıkan "Görseli Kaydet" balonunu (touch-callout) kapatır.
   %100 koruma değildir (ekran görüntüsü her zaman mümkün) ama güçlü caydırıcıdır. */
img {
  -webkit-user-drag: none;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  user-select: none;
}

/* ---------- yardımcı ---------- */
.hidden { display: none !important; }
.page-title { padding: 40px 0 20px; border-bottom: 2px solid var(--ink); margin-bottom: 30px; }
.page-title .idx { font-family: var(--font-display); font-weight: 800; }
.page-title h1 { font-size: clamp(2.6rem, 7vw, 5.5rem); text-transform: uppercase; margin: 8px 0; }
.page-title p { color: var(--ink-2); font-weight: 600; max-width: 48ch; }
.breadcrumb { padding: 22px 0 0; font-weight: 700; font-size: .8rem; text-transform: uppercase; letter-spacing: .04em; }
.breadcrumb a:hover { color: var(--magenta); }

/* ---------- hareketi azalt (erişilebilirlik) ---------- */
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .marquee-track { animation: none; }
  .hero-slider .slide { transition: none; }
  /* Renk dalgası tamamen kapatılmalı: yukarıdaki kural animasyonu ilk
     kareye (kırmızı) dondurup TÜM harfleri aynı renk yapardı. Kapatınca
     HTML'deki harf başına satır içi renkler geri gelir. */
  .rainbow span, .rainbow-brand span { animation: none !important; }
}

/* ---------- responsive ---------- */
/* Dokunmatik/dar ekran eşiği — ölçümle belirlendi, tahminle değil:
   · mega menü "Koleksiyonlar" altından (x≈398) açılıp 700px sürüyor → sağ
     kenarı 1098px; altındaki ekranlarda kırpılıyordu (1024px'te 74px taşma).
   · masaüstü başlık çubuğunun içeriği 1078px; 40px kenar boşluğuyla en az
     1118px ekran ister, altında butonlar sıkışıyordu.
   İkisinin de üstü: 1120px. Bu genişliğin altında mobil menü paneli açılır. */
@media (max-width: 1120px) {
  .cat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { max-width: 420px; margin-top: 10px; }
  .pd { grid-template-columns: 1fr; gap: 26px; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .brand-band { grid-template-columns: 1fr; gap: 24px; }

  /* masaüstü açılır menüsü yerine mobil panel */
  .nav-links { display: none; }
  .burger { display: inline-flex; }

  /* dokunma hedefleri (WCAG 2.2 · min 24×24) */
  .slide-dots { right: 10px; bottom: 10px; gap: 6px; }
  .slide-dots .dot { width: 26px; height: 26px; box-shadow: 2px 2px 0 var(--ink); }
  .slide-arrow { width: 44px; height: 44px; }
  .card .fav { width: 44px; height: 44px; }
  .chip { padding: 11px 15px; }
  .card-view, .section-head .r, .breadcrumb a, .mm-tr { display: inline-block; padding: 7px 0; }
  /* sarmalayıcının dolgusu da odaklanabilir olsun (input kendisi 19px'ti) */
  .search { padding: 0 16px; }
  .search input { padding: 13px 0; }
}
@media (max-width: 680px) {
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  .cat-card.feat { grid-column: span 2; }

  /* başlık çubuğu: metin etiketleri yerine ikon, marka biraz küçülür */
  .nav { gap: 8px; }
  .icon-btn { padding: 0 10px; gap: 0; }
  .icon-btn .lbl { display: none; }
  .icon-btn .ico { display: inline-block; }
  .brand { font-size: 1.32rem; }

  /* uzun başlıklar taşmasın. break-word (anywhere değil): yalnızca kelime
     tek başına satıra sığmıyorsa böler, "KUTLAMANI/N" gibi çirkin
     kesmeler yapmaz. */
  .section-head h2 { font-size: clamp(1.7rem, 8.5vw, 2.6rem); overflow-wrap: break-word; }
  .page-title h1, .pd-info h1 { overflow-wrap: break-word; }
  /* "KUTLAMANIN" mobilde sığmayıp kırpılıyordu. Space Grotesk, Unbounded'dan
     belirgin dar → ölçüldü: sığan en büyük punto ≈ %15,3 vw. %15 güvenlik
     payıyla 13vw. break-word yalnızca yazı tipi yedeğe düşerse devreye girer
     (kırpılıp okunmaz kalmaktansa bölünsün). */
  .hero h1 { font-size: clamp(2.2rem, 13vw, 4rem); overflow-wrap: break-word; }
  .section { padding: 44px 0; }
  .footer { padding: 44px 0 24px; }

  /* 20 koleksiyon chip'i sarınca 757px'lik bir duvar oluyordu; seçilen
     kategorinin alt satırı 522px aşağıda, ekran dışında açılıyordu — bu yüzden
     "ok çalışmıyor" gibi görünüyordu. Tek satır + yatay kaydırma: blok ~55px'e
     iner, alt satır hemen altında görünür kalır, ürünler yukarı gelir. */
  .chips, .chips-sub-wrap {
    flex-wrap: nowrap; overflow-x: auto; overflow-y: hidden;
    -webkit-overflow-scrolling: touch; scroll-snap-type: x proximity;
    scrollbar-width: none; padding-bottom: 4px; margin-bottom: 14px;
  }
  .chips::-webkit-scrollbar, .chips-sub-wrap::-webkit-scrollbar { display: none; }
  .chips .chip, .chips-sub-wrap .chip { flex: none; scroll-snap-align: center; }
  .chips-sub-wrap { margin-top: 0; }

  .slide-arrow { width: 40px; height: 40px; font-size: 1.4rem; }
  .slide-arrow.prev { left: 8px; }
  .slide-arrow.next { right: 8px; }

  /* Noktalar görsel üstündeyken banner başlığını kapatıyordu (8 nokta ≈ 250px).
     Mobilde görselin altında kendi şeridine alınır. */
  .slide-dots { position: static; justify-content: center; padding: 9px 0; gap: 8px;
                border-top: 2px solid var(--ink); background: var(--paper); }
  .slide-dots .dot { width: 24px; height: 24px; box-shadow: none; }
  .hero-slider .slide-cap { max-width: calc(100% - 96px); padding: 7px 12px; }
  .hero-slider .slide-cap b { font-size: .92rem; }

  /* Büyüteç: dar ekranda yan oklar görselin kenarlarını kapatıyordu →
     alt şeride, başparmak menziline iner. Sayaç ortada kalır. */
  .lightbox { padding: calc(env(safe-area-inset-top, 0px) + 66px) 10px calc(env(safe-area-inset-bottom, 0px) + 74px); }
  .lb-btn { box-shadow: 2px 2px 0 var(--ink); }
  .lb-prev, .lb-next { top: auto; transform: none; bottom: calc(env(safe-area-inset-bottom, 0px) + 14px); }
  .lb-prev { left: 14px; }
  .lb-next { right: 14px; }
  .lb-count { bottom: calc(env(safe-area-inset-bottom, 0px) + 26px); }
}
@media (max-width: 480px) {
  .footer-top { grid-template-columns: 1fr; gap: 22px; padding-bottom: 28px; }
  .cat-grid { grid-template-columns: 1fr; }
  .cat-card.feat { grid-column: span 1; }
  .cat-card { min-height: 132px; padding: 20px 18px; }
  .wrap { width: min(100% - 28px, var(--wrap)); }
  .toolbar { gap: 10px; }
  .search { min-width: 0; flex-basis: 100%; }
  .select { width: 100%; }
  .pd-thumbs img { width: 62px; height: 62px; }
  .qty button { width: 46px; }
}
