/* Font yüklenene kadar kullanılan, genişliği web fontuna eşitlenmiş yedekler: font değişince
   satırlar yeniden kırılmasın (düzen kayması olmasın). Oranlar tarayıcıda ölçüldü:
   Cormorant Garamond 600 / Georgia Bold, Inter / Arial. Font değişirse yeniden ölçün. */
@font-face {
  font-family: "Heading Fallback"; src: local("Georgia Bold"), local("Georgia-Bold"), local("Georgia");
  font-weight: 500 700; size-adjust: 77.07%; ascent-override: 119.9%; descent-override: 37.2%; line-gap-override: 0%;
}
@font-face {
  font-family: "Body Fallback"; src: local("Arial"), local("ArialMT");
  font-weight: 400; size-adjust: 105.26%; ascent-override: 92.03%; descent-override: 23.01%; line-gap-override: 0%;
}
@font-face {
  font-family: "Body Fallback"; src: local("Arial Bold"), local("Arial-BoldMT");
  font-weight: 600 700; size-adjust: 100.26%; ascent-override: 96.62%; descent-override: 24.16%; line-gap-override: 0%;
}

/* Mira Atelier — tek stil dosyası. Renk ve fontlar js/config.js'ten :root'a yazılır;
   buradaki değerler config yüklenmeden önceki varsayılanlardır. */

:root {
  --bg: #FAF7F2;
  --surface: #FFFFFF;
  --text: #1F1B16;
  --muted: #6B6158;
  --line: #E6DFD5;
  --accent: #B4654A;
  --accent-strong: #9E5840;
  --accent-text: #FFFFFF;
  --danger: #A3352B;
  --ok: #3F6B4A;
  --font-heading: "Cormorant Garamond", "Heading Fallback", Georgia, serif;
  --font-body: "Inter", "Body Fallback", system-ui, sans-serif;
  --radius: 4px;
  --gutter: 16px;
  --header-h: 0px; /* mobilde başlık yapışkan değil */
  --t: 180ms ease;
  /* Hareket sistemi: yavaş, yumuşak; yalnız transform/opacity animasyonlanır */
  --ease-soft: cubic-bezier(.22, .61, .36, 1);
  --ease-slow: cubic-bezier(.2, .6, .35, 1); /* uzun, sakin yakınlaşmalar */
  --dur-card: 900ms;
  --dur-fast: 420ms;
  --reveal-y: 18px;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }

html { -webkit-text-size-adjust: 100%; scrollbar-gutter: stable; }
html.no-scroll { overflow: hidden; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }

/* Görsel yükleme göstergesi (JS: imgTag + bindImageLoading): bulanık küçük önizleme ve
   dönen halka ana görselin üstünde durur, görsel yüklenince yumuşakça solar. */
.lq {
  position: absolute; inset: 0; overflow: hidden; pointer-events: none;
  border-radius: inherit; background: #EDE7DE;
  transition: opacity 700ms var(--ease-soft), visibility 0s linear 700ms;
}
/* Bulunduğu kapsayıcının img kurallarından etkilenmesin */
.lq > img {
  position: absolute !important; inset: 0 !important; width: 100% !important; height: 100% !important;
  max-width: none; aspect-ratio: auto !important; object-fit: cover; border-radius: 0 !important;
  filter: blur(14px); transform: scale(1.15) !important; transition: none !important; opacity: 1 !important;
}
.lq::after {
  content: ""; position: absolute; left: 50%; top: 50%;
  width: 26px; height: 26px; margin: -13px 0 0 -13px; border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.45); border-top-color: #fff;
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.12);
  animation: lq-spin 900ms linear infinite;
}
@keyframes lq-spin { to { transform: rotate(360deg); } }
/* Küçük resimler: önizleme görseli yok, açık zeminde koyu küçük halka */
.lq-small::after { width: 18px; height: 18px; margin: -9px 0 0 -9px; border-color: rgba(107, 97, 88, 0.25); border-top-color: var(--muted); box-shadow: none; }
img.is-loaded + .lq { opacity: 0; visibility: hidden; }
img.is-loaded + .lq::after { animation: none; }
/* Yüklenemedi: halka yerine uyarı ikonu (geniş görsellerde metinle) */
.lq.is-failed { background: #E4DCD1; }
.lq.is-failed > img { display: none; }
.lq.is-failed::after {
  animation: none; border: 0; box-shadow: none; width: 28px; height: 28px; margin: -14px 0 0 -14px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236B6158' stroke-width='1.6'%3E%3Crect x='3' y='4' width='18' height='16' rx='2'/%3E%3Cpath d='m3 16 5-5 4 4 3-3 6 6'/%3E%3Cpath d='M4 3l17 18'/%3E%3C/svg%3E") center / contain no-repeat;
}
.lq.is-failed[data-msg]::before {
  content: attr(data-msg); position: absolute; left: 12px; right: 12px; top: calc(50% + 22px);
  text-align: center; font-size: 0.78rem; line-height: 1.35; color: var(--muted);
}
/* Önizleme katmanı için kapsayıcılar */
.slides > div, .thumbs button, .type-pill-img, [data-banner-media] { position: relative; overflow: hidden; }
.line-media, .combo-media, .search-thumb { position: relative; display: block; overflow: hidden; border-radius: var(--radius); }
/* İçerik JS ile dolar; boş main altbilgiyi ekranın üstüne çekip kaydırmasın */
main { display: block; min-height: 100vh; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }

h1, h2, h3, .logo, .display {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: 0.01em;
  margin: 0 0 0.5em;
}
h1 { font-size: clamp(2rem, 6vw, 3.25rem); }
h2 { font-size: clamp(1.6rem, 4vw, 2.25rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }

.wrap { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 var(--gutter); }
.muted { color: var(--muted); }
.small { font-size: 0.85rem; }
.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;
}

:focus-visible { outline: 2px solid var(--text); outline-offset: 2px; }
:focus:not(:focus-visible) { outline: none; }

/* ——— Basılma geri bildirimi ———
   Mobil tarayıcıların mavi dokunma vurgusu kapalı; yerine öğe hafifçe içe basılır. */
html { -webkit-tap-highlight-color: transparent; }
.icon-btn, .qty button, .slide-dots button, .radio-card, .thumbs button { transition: background var(--t), transform 120ms ease; }
:is(.btn, .icon-btn, .wish-btn, .hero-ctl, .qty button, .slide-dots button):not([disabled]):active { transform: scale(0.94); }
.btn:not([disabled]):active { transform: scale(0.97); }
:is(.icon-btn, .wish-btn, .qty button):active { background: var(--line); }
.chip input:active + span, .radio-card:active { transform: scale(0.97); }
.type-pill:active .type-pill-img, .thumbs button:active { transform: scale(0.95); }
.link-btn:active, .details summary:active, .coupon summary:active,
a:not(.btn, .card-link, .cat-tile, .type-pill, .logo):active { opacity: 0.6; }

.skip {
  position: absolute; left: 8px; top: -60px; z-index: 100;
  background: var(--text); color: var(--bg); padding: 10px 14px; border-radius: var(--radius);
}
.skip:focus { top: 8px; }

/* ——— Butonlar ——— */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 24px;
  border: 1px solid var(--accent-strong); border-radius: var(--radius);
  background: var(--accent-strong); color: var(--accent-text);
  font-weight: 600; font-size: 0.95rem; text-decoration: none; letter-spacing: 0.02em;
  cursor: pointer; transition: background var(--t), color var(--t), border-color var(--t), transform 120ms ease;
}
.btn:hover { background: var(--text); border-color: var(--text); }
.btn[disabled], .btn[aria-disabled="true"] {
  background: var(--line); border-color: var(--line); color: var(--muted); cursor: not-allowed;
}
.btn-outline { background: transparent; color: var(--text); border-color: var(--text); }
.btn-outline:hover { background: var(--text); color: var(--bg); }
.btn-block { width: 100%; }

