/* ==========================================================================
   ATELIER — Yaşamın İnce Detayları
   Tasarım sistemi · kırık beyaz / kum beji / antrasit / sıcak bakır
   ========================================================================== */

/* ---------- 1. Değişkenler ---------- */
:root {
  /* Renk */
  --ivory: #faf7f2;
  --ivory-deep: #f2ece2;
  --sand: #e4d9c8;
  --sand-soft: #ece4d7;
  --anthracite: #1d1c1a;
  --anthracite-soft: #34322e;
  --muted: #857f75;
  --muted-light: #a8a096;
  --copper: #a8643c;
  --copper-light: #c08454;
  --copper-wash: #f3e6db;
  --line: rgba(29, 28, 26, .12);
  --line-soft: rgba(29, 28, 26, .07);
  --white: #fffdfa;
  --danger: #8f3a2c;
  --success: #4c6444;

  /* Tipografi */
  --serif: "Cormorant Garamond", "Iowan Old Style", Georgia, serif;
  --sans: "Jost", "Helvetica Neue", Arial, sans-serif;

  /* Ölçü */
  --wrap: 1280px;
  --gutter: clamp(20px, 5vw, 72px);
  --radius: 2px;
  --ease: cubic-bezier(.22, .61, .36, 1);
  --ease-soft: cubic-bezier(.4, 0, .2, 1);
  --header-h: 76px;
}

/* ---------- 2. Sıfırlama ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ivory);
  color: var(--anthracite);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p, figure, blockquote { margin: 0; }
:focus-visible { outline: 2px solid var(--copper); outline-offset: 3px; }
::selection { background: var(--sand); color: var(--anthracite); }

body.no-scroll { overflow: hidden; }

/* ---------- 3. Tipografi yardımcıları ---------- */
.display {
  font-family: var(--serif);
  font-weight: 300;
  line-height: .98;
  letter-spacing: -.015em;
}
h1.display { font-size: clamp(2.9rem, 7vw, 6.2rem); }
h2.display { font-size: clamp(2rem, 4vw, 3.4rem); }
h3.display { font-size: clamp(1.35rem, 2.2vw, 1.9rem); }

.eyebrow {
  font-size: .68rem;
  letter-spacing: .24em;
  text-transform: uppercase;
  font-weight: 400;
  color: var(--copper);
}
.eyebrow--muted { color: var(--muted); }
.lede { font-size: clamp(1rem, 1.35vw, 1.15rem); line-height: 1.75; color: var(--anthracite-soft); font-weight: 300; }
.small { font-size: .82rem; color: var(--muted); }
.serif-i { font-family: var(--serif); font-style: italic; }

/* ---------- 4. Yerleşim ---------- */
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(64px, 9vw, 132px) 0; }
.section--tight { padding: clamp(44px, 6vw, 84px) 0; }
.section--sand { background: var(--sand-soft); }
.section-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 24px; flex-wrap: wrap; margin-bottom: clamp(28px, 4vw, 52px);
}
.section-head p { max-width: 46ch; color: var(--muted); }

/* ---------- 5. Düğmeler ---------- */
.btn {
  --btn-bg: var(--anthracite);
  --btn-fg: var(--ivory);
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  line-height: 1.25;
  padding: 15px 34px;
  background: var(--btn-bg); color: var(--btn-fg);
  border: 1px solid var(--btn-bg);
  font-size: .76rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 400;
  border-radius: var(--radius);
  transition: background .4s var(--ease), color .4s var(--ease), border-color .4s var(--ease), transform .4s var(--ease);
  position: relative; overflow: hidden;
  min-height: 48px;
}
.btn:hover { background: var(--copper); border-color: var(--copper); color: var(--white); }
.btn:active { transform: translateY(1px); }
.btn--ghost { --btn-bg: transparent; --btn-fg: var(--anthracite); border-color: var(--anthracite); }
.btn--ghost:hover { background: var(--anthracite); border-color: var(--anthracite); color: var(--ivory); }
.btn--light { --btn-bg: var(--ivory); --btn-fg: var(--anthracite); border-color: var(--ivory); }
.btn--light:hover { background: transparent; color: var(--ivory); border-color: var(--ivory); }
.btn--copper { --btn-bg: var(--copper); --btn-fg: var(--white); border-color: var(--copper); }
.btn--copper:hover { --btn-bg: var(--anthracite); border-color: var(--anthracite); }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .42; pointer-events: none; }
.btn--sm { padding: 11px 22px; font-size: .7rem; min-height: 40px; }

.link-u {
  display: inline-flex; align-items: center; gap: .5em;
  font-size: .74rem; letter-spacing: .18em; text-transform: uppercase;
  border-bottom: 1px solid var(--line); padding-bottom: 4px;
  transition: color .35s var(--ease), border-color .35s var(--ease), gap .35s var(--ease);
}
.link-u:hover { color: var(--copper); border-color: var(--copper); gap: .9em; }

/* ---------- 6. Duyuru şeridi ---------- */
.announce {
  background: var(--anthracite); color: var(--sand);
  font-size: .7rem; letter-spacing: .18em; text-transform: uppercase;
  text-align: center; padding: 11px 16px; font-weight: 300;
}
.announce span { display: inline-block; }
@media (max-width: 560px) { .announce { font-size: .62rem; letter-spacing: .12em; } }

/* ---------- 7. Üst menü ---------- */
.header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(250, 247, 242, .88);
  backdrop-filter: blur(14px) saturate(1.2);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  border-bottom: 1px solid var(--line-soft);
  transition: background .4s var(--ease), border-color .4s var(--ease);
}
.header__inner {
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  gap: 20px; height: var(--header-h);
}
.header__nav { display: flex; gap: clamp(14px, 2vw, 30px); align-items: center; }
.header__nav a {
  font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 400;
  padding: 6px 0; position: relative; color: var(--anthracite-soft);
  transition: color .3s var(--ease);
}
.header__nav a::after {
  content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 1px;
  background: var(--copper); transform: scaleX(0); transform-origin: left;
  transition: transform .45s var(--ease);
}
.header__nav a:hover { color: var(--anthracite); }
.header__nav a:hover::after, .header__nav a.is-active::after { transform: scaleX(1); }
.header__nav a.is-active { color: var(--anthracite); }

