/* ==========================================================================
   BONAFI · Erkek Giyim
   Renk paleti: Altın · Siyah · Gri · Beyaz (+ şampanya, fildişi, antrasit)
   ========================================================================== */

:root {
  /* Marka renkleri: varsayılan değerler. Yönetim panelindeki "Görünüm" sekmesinden
     değiştirilir; js/design.js sayfa açılırken bunların üzerine yazar. */
  --gold: #C9A24A;
  --gold-rgb: 201 162 74;
  --gold-light: #E8D29B;
  --gold-deep: #9C7A2E;
  --champagne: #F1E6CF;
  --black: #0A0A0A;
  --black-rgb: 10 10 10;
  --onyx: #121212;
  --charcoal: #171717;
  --ivory: #F4F1EA;
  --ivory-rgb: 244 241 234;
  --ivory-muted: #8E8B85;

  --gold-gradient: linear-gradient(110deg, #8C6B2A 0%, #C9A24A 22%, #F3E2AE 42%, #C9A24A 58%, #9C7A2E 78%, #E8D29B 100%);

  /* Canlı tema değişkenleri: bölümler arasında JS ile yumuşakça değişir */
  --bg: #0A0A0A;
  --fg: #F4F1EA;
  --muted: #8E8B85;
  --line: rgba(244, 241, 234, .14);
  --accent: #C9A24A;
  --card: #141414;

  --serif: 'Cormorant Garamond', 'Times New Roman', serif;
  --sans: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --serif-scale: 1;               /* seçilen başlık yazı tipinin genişlik düzeltmesi */
  --title-scale: 1;               /* panelden: küçük / normal / büyük başlıklar */
  --ts: calc(var(--title-scale) * var(--serif-scale));
  --r-btn: 2px;                   /* panelden: köşe stili */
  --r-media: 0px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --ease-in-out: cubic-bezier(.76, 0, .24, 1);
  --gutter: clamp(16px, 4vw, 56px);
  --header-h: 84px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
/* Kaydırma çubukları gizli (sayfa, ürün sayfası, sepet, arama). Kaydırma çalışmaya devam eder;
   konumu üstteki altın ilerleme çizgisi gösterir. */
html, html * { scrollbar-width: none; }
html::-webkit-scrollbar, html *::-webkit-scrollbar { display: none; width: 0; height: 0; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
input { font: inherit; color: inherit; }
h1, h2, h3, h4, p, figure, ul { margin: 0; }
ul { padding: 0; list-style: none; }
em { font-style: italic; }
/* Tek kalınlıklı sokak stili başlık yazı tiplerine (Anton vb.) tarayıcı sahte kalınlık eklemesin */
html.font-solid { font-synthesis-weight: none; }
[hidden], .is-section-hidden { display: none !important; }
.stat__num, .craft__index, .step__num, .ccard__all, .drawer__total strong, .marquee--dark span { font-variant-numeric: lining-nums; }
svg { width: 1em; height: 1em; flex: none; }
::selection { background: var(--gold); color: var(--black); }
:focus-visible { outline: 1px solid var(--gold); outline-offset: 4px; }

.container { width: 100%; max-width: 1480px; margin-inline: auto; padding-inline: var(--gutter); }
.section { padding: clamp(96px, 16vh, 180px) 0; position: relative; }

.skip-link {
  position: fixed; top: 12px; left: 12px; z-index: 400;
  padding: 10px 16px; background: var(--gold); color: var(--black);
  transform: translateY(-200%); transition: transform .3s var(--ease);
}
.skip-link:focus { transform: none; }

/* ---------- Tipografi ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 14px;
  font-size: 11px; font-weight: 600; letter-spacing: .28em; text-transform: uppercase;
  color: var(--accent);
}
.eyebrow__line { width: 36px; height: 1px; background: currentColor; display: inline-block; }

.title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: calc(clamp(2.8rem, 6.4vw, 6.4rem) * var(--ts));
  line-height: .95;
  letter-spacing: -.01em;
  margin-top: 22px;
}
.title em, .newsletter__title em, .lookbook__name em { color: var(--accent); }
.lead { font-size: clamp(15px, 1.15vw, 17px); color: var(--muted); max-width: 46ch; line-height: 1.75; }

.gold-text {
  background: var(--gold-gradient);
  background-size: 220% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: shine 7s linear infinite;
}
@keyframes shine { to { background-position: 220% center; } }

/* Kelime maskeleri (JS ile bölünür) */
.w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .1em; margin-bottom: -.1em; }
.w > span { display: inline-block; will-change: transform; }
/* Eğik (italik) kelimelerde son harf kelime kutusundan taşar; kırpılmasın diye sağda pay bırakılır */
em .w { padding-right: .12em; margin-right: -.12em; }

/* ---------- Butonlar ---------- */
.btn {
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 14px;
  padding: 19px 30px;
  font-size: 11.5px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase;
  border-radius: var(--r-btn);
  transition: color .5s var(--ease), border-color .5s var(--ease);
  white-space: nowrap;
}
.btn::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  transform: translateY(101%); transition: transform .6s var(--ease);
}
.btn:hover::before { transform: translateY(0); }
.btn svg { font-size: 18px; transition: transform .5s var(--ease); }
.btn:hover svg { transform: translateX(4px); }

.btn--gold { background: var(--gold); color: var(--black); }
.btn--gold::before { background: var(--champagne); }

.btn--ghost { border: 1px solid var(--line); color: var(--fg); }
.btn--ghost::before { background: var(--fg); }
.btn--ghost:hover { color: var(--bg); border-color: var(--fg); }

.btn--dark { background: var(--black); color: var(--gold-light); }
.btn--dark::before { background: var(--ivory); }
.btn--dark:hover { color: var(--black); }

.btn--block { width: 100%; }

.link-underline { position: relative; }
.link-underline::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -4px; height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease);
}
.link-underline:hover::after { transform: scaleX(1); transform-origin: left; }

.icon-btn {
  position: relative; display: inline-grid; place-items: center;
  width: 42px; height: 42px; border-radius: 50%;
  transition: background-color .4s var(--ease), color .4s var(--ease);
}
.icon-btn svg { font-size: 21px; }
.icon-btn:hover { color: var(--accent); }

/* ---------- Preloader ---------- */
.preloader {
  position: fixed; inset: 0; z-index: 300;
  display: grid; place-items: center;
  background: var(--black); color: var(--ivory);
  animation: preloader-failsafe .6s 9s forwards;
}
@keyframes preloader-failsafe { to { opacity: 0; visibility: hidden; } }
.preloader__inner { width: min(560px, 82vw); }
.preloader__logo {
  display: flex; justify-content: space-between;
  font-family: var(--serif); font-weight: 600;
  font-size: calc(clamp(3rem, 11vw, 7.5rem) * var(--serif-scale)); line-height: 1;
  overflow: hidden; padding-bottom: .05em;
}
.preloader__logo span {
  display: inline-block;
  background: var(--gold-gradient); background-size: 300% auto;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: shine 3s linear infinite;
}
.preloader__bar { margin-top: 28px; height: 1px; background: rgb(var(--ivory-rgb) / .14); overflow: hidden; }
.preloader__bar span { display: block; height: 100%; background: var(--gold); transform: scaleX(0); transform-origin: left; }
.preloader__meta {
  display: flex; justify-content: space-between; margin-top: 14px;
  font-size: 11px; letter-spacing: .26em; text-transform: uppercase; color: var(--ivory-muted);
}
.no-preloader .preloader { display: none; }

/* Yükleme ekranı kapalıyken giriş bölümü, animasyonu hazırlanana kadar gizli kalır (JS çalışmazsa 4 sn sonra görünür) */
.is-intro-pending :is(.hero__media, .hero__content, .hero__brand, .hero__meta, .header__inner) {
  opacity: 0; animation: intro-failsafe .4s 4s forwards;
}
@keyframes intro-failsafe { to { opacity: 1; } }

/* ---------- Global UI ---------- */
.grain {
  position: fixed; inset: -50%; width: 200%; height: 200%;
  z-index: 150; pointer-events: none; opacity: .055;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1.2s steps(5) infinite;
}
.no-grain .grain { display: none; }
@keyframes grain {
  0% { transform: translate(0, 0); }
  20% { transform: translate(-3%, 2%); }
  40% { transform: translate(2%, -3%); }
  60% { transform: translate(-2%, -1%); }
  80% { transform: translate(3%, 3%); }
  100% { transform: translate(0, 0); }
}

.progress { position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 60; pointer-events: none; }
.progress span { display: block; height: 100%; background: var(--gold-gradient); transform: scaleX(0); transform-origin: left; }

.cursor { display: none; }
.has-cursor .cursor { display: block; }
/* Özel imleç açıkken sistem imleci hiçbir yerde görünmez (yazı alanları hariç) */
.has-cursor, .has-cursor * { cursor: none !important; }
.has-cursor input, .has-cursor textarea { cursor: text !important; }
.has-cursor .acheck input, .has-cursor .afield input[readonly] { cursor: none !important; }
.cursor__dot, .cursor__ring {
  position: fixed; top: 0; left: 0; z-index: 250; pointer-events: none;
  border-radius: 50%;
}
/* İmleç yalnızca bir nokta: rengi bulunduğu bölümün vurgu rengini izler (altın zeminde koyulaşır) */
.cursor__dot {
  width: 8px; height: 8px; margin: -4px 0 0 -4px; background: var(--accent);
  transition: width .35s var(--ease), height .35s var(--ease), margin .35s var(--ease), opacity .3s;
}
.cursor.is-hover .cursor__dot { width: 14px; height: 14px; margin: -7px 0 0 -7px; }
/* Halka normalde görünmez; yalnızca "İncele", "Keşfet" gibi etiketli alanlarda dolu baloncuk olur */
.cursor__ring {
  width: 40px; height: 40px; margin: -20px 0 0 -20px;
  display: grid; place-items: center; opacity: 0;
  transition: width .45s var(--ease), height .45s var(--ease), margin .45s var(--ease), background-color .45s var(--ease), opacity .3s;
}
.cursor__label {
  font-size: 10px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase;
  color: var(--black); opacity: 0; transform: scale(.6);
  transition: opacity .3s, transform .45s var(--ease);
}
.cursor.has-label .cursor__ring { width: 96px; height: 96px; margin: -48px 0 0 -48px; background: var(--gold); opacity: 1; }
.cursor.has-label .cursor__label { opacity: 1; transform: scale(1); }
.cursor.has-label .cursor__dot { opacity: 0; }
.cursor.is-hidden .cursor__ring, .cursor.is-hidden .cursor__dot { opacity: 0; }

/* Tekerlek tıklamasıyla kaydırma: basılan noktada küçük bir halka belirir,
   imlecin arkasındaki iz bir kanvasa çizilir (js/main.js → initAutoScroll) */
.autoscroll-trail { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 248; pointer-events: none; }
.autoscroll {
  position: fixed; top: 0; left: 0; z-index: 249;
  width: 8px; height: 8px; margin: -4px 0 0 -4px; border-radius: 50%;
  pointer-events: none; color: var(--accent);
  box-shadow: inset 0 0 0 1.5px currentColor;
  opacity: 0; transform: scale(0);
  transition: opacity .35s var(--ease), transform .45s var(--ease);
}
.autoscroll.is-on { opacity: .75; transform: scale(1); }
.autoscroll::after {
  content: ''; position: absolute; inset: 0; border-radius: 50%;
  box-shadow: 0 0 0 1px currentColor; opacity: 0;
}
.autoscroll.is-on::after { animation: autoscroll-ripple .9s var(--ease); }
@keyframes autoscroll-ripple { from { opacity: .8; transform: scale(1); } to { opacity: 0; transform: scale(3.2); } }

