/* =========================================================
   Clouvou — Design System v3
   Clean modern DTC / conversion storefront for product,
   policy and checkout pages — Clouvou branding
   ========================================================= */

:root {
  /* Brand colors — Clouvou identity (matched to home page: burgundy + amber) */
  --navy: #3a1416;          /* deep burgundy (dark section / hero base) */
  --navy-dark: #171015;     /* warm near-black (footer / promo / dark bands) */
  --navy-deep: #0f0a0d;
  --red: #5a1f22;           /* home brand burgundy — primary accent */
  --red-dark: #45171a;
  --red-bright: #71272b;
  --gold: #e8a33e;          /* home amber CTA */
  --gold-dark: #b87d2a;
  --green: #1c8a4d;
  --green-bg: #e9f7ee;
  --tp-green: #00b67a;
  --tp-green-dark: #00875a;
  --tp-green-bg: #e7f9f3;
  --tp-star: #00b67a;
  --blush-bg: #f7edee;
  --white: #ffffff;
  --bg: #ffffff;
  --bg-soft: #f9f6f0;
  --paper: #f2f1ec;
  --ink: #14171f;
  --ink-soft: #4a4e58;
  --gray: #767b86;
  --gray-light: #d5d8de;
  --line: #e6e8ec;

  /* Spacing */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-24: 6rem;
  --space-32: 8rem;

  /* Type */
  --font-display: 'Archivo', system-ui, sans-serif;
  --font-alt: 'Manrope', system-ui, sans-serif;
  --font-body: 'Manrope', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: clamp(1.2rem, 1.1rem + 0.5vw, 1.4rem);
  --text-2xl: clamp(1.4rem, 1.2rem + 1vw, 1.9rem);
  --text-3xl: clamp(1.7rem, 1.4rem + 1.5vw, 2.4rem);
  --text-4xl: clamp(2.1rem, 1.6rem + 2.2vw, 3.1rem);
  --text-5xl: clamp(2.5rem, 1.7rem + 3.4vw, 4rem);
  --text-6xl: clamp(2.8rem, 1.6rem + 5vw, 5rem);

  /* Effects */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-pill: 999px;
  --shadow-sm: 0 1px 3px rgba(20, 23, 31, 0.08);
  --shadow-md: 0 12px 28px rgba(20, 23, 31, 0.1);
  --shadow-lg: 0 24px 56px rgba(20, 23, 31, 0.16);
  --shadow-red: 0 14px 32px rgba(207, 26, 27, 0.28);
  --ease-snap: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

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

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p { margin: 0; }

.container {
  width: 100%;
  max-width: 1240px;
  margin-inline: auto;
  padding-inline: var(--space-4);
}

@media (min-width: 768px) {
  .container { padding-inline: var(--space-8); }
}

.section { padding-block: var(--space-16); position: relative; }
.section--tight { padding-block: var(--space-8); }
.section--paper { background: var(--bg-soft); }
.section--navy {
  background: var(--navy-dark);
  color: var(--white);
}
.section--off { background: var(--bg-soft); }
.section--blush { background: var(--blush-bg); }

/* Reveal-on-scroll */
.reveal-init {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 600ms var(--ease-out), transform 600ms var(--ease-out);
}
.reveal-init.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  padding: 0.4rem 1.1rem;
  border: 1.5px solid color-mix(in srgb, var(--red) 40%, transparent);
  border-radius: var(--radius-pill);
  background: var(--white);
  font-family: var(--font-alt);
  font-weight: 700;
  font-size: var(--text-xs);
  letter-spacing: 0.02em;
  color: var(--red);
}

.section--navy .eyebrow {
  color: var(--gold);
  border-color: color-mix(in srgb, var(--gold) 40%, transparent);
  background: rgba(255, 255, 255, 0.06);
}

.section-head {
  max-width: 640px;
  margin-bottom: var(--space-10);
}

.section-head h2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: var(--text-4xl);
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin-top: var(--space-3);
  color: var(--ink);
}
.section--navy .section-head h2 { color: var(--white); }

.section-head p {
  margin-top: var(--space-4);
  color: var(--gray);
  font-size: var(--text-lg);
}
.section--navy .section-head p { color: rgba(255,255,255,0.68); }

.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow { justify-content: center; }

/* ---------- Buttons ---------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: 0.9rem 1.8rem;
  min-height: 44px;
  border-radius: var(--radius-sm);
  font-family: var(--font-alt);
  font-weight: 700;
  font-size: var(--text-base);
  letter-spacing: 0;
  border: 2px solid transparent;
  transition: transform 220ms var(--ease-snap), box-shadow 220ms var(--ease-snap), background-color 220ms var(--ease-snap), border-color 220ms var(--ease-snap);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }

.btn--red {
  background: var(--red);
  color: var(--white);
  box-shadow: var(--shadow-sm);
}
.btn--red:hover { background: var(--red-bright); box-shadow: var(--shadow-red); }

.btn--navy {
  background: var(--navy-dark);
  color: var(--white);
  box-shadow: var(--shadow-sm);
}
.btn--navy:hover { background: var(--navy); box-shadow: var(--shadow-md); }

.btn--ghost {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.4);
  color: var(--white);
}
.btn--ghost:hover { background: rgba(255,255,255,0.18); border-color: var(--white); }

.btn--outline-navy {
  background: transparent;
  border-color: var(--navy-dark);
  color: var(--navy-dark);
}
.btn--outline-navy:hover { background: var(--navy-dark); color: var(--white); }

.btn--outline-white {
  background: transparent;
  border-color: rgba(255,255,255,0.35);
  color: var(--white);
}
.btn--outline-white:hover { background: rgba(255,255,255,0.12); border-color: var(--white); }

.btn--black { background: var(--ink); color: var(--white); box-shadow: var(--shadow-sm); }
.btn--black:hover { background: #000; box-shadow: var(--shadow-md); }

.btn--block { width: 100%; }
.btn--lg { padding: 1.1rem 2.2rem; font-size: var(--text-lg); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-6);
  padding-block: var(--space-3);
}
.brand { display: flex; align-items: center; gap: var(--space-3); }
.brand img { height: 40px; width: auto; }

.main-nav { display: none; }
.main-nav ul { display: flex; gap: var(--space-6); }
.main-nav a {
  font-family: var(--font-alt);
  font-weight: 600;
  font-size: var(--text-base);
  letter-spacing: 0;
  color: var(--ink-soft);
  padding-block: var(--space-2);
  border-bottom: 2px solid transparent;
  transition: border-color 180ms var(--ease-snap), color 180ms var(--ease-snap);
}
.main-nav a:hover, .main-nav a.is-active { border-color: var(--gold); color: var(--gold); }

.header-actions { display: flex; align-items: center; gap: var(--space-3); }
.header-actions .btn { display: none; padding: 0.7rem 1.4rem; font-size: var(--text-sm); }

.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: var(--white);
}
.nav-toggle span,
.nav-toggle::before,
.nav-toggle::after {
  content: '';
  display: block;
  width: 20px;
  height: 2px;
  background: var(--ink);
  position: relative;
  transition: transform 220ms var(--ease-snap), opacity 220ms var(--ease-snap);
}
.nav-toggle::before { position: absolute; transform: translateY(-6px); }
.nav-toggle::after { position: absolute; transform: translateY(6px); }
.nav-toggle[aria-expanded="true"] span { opacity: 0; }
.nav-toggle[aria-expanded="true"]::before { transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"]::after { transform: rotate(-45deg); }

.mobile-nav {
  display: none;
  flex-direction: column;
  background: var(--white);
  border-bottom: 1px solid var(--line);
  padding: var(--space-4);
  gap: var(--space-1);
}
.mobile-nav.is-open { display: flex; }
.mobile-nav a {
  padding: var(--space-3);
  font-family: var(--font-alt);
  font-weight: 600;
  font-size: var(--text-base);
  border-radius: var(--radius-sm);
  color: var(--ink);
}
.mobile-nav a:hover { background: var(--bg-soft); color: var(--gold); }
.mobile-nav .btn { margin-top: var(--space-2); color: var(--white); }
.mobile-nav .btn--red, .mobile-nav .btn--red:hover { color: var(--white); background: var(--red); }
.mobile-nav .btn--red:hover { background: var(--red-bright); }

@media (min-width: 960px) {
  .main-nav { display: block; }
  .header-actions .btn { display: inline-flex; }
  .nav-toggle { display: none; }
  .mobile-nav { display: none !important; }
}

/* ---------- Hero (home) ---------- */
.hero {
  position: relative;
  background:
    radial-gradient(820px 520px at 72% 26%, color-mix(in srgb, var(--red) 30%, transparent), transparent 58%),
    linear-gradient(110deg, #000000 0%, #141414 52%, #000000 100%);
  color: var(--white);
  overflow: hidden;
}
.hero__inner {
  position: relative;
  display: grid;
  gap: var(--space-8);
  padding-block: var(--space-10);
}
.hero__art { order: -1; }
@media (min-width: 960px) {
  .hero__inner { grid-template-columns: 1fr 1fr; align-items: center; padding-block: var(--space-12); }
  .hero__art { order: 0; }
}
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: color-mix(in srgb, var(--red) 14%, transparent);
  border: 1px solid color-mix(in srgb, var(--red) 45%, transparent);
  color: var(--red-bright);
  font-family: var(--font-alt);
  font-weight: 700;
  font-size: var(--text-sm);
  padding: 0.4rem 0.9rem;
  border-radius: var(--radius-pill);
  margin-bottom: var(--space-4);
  animation: fadeUp 600ms var(--ease-out) both;
}
.hero__badge::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--red-bright);
  flex: none;
}
.hero h1 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: var(--text-6xl);
  line-height: 1.02;
  letter-spacing: -0.03em;
  color: var(--white);
  animation: fadeUp 600ms var(--ease-out) 80ms both;
}
.hero h1 span { color: var(--red-bright); }
.hero p.lead {
  margin-top: var(--space-4);
  font-size: var(--text-lg);
  color: rgba(255,255,255,0.72);
  max-width: 46ch;
  animation: fadeUp 600ms var(--ease-out) 160ms both;
}
.hero__trust {
  margin-top: var(--space-5);
  display: flex;
  gap: var(--space-5);
  flex-wrap: wrap;
  animation: fadeUp 600ms var(--ease-out) 240ms both;
}
.hero__trust div { display: flex; align-items: center; gap: 8px; }
.hero__trust svg { width: 18px; height: 18px; color: var(--red-bright); flex: none; }
.hero__trust span { font-family: var(--font-alt); font-weight: 600; font-size: var(--text-sm); color: rgba(255,255,255,0.82); }
.hero__ctas {
  margin-top: var(--space-6);
  display: flex;
  gap: var(--space-3);
  flex-wrap: wrap;
  animation: fadeUp 600ms var(--ease-out) 320ms both;
}
.hero__ctas .btn {
  text-transform: uppercase;
  letter-spacing: 0.03em;
  font-size: var(--text-sm);
}
.hero__ctas .btn--red svg {
  width: 16px;
  height: 16px;
  transition: transform 220ms var(--ease-snap);
}
.hero__ctas .btn--red:hover svg { transform: translateX(3px); }