.brand {
  font-family: var(--serif); font-size: clamp(1.35rem, 2.4vw, 1.65rem);
  letter-spacing: .34em; text-transform: uppercase; font-weight: 400;
  text-align: center; white-space: nowrap; padding-left: .34em;
}
.header__actions { display: flex; justify-content: flex-end; align-items: center; gap: 6px; }
.icon-btn {
  width: 44px; height: 44px; display: grid; place-items: center;
  border-radius: 50%; position: relative; color: var(--anthracite);
  transition: background .3s var(--ease), color .3s var(--ease);
}
.icon-btn:hover { background: var(--sand-soft); color: var(--copper); }
.icon-btn svg { width: 20px; height: 20px; stroke-width: 1.3; }
.badge {
  position: absolute; top: 4px; right: 3px; min-width: 18px; height: 18px;
  background: var(--copper); color: var(--white); border-radius: 9px;
  font-size: .62rem; letter-spacing: 0; display: grid; place-items: center;
  padding: 0 5px; font-weight: 400; transform: scale(0); transition: transform .35s var(--ease);
}
.badge.is-on { transform: scale(1); }
.menu-toggle { display: none !important; }

/* Mobil menü */
.drawer-nav {
  position: fixed; inset: 0 0 0 auto; width: min(420px, 88vw); z-index: 95;
  background: var(--ivory); transform: translateX(100%);
  /* NUMEX-DÜZELTME (2026-11-22): Mobil menü çekmecesi de kapalıyken yalnız kaydırılıyordu; klavye odağı ve ekran okuyucu kapalı menüye giriyor, ölçümlerde ekran dışı taşma olarak görünüyordu. visibility ile gizlendi. */
  transition: transform .55s var(--ease), visibility .55s; display: flex; flex-direction: column;
  padding: 28px var(--gutter) 40px; overflow-y: auto;
  visibility: hidden; pointer-events: none;
}
.drawer-nav.is-open { transform: none; visibility: visible; pointer-events: auto; }
.drawer-nav__top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 40px; }
.drawer-nav a.navlink {
  font-family: var(--serif); font-size: 1.9rem; padding: 14px 0;
  border-bottom: 1px solid var(--line-soft); display: block; transition: color .3s, padding-left .3s var(--ease);
}
.drawer-nav a.navlink:hover { color: var(--copper); padding-left: 8px; }
.drawer-nav__foot { margin-top: auto; padding-top: 34px; font-size: .8rem; color: var(--muted); }

/* ---------- 8. Hero ---------- */
.hero { position: relative; background: var(--sand-soft); overflow: hidden; }
/* NUMEX-DÜZELTME (2026-11-22): Hero fotoğrafı scale(1.08) animasyonu sırasında kapsayıcısından 53–75 px sağa taşıyordu (ölçüm: 'img ekranın sağından 53px dışarı taşıyor'). Kapsayıcıya overflow:hidden verilerek büyütme efekti korunup taşma kesildi. */
.hero__media { position: relative; height: clamp(480px, 78vh, 760px); overflow: hidden; }
.hero__media img {
  width: 100%; height: 100%; object-fit: cover;
  animation: heroZoom 18s var(--ease-soft) forwards;
}
@keyframes heroZoom { from { transform: scale(1.08); } to { transform: scale(1); } }
.hero__media::after {
  content: ""; position: absolute; inset: 0;
  /* NUMEX-DÜZELTME (2026-11-22): Hero metni açık renkli kanepenin üstüne denk geliyor ve okunmuyordu; gradyan çok zayıftı. Metin tarafı koyulaştırıldı, alt bant eklendi — başlık ve paragraf artık her fotoğrafta okunur. */
  background:
    linear-gradient(100deg, rgba(20,18,16,.80) 0%, rgba(20,18,16,.66) 38%, rgba(20,18,16,.30) 62%, rgba(20,18,16,0) 88%),
    linear-gradient(to top, rgba(20,18,16,.45), rgba(20,18,16,0) 45%);
}
.hero__content {
  position: absolute; inset: 0; display: flex; align-items: center;
  padding-bottom: 28px;
}
.hero__content .wrap { width: 100%; }
.hero__inner { max-width: 620px; color: var(--ivory); padding-left: clamp(0px, 1.5vw, 24px); }
.hero .eyebrow { color: var(--sand); }
.hero h1 { margin: 18px 0 22px; color: var(--white); }
.hero h1 em { font-style: italic; color: var(--sand); }
.hero p { color: rgba(250,247,242,.86); max-width: 44ch; margin-bottom: 34px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; }
.hero__aside {
  position: absolute; right: var(--gutter); bottom: 42px;
  color: var(--sand); font-size: .68rem; letter-spacing: .2em; text-transform: uppercase;
  display: flex; align-items: center; gap: 12px;
}
.hero__aside::before { content: ""; width: 44px; height: 1px; background: currentColor; }
/* Giriş animasyonu */
.hero__inner > * { animation: riseIn 1.1s var(--ease) backwards; }
.hero__inner > *:nth-child(1) { animation-delay: .1s; }
.hero__inner > *:nth-child(2) { animation-delay: .22s; }
.hero__inner > *:nth-child(3) { animation-delay: .34s; }
.hero__inner > *:nth-child(4) { animation-delay: .46s; }
@keyframes riseIn { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }

/* ---------- 9. Marka değerleri ---------- */
.values { border-bottom: 1px solid var(--line-soft); }
.values__grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
}
.values__item {
  padding: 30px 22px; text-align: center; border-right: 1px solid var(--line-soft);
  font-size: .76rem; letter-spacing: .14em; text-transform: uppercase; color: var(--anthracite-soft);
}
.values__item:last-child { border-right: 0; }
.values__item strong { display: block; font-family: var(--serif); font-size: 1.05rem; letter-spacing: .06em; text-transform: none; margin-bottom: 4px; font-weight: 400; }
.values__item span { color: var(--muted); font-size: .68rem; }

/* ---------- 10. Koleksiyon kartları ---------- */
.coll-grid { display: grid; grid-template-columns: 1.35fr 1fr 1fr; gap: clamp(12px, 1.6vw, 22px); }
.coll-card {
  position: relative; overflow: hidden; background: var(--sand);
  display: block; aspect-ratio: 3 / 4; border-radius: var(--radius);
}
.coll-grid .coll-card:first-child { aspect-ratio: auto; }
.coll-card img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1.2s var(--ease), filter 1.2s var(--ease);
}
.coll-card:hover img { transform: scale(1.06); }
.coll-card::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(20,18,16,.62), rgba(20,18,16,.06) 55%, transparent);
  transition: opacity .5s var(--ease);
}
.coll-card:hover::after { opacity: .86; }
.coll-card__body {
  position: absolute; left: 26px; right: 26px; bottom: 24px; z-index: 2; color: var(--white);
}
.coll-card__body .eyebrow { color: var(--sand); }
.coll-card__body h3 { margin: 8px 0 4px; font-size: clamp(1.3rem, 2vw, 1.8rem); }
.coll-card__body span { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; opacity: .85; }
.coll-card__arrow {
  position: absolute; top: 20px; right: 20px; z-index: 2; width: 40px; height: 40px;
  border: 1px solid rgba(255,255,255,.5); border-radius: 50%; display: grid; place-items: center;
  color: var(--white); opacity: 0; transform: translateY(-6px); transition: all .45s var(--ease);
}
.coll-card:hover .coll-card__arrow { opacity: 1; transform: none; }

