/* tastemaker · macrostructure: focused account task · mood: incumbent industrial retail · page: customer account
 * arc: access -> verify -> order history -> private status · nav: incumbent storefront · footer: incumbent storefront
 * palette: inherited storefront tokens · contrast: inherited pairings · critique: ShowTell 4 · Phil 5 · Hier 5 · Spec 5 · Restr 5 · Var 4 */
:root {
  --ink: #141414;
  --ink-2: #141414;
  --ink-3: #141414;
  --gold: #eaff00;
  --gold-2: #f5ff66;
  --lime-deep: #c6e000;
  --ivory: #ffffff;
  --ivory-dim: #d8e8a0;
  --line: rgba(234, 255, 0, 0.32);
  --danger: #c45c4a;
  --ok: #7d9b6a;
  --product-card-surface: #1a1b17;
  --product-card-media: #10110e;
  --product-card-border: rgba(255, 255, 255, 0.12);
  --product-card-copy: #bfc5ad;
  --page-canvas: #141414;
  --gym-mat-overlay: rgba(7, 8, 6, 0.55);
  --gym-mat-size: 760px;
  --display: "Bodoni Moda", "Times New Roman", serif;
  --sans: "Sora", system-ui, sans-serif;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --header: 100px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--page-canvas); }
html, body { margin: 0; min-height: 100%; color: var(--ivory); }
body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: 0.01em;
  overflow-x: hidden;
  background-color: var(--page-canvas);
  background-image:
    linear-gradient(var(--gym-mat-overlay), var(--gym-mat-overlay)),
    url("../assets/images/gym-rubber-mat-texture.jpg");
  background-position: center, center top;
  background-repeat: no-repeat, repeat;
  background-size: cover, var(--gym-mat-size) var(--gym-mat-size);
  background-attachment: fixed, fixed;
}
body.has-overlay { overflow: hidden; }

/* Ensure stacking above base background */
.site-header, main, .site-footer,
.drawer, .backdrop, .toast, .lightbox,
.mobile-nav, .wa {
  z-index: 1;
}
.site-header { position: fixed; z-index: 40; }
main, .site-footer,
.drawer, .backdrop, .toast, .lightbox,
.mobile-nav, .wa {
  position: relative;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; border: 0; background: none; }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 500; letter-spacing: -0.03em; line-height: 1.05; margin: 0; }
p { margin: 0; }

.skip {
  position: absolute; left: 12px; top: -40px; background: var(--gold); color: var(--ink);
  padding: 8px 14px; z-index: 80;
}
.skip:focus { top: 12px; }
.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;
}

.gold { color: var(--gold); }
.wrap { width: min(1240px, calc(100% - 40px)); margin-inline: auto; }
.wrap-wide { width: min(1440px, calc(100% - 32px)); margin-inline: auto; }

/* Header — floating capsule bar */
.site-header {
  position: fixed;
  top: 14px;
  left: 0;
  right: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: min(1240px, calc(100% - 28px));
  min-height: 72px;
  margin: 0 auto;
  padding: 10px 22px 10px 18px;
  background: rgba(14, 14, 14, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(10px);
  transition: none;
}

/* Nav — inactive lime, active white (no underline) */
.nav {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
  gap: 4px;
}
.nav a {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: none;
  color: var(--gold);
  position: relative;
  padding: 8px 12px;
  white-space: nowrap;
  transition: color 0.25s, opacity 0.25s;
}
.nav a::after { display: none; }
.nav a:hover { color: var(--ivory); opacity: 0.95; }
.nav a.is-active {
  color: var(--ivory);
  font-weight: 700;
}

.brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand img { height: 48px; width: auto; transition: transform 0.4s var(--ease); }
.site-header.is-scrolled .brand img { transform: scale(0.92); }
.header-actions { display: flex; align-items: center; gap: 14px; flex-shrink: 0; }
.icon-btn {
  width: 44px; height: 44px; border: 1px solid var(--line); display: grid; place-items: center;
  position: relative; color: var(--ivory); transition: border-color 0.3s, color 0.3s, transform 0.3s var(--ease);
  border-radius: 50%;
}
.icon-btn:hover { border-color: var(--gold); color: var(--gold); transform: translateY(-2px); }
.cart-pill {
  position: relative;
  width: 46px; height: 46px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: transparent;
  color: var(--gold);
  border: 2px solid var(--gold);
  transition: transform 0.35s var(--ease), background 0.3s, color 0.3s;
  flex-shrink: 0;
}
.cart-pill:hover {
  background: var(--gold);
  color: #000;
  transform: translateY(-2px) scale(1.06);
}
.cart-pill .cart-count {
  position: absolute; top: -4px; right: -4px;
  min-width: 18px; height: 18px; padding: 0 4px;
  background: #ef4444; color: #fff;
  border-radius: 999px; border: 2px solid #141414;
  font-size: 10px; font-weight: 800;
  display: grid; place-items: center; line-height: 1;
}
.cart-pill .cart-count[hidden] { display: none; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 22px;
  font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase;
  position: relative; overflow: hidden; isolation: isolate;
  transition: transform 0.45s var(--ease), color 0.3s, background 0.3s, border-color 0.3s;
}
.btn-gold {
  background: var(--gold);
  color: #000;
  border: 2px solid #000;
  border-radius: 10px;
  font-weight: 700; letter-spacing: 0.01em; text-transform: none; font-size: 15px;
}
.btn-gold:hover { filter: brightness(1.05); }
.btn-ghost {
  border: 2px solid #000; color: var(--gold); background: transparent;
  border-radius: 10px; text-transform: none; font-weight: 600; letter-spacing: 0.01em; font-size: 15px;
}
.btn-ghost:hover { background: var(--gold); color: #000; }
.btn:disabled { opacity: 0.45; cursor: not-allowed; transform: none; }
.menu-toggle { display: none; }

/* Hero */
.hero {
  --hero-pink: #ff4d6d;
  width: 100%;
  min-height: 100svh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: calc(var(--header) + 8px) 0 64px;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  display: block;
  filter: brightness(0.85) contrast(1.05) saturate(1.08);
}
.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(20,20,20,0.62) 0%, rgba(20,20,20,0.45) 48%, rgba(20,20,20,0.35) 100%),
    linear-gradient(180deg, rgba(20,20,20,0.3) 0%, transparent 38%, rgba(20,20,20,0.4) 100%);
  pointer-events: none;
  z-index: 1;
}
.hero-inner {
  position: relative;
  z-index: 2;
  width: min(1180px, calc(100% - 48px));
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}
.hero-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  max-width: 34rem;
}
.hero-copy h1 {
  font-family: var(--sans);
  font-weight: 800;
  font-size: clamp(2.1rem, 5.2vw, 4rem);
  max-width: none;
  width: 100%;
  text-shadow: 0 2px 28px rgba(0,0,0,0.55);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 1.05;
  margin: 0;
}
.hero-pink { color: var(--hero-pink); }
.hero-lime { color: var(--gold); }
.hero-tag {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 20px 0 0;
  color: var(--ivory);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.hero-bolt { color: var(--gold); font-size: 1.1em; line-height: 1; }
#hero-tag-text {
  color: var(--ivory);
  transition: opacity 0.45s ease;
}
#hero-tag-text.is-swap {
  opacity: 0;
}
.hero-product {
  margin: 14px 0 0;
  color: rgba(255,255,255,0.92);
  font-size: 1.05rem;
  font-weight: 500;
}
.hero-facts-line {
  margin: 6px 0 0;
  color: var(--gold);
  font-size: 0.98rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.hero-price {
  margin: 22px 0 0;
  color: var(--gold);
  font-family: var(--sans);
  font-size: clamp(2rem, 4vw, 2.85rem);
  font-weight: 800;
  letter-spacing: 0.02em;
  line-height: 1;
  text-shadow: 0 2px 18px rgba(0,0,0,0.4);
}
.hero-stars {
  margin: 10px 0 0;
  color: var(--gold);
  font-size: 1.35rem;
  letter-spacing: 0.12em;
  line-height: 1;
  text-shadow: 0 1px 10px rgba(0,0,0,0.35);
}
.hero-facts { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 28px; justify-content: center; }
.chip {
  border: 1px solid var(--line); padding: 8px 12px;
  font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold);
  background: rgba(20,20,20,0.35);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* Hero Shop Now — legacy base, refined by the editorial homepage layer below */
.btn-shop-now {
  position: relative;
  z-index: 1;
  min-height: 58px;
  padding: 0 48px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--hero-pink) 0%, #ff8a4c 42%, var(--gold) 100%);
  color: #000;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  box-shadow: 0 10px 28px rgba(0,0,0,0.35);
  animation: none;
}
.btn-shop-now:hover {
  filter: brightness(1.06);
  transform: scale(1.06);
}

.hero-visual {
  position: relative;
  display: grid;
  place-items: center;
  min-height: clamp(320px, 52vw, 520px);
  justify-self: center;
  width: 100%;
  max-width: 520px;
}
.hero-glow {
  position: absolute;
  width: 72%;
  height: 72%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(234,255,0,0.35) 0%, rgba(234,255,0,0.08) 45%, transparent 70%);
  filter: blur(8px);
  z-index: 0;
  animation: none;
}
.hero-pouch {
  position: relative;
  z-index: 2;
  width: min(100%, 420px);
  filter: drop-shadow(0 24px 40px rgba(0,0,0,0.55));
  animation: none;
}
.hero-vanilla {
  position: absolute;
  z-index: 3;
  width: clamp(110px, 22%, 160px);
  right: 6%;
  bottom: 2%;
  filter: drop-shadow(0 12px 18px rgba(0,0,0,0.45));
  animation: none;
}
.hero-deco {
  position: absolute;
  z-index: 4;
  pointer-events: none;
  filter: drop-shadow(0 6px 10px rgba(0,0,0,0.35));
}
.hero-deco--cup {
  width: clamp(42px, 9%, 64px);
  left: 4%;
  top: 18%;
  animation: none;
}
.hero-deco--pop {
  width: clamp(36px, 8%, 56px);
  right: 8%;
  top: 12%;
  transform: rotate(18deg);
  animation: none;
}

/* Sections */
.section { padding: 96px 0 40px; }
.section h2 { font-size: clamp(2.4rem, 5vw, 4.4rem); margin-bottom: 12px; }
.section-head { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-bottom: 40px; }
.section-head p { color: var(--ivory-dim); max-width: 42ch; }
.view-all {
  color: var(--gold);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: underline;
  text-underline-offset: 4px;
  white-space: nowrap;
}
.view-all:hover,
.view-all:focus,
.view-all:active,
.view-all:visited {
  color: var(--gold);
}

#latest-products .section-head h2 {
  font-size: clamp(1.35rem, 2.4vw, 1.85rem);
  color: var(--gold);
  margin-bottom: 0;
}

.section-head--center {
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.section-head--center p { max-width: 56ch; }

/* Glowing title */
.glow-title {
  position: relative;
  display: inline-block;
}
.glow-title::before {
  content: attr(data-text);
  position: absolute;
  inset: 0;
  color: transparent;
  filter: blur(28px);
  background: linear-gradient(90deg, var(--lime-deep), var(--gold), var(--gold-2));
  -webkit-background-clip: text;
  background-clip: text;
  opacity: 0.75;
  animation: glow-pulse 3s ease-in-out infinite;
  pointer-events: none;
  z-index: -1;
  transform: scale(1.06);
}
@keyframes glow-pulse {
  0%, 100% { opacity: 0.6; filter: blur(28px); }
  50%       { opacity: 1;   filter: blur(18px); }
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  align-items: start;
}
.latest-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px 28px;
  align-items: start;
}

/* Latest Products — bare on background, no boxes */
.latest-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
  background: none;
  border: none;
  padding: 0;
}
.latest-link {
  display: block;
  line-height: 0;
  background: none;
}
.latest-link img {
  width: auto;
  max-width: min(200px, 90%);
  max-height: 240px;
  height: auto;
  object-fit: contain;
  background: transparent;
  transition: transform 0.45s var(--ease);
}
.latest-item:hover .latest-link img { transform: scale(1.05); }
.latest-item h3 {
  font-family: var(--sans);
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.35;
  color: var(--ivory);
  margin: 0;
}
.latest-price {
  color: var(--gold);
  font-size: 0.8rem;
  font-weight: 600;
  margin: 0;
}
.latest-btn {
  min-height: 44px;
  padding: 0 28px;
  border-radius: 10px;
  font-size: 0.75rem;
  font-weight: 600;
}
/* Shared storefront product card — compact, image-first, and fully contained. */
.product-card-wrap {
  position: relative;
  display: flex;
  margin-top: 0;
}
.product-card {
  position: relative;
  width: 100%;
  background: var(--product-card-surface);
  border: 1px solid var(--product-card-border);
  border-radius: 14px;
  padding: 10px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-rows: auto auto auto 1fr auto;
  column-gap: 8px;
  row-gap: 0;
  transition: transform 220ms var(--ease);
  overflow: hidden;
  min-height: 0;
}
.product-card > .product-media,
.product-card > a:not(.product-media),
.product-card > .product-card-summary {
  grid-column: 1 / -1;
}

/* Category label stays quiet so the product remains the focal point. */
.card-cat-chip {
  position: absolute;
  top: 18px;
  left: 18px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  max-width: calc(100% - 36px);
  padding: 5px 8px;
  color: var(--ivory);
  background: rgba(20, 20, 20, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  font-family: var(--sans);
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.2;
  text-transform: uppercase;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.card-cat-chip::before {
  content: "";
  width: 6px;
  height: 6px;
  flex: 0 0 6px;
  border-radius: 50%;
  background: var(--gold);
}

.product-media {
  grid-row: 1;
  height: clamp(140px, 14vw, 174px);
  width: 100%;
  margin-inline: auto;
  background: var(--product-card-media);
  border: 1px solid rgba(255, 255, 255, 0.05);
  display: grid;
  place-items: center;
  overflow: hidden;
  position: relative;
  isolation: isolate;
  contain: paint;
  border-radius: 10px;
}
.product-media img {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 1;
  width: calc(100% - 28px);
  height: calc(100% - 28px);
  max-width: none;
  max-height: none;
  object-fit: contain;
  object-position: center;
  transform: translate(-50%, -50%);
  transform-origin: center;
  transition: transform 260ms var(--ease);
}
.product-media .product-img-fill {
  width: calc(100% - 18px);
  height: calc(100% - 18px);
  max-width: none;
  max-height: none;
  object-fit: contain;
  object-position: center;
}
.badge {
  position: absolute; top: 12px; left: 12px;
  background: var(--gold); color: var(--ink);
  font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; padding: 6px 9px;
}
.product-card h3 {
  min-height: 2.5rem;
  position: relative;
  z-index: 2;
  margin: 12px 2px 0;
  color: var(--ivory);
  font-family: var(--sans);
  font-size: 0.875rem;
  font-weight: 650;
  line-height: 1.25rem;
  text-wrap: pretty;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  overflow: hidden;
}
.product-card .muted {
  min-height: 2rem;
  margin: 4px 2px 0;
  color: var(--product-card-copy);
  font-size: 0.75rem;
  line-height: 1rem;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  overflow: hidden;
}
.product-card .price {
  grid-column: 1;
  align-self: center;
  min-width: 0;
  margin: 10px 0 0 2px;
  font-size: 0.95rem;
  line-height: 1.4;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.muted { color: var(--ivory-dim); font-size: 0.85rem; }
.price { color: var(--ivory); font-size: 1.2rem; font-weight: 700; letter-spacing: 0.02em; }
.card-actions {
  grid-column: 2;
  align-self: end;
  display: flex;
  margin-top: 10px;
  justify-content: flex-end;
  flex-shrink: 0;
}

/* Shop catalogue — repeated products share one scanning rhythm. */
#shop-grid { align-items: stretch; }
#shop-grid .product-card {
  width: 100%;
}
.card-action-compact { display: none; }
#shop-grid .card-action-full { display: none; }
#shop-grid .card-action-compact { display: inline; }

/* Best Sellers — compact five-card row with full cards visible. */
#best-sellers {
  overflow: visible;
  padding-bottom: 72px;
}
#best-sellers .wrap {
  overflow: visible;
}
#best-sellers .product-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  justify-content: center;
  justify-items: stretch;
  align-items: stretch;
  gap: 16px;
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  overflow: visible;
}
#best-sellers .product-card-wrap {
  height: auto;
}
#best-sellers .product-card {
  height: auto;
}
#best-sellers .product-media {
  flex-shrink: 0;
}
.card-actions .btn-gold,
.card-actions .latest-btn {
  min-height: 44px;
  padding: 7px 11px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
  background: var(--gold);
  color: #000;
  border: 1px solid var(--gold);
  border-radius: 8px;
  line-height: 1;
  white-space: nowrap;
  filter: none;
}

@media (hover: hover) and (pointer: fine) {
  .product-card:hover {
    transform: translateY(-3px);
    border-color: rgba(234, 255, 0, 0.42);
    box-shadow: 0 18px 34px rgba(0, 0, 0, 0.26);
  }
  .product-card:hover .product-media img { transform: translate(-50%, -50%) scale(1.025); }
  .card-actions .btn-gold:hover,
  .card-actions .latest-btn:hover {
    background: var(--gold-2);
    border-color: var(--gold-2);
    color: #000;
  }
}

.brands-section {
  padding-top: 72px;
  padding-bottom: 80px;
  border-top: 1px solid var(--line);
}
.brands-header {
  text-align: center;
  margin-bottom: 40px;
}
.brands-header h2 {
  font-family: var(--sans);
  font-weight: 800;
  font-size: clamp(1.75rem, 3.2vw, 2.35rem);
  color: var(--ivory);
  letter-spacing: 0.02em;
  margin: 0 0 12px;
}
.brands-header h2 span { color: var(--gold); }
.brands-header p {
  color: rgba(255,255,255,0.82);
  font-size: 1.08rem;
  margin: 0 auto;
  max-width: 42ch;
}
.brands-slider { max-width: 900px; margin: 0 auto; }
.brands-viewport {
  overflow: hidden;
  width: 100%;
}
.brands-track {
  display: flex;
  transition: transform 0.9s var(--ease);
  will-change: transform;
}
.brand-slide {
  flex: 0 0 33.333%;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 120px;
  padding: 12px 18px;
  box-sizing: border-box;
}
.brand-slide img {
  max-height: 80px;
  max-width: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: grayscale(1) brightness(1.65);
  opacity: 0.85;
  transition: filter 0.3s, opacity 0.3s, transform 0.3s var(--ease);
}
.brand-slide img.brand-logo--bsn { max-height: 110px; }
.brand-slide:hover img {
  filter: none;
  opacity: 1;
  transform: scale(1.04);
}
.brands-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2px;
  margin-top: 12px;
}
.brands-dot {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 0;
  padding: 0;
  cursor: pointer;
  background: transparent;
  display: grid;
  place-items: center;
}
.brands-dot::before {
  content: "";
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(234, 255, 0, 0.28);
  transition: background 0.25s, transform 0.25s;
}
.brands-dot.is-active::before {
  background: var(--gold);
  transform: scale(1.12);
}
.brands-dot:hover::before { background: rgba(234, 255, 0, 0.55); }