.hero__art {
  position: relative;
  animation: fadeUp 700ms var(--ease-out) 200ms both;
}
.hero__art-frame {
  position: relative;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: var(--space-4);
  box-shadow: var(--shadow-lg);
}
.hero__art {
  position: relative;
}
.hero__art::before {
  content: "";
  position: absolute;
  inset: -6%;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--red) 35%, transparent), transparent 70%);
  filter: blur(30px);
  z-index: 0;
}
.hero__art img {
  position: relative;
  z-index: 1;
  border-radius: var(--radius-lg);
  box-shadow: 0 30px 60px -15px rgba(0,0,0,0.75), 0 15px 30px -10px rgba(0,0,0,0.6), 0 0 0 1px rgba(255,255,255,0.06);
}
.hero__price-badge {
  position: absolute;
  bottom: -18px;
  right: -18px;
  max-width: 220px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  background: linear-gradient(150deg, var(--red-bright) 0%, var(--red) 55%, var(--red-dark) 100%);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: var(--radius-md);
  box-shadow: 0 10px 24px -8px color-mix(in srgb, var(--red) 40%, transparent), inset 0 1px 0 rgba(255,255,255,0.25);
  padding: var(--space-3) var(--space-4);
  z-index: 2;
  text-align: left;
  overflow: hidden;
  animation: fadeUp 700ms var(--ease-out) 420ms both;
}
.hero__price-badge::before {
  content: "";
  position: absolute;
  top: -40%;
  right: -20%;
  width: 70%;
  height: 180%;
  background: rgba(255,255,255,0.14);
  transform: rotate(20deg);
  pointer-events: none;
}
.hero__price-badge-eyebrow {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: var(--font-alt);
  font-weight: 700;
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
}
.hero__price-badge-eyebrow::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--white);
  animation: pulseDot 1.6s ease-in-out infinite;
}
.hero__price-badge-title {
  position: relative;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.92);
  line-height: 1.1;
}
.hero__price-badge-off {
  position: relative;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: var(--text-xl);
  line-height: 1.1;
  color: var(--white);
  letter-spacing: -0.01em;
}
@media (max-width: 560px) {
  .hero__price-badge { right: var(--space-3); bottom: -14px; padding: var(--space-2) var(--space-3); max-width: 170px; }
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes pulseDot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}

/* ---------- Trust strip (marquee reused as static clean row) ---------- */
.strip {
  background: var(--white);
  padding-block: var(--space-6);
  border-block: 1px solid var(--line);
  overflow: hidden;
}
.marquee {
  display: flex;
  width: max-content;
  animation: marquee 30s linear infinite;
}
@media (prefers-reduced-motion: reduce) { .marquee { animation: none; } }
.marquee__group {
  display: flex;
  align-items: center;
  gap: var(--space-10);
  padding-inline-end: var(--space-10);
}
.marquee span {
  font-family: var(--font-alt);
  font-weight: 700;
  color: var(--gray);
  font-size: var(--text-base);
  white-space: nowrap;
}
.marquee span strong { color: var(--ink); }
.marquee span.dot { color: var(--gray-light); }
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---------- Product grid (home) ---------- */
.product-grid {
  display: grid;
  gap: var(--space-6);
  grid-template-columns: 1fr;
}
@media (min-width: 640px) { .product-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .product-grid { grid-template-columns: repeat(4, 1fr); } }

.product-card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 280ms var(--ease-snap), box-shadow 280ms var(--ease-snap), border-color 280ms var(--ease-snap);
}
.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.product-card__media {
  position: relative;
  aspect-ratio: 4 / 3;
  background: var(--bg-soft);
  overflow: hidden;
}
.product-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 450ms var(--ease-snap);
}
.product-card:hover .product-card__media img { transform: scale(1.06); }

.badge {
  position: absolute;
  top: var(--space-3);
  left: var(--space-3);
  background: var(--red);
  color: var(--white);
  font-family: var(--font-alt);
  font-weight: 700;
  font-size: var(--text-xs);
  letter-spacing: 0.02em;
  padding: 0.35rem 0.8rem;
  border-radius: var(--radius-pill);
  z-index: 2;
  box-shadow: var(--shadow-sm);
}
.badge--navy { background: var(--navy-dark); }
.badge--gold { background: var(--gold); color: var(--navy-dark); }
.badge--off { left: auto; right: var(--space-3); background: var(--tp-green); }

/* ---------- Shop filter pills ---------- */
.shop-filters {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin-bottom: var(--space-8);
}
.filter-pill {
  padding: 0.6rem 1.3rem;
  min-height: 44px;
  border-radius: var(--radius-pill);
  border: 1.5px solid var(--line);
  background: var(--white);
  font-family: var(--font-alt);
  font-weight: 700;
  font-size: var(--text-sm);
  color: var(--ink-soft);
  transition: background-color 200ms var(--ease-snap), color 200ms var(--ease-snap), border-color 200ms var(--ease-snap);
}
.filter-pill:hover { border-color: var(--red); color: var(--red); }
.filter-pill:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
.filter-pill.is-active { background: var(--ink); border-color: var(--ink); color: var(--white); }

.product-card__body {
  padding: var(--space-5);
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  flex: 1;
}
.product-card__cat {
  font-family: var(--font-alt);
  font-weight: 700;
  font-size: var(--text-xs);
  letter-spacing: 0.02em;
  color: var(--gray);
}
.product-card__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: var(--text-xl);
  line-height: 1.2;
  color: var(--ink);
}
.stars { display: inline-flex; gap: 2px; color: var(--gold); font-size: var(--text-sm); }
.stars-row { display: flex; align-items: center; gap: var(--space-2); font-size: var(--text-sm); color: var(--gray); }

.price-row { display: flex; align-items: baseline; gap: var(--space-2); margin-top: auto; padding-top: var(--space-2); }
.price-now { font-family: var(--font-display); font-weight: 800; font-size: var(--text-2xl); color: var(--red); }
.price-was { font-family: var(--font-alt); font-size: var(--text-sm); color: var(--gray); text-decoration: line-through; }
.price-save { font-family: var(--font-alt); font-weight: 700; font-size: var(--text-xs); color: var(--green); background: var(--green-bg); padding: 0.15rem 0.5rem; border-radius: var(--radius-pill); }

.product-card__body .btn { margin-top: var(--space-3); }

/* ---------- Value props ---------- */
.value-grid {
  display: grid;
  gap: var(--space-6);
  grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 768px) { .value-grid { grid-template-columns: repeat(4, 1fr); } }
