/* ==========================================================================
   Sergio Felini — Men's Wear
   Tasarim dili: "dikis hatti". Logodaki igne ve kesik dikis izi; ayirici,
   cerceve ve vurgu araci olarak tekrar eder.
   Renk degiskenleri yonetim panelinden gelir (includes/header.php).
   ========================================================================== */

*, *::before, *::after { box-sizing: border-box; }

:root {
  color-scheme: dark;

  /* --- anlamsal renkler: bolum bazinda devrilir --------------------------- */
  --bg: var(--ink);
  --surface: var(--ink-2);
  --fg: var(--linen);
  --fg-dim: color-mix(in srgb, var(--linen) 66%, transparent);
  --line: color-mix(in srgb, var(--linen) 15%, transparent);
  --accent: var(--brass);
  --accent-hi: var(--brass-hi);

  /* --- olcu -------------------------------------------------------------- */
  --gutter: clamp(1.25rem, 4vw, 4rem);
  --wrap: 1440px;
  --pad-section: clamp(4rem, 8vw, 8rem);

  /* --- tipografi --------------------------------------------------------- */
  --serif: "Bodoni Moda", "Times New Roman", serif;
  --sans: "Jost", "Segoe UI", system-ui, sans-serif;

  --fs-display: clamp(2.6rem, 5.4vw, 5rem);
  --fs-h1: clamp(2rem, 4vw, 3.4rem);
  --fs-h2: clamp(1.75rem, 3vw, 2.9rem);
  --fs-h3: clamp(1.1rem, 1.7vw, 1.4rem);
  --fs-body: clamp(1rem, 0.96rem + 0.16vw, 1.1rem);
  --fs-sm: 0.9rem;
  --fs-xs: 0.78rem;

  --stitch-h: repeating-linear-gradient(to right, currentColor 0 7px, transparent 7px 14px);
  --stitch-v: repeating-linear-gradient(to bottom, currentColor 0 7px, transparent 7px 14px);

  --ease: cubic-bezier(.22, .68, .16, 1);
}

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--sans);
  font-size: var(--fs-body);
  font-weight: 300;
  line-height: 1.62;
  /* hidden, sayfadaki position:sticky ogeleri bozuyor; clip bozmaz. */
  overflow-x: clip;
}

img, svg, video { display: block; max-width: 100%; }
/* display:block yukaridaki kurali eziyordu; gizlenen ogeler gercekten gizlensin. */
[hidden] { display: none !important; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.04;
  letter-spacing: -.018em;
  margin: 0;
  text-wrap: balance;
}
p { margin: 0; text-wrap: pretty; }

:focus-visible { outline: 2px solid var(--accent-hi); outline-offset: 3px; }
::selection { background: var(--accent); color: var(--ink); }

.wrap { width: min(100% - var(--gutter) * 2, var(--wrap)); margin-inline: auto; }

.skip { position: absolute; left: -9999px; background: var(--accent); color: var(--ink); padding: .7rem 1.1rem; z-index: 999; }
.skip:focus { left: 1rem; top: 1rem; }

/* --------------------------------------------------- dikis (imza ogesi) */

.stitch {
  height: 1px; border: 0; margin: 0;
  background-image: var(--stitch-h);
  color: color-mix(in srgb, var(--accent) 60%, transparent);
}
.stitch--short { width: 72px; }
.stitch-col { width: 1px; background-image: var(--stitch-v); color: color-mix(in srgb, var(--accent) 35%, transparent); }

/* ------------------------------------------------------------- ust bar */

.topbar {
  position: fixed;
  inset: 0 0 auto;
  z-index: 60;
  transition: background .4s var(--ease), border-color .4s var(--ease), backdrop-filter .4s var(--ease);
  border-bottom: 1px solid transparent;
}
.topbar.is-stuck {
  background: color-mix(in srgb, var(--ink) 90%, transparent);
  backdrop-filter: blur(16px) saturate(1.5);
  border-bottom-color: color-mix(in srgb, var(--linen) 12%, transparent);
}

.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(1rem, 3vw, 3rem);
  min-height: 82px;
  color: var(--linen);
}

/* Marka: gercek logodan kesilmis amblem + yazi */
.brand { display: inline-flex; align-items: center; gap: .55rem; flex: none; }
.brand__mark { width: auto; height: 44px; }
.brand__text { display: grid; gap: .18rem; justify-items: start; }
.brand__word { width: auto; height: 21px; }
.brand__sub {
  font-size: .62rem;
  letter-spacing: .17em;
  color: color-mix(in srgb, var(--linen) 55%, transparent);
  white-space: nowrap;
}

.nav {
  display: flex; align-items: center;
  gap: clamp(.85rem, 1.6vw, 1.8rem);
  font-size: .82rem; letter-spacing: .02em;
  margin-inline: auto;
}
.nav a { color: color-mix(in srgb, var(--linen) 82%, transparent); position: relative; padding-block: .4rem; white-space: nowrap; }
.nav a:hover { color: var(--linen); }
.nav a[aria-current="page"] { color: var(--brass-hi); }
.nav a[aria-current="page"]::after {
  content: ""; position: absolute; inset-inline: 0; bottom: 0; height: 1px;
  background-image: var(--stitch-h); color: var(--brass);
}

.topbar__end { display: flex; align-items: center; gap: .9rem; flex: none; }