@media (max-width: 600px) {
  .brand-slide { flex-basis: 100%; min-height: 96px; }
  .brand-slide img { max-height: 64px; }
}

.marquee {
  overflow: hidden; border-block: 1px solid var(--line); padding: 28px 0; margin: 40px 0 0;
}
.marquee-track {
  display: flex; gap: 72px; align-items: center; flex-wrap: wrap; justify-content: center;
  width: 100%;
}
.marquee-track img { height: 42px; width: auto; opacity: 0.78; filter: grayscale(0.2) brightness(1.15); }
@keyframes marquee { to { transform: translateX(-50%); } }

.why-header {
  text-align: center;
  margin-bottom: 40px;
}
.why-header h2 {
  color: var(--gold);
  font-family: var(--sans);
  font-weight: 800;
  font-size: clamp(1.85rem, 3.5vw, 2.6rem);
  letter-spacing: 0.04em;
  margin-bottom: 12px;
}
.why-header p {
  color: var(--ivory);
  font-size: 1.08rem;
  max-width: 54ch;
  margin-inline: auto;
  line-height: 1.55;
}
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.why-card {
  background: #1a1a1a;
  border-radius: 18px;
  border-left: 5px solid var(--gold);
  padding: 36px 28px 30px;
  text-align: center;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.25s;
}
.why-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 36px rgba(234, 255, 0, 0.12);
  border-left-color: var(--gold-2);
}
.why-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin: 0 auto 16px;
  color: var(--gold);
}
.why-icon svg { width: 36px; height: 36px; }
.why-card h3 {
  color: var(--gold);
  font-family: var(--sans);
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  margin-bottom: 10px;
}
.why-card p {
  color: var(--ivory);
  font-size: 1rem;
  line-height: 1.6;
  margin: 0;
}
.why-list { display: grid; gap: 22px; }
.why-list h3 { font-size: 1.6rem; margin-bottom: 6px; }

.about-header {
  text-align: center;
  margin-bottom: 48px;
}
.about-header h2 {
  font-family: var(--sans);
  font-weight: 800;
  font-size: clamp(1.85rem, 3.5vw, 2.5rem);
  letter-spacing: 0.02em;
  color: var(--ivory);
  margin: 0;
}
.about-header h2 span { color: var(--gold); }
.about-divider {
  width: 52px;
  height: 3px;
  background: var(--gold);
  margin: 14px auto 0;
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 4vw, 48px);
  align-items: start;
}
.about-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
}
.about-left > p {
  color: var(--ivory);
  font-size: 1.02rem;
  line-height: 1.7;
  margin: 0 0 22px;
}
.about-mission {
  width: 100%;
  background: #1f2418;
  border-left: 5px solid var(--gold);
  border-radius: 4px;
  padding: 22px 22px 22px 24px;
  margin: 0 0 22px;
}
.about-mission h3 {
  font-family: var(--sans);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--ivory);
  margin: 0 0 10px;
  letter-spacing: 0.02em;
}
.about-mission p {
  color: var(--ivory);
  font-size: 1rem;
  line-height: 1.65;
  margin: 0;
}
.about-read-more {
  margin-top: 8px;
  border-radius: 999px;
  padding: 12px 28px;
  font-weight: 700;
}
.about-video {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 10px;
  overflow: hidden;
  background: #0a0a0a;
  box-shadow: 0 12px 28px rgba(0,0,0,0.35);
  margin-bottom: 22px;
}
.about-video iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.about-video-play {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  cursor: pointer;
  display: block;
  background: #000;
}
.about-video-poster {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.45s var(--ease), filter 0.3s;
}
.about-video-play:hover .about-video-poster {
  transform: scale(1.03);
  filter: brightness(0.85);
}
.about-play-btn {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  pointer-events: none;
  transition: transform 0.25s var(--ease);
}
.about-video-play:hover .about-play-btn { transform: scale(1.08); }
.about-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.about-stat {
  background: #1a1a1a;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  padding: 22px 14px;
  text-align: center;
}
.about-stat strong {
  display: block;
  font-family: var(--sans);
  font-size: clamp(1.6rem, 2.5vw, 2rem);
  font-weight: 800;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 8px;
}
.about-stat span {
  display: block;
  color: rgba(255,255,255,0.85);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.about-story-title {
  color: var(--gold);
}
.about-story-text {
  color: var(--ivory);
  line-height: 1.7;
}

/* Our Gym — about page */
.our-gym-section {
  background: #121212;
}
.our-gym {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
}
.our-gym-heading h2 {
  font-family: var(--sans);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin: 0;
  font-style: normal;
}
.our-gym-heading h2 span { color: var(--ivory); }
.our-gym-heading h2 em {
  font-style: normal;
  color: var(--gold);
}
.our-gym-underline {
  width: 64px;
  height: 4px;
  background: var(--gold);
  border-radius: 2px;
  margin-top: 10px;
}
.our-gym-badge {
  display: inline-flex;
  margin-top: 28px;
  border-radius: 999px;
  padding: 12px 28px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.95rem;
}
.our-gym-title {
  font-family: var(--sans);
  font-size: clamp(1.7rem, 3vw, 2.35rem);
  font-weight: 800;
  color: var(--ivory);
  margin: 28px 0 14px;
  line-height: 1.15;
}
.our-gym-desc {
  color: var(--ivory);
  font-size: 1.02rem;
  line-height: 1.7;
  margin: 0 0 28px;
}
.our-gym-desc strong { font-weight: 700; }
.our-gym-features {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
}
.our-gym-features li {
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
  background: #1a1a1a;
  border-radius: 14px;
  padding: 16px 18px;
  color: var(--ivory);
  font-weight: 600;
  font-size: 1rem;
}
.our-gym-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  color: var(--gold);
  flex-shrink: 0;
}
.our-gym-tour {
  margin-top: 22px;
  border-radius: 14px;
  min-height: 52px;
  padding: 0 28px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.our-gym-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.our-gym-grid img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 36px;
  display: block;
  background: #0a0a0a;
}

@media (max-width: 980px) {
  .our-gym { grid-template-columns: 1fr; }
  .our-gym-grid img { border-radius: 28px; }
}

/* About products section */
.about-products-section { background: #121212; }
.about-products-header {
  text-align: center;
  margin-bottom: 22px;
}
.about-products-header h2 {
  font-family: var(--sans);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--ivory);
  margin: 0;
}
.about-products-header h2 span { color: var(--gold); }
.about-products-line {
  width: 64px;
  height: 4px;
  background: var(--gold);
  border-radius: 2px;
  margin: 12px auto 0;
}
.about-products-intro {
  max-width: 78ch;
  margin: 0 auto 40px;
  text-align: center;
  color: var(--ivory);
  line-height: 1.7;
  font-size: 1.02rem;
}
.about-feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}
.about-feature-card {
  background: #1a1a1a;
  border-radius: 20px;
  border-left: 5px solid var(--gold);
  border-top: 5px solid var(--gold);
  padding: 32px 26px 28px;
  transition: transform 0.3s var(--ease), box-shadow 0.3s;
}
.about-feature-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 36px rgba(234, 255, 0, 0.12);
}
.about-feature-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #0f0f0f;
  color: var(--gold);
  display: grid;
  place-items: center;
  margin-bottom: 18px;
}
.about-feature-card h3 {
  font-family: var(--sans);
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--gold);
  margin: 0 0 10px;
}
.about-feature-card p {
  color: var(--ivory);
  margin: 0;
  line-height: 1.6;
  font-size: 0.98rem;
}
.about-product-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.about-product-card {
  background: #181818;
  border-radius: 24px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s var(--ease), box-shadow 0.3s;
}
.about-product-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 40px rgba(234, 255, 0, 0.14);
}
.about-product-img {
  height: auto;
  aspect-ratio: 4 / 5;
  max-height: 320px;
  overflow: hidden;
  background: #232323;
}
.about-product-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  transition: transform 0.5s var(--ease);
}
.about-product-img img.no-face { object-position: center; }
.about-product-card:hover .about-product-img img { transform: scale(1.06); }
.about-product-bar {
  height: 7px;
  width: 100%;
  background: var(--gold);
}
.about-product-info {
  padding: 26px 16px 28px;
  text-align: center;
}
.about-product-info h3 {
  font-family: var(--sans);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--gold);
  margin: 0 0 10px;
  letter-spacing: 0.02em;
}
.about-product-info p {
  color: var(--ivory);
  margin: 0;
  line-height: 1.55;
  font-size: 0.98rem;
}

@media (max-width: 980px) {
  .about-feature-grid { grid-template-columns: 1fr; }
  .about-product-cards { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .about-product-cards { grid-template-columns: 1fr; }
}

.about-split {
  display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 48px; align-items: center;
}
.about-split img,
.about-story-photo {
  width: 100%;
  height: auto;
  aspect-ratio: 1400 / 750;
  object-fit: contain;
  object-position: center;
  filter: none;
}
.stat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 32px; }
.stat-row strong { display: block; font-family: var(--display); font-size: 2.4rem; color: var(--gold); }

.store-panel { display: grid; grid-template-columns: 280px 1fr; gap: 28px; align-items: stretch; }
.store-tabs { display: flex; flex-direction: column; border-right: 1px solid var(--line); }
.store-tabs button {
  text-align: left; padding: 16px 12px; letter-spacing: 0.16em; text-transform: uppercase; font-size: 12px;
  color: var(--ivory-dim); border-bottom: 1px solid var(--line);
}
.store-tabs button.is-on, .store-tabs button:hover { color: var(--gold); }
.store-media {
  width: min(100%, 280px);
  aspect-ratio: 9 / 14;
  max-height: min(420px, 58vh);
  margin-inline: auto;
  background: #0a0a0a;
  border: 1.5px solid var(--gold);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  border-radius: 4px;
}
.store-media--wide {
  width: 100%;
  max-width: none;
  aspect-ratio: 16 / 9;
  max-height: 420px;
}
.store-media video,
.store-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  background: #0a0a0a;
  display: block;
}
.store-media iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}
.store-meta { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 16px; }

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 28px;
}
.team-card {
  background: #141414;
  border-radius: 18px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.35s var(--ease), box-shadow 0.35s;
}
.team-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(234, 255, 0, 0.12);
}
.team-card-media {
  width: 100%;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: #0a0a0a;
}
.team-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  filter: none;
  display: block;
  transition: transform 0.5s var(--ease);
}
.team-card:hover .team-card-media img { transform: scale(1.04); }
.team-card-body {
  padding: 22px 16px 24px;
  background: #0a0a0a;
  text-align: center;
}
.team-card-body h3 {
  font-family: var(--sans);
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--gold);
  margin: 0 0 8px;
}
.team-card-body p {
  color: var(--ivory);
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.45;
}

.gallery-grid {
  columns: 3; column-gap: 14px;
}
.gallery-grid a { break-inside: avoid; display: block; margin-bottom: 14px; overflow: hidden; }
.gallery-grid img { width: 100%; transition: transform 0.8s var(--ease); }
.gallery-grid a:hover img { transform: scale(1.05); }

/* —— Live-site Gallery recreation —— */
.gal-hero {
  position: relative;
  width: 100%;
  min-height: 100svh;
  min-height: 100dvh;
  display: grid;
  place-items: center;
  overflow: hidden;
  margin: 0;
  padding: calc(var(--header) + 24px) 0 56px;
  isolation: isolate;
}
.gal-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
}
.gal-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 10%;
  display: block;
}
.gal-hero-shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(
      180deg,
      rgba(0, 0, 0, 0.42) 0%,
      rgba(0, 0, 0, 0.48) 40%,
      rgba(0, 0, 0, 0.58) 62%,
      rgba(10, 10, 10, 0.88) 86%,
      #141414 100%
    );
}
.gal-hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 24px 20px;
  max-width: 920px;
  justify-self: center;
}
.gal-hero-content h1 {
  margin: 0 0 14px;
  font-family: var(--sans);
  font-weight: 800;
  font-size: clamp(2.2rem, 6vw, 3.75rem);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
  text-shadow: 0 2px 16px rgba(0,0,0,0.7);
}
.gal-hero-content p {
  margin: 0;
  color: var(--gold);
  font-size: clamp(1.05rem, 2.4vw, 1.55rem);
  font-style: italic;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-shadow: 0 2px 10px rgba(0,0,0,0.7);
}

.gal-block {
  padding: 36px 0 48px;
}
.gal-block-inner { max-width: 1240px; }
.gal-heading {
  margin: 0 0 18px;
  font-family: var(--sans);
  font-size: clamp(1.35rem, 2.5vw, 1.85rem);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ivory);
}
.gal-heading::after {
  content: "";
  display: block;
  width: 100%;
  height: 2px;
  margin-top: 10px;
  background: linear-gradient(90deg, var(--gold) 72px, rgba(234, 255, 0, 0.22) 72px);
}

.gal-filmstrip {
  border: 6px solid var(--gold);
  background: #0a0a0a;
  overflow: hidden;
}
.gal-film-stage {
  position: relative;
  width: 100%;
  background: #000;
  aspect-ratio: 3 / 2;
  max-height: min(620px, 72vh);
  overflow: hidden;
}
.gal-film-main {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  cursor: zoom-in;
  background: #000;
}
.gal-film-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 0;
  background: rgba(0,0,0,0.55);
  color: var(--gold);
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
  z-index: 2;
}
.gal-film-nav:hover { background: rgba(234,255,0,0.2); }
.gal-film-prev { left: 12px; }
.gal-film-next { right: 12px; }
.gal-film-thumbs {
  display: flex;
  gap: 6px;
  padding: 8px;
  overflow-x: auto;
  background: #0d0d0d;
  border-top: 3px solid var(--gold);
  scrollbar-width: thin;
  scrollbar-color: var(--gold) #1a1a1a;
}
.gal-film-thumb {
  flex: 0 0 auto;
  width: 96px;
  height: 64px;
  padding: 0;
  border: 2px solid transparent;
  background: #111;
  cursor: pointer;
  overflow: hidden;
}
.gal-film-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  opacity: 0.7;
  transition: opacity 0.2s;
}
.gal-film-thumb.is-on {
  border-color: var(--gold);
}
.gal-film-thumb.is-on img,
.gal-film-thumb:hover img { opacity: 1; }
.gal-film-count {
  display: none;
  position: absolute;
  left: 50%;
  bottom: 14px;
  z-index: 2;
  margin: 0;
  transform: translateX(-50%);
  padding: 6px 12px;
  background: rgba(0, 0, 0, 0.62);
  color: var(--ivory);
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  line-height: 1;
  pointer-events: none;
}

.gal-bar {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  padding: 14px 20px;
  margin-bottom: 10px;
  background: linear-gradient(90deg, #2a1038 0%, #4a1a5c 55%, #6b2480 100%);
}
.gal-bar h2 {
  margin: 0;
  font-family: var(--sans);
  font-size: clamp(1.1rem, 2vw, 1.45rem);
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.03em;
}

.gal-mosaic {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  background: transparent;
}
.gal-mosaic-item {
  display: block;
  height: 210px;
  aspect-ratio: 2 / 3;
  flex: 0 0 auto;
  overflow: hidden;
  background: #1a1a1a;
}
.gal-mosaic-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  transition: transform 0.45s var(--ease);
}
.gal-mosaic-item:hover img { transform: scale(1.04); }

.gal-tiles {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.gal-tile-row {
  display: grid;
  gap: 6px;
}
.gal-tile-row-hero {
  grid-template-columns: 2fr 1fr;
  align-items: stretch;
}
.gal-tile-row-hero-flip {
  grid-template-columns: 1fr 2fr;
}
.gal-tile-row-3 { grid-template-columns: repeat(3, 1fr); }
.gal-tile-row-2 { grid-template-columns: 1fr 1fr; }
.gal-tile-stack {
  display: grid;
  grid-template-rows: 1fr 1fr;
  gap: 6px;
  min-height: 0;
}
.gal-tile {
  display: block;
  overflow: hidden;
  background: #111;
  min-height: 0;
}
.gal-tile-feature { height: 100%; }
.gal-tile img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.45s var(--ease);
}
.gal-tile-feature img {
  height: 100%;
  aspect-ratio: auto;
}
.gal-tile:hover img { transform: scale(1.04); }

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  place-items: center;
  background: rgba(0,0,0,0.92);
  padding: 24px;
}
.lightbox.is-on { display: grid; }
.lightbox img {
  max-width: min(96vw, 1200px);
  max-height: 90vh;
  object-fit: contain;
}
.lightbox-close {
  position: absolute;
  top: max(16px, env(safe-area-inset-top));
  right: max(16px, env(safe-area-inset-right));
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  color: var(--gold);
  font-size: 2.4rem;
  cursor: pointer;
  line-height: 1;
}

.filters {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin: 0;
  padding: 0;
  border: none;
  border-radius: 0;
  background: transparent;
  justify-content: stretch;
}
.filter-btn {
  display: block;
  width: 100%;
  text-align: left;
  border: none;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  padding: 12px 0;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ivory-dim);
  background: transparent;
  transition: color 0.2s;
}
.filter-btn:hover {
  color: var(--gold);
  transform: none;
}
.filter-btn.is-on {
  background: transparent;
  border-color: var(--line);
  color: var(--gold);
}
.search {
  width: min(420px, 100%);
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 0;
  padding: 14px 16px;
  outline: none;
  color: var(--ivory);
}
.search::placeholder { color: rgba(255,255,255,0.45); }
.search:focus { border-color: var(--gold); }

.shop-section {
  padding-top: 40px;
}
.shop-toolbar {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
  margin-bottom: 40px;
  text-align: center;
}
.shop-toolbar-head {
  display: grid;
  gap: 8px;
  justify-items: center;
}
.shop-heading {
  font-family: var(--display);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  color: var(--ivory);
  margin: 0;
}
.shop-toolbar-head .muted {
  color: var(--ivory-dim);
}
.shop-toolbar .shop-search,
.shop-toolbar .search {
  width: 100%;
  text-align: left;
  padding-left: 46px;
}
.shop-search-field {
  position: relative;
  display: block;
  width: min(520px, 100%);
}
.shop-search-icon {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--gold);
  pointer-events: none;
  z-index: 1;
}
.shop-search-field:focus-within .shop-search-icon {
  color: var(--gold-lift, #f5ff66);
}

body[data-page="shop"] .shop-buy-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  width: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
}
body[data-page="shop"] .shop-buy-step {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 56px;
  padding: 12px 16px;
  background: #1a1a1a;
  border: 1px solid transparent;
  border-radius: 10px;
}
body[data-page="shop"] .shop-buy-step.is-on {
  border-color: var(--gold);
}
body[data-page="shop"] .shop-buy-num {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #000;
  color: #fff;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
}
body[data-page="shop"] .shop-buy-step.is-on .shop-buy-num {
  background: var(--gold);
  color: var(--ink);
}
body[data-page="shop"] .shop-buy-label {
  font-family: var(--sans);
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.2;
  color: var(--ivory);
  text-align: left;
}