.value-card {
  text-align: left;
  padding: var(--space-6);
  border-radius: var(--radius-md);
  background: var(--white);
  border: 1px solid var(--line);
  transition: transform 240ms var(--ease-snap), box-shadow 240ms var(--ease-snap);
}
.value-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.value-card__icon {
  width: 48px;
  height: 48px;
  margin-bottom: var(--space-4);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: color-mix(in srgb, var(--red) 12%, white);
  color: var(--red);
}
.value-card h3 {
  font-family: var(--font-alt);
  font-weight: 700;
  font-size: var(--text-base);
  color: var(--ink);
}
.value-card p { margin-top: var(--space-2); font-size: var(--text-sm); color: var(--gray); }

/* ---------- Testimonial cards (home) ---------- */
.testi-grid {
  display: grid;
  gap: var(--space-6);
  grid-template-columns: 1fr;
}
@media (min-width: 768px) { .testi-grid { grid-template-columns: repeat(3, 1fr); } }
.testi-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 3px solid var(--tp-green);
  border-radius: var(--radius-md);
  padding: var(--space-6);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  transition: transform 240ms var(--ease-snap), box-shadow 240ms var(--ease-snap);
}
.testi-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.testi-card p { color: var(--ink-soft); font-size: var(--text-base); }
.testi-card__meta { display: flex; align-items: center; gap: var(--space-3); margin-top: auto; }
.avatar {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--navy-dark);
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-sm);
  flex-shrink: 0;
}
.testi-card__meta strong { display: flex; align-items: center; gap: 4px; font-size: var(--text-sm); font-family: var(--font-alt); font-weight: 700; }
.testi-card__meta span { font-size: var(--text-xs); color: var(--gray); }
.testi-card__meta .verified-tag { margin-top: 3px; }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative;
  background: linear-gradient(120deg, var(--navy-dark), var(--navy) 70%);
  color: var(--white);
  text-align: center;
  padding-block: var(--space-16);
}
.cta-band h2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: var(--text-4xl);
  letter-spacing: -0.02em;
}
.cta-band p { margin-top: var(--space-3); font-size: var(--text-lg); color: rgba(255,255,255,0.82); }
.cta-band .btn { margin-top: var(--space-6); }
.cta-band .btn--navy { background: var(--red); }
.cta-band .btn--navy:hover { background: var(--red-bright); }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy-dark);
  color: rgba(255,255,255,0.75);
  padding-block: var(--space-16) var(--space-8);
}
.footer-grid {
  display: grid;
  gap: var(--space-8);
  grid-template-columns: 1fr;
}
@media (min-width: 768px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.footer-brand img { height: 40px; margin-bottom: var(--space-4); }
.footer-brand p { font-size: var(--text-sm); max-width: 34ch; }
.footer-col h4 {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-alt);
  font-weight: 700;
  color: var(--white);
  margin-bottom: var(--space-3);
  font-size: var(--text-sm);
}
.footer-col h4 svg { flex-shrink: 0; }
.footer-col ul { display: flex; flex-direction: column; gap: var(--space-2); font-size: var(--text-sm); }
.footer-col a:hover { color: var(--gold); }
.footer-social { display: flex; gap: var(--space-3); margin-top: var(--space-4); }
.footer-social a {
  width: 36px; height: 36px;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  transition: border-color 200ms var(--ease-snap), background-color 200ms var(--ease-snap);
}
.footer-social a:hover { background: var(--red); border-color: var(--red); }
.footer-bottom {
  margin-top: var(--space-12);
  padding-top: var(--space-6);
  border-top: 1px solid rgba(255,255,255,0.12);
  display: flex;
  justify-content: space-between;
  gap: var(--space-4);
  flex-wrap: wrap;
  font-size: var(--text-xs);
}

/* =========================================================
   Product Detail Page
   ========================================================= */
.promo-bar {
  background: var(--navy-dark);
  color: var(--white);
  font-family: var(--font-alt);
  font-weight: 600;
  font-size: var(--text-xs);
  letter-spacing: 0.03em;
}
.promo-bar__inner {
  display: flex;
  gap: var(--space-6);
  justify-content: center;
  flex-wrap: wrap;
  padding-block: var(--space-2);
}
.promo-bar__inner span { display: inline-flex; align-items: center; gap: 6px; }
.promo-bar strong { color: var(--white); }
.icon { width: 1em; height: 1em; flex-shrink: 0; }
@media (max-width: 640px) {
  .promo-bar__inner span:nth-child(2),
  .promo-bar__inner span:nth-child(3) { display: none; }
}

.breadcrumb {
  font-family: var(--font-alt);
  font-size: var(--text-sm);
  color: var(--gray);
  padding-block: var(--space-4);
}
.breadcrumb a:hover { color: var(--red); }

.site-header + section.container { margin-top: var(--space-6); }

.pdp {
  display: grid;
  gap: var(--space-10);
  grid-template-columns: 1fr;
}
@media (min-width: 960px) {
  .pdp { grid-template-columns: 1.05fr 0.95fr; gap: var(--space-12); align-items: start; }
}

.gallery {
  min-width: 0;
}
.gallery__main {
  position: relative;
  aspect-ratio: 1 / 1;
  background: var(--bg-soft);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
}
.gallery__main img {
  width: 100%; height: 100%; object-fit: cover;
  transition: opacity 220ms var(--ease-snap);
}
.gallery__thumbs-wrap {
  position: relative;
  margin-top: var(--space-3);
  min-width: 0;
  width: 100%;
}
.gallery__thumbs {
  display: flex;
  gap: var(--space-2);
  overflow-x: auto;
  scroll-snap-type: x proximity;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding-block: 2px;
}
.gallery__thumbs::-webkit-scrollbar { display: none; }
.gallery__thumbs button {
  flex: 0 0 auto;
  width: 60px;
  aspect-ratio: 1 / 1;
  scroll-snap-align: start;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 2px solid transparent;
  background: var(--bg-soft);
  padding: 0;
  transition: border-color 200ms var(--ease-snap);
}
@media (min-width: 640px) {
  .gallery__thumbs button { width: 72px; }
}
.gallery__thumbs button.is-active { border-color: var(--red); }
.gallery__thumbs img { width: 100%; height: 100%; object-fit: cover; }
.gallery__thumbs-nav {
  position: absolute;
  top: 50%;
  translate: 0 -50%;
  z-index: 2;
  width: 32px;
  height: 32px;
  border-radius: var(--radius-pill);
  background: var(--white);
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  box-shadow: var(--shadow-sm);
  cursor: pointer;
}
.gallery__thumbs-nav:hover { background: var(--bg-soft); box-shadow: var(--shadow-md); }
.gallery__thumbs-nav svg { width: 16px; height: 16px; }
.gallery__thumbs-nav--prev { left: -14px; }
.gallery__thumbs-nav--next { right: -14px; }
@media (max-width: 480px) {
  .gallery__thumbs-nav { width: 28px; height: 28px; }
  .gallery__thumbs-nav--prev { left: -10px; }
  .gallery__thumbs-nav--next { right: -10px; }
}
.gallery__main-nav {
  position: absolute;
  top: 50%;
  translate: 0 -50%;
  z-index: 3;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-pill);
  background: color-mix(in srgb, var(--white) 90%, transparent);
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  box-shadow: var(--shadow-md);
  cursor: pointer;
}
.gallery__main-nav:hover { background: var(--white); box-shadow: var(--shadow-lg); }
.gallery__main-nav svg { width: 18px; height: 18px; }
.gallery__main-nav--prev { left: var(--space-3); }
.gallery__main-nav--next { right: var(--space-3); }
@media (max-width: 480px) {
  .gallery__main-nav { width: 34px; height: 34px; }
  .gallery__main-nav svg { width: 16px; height: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .gallery__thumbs { scroll-behavior: auto; }
}
.gallery__video {
  display: none;
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  background: var(--ink);
}
.gallery__video-thumb { position: relative; }
.gallery__play-icon {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: var(--white);
  background: color-mix(in srgb, var(--ink) 55%, transparent);
}

.pdp-info__cat {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-alt);
  font-weight: 700;
  font-size: var(--text-xs);
  color: var(--red-dark);
  letter-spacing: 0.02em;
  background: color-mix(in srgb, var(--red) 8%, white);
  border: 1px solid color-mix(in srgb, var(--red) 22%, white);
  padding: 7px 14px;
  border-radius: var(--radius-pill);
}
.pdp-info__cat svg { flex-shrink: 0; color: var(--red); }
.pdp-info h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-4xl);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-top: var(--space-3);
}
.pdp-info h1 span { color: var(--red); }
.pdp-tagline {
  margin-top: var(--space-3);
  font-size: var(--text-lg);
  line-height: 1.5;
  color: var(--ink-soft);
  max-width: 52ch;
}
.pdp-info__rating {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-top: var(--space-4);
}
.pdp-info__rating a { font-family: var(--font-alt); font-size: var(--text-sm); color: var(--navy); border-bottom: 1px solid currentColor; }
.pdp-info__rating .tp-link { display: inline-flex; align-items: center; gap: 4px; font-weight: 700; color: var(--tp-green-dark); border-bottom: none; }
.pdp-info__rating .tp-link svg { color: var(--tp-green); }