/* ---------- 11. Ürün kartı ---------- */
.prod-grid {
  display: grid; gap: clamp(18px, 2.2vw, 34px) clamp(12px, 1.6vw, 24px);
  grid-template-columns: repeat(4, 1fr);
}
.prod-card { position: relative; display: flex; flex-direction: column; }
.prod-card__media {
  position: relative; overflow: hidden; background: var(--sand-soft);
  aspect-ratio: 4 / 5; border-radius: var(--radius);
}
.prod-card__media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1.1s var(--ease);
}
.prod-card:hover .prod-card__media img { transform: scale(1.05); }
.prod-card__media a { display: block; height: 100%; }

.fav-btn {
  position: absolute; top: 12px; right: 12px; z-index: 3;
  width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(250,247,242,.85); backdrop-filter: blur(6px); color: var(--anthracite);
  transition: background .3s, color .3s, transform .3s var(--ease);
}
.fav-btn:hover { background: var(--white); color: var(--copper); transform: scale(1.06); }
.fav-btn svg { width: 17px; height: 17px; }
.fav-btn.is-on { color: var(--copper); }
.fav-btn.is-on svg { fill: currentColor; }

.quick-add {
  position: absolute; left: 12px; right: 12px; bottom: 12px; z-index: 3;
  background: rgba(250,247,242,.95); backdrop-filter: blur(8px);
  border: 1px solid var(--line-soft); padding: 13px; text-align: center;
  font-size: .7rem; letter-spacing: .16em; text-transform: uppercase;
  transform: translateY(130%); opacity: 0;
  transition: transform .5s var(--ease), opacity .4s var(--ease), background .3s, color .3s;
  min-height: 44px;
}
.prod-card:hover .quick-add, .prod-card:focus-within .quick-add { transform: none; opacity: 1; }
.quick-add:hover { background: var(--anthracite); color: var(--ivory); }
@media (hover: none) { .quick-add { transform: none; opacity: 1; } }

.tag {
  position: absolute; top: 12px; left: 12px; z-index: 3;
  background: var(--anthracite); color: var(--ivory);
  font-size: .6rem; letter-spacing: .18em; text-transform: uppercase; padding: 5px 10px;
}
.tag--copper { background: var(--copper); }
.tag--out { background: var(--muted); }

.prod-card__body { padding: 16px 2px 0; display: flex; flex-direction: column; gap: 5px; }
.prod-card__cat { font-size: .64rem; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.prod-card__name { font-family: var(--serif); font-size: 1.16rem; font-weight: 400; line-height: 1.25; }
.prod-card__name:hover { color: var(--copper); }
.prod-card__meta { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 2px; }
.prod-card__price { font-size: .92rem; letter-spacing: .02em; }
.prod-card__price s { color: var(--muted-light); margin-left: 7px; font-size: .82rem; }
.stars { display: inline-flex; align-items: center; gap: 2px; font-size: .7rem; color: var(--copper); }
.stars svg { width: 11px; height: 11px; fill: currentColor; }
.stars span { color: var(--muted); margin-left: 4px; font-size: .68rem; }

/* ---------- 12. Editoryal / marka hikâyesi ---------- */
.story { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 6vw, 90px); align-items: center; }
.story__media { position: relative; }
.story__media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.story__media::before {
  content: ""; position: absolute; inset: 22px -22px -22px 22px;
  /* NUMEX-DÜZELTME (2026-11-22): Hikâye bölümündeki bakır çerçeve z-index:-1 ile sayfa zemininin (body arka planı) altına iniyor ve hiç görünmüyordu; isolation:isolate + z-index:0 ile fotoğrafın arkasında ama zeminin üstünde konumlandı. Displaysiz bir süs değil, bölümün tasarım imzasıydı. */
  border: 1px solid var(--copper); opacity: .5; z-index: 0; pointer-events: none;
}
.story__media { isolation: isolate; }
.story__text h2 { margin: 16px 0 22px; }
.story__text p + p { margin-top: 16px; }
.story__sign {
  font-family: var(--serif); font-style: italic; font-size: 1.25rem;
  margin-top: 30px; color: var(--anthracite-soft);
}
.story__stats { display: flex; gap: 40px; margin-top: 36px; flex-wrap: wrap; }
.story__stats div strong { display: block; font-family: var(--serif); font-size: 2rem; font-weight: 300; color: var(--copper); }
.story__stats div span { font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }

/* Çift editoryal bandı */
.editorial-band { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(12px, 1.6vw, 22px); }
.editorial-band__item { position: relative; overflow: hidden; aspect-ratio: 16 / 10; }
.editorial-band__item img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.editorial-band__item:hover img { transform: scale(1.04); }
.editorial-band__item figcaption {
  position: absolute; left: 26px; bottom: 22px; color: var(--white); z-index: 2;
  font-family: var(--serif); font-size: 1.4rem; font-style: italic;
}
.editorial-band__item::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(20,18,16,.5), transparent 60%);
}

/* ---------- 13. Alıntı ---------- */
.quote {
  text-align: center; max-width: 840px; margin: 0 auto;
}
.quote blockquote {
  font-family: var(--serif); font-size: clamp(1.5rem, 3vw, 2.5rem);
  line-height: 1.36; font-weight: 300; letter-spacing: -.01em;
}
.quote blockquote em { color: var(--copper); }
.quote cite {
  display: block; margin-top: 26px; font-style: normal;
  font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted);
}

