/* Aslı'nın Sabunları — night-atelier showcase */
:root {
  --night: #1A0D1F;       /* stage: deep aubergine */
  --night-2: #26142C;
  --milk: #F3EEF5;        /* showcase floor: lavender milk */
  --milk-2: #E6DCEB;
  --lav: #C9B4D8;         /* accent on dark */
  --ink: #1A0D1F;
  --ink-soft: #64506B;
  --sage: #3F6B3C;        /* buy actions only */
  --sage-2: #2F5530;
  --rose: #B23A44;
  --white: #FFFFFF;

  --display: "Bodoni Moda", "Didot", "Bodoni 72", Georgia, serif;
  --sans: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;

  --t-sm: 0.875rem;
  --t-base: 1.0625rem;
  --t-md: 1.1875rem;
  --t-lg: clamp(1.5rem, 1.2rem + 1vw, 1.9rem);
  --t-xl: clamp(2.4rem, 1.4rem + 3.6vw, 4.6rem);
  --t-hero: clamp(3.6rem, 0.8rem + 12.5vw, 13.5rem);

  --gutter: clamp(16px, 4vw, 48px);
  --max: 1320px;
  --ease-out: cubic-bezier(.16, 1, .3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0; background: var(--milk); color: var(--ink);
  font: 400 var(--t-base)/1.6 var(--sans);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); font-weight: 500; line-height: 1; margin: 0; letter-spacing: -0.02em; font-optical-sizing: auto; }
p, dl, dd { margin: 0; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; border-radius: 4px; }
.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--white); padding: 8px 14px; z-index: 200; }
.skip:focus { left: 8px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 28px; border-radius: 999px; border: 0; cursor: pointer;
  font: 600 0.98rem/1 var(--sans); letter-spacing: 0.01em; text-decoration: none;
  transition: background-color .2s ease, color .2s ease, box-shadow .2s ease, transform .15s ease;
}
.btn:active { transform: scale(.97); }
.btn-buy { background: var(--sage); color: #fff; }
.btn-buy:hover { background: var(--sage-2); }
.btn-line { color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.btn-line:hover { background: var(--ink); color: var(--milk); }
.btn-light { background: var(--milk); color: var(--ink); }
.btn-light:hover { background: var(--white); }
.btn-line-light { color: var(--milk); box-shadow: inset 0 0 0 1px rgba(243,238,245,.5); }
.btn-line-light:hover { box-shadow: inset 0 0 0 1px var(--milk); background: rgba(243,238,245,.08); }
.btn-wide { width: 100%; }

/* Header */
.topbar { position: fixed; inset: 0 0 auto; z-index: 50; color: var(--milk); transition: background-color .35s ease, color .35s ease, box-shadow .35s ease; }
.topbar.is-solid { background: rgba(243,238,245,.86); color: var(--ink); backdrop-filter: blur(14px) saturate(1.2); -webkit-backdrop-filter: blur(14px) saturate(1.2); box-shadow: 0 1px 0 rgba(26,13,31,.08); }
.topbar-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; font-family: var(--display); font-size: 1.25rem; letter-spacing: -0.01em; }
.brand img { width: 40px; height: 40px; border-radius: 50%; }
.nav { display: flex; align-items: center; gap: 30px; font-size: .95rem; font-weight: 500; }
.nav a { text-decoration: none; }
.nav a:not(.nav-shop) { position: relative; }
.nav a:not(.nav-shop)::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .35s var(--ease-out); }
.nav a:not(.nav-shop):hover::after { transform: scaleX(1); transform-origin: left; }
.nav-shop { padding: 11px 20px; border-radius: 999px; box-shadow: inset 0 0 0 1px currentColor; transition: background-color .2s, color .2s; }
.topbar.on-dark:not(.is-solid) .nav-shop:hover { background: var(--milk); color: var(--ink); }
.topbar.is-solid .nav-shop:hover { background: var(--ink); color: var(--milk); }
@media (max-width: 860px) {
  .nav a:not(.nav-shop) { display: none; }
  .brand span { font-size: 1.05rem; }
  .nav-shop { padding: 9px 14px; font-size: .88rem; }
}
.page-product main, .page-404 main { padding-top: 76px; }