.pdp-live-bar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-2) var(--space-5);
  margin-top: var(--space-2);
  font-family: var(--font-alt);
}
.pdp-live-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: color-mix(in srgb, var(--red) 8%, white);
  border: 1px solid color-mix(in srgb, var(--red) 22%, white);
  color: var(--red-dark);
  padding: 7px 14px;
  border-radius: 999px;
  font-size: var(--text-xs);
  font-weight: 700;
  white-space: nowrap;
}
.pdp-live-pill svg { flex-shrink: 0; }
.pdp-live-pill__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--red); flex-shrink: 0; animation: pulseDot 1.6s ease-in-out infinite; }
.pdp-live-stat {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: var(--text-xs);
  font-weight: 700;
  color: var(--gray);
  white-space: nowrap;
}
.pdp-live-stat svg { flex-shrink: 0; }
.pdp-live-stat__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--tp-green); flex-shrink: 0; animation: pulseDot 1.6s ease-in-out infinite; }
@media (prefers-reduced-motion: reduce) {
  .pdp-live-pill__dot, .pdp-live-stat__dot { animation: none; }
}

.pdp-trust-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-3);
  margin-top: var(--space-6);
}
@media (min-width: 480px) { .pdp-trust-grid { grid-template-columns: repeat(4, 1fr); } }
.pdp-trust-grid__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 6px;
  padding: var(--space-3) var(--space-2);
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}
.pdp-trust-grid__item svg { color: var(--green); }
.pdp-trust-grid__item strong { font-family: var(--font-alt); font-size: var(--text-xs); font-weight: 700; color: var(--ink); }
.pdp-trust-grid__item span { font-size: 11px; color: var(--gray); }

.pdp-price {
  display: flex;
  align-items: baseline;
  gap: var(--space-3);
  margin-top: var(--space-2);
  flex-wrap: wrap;
}
.pdp-price .now { font-family: var(--font-display); font-weight: 800; font-size: var(--text-4xl); color: var(--red); }
.pdp-price .was { font-family: var(--font-alt); font-size: var(--text-lg); color: var(--gray); text-decoration: line-through; }
.pdp-price .save { background: var(--green-bg); color: var(--green); font-family: var(--font-alt); font-size: var(--text-sm); font-weight: 700; padding: 0.3rem 0.8rem; border-radius: var(--radius-pill); white-space: nowrap; }
@media (max-width: 479px) {
  .pdp-price { gap: var(--space-2); flex-wrap: nowrap; }
  .pdp-price .now { font-size: var(--text-2xl); }
  .pdp-price .was { font-size: var(--text-sm); }
  .pdp-price .save { font-size: 11px; padding: 0.25rem 0.6rem; }
}

/* Honest limited-time offer block (savings + real month-end countdown) */
.pdp-offer {
  margin-top: var(--space-3);
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  padding: 0.75rem 0.85rem;
  border: 1px solid color-mix(in srgb, var(--red) 22%, var(--line));
  border-radius: var(--radius-md);
  background: linear-gradient(180deg, var(--blush-bg), var(--white));
  animation: pdpOfferIn 400ms cubic-bezier(0.16, 1, 0.3, 1) both;
}
@keyframes pdpOfferIn {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: none; }
}
.pdp-offer__head { display: flex; align-items: center; gap: 0.5rem; }
.pdp-offer__head svg { color: var(--red); flex: none; }
.pdp-offer__save {
  font-family: var(--font-alt);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--ink);
}
.pdp-offer__save strong { color: var(--red); font-weight: 800; }
.pdp-offer__timer {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  flex-wrap: wrap;
}
.pdp-offer__label {
  font-family: var(--font-alt);
  font-size: 0.8rem;
  color: var(--ink-soft);
}
.pdp-offer__label b { color: var(--navy); font-weight: 700; white-space: nowrap; }
.pdp-offer__clock { display: flex; gap: 0.3rem; }
.pdp-offer__unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 2.05rem;
  padding: 0.2rem 0.22rem 0.16rem;
  border-radius: var(--radius-sm);
  border: 1px solid color-mix(in srgb, var(--red) 40%, transparent);
  background: color-mix(in srgb, var(--red) 6%, var(--white));
}
.pdp-offer__unit b {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.9rem;
  line-height: 1;
  color: var(--red);
  font-variant-numeric: tabular-nums;
}
.pdp-offer__unit i {
  font-style: normal;
  font-size: 0.52rem;
  letter-spacing: 0.4px;
  text-transform: capitalize;
  color: color-mix(in srgb, var(--red) 55%, var(--gray));
  margin-top: 2px;
}
@media (max-width: 479px) {
  .pdp-offer__unit { min-width: 1.9rem; }
}
@media (prefers-reduced-motion: reduce) {
  .pdp-offer { animation: none; }
}

.pdp-variant {
  margin-top: var(--space-6);
}
.pdp-variant span.label { display: block; font-family: var(--font-alt); font-weight: 700; font-size: var(--text-sm); margin-bottom: var(--space-2); color: var(--ink); }
.swatches { display: flex; gap: var(--space-3); flex-wrap: wrap; }
.swatch {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0.55rem 1rem;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-pill);
  background: var(--white);
  font-family: var(--font-alt);
  font-weight: 700;
  font-size: var(--text-sm);
  color: var(--ink);
  cursor: pointer;
  transition: border-color 160ms var(--ease-snap), background 160ms var(--ease-snap);
}
.swatch:hover { border-color: var(--gray-light); }
.swatch.is-active { border-color: var(--red); background: #f7edee; }
.swatch__dot { width: 16px; height: 16px; border-radius: 50%; flex-shrink: 0; }
.swatch--green .swatch__dot { background: #2f7d32; }
.swatch--orange .swatch__dot { background: #e2661a; }

/* multi-option variant rows (size pills + colour swatches) */
.pdp-optrow { margin-top: var(--space-4); }
.pdp-optrow:first-child { margin-top: 0; }
.opt-pills { display: flex; gap: var(--space-3); flex-wrap: wrap; }
.opt-pill {
  padding: 0.55rem 1.05rem;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-pill);
  background: var(--white);
  font-family: var(--font-alt);
  font-weight: 700;
  font-size: var(--text-sm);
  color: var(--ink);
  cursor: pointer;
  transition: border-color 160ms var(--ease-snap), background 160ms var(--ease-snap), color 160ms var(--ease-snap);
}
.opt-pill:hover { border-color: var(--gray-light); }
.opt-pill.is-active { border-color: var(--red); background: var(--red); color: var(--white); }

.pdp-actions {
  margin-top: var(--space-6);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}
.pdp-actions .btn { width: 100%; }
.pdp-buy-row { display: flex; gap: var(--space-3); }
.pdp-buy-row .btn { flex: 1; }
.qty-selector {
  display: flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  overflow: hidden;
  flex-shrink: 0;
}
.qty-selector__btn {
  width: 44px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-soft);
  border: none;
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--ink);
  cursor: pointer;
  transition: background 160ms var(--ease-snap);
}
.qty-selector__btn:hover { background: var(--line); }
.qty-selector__value {
  width: 36px;
  text-align: center;
  font-family: var(--font-alt);
  font-weight: 700;
  font-size: var(--text-base);
  color: var(--ink);
}
.pdp-reassure {
  margin-top: var(--space-6);
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  overflow: hidden;
}
@media (min-width: 480px) {
  .pdp-reassure { grid-template-columns: 1fr 1fr; }
}
.pdp-reassure li {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-alt);
  font-weight: 600;
  font-size: var(--text-xs);
  color: var(--ink);
  background: var(--white);
  padding: 0.6rem 0.85rem;
  line-height: 1.3;
}
.pdp-reassure li svg {
  flex-shrink: 0;
  color: var(--red);
}

/* ---------- Deal banner ---------- */
.deal-banner { margin-block: var(--space-10) 0; }
.deal-banner__inner {
  background: linear-gradient(135deg, #fff4e0, #fff1ec);
  border: 1px solid #f5d9a8;
  border-radius: var(--radius-lg);
  padding: var(--space-6) var(--space-8);
  text-align: center;
}
.deal-banner__flag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-alt);
  font-weight: 800;
  font-size: var(--text-sm);
  letter-spacing: 0.02em;
  color: var(--red-dark);
  background: var(--white);
  padding: 0.45rem 1.1rem;
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-sm);
}
.deal-banner p.deal-banner__lead {
  margin-top: var(--space-3);
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--ink);
}
.deal-banner blockquote {
  margin: var(--space-4) auto 0;
  max-width: 60ch;
  font-size: var(--text-base);
  font-style: italic;
  color: var(--ink-soft);
}
.deal-banner cite {
  display: block;
  margin-top: var(--space-2);
  font-style: normal;
  font-weight: 700;
  font-size: var(--text-sm);
  color: var(--navy);
}

