/* ============================================================
   Luna — Storefront Stylesheet
   ============================================================ */

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: hidden; }
body {
  font-family: var(--font-body);
  font-size: var(--fs-base);
  line-height: 1.55;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, picture, svg { display: block; max-width: 100%; -webkit-user-drag: none; user-drag: none; }
a { color: inherit; text-decoration: none; -webkit-user-drag: none; user-drag: none; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
input, select { font: inherit; }
ul { list-style: none; padding: 0; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }

.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.eyebrow {
  font-family: var(--font-display);
  font-size: var(--fs-xs);
  letter-spacing: var(--tracking-wider);
  text-transform: uppercase;
  color: var(--ink-2);
  font-weight: 600;
}
.section { padding-block: clamp(48px, 7vw, 100px); }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------- Announcement bar (moving marquee) ---------- */
.topbar {
  height: var(--topbar-h);
  background: var(--bg-dark);
  color: var(--on-dark);
  display: flex;
  align-items: center;
  font-family: var(--font-display);
  font-size: var(--fs-xxs);
  letter-spacing: var(--tracking-wider);
  text-transform: uppercase;
  overflow: hidden;
}
.topbar__track {
  display: flex;
  flex: none;
  width: max-content;
  animation: ticker 48s linear infinite;
}
.topbar__msg { white-space: nowrap; padding: 0 2.4rem; position: relative; }
.topbar__msg::after {
  content: ''; position: absolute; right: -10px; top: 50%;
  transform: translateY(-50%); width: 20px; height: 12px;
  background: url('../images/velanzo-v-mark.svg') center / contain no-repeat; opacity: .85;
}
.topbar__link { color: inherit; text-decoration: none; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ---------- Header ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 60;
  height: var(--header-h);
  background: var(--bg);
  border-bottom: 1px solid var(--line);
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.header__inner {
  height: 100%;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
}
.header__left { display: flex; align-items: center; gap: 1.25rem; }
.header__right { display: flex; align-items: center; justify-content: flex-end; gap: 0.35rem; }

/* Overlay-over-hero layering: opaque marquee pinned on top, header below it.
   On scroll the marquee slides away and the (now solid) header docks to top. */
.has-overlay-header .topbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 70;
  transition: transform var(--dur) var(--ease);
}
.has-overlay-header .header {
  position: fixed; top: var(--topbar-h); left: 0; right: 0; z-index: 60;
}
.has-overlay-header.nav-solid .topbar { transform: translateY(-100%); }
.has-overlay-header.nav-solid .header { top: 0; }

/* Transparent look while over the hero */
.header--overlay {
  background: transparent;
  border-color: transparent;
  color: var(--on-dark);
}
.header--overlay .logo,
.header--overlay .nav__link,
.header--overlay .iconbtn { color: var(--on-dark); }
.header--overlay .search { background: rgba(255,255,255,0.12); border-color: rgba(255,255,255,0.35); color: var(--on-dark); }
.header--overlay .search input::placeholder { color: rgba(245,245,244,0.75); }
.header--overlay .search__icon { color: var(--on-dark); }
.header--overlay .logo__o { border-color: var(--on-dark); }

.logo {
  font-family: var(--font-logo);
  font-weight: 600;
  font-size: 2.4rem;
  line-height: 1;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
}
.logo__img {
  height: calc(var(--header-h) - 10px);
  width: auto;
  display: block;
  margin-top: 0;
  transition: height var(--dur) var(--ease), margin-top var(--dur) var(--ease);
}
.header--overlay .logo__img {
  height: calc(var(--header-h) - 6px);
  margin-top: 0;
}
.logo__img--overlay, .logo__img--dark { display: none; }
.header--overlay .logo__img--default { display: none; }
.header--overlay .logo__img--overlay { display: block; }
.logo__word { display: inline-flex; align-items: center; letter-spacing: 0.03em; }
.logo__o {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 0.82em;
  height: 0.82em;
  border: 3px solid var(--ink);
  border-radius: 50%;
  margin-left: 0.03em;
  vertical-align: middle;
}
.logo__o > span:last-child { /* hide the actual "O" glyph */
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
}
.logo__o .moon--o {
  position: absolute;
  width: 72%;
  height: 72%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
  /* Rest inside the O (~5s), then orbit around "LUN" and return. */
  animation: logoOrbit 9s linear infinite;
}
/* 0–55% ≈ 5s at rest; 55–100% ≈ 4s for one true elliptical orbit around
   "LUN" (centre mid-word, rx 1.45em, ry 0.8em, sampled every 20° so the
   path is a genuine curve, not line segments). Timing is linear — the
   keyframe SPACING eases the sweep in and out. scale() fakes depth:
   far side (top) smaller, near side (bottom) larger. */
@keyframes logoOrbit {
  0%, 55% { transform: translate(-50%, -50%) scale(1); }
  59.6% { transform: translate(calc(-50% - 0.087em), calc(-50% - 0.274em)) scale(0.945); }
  63%   { transform: translate(calc(-50% - 0.339em), calc(-50% - 0.514em)) scale(0.897); }
  65.7% { transform: translate(calc(-50% - 0.725em), calc(-50% - 0.693em)) scale(0.861); }
  68%   { transform: translate(calc(-50% - 1.198em), calc(-50% - 0.788em)) scale(0.842); }
  70.1% { transform: translate(calc(-50% - 1.702em), calc(-50% - 0.788em)) scale(0.842); }
  72%   { transform: translate(calc(-50% - 2.175em), calc(-50% - 0.693em)) scale(0.861); }
  73.8% { transform: translate(calc(-50% - 2.561em), calc(-50% - 0.514em)) scale(0.897); }
  75.6% { transform: translate(calc(-50% - 2.813em), calc(-50% - 0.274em)) scale(0.945); }
  77.4% { transform: translate(calc(-50% - 2.9em), -50%) scale(1); }
  79.2% { transform: translate(calc(-50% - 2.813em), calc(-50% + 0.274em)) scale(1.055); }
  81%   { transform: translate(calc(-50% - 2.561em), calc(-50% + 0.514em)) scale(1.103); }
  82.8% { transform: translate(calc(-50% - 2.175em), calc(-50% + 0.693em)) scale(1.139); }
  84.7% { transform: translate(calc(-50% - 1.702em), calc(-50% + 0.788em)) scale(1.158); }
  86.8% { transform: translate(calc(-50% - 1.198em), calc(-50% + 0.788em)) scale(1.158); }
  89.1% { transform: translate(calc(-50% - 0.725em), calc(-50% + 0.693em)) scale(1.139); }
  91.8% { transform: translate(calc(-50% - 0.339em), calc(-50% + 0.514em)) scale(1.103); }
  95.2% { transform: translate(calc(-50% - 0.087em), calc(-50% + 0.274em)) scale(1.055); }
  100%  { transform: translate(-50%, -50%) scale(1); }
}
@media (prefers-reduced-motion: reduce) {
  .logo__o .moon--o { animation: none; }
}

/* Nav */
.nav { display: flex; gap: 2.25rem; }
.nav__link {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--fs-sm);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  padding: 0.35rem 0;
  position: relative;
}
.nav__link::after {
  content: '';
  position: absolute; left: 0; bottom: -0.4rem;
  width: 100%; height: 2px; background: currentColor;
  transform: scaleX(0); transform-origin: left;
  transition: transform var(--dur) var(--ease);
}
.nav__link:hover::after, .nav__link.is-active::after { transform: scaleX(1); }

/* Nav dropdown (Juniors → Boys / Girls) */
.nav__item { position: relative; display: inline-flex; align-items: center; }
.nav__caret { font-size: 0.6em; margin-left: 0.3rem; line-height: 1; opacity: 0.7; }
.nav__drop {
  position: absolute; top: 100%; left: 50%;
  transform: translateX(-50%) translateY(10px);
  min-width: 148px; padding: 0.4rem 0;
  background: var(--bg); border: 1px solid var(--line);
  box-shadow: var(--shadow-2); border-radius: 6px;
  opacity: 0; visibility: hidden;
  transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease);
  z-index: 80;
}
.nav__item:hover .nav__drop,
.nav__item:focus-within .nav__drop {
  opacity: 1; visibility: visible;
  transform: translateX(-50%) translateY(4px);
}
.nav__drop a {
  display: block; padding: 0.55rem 1.2rem;
  font-family: var(--font-display); font-weight: 600; font-size: var(--fs-xs);
  letter-spacing: var(--tracking-wide); text-transform: uppercase;
  color: var(--ink); white-space: nowrap;
  transition: background var(--dur) var(--ease);
}
.nav__drop a:hover { background: var(--bg-muted); }