/* ---------- Header ---------- */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  height: var(--header-h);
  color: var(--fg);
  transition: transform .6s var(--ease), background-color .5s, border-color .5s, backdrop-filter .5s;
  border-bottom: 1px solid transparent;
}
.header.is-scrolled {
  background: color-mix(in srgb, var(--bg) 78%, transparent);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  backdrop-filter: blur(16px) saturate(140%);
  border-bottom-color: var(--line);
}
.header.is-hidden { transform: translateY(-100%); }
/* Kategoriler paneli açıkken üst çubuk da zeminli görünür */
.header.mega-open {
  background: var(--bg);
  border-bottom-color: var(--line); transform: none;
}
.header__inner {
  height: 100%;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  padding-inline: var(--gutter);
}
.header__nav { display: flex; gap: 34px; font-size: 11.5px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; }
.header__right { display: flex; align-items: center; justify-content: flex-end; gap: 6px; }
.header__right .header__nav { margin-right: 22px; }

/* ---------- Kategoriler (açılır panel) ---------- */
.header__nav--left { align-items: center; }
.header__catbtn { display: inline-flex; align-items: center; gap: 8px; letter-spacing: inherit; text-transform: inherit; font-weight: inherit; }
.header__catbtn svg { font-size: 13px; transition: transform .45s var(--ease); }
.header__catbtn[aria-expanded="true"] svg { transform: rotate(180deg); }
.header__catbtn[aria-expanded="true"]::after { transform: scaleX(1); transform-origin: left; }
.mega {
  position: absolute; left: 0; right: 0; top: 100%;
  font-size: 15px; font-weight: 400; letter-spacing: normal; text-transform: none;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 40px 60px -40px rgb(0 0 0 / .45);
  clip-path: inset(0 0 100% 0); visibility: hidden; pointer-events: none;
  transition: clip-path .7s var(--ease-in-out), visibility 0s .7s;
}
.mega.is-open { clip-path: inset(0 0 -60px 0); visibility: visible; pointer-events: auto; transition: clip-path .7s var(--ease-in-out), visibility 0s; }
.mega__inner { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 96px); padding-top: 34px; padding-bottom: 40px; }
.mega__list ul { margin-top: 20px; border-top: 1px solid var(--line); }
.mega__list li { border-bottom: 1px solid var(--line); }
.mega__list li a {
  display: flex; align-items: baseline; gap: 18px; padding: 12px 0;
  font-family: var(--serif); font-size: calc(clamp(1.8rem, 2.4vw, 2.6rem) * var(--ts)); line-height: 1.1;
  transition: color .35s, padding-left .5s var(--ease);
}
.mega__list li a:hover, .mega__list li.is-active a { color: var(--accent); padding-left: 12px; }
.mega__num { font-family: var(--sans); font-size: 11px; font-weight: 600; letter-spacing: .14em; color: var(--accent); }
.mega__list sup { font-family: var(--sans); font-size: 11px; letter-spacing: .1em; color: var(--muted); }
.mega__more {
  display: inline-flex; align-items: center; gap: 12px; margin-top: 24px;
  font-size: 11.5px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase;
}
.mega__more svg { font-size: 18px; transition: transform .5s var(--ease); }
.mega__more:hover { color: var(--accent); }
.mega__more:hover svg { transform: translateX(5px); }
.mega__media { position: relative; height: clamp(260px, 38vh, 380px); overflow: hidden; background: var(--card); border-radius: var(--r-media); }
.mega__media img { width: 100%; height: 100%; object-fit: cover; transition: opacity .45s var(--ease), transform 1.2s var(--ease); }
.mega__media img.is-swapping { opacity: 0; transform: scale(1.05); }
.mega__media figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; display: flex; justify-content: space-between; align-items: baseline; gap: 12px;
  padding: 40px 20px 16px; color: var(--ivory);
  background: linear-gradient(0deg, rgb(var(--black-rgb) / .7), transparent);
  font-family: var(--serif); font-size: 1.5rem; line-height: 1.1;
}
.mega__media figcaption small { font-family: var(--sans); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-light); }
/* Açılınca kategoriler sırayla yükselir */
.mega.is-open .mega__list li, .mega.is-open .mega__more, .mega.is-open .mega__media { animation: pdp-rise .8s var(--ease) both; }
.mega.is-open .mega__list li:nth-child(2) { animation-delay: .05s; }
.mega.is-open .mega__list li:nth-child(3) { animation-delay: .1s; }
.mega.is-open .mega__list li:nth-child(4) { animation-delay: .15s; }
.mega.is-open .mega__more { animation-delay: .2s; }
.mega.is-open .mega__media { animation-delay: .12s; }
.logo {
  font-family: var(--serif); font-weight: 600; font-size: calc(26px * var(--serif-scale)); line-height: 1;
  letter-spacing: .42em; padding-left: .42em;
  transition: color .4s;
}
.logo:hover { color: var(--accent); }
.cart-badge {
  position: absolute; top: 4px; right: 2px;
  min-width: 17px; height: 17px; padding: 0 4px; border-radius: 9px;
  background: var(--gold); color: var(--black);
  font-size: 10px; font-weight: 700; line-height: 17px; text-align: center;
  transform: scale(0); transition: transform .4s var(--ease);
}
.cart-badge.is-visible { transform: scale(1); }
.cart-badge.is-bump { animation: bump .5s var(--ease); }
@keyframes bump { 40% { transform: scale(1.45); } }

.header__burger { display: none; width: 42px; height: 42px; position: relative; }
.header__burger span {
  position: absolute; left: 10px; right: 10px; height: 1.4px; background: currentColor;
  transition: transform .5s var(--ease), top .5s var(--ease);
}
.header__burger span:first-child { top: 16px; }
.header__burger span:last-child { top: 25px; right: 16px; }
.menu-open .header__burger span:first-child { top: 20.5px; transform: rotate(45deg); }
.menu-open .header__burger span:last-child { top: 20.5px; right: 10px; transform: rotate(-45deg); }
.menu-open .header { color: var(--ivory); background: transparent; border-bottom-color: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; transform: none; }

/* ---------- Mobil Menü ---------- */
.menu {
  position: fixed; inset: 0; z-index: 45;
  color: var(--ivory);
  display: flex; flex-direction: column; justify-content: space-between;
  padding: calc(var(--header-h) + 6vh) var(--gutter) 36px;
  visibility: hidden; pointer-events: none;
}
.menu__bg {
  position: absolute; inset: 0; z-index: -1; background: var(--black);
  clip-path: inset(0 0 100% 0); transition: clip-path .9s var(--ease-in-out);
}
.menu-open .menu { visibility: visible; pointer-events: auto; }
.menu-open .menu__bg { clip-path: inset(0 0 0 0); }
.menu__links { display: flex; flex-direction: column; gap: 4px; }
.menu__links a { display: flex; align-items: baseline; gap: 18px; overflow: hidden; }
.menu__num { font-size: 11px; letter-spacing: .2em; color: var(--gold); transform: translateY(110%); transition: transform .8s var(--ease); }
.menu__text {
  font-family: var(--serif); font-size: calc(clamp(2.8rem, 11vw, 5.4rem) * var(--serif-scale)); line-height: 1.08;
  display: inline-block; transform: translateY(110%); transition: transform .9s var(--ease), color .4s;
}
.menu__links a:hover .menu__text { color: var(--gold); font-style: italic; }
.menu-open .menu__num, .menu-open .menu__text { transform: translateY(0); }
.menu-open .menu__links a:nth-child(1) * { transition-delay: .25s; }
.menu-open .menu__links a:nth-child(2) * { transition-delay: .31s; }
.menu-open .menu__links a:nth-child(3) * { transition-delay: .37s; }
.menu-open .menu__links a:nth-child(4) * { transition-delay: .43s; }
.menu-open .menu__links a:nth-child(5) * { transition-delay: .49s; }
.menu__footer {
  display: flex; justify-content: space-between; align-items: flex-end; gap: 24px;
  padding-top: 24px; border-top: 1px solid rgb(var(--ivory-rgb) / .14);
  font-size: 13px; color: var(--ivory-muted);
  opacity: 0; transition: opacity .6s .5s;
}
.menu-open .menu__footer { opacity: 1; }
.menu__label { font-size: 11px; letter-spacing: .24em; text-transform: uppercase; color: var(--gold); margin-bottom: 6px; }
.menu { overflow-y: auto; }
.menu__cats { padding: 4vh 0 3vh; opacity: 0; transform: translateY(18px); transition: opacity .6s .45s, transform .8s .45s var(--ease); }
.menu-open .menu__cats { opacity: 1; transform: none; }
.menu__cats ul { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.menu__cats a {
  display: inline-flex; align-items: baseline; gap: 8px; padding: 10px 16px;
  border: 1px solid rgb(var(--ivory-rgb) / .2); border-radius: 999px;
  font-size: 13px; font-weight: 500; transition: border-color .3s, color .3s, background-color .3s;
}
.menu__cats a:hover { border-color: var(--gold); color: var(--gold); }
.menu__cats sup { font-size: 10px; color: var(--ivory-muted); }

.socials { display: flex; gap: 6px; }
.socials a {
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid var(--line); transition: background-color .4s, color .4s, border-color .4s;
}
.socials a:hover { background: var(--gold); border-color: var(--gold); color: var(--black); }
.socials svg { font-size: 17px; }
.menu .socials a { border-color: rgb(var(--ivory-rgb) / .2); }

/* ==========================================================================
   HERO
   ========================================================================== */
.hero {
  position: relative; height: 100vh; height: 100svh; min-height: 640px;
  overflow: hidden; display: flex; align-items: center;
}
.hero__media { position: absolute; top: 0; right: 0; bottom: 0; width: 64%; overflow: hidden; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; transform-origin: 50% 30%; }
.hero__shade {
  position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(90deg, var(--black) 36%, rgb(var(--black-rgb) / .78) 50%, rgb(var(--black-rgb) / .2) 72%, rgb(var(--black-rgb) / .45) 100%),
    linear-gradient(0deg, var(--black) 0%, rgb(var(--black-rgb) / 0) 34%);
}
.hero__glow {
  position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(520px circle at var(--mx, 72%) var(--my, 38%), rgb(var(--gold-rgb) / .2), transparent 62%);
  mix-blend-mode: screen;
}
.hero__content { position: relative; z-index: 3; padding-top: calc(var(--header-h) * .6); }
.hero__eyebrow { margin-bottom: 30px; }
.hero__title {
  font-family: var(--serif); font-weight: 400;
  font-size: calc(clamp(3.4rem, 8.6vw, 9rem) * var(--ts)); line-height: .9; letter-spacing: -.015em;
}
.mask { display: block; overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; }
.mask > span { display: block; }
.hero__lead { margin-top: 30px; max-width: 42ch; color: rgb(var(--ivory-rgb) / .68); font-size: clamp(15px, 1.15vw, 17px); line-height: 1.75; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 40px; }
.hero__brand {
  position: absolute; left: 0; right: 0; bottom: -.14em; z-index: 2;
  display: flex; justify-content: center;
  font-family: var(--serif); font-weight: 600; font-size: calc(25vw * var(--serif-scale)); line-height: .8;
  letter-spacing: .04em; white-space: nowrap; pointer-events: none;
  color: transparent; -webkit-text-stroke: 1px rgb(var(--gold-rgb) / .32);
}
.hero__meta {
  position: absolute; left: 0; right: 0; bottom: 28px; z-index: 4;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 10.5px; letter-spacing: .24em; text-transform: uppercase; color: var(--ivory-muted);
  max-width: none;
}
.hero__scroll { display: inline-flex; align-items: center; gap: 12px; color: var(--ivory); }
.hero__scroll i { position: relative; width: 1px; height: 46px; background: rgb(var(--ivory-rgb) / .2); overflow: hidden; }
.hero__scroll i::after {
  content: ''; position: absolute; left: 0; top: 0; width: 100%; height: 40%; background: var(--gold);
  animation: scrollline 2.2s var(--ease-in-out) infinite;
}
@keyframes scrollline { 0% { transform: translateY(-100%); } 100% { transform: translateY(260%); } }

/* ==========================================================================
   MARQUEE
   ========================================================================== */
.marquees { position: relative; padding: 70px 0; overflow: hidden; overflow: clip; }
.marquee { position: relative; width: 112%; margin-left: -6%; white-space: nowrap; overflow: hidden; }
.marquee__track { display: flex; width: max-content; will-change: transform; }
.marquee__group { display: flex; align-items: center; flex: none; }
.marquee--gold {
  z-index: 2; transform: rotate(-2.6deg);
  background: var(--gold-gradient); color: var(--black); padding: 20px 0;
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .6);
}
.marquee--gold span { font-size: clamp(15px, 1.6vw, 22px); font-weight: 600; letter-spacing: .26em; text-transform: uppercase; padding: 0 30px; }
.marquee--gold i { font-style: normal; font-size: 14px; }
.marquee--dark {
  z-index: 1; transform: rotate(2deg); margin-top: -26px;
  background: var(--onyx); border-block: 1px solid rgb(var(--gold-rgb) / .25); padding: 14px 0;
}
.marquee--dark span {
  font-family: var(--serif); font-style: italic; font-size: clamp(30px, 4vw, 58px); line-height: 1.1; padding: 0 30px;
  color: transparent; -webkit-text-stroke: 1px rgb(var(--gold-rgb) / .75);
}
.marquee--dark i { font-style: normal; color: var(--gold); }
html:not(.has-gsap) .marquee__track { animation: marquee 34s linear infinite; }
html:not(.has-gsap) .marquee--dark .marquee__track { animation-direction: reverse; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ==========================================================================
   MANIFESTO
   ========================================================================== */
.manifesto__grid { display: grid; grid-template-columns: 4fr 8fr; gap: clamp(32px, 6vw, 120px); }
.manifesto__aside { position: relative; }
.manifesto__figure { margin-top: 44px; width: 78%; aspect-ratio: 3 / 4; overflow: hidden; background: var(--card); border-radius: var(--r-media); }
.manifesto__figure img { width: 100%; height: 100%; object-fit: cover; }
.manifesto__text {
  font-family: var(--serif); font-weight: 400;
  font-size: calc(clamp(1.9rem, 3.7vw, 3.9rem) * var(--ts)); line-height: 1.16; letter-spacing: -.005em;
}
.manifesto__text em { color: var(--accent); }
.manifesto__text .sw { transition: none; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: clamp(64px, 10vh, 120px); border-top: 1px solid var(--line); }
.stat { padding: 30px 20px 0 0; }
.stat + .stat { padding-left: 24px; border-left: 1px solid var(--line); }
.stat__num { font-family: var(--serif); font-size: clamp(2.8rem, 4.6vw, 4.6rem); line-height: 1; color: var(--accent); display: flex; align-items: flex-start; }
.stat__num sup { font-family: var(--sans); font-size: 14px; font-weight: 600; margin: 8px 4px 0; letter-spacing: .06em; }
.stat p { margin-top: 12px; font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); }