.pdp-summary {
  margin-top: var(--space-8);
  padding-top: var(--space-6);
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
}
.pdp-summary ul { margin-top: var(--space-3); display: flex; flex-direction: column; gap: var(--space-2); }
.pdp-summary li { display: flex; gap: var(--space-2); font-size: var(--text-sm); }
.pdp-summary li::before { content: '✓'; color: var(--green); font-weight: 700; }

/* ---------- Sticky buy bar ---------- */
.sticky-bar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 90;
  background: var(--white);
  border-top: 1px solid var(--line);
  box-shadow: 0 -8px 24px rgba(20,23,31,0.1);
  transform: translateY(100%);
  transition: transform 300ms var(--ease-snap);
}
.sticky-bar.is-visible { transform: translateY(0); }
.sticky-bar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  padding-block: var(--space-3);
}
.sticky-bar__info { display: flex; align-items: center; gap: var(--space-3); min-width: 0; }
.sticky-bar__info img { width: 44px; height: 44px; border-radius: var(--radius-sm); object-fit: cover; flex-shrink: 0; }
.sticky-bar__prices { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.sticky-bar__price { color: var(--red); font-family: var(--font-display); font-weight: 800; font-size: var(--text-lg); line-height: 1.1; }
.sticky-bar__was { font-family: var(--font-alt); font-size: var(--text-xs); color: var(--gray); text-decoration: line-through; line-height: 1.1; }
.sticky-bar .btn { flex-shrink: 0; }

@media (max-width: 640px) {
  body:has(.sticky-bar) { padding-bottom: 76px; }
  .sticky-bar {
    transform: translateY(0);
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    padding-bottom: env(safe-area-inset-bottom, 0);
  }
  .sticky-bar__inner { padding-block: var(--space-2); gap: var(--space-3); }
  .sticky-bar__info img { width: 38px; height: 38px; }
  .sticky-bar__price { font-size: var(--text-base); }
  .sticky-bar__was { font-size: 11px; }
  .sticky-bar .btn { padding-inline: var(--space-5); font-size: var(--text-sm); min-height: 44px; display: flex; align-items: center; }
}

/* ---------- PDP trust band ---------- */
.trust-band__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-4);
}
@media (min-width: 560px) { .trust-band__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .trust-band__grid { grid-template-columns: repeat(4, 1fr); } }
.trust-band__card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--space-3);
  padding: var(--space-8) var(--space-5);
  background: color-mix(in srgb, var(--red) 6%, white);
  border: 1px solid color-mix(in srgb, var(--red) 20%, white);
  border-radius: var(--radius-lg);
}
.trust-band__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--red) 12%, white);
  color: var(--red);
}
.trust-band__icon svg { width: 26px; height: 26px; }
.trust-band__title {
  font-family: var(--font-alt);
  font-weight: 800;
  font-size: var(--text-sm);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--ink);
}
.trust-band__text { font-size: var(--text-sm); color: var(--gray); max-width: 24ch; }

/* Fixed trust band before footer — blends into footer (dark) */
.section--footer-trust { background: var(--navy-dark); }
.section--footer-trust .trust-band__card {
  background: rgba(255,255,255,0.05);
  border-color: rgba(255,255,255,0.12);
}
.section--footer-trust .trust-band__icon {
  background: rgba(255,255,255,0.09);
  color: #fff;
}
.section--footer-trust .trust-band__title { color: #fff; }
.section--footer-trust .trust-band__text { color: rgba(255,255,255,0.62); }

/* Mini divider between fixed trust band and footer */
.footer-divider {
  background: var(--navy-dark);
  display: flex;
  justify-content: center;
  padding-block: var(--space-2) var(--space-4);
}
.footer-divider span {
  display: block;
  width: 56px;
  height: 3px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--gold) 75%, transparent);
}

/* ---------- Feature grid ---------- */
.feature-grid {
  display: grid;
  gap: var(--space-6);
  grid-template-columns: 1fr;
}
@media (min-width: 640px) { .feature-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .feature-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1080px) { .feature-grid--4 { grid-template-columns: repeat(4, 1fr); } }
.feature-item {
  display: flex;
  gap: var(--space-4);
  padding: var(--space-6);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  transition: transform 240ms var(--ease-snap), box-shadow 240ms var(--ease-snap);
}
.feature-item:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.feature-item__icon {
  flex-shrink: 0;
  width: 48px; height: 48px;
  border-radius: var(--radius-sm);
  background: var(--green-bg);
  color: var(--green);
  display: flex; align-items: center; justify-content: center;
}
.feature-item__num {
  display: block;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: var(--text-xs);
  color: var(--red);
  letter-spacing: 1px;
  margin-bottom: 2px;
}
.feature-item h3 { font-family: var(--font-alt); font-weight: 700; font-size: var(--text-base); color: var(--ink); }
.feature-item p { margin-top: var(--space-1); font-size: var(--text-sm); color: var(--gray); }

.feature-item--photo {
  flex-direction: column;
  gap: var(--space-3);
  padding: 0 0 var(--space-6);
  overflow: hidden;
}
.feature-item--photo .feature-item__photo {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}
.feature-item--photo > div { padding-inline: var(--space-6); }

/* ---------- Specs table ---------- */
.specs-wrap {
  display: grid;
  gap: var(--space-8);
  grid-template-columns: 1fr;
}
@media (min-width: 960px) { .specs-wrap { grid-template-columns: 0.9fr 1.1fr; align-items: center; } }
.specs-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border: 2px solid var(--ink);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.specs-table tr { border-bottom: 1px solid var(--line); }
.specs-table tr:last-child { border-bottom: none; }
.specs-table tr:nth-child(even) { background: color-mix(in srgb, var(--red) 4%, white); }
.specs-table th, .specs-table td { text-align: left; padding: var(--space-4) var(--space-6); font-size: var(--text-sm); }
.specs-table th { font-family: var(--font-alt); font-weight: 600; color: var(--gray); width: 45%; }
.specs-table td { font-weight: 700; color: var(--ink); }
.specs-photo { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); }
.specs-photo:empty { display: none; }
.specs-wrap:has(.specs-photo:empty) { grid-template-columns: 1fr; justify-items: center; }
.specs-wrap:has(.specs-photo:empty) .specs-table { max-width: 720px; }

/* ---------- Reviews (Trustpilot-style) ---------- */
.review-summary .stars,
.review-card .stars,
.testi-card .stars,
.stars-row .stars {
  color: var(--tp-star);
  font-size: var(--text-lg);
  letter-spacing: 2px;
}

.review-summary {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-10);
  align-items: center;
  padding: var(--space-8);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  margin-bottom: var(--space-8);
  position: relative;
  overflow: hidden;
}
.review-summary::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 6px;
  background: var(--tp-green);
}
.review-summary__score { text-align: center; }
.review-summary__score strong { font-family: var(--font-display); font-weight: 800; font-size: var(--text-4xl); display: block; color: var(--ink); }
.review-summary__rank {
  display: inline-block;
  margin-top: var(--space-2);
  padding: 3px 12px;
  background: var(--tp-green);
  color: var(--white);
  font-family: var(--font-alt);
  font-weight: 700;
  font-size: var(--text-xs);
  border-radius: var(--radius-pill);
}
.review-bars { flex: 1; min-width: 220px; display: flex; flex-direction: column; gap: var(--space-1); }
.review-bar { display: grid; grid-template-columns: 50px 1fr 30px; align-items: center; gap: var(--space-2); font-size: var(--text-xs); color: var(--gray); }
.review-bar__track { height: 8px; background: var(--line); border-radius: 999px; overflow: hidden; }
.review-bar__fill { height: 100%; background: var(--tp-green); }

.tp-banner { text-align: center; max-width: 480px; margin: 0 auto var(--space-8); }
.tp-banner__mini {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-alt); font-weight: 700; font-size: var(--text-xs);
  letter-spacing: 0.02em; color: var(--tp-green-dark);
}
.tp-banner__mini svg { color: var(--tp-green); }
.tp-banner__rank {
  margin-top: 0;
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(1.75rem, 4vw, var(--text-4xl));
  color: var(--ink);
}
.tp-banner .stars--lg {
  display: inline-flex;
  gap: 6px;
  margin-top: var(--space-1);
  font-size: 0;
}
.tp-star-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  background: var(--tp-green);
  color: var(--white);
  border-radius: var(--radius-sm);
  font-size: 16px;
  line-height: 1;
}
.tp-banner__meta { margin-top: var(--space-1); font-size: var(--text-sm); color: var(--gray); }