/* ---------- Hero: the soap ring ---------- */
.hero {
  position: relative; min-height: 100svh; display: flex; flex-direction: column;
  background: radial-gradient(120% 80% at 50% 45%, #3A1D44 0%, var(--night-2) 38%, var(--night) 72%);
  color: var(--milk); overflow: hidden; isolation: isolate;
  touch-action: pan-y; cursor: grab;
}
.hero.is-grabbing { cursor: grabbing; }
.hero::after { /* grain */
  content: ""; position: absolute; inset: 0; z-index: 30; pointer-events: none; opacity: .14; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)'/%3E%3C/svg%3E");
}
.hero-stage { position: relative; flex: 1; min-height: 520px; display: grid; place-items: center; padding-top: 76px; }
.hero-title {
  position: relative; z-index: 10; text-align: center; pointer-events: none;
  font-size: var(--t-hero); font-weight: 400; line-height: .86; letter-spacing: -0.035em;
  display: flex; flex-direction: column; align-items: center;
  text-shadow: 0 10px 60px rgba(26,13,31,.6);
}
.hero-title span:last-child { margin-left: .9em; }
.ring { position: absolute; inset: 76px 0 0; z-index: auto; }
.ring-item {
  position: absolute; left: 50%; top: 50%;
  width: 120px; aspect-ratio: 1; border-radius: 50%;
  overflow: hidden; background: var(--night-2);
  box-shadow: 0 30px 60px -20px rgba(0,0,0,.7), 0 0 0 1px rgba(255,255,255,.08);
  will-change: transform, opacity; transform: translate(-50%, -50%) scale(0); opacity: 0;
}
.ring-item img { width: 100%; height: 100%; object-fit: cover; pointer-events: none; user-select: none; -webkit-user-drag: none; }
.hero-foot {
  position: relative; z-index: 20; display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px;
  padding-bottom: clamp(28px, 5vh, 56px);
}
.hero-foot p { max-width: 36ch; font-size: var(--t-md); line-height: 1.5; color: rgba(243,238,245,.82); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
@media (prefers-reduced-motion: no-preference) {
  .js .hero-title span { animation: rise 1.4s var(--ease-out) both; }
  .js .hero-title span:last-child { animation-delay: .12s; }
  .js .hero-foot { animation: fade 1.2s ease .7s both; }
  @keyframes rise { from { opacity: 0; transform: translateY(40%); clip-path: inset(0 0 100% 0); } to { clip-path: inset(0 0 -20% 0); } }
  @keyframes fade { from { opacity: 0; transform: translateY(12px); } }
}
@media (max-width: 700px) {
  .hero-stage { min-height: 480px; }
  .hero-title { font-size: 16.5vw; }
  .hero-title span:last-child { margin-left: 0; }
  .hero-foot { flex-direction: column; align-items: flex-start; }
}

/* ---------- Section heads ---------- */
.head-split { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 20px 48px; align-items: end; margin-bottom: clamp(32px, 5vw, 56px); }
.head-split h2 { font-size: var(--t-xl); }
.head-split p { max-width: 44ch; color: var(--ink-soft); font-size: var(--t-md); line-height: 1.55; justify-self: end; }
@media (max-width: 760px) { .head-split { grid-template-columns: 1fr; } .head-split p { justify-self: start; } }

/* ---------- Collections: expanding panels ---------- */
.collections { padding-block: clamp(72px, 10vw, 140px) clamp(56px, 8vw, 110px); }
.panels { display: flex; gap: 12px; height: clamp(440px, 62vh, 620px); }
.panel {
  position: relative; flex: 1 1 0; min-width: 0; border-radius: 22px; overflow: hidden;
  color: var(--milk); text-decoration: none; background: var(--night);
  transition: flex-grow .8s var(--ease-out);
}
.panel img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); transition: transform 1.2s var(--ease-out); }
.panel-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(26,13,31,.1) 30%, rgba(26,13,31,.88) 100%); }
.panel-count { position: absolute; top: 18px; left: 20px; font-size: var(--t-sm); padding: 6px 12px; border-radius: 999px; background: rgba(26,13,31,.45); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); white-space: nowrap; }
.panel-body { position: absolute; left: 0; right: 0; bottom: 0; padding: 24px; display: grid; gap: 10px; }
.panel-title { font-family: var(--display); font-size: clamp(1.4rem, 1rem + 1.2vw, 2.2rem); line-height: 1.05; letter-spacing: -0.015em; }
.panel-desc, .panel-go { max-width: 34ch; opacity: 0; transform: translateY(10px); transition: opacity .4s ease, transform .6s var(--ease-out); }
.panel-desc { color: rgba(243,238,245,.85); font-size: .98rem; line-height: 1.5; }
.panel-go { font-weight: 600; font-size: .95rem; text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1px; }
.panel-desc, .panel-go { max-height: 0; overflow: hidden; }
@media (min-width: 901px) {
  .panel:not(.is-open) .panel-title { writing-mode: vertical-rl; transform: rotate(180deg); white-space: nowrap; font-size: clamp(1.3rem, .9rem + 1vw, 1.9rem); }
  .panel:not(.is-open) .panel-count { opacity: 0; }
  .panel-count { transition: opacity .3s ease; }
}
.panels .panel.is-open .panel-desc, .panels .panel.is-open .panel-go { max-height: 8em; }
.panels .panel.is-open { flex-grow: 3.4; }
.panels .panel.is-open img { transform: scale(1); }
.panels .panel.is-open .panel-desc, .panels .panel.is-open .panel-go { opacity: 1; transform: none; transition-delay: .15s; }
@media (max-width: 900px) {
  .panels {
    height: auto; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
    margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scroll-padding-inline: var(--gutter);
  }
  .panels::-webkit-scrollbar { display: none; }
  .panel { flex: 0 0 min(80vw, 420px); height: min(118vw, 520px); scroll-snap-align: start; }
  .panel img { transform: none; }
  .panel-desc, .panel-go { opacity: 1; transform: none; max-height: none; }
}