@media (max-width: 720px) {
  body[data-page="shop"] .shop-buy-steps {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
  body[data-page="shop"] .shop-buy-step {
    min-height: 52px;
    padding: 12px 14px;
  }
  body[data-page="shop"] .shop-buy-label {
    font-size: 0.88rem;
  }
}

.shop-layout {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 48px;
  align-items: start;
}
.shop-sidebar {
  position: sticky;
  top: calc(var(--header) + 16px);
  display: grid;
  gap: 32px;
}
.shop-sort-block {
  display: grid;
  gap: 10px;
}
.shop-sidebar-label,
.shop-sort-label {
  margin: 0;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
}
.shop-sort {
  width: 100%;
  background: transparent;
  color: var(--ivory);
  border: 1px solid var(--line);
  border-radius: 0;
  padding: 12px 14px;
  outline: none;
  cursor: pointer;
  font-family: var(--sans);
  font-size: 13px;
}
.shop-sort:focus { border-color: var(--gold); }
.shop-cats { display: block; }
.shop-cats-trigger {
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0 12px;
  color: var(--ivory);
  background: var(--product-card-media);
  border: 1px solid var(--product-card-border);
  border-radius: 10px;
  cursor: pointer;
  list-style: none;
  touch-action: manipulation;
}
.shop-cats-trigger::-webkit-details-marker { display: none; }
.shop-cats-trigger-meta {
  min-width: 0;
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  color: var(--ivory-dim);
  font-size: 0.75rem;
  line-height: 1rem;
}
#shop-category-current {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.shop-cats-chevron {
  flex: 0 0 auto;
  transition: transform 160ms var(--ease);
}
.shop-cats[open] .shop-cats-trigger { border-color: var(--gold); }
.shop-cats[open] .shop-cats-chevron { transform: rotate(180deg); }
.shop-cats:not([open]) > .filters { display: none; }
.shop-cats > .filters { margin-top: 12px; }
.shop-cats-trigger:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}
.shop-main {
  min-width: 0;
}
.shop-empty {
  grid-column: 1 / -1;
  padding: 48px 16px;
  text-align: center;
}
.shop-pagination {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 6px;
  margin-top: 40px;
  padding: 8px 0 12px;
}
.shop-page-btn,
.shop-page-next {
  min-width: 44px;
  height: 44px;
  padding: 0 12px;
  border: 0;
  background: transparent;
  color: var(--gold);
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 700;
  display: grid;
  place-items: center;
  transition: background 0.2s, color 0.2s;
}
.shop-page-btn.is-on {
  background: var(--gold);
  color: #000;
}
.shop-page-btn:hover:not(.is-on),
.shop-page-next:hover:not(:disabled) {
  background: rgba(234, 255, 0, 0.14);
}
.shop-page-next {
  font-size: 1.25rem;
  margin-left: 4px;
}
.shop-page-next:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}
.shop-page-ellipsis {
  color: rgba(234, 255, 0, 0.45);
  min-width: 28px;
  text-align: center;
  font-weight: 700;
}

.page-hero {
  width: 100%;
  min-height: min(48vh, 520px);
  display: grid;
  align-items: end;
  padding: calc(var(--header) + 24px) 0 48px;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(to bottom, rgba(5,5,5,0.45) 0%, rgba(5,5,5,0.72) 55%, #141414 100%),
    var(--page-image, none) center/cover no-repeat;
}
.page-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.page-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 22%;
  display: block;
}
.page-hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(12,12,12,0.35) 0%, rgba(12,12,12,0.55) 48%, #141414 100%);
}
.page-hero .wrap,
.page-hero-content {
  position: relative;
  z-index: 1;
}
.page-hero h1 { font-size: clamp(2.4rem, 6vw, 5.2rem); }
.cart-hero {
  min-height: 240px;
  padding: calc(var(--header) + 24px) 0 32px;
  align-items: end;
  background: var(--ink);
  border-bottom: 1px solid var(--product-card-border);
}
.cart-hero::before { display: none; }
.cart-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 64px;
}
.cart-hero-copy { max-width: 680px; }
.cart-kicker {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.cart-hero h1 {
  margin: 0;
  max-width: 680px;
  color: var(--ivory);
  font-size: clamp(3rem, 7vw, 5.2rem);
  line-height: 1.02;
  letter-spacing: -0.03em;
  text-wrap: balance;
}
.cart-hero-copy > p:last-child {
  max-width: 54ch;
  margin: 16px 0 0;
  color: var(--product-card-copy);
  font-size: 0.875rem;
  line-height: 1.5;
  text-wrap: pretty;
}
.cart-progress {
  display: grid;
  grid-template-columns: repeat(3, auto);
  gap: 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.cart-progress li {
  min-width: 64px;
  color: var(--ivory-dim);
}
.cart-progress span,
.cart-progress strong { display: block; }
.cart-progress span {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  margin-bottom: 8px;
  border: 1px solid var(--product-card-border);
  border-radius: 50%;
  font-size: 0.75rem;
  font-variant-numeric: tabular-nums;
}
.cart-progress strong {
  font-size: 0.75rem;
  font-weight: 600;
}
.cart-progress .is-current { color: var(--ivory); }
.cart-progress .is-current span {
  border-color: var(--gold);
  background: var(--gold);
  color: var(--ink);
}
.diet-hero,
.contact-hero,
.shop-hero {
  width: 100%;
  max-width: none;
  min-height: 100svh;
  min-height: 100dvh;
  margin: 0;
  padding: calc(var(--header) + 28px) 0 72px;
  display: grid;
  place-items: center;
  align-items: center;
  justify-items: center;
}
.diet-hero .page-hero-bg,
.contact-hero .page-hero-bg,
.shop-hero .page-hero-bg {
  width: 100%;
  max-width: 100%;
  left: 0;
  right: 0;
}
.diet-hero .page-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 6%;
  transform: translateY(-4%) scale(1.06);
}
.contact-hero .page-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 12%;
  transform: translateY(-3%) scale(1.05);
}
.shop-hero .page-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 22%;
  transform: scale(1.04);
}
.diet-hero .page-hero-shade,
.contact-hero .page-hero-shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(
      180deg,
      rgba(0, 0, 0, 0.45) 0%,
      rgba(0, 0, 0, 0.55) 35%,
      rgba(0, 0, 0, 0.62) 55%,
      rgba(10, 10, 10, 0.85) 82%,
      #141414 100%
    );
}
.shop-hero .page-hero-shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(
      180deg,
      rgba(0, 0, 0, 0.38) 0%,
      rgba(0, 0, 0, 0.42) 32%,
      rgba(0, 0, 0, 0.55) 58%,
      rgba(10, 10, 10, 0.88) 84%,
      #141414 100%
    );
}
.diet-hero .page-hero-content,
.contact-hero .page-hero-content,
.shop-hero .page-hero-content {
  width: min(1240px, calc(100% - 40px));
  margin: 0 auto;
  justify-self: center;
  max-width: 920px;
  text-align: center;
  z-index: 2;
}
.diet-hero .page-hero-content h1,
.contact-hero .page-hero-content h1,
.shop-hero .page-hero-content h1 {
  font-family: var(--display);
  font-weight: 500;
  letter-spacing: -0.03em;
  color: #fff;
  text-shadow: 0 2px 18px rgba(0,0,0,0.55);
}
.diet-hero .page-hero-content .muted,
.contact-hero .page-hero-content .muted,
.shop-hero .page-hero-content .muted {
  margin-top: 14px;
  color: var(--gold);
  font-size: clamp(0.95rem, 1.6vw, 1.1rem);
}