.tp-summary-row { display: flex; flex-wrap: wrap; gap: var(--space-6); align-items: stretch; margin-bottom: var(--space-8); }
.tp-summary-row .review-summary { flex: 1 1 420px; margin-bottom: 0; }
.tp-gallery {
  flex: 1 1 260px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: var(--space-5);
}
.tp-gallery__thumbs { display: flex; gap: var(--space-2); flex-wrap: wrap; }
.tp-gallery__thumbs img {
  width: 64px; height: 64px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  border: 1px solid var(--line);
}
.tp-gallery__meta { margin-top: var(--space-3); font-size: var(--text-sm); color: var(--gray); }

.review-card__photo {
  width: 100%; height: 140px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  margin-top: var(--space-4);
}

/* Masonry columns so mixed photo / text-only cards pack tightly
   instead of stretching to the tallest card in a grid row. */
.review-grid { column-count: 1; column-gap: var(--space-5); }
@media (min-width: 768px) { .review-grid { column-count: 2; } }
@media (min-width: 1200px) { .review-grid { column-count: 3; } }
.review-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 3px solid var(--tp-green);
  border-radius: var(--radius-md);
  padding: var(--space-5);
  margin-bottom: var(--space-5);
  break-inside: avoid;
  -webkit-column-break-inside: avoid;
  transition: box-shadow 220ms var(--ease-snap), transform 220ms var(--ease-snap);
}
.review-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }

.review-grid__more { display: flex; justify-content: center; margin-top: var(--space-8); }

.trust-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-6);
  padding-block: var(--space-10);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
@media (min-width: 700px) { .trust-row { grid-template-columns: repeat(4, 1fr); } }
.trust-row__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--space-2);
}
.trust-row__item svg { color: var(--red); }
.trust-row__item strong { font-family: var(--font-display); font-size: var(--text-base); font-weight: 800; color: var(--ink); }
.trust-row__item span { font-size: var(--text-sm); color: var(--gray); }
.review-card__top { display: flex; justify-content: space-between; align-items: flex-start; gap: var(--space-2); }
.review-card__id { display: flex; align-items: center; gap: var(--space-2); }
.review-card__name { display: block; font-family: var(--font-alt); font-weight: 700; font-size: var(--text-sm); color: var(--ink); }
.review-card__avatar {
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--navy-dark);
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 11px;
  flex-shrink: 0;
}
.verified-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  color: var(--tp-green-dark);
  background: var(--tp-green-bg);
  font-weight: 700;
  padding: 2px 8px;
  border-radius: var(--radius-pill);
  margin-top: 2px;
}
.review-card p { margin-top: var(--space-4); font-size: var(--text-sm); color: var(--ink-soft); }
.review-card__date { margin-top: var(--space-3); font-size: var(--text-xs); color: var(--gray); }

/* ---------- FAQ ---------- */
.faq { max-width: 780px; margin-inline: auto; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item__q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  padding-block: var(--space-5);
  background: none;
  border: none;
  text-align: left;
  font-family: var(--font-alt);
  font-weight: 700;
  font-size: var(--text-base);
  color: var(--ink);
}
.faq-item__icon { flex-shrink: 0; color: var(--red); transition: transform 220ms var(--ease-snap); }
.faq-item[data-open="true"] .faq-item__icon { transform: rotate(45deg); }
.faq-item__a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 260ms var(--ease-snap);
  font-size: var(--text-sm);
  color: var(--gray);
}
.faq-item__a p { padding-bottom: var(--space-5); max-width: 65ch; }

/* ---------- Swatch: colour dot only ---------- */
.swatch--dot { padding: 5px; border-radius: 999px; gap: 0; }
.swatch--dot .swatch__dot { width: 26px; height: 26px; box-shadow: inset 0 0 0 1px rgba(0,0,0,.14); }
.pdp-variant .label b { color: var(--ink); font-weight: 800; }

/* ---------- PDP inline rating stars ---------- */
.pdp-info__rating .stars { color: var(--tp-star); letter-spacing: 1px; font-size: var(--text-base); }