/* ---------- New arrivals: horizontal travel while scrolling ---------- */
.arrivals { position: relative; background: var(--night); color: var(--milk); }
.arrivals-sticky { padding-block: clamp(72px, 10vw, 120px); overflow: hidden; }
.arrivals.is-pinned .arrivals-sticky { position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; justify-content: center; padding-block: 92px 32px; }
.arrivals.is-pinned .head-split { margin-bottom: clamp(20px, 3vh, 40px); }
.arrivals .head-split p { color: rgba(243,238,245,.7); }
.arrivals-track {
  list-style: none; margin: 0; display: flex; gap: clamp(16px, 2vw, 28px);
  padding: 0 var(--gutter); padding-left: max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter)));
  will-change: transform;
}
.arrivals:not(.is-pinned) .arrivals-track { overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); scrollbar-width: none; padding-bottom: 8px; }
.arrivals:not(.is-pinned) .arrivals-track::-webkit-scrollbar { display: none; }
.card-tall, .arrivals-end { flex: 0 0 clamp(220px, 24vw, 340px); scroll-snap-align: start; }
.arrivals.is-pinned .card-tall, .arrivals.is-pinned .arrivals-end { flex-basis: min(24vw, 340px, calc((100vh - 330px) * .8)); }
.card-tall .card-media { aspect-ratio: 4 / 5; border-radius: 999px 999px 20px 20px; background: var(--night-2); }
.card-tall .card-price { color: var(--lav); }
.arrivals-end a {
  display: flex; flex-direction: column; justify-content: center; gap: 12px; height: 100%; min-height: 300px; aspect-ratio: 4 / 5;
  padding: 32px; border-radius: 999px 999px 20px 20px; box-shadow: inset 0 0 0 1px rgba(243,238,245,.25);
  text-decoration: none; text-align: center; transition: background-color .3s ease;
}
.arrivals-end a:hover { background: rgba(243,238,245,.06); }
.arrivals-end span:first-child { font-family: var(--display); font-size: var(--t-lg); }
.arrivals-count { color: rgba(243,238,245,.7); font-size: .95rem; }
.arrivals-progress { height: 1px; background: rgba(243,238,245,.15); margin-top: 32px; }

