@import url("https://fonts.googleapis.com/css2?family=Bodoni+Moda:opsz,wght@6..96,400;6..96,500;6..96,600&display=swap");

/* P9 storefront — everything below the hero.
   ADDITIVE ONLY. Every token here is prefixed --s- so nothing the hero's
   styles.css defines is redefined or shadowed. The hero owns --ink/--paper/
   --display/--ui; this file never touches them. */

:root {
  --s-ink: #101010;
  --s-ink-soft: rgba(16, 16, 16, 0.74);
  --s-muted: rgba(16, 16, 16, 0.56);
  --s-paper: #eceae4;
  --s-card: #f7f5f0;
  /* sampled from all seven product shots (#FAF6F5–#FDF9FA): tiles use this so the
     photo background dissolves into the card and the frame reads as a cut-out */
  --s-tile: #fbf7f8;
  --s-line: rgba(16, 16, 16, 0.16);
  --s-line-2: rgba(16, 16, 16, 0.3);

  --s-gold-50: #f8f2e7;
  --s-gold-100: #eee0c4;
  --s-gold-500: #c79a4b;
  --s-gold-600: #b1863c;
  --s-gold-700: #8f6b2f;

  --s-sale: #8e1b2e;
  --s-navy: #1e2a4a;
  --s-burgundy: #7a1f2b;
  --s-grey: #6e6e73;

  --s-r: 14px;
  --s-r-lg: 18px;
  --s-r-sm: 8px;
  --s-shell: 1440px;
  --s-ease: cubic-bezier(0.16, 1, 0.3, 1);

  --s-shadow-card: 0 1px 2px rgba(20, 20, 26, 0.04), 0 8px 24px rgba(20, 20, 26, 0.06);
  --s-shadow-pop: 0 12px 40px rgba(20, 20, 26, 0.12);
  --s-shadow-mega: 0 24px 60px -12px rgba(20, 20, 26, 0.18);

  --s-display: "Bodoni Moda", Didot, "Bodoni MT", "Times New Roman", serif;
  --s-ui: "Helvetica Neue", "Arial Nova", Arial, "Segoe UI", system-ui, sans-serif;

  --s-head-h: 64px;
}

/* NOTE: no `overflow-x: hidden` on html/body — that makes them scroll containers
   and kills the hero's position:sticky stage. body already has overflow-x: clip. */
html {
  scrollbar-gutter: stable;
}

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

.shop {
  font-family: var(--s-ui);
  color: var(--s-ink);
  background: var(--s-paper);
}

.shop img {
  max-width: 100%;
}

:focus-visible {
  outline: 2px solid var(--s-gold-600);
  outline-offset: 2px;
}

::selection {
  background: var(--s-gold-100);
  color: var(--s-ink);
}

@keyframes s-marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.animate-marquee { animation: s-marquee 30s linear infinite; }
.marquee-pause:hover .animate-marquee { animation-play-state: paused; }

@keyframes s-fade-up {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}

/* ------------------------------------------------------------------ layout */

.s-shell {
  margin: 0 auto;
  max-width: var(--s-shell);
  padding: 0 16px;
}
@media (min-width: 640px) { .s-shell { padding: 0 24px; } }
@media (min-width: 1024px) { .s-shell { padding: 0 40px; } }

.s-sec { padding: 48px 0; }
@media (min-width: 1024px) { .s-sec { padding: 64px 0; } }
.s-band { background: var(--s-tile); }
.s-band-line { border-block: 1px solid var(--s-line); }

.s-reveal { opacity: 0; transform: translateY(16px); }
.s-reveal.is-in {
  opacity: 1;
  transform: none;
  transition: opacity 0.6s var(--s-ease), transform 0.6s var(--s-ease);
}

/* ------------------------------------------------------------------- type */

.s-eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--s-gold-700);
}

.s-h {
  margin: 6px 0 0;
  font-family: var(--s-display);
  font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.4rem);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: -0.01em;
}

.s-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
}
.s-head-link {
  flex: none;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--s-ink);
  text-decoration: none;
  border-bottom: 1px solid var(--s-line-2);
  padding-bottom: 2px;
}
.s-head-link:hover { color: var(--s-gold-700); border-color: var(--s-gold-600); }

.s-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--s-muted);
}

/* ---------------------------------------------------------------- buttons */

.s-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 20px;
  border: 1px solid var(--s-ink);
  border-radius: var(--s-r);
  background: var(--s-ink);
  color: #f4f2ec;
  font-family: var(--s-ui);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, transform 0.12s;
}
.s-btn:hover { background: #000; }
.s-btn:active { transform: scale(0.99); }

.s-btn-ghost {
  background: transparent;
  color: var(--s-ink);
}
.s-btn-ghost:hover { background: var(--s-ink); color: #f4f2ec; }

.s-btn-light {
  background: #f4f2ec;
  border-color: #f4f2ec;
  color: var(--s-ink);
}
.s-btn-light:hover { background: var(--s-gold-500); border-color: var(--s-gold-500); color: var(--s-ink); }

.s-btn-sm { min-height: 36px; padding: 0 14px; font-size: 11px; }
.s-btn-block { width: 100%; }

.s-icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--s-ink);
  cursor: pointer;
  position: relative;
}
.s-icon-btn:hover { background: rgba(16, 16, 16, 0.06); }

.s-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 30px;
  padding: 0 12px;
  border: 1px solid var(--s-line);
  border-radius: 999px;
  background: var(--s-card);
  color: var(--s-ink);
  font-size: 12px;
  cursor: pointer;
  transition: border-color 0.16s, background 0.16s;
}
.s-pill:hover { border-color: var(--s-line-2); }
.s-pill.is-on { background: var(--s-ink); border-color: var(--s-ink); color: #f4f2ec; }

/* ------------------------------------------------------------- promo bar */

.s-promo {
  position: relative;
  z-index: 60;
  height: 36px;
  display: flex;
  align-items: center;
  background: var(--s-ink);
  color: rgba(244, 242, 236, 0.92);
  font-size: 12px;
}
.s-promo .s-shell { display: flex; align-items: center; gap: 12px; width: 100%; }
.s-promo-msg {
  flex: 1;
  text-align: center;
  letter-spacing: 0.04em;
  animation: s-promo-in 0.4s var(--s-ease);
}
@keyframes s-promo-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}
.s-promo button {
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  padding: 4px;
  line-height: 0;
  opacity: 0.75;
}
.s-promo button:hover { opacity: 1; }
.s-promo-nav { display: none; }
@media (min-width: 640px) { .s-promo-nav { display: inline-flex; } }

/* ---------------------------------------------------------------- header */

.s-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(236, 234, 228, 0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid transparent;
  transition: box-shadow 0.2s, border-color 0.2s;
}
.s-header.is-stuck {
  box-shadow: var(--s-shadow-card);
  border-bottom-color: var(--s-line);
}
.s-header-row {
  display: flex;
  align-items: center;
  gap: 12px;
  height: var(--s-head-h);
}
@media (min-width: 1024px) { .s-header-row { height: 72px; } }

.s-logo { display: inline-flex; align-items: center; line-height: 0; }
.s-logo img { width: 40px; height: 40px; display: block; }