.topbar__wa {
  display: inline-grid; place-items: center;
  width: 38px; height: 38px; border-radius: 50%;
  border: 1px solid color-mix(in srgb, var(--linen) 26%, transparent);
  color: color-mix(in srgb, var(--linen) 88%, transparent);
  transition: background .3s var(--ease), border-color .3s var(--ease), color .3s var(--ease);
}
.topbar__wa:hover { background: #1f8f4e; border-color: #1f8f4e; color: #fff; }

.menu-btn {
  display: inline-grid; gap: 5px; align-content: center;
  width: 38px; height: 38px; padding: 0 6px;
  background: none; border: 0; cursor: pointer;
}
.menu-btn span { display: block; height: 1px; background: var(--linen); transition: background .3s var(--ease); }

.drawer {
  border: 0; padding: 0; margin: 0; width: 100%; max-width: none;
  height: 100%; max-height: none; background: var(--ink); color: var(--linen);
}
.drawer::backdrop { background: rgb(4 8 16 / .85); }
.drawer__inner { padding: 1.5rem var(--gutter) 3rem; height: 100%; display: flex; flex-direction: column; }
.drawer__head { display: flex; justify-content: space-between; align-items: center; min-height: 60px; }
.drawer__head .brand { gap: .5rem; }
.drawer__head .brand__mark { height: 38px; }
.drawer__head .brand__word { height: 18px; }
.drawer__close { background: none; border: 0; cursor: pointer; font-size: 1.8rem; line-height: 1; padding: .3rem; }
.drawer__list { list-style: none; margin: 2rem 0 0; padding: 0; }
.drawer__list a { font-family: var(--serif); font-size: clamp(1.8rem, 7vw, 2.6rem); padding-block: .3rem; display: block; }
.drawer__list a:hover { color: var(--brass-hi); }
.drawer__foot { margin-top: auto; padding-top: 2rem; font-size: var(--fs-sm); color: var(--thread); }

/* ----------------------------------------------------------- butonlar */

.btn {
  --btn-bg: var(--accent);
  --btn-fg: var(--ink);
  --btn-bd: var(--accent);
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: 1rem 1.9rem;
  background: var(--btn-bg); color: var(--btn-fg);
  border: 1px solid var(--btn-bd); border-radius: 2px;
  font-size: var(--fs-sm); font-weight: 500; letter-spacing: .05em;
  cursor: pointer; white-space: nowrap;
  transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
}
.btn:hover { --btn-bg: var(--accent-hi); --btn-bd: var(--accent-hi); }

.btn--ghost { --btn-bg: transparent; --btn-fg: var(--fg); --btn-bd: color-mix(in srgb, var(--fg) 35%, transparent); }
.btn--ghost:hover { --btn-bg: transparent; --btn-fg: var(--accent-hi); --btn-bd: var(--accent); }

.btn--wa { --btn-bg: #1f8f4e; --btn-fg: #fff; --btn-bd: #1f8f4e; }
.btn--wa:hover { --btn-bg: #23a55b; --btn-bd: #23a55b; }

.btn--lg { padding: 1.15rem 2.2rem; font-size: .98rem; }
.btn--block { width: 100%; }

/* ---------------------------------------------------------------- hero
   Tam ekran sinematik kare; ustunde marka sozu, sol altta Turkce giris,
   sag kenarda slayt noktalari ve scroll isareti. */

.hero {
  position: relative;
  min-height: 100svh;
  background: #0A0F19;
  overflow: hidden;
  isolation: isolate;
}

.hero__slides { position: absolute; inset: 0; }
.hero__slide {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  /* Model karenin sag yarisinda; dar ekranlarda da kadrajda kalsin. */
  object-fit: cover; object-position: 60% center;
  opacity: 0;
  transition: opacity 1.6s var(--ease);
}
.hero__slide.is-active { opacity: 1; }

/* Fotografin uzerinde metnin okunmasi icin katmanli koyultma.
   Ust bar, ortadaki baslik ve alttaki metin bloklari icin ayri ayri. */
.hero__scrim {
  position: absolute; inset: 0;
  background:
    radial-gradient(88% 52% at 50% 46%, rgb(5 9 16 / .58) 0%, rgb(5 9 16 / .28) 55%, transparent 100%),
    linear-gradient(to bottom,
      rgb(5 9 16 / .78) 0%,
      rgb(5 9 16 / .18) 20%,
      rgb(5 9 16 / .30) 52%,
      rgb(5 9 16 / .82) 82%,
      rgb(5 9 16 / .96) 100%);
}

/* inset:0 + grid ile ortalanir; boylece giris animasyonunun transform'u
   ortalama transform'uyla catismaz. */
.hero__center {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: grid;
  place-items: center;
  padding: 6rem var(--gutter) 18vh;
  text-align: center;
  pointer-events: none;
}

/* Basliklar ayni gozde ust uste durur; yalnizca aktif olan gorunur. */
.hero__title {
  grid-area: 1 / 1;
  display: grid; gap: .1em; line-height: 1; margin: 0;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
}
.hero__title.is-active { opacity: 1; transform: none; }

.hero__title-a,
.hero__title-b {
  display: block;
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -.005em;
  font-size: clamp(2.4rem, 6.6vw, 6.2rem);
  text-shadow: 0 2px 40px rgb(0 0 0 / .5);
}
.hero__title-a { color: #FBF9F5; }
.hero__title-b {
  font-style: italic;
  background: linear-gradient(96deg,
    color-mix(in srgb, var(--brass) 78%, #6E5322) 0%,
    var(--brass-hi) 42%,
    var(--brass) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: var(--brass-hi);
}
@supports (-webkit-background-clip: text) or (background-clip: text) {
  .hero__title-b { color: transparent; }
}

.hero__foot {
  position: absolute;
  inset-inline: 0;
  bottom: clamp(2rem, 6vh, 4.5rem);
  z-index: 2;
  color: #F2EDE3;
  display: grid;
}
/* Anlatilar da ust uste; aktif olmayan tiklanamaz. */
.hero__story {
  grid-area: 1 / 1;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
  pointer-events: none;
}
.hero__story.is-active { opacity: 1; transform: none; pointer-events: auto; }

.hero__sub {
  font-family: var(--serif);
  font-size: clamp(1.15rem, 1.9vw, 1.7rem);
  letter-spacing: -.01em;
  max-width: 22ch;
}
.hero__desc {
  margin-top: .9rem;
  max-width: 46ch;
  font-size: var(--fs-sm);
  line-height: 1.75;
  color: rgb(242 237 227 / .72);
}
.hero__actions { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.7rem; }

/* Sag kenar rayi: slayt noktalari + dikey SCROLL */
.hero__rail {
  position: absolute;
  right: clamp(.9rem, 2vw, 1.9rem);
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  display: grid;
  justify-items: center;
  gap: 2.4rem;
}
.hero__dots { display: grid; gap: .8rem; }
.hero__dots button {
  width: 7px; height: 7px; padding: 0;
  border-radius: 50%; border: 0; cursor: pointer;
  background: rgb(242 237 227 / .38);
  transition: background .3s var(--ease), transform .3s var(--ease);
}
.hero__dots button[aria-selected="true"] { background: var(--brass-hi); transform: scale(1.5); }

.hero__scroll {
  writing-mode: vertical-rl;
  font-size: .66rem;
  letter-spacing: .32em;
  color: rgb(242 237 227 / .6);
  display: inline-flex;
  align-items: center;
  gap: .8rem;
}
.hero__scroll::after {
  content: "";
  width: 1px; height: 54px;
  background: linear-gradient(to bottom, var(--brass-hi), transparent);
}
@media (prefers-reduced-motion: no-preference) {
  .hero__scroll::after { animation: drip 2.4s var(--ease) infinite; transform-origin: top; }
}
@keyframes drip {
  0%   { transform: scaleY(0); opacity: 0; }
  40%  { transform: scaleY(1); opacity: 1; }
  100% { transform: scaleY(1) translateY(54px); opacity: 0; }
}

/* Sag alttaki kucuk bilgi karti */
.hero__card {
  position: absolute;
  right: clamp(3.2rem, 5vw, 5rem);
  bottom: clamp(2rem, 6vh, 4.5rem);
  z-index: 3;
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr);
  align-items: stretch;
  width: min(320px, 42vw);
  background: color-mix(in srgb, #0A0F19 78%, transparent);
  backdrop-filter: blur(12px);
  border: 1px solid color-mix(in srgb, var(--brass) 42%, transparent);
  border-radius: 2px;
  overflow: hidden;
  transition: border-color .3s var(--ease), background .3s var(--ease);
}
.hero__card:hover { border-color: var(--brass-hi); background: color-mix(in srgb, #0A0F19 88%, transparent); }
.hero__card img { width: 100%; height: 100%; object-fit: cover; }
.hero__card-body { display: grid; align-content: center; gap: .25rem; padding: .85rem 1rem; }
.hero__card-title { font-family: var(--serif); font-size: 1.1rem; color: var(--brass-hi); }
.hero__card-text { font-size: .74rem; line-height: 1.5; color: rgb(242 237 227 / .68); }

/* Aktif olan metin her degisimde yeniden yukselir; cikan metin
   kendi gecisiyle soner. Ilk yuklemede de ayni koreografi calisir. */
@media (prefers-reduced-motion: no-preference) {
  .hero__title.is-active { animation: rise 1s var(--ease) backwards; animation-delay: .2s; }
  .hero__story.is-active { animation: rise 1s var(--ease) backwards; animation-delay: .38s; }
  .hero__card { animation: rise 1.1s var(--ease) .8s backwards; }
  .hero__slide.is-active { animation: zoom 11s linear backwards; }
}
@keyframes rise { from { opacity: 0; transform: translateY(20px); } }
@keyframes zoom { from { transform: scale(1); } to { transform: scale(1.06); } }

.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip-path: inset(50%); white-space: nowrap; border: 0;
}

/* ------------------------------------------------------- guven seridi */

.strip {
  border-block: 1px dashed color-mix(in srgb, var(--brass) 34%, transparent);
  background: var(--ink-2);
}
.strip__inner {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(190px, 100%), 1fr));
}
.strip__item {
  padding: 1.9rem clamp(1rem, 2vw, 2rem);
  position: relative;
}
.strip__item + .strip__item::before {
  content: ""; position: absolute; left: 0; top: 1.5rem; bottom: 1.5rem; width: 1px;
  background-image: var(--stitch-v); color: color-mix(in srgb, var(--linen) 22%, transparent);
}
.strip__value {
  font-family: var(--serif);
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  color: var(--brass-hi);
  line-height: 1.1;
}
.strip__label { font-size: var(--fs-sm); color: var(--thread); margin-top: .3rem; }

/* ------------------------------------------------------------ bolumler */

.section { padding-block: var(--pad-section); background: var(--bg); color: var(--fg); }

.section--linen {
  --bg: var(--linen);
  --surface: color-mix(in srgb, var(--ink) 6%, var(--linen));
  --fg: var(--ink);
  --fg-dim: color-mix(in srgb, var(--ink) 62%, transparent);
  --line: color-mix(in srgb, var(--ink) 16%, transparent);
  --accent: color-mix(in srgb, var(--brass) 78%, var(--ink));
  --accent-hi: color-mix(in srgb, var(--brass) 60%, var(--ink));
  color-scheme: light;
}

.section__head { margin-bottom: clamp(2.2rem, 4vw, 3.4rem); display: grid; gap: 1.1rem; }
@media (min-width: 64rem) {
  .section__head--split {
    grid-template-columns: minmax(0, 1fr) minmax(0, 26rem);
    align-items: end;
    gap: 3rem;
  }
}
.section__title { font-size: var(--fs-h2); }
.lead { max-width: 56ch; color: var(--fg-dim); }

/* ------------------------------------------------------- kategoriler */

.cats {
  display: grid;
  gap: clamp(.9rem, 1.8vw, 1.8rem);
  grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
}
@media (min-width: 62rem) {
  .cats { grid-template-columns: repeat(3, 1fr); }
}

/* Kemer formu: ust koseler yuvarlak, alt kenar zemine karisir. */
.cat {
  position: relative; display: block; overflow: hidden;
  border-radius: clamp(2.5rem, 5vw, 4.5rem) clamp(2.5rem, 5vw, 4.5rem) 0 0;
  background: var(--ink); isolation: isolate;
}
.cat__media {
  display: block;
  width: 100%;
  /* height:auto olmazsa video etiketinin height ozniteligi aspect-ratio'yu eziyor */
  height: auto;
  /* Videolarin kendi orani 9:16 — kirpmadan, tam boy dursun */
  aspect-ratio: 9 / 16;
  object-fit: cover;
  transition: transform .9s var(--ease);
}
/* Videonun sag ust kosesindeki logo filigrani yuvarlak koseye denk gelip
   kesiliyordu; kadraji bir tik buyuterek filigrani koseden iceri aliyoruz. */
video.cat__media { background: var(--ink); transform: scale(1.12); }
.cat:hover video.cat__media, .cat:focus-visible video.cat__media { transform: scale(1.16); }

/* Alt kenar gradyanla ORTULMEZ, goruntunun kendisi asagi dogru silinir —
   boylece yan kenarlar da dahil hicbir yerde kesim cizgisi kalmaz. */
.cat__media {
  mask-image: linear-gradient(to bottom,
    #000 0%, #000 40%,
    rgb(0 0 0 / .88) 54%,
    rgb(0 0 0 / .60) 66%,
    rgb(0 0 0 / .30) 76%,
    rgb(0 0 0 / .08) 84%,
    transparent 90%);
}

/* Yazinin uzerinde durdugu alan icin cok hafif bir koyultma yeter. */
.cat::after {
  content: ""; position: absolute; inset: 0;
  border-radius: inherit;
  background: linear-gradient(to top,
    color-mix(in srgb, var(--ink) 45%, transparent) 0%,
    color-mix(in srgb, var(--ink) 18%, transparent) 20%,
    transparent 42%);
}
.cat:hover .cat__media, .cat:focus-visible .cat__media { transform: scale(1.04); }

.cats__more { margin-top: clamp(2rem, 4vw, 3.2rem); display: flex; justify-content: center; }

/* Dar ekranda uc uzun kart alt alta cok uzun bir kaydirma yaratiyor;
   yan yana duruslarini koruyup kaydirmali serit yapiyoruz. */
@media (max-width: 62rem) {
  .cats {
    display: flex;
    grid-template-columns: none;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: .5rem;
    scrollbar-width: thin;
    scrollbar-color: color-mix(in srgb, var(--accent) 55%, transparent) transparent;
  }
  .cat { flex: 0 0 min(78%, 320px); scroll-snap-align: center; }
}

.cat__body { position: absolute; inset-inline: 0; bottom: 0; z-index: 1; padding: clamp(1.3rem, 2vw, 2rem); }
.cat__name { font-family: var(--serif); font-size: clamp(1.5rem, 2.2vw, 2rem); color: #F2EDE3; }
.cat__summary { margin-top: .5rem; font-size: var(--fs-sm); color: rgb(242 237 227 / .72); max-width: 32ch; }
.cat__count {
  margin-top: .9rem; font-size: var(--fs-xs); letter-spacing: .1em;
  color: var(--brass-hi); display: inline-flex; align-items: center; gap: .55rem;
}
.cat__count::before { content: ""; width: 26px; height: 1px; background-image: var(--stitch-h); color: var(--brass); }

/* ------------------------------------------------------ urun kartlari */

.grid-products {
  display: grid;
  gap: clamp(1.6rem, 2.6vw, 2.6rem) clamp(1rem, 1.8vw, 1.8rem);
  grid-template-columns: repeat(auto-fill, minmax(min(290px, 100%), 1fr));
}
@media (min-width: 70rem) { .grid-products { grid-template-columns: repeat(4, 1fr); } }

.card { display: flex; flex-direction: column; position: relative; }
.card__link { display: flex; flex-direction: column; height: 100%; }
.card__frame { position: relative; overflow: hidden; border-radius: 3px; background: var(--surface); }

.card__pack {
  position: absolute; left: .7rem; bottom: .7rem;
  padding: .28rem .6rem;
  background: color-mix(in srgb, var(--ink) 82%, transparent);
  backdrop-filter: blur(6px);
  color: #F2EDE3; font-size: var(--fs-xs); border-radius: 1px;
  opacity: 0; transform: translateY(4px);
  transition: opacity .3s var(--ease), transform .3s var(--ease);
}
.card:hover .card__pack, .card:focus-visible .card__pack { opacity: 1; transform: none; }

/* Bilgiler gorselin altinda — uzerinde yuzen kutu yok. */
.card__body {
  padding-top: .95rem;
  display: grid;
  gap: .3rem;
}
.card__code {
  font-size: var(--fs-xs);
  letter-spacing: .14em;
  color: var(--accent-hi);
}
.card__name { font-family: var(--serif); font-size: 1.28rem; line-height: 1.18; color: var(--fg); }
.card:hover .card__name { color: var(--accent-hi); }
.card__meta { font-size: var(--fs-sm); color: var(--fg-dim); }

/* --------------------------------------------------- editorial blogu */

.editorial {
  position: relative;
  min-height: min(88svh, 820px);
  display: grid;
  align-items: center;
  background: var(--ink);
  overflow: hidden;
}
.editorial > img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
  object-position: right center;
}
/* Karenin sol tarafi zaten bos ve koyu; oradan metne dogru koyultup
   sagdaki raflari ve kolileri acik birakiyoruz. */
.editorial::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(100deg,
      rgb(6 11 22 / .88) 0%,
      rgb(6 11 22 / .62) 26%,
      rgb(6 11 22 / .18) 48%,
      transparent 66%),
    linear-gradient(to top, rgb(6 11 22 / .55) 0%, transparent 38%);
}
.editorial__body {
  position: relative; z-index: 1;
  padding-block: clamp(3rem, 6vw, 5rem);
  color: #F2EDE3;
}
.editorial__title { font-size: var(--fs-h1); max-width: 15ch; }
.editorial__text { margin-top: 1.2rem; max-width: 42ch; color: rgb(242 237 227 / .8); }
.editorial__actions { margin-top: 2rem; display: flex; flex-wrap: wrap; gap: .7rem; }

@media (max-width: 46rem) {
  .editorial { align-items: end; min-height: 78svh; }
  .editorial > img { object-position: 72% center; }
  .editorial::after {
    background: linear-gradient(to top,
      rgb(6 11 22 / .95) 8%, rgb(6 11 22 / .7) 38%, rgb(6 11 22 / .25) 62%, transparent 82%);
  }
}

/* -------------------------------------------------------- uretim akisi */

.flow {
  display: grid;
  gap: 0;
  grid-template-columns: repeat(auto-fit, minmax(min(230px, 100%), 1fr));
  counter-reset: step;
}
.flow__step { counter-increment: step; padding: 0 1.6rem 0 0; position: relative; }
.flow__step + .flow__step { padding-left: clamp(1.2rem, 2.4vw, 2.4rem); }
.flow__step + .flow__step::before {
  content: ""; position: absolute; left: 0; top: .2rem; bottom: .2rem; width: 1px;
  background-image: var(--stitch-v); color: color-mix(in srgb, var(--fg) 28%, transparent);
}
.flow__num { font-family: var(--serif); font-size: .95rem; letter-spacing: .12em; color: var(--accent-hi); }
.flow__num::before { content: counter(step, decimal-leading-zero); }
.flow__title { font-size: var(--fs-h3); margin-top: .6rem; }
.flow__text { margin-top: .6rem; font-size: var(--fs-sm); color: var(--fg-dim); max-width: 32ch; }

/* --------------------------------------------------------- kumas seridi */

.reel {
  display: flex; gap: clamp(.7rem, 1.3vw, 1.2rem);
  overflow-x: auto; scroll-snap-type: x proximity;
  padding-bottom: 1.2rem;
  scrollbar-width: thin;
  scrollbar-color: color-mix(in srgb, var(--accent) 55%, transparent) transparent;
}
.reel > * { flex: 0 0 clamp(230px, 25vw, 340px); scroll-snap-align: start; margin: 0; }
.reel img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 2px; }
.reel figcaption { margin-top: .7rem; font-size: var(--fs-sm); color: var(--fg-dim); }

/* ---------------------------------------------------- toptan sartlari */

.terms {
  display: grid;
  gap: clamp(1.6rem, 3vw, 2.8rem);
  grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr));
}
.term__title { font-family: var(--serif); font-size: var(--fs-h3); color: var(--accent-hi); }
.term__text { margin-top: .6rem; font-size: var(--fs-sm); color: var(--fg-dim); max-width: 34ch; }

/* ------------------------------------------------------ whatsapp bandi */

.band { background: var(--ink-2); padding-block: clamp(3.5rem, 6vw, 5.5rem);
        border-block: 1px dashed color-mix(in srgb, var(--brass) 36%, transparent); }
.band__inner { display: grid; gap: 2rem; align-items: center; }
@media (min-width: 58rem) { .band__inner { grid-template-columns: minmax(0, 1fr) auto; gap: 3.5rem; } }
.band__title { font-size: var(--fs-h2); max-width: 20ch; }
.band__text { margin-top: .9rem; max-width: 50ch; color: color-mix(in srgb, var(--linen) 74%, transparent); }

/* ------------------------------------------------------------- sayfalar */

.page-head { padding-block: clamp(7rem, 12vw, 10rem) clamp(1.6rem, 3vw, 2.6rem); }
.crumb { font-size: var(--fs-sm); color: var(--thread); margin-bottom: 1rem; }
.crumb a:hover { color: var(--brass-hi); }
.page-title { font-size: var(--fs-h1); }

.filters { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 2.6rem; }
.chip {
  padding: .55rem 1.1rem; border-radius: 2px; font-size: var(--fs-sm);
  border: 1px solid color-mix(in srgb, var(--fg) 22%, transparent);
  color: color-mix(in srgb, var(--fg) 80%, transparent);
  transition: border-color .25s var(--ease), color .25s var(--ease), background .25s var(--ease);
}
.chip:hover { border-color: var(--accent); color: var(--accent-hi); }
.chip[aria-current="true"] { background: var(--accent); border-color: var(--accent); color: var(--ink); }

.empty { padding: 3rem 0; color: var(--thread); }

/* ------------------------------------------------------- urun detayi */

.product { display: grid; gap: clamp(1.8rem, 4vw, 4rem); align-items: start; }
@media (min-width: 64rem) {
  .product { grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); }
  /* Bilgi sutunu uzun; sabit kalan taraf gorsel olmali, yoksa galeri
     bitince solda kocaman bosluk kaliyor. */
  .product > .gallery { position: sticky; top: 100px; }
}
/* Urun kareleri karisik fonlu (kimi beyaz studyo, kimi loş mekan). Koyu sayfada
   beyaz bir dikdortgen ada gibi duruyordu; acik bir paspartu ikisini de tasiyor. */