/* ---------- Cards ---------- */
.card a { display: block; text-decoration: none; }
.card-media { position: relative; display: block; aspect-ratio: 1; border-radius: 18px; overflow: hidden; background: var(--milk-2); }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease-out), opacity .45s ease; }
.card-media .alt { position: absolute; inset: 0; opacity: 0; }
.card-peek {
  position: absolute; left: 50%; bottom: 14px; transform: translate(-50%, 8px); opacity: 0;
  background: rgba(243,238,245,.92); color: var(--ink); font-size: .85rem; font-weight: 600;
  padding: 9px 16px; border-radius: 999px; white-space: nowrap; transition: opacity .3s ease, transform .4s var(--ease-out);
}
@media (hover: hover) {
  .card a:hover .card-media img { transform: scale(1.05); }
  .card a:hover .has-alt .alt { opacity: 1; }
  .card a:hover .card-peek { opacity: 1; transform: translate(-50%, 0); }
}
.card-name { display: block; margin-top: 16px; font-weight: 500; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card-price { display: block; margin-top: 6px; font-family: var(--display); font-size: 1.2rem; letter-spacing: -0.01em; }
.card-price s, .info-price s, .qv-price s { opacity: .55; font-family: var(--sans); font-size: .8em; margin-right: 6px; }
.tag { position: absolute; left: 12px; top: 12px; z-index: 2; font-size: .78rem; font-weight: 600; padding: 6px 11px; border-radius: 999px; background: var(--ink); color: #fff; }
.tag-sale { background: var(--rose); }
.card-tall .tag { left: 50%; transform: translateX(-50%); top: 18px; }

/* ---------- Catalog ---------- */
.catalog { padding-block: clamp(72px, 10vw, 140px); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 40px; }
.chip {
  border: 0; cursor: pointer; font: 500 .95rem/1 var(--sans); color: var(--ink);
  background: transparent; box-shadow: inset 0 0 0 1px rgba(26,13,31,.18);
  padding: 13px 18px; border-radius: 999px; min-height: 46px;
  transition: background-color .2s ease, color .2s ease, box-shadow .2s ease;
}
.chip span { opacity: .55; margin-left: 4px; font-variant-numeric: tabular-nums; }
.chip:hover { box-shadow: inset 0 0 0 1px var(--ink); }
.chip[aria-pressed="true"] { background: var(--ink); color: var(--milk); box-shadow: none; }
.grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(36px, 4vw, 56px) clamp(14px, 2vw, 28px); }
@media (max-width: 1040px) { .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 660px)  { .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .card-price { font-size: 1.05rem; } }
.card[hidden] { display: none; }
.grid .card.is-entering { animation: cardIn .6s var(--ease-out) both; animation-delay: calc(var(--d, 0) * 35ms); }
@keyframes cardIn { from { opacity: 0; transform: translateY(18px); } }
.empty { display: grid; gap: 20px; justify-items: start; max-width: 52ch; }

/* ---------- Custom orders ---------- */
.custom { background: var(--night); color: var(--milk); padding-block: clamp(80px, 11vw, 160px); overflow: hidden; }
.custom-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 7vw, 110px); align-items: center; }
.custom-media { position: relative; aspect-ratio: 1 / 1.05; }
.custom-media img { position: absolute; object-fit: cover; box-shadow: 0 40px 80px -30px rgba(0,0,0,.8); }
.cm-0 { width: 62%; height: 74%; left: 0; top: 0; border-radius: 999px 999px 18px 18px; }
.cm-1 { width: 48%; height: 52%; right: 0; top: 18%; border-radius: 18px; }
.cm-2 { width: 40%; height: auto; aspect-ratio: 1; left: 30%; bottom: 0; border-radius: 50%; border: 8px solid var(--night); }
.custom h2 { font-size: var(--t-xl); }
.custom-lead { margin-block: 24px 40px; font-size: var(--t-md); line-height: 1.55; color: rgba(243,238,245,.82); max-width: 42ch; }
.steps { list-style: none; margin: 0 0 40px; padding: 0; counter-reset: s; display: grid; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 64px 1fr; column-gap: 12px; padding-block: 20px; border-top: 1px solid rgba(243,238,245,.16); }
.steps li:last-child { border-bottom: 1px solid rgba(243,238,245,.16); }
.steps li::before { content: counter(s); grid-row: span 2; font-family: var(--display); font-size: 2.2rem; line-height: 1; color: var(--lav); }
.steps strong { font-family: var(--display); font-weight: 500; font-size: var(--t-md); letter-spacing: -0.01em; }
.steps span { color: rgba(243,238,245,.72); margin-top: 4px; }
@media (max-width: 860px) { .custom-in { grid-template-columns: 1fr; } .custom-media { max-width: 480px; } }