.s-nav { display: none; }
@media (min-width: 1024px) {
  .s-nav {
    display: flex;
    flex: 1;
    align-items: center;
    justify-content: center;
    gap: clamp(18px, 1.8vw, 34px);
  }
}
.s-nav > div { position: relative; }
.s-nav a {
  display: inline-flex;
  align-items: center;
  height: 72px;
  color: rgba(16, 16, 16, 0.76);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
}
.s-nav a:hover { color: var(--s-ink); }
.s-nav a.is-hot { color: var(--s-sale); }

.s-actions { display: flex; align-items: center; gap: 2px; margin-left: auto; }
.s-action {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--s-ink);
  text-decoration: none;
  cursor: pointer;
  position: relative;
}
.s-action:hover { background: rgba(16, 16, 16, 0.06); }
.s-action span { display: none; }
@media (min-width: 1024px) {
  .s-action { width: 52px; height: 56px; }
  .s-action span { display: block; font-size: 10.5px; letter-spacing: 0.04em; }
}
.s-badge {
  position: absolute;
  right: 2px;
  top: 2px;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--s-sale);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  box-shadow: 0 0 0 2px var(--s-paper);
}

/* tablet second row */
.s-subnav { display: none; border-top: 1px solid var(--s-line); }
@media (min-width: 768px) and (max-width: 1023px) { .s-subnav { display: block; } }
.s-subnav .s-shell { display: flex; justify-content: space-between; gap: 8px; overflow-x: auto; }
.s-subnav a {
  padding: 11px 2px;
  color: rgba(16, 16, 16, 0.76);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
}

.s-burger { display: inline-flex; }
@media (min-width: 1024px) { .s-burger { display: none; } }

/* -------------------------------------------------------------- mega menu */