/* ---------- 14. Bülten ---------- */
.newsletter {
  background: var(--anthracite); color: var(--ivory);
  padding: clamp(56px, 8vw, 104px) 0;
}
.newsletter__inner { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 80px); align-items: center; }
.newsletter h2 { color: var(--white); }
.newsletter p { color: rgba(250,247,242,.72); margin-top: 14px; max-width: 42ch; }
.newsletter form { display: flex; gap: 0; border-bottom: 1px solid rgba(250,247,242,.32); padding-bottom: 10px; }
.newsletter input[type="email"] {
  flex: 1; background: transparent; border: 0; color: var(--white);
  padding: 12px 4px; font-size: .95rem; min-width: 0;
}
.newsletter input::placeholder { color: rgba(250,247,242,.42); }
.newsletter button[type="submit"] {
  font-size: .72rem; letter-spacing: .18em; text-transform: uppercase;
  color: var(--sand); padding: 0 4px; white-space: nowrap; transition: color .3s;
}
.newsletter button:hover { color: var(--copper-light); }
.newsletter .form-note { font-size: .74rem; color: rgba(250,247,242,.5); margin-top: 12px; min-height: 18px; }
.newsletter .form-note.ok { color: var(--sand); }
.newsletter label.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ---------- 15. Footer ---------- */
.footer { background: var(--ivory-deep); padding: clamp(52px, 7vw, 88px) 0 28px; border-top: 1px solid var(--line-soft); }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: clamp(26px, 4vw, 60px); }
.footer .brand { text-align: left; padding: 0; margin-bottom: 16px; }
.footer p { color: var(--muted); font-size: .86rem; max-width: 32ch; }
.footer h4 { font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; font-weight: 400; margin-bottom: 18px; }
.footer ul li + li { margin-top: 10px; }
.footer ul a, .footer ul button { font-size: .86rem; color: var(--muted); transition: color .3s; text-align: left; }
.footer ul a:hover, .footer ul button:hover { color: var(--copper); }
.footer__bottom {
  margin-top: clamp(40px, 5vw, 64px); padding-top: 22px; border-top: 1px solid var(--line);
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  font-size: .74rem; color: var(--muted);
}
.footer__bottom a:hover { color: var(--copper); }
.footer__social { display: flex; gap: 14px; }
.footer__social a { width: 34px; height: 34px; border: 1px solid var(--line); border-radius: 50%; display: grid; place-items: center; transition: all .3s; }
.footer__social a:hover { border-color: var(--copper); color: var(--copper); }
.footer__social svg { width: 15px; height: 15px; }

/* ---------- 16. Sepet çekmecesi ---------- */
.overlay {
  position: fixed; inset: 0; background: rgba(24,21,18,.5); z-index: 90;
  opacity: 0; pointer-events: none; transition: opacity .45s var(--ease);
  backdrop-filter: blur(2px);
}
.overlay.is-open { opacity: 1; pointer-events: auto; }

.cart-drawer {
  position: fixed; top: 0; right: 0; bottom: 0; width: min(460px, 100vw); z-index: 96;
  background: var(--ivory); display: flex; flex-direction: column;
  /* NUMEX-DÜZELTME (2026-11-22): Kapalı sepet çekmecesi yalnız transform ile kaydırılıyordu; ekran okuyucu ve klavye odağı kapalı çekmeceye giriyor, yerleşim ölçümlerinde de ekran dışına taşan öğe olarak görünüyordu. visibility ile gerçekten gizlendi (açılınca görünür). */
  transform: translateX(100%); transition: transform .55s var(--ease), visibility .55s;
  box-shadow: -20px 0 60px rgba(20,18,16,.12);
  /* Kapalıyken tamamen gizle: odak sırasına ve ekran okuyucuya girmesin,
     hiçbir ölçümde "ekran dışına taşan öğe" olarak görünmesin. */
  visibility: hidden;
}
.cart-drawer.is-open { transform: none; visibility: visible; }
.cart-drawer__head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px var(--gutter) 18px; border-bottom: 1px solid var(--line-soft);
}
.cart-drawer__head h3 { font-family: var(--serif); font-size: 1.5rem; font-weight: 400; }
.cart-drawer__body { flex: 1; overflow-y: auto; padding: 8px var(--gutter); }
.cart-drawer__foot { border-top: 1px solid var(--line-soft); padding: 20px var(--gutter) 26px; background: var(--ivory); flex-shrink: 0; }
.cart-drawer__foot .btn { white-space: nowrap; height: auto; min-height: 48px; padding: 14px 18px; }
.cart-drawer__foot .btn svg { width: 16px !important; height: 16px !important; flex-shrink: 0; }

.cart-line { display: grid; grid-template-columns: 84px 1fr; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line-soft); }
.cart-line:last-child { border-bottom: 0; }
.cart-line__img { width: 84px; aspect-ratio: 1; object-fit: cover; background: var(--sand-soft); }
.cart-line__top { display: flex; justify-content: space-between; gap: 10px; }
.cart-line__name { font-family: var(--serif); font-size: 1.05rem; line-height: 1.25; }
.cart-line__var { font-size: .74rem; color: var(--muted); margin-top: 2px; }
.cart-line__price { font-size: .86rem; white-space: nowrap; }
.cart-line__bottom { display: flex; align-items: center; justify-content: space-between; margin-top: 12px; gap: 10px; }
.cart-line__remove { font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); border-bottom: 1px solid transparent; transition: color .3s, border-color .3s; }
.cart-line__remove:hover { color: var(--danger); border-color: var(--danger); }

.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); height: 36px; }
.qty button { width: 34px; height: 34px; display: grid; place-items: center; font-size: 1rem; color: var(--anthracite-soft); transition: background .25s, color .25s; }
.qty button:hover:not(:disabled) { background: var(--sand-soft); color: var(--copper); }
.qty button:disabled { opacity: .3; cursor: not-allowed; }
.qty span { min-width: 30px; text-align: center; font-size: .84rem; }

.sum-row { display: flex; justify-content: space-between; gap: 16px; font-size: .86rem; padding: 5px 0; color: var(--anthracite-soft); }
.sum-row--muted { color: var(--muted); font-size: .8rem; }
.sum-row--total { font-size: 1.02rem; padding-top: 12px; margin-top: 8px; border-top: 1px solid var(--line-soft); font-family: var(--sans); }
.sum-row--total strong { font-family: var(--serif); font-size: 1.4rem; font-weight: 400; }
.sum-row--discount { color: var(--success); }
.ship-note { font-size: .74rem; color: var(--muted); margin-top: 10px; }
.ship-note b { color: var(--copper); font-weight: 400; }