/* ---------- Footer ---------- */
.foot { background: var(--milk); padding-top: clamp(72px, 10vw, 128px); overflow: hidden; }
.foot-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: start; }
.foot-lead { font-family: var(--display); font-size: var(--t-lg); line-height: 1.2; letter-spacing: -0.015em; max-width: 22ch; margin-bottom: 28px; }
.foot .btn-light { background: var(--ink); color: var(--milk); }
.foot .btn-light:hover { background: var(--night-2); }
.foot-list { display: grid; }
.foot-list div { display: grid; grid-template-columns: 120px 1fr; gap: 16px; padding-block: 14px; border-top: 1px solid rgba(26,13,31,.12); }
.foot-list dt { color: var(--ink-soft); font-size: var(--t-sm); padding-top: 2px; }
.foot-list a { text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .35s var(--ease-out); }
.foot-list a:hover { background-size: 100% 1px; }
.foot-mark {
  font-family: var(--display); font-weight: 400; letter-spacing: -0.045em; line-height: .8; white-space: nowrap;
  font-size: 11.6vw; text-align: center; margin: clamp(56px, 8vw, 96px) 0 0; color: var(--ink);
  transform: translateY(12%);
}
.foot-base { position: relative; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-block: 20px 28px; font-size: var(--t-sm); color: var(--ink-soft); background: var(--milk); }
@media (max-width: 760px) { .foot-grid { grid-template-columns: 1fr; } .foot-list div { grid-template-columns: 96px 1fr; } }

.wa-float {
  position: fixed; right: 18px; bottom: 18px; z-index: 40;
  width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center;
  background: var(--sage); color: #fff; box-shadow: 0 14px 30px -12px rgba(26,13,31,.7);
  transition: transform .3s var(--ease-out), background-color .2s;
}
.wa-float:hover { background: var(--sage-2); transform: scale(1.06); }