/* Header icons */
.iconbtn {
  position: relative;
  width: 42px; height: 42px;
  display: inline-grid; place-items: center;
  color: var(--ink);
  border-radius: var(--radius-pill);
  transition: background var(--dur) var(--ease);
}
.iconbtn:hover { background: rgba(0,0,0,0.06); }
.header--overlay .iconbtn:hover { background: rgba(255,255,255,0.14); }
.iconbtn svg { width: 21px; height: 21px; }
.iconbtn__badge {
  position: absolute; top: 4px; right: 4px;
  min-width: 17px; height: 17px; padding: 0 4px;
  background: var(--ink); color: var(--bg);
  font-family: var(--font-display); font-size: 10px; font-weight: 700;
  border-radius: var(--radius-pill);
  display: grid; place-items: center;
  border: 1.5px solid var(--bg);
}
.header--overlay .iconbtn__badge { background: var(--on-dark); color: var(--ink); border-color: transparent; }

/* Search */
.search {
  display: flex; align-items: center; gap: 0.5rem;
  height: 42px; padding: 0 0.9rem;
  border: 1px solid var(--line-2);
  background: var(--bg);
  min-width: 210px;
  transition: all var(--dur) var(--ease);
}
.search__icon { width: 18px; height: 18px; color: var(--ink-2); flex: none; }
.search input {
  border: none; background: none; outline: none; width: 100%;
  font-size: var(--fs-sm); color: inherit;
}
.hamburger { width: 42px; height: 42px; display: none; place-items: center; }
.hamburger svg { width: 22px; height: 22px; }

/* ---------- Hero ---------- */
.hero { position: relative; height: 100svh; min-height: 560px; overflow: hidden; background: var(--bg-muted); }
.hero__slides { height: 100%; }
.hero__slide {
  position: absolute; inset: 0;
  opacity: 0; visibility: hidden;
  transition: opacity 900ms var(--ease);
}
.hero__slide.is-active { opacity: 1; visibility: visible; }
.hero__img { width: 100%; height: 100%; object-fit: cover; }
/* <picture> wrappers (WebP sources) must fill their box, or the image's
   height:100% collapses to its natural height on tall mobile screens. */
.hero__slide > picture, .soon__bg > picture, .split__img > picture { display: block; width: 100%; height: 100%; }
.hero__slide::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.28) 0%, rgba(0,0,0,0.05) 30%, rgba(0,0,0,0.15) 100%);
}
.hero__content {
  position: absolute; inset: 0; z-index: 2;
  display: grid; place-items: center; text-align: center;
  color: #fff; padding: var(--gutter);
}
.hero__eyebrow { color: rgba(255,255,255,0.85); letter-spacing: var(--tracking-wider); margin-bottom: 1rem; }
.hero__title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: var(--fs-hero);
  line-height: 0.98;
  letter-spacing: -0.01em;
  text-shadow: 0 2px 30px rgba(0,0,0,0.25);
}
.hero__cta { margin-top: 2rem; }
.hero__dots {
  position: absolute; bottom: 28px; left: 0; right: 0; z-index: 3;
  display: flex; gap: 10px; justify-content: center;
}
.hero__dot {
  width: 9px; height: 9px; border-radius: 50%;
  background: rgba(255,255,255,0.5);
  transition: all var(--dur) var(--ease);
}
.hero__dot.is-active { background: #fff; width: 26px; border-radius: 6px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  font-family: var(--font-display);
  font-weight: 700; font-size: var(--fs-sm);
  letter-spacing: var(--tracking-wide); text-transform: uppercase;
  padding: 0.95rem 2.2rem;
  background: var(--ink); color: var(--bg);
  border: 1px solid var(--ink);
  transition: all var(--dur) var(--ease);
}
.btn:hover { background: transparent; color: var(--ink); }
.btn svg { width: 1.15rem; height: 1.15rem; flex-shrink: 0; }
.btn--light { background: #fff; color: var(--ink); border-color: #fff; }
.btn--light:hover { background: transparent; color: #fff; }
.btn--outline { background: transparent; color: var(--ink); }
.btn--outline:hover { background: var(--ink); color: var(--bg); }
.btn--block { width: 100%; }
.btn--lg { padding: 0 2.6rem; height: 54px; }

/* ---------- Section heading ---------- */
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; margin-bottom: 2.2rem; flex-wrap: wrap; }
.sec-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: var(--fs-2xl);
  line-height: 1;
  letter-spacing: -0.01em;
  text-transform: uppercase;
}
.sec-link {
  font-family: var(--font-display); font-weight: 700; font-size: var(--fs-sm);
  letter-spacing: var(--tracking-wide); text-transform: uppercase;
  border-bottom: 2px solid var(--ink); padding-bottom: 2px;
}

/* ---------- Marquee strip ---------- */
.strip { background: var(--bg-dark); color: var(--on-dark); overflow: hidden; padding-block: 0.9rem; }
.strip__track { display: flex; gap: 3rem; width: max-content; animation: marquee 52s linear infinite; }
.strip__item { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; letter-spacing: var(--tracking-wide); font-size: var(--fs-md); white-space: nowrap; display: inline-flex; align-items: center; gap: 3rem; }
.strip__item::after { content: ''; width: 34px; height: 20px; flex: none; background: url('../images/velanzo-v-mark.svg') center / contain no-repeat; opacity: .85; }
.strip__link { color: inherit; text-decoration: none; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Category tiles ---------- */
.cat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(10px, 1.4vw, 18px); }
.cat-tile { position: relative; aspect-ratio: 3/4; overflow: hidden; background: var(--bg-muted); display: block; }
.cat-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform 700ms var(--ease); }
.cat-tile:hover img { transform: scale(1.05); }
.cat-tile__label {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
  padding: 1.5rem; color: #fff;
  background: linear-gradient(0deg, rgba(0,0,0,0.55), transparent);
  font-family: var(--font-display); font-weight: 800; text-transform: uppercase;
  font-size: var(--fs-lg); letter-spacing: var(--tracking-wide);
  display: flex; align-items: center; justify-content: space-between;
}
.cat-tile__label span:last-child { transition: transform var(--dur) var(--ease); }
.cat-tile:hover .cat-tile__label span:last-child { transform: translateX(6px); }