.gallery-hero {
  min-height: min(58vh, 640px);
}
.gallery-hero::before {
  background:
    linear-gradient(to bottom, rgba(5,5,5,0.28) 0%, rgba(5,5,5,0.45) 55%, #141414 100%),
    var(--page-image, none) center 18% / cover no-repeat;
}
.gallery-hero .muted { color: rgba(255,255,255,0.88); }

/* About page hero — split copy + athlete */
.about-hero {
  position: relative;
  width: 100%;
  min-height: min(78vh, 820px);
  display: flex;
  align-items: stretch;
  overflow: hidden;
  margin: 0;
  padding-top: calc(var(--header) + 8px);
}
.about-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.about-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 60%;
  display: block;
  filter: brightness(0.88) contrast(1.05);
}
.about-hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0,0,0,0.42) 0%, rgba(0,0,0,0.22) 48%, rgba(0,0,0,0.12) 100%),
    linear-gradient(180deg, rgba(0,0,0,0.18) 0%, transparent 42%, rgba(0,0,0,0.28) 100%);
}
.about-hero-inner {
  position: relative;
  z-index: 1;
  width: min(1240px, calc(100% - 40px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: end;
  gap: clamp(20px, 4vw, 48px);
  min-height: inherit;
  padding: 48px 0 0;
}
.about-hero-copy {
  align-self: center;
  background: rgba(0, 0, 0, 0.38);
  padding: clamp(28px, 4vw, 44px) clamp(24px, 3vw, 36px);
  border-radius: 14px;
  max-width: 520px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.25);
}
.about-hero-copy h1 {
  font-family: var(--sans);
  font-weight: 800;
  font-size: clamp(2.6rem, 6vw, 4.6rem);
  line-height: 0.98;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--ivory);
  margin: 0;
}
.about-hero-copy h1 span { color: var(--gold); }
.about-hero-tagline {
  margin: 18px 0 0;
  color: var(--ivory);
  font-family: var(--sans);
  font-size: clamp(0.85rem, 1.4vw, 1.05rem);
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.about-hero-line {
  width: 56px;
  height: 3px;
  background: var(--gold);
  margin-top: 18px;
}
.about-hero-figure {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  align-self: end;
  line-height: 0;
}
.about-hero-figure img {
  width: min(100%, 560px);
  height: auto;
  max-height: min(720px, 78vh);
  object-fit: contain;
  object-position: bottom center;
  filter: drop-shadow(0 18px 40px rgba(0,0,0,0.55));
  display: block;
}

@media (max-width: 900px) {
  .about-hero { min-height: auto; }
  .about-hero-inner {
    grid-template-columns: 1fr;
    align-items: center;
    padding: 100px 0 0;
    gap: 12px;
  }
  .about-hero-copy {
    max-width: none;
    text-align: center;
    align-items: center;
  }
  .about-hero-line { margin-inline: auto; }
  .about-hero-figure img {
    max-height: 420px;
    width: min(100%, 360px);
  }
}

.product-page {
  display: grid; grid-template-columns: minmax(0, .92fr) minmax(360px, 1.08fr);
  column-gap: clamp(40px, 6vw, 84px); row-gap: 42px; padding: calc(var(--header) + 28px) 0 96px;
}
.product-breadcrumbs {
  grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 9px; align-items: center;
  color: var(--ivory-dim); font-size: .78rem;
}
.product-breadcrumbs a { color: var(--ivory-dim); text-decoration: none; }
.product-breadcrumbs a:hover { color: var(--gold); }
.product-breadcrumbs span[aria-current="page"] { color: var(--ivory); }
.product-stage {
  min-height: 560px; display: grid; place-items: center; position: relative; border: 0;
}
.product-image-frame {
  width: 100%; aspect-ratio: 1; display: grid; place-items: center; overflow: hidden;
  background: radial-gradient(circle at 50% 48%, rgba(234,255,0,.1), transparent 48%), var(--ink-2);
}
.product-stage img { width: min(76%, 460px); max-height: 500px; object-fit: contain; filter: drop-shadow(0 24px 28px rgba(0,0,0,.42)); }
.product-purchase { align-self: center; }
.product-purchase h1 { max-width: 12ch; margin: 0 0 16px; font-size: clamp(2.7rem, 5vw, 4.7rem); line-height: 1.02; }
.product-detail-price { margin: 0; color: var(--gold); font-family: "Bodoni Moda", serif; font-size: 1.65rem; }
.product-summary { max-width: 58ch; margin: 24px 0; color: var(--ivory-dim); }
.product-option-table { display: grid; gap: 18px; margin-top: 28px; padding: 22px 0; border-block: 1px solid var(--line); }
.product-option-field { display: grid; grid-template-columns: minmax(90px, .3fr) 1fr; gap: 18px; align-items: center; }
.product-option-field > span { color: var(--ivory); font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; }
.product-option-field select {
  min-height: 48px; width: 100%; border: 1px solid var(--line); border-radius: 0;
  background: var(--ink-raised); color: var(--ivory); padding: 0 42px 0 14px;
}
.product-option-field select:focus { border-color: var(--gold); }
.product-option-choices {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  min-width: 0;
}
.product-option-choices button {
  min-height: 44px;
  max-width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--ink-raised);
  color: var(--ivory);
  padding: 9px 14px;
  font-size: .85rem;
  line-height: 1.25;
  overflow-wrap: anywhere;
}
.product-option-choices button:hover,
.product-option-choices button:focus-visible {
  border-color: var(--gold);
}
.product-option-choices button.is-selected {
  border-color: var(--gold);
  background: var(--gold);
  color: #000;
  font-weight: 700;
}
.product-option-choices button:disabled {
  opacity: .45;
  cursor: not-allowed;
}
.product-clear-options { justify-self: end; border: 0; background: transparent; color: var(--gold); padding: 0; font-size: .74rem; text-decoration: underline; text-underline-offset: 4px; }
.product-selection-feedback { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; min-height: 32px; margin-top: 14px; }
.product-selection-status { min-height: 22px; margin: 0; color: var(--ivory-dim); font-size: .82rem; }
.product-retry-options { border: 0; background: transparent; color: var(--gold); padding: 0; font-size: .75rem; text-decoration: underline; text-underline-offset: 4px; }
.product-buy-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 12px; }
.product-buy-row .btn { min-width: 190px; }
.product-buy-row .btn:disabled { opacity: .42; cursor: not-allowed; transform: none; }
.qty { display: flex; align-items: center; border: 1px solid var(--line); width: max-content; }
.qty button { width: 44px; height: 44px; }
.qty span { min-width: 36px; text-align: center; }
.product-detail-qty { min-height: 48px; }
.product-detail-qty button { height: 46px; color: var(--ivory); }
.product-meta { display: grid; gap: 10px; margin: 28px 0 0; padding-top: 20px; border-top: 1px solid var(--line); }
.product-meta div { display: grid; grid-template-columns: 92px 1fr; gap: 18px; }
.product-meta dt { color: var(--ivory-dim); font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; }
.product-meta dd { margin: 0; color: var(--ivory); font-size: .88rem; }
.product-meta a { color: var(--gold); text-decoration: none; }
.product-description,
.product-related { grid-column: 1 / -1; }
.product-description { display: grid; grid-template-columns: minmax(180px, .34fr) minmax(0, 1fr); gap: clamp(30px, 6vw, 90px); padding-top: 58px; border-top: 1px solid var(--line); }
.product-description h2,
.product-related h2 { margin: 0; font-size: clamp(2rem, 4vw, 3.5rem); }
.product-description-copy { max-width: 76ch; color: var(--ivory-dim); }
.product-description-copy p { margin: 0 0 18px; }
.product-description-copy h3 { margin: 34px 0 12px; color: var(--ivory); font-size: 1.45rem; }
.product-related { margin-top: 28px; padding-top: 58px; border-top: 1px solid var(--line); }
.product-related .product-grid { max-width: 820px; margin-top: 34px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.product-not-found { grid-column: 1 / -1; min-height: 60vh; display: grid; place-content: center; justify-items: center; gap: 24px; }

.checkout-hero {
  min-height: 300px;
  padding-top: calc(var(--header) + 30px);
  padding-bottom: 42px;
}
.checkout-hero .page-hero-content {
  width: min(1240px, calc(100% - 40px));
  text-align: left;
}
.checkout-hero h1 {
  font-size: clamp(3rem, 7vw, 5.4rem);
}
.checkout-hero .muted {
  margin-top: 14px;
  color: var(--gold);
  font-size: 0.95rem;
}
.checkout-section {
  padding-top: 52px;
  padding-bottom: 80px;
}
.checkout-layout[hidden] { display: none; }
.checkout-empty-state {
  min-height: 280px; padding: 46px 0 80px; text-align: center;
}
.checkout-empty-state p { margin: 0 0 28px; color: var(--ivory-dim); font-size: 1rem; }
.checkout-empty-state .btn { min-width: 180px; justify-content: center; }
.checkout-layout {
  display: grid;
  grid-template-columns: minmax(320px, .8fr) minmax(500px, 1.2fr);
  grid-template-areas: "form summary";
  gap: 40px;
  align-items: start;
}
.checkout-layout > .form {
  grid-area: form;
  gap: 18px;
}
#checkout-sum { grid-area: summary; }
.checkout-form-head {
  display: grid;
  gap: 10px;
  margin-bottom: 12px;
}
.checkout-form-head h2,
.checkout-summary-card h2 {
  margin: 0;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
}
.checkout-form-head .muted {
  max-width: 44ch;
  font-size: 0.9rem;
}
.checkout-kicker {
  margin: 0;
  color: var(--gold);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.checkout-field {
  display: grid;
  gap: 8px;
}
.checkout-field > span {
  color: var(--ivory-dim);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.checkout-field em {
  color: rgba(216,232,160,0.7);
  font-style: normal;
  letter-spacing: 0;
  text-transform: none;
}
.checkout-fulfilment {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 8px 0 20px;
  padding: 0;
  border: 0;
}
.checkout-fulfilment legend {
  grid-column: 1 / -1;
  margin-bottom: 10px;
  color: var(--ivory);
  font-size: 12px;
  font-weight: 600;
}
.checkout-fulfilment label {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  color: var(--ivory-dim);
  cursor: pointer;
}
.checkout-fulfilment label:has(input:checked) {
  border-color: var(--gold);
  color: var(--ivory);
}
.checkout-fulfilment label.is-disabled { opacity: .5; cursor: not-allowed; }
.checkout-fulfilment input {
  width: 17px;
  height: 17px;
  margin: 0;
  accent-color: var(--gold);
}
#delivery-fields[hidden],
#collection-field[hidden] { display: none; }
.checkout-field input,
.checkout-field select,
.checkout-field textarea {
  width: 100%;
  background: #101010;
  border: 1px solid var(--line);
  padding: 14px 12px;
  outline: none;
}
.checkout-field input:focus,
.checkout-field select:focus,
.checkout-field textarea:focus {
  border-color: var(--gold);
}
.checkout-field input[readonly] { color: var(--ivory-dim); cursor: default; }
.checkout-static-value {
  margin: 0;
  min-height: 48px;
  display: flex;
  align-items: center;
  padding: 14px 12px;
  border: 1px solid var(--line);
  background: #101010;
  color: var(--ivory);
}
.checkout-option-choices {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.checkout-option-choices button {
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #101010;
  color: var(--ivory);
  padding: 8px 12px;
  font-size: .82rem;
  line-height: 1.25;
}
.checkout-option-choices button:hover,
.checkout-option-choices button:focus-visible {
  border-color: var(--gold);
}
.checkout-option-choices button.is-selected {
  border-color: var(--gold);
  background: var(--gold);
  color: #000;
  font-weight: 700;
}
.checkout-fulfilment { margin: 0; border: 0; padding: 0; }
.checkout-fulfilment legend { margin-bottom: 8px; color: var(--muted); font-weight: 700; }
.checkout-fulfilment .checkout-option-choices label { min-height: 44px; display: inline-flex; align-items: center; gap: 9px; border: 1px solid var(--line); border-radius: 8px; padding: 10px 13px; color: var(--ivory); cursor: pointer; }
.checkout-fulfilment .checkout-option-choices label:has(input:checked) { border-color: var(--gold); background: var(--gold); color: #000; }
.checkout-fulfilment input { width: auto; accent-color: #000; }
.checkout-field-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.checkout-submit {
  width: 100%;
  justify-content: center;
  margin-top: 6px;
}
.checkout-note {
  color: var(--ivory-dim);
  font-size: 0.78rem;
  line-height: 1.5;
}
.checkout-payment {
  margin-top: 8px; border: 1px solid var(--line); background: rgba(255,255,255,.02);
}
.checkout-payment label {
  display: flex; align-items: center; gap: 10px; padding: 14px;
  color: var(--ivory); font-size: .82rem; font-weight: 600;
}
.checkout-payment input { width: 17px; height: 17px; margin: 0; accent-color: var(--gold); }
.checkout-payment p { padding: 14px; border-top: 1px solid rgba(234,255,0,.16); color: var(--ivory-dim); font-size: .76rem; }
.checkout-summary-card {
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.02);
  padding: 24px;
  position: sticky;
  top: calc(var(--header) + 18px);
}
.checkout-summary-head {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 16px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
}
.checkout-item-count {
  color: var(--ivory-dim);
  font-size: 0.8rem;
  white-space: nowrap;
}
.checkout-order-items {
  display: grid;
}
.checkout-order-columns,
.checkout-order-item {
  display: grid;
  grid-template-columns: minmax(240px, 1fr) auto;
  gap: 12px;
  align-items: center;
}
.checkout-order-columns {
  padding: 12px 0 10px;
  color: var(--ivory-dim);
  font-size: .66rem;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.checkout-order-item {
  padding: 12px 0;
  border-bottom: 1px solid rgba(234,255,0,0.14);
}
.checkout-order-product { display: flex; gap: 12px; align-items: center; min-width: 0; }
.checkout-order-product > div { min-width: 0; }
.checkout-order-item strong,
.checkout-order-item .muted {
  display: block;
}
.checkout-order-item strong {
  font-family: var(--sans);
  font-size: .85rem;
  font-weight: 600;
  line-height: 1.35;
}
.checkout-product-quantity { color: var(--ivory-dim); font-weight: 400; }
.checkout-order-item .muted {
  margin-top: 3px;
  color: var(--ivory-dim);
  font-size: .75rem;
}
.checkout-order-qty {
  display: flex;
  margin: 0;
  color: var(--gold);
  height: 34px;
}
.checkout-order-qty button {
  width: 30px;
  height: 32px;
  font-size: .75rem;
}
.checkout-order-qty span {
  min-width: 30px;
  font-size: .75rem;
}
.checkout-order-item > .price {
  white-space: nowrap;
  font-size: .82rem;
}
.checkout-total-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-top: 22px;
  color: var(--ivory-dim);
  font-size: 0.9rem;
}
.checkout-total-row .price {
  color: var(--gold);
  font-size: 1.35rem;
}
.checkout-summary-empty {
  display: grid;
  gap: 14px;
}
.checkout-summary-empty .muted { font-size: 0.9rem; }
.checkout-summary-empty .btn { width: 100%; justify-content: center; margin-top: 8px; }
.order-tracking { max-width: 820px; }
.order-status-card { position: static; }
.order-status-alert {
  display: grid;
  gap: 4px;
  margin-top: 24px;
  padding: 16px;
  border: 1px solid var(--line);
  color: var(--ivory);
}
.order-status-alert span { color: var(--ivory-dim); font-size: 0.85rem; }
.order-status-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin: 32px 0;
  border-block: 1px solid var(--line);
}
.order-status-steps div {
  position: relative;
  min-height: 132px;
  padding: 22px 16px;
  border-right: 1px solid var(--line);
  color: var(--ivory-dim);
}
.order-status-steps div:last-child { border-right: 0; }
.order-status-steps div::before {
  content: "";
  display: block;
  width: 8px;
  height: 8px;
  margin-bottom: 18px;
  background: rgba(216,232,160,0.35);
}
.order-status-steps div.is-done::before { background: var(--gold); }
.order-status-steps div[aria-current="step"] {
  box-shadow: inset 0 -3px 0 var(--gold);
}
.order-status-steps div[aria-current="step"]::after {
  content: "Current";
  display: block;
  margin-top: 12px;
  color: var(--gold);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.order-status-steps strong,
.order-status-steps span { display: block; }
.order-status-steps strong { color: var(--ivory); font-size: 0.85rem; }
.order-status-steps span { margin-top: 6px; font-size: 0.75rem; }

/* Order journey — payment return, receipt, and private tracking */
.order-kicker {
  margin: 0 0 12px;
  color: var(--gold);
  font: 700 0.72rem/1.3 var(--sans);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.order-status-hero {
  min-height: 420px;
  display: grid;
  align-items: end;
  padding: calc(var(--header) + 72px) 0 72px;
  overflow: hidden;
  background:
    radial-gradient(circle at 80% 20%, rgba(234,255,0,.12), transparent 30%),
    linear-gradient(180deg, #0f100d 0%, #141414 100%);
  border-bottom: 1px solid rgba(234,255,0,.2);
}
.order-status-hero-inner { position: relative; }
.order-status-hero-inner::after {
  content: "";
  position: absolute;
  right: 2%;
  bottom: -74px;
  width: 240px;
  height: 240px;
  border: 1px solid rgba(234,255,0,.22);
  border-radius: 50%;
  box-shadow: 34px -24px 0 -1px #0f100d, 34px -24px 0 0 rgba(234,255,0,.12);
}
.order-status-hero h1 {
  max-width: 780px;
  font-size: clamp(3.6rem, 8vw, 6rem);
  line-height: .92;
  text-wrap: balance;
}
.order-status-hero-inner > p:last-child {
  max-width: 50ch;
  margin-top: 22px;
  color: #c7cbbd;
  font-size: .98rem;
}
.order-status-section { padding: 0 0 96px; background: #141414; }
.order-tracking {
  position: relative;
  z-index: 2;
  max-width: 1080px;
  margin-top: -34px;
}
.order-status-panel {
  overflow: hidden;
  background: #1a1b17;
  border: 1px solid #45483d;
  box-shadow: 0 28px 70px rgba(0,0,0,.34);
}
.order-status-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 32px;
  padding: 42px 44px 36px;
}
.order-status-heading > div { min-width: 0; }
.order-status-heading h2 {
  max-width: 720px;
  font-size: clamp(2.35rem, 5vw, 4rem);
  overflow-wrap: anywhere;
}
.order-status-heading > div > p:last-child {
  max-width: 58ch;
  margin-top: 14px;
  color: #c7cbbd;
}
.order-payment-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 36px;
  padding: 0 13px;
  border: 1px solid #45483d;
  color: #c7cbbd;
  font-size: .75rem;
  font-weight: 700;
  text-transform: capitalize;
  white-space: nowrap;
}
.order-payment-badge i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #85897c;
}
.order-payment-badge.is-paid { color: var(--gold); border-color: rgba(234,255,0,.42); }
.order-payment-badge.is-paid i { background: var(--gold); box-shadow: 0 0 0 4px rgba(234,255,0,.1); }
.order-payment-badge.is-refunded,
.order-payment-badge.is-failed { color: #ffc4b7; border-color: rgba(196,92,74,.55); }
.order-payment-badge.is-refunded i,
.order-payment-badge.is-failed i { background: var(--danger); }
.order-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  margin: 0;
  border-block: 1px solid #45483d;
  background: #151611;
}
.order-facts div { min-width: 0; padding: 22px 44px; border-right: 1px solid #45483d; }
.order-facts div:last-child { border-right: 0; }
.order-facts dt {
  color: #969b8d;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
}
.order-facts dd {
  margin: 5px 0 0;
  color: var(--ivory);
  font-size: .92rem;
  font-weight: 600;
  overflow-wrap: anywhere;
}
.order-facts div:last-child dd { color: var(--gold); font-size: 1.15rem; }
.order-journey,
.order-items-block { padding: 38px 44px 10px; }
.order-items-block { padding-top: 34px; padding-bottom: 34px; }
.order-section-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 26px;
}
.order-section-heading h3 { font: 600 1.35rem/1.2 var(--sans); letter-spacing: -.025em; }
.order-section-heading > span { color: #969b8d; font-size: .74rem; text-transform: capitalize; }
.order-journey ol {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5,minmax(0,1fr));
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}
.order-journey ol::before {
  content: "";
  position: absolute;
  top: 17px;
  left: 17px;
  right: 17px;
  height: 1px;
  background: #4c5044;
}
.order-journey-step { position: relative; min-width: 0; padding-right: 20px; }
.order-step-marker {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 35px;
  height: 35px;
  margin-bottom: 18px;
  border: 1px solid #55594b;
  border-radius: 50%;
  background: #1a1b17;
  color: #969b8d;
  font-size: .72rem;
  font-weight: 700;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.order-journey-step.is-complete .order-step-marker,
.order-journey-step.is-current .order-step-marker { border-color: var(--gold); color: #10110d; background: var(--gold); }
.order-journey-step.is-current .order-step-marker { box-shadow: 0 0 0 6px rgba(234,255,0,.09); }
.order-journey-step strong,
.order-journey-step > div > span { display: block; }
.order-journey-step strong { color: #b8bcaf; font-size: .78rem; line-height: 1.35; }
.order-journey-step > div > span { max-width: 19ch; margin-top: 6px; color: #858a7c; font-size: .69rem; line-height: 1.5; }
.order-journey-step.is-complete strong,
.order-journey-step.is-current strong { color: var(--ivory); }
.order-journey-step.is-current > div > span { color: #c7cbbd; }
.order-items-block ul,
.order-result-receipt ul { margin: 0; padding: 0; list-style: none; border-top: 1px solid #45483d; }
.order-line-item {
  display: grid;
  grid-template-columns: minmax(0,1fr) auto auto;
  align-items: center;
  gap: 22px;
  padding: 16px 0;
  border-bottom: 1px solid #34362f;
  font-size: .86rem;
}
.order-line-item div { min-width: 0; }
.order-line-item div strong,
.order-line-item div span { display: block; overflow-wrap: anywhere; }
.order-line-item div span { margin-top: 2px; color: #969b8d; font-size: .74rem; }
.order-line-qty { color: #969b8d; }
.order-status-actions {
  display: grid;
  grid-template-columns: minmax(0,1fr) auto auto;
  align-items: center;
  gap: 12px;
  padding: 28px 44px;
  border-top: 1px solid #45483d;
  background: #151611;
}
.order-status-actions > div { min-width: 0; }
.order-status-actions > div strong,
.order-status-actions > div span { display: block; }
.order-status-actions > div strong { font-size: .82rem; }
.order-status-actions > div span { margin-top: 3px; color: #969b8d; font-size: .72rem; }
.order-result-shell {
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: calc(var(--header) + 60px) 0 72px;
  background:
    radial-gradient(circle at 50% 25%, rgba(234,255,0,.13), transparent 30%),
    #10110d;
}
.order-result-wrap { max-width: 860px; }
.order-result-card {
  position: relative;
  overflow: hidden;
  padding: 56px clamp(24px,7vw,72px) 42px;
  border: 1px solid #4b4e42;
  background: #1a1b17;
  box-shadow: 0 34px 90px rgba(0,0,0,.42);
}
.order-result-card::before { content: ""; position: absolute; inset: 0 0 auto; height: 6px; background: var(--gold); }
.order-result-card.is-cancelled::before { background: var(--danger); }
.order-result-mark {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  margin-bottom: 30px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  color: #10110d;
  background: var(--gold);
  font: 700 1.35rem/1 var(--sans);
}
.order-result-card.is-cancelled .order-result-mark { border-color: var(--danger); background: var(--danger); color: #fff; }
.order-result-card.is-verifying .order-result-mark { background: transparent; color: var(--gold); animation: order-breathe 1.4s ease-in-out infinite; }
.order-result-card h1 { max-width: 680px; font-size: clamp(3.2rem,8vw,5.8rem); line-height: .92; }
.order-result-copy { max-width: 62ch; margin-top: 20px; color: #c7cbbd; font-size: .96rem; }
.order-result-fulfilment {
  margin-top: 30px;
  padding: 22px 24px;
  border: 1px solid #45483d;
  background: #151611;
}
.order-result-fulfilment-head {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}
.order-result-fulfilment-head div { display: grid; gap: 4px; }
.order-result-fulfilment-head span {
  color: #969b8d;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
}
.order-result-fulfilment-head strong { color: var(--ivory); font-size: .92rem; overflow-wrap: anywhere; }
.order-result-fulfilment p { margin: 16px 0 0; color: #c7cbbd; font-size: .8rem; line-height: 1.6; }
.order-result-receipt { margin-top: 38px; padding: 24px; background: #151611; border: 1px solid #3f4238; }
.order-result-receipt > div,
.order-result-receipt li { display: flex; justify-content: space-between; align-items: baseline; gap: 24px; }
.order-result-receipt > div { padding-bottom: 18px; }
.order-result-receipt > div span { color: #969b8d; font-size: .75rem; }
.order-result-receipt > div strong { color: var(--gold); font-size: 1.35rem; }
.order-result-receipt li { padding: 12px 0; border-bottom: 1px solid #34362f; font-size: .8rem; }
.order-result-receipt li:last-child { border-bottom: 0; padding-bottom: 0; }
.order-result-receipt li small { color: #969b8d; font-size: inherit; }
.order-result-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 30px; }
.order-text-link { min-height: 44px; display: inline-flex; align-items: center; padding: 0 10px; color: #c7cbbd; font-size: .8rem; text-decoration: underline; text-underline-offset: 4px; }
.order-text-link:hover { color: var(--gold); }
.order-result-help { margin-top: 28px; color: #969b8d; font-size: .75rem; }
.order-result-help a { color: var(--gold); text-decoration: underline; text-underline-offset: 3px; }
.order-result-message { min-height: 1.5em; margin-top: 14px; color: #ffc4b7; font-size: .78rem; }
.order-result-loading {
  min-height: 260px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 18px;
  color: #c7cbbd;
}
.order-pulse { width: 18px; height: 18px; border-radius: 50%; background: var(--gold); animation: order-breathe 1.2s ease-in-out infinite; }
.order-empty-state { max-width: 760px; margin: 0 auto; padding: 56px; border: 1px solid #45483d; background: #1a1b17; text-align: center; }
.order-empty-state h1,
.order-empty-state h2 { font-size: clamp(2.5rem,7vw,4.5rem); }
.order-empty-state > p:not(.order-kicker) { max-width: 55ch; margin: 18px auto 26px; color: #c7cbbd; }
.order-empty-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; }
@keyframes order-breathe { 50% { transform: scale(.72); opacity: .45; } }

@media (max-width: 800px) {
  .order-status-hero { min-height: 350px; padding-bottom: 58px; }
  .order-status-hero-inner::after { width: 150px; height: 150px; right: -36px; opacity: .55; }
  .order-status-heading { display: grid; padding: 34px 26px 28px; }
  .order-payment-badge { justify-self: start; }
  .order-facts { grid-template-columns: 1fr; }
  .order-facts div { padding: 17px 26px; border-right: 0; border-bottom: 1px solid #45483d; }
  .order-facts div:last-child { border-bottom: 0; }
  .order-journey,
  .order-items-block { padding-inline: 26px; }
  .order-journey ol { grid-template-columns: 1fr; gap: 0; }
  .order-journey ol::before { top: 17px; bottom: 17px; left: 17px; right: auto; width: 1px; height: auto; }
  .order-journey-step { display: grid; grid-template-columns: 35px minmax(0,1fr); gap: 16px; padding: 0 0 24px; }
  .order-journey-step:last-child { padding-bottom: 0; }
  .order-step-marker { margin: 0; }
  .order-journey-step > div { padding-top: 7px; }
  .order-journey-step > div > span { max-width: none; }
  .order-status-actions { grid-template-columns: 1fr; padding: 26px; }
  .order-status-actions .btn { width: 100%; }
}

@media (max-width: 520px) {
  .order-status-hero h1 { font-size: clamp(3.1rem,16vw,4rem); }
  .order-tracking { width: calc(100% - 24px); }
  .order-status-heading h2 { font-size: 2.4rem; }
  .order-section-heading { align-items: flex-start; flex-direction: column; gap: 4px; }
  .order-line-item { grid-template-columns: minmax(0,1fr) auto; gap: 10px; }
  .order-line-qty { grid-column: 1; }
  .order-line-item > strong { grid-column: 2; grid-row: 1 / span 2; }
  .order-result-shell { place-items: start center; padding-top: calc(var(--header) + 32px); }
  .order-result-wrap { width: calc(100% - 24px); }
  .order-result-card { padding: 42px 22px 28px; }
  .order-result-card h1 { font-size: 3.1rem; }
  .order-result-fulfilment { padding: 18px; }
  .order-result-fulfilment-head { grid-template-columns: 1fr; gap: 14px; }
  .order-result-receipt { padding: 18px; }
  .order-result-actions { display: grid; }
  .order-result-actions .btn { width: 100%; }
  .order-text-link { justify-content: center; }
  .order-empty-state { padding: 40px 22px; }
}

@media (prefers-reduced-motion: reduce) {
  .order-pulse,
  .order-result-card.is-verifying .order-result-mark { animation: none; }
}

.diet-plans-section {
  padding-top: 64px;
  padding-bottom: 80px;
}
.diet-plans-head {
  text-align: center;
  max-width: 42rem;
  margin: 0 auto 48px;
}
.diet-plans-head h2 {
  margin: 0 0 14px;
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(2.2rem, 4.5vw, 3.6rem);
  letter-spacing: -0.03em;
  line-height: 1.05;
  color: var(--ivory);
}
.diet-plans-head p {
  margin: 0 auto;
  max-width: 36ch;
  color: var(--ivory-dim);
  font-size: 0.95rem;
}
.diet-plans-head::after {
  content: "";
  display: block;
  width: 72px;
  height: 1px;
  margin: 22px auto 0;
  background: var(--gold);
}

.contact-form-section { padding-top: 64px; }
.contact-form-head {
  text-align: center;
  max-width: 40rem;
  margin: 0 auto 40px;
}
.contact-form-head h2 {
  margin: 0 0 12px;
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(2rem, 4vw, 3.2rem);
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--ivory);
}
.contact-form-head p {
  margin: 0 auto;
  max-width: 42ch;
  color: var(--ivory-dim);
  font-size: 0.95rem;
}
.contact-form-head::after {
  content: "";
  display: block;
  width: 72px;
  height: 1px;
  margin: 20px auto 0;
  background: var(--gold);
}

.plans {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid var(--line);
}
.plan-row {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) auto;
  gap: 20px;
  align-items: center;
  padding: 22px 8px;
  border-bottom: 1px solid var(--line);
  background: transparent;
  transition: background 0.35s var(--ease), transform 0.35s var(--ease);
}
.plan-row:hover {
  background: #101010;
  transform: translateX(6px);
}
.plan-row-mark {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  color: var(--ivory);
  background:
    radial-gradient(circle at 50% 40%, rgba(234, 255, 0, 0.12), transparent 68%),
    #101010;
  border: 1px solid transparent;
  transition: border-color 0.3s;
}
.plan-row:hover .plan-row-mark { border-color: var(--line); }
.plan-row-copy h3 {
  margin: 0 0 6px;
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(1.25rem, 2.2vw, 1.7rem);
  letter-spacing: -0.02em;
  line-height: 1.1;
  text-transform: none;
  color: var(--ivory);
}
.plan-row-copy p {
  margin: 0;
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
}
.plan-row-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}
.plan-row-actions .btn {
  min-height: 44px;
  padding: 0 18px;
}

.plan-card {
  border: 1px solid var(--line);
  padding: 28px 22px;
  min-height: 200px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  background: transparent;
  transition: border-color 0.35s, transform 0.45s var(--ease);
}
.plan-card:hover { border-color: var(--gold); transform: translateY(-6px); }
.plan-card h3 {
  margin: 0;
  font-size: 1.35rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}
.plan-card .card-actions {
  margin-top: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.form { display: grid; gap: 14px; }
.form input, .form textarea, .form select {
  width: 100%; background: transparent; border: 1px solid var(--line); padding: 14px 12px; outline: none;
}
.form input:focus, .form textarea:focus { border-color: var(--gold); }
.form textarea { min-height: 140px; resize: vertical; }
.form-msg { min-height: 1.4em; color: var(--gold); }

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 10000;
  padding: 8px 12px;
  background: var(--gold);
  color: var(--ink);
  font-size: 0.875rem;
  font-weight: 700;
  transform: translateY(-140%);
}
.skip-link:focus { transform: translateY(0); }
body[data-page="cart"] [hidden] { display: none !important; }
body[data-page="cart"] .wa { display: none; }
.cart-page-section { padding: 48px 0 96px; }
.cart-main { min-width: 0; }
.cart-page-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
}
.cart-page-head h2 {
  margin: 0 0 4px;
  font-family: var(--sans);
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: -0.03em;
}
.cart-page-head p { margin: 0; }
.cart-head-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}
.cart-continue-shopping,
.cart-clear {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--ivory-dim);
  font: 600 0.75rem/1 var(--sans);
  text-decoration: underline;
  text-underline-offset: 4px;
  cursor: pointer;
}
.cart-clear[data-confirming="true"] { color: var(--danger); }
.cart-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 360px);
  gap: 32px;
  align-items: start;
  animation: cart-arrive 220ms var(--ease) both;
}
@keyframes cart-arrive {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
  .cart-layout { animation: none; }
  .cart-table .qty button { transition: none; }
}
.cart-table-wrap {
  min-width: 0;
  padding: 0 24px;
  border: 1px solid var(--product-card-border);
  border-radius: 14px;
  background: var(--product-card-surface);
  overflow: hidden;
}
.cart-table-wrap.is-empty { padding: 0; }
.cart-table-wrap.is-empty .cart-table thead { display: none; }
.cart-table { width: 100%; border-collapse: collapse; table-layout: fixed; }
.cart-table th {
  padding: 16px 8px;
  border-bottom: 1px solid var(--product-card-border);
  color: var(--ivory-dim);
  font-size: 0.75rem;
  font-weight: 600;
  text-align: left;
}
.cart-table th:first-child { width: 52%; }
.cart-table th:nth-child(2) { width: 15%; }
.cart-table th:nth-child(3) { width: 18%; }
.cart-table th:nth-child(4) { width: 15%; text-align: right; }
.cart-table td {
  padding: 16px 8px;
  border-bottom: 1px solid var(--product-card-border);
  vertical-align: middle;
  font-size: 0.875rem;
}
.cart-table tr:last-child td { border-bottom: 0; }
.cart-product {
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
}
.cart-product-image {
  width: 96px;
  height: 112px;
  flex: 0 0 96px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  background: var(--product-card-media);
}
.cart-table img {
  width: calc(100% - 16px);
  height: calc(100% - 16px);
  object-fit: contain;
  object-position: center;
}
.cart-product-copy { min-width: 0; }
.cart-product-copy strong {
  display: block;
  color: var(--ivory);
  font-family: var(--sans);
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.4;
  overflow-wrap: anywhere;
}
.cart-product-copy > span {
  display: block;
  margin-top: 4px;
  color: var(--product-card-copy);
  font-size: 0.75rem;
  line-height: 1.4;
}
.cart-table .price {
  color: var(--ivory);
  font-size: 0.875rem;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.cart-line-total { text-align: right; }
.cart-cell-label { display: none; }
.cart-table .qty {
  width: max-content;
  height: 46px;
  display: grid;
  grid-template-columns: 44px 32px 44px;
  border: 1px solid var(--product-card-border);
  border-radius: 8px;
  overflow: hidden;
}
.cart-table .qty button,
.cart-table .qty span {
  width: auto;
  height: 44px;
  display: grid;
  place-items: center;
}
.cart-table .qty button {
  border: 0;
  background: transparent;
  color: var(--ivory);
  font-size: 0.875rem;
  cursor: pointer;
  transition: transform 120ms var(--ease);
}
.cart-table .qty button:active { transform: scale(0.94); }
.cart-table .qty span {
  min-width: 32px;
  border-inline: 1px solid var(--product-card-border);
  color: var(--ivory);
  font-size: 0.75rem;
  font-variant-numeric: tabular-nums;
}
.cart-empty {
  min-height: 430px;
  display: grid;
  place-items: center;
  align-content: center;
  padding: 64px 24px;
  text-align: center;
}
.cart-empty-mark {
  width: 72px;
  height: 72px;
  display: grid;
  place-items: center;
  margin-bottom: 24px;
  border: 1px solid var(--product-card-border);
  border-radius: 50%;
  color: var(--gold);
  background: var(--product-card-media);
}
.cart-empty-kicker {
  margin: 0 0 8px;
  color: var(--gold);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.cart-empty h2 {
  max-width: 560px;
  margin: 0;
  font-size: clamp(2.25rem, 5vw, 3.75rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  text-wrap: balance;
}
.cart-empty > p:not(.cart-empty-kicker) {
  max-width: 48ch;
  margin: 16px 0 24px;
  color: var(--product-card-copy);
  font-size: 0.875rem;
  line-height: 1.5;
  text-wrap: pretty;
}
.cart-summary {
  position: sticky;
  top: calc(var(--header) + 24px);
  padding: 24px;
  border: 1px solid var(--product-card-border);
  border-radius: 14px;
  background: var(--product-card-surface);
}
.cart-summary.is-empty { display: none; }
.cart-summary h2 {
  margin: 0 0 16px;
  color: var(--ivory);
  font-family: var(--sans);
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: -0.03em;
}
.cart-total-line {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid var(--product-card-border);
  color: var(--product-card-copy);
  font-size: 0.875rem;
}
.cart-total-line .price {
  color: var(--ivory);
  font-size: 0.875rem;
  font-variant-numeric: tabular-nums;
}
.cart-delivery-address {
  padding: 16px 0;
  border-bottom: 1px solid var(--product-card-border);
}
.cart-address-label {
  margin: 0 0 4px;
  color: var(--ivory);
  font-size: 0.75rem;
  font-weight: 600;
}
.cart-delivery-address p:not(.cart-address-label) {
  margin: 0;
  color: var(--product-card-copy);
  font-size: 0.75rem;
  line-height: 1.5;
}
.cart-grand-total {
  padding: 16px 0;
  border-bottom: 0;
  color: var(--ivory);
  font-weight: 700;
}
.cart-grand-total .price {
  color: var(--gold);
  font-size: 1.5rem;
}
.cart-coupon {
  margin-top: 8px;
  padding-top: 16px;
  border-top: 1px solid var(--product-card-border);
}
.cart-coupon label {
  display: block;
  margin-bottom: 8px;
  color: var(--product-card-copy);
  font-size: 0.75rem;
  font-weight: 600;
}
.cart-coupon div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
}
.cart-coupon input {
  min-width: 0;
  width: 100%;
  min-height: 44px;
  padding: 8px 12px;
  border: 1px solid var(--product-card-border);
  border-radius: 8px;
  background: var(--product-card-media);
  outline: none;
  color: var(--ivory);
  font: 400 0.875rem/1.4 var(--sans);
}
.cart-coupon input:focus-visible { border-color: var(--gold); outline: 2px solid var(--gold); outline-offset: 2px; }
.cart-coupon button {
  min-height: 44px;
  padding: 8px 12px;
  border: 1px solid var(--product-card-border);
  border-radius: 8px;
  background: transparent;
  color: var(--ivory);
  font: 600 0.75rem/1 var(--sans);
  cursor: pointer;
}
.cart-summary-label {
  margin: 0 0 8px;
  color: var(--gold);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.cart-checkout {
  width: 100%;
  justify-content: center;
  margin-top: 16px;
  white-space: nowrap;
}
.cart-assurance {
  display: grid;
  gap: 12px;
  margin: 16px 0 0;
  padding: 16px 0 0;
  border-top: 1px solid var(--product-card-border);
  list-style: none;
}
.cart-assurance li {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  gap: 8px;
  color: var(--product-card-copy);
}
.cart-assurance svg { margin-top: 1px; color: var(--gold); }
.cart-assurance strong,
.cart-assurance span { display: block; }
.cart-assurance strong {
  margin-bottom: 2px;
  color: var(--ivory);
  font-size: 0.75rem;
}
.cart-assurance span {
  font-size: 0.75rem;
  line-height: 1.45;
}
.cart-remove {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  margin-top: 4px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--product-card-copy);
  font: 500 0.75rem/1 var(--sans);
  text-decoration: underline;
  text-underline-offset: 4px;
  cursor: pointer;
}
@media (hover: hover) and (pointer: fine) {
  .cart-continue-shopping:hover,
  .cart-clear:hover,
  .cart-remove:hover { color: var(--gold); }
  .cart-coupon button:hover { border-color: var(--gold); color: var(--gold); }
}

.site-footer {
  margin-top: 80px;
  border-top: 1px solid var(--line);
  padding: 56px 0 28px;
  background: #0a0a0a;
}
.foot-grid {
  display: grid;
  grid-template-columns: 1.1fr 1.4fr 1.2fr auto;
  gap: 36px;
  align-items: start;
}
.foot-brand img {
  height: 72px;
  width: auto;
  display: block;
}
.foot-col h3 {
  font-family: var(--sans);
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 14px;
}
.foot-col p {
  color: var(--ivory);
  font-size: 0.95rem;
  line-height: 1.65;
  margin: 0;
  max-width: 36ch;
}
.site-footer a { color: var(--ivory); }
.site-footer a:hover { color: var(--gold); }
.foot-social {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 4px;
}
.site-footer .foot-social-btn,
.site-footer .foot-social-btn:hover,
.site-footer .foot-social-btn:focus {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--gold);
  color: #000;
  display: grid;
  place-items: center;
  transition: transform 0.25s var(--ease), filter 0.25s;
}
.site-footer .foot-social-btn:hover {
  filter: brightness(1.05);
  transform: translateY(-2px);
  color: #000;
}
.site-footer .foot-social-btn svg {
  width: 24px;
  height: 24px;
  display: block;
}
.site-footer .foot-social-btn svg path {
  fill: #000 !important;
}
.legal {
  margin-top: 36px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.08);
  color: var(--ivory-dim);
  font-size: 0.85rem;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}
.powered-by {
  margin: 0;
  color: var(--ivory-dim);
  font-weight: 600;
  letter-spacing: 0.02em;
}
.powered-by span {
  color: #4caf50;
  font-weight: 800;
}

.drawer {
  position: fixed; inset: 0 0 0 auto; width: min(390px, 100%);
  background: #141414; border-left: 1px solid var(--line); z-index: 60;
  transform: translateX(100%); transition: transform 0.55s var(--ease);
  display: flex; flex-direction: column; padding: 22px;
}
.drawer.is-open { transform: none; }
.drawer-head { display: flex; justify-content: space-between; align-items: center; flex: 0 0 auto; margin-bottom: 14px; }
.drawer-head h2 { margin: 0; font-size: 1.6rem; line-height: 1; }
.drawer-close { width: 44px; height: 44px; }
.drawer-notice {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 11px;
  align-items: center;
  margin: 0 0 10px;
  padding: 12px;
  border: 1px solid rgba(234, 255, 0, 0.42);
  border-radius: 12px;
  background: rgba(234, 255, 0, 0.08);
  animation: cart-confirm-in 320ms var(--ease) both;
}
.drawer-notice[hidden] { display: none; }
.drawer-notice-icon {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--gold);
  color: var(--ink);
}
.drawer-notice-copy,
.drawer-notice-copy > strong,
.drawer-notice-copy > span { display: block; min-width: 0; }
.drawer-notice-copy > strong {
  color: var(--ivory);
  font-size: 0.85rem;
  line-height: 1.3;
}
.drawer-notice-copy > span {
  margin-top: 2px;
  color: var(--ivory-dim);
  font-size: 0.75rem;
  line-height: 1.4;
  overflow-wrap: anywhere;
}
@keyframes cart-confirm-in {
  from { opacity: 0.01; transform: translateY(-8px); filter: blur(4px); }
  to { opacity: 1; transform: translateY(0); filter: blur(0); }
}
#drawer-items { flex: 1 1 auto; min-height: 0; overflow-y: auto; padding: 2px 5px 4px 0; scrollbar-width: thin; scrollbar-color: var(--line) transparent; }
.drawer-item {
  display: grid; grid-template-columns: 52px minmax(0, 1fr) 36px; gap: 11px;
  align-items: center; padding: 12px 8px; border-bottom: 1px solid rgba(234,255,0,.13);
  border-radius: 10px;
}
.drawer-item.is-recent {
  background: rgba(234, 255, 0, 0.055);
  animation: cart-item-confirm 720ms var(--ease) both;
}
@keyframes cart-item-confirm {
  from { background: rgba(234, 255, 0, 0.18); }
  to { background: rgba(234, 255, 0, 0.055); }
}
.drawer-item-image { width: 52px; height: 58px; object-fit: contain; background: transparent; }
.drawer-item-details { min-width: 0; }
.drawer-item-name { display: block; font-size: .9rem; line-height: 1.3; overflow-wrap: anywhere; }
.drawer-item-meta { display: flex; flex-wrap: wrap; gap: 4px 7px; margin: 4px 0 8px; color: var(--ivory-dim); font-size: .75rem; line-height: 1.3; }
.drawer-item-meta .price { color: var(--gold); font-size: .8rem; }
.drawer-qty { height: 34px; }
.drawer-qty button { width: 34px; height: 32px; font-size: .8rem; }
.drawer-qty span { min-width: 30px; font-size: .78rem; }
.drawer-remove { width: 34px; height: 34px; align-self: start; }
.drawer-foot { flex: 0 0 auto; margin-top: 12px; padding-top: 14px; border-top: 1px solid var(--line); }
#drawer-total { margin: 0; font-size: 1.05rem; }
.drawer-actions { margin-top: 12px; }
.drawer-actions .btn { flex: 1 1 0; min-height: 44px; padding-inline: 16px; font-size: .68rem; }
.drawer-continue {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 44px;
  margin-top: 6px;
  color: var(--ivory-dim);
  font-size: 0.75rem;
  font-weight: 650;
  text-decoration: underline;
  text-underline-offset: 4px;
  transition: color 180ms ease;
}
.drawer-continue:hover { color: var(--gold); }
@media (prefers-reduced-motion: reduce) {
  .drawer,
  .backdrop { transition: none; }
  .drawer-notice,
  .drawer-item.is-recent { animation: none; }
}
.backdrop {
  position: fixed; inset: 0; background: rgba(0,0,0,0.55); z-index: 50; opacity: 0; pointer-events: none;
  transition: opacity 0.4s;
}
.backdrop.is-open { opacity: 1; pointer-events: auto; }
.toast {
  position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%) translateY(20px);
  background: var(--gold); color: #000; border: 2px solid #000;
  padding: 12px 22px; z-index: 70; border-radius: 10px;
  opacity: 0; pointer-events: none; transition: 0.4s var(--ease); font-size: 14px; font-weight: 700;
}
.toast.is-on { opacity: 1; transform: translateX(-50%) translateY(0); }

.mobile-nav {
  display: none; position: fixed; inset: var(--header) 0 0 0; background: #141414;
  z-index: 35; flex-direction: column; padding: 28px; gap: 18px;
  overflow-y: auto; overscroll-behavior: contain;
}
.mobile-nav.is-open { display: flex; }
.mobile-nav a {
  font-size: 1.6rem;
  font-family: var(--display);
  color: var(--gold);
  transition: color 0.25s;
}
.mobile-nav a:hover { color: var(--ivory); }
.mobile-nav a.is-active {
  color: var(--ivory);
}

/* WhatsApp CTA */
.wa {
  position: fixed; right: 22px; bottom: 22px; z-index: 45;
  width: 58px; height: 58px; border-radius: 50%;
  background: #25D366;
  display: grid; place-items: center;
  box-shadow: 0 6px 24px rgba(37,211,102,0.45), 0 2px 8px rgba(0,0,0,0.4);
  animation: wa-heartbeat 1.6s ease-in-out infinite;
  transition: transform 0.3s var(--ease), box-shadow 0.3s;
  text-decoration: none;
}
.wa:hover {
  animation-play-state: paused;
  transform: scale(1.12);
  box-shadow: 0 10px 36px rgba(37,211,102,0.65), 0 4px 12px rgba(0,0,0,0.4);
}
/* Badge */
.wa-badge {
  position: absolute; top: -2px; right: -2px;
  width: 20px; height: 20px; border-radius: 50%;
  background: #ff3b30; color: #fff;
  font-family: var(--sans); font-size: 11px; font-weight: 700;
  display: grid; place-items: center;
  border: 2px solid #141414;
  pointer-events: none;
  animation: badge-pop 0.4s var(--ease) both;
}
@keyframes badge-pop {
  from { transform: scale(0); }
  to   { transform: scale(1); }
}
/* Heartbeat: two quick beats then a pause */
@keyframes wa-heartbeat {
  0%   { transform: scale(1); }
  12%  { transform: scale(1.18); }
  22%  { transform: scale(1); }
  32%  { transform: scale(1.12); }
  42%  { transform: scale(1); }
  100% { transform: scale(1); }
}

.reveal { opacity: 0; transform: translateY(28px); animation: rise 0.9s var(--ease) forwards; }
.d1 { animation-delay: 0.08s; } .d2 { animation-delay: 0.16s; } .d3 { animation-delay: 0.24s; }
@keyframes rise { to { opacity: 1; transform: none; } }

@media (max-width: 1100px) {
  .product-grid { grid-template-columns: repeat(3, 1fr); }
  #best-sellers .product-grid {
    grid-template-columns: repeat(3, minmax(0, 300px));
    justify-content: center;
  }
}
@media (hover: none) and (pointer: coarse) {
  body { background-attachment: scroll; }
  .latest-btn { min-height: 44px; }
  .drawer-qty { height: 44px; }
  .drawer-qty button { width: 44px; height: 42px; }
  .drawer-qty span { min-width: 36px; }
  .drawer-remove { width: 44px; height: 44px; }
}
@media (max-width: 980px) {
  :root { --header: 88px; }
  .hero, .about-split, .about-grid, .store-panel, .product-page { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .product-grid, .latest-grid, .team-grid { grid-template-columns: 1fr 1fr; }
  #best-sellers .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    justify-content: center;
  }
  .product-purchase h1 { max-width: none; }
  .order-status-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .order-status-steps div:nth-child(2) { border-right: 0; }
  .order-status-steps div:nth-child(-n + 2) { border-bottom: 1px solid var(--line); }
  body[data-page="cart"] .cart-table-wrap {
    overflow: hidden;
  }
  body[data-page="cart"] .cart-table { min-width: 0; }
  .cart-hero-inner { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .cart-progress { justify-self: start; }
  .plan-row {
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 16px;
  }
  .plan-row-actions {
    grid-column: 2 / -1;
    justify-content: flex-start;
  }
  .diet-hero,
  .contact-hero,
  .shop-hero {
    min-height: 100svh;
    padding: calc(var(--header) + 20px) 0 56px;
  }
  .diet-hero .page-hero-bg,
  .contact-hero .page-hero-bg,
  .shop-hero .page-hero-bg,
  .gal-hero-bg {
    width: 100%;
    max-width: 100%;
  }
  .diet-hero .page-hero-bg img {
    object-position: center 4%;
    transform: translateY(-3%);
  }
  .contact-hero .page-hero-bg img {
    object-position: center 10%;
    transform: translateY(-2%) scale(1.04);
  }
  .shop-hero .page-hero-bg img {
    object-position: center 18%;
    transform: scale(1.06);
  }
  .gal-hero {
    min-height: 100svh;
    padding: calc(var(--header) + 16px) 0 48px;
  }
  .gal-hero-bg img { object-position: center 16%; }
  .shop-layout {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .shop-sidebar {
    position: static;
    gap: 22px;
  }
  .shop-cats .filters {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 8px;
  }
  .shop-cats .filter-btn {
    width: auto;
    border: 1px solid var(--line);
    padding: 10px 14px;
    min-height: 44px;
  }
  .shop-cats .filter-btn.is-on {
    border-color: var(--gold);
  }
  .why-grid { grid-template-columns: 1fr 1fr; }
  .gallery-grid { columns: 2; }
  body:not([data-page="gallery"]) .gal-mosaic-item { height: 170px; }
  body:not([data-page="gallery"]) .gal-tile-row-hero,
  body:not([data-page="gallery"]) .gal-tile-row-hero-flip { grid-template-columns: 1.35fr 1fr; }
  body:not([data-page="gallery"]) .gal-film-stage { max-height: 420px; }
  .nav { display: none; }
  .menu-toggle { display: grid; }
  .hero {
    min-height: 100svh;
    min-height: 100dvh;
    padding: calc(var(--header) + 12px) 0 48px;
  }
  .hero-inner {
    grid-template-columns: 1fr;
    width: min(1180px, calc(100% - 28px));
    gap: 20px;
  }
  .hero-copy { max-width: none; align-items: center; text-align: center; }
  .hero-copy h1 { font-size: clamp(1.85rem, 8vw, 2.6rem); }
  .hero-actions { justify-content: center; }
  .hero-visual { min-height: 300px; max-width: 380px; }
  .hero-pouch { width: min(100%, 300px); }
  .team-card, .team-card img { height: auto; }
  .section { padding: 72px 0 32px; }
  .section h2 { font-size: clamp(2rem, 6vw, 3.2rem); }
  .store-tabs {
    flex-direction: row;
    overflow-x: auto;
    border-right: 0;
    border-bottom: 1px solid var(--line);
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
  }
  .store-tabs button {
    white-space: nowrap;
    flex: 0 0 auto;
    border-bottom: 0;
    min-height: 48px;
    padding: 14px 16px;
  }
  .store-media {
    width: 100%;
    max-width: 360px;
    max-height: min(380px, 52vh);
  }
  .store-media--wide {
    max-width: none;
    max-height: 320px;
  }
  .product-stage { min-height: 360px; }
  .page-hero-content,
  .diet-hero .page-hero-content,
  .contact-hero .page-hero-content,
  .shop-hero .page-hero-content,
  .gal-hero-content {
    width: min(1240px, calc(100% - 28px));
    padding-inline: 0;
  }
  .diet-hero .page-hero-content h1,
  .contact-hero .page-hero-content h1,
  .shop-hero .page-hero-content h1,
  .gal-hero-content h1 {
    font-size: clamp(2rem, 9vw, 3.4rem);
  }
  .mobile-nav {
    inset: 0;
    padding: calc(var(--header) + 18px) 22px 32px;
    z-index: 38;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  .stat-row { gap: 12px; }
  .stat-row strong { font-size: clamp(1.6rem, 6vw, 2.2rem); }
  .form input,
  .form textarea,
  .form select,
  .search,
  .shop-sort {
    font-size: 16px;
  }
  .cart-layout {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .cart-summary {
    position: static;
  }
  .checkout-layout {
    grid-template-columns: 1fr;
    grid-template-areas: "summary" "form";
    gap: 36px;
  }
  .checkout-summary-card {
    position: static;
  }
  .checkout-hero .page-hero-content {
    width: min(1240px, calc(100% - 28px));
  }
}
@media (max-width: 640px) {
  .product-grid, .latest-grid, .team-grid, .why-grid { grid-template-columns: 1fr; }
  #best-sellers .product-grid {
    grid-template-columns: minmax(0, 360px);
    justify-content: center;
  }
  .plan-row {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 20px 0;
  }
  .plan-row:hover { transform: none; }
  .plan-row-mark { width: 44px; height: 44px; }
  .plan-row-actions {
    grid-column: 1;
    width: 100%;
  }
  .plan-row-actions .btn { flex: 1; justify-content: center; min-height: 44px; }
  .foot-grid { grid-template-columns: 1fr; gap: 28px; }
  .gallery-grid { columns: 1; }
  body:not([data-page="gallery"]) .gal-mosaic-item { height: 148px; }
  body:not([data-page="gallery"]) .gal-tile-row-hero,
  body:not([data-page="gallery"]) .gal-tile-row-hero-flip,
  body:not([data-page="gallery"]) .gal-tile-row-3,
  body:not([data-page="gallery"]) .gal-tile-row-2 { grid-template-columns: 1fr 1fr; gap: 8px; }
  body:not([data-page="gallery"]) .gal-tile-stack { grid-template-rows: 1fr; min-height: 140px; }
  body:not([data-page="gallery"]) .gal-tile-row { min-height: 0; }
  body:not([data-page="gallery"]) .gal-tile { min-height: 140px; }
  body:not([data-page="gallery"]) .gal-film-thumb { width: 72px; height: 50px; }
  body:not([data-page="gallery"]) .gal-filmstrip { border-width: 4px; }
  .wrap { width: calc(100% - 28px); }
  .wrap-wide { width: calc(100% - 24px); }
  .site-header {
    padding: 8px 14px 8px 12px;
    width: min(1240px, calc(100% - 20px));
    top: max(10px, env(safe-area-inset-top));
    min-height: 60px;
    gap: 10px;
  }
  .brand img { height: 40px; }
  .header-actions { gap: 8px; }
  .icon-btn { width: 44px; height: 44px; }
  .hero-copy h1 { font-size: 1.75rem; }
  .hero-price { font-size: 2rem; }
  .btn-shop-now { min-height: 52px; padding: 0 36px; font-size: 14px; }
  .why-card { padding: 28px 18px 22px; }
  body[data-page="cart"] .cart-page-section { padding: 32px 0 64px; }
  .cart-page-head {
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 16px;
  }
  .cart-page-head h2 { font-size: 1.25rem; }
  .cart-head-actions {
    width: 100%;
    justify-content: space-between;
    gap: 12px;
  }
  .cart-continue-shopping,
  .cart-clear { font-size: 0.75rem; }
  body[data-page="cart"] .cart-table-wrap {
    padding: 0;
    border: 0;
    background: transparent;
    overflow: visible;
  }
  .cart-table thead { display: none; }
  .cart-table,
  .cart-table tbody { display: block; width: 100%; }
  .cart-table tr {
    width: 100%;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    align-items: end;
    gap: 12px 16px;
    margin-bottom: 12px;
    padding: 16px;
    border: 1px solid var(--product-card-border);
    border-radius: 14px;
    background: var(--product-card-surface);
  }
  .cart-table td {
    width: auto;
    border: 0;
    padding: 0;
  }
  .cart-table td:first-child {
    grid-column: 1 / -1;
    display: flex;
    gap: 16px;
    align-items: center;
    min-height: 96px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--product-card-border);
  }
  .cart-product-image { width: 80px; height: 96px; flex-basis: 80px; }
  .cart-product-copy strong { font-size: 0.875rem; }
  .cart-cell-label {
    display: block;
    margin-bottom: 8px;
    color: var(--product-card-copy);
    font-size: 0.75rem;
    font-weight: 500;
  }
  .cart-unit-price { justify-self: start; }
  .cart-quantity-cell { justify-self: center; }
  .cart-line-total { justify-self: end; }
  .cart-table .qty { grid-template-columns: 44px 32px 44px; height: 46px; }
  .cart-table .qty button,
  .cart-table .qty span { height: 44px; }
  .cart-summary { padding: 24px; }
  .cart-checkout { min-height: 52px; }
  /* Keep multi-product sections compact on phones; Best Sellers keeps its existing one-column rule. */
  #latest-products .latest-grid,
  #shop-grid,
  .about-product-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px 14px;
  }
  .section-head { flex-wrap: wrap; }
  .card-cat-chip {
    top: 17px;
    left: 17px;
    max-width: calc(100% - 34px);
  }
  #latest-products .latest-item {
    gap: 10px;
  }
  #latest-products .latest-link {
    width: 100%;
    display: grid;
    place-items: center;
  }
  #latest-products .latest-link img {
    width: auto;
    max-width: 100%;
    max-height: 180px;
  }
  #latest-products .latest-item h3 {
    font-size: 0.9rem;
  }
  #latest-products .latest-btn {
    min-height: 44px;
    padding-inline: 16px;
    font-size: 0.75rem;
  }
  .checkout-hero {
    min-height: 250px;
    padding-top: calc(var(--header) + 20px);
  }
  .checkout-hero h1 {
    font-size: clamp(2.4rem, 12vw, 3.4rem);
  }
  .checkout-section {
    padding-top: 36px;
    padding-bottom: 56px;
  }
  .checkout-field-grid {
    grid-template-columns: 1fr;
  }
  .checkout-summary-card {
    padding: 20px;
  }
  .checkout-order-item {
    gap: 12px;
  }
  .section { padding: 56px 0 28px; }
  .shop-section { padding-top: 28px; }
  .shop-toolbar { gap: 16px; margin-bottom: 28px; }
  .shop-heading { font-size: clamp(1.7rem, 8vw, 2.4rem); }
  .shop-search-field { width: 100%; }
  .product-page { gap: 28px; padding: calc(var(--header) + 20px) 0 56px; }
  .product-stage { min-height: 280px; }
  .product-stage img { width: min(78%, 280px); }
  .product-purchase h1 { max-width: none; font-size: clamp(2.5rem, 11vw, 4rem); }
  .product-description { grid-template-columns: 1fr; gap: 22px; padding-top: 42px; }
  .product-related { padding-top: 42px; }
  .drawer {
    width: 100%;
    padding: 20px 16px calc(20px + env(safe-area-inset-bottom));
  }
  .drawer-actions .btn { font-size: .82rem; }
  .foot-social .wa {
    position: relative;
    right: auto;
    bottom: auto;
    width: 48px;
    height: 48px;
    flex: 0 0 48px;
    animation: none;
    transform: none;
    box-shadow: 0 6px 18px rgba(37,211,102,0.28), 0 2px 8px rgba(0,0,0,0.36);
  }
  .foot-social .wa:hover { transform: none; }
  .mobile-nav a {
    font-size: clamp(1.35rem, 7vw, 1.6rem);
    min-height: 44px;
    display: flex;
    align-items: center;
  }
  .latest-link img {
    max-width: min(220px, 70%);
    max-height: 200px;
  }
  .page-hero,
  .diet-hero,
  .contact-hero,
  .shop-hero,
  .gal-hero {
    padding-bottom: 48px;
  }
  .contact-form-section,
  .diet-plans-section { padding-top: 36px; }
  .legal { flex-direction: column; align-items: flex-start; gap: 8px; }
  .toast {
    left: 14px;
    right: 14px;
    width: auto;
    transform: translateY(20px);
    bottom: max(16px, env(safe-area-inset-bottom));
  }
  .toast.is-on { transform: translateY(0); }
}

body.has-overlay .wa { opacity: 0; pointer-events: none; }
#shop-grid { scroll-margin-top: calc(var(--header) + 28px); }

@media (max-width: 480px) {
  body[data-page="product"] .product-related .product-grid { grid-template-columns: 1fr; }
  body:not([data-page="gallery"]) .gal-tile-row-hero,
  body:not([data-page="gallery"]) .gal-tile-row-hero-flip,
  body:not([data-page="gallery"]) .gal-tile-row-3,
  body:not([data-page="gallery"]) .gal-tile-row-2 { grid-template-columns: 1fr; }
  .hero-deco,
  .hero-vanilla { display: none; }
}

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

@media (max-width: 640px) {
  body[data-page="cart"] .cart-hero {
    min-height: auto;
    padding: calc(var(--header) + 40px) 0 32px;
    align-items: end;
  }
  body[data-page="cart"] .cart-hero-inner { gap: 24px; }
  body[data-page="cart"] .cart-hero h1 { font-size: 3rem; }
  body[data-page="cart"] .cart-progress {
    width: 100%;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
  }
  body[data-page="cart"] .cart-progress li { min-width: 0; }
  body[data-page="cart"] .cart-progress strong { font-size: 0.75rem; }
  body[data-page="checkout"] .cart-hero {
    min-height: 148px;
    padding: calc(var(--header) + 8px) 0 26px;
    align-items: end;
  }
  body[data-page="checkout"] .cart-hero h1 {
    font-size: clamp(1.7rem, 8vw, 2.25rem);
  }
  body[data-page="cart"] .cart-product-copy {
    min-width: 0;
    flex: 1;
  }
  body[data-page="cart"] .cart-remove {
    min-height: 44px;
  }
  body[data-page="cart"] .cart-coupon input {
    font-size: 16px;
  }
  body[data-page="checkout"] .checkout-hero {
    min-height: 220px;
    padding: calc(var(--header) + 18px) 0 32px;
  }
  body[data-page="checkout"] .checkout-hero .page-hero-content {
    width: calc(100% - 28px);
  }
  body[data-page="checkout"] .checkout-hero h1 {
    font-size: clamp(2.5rem, 13vw, 3.5rem);
  }
  body[data-page="checkout"] .checkout-hero .muted {
    max-width: 30ch;
    font-size: 0.85rem;
  }
  body[data-page="checkout"] .checkout-form-head h2 {
    font-size: clamp(1.7rem, 8vw, 2.3rem);
  }
  body[data-page="checkout"] .checkout-order-columns { display: none; }
  body[data-page="checkout"] .checkout-order-item {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
  }
  body[data-page="checkout"] .checkout-order-product { grid-column: auto; }
  body[data-page="checkout"] .checkout-line-total { text-align: right; }
  body[data-page="checkout"] .checkout-field input,
  body[data-page="checkout"] .checkout-field select,
  body[data-page="checkout"] .checkout-field textarea {
    min-height: 48px;
    font-size: 16px;
  }
  body[data-page="checkout"] .checkout-fulfilment {
    grid-template-columns: 1fr;
  }
  body[data-page="product"] .product-breadcrumbs { font-size: .7rem; }
  body[data-page="product"] .product-option-field { grid-template-columns: 1fr; gap: 8px; }
  body[data-page="product"] .product-buy-row { align-items: stretch; }
  body[data-page="product"] .product-buy-row .btn { flex: 1; min-width: 160px; }
  body[data-page="product"] .product-related .product-grid { gap: 12px; }
  .order-status-steps { grid-template-columns: 1fr; }
  .order-status-steps div { min-height: auto; border-right: 0; border-bottom: 1px solid var(--line); }
  .order-status-steps div:last-child { border-bottom: 0; }
}

/* Gallery: tablet keeps two columns. Phones get a real mobile gallery, not a squeezed desktop. */
@media (max-width: 980px) {
  body[data-page="gallery"] .gal-hero {
    display: block;
    position: relative;
    min-height: 0;
    height: auto;
    overflow: hidden;
    padding: 0;
  }
  body[data-page="gallery"] .gal-hero-bg {
    position: relative;
    inset: auto;
    width: 100%;
  }
  body[data-page="gallery"] .gal-hero-bg img {
    width: 100%;
    height: auto;
    object-fit: contain;
    object-position: center;
  }
  body[data-page="gallery"] .gal-hero-shade {
    background: linear-gradient(
      180deg,
      rgba(0, 0, 0, 0.38) 0%,
      rgba(0, 0, 0, 0.08) 28%,
      rgba(0, 0, 0, 0.18) 58%,
      rgba(0, 0, 0, 0.72) 100%
    );
  }
  body[data-page="gallery"] .gal-hero-content {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 56px 20px 24px;
    justify-self: auto;
  }
  body[data-page="gallery"] .gal-hero-content h1 {
    font-size: clamp(1.5rem, 6.5vw, 2.1rem);
    letter-spacing: 0.12em;
    margin-bottom: 8px;
    text-shadow: 0 2px 18px rgba(0, 0, 0, 0.75);
  }
  body[data-page="gallery"] .gal-hero-content p {
    font-size: clamp(0.9rem, 3.4vw, 1.05rem);
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.7);
  }
  body[data-page="gallery"] .gal-block {
    padding: 32px 0 16px;
    scroll-margin-top: calc(var(--header) + 12px);
  }
  body[data-page="gallery"] .gal-hero + .gal-block {
    padding-top: 28px;
  }
  body[data-page="gallery"] .gal-block .wrap {
    width: 100%;
    max-width: none;
  }
  body[data-page="gallery"] .gal-heading {
    margin: 0 20px 16px;
    font-size: 1.2rem;
    letter-spacing: 0.1em;
  }
  body[data-page="gallery"] .gal-heading::after {
    width: 44px;
    margin-top: 10px;
    background: var(--gold);
  }
  body[data-page="gallery"] .gal-bar {
    justify-content: flex-start;
    margin: 0 0 8px;
    padding: 16px 20px;
  }
  body[data-page="gallery"] .gal-bar h2 {
    font-size: 1.2rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
  }
  body[data-page="gallery"] .gal-filmstrip {
    border: 0;
    background: #000;
  }
  body[data-page="gallery"] .gal-film-stage {
    aspect-ratio: 4 / 3;
    max-height: none;
  }
  body[data-page="gallery"] .gal-film-nav {
    width: 44px;
    height: 44px;
  }
  body[data-page="gallery"] .gal-film-prev { left: 10px; }
  body[data-page="gallery"] .gal-film-next { right: 10px; }
  body[data-page="gallery"] .gal-film-thumbs {
    gap: 8px;
    padding: 12px 16px 16px;
    border-top: 0;
    -webkit-overflow-scrolling: touch;
  }
  body[data-page="gallery"] .gal-film-thumb {
    width: 88px;
    height: 64px;
  }
  body[data-page="gallery"] .gal-mosaic {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    padding: 0 14px 24px;
  }
  body[data-page="gallery"] .gal-mosaic-item {
    width: 100%;
    height: auto;
    aspect-ratio: 2 / 3;
    background: #111;
  }
  body[data-page="gallery"] .gal-mosaic-item img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center top;
    background: #111;
  }
  body[data-page="gallery"] .gal-tile-row,
  body[data-page="gallery"] .gal-tile-stack {
    display: contents;
  }
  body[data-page="gallery"] #gal-pain {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 0 16px 32px;
  }
  body[data-page="gallery"] #gal-pain .gal-tile,
  body[data-page="gallery"] #gal-pain .gal-tile-feature {
    position: relative;
    display: block;
    width: 100%;
    height: auto;
    min-height: 0;
    aspect-ratio: auto;
    overflow: visible;
    background: #111;
  }
  body[data-page="gallery"] #gal-pain .gal-tile img,
  body[data-page="gallery"] #gal-pain .gal-tile-feature img {
    position: static;
    inset: auto;
    width: 100%;
    height: auto;
    max-width: 100%;
    aspect-ratio: auto;
    object-fit: contain;
    object-position: center;
    display: block;
  }
  body[data-page="gallery"] .lightbox {
    padding: 12px;
  }
  body[data-page="gallery"] .lightbox img {
    max-width: 100%;
    max-height: 88dvh;
  }
}

@media (max-width: 720px) {
  body[data-page="gallery"] .gal-block {
    padding: 28px 0 12px;
  }
  body[data-page="gallery"] .gal-hero + .gal-block {
    padding-top: 22px;
  }
  body[data-page="gallery"] .gal-heading {
    margin: 0 16px 12px;
    font-size: 1.15rem;
  }
  body[data-page="gallery"] .gal-bar {
    margin: 0 0 4px;
    padding: 14px 16px;
  }
  body[data-page="gallery"] .gal-film-stage {
    aspect-ratio: 3 / 2;
    max-height: none;
  }
  body[data-page="gallery"] .gal-film-main {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  body[data-page="gallery"] .gal-film-count {
    display: block;
  }
  body[data-page="gallery"] .gal-film-thumbs {
    display: flex;
    gap: 10px;
    padding: 12px 14px 16px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: var(--gold) #1a1a1a;
  }
  body[data-page="gallery"] .gal-film-thumb {
    flex: 0 0 auto;
    width: 120px;
    height: 80px;
    min-width: 120px;
    border-width: 2px;
    scroll-snap-align: start;
  }
  body[data-page="gallery"] .gal-mosaic {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    padding: 0 12px 24px;
  }
  body[data-page="gallery"] .gal-mosaic-item {
    aspect-ratio: 2 / 3;
  }
  body[data-page="gallery"] #gal-pain {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 0 14px 36px;
  }
}

@media (hover: none) {
  body[data-page="gallery"] .gal-mosaic-item:hover img,
  body[data-page="gallery"] .gal-tile:hover img {
    transform: none;
  }
}

@media (max-width: 640px) {
  #shop-grid,
  #best-sellers .product-grid,
  body[data-page="product"] .product-related .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    justify-content: stretch;
    gap: 12px 8px;
  }
  #shop-grid .product-card-wrap,
  #best-sellers .product-card-wrap,
  body[data-page="product"] .product-related .product-card-wrap {
    min-width: 0;
  }
  #shop-grid .product-card,
  #best-sellers .product-card,
  body[data-page="product"] .product-related .product-card {
    padding: 8px;
    border-radius: 12px;
  }
  #shop-grid .product-media,
  #best-sellers .product-media,
  body[data-page="product"] .product-related .product-media {
    height: clamp(116px, 35vw, 140px);
    border-radius: 8px;
  }
  #shop-grid .product-media img,
  #best-sellers .product-media img,
  body[data-page="product"] .product-related .product-media img {
    width: calc(100% - 16px);
    height: calc(100% - 16px);
  }
  #shop-grid .card-cat-chip,
  #best-sellers .card-cat-chip,
  body[data-page="product"] .product-related .card-cat-chip {
    top: 14px;
    left: 14px;
    max-width: calc(100% - 28px);
    gap: 4px;
    padding: 4px 6px;
  }
  #shop-grid .product-card h3,
  #best-sellers .product-card h3,
  body[data-page="product"] .product-related .product-card h3 {
    min-height: 2.5rem;
    margin: 8px 0 0;
    font-size: 0.875rem;
    line-height: 1.25rem;
  }
  #shop-grid .product-card-summary,
  #best-sellers .product-card-summary,
  body[data-page="product"] .product-related .product-card-summary {
    display: none;
  }
  #shop-grid .product-card .price,
  #best-sellers .product-card .price,
  body[data-page="product"] .product-related .product-card .price {
    margin: 8px 0 0;
    font-size: 0.75rem;
    line-height: 1rem;
  }
  #shop-grid .card-actions,
  #best-sellers .card-actions,
  body[data-page="product"] .product-related .card-actions {
    margin-top: 8px;
  }
  #shop-grid .card-actions .latest-btn,
  #best-sellers .card-actions .latest-btn,
  body[data-page="product"] .product-related .card-actions .latest-btn {
    min-width: 44px;
    min-height: 44px;
    padding-inline: 8px;
    font-size: 0.75rem;
  }
  #shop-grid .card-action-full,
  #best-sellers .card-action-full,
  body[data-page="product"] .product-related .card-action-full { display: none; }
  #shop-grid .card-action-compact,
  #best-sellers .card-action-compact,
  body[data-page="product"] .product-related .card-action-compact { display: inline; }
  .shop-cats[open] .filters {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }
  .shop-cats .filter-btn {
    width: 100%;
    min-width: 0;
    padding: 8px;
    text-align: center;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
}

/* Checkout refresh: focused, transactional, and visually continuous with the cart. */
body[data-page="checkout"] [hidden] { display: none !important; }
body[data-page="checkout"] .wa { display: none; }
body[data-page="checkout"] .checkout-hero {
  min-height: 240px;
  padding: calc(var(--header) + 24px) 0 32px;
  background: var(--ink);
}
body[data-page="checkout"] .checkout-section { padding: 48px 0 96px; }
body[data-page="checkout"] .checkout-layout[hidden] { display: none; }
body[data-page="checkout"] .checkout-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 400px);
  grid-template-areas: "form summary";
  gap: 32px;
  align-items: start;
}
body[data-page="checkout"] .checkout-form {
  grid-area: form;
  display: grid;
  gap: 0;
  min-width: 0;
  padding: 32px;
  border: 1px solid var(--product-card-border);
  border-radius: 14px;
  background: var(--product-card-surface);
  animation: checkout-arrive 220ms var(--ease) both;
}
@keyframes checkout-arrive {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}
body[data-page="checkout"] #checkout-sum { grid-area: summary; min-width: 0; }
body[data-page="checkout"] .checkout-form-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 32px;
  margin-bottom: 32px;
}
body[data-page="checkout"] .checkout-form-head h2,
body[data-page="checkout"] .checkout-summary-card h2 {
  margin: 4px 0 0;
  color: var(--ivory);
  font-family: var(--sans);
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 2rem;
  letter-spacing: -0.03em;
  text-wrap: balance;
}
body[data-page="checkout"] .checkout-form-head .muted {
  max-width: 24ch;
  color: var(--product-card-copy);
  font-size: 0.75rem;
  line-height: 1rem;
  text-align: right;
}
body[data-page="checkout"] .checkout-kicker,
body[data-page="checkout"] .checkout-empty-kicker {
  margin: 0;
  color: var(--gold);
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
body[data-page="checkout"] .checkout-form-msg {
  margin: -8px 0 24px;
  padding: 12px;
  border: 1px solid rgba(196, 92, 74, 0.62);
  border-radius: 8px;
  background: rgba(196, 92, 74, 0.08);
  color: #ffd6cf;
  font-size: 0.75rem;
  line-height: 1rem;
}
body[data-page="checkout"] .checkout-form-msg:empty { display: none; }
body[data-page="checkout"] .checkout-group {
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
  margin: 0 0 32px;
  padding: 0 0 32px;
  border: 0;
  border-bottom: 1px solid var(--product-card-border);
}
body[data-page="checkout"] .checkout-group:last-of-type { margin-bottom: 0; }
body[data-page="checkout"] .checkout-group-last {
  padding-bottom: 0;
  border-bottom: 0;
}

/* Editorial homepage hero + adaptive transparent navigation */
.site-header {
  background-color: transparent;
  border-color: transparent;
  box-shadow: none;
  backdrop-filter: blur(0);
  transition:
    background-color 240ms var(--ease),
    border-color 240ms var(--ease);
}

.site-header.is-scrolled,
body.has-overlay .site-header {
  background-color: rgba(10, 10, 8, 0.82);
  border-color: rgba(255, 255, 255, 0.22);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.36);
  backdrop-filter: blur(12px) saturate(1.15);
}

.nav { gap: 8px; }
.nav a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  font-size: 16px;
  line-height: 24px;
  letter-spacing: 0;
  transition: color 140ms var(--ease), opacity 140ms var(--ease), transform 140ms var(--ease);
}
.nav a:active { transform: translateY(1px); }

body[data-page="home"] .hero {
  min-height: 100svh;
  min-height: 100dvh;
  padding: calc(var(--header) + 32px) 0 48px;
  isolation: isolate;
}

body[data-page="home"] .hero::after {
  content: "";
  position: absolute;
  left: max(20px, calc((100vw - 1240px) / 2));
  right: 0;
  bottom: 24px;
  height: 1px;
  background: rgba(255, 255, 255, 0.22);
  z-index: 2;
}

body[data-page="home"] .hero-bg-img {
  height: 100%;
  object-position: center 44%;
  transform: scale(1.025);
  filter: brightness(0.58) contrast(1.1) saturate(0.88);
}

body[data-page="home"] .hero-shade {
  background:
    linear-gradient(90deg, rgba(8, 8, 7, 0.92) 0%, rgba(8, 8, 7, 0.72) 40%, rgba(8, 8, 7, 0.18) 72%, rgba(8, 8, 7, 0.28) 100%),
    linear-gradient(180deg, rgba(8, 8, 7, 0.1) 0%, rgba(8, 8, 7, 0.12) 58%, rgba(8, 8, 7, 0.78) 100%);
}

body[data-page="home"] .hero-inner {
  width: min(1320px, calc(100% - 64px));
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(24px, 4vw, 64px);
  align-items: center;
}

body[data-page="home"] .hero-copy {
  max-width: 650px;
  min-width: 0;
}

body[data-page="home"] .hero-tag {
  min-height: 24px;
  margin: 0 0 20px;
  color: var(--gold);
  font-size: 14px;
  line-height: 20px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

body[data-page="home"] .hero-bolt {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  color: var(--ink);
  background: var(--gold);
  border-radius: 50%;
}

body[data-page="home"] .hero-copy h1 {
  max-width: 650px;
  color: var(--ivory);
  text-shadow: 0 3px 36px rgba(0, 0, 0, 0.48);
  text-transform: none;
  overflow-wrap: anywhere;
}

body[data-page="home"] .hero-headline-main {
  display: block;
  font-family: var(--display);
  font-size: clamp(60px, 7.2vw, 96px);
  line-height: 1;
  font-weight: 500;
  letter-spacing: -0.04em;
  text-wrap: balance;
}

body[data-page="home"] .hero-headline-brand {
  display: block;
  max-width: 620px;
  margin-top: 16px;
  color: var(--gold);
  font-family: var(--sans);
  font-size: clamp(18px, 2vw, 24px);
  line-height: 32px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-wrap: balance;
}

body[data-page="home"] .hero-product-meta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 4px 20px;
  align-items: end;
  width: min(100%, 560px);
  margin-top: 32px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.24);
}