.gallery__main {
  position: relative; overflow: hidden; border-radius: 3px;
  background: var(--linen);
  padding: clamp(.5rem, 1.1vw, .9rem);
}
.gallery__main img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 1px; }
.gallery__thumbs { display: flex; gap: .5rem; margin-top: .5rem; overflow-x: auto; scrollbar-width: thin; }
.gallery__thumbs button {
  flex: 0 0 84px; padding: 3px; cursor: pointer;
  background: color-mix(in srgb, var(--linen) 82%, transparent);
  border: 1px solid transparent; border-radius: 3px; overflow: hidden; opacity: .55;
  transition: opacity .25s var(--ease), border-color .25s var(--ease);
}
.gallery__thumbs button:hover { opacity: .8; }
.gallery__thumbs button[aria-current="true"] { opacity: 1; border-color: var(--accent); }
.gallery__thumbs img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }

.product__code { font-size: var(--fs-sm); letter-spacing: .16em; color: var(--accent-hi); }
.product__name { font-size: var(--fs-h1); margin-top: .6rem; }
.product__desc { margin-top: 1.2rem; max-width: 50ch; color: var(--fg-dim); }

.spec { margin: 2rem 0 0; display: grid; }
.spec__row {
  display: grid; grid-template-columns: minmax(110px, .42fr) minmax(0, 1fr);
  gap: 1rem; padding: .85rem 0; font-size: var(--fs-sm);
  border-bottom: 1px dashed var(--line);
}
.spec__key { color: var(--thread); }