/* boş durum */
.empty {
  text-align: center; padding: clamp(40px, 8vw, 80px) 20px; color: var(--muted);
}
.empty svg { width: 46px; height: 46px; margin: 0 auto 18px; stroke-width: .9; color: var(--muted-light); }
.empty h4 { font-family: var(--serif); font-size: 1.4rem; color: var(--anthracite); font-weight: 400; margin-bottom: 8px; }
.empty p { font-size: .88rem; max-width: 34ch; margin: 0 auto 22px; }

/* ---------- 17. Sayfa başlığı ---------- */
.page-head { padding: clamp(40px, 6vw, 76px) 0 clamp(24px, 3vw, 40px); border-bottom: 1px solid var(--line-soft); }
.crumbs { font-size: .72rem; letter-spacing: .1em; color: var(--muted); display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 18px; }
.crumbs a:hover { color: var(--copper); }
.page-head h1 { margin-bottom: 12px; }
.page-head p { color: var(--muted); max-width: 60ch; }

/* ---------- 18. Katalog ---------- */
.shop-layout { display: grid; grid-template-columns: 250px 1fr; gap: clamp(24px, 4vw, 56px); align-items: start; padding: clamp(28px, 4vw, 48px) 0 80px; }
.filters { position: sticky; top: calc(var(--header-h) + 20px); }
.filter-block { padding-bottom: 26px; margin-bottom: 26px; border-bottom: 1px solid var(--line-soft); }
.filter-block:last-child { border-bottom: 0; }
.filter-block:first-child { border-bottom: 1px solid var(--line-soft); }
.filter-block h4 { font-size: .68rem; letter-spacing: .2em; text-transform: uppercase; margin-bottom: 16px; font-weight: 400; }
.filter-list button {
  display: flex; width: 100%; justify-content: space-between; align-items: center; gap: 10px;
  padding: 8px 0; font-size: .88rem; color: var(--muted); transition: color .3s, padding-left .3s var(--ease); text-align: left;
}
.filter-list button:hover { color: var(--anthracite); padding-left: 4px; }
.filter-list button.is-active { color: var(--anthracite); font-weight: 400; }
.filter-list button.is-active::before { content: ""; width: 14px; height: 1px; background: var(--copper); display: inline-block; margin-right: -4px; }
.filter-list .count { font-size: .72rem; color: var(--muted-light); }

.price-range { display: flex; flex-direction: column; gap: 12px; }
.price-range input[type="range"] { width: 100%; accent-color: var(--copper); }
.price-range__labels { display: flex; justify-content: space-between; font-size: .78rem; color: var(--muted); }
.chip-row { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  padding: 7px 14px; border: 1px solid var(--line); font-size: .76rem; color: var(--anthracite-soft);
  transition: all .3s var(--ease); border-radius: 40px; min-height: 34px;
}
.chip:hover { border-color: var(--anthracite); }
.chip.is-active { background: var(--anthracite); color: var(--ivory); border-color: var(--anthracite); }

.shop-toolbar {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  margin-bottom: 24px; flex-wrap: wrap;
}
.search-field { position: relative; flex: 1; min-width: 220px; max-width: 420px; }
.search-field input {
  width: 100%; border: 0; border-bottom: 1px solid var(--line); background: transparent;
  padding: 11px 34px 11px 2px; font-size: .92rem; transition: border-color .3s;
}
.search-field input:focus { border-color: var(--copper); outline: none; }
.search-field svg { position: absolute; right: 4px; top: 50%; transform: translateY(-50%); width: 17px; height: 17px; color: var(--muted); }
.toolbar-right { display: flex; align-items: center; gap: 12px; font-size: .8rem; color: var(--muted); }
.select {
  border: 1px solid var(--line); background: var(--ivory); padding: 9px 12px; font-size: .82rem;
  border-radius: var(--radius); min-height: 40px;
}
.result-count { font-size: .8rem; color: var(--muted); }
.filter-toggle { display: none; }

.active-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.active-filters .chip { background: var(--sand-soft); border-color: transparent; display: inline-flex; align-items: center; gap: 7px; }
.active-filters .chip svg { width: 11px; height: 11px; }

.prod-grid--3 { grid-template-columns: repeat(3, 1fr); }

/* ---------- 19. Ürün detay ---------- */
.pdp { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(24px, 5vw, 76px); padding: clamp(24px, 4vw, 46px) 0 clamp(50px, 7vw, 90px); align-items: start; }
.gallery { display: grid; grid-template-columns: 82px 1fr; gap: 14px; }
.gallery__thumbs { display: flex; flex-direction: column; gap: 10px; }
.gallery__thumb {
  aspect-ratio: 1; overflow: hidden; border: 1px solid transparent; background: var(--sand-soft);
  transition: border-color .3s, opacity .3s; opacity: .72;
}
.gallery__thumb img { width: 100%; height: 100%; object-fit: cover; }
.gallery__thumb.is-active { border-color: var(--copper); opacity: 1; }
.gallery__thumb:hover { opacity: 1; }
.gallery__main { position: relative; overflow: hidden; background: var(--sand-soft); aspect-ratio: 4 / 5; }
.gallery__main img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.gallery__main:hover img { transform: scale(1.04); }
.gallery__main .tag { top: 16px; left: 16px; }

.pdp-info { position: sticky; top: calc(var(--header-h) + 24px); }
.pdp-info .eyebrow { color: var(--muted); }
.pdp-info h1 { font-family: var(--serif); font-size: clamp(2rem, 3.4vw, 3rem); font-weight: 300; line-height: 1.06; margin: 10px 0 14px; }
.pdp-rating { display: flex; align-items: center; gap: 10px; font-size: .8rem; color: var(--muted); margin-bottom: 20px; }
.pdp-price { display: flex; align-items: baseline; gap: 12px; margin-bottom: 6px; }
.pdp-price strong { font-family: var(--serif); font-size: 1.9rem; font-weight: 400; }
.pdp-price s { color: var(--muted-light); font-size: 1rem; }
.pdp-price .off { font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; background: var(--copper-wash); color: var(--copper); padding: 4px 8px; }
.pdp-desc { color: var(--anthracite-soft); margin: 18px 0 26px; font-size: .95rem; line-height: 1.75; }