.s-mega {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  z-index: 45;
  background: var(--s-card);
  border-top: 1px solid var(--s-line);
  box-shadow: var(--s-shadow-mega);
  opacity: 0;
  transform: translateY(8px);
  pointer-events: none;
  transition: opacity 0.2s var(--s-ease), transform 0.2s var(--s-ease);
}
.s-mega.is-open { opacity: 1; transform: none; pointer-events: auto; }
@media (max-width: 767px) { .s-mega { display: none; } }
.s-mega-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  padding: 28px 0 34px;
}
@media (min-width: 1024px) { .s-mega-grid { grid-template-columns: 8fr 4fr; } }
.s-mega-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
@media (max-width: 767px) { .s-mega-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.s-mega-cols h4 { margin: 0 0 12px; }
.s-mega-cols ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.s-mega-cols li a {
  height: auto;
  font-size: 14.5px;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  color: var(--s-ink-soft);
  text-decoration: none;
}
.s-mega-cols li a:hover { color: var(--s-gold-700); }
.s-tag {
  margin-left: 6px;
  padding: 1px 5px;
  border-radius: var(--s-r);
  background: var(--s-gold-100);
  color: var(--s-gold-700);
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.s-mega-promos { display: grid; gap: 14px; align-content: start; }

.s-promo-tile {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  height: 160px;
  padding: 18px;
  overflow: hidden;
  border: 1px solid var(--s-line);
  border-radius: var(--s-r-lg);
  text-decoration: none;
  color: var(--s-ink);
}
.s-promo-tile img {
  position: absolute;
  right: -12%;
  bottom: -6%;
  width: 62%;
  mix-blend-mode: multiply;
  pointer-events: none;
}
.s-promo-tile h5 { margin: 4px 0 2px; font-family: var(--s-display); font-size: 1.25rem; font-weight: 500; }
.s-promo-tile p { margin: 0; font-size: 12.5px; color: var(--s-muted); }
.s-promo-tile em { font-style: normal; margin-top: 10px; font-size: 11px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; }

.t-bone { background: var(--s-tile); }
.t-gold { background: linear-gradient(140deg, #f8f2e7, #eee0c4); }
.t-grey { background: linear-gradient(140deg, #f1f0ee, #dcdad6); }
.t-navy { background: linear-gradient(140deg, #e6e9f0, #ccd3e2); }
.t-burgundy { background: linear-gradient(140deg, #f6e9eb, #e6cdd2); }
.t-ink { background: var(--s-ink); color: #f4f2ec; }
.t-ink p, .t-ink .s-eyebrow { color: rgba(244, 242, 236, 0.7); }

/* ------------------------------------------------------- mobile searchbar */

.s-msearch { padding: 10px 0; }
@media (min-width: 768px) { .s-msearch { display: none; } }
.s-msearch button {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-height: 42px;
  padding: 0 14px;
  border: 1px solid var(--s-line);
  border-radius: var(--s-r);
  background: var(--s-card);
  color: var(--s-muted);
  font-size: 13.5px;
  text-align: left;
  cursor: pointer;
}

/* ---------------------------------------------------------- overlay/drawer */

.s-overlay {
  position: fixed;
  inset: 0;
  z-index: 95;
  background: rgba(16, 16, 16, 0.45);
  backdrop-filter: blur(2px);
  opacity: 0;
  transition: opacity 0.2s;
}
.s-overlay.is-in { opacity: 1; }

.s-drawer {
  position: fixed;
  inset-block: 0;
  z-index: 96;
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 420px;
  background: var(--s-paper);
  box-shadow: var(--s-shadow-pop);
  transition: transform 0.34s var(--s-ease);
}
.s-drawer[data-side="right"] { right: 0; transform: translateX(100%); }
.s-drawer[data-side="left"] { left: 0; transform: translateX(-100%); }
.s-drawer.is-in { transform: none; }

.s-drawer-head {
  position: sticky;
  top: 0;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 18px 18px 14px;
  border-bottom: 1px solid var(--s-line);
  background: var(--s-paper);
}
.s-drawer-head h2 { margin: 0; font-family: var(--s-display); font-size: 1.35rem; font-weight: 500; }
.s-drawer-head p { margin: 2px 0 0; font-size: 12.5px; color: var(--s-muted); }
.s-drawer-body { flex: 1; overflow-y: auto; padding: 18px; }
.s-drawer-foot { border-top: 1px solid var(--s-line); padding: 16px 18px; background: var(--s-card); }

/* -------------------------------------------------------- search overlay */

.s-search-panel {
  position: fixed;
  inset-inline: 0;
  top: 0;
  z-index: 91;
  max-height: 92vh;
  overflow-y: auto;
  background: var(--s-paper);
  box-shadow: var(--s-shadow-pop);
  transform: translateY(-14px);
  opacity: 0;
  transition: transform 0.26s var(--s-ease), opacity 0.26s;
}
.s-search-panel.is-in { transform: none; opacity: 1; }
.s-search-bar { display: flex; align-items: center; gap: 10px; padding: 16px 0; }
.s-search-input {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 46px;
  padding: 0 14px;
  border: 1px solid var(--s-line);
  border-radius: var(--s-r);
  background: var(--s-card);
}
.s-search-input:focus-within { border-color: var(--s-gold-600); box-shadow: 0 0 0 3px var(--s-gold-50); }
.s-search-input input {
  flex: 1;
  border: 0;
  background: transparent;
  font: inherit;
  font-size: 15px;
  color: var(--s-ink);
  outline: none;
}
.s-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.s-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  border: 1px solid var(--s-line);
  border-radius: 999px;
  background: var(--s-card);
  color: var(--s-ink);
  font-size: 12.5px;
  text-decoration: none;
  cursor: pointer;
}
.s-chip:hover { border-color: var(--s-line-2); }
.s-chip button { border: 0; background: transparent; cursor: pointer; line-height: 0; padding: 0; color: inherit; }

/* ----------------------------------------------------------- product card */

.s-card {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--s-line);
  border-radius: var(--s-r-lg);
  background: var(--s-card);
  transition: box-shadow 0.24s, border-color 0.24s;
}
.s-card:hover { box-shadow: var(--s-shadow-card); border-color: var(--s-line-2); }
.s-card[data-layout="list"] { flex-direction: row; }

.s-card-media {
  position: relative;
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--s-tile);
}
.s-card[data-layout="list"] .s-card-media { width: 160px; flex: none; }
@media (min-width: 640px) { .s-card[data-layout="list"] .s-card-media { width: 208px; } }
.s-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s var(--s-ease);
}
.s-card:hover .s-card-media img { transform: scale(1.04); }

.s-badges { position: absolute; left: 10px; top: 10px; display: flex; flex-direction: column; gap: 6px; }
.s-badge-pill {
  padding: 4px 9px;
  border-radius: var(--s-r-sm);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #f4f2ec;
  background: var(--s-ink);
}
.s-badge-pill.is-off { background: var(--s-gold-600); color: #fff; }
.s-badge-pill.is-out { background: var(--s-muted); }

.s-try {
  position: absolute;
  left: 10px;
  bottom: 10px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 11px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(4px);
  font-size: 10.5px;
  font-weight: 600;
  color: var(--s-ink);
}

.s-wish {
  position: absolute;
  right: 10px;
  top: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1px solid var(--s-line);
  border-radius: 999px;
  background: #fff;
  cursor: pointer;
  transition: transform 0.16s;
  color: var(--s-ink);
}
.s-wish:hover { transform: scale(1.05); }
.s-wish[aria-pressed="true"] { color: var(--s-sale); }

.s-quick {
  position: absolute;
  inset-inline: 12px;
  bottom: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  border: 0;
  border-radius: var(--s-r);
  background: rgba(16, 16, 16, 0.9);
  color: #f4f2ec;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.3s, transform 0.3s var(--s-ease);
}
.s-card:hover .s-quick { opacity: 1; transform: none; }
@media (hover: none) { .s-quick { display: none; } }

.s-card-body { display: flex; flex-direction: column; gap: 7px; padding: 14px; flex: 1; }
.s-card-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.s-brand { font-size: 11.5px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--s-muted); }
.s-rate {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 9px;
  border-radius: 999px;
  background: var(--s-gold-50);
  color: var(--s-gold-700);
  font-size: 11px;
  font-weight: 600;
}
.s-card-name {
  margin: 0;
  font-size: 14.5px;
  font-weight: 600;
  line-height: 1.25;
  color: var(--s-ink);
  text-decoration: none;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
a.s-card-name:hover { color: var(--s-gold-700); }
.s-meta { font-size: 12px; color: var(--s-muted); }
.s-swatches { display: flex; align-items: center; gap: 6px; }
.s-swatch { width: 14px; height: 14px; border-radius: 999px; border: 1px solid rgba(0, 0, 0, 0.12); }
.s-price-row { display: flex; align-items: baseline; gap: 8px; }
.s-price { font-size: 15px; font-weight: 700; }
.s-mrp { font-size: 12.5px; color: var(--s-muted); text-decoration: line-through; }
.s-off { font-size: 12px; font-weight: 600; color: var(--s-sale); }
.s-offer { font-size: 12px; color: var(--s-gold-700); }
.s-card-actions { margin-top: auto; display: flex; gap: 8px; padding-top: 4px; }

/* ------------------------------------------------------------ no-photo tile */

.s-nophoto {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  aspect-ratio: 4 / 3;
  padding: 16px;
  border: 1px solid var(--s-line);
  border-radius: var(--s-r-lg);
  text-decoration: none;
  color: var(--s-ink);
  overflow: hidden;
}
.s-nophoto svg { opacity: 0.5; }
.s-nophoto h3 { margin: 0; font-family: var(--s-display); font-size: 1.15rem; font-weight: 500; }
.s-nophoto p { margin: 2px 0 0; font-size: 12px; color: var(--s-muted); }
.s-nophoto em {
  font-style: normal;
  margin-top: 8px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0;
  transition: opacity 0.24s;
}
.s-nophoto:hover em { opacity: 1; }

/* --------------------------------------------------------- home sections */

.s-grid-6 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
@media (min-width: 768px) { .s-grid-6 { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; } }

.s-gender { display: grid; grid-template-columns: 1fr; gap: 12px; }
@media (min-width: 640px) { .s-gender { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.s-gender-card {
  color: var(--s-ink);
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  height: 256px;
  padding: 22px;
  overflow: hidden;
  border-radius: var(--s-r-lg);
  text-decoration: none;
}
@media (min-width: 640px) { .s-gender-card { height: 320px; } }
.s-gender-card h3 { margin: 6px 0 14px; font-family: var(--s-display); font-size: 2rem; font-weight: 500; line-height: 1; }
.s-gender-card.t-ink, .s-gender-card.t-ink h3 { color: #f4f2ec; }
.s-gender-card .s-cta { align-self: flex-start; }
.s-gender-card img { position: absolute; right: -14%; top: 12%; width: 74%; mix-blend-mode: multiply; }

.s-cta {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 18px;
  border-radius: var(--s-r);
  background: #f4f2ec;
  color: var(--s-ink);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: background 0.2s, color 0.2s;
}
a:hover > .s-cta, .s-cta:hover { background: var(--s-gold-500); }

.s-shapes { display: flex; gap: 12px; overflow-x: auto; margin: 0 -16px; padding: 0 16px 4px; scrollbar-width: none; }
.s-shapes::-webkit-scrollbar { display: none; }
@media (min-width: 640px) { .s-shapes { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); margin: 0; padding: 0; } }
.s-shape {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  flex: none;
  width: 96px;
  text-decoration: none;
  color: var(--s-ink);
}
@media (min-width: 640px) { .s-shape { width: auto; } }
.s-shape span:first-child {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border: 1px solid var(--s-line);
  border-radius: 999px;
  background: var(--s-tile);
  transition: border-color 0.2s, background 0.2s;
}
.s-shape:hover span:first-child { border-color: var(--s-ink); background: var(--s-gold-50); }
.s-shape span:last-child { font-size: 12px; letter-spacing: 0.04em; text-align: center; }

.s-rail-wrap { position: relative; }
.s-rail { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 -16px; padding: 0 16px 6px; scrollbar-width: none; }
.s-rail::-webkit-scrollbar { display: none; }
@media (min-width: 1024px) { .s-rail { margin: 0; padding: 0 0 6px; } }
.s-rail > * { flex: none; width: 220px; scroll-snap-align: start; }
@media (min-width: 640px) { .s-rail > * { width: 248px; } }
.s-rail-btn { display: none; }
@media (min-width: 640px) {
  .s-rail-btn {
    position: absolute;
    top: 34%;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1px solid var(--s-line);
    border-radius: 999px;
    background: var(--s-paper);
    cursor: pointer;
    box-shadow: var(--s-shadow-card);
  }
  .s-rail-prev { left: -14px; }
  .s-rail-next { right: -14px; }
}

.s-collections { display: grid; grid-template-columns: 1fr; gap: 14px; }
@media (min-width: 640px) { .s-collections { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; } }
.s-col-card {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 220px;
  padding: 22px;
  border-radius: var(--s-r-lg);
  text-decoration: none;
  color: var(--s-ink);
}
.s-col-card.is-wide { grid-column: span 2; }
@media (max-width: 639px) { .s-col-card.is-wide { grid-column: span 1; } }
.s-col-card h3 { margin: 6px 0 6px; font-family: var(--s-display); font-size: 1.7rem; font-weight: 500; line-height: 1.05; }
.s-col-card p { margin: 0 0 14px; font-size: 13.5px; color: var(--s-muted); max-width: 42ch; }
/* dark tone needs to beat the card's own dark text colour, or it vanishes */
.s-col-card.t-ink,
.s-col-card.t-ink h3 { color: #f4f2ec; }
.s-col-card.t-ink p { color: rgba(244, 242, 236, 0.72); }

.s-services { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (min-width: 1024px) { .s-services { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.s-service {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 20px;
  border: 1px solid var(--s-line);
  border-radius: var(--s-r);
  background: var(--s-card);
  text-decoration: none;
  color: var(--s-ink);
  transition: border-color 0.2s;
}
.s-service:hover { border-color: var(--s-ink); }
.s-service-ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  background: var(--s-gold-50);
  color: var(--s-gold-700);
  transition: background 0.2s, color 0.2s;
}
.s-service:hover .s-service-ico { background: var(--s-ink); color: var(--s-gold-500); }
.s-service h3 { margin: 0; font-size: 15px; font-weight: 700; }
.s-service p { margin: 0; font-size: 13px; color: var(--s-muted); }
.s-service em { font-style: normal; font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; }

.s-editorial { display: grid; grid-template-columns: 1fr; gap: 12px; }
@media (min-width: 1024px) { .s-editorial { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.s-edit-card {
  color: var(--s-ink);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
  min-height: 288px;
  padding: 32px;
  border-radius: var(--s-r-lg);
  text-decoration: none;
}
@media (min-width: 1024px) { .s-edit-card { min-height: 420px; padding: 48px; } }
.s-edit-card h3 { margin: 0; font-family: var(--s-display); font-size: clamp(1.9rem, 1.2rem + 2.4vw, 3rem); font-weight: 500; line-height: 1; }
.s-edit-card p { margin: 0 0 8px; max-width: 40ch; font-size: 14px; }
.s-edit-card.t-ink, .s-edit-card.t-ink h3 { color: #f4f2ec; }

.s-brandlines { display: grid; grid-template-columns: 1fr; gap: 12px; }
@media (min-width: 768px) { .s-brandlines { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.s-brandline {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 28px;
  border: 1px solid var(--s-line);
  border-radius: var(--s-r);
  background: var(--s-card);
  text-decoration: none;
  color: var(--s-ink);
}
.s-brandline h3 { margin: 4px 0 0; font-family: var(--s-display); font-size: 1.8rem; font-weight: 500; }
.s-brandline p { margin: 0; font-size: 13.5px; color: var(--s-muted); }
.s-brandline strong { font-size: 13px; }

.s-eyetest {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  align-items: center;
  padding: 32px;
  border-radius: var(--s-r-lg);
  background: var(--s-ink);
  color: #f4f2ec;
  overflow: hidden;
}
@media (min-width: 768px) { .s-eyetest { grid-template-columns: 1fr 1fr; padding: 44px; } }
.s-eyetest h3 { margin: 6px 0 8px; font-family: var(--s-display); font-size: clamp(1.6rem, 1.1rem + 2vw, 2.6rem); font-weight: 500; line-height: 1.02; }
.s-eyetest p { margin: 0 0 18px; color: rgba(244, 242, 236, 0.72); font-size: 14px; }
.s-eyetest-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.s-eyetest-art {
  border-radius: var(--s-r);
  background: var(--s-tile);
  aspect-ratio: 3 / 2;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.s-eyetest-art img { width: 100%; mix-blend-mode: multiply; }

.s-trust { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
@media (min-width: 640px) { .s-trust { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .s-trust { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
.s-trust-item { display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; }
.s-trust-item span:first-child {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--s-line);
  border-radius: 999px;
  color: var(--s-gold-700);
}
.s-trust-item b { font-size: 12.5px; }
.s-trust-item small { font-size: 11.5px; color: var(--s-muted); }

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

.s-footer { background: var(--s-ink); color: rgba(244, 242, 236, 0.8); }
.s-footer a { color: rgba(244, 242, 236, 0.8); text-decoration: none; }
.s-footer a:hover { color: var(--s-gold-500); }
.s-news { display: grid; gap: 16px; padding: 36px 0; border-bottom: 1px solid rgba(244, 242, 236, 0.14); }
@media (min-width: 768px) { .s-news { grid-template-columns: 1fr 1fr; align-items: center; } }
.s-news h3 { margin: 0 0 4px; font-family: var(--s-display); font-size: 1.6rem; font-weight: 500; color: #f4f2ec; }
.s-news p { margin: 0; font-size: 13.5px; }
.s-news form { display: flex; gap: 8px; }
.s-news input {
  flex: 1;
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid rgba(244, 242, 236, 0.22);
  border-radius: var(--s-r);
  background: transparent;
  color: #f4f2ec;
  font: inherit;
  font-size: 13.5px;
}
.s-foot-main { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; padding: 40px 0; }
@media (min-width: 768px) { .s-foot-main { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .s-foot-main { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
.s-foot-brand { grid-column: span 2; }
.s-foot-brand img { width: 48px; height: 48px; }
.s-foot-brand p { margin: 12px 0 16px; font-size: 13.5px; max-width: 34ch; }
.s-store-badges { display: flex; gap: 8px; }
.s-store-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border: 1px solid rgba(244, 242, 236, 0.24);
  border-radius: var(--s-r);
  font-size: 11px;
}
.s-foot-main h4 { margin: 0 0 12px; font-size: 11.5px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(244, 242, 236, 0.6); }
.s-foot-main ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; font-size: 13.5px; }
.s-foot-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 18px 0 26px;
  border-top: 1px solid rgba(244, 242, 236, 0.14);
  font-size: 12px;
}
.s-socials { display: flex; gap: 8px; }
.s-socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(244, 242, 236, 0.24);
  border-radius: 999px;
}

/* -------------------------------------------------------------- bottom nav */

.s-bottomnav {
  position: fixed;
  inset-inline: 0;
  bottom: 0;
  z-index: 40;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  border-top: 1px solid var(--s-line);
  background: rgba(236, 234, 228, 0.97);
  backdrop-filter: blur(8px);
  padding-bottom: env(safe-area-inset-bottom);
}
@media (min-width: 768px) { .s-bottomnav { display: none; } }
.s-bn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  min-height: 62px;
  border: 0;
  background: transparent;
  color: var(--s-muted);
  font-size: 10px;
  text-decoration: none;
  cursor: pointer;
  position: relative;
}
.s-bn.is-on { color: var(--s-gold-700); }
.s-bn-mid { margin-top: -24px; }
.s-bn-mid span:first-child {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 999px;
  background: var(--s-ink);
  color: var(--s-gold-500);
  box-shadow: 0 0 0 4px var(--s-paper);
}
.s-bn-spacer { height: 62px; }
@media (min-width: 768px) { .s-bn-spacer { display: none; } }

/* ----------------------------------------------------------------- cart */

.s-ship { padding: 14px; border: 1px solid var(--s-line); border-radius: var(--s-r); background: var(--s-card); }
.s-ship p { margin: 0 0 10px; font-size: 12.5px; display: flex; align-items: center; gap: 8px; }
.s-ship-bar { height: 3px; border-radius: 999px; background: var(--s-line); overflow: hidden; }
.s-ship-bar i { display: block; height: 100%; background: var(--s-gold-500); transition: width 0.4s var(--s-ease); }

.s-line-item { display: flex; gap: 12px; padding: 16px 0; border-bottom: 1px solid var(--s-line); }
.s-line-thumb { width: 96px; flex: none; aspect-ratio: 4 / 3; border-radius: var(--s-r); background: var(--s-tile); overflow: hidden; display: flex; align-items: center; justify-content: center; }
.s-line-thumb img { width: 100%; height: 100%; object-fit: cover; }
.s-line-main { flex: 1; display: flex; flex-direction: column; gap: 6px; }
.s-line-top { display: flex; justify-content: space-between; gap: 8px; }
.s-line-top h4 { margin: 0; font-size: 13.5px; font-weight: 600; }
.s-line-top p { margin: 2px 0 0; font-size: 11.5px; color: var(--s-muted); }
.s-trash { border: 0; background: transparent; cursor: pointer; color: var(--s-muted); line-height: 0; padding: 2px; }
.s-trash:hover { color: var(--s-sale); }
.s-line-bottom { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: auto; }
.s-stepper { display: inline-flex; align-items: center; gap: 2px; border: 1px solid var(--s-line); border-radius: 999px; }
.s-stepper button { width: 28px; height: 28px; border: 0; background: transparent; cursor: pointer; font-size: 15px; line-height: 1; color: var(--s-ink); }
.s-stepper span { min-width: 22px; text-align: center; font-size: 13px; font-weight: 600; }
.s-line-price { text-align: right; }
.s-line-price b { font-size: 14px; }
.s-line-price s { display: block; font-size: 11.5px; color: var(--s-muted); }
.s-line-price em { font-style: normal; font-size: 11px; color: var(--s-sale); }

.s-empty { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 48px 12px; text-align: center; }
.s-empty span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border: 1px solid var(--s-line);
  border-radius: 999px;
  color: var(--s-muted);
}
.s-empty h3 { margin: 6px 0 0; font-family: var(--s-display); font-size: 1.3rem; font-weight: 500; }
.s-empty p { margin: 0; font-size: 13px; color: var(--s-muted); }

.s-sum-row { display: flex; justify-content: space-between; font-size: 13.5px; margin-bottom: 8px; }
.s-sum-row.is-save { color: var(--s-gold-700); }
.s-secure { display: flex; align-items: center; justify-content: center; gap: 6px; margin-top: 10px; font-size: 11.5px; color: var(--s-muted); }

/* -------------------------------------------------------------- account */

.s-seg { display: flex; gap: 4px; padding: 4px; border-radius: 999px; background: var(--s-card); border: 1px solid var(--s-line); }
.s-seg button { flex: 1; min-height: 34px; border: 0; border-radius: 999px; background: transparent; font: inherit; font-size: 12.5px; font-weight: 600; cursor: pointer; color: var(--s-muted); }
.s-seg button.is-on { background: var(--s-ink); color: #f4f2ec; }
.s-field { display: grid; gap: 6px; margin-top: 14px; }
.s-field label { font-size: 11.5px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--s-muted); }
.s-field input {
  min-height: 44px;
  padding: 0 12px;
  border: 1px solid var(--s-line);
  border-radius: var(--s-r);
  background: var(--s-card);
  font: inherit;
  font-size: 14px;
  color: var(--s-ink);
}
.s-field input:focus { outline: none; border-color: var(--s-gold-600); box-shadow: 0 0 0 3px var(--s-gold-50); }
.s-legal { margin: 12px 0 0; font-size: 11.5px; color: var(--s-muted); line-height: 1.5; }
.s-quicklist { margin-top: 22px; border: 1px solid var(--s-line); border-radius: var(--s-r); overflow: hidden; }
.s-quicklist a { display: flex; align-items: center; gap: 12px; padding: 14px; text-decoration: none; color: var(--s-ink); border-bottom: 1px solid var(--s-line); }
.s-quicklist a:last-child { border-bottom: 0; }
.s-quicklist a:hover { background: var(--s-card); }
.s-quicklist span:first-child {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  flex: none;
  border-radius: 999px;
  background: var(--s-gold-50);
  color: var(--s-gold-700);
}
.s-quicklist b { display: block; font-size: 13.5px; }
.s-quicklist small { font-size: 11.5px; color: var(--s-muted); }

/* --------------------------------------------------------- mobile nav */

.s-acc { border-bottom: 1px solid var(--s-line); }
.s-acc > button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 14px 0;
  border: 0;
  background: transparent;
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  color: var(--s-ink);
}
.s-acc > button svg { transition: transform 0.24s var(--s-ease); }
.s-acc.is-open > button svg { transform: rotate(180deg); }
.s-acc-body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.28s var(--s-ease); }
.s-acc.is-open .s-acc-body { grid-template-rows: 1fr; }
.s-acc-inner { overflow: hidden; }
.s-acc-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 12px; padding: 0 0 14px; }
.s-acc-links a { font-size: 13px; color: var(--s-ink-soft); text-decoration: none; }

/* ---------------------------------------------------------------- PLP */

.s-crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 12.5px; color: var(--s-muted); padding: 16px 0 0; }
.s-crumbs a { color: var(--s-muted); text-decoration: none; }
.s-crumbs a:hover { color: var(--s-ink); }

.s-plp-title { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; margin: 10px 0 4px; }
.s-plp-title h1 { margin: 0; font-family: var(--s-display); font-size: clamp(1.7rem, 1.2rem + 2vw, 2.4rem); font-weight: 500; }
.s-plp-title span { font-size: 13px; color: var(--s-muted); }
.s-plp-sub { margin: 0 0 18px; font-size: 13.5px; color: var(--s-muted); max-width: 62ch; }

.s-toolbar { display: none; }
@media (min-width: 1024px) { .s-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-bottom: 14px; } }
.s-viewtoggle { display: inline-flex; padding: 3px; border: 1px solid var(--s-line); border-radius: 999px; background: var(--s-card); }
.s-viewtoggle button { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 30px; border: 0; border-radius: 999px; background: transparent; cursor: pointer; color: var(--s-muted); }
.s-viewtoggle button.is-on { background: var(--s-ink); color: #f4f2ec; }

.s-select {
  min-height: 38px;
  padding: 0 32px 0 12px;
  border: 1px solid var(--s-line);
  border-radius: var(--s-r);
  background: var(--s-card) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23101010' stroke-width='2'><path d='M6 9l6 6 6-6'/></svg>") no-repeat right 10px center;
  -webkit-appearance: none;
  appearance: none;
  font: inherit;
  font-size: 13px;
  color: var(--s-ink);
  cursor: pointer;
}

.s-mobtoolbar {
  position: sticky;
  top: var(--s-head-h);
  z-index: 30;
  display: flex;
  gap: 10px;
  margin: 0 -16px;
  padding: 10px 16px;
  border-block: 1px solid var(--s-line);
  background: var(--s-paper);
}
@media (min-width: 768px) { .s-mobtoolbar { top: 108px; } }
@media (min-width: 1024px) { .s-mobtoolbar { display: none; } }
.s-mobtoolbar > * { flex: 1; }

.s-active-chips { display: flex; flex-wrap: wrap; gap: 8px; padding: 14px 0; }

.s-plp-body { display: grid; grid-template-columns: 1fr; gap: 24px; padding-bottom: 40px; }
@media (min-width: 1024px) { .s-plp-body { grid-template-columns: 264px 1fr; } }
.s-plp-aside { display: none; }
@media (min-width: 1024px) {
  .s-plp-aside { display: block; }
  .s-plp-aside > div { position: sticky; top: 92px; max-height: calc(100vh - 110px); overflow-y: auto; }
}
.s-aside-head { display: flex; align-items: center; justify-content: space-between; padding-bottom: 10px; border-bottom: 1px solid var(--s-line); }
.s-aside-head b { font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; }
.s-linkbtn { border: 0; background: transparent; font: inherit; font-size: 12px; color: var(--s-gold-700); cursor: pointer; text-decoration: underline; }

.s-results { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (min-width: 768px) { .s-results { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1280px) { .s-results { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.s-results[data-view="list"] { display: flex; flex-direction: column; gap: 12px; }

.s-loadmore { display: flex; justify-content: center; padding: 26px 0; }
.s-noresults { padding: 48px 20px; border: 1px dashed var(--s-line-2); border-radius: var(--s-r); text-align: center; }
.s-noresults h3 { margin: 0 0 6px; font-family: var(--s-display); font-size: 1.4rem; font-weight: 500; }
.s-noresults p { margin: 0 0 16px; font-size: 13.5px; color: var(--s-muted); }

/* ------------------------------------------------------------ filters */

.s-facet { border-bottom: 1px solid var(--s-line); padding: 14px 0; }
.s-facet > button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  border: 0;
  background: transparent;
  font: inherit;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  color: var(--s-ink);
}
.s-facet > button svg { transition: transform 0.22s var(--s-ease); }
.s-facet.is-open > button svg { transform: rotate(180deg); }
.s-facet-body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.22s var(--s-ease); }
.s-facet.is-open .s-facet-body { grid-template-rows: 1fr; }
.s-facet-inner { overflow: hidden; }
.s-facet-list { max-height: 208px; overflow-y: auto; padding-top: 12px; display: grid; gap: 9px; }
.s-check { display: flex; align-items: center; gap: 8px; font-size: 13px; cursor: pointer; }
.s-check input { width: 15px; height: 15px; accent-color: var(--s-ink); }
.s-check span:last-child { margin-left: auto; font-size: 11.5px; color: var(--s-muted); }
.s-count-badge { margin-left: 6px; padding: 1px 6px; border-radius: 999px; background: var(--s-ink); color: #f4f2ec; font-size: 10px; }

.s-swatch-grid { display: flex; flex-wrap: wrap; gap: 10px; padding-top: 12px; }
.s-swatch-btn { width: 32px; height: 32px; border: 1px solid rgba(0, 0, 0, 0.14); border-radius: 999px; cursor: pointer; padding: 0; }
.s-swatch-btn.is-on { box-shadow: 0 0 0 2px var(--s-paper), 0 0 0 4px var(--s-ink); }

.s-switch { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 13px; cursor: pointer; }
.s-switch i { position: relative; width: 40px; height: 24px; border-radius: 999px; background: var(--s-line); transition: background 0.2s; flex: none; }
.s-switch i::after { content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 999px; background: #fff; transition: transform 0.2s var(--s-ease); }
.s-switch input { display: none; }
.s-switch input:checked + i { background: var(--s-ink); }
.s-switch input:checked + i::after { transform: translateX(16px); }

.s-range { width: 100%; accent-color: var(--s-ink); }

/* ------------------------------------------------------------ quick view */

.s-qv-wrap { position: fixed; inset: 0; z-index: 96; display: flex; align-items: center; justify-content: center; padding: 16px; pointer-events: none; }
.s-qv {
  display: grid;
  grid-template-columns: 1fr;
  width: 100%;
  max-width: 768px;
  max-height: 90vh;
  overflow: hidden;
  border-radius: var(--s-r);
  background: var(--s-paper);
  box-shadow: var(--s-shadow-pop);
  pointer-events: auto;
  opacity: 0;
  transform: scale(0.96) translateY(12px);
  transition: opacity 0.28s var(--s-ease), transform 0.28s var(--s-ease);
}
.s-qv.is-in { opacity: 1; transform: none; }
@media (min-width: 640px) { .s-qv { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.s-qv-media { position: relative; aspect-ratio: 3 / 2; background: var(--s-tile); }
.s-qv-media img { width: 100%; height: 100%; object-fit: cover; }
.s-qv-body { display: flex; flex-direction: column; gap: 10px; padding: 24px; overflow-y: auto; }
.s-qv-close { position: absolute; right: 10px; top: 10px; z-index: 2; }
.s-dl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 14px; margin: 4px 0; }
.s-dl div { font-size: 12.5px; }
.s-dl dt { color: var(--s-muted); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; }
.s-dl dd { margin: 2px 0 0; font-weight: 600; }

/* ------------------------------------------------------------------ PDP */

.s-pdp { display: grid; grid-template-columns: 1fr; gap: 28px; padding: 18px 0 40px; }
@media (min-width: 900px) { .s-pdp { grid-template-columns: 1.05fr 1fr; gap: 44px; } }
.s-pdp-stage { aspect-ratio: 3 / 2; border-radius: var(--s-r); background: var(--s-tile); overflow: hidden; }
.s-pdp-stage img { width: 100%; height: 100%; object-fit: cover; }
.s-pdp-thumbs { display: flex; gap: 8px; margin-top: 10px; }
.s-pdp-thumb { width: 64px; height: 48px; border: 1px solid var(--s-line); border-radius: var(--s-r); background: var(--s-tile); cursor: pointer; padding: 0; overflow: hidden; }
.s-pdp-thumb.is-on { border-color: var(--s-ink); box-shadow: 0 0 0 1px var(--s-ink); }
.s-pdp h1 { margin: 6px 0 4px; font-family: var(--s-display); font-size: clamp(1.7rem, 1.2rem + 2vw, 2.3rem); font-weight: 500; line-height: 1.05; }
.s-pdp-price { display: flex; align-items: baseline; gap: 10px; margin: 12px 0; }
.s-pdp-price b { font-size: 1.7rem; }
.s-optgroup { margin: 16px 0; }
.s-optgroup h4 { margin: 0 0 8px; font-size: 11.5px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--s-muted); }
.s-optrow { display: flex; flex-wrap: wrap; gap: 8px; }
.s-spec { width: 100%; border-collapse: collapse; margin: 18px 0; font-size: 13px; }
.s-spec th, .s-spec td { padding: 9px 0; border-bottom: 1px solid var(--s-line); text-align: left; }
.s-spec th { width: 44%; font-weight: 500; color: var(--s-muted); }
.s-pdp-actions { display: flex; gap: 10px; align-items: center; }
@media (max-width: 899px) {
  .s-pdp-actions {
    position: fixed;
    inset-inline: 0;
    bottom: 62px;
    z-index: 35;
    padding: 10px 16px;
    border-top: 1px solid var(--s-line);
    background: rgba(236, 234, 228, 0.97);
    backdrop-filter: blur(8px);
  }
}
.s-accordion { border-top: 1px solid var(--s-line); }

/* --------------------------------------------------------- checkout etc */

.s-steps { display: flex; gap: 8px; margin: 18px 0 24px; }
.s-step { flex: 1; padding: 10px 12px; border: 1px solid var(--s-line); border-radius: var(--s-r); font-size: 12px; background: var(--s-card); }
.s-step.is-on { border-color: var(--s-ink); background: var(--s-ink); color: #f4f2ec; }
.s-checkout { display: grid; grid-template-columns: 1fr; gap: 24px; padding-bottom: 60px; }
@media (min-width: 900px) { .s-checkout { grid-template-columns: 1.4fr 1fr; } }
.s-panel { padding: 22px; border: 1px solid var(--s-line); border-radius: var(--s-r); background: var(--s-card); }
.s-panel h3 { margin: 0 0 14px; font-family: var(--s-display); font-size: 1.3rem; font-weight: 500; }
.s-demo-note { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: var(--s-r); background: var(--s-gold-50); color: var(--s-gold-700); font-size: 11.5px; font-weight: 600; }

.s-feature-hero { padding: 56px 0; border-bottom: 1px solid var(--s-line); }
.s-feature-hero h1 { margin: 8px 0 12px; font-family: var(--s-display); font-size: clamp(2rem, 1.4rem + 3vw, 3.4rem); font-weight: 500; line-height: 1; }
.s-feature-hero p { margin: 0 0 22px; max-width: 56ch; font-size: 15px; color: var(--s-muted); }

@media (prefers-reduced-motion: reduce) {
  .shop *, .shop *::before, .shop *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
  .s-reveal { opacity: 1; transform: none; }
}

/* ---------------------------------------------------- photo-backed tiles */
/* Full-bleed frame shot under a bottom scrim, so white type reads even though
   the shots are near-white. Used for category tiles and collection banners. */

.s-photo-tile {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  border-radius: var(--s-r-lg);
  text-decoration: none;
  color: #fff;
  isolation: isolate;
}

.s-photo-tile > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
  transition: transform 0.6s var(--s-ease);
}
.s-photo-tile:hover > img { transform: scale(1.05); }

.s-photo-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  /* the shots are near-white, so keep the top clear and concentrate the scrim
     under the type — a mid-tile darkening just swallows the frame */
  background: linear-gradient(
    180deg,
    rgba(16, 16, 16, 0) 0%,
    rgba(16, 16, 16, 0) 34%,
    rgba(16, 16, 16, 0.5) 62%,
    rgba(16, 16, 16, 0.88) 100%
  );
}

.s-photo-tile h3 {
  margin: 0;
  font-family: var(--s-display);
  font-weight: 500;
  line-height: 1.05;
  color: #fff;
}
.s-photo-tile p {
  margin: 4px 0 0;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.82);
}
.s-photo-tile em {
  font-style: normal;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fff;
}
.s-photo-tile em svg { transition: transform 0.24s var(--s-ease); }
.s-photo-tile:hover em svg { transform: translateX(4px); }

/* category grid variant */
.s-cat-tile { aspect-ratio: 4 / 3; padding: 22px; }
.s-cat-tile h3 { font-size: 1.5rem; }

/* collection banner variant */
.s-band-tile { min-height: 300px; padding: 30px; }
.s-band-tile h3 { font-size: 2.1rem; }
@media (min-width: 640px) {
  .s-band-tile.is-wide { grid-column: span 2; min-height: 268px; }
}

/* ------------------------------------------------------- lens selector flow */

.s-lensflow {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  padding: 8px 0 48px;
}
@media (min-width: 900px) { .s-lensflow { grid-template-columns: 1fr 340px; gap: 44px; } }

.s-lensgroup { padding: 22px 0; border-top: 1px solid var(--s-line); }
.s-lensgroup:first-child { border-top: 0; padding-top: 0; }
.s-lensgroup h4 {
  margin: 0 0 14px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--s-muted);
}

.s-lensopts { display: grid; grid-template-columns: 1fr; gap: 10px; }
@media (min-width: 560px) { .s-lensopts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.s-lensopt {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  border: 1px solid var(--s-line);
  border-radius: var(--s-r);
  background: var(--s-card);
  text-align: left;
  cursor: pointer;
  transition: border-color 0.18s, box-shadow 0.18s;
}
.s-lensopt:hover { border-color: var(--s-line-2); }
.s-lensopt.is-on {
  border-color: var(--s-ink);
  box-shadow: inset 0 0 0 1px var(--s-ink);
}
.s-lensopt-main { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.s-lensopt-main b { font-size: 14px; font-weight: 600; }
.s-lensopt-main small { font-size: 11.5px; color: var(--s-muted); line-height: 1.35; }
.s-lensopt-price { flex: none; font-size: 13px; font-weight: 700; color: var(--s-gold-700); }

.s-lensnote { margin: 12px 0 0; font-size: 12.5px; color: var(--s-muted); line-height: 1.6; }

.s-power table { width: 100%; border-collapse: collapse; font-size: 13px; }
.s-power th { font-weight: 600; color: var(--s-muted); font-size: 11.5px; text-transform: uppercase; letter-spacing: 0.08em; padding: 0 6px 8px 0; text-align: left; }
.s-power td { padding: 0 6px 8px 0; }
.s-power input {
  width: 100%;
  min-height: 40px;
  padding: 0 10px;
  border: 1px solid var(--s-line);
  border-radius: var(--s-r);
  background: var(--s-card);
  font: inherit;
  font-size: 14px;
  color: var(--s-ink);
  text-align: center;
}
.s-power input:focus { outline: none; border-color: var(--s-gold-600); box-shadow: 0 0 0 3px var(--s-gold-50); }

.s-lensflow-side > div {
  position: sticky;
  top: 92px;
  padding: 22px;
  border: 1px solid var(--s-line);
  border-radius: var(--s-r-lg);
  background: var(--s-card);
}
.s-lensflow-side h3 {
  margin: 0 0 14px;
  font-family: var(--s-display);
  font-size: 1.25rem;
  font-weight: 500;
}
.s-lenssum .s-sum-row { align-items: flex-start; gap: 14px; }
.s-lenssum .s-sum-row span:first-child { flex: 1; }
.s-sum-total {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid var(--s-line);
  font-size: 16px;
}

.s-line-split { font-size: 11px !important; color: var(--s-muted); margin: 2px 0 0 !important; }

/* ------------------------------------------------------- lens pricing sheet */

.s-lenstable { overflow-x: auto; border: 1px solid var(--s-line); border-radius: var(--s-r-lg); background: var(--s-card); }
.s-lenstable table { width: 100%; min-width: 620px; border-collapse: collapse; font-size: 13.5px; }
.s-lenstable thead th {
  padding: 14px 16px;
  background: var(--s-ink);
  color: #f4f2ec;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-align: center;
}
.s-lenstable thead th:first-child { text-align: left; }
.s-lenstable tbody th {
  padding: 14px 16px;
  text-align: left;
  font-weight: 500;
  border-top: 1px solid var(--s-line);
}
.s-lenstable tbody th b { display: block; font-size: 14px; font-weight: 700; }
.s-lenstable tbody th small { display: block; margin-top: 2px; font-size: 11.5px; color: var(--s-muted); }
.s-lenstable tbody td {
  padding: 14px 16px;
  text-align: center;
  border-top: 1px solid var(--s-line);
  font-weight: 600;
}
.s-lenstable tbody tr:nth-child(even) td,
.s-lenstable tbody tr:nth-child(even) th { background: rgba(16, 16, 16, 0.025); }

/* ------------------------------------------------ accounts, prescription, checkout */

.s-form-error {
  margin: 12px 0 0;
  padding: 10px 12px;
  border-radius: var(--s-r-sm);
  background: #f6e3e6;
  color: var(--s-sale);
  font-size: 13px;
}
.s-alert {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin: 12px 0;
  padding: 12px 14px;
  border: 1px solid var(--s-line);
  border-radius: var(--s-r);
  background: var(--s-gold-50);
  color: var(--s-ink-soft);
  font-size: 13px;
  line-height: 1.5;
}
.s-alert.is-warn { background: #fbf1df; border-color: #ecd6a8; }
.s-alert.is-error { background: #f6e3e6; border-color: #e6c2c9; color: var(--s-sale); }

.s-account-hi { display: flex; align-items: center; gap: 12px; margin-bottom: 6px; }
.s-account-hi b { display: block; font-size: 15px; }
.s-account-hi small { color: var(--s-muted); font-size: 12.5px; }

/* prescription step */
.s-rxpanel { margin-top: 14px; }
.s-power select,
.s-select-field {
  width: 100%;
  min-height: 40px;
  padding: 0 8px;
  border: 1px solid var(--s-line);
  border-radius: var(--s-r);
  background: var(--s-card);
  font: inherit;
  font-size: 14px;
  color: var(--s-ink);
}
.s-power select:focus,
.s-select-field:focus { outline: none; border-color: var(--s-gold-600); box-shadow: 0 0 0 3px var(--s-gold-50); }
.s-pd { margin-top: 18px; }
.s-pd h5 { margin: 0 0 10px; font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--s-muted); }
.s-pd-row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 10px; }
.s-pd-row label { display: flex; align-items: center; gap: 8px; font-size: 13px; }
.s-pd-row input[type="number"] {
  width: 96px;
  min-height: 40px;
  padding: 0 10px;
  border: 1px solid var(--s-line);
  border-radius: var(--s-r);
  background: var(--s-card);
  font: inherit;
}
.s-upload {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 22px;
  border: 1px dashed var(--s-line-2);
  border-radius: var(--s-r);
  background: var(--s-card);
  text-align: center;
  font-size: 13px;
  color: var(--s-muted);
  cursor: pointer;
}
.s-upload:hover { border-color: var(--s-ink); }
.s-upload.is-done { border-style: solid; border-color: var(--s-gold-600); color: var(--s-ink); }
.s-upload input { display: none; }

/* checkout */
.s-form-grid { display: grid; grid-template-columns: 1fr; gap: 0 14px; }
@media (min-width: 640px) { .s-form-grid { grid-template-columns: 1fr 1fr; } }
.s-form-grid .is-wide { grid-column: 1 / -1; }
.s-field.has-error input,
.s-field.has-error select { border-color: var(--s-sale); }
.s-field-error { font-size: 12px; color: var(--s-sale); }

.s-paymethod {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  width: 100%;
  margin-top: 10px;
  padding: 14px 16px;
  border: 1px solid var(--s-line);
  border-radius: var(--s-r);
  background: var(--s-card);
  text-align: left;
  cursor: pointer;
}
.s-paymethod input { margin-top: 3px; accent-color: var(--s-ink); }
.s-paymethod b { display: block; font-size: 14px; }
.s-paymethod small { display: block; margin-top: 2px; font-size: 12px; color: var(--s-muted); }
.s-paymethod.is-on { border-color: var(--s-ink); box-shadow: inset 0 0 0 1px var(--s-ink); }
.s-paymethod.is-disabled { opacity: 0.55; cursor: not-allowed; }

/* orders */
.s-order-card { padding: 18px; border: 1px solid var(--s-line); border-radius: var(--s-r-lg); background: var(--s-card); margin-bottom: 14px; }
.s-order-head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; margin-bottom: 10px; }
.s-order-head b { font-size: 15px; }
.s-status {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--s-gold-50);
  color: var(--s-gold-700);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.s-status.is-paid,
.s-status.is-placed { background: #e3f1e6; color: #2f6b3a; }
.s-status.is-pending_payment,
.s-status.is-payment_failed,
.s-status.is-payment_error { background: #fbf1df; color: #8a5a10; }

/* team view */
.s-team-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.s-team-table th,
.s-team-table td { padding: 10px 12px; border-bottom: 1px solid var(--s-line); text-align: left; vertical-align: top; }
.s-team-table th { font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--s-muted); }
.s-team-wrap { overflow-x: auto; border: 1px solid var(--s-line); border-radius: var(--s-r-lg); background: var(--s-card); }
.s-flag { color: var(--s-sale); font-weight: 700; }

/* prescription selects: own chevron so the value keeps the room on phones */
.s-power select {
  -webkit-appearance: none;
  appearance: none;
  padding: 0 18px 0 6px;
  text-align: center;
  text-align-last: center;
  font-variant-numeric: tabular-nums;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%238a877f' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 7px center;
  background-size: 9px 6px;
}
@media (max-width: 480px) {
  .s-power th,
  .s-power td { padding-right: 4px; }
  .s-power th { letter-spacing: 0.03em; }
  .s-power select { padding: 0 13px 0 2px; font-size: 13px; background-position: right 4px center; }
}

/* policy and contact pages */
.s-policy { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; padding-bottom: 24px; }
@media (min-width: 900px) { .s-policy { grid-template-columns: minmax(0, 1fr) 260px; gap: 48px; } }
.s-policy-body { max-width: 68ch; }
.s-policy-body h2 { margin: 30px 0 10px; font-family: var(--s-display); font-size: 1.35rem; font-weight: 500; }
.s-policy-body h2:first-child { margin-top: 0; }
.s-policy-body p { margin: 0 0 12px; font-size: 14.5px; line-height: 1.75; color: var(--s-ink-soft); }
.s-policy-body b { color: var(--s-ink); }
.s-policy-updated { margin-top: 28px; padding-top: 16px; border-top: 1px solid var(--s-line); font-size: 13px; color: var(--s-muted); }
.s-policy-side > div { padding: 20px; border: 1px solid var(--s-line); border-radius: var(--s-r); background: var(--s-card); }
@media (min-width: 900px) { .s-policy-side > div { position: sticky; top: 92px; } }
.s-policy-side h3 { margin: 0 0 8px; font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--s-muted); }
.s-policy-side h3 + p { margin: 0 0 18px; font-size: 14px; line-height: 1.7; }
.s-policy-side a { color: var(--s-ink); }
.s-policy-side ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; font-size: 14px; }
.s-policy-side ul a { color: var(--s-gold-700); text-decoration: none; }
.s-policy-side ul a:hover { text-decoration: underline; }
.s-foot-legal { display: flex; flex-wrap: wrap; gap: 6px 16px; }
.s-foot-legal a { color: inherit; text-decoration: none; opacity: 0.8; }
.s-foot-legal a:hover { opacity: 1; text-decoration: underline; }