.order {
  margin-top: 2rem; padding: 1.6rem; background: var(--ink-2); border-radius: 2px;
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--brass) 32%, transparent) inset;
  display: grid; gap: .7rem;
}
.order__note { font-size: var(--fs-xs); color: var(--thread); text-align: center; margin-top: .3rem; }

/* --------------------------------------------------------------- footer */

.footer { background: var(--ink); color: var(--linen);
          border-top: 1px solid color-mix(in srgb, var(--linen) 12%, transparent);
          padding-block: clamp(3rem, 5vw, 4.5rem) 2rem; }
.footer__grid { display: grid; gap: 2.4rem; grid-template-columns: repeat(auto-fit, minmax(min(210px, 100%), 1fr)); }
.footer__logo { width: auto; height: 150px; }
.footer__about { margin-top: 1.4rem; font-size: var(--fs-sm); color: var(--thread); max-width: 34ch; }
.footer h4 { font-family: var(--sans); font-size: var(--fs-sm); font-weight: 500; letter-spacing: .07em;
             color: var(--brass-hi); margin-bottom: 1rem; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; font-size: var(--fs-sm); }
.footer li, .footer address { color: var(--thread); font-style: normal; }
.footer a:hover { color: var(--linen); }
.footer__base {
  margin-top: 2.8rem; padding-top: 1.4rem;
  border-top: 1px dashed color-mix(in srgb, var(--linen) 14%, transparent);
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: .8rem;
  font-size: var(--fs-xs); color: color-mix(in srgb, var(--thread) 85%, transparent);
}