/* ---------- Product card ---------- */
.prod {
  display: flex; flex-direction: column;
  position: relative;
}
.prod__media {
  position: relative; aspect-ratio: 3/4; overflow: hidden;
  background: var(--bg-muted); display: block;
}
.prod__img {
  width: 100%; height: 100%; object-fit: cover;
  transition: opacity var(--dur) var(--ease);
}
.prod__img--hover { position: absolute; inset: 0; opacity: 0; }
.prod:hover .prod__img--hover { opacity: 1; }
.prod__badge {
  position: absolute; top: 12px; left: 12px; z-index: 3;
  background: var(--ink); color: var(--bg);
  font-family: var(--font-display); font-weight: 700; font-size: var(--fs-xxs);
  letter-spacing: var(--tracking-wide); text-transform: uppercase;
  padding: 0.3rem 0.6rem;
}
.prod__badge--sale { background: var(--sale); }
.prod__wish {
  position: absolute; top: 10px; right: 10px; z-index: 3;
  width: 38px; height: 38px; display: grid; place-items: center;
  background: rgba(255,255,255,0.85); color: var(--ink);
  border-radius: var(--radius-pill);
  opacity: 0; transform: translateY(-4px);
  transition: all var(--dur) var(--ease); backdrop-filter: blur(4px);
}
.prod:hover .prod__wish { opacity: 1; transform: none; }
.prod__wish svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.prod__wish.is-active { color: var(--sale); }
.prod__wish.is-active svg { fill: currentColor; stroke: currentColor; }
.prod__add {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 3;
  display: flex; align-items: center; justify-content: center; gap: 0.6rem;
  background: #fff; color: var(--ink);
  font-family: var(--font-display); font-weight: 700; font-size: var(--fs-sm);
  letter-spacing: var(--tracking-wide); text-transform: uppercase;
  padding: 0.95rem; border-top: 1px solid var(--line);
  transform: translateY(100%); opacity: 0;
  transition: all var(--dur) var(--ease);
}
.prod__add svg { width: 17px; height: 17px; }
.prod:hover .prod__add { transform: none; opacity: 1; }
.prod__add:hover { background: var(--ink); color: #fff; }
.prod__info { padding: 0.9rem 0.1rem 0; }
.prod__name {
  font-family: var(--font-display); font-weight: 700; font-size: var(--fs-sm);
  text-transform: uppercase; letter-spacing: 0.02em; line-height: 1.3;
}
.prod__sub { color: var(--ink-2); font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: 0.04em; margin-top: 3px; }
.prod__price { margin-top: 0.55rem; display: flex; align-items: baseline; gap: 0.55rem; flex-wrap: wrap; }
.prod__price b { font-family: var(--font-display); font-weight: 700; font-size: var(--fs-base); }
.prod__price del { color: var(--ink-3); font-size: var(--fs-xs); }
.prod__price .off { color: var(--sale); font-family: var(--font-display); font-weight: 700; font-size: var(--fs-xs); }

/* ---------- Product grid ---------- */
.grid-products { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(12px, 1.6vw, 26px) clamp(10px, 1.2vw, 18px); }
.grid-products[data-cols="3"] { grid-template-columns: repeat(3, 1fr); }
.grid-products[data-cols="2"] { grid-template-columns: repeat(2, 1fr); }

/* ---------- Horizontal carousel ---------- */
.carousel { position: relative; }
.carousel__track {
  display: grid; grid-auto-flow: column;
  grid-auto-columns: minmax(230px, 1fr);
  gap: clamp(10px, 1.4vw, 18px);
  overflow-x: auto; scroll-snap-type: x mandatory;
  scrollbar-width: none; padding-bottom: 4px;
}
.carousel__track::-webkit-scrollbar { display: none; }
.carousel__track > * { scroll-snap-align: start; }
.carousel__nav { display: flex; gap: 0.5rem; }
.cbtn { width: 44px; height: 44px; border: 1px solid var(--line-2); display: grid; place-items: center; transition: all var(--dur) var(--ease); }
.cbtn:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.cbtn svg { width: 18px; height: 18px; }

/* ---------- Categories in focus (split) ---------- */
.focus { display: grid; grid-template-columns: 0.9fr 1.4fr; gap: clamp(20px, 3vw, 48px); align-items: stretch; }
.focus__left { position: relative; aspect-ratio: 3/4; overflow: hidden; background: var(--bg-muted); }
.focus__left img { width: 100%; height: 100%; object-fit: cover; }
.focus__tabs { display: flex; flex-direction: column; gap: 0.4rem; margin: 1.6rem 0 2rem; }
.focus__tab {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(1.4rem, 2.4vw, 2rem); text-transform: uppercase; letter-spacing: -0.01em;
  color: var(--ink-3); text-align: left; transition: color var(--dur) var(--ease); width: max-content;
}
.focus__tab.is-active { color: var(--ink); text-decoration: underline; text-underline-offset: 6px; }
.focus__tab:hover { color: var(--ink); }

/* ---------- Lookbook banner ---------- */
.lookbook { position: relative; min-height: 60vh; display: grid; place-items: center; overflow: hidden; color: #fff; text-align: center; }
.lookbook img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.lookbook::after { content: ''; position: absolute; inset: 0; background: rgba(0,0,0,0.32); }
.lookbook__content { position: relative; z-index: 2; padding: var(--gutter); }
.lookbook__title { font-family: var(--font-display); font-weight: 800; font-size: var(--fs-2xl); text-transform: uppercase; line-height: 1; }
.lookbook__text { max-width: 46ch; margin: 1rem auto 2rem; color: rgba(255,255,255,0.9); }

/* ---------- Newsletter ---------- */
.newsletter { background: var(--bg-dark); color: var(--on-dark); }
.newsletter__inner { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 64px); align-items: center; }
/* Let the grid tracks ignore their children's intrinsic min-content (the
   email input + button) so the form can shrink to fit narrow screens. */
.newsletter__inner > * { min-width: 0; }
.newsletter h2 { font-family: var(--font-display); font-weight: 800; font-size: var(--fs-2xl); text-transform: uppercase; line-height: 1; overflow-wrap: break-word; }
.newsletter p { color: rgba(245,245,244,0.7); margin-top: 0.8rem; }
.newsletter__inner { align-items: stretch; }
.newsletter__col h2 { font-size: clamp(1.8rem, 3.6vw, 3.2rem); }
.newsletter__col { display: flex; flex-direction: column; align-items: flex-start; }
.newsletter__col .btn { margin-top: 1.6rem; }
.newsletter__col + .newsletter__col { border-left: 1px solid rgba(255,255,255,0.15); padding-left: clamp(24px, 4vw, 64px); }
.news-form { display: flex; gap: 0; border: 1px solid rgba(255,255,255,0.3); }
/* min-width:0 lets the input shrink below its intrinsic ~20ch size so the
   form never forces its grid track wider than the viewport on small screens. */
.news-form input { flex: 1; min-width: 0; background: transparent; border: none; outline: none; color: #fff; padding: 1.1rem 1.2rem; }
.news-form input::placeholder { color: rgba(245,245,244,0.5); }
.news-form button { padding: 0 1.8rem; background: #fff; color: var(--ink); font-family: var(--font-display); font-weight: 700; text-transform: uppercase; letter-spacing: var(--tracking-wide); font-size: var(--fs-sm); }

/* ---------- Feature row ---------- */
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.feature { display: flex; align-items: center; gap: 0.9rem; padding: 1.6rem 0.5rem; }
.feature svg { width: 26px; height: 26px; flex: none; stroke: var(--ink); }
.feature h4, .feature h3 { font-family: var(--font-display); font-weight: 700; font-size: var(--fs-sm); text-transform: uppercase; letter-spacing: 0.03em; }
.feature p { color: var(--ink-2); font-size: var(--fs-xs); }

/* ---------- Footer ---------- */
.footer { background: var(--bg); border-top: 1px solid var(--line); padding-top: clamp(40px, 6vw, 72px); }
.footer__top { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: clamp(24px, 3vw, 48px); padding-bottom: 3rem; }
.footer__brand .logo { color: var(--ink); }
.footer__brand .logo__img {
  height: clamp(110px, 12vw, 140px);
  margin-top: 0;
}
.footer__brand p { color: var(--ink-2); max-width: 34ch; margin-top: 1rem; font-size: var(--fs-sm); }
.footer__social { display: flex; gap: 0.6rem; margin-top: 1.4rem; }
.footer__social a { width: 40px; height: 40px; border: 1px solid var(--line-2); display: grid; place-items: center; transition: all var(--dur) var(--ease); }
.footer__social a:hover { background: var(--ink); color: #fff; }
.footer__social svg { width: 18px; height: 18px; }
.footer__col h5, .footer__col .footer__h { font-family: var(--font-display); font-weight: 700; font-size: var(--fs-sm); text-transform: uppercase; letter-spacing: var(--tracking-wide); margin-bottom: 1.1rem; }
.footer__col a { display: block; color: var(--ink-2); font-size: var(--fs-sm); padding: 0.35rem 0; transition: color var(--dur) var(--ease); }
.footer__col a:hover { color: var(--ink); }
.footer__bottom { border-top: 1px solid var(--line); padding-block: 1.6rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.footer__bottom p { color: var(--ink-2); font-size: var(--fs-xs); }
.footer__pay { display: flex; gap: 0.5rem; align-items: center; }
.footer__pay span { font-family: var(--font-display); font-weight: 700; font-size: var(--fs-xxs); letter-spacing: 0.06em; color: var(--ink-2); border: 1px solid var(--line-2); padding: 0.3rem 0.5rem; }

/* ---------- Breadcrumb ---------- */
.crumb { display: flex; gap: 0.4rem; font-family: var(--font-display); font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: 0.05em; color: var(--ink-2); padding-block: 1.4rem; }
.crumb a:hover { color: var(--ink); }
.crumb b { color: var(--ink); font-weight: 700; }

/* ---------- Collection toolbar ---------- */
.tabbar { display: flex; gap: 1.6rem; overflow-x: auto; border-bottom: 1px solid var(--line); scrollbar-width: none; }
.tabbar::-webkit-scrollbar { display: none; }
.tab {
  font-family: var(--font-display); font-weight: 700; font-size: var(--fs-sm);
  text-transform: uppercase; letter-spacing: 0.04em; color: var(--ink-2);
  padding: 1rem 0; white-space: nowrap; position: relative;
}
.tab.is-active { color: var(--ink); }
.tab.is-active::after { content: ''; position: absolute; left: 0; bottom: -1px; width: 100%; height: 2px; background: var(--ink); }
.toolbar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: 1.2rem; flex-wrap: wrap; }
.toolbar__count { color: var(--ink-2); font-size: var(--fs-sm); }
.toolbar__right { display: flex; align-items: center; gap: 1rem; }
.select {
  appearance: none; border: 1px solid var(--line-2); background: var(--bg);
  padding: 0.6rem 2.2rem 0.6rem 0.9rem; font-size: var(--fs-sm);
  font-family: var(--font-display); text-transform: uppercase; letter-spacing: 0.03em; font-weight: 600;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2316161a' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 0.7rem center;
}
.layoutbtns { display: flex; gap: 0.3rem; }
.layoutbtns button { width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid var(--line-2); color: var(--ink-2); }
.layoutbtns button.is-active { border-color: var(--ink); color: var(--ink); }
.layoutbtns svg { width: 18px; height: 18px; }

/* ---------- Cart / Wishlist drawer ---------- */
.overlay {
  position: fixed; inset: 0; z-index: 90;
  background: rgba(16,16,18,0.5);
  opacity: 0; visibility: hidden; transition: opacity var(--dur) var(--ease);
}
.overlay.is-open { opacity: 1; visibility: visible; }
.drawer {
  position: fixed; top: 0; right: 0; z-index: 100;
  width: min(430px, 100%); height: 100%;
  background: var(--bg); display: flex; flex-direction: column;
  transform: translateX(100%); transition: transform var(--dur) var(--ease);
  box-shadow: var(--shadow-2);
}
.drawer.is-open { transform: none; }
.drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 1.3rem 1.5rem; border-bottom: 1px solid var(--line); }
.drawer__head h3 { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; letter-spacing: var(--tracking-wide); font-size: var(--fs-md); }
.drawer__body { flex: 1; overflow-y: auto; padding: 1.5rem; }
.drawer__foot { border-top: 1px solid var(--line); padding: 1.5rem; }
.drawer__row { display: flex; justify-content: space-between; margin-bottom: 1rem; font-family: var(--font-display); }
.drawer__row.total { font-weight: 800; font-size: var(--fs-md); text-transform: uppercase; }
.drawer__empty { text-align: center; color: var(--ink-2); padding: 4rem 1rem; }

.cart-item { display: grid; grid-template-columns: 74px 1fr auto; gap: 1rem; padding: 1rem 0; border-bottom: 1px solid var(--line); }
.cart-item__img { aspect-ratio: 3/4; background: var(--bg-muted); overflow: hidden; }
.cart-item__img img { width: 100%; height: 100%; object-fit: cover; }
.cart-item__name { font-family: var(--font-display); font-weight: 700; text-transform: uppercase; font-size: var(--fs-xs); line-height: 1.3; }
.cart-item__meta { color: var(--ink-2); font-size: var(--fs-xs); margin-top: 3px; }
.cart-item__price { font-family: var(--font-display); font-weight: 700; font-size: var(--fs-sm); margin-top: 0.4rem; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line-2); margin-top: 0.5rem; }
.qty button { width: 28px; height: 28px; display: grid; place-items: center; font-size: 1rem; }
.qty span { min-width: 30px; text-align: center; font-size: var(--fs-sm); font-family: var(--font-display); }
.cart-item__remove { color: var(--ink-3); font-size: var(--fs-xs); text-decoration: underline; align-self: start; }

/* ---------- Toast ---------- */
.toast {
  position: fixed; bottom: 24px; left: 50%; transform: translate(-50%, 20px);
  z-index: 120; background: var(--ink); color: var(--bg);
  padding: 0.9rem 1.4rem; font-family: var(--font-display); font-weight: 600;
  font-size: var(--fs-sm); letter-spacing: 0.02em;
  opacity: 0; visibility: hidden; transition: all var(--dur) var(--ease);
  display: flex; align-items: center; gap: 0.6rem;
}
.toast.is-open { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.toast svg { width: 18px; height: 18px; }

/* ---------- Mobile menu ---------- */
.mmenu {
  position: fixed; top: 0; left: 0; z-index: 100;
  width: min(360px, 100%); height: 100%; background: var(--bg);
  transform: translateX(-100%); transition: transform var(--dur) var(--ease);
  display: flex; flex-direction: column; box-shadow: var(--shadow-2);
}
.mmenu.is-open { transform: none; }
.mmenu__head { display: flex; align-items: center; justify-content: space-between; padding: 1.3rem 1.5rem; border-bottom: 1px solid var(--line); }
.mmenu__body { padding: 1rem 1.5rem; }
.mmenu__link { display: flex; align-items: center; justify-content: space-between; font-family: var(--font-display); font-weight: 800; text-transform: uppercase; font-size: 1.4rem; padding: 1rem 0; border-bottom: 1px solid var(--line); }
.mmenu__link--sub { font-size: 1.05rem; font-weight: 600; padding: 0.7rem 0 0.7rem 1.1rem; color: var(--ink-2); }
.mmenu__link svg { width: 20px; height: 20px; flex-shrink: 0; }

/* ---------- Product detail page ---------- */
.pdp { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(24px, 4vw, 64px); padding-block: 2rem; }
.pdp__gallery { display: grid; grid-template-columns: 74px 1fr; gap: 1rem; align-items: start; }
.pdp__thumbwrap { display: flex; flex-direction: column; gap: 0.6rem; min-width: 0; }
/* Strip shows up to 8 thumbs (thumb height = col width * 4/3) before the arrow appears */
.pdp__thumbs { display: flex; flex-direction: column; gap: 0.7rem; max-height: calc((74px * 4 / 3) * 8 + 0.7rem * 7); overflow-y: auto; scrollbar-width: none; }
.pdp__thumbs::-webkit-scrollbar { display: none; }
.pdp__thumb { flex: 0 0 auto; aspect-ratio: 3/4; background: var(--bg-muted); overflow: hidden; border: 1px solid transparent; cursor: pointer; }
.pdp__thumbnav { border: 1px solid var(--line); background: var(--bg); color: var(--ink); display: grid; place-items: center; padding: 0.3rem 0; cursor: pointer; transition: background var(--dur) var(--ease); }
.pdp__thumbnav:hover { background: var(--bg-muted); }
.pdp__thumbnav svg { width: 16px; height: 16px; transform: rotate(90deg); } /* chevron points down the column */
.pdp__thumb.is-active { border-color: var(--ink); }
.pdp__thumb img { width: 100%; height: 100%; object-fit: cover; }
.pdp__main { aspect-ratio: 3/4; background: var(--bg-muted); overflow: hidden; position: relative; touch-action: pan-y; cursor: grab; }
.pdp__main.is-grabbing { cursor: grabbing; }
.pdp__track { display: flex; height: 100%; will-change: transform; }
.pdp__track.is-anim { transition: transform 0.35s cubic-bezier(.22,.61,.36,1); }
.pdp__slide { flex: 0 0 100%; height: 100%; }
.pdp__main img { width: 100%; height: 100%; object-fit: cover; -webkit-user-drag: none; user-select: none; }
.pdp__title { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; font-size: var(--fs-xl); line-height: 1.05; letter-spacing: -0.01em; }
.pdp__sub { color: var(--ink-2); text-transform: uppercase; letter-spacing: 0.05em; font-size: var(--fs-sm); margin-top: 0.5rem; }
.pdp__price { display: flex; align-items: baseline; gap: 0.7rem; margin: 1.3rem 0; }
.pdp__price b { font-family: var(--font-display); font-weight: 800; font-size: var(--fs-lg); }
.pdp__price del { color: var(--ink-3); }
.pdp__price .off { color: var(--sale); font-family: var(--font-display); font-weight: 700; }
.pdp__label { font-family: var(--font-display); font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; font-size: var(--fs-xs); margin-bottom: 0.7rem; display: block; }
.swatches { display: flex; gap: 0.6rem; margin-bottom: 1.6rem; }
.swatch { width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line-2); position: relative; }
.swatch.is-active { box-shadow: 0 0 0 2px var(--bg), 0 0 0 4px var(--ink); }
.sizes { display: flex; gap: 0.5rem; flex-wrap: wrap; margin-bottom: 1.8rem; }
.size { min-width: 48px; height: 46px; padding: 0 0.6rem; border: 1px solid var(--line-2); font-family: var(--font-display); font-weight: 600; font-size: var(--fs-sm); transition: all var(--dur) var(--ease); }
.size:hover { border-color: var(--ink); }
.size.is-active { background: var(--ink); color: #fff; border-color: var(--ink); }
.pdp__actions { display: flex; gap: 0.8rem; margin-bottom: 2rem; }
.pdp__actions .btn { flex: 1; }
.iconbtn--square { width: 54px; height: 54px; border: 1px solid var(--ink); border-radius: 0; flex-shrink: 0; }
.accordion { border-top: 1px solid var(--line); }
.accordion__item { border-bottom: 1px solid var(--line); }
.accordion__head { width: 100%; display: flex; align-items: center; justify-content: space-between; padding: 1.2rem 0; font-family: var(--font-display); font-weight: 700; text-transform: uppercase; letter-spacing: 0.03em; font-size: var(--fs-sm); }
.accordion__head svg { width: 18px; height: 18px; transition: transform var(--dur) var(--ease); }
.accordion__item.is-open .accordion__head svg { transform: rotate(45deg); }
.accordion__body { max-height: 0; overflow: hidden; transition: max-height var(--dur) var(--ease); color: var(--ink-2); font-size: var(--fs-sm); }
.accordion__body p { padding-bottom: 1.2rem; }

/* ---------- Empty page hint ---------- */
.empty-note { text-align: center; color: var(--ink-2); padding: 4rem 1rem; }

/* ---------- Responsive ---------- */
/* Kill accidental sideways scroll on every page (off-canvas drawers/menu,
   reveal transforms, full-bleed media). `clip` on the X axis contains the
   overflow WITHOUT turning html into a scroll container, so the sticky
   header and Y-axis scrolling keep working (unlike `overflow:hidden`). */
html { overflow-x: clip; }

@media (max-width: 1100px) {
  .grid-products { grid-template-columns: repeat(3, 1fr); }
  .focus { grid-template-columns: 1fr; }
  .focus__left { max-height: 60vh; }
}
@media (max-width: 900px) {
  :root { --header-h: 64px; }
  .nav, .search { display: none; }
  .hamburger { display: grid; }
  .header__inner { grid-template-columns: auto 1fr auto; }
  .header__left { gap: 0.5rem; }
  .logo { font-size: 1.85rem; }
  .newsletter__inner { grid-template-columns: 1fr; }
  .newsletter__col + .newsletter__col { border-left: 0; padding-left: 0; border-top: 1px solid rgba(255,255,255,0.15); padding-top: 2rem; }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .pdp { grid-template-columns: 1fr; }
  .pdp__gallery { grid-template-columns: 64px 1fr; }
  .pdp__thumbs { max-height: calc((64px * 4 / 3) * 8 + 0.7rem * 7); }
  .features { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 620px) {
  .grid-products, .grid-products[data-cols="3"] { grid-template-columns: repeat(2, 1fr); }
  .cat-grid { grid-template-columns: 1fr; }
  .sec-title { font-size: 2rem; }
  .footer__top { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
  .prod__add { transform: none; opacity: 1; position: static; border: 1px solid var(--line); }
  .prod__wish { opacity: 1; transform: none; }
  .features { grid-template-columns: 1fr; }
  .pdp__gallery { grid-template-columns: 1fr; }
  .pdp__thumbwrap { flex-direction: row; align-items: stretch; }
  .pdp__thumbs { flex-direction: row; flex: 1; min-width: 0; max-height: none; overflow-x: auto; overflow-y: hidden; }
  .pdp__thumb { flex: 0 0 64px; }
  .pdp__thumbnav { padding: 0 0.35rem; }
  .pdp__thumbnav svg { transform: none; } /* chevron points right along the row */
  .btn { padding: 0.85rem 1.5rem; }
  .btn--lg { padding: 0 1.8rem; height: 54px; }
  .hero__title { font-size: clamp(1.8rem, 10vw, 3rem); word-break: break-word; }
  .lookbook__title { font-size: clamp(1.6rem, 7vw, 2.4rem); word-break: break-word; }
  .mmenu__link { font-size: 1.1rem; padding: 0.85rem 0; }
  .fear-title { font-size: clamp(1.2rem, 5vw, 1.6rem); }
  .toolbar { flex-wrap: wrap; }
  .prod__badge { font-size: 0.6rem; padding: 0.2rem 0.4rem; }
}

/* ============================================================
   Additions: moon-O logo, feature (FEAR-style) grid, coming soon
   — kept in the existing LIGHT theme.
   ============================================================ */

/* Mobile-only search icon (full search bar shows on desktop) */
.iconbtn--mobile-search { display: none; }

/* "Soon" tag next to gated nav items */
.soon-tag {
  font-family: var(--font-display); font-weight: 700; font-size: var(--fs-xxs);
  letter-spacing: var(--tracking-wide); text-transform: uppercase;
  background: var(--bg-muted); color: var(--ink-2);
  padding: 0.15rem 0.5rem; border-radius: var(--radius-pill); margin-left: 0.45rem;
}

/* ---------- Feature section head + pill ---------- */
.fear-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.6rem; }
.fear-title { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; letter-spacing: -0.01em; font-size: clamp(1.5rem, 3vw, 2.2rem); }
.pill {
  font-family: var(--font-display); font-weight: 700; text-transform: uppercase;
  letter-spacing: var(--tracking-wide); font-size: var(--fs-xs);
  padding: 0.55rem 1.2rem; border: 1px solid var(--line-2); border-radius: var(--radius-pill);
  transition: all var(--dur) var(--ease);
}
.pill:hover { background: var(--ink); color: #fff; border-color: var(--ink); }

/* ---------- Feature (FEAR-style) product cards — LIGHT ---------- */
.grid-fear { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(12px, 1.5vw, 22px); }
.fcard { display: flex; flex-direction: column; position: relative; }
.fcard__media {
  position: relative; aspect-ratio: 4/5; overflow: hidden;
  border-radius: 12px; background: var(--bg-muted); display: block;
}
.fcard__img { width: 100%; height: 100%; object-fit: cover; transition: opacity var(--dur) var(--ease), transform 800ms var(--ease); }
.fcard__img--hover { position: absolute; inset: 0; opacity: 0; }
.fcard:hover .fcard__img--hover { opacity: 1; }
.fcard:hover .fcard__img { transform: scale(1.03); }
.fcard.is-sold .fcard__img { filter: grayscale(0.3) brightness(0.94); }
.fcard__sold {
  position: absolute; top: 12px; left: 12px; z-index: 3;
  background: #fff; color: var(--ink);
  font-family: var(--font-display); font-weight: 700; font-size: var(--fs-xxs);
  letter-spacing: var(--tracking-wide); text-transform: uppercase;
  padding: 0.35rem 0.7rem; border-radius: var(--radius-pill); box-shadow: var(--shadow-1);
}
.fcard__dots { position: absolute; bottom: 12px; left: 0; right: 0; z-index: 3; display: flex; gap: 6px; justify-content: center; }
.fdot { width: 6px; height: 6px; border-radius: 50%; background: rgba(255,255,255,0.6); box-shadow: 0 0 4px rgba(0,0,0,0.35); }
.fdot.is-active { background: #fff; }
.fcard .prod__wish { top: 12px; right: 12px; }
.fcard:hover .prod__wish { opacity: 1; transform: none; }
.fcard__info { padding: 0.9rem 0.2rem 0; }
.fcard__name { display: block; font-family: var(--font-display); font-weight: 700; text-transform: uppercase; letter-spacing: 0.02em; font-size: var(--fs-sm); line-height: 1.3; color: var(--ink); }
.fcard__price { margin-top: 0.4rem; display: flex; align-items: baseline; gap: 0.5rem; }
.fcard__price b { font-family: var(--font-display); font-weight: 700; font-size: var(--fs-base); }
.fcard__price del { color: var(--ink-3); font-size: var(--fs-xs); }

/* ---------- Coming soon page (light) ---------- */
.soon { position: relative; min-height: calc(100vh - var(--header-h) - var(--topbar-h)); display: grid; place-items: center; text-align: center; overflow: hidden; }
.soon__bg { position: absolute; inset: 0; }
.soon__bg img { width: 100%; height: 100%; object-fit: cover; }
.soon__bg::after { content: ''; position: absolute; inset: 0; background: rgba(255,255,255,0.62); }
.soon__content { position: relative; z-index: 2; padding: 3rem var(--gutter); max-width: 620px; color: var(--ink); }
.soon__title { font-family: var(--font-display); font-weight: 900; text-transform: uppercase; font-size: var(--fs-2xl); line-height: 0.95; letter-spacing: -0.01em; }
.soon__text { color: var(--ink-2); margin: 1.2rem auto 2rem; max-width: 46ch; }
.soon__form { display: flex; max-width: 420px; margin: 0 auto; border: 1px solid var(--line-2); background: var(--bg); }
.soon__form input { flex: 1; background: transparent; border: none; outline: none; color: var(--ink); padding: 1rem 1.1rem; }
.soon__form input::placeholder { color: var(--ink-3); }
.soon__form button { padding: 0 1.6rem; background: var(--ink); color: #fff; font-family: var(--font-display); font-weight: 700; text-transform: uppercase; letter-spacing: var(--tracking-wide); font-size: var(--fs-sm); }

/* ---------- Responsive (additions) ---------- */
@media (max-width: 1100px) {
  .grid-fear { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 900px) {
  .iconbtn--mobile-search { display: inline-grid; }
  .grid-fear { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 620px) {
  .fcard .prod__wish { opacity: 1; transform: none; }
}

/* ============================================================
   3D rotating moon (logo "O" + loader) and the loading screen
   ============================================================ */
.moon {
  position: relative;
  display: inline-block;
  border-radius: 50%;
  overflow: hidden;
  vertical-align: middle;
  user-select: none;
  -webkit-user-select: none;
  touch-action: none;

<<<<<<< Updated upstream
  /* Single theme: realistic white moon — neutral lunar greys with a
     sunlit upper-left, a soft terminator, and a gentle moonlight glow. */
  --moon-bg: radial-gradient(circle at 32% 30%, #ffffff 0%, #f1efe9 36%, #d7d3c8 66%, #a5a193 100%);
  --moon-shadow-inset:
    inset -0.16em -0.16em 0.3em rgba(52, 48, 38, 0.45),
    inset 0.05em 0.05em 0.14em rgba(255, 255, 255, 0.9),
    0 0 0 1px rgba(0, 0, 0, 0.05),
    0 0 0.45em rgba(255, 250, 235, 0.85),
    0 0 1.3em rgba(196, 208, 238, 0.5);
  --moon-crater-1: rgba(104, 100, 88, 0.52);
  --moon-crater-2: rgba(104, 100, 88, 0.36);
  --moon-crater-3: rgba(104, 100, 88, 0.46);
  --moon-crater-4: rgba(104, 100, 88, 0.29);
  --moon-crater-5: rgba(104, 100, 88, 0.33);
  --moon-crater-rim: rgba(255, 255, 255, 0.62);
  --moon-mare: rgba(118, 114, 100, 0.26);
  --moon-limb: rgba(78, 72, 55, 0.28);
  --moon-limb-2: rgba(54, 49, 36, 0.5);
=======
  /* White Moon everywhere: cream-white sphere that reads on both light and
     dark backgrounds (the logo "O" sits inside a ring, the footer/hero moons
     carry their own limb shading). */
  --moon-bg: radial-gradient(circle at 32% 30%, #ffffff 0%, #f4eee3 40%, #dfd5be 72%, #c3b8a1 100%);
  --moon-shadow-inset:
    inset -0.16em -0.16em 0.3em rgba(60, 52, 34, 0.4),
    inset 0.05em 0.05em 0.14em rgba(255, 255, 255, 0.25),
    0 0 0 1px rgba(0, 0, 0, 0.06);
  --moon-crater-1: rgba(120, 108, 86, 0.55);
  --moon-crater-2: rgba(120, 108, 86, 0.40);
  --moon-crater-3: rgba(120, 108, 86, 0.50);
  --moon-crater-4: rgba(120, 108, 86, 0.32);
  --moon-crater-5: rgba(120, 108, 86, 0.35);
  --moon-shading:
    radial-gradient(circle at 30% 26%, rgba(255, 255, 255, 0.20), transparent 42%),
    radial-gradient(circle at 76% 80%, rgba(38, 30, 16, 0.50), transparent 55%);
  --moon-limb: rgba(74, 60, 36, 0.30);
  --moon-limb-2: rgba(52, 42, 24, 0.52);
>>>>>>> Stashed changes

  background: var(--moon-bg);
  box-shadow: var(--moon-shadow-inset);
  transition: background var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}

/* Scrolling crater surface -> continuous axial spin (GPU transform) */
.moon::before {
  content: '';
  position: absolute; top: 0; left: 0; height: 200%; width: 200%;
  /* Layer order: crater pits first (on top), their sunlit rim crescents
     just beneath (offset +1% toward lower-right so only a lit sliver
     shows — concave craters lit from the upper-left), then fine debris,
     then the broad dark maria underneath everything. */
  background-image:
    /* crater pits */
    radial-gradient(circle at 14% 40%, var(--moon-crater-1) 0 5.5%, transparent 6.5%),
    radial-gradient(circle at 30% 20%, var(--moon-crater-2) 0 3%, transparent 4%),
    radial-gradient(circle at 38% 64%, var(--moon-crater-3) 0 4.5%, transparent 5.5%),
    radial-gradient(circle at 47% 37%, var(--moon-crater-4) 0 2.2%, transparent 3.2%),
    radial-gradient(circle at 22% 80%, var(--moon-crater-5) 0 2.8%, transparent 3.8%),
    radial-gradient(circle at 64% 30%, var(--moon-crater-1) 0 4%, transparent 5%),
    radial-gradient(circle at 80% 55%, var(--moon-crater-2) 0 6%, transparent 7%),
    radial-gradient(circle at 58% 76%, var(--moon-crater-3) 0 2.5%, transparent 3.5%),
    radial-gradient(circle at 88% 18%, var(--moon-crater-4) 0 3.2%, transparent 4.2%),
    radial-gradient(circle at 8% 62%, var(--moon-crater-5) 0 2%, transparent 3%),
    /* sunlit rim crescents (offset lower-right of each pit) */
    radial-gradient(circle at 15.1% 41.2%, var(--moon-crater-rim) 0 5.5%, transparent 6.7%),
    radial-gradient(circle at 31.1% 21.1%, var(--moon-crater-rim) 0 3%, transparent 4.2%),
    radial-gradient(circle at 39.1% 65.1%, var(--moon-crater-rim) 0 4.5%, transparent 5.7%),
    radial-gradient(circle at 47.9% 37.9%, var(--moon-crater-rim) 0 2.2%, transparent 3.4%),
    radial-gradient(circle at 22.9% 80.9%, var(--moon-crater-rim) 0 2.8%, transparent 4%),
    radial-gradient(circle at 65% 31%, var(--moon-crater-rim) 0 4%, transparent 5.2%),
    radial-gradient(circle at 81.2% 56.2%, var(--moon-crater-rim) 0 6%, transparent 7.2%),
    radial-gradient(circle at 58.9% 76.9%, var(--moon-crater-rim) 0 2.5%, transparent 3.7%),
    radial-gradient(circle at 88.9% 18.9%, var(--moon-crater-rim) 0 3.2%, transparent 4.4%),
    radial-gradient(circle at 8.8% 62.8%, var(--moon-crater-rim) 0 2%, transparent 3.2%),
    /* fine debris speckle */
    radial-gradient(circle at 50% 55%, var(--moon-crater-4) 0 0.8%, transparent 1.6%),
    radial-gradient(circle at 73% 78%, var(--moon-crater-2) 0 0.7%, transparent 1.4%),
    radial-gradient(circle at 25% 58%, var(--moon-crater-3) 0 0.6%, transparent 1.3%),
    radial-gradient(circle at 68% 8%, var(--moon-crater-5) 0 0.7%, transparent 1.4%),
    /* maria — broad soft dark plains */
    radial-gradient(ellipse 20% 15% at 33% 40%, var(--moon-mare) 0 55%, transparent 85%),
    radial-gradient(ellipse 16% 12% at 70% 60%, var(--moon-mare) 0 55%, transparent 85%),
    radial-gradient(ellipse 12% 9% at 55% 18%, var(--moon-mare) 0 50%, transparent 85%);
  background-size: 50% 50%;
  background-repeat: repeat;
  animation: moonroll 9s linear infinite;
  transition: background-image var(--dur) var(--ease);
}
/* Fixed spherical shading on top (the 3D read) */
.moon::after {
  content: '';
  position: absolute; inset: 0; border-radius: 50%;
  /* Four lighting layers, top to bottom:
     1. specular kiss on the sunlit crest (upper-left)
     2. broad sunlit wash falling off across the day side
     3. terminator — soft day-to-night falloff toward the lower-right
     4. multi-stop limb darkening so surface features fade as the
        sphere curves away from view */
  background:
    radial-gradient(circle at 29% 24%, rgba(255, 255, 255, 0.55), transparent 24%),
    radial-gradient(circle at 33% 28%, rgba(255, 255, 255, 0.25), transparent 58%),
    radial-gradient(circle at 80% 84%, rgba(38, 34, 24, 0.5), transparent 62%),
    radial-gradient(circle at 50% 50%, transparent 44%,
      rgba(78, 72, 55, 0.12) 62%, var(--moon-limb) 82%, var(--moon-limb-2) 98%);
  pointer-events: none;
  transition: background var(--dur) var(--ease);
}
.moon.moon--js-rotate::before {
  animation: none !important;
  transform: translate(calc(var(--moon-tx, 0) * 1%), calc(var(--moon-ty, 0) * 1%)) !important;
}
.moon.is-tilting {
  cursor: grab;
  transition: transform 0.15s ease-out, box-shadow var(--dur) var(--ease) !important;
}
.moon.is-grabbing {
  cursor: grabbing;
  transition: none !important;
}

/* ---------- Real 3D moon (assets/3d/moon.glb via <model-viewer>) ----------
   The GLB canvas sits inside the round .moon wrapper (clipped by its
   border-radius + overflow:hidden, keeping the glow box-shadow). The
   painted CSS surface stays visible as the loading placeholder, then
   fades out shortly after the model fades in. */
.moon--3d model-viewer {
  position: absolute;
  inset: -10%;
  width: 120%;
  height: 120%;
  background: transparent;
  --poster-color: transparent;
  --progress-bar-color: transparent;
  opacity: 0;
  transition: opacity 0.7s var(--ease);
  cursor: grab;
}
.moon--3d.moon--3d-ready model-viewer { opacity: 1; }
.moon--3d.moon--3d-ready::before,
.moon--3d.moon--3d-ready::after {
  opacity: 0;
  transition: opacity 0.4s var(--ease) 0.5s;
}
/* Mini 3D moons (logo "O" + loader): the CSS orbit/roll animations on the
   element drive position, model-viewer only spins the sphere. Clicks pass
   straight through to the logo link — no drag capture, no grab cursor. */
.moon--3d-mini model-viewer {
  pointer-events: none;
  cursor: inherit;
  --poster-color: transparent;
}
@keyframes moonroll { to { transform: translate(-50%, 0); } }

/* ---------- Loading screen ---------- */
.loader {
  position: fixed; inset: 0; z-index: 9999;
  background: #ffffff;
  display: grid; place-items: center;
  transition: opacity 0.35s var(--ease), visibility 0.35s var(--ease);
}
.loader.is-done { opacity: 0; visibility: hidden; }
.loader__crown {
  width: clamp(80px, 20vw, 150px);
  height: auto;
  animation: crownBlink 1.4s ease-in-out infinite;
}
@keyframes crownBlink {
  0%, 100% { opacity: 1; }
  50%      { opacity: 0.15; }
}
@media (prefers-reduced-motion: reduce) {
  .moon::before { animation: none; }
  .loader__crown { animation: none; opacity: 1; }
}

/* Decorative brand moon in the footer */
.footer__moon { margin-top: 2rem; }
.footer__moon .moon { width: 200px; height: 200px; }

/* ============================================================
   Motion FX: scroll reveals + pointer tilt (html.fx set by fx.js)
   ============================================================ */
.fx [data-reveal] {
  opacity: 0;
  transform: perspective(900px) translateY(34px) rotateX(6deg);
  transition: opacity 0.7s var(--ease), transform 0.9s var(--ease);
  will-change: opacity, transform;
}
.fx [data-reveal].in-view {
  opacity: 1;
  transform: perspective(900px) translateY(0) rotateX(0deg);
}
.fx .hero__img, .fx .lookbook > img, .fx .soon__bg img { will-change: transform; }

/* Tilt targets: smooth return, snappy follow while tilting */
.fx .fcard__media, .fx .prod__media, .fx .vcard, .fx .ccard {
  transition: transform 0.55s var(--ease), box-shadow 0.55s var(--ease), opacity 0.7s var(--ease);
  transform-style: preserve-3d;
}
.fx .is-tilting { transition: none !important; box-shadow: var(--shadow-2); z-index: 2; }

/* Floating moon (About / Contact heroes) */
.moon--float { animation: moonfloat 7s ease-in-out infinite; }
@keyframes moonfloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-16px); }
}

/* ============================================================
   About / Contact pages
   ============================================================ */
.page-hero { text-align: center; padding: clamp(48px, 8vw, 104px) var(--gutter) clamp(16px, 3vw, 36px); }
.page-hero__inner { max-width: 760px; margin-inline: auto; }
.page-hero .moon { width: clamp(72px, 9vw, 112px); height: clamp(72px, 9vw, 112px); }
.page-hero__title {
  font-family: var(--font-display); font-weight: 900; text-transform: uppercase;
  font-size: var(--fs-2xl); line-height: 0.95; letter-spacing: -0.01em; margin-top: 1.4rem;
}
.page-hero__sub { color: var(--ink-2); max-width: 54ch; margin: 1rem auto 0; }

/* Split story block */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 72px); align-items: center; }
.split__img { border-radius: 12px; overflow: hidden; aspect-ratio: 4/3; background: var(--bg-muted); }
.split__img img { width: 100%; height: 100%; object-fit: cover; }
.split__body h2 {
  font-family: var(--font-display); font-weight: 800; text-transform: uppercase;
  font-size: var(--fs-xl); line-height: 1.05; margin: 0.6rem 0 1.1rem;
}
.split__body p { color: var(--ink-2); margin-bottom: 1rem; }
.split__body .btn { margin-top: 0.6rem; }

/* Stats band */
.stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem;
  border-block: 1px solid var(--line); padding-block: clamp(28px, 4vw, 52px); text-align: center;
}
.stat b { display: block; font-family: var(--font-display); font-weight: 800; font-size: clamp(1.9rem, 4vw, 3rem); line-height: 1; }
.stat span {
  display: block; margin-top: 0.5rem; color: var(--ink-2);
  font-family: var(--font-display); font-size: var(--fs-xs);
  text-transform: uppercase; letter-spacing: var(--tracking-wide);
}

/* Value cards */
.vcards { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(12px, 1.5vw, 22px); }
.vcard { position: relative; border: 1px solid var(--line); border-radius: 12px; padding: 1.9rem 1.6rem; background: var(--bg); }
.vcard [data-ico] svg { width: 30px; height: 30px; stroke: var(--ink); margin-bottom: 1.1rem; }
.vcard h3 { font-family: var(--font-display); font-weight: 700; text-transform: uppercase; letter-spacing: 0.03em; font-size: var(--fs-sm); }
.vcard p { color: var(--ink-2); font-size: var(--fs-sm); margin-top: 0.5rem; }

/* Contact layout */
.contact-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(24px, 4vw, 64px); align-items: start; }
.contact-form { border: 1px solid var(--line); border-radius: 12px; padding: clamp(20px, 3vw, 40px); background: var(--bg); }
.field { margin-bottom: 1.2rem; }
.input, .textarea {
  width: 100%; border: 1px solid var(--line-2); background: var(--bg);
  padding: 0.95rem 1rem; font: inherit; color: var(--ink);
  transition: border-color var(--dur) var(--ease);
}
.input:focus, .textarea:focus { outline: none; border-color: var(--ink); }
.textarea { min-height: 150px; resize: vertical; }
.ccards { display: grid; gap: 14px; }
.ccard {
  position: relative; display: flex; gap: 1rem; align-items: flex-start;
  border: 1px solid var(--line); border-radius: 12px; padding: 1.4rem; background: var(--bg);
}
.ccard [data-ico] { flex: none; }
.ccard [data-ico] svg { width: 24px; height: 24px; stroke: var(--ink); margin-top: 2px; }
.ccard h4, .ccard h3 { font-family: var(--font-display); font-weight: 700; text-transform: uppercase; letter-spacing: 0.03em; font-size: var(--fs-sm); }
.ccard p { color: var(--ink-2); font-size: var(--fs-sm); margin-top: 0.25rem; }

@media (max-width: 900px) {
  .split, .contact-grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .vcards { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 620px) {
  .vcards { grid-template-columns: 1fr; }
}

/* ---------- WhatsApp Floating Action Button ---------- */
.wa-fab {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 9999;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: #25d366;
  color: #fff;
  border-radius: 999px;
  padding: 0 12px;
  width: 56px;
  height: 56px;
  box-shadow: 0 4px 18px rgba(37, 211, 102, 0.45), 0 2px 8px rgba(0,0,0,0.12);
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--fs-sm);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
  overflow: hidden;
  transition: width 380ms var(--ease), opacity 380ms var(--ease), box-shadow 260ms var(--ease);
}
/* Hide WhatsApp FAB when loader is active */
.loader:not(.is-done) ~ .wa-fab,
.drawer.is-open ~ .wa-fab,
.mmenu.is-open ~ .wa-fab {
  opacity: 0;
  pointer-events: none;
}
.wa-fab:hover {
  width: 190px;
  box-shadow: 0 6px 28px rgba(37, 211, 102, 0.55), 0 4px 14px rgba(0,0,0,0.16);
}
.wa-fab__icon {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
}
.wa-fab__label {
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity 260ms var(--ease) 60ms, transform 260ms var(--ease) 60ms;
  pointer-events: none;
}
.wa-fab:hover .wa-fab__label {
  opacity: 1;
  transform: translateX(0);
}

/* Pulse ring animation on the FAB */
.wa-fab::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 999px;
  box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.55);
  animation: wa-pulse 2.4s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}
@keyframes wa-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.55); }
  60%  { box-shadow: 0 0 0 14px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

@media (max-width: 620px) {
  .wa-fab { bottom: 20px; right: 18px; height: 50px; width: 50px; padding: 0 10px; }
  .wa-fab:hover { width: 50px; }
  .wa-fab__label { display: none; }
}

/* ---------- Category Navigation ---------- */
.cat-nav {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  margin: 3rem 0 1rem;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
}
.cat-nav__btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 500;
  min-width: 140px;
}
.cat-nav__btn svg {
  width: 1.2rem;
  height: 1.2rem;
}
@media (max-width: 620px) {
  .cat-nav {
    flex-direction: column;
    gap: 1rem;
  }
  .cat-nav__btn {
    width: 100%;
    justify-content: center;
  }
}