.variant-group { margin-bottom: 22px; }
.variant-group__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.variant-group__label { font-size: .7rem; letter-spacing: .18em; text-transform: uppercase; }
.variant-group__value { font-size: .8rem; color: var(--muted); }
.swatches { display: flex; flex-wrap: wrap; gap: 9px; }
.swatch {
  width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line);
  position: relative; transition: transform .25s var(--ease), box-shadow .25s;
  box-shadow: inset 0 0 0 2px var(--ivory);
}
.swatch:hover { transform: scale(1.08); }
.swatch.is-active { box-shadow: inset 0 0 0 2px var(--ivory), 0 0 0 1px var(--copper); }
.swatch[data-color="#f4f0e6"] { border-color: rgba(29,28,26,.2); }
.size-btn {
  min-width: 56px; padding: 9px 14px; border: 1px solid var(--line); font-size: .8rem;
  transition: all .3s var(--ease); min-height: 42px;
}
.size-btn:hover { border-color: var(--anthracite); }
.size-btn.is-active { background: var(--anthracite); color: var(--ivory); border-color: var(--anthracite); }
.size-btn:disabled { opacity: .35; text-decoration: line-through; cursor: not-allowed; }

.stock-line { display: flex; align-items: center; gap: 9px; font-size: .8rem; margin-bottom: 20px; color: var(--anthracite-soft); }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--success); }
.dot--low { background: var(--copper); }
.dot--out { background: var(--muted-light); }

.pdp-buy { display: flex; gap: 12px; margin-bottom: 14px; align-items: stretch; }
.pdp-buy .qty { height: 52px; background: var(--white); }
.pdp-buy .qty button { width: 44px; height: 50px; }
.pdp-buy .btn { flex: 1; }
.trust-list { display: grid; gap: 12px; margin-top: 26px; padding-top: 24px; border-top: 1px solid var(--line-soft); }
.trust-list li { display: flex; gap: 12px; font-size: .82rem; color: var(--muted); align-items: flex-start; line-height: 1.5; }
.trust-list svg { width: 17px; height: 17px; color: var(--copper); flex-shrink: 0; margin-top: 2px; }

.accordion { margin-top: 22px; border-top: 1px solid var(--line-soft); }
.accordion__item { border-bottom: 1px solid var(--line-soft); }
.accordion__btn {
  width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 14px;
  padding: 17px 0; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; text-align: left;
}
.accordion__btn svg { width: 15px; height: 15px; transition: transform .4s var(--ease); flex-shrink: 0; }
.accordion__item.is-open .accordion__btn svg { transform: rotate(45deg); }
.accordion__panel { max-height: 0; overflow: hidden; transition: max-height .5s var(--ease); }
.accordion__panel > div { padding: 0 0 20px; font-size: .88rem; color: var(--muted); line-height: 1.75; }
.accordion__panel ul { list-style: disc; padding-left: 18px; }
.accordion__panel li + li { margin-top: 6px; }

/* ---------- 20. Formlar ---------- */
.field { display: flex; flex-direction: column; gap: 7px; margin-bottom: 18px; }
.field label { font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; color: var(--anthracite-soft); }
.field input, .field select, .field textarea {
  background: var(--white); border: 1px solid var(--line); padding: 13px 14px;
  font-size: .92rem; border-radius: var(--radius); min-height: 48px;
  transition: border-color .3s, box-shadow .3s; width: 100%;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--copper); box-shadow: 0 0 0 3px rgba(168,100,60,.1);
}
.field input[aria-invalid="true"], .field select[aria-invalid="true"] { border-color: var(--danger); }
.field .err { font-size: .74rem; color: var(--danger); min-height: 0; }
.field .err:empty { display: none; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.checkline { display: flex; gap: 11px; align-items: flex-start; font-size: .84rem; color: var(--muted); line-height: 1.55; }
.checkline input { width: 17px; height: 17px; min-height: 0; margin-top: 2px; accent-color: var(--anthracite); flex-shrink: 0; }

/* ---------- 21. Ödeme ---------- */
.checkout { display: grid; grid-template-columns: 1fr 400px; gap: clamp(28px, 4vw, 60px); padding: clamp(28px, 4vw, 48px) 0 90px; align-items: start; }
.steps { display: flex; gap: 26px; margin-bottom: 34px; flex-wrap: wrap; }
.step { display: flex; align-items: center; gap: 9px; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted-light); }
.step__num {
  width: 26px; height: 26px; border-radius: 50%; border: 1px solid var(--line);
  display: grid; place-items: center; font-size: .72rem; letter-spacing: 0;
}
.step.is-active { color: var(--anthracite); }
.step.is-active .step__num { background: var(--anthracite); color: var(--ivory); border-color: var(--anthracite); }
.step.is-done .step__num { background: var(--sand); border-color: var(--sand); color: var(--anthracite); }

.form-block { margin-bottom: 34px; }
.form-block h3 { font-family: var(--serif); font-size: 1.4rem; font-weight: 400; margin-bottom: 18px; padding-bottom: 12px; border-bottom: 1px solid var(--line-soft); }
.form-block__hint { font-size: .8rem; color: var(--muted); margin: -8px 0 18px; }

.radio-card {
  display: flex; gap: 14px; align-items: flex-start; padding: 16px 18px;
  border: 1px solid var(--line); margin-bottom: 10px; cursor: pointer;
  transition: border-color .3s, background .3s; border-radius: var(--radius);
}
.radio-card:hover { border-color: var(--muted-light); }
.radio-card.is-selected { border-color: var(--anthracite); background: var(--white); }
.radio-card input { margin-top: 3px; accent-color: var(--anthracite); width: 16px; height: 16px; flex-shrink: 0; }
.radio-card__body { flex: 1; }
.radio-card__title { display: flex; justify-content: space-between; gap: 12px; font-size: .9rem; }
.radio-card__title strong { font-weight: 400; }
.radio-card__sub { font-size: .78rem; color: var(--muted); margin-top: 3px; }

.order-summary { background: var(--white); border: 1px solid var(--line-soft); padding: 26px; position: sticky; top: calc(var(--header-h) + 24px); }
.order-summary h3 { font-family: var(--serif); font-size: 1.3rem; font-weight: 400; margin-bottom: 18px; }
.order-summary__items { max-height: 280px; overflow-y: auto; margin-bottom: 18px; padding-right: 4px; }
.os-item { display: grid; grid-template-columns: 56px 1fr auto; gap: 12px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line-soft); }
.os-item:last-child { border-bottom: 0; }
.os-item img { width: 56px; aspect-ratio: 1; object-fit: cover; background: var(--sand-soft); }
.os-item__name { font-size: .84rem; line-height: 1.3; }
.os-item__var { font-size: .7rem; color: var(--muted); }
.os-item__price { font-size: .82rem; white-space: nowrap; }
.coupon-row { display: flex; gap: 8px; margin: 18px 0 6px; }
.coupon-row input { flex: 1; border: 1px solid var(--line); padding: 11px 12px; font-size: .84rem; min-width: 0; text-transform: uppercase; min-height: 44px; background: var(--ivory); }
.coupon-msg { font-size: .76rem; min-height: 18px; margin-bottom: 8px; }
.coupon-msg.ok { color: var(--success); }
.coupon-msg.bad { color: var(--danger); }