/* ------------------------------------------------------ whatsapp yuzeni */

.wa-float {
  position: fixed; right: clamp(1rem, 2.5vw, 2rem); bottom: clamp(1rem, 2.5vw, 2rem);
  z-index: 70; display: inline-flex; align-items: center; gap: .6rem;
  padding: .9rem 1.25rem; background: #1f8f4e; color: #fff; border-radius: 999px;
  font-size: var(--fs-sm); font-weight: 500; box-shadow: 0 12px 34px rgb(0 0 0 / .4);
  transition: background .3s var(--ease), transform .3s var(--ease);
}
.wa-float:hover { background: #23a55b; transform: translateY(-2px); }
.wa-float span { display: none; }
@media (min-width: 46rem) { .wa-float span { display: inline; } }

/* Hero ekrandayken yuzen dugme gizlenir — orada zaten iki cagri ve kart var. */
body.at-hero .wa-float {
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
}

/* ------------------------------------------------------------- formlar */

.form { display: grid; gap: 1rem; max-width: 34rem; }
.field { display: grid; gap: .4rem; }
.field label { font-size: var(--fs-sm); color: var(--thread); }
.field input, .field textarea {
  font: inherit; padding: .85rem .95rem; border-radius: 2px;
  background: var(--ink-2); color: var(--linen);
  border: 1px solid color-mix(in srgb, var(--linen) 18%, transparent);
}
.field textarea { min-height: 8rem; resize: vertical; }

/* ------------------------------------------------------------- mobil */

@media (max-width: 78rem) {
  .brand__sub { display: none; }
  .nav { gap: .9rem; font-size: .78rem; }
}

@media (max-width: 64rem) {
  .nav { display: none; }
  .hero__card { display: none; }
  /* Dikey yazi bu genislikte modelin uzerine denk gelip okunmaz oluyor */
  .hero__scroll { display: none; }
  .hero__center { padding-bottom: 32vh; }
  .hero__rail { gap: 1.6rem; }
}

/* Dar ekranda mutlak konumlandirmayi birakip akisa geciyoruz:
   baslik ust bosluga yaslanir, anlati ve noktalar altta siraya girer. */
@media (max-width: 46rem) {
  .hero {
    display: grid;
    grid-template-rows: 1fr auto auto;
    min-height: 100svh;
  }

  .hero__center {
    position: static;
    grid-row: 1;
    align-self: center;
    inset: auto;
    padding: 6.5rem var(--gutter) 1.5rem;
  }
  .hero__title-a, .hero__title-b { font-size: clamp(2rem, 9.6vw, 3.2rem); }

  .hero__foot {
    position: static;
    grid-row: 2;
    bottom: auto;
    padding-bottom: 1.25rem;
  }
  .hero__sub { max-width: none; }
  .hero__desc { max-width: none; }
  .hero__actions { margin-top: 1.4rem; }
  .hero__actions .btn { flex: 1 1 14rem; }

  .hero__rail {
    position: static;
    grid-row: 3;
    transform: none;
    justify-self: start;
    padding: 0 var(--gutter) clamp(1.5rem, 4vh, 2.5rem);
  }
  .hero__dots { grid-auto-flow: column; gap: .65rem; }
  .hero__dots button { width: 9px; height: 9px; }

  /* Dar ekranda model kadraji doldurdugu icin basligin arkasini da,
     alt yariyi da ayrica koyultuyoruz. */
  .hero__scrim {
    background:
      radial-gradient(120% 26% at 50% 32%, rgb(5 9 16 / .62) 0%, transparent 100%),
      linear-gradient(to bottom,
        rgb(5 9 16 / .72) 0%,
        rgb(5 9 16 / .34) 18%,
        rgb(5 9 16 / .52) 45%,
        rgb(5 9 16 / .90) 70%,
        rgb(5 9 16 / .97) 100%);
  }
}

@media (max-width: 40rem) {
  .flow__step + .flow__step { padding-left: 0; padding-top: 1.5rem; margin-top: 1.5rem; }
  .flow__step + .flow__step::before {
    inset: 0 0 auto 0; width: auto; height: 1px; background-image: var(--stitch-h);
  }
  .strip__item + .strip__item::before { display: none; }
  .strip__item { padding-block: 1.3rem; border-top: 1px dashed color-mix(in srgb, var(--linen) 16%, transparent); }
  .strip__item:first-child { border-top: 0; }
}

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

/* ==========================================================================
   Sepet, beden seçici ve bildirimler
   ========================================================================== */

/* ------------------------------------------------------- beden seçici -- */

.picker {
  margin-top: 2rem;
  padding: 1.5rem;
  border-radius: 3px;
  background: color-mix(in srgb, var(--ink-2) 88%, transparent);
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--linen) 12%, transparent) inset;
  display: grid;
  gap: 1.3rem;
}