body[data-page="home"] .hero-product,
body[data-page="home"] .hero-facts-line {
  grid-column: 1;
  margin: 0;
}

body[data-page="home"] .hero-product {
  color: var(--ivory);
  font-size: 16px;
  line-height: 24px;
  font-weight: 600;
  text-wrap: pretty;
}

body[data-page="home"] .hero-facts-line {
  color: var(--ivory-dim);
  font-size: 14px;
  line-height: 20px;
  font-weight: 500;
  letter-spacing: 0;
}

body[data-page="home"] .hero-stars {
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  margin: 0;
  color: var(--gold);
  font-size: 16px;
  line-height: 24px;
  letter-spacing: 0.08em;
}

body[data-page="home"] .hero-actions { margin-top: 24px; }

body[data-page="home"] .btn-shop-now {
  min-height: 56px;
  padding: 0 28px;
  gap: 12px;
  color: var(--ink);
  background: var(--gold);
  border: 1px solid var(--gold);
  border-radius: 10px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
  animation: none;
  font-size: 16px;
  line-height: 24px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
  transition: transform 140ms var(--ease), background-color 140ms var(--ease), color 140ms var(--ease), box-shadow 140ms var(--ease);
}

body[data-page="home"] .btn-shop-now:active { transform: translateY(1px); }