/* ---------- Quotation dialog ---------- */
.quote { border: none; padding: 0; margin: auto; overflow: auto; width: min(520px, calc(100vw - 32px)); max-height: 90vh; background: #fff; color: #111; }
.quote::backdrop { background: rgba(0,0,0,.55); }
.quote__form { padding: clamp(20px, 4vw, 32px); display: flex; flex-direction: column; gap: 12px; }
.quote__head { display: flex; align-items: center; justify-content: space-between; }
.quote__head h3 { margin: 0; font-size: 1.3rem; }
.quote__head .iconbtn { font-size: 1.6rem; line-height: 1; background: none; border: 0; cursor: pointer; }
.quote__sub { margin: 0 0 4px; color: #666; font-size: .9rem; }
.quote__err { color: #c0392b; margin: 0; font-size: .9rem; }
.quote__hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

.footer__contact p { color: var(--ink-2); font-size: var(--fs-sm); line-height: 1.6; margin: 0.35rem 0 0.6rem; }

/* Size chart */
.pdp__sizehead { display: flex; justify-content: space-between; align-items: baseline; }
.pdp__sclink { background: none; border: 0; padding: 0; font: inherit; text-decoration: underline; cursor: pointer; color: var(--ink); }
.sc-dialog { border: 0; padding: 0; width: min(560px, calc(100vw - 32px)); max-height: calc(100vh - 48px); margin: auto; overflow: auto; background: #fff; color: #111; border-radius: 12px; }
.sc-dialog::backdrop { background: rgba(0,0,0,.5); }
.sc-dialog__head { display: flex; justify-content: space-between; align-items: center; padding: 1rem 1.2rem; border-bottom: 1px solid #eee; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; font-size: .85rem; }
.sc-dialog__head button { width: 34px; height: 34px; border: 1px solid #ddd; border-radius: 50%; background: #fff; cursor: pointer; }
.sc-dialog__body { padding: 1.5rem 1.2rem; text-align: center; }
.sc-dialog__body h3 { font-weight: 400; letter-spacing: .15em; text-transform: uppercase; margin-bottom: 1.2rem; }
.sc-scroll { overflow-x: auto; }
.sc-table { border-collapse: collapse; width: 100%; font-size: .85rem; }
.sc-table th, .sc-table td { border: 1px solid #333; padding: .7rem .5rem; text-align: center; }
.sc-table th { font-weight: 600; text-transform: uppercase; font-size: .75rem; letter-spacing: .03em; }
.sc-note { color: #666; font-size: .8rem; margin-top: .8rem; }

.pdp__stock { color: var(--sale); font-weight: 700; text-transform: uppercase; letter-spacing: .05em; font-size: var(--fs-xs); margin: -.3rem 0 1rem; }

.pdp__assure { display: flex; gap: .5rem; align-items: center; color: var(--ink-2); font-size: var(--fs-sm); margin: .9rem 0 0; }
.pdp__assure svg, .co-secure svg { width: 16px; height: 16px; flex: none; }

/* ============================================================
   Theme toggle (header icon + mobile-menu switch)
   ============================================================ */
.theme-toggle .i-sun { display: none; }
:root[data-theme="dark"] .theme-toggle .i-sun { display: block; }
:root[data-theme="dark"] .theme-toggle .i-moon { display: none; }
@media (max-width: 620px) { .header .theme-toggle { display: none; } }

.mmenu__theme { width: 100%; text-align: left; color: var(--ink); }
.switch {
  position: relative; flex: none; width: 42px; height: 24px; border-radius: var(--radius-pill);
  background: var(--line-2); transition: background var(--dur) var(--ease);
}
.switch::after {
  content: ''; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%;
  background: var(--bg); box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3); transition: transform var(--dur) var(--ease);
}
[aria-pressed="true"] .switch { background: var(--ink); }
[aria-pressed="true"] .switch::after { transform: translateX(18px); }

/* Smooth colour change only while switching (never on page load). */
.theme-switching, .theme-switching *, .theme-switching *::before, .theme-switching *::after {
  transition: background-color 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease), fill 0.3s var(--ease) !important;
}

/* ============================================================
   Dark theme overrides
   Most colours come from tokens.css; these fix spots written as
   fixed white/black, so light mode stays exactly as it was.
   ============================================================ */
/* Native fields: replace the browser's grey default (zero specificity,
   so any field that sets its own background still wins). */
:where(:root[data-theme="dark"]) :where(input:not([type="checkbox"]):not([type="radio"]):not([type="range"]), select, textarea) {
  background-color: var(--surface); color: var(--ink);
}

/* Logo in dark mode: white Velanzo logo on solid dark backgrounds (scrolled
   header, footer, menu); the colour badge while the header is transparent. */
:root[data-theme="dark"] .logo__img--default { display: none; }
:root[data-theme="dark"] .logo__img--dark { display: block; }
:root[data-theme="dark"] .header--overlay .logo__img--dark { display: none; }
:root[data-theme="dark"] .header--overlay .logo__img--overlay { display: block; }

/* Hovers and filled (ink) controls */
:root[data-theme="dark"] .iconbtn:hover { background: var(--hover); }
:root[data-theme="dark"] .prod__add:hover,
:root[data-theme="dark"] .cbtn:hover,
:root[data-theme="dark"] .footer__social a:hover,
:root[data-theme="dark"] .size.is-active,
:root[data-theme="dark"] .pill:hover,
:root[data-theme="dark"] .soon__form button,
:root[data-theme="dark"] .acc-tabs button.is-active { color: var(--on-ink); }

/* White chips / buttons on photos or dark bands keep dark text */
:root[data-theme="dark"] .btn--light,
:root[data-theme="dark"] .news-form button,
:root[data-theme="dark"] .header--overlay .iconbtn__badge { color: #16161a; }
:root[data-theme="dark"] .btn--light:hover { color: #fff; }

/* Floating surfaces */
:root[data-theme="dark"] .prod__add,
:root[data-theme="dark"] .fcard__sold,
:root[data-theme="dark"] .btn--google,
:root[data-theme="dark"] .acc-section,
:root[data-theme="dark"] .co-field select,
:root[data-theme="dark"] .co-field input,
:root[data-theme="dark"] .co-field textarea { background: var(--surface); }
:root[data-theme="dark"] .prod__wish { background: var(--glass); }
:root[data-theme="dark"] .soon__bg::after { background: var(--veil); }
:root[data-theme="dark"] .loader { background: var(--bg); }
:root[data-theme="dark"] .overlay { background: rgba(0, 0, 0, 0.62); }

/* Dark bands get a hairline so they separate from the dark page */
:root[data-theme="dark"] .strip,
:root[data-theme="dark"] .newsletter { border-block: 1px solid var(--line); }

/* Quotation + size-chart dialogs */
:root[data-theme="dark"] .quote,
:root[data-theme="dark"] .sc-dialog { background: var(--surface); color: var(--ink); border: 1px solid var(--line); }
:root[data-theme="dark"] .quote::backdrop,
:root[data-theme="dark"] .sc-dialog::backdrop { background: rgba(0, 0, 0, 0.7); }
:root[data-theme="dark"] .quote__sub,
:root[data-theme="dark"] .sc-note { color: var(--ink-2); }
:root[data-theme="dark"] .quote__err { color: var(--sale); }
:root[data-theme="dark"] .sc-dialog__head { border-bottom-color: var(--line); }
:root[data-theme="dark"] .sc-dialog__head button { background: transparent; border-color: var(--line-2); color: var(--ink); }
:root[data-theme="dark"] .sc-table th,
:root[data-theme="dark"] .sc-table td { border-color: var(--line-2); }

/* Account order statuses */
:root[data-theme="dark"] .acc-ok { color: #5cc26b; }
:root[data-theme="dark"] .acc-status { background: var(--bg-muted-2); }
:root[data-theme="dark"] .acc-status--pending   { background: rgba(234, 179, 8, 0.16);  color: #f2c94c; }
:root[data-theme="dark"] .acc-status--confirmed { background: rgba(59, 130, 246, 0.16); color: #7cb3f7; }
:root[data-theme="dark"] .acc-status--shipped   { background: rgba(139, 92, 246, 0.18); color: #b69cf8; }
:root[data-theme="dark"] .acc-status--delivered { background: rgba(34, 197, 94, 0.16);  color: #5cc26b; }
:root[data-theme="dark"] .acc-status--cancelled { background: rgba(239, 68, 68, 0.16);  color: #f2807d; }
/* ---------- Layout stability (CLS) ---------- */
/* Header is injected by JS: reserve its space so content doesn't jump. */
[data-slot="header"]:empty { display: block; height: calc(var(--topbar-h) + var(--header-h)); }
body[data-overlay-header="true"] [data-slot="header"]:empty { height: 0; }
.logo__img { aspect-ratio: auto; }
.prod__media, .fcard__media { aspect-ratio: 3 / 4; }
[data-grid]:empty, [data-related]:empty, [data-new-in]:empty, [data-best]:empty { min-height: 60vh; }
/* Visually hidden but readable by search engines and screen readers */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
/* Larger tap targets for slider dots (visual size unchanged) */
.hero__dot { position: relative; }
.hero__dot::after { content: ""; position: absolute; inset: -8px; }
.hero__dots { gap: 16px; }
.footer__link-btn { background: none; border: 0; padding: 0; font: inherit; color: inherit; cursor: pointer; text-align: left; }
.tabbar:empty { min-height: 53px; }
[data-pdp]:empty { min-height: 100vh; }
.footer__col .footer__link-btn { display: block; color: var(--ink-2); font-size: var(--fs-sm); padding: 0.35rem 0; min-height: 24px; }
.footer__col .footer__link-btn:hover { color: var(--ink); }
.cat-nav:empty { min-height: 2.5rem; }
[data-pdp] { min-height: 60vh; }