/* ---------- Quick view ---------- */
.qv { padding: 0; border: 0; background: transparent; max-width: min(1040px, calc(100vw - 24px)); width: 100%; max-height: calc(100dvh - 24px); color: var(--ink); overflow: visible; }
.qv::backdrop { background: rgba(26,13,31,.62); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.qv-in { position: relative; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); background: var(--milk); border-radius: 26px; overflow: hidden; max-height: calc(100dvh - 24px); }
.qv[open] .qv-in { animation: qvIn .5s var(--ease-out); }
.qv[open]::backdrop { animation: fade .35s ease; }
@keyframes qvIn { from { opacity: 0; transform: translateY(24px) scale(.98); } }
.qv-media { background: var(--milk-2); display: flex; flex-direction: column; min-height: 0; }
.qv-media > img { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; }
.qv-thumbs { display: flex; gap: 8px; padding: 12px; overflow-x: auto; }
.qv-thumbs button { flex: 0 0 64px; height: 64px; padding: 0; border: 0; border-radius: 12px; overflow: hidden; cursor: pointer; opacity: .6; transition: opacity .2s; background: none; }
.qv-thumbs button[aria-current="true"], .qv-thumbs button:hover { opacity: 1; }
.qv-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.qv-info { padding: clamp(28px, 4vw, 48px); display: flex; flex-direction: column; overflow-y: auto; }
.qv-cat { color: var(--ink-soft); font-size: var(--t-sm); }
.qv-info h2 { font-size: clamp(1.7rem, 1.2rem + 1.6vw, 2.5rem); line-height: 1.05; margin-top: 8px; }
.qv-price { font-family: var(--display); font-size: 1.6rem; margin-top: 18px; display: flex; align-items: baseline; gap: 8px; }
.qv-price s:empty { display: none; }
.qv-out { color: var(--rose); font-weight: 600; margin-top: 8px; }
.qv-desc { margin-top: 18px; color: var(--ink-soft); line-height: 1.6; }
.qv-actions { display: grid; gap: 10px; margin-top: 28px; }
.qv-more { margin-top: 18px; align-self: flex-start; font-weight: 500; text-underline-offset: 5px; }
.qv-close { position: absolute; top: 14px; right: 14px; z-index: 2; width: 44px; height: 44px; border-radius: 50%; border: 0; display: grid; place-items: center; background: rgba(243,238,245,.92); color: var(--ink); cursor: pointer; }
.qv-close:hover { background: var(--white); }
@media (max-width: 760px) {
  .qv { max-height: calc(100dvh - 16px); }
  .qv-in { grid-template-columns: 1fr; overflow-y: auto; border-radius: 22px; }
  .qv-media > img { aspect-ratio: 4 / 3; }
  .qv-info { overflow: visible; }
}