/* ---------- Comparison "Wir scheuen nicht den Vergleich" ---------- */
.vs-table {
  max-width: 860px;
  margin-inline: auto;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.vs-row { display: grid; grid-template-columns: 1.25fr 1fr 1fr; }
.vs-row + .vs-row { border-top: 1px solid var(--line); }
.vs-row > div {
  padding: var(--space-4);
  display: flex;
  align-items: flex-start;
  gap: .45rem;
  font-size: var(--text-sm);
  overflow-wrap: anywhere;
  min-width: 0;
}
.vs-row__feat { font-family: var(--font-alt); font-weight: 700; color: var(--ink); }
.vs-head { background: var(--navy-dark); }
.vs-head > div { justify-content: center; text-align: center; font-family: var(--font-display); font-weight: 800; color: #fff; }
.vs-head .vs-row__feat { justify-content: flex-start; text-align: left; color: #fff; }
.vs-head > div:nth-child(2) { background: var(--red); }
/* value cells: icon + text left-aligned so every row starts at the same point */
.vs-col-us { background: color-mix(in srgb, var(--red) 7%, white); justify-content: flex-start; color: var(--red); font-weight: 700; }
.vs-col-them { justify-content: flex-start; color: var(--gray); }
.vs-ico { width: 19px; height: 19px; flex: none; margin-top: 2px; }
.vs-ico--yes { color: var(--red); }
.vs-ico--no { color: var(--gray-light); }
/* header cells stay vertically centered even though value cells top-align */
.vs-head > div { align-items: center; }
.vs-head .vs-ico { margin-top: 0; }
@media (max-width: 560px) {
  /* narrower feature column gives the wrapping value text more room */
  .vs-row { grid-template-columns: .8fr 1fr 1fr; }
  .vs-row > div { padding: .55rem .4rem; font-size: 11.5px; gap: .28rem; line-height: 1.3; }
  .vs-ico { width: 14px; height: 14px; margin-top: 1px; }
  .vs-head > div { font-size: 11px; }
}
@media (max-width: 380px) {
  /* tightest phones: shave padding/font so nothing overflows or clips */
  .vs-row > div { padding: .5rem .3rem; font-size: 10.5px; gap: .22rem; }
  .vs-ico { width: 12px; height: 12px; }
  .vs-head > div { font-size: 10px; }
}

/* ---------- Home-style reviews (ported for PDP) ---------- */
.rev-head { display: flex; flex-direction: column; gap: 1.5rem; }
@media (min-width: 768px) { .rev-head { flex-direction: row; align-items: flex-end; justify-content: space-between; } }
.rev-head__text { max-width: 42rem; }
.rev-head__text h2 { margin-top: .5rem; font-family: var(--font-display); font-weight: 800; font-size: var(--text-4xl); line-height: 1.08; color: var(--ink); }
.rev-head__text .lead { margin-top: .75rem; font-size: var(--text-lg); color: var(--gray); }
.rev-score { border-radius: 12px; border: 1px solid var(--line); background: var(--white); padding: 1.25rem 1.5rem; box-shadow: 0 4px 16px rgba(20,23,31,.06); }
.rev-score__top { display: flex; align-items: center; gap: .75rem; }
.rev-score__top span { font-size: 1.125rem; font-weight: 800; color: var(--ink); }
.rev-score p { margin-top: .5rem; font-size: .875rem; color: var(--gray); }
.rev-score p b { color: var(--ink); }
.tstars { display: inline-flex; gap: .125rem; }
.tstars span { display: inline-flex; align-items: center; justify-content: center; border-radius: 3px; background: var(--tp-green); color: #fff; }
.tstars--md span { height: 28px; width: 28px; font-size: 16px; }
.tstars--sm span { height: 20px; width: 20px; font-size: 12px; }
.tstars span.empty { background: var(--gray-light); }
.reviews { margin-top: 3rem; display: grid; gap: 1.25rem; grid-template-columns: 1fr; }
@media (min-width: 768px) { .reviews { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .reviews { grid-template-columns: repeat(3, 1fr); } }
.review { display: flex; flex-direction: column; border-radius: .75rem; border: 1px solid var(--line); background: var(--white); padding: 1.5rem; box-shadow: 0 4px 16px rgba(20,23,31,.06); }
.review__top { display: flex; align-items: center; justify-content: space-between; }
.review__date { font-size: .75rem; color: var(--gray); }
.review h3 { margin-top: 1rem; font-family: var(--font-alt); font-size: 1rem; font-weight: 800; color: var(--ink); }
.review__body { margin-top: .5rem; flex: 1; font-size: .875rem; line-height: 1.6; color: var(--gray); }
.review__foot { margin-top: 1.25rem; border-top: 1px solid var(--line); padding-top: 1rem; }
.review__id { display: flex; align-items: center; gap: .5rem; }
.review__avatar { display: flex; height: 32px; width: 32px; align-items: center; justify-content: center; border-radius: 999px; background: var(--red); color: #fff; font-family: var(--font-display); font-size: .75rem; font-weight: 700; }
.review__name { font-size: .875rem; font-weight: 700; line-height: 1.3; color: var(--ink); }
.review__name .place { font-weight: 400; color: var(--gray); }
.review__prod { font-size: .75rem; color: var(--gray); }
.review__verified { margin-top: .75rem; display: inline-flex; align-items: center; gap: .375rem; font-size: .75rem; font-weight: 600; color: var(--tp-green-dark); }
.review__verified svg { width: 14px; height: 14px; }
.review__photo {
  margin-top: .875rem; padding: 0; border: 0; background: none; cursor: pointer;
  width: 88px; height: 88px; border-radius: .625rem; overflow: hidden;
  display: block; position: relative; box-shadow: 0 0 0 1px var(--line);
  transition: box-shadow .18s cubic-bezier(0.16,1,0.3,1), transform .18s cubic-bezier(0.16,1,0.3,1);
}
.review__photo img { display: block; width: 100%; height: 100%; object-fit: cover; background: var(--line);
  transition: transform .3s cubic-bezier(0.16,1,0.3,1); }
.review__photo::after {
  content: ""; position: absolute; inset: auto .35rem .35rem auto; width: 20px; height: 20px;
  border-radius: 6px; background: rgba(20,23,31,.62) center / 12px no-repeat;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M15 3h6v6M14 10l7-7M9 21H3v-6M10 14l-7 7'/%3E%3C/svg%3E");
  opacity: 0; transition: opacity .18s; pointer-events: none;
}
.review__photo:hover { box-shadow: 0 0 0 2px var(--red); transform: translateY(-2px); }
.review__photo:hover img { transform: scale(1.08); }
.review__photo:hover::after { opacity: 1; }
.review__photo:focus-visible { outline: 2px solid var(--red); outline-offset: 2px; }

/* Review photo lightbox */
.rlb { position: fixed; inset: 0; z-index: 1000; display: none; place-items: center;
  padding: clamp(1rem, 4vw, 3rem); background: rgba(12,14,19,.86); opacity: 0;
  transition: opacity .22s cubic-bezier(0.16,1,0.3,1); }
.rlb.is-open { display: grid; opacity: 1; }
.rlb__img { max-width: min(92vw, 720px); max-height: 86vh; border-radius: .75rem;
  box-shadow: 0 24px 70px rgba(0,0,0,.5); transform: scale(.96); transition: transform .22s cubic-bezier(0.16,1,0.3,1); }
.rlb.is-open .rlb__img { transform: scale(1); }
.rlb__close { position: absolute; top: 1rem; right: 1rem; width: 44px; height: 44px;
  display: grid; place-items: center; border: 0; border-radius: 999px; cursor: pointer;
  background: rgba(255,255,255,.14); color: #fff; }
.rlb__close:hover { background: rgba(255,255,255,.26); }
.rlb__close svg { width: 22px; height: 22px; }
@media (prefers-reduced-motion: reduce) {
  .review__photo, .review__photo img, .rlb, .rlb__img { transition: none; }
  .review__photo:hover { transform: none; }
  .review__photo:hover img { transform: none; }
}

/* ---------- Awards / certificates ---------- */
.awards-row { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: clamp(1.5rem, 4vw, 3rem); }
.awards-row img { height: clamp(72px, 9vw, 116px); width: auto; object-fit: contain; }

/* Feature videos reuse the photo slot */
.feature-item--photo video.feature-item__photo { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; background: var(--navy-dark); }

/* ---------- Related products ---------- */
.related { }

/* =========================================================
   Checkout Modal
   ========================================================= */
/* The OVERLAY is the one and only scroll container. Stripe's embedded checkout
   iframe auto-resizes to its own content and expects the page around it to do
   the scrolling — nesting it inside a second scrolling box was what made it read
   as "an iframe in a box", detached the browser's autofill dropdown from the
   field it belongs to, and caused the blank white band when scrolling back up.
   No backdrop-filter here either: blurring a backdrop that contains a scrolling
   child forces a full re-rasterise on every scroll frame (the same white flash). */
.checkout-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 100vh;                    /* fallback */
  height: 100dvh;                   /* excludes mobile browser chrome */
  height: var(--cv-vvh, 100dvh);    /* exact visual viewport once JS syncs it */
  z-index: 1000;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: var(--space-4);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;     /* scrolling the modal never drags the page */
  background: rgba(16, 26, 53, 0.72);
  opacity: 0;
  transition: opacity 240ms var(--ease-out);
}
.checkout-modal-overlay[hidden] { display: none; }
.checkout-modal-overlay.is-open { opacity: 1; }

.checkout-modal {
  position: relative;
  width: 100%;
  max-width: 920px;
  /* auto margins centre it when it's short and top-align it when it's taller
     than the screen — a centred flex item would clip its own top instead. */
  margin: auto;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  display: grid;
  grid-template-columns: 1fr;
  grid-template-areas: "summary" "payment" "trust";
  transform: translateY(16px) scale(0.98);
  opacity: 0;
  transition: transform 280ms var(--ease-snap), opacity 280ms var(--ease-snap);
}
/* Settles to transform:none, not translateY(0) — any non-none transform keeps a
   composited containing block around the iframe and reintroduces the repaint bug. */
.checkout-modal-overlay.is-open .checkout-modal {
  transform: none;
  opacity: 1;
}
@media (prefers-reduced-motion: reduce) {
  .checkout-modal-overlay, .checkout-modal { transition: none; }
}
@media (min-width: 760px) {
  .checkout-modal {
    grid-template-columns: 0.92fr 1.08fr;
    grid-template-rows: auto 1fr;
    grid-template-areas: "summary payment" "summary trust";
  }
  /* Order summary stays put while the payment column scrolls past it. */
  .checkout-modal__summary {
    position: sticky;
    top: 0;
    align-self: start;
    border-radius: var(--radius-lg) 0 0 var(--radius-lg);
  }
}
/* Mobile: full-bleed so it reads as a real checkout page, not a floating card. */
@media (max-width: 759px) {
  .checkout-modal-overlay { padding: 0; }
  .checkout-modal {
    margin: 0;
    min-height: 100%;
    border-radius: 0;
  }
  /* Close stays reachable however far down the form the shopper has scrolled.
     Works because the open modal carries no transform to trap fixed children. */
  .checkout-modal__close {
    position: fixed;
    top: 12px;
    right: 12px;
  }
}
.checkout-modal__close {
  position: absolute;
  top: var(--space-5);
  right: var(--space-5);
  z-index: 2;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink);
  font-size: 20px;
  line-height: 1;
  box-shadow: var(--shadow-sm);
  transition: background-color 160ms var(--ease-snap), transform 160ms var(--ease-snap);
}
.checkout-modal__close:hover { background: var(--bg-soft); transform: scale(1.06); }
.checkout-modal__close:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }

.checkout-modal__summary {
  grid-area: summary;
  background: var(--blush-bg);
  padding: var(--space-8) var(--space-6);
}
.checkout-modal__eyebrow {
  display: block;
  font-family: var(--font-alt);
  font-weight: 800;
  font-size: var(--text-xs);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: var(--space-4);
}
.checkout-modal__product {
  display: flex;
  gap: var(--space-4);
  align-items: flex-start;
}
.checkout-modal__product img {
  width: 84px; height: 84px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: var(--white);
  flex-shrink: 0;
}
.checkout-modal__product h3 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: var(--text-base);
  line-height: 1.3;
  color: var(--ink);
}
.checkout-modal__qty {
  display: block;
  margin-top: var(--space-2);
  font-family: var(--font-alt);
  font-weight: 600;
  font-size: var(--text-sm);
  color: var(--ink-soft);
}

.checkout-modal__rows {
  margin-top: var(--space-6);
  padding-top: var(--space-5);
  border-top: 1px solid color-mix(in srgb, var(--red) 15%, transparent);
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}
.checkout-modal__row {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-alt);
  font-size: var(--text-sm);
  color: var(--ink-soft);
}
.checkout-modal__row .was { text-decoration: line-through; color: var(--gray); }
.checkout-modal__row--save { color: var(--red); font-weight: 700; }
.checkout-modal__free { color: var(--red); font-weight: 700; }

.checkout-modal__total-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-top: var(--space-3);
  padding-top: var(--space-3);
  border-top: 1px solid color-mix(in srgb, var(--red) 15%, transparent);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: var(--text-xl);
  color: var(--ink);
}
.checkout-modal__total-row span:last-child { color: var(--red); }

.checkout-modal__secure {
  margin-top: var(--space-4);
  font-size: var(--text-xs);
  color: var(--gray);
}

.checkout-modal__payment {
  grid-area: payment;
  padding: var(--space-8) var(--space-6);
}
.checkout-modal__payment h2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: var(--text-2xl);
  color: var(--ink);
  padding-right: var(--space-10);
}
.checkout-modal__payment > p {
  margin-top: var(--space-2);
  font-size: var(--text-base);
  color: var(--gray);
}
.checkout-modal__payment hr {
  border: none;
  border-top: 1px solid var(--line);
  margin: var(--space-6) 0;
}