body[data-page="home"] .hero-visual {
  min-height: clamp(480px, 56vw, 650px);
  width: min(100%, 650px);
  max-width: none;
  justify-self: end;
  isolation: isolate;
}

body[data-page="home"] .hero-visual::before {
  content: "";
  position: absolute;
  width: 76%;
  aspect-ratio: 1 / 1.12;
  border: 1px solid rgba(234, 255, 0, 0.34);
  border-radius: 50%;
  transform: rotate(-9deg);
  z-index: -1;
}

body[data-page="home"] .hero-visual::after {
  content: "";
  position: absolute;
  left: 8%;
  right: -8%;
  bottom: 8%;
  height: 1px;
  background: rgba(234, 255, 0, 0.48);
  z-index: 1;
}

body[data-page="home"] .hero-glow {
  width: 74%;
  height: 74%;
  background: radial-gradient(circle, rgba(234, 255, 0, 0.28) 0%, rgba(234, 255, 0, 0.08) 48%, transparent 72%);
  filter: blur(12px);
  animation: none;
}

body[data-page="home"] .hero-pouch {
  width: min(108%, 590px);
  height: auto;
  transform: rotate(-2deg);
  filter: drop-shadow(0 36px 46px rgba(0, 0, 0, 0.58));
  animation: none;
}