/* ==========================================================================
   KOLEKSİYONLAR (yatay kaydırma)
   ========================================================================== */
.collections { position: relative; }
.collections__pin {
  height: 100vh; height: 100svh; min-height: 640px;
  display: flex; flex-direction: column; justify-content: center;
  padding-top: calc(var(--header-h) * .7);
  overflow: hidden;
}
.collections__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: clamp(28px, 5vh, 56px); }
.collections__status { display: flex; align-items: center; gap: 20px; padding-bottom: 10px; }
.collections__counter { font-size: 12px; letter-spacing: .2em; color: var(--muted); font-variant-numeric: tabular-nums; }
.collections__counter b { color: var(--fg); font-weight: 600; }
.collections__bar { width: clamp(120px, 16vw, 240px); height: 1px; background: var(--line); }
.collections__bar span { display: block; height: 100%; background: var(--accent); transform: scaleX(.02); transform-origin: left; }

/* Varsayılan: doğal yatay kaydırma. JS sabitleme (pin) aktifken kaydırmaya bağlı harekete geçer. */
.collections__track {
  display: flex; gap: clamp(16px, 2vw, 32px);
  padding-inline: var(--gutter);
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter);
  scrollbar-width: none;
}
.collections__track::-webkit-scrollbar { display: none; }
.collections__track > * { scroll-snap-align: start; }
.has-hscroll .collections__track { width: max-content; overflow: visible; scroll-snap-type: none; will-change: transform; }
/* İlerleme sayacı yalnızca kaydırmaya bağlı yatay hareket varken anlamlı */
html:not(.has-hscroll) .collections__status { display: none; }
.ccard { flex: none; width: clamp(270px, 25vw, 420px); }
.ccard > a { display: block; }
.ccard__media { position: relative; aspect-ratio: 3 / 4; height: auto; max-height: 58vh; overflow: hidden; background: var(--card); border-radius: var(--r-media); }
.ccard__media img {
  position: absolute; top: 0; left: -9%; width: 118%; max-width: none; height: 100%;
  object-fit: cover; transition: filter .8s var(--ease);
  filter: grayscale(.25) contrast(1.02);
}
.ccard__media::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(0deg, rgb(var(--black-rgb) / .45), transparent 45%);
  opacity: 0; transition: opacity .6s var(--ease);
}
.ccard:hover .ccard__media img { filter: grayscale(0) contrast(1.05); }
.ccard:hover .ccard__media::after { opacity: 1; }
.ccard__info {
  display: grid; grid-template-columns: auto 1fr auto; align-items: baseline; gap: 14px;
  padding-top: 18px; margin-top: 18px; border-top: 1px solid var(--line);
}
.ccard__num { font-size: 11px; font-weight: 600; letter-spacing: .14em; color: var(--accent); }
.ccard__info h3 { font-family: var(--serif); font-weight: 500; font-size: clamp(1.6rem, 2.1vw, 2.2rem); line-height: 1; }
.ccard__count { font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.ccard--end { display: flex; align-items: center; width: clamp(240px, 22vw, 360px); }
/* .ccard > a kuralından daha güçlü olmalı, yoksa yazı ve ok yan yana dizilir */
.ccard .ccard__all {
  display: flex; flex-direction: column; gap: 24px;
  font-family: var(--serif); font-size: calc(clamp(2.6rem, 4.4vw, 4.6rem) * var(--ts)); line-height: .95;
}
.ccard__all em { color: var(--accent); }
.ccard__all svg {
  font-size: 30px; width: 76px; height: 76px; padding: 22px; border-radius: 50%;
  border: 1px solid var(--line); transition: background-color .5s var(--ease), color .5s, transform .6s var(--ease);
}
.ccard__all:hover svg { background: var(--fg); color: var(--bg); transform: rotate(-45deg); }

/* ==========================================================================
   SHOP
   ========================================================================== */
.shop__head { display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 28px; margin-bottom: clamp(40px, 7vh, 72px); }
.filters {
  position: relative; display: inline-flex; padding: 4px;
  border: 1px solid var(--line); border-radius: 999px;
  max-width: 100%; overflow-x: auto; scrollbar-width: none;
}
.filters::-webkit-scrollbar { display: none; }
.filters button {
  position: relative; z-index: 1; padding: 11px 20px; border-radius: 999px;
  font-size: 11px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; white-space: nowrap;
  color: var(--muted); transition: color .45s var(--ease);
}
.filters button:hover { color: var(--fg); }
.filters button.is-active { color: var(--bg); }
.filters__pill {
  position: absolute; top: 4px; bottom: 4px; left: 4px; width: 0; border-radius: 999px;
  background: var(--fg); transition: left .6s var(--ease), width .6s var(--ease);
}

.products { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(36px, 5vh, 64px) clamp(14px, 1.6vw, 26px); }
.pcard { position: relative; }
.pcard[hidden] { display: none; }
.pcard__media { position: relative; aspect-ratio: 3 / 4; overflow: hidden; background: var(--card); border-radius: var(--r-media); }
.pcard__img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transition: opacity .9s var(--ease), transform 1.4s var(--ease);
}
.pcard__img--b { opacity: 0; transform: scale(1.08); }
.pcard:hover .pcard__img--a { transform: scale(1.06); }
.pcard:hover .pcard__img--a.has-alt { opacity: 0; }
.pcard:hover .pcard__img--b { opacity: 1; transform: scale(1); }
.pcard__tag {
  position: absolute; top: 14px; left: 14px; z-index: 2;
  padding: 6px 10px; font-size: 9.5px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase;
  background: var(--black); color: var(--gold-light); border-radius: calc(var(--r-media) * .4);
}
.pcard__fav {
  position: absolute; top: 10px; right: 10px; z-index: 2;
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  background: rgb(var(--ivory-rgb) / .8); color: var(--black);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  transition: transform .4s var(--ease), color .3s;
}
.pcard__fav svg { font-size: 19px; }
.pcard__fav:hover { transform: scale(1.08); }
.pcard__fav[aria-pressed="true"] { color: var(--gold-deep); --heart-fill: var(--gold); }
.pcard__fav.is-pop svg { animation: bump .5s var(--ease); }
.pcard__quick {
  position: absolute; left: 10px; right: 10px; bottom: 10px; z-index: 2;
  padding: 14px; background: rgb(var(--black-rgb) / .82); color: var(--ivory); border-radius: calc(var(--r-media) * .6);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  transform: translateY(calc(100% + 14px)); transition: transform .6s var(--ease);
}
.pcard:hover .pcard__quick, .pcard:focus-within .pcard__quick, .pcard.is-open .pcard__quick { transform: translateY(0); }
.pcard__quick p { font-size: 10px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-light); margin-bottom: 10px; }
.pcard__sizes { display: flex; flex-wrap: wrap; gap: 6px; }
.pcard__sizes button {
  min-width: 38px; height: 34px; padding: 0 10px;
  border: 1px solid rgb(var(--ivory-rgb) / .22); font-size: 12px; font-weight: 600;
  transition: background-color .3s, color .3s, border-color .3s;
}
.pcard__sizes button:hover { background: var(--gold); border-color: var(--gold); color: var(--black); }
.pcard__add {
  display: none; position: absolute; right: 10px; bottom: 10px; z-index: 3;
  width: 40px; height: 40px; border-radius: 50%; place-items: center;
  background: var(--gold); color: var(--black);
}
.pcard__add svg { font-size: 20px; transition: transform .4s var(--ease); }
.pcard.is-open .pcard__add svg { transform: rotate(45deg); }
.pcard__info { display: flex; justify-content: space-between; gap: 12px; margin-top: 16px; }
.pcard__info h3 { font-family: var(--serif); font-weight: 500; font-size: clamp(1.3rem, 1.5vw, 1.55rem); line-height: 1.1; }
.pcard__info h3 a { transition: color .3s; }
.pcard__info h3 a:hover { color: var(--accent); }
.pcard__media { cursor: pointer; }
.pcard__info p { margin-top: 4px; font-size: 12px; color: var(--muted); }
.pcard__price { font-size: 14px; font-weight: 600; white-space: nowrap; letter-spacing: .02em; }
.pcard__swatches { display: flex; gap: 6px; margin-top: 12px; }
.pcard__swatches i { width: 12px; height: 12px; border-radius: 50%; background: var(--c); box-shadow: 0 0 0 1px var(--line); }

/* ==========================================================================
   ATÖLYE
   ========================================================================== */