.icon-btn {
  display: inline-grid; place-items: center;
  width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer;
  border-radius: 50%; position: relative;
}
.icon-btn:hover { background: var(--line); }

.link-btn {
  background: none; border: 0; padding: 8px 0; min-height: 44px;
  text-decoration: underline; text-underline-offset: 3px; cursor: pointer; color: var(--muted);
}
.link-btn:hover { color: var(--text); }

/* ——— Başlık ——— */
.site-header {
  position: relative; z-index: 20;
  min-height: 129px; /* JS gelmeden önceki iskelet = son yükseklik (kayma olmasın) */
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}
.announce {
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; /* tek satır: başlık yüksekliği sabit kalsın */
  margin: 0; padding: 7px var(--gutter); line-height: 20px;
  background: var(--text); color: var(--bg);
  font-size: 0.78rem; text-align: center; letter-spacing: 0.04em;
}
.header-inner {
  display: grid; grid-template-columns: 1fr auto; align-items: center;
  column-gap: 8px; padding-top: 6px;
}
.logo {
  font-size: 1.45rem; letter-spacing: 0.18em; text-decoration: none; margin: 0;
  white-space: nowrap;
}
.main-nav {
  grid-column: 1 / -1; grid-row: 2;
  display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none;
  margin: 0 calc(-1 * var(--gutter)); padding: 0 var(--gutter);
}
.main-nav::-webkit-scrollbar { display: none; }
.main-nav a {
  flex: none; display: inline-flex; align-items: center; min-height: 44px; padding: 0 10px;
  text-decoration: none; font-size: 0.9rem; color: var(--muted);
  border-bottom: 2px solid transparent;
}
.main-nav a:hover, .main-nav a[aria-current] { color: var(--text); border-bottom-color: var(--text); }

.cart-count {
  position: absolute; top: 4px; right: 2px;
  min-width: 18px; height: 18px; padding: 0 5px;
  border-radius: 9px; background: var(--accent-strong); color: var(--accent-text);
  font-size: 0.7rem; font-weight: 600; line-height: 18px; text-align: center;
}