/* ---------- Product page ---------- */
.product { padding-block: 32px 96px; }
.crumbs { font-size: var(--t-sm); color: var(--ink-soft); margin-bottom: 28px; }
.crumbs a { color: var(--ink-soft); text-underline-offset: 4px; }
.product-in { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(28px, 5vw, 80px); align-items: start; }
.gallery-main { aspect-ratio: 1; border-radius: 26px; overflow: hidden; background: var(--milk-2); }
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.thumbs { list-style: none; padding: 0; margin: 14px 0 0; display: flex; flex-wrap: wrap; gap: 10px; }
.thumbs a { display: block; width: 78px; height: 78px; border-radius: 14px; overflow: hidden; outline: 1.5px solid transparent; outline-offset: 3px; }
.thumbs a[aria-current="true"] { outline-color: var(--ink); }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }
.info { position: sticky; top: 108px; }
.info-cat { color: var(--ink-soft); font-size: var(--t-sm); }
.info h1 { font-size: clamp(2rem, 1.4rem + 2.2vw, 3.4rem); line-height: 1.02; margin-top: 10px; }
.info-price { margin-top: 22px; font-family: var(--display); font-size: 2rem; }
.stock-out { margin-top: 14px; color: var(--rose); font-weight: 500; }
.buy { display: grid; gap: 10px; margin-top: 28px; }
.buy-note { margin-top: 14px; font-size: var(--t-sm); color: var(--ink-soft); max-width: 46ch; }
.desc { margin-top: 36px; padding-top: 28px; border-top: 1px solid rgba(26,13,31,.12); max-width: 62ch; line-height: 1.75; color: #3B2A40; }
.related { padding-block: 0 112px; }
.related h2 { font-size: var(--t-lg); margin-bottom: 32px; }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 860px) { .product-in { grid-template-columns: 1fr; } .info { position: static; } .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.notfound { padding-block: 120px; display: grid; gap: 20px; justify-items: start; }
.notfound h1 { font-size: var(--t-xl); }

/* ---------- Info band ---------- */
.band { background: var(--milk); color: var(--ink); overflow: hidden; border-bottom: 1px solid rgba(26,13,31,.1); }
.band-track { display: flex; width: max-content; }
.band-group { display: flex; align-items: center; gap: clamp(20px, 3vw, 40px); padding: clamp(18px, 2.6vw, 28px) clamp(10px, 1.5vw, 20px); flex-shrink: 0; }
.band-group span { font-family: var(--display); font-style: italic; font-size: clamp(1.25rem, 0.9rem + 1.6vw, 2.1rem); letter-spacing: -0.01em; white-space: nowrap; }
.band-group svg { width: clamp(12px, 1.2vw, 16px); height: auto; color: #9C7BB0; flex-shrink: 0; }
@media (prefers-reduced-motion: no-preference) {
  .band-track { animation: band 46s linear infinite; }
  .band:hover .band-track { animation-play-state: paused; }
  @keyframes band { to { transform: translateX(-50%); } }
}

/* ---------- Section headings rise into view ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js [data-reveal] { clip-path: inset(0 0 100% 0); transform: translateY(35%); transition: clip-path 1.1s var(--ease-out), transform 1.1s var(--ease-out); }
  .js [data-reveal].is-in { clip-path: inset(-10% -5% -25% -5%); transform: none; }
}

/* ---------- Show more (mobile catalog) ---------- */
.more { display: flex; justify-content: center; margin-top: 44px; }
.grid.is-limited .card.is-over { display: none; }

/* ---------- Mobile buy bar on product pages ---------- */
.buybar { display: none; }
@media (max-width: 860px) {
  .buybar {
    display: flex; align-items: center; gap: 14px; position: fixed; left: 10px; right: 10px; bottom: 10px; z-index: 45;
    padding: 10px 10px 10px 18px; border-radius: 20px; background: rgba(26,13,31,.94); color: var(--milk);
    backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: 0 18px 40px -16px rgba(26,13,31,.7);
    transform: translateY(140%); transition: transform .45s var(--ease-out);
  }
  .buybar.is-on { transform: none; }
  .buybar-in { flex: 1; min-width: 0; display: grid; }
  .buybar-name { font-size: .85rem; opacity: .75; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .buybar-price { font-family: var(--display); font-size: 1.25rem; }
  .buybar .btn { min-height: 46px; padding: 0 22px; }
  .page-product .wa-float { transition: transform .45s var(--ease-out); }
  .page-product.has-buybar .wa-float { transform: translateY(-78px); }
  .page-product .foot { padding-bottom: 90px; }
}

/* ---------- Mobile hero tuning ---------- */
@media (max-width: 700px) {
  .hero-stage { min-height: 0; }
  .hero-foot p { font-size: 1.05rem; }
  .hero-actions { width: 100%; }
  .hero-actions .btn { flex: 1; padding: 0 12px; white-space: nowrap; font-size: .92rem; }
}
.custom-media { margin-bottom: 12px; }

/* WhatsApp button waits until the hero has scrolled away, so it never covers the hero buttons */
.js .home:not(.past-hero) .wa-float { opacity: 0; transform: scale(.7); pointer-events: none; }
.home .wa-float { transition: opacity .35s ease, transform .45s var(--ease-out), background-color .2s; }