.craft__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 110px); align-items: start; }
.craft__sticky { position: sticky; top: calc(var(--header-h) + 20px); height: calc(100vh - var(--header-h) - 48px); min-height: 460px; }
.craft__media { position: relative; height: 100%; overflow: hidden; background: var(--card); border-radius: var(--r-media); }
.craft__img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transform: scale(1.12);
  transition: opacity 1s var(--ease), transform 1.6s var(--ease);
}
.craft__img.is-active { opacity: 1; transform: scale(1); }
.craft__index {
  position: absolute; left: 0; bottom: 0; z-index: 2;
  padding: 14px 20px; background: var(--bg); color: var(--muted);
  font-family: var(--serif); font-size: 20px; letter-spacing: .04em;
}
.craft__index span { color: var(--accent); font-size: 28px; }
.badge {
  position: absolute; right: -54px; top: 18%; z-index: 3;
  width: 150px; height: 150px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--gold); color: var(--black);
  box-shadow: 0 20px 50px -18px rgba(0, 0, 0, .7);
}
.badge__ring { position: absolute; inset: 8px; width: auto; height: auto; }
.badge__ring text { font-family: var(--sans); font-size: 13.2px; font-weight: 700; letter-spacing: .28em; fill: currentColor; }
.badge__mono { font-family: var(--serif); font-size: 50px; font-weight: 600; line-height: 1; }

.craft__steps { padding-bottom: 18vh; }
.craft__intro { padding: 4vh 0 12vh; }
.craft__intro .lead { margin-top: 28px; }
.step {
  display: grid; grid-template-columns: 74px 1fr; gap: 12px;
  padding: 7vh 0; border-top: 1px solid var(--line);
  opacity: .28; transition: opacity .7s var(--ease);
}
.step.is-active { opacity: 1; }
.step__num { font-family: var(--serif); font-size: 22px; color: var(--accent); line-height: 1.6; }
.step h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(2rem, 3.4vw, 3.3rem); line-height: 1; }
.step p { margin-top: 16px; color: var(--muted); max-width: 44ch; }

/* ==========================================================================
   LOOKBOOK
   ========================================================================== */
.lookbook { position: relative; }
.lookbook__pin {
  position: relative; height: 100vh; height: 100svh; min-height: 560px;
  display: grid; place-items: center; overflow: hidden;
}
.lookbook__frame { position: absolute; inset: 0; overflow: hidden; will-change: clip-path; }
.lookbook__frame img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.lookbook__frame::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(0deg, rgb(var(--black-rgb) / .75), rgb(var(--black-rgb) / 0) 45%);
}
/* İki yarı, ortadaki kemer çerçeveye göre simetrik durur */
.lookbook__title {
  position: relative; z-index: 2; pointer-events: none; width: 100%;
  display: grid; grid-template-columns: 1fr 31vw 1fr; align-items: center;
  font-family: var(--serif); font-weight: 400; font-size: calc(clamp(4rem, 12.5vw, 15rem) * var(--ts)); line-height: .85; letter-spacing: -.02em;
}
.lb-left { grid-column: 1; text-align: right; }
.lb-right { grid-column: 3; text-align: left; }
.lookbook__title em { color: var(--accent); }
/* Alt yazı her zaman fotoğrafın koyu gölgesi üzerinde durur */
.lookbook__caption { position: absolute; left: var(--gutter); bottom: clamp(32px, 7vh, 64px); z-index: 2; color: var(--ivory); }
.lookbook__caption .eyebrow, .lookbook__caption em { color: var(--gold); }
.lookbook__name { margin-top: 14px; font-family: var(--serif); font-size: calc(clamp(2rem, 4vw, 3.6rem) * var(--ts)); line-height: 1; }