/* sipariş tamam */
.done { text-align: center; max-width: 700px; margin: 0 auto; padding: clamp(50px, 9vw, 110px) 0; }
.done__icon {
  width: 76px; height: 76px; border-radius: 50%; border: 1px solid var(--copper); color: var(--copper);
  display: grid; place-items: center; margin: 0 auto 26px; animation: popIn .7s var(--ease) both;
}
@keyframes popIn { from { transform: scale(.7); opacity: 0; } to { transform: none; opacity: 1; } }
.done h1 { margin-bottom: 16px; }
.done p { color: var(--muted); max-width: 50ch; margin: 0 auto; }
.order-no {
  display: inline-block; margin: 26px 0; padding: 14px 26px; background: var(--sand-soft);
  font-family: var(--serif); font-size: 1.3rem; letter-spacing: .08em;
}
.done__facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin: 30px 0 34px; text-align: left; }
.done__facts div { border-top: 1px solid var(--line); padding-top: 14px; }
.done__facts span { display: block; font-size: .66rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-bottom: 5px; }
.done__facts strong { font-weight: 400; font-size: .9rem; }
.done__cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ---------- 22. Yönetim paneli ---------- */
.admin { padding: clamp(24px, 4vw, 44px) 0 90px; }
.admin-notice {
  display: flex; gap: 12px; align-items: flex-start; background: var(--copper-wash);
  border-left: 2px solid var(--copper); padding: 14px 18px; font-size: .82rem;
  color: #6d4326; margin-bottom: 30px;
}
.admin-notice svg { width: 18px; height: 18px; flex-shrink: 0; margin-top: 1px; }
.admin-tabs { display: flex; gap: 6px; border-bottom: 1px solid var(--line-soft); margin-bottom: 30px; overflow-x: auto; }
.admin-tabs button {
  padding: 13px 18px; font-size: .76rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--muted); border-bottom: 2px solid transparent; white-space: nowrap; transition: all .3s;
}
.admin-tabs button:hover { color: var(--anthracite); }
.admin-tabs button.is-active { color: var(--anthracite); border-color: var(--copper); }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 30px; }
.stat-card { background: var(--white); border: 1px solid var(--line-soft); padding: 22px; }
.stat-card span { font-size: .66rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
/* NUMEX-DÜZELTME (2026-11-22): Paneldeki ciro/sipariş sayıları serif fontta yazılıyordu; Cormorant'ın ince '0' rakamı harf 'O' gibi okunuyor ve sayılar hizalanmıyordu. Sayısal veri için sans font + tabular-nums kullanıldı (ölçüm: karakter kodu 48 = gerçek sıfır, sorun font seçimiydi). */
.stat-card strong {
  display: block; font-family: var(--sans); font-size: 1.75rem; font-weight: 300;
  margin-top: 8px; line-height: 1.15; letter-spacing: -.01em;
  font-variant-numeric: tabular-nums;
}
.stat-card small { font-size: .74rem; color: var(--success); }
.stat-card small.warn { color: var(--copper); }

/* NUMEX-DÜZELTME (2026-11-22): Panelde sipariş ve ürün tabloları görünmüyordu: table clientWidth/clientHeight 0 dönüyordu, satırlar DOM'da olmasına rağmen hiç yer kaplamıyordu. overflow-x:auto taşıyıcısı doğru blok bağlamı ve tablo display'i ile açıkça tanımlandı. */
.table-wrap {
  background: var(--white); border: 1px solid var(--line-soft);
  /* overflow-x:auto tek başına, bazı Chrome sürümlerinde tabloyu 0 yüksekliğe çökertiyordu
     (ölçüm: table clientHeight = 0, satırlar görünmüyordu). Blok bağlamı + max-width ile düzeltildi. */
  overflow-x: auto; overflow-y: visible;
  display: block; width: 100%; max-width: 100%;
}
.table-wrap > table { display: table; width: 100%; }
/* NUMEX-DÜZELTME (2026-11-22): Sipariş tablosunda satırlar DOM'da vardı (24 satır) ama getBoundingClientRect yüksekliği 0 dönüyordu — satırlar çöküyordu ve panelde tablo boş görünüyordu. Satırların display:table-row ve otomatik yükseklik alması açıkça tanımlandı. */
table.data { width: 100%; border-collapse: collapse; font-size: .84rem; min-width: 640px; table-layout: auto; }
table.data tbody tr { display: table-row; height: auto; }
table.data td > * { max-height: none; }
table.data th {
  text-align: left; font-size: .64rem; letter-spacing: .16em; text-transform: uppercase;
  color: var(--muted); font-weight: 400; padding: 14px 16px; border-bottom: 1px solid var(--line-soft);
  white-space: nowrap; background: var(--ivory);
}
table.data td { padding: 14px 16px; border-bottom: 1px solid var(--line-soft); vertical-align: middle; }
table.data tr:last-child td { border-bottom: 0; }
table.data tbody tr { transition: background .25s; }
table.data tbody tr:hover { background: var(--ivory); }
table.data .mono { font-family: var(--sans); letter-spacing: .04em; font-size: .8rem; }
.row-thumb { width: 44px; aspect-ratio: 1; object-fit: cover; background: var(--sand-soft); }
.cell-prod { display: flex; gap: 12px; align-items: center; }
.cell-prod__name { font-family: var(--serif); font-size: 1rem; line-height: 1.2; }
.cell-prod__cat { font-size: .7rem; color: var(--muted); }

.status-select {
  border: 1px solid var(--line); padding: 6px 10px; font-size: .76rem; background: var(--ivory);
  border-radius: 40px; min-height: 34px; cursor: pointer;
}
.status-pill {
  display: inline-flex; align-items: center; gap: 6px; font-size: .72rem; padding: 5px 11px;
  border-radius: 40px; white-space: nowrap;
}
.status-pill::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.st-yeni { background: #eef1ea; color: var(--success); }
.st-hazirlaniyor { background: var(--copper-wash); color: var(--copper); }
.st-kargoda { background: #e8edf2; color: #44607c; }
.st-teslim { background: var(--sand-soft); color: var(--anthracite-soft); }
.st-iptal { background: #f3e8e6; color: var(--danger); }

.admin-toolbar { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin-bottom: 18px; }
.admin-toolbar .search-field { max-width: 320px; }
.admin-toolbar .spacer { flex: 1; }

.danger-zone { margin-top: 40px; border: 1px solid rgba(143,58,44,.28); padding: 24px; background: rgba(143,58,44,.03); }
.danger-zone h4 { font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; color: var(--danger); margin-bottom: 10px; }
.danger-zone p { font-size: .82rem; color: var(--muted); margin-bottom: 16px; max-width: 62ch; }
.btn--danger { --btn-bg: transparent; --btn-fg: var(--danger); border-color: rgba(143,58,44,.45); }
.btn--danger:hover { background: var(--danger); border-color: var(--danger); color: var(--white); }

/* modal */
.modal {
  position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 20px;
  background: rgba(24,21,18,.5); opacity: 0; pointer-events: none; transition: opacity .35s var(--ease);
}
.modal.is-open { opacity: 1; pointer-events: auto; }
.modal__box {
  background: var(--ivory); width: min(660px, 100%); max-height: 90vh; overflow-y: auto;
  padding: clamp(24px, 4vw, 40px); transform: translateY(14px); transition: transform .4s var(--ease);
}
.modal.is-open .modal__box { transform: none; }
.modal__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; margin-bottom: 22px; }
.modal__head h3 { font-family: var(--serif); font-size: 1.6rem; font-weight: 400; }
.modal__foot { display: flex; gap: 10px; justify-content: flex-end; margin-top: 24px; flex-wrap: wrap; }

/* bildirim */
.toast-stack { position: fixed; right: 20px; bottom: 20px; z-index: 110; display: flex; flex-direction: column; gap: 10px; pointer-events: none; }
.toast {
  background: var(--anthracite); color: var(--ivory); padding: 14px 20px; font-size: .84rem;
  display: flex; align-items: center; gap: 10px; max-width: 340px;
  transform: translateY(16px); opacity: 0; transition: all .45s var(--ease);
  border-left: 2px solid var(--copper);
}
.toast.is-on { transform: none; opacity: 1; }
.toast svg { width: 16px; height: 16px; color: var(--copper-light); flex-shrink: 0; }
.toast--bad { border-left-color: var(--danger); }
.toast--bad svg { color: #d99b8e; }

/* ---------- 23. Görünürlük animasyonları ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
/* NUMEX-DÜZELTME (2026-11-22): Ana sayfada 18 .reveal öğesinin hiçbiri görünmüyordu: dinamik eklenen kartlar observeReveals() çağrılmadan önce DOM'a giriyordu, üstelik IntersectionObserver animasyonu hiç tetiklenmiyordu — sayfanın tüm ortası boş görünüyordu. Artık gözlemci her render'dan sonra yeniden bağlanıyor ve JS'siz durumda içerik görünür kalıyor. */
/* JS yüklenemezse içerik asla görünmez kalmasın (güvenli varsayılan) */
.no-js .reveal { opacity: 1; transform: none; }
.reveal:nth-child(2) { transition-delay: .08s; }
.reveal:nth-child(3) { transition-delay: .16s; }
.reveal:nth-child(4) { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- 24. Duyarlı ---------- */
@media (max-width: 1080px) {
  .prod-grid { grid-template-columns: repeat(3, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .checkout { grid-template-columns: 1fr 340px; }
  .coll-grid { grid-template-columns: 1fr 1fr; }
  .coll-grid .coll-card:first-child { grid-column: span 2; aspect-ratio: 16/9; }
}

@media (max-width: 900px) {
  .header__nav { display: none; }
  .menu-toggle { display: grid !important; }
  .header__inner { grid-template-columns: auto 1fr auto; }
  .brand { text-align: left; font-size: 1.15rem; letter-spacing: .26em; }
  .shop-layout { grid-template-columns: 1fr; }
  .filters {
    position: fixed; inset: 0 0 0 0; z-index: 97; background: var(--ivory);
    padding: 24px var(--gutter) 110px; overflow-y: auto; transform: translateY(100%);
    transition: transform .5s var(--ease); top: 0; display: block;
  }
  .filters.is-open { transform: none; }
  .filter-toggle { display: inline-flex; }
  .pdp { grid-template-columns: 1fr; }
  .pdp-info { position: static; }
  .checkout { grid-template-columns: 1fr; }
  .order-summary { position: static; }
  .story { grid-template-columns: 1fr; }
  .story__media { order: -1; max-width: 520px; }
  .story__media::before { inset: 14px -14px -14px 14px; }
  .newsletter__inner { grid-template-columns: 1fr; }
  .editorial-band { grid-template-columns: 1fr; }
  .hero__aside { display: none; }
  .gallery { grid-template-columns: 1fr; }
  .gallery__thumbs { order: 2; flex-direction: row; overflow-x: auto; padding-bottom: 4px; }
  .gallery__thumb { width: 72px; flex-shrink: 0; }
}

@media (max-width: 680px) {
  :root { --header-h: 64px; }
  .prod-grid, .prod-grid--3 { grid-template-columns: repeat(2, 1fr); gap: 22px 12px; }
  .coll-grid { grid-template-columns: 1fr; }
  .coll-grid .coll-card:first-child { grid-column: auto; aspect-ratio: 4/3; }
  .coll-card { aspect-ratio: 4/3; }
  .values__grid { grid-template-columns: 1fr 1fr; }
  .values__item:nth-child(odd) { border-right: 1px solid var(--line-soft); }
  .values__item:nth-child(-n+2) { border-bottom: 1px solid var(--line-soft); }
  .done__facts { grid-template-columns: 1fr; gap: 14px; }
  .stats { grid-template-columns: 1fr 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .pdp-buy { flex-wrap: wrap; }
  .pdp-buy .qty { width: 100%; justify-content: space-between; }
  .pdp-buy .btn { width: 100%; }
  .footer__grid { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
  .section-head { align-items: flex-start; }
  .toast-stack { right: 12px; left: 12px; bottom: 12px; }
  .toast { max-width: none; }
  .cart-drawer { width: 100vw; }
  .steps { gap: 16px; }
  .step span.step__txt { display: none; }
  .serif-i { font-size: inherit; }
}

@media (max-width: 390px) {
  .brand { font-size: 1rem; letter-spacing: .2em; }
  .prod-card__name { font-size: 1.02rem; }
  .btn { padding: 14px 24px; }
}