body[data-page="home"] .hero-vanilla {
  width: clamp(88px, 18%, 124px);
  height: auto;
  right: 0;
  bottom: 4%;
  filter: drop-shadow(0 18px 22px rgba(0, 0, 0, 0.55));
  animation: none;
}

@media (hover: hover) and (pointer: fine) {
  body[data-page="home"] .btn-shop-now:hover {
    color: var(--ink);
    background-color: var(--gold-2);
    transform: translateY(-2px);
    filter: none;
  }
}

@media (max-width: 1120px) and (min-width: 981px) {
  .nav { gap: 0; }
  .nav a { padding-inline: 10px; font-size: 14px; }
  body[data-page="home"] .hero-inner { width: min(1180px, calc(100% - 40px)); }
}

@media (max-width: 980px) {
  body[data-page="home"] .hero {
    min-height: auto;
    padding: calc(var(--header) + 40px) 0 40px;
  }
  body[data-page="home"] .hero-inner {
    width: min(720px, calc(100% - 40px));
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }
  body[data-page="home"] .hero-copy {
    max-width: 650px;
    align-items: flex-start;
    text-align: left;
  }
  body[data-page="home"] .hero-actions { justify-content: flex-start; }
  body[data-page="home"] .hero-visual {
    min-height: 390px;
    width: min(100%, 500px);
    justify-self: center;
    margin-top: -8px;
  }
  body[data-page="home"] .hero-pouch { width: min(100%, 430px); }
}

@media (max-width: 640px) {
  .site-header {
    background-color: transparent;
    border-color: transparent;
    box-shadow: none;
  }
  .site-header.is-scrolled,
  body.has-overlay .site-header {
    background-color: rgba(10, 10, 8, 0.9);
    border-color: rgba(255, 255, 255, 0.22);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.34);
  }
  body[data-page="home"] .hero {
    padding: calc(var(--header) + 32px) 0 32px;
  }
  body[data-page="home"] .hero-inner { width: calc(100% - 28px); }
  body[data-page="home"] .hero-tag { margin-bottom: 16px; }
  body[data-page="home"] .hero-headline-main {
    font-size: clamp(48px, 14vw, 60px);
  }
  body[data-page="home"] .hero-headline-brand {
    margin-top: 12px;
    font-size: 16px;
    line-height: 24px;
  }
  body[data-page="home"] .hero-product-meta {
    grid-template-columns: minmax(0, 1fr);
    gap: 4px;
    margin-top: 24px;
    padding-top: 16px;
  }
  body[data-page="home"] .hero-stars {
    grid-column: 1;
    grid-row: auto;
    margin-top: 8px;
  }
  body[data-page="home"] .btn-shop-now {
    min-height: 52px;
    padding-inline: 24px;
    font-size: 16px;
  }
  body[data-page="home"] .hero-visual {
    min-height: 310px;
    width: min(100%, 390px);
    margin-top: -4px;
  }
  body[data-page="home"] .hero-pouch { width: min(98%, 340px); }
  body[data-page="home"] .hero-vanilla {
    display: block;
    width: 76px;
    right: 2%;
    bottom: 3%;
  }
  body[data-page="home"] .hero::after {
    left: 14px;
    bottom: 16px;
  }
}

@media (max-width: 380px) {
  body[data-page="home"] .hero-headline-main { font-size: 44px; }
  body[data-page="home"] .hero-visual { min-height: 280px; }
  body[data-page="home"] .hero-pouch { width: min(96%, 300px); }
}