.gallery { position: relative; padding: 18vh 0 20vh; overflow: hidden; overflow: clip; }
.gallery__bgtext {
  position: absolute; z-index: 0; top: 50%; left: 0; margin-top: -.5em;
  white-space: nowrap; pointer-events: none;
  font-family: var(--serif); font-style: italic; font-size: 17vw; line-height: 1;
  color: transparent; -webkit-text-stroke: 1px var(--line);
}
.gallery__grid { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(12, 1fr); gap: 12vh clamp(14px, 2vw, 28px); }
.gitem { position: relative; }
.gitem__media { aspect-ratio: 4 / 5; overflow: hidden; background: var(--card); border-radius: var(--r-media); }
.gitem__media img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(.35); transition: filter .9s var(--ease); }
.gitem:hover .gitem__media img { filter: grayscale(0); }
.gitem figcaption { display: flex; flex-wrap: wrap; gap: 4px 14px; margin-top: 14px; font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.gitem figcaption span:first-child { flex: none; white-space: nowrap; color: var(--accent); font-weight: 600; }
.gitem--1 { grid-column: 1 / span 5; }
.gitem--2 { grid-column: 8 / span 4; margin-top: 26vh; }
.gitem--3 { grid-column: 2 / span 4; }
.gitem--4 { grid-column: 7 / span 5; margin-top: 8vh; }
.gitem--5 { grid-column: 4 / span 5; }

/* ==========================================================================
   HİZMETLER
   ========================================================================== */
.services { padding: clamp(80px, 13vh, 140px) 0; }
.services__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.service { padding: 8px clamp(16px, 2.4vw, 40px) 8px 0; }
.service + .service { padding-left: clamp(16px, 2.4vw, 40px); border-left: 1px solid var(--line); }
.service svg { font-size: 38px; color: var(--accent); }
.service h3 { margin-top: 22px; font-family: var(--serif); font-weight: 500; font-size: 1.7rem; line-height: 1.1; }
.service p { margin-top: 10px; font-size: 14px; color: var(--muted); }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer { padding-top: clamp(96px, 15vh, 170px); overflow: hidden; }
.footer__top { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(48px, 8vw, 140px); }
.newsletter__title { margin-top: 22px; font-family: var(--serif); font-weight: 400; font-size: calc(clamp(2.1rem, 3.6vw, 3.6rem) * var(--ts)); line-height: 1.02; max-width: 16ch; }
.newsletter__form { display: flex; gap: 12px; margin-top: 36px; max-width: 560px; }
.newsletter__form input {
  flex: 1; min-width: 0; background: transparent; border: 0; border-bottom: 1px solid var(--line);
  padding: 16px 0; font-size: 16px; outline: none; transition: border-color .4s;
}
.newsletter__form input::placeholder { color: var(--muted); }
.newsletter__form input:focus { border-color: var(--accent); }
.newsletter__msg { min-height: 24px; margin-top: 14px; font-size: 13px; color: var(--accent); }
.footer__cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.footer__cols h4 { margin-bottom: 20px; font-size: 11px; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: var(--accent); }
.footer__cols a { display: block; padding: 6px 0; color: var(--muted); font-size: 14px; transition: color .3s, transform .4s var(--ease); }
.footer__cols a:hover { color: var(--fg); transform: translateX(4px); }
/* Dev logo, pencereye değil bulunduğu alanın genişliğine göre boyutlanır; böylece
   geniş ekranlarda (alan 1480 px'te durduğu için) son harfler taşıp kesilmez */
.footer .container { container-type: inline-size; }
.footer__brand {
  display: flex; justify-content: space-between; margin-top: clamp(72px, 12vh, 140px);
  font-family: var(--serif); font-weight: 600; line-height: .74;
  font-size: calc(min(22.5vw, 333px) * var(--serif-scale));   /* eski tarayıcılar için */
  font-size: calc(24.4cqi * var(--serif-scale));
  overflow: hidden; padding-top: .04em;
}
.footer__brand span {
  display: inline-block;
  background: var(--gold-gradient); background-size: 600% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.footer__brand span:nth-child(2) { background-position: 20% 0; }
.footer__brand span:nth-child(3) { background-position: 40% 0; }
.footer__brand span:nth-child(4) { background-position: 60% 0; }
.footer__brand span:nth-child(5) { background-position: 80% 0; }
.footer__brand span:nth-child(6) { background-position: 100% 0; }
.footer__bottom {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 32px;
  padding: 26px 0 34px; border-top: 1px solid var(--line);
  font-size: 12px; color: var(--muted);
}
.footer__legal { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.footer__legal a:hover { color: var(--fg); }
.to-top {
  display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%;
  border: 1px solid var(--line); transition: background-color .4s, color .4s;
}
.to-top svg { font-size: 20px; transform: rotate(-90deg); }
.to-top:hover { background: var(--gold); color: var(--black); border-color: var(--gold); }

/* ==========================================================================
   ÜRÜN SAYFASI (sayfanın üzerine açılır, kendi içinde kayar)
   Renkleri panelde "Sezonun seçkisi" bölümüne seçilen zeminden gelir.
   ========================================================================== */
.pdp {
  position: fixed; inset: 0; z-index: 80;
  display: flex; flex-direction: column;
  background: var(--bg); color: var(--fg);
  visibility: hidden; pointer-events: none;
  clip-path: inset(100% 0 0 0);
  transition: clip-path .9s var(--ease-in-out), visibility 0s .9s;
}
.pdp.is-open { visibility: visible; pointer-events: auto; clip-path: inset(0 0 0 0); transition: clip-path .9s var(--ease-in-out), visibility 0s; }
.pdp__bar {
  flex: none; height: var(--header-h);
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  padding-inline: var(--gutter); border-bottom: 1px solid var(--line);
}
.pdp__back {
  justify-self: start; display: inline-flex; align-items: center; gap: 12px;
  font-size: 11.5px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase;
}
.pdp__back svg { font-size: 18px; transform: rotate(180deg); transition: transform .5s var(--ease); }
.pdp__back:hover svg { transform: rotate(180deg) translateX(5px); }
.pdp__logo:hover { color: inherit; }
.pdp__baractions { justify-self: end; display: flex; gap: 6px; }
.pdp__scroll { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; }

.pdp__grid {
  display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: start;
  gap: clamp(28px, 5vw, 96px); padding-top: clamp(24px, 4vh, 48px); padding-bottom: clamp(64px, 10vh, 120px);
}
.pdp__track { display: grid; gap: clamp(10px, 1.2vw, 18px); }
.pdp__img { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--card); border-radius: var(--r-media); cursor: zoom-in; }
.pdp__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.pdp__img:hover img { transform: scale(1.03); }
.pdp__dots { display: none; }

.pdp__info { position: sticky; top: clamp(24px, 4vh, 48px); }
.pdp__crumbs { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.pdp__tag {
  display: inline-block; margin-top: 18px; padding: 6px 10px;
  font-size: 9.5px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase;
  background: var(--black); color: var(--gold-light); border-radius: calc(var(--r-media) * .4);
}
.pdp__tag:empty { display: none; }
.pdp__title { margin-top: 16px; font-family: var(--serif); font-weight: 400; font-size: calc(clamp(2.4rem, 4vw, 4.2rem) * var(--ts)); line-height: 1; letter-spacing: -.01em; }
.pdp__desc { margin-top: 14px; color: var(--muted); }
.pdp__price {
  display: flex; align-items: baseline; gap: 12px; margin-top: 22px; padding-bottom: 26px; border-bottom: 1px solid var(--line);
  font-size: 22px; font-weight: 600; font-variant-numeric: lining-nums;
}
.pdp__price small { font-size: 11px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.pdp__block { margin-top: 26px; }
.pdp__label {
  display: flex; justify-content: space-between; gap: 12px; margin-bottom: 12px;
  font-size: 11px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase;
}
.pdp__sizemsg { font-size: 12px; letter-spacing: .04em; text-transform: none; color: var(--accent); }
.pdp__colors { display: flex; gap: 10px; }
.pdp__colors i { width: 24px; height: 24px; border-radius: 50%; background: var(--c); box-shadow: 0 0 0 1px var(--line), 0 0 0 4px var(--bg), 0 0 0 5px var(--line); }
.pdp__colors i + i { margin-left: 4px; }
.pdp__sizes { display: flex; flex-wrap: wrap; gap: 8px; }
.pdp__sizes button {
  min-width: 56px; height: 48px; padding: 0 14px; border: 1px solid var(--line); border-radius: var(--r-btn);
  font-size: 13px; font-weight: 600; transition: border-color .3s, background-color .3s, color .3s;
}
.pdp__sizes button:hover { border-color: var(--fg); }
.pdp__sizes button[aria-pressed="true"] { background: var(--fg); border-color: var(--fg); color: var(--bg); }
.pdp__sizes.is-shake { animation: shake .5s var(--ease); }
@keyframes shake { 20%, 60% { transform: translateX(-6px); } 40%, 80% { transform: translateX(6px); } }
.pdp__buy { display: flex; gap: 10px; margin-top: 30px; }
.pdp__add { flex: 1; }
.pdp__add svg { font-size: 19px; }
.pdp__add.is-added::before { transform: translateY(0); }
.pdp__fav {
  flex: none; display: grid; place-items: center; width: 60px;
  border: 1px solid var(--line); border-radius: var(--r-btn); transition: border-color .3s, color .3s;
}
.pdp__fav svg { font-size: 22px; }
.pdp__fav:hover { border-color: var(--fg); }
.pdp__fav[aria-pressed="true"] { color: var(--accent); border-color: var(--accent); --heart-fill: var(--accent); }
.pdp__fav.is-pop svg { animation: bump .5s var(--ease); }
.pdp__perks { display: grid; gap: 16px; margin-top: 32px; }
.pdp__perks li { display: grid; grid-template-columns: 28px 1fr; gap: 14px; font-size: 13px; line-height: 1.5; color: var(--muted); }
.pdp__perks svg { font-size: 28px; color: var(--accent); }
.pdp__perks b { display: block; margin-bottom: 2px; color: var(--fg); font-weight: 600; }
.pdp__acc { margin-top: 32px; border-top: 1px solid var(--line); }
.pdp__acc details { border-bottom: 1px solid var(--line); }
.pdp__acc summary {
  position: relative; padding: 20px 30px 20px 0; cursor: pointer; list-style: none;
  font-size: 11.5px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase;
}
.pdp__acc summary::-webkit-details-marker { display: none; }
.pdp__acc summary::before, .pdp__acc summary::after {
  content: ''; position: absolute; right: 4px; top: 50%; width: 12px; height: 1px; background: currentColor;
  transition: transform .4s var(--ease);
}
.pdp__acc summary::after { transform: rotate(90deg); }
.pdp__acc details[open] summary::after { transform: rotate(0deg); }
.pdp__acctext, .pdp__features { padding-bottom: 22px; font-size: 14px; line-height: 1.75; color: var(--muted); }
.pdp__acctext p + p { margin-top: 12px; }
.pdp__features li { position: relative; padding-left: 20px; }
.pdp__features li + li { margin-top: 6px; }
.pdp__features li::before { content: ''; position: absolute; left: 0; top: .85em; width: 9px; height: 1px; background: var(--accent); }

.pdp__related { padding: clamp(64px, 10vh, 120px) 0 clamp(80px, 12vh, 140px); border-top: 1px solid var(--line); }
.pdp__relhead { margin-bottom: clamp(32px, 5vh, 56px); font-family: var(--serif); font-weight: 400; font-size: calc(clamp(2rem, 3.4vw, 3.4rem) * var(--ts)); line-height: 1; }
.pdp__relhead em { color: var(--accent); }
.pdp__sticky { display: none; }

.pdp__zoom { position: absolute; inset: 0; z-index: 5; background: var(--black); cursor: zoom-out; overflow: hidden; }
.pdp__zoom img { width: 100%; height: 100%; object-fit: contain; transition: transform .5s var(--ease); }
.pdp__zoom.can-pan img { transform: scale(2); transition: none; }
.pdp__zoomclose { position: absolute; top: 18px; right: var(--gutter); color: var(--ivory); background: rgb(var(--black-rgb) / .6); }

/* Açılış ve ürün değişiminde: fotoğraflar büyüyerek, bilgiler sırayla yükselerek gelir */
.pdp.is-entering .pdp__img img { animation: pdp-img 1.5s var(--ease) both; }
.pdp.is-entering .pdp__info > * { animation: pdp-rise 1s var(--ease) both; animation-delay: calc(var(--i, 0) * 55ms + 250ms); }
@keyframes pdp-img { from { opacity: 0; transform: scale(1.14); } }
@keyframes pdp-rise { from { opacity: 0; transform: translateY(28px); } }

@media (max-width: 1180px) {
  .pdp__related .products { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .pdp__logo { display: none; }
  .pdp__bar { grid-template-columns: 1fr auto; }
  .pdp__grid { grid-template-columns: 1fr; gap: 26px; padding-top: 0; padding-bottom: 72px; }
  /* Fotoğraflar parmakla yana kaydırılır */
  .pdp__gallery { position: relative; margin-inline: calc(var(--gutter) * -1); }
  .pdp__track { display: flex; gap: 0; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .pdp__track::-webkit-scrollbar { display: none; }
  .pdp__img { flex: none; width: 100%; scroll-snap-align: start; border-radius: 0; }
  .pdp__dots { position: absolute; left: 0; right: 0; bottom: 16px; display: flex; justify-content: center; gap: 6px; pointer-events: none; }
  .pdp__dots i { width: 6px; height: 6px; border-radius: 3px; background: rgb(var(--ivory-rgb) / .55); box-shadow: 0 1px 4px rgb(0 0 0 / .35); transition: width .4s var(--ease), background-color .4s; }
  .pdp__dots i.is-active { width: 20px; background: var(--ivory); }
  .pdp__info { position: static; }
  .pdp__related { padding-bottom: 120px; }
  .pdp__sticky {
    position: absolute; left: 0; right: 0; bottom: 0; z-index: 3;
    display: flex; align-items: center; justify-content: space-between; gap: 14px;
    padding: 12px var(--gutter) calc(12px + env(safe-area-inset-bottom));
    background: color-mix(in srgb, var(--bg) 90%, transparent);
    -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
    border-top: 1px solid var(--line);
    transform: translateY(110%); transition: transform .5s var(--ease);
  }
  .pdp__sticky.is-visible { transform: none; }
  .pdp__sticky > div { min-width: 0; }
  .pdp__sticky strong { display: block; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-family: var(--serif); font-size: 1.2rem; font-weight: 500; line-height: 1.15; }
  .pdp__sticky span { font-size: 13px; color: var(--muted); }
  .pdp__sticky .btn { flex: none; padding: 15px 22px; }
}
@media (max-width: 600px) {
  .pdp__back { gap: 10px; font-size: 10.5px; letter-spacing: .16em; }
  .pdp__fav { width: 54px; }
}

/* ==========================================================================
   SEPET ÇEKMECESİ
   ========================================================================== */
.drawer { position: fixed; inset: 0; z-index: 90; visibility: hidden; pointer-events: none; }
.drawer.is-open { visibility: visible; pointer-events: auto; }
.drawer__backdrop {
  position: absolute; inset: 0; background: rgb(var(--black-rgb) / .6);
  -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
  opacity: 0; transition: opacity .6s var(--ease);
}
.drawer.is-open .drawer__backdrop { opacity: 1; }
.drawer__panel {
  position: absolute; top: 0; right: 0; bottom: 0; width: min(460px, 100%);
  display: flex; flex-direction: column;
  background: var(--onyx); color: var(--ivory);
  --line: rgb(var(--ivory-rgb) / .12); --muted: var(--ivory-muted); --fg: var(--ivory); --bg: var(--onyx);
  transform: translateX(100%); transition: transform .8s var(--ease);
}
.drawer.is-open .drawer__panel { transform: translateX(0); }
.drawer__head { display: flex; justify-content: space-between; align-items: center; padding: 22px 24px; border-bottom: 1px solid var(--line); }
.drawer__head h3 { font-family: var(--serif); font-weight: 500; font-size: 1.8rem; }
.drawer__head h3 span { font-family: var(--sans); font-size: 13px; color: var(--muted); }
.drawer__ship { padding: 16px 24px; border-bottom: 1px solid var(--line); font-size: 12.5px; color: rgb(var(--ivory-rgb) / .72); }
.drawer__ship b { color: var(--gold); }
.drawer__shipbar { margin-top: 10px; height: 2px; background: var(--line); }
.drawer__shipbar span { display: block; height: 100%; background: var(--gold-gradient); transform: scaleX(0); transform-origin: left; transition: transform .8s var(--ease); }
.drawer__items { flex: 1; overflow-y: auto; padding: 8px 24px; }
.citem { display: grid; grid-template-columns: 78px 1fr auto; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.citem img { width: 78px; aspect-ratio: 3 / 4; object-fit: cover; background: var(--charcoal); border-radius: calc(var(--r-media) * .4); }
.citem__img { display: block; }
.citem h4 { font-family: var(--serif); font-weight: 500; font-size: 1.25rem; line-height: 1.1; }
.citem h4 a:hover { color: var(--gold); }
.citem small { display: block; margin-top: 4px; font-size: 12px; color: var(--muted); }
.citem__qty { display: inline-flex; align-items: center; margin-top: 12px; border: 1px solid var(--line); }
.citem__qty button { display: grid; place-items: center; width: 30px; height: 30px; }
.citem__qty button:hover { color: var(--gold); }
.citem__qty span { min-width: 26px; text-align: center; font-size: 13px; font-variant-numeric: tabular-nums; }
.citem__side { display: flex; flex-direction: column; align-items: flex-end; justify-content: space-between; }
.citem__price { font-size: 14px; font-weight: 600; }
.citem__remove { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); border-bottom: 1px solid currentColor; }
.citem__remove:hover { color: var(--gold); }
.drawer__empty { flex: 1; display: none; flex-direction: column; align-items: center; justify-content: center; gap: 22px; padding: 24px; color: var(--muted); text-align: center; }
.drawer.is-empty .drawer__empty { display: flex; }
.drawer.is-empty .drawer__items, .drawer.is-empty .drawer__foot { display: none; }
.drawer__foot { padding: 20px 24px 26px; border-top: 1px solid var(--line); }
.drawer__total { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 18px; }
.drawer__total span { font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); }
.drawer__total strong { font-family: var(--serif); font-weight: 500; font-size: 1.9rem; }
.drawer__note { margin-top: 12px; font-size: 12px; color: var(--muted); text-align: center; }

/* ==========================================================================
   HESABIM (üyelik paneli: sepet çekmecesiyle aynı kalıp)
   ========================================================================== */
/* Üst çubuktaki kişi simgesi: giriş yapılınca altın nokta belirir */
.acct-dot {
  position: absolute; top: 9px; right: 8px; width: 7px; height: 7px; border-radius: 50%;
  background: var(--gold); box-shadow: 0 0 0 2px var(--bg);
  transform: scale(0); transition: transform .4s var(--ease);
}
.js-acct-open.is-member .acct-dot { transform: scale(1); }
.menu__acct {
  display: inline-flex; align-items: center; gap: 12px; align-self: flex-start; min-height: 44px; margin: -10px 0 calc(3vh - 10px);
  font-size: 11.5px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase;
  opacity: 0; transition: opacity .6s .5s, color .3s;
}
.menu__acct svg { font-size: 18px; color: var(--gold); }
.menu__acct svg:last-child { font-size: 16px; transition: transform .5s var(--ease); }
.menu__acct:hover { color: var(--gold); }
.menu__acct:hover svg:last-child { transform: translateX(4px); }
.menu-open .menu__acct { opacity: 1; }

.acct__body { flex: 1; overflow-y: auto; padding: 8px 24px 32px; }
.acct__tabs { display: grid; grid-template-columns: 1fr 1fr; margin: 0 -24px 28px; border-bottom: 1px solid var(--line); }
.acct__tabs button {
  position: relative; padding: 18px 0 16px;
  font-size: 11.5px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase;
  color: var(--muted); transition: color .3s;
}
.acct__tabs button::after {
  content: ''; position: absolute; left: 24px; right: 24px; bottom: -1px; height: 1px; background: var(--gold);
  transform: scaleX(0); transition: transform .5s var(--ease);
}
.acct__tabs button:hover, .acct__tabs button[aria-selected="true"] { color: var(--fg); }
.acct__tabs button[aria-selected="true"]::after { transform: scaleX(1); }
.acct__form { animation: pdp-rise .6s var(--ease) both; }
.acct__form.is-busy { opacity: .6; pointer-events: none; transition: opacity .3s; }
.acct__lead { margin-bottom: 26px; font-family: var(--serif); font-size: 1.45rem; line-height: 1.25; }
.acct__perks { margin-bottom: 26px; }
.acct__perks li { position: relative; padding-left: 22px; font-size: 13.5px; color: rgb(var(--ivory-rgb) / .8); }
.acct__perks li + li { margin-top: 8px; }
.acct__perks li::before { content: ''; position: absolute; left: 0; top: .78em; width: 10px; height: 1px; background: var(--gold); }

/* Alanlar: bülten formundaki gibi alt çizgili */
.afield { position: relative; display: block; margin-bottom: 22px; }
.afield > label { display: block; }
.afield > span, .afield > label > span { display: block; font-size: 10.5px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.afield span i { font-style: normal; letter-spacing: .08em; text-transform: none; font-weight: 400; }
.afield input {
  width: 100%; padding: 10px 0 11px; background: transparent; border: 0; border-bottom: 1px solid var(--line); border-radius: 0;
  font-size: 16px; outline: none; transition: border-color .35s;
}
.afield:has(.afield__eye) input { padding-right: 64px; }
.afield input:focus { border-bottom-color: var(--gold); }
.afield input[readonly] { color: var(--muted); border-bottom-style: dashed; }
.afield small { display: block; margin-top: 6px; font-size: 11.5px; color: var(--muted); }
.afield.is-invalid input { border-bottom-color: #E0907E; }
.afield__eye {
  position: absolute; right: 0; top: 24px; padding: 6px 0 6px 8px;
  font-size: 10px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--muted);
  transition: color .3s;
}
.afield__eye:hover { color: var(--gold); }
.acheck { position: relative; display: flex; gap: 12px; align-items: flex-start; margin: -4px 0 22px; font-size: 12.5px; line-height: 1.55; color: var(--muted); cursor: pointer; }
.acheck input { position: absolute; opacity: 0; width: 18px; height: 18px; margin: 0; }
.acheck__box {
  flex: none; display: grid; place-items: center; width: 18px; height: 18px; margin-top: 1px;
  border: 1px solid rgb(var(--ivory-rgb) / .3); border-radius: 2px; transition: background-color .3s, border-color .3s;
}
.acheck__box::after {
  content: ''; width: 9px; height: 5px; margin-top: -2px;
  border-left: 1.5px solid var(--black); border-bottom: 1.5px solid var(--black);
  transform: rotate(-45deg) scale(0); transition: transform .3s var(--ease);
}
.acheck input:checked + .acheck__box { background: var(--gold); border-color: var(--gold); }
.acheck input:checked + .acheck__box::after { transform: rotate(-45deg) scale(1); }
.acheck input:focus-visible + .acheck__box { outline: 1px solid var(--gold); outline-offset: 3px; }
.acheck:hover .acheck__box { border-color: var(--gold); }
.acct__error { margin: -6px 0 16px; font-size: 13px; color: #EBA595; }
.acct__error:empty { display: none; }
.acct__link { margin-top: 18px; font-size: 12px; color: var(--muted); border-bottom: 1px solid currentColor; transition: color .3s; }
.acct__link:hover { color: var(--gold); }
.acct__note { margin-top: 14px; padding: 14px 16px; border: 1px solid var(--line); font-size: 13px; line-height: 1.6; color: rgb(var(--ivory-rgb) / .78); }
.acct__fine { margin-top: 14px; font-size: 11.5px; line-height: 1.6; color: var(--muted); text-align: center; }
.acct__fine--top { margin: 0 0 20px; text-align: left; font-size: 13px; }

/* Üye görünümü */
.acct__hello { display: flex; align-items: center; gap: 16px; padding: 18px 0 24px; border-bottom: 1px solid var(--line); }
.acct__hello > div { min-width: 0; }
.acct__avatar {
  flex: none; display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%;
  border: 1px solid rgb(var(--gold-rgb) / .6); color: var(--gold);
  font-family: var(--serif); font-size: 1.5rem; letter-spacing: .04em; line-height: 1;
}
.acct__hello .eyebrow { font-size: 10px; gap: 0; }
.acct__hello strong { display: block; margin-top: 4px; font-family: var(--serif); font-weight: 500; font-size: 1.65rem; line-height: 1.1; overflow-wrap: anywhere; }
.acct__hello small { display: block; margin-top: 2px; font-size: 12.5px; color: var(--muted); overflow-wrap: anywhere; }
.acct__warn { margin-top: 18px; padding: 12px 14px; border: 1px solid rgb(var(--gold-rgb) / .55); font-size: 13px; line-height: 1.55; color: var(--gold-light); }
.acct__sec { padding: 24px 0 8px; }
.acct__sec h4 { font-size: 11px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); }
.acct__sec h4 span { color: var(--gold); letter-spacing: .1em; }
.acct__favs { margin-top: 8px; }
.acct__favs li { display: grid; grid-template-columns: 56px 1fr auto; gap: 14px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); }
.acct__favs li:last-child { border-bottom: 0; }
.acct__favimg { display: block; aspect-ratio: 3 / 4; background: var(--charcoal); border-radius: calc(var(--r-media) * .4); overflow: hidden; }
.acct__favimg img { width: 100%; height: 100%; object-fit: cover; }
.acct__favs li > div a { display: block; font-family: var(--serif); font-size: 1.2rem; line-height: 1.15; transition: color .3s; }
.acct__favs li > div a:hover { color: var(--gold); }
.acct__favs small { display: block; margin-top: 3px; font-size: 12.5px; color: var(--gold); }
.acct__favrm { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; color: var(--muted); transition: color .3s, background-color .3s; }
.acct__favrm:hover { color: var(--fg); background: rgb(var(--ivory-rgb) / .06); }
.acct__favrm svg { font-size: 16px; }
.acct__empty { margin-top: 14px; font-size: 13px; line-height: 1.6; color: var(--muted); }
.acct__acc { margin-top: 18px; border-top: 1px solid var(--line); }
.acct__acc details { border-bottom: 1px solid var(--line); }
.acct__acc summary {
  position: relative; padding: 20px 30px 20px 0; list-style: none; cursor: pointer;
  font-size: 11.5px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; transition: color .3s;
}
.acct__acc summary:hover { color: var(--gold); }
.acct__acc summary::-webkit-details-marker { display: none; }
.acct__acc summary::before, .acct__acc summary::after {
  content: ''; position: absolute; right: 4px; top: 50%; width: 12px; height: 1px; background: currentColor;
  transition: transform .4s var(--ease);
}
.acct__acc summary::after { transform: rotate(90deg); }
.acct__acc details[open] summary::after { transform: rotate(0deg); }
.acct__acc .acct__form { padding: 4px 0 24px; }
.acct__logout { margin-top: 28px; }
.acct__off { padding: 40px 0; color: var(--muted); text-align: center; }
.btn--danger { border: 1px solid rgb(224 144 126 / .55); color: #EBA595; }
.btn--danger::before { background: #C2553F; }
.btn--danger:hover { color: var(--ivory); border-color: #C2553F; }

/* ==========================================================================
   ARAMA
   ========================================================================== */
.search {
  position: fixed; inset: 0; z-index: 95;
  background: rgb(var(--black-rgb) / .97); color: var(--ivory);
  --line: rgb(var(--ivory-rgb) / .14); --muted: var(--ivory-muted);
  opacity: 0; visibility: hidden; transition: opacity .5s var(--ease), visibility .5s;
  overflow-y: auto;
}
.search.is-open { opacity: 1; visibility: visible; }
.search__close { position: absolute; top: 20px; right: var(--gutter); z-index: 2; }
.search__inner { padding-top: 18vh; padding-bottom: 10vh; max-width: 1100px; transform: translateY(24px); transition: transform .7s var(--ease); }
.search.is-open .search__inner { transform: none; }
.search__form { display: flex; align-items: center; gap: 18px; border-bottom: 1px solid var(--line); padding-bottom: 14px; }
.search__form svg { font-size: clamp(26px, 3vw, 40px); color: var(--gold); }
.search__form input {
  flex: 1; min-width: 0; background: transparent; border: 0; outline: none;
  font-family: var(--serif); font-size: clamp(2rem, 5vw, 4.4rem); line-height: 1.1;
}
.search__form input::placeholder { color: rgb(var(--ivory-rgb) / .28); }
.search__tags { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 24px; font-size: 12px; color: var(--muted); }
.search__tags span { letter-spacing: .2em; text-transform: uppercase; margin-right: 6px; }
.search__tags button { padding: 8px 16px; border: 1px solid var(--line); border-radius: 999px; transition: border-color .3s, color .3s; }
.search__tags button:hover { border-color: var(--gold); color: var(--gold); }
.search__results { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 18px; margin-top: 44px; }
.search__results li button { display: grid; grid-template-columns: 64px 1fr; gap: 14px; align-items: center; width: 100%; text-align: left; padding: 10px; border: 1px solid transparent; transition: border-color .3s, background-color .3s; }
.search__results li button:hover { border-color: var(--line); background: rgb(var(--ivory-rgb) / .03); }
.search__results img { width: 64px; aspect-ratio: 3 / 4; object-fit: cover; border-radius: calc(var(--r-media) * .4); }
.search__results strong { display: block; font-family: var(--serif); font-weight: 500; font-size: 1.25rem; line-height: 1.1; }
.search__results small { color: var(--gold); font-size: 13px; }
.search__empty { grid-column: 1 / -1; color: var(--muted); }

/* ==========================================================================
   SANAL KABİN (3D): ürün sayfasının üzerine açılır; solda manken, sağda ölçüler ve ürünler
   ========================================================================== */
.pdp__try {
  display: flex; align-items: center; gap: 16px; width: 100%; margin-top: 12px; padding: 14px 18px;
  border: 1px solid var(--line); border-radius: var(--r-btn); text-align: left;
  transition: border-color .3s, background-color .3s;
}
.pdp__try:hover { border-color: var(--accent); background: rgb(var(--gold-rgb) / .06); }
.pdp__try > svg:first-child { font-size: 30px; color: var(--accent); }
.pdp__try > span { flex: 1; min-width: 0; }
.pdp__try b { display: block; font-size: 11.5px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; }
.pdp__try small { display: block; margin-top: 4px; font-size: 12.5px; color: var(--muted); }
.pdp__tryarrow { font-size: 18px; transition: transform .5s var(--ease); }
.pdp__try:hover .pdp__tryarrow { transform: translateX(4px); }
.pdp__try.is-loading { opacity: .6; pointer-events: none; }

.kabin {
  position: fixed; inset: 0; z-index: 98;
  display: grid; grid-template-columns: minmax(0, 1fr) min(460px, 42vw);
  background: var(--black); color: var(--ivory);
  visibility: hidden; opacity: 0; transition: opacity .45s var(--ease), visibility 0s .45s;
}
.kabin.is-open { visibility: visible; opacity: 1; transition: opacity .45s var(--ease); }
.kabin__stage {
  position: relative; min-height: 0; overflow: hidden;
  background: radial-gradient(90% 70% at 50% 42%, rgb(var(--ivory-rgb) / .1), transparent 70%), var(--black);
}
.kabin__canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; cursor: grab; touch-action: pan-y; }
.kabin__canvas:active { cursor: grabbing; }
.kabin__canvas:focus-visible { outline: 2px solid var(--gold); outline-offset: -6px; }
.kabin__status {
  position: absolute; inset: 0; display: grid; place-items: center; padding: 32px;
  text-align: center; font-size: 13px; line-height: 1.6; color: var(--ivory-muted); pointer-events: none;
}
.kabin__hint {
  position: absolute; left: 0; right: 0; top: 26px; text-align: center; pointer-events: none;
  font-size: 10.5px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--ivory-muted);
}
.kabin__close { position: absolute; top: 14px; right: 14px; color: var(--ivory); background: rgb(var(--black-rgb) / .5); }
.kabin__close:hover { background: var(--ivory); color: var(--black); }
.kabin__views {
  position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%);
  display: flex; gap: 2px; padding: 4px; border: 1px solid rgb(var(--ivory-rgb) / .16); border-radius: 999px;
  background: rgb(var(--black-rgb) / .6); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.kabin__views button {
  padding: 9px 15px; border-radius: 999px; white-space: nowrap;
  font-size: 10.5px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--ivory-muted);
  transition: background-color .3s, color .3s;
}
.kabin__views button:hover { color: var(--ivory); }
.kabin__views button[aria-pressed="true"] { background: var(--gold); color: var(--black); }
.kabin__views .kabin__spin { display: grid; place-items: center; padding: 0 12px; }
.kabin__spin svg { font-size: 16px; }

.kabin__panel { display: flex; flex-direction: column; min-height: 0; background: var(--onyx); border-left: 1px solid rgb(var(--ivory-rgb) / .08); }
.kabin__head { padding: 28px 28px 16px; }
.kabin__head h2 { margin-top: 12px; font-family: var(--serif); font-weight: 400; font-size: calc(2.4rem * var(--ts)); line-height: 1; }
.kabin__head h2 em { color: var(--gold); }
.kabin__scroll { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 0 28px 20px; }
.kabin__sec { padding: 20px 0 22px; border-top: 1px solid rgb(var(--ivory-rgb) / .1); }
.kabin__sec h3 { margin-bottom: 12px; font-size: 11px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--ivory-muted); }
.kslider { display: grid; grid-template-columns: 44px minmax(0, 1fr) 92px; align-items: center; gap: 14px; margin-top: 10px; }
.kslider label { font-size: 13px; font-weight: 600; }
.kslider input[type="range"] { width: 100%; accent-color: var(--gold); cursor: pointer; }
.kslider__num {
  display: flex; align-items: center; gap: 6px; height: 40px; padding: 0 10px;
  border: 1px solid rgb(var(--ivory-rgb) / .2); border-radius: var(--r-btn);
}
.kslider__num:focus-within { border-color: var(--gold); }
.kslider__num input { width: 100%; min-width: 0; background: none; border: 0; color: inherit; font: inherit; font-size: 15px; font-weight: 600; text-align: right; -moz-appearance: textfield; appearance: textfield; outline: none; }
.kslider__num input::-webkit-inner-spin-button, .kslider__num input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.kslider__num small { font-size: 11px; color: var(--ivory-muted); }
.kabin__est { margin-top: 14px; font-size: 12px; color: var(--ivory-muted); }
.kabin__privacy { margin-top: 6px; font-size: 11px; color: var(--ivory-muted); opacity: .8; }

.kabin__items > li + li { border-top: 1px solid rgb(var(--ivory-rgb) / .08); }
.kitem { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 14px; padding: 14px 0; }
.kitem.is-missing .kitem__sizes { animation: shake .5s var(--ease); }
.kitem__img { width: 64px; aspect-ratio: 4 / 5; object-fit: cover; border-radius: calc(var(--r-media) * .5); background: rgb(var(--ivory-rgb) / .06); }
.kitem__top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.kitem__slot { font-size: 10px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); }
.kitem__remove { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; color: var(--ivory-muted); transition: background-color .3s, color .3s; }
.kitem__remove:hover { background: rgb(var(--ivory-rgb) / .1); color: var(--ivory); }
.kitem__remove svg { font-size: 15px; }
.kitem__name { display: flex; justify-content: space-between; gap: 12px; margin-top: 2px; }
.kitem__name strong { font-family: var(--serif); font-weight: 500; font-size: 1.15rem; line-height: 1.15; }
.kitem__name span { flex: none; font-size: 13px; color: var(--ivory-muted); }
.kitem__colors { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.kitem__colors button { width: 22px; height: 22px; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 1px rgb(255 255 255 / .25); }
.kitem__colors button[aria-pressed="true"] { outline: 2px solid var(--gold); outline-offset: 2px; }
.kitem__sizes { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.kitem__sizes button {
  position: relative; min-width: 42px; height: 34px; padding: 0 10px;
  border: 1px solid rgb(var(--ivory-rgb) / .22); border-radius: var(--r-btn);
  font-size: 12px; font-weight: 600; transition: border-color .3s, background-color .3s, color .3s;
}
.kitem__sizes button:hover { border-color: var(--ivory); }
.kitem__sizes button[aria-pressed="true"] { background: var(--ivory); border-color: var(--ivory); color: var(--black); }
.kitem__rec { position: absolute; top: -4px; right: -4px; width: 9px; height: 9px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 2px var(--onyx); }
.kitem__fit { margin-top: 10px; font-size: 12.5px; line-height: 1.5; color: var(--ivory-muted); }
.kitem__fit b { color: var(--ivory); }
.kitem__fit[data-level="0"] .kitem__lvl, .kitem__ok { color: var(--gold); font-weight: 600; }
.kitem__fit[data-level="-1"] .kitem__lvl, .kitem__fit[data-level="1"] .kitem__lvl { color: #F2B866; font-weight: 600; }
.kitem__fit[data-level="-2"] .kitem__lvl, .kitem__fit[data-level="2"] .kitem__lvl { color: #FF7D6B; font-weight: 600; }
.kabin__empty, .kabin__muted { padding: 6px 0; font-size: 13px; color: var(--ivory-muted); }

.kabin__add { display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: 10px; }
.kadd { display: block; text-align: left; border: 1px solid rgb(var(--ivory-rgb) / .12); border-radius: calc(var(--r-media) * .6); overflow: hidden; transition: border-color .3s; }
.kadd:hover { border-color: var(--gold); }
.kadd img { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; }
.kadd span { display: block; padding: 8px 10px 10px; font-size: 12px; line-height: 1.3; }
.kadd small { display: block; margin-bottom: 3px; font-size: 9.5px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); }

.kabin__foot { padding: 16px 28px 22px; border-top: 1px solid rgb(var(--ivory-rgb) / .1); }
.kabin__foot .btn { width: 100%; justify-content: space-between; }
.kabin__foot .btn:disabled { opacity: .45; pointer-events: none; }
.kabin__note { margin-top: 12px; font-size: 11px; line-height: 1.55; color: var(--ivory-muted); }

@media (max-width: 900px) {
  .kabin { grid-template-columns: minmax(0, 1fr); grid-template-rows: 46vh minmax(0, 1fr); }
  .kabin__foot .btn { padding-inline: 20px; gap: 10px; letter-spacing: .14em; white-space: normal; text-align: left; }
  .kabin__panel { border-left: 0; border-top: 1px solid rgb(var(--ivory-rgb) / .08); }
  .kabin__head { padding: 18px var(--gutter) 10px; }
  .kabin__head h2 { font-size: calc(1.8rem * var(--ts)); }
  .kabin__scroll { padding: 0 var(--gutter) 16px; }
  .kabin__foot { padding: 12px var(--gutter) 16px; }
  .kabin__note { display: none; }
  .kabin__hint { top: 18px; }
  .kabin__views { bottom: 12px; }
  .kabin__views button { padding: 8px 12px; }
}

/* ==========================================================================
   YASAL SAYFALAR (#yasal/…): açık zeminde, okunaklı uzun metin
   ========================================================================== */
.legal {
  position: fixed; inset: 0; z-index: 100;
  display: flex; flex-direction: column;
  background: var(--bg); color: var(--fg);
  visibility: hidden; pointer-events: none; opacity: 0; transform: translateY(28px);
  transition: opacity .5s var(--ease), transform .8s var(--ease), visibility 0s .8s;
}
.legal.is-open { visibility: visible; pointer-events: auto; opacity: 1; transform: none; transition: opacity .5s var(--ease), transform .8s var(--ease), visibility 0s; }
.legal__bar {
  flex: none; height: var(--header-h);
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  padding-inline: var(--gutter); border-bottom: 1px solid var(--line);
}
.legal__bar .icon-btn { justify-self: end; }
.legal__logo:hover { color: inherit; }
.legal__scroll { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; }
.legal__grid {
  display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: clamp(40px, 6vw, 110px);
  padding-top: clamp(40px, 7vh, 84px); padding-bottom: 110px;
}
.legal__nav { position: sticky; top: 40px; align-self: start; }
.legal__nav ul { margin-top: 20px; border-top: 1px solid var(--line); }
.legal__nav li { border-bottom: 1px solid var(--line); }
.legal__nav a {
  position: relative; display: block; padding: 13px 0; font-size: 14px; line-height: 1.4; color: var(--muted);
  transition: color .3s, padding-left .45s var(--ease);
}
.legal__nav a::before {
  content: ''; position: absolute; left: 0; top: 50%; width: 10px; height: 1px; background: var(--accent);
  transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease);
}
.legal__nav a:hover, .legal__nav a[aria-current="page"] { color: var(--fg); padding-left: 20px; }
.legal__nav a:hover::before, .legal__nav a[aria-current="page"]::before { transform: scaleX(1); }
.legal__nav a[aria-current="page"] { font-weight: 600; }
.legal__doc { max-width: 74ch; animation: pdp-rise .7s var(--ease) both; }
.legal__title { font-family: var(--serif); font-weight: 400; font-size: calc(clamp(2.4rem, 4.4vw, 4rem) * var(--ts)); line-height: 1.02; letter-spacing: -.01em; }
.legal__meta { margin-top: 16px; font-size: 11px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.legal__body { margin-top: 38px; font-size: 15.5px; line-height: 1.8; }
.legal__body h2 { margin: 46px 0 14px; font-family: var(--serif); font-weight: 500; font-size: calc(1.8rem * var(--ts)); line-height: 1.15; }
.legal__body h3 { margin: 28px 0 10px; font-size: 11.5px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--accent); }
.legal__body h2:first-child, .legal__body h3:first-child { margin-top: 0; }
.legal__body p + p, .legal__body p + ul, .legal__body ul + p, .legal__body ul + ul { margin-top: 14px; }
.legal__body li { position: relative; padding-left: 22px; }
.legal__body li + li { margin-top: 8px; }
.legal__body li::before { content: ''; position: absolute; left: 0; top: .9em; width: 10px; height: 1px; background: var(--accent); }
.legal__body strong { font-weight: 600; }
.legal__body a { color: var(--accent); border-bottom: 1px solid currentColor; overflow-wrap: anywhere; }
.legal__body a:hover { color: var(--fg); }
/* Panelde doldurulmamış şirket bilgisi */
.legal__ph { padding: 0 5px; border-radius: 2px; background: rgb(var(--gold-rgb) / .2); font-style: italic; }

/* ---------- Çerez bildirimi ---------- */
.cookie {
  position: fixed; left: 24px; bottom: 24px; z-index: 85;
  display: flex; align-items: center; gap: 18px; max-width: 540px;
  padding: 16px 16px 16px 22px;
  background: var(--onyx); color: var(--ivory); border: 1px solid rgb(var(--ivory-rgb) / .12);
  box-shadow: 0 24px 60px -20px rgba(0, 0, 0, .6);
  font-size: 13px; line-height: 1.55;
  opacity: 0; transform: translateY(calc(100% + 40px));
  transition: transform .8s var(--ease), opacity .5s var(--ease);
}
.cookie.is-visible { opacity: 1; transform: none; }
.cookie a { color: var(--gold); border-bottom: 1px solid currentColor; white-space: nowrap; }
.cookie .btn { flex: none; padding: 14px 22px; }

/* Formlardaki yasal metin bağlantıları */
.newsletter__legal { max-width: 560px; margin-top: 4px; font-size: 12px; line-height: 1.6; color: var(--muted); }
.newsletter__legal a, .drawer__note a, .acct__fine a, .acheck a { color: var(--fg); border-bottom: 1px solid rgb(var(--ivory-rgb) / .35); transition: color .3s, border-color .3s; }
.newsletter__legal a { border-bottom-color: var(--line); }
.newsletter__legal a:hover, .drawer__note a:hover, .acct__fine a:hover, .acheck a:hover { color: var(--gold); border-bottom-color: currentColor; }
.acheck label { cursor: pointer; }
.acheck i { font-style: normal; opacity: .7; }
.acheck.is-invalid .acheck__box { border-color: #E0907E; }

@media (max-width: 900px) {
  .legal__logo { display: none; }
  .legal__bar { grid-template-columns: 1fr auto; }
  .legal__grid { grid-template-columns: minmax(0, 1fr); gap: 28px; padding-top: 22px; padding-bottom: 80px; }
  .legal__nav { position: static; }
  .legal__nav .eyebrow { display: none; }
  /* Sayfa listesi yatay kayan düğmeler olur */
  .legal__nav ul { display: flex; gap: 8px; margin: 0 calc(var(--gutter) * -1); padding: 0 var(--gutter) 2px; overflow-x: auto; border: 0; }
  .legal__nav li { flex: none; border: 0; }
  .legal__nav a, .legal__nav a:hover, .legal__nav a[aria-current="page"] { padding: 9px 15px; border: 1px solid var(--line); border-radius: 999px; font-size: 13px; white-space: nowrap; }
  .legal__nav a::before { display: none; }
  .legal__nav a[aria-current="page"] { border-color: var(--fg); background: var(--fg); color: var(--bg); }
  .legal__body { margin-top: 28px; font-size: 15px; }
  .legal__body h2 { margin-top: 38px; }
}
@media (max-width: 600px) {
  .cookie { left: 12px; right: 12px; bottom: 12px; flex-direction: column; align-items: stretch; gap: 12px; padding: 16px; }
}

/* Yazdır: yalnızca açık olan yasal metin basılır */
@media print {
  html.legal-open, html.legal-open body { height: auto !important; overflow: visible !important; background: #fff !important; }
  html.legal-open body > *:not(.legal) { display: none !important; }
  html.legal-open .legal { position: static; display: block; visibility: visible; opacity: 1; transform: none; background: #fff; color: #000; }
  html.legal-open .legal__bar, html.legal-open .legal__nav { display: none; }
  html.legal-open .legal__scroll { overflow: visible; }
  html.legal-open .legal__grid { display: block; padding: 0; }
  html.legal-open .legal__doc { max-width: none; animation: none; }
  html.legal-open .legal__body { font-size: 11pt; line-height: 1.55; }
  html.legal-open .legal__body a { color: inherit; border: 0; }
  html.legal-open .legal__body li::before { background: #000; }
  html.legal-open .legal__ph { background: none; }
}

/* ---------- Toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: 24px; z-index: 120;
  display: flex; align-items: center; gap: 12px;
  padding: 14px 20px; background: var(--ivory); color: var(--black);
  font-size: 13px; font-weight: 500;
  box-shadow: 0 20px 50px -12px rgba(0, 0, 0, .45);
  transform: translate(-50%, calc(100% + 40px)); visibility: hidden;
  transition: transform .6s var(--ease), visibility 0s .6s;
  pointer-events: none;
}
.toast::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); }
.toast.is-visible { transform: translate(-50%, 0); visibility: visible; transition: transform .6s var(--ease), visibility 0s; }

/* ==========================================================================
   BÖLÜM ZEMİNİ PANELDEN DEĞİŞTİRİLDİĞİNDE
   Vurgu renginde zeminde altın öğeler koyulaşır; koyu zeminde koyu buton altına döner.
   ========================================================================== */
[data-theme="gold"] .btn--gold { background: var(--black); color: var(--gold-light); }
[data-theme="gold"] .btn--gold::before { background: var(--ivory); }
[data-theme="gold"] .btn--gold:hover { color: var(--black); }
[data-theme="dark"] .btn--dark, [data-theme="charcoal"] .btn--dark { background: var(--gold); color: var(--black); }
[data-theme="dark"] .btn--dark::before, [data-theme="charcoal"] .btn--dark::before { background: var(--champagne); }
[data-theme="gold"] .socials a:hover, [data-theme="gold"] .to-top:hover { background: var(--black); border-color: var(--black); color: var(--gold); }
.craft[data-theme="gold"] .badge { background: var(--black); color: var(--gold); }
.footer[data-theme="gold"] .footer__brand span { background: none; color: var(--black); }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1280px) {
  /* Dar sütun aralığında rozet yazıya ve modelin yüzüne binmesin: görselin sağ alt köşesinde dursun */
  .badge { top: auto; right: 20px; bottom: 20px; width: 124px; height: 124px; }
  .badge__mono { font-size: 42px; }
}

@media (max-width: 1180px) {
  .header__nav { display: none; }
  .header__burger { display: inline-block; }
  .header__inner { grid-template-columns: 1fr auto 1fr; }
  .products { grid-template-columns: repeat(3, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { padding-left: 0; border-left: 0; }
  .stat:nth-child(n+3) { margin-top: 28px; }
  .services__grid { grid-template-columns: repeat(2, 1fr); row-gap: 48px; }
  .service:nth-child(3) { padding-left: 0; border-left: 0; }
}

@media (max-width: 900px) {
  :root { --header-h: 68px; }
  .logo { font-size: 21px; }
  .hero__media { width: 100%; }
  .hero__shade {
    background:
      linear-gradient(0deg, var(--black) 8%, rgb(var(--black-rgb) / .72) 46%, rgb(var(--black-rgb) / .35) 100%);
  }
  .hero { align-items: flex-end; padding-bottom: 120px; }
  .hero__brand { font-size: calc(31vw * var(--serif-scale)); bottom: -.1em; }
  .hero__meta span:first-child, .hero__meta span:last-child { display: none; }
  .hero__meta { justify-content: center; }

  .manifesto__grid { grid-template-columns: 1fr; }
  .manifesto__figure { display: none; }

  .collections__pin { height: auto; min-height: 0; padding: clamp(96px, 14vh, 140px) 0; }
  .collections__track { padding-bottom: 6px; }
  .ccard { width: 74vw; }
  .ccard__media { max-height: none; }
  .ccard__media img { left: 0; width: 100%; }
  .ccard--end { width: 60vw; }
  .collections__status { display: none; }

  .products { grid-template-columns: repeat(2, 1fr); }

  .craft__grid { grid-template-columns: 1fr; gap: 0; }
  .craft__sticky {
    top: 0; z-index: 2; height: 48vh; min-height: 300px;
    margin-inline: calc(var(--gutter) * -1); background: var(--bg);
  }
  .badge { width: 96px; height: 96px; right: 14px; top: auto; bottom: 14px; }
  .badge__ring text { font-size: 13px; }
  .badge__mono { font-size: 34px; }
  .craft__intro { padding-top: 70px; }
  .step { grid-template-columns: 52px 1fr; padding: 6vh 0; }

  .lookbook__title { grid-template-columns: 1fr; grid-template-rows: auto 46vh auto; }
  .lb-left, .lb-right { grid-column: 1; text-align: center; }
  .lb-right { grid-row: 3; }
  .gallery__grid { grid-template-columns: repeat(2, 1fr); gap: 56px 14px; }
  .gitem--1, .gitem--2, .gitem--3, .gitem--4, .gitem--5 { grid-column: auto; margin-top: 0; }
  .gitem--2, .gitem--4 { margin-top: 12vh; }
  .gitem--5 { grid-column: 1 / -1; width: 70%; margin-inline: auto; }

  .footer__top { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  body { font-size: 14.5px; }
  .icon-btn--hide-sm { display: none; }
  .header__right { gap: 0; }
  .hero__actions .btn { flex: 1 1 auto; }
  .marquees { padding: 46px 0; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat { padding-right: 10px; }
  .stat + .stat { padding-left: 14px; }
  .stat:nth-child(3) { padding-left: 0; }
  .products { gap: 36px 12px; }
  .pcard__info { flex-direction: column; gap: 6px; }
  .pcard__info p { display: none; }
  .pcard__quick { left: 6px; right: 6px; bottom: 6px; padding: 10px; }
  .pcard__sizes button { min-width: 32px; height: 30px; padding: 0 6px; font-size: 11px; }
  .services__grid { grid-template-columns: 1fr; row-gap: 0; }
  .service, .service + .service { padding: 28px 0; border-left: 0; border-top: 1px solid var(--line); }
  .newsletter__form { flex-direction: column; }
  .footer__cols { grid-template-columns: 1fr 1fr; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
}

/* Dokunmatik cihazlar: hızlı ekleme butonu */
@media (hover: none) {
  .pcard__add { display: grid; }
  .pcard:hover .pcard__quick, .pcard:focus-within .pcard__quick { transform: translateY(calc(100% + 14px)); }
  .pcard.is-open .pcard__quick { transform: translateY(0); }
  .pcard.is-open .pcard__add { bottom: auto; top: 58px; }
  .pcard:hover .pcard__img--a { transform: none; }
  .pcard:hover .pcard__img--a.has-alt { opacity: 1; }
  .pcard:hover .pcard__img--b { opacity: 0; }
}

/* ==========================================================================
   DÜZENLEME MODU (yönetim panelinin önizlemesi)
   ========================================================================== */
.is-editing .preloader, .is-editing .cursor, .is-editing .grain { display: none !important; }
.is-editing .marquee__track { animation: none !important; }
.is-editing .lookbook__title, .is-editing .gallery__bgtext { pointer-events: auto; }
.is-editing .gallery__grid { pointer-events: none; }
.is-editing .gitem { pointer-events: auto; }
.is-editing [data-edit] {
  cursor: text; border-radius: 2px;
  outline: 1px dashed transparent; outline-offset: 4px;
  transition: outline-color .2s, background-color .2s;
}
.is-editing [data-edit]:hover { outline-color: rgba(201, 162, 74, .9); }
.is-editing [data-edit]:focus { outline: 1px solid #C9A24A; background-color: rgba(201, 162, 74, .12); }
.is-editing .is-pop-edit { cursor: pointer; }
/* Fotoğraflar: tıklayınca paneldeki ilgili fotoğraf alanı açılır */
.is-editing .is-img-slot { cursor: pointer; outline: 2px solid transparent; outline-offset: -2px; transition: outline-color .2s; }
.is-editing .is-img-slot:hover { outline-color: rgba(201, 162, 74, .95); }
.edit-pop {
  position: fixed; z-index: 500; display: flex; gap: 6px; padding: 8px;
  background: #0F0F0F; border: 1px solid #C9A24A; box-shadow: 0 18px 40px -12px rgba(0, 0, 0, .6);
}
.edit-pop[hidden] { display: none; }
.edit-pop input {
  min-width: 240px; padding: 9px 12px; border: 1px solid rgba(244, 241, 234, .2); border-radius: 2px;
  background: #1A1A1A; color: #F4F1EA; font: 14px var(--sans); outline: none;
}
.edit-pop input:focus { border-color: #C9A24A; }
.edit-pop button {
  padding: 0 16px; border-radius: 2px; background: #C9A24A; color: #0A0A0A;
  font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
}

/* Hareket azaltma tercihi. Panelde "Her zaman göster" seçiliyse (veya ?motion=1) geçersiz kalır,
   "Kapalı" seçiliyse cihaz ayarından bağımsız olarak uygulanır. */
@media (prefers-reduced-motion: reduce) {
  html:not(.force-motion) *, html:not(.force-motion) *::before, html:not(.force-motion) *::after {
    animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important;
  }
  html:not(.force-motion) .grain { display: none; }
}
html.motion-off *, html.motion-off *::before, html.motion-off *::after {
  animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important;
}
html.motion-off .grain { display: none; }