/* ——— Ana sayfa: hero slider ——— */
.hero {
  position: relative; height: min(78vh, 680px); min-height: 460px;
  background: #2b2520; color: #fff; overflow: hidden;
}
.hero-slides { position: absolute; inset: 0; touch-action: pan-y; }
.hero-slide {
  position: absolute; inset: 0; opacity: 0; visibility: hidden;
  transition: opacity 900ms var(--ease-soft), visibility 0s linear 900ms;
}
.hero-slide.is-active { opacity: 1; visibility: visible; z-index: 1; transition: opacity 900ms var(--ease-soft); }
.hero-media { position: absolute; inset: 0; background: #2b2520; }
.hero-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 30%, rgba(0,0,0,0.66) 100%);
}
.hero-media img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: var(--focus, center 30%);
  transform: scale(1.07); transition: transform 0s linear 900ms; /* soluşurken sıfırlanmasın */
}
/* Yavaş Ken Burns: aktif slaytta görsel hafifçe uzaklaşır */
.hero-slide.is-active .hero-media img { transform: scale(1); transition: transform 8s var(--ease-soft); }
.hero-copy {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
  padding: 32px var(--gutter) 88px; max-width: 640px;
}
.hero-copy p { font-size: 1rem; max-width: 34ch; }
/* Metin kademeli belirir: eyebrow → başlık → metin → buton */
.hero-copy > * {
  opacity: 0; transform: translateY(14px);
  transition: opacity 600ms var(--ease-soft), transform 600ms var(--ease-soft);
}
.hero-slide.is-active .hero-copy > * { opacity: 1; transform: none; transition-delay: calc(350ms + var(--k, 0) * 90ms); }
.hero-copy > :nth-child(2) { --k: 1; }
.hero-copy > :nth-child(3) { --k: 2; }
.hero-copy > :nth-child(4) { --k: 3; }
/* İlk açılışta metin hemen görünür (ilk boyama gecikmesin) */
.hero.is-init .hero-slide.is-active .hero-copy > * { transition: none; }
/* Giriş animasyonunun gecikmeli transform'u basılmayı geciktirmesin: ayrı scale özelliği */
.hero-copy > .btn:active { scale: 0.97; }
.hero-title {
  font-family: var(--font-heading); font-weight: 600; line-height: 1.15; letter-spacing: 0.01em;
  font-size: clamp(2rem, 6vw, 3.25rem); margin: 0 0 0.5em;
}
.hero .eyebrow { color: #F1E4D8; }
.hero .btn { background: #fff; color: #1F1B16; border-color: #fff; }
.hero .btn:hover { background: transparent; color: #fff; }

.hero-ui {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 3;
  display: flex; align-items: center; gap: 12px; padding: 0 var(--gutter) 14px;
}
.hero-bar { display: flex; gap: 6px; flex: 1; max-width: 340px; }
.seg { flex: 1; min-width: 0; height: 44px; padding: 0; border: 0; background: none; cursor: pointer; display: flex; align-items: center; }
.seg-track { display: block; width: 100%; height: 3px; border-radius: 2px; background: rgba(255,255,255,0.35); overflow: hidden; }
.seg-fill { display: block; height: 100%; background: #fff; transform-origin: left; transform: scaleX(0); }
.seg.is-done .seg-fill { transform: scaleX(1); }
.hero.is-playing .seg[aria-current="true"] .seg-fill { animation: seg-fill var(--hero-ms, 6s) linear forwards; }
.hero.is-paused .seg-fill { animation-play-state: paused; }
@keyframes seg-fill { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.hero-count { font-size: 0.78rem; letter-spacing: 0.12em; font-variant-numeric: tabular-nums; opacity: 0.9; }
.hero-ctl {
  display: inline-grid; place-items: center; width: 44px; height: 44px; padding: 0; border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.65); background: rgba(0,0,0,0.28); color: #fff; cursor: pointer;
  transition: background var(--t), color var(--t), transform 120ms ease;
}
.hero-ctl:hover { background: #fff; color: #1F1B16; }
.hero :focus-visible { outline-color: #fff; }
.hero-arrows { display: none; margin-left: auto; gap: 8px; }
.type-section { padding-block: 20px 0; }

.eyebrow {
  font-size: 0.75rem; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--accent-strong); font-weight: 600; margin-bottom: 0.6em;
}

.section { padding-block: 48px; }
.section-head {
  display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 20px;
}
.section-head h2 { margin: 0; }
.section-head a { font-size: 0.9rem; min-height: 44px; display: inline-flex; align-items: center; }

/* Mobil ve tablette yatay kaydırmalı şerit, 1024px üstünde tek satır (karo sayısı kadar sütun) */
.cat-grid {
  display: grid; gap: 12px; grid-auto-flow: column; grid-auto-columns: 72%;
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
  margin: 0 calc(-1 * var(--gutter)); padding: 0 var(--gutter);
  scroll-padding: 0 var(--gutter);
}
.cat-grid::-webkit-scrollbar { display: none; }
.cat-grid > * { scroll-snap-align: start; }
.cat-tile {
  position: relative; display: block; overflow: hidden; border-radius: var(--radius);
  text-decoration: none; color: #fff; background: #ddd;
}
/* Temel geçiş = fare çıkınca 1.1s'de geri dönüş; :hover'daki = 7s'lik yavaş yakınlaşma */
.cat-tile > img { aspect-ratio: 4 / 5; width: 100%; object-fit: cover; transition: transform 1.1s var(--ease-soft); }
.cat-tile > span {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 16px 16px;
  background: linear-gradient(180deg, transparent, rgba(0,0,0,0.6));
  font-family: var(--font-heading); font-size: 1.7rem; font-weight: 600;
  transition: transform 600ms var(--ease-soft);
}
.cat-tile > span::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, transparent, rgba(0,0,0,0.35));
  opacity: 0; transition: opacity 600ms var(--ease-soft);
}
.cat-tile > span { isolation: isolate; }
@media (hover: hover) {
  .cat-tile:hover > img { transform: scale(1.25); transition: transform 7s var(--ease-slow); }
  .cat-tile:hover > span { transform: translateY(-4px); }
  .cat-tile:hover > span::before { opacity: 1; }
}

.banner {
  display: grid; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
}
.banner img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.banner-copy { padding: 28px 20px; }
.code {
  display: inline-block; padding: 6px 12px; border: 1px dashed var(--accent-strong);
  color: var(--accent-strong); font-weight: 600; letter-spacing: 0.12em; margin-bottom: 1em;
}

/* ——— Ürün kartı ——— */
.grid { display: grid; gap: 24px 12px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid:empty::before { content: ""; padding-bottom: calc(125% + 86px); } /* bir kart: 4:5 görsel + başlık/fiyat */
.cat-grid:empty::before { content: ""; aspect-ratio: 4 / 5; }
.card { position: relative; }
.card-link { display: block; text-decoration: none; }
.card-media { position: relative; background: #EDE7DE; border-radius: var(--radius); overflow: hidden; }
.card-media > img {
  aspect-ratio: 4 / 5; width: 100%; object-fit: cover;
  transition: transform 900ms var(--ease-soft), opacity 900ms var(--ease-soft);
}
/* İkinci fotoğraf: hover'da üstüne yumuşak geçiş */
.card-media > img.alt { position: absolute; inset: 0; height: 100%; opacity: 0; }
.card-title {
  font-family: var(--font-body); font-weight: 400; font-size: 0.92rem; line-height: 1.35;
  margin: 10px 0 4px;
}
/* Başlıkta soldan sağa çizilen ince alt çizgi */
.card-title .t {
  background: linear-gradient(currentColor, currentColor) no-repeat 0 100% / 0 1px;
  transition: background-size 700ms var(--ease-soft);
}
.dots .dot { transition: transform 500ms var(--ease-soft) calc(var(--d, 0) * 60ms); }
.tags { transition: transform 500ms var(--ease-soft); }

/* Kartlar görünüme girerken yukarı kayıp belirir (JS: Store.mountCards) */
.card.reveal {
  transition: opacity var(--dur-card) var(--ease-soft) calc(var(--i, 0) * 90ms),
              transform var(--dur-card) var(--ease-soft) calc(var(--i, 0) * 90ms);
}
.card.reveal:not(.is-in) { opacity: 0; transform: translateY(var(--reveal-y)); }
.card.reveal.is-instant { transition: none; }
.card.reveal.fade { --dur-card: var(--dur-fast); --reveal-y: 8px; }

/* Dokunmatik: basınca hafif geri bildirim; hover efektleri yalnız fareli cihazlarda */
.card-link:active .card-media { transform: scale(0.985); transition: transform 120ms ease; }
@media (hover: hover) {
  /* İçeri yakınlaşma 1.6s; çıkışta temel kuraldaki 900ms */
  .card-link:hover .card-media > img,
  .card-link:focus-visible .card-media > img { transform: scale(1.05); transition: transform 1.6s var(--ease-slow), opacity 900ms var(--ease-soft); }
  .card-link:hover .card-media > img.alt-ready,
  .card-link:focus-visible .card-media > img.alt-ready { opacity: 1; }
  .card-link:hover .card-title .t,
  .card-link:focus-visible .card-title .t { background-size: 100% 1px; }
  .card-link:hover .dot { transform: scale(1.2); }
  .card-link:hover .tags { transform: translateY(-2px); }
}

/* Favori kalbi */
.wish-btn {
  display: inline-grid; place-items: center; width: 44px; height: 44px; padding: 0;
  border: 0; border-radius: 50%; background: transparent; color: var(--text); cursor: pointer;
  transition: background var(--t), color var(--t), transform 120ms ease;
}
.wish-btn svg { transition: fill var(--dur-fast) var(--ease-soft), stroke var(--dur-fast) var(--ease-soft); }
.wish-btn[aria-pressed="true"] { color: var(--accent-strong); }
.wish-btn[aria-pressed="true"] svg { fill: currentColor; }
.wish-btn.pop svg { animation: wish-pop 340ms var(--ease-soft); }
@keyframes wish-pop { 0% { transform: scale(1); } 40% { transform: scale(1.28); } 100% { transform: scale(1); } }
.wish-card {
  position: absolute; top: 6px; right: 6px; z-index: 2; width: 40px; height: 40px;
  background: rgba(255, 255, 255, 0.9);
}
.wish-card:hover { background: #fff; }
@media (hover: hover) {
  .wish-card { opacity: 0; transition: opacity var(--dur-fast) var(--ease-soft), background var(--t), transform 120ms ease; }
  .card:hover .wish-card, .card:focus-within .wish-card, .wish-card[aria-pressed="true"] { opacity: 1; }
}
.p-title { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.p-title h1 { flex: 1; min-width: 0; }
.wish-lg { flex: none; border: 1px solid var(--line); background: var(--surface); margin-top: 4px; }
.wish-lg:hover { border-color: var(--text); }

/* Ürün sayfası ek bölümleri */
.model-note { margin: 12px 0 0; }
.p-actions { margin: 6px 0 0; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; }
.feel { display: grid; gap: 14px; margin: 4px 0 18px; }
.feel-row { display: grid; gap: 5px; }
.feel-label { font-weight: 600; font-size: 0.85rem; color: var(--text); }
.feel-dots { display: flex; gap: 4px; }
.feel-dots i { flex: 1; height: 6px; border-radius: 3px; background: var(--line); }
.feel-dots i.on { background: var(--accent-strong); }
.feel-ends { display: flex; justify-content: space-between; gap: 8px; }
.size-chip input[data-out] + span { color: var(--muted); text-decoration: line-through; background: transparent; }
.size-chip input[data-out]:checked + span { color: var(--text); background: var(--surface); border-color: var(--text); }

.combo-list { display: grid; gap: 12px; }
.combo-item { display: grid; grid-template-columns: 96px 1fr; gap: 12px; padding: 12px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.combo-media img { width: 96px; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); }
.combo-info p { margin: 2px 0 6px; }
.combo-info .select { width: 100%; max-width: 190px; }
.combo-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-top: 16px; }
.combo-total { margin: 0; }

/* Arama */
.modal.search { margin-top: 8vh; }
.search-results { margin-top: 16px; min-height: 140px; }
.search-list { list-style: none; padding: 0; margin: 0 0 12px; }
.search-row { display: grid; grid-template-columns: 56px 1fr; gap: 12px; align-items: center; min-height: 64px; padding: 6px 0; text-decoration: none; border-bottom: 1px solid var(--line); }
.search-thumb img { width: 56px; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 2px; }
.chip-link {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px;
  border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface);
  font-size: 0.88rem; text-decoration: none; transition: border-color var(--t);
}
.chip-link:hover { border-color: var(--text); }

.header-actions { display: flex; align-items: center; }
.price { margin: 0 0 6px; font-weight: 600; font-size: 0.92rem; }
.price .old { color: var(--muted); font-weight: 400; margin-right: 4px; }
.tags { position: absolute; left: 8px; top: 8px; display: flex; flex-direction: column; gap: 4px; align-items: start; }
.tag {
  background: var(--surface); color: var(--text); font-size: 0.7rem; font-weight: 600;
  padding: 3px 8px; border-radius: 2px; letter-spacing: 0.04em;
}
.tag-sale { background: var(--accent-strong); color: var(--accent-text); }
.dots { display: flex; gap: 6px; }
.dot { width: 12px; height: 12px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(0,0,0,0.18); }

/* ——— Kategori ——— */
.page-head { padding: 28px 0 12px; }
.page-head h1 { margin-bottom: 4px; }
.crumbs { font-size: 0.8rem; color: var(--muted); margin-bottom: 8px; }
.crumbs a { color: var(--muted); }

.toolbar {
  display: flex; gap: 8px; align-items: center; justify-content: space-between;
  padding: 8px 0 16px; position: sticky; top: var(--header-h); z-index: 5; background: var(--bg);
}
.toolbar .btn { min-height: 44px; padding: 0 16px; }
.toolbar .select { width: 9.75rem; } /* seçenekler JS ile dolunca genişlik değişmesin */
.select {
  min-height: 44px; padding: 0 36px 0 12px; border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%231F1B16' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 12px center;
  appearance: none; -webkit-appearance: none; cursor: pointer;
}

.cat-layout { display: block; }
.filters { display: none; }

.sheet {
  border: 0; padding: 0; margin: 0; width: 100%; max-width: 100%;
  max-height: 88vh; top: auto; bottom: 0; border-radius: 12px 12px 0 0;
  background: var(--surface); color: var(--text);
}
.sheet::backdrop { background: rgba(20, 16, 12, 0.45); }
.sheet-head, .sheet-foot {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  padding: 12px var(--gutter); position: sticky; background: var(--surface); z-index: 1;
}
.sheet-head { top: 0; border-bottom: 1px solid var(--line); }
.sheet-head h2 { margin: 0; font-size: 1.5rem; }
/* altta demo rozetine yer bırak */
.sheet-foot { bottom: 0; border-top: 1px solid var(--line); padding-bottom: calc(52px + env(safe-area-inset-bottom)); }
.sheet-foot .btn { flex: 1; }
.sheet-body { padding: 8px var(--gutter) 16px; }

.f-group { border: 0; margin: 0; padding: 14px 0; border-bottom: 1px solid var(--line); min-width: 0; }
.f-group legend { font-weight: 600; font-size: 0.9rem; padding: 0; margin-bottom: 10px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chip span {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-width: 48px; min-height: 44px; padding: 0 12px;
  border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface);
  font-size: 0.88rem; transition: border-color var(--t), background var(--t), transform 120ms ease;
}
.chip input:checked + span { border-color: var(--text); background: var(--text); color: var(--bg); }
.chip.swatch input:checked + span {
  background: var(--surface); color: var(--text); font-weight: 600;
  box-shadow: inset 0 0 0 1px var(--text); /* kenarlıkla birlikte 2px; kalınlık değişmediği için kayma yok */
}
.chip input:focus-visible + span { outline: 2px solid var(--text); outline-offset: 2px; }
.chip .dot { width: 14px; height: 14px; }
.price-inputs { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 10px; }
.price-inputs label { font-size: 0.8rem; color: var(--muted); }

.f-sub { margin: 0 0 8px; font-size: 0.78rem; color: var(--muted); letter-spacing: 0.06em; text-transform: uppercase; }
.f-sub:not(:first-of-type) { margin-top: 14px; }
.count { opacity: 0.6; font-size: 0.75rem; }

/* Tip kısayol şeridi: yuvarlak görseller, yatay kaydırma */
.type-rail {
  display: flex; gap: 14px; overflow-x: auto; scrollbar-width: none; scroll-snap-type: x proximity;
  height: 136px; padding: 4px 2px 12px; /* 76px görsel + 2 satır etiket; font yüklenince değişmez */
}
.type-rail::-webkit-scrollbar { display: none; }
.type-pill {
  flex: none; display: grid; justify-items: center; gap: 6px; width: 84px; padding: 0;
  border: 0; background: none; cursor: pointer; scroll-snap-align: start;
  font-size: 0.78rem; line-height: 1.25; text-align: center; text-decoration: none;
}
.type-pill:hover .type-pill-img { transform: translateY(-3px); }
/* Anasayfa şeridinde sağ kenar solar: kaydırılabilir olduğu belli olsun */
.type-section .type-rail { mask-image: linear-gradient(to right, #000 90%, transparent); }
.type-pill-img {
  width: 76px; height: 76px; border-radius: 50%; overflow: hidden; background: #EDE7DE;
  box-shadow: 0 0 0 1px var(--line), 0 0 0 4px var(--bg);
  transition: box-shadow var(--dur-fast) var(--ease-soft), transform var(--dur-fast) var(--ease-soft);
}
.type-pill-img img { width: 100%; height: 100%; object-fit: cover; object-position: center 25%; }
.type-pill[aria-pressed="true"] .type-pill-img { box-shadow: 0 0 0 2px var(--text), 0 0 0 5px var(--bg); }
.type-pill[aria-pressed="true"] > span:last-child { font-weight: 600; }
.type-pill > span:last-child {
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden;
  height: 2.5em; /* 2 x line-height */
}

.empty-state { text-align: center; padding: 48px 16px; }
.result-count { font-size: 0.85rem; color: var(--muted); margin: 0; white-space: nowrap; }

/* ——— Form alanları ——— */
.field { display: grid; gap: 6px; margin-bottom: 14px; }
.field label { font-size: 0.85rem; font-weight: 600; }
.input {
  width: 100%; min-height: 48px; padding: 10px 12px;
  border: 1px solid #CFC5B8; border-radius: var(--radius); background: var(--surface);
}
textarea.input { min-height: 88px; resize: vertical; }
.input:focus-visible { outline: 2px solid var(--text); outline-offset: 0; border-color: var(--text); }
.field.invalid .input { border-color: var(--danger); }
.error { color: var(--danger); font-size: 0.8rem; margin: 0; }
.hint { color: var(--muted); font-size: 0.8rem; margin: 0; }

/* ——— Ürün sayfası ——— */
.product { display: grid; gap: 20px; padding-bottom: 32px; }
.product:empty { min-height: 100vh; } /* JS doldurana kadar alttaki bölüm kaymasın */
.gallery { margin: 0 calc(-1 * var(--gutter)); position: relative; }
.slides {
  display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
  scroll-behavior: smooth;
}
.slides::-webkit-scrollbar { display: none; }
.slides > * { flex: 0 0 100%; scroll-snap-align: start; background: #EDE7DE; }
.slides img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.slide-dots { display: flex; justify-content: center; gap: 4px; padding: 6px 0 0; }
.slide-dots button {
  width: 28px; height: 28px; border: 0; background: none; padding: 0; cursor: pointer;
  display: grid; place-items: center;
}
.slide-dots button::before {
  content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--line);
  transition: background var(--t);
}
.slide-dots button[aria-current="true"]::before { background: var(--text); }
.thumbs { display: none; }

/* Yerinde zoom katmanı (JS: product.js) */
.zoom {
  position: absolute; inset: 0; z-index: 2; pointer-events: none; opacity: 0;
  background: #EDE7DE no-repeat 50% 50% / 250% 250%;
  transition: opacity 250ms var(--ease-soft);
}
.zoom.is-on { opacity: 1; }
.zoom.is-loading { background-color: rgba(237, 231, 222, 0.25); }
.zoom.is-loading::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 30px; height: 30px; margin: -15px 0 0 -15px;
  border-radius: 50%; border: 2px solid rgba(255, 255, 255, 0.5); border-top-color: #fff;
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.15); animation: lq-spin 900ms linear infinite;
}
.zoom.is-failed { display: none; }
.gallery.is-zoomed .slides { touch-action: none; }
@media (hover: hover) { .slides > [data-zoom-id] { cursor: zoom-in; } }

/* İlk kullanım ipucu (JS: Store.coach) — tıklamayı engellemez */
.coach {
  position: absolute; left: 50%; bottom: 16px; z-index: 3; pointer-events: none;
  display: flex; align-items: center; gap: 8px; max-width: calc(100% - 24px); width: max-content;
  padding: 8px 14px 8px 10px; border-radius: 999px;
  background: rgba(31, 27, 22, 0.74); color: #fff; font-size: 0.8rem; line-height: 1.3;
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.18);
  opacity: 0; transform: translate(-50%, 8px);
  transition: opacity 400ms var(--ease-soft), transform 400ms var(--ease-soft);
}
.coach.is-in { opacity: 1; transform: translate(-50%, 0); }
.coach-ico { position: relative; flex: none; display: grid; place-items: center; width: 24px; height: 24px; }
.coach-zoom svg { animation: coach-roam 2.6s var(--ease-soft) infinite; }
.coach-tap svg { animation: coach-tap 1.6s var(--ease-soft) infinite; }
.coach-tap .coach-ico::after {
  content: ""; position: absolute; left: 5px; top: -3px; width: 14px; height: 14px; border-radius: 50%;
  border: 1.5px solid #fff; opacity: 0; animation: coach-ring 1.6s var(--ease-soft) infinite;
}
.coach-pan svg { animation: coach-breathe 1.8s var(--ease-soft) infinite; }
.coach-swipe svg { animation: coach-swipe 1.8s var(--ease-soft) infinite; }
.coach-host { position: relative; }
.type-rail.is-dragging { scroll-snap-type: none; cursor: grabbing; user-select: none; }
@keyframes coach-roam {
  0%, 100% { transform: translate(0, 0) scale(1); }
  30% { transform: translate(-3px, -2px) scale(1.08); }
  65% { transform: translate(3px, 1px) scale(1.08); }
}
@keyframes coach-tap { 0%, 55%, 100% { transform: none; } 25% { transform: translateY(2px) scale(0.9); } }
@keyframes coach-ring { 0%, 20% { opacity: 0; transform: scale(0.4); } 30% { opacity: 0.9; } 70%, 100% { opacity: 0; transform: scale(1.5); } }
@keyframes coach-swipe {
  0% { transform: translateX(5px); opacity: 0; }
  15% { opacity: 1; }
  60% { transform: translateX(-5px); opacity: 1; }
  80%, 100% { transform: translateX(-5px); opacity: 0; }
}
@keyframes coach-breathe { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.12); } }

.p-info h1 { font-size: clamp(1.9rem, 5vw, 2.6rem); margin-bottom: 6px; }
.p-price { font-size: 1.2rem; font-weight: 600; margin: 0 0 4px; }
.p-price .old { color: var(--muted); font-weight: 400; font-size: 1rem; margin-right: 6px; }
.p-price .pct { color: var(--accent-strong); font-size: 0.9rem; margin-left: 6px; }
.opt { margin: 18px 0 0; border: 0; padding: 0; min-width: 0; }
.opt legend { font-size: 0.88rem; margin-bottom: 10px; padding: 0; width: 100%; display: flex; justify-content: space-between; align-items: center; }
.opt legend strong { font-weight: 600; }
.swatch span { padding: 0 12px 0 8px; }
.size-chip input:disabled + span { color: #A79D92; background: transparent; text-decoration: line-through; cursor: not-allowed; }
.stock { display: inline-flex; align-items: center; gap: 6px; font-size: 0.85rem; font-weight: 600; margin: 14px 0 0; }
.stock::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.stock.ok { color: var(--ok); }
.stock.low { color: var(--accent-strong); }
.stock.out { color: var(--danger); }

.buy-bar {
  position: sticky; bottom: 0; z-index: 10;
  margin: 18px calc(-1 * var(--gutter)) 0; padding: 12px var(--gutter) calc(12px + env(safe-area-inset-bottom));
  background: var(--bg); border-top: 1px solid var(--line);
}
.details { margin-top: 24px; border-top: 1px solid var(--line); }
.details details { border-bottom: 1px solid var(--line); }
.details summary {
  min-height: 52px; display: flex; align-items: center; justify-content: space-between;
  cursor: pointer; font-weight: 600; list-style: none;
}
.details summary::-webkit-details-marker { display: none; }
.details summary::after { content: "+"; font-size: 1.3rem; font-weight: 400; }
.details details[open] summary::after { content: "−"; }
.details details > div { padding-bottom: 16px; color: var(--muted); }

.modal {
  border: 0; border-radius: 8px; padding: 0; width: min(560px, calc(100% - 32px));
  background: var(--surface); color: var(--text);
}
.modal::backdrop { background: rgba(20, 16, 12, 0.45); }
.modal-head { display: flex; justify-content: space-between; align-items: center; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.modal-head h2 { margin: 0; font-size: 1.5rem; }
.modal-body { padding: 16px; overflow-x: auto; }
table.chart { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
.chart th, .chart td { padding: 10px 8px; text-align: center; border-bottom: 1px solid var(--line); }
.chart th:first-child, .chart td:first-child { text-align: left; }
.chart thead th { font-weight: 600; background: var(--bg); }

/* ——— Sepet çekmecesi ——— */
.drawer {
  border: 0; padding: 0; margin: 0 0 0 auto; height: 100%; max-height: 100%;
  width: min(420px, 100%); max-width: 100%;
  background: var(--surface); color: var(--text);
}
.drawer[open] { animation: slide-in 200ms ease; }
.drawer::backdrop { background: rgba(20, 16, 12, 0.45); }
@keyframes slide-in { from { transform: translateX(24px); opacity: 0.6; } to { transform: none; opacity: 1; } }
.drawer-panel { display: flex; flex-direction: column; height: 100%; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 10px 8px 10px var(--gutter); border-bottom: 1px solid var(--line); }
.drawer-head h2 { margin: 0; font-size: 1.6rem; }
.ship-progress { padding: 12px var(--gutter) 0; }
.ship-progress p { margin-bottom: 6px; }
.bar { height: 6px; background: var(--line); border-radius: 3px; overflow: hidden; }
.bar span { display: block; height: 100%; background: var(--accent-strong); transition: width 200ms ease; }
.drawer-body { flex: 1; overflow-y: auto; padding: 4px var(--gutter); }
.drawer-foot { padding: 14px var(--gutter) calc(56px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); display: grid; gap: 8px; }
.drawer-foot .small { margin: 0 0 4px; }
.drawer-foot .sum-row.small { margin: 0; }
.opt-check { display: flex; gap: 10px; align-items: flex-start; font-size: 0.88rem; cursor: pointer; min-height: 28px; }
.opt-check input { width: 20px; height: 20px; margin: 0; flex: none; accent-color: var(--text); }
.gift textarea.input { margin-top: 8px; min-height: 64px; }
.cart-extras { display: grid; gap: 12px; padding: 16px 0 8px; }
.coupon summary { cursor: pointer; min-height: 40px; display: flex; align-items: center; font-size: 0.88rem; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.coupon-form { display: flex; gap: 8px; padding-bottom: 6px; }
.coupon-form .input { min-height: 44px; text-transform: uppercase; }
.coupon-form .btn { min-height: 44px; padding: 0 16px; }
.coupon-msg { margin: 0; }
.coupon-msg.err { color: var(--danger); }
.coupon-applied { display: flex; justify-content: space-between; align-items: center; gap: 8px; font-size: 0.88rem; padding: 6px 10px; background: var(--bg); border-left: 3px solid var(--ok); }
.summary .coupon { margin-top: 12px; }
.summary .coupon-applied { margin-top: 12px; }
.sum-row { display: flex; justify-content: space-between; font-size: 1rem; }
.empty { text-align: center; padding: 48px 0; }

.line { display: grid; grid-template-columns: 88px 1fr; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.line-media img { width: 88px; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); }
.line-name { font-weight: 600; text-decoration: none; font-size: 0.92rem; }
.line-info p { margin: 2px 0 6px; }
.line-row { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: var(--radius); }
.qty button { width: 40px; height: 40px; border: 0; background: none; font-size: 1.1rem; cursor: pointer; }
.qty button:disabled { color: #B9AFA4; cursor: not-allowed; }
.qty span { min-width: 28px; text-align: center; font-weight: 600; }

/* ——— Ödeme ——— */
.checkout { display: grid; gap: 24px; padding-bottom: 48px; }
.steps { display: flex; gap: 6px; list-style: none; padding: 0; margin: 0 0 20px; counter-reset: s; }
.steps li {
  flex: 1; font-size: 0.78rem; color: var(--muted); padding-top: 8px; border-top: 3px solid var(--line);
  counter-increment: s;
}
.steps li::before { content: counter(s) ". "; }
.steps li[aria-current="step"], .steps li.done { color: var(--text); border-top-color: var(--accent-strong); font-weight: 600; }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 16px; }
.panel h2 { font-size: 1.6rem; }
.row2 { display: grid; gap: 0 12px; }
.radio-card {
  display: flex; gap: 12px; align-items: center; padding: 14px; min-height: 56px;
  border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 10px; cursor: pointer;
}
.radio-card:has(input:checked) { border-color: var(--text); box-shadow: inset 0 0 0 1px var(--text); }
.radio-card input { width: 20px; height: 20px; accent-color: var(--text); }
.radio-card .grow { flex: 1; }
.card-mock fieldset { border: 0; padding: 0; margin: 0; opacity: 0.6; }
.note {
  background: var(--bg); border-left: 3px solid var(--accent-strong);
  padding: 10px 12px; font-size: 0.85rem; margin: 0 0 16px;
}
.step-nav { display: flex; gap: 8px; justify-content: space-between; margin-top: 8px; flex-wrap: wrap; }
.step-nav .btn { flex: 1 1 160px; }
.summary .line { grid-template-columns: 64px 1fr; }
.summary .line-media img { width: 64px; }
.summary dl { display: grid; grid-template-columns: 1fr auto; gap: 6px 12px; margin: 16px 0 0; }
.summary dt { color: var(--muted); }
.summary dd { margin: 0; text-align: right; }
.summary .total { font-weight: 600; font-size: 1.1rem; color: var(--text); padding-top: 8px; border-top: 1px solid var(--line); }
.review { margin: 0 0 12px; font-size: 0.9rem; }

/* ——— Başarı / yasal ——— */
.success { text-align: center; padding: 48px 0; max-width: 640px; margin: 0 auto; }
.order-no { font-family: var(--font-heading); font-size: 2rem; letter-spacing: 0.06em; margin: 4px 0 20px; }
.check {
  width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; margin: 0 auto 16px;
  background: var(--accent-strong); color: var(--accent-text);
}
.legal { max-width: 760px; padding-bottom: 56px; }
.legal h2 { font-size: 1.5rem; margin-top: 1.5em; }
.stamp {
  display: inline-block; padding: 4px 10px; border: 1px solid var(--accent-strong); color: var(--accent-strong);
  font-size: 0.75rem; font-weight: 600; letter-spacing: 0.12em; margin-bottom: 12px;
}

/* ——— Altbilgi ——— */
.site-footer { border-top: 1px solid var(--line); margin-top: 32px; padding: 40px 0 72px; background: var(--surface); }
.footer-grid { display: grid; gap: 28px; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; }
.footer-grid li a { display: inline-flex; min-height: 40px; align-items: center; text-decoration: none; }
.footer-grid li a:hover { text-decoration: underline; }
.foot-h { font-family: var(--font-body); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.12em; margin-bottom: 6px; }
.credits { margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--line); }
.credits a { color: var(--muted); }

/* ——— Demo rozeti ——— */
.demo-badge {
  position: fixed; left: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 60;
  padding: 6px 12px; border-radius: 999px;
  background: rgba(31, 27, 22, 0.88); color: #FAF7F2;
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.04em;
  pointer-events: none;
}
.has-buy-bar .demo-badge { bottom: calc(84px + env(safe-area-inset-bottom)); }
dialog .demo-badge, .has-buy-bar dialog .demo-badge { position: fixed; bottom: calc(12px + env(safe-area-inset-bottom)); }

/* Dar ekranlarda logo + 3 ikon sığsın (başlık yüksekliği değişmez) */
@media (max-width: 399px) {
  .logo { font-size: 1.15rem; letter-spacing: 0.1em; }
  .header-actions .icon-btn { width: 40px; }
}

/* ——— 640px ——— */
@media (min-width: 640px) {
  :root { --gutter: 24px; }
  .cat-grid { grid-auto-columns: 38%; }
  .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px 16px; }
  .banner { grid-template-columns: 1fr 1fr; align-items: center; }
  .banner img { aspect-ratio: auto; height: 100%; min-height: 320px; }
  .banner-copy { padding: 40px; }
  .row2 { grid-template-columns: 1fr 1fr; }
  .combo-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 2fr 1fr 1fr; }
  .panel { padding: 28px; }
  .sheet { width: min(480px, 100%); margin: 0 auto; }
}

/* ——— 1024px ——— */
@media (min-width: 1024px) {
  .cat-grid { grid-auto-columns: minmax(0, 1fr); overflow: visible; margin: 0; padding: 0; }
  :root { --header-h: 97px; }
  .header-inner { grid-template-columns: auto 1fr auto; padding-top: 0; min-height: 62px; }
  .main-nav { grid-column: 2; grid-row: 1; justify-content: center; margin: 0; padding: 0; }
  .site-header { position: sticky; top: 0; min-height: var(--header-h); }
  .hero-copy { padding: 64px 48px 112px; }
  .hero-ui { padding: 0 48px 20px; }
  .hero-arrows { display: flex; }
  .section { padding-block: 72px; }
  .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }

  .cat-layout { display: grid; grid-template-columns: 240px minmax(0, 1fr); /* minmax: tip şeridi sütunu genişletmesin */ gap: 40px; align-items: start; }
  .filters { display: block; position: sticky; top: calc(var(--header-h) + 64px); }
  /* Uzun filtre listesi (tip + beden + renk + fiyat) ekrandan taşarsa kendi içinde kayar */
  .filters { max-height: calc(100vh - var(--header-h) - 80px); overflow-y: auto; scrollbar-width: thin; }
  .filters .sheet-body { padding: 0; }
  .toolbar .open-filters { display: none; }
  .toolbar { top: var(--header-h); }

  .product { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 48px; padding-top: 8px; align-items: start; }
  .gallery { margin: 0; display: grid; grid-template-columns: 80px 1fr; gap: 12px; }
  .thumbs { display: grid; gap: 8px; align-content: start; grid-row: 1; grid-column: 1; }
  .thumbs button { padding: 0; border: 1px solid transparent; background: none; cursor: pointer; border-radius: var(--radius); overflow: hidden; }
  .thumbs button[aria-current="true"] { border-color: var(--text); }
  .thumbs img { aspect-ratio: 4 / 5; object-fit: cover; }
  .slides { grid-column: 2; overflow: hidden; border-radius: var(--radius); }
  .slide-dots { display: none; }
  .p-info { position: sticky; top: calc(var(--header-h) + 24px); }
  .buy-bar { position: static; margin: 22px 0 0; padding: 0; border: 0; background: none; }
  .has-buy-bar .demo-badge { bottom: 12px; }

  .checkout { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 40px; align-items: start; }
  .summary { position: sticky; top: calc(var(--header-h) + 24px); }
}

/* Hareket azaltma: yalnız büyük hareketler kapanır. Solmalar, hover yakınlaşmaları,
   yükleme göstergesi ve slider ilerlemesi (duraklat düğmesiyle) çalışmaya devam eder. */
@media (prefers-reduced-motion: reduce) {
  :root { --reveal-y: 0px; }
  html { scroll-behavior: auto; }
  .slides { scroll-behavior: auto; }
  .hero-media img, .hero-slide.is-active .hero-media img { transform: none; transition: none; }
  .hero-copy > * { transform: none; }
  .coach { transform: translate(-50%, 0); }
}