@media (prefers-reduced-motion: reduce) {
  .site-header,
  .nav a,
  body[data-page="home"] .btn-shop-now,
  body[data-page="home"] #hero-tag-text {
    transition-duration: 120ms;
  }
  body[data-page="home"] .hero-pouch,
  body[data-page="home"] .hero-vanilla,
  body[data-page="home"] .hero-glow { animation: none; }
}
body[data-page="checkout"] .checkout-group legend {
  margin: 0 0 16px;
  padding: 0;
  color: var(--ivory);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.5rem;
}
body[data-page="checkout"] .checkout-field,
body[data-page="checkout"] #collection-fields,
body[data-page="checkout"] #delivery-fields { min-width: 0; }
body[data-page="checkout"] .checkout-field {
  display: grid;
  gap: 8px;
}
body[data-page="checkout"] .checkout-field > span {
  color: var(--ivory);
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1rem;
  letter-spacing: 0;
  text-transform: none;
}
body[data-page="checkout"] .checkout-field b { color: var(--gold); }
body[data-page="checkout"] .checkout-field em {
  margin-left: 4px;
  color: var(--product-card-copy);
  font-style: normal;
  font-weight: 400;
}
body[data-page="checkout"] .checkout-field input,
body[data-page="checkout"] .checkout-field select,
body[data-page="checkout"] .checkout-field textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px;
  border: 1px solid var(--product-card-border);
  border-radius: 8px;
  background-color: var(--product-card-media);
  outline: none;
  color: var(--ivory);
  font: 400 1rem/1.5rem var(--sans);
  transition: border-color 120ms var(--ease);
}
body[data-page="checkout"] .checkout-field textarea { min-height: 112px; resize: vertical; }
body[data-page="checkout"] .checkout-field input::placeholder,
body[data-page="checkout"] .checkout-field textarea::placeholder { color: #8f957f; opacity: 1; }
body[data-page="checkout"] .checkout-field input:focus-visible,
body[data-page="checkout"] .checkout-field select:focus-visible,
body[data-page="checkout"] .checkout-field textarea:focus-visible {
  border-color: var(--gold);
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}
body[data-page="checkout"] .checkout-form.was-validated :is(input, select):invalid {
  border-color: var(--danger);
}
body[data-page="checkout"] .checkout-static-value {
  min-height: 48px;
  display: flex;
  align-items: center;
  margin: 0;
  padding: 12px;
  border: 1px solid var(--product-card-border);
  border-radius: 8px;
  background: rgba(16, 17, 14, 0.54);
  color: var(--product-card-copy);
  font-size: 0.875rem;
  line-height: 1.25rem;
}
body[data-page="checkout"] .checkout-field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
body[data-page="checkout"] .checkout-fulfilment {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
  margin: 0 0 32px;
  padding: 0 0 32px;
}
body[data-page="checkout"] .checkout-fulfilment legend {
  grid-column: auto;
  margin: 0 0 16px;
}
body[data-page="checkout"] .checkout-fulfilment .checkout-option-choices {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
body[data-page="checkout"] .checkout-fulfilment .checkout-option-choices label {
  min-height: 88px;
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  padding: 16px;
  border: 1px solid var(--product-card-border);
  border-radius: 10px;
  background: var(--product-card-media);
  color: var(--ivory);
  cursor: pointer;
  transition: transform 120ms var(--ease);
}
body[data-page="checkout"] .checkout-fulfilment .checkout-option-choices label:has(input:checked) {
  border-color: var(--gold);
  outline: 1px solid var(--gold);
  outline-offset: -1px;
  background: var(--product-card-media);
  color: var(--ivory);
}
body[data-page="checkout"] .checkout-fulfilment input {
  width: 18px;
  height: 18px;
  margin: 0;
  accent-color: var(--gold);
}
body[data-page="checkout"] .checkout-fulfilment strong,
body[data-page="checkout"] .checkout-fulfilment small { display: block; }
body[data-page="checkout"] .checkout-fulfilment strong {
  color: var(--ivory);
  font-size: 0.875rem;
  line-height: 1.25rem;
}
body[data-page="checkout"] .checkout-fulfilment small {
  margin-top: 4px;
  color: var(--product-card-copy);
  font-size: 0.75rem;
  line-height: 1rem;
}
body[data-page="checkout"] .checkout-summary-card {
  position: static;
  padding: 24px;
  border: 1px solid var(--product-card-border);
  border-radius: 14px;
  background: var(--product-card-surface);
  animation: checkout-arrive 220ms var(--ease) 60ms both;
}
body[data-page="checkout"] .checkout-summary-head {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--product-card-border);
}
body[data-page="checkout"] .checkout-summary-head h2 { margin-top: 4px; }
body[data-page="checkout"] .checkout-summary-meta {
  display: flex;
  align-items: center;
  gap: 12px;
}
body[data-page="checkout"] .checkout-item-count {
  color: var(--product-card-copy);
  font-size: 0.75rem;
  line-height: 1rem;
  white-space: nowrap;
}
body[data-page="checkout"] .checkout-edit-cart {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  color: var(--ivory);
  font-size: 0.75rem;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 4px;
  white-space: nowrap;
}
body[data-page="checkout"] .checkout-order-items {
  display: grid;
  max-height: 304px;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
}
body[data-page="checkout"] .checkout-order-item {
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid var(--product-card-border);
}
body[data-page="checkout"] .checkout-order-product {
  min-width: 0;
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
}
body[data-page="checkout"] .checkout-order-image {
  width: 52px;
  height: 60px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  background: var(--product-card-media);
}
body[data-page="checkout"] .checkout-order-image img {
  width: calc(100% - 10px);
  height: calc(100% - 10px);
  object-fit: contain;
  object-position: center;
}
body[data-page="checkout"] .checkout-order-copy { min-width: 0; }
body[data-page="checkout"] .checkout-order-item strong,
body[data-page="checkout"] .checkout-order-item .muted { display: block; }
body[data-page="checkout"] .checkout-order-item strong {
  color: var(--ivory);
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1rem;
  overflow-wrap: anywhere;
}
body[data-page="checkout"] .checkout-product-quantity {
  color: var(--product-card-copy);
  font-weight: 400;
  white-space: nowrap;
}
body[data-page="checkout"] .checkout-order-item .muted {
  margin-top: 4px;
  color: var(--product-card-copy);
  font-size: 0.75rem;
  line-height: 1rem;
}
body[data-page="checkout"] .checkout-remove-item {
  width: max-content;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--product-card-copy);
  font: 500 0.75rem/1 var(--sans);
  text-decoration: underline;
  text-underline-offset: 4px;
  cursor: pointer;
}
body[data-page="checkout"] .checkout-order-item > .price {
  color: var(--ivory);
  font-size: 0.75rem;
  line-height: 1rem;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
body[data-page="checkout"] .checkout-totals { padding: 8px 0 0; }
body[data-page="checkout"] .checkout-total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 4px 0;
  color: var(--product-card-copy);
  font-size: 0.75rem;
  line-height: 1rem;
}
body[data-page="checkout"] .checkout-total-row .price {
  color: var(--ivory);
  font-size: 0.875rem;
  line-height: 1.25rem;
  font-variant-numeric: tabular-nums;
}
body[data-page="checkout"] .checkout-total-row.is-grand {
  margin-top: 8px;
  padding: 12px 0;
  border-top: 1px solid var(--product-card-border);
  color: var(--ivory);
  font-weight: 700;
}
body[data-page="checkout"] .checkout-total-row.is-grand .price {
  color: var(--gold);
  font-size: 1.5rem;
  line-height: 2rem;
}
body[data-page="checkout"] .checkout-promo {
  margin-top: 8px;
  padding-top: 16px;
  border-top: 1px solid var(--product-card-border);
}
body[data-page="checkout"] .checkout-promo label {
  display: block;
  margin-bottom: 8px;
  color: var(--product-card-copy);
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1rem;
}
body[data-page="checkout"] .checkout-promo-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
}
body[data-page="checkout"] .checkout-promo input,
body[data-page="checkout"] .checkout-promo button {
  min-height: 44px;
  border: 1px solid var(--product-card-border);
  border-radius: 8px;
  font: 400 0.875rem/1.25rem var(--sans);
}
body[data-page="checkout"] .checkout-promo input {
  min-width: 0;
  width: 100%;
  padding: 8px 12px;
  background: var(--product-card-media);
  outline: none;
  color: var(--ivory);
}
body[data-page="checkout"] .checkout-promo input:focus-visible {
  border-color: var(--gold);
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}
body[data-page="checkout"] .checkout-promo button {
  padding: 8px 12px;
  background: transparent;
  color: var(--ivory);
  font-weight: 600;
  cursor: pointer;
}
body[data-page="checkout"] .checkout-payment {
  margin-top: 16px;
  padding: 16px;
  border: 1px solid var(--product-card-border);
  border-radius: 10px;
  background: var(--product-card-media);
}
body[data-page="checkout"] .checkout-payment-inner {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
}
body[data-page="checkout"] .checkout-payment svg { color: var(--gold); }
body[data-page="checkout"] .checkout-payment h3 {
  margin: 0;
  color: var(--ivory);
  font-family: var(--sans);
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.25rem;
}
body[data-page="checkout"] .checkout-payment p,
body[data-page="checkout"] .checkout-note {
  margin: 4px 0 0;
  padding: 0;
  border: 0;
  color: var(--product-card-copy);
  font-size: 0.75rem;
  line-height: 1rem;
  text-wrap: pretty;
}
body[data-page="checkout"] .checkout-note { margin-top: 12px; }
body[data-page="checkout"] .checkout-submit {
  width: 100%;
  min-height: 52px;
  justify-content: center;
  margin-top: 16px;
  white-space: nowrap;
}
body[data-page="checkout"] .checkout-submit:disabled {
  opacity: 0.58;
  cursor: not-allowed;
}
body[data-page="checkout"] .checkout-empty-state {
  min-height: 460px;
  display: grid;
  place-items: center;
  align-content: center;
  max-width: 760px;
  padding: 64px 24px;
  border: 1px solid var(--product-card-border);
  border-radius: 14px;
  background: var(--product-card-surface);
  text-align: center;
}
body[data-page="checkout"] .checkout-empty-mark {
  width: 72px;
  height: 72px;
  display: grid;
  place-items: center;
  margin-bottom: 24px;
  border: 1px solid var(--product-card-border);
  border-radius: 50%;
  background: var(--product-card-media);
  color: var(--gold);
}
body[data-page="checkout"] .checkout-empty-state h2 {
  margin: 8px 0 0;
  font-size: clamp(2.25rem, 5vw, 3.75rem);
  line-height: 1;
  letter-spacing: -0.03em;
  text-wrap: balance;
}
body[data-page="checkout"] .checkout-empty-state > p:not(.checkout-empty-kicker) {
  max-width: 48ch;
  margin: 16px 0 24px;
  color: var(--product-card-copy);
  font-size: 0.875rem;
  line-height: 1.25rem;
  text-wrap: pretty;
}
body[data-page="checkout"] .checkout-empty-state .btn {
  min-width: 180px;
  justify-content: center;
}
body[data-page="checkout"] .checkout-summary-empty { display: grid; gap: 16px; }
body[data-page="checkout"] .checkout-summary-empty .muted { font-size: 0.875rem; }
body[data-page="checkout"] .checkout-summary-empty .btn { width: 100%; justify-content: center; }
@media (hover: hover) and (pointer: fine) {
  body[data-page="checkout"] .checkout-edit-cart:hover,
  body[data-page="checkout"] .checkout-remove-item:hover,
  body[data-page="checkout"] .checkout-promo button:hover { color: var(--gold); }
  body[data-page="checkout"] .checkout-promo button:hover { border-color: var(--gold); }
  body[data-page="checkout"] .checkout-fulfilment .checkout-option-choices label:hover {
    transform: translateY(-2px);
  }
}
@media (prefers-reduced-motion: reduce) {
  body[data-page="checkout"] .checkout-form,
  body[data-page="checkout"] .checkout-summary-card { animation: none; }
  body[data-page="checkout"] .checkout-fulfilment .checkout-option-choices label {
    transition: none;
  }
}
/* Keep the document as the scroll container for the transactional columns. */
body:is([data-page="cart"], [data-page="checkout"]):not(.has-overlay) {
  overflow-x: clip;
}
@media (min-width: 981px) {
  body[data-page="checkout"] #checkout-sum,
  body[data-page="cart"] .cart-summary {
    position: sticky;
    top: calc(var(--header) + 24px);
    align-self: start;
  }
  body[data-page="checkout"] .checkout-summary-card,
  body[data-page="cart"] .cart-summary {
    max-height: calc(100vh - var(--header) - 48px);
    max-height: calc(100dvh - var(--header) - 48px);
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: var(--line) transparent;
  }
}
@media (max-width: 980px) {
  body[data-page="checkout"] .checkout-layout {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "form" "summary";
    gap: 24px;
  }
  body[data-page="checkout"] .checkout-summary-card { position: static; }
}
@media (max-width: 640px) {
  body[data-page="checkout"] .checkout-hero {
    min-height: auto;
    padding: calc(var(--header) + 40px) 0 32px;
  }
  body[data-page="checkout"] .checkout-section { padding: 32px 0 64px; }
  body[data-page="checkout"] .checkout-form { padding: 24px 16px; }
  body[data-page="checkout"] .checkout-form-head {
    display: grid;
    align-items: start;
    gap: 12px;
    margin-bottom: 32px;
  }
  body[data-page="checkout"] .checkout-form-head .muted {
    max-width: none;
    text-align: left;
  }
  body[data-page="checkout"] .checkout-field-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  body[data-page="checkout"] .checkout-fulfilment .checkout-option-choices {
    grid-template-columns: minmax(0, 1fr);
  }
  body[data-page="checkout"] .checkout-summary-card { padding: 24px 16px; }
  body[data-page="checkout"] .checkout-summary-head {
    align-items: center;
  }
  body[data-page="checkout"] .checkout-summary-meta {
    display: grid;
    justify-items: end;
    gap: 0;
  }
  body[data-page="checkout"] .checkout-empty-state {
    min-height: 400px;
    padding: 48px 24px;
  }
}

/* The gym-mat canvas remains visible through every transactional page shell. */
body[data-page="cart"] .cart-hero,
body[data-page="checkout"] .checkout-hero,
body[data-page="order-status"] .order-status-hero,
body[data-page="order-status"] .order-status-section,
body[data-page="thank-you"] .order-result-shell {
  background: transparent;
}

/* Customer account: a focused task surface in the existing storefront system. */
.account-shortcut {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 12px;
  color: var(--gold);
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  transition: color 140ms var(--ease);
}
.account-shortcut:hover,
.account-shortcut.is-active { color: var(--ivory); }
.account-shortcut:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
body[data-page="account"] .account-main { min-height: 80vh; padding-bottom: 96px; }
body[data-page="account"] [hidden] { display: none !important; }
.account-intro { padding-top: calc(var(--header) + 64px); padding-bottom: 40px; }
.account-intro h1 { max-width: 680px; margin-top: 12px; font-size: clamp(36px, 5.5vw, 72px); text-wrap: balance; }
.account-intro > p:last-child { max-width: 580px; margin-top: 16px; color: #cbd0bd; text-wrap: pretty; }
.account-content { max-width: 1240px; }
.account-loading,
.account-auth,
.account-dashboard {
  background: #1b1c17;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 14px;
}
.account-loading { max-width: 560px; padding: 40px 32px; color: #cbd0bd; }
.account-auth { max-width: 560px; overflow: hidden; }
.account-tabs { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); padding: 8px; gap: 8px; background: #10110e; }
.account-tabs button { min-height: 48px; color: #cbd0bd; font-size: 16px; font-weight: 600; border-radius: 8px; }
.account-tabs button:hover { color: var(--ivory); }
.account-tabs button[aria-selected="true"] { background: #2a2d23; color: var(--gold); }
.account-tabs button:focus-visible,
.account-text-action:focus-visible,
.account-order:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.account-form { display: grid; gap: 16px; padding: 32px; }
.account-form h2 { font-size: 30px; text-wrap: balance; }
.account-form > p:not(.account-feedback) { color: #cbd0bd; font-size: 16px; line-height: 1.55; text-wrap: pretty; }
.account-form label { display: grid; gap: 8px; font-size: 14px; font-weight: 600; }
.account-form input {
  width: 100%; min-width: 0; min-height: 48px; padding: 12px 14px;
  background: #10110e; border: 1px solid #656b57; border-radius: 8px;
  color: var(--ivory); font-size: 16px;
}
.account-form input:hover { border-color: #a6af8d; }
.account-form input:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.account-form .btn { min-height: 52px; font-family: var(--sans); font-size: 16px; font-weight: 600; letter-spacing: 0; text-transform: none; border-radius: 8px; }
.account-form .btn:active,
.account-dashboard .btn:active { transform: translateY(1px); }
.account-form .btn:disabled,
.account-dashboard .btn:disabled { opacity: .55; cursor: not-allowed; }
.account-text-action { justify-self: start; min-height: 44px; padding: 8px 0; color: var(--gold); font-size: 14px; text-decoration: underline; text-underline-offset: 3px; }
.account-text-action:hover { color: var(--ivory); }
.account-feedback { min-height: 24px; color: #cbd0bd; font-size: 14px; line-height: 1.5; }
.account-feedback[data-state="error"] { color: #ff9c8e; }
.account-feedback[data-state="success"] { color: #d8e8a0; }
.account-dashboard { max-width: 1000px; padding: 32px; }
.account-dashboard-head { display: flex; align-items: start; justify-content: space-between; gap: 24px; }
.account-dashboard-head h2 { margin-top: 8px; font-size: clamp(30px, 4vw, 48px); text-wrap: balance; }
.account-dashboard-head p:last-child { margin-top: 8px; color: #cbd0bd; overflow-wrap: anywhere; }
.account-dashboard-head .btn { min-height: 44px; flex-shrink: 0; border-radius: 8px; font-family: var(--sans); font-size: 14px; letter-spacing: 0; text-transform: none; }
.account-list-title { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-top: 32px; padding-top: 32px; border-top: 1px solid #43483a; }
.account-list-title h3 { font-family: var(--sans); font-size: 24px; font-weight: 600; }
.account-list-title p { color: #cbd0bd; font-size: 14px; }
.account-orders { display: grid; gap: 12px; margin-top: 24px; }
.account-list-loading { color: #cbd0bd; }
.account-order {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  min-height: 92px; padding: 16px 24px; background: #10110e;
  border: 1px solid #43483a; border-radius: 10px;
  transition: background-color 160ms var(--ease), border-color 160ms var(--ease);
}
.account-order:hover { background: #272a20; border-color: #d5e45d; }
.account-order > span { display: grid; gap: 4px; min-width: 0; }
.account-order strong { font-family: var(--sans); font-size: 16px; font-weight: 600; font-variant-numeric: tabular-nums; }
.account-order small { color: #cbd0bd; font-size: 14px; }
.account-order-right { justify-items: end; text-align: right; }
.account-stage { color: var(--gold); font-size: 14px; font-weight: 600; }
.account-empty { padding: 32px; background: #10110e; border: 1px solid #43483a; border-radius: 10px; }
.account-empty h4 { font-family: var(--sans); font-size: 20px; font-weight: 600; }
.account-empty p { margin: 8px 0 24px; color: #cbd0bd; }
.account-empty .btn { min-height: 48px; border-radius: 8px; font-family: var(--sans); font-size: 16px; letter-spacing: 0; text-transform: none; }
.checkout-account-note { margin: 0 0 16px; color: #cbd0bd; font-size: 14px; line-height: 1.5; }
.checkout-account-note a { color: var(--gold); text-decoration: underline; text-underline-offset: 3px; }
.checkout-account-note a:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
@media (max-width: 640px) {
  .account-shortcut { display: none; }
  body[data-page="account"] .account-main { padding-bottom: 64px; }
  .account-intro { padding-top: calc(var(--header) + 40px); padding-bottom: 32px; }
  .account-intro h1 { font-size: 36px; }
  .account-form,
  .account-dashboard { padding: 24px 16px; }
  .account-dashboard-head { flex-wrap: wrap; }
  .account-list-title { display: block; }
  .account-list-title p { margin-top: 8px; }
  .account-order { align-items: start; padding: 16px; gap: 12px; }
  .account-order-right { max-width: 45%; }
}
@media (prefers-reduced-motion: reduce) {
  .account-shortcut,
  .account-order { transition-duration: 0ms; }
}

/* Persistent contact labels remain visible after typing. */
.contact-field { display: grid; gap: 8px; min-width: 0; }
.contact-field > span { color: var(--ivory); font-size: 14px; line-height: 20px; }