.picker__sizes { border: 0; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.picker__legend {
  padding: 0; margin-bottom: .8rem;
  font-size: var(--fs-sm); color: var(--thread); width: 100%;
}

.size {
  display: grid; gap: .1rem; justify-items: center;
  min-width: 4.6rem; padding: .6rem .8rem;
  border: 1px solid color-mix(in srgb, var(--linen) 22%, transparent);
  border-radius: 2px; cursor: pointer;
  transition: border-color .2s var(--ease), background .2s var(--ease), color .2s var(--ease);
}
.size__name { font-size: .98rem; color: var(--linen); }
.size__stock { font-size: .68rem; color: var(--thread); }

.size:hover { border-color: color-mix(in srgb, var(--brass) 70%, transparent); }

/* Gizli radyo dugmesinin durumu etiketi bicimlendirir */
input[type="radio"]:checked + .size {
  background: var(--brass);
  border-color: var(--brass);
}
input[type="radio"]:checked + .size .size__name,
input[type="radio"]:checked + .size .size__stock { color: var(--ink); }

input[type="radio"]:focus-visible + .size { outline: 2px solid var(--brass-hi); outline-offset: 2px; }

input[type="radio"]:disabled + .size {
  opacity: .38; cursor: not-allowed;
  text-decoration: line-through;
}

.picker__qty { display: flex; align-items: center; gap: .7rem; flex-wrap: wrap; }
.picker__qty label { font-size: var(--fs-sm); color: var(--thread); }
.picker__qty input {
  font: inherit; width: 6.5rem; padding: .65rem .8rem; border-radius: 2px;
  background: var(--ink); color: var(--linen);
  border: 1px solid color-mix(in srgb, var(--linen) 22%, transparent);
}
.picker__hint { font-size: var(--fs-xs); color: var(--thread); }

/* ------------------------------------------------------------- sepet -- */

.cart__list { list-style: none; margin: 0 0 1.6rem; padding: 0; display: grid; gap: .8rem; }

.cart__row {
  display: grid;
  grid-template-columns: 84px minmax(0, 1fr) auto auto;
  gap: 1rem;
  align-items: center;
  padding: .9rem;
  background: color-mix(in srgb, var(--ink) 5%, transparent);
  border-radius: 3px;
}
.cart__thumb { display: block; border-radius: 2px; overflow: hidden; background: var(--linen); }
.cart__thumb img { width: 100%; aspect-ratio: 4/5; object-fit: cover; }

.cart__info { display: grid; gap: .2rem; }
.cart__name { font-family: var(--serif); font-size: 1.15rem; color: var(--fg); }
.cart__name:hover { color: var(--accent-hi); }
.cart__meta { font-size: var(--fs-sm); color: var(--fg-dim); }

.cart__qty { display: flex; align-items: center; gap: .5rem; }
.cart__qty input {
  font: inherit; width: 5.5rem; padding: .55rem .7rem; border-radius: 2px;
  background: var(--bg); color: var(--fg);
  border: 1px solid color-mix(in srgb, var(--fg) 22%, transparent);
}
.cart__unit { font-size: var(--fs-sm); color: var(--fg-dim); }

.cart__remove {
  background: none; border: 0; cursor: pointer;
  font-size: 1.5rem; line-height: 1; padding: .3rem .5rem;
  color: var(--fg-dim); border-radius: 2px;
}
.cart__remove:hover { color: var(--danger, #C2504B); }

.cart__actions {
  display: flex; flex-wrap: wrap; align-items: center; gap: 1rem;
  padding-top: 1.2rem;
  border-top: 1px dashed var(--line);
}
.cart__total { font-size: var(--fs-sm); color: var(--fg-dim); margin-left: auto; }
.cart__total strong { font-family: var(--serif); font-size: 1.25rem; color: var(--fg); }

.cart__send {
  margin-top: 2rem; padding-top: 1.6rem;
  border-top: 1px dashed var(--line);
  display: flex; flex-wrap: wrap; gap: .7rem; align-items: center;
}
.cart__send form { margin: 0; }

.cart__preview { margin-top: 1.8rem; font-size: var(--fs-sm); color: var(--fg-dim); }
.cart__preview summary { cursor: pointer; }
.cart__preview pre {
  margin-top: .8rem; padding: 1rem; border-radius: 3px;
  background: color-mix(in srgb, var(--ink) 8%, transparent);
  white-space: pre-wrap; font: inherit; color: var(--fg);
}

/* --------------------------------------------------------- bildirim -- */

.notice {
  padding: 1rem 1.2rem; border-radius: 3px; margin-bottom: 1.6rem;
  font-size: var(--fs-sm);
  border-left: 3px solid var(--accent);
  background: color-mix(in srgb, var(--ink) 6%, transparent);
  color: var(--fg);
}
.notice--ok { border-left-color: #1F8F4E; }
.notice--warn { border-left-color: var(--danger, #C2504B); }
.notice ul { margin: .6rem 0 .6rem 1.1rem; padding: 0; }
.notice li { margin-bottom: .3rem; }
.notice p:last-child { margin-top: .6rem; color: var(--fg-dim); }

/* ------------------------------------------------- ust bardaki sepet -- */

.topbar__cart {
  position: relative;
  display: inline-grid; place-items: center;
  width: 38px; height: 38px; border-radius: 50%;
  border: 1px solid color-mix(in srgb, var(--linen) 26%, transparent);
  color: color-mix(in srgb, var(--linen) 88%, transparent);
  transition: border-color .3s var(--ease), color .3s var(--ease);
}
.topbar__cart:hover { border-color: var(--brass); color: var(--brass-hi); }
.topbar__cart[data-count]::after {
  content: attr(data-count);
  position: absolute; top: -4px; right: -4px;
  min-width: 17px; height: 17px; padding: 0 4px;
  display: grid; place-items: center;
  background: var(--brass); color: var(--ink);
  border-radius: 999px; font-size: .62rem; font-weight: 500;
}

@media (max-width: 40rem) {
  .cart__row { grid-template-columns: 64px minmax(0, 1fr) auto; }
  .cart__qty { grid-column: 2 / 4; }
  .cart__remove { grid-row: 1; grid-column: 3; align-self: start; }
  .cart__total { margin-left: 0; width: 100%; }
}

/* ==========================================================================
   Fiyatlar ve koleksiyon filtreleri
   ========================================================================== */

/* --------------------------------------------------------- kart fiyati -- */

.card__price {
  margin-top: .2rem;
  /* Bodoni rakamlarda cok ince kaliyor; fiyatlar sans ile yaziliyor. */
  font-family: var(--sans);
  font-size: 1.02rem;
  font-weight: 500;
  letter-spacing: .01em;
  font-variant-numeric: tabular-nums;
  color: var(--fg);
}
.card__price span { font-family: var(--sans); font-size: .72rem; color: var(--fg-dim); }
.card__price s { font-family: var(--sans); font-size: .8rem; color: var(--fg-dim); margin-left: .3rem; }

/* ------------------------------------------------- urun sayfasi fiyati -- */

.price {
  margin-top: 1.6rem; padding: 1.2rem 1.3rem;
  border-radius: 3px;
  background: color-mix(in srgb, var(--ink-2) 85%, transparent);
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--brass) 28%, transparent) inset;
}
.price__main {
  font-family: var(--sans);
  font-size: clamp(1.5rem, 2.4vw, 1.95rem);
  font-weight: 500;
  letter-spacing: .005em;
  font-variant-numeric: tabular-nums;
  color: var(--brass-hi); line-height: 1.15;
}
.price__unit { font-family: var(--sans); font-size: .85rem; color: var(--thread); }
.price__old { font-family: var(--sans); font-size: 1rem; color: var(--thread); margin-left: .5rem; }
.price__note { margin-top: .2rem; font-size: var(--fs-xs); color: var(--thread); }

.tiers { width: 100%; border-collapse: collapse; margin-top: 1rem; font-size: var(--fs-sm); }
.tiers caption {
  text-align: left; padding-bottom: .5rem;
  font-size: var(--fs-xs); color: var(--thread);
}
.tiers th, .tiers td { padding: .45rem 0; text-align: left; font-weight: 400; }
.tiers td { font-variant-numeric: tabular-nums; font-weight: 500; }
.tiers th { color: var(--thread); }
.tiers td { text-align: right; color: var(--linen); }
.tiers tr + tr th, .tiers tr + tr td {
  border-top: 1px dashed color-mix(in srgb, var(--linen) 14%, transparent);
}

/* ------------------------------------------------------ sepette fiyat -- */

.cart__price { font-size: var(--fs-sm); color: var(--fg-dim); margin-top: .15rem;
                font-variant-numeric: tabular-nums; }
.cart__price strong { color: var(--fg); }
.cart__sum {
  display: block; margin-top: .2rem;
  font-family: var(--sans); font-weight: 500; font-size: 1.15rem;
  font-variant-numeric: tabular-nums; color: var(--accent-hi);
}

/* ----------------------------------------------------------- filtreler -- */

/* Tek satirlik kompakt filtre cubugu */
.sift { margin-bottom: 1.4rem; }

.sift__row {
  display: flex; flex-wrap: wrap; align-items: flex-end; gap: .6rem .8rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--line);
}
.sift__field { display: grid; gap: .25rem; min-width: 0; flex: 0 1 auto; }
.sift__field > span { font-size: .7rem; letter-spacing: .04em; color: var(--fg-dim); }
.sift__field--wide { flex: 1 1 15rem; }
.sift__field--range { flex: 0 1 12rem; }

.sift input[type="search"],
.sift input[type="number"],
.sift select {
  font: inherit; font-size: .92rem;
  padding: .55rem .7rem; border-radius: 2px; width: 100%;
  background: var(--bg); color: var(--fg);
  border: 1px solid color-mix(in srgb, var(--fg) 22%, transparent);
}
.sift input:focus, .sift select:focus { border-color: var(--accent); outline: none; }

.sift__range { display: flex; align-items: center; gap: .4rem; }
.sift__range span { color: var(--fg-dim); }

.sift__check {
  display: flex; align-items: center; gap: .45rem;
  font-size: .82rem; color: var(--fg-dim);
  padding-bottom: .5rem; margin-left: auto; white-space: nowrap;
}
.sift__clear { font-size: .8rem; color: var(--fg-dim); padding-bottom: .55rem; text-decoration: underline; }
.sift__clear:hover { color: var(--accent-hi); }
.sift .btn { margin-bottom: .05rem; }
.sift__check input { width: 17px; height: 17px; accent-color: var(--accent); }

.sift__count { font-size: var(--fs-sm); color: var(--fg-dim); margin-bottom: 1.4rem; }
.sift__count strong { color: var(--fg); }

/* ------------------------------------------------------- urun videosu -- */

.gallery__main video {
  width: 100%; aspect-ratio: 4 / 5; object-fit: cover;
  border-radius: 1px; background: var(--ink);
}

/* Video karesi oynat isaretiyle ayirt edilir */
.gallery__thumbs .thumb--video { position: relative; }
.gallery__thumbs .thumb--video svg {
  position: absolute; inset: 0; margin: auto;
  width: 22px; height: 22px; color: #fff;
  filter: drop-shadow(0 1px 4px rgb(0 0 0 / .6));
  pointer-events: none;
}
.gallery__thumbs .thumb--video::after {
  content: ""; position: absolute; inset: 3px;
  background: rgb(6 11 22 / .32); border-radius: 2px; pointer-events: none;
}

/* ==========================================================================
   Koleksiyon: sol kategori sütunu + sağda ürünler
   ========================================================================== */

.shop {
  display: grid;
  gap: clamp(1.5rem, 3vw, 3rem);
  align-items: start;
}
@media (min-width: 64rem) {
  .shop { grid-template-columns: 210px minmax(0, 1fr); }
}

.shop__side { position: sticky; top: 104px; }
@media (max-width: 64rem) { .shop__side { position: static; } }

.shop__side-title {
  font-family: var(--sans);
  font-size: .78rem;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--fg-dim);
  padding-bottom: .6rem;
  margin-bottom: .7rem;
  border-bottom: 1px solid var(--line);
}
.shop__side-title + * + .shop__side-title,
.shop__cats + .shop__side-title { margin-top: 2rem; }

.shop__cats { list-style: none; margin: 0 0 .5rem; padding: 0; display: grid; gap: .05rem; }
.shop__cats a {
  display: flex; align-items: center; justify-content: space-between; gap: .6rem;
  padding: .42rem 0;
  font-size: .92rem;
  color: color-mix(in srgb, var(--fg) 78%, transparent);
  transition: color .2s var(--ease);
}
.shop__cats a span { font-size: .74rem; color: var(--fg-dim); }
.shop__cats a:hover { color: var(--fg); }
.shop__cats a[aria-current="true"] {
  color: var(--fg);
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-thickness: 1px;
}

/* Bedenler yan yana kutucuk olarak durur */
.shop__cats--inline { display: flex; flex-wrap: wrap; gap: .35rem; }
.shop__cats--inline a {
  justify-content: center; min-width: 2.6rem; padding: .32rem .55rem;
  border: 1px solid color-mix(in srgb, var(--fg) 20%, transparent);
  border-radius: 2px; font-size: .82rem;
}
.shop__cats--inline a:hover { border-color: var(--accent); }
.shop__cats--inline a[aria-current="true"] {
  background: var(--accent); border-color: var(--accent);
  color: var(--ink); text-decoration: none;
}

/* Dar ekranda sol sütun yatay kaydırmalı şeride döner */
@media (max-width: 64rem) {
  .shop__cats:not(.shop__cats--inline) {
    display: flex; overflow-x: auto; gap: .4rem; padding-bottom: .5rem;
    scrollbar-width: thin;
  }
  .shop__cats:not(.shop__cats--inline) a {
    flex: none; padding: .45rem .9rem;
    border: 1px solid color-mix(in srgb, var(--fg) 20%, transparent);
    border-radius: 2px; white-space: nowrap;
  }
  .shop__cats:not(.shop__cats--inline) a[aria-current="true"] {
    background: var(--accent); border-color: var(--accent);
    color: var(--ink); text-decoration: none;
  }
}


/* ==========================================================================
   Ürün kartı — sade: görsel, kod, isim, fiyat.
   Bedenler ve hızlı ekleme sadece üzerine gelince, görselin içinde belirir;
   böylece bütün kartlar aynı yükseklikte kalır.
   ========================================================================== */

.card__shot { display: block; position: relative; }

.card__img {
  width: 100%; aspect-ratio: 4 / 5; object-fit: cover;
  transition: opacity .5s var(--ease);
}

.card__badge {
  position: absolute; top: .7rem; left: .7rem; z-index: 2;
  padding: .22rem .55rem; border-radius: 2px;
  background: var(--danger, #C2504B); color: #fff;
  font-size: .7rem; font-weight: 500; letter-spacing: .03em;
}

/* Uzerine gelince alttan yukselen serit */
.card__reveal {
  position: absolute; inset-inline: 0; bottom: 0; z-index: 2;
  display: grid; gap: .5rem;
  padding: 2.4rem .7rem .7rem;
  background: linear-gradient(to top, rgb(6 11 22 / .9), rgb(6 11 22 / .55) 55%, transparent);
  opacity: 0; transform: translateY(8px);
  transition: opacity .3s var(--ease), transform .3s var(--ease);
  pointer-events: none;
}
.card:hover .card__reveal,
.card:focus-within .card__reveal { opacity: 1; transform: none; pointer-events: auto; }

.card__sizes { display: flex; flex-wrap: wrap; gap: .28rem; }
.card__sizes span {
  padding: .14rem .42rem; border-radius: 2px;
  background: rgb(242 237 227 / .18); color: #F2EDE3; font-size: .7rem;
}

.card__reveal button {
  width: 100%; cursor: pointer;
  padding: .5rem .7rem; border-radius: 2px;
  background: rgb(242 237 227 / .95); color: #0B1424;
  border: 0; font-size: .8rem; font-weight: 500;
  transition: background .2s var(--ease);
}
.card__reveal button:hover { background: var(--brass); }

/* --------------------------------------------------------------- govde */

.card__body { display: grid; gap: .18rem; padding-top: .85rem; }
.card__price {
  font-family: var(--sans);
  font-size: 1rem; font-weight: 500;
  font-variant-numeric: tabular-nums;
  color: var(--fg);
}
.card__price span { font-size: .72rem; font-weight: 300; color: var(--fg-dim); margin-left: .25rem; }
.card__price s { font-size: .8rem; font-weight: 300; color: var(--fg-dim); margin-left: .35rem; }

/* Dokunmatik ekranda hover yok: serit hep acik ama sade dursun */
@media (hover: none) {
  .card__reveal {
    opacity: 1; transform: none; pointer-events: auto;
    padding-top: 1.6rem;
  }
  .card__reveal button { display: none; }
}

/* ==========================================================================
   Ürün sayfası — tek ekranda dursun
   Galeri viewport yüksekliğiyle sınırlanır, künye iki kolona bölünür,
   fiyat kademeleri katlanır. Böylece asıl işlem (beden + adet + sipariş)
   kaydırmadan görünür.
   ========================================================================== */

.gallery__main img,
.gallery__main video {
  aspect-ratio: auto;
  height: min(68svh, 700px);
  width: 100%;
  object-fit: cover;
}

.gallery__thumbs button { flex-basis: 66px; }
.gallery__thumbs img { aspect-ratio: 4 / 5; }

.product__name { font-size: clamp(1.7rem, 3vw, 2.5rem); margin-top: .35rem; }
.product__desc { margin-top: .8rem; font-size: var(--fs-sm); line-height: 1.6; }

/* Fiyat bloğu daha derli toplu */
.price { margin-top: 1.1rem; padding: .9rem 1.05rem; }
.price__main { font-size: clamp(1.35rem, 2.1vw, 1.7rem); }

.tiers-wrap { margin-top: .6rem; }
.tiers-wrap summary {
  cursor: pointer; font-size: var(--fs-xs); color: var(--thread);
  padding: .15rem 0;
}
.tiers-wrap[open] summary { margin-bottom: .2rem; }
.tiers { margin-top: 0; }
.tiers th, .tiers td { padding: .32rem 0; font-size: var(--fs-sm); }

/* Künye iki kolon */
.spec { margin-top: 1.2rem; }
@media (min-width: 46rem) {
  .spec { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 1.8rem; }
}
.spec__row { padding: .55rem 0; grid-template-columns: minmax(92px, .5fr) minmax(0, 1fr); }

/* Beden seçici ve sipariş bloğu sıkı */
.picker { margin-top: 1.2rem; padding: 1rem 1.1rem; gap: .9rem; }
.picker__legend { margin-bottom: .55rem; }
.size { min-width: 4rem; padding: .45rem .65rem; }
.picker__qty input { padding: .5rem .7rem; }

.order { margin-top: 1rem; padding: 1rem 1.1rem; gap: .55rem; }
.order .btn--lg { padding: .85rem 1.4rem; }
.order__note { margin-top: .1rem; }

@media (max-width: 64rem) {
  .gallery__main img, .gallery__main video { height: auto; aspect-ratio: 4 / 5; }
}

/* Ürün sayfasında üst boşluk kısaltılır; sipariş bölümü ekrana sığsın. */
.page-head--tight { padding-block: calc(82px + 1.4rem) .8rem; }
@media (min-width: 64rem) {
  .gallery__main img, .gallery__main video { height: min(62svh, 640px); }
}

/* ==========================================================================
   Ürün sayfası — küçük kareler solda, künye katlanabilir bölümlerde
   ========================================================================== */

@media (min-width: 64rem) {
  /* Kucuk kareler buyuk gorselin solunda dikey serit olur */
  .gallery {
    display: grid;
    grid-template-columns: 74px minmax(0, 1fr);
    gap: .6rem;
    align-items: start;
  }
  .gallery__main { grid-column: 2; grid-row: 1; }
  .gallery__thumbs {
    grid-column: 1; grid-row: 1;
    flex-direction: column;
    margin-top: 0;
    max-height: min(62svh, 640px);
    overflow-y: auto;
    scrollbar-width: thin;
  }
  .gallery__thumbs button { flex: 0 0 auto; width: 100%; }
}

/* ---------------------------------------------------- katlanır bölümler */

.facts {
  border-bottom: 1px solid var(--line);
}
.facts:first-of-type { border-top: 1px solid var(--line); }

.facts > summary {
  cursor: pointer; list-style: none;
  display: flex; align-items: center; justify-content: space-between;
  padding: .95rem 0;
  font-size: .84rem; font-weight: 500;
  letter-spacing: .06em; text-transform: uppercase;
  color: var(--linen);
}
.facts > summary::-webkit-details-marker { display: none; }
.facts > summary::after {
  content: ""; flex: none;
  width: 9px; height: 9px; margin-left: 1rem;
  border-right: 1px solid currentColor; border-bottom: 1px solid currentColor;
  transform: rotate(45deg) translate(-2px, -2px);
  transition: transform .25s var(--ease);
  color: var(--thread);
}
.facts[open] > summary::after { transform: rotate(-135deg) translate(-3px, -3px); }
.facts > summary:hover { color: var(--brass-hi); }

.facts .spec { margin: 0 0 1rem; }
.facts__text {
  padding-bottom: 1.1rem;
  font-size: var(--fs-sm); line-height: 1.65;
  color: color-mix(in srgb, var(--linen) 76%, transparent);
  max-width: 52ch;
}

/* Künye tek kolona döner: katlanır bölüm zaten dar */
@media (min-width: 46rem) {
  .facts .spec { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 1.6rem; }
}

/* Sipariş bölümü künyeden önce geldiği için üst boşluğu sıfırlanır */
.product__info .picker { margin-top: 1.4rem; }
.product__info .order { margin-bottom: 1.6rem; }

/* ==========================================================================
   Koleksiyon başlığı — tek satırlık kompakt şerit
   Eskiden dev başlık + ayraç + paragraf üst üste geliyordu; artık başlık
   solda, özet sağda, aynı hizada duruyor.
   ========================================================================== */

.shop-head {
  padding-block: calc(82px + 1.3rem) 1.1rem;
}
.shop-head .crumb { margin-bottom: .7rem; }

.shop-head__row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem 2.5rem;
  flex-wrap: wrap;
  padding-bottom: 1.1rem;
  border-bottom: 1px solid color-mix(in srgb, var(--linen) 14%, transparent);
}

.shop-head__title {
  font-size: clamp(1.55rem, 2.6vw, 2.2rem);
  letter-spacing: -.015em;
}

.shop-head__note {
  max-width: 56ch;
  font-size: var(--fs-sm);
  color: var(--thread);
}
.shop-head__note span {
  display: inline-block;
  margin-left: .55rem;
  padding-left: .7rem;
  border-left: 1px solid color-mix(in srgb, var(--brass) 45%, transparent);
  color: var(--brass-hi);
}

@media (max-width: 46rem) {
  .shop-head__note { max-width: none; }
  .shop-head__note span { display: block; margin: .4rem 0 0; padding: 0; border: 0; }
}

/* Koleksiyon ızgarasının üst boşluğu, başlık şeridi zaten ayırdığı için kısa. */
.section:has(.shop) { padding-block: clamp(1.6rem, 3vw, 2.6rem) var(--pad-section); }

/* ==========================================================================
   Dar ekranda üst bar
   Logo yazısı + sepet + WhatsApp + hamburger yan yana sığmıyordu; hamburger
   dışarı taşıyordu. Yüzen WhatsApp düğmesi zaten olduğu için üstteki
   kopyası kaldırılır, logo ve düğmeler küçülür.
   ========================================================================== */

@media (max-width: 46rem) {
  .topbar__inner { min-height: 68px; gap: .6rem; }
  .topbar__end { gap: .45rem; }
  .brand { gap: .45rem; }
  .brand__mark { height: 36px; }
  .brand__word { height: 17px; }
  .topbar__wa { display: none; }
  .topbar__cart, .menu-btn { width: 36px; height: 36px; }
}

/* Çok dar telefonlarda yalnızca amblem kalır */
@media (max-width: 22rem) {
  .brand__word { display: none; }
}

/* ==========================================================================
   Dil seçici ve Arapça (RTL) düzeni
   ========================================================================== */

.langs { display: flex; align-items: center; gap: .05rem; }
.langs a {
  padding: .3rem .4rem;
  font-family: var(--f-ui, inherit);
  font-size: .6875rem;
  font-weight: 500;
  letter-spacing: .12em;
  color: color-mix(in srgb, currentColor 62%, transparent);
  text-decoration: none;
  transition: color .15s;
}
.langs a:hover { color: currentColor; }
.langs a[aria-current="true"] { color: var(--brass-hi); }
.drawer .langs { margin-top: 1rem; }

@media (max-width: 46rem) {
  .topbar__end .langs { display: none; }
}

/* Arapça sağdan sola akar; yön bağlı yerleşimler aynalanır. */
[dir="rtl"] .skip { left: auto; right: 1rem; }
[dir="rtl"] .drawer { margin: 0 auto 0 0; }
[dir="rtl"] .topbar__cart[data-count]::after { right: auto; left: -.45rem; }
[dir="rtl"] .strip__item + .strip__item { border-left: 0; border-right: 1px solid var(--line, currentColor); }
[dir="rtl"] .card__badge { left: auto; right: 0; }
[dir="rtl"] .notice { border-left: 0; border-right: 3px solid var(--brass); }
[dir="rtl"] .stitch { transform: scaleX(-1); }