.checkout-modal__payment-slot {
  min-height: 140px;
}
/* Let Stripe's iframe sit flush in the column — full width, no inner frame, no
   inline-element baseline gap under it — so it reads as part of the page rather
   than an embedded box. It sizes its own height; never constrain it here or the
   iframe starts scrolling internally again. */
.checkout-modal__payment-slot iframe {
  display: block;
  width: 100% !important;
  border: 0;
}

.checkout-modal__redirecting {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-4);
  min-height: 140px;
  text-align: center;
  padding: var(--space-4) 0;
}
.checkout-modal__spinner {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 3px solid var(--line);
  border-top-color: var(--red);
  animation: cm-spin 0.8s linear infinite;
}
.checkout-modal__redirecting p {
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--ink);
}
.checkout-modal__redirecting-sub {
  display: block;
  margin-top: var(--space-1);
  font-size: var(--text-sm);
  font-weight: 400;
  color: var(--gray);
}
@keyframes cm-spin {
  to { transform: rotate(360deg); }
}
@media (prefers-reduced-motion: reduce) {
  .checkout-modal__spinner {
    animation: none;
    border-top-color: var(--line);
  }
}

.checkout-modal__encrypted {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  color: var(--gray);
  padding-top: var(--space-6);
  border-top: 1px solid var(--line);
}

.checkout-modal__trust {
  grid-area: trust;
  margin: var(--space-6);
  background: var(--blush-bg);
  border-radius: var(--radius-md);
  padding: var(--space-5);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}
.checkout-modal__trust-item {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-family: var(--font-alt);
  font-weight: 600;
  font-size: var(--text-sm);
  color: var(--ink);
}
.checkout-modal__trust-item svg { flex-shrink: 0; color: var(--red); }

@media (max-width: 759px) {
  .checkout-modal__summary { padding: var(--space-5) var(--space-6); }
  .checkout-modal__eyebrow { margin-bottom: var(--space-2); }
  .checkout-modal__qty { margin-top: var(--space-1); }
  .checkout-modal__rows { margin-top: var(--space-3); padding-top: var(--space-3); gap: var(--space-1); }
  .checkout-modal__total-row { margin-top: var(--space-2); padding-top: var(--space-2); }
}

/* position:fixed (not just overflow:hidden) is the only lock iOS Safari honours —
   without it the page behind keeps scrolling under the checkout. JS stores the
   scroll offset in body.style.top and restores it on close. */
body.checkout-modal-lock {
  position: fixed;
  left: 0;
  right: 0;
  width: 100%;
  overflow: hidden;
}

/* ---------- Checkout success (in-popup thank-you) ---------- */
.checkout-modal--success {
  display: block;
  max-width: 540px;
}
.checkout-success {
  padding: clamp(var(--space-6), 5vw, var(--space-10, 3rem)) clamp(var(--space-6), 5vw, var(--space-8));
  text-align: center;
}
.checkout-success__badge {
  width: 68px;
  height: 68px;
  margin: 0 auto var(--space-5);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--green-bg);
  color: var(--green);
}
@media (prefers-reduced-motion: no-preference) {
  .checkout-modal-overlay.is-open .checkout-success__badge {
    animation: cmSuccessPop 460ms var(--ease-snap) both;
  }
}
@keyframes cmSuccessPop {
  0% { transform: scale(0.4); opacity: 0; }
  60% { transform: scale(1.08); }
  100% { transform: scale(1); opacity: 1; }
}
.checkout-success__title {
  font-family: var(--font-display, inherit);
  font-size: var(--text-2xl);
  color: var(--ink);
  margin: 0 0 var(--space-2);
}
.checkout-success__lede {
  font-size: var(--text-base);
  color: var(--ink-soft);
  margin: 0 auto;
  max-width: 34ch;
}
.checkout-success__ref {
  display: inline-block;
  margin-top: var(--space-4);
  padding: var(--space-1) var(--space-3);
  border-radius: 999px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  font-size: var(--text-sm);
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--navy);
}
.checkout-success__card {
  margin-top: var(--space-6);
  padding: var(--space-5);
  text-align: left;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--bg-soft);
}
.checkout-success__card-label {
  display: block;
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 800;
  color: var(--ink-soft);
  margin-bottom: var(--space-3);
}
.checkout-success__line {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}
.checkout-success__thumb {
  width: 56px;
  height: 56px;
  flex-shrink: 0;
  object-fit: cover;
  border-radius: var(--radius-sm, 8px);
  border: 1px solid var(--line);
  background: var(--white);
}
.checkout-success__line-info { flex: 1; min-width: 0; }
.checkout-success__line-title {
  display: block;
  font-weight: 700;
  color: var(--ink);
  font-size: var(--text-sm);
}
.checkout-success__line-qty {
  display: block;
  font-size: var(--text-xs);
  color: var(--ink-soft);
  margin-top: 2px;
}
.checkout-success__line-price {
  font-weight: 700;
  color: var(--ink);
  white-space: nowrap;
}
.checkout-success__totals {
  margin-top: var(--space-4);
  padding-top: var(--space-3);
  border-top: 1px solid var(--line);
}
.checkout-success__total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: var(--text-sm);
  color: var(--ink-soft);
  padding-block: 2px;
}
.checkout-success__total-row--grand {
  margin-top: var(--space-1);
  padding-top: var(--space-2);
  border-top: 1px solid var(--line);
  font-size: var(--text-base);
  color: var(--ink);
}
.checkout-success__total-row--grand strong { color: var(--red); font-size: var(--text-lg); }
.checkout-success__shipping {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-top: var(--space-5);
  padding: var(--space-4);
  border-radius: var(--radius-md);
  background: var(--green-bg);
  text-align: left;
  font-size: var(--text-sm);
  color: var(--navy-dark);
}
.checkout-success__shipping svg { flex-shrink: 0; color: var(--green); }
.checkout-success__done { margin-top: var(--space-6); }

/* ---------- Utility ---------- */
.mt-8 { margin-top: var(--space-8); }
.text-center { text-align: center; }
.badge-row { display: flex; gap: var(--space-2); flex-wrap: wrap; margin-bottom: var(--space-4); }

/* ---------- Product Showcase (real body media, editorial) ---------- */
.showcase { display: flex; flex-direction: column; gap: clamp(var(--space-10), 7vw, var(--space-24)); }
.showcase__row { display: grid; gap: clamp(var(--space-5), 4vw, var(--space-10)); align-items: center; }
@media (min-width: 760px) {
  .showcase__row { grid-template-columns: 1.05fr 1fr; }
  .showcase__row:nth-child(even) .showcase__media { order: 2; }
}
.showcase__media { margin: 0; border-radius: var(--radius-lg); overflow: hidden; background: var(--paper); box-shadow: var(--shadow-md); }
.showcase__media img, .showcase__media video { display: block; width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; }
.showcase__body { max-width: 48ch; }
.showcase__num { display: inline-block; font-family: var(--font-display); font-size: var(--text-sm); letter-spacing: .12em; color: var(--red); font-weight: 800; }
.showcase__body h3 { font-size: clamp(var(--text-2xl), 3.2vw, var(--text-4xl)); line-height: 1.1; margin: var(--space-2) 0 var(--space-3); }
.showcase__body p { color: var(--ink-soft); font-size: var(--text-lg); line-height: 1.6; }
.showcase__banner { position: relative; margin-top: clamp(var(--space-10), 7vw, var(--space-24)); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.showcase__banner img { display: block; width: 100%; height: auto; }
.showcase__banner figcaption { position: absolute; inset-inline: 0; bottom: 0; padding: clamp(var(--space-5), 4vw, var(--space-12)); display: flex; flex-direction: column; gap: var(--space-1); color: #fff; background: linear-gradient(to top, rgba(0,0,0,.62), rgba(0,0,0,.12) 55%, transparent); }
.showcase__banner strong { font-family: var(--font-display); font-weight: 800; font-size: clamp(var(--text-3xl), 4.4vw, var(--text-6xl)); line-height: 1; }
.showcase__banner span { font-size: clamp(var(--text-base), 2vw, var(--text-xl)); font-weight: 600; opacity: .92; }
.showcase__note { margin-top: clamp(var(--space-8), 5vw, var(--space-16)); text-align: center; }
.showcase__note h3 { font-size: clamp(var(--text-xl), 2.6vw, var(--text-3xl)); margin-bottom: var(--space-2); }
.showcase__note p { color: var(--ink-soft); font-size: var(--text-lg); max-width: 60ch; margin-inline: auto; }
.showcase__trio { display: grid; gap: var(--space-4); grid-template-columns: 1fr; margin-top: var(--space-6); }
@media (min-width: 700px) { .showcase__trio { grid-template-columns: repeat(3, 1fr); } }
.showcase__trio img { display: block; width: 100%; border-radius: var(--radius-md); aspect-ratio: 1 / 1; object-fit: cover; box-shadow: var(--shadow-sm); }
@media (prefers-reduced-motion: reduce) { .showcase__media video { display: none; } }
