/* ============================================================
   Avventura by Penaldo — homepage styles
   Stage 1: tokens, typography, announcement, header/nav,
   hero, category tiles, featured shell, footer, mobile menu.
   Stage 2: filter chips, product cards, colour dots.
   Stage 3: add-to-bag button, bag drawer, toast.
   Stage 4: wishlist heart, brand statement, newsletter.
   Mobile-first. Breakpoints: 768px (tablet), 1024px+ (desktop).
   Check widths: 390px, 768px, 1280px — no horizontal scroll.
   ============================================================ */

/* ------------------------------------------------------------
   1. Brand tokens — every colour in the site is defined here.
   ------------------------------------------------------------ */
:root {
  /* Brand tokens (exact values from the brand file) */
  --navy: #0B1726;
  --cream: #F4F0E6;
  --gold: #C9A45C;

  /* Allowed helper tints, derived from the tokens only */
  --navy-soft: #14243A;
  --line-gold: color-mix(in srgb, var(--gold) 40%, transparent);
  --line-navy: color-mix(in srgb, var(--navy) 14%, transparent);
  --shadow-navy: color-mix(in srgb, var(--navy) 14%, transparent);
  --cream-dim: color-mix(in srgb, var(--cream) 72%, transparent);

  /* Type — assets/fonts/ is empty, so fonts load from Google Fonts;
     serif/sans fallbacks keep the design intact offline */
  --font-serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --font-sans: "Manrope", "Segoe UI", system-ui, -apple-system, Arial, sans-serif;

  /* Metrics */
  --header-h: 64px;
  --gutter: 20px;
  --maxw: 1280px;
}

/* ------------------------------------------------------------
   2. Base / reset
   ------------------------------------------------------------ */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--navy);
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
  /* Keeps the width/height attributes (or aspect-ratio) in charge, so
     images reserve their box and the page does not jump while loading. */
  height: auto;
}

h1, h2, h3, p, ul {
  margin: 0;
}

ul {
  padding: 0;
  list-style: none;
}

a {
  color: inherit;
}

button {
  font: inherit;
}

/* Anchored sections clear the sticky header */
[id] {
  scroll-margin-top: calc(var(--header-h) + 16px);
}

:focus-visible {
  outline: 2px solid var(--navy);
  outline-offset: 3px;
}

.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  background: var(--gold);
  color: var(--navy);
  font-weight: 700;
  text-decoration: none;
  padding: 0.75rem 1.25rem;
}

.skip-link:focus {
  left: var(--gutter);
  top: 0.5rem;
}

/* ------------------------------------------------------------
   3. Buttons
   ------------------------------------------------------------ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.9rem 2rem;
  border: 2px solid transparent;
  border-radius: 0;
  font-family: var(--font-sans);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: filter 0.15s ease;
}

/* Primary: gold background, navy text */
.btn--primary {
  background: var(--gold);
  color: var(--navy);
}

.btn--primary:hover {
  filter: brightness(0.93);
}

/* Gold focus ring so focus stays visible on navy bands */
.hero :focus-visible,
.statement :focus-visible,
.site-footer :focus-visible {
  outline-color: var(--gold);
}

/* ------------------------------------------------------------
   4. Image placeholders (no real photography yet)
   Navy block + thin gold border + small-caps label of what the
   photo should show. Swap for real <img> files when they exist.
   ------------------------------------------------------------ */
.ph {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 1rem;
  background: var(--navy-soft);
  border: 1px solid var(--line-gold);
  text-align: center;
}

.ph--hero {
  aspect-ratio: 16 / 9;
}

.ph--portrait {
  aspect-ratio: 4 / 5;
}

.ph--wide {
  aspect-ratio: 3 / 2;
}

.ph__label {
  font-family: var(--font-sans);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  line-height: 1.5;
  text-transform: uppercase;
  color: var(--gold);
}

/* Real hero photo (assets/images/hero*.webp, 1600×900) */
.hero-img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

/* Phones: anchor the crop low so the group of people stays in frame */
@media (max-width: 599px) {
  .hero-img {
    object-position: 50% 75%;
  }
}

/* ------------------------------------------------------------
   5. Logo crop
   The supplied SVGs are 1200×800 with a full-bleed background
   rect and the wordmark inside. Crop to the wordmark bounds
   (measured from the SVG paths) so the mark keeps its intrinsic
   proportions at header/footer size. Uniform scale — no distortion.
   ------------------------------------------------------------ */
.logo-crop {
  position: relative;
  display: block;
  overflow: hidden;
  width: clamp(140px, 36vw, 172px);
  aspect-ratio: 666 / 170;
}

.logo-crop img {
  position: absolute;
  max-width: none;
  width: 180.21%;
  height: 471.7%;
  left: -40.05%;
  top: -197.47%;
}

.logo-crop--footer {
  width: clamp(160px, 40vw, 200px);
}

/* ------------------------------------------------------------
   6. Announcement bar — gold text on navy
   ------------------------------------------------------------ */
.announcement {
  background: var(--navy);
  color: var(--gold);
  text-align: center;
  padding: 0.625rem var(--gutter);
}

.announcement p {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

/* ------------------------------------------------------------
   6b. Test banner — gold band, navy text, at the very top of the
   page. Rendered only while config.js says siteMode: "test".
   Static (not sticky) and deliberately thin.
   ------------------------------------------------------------ */
.test-banner {
  background: var(--gold);
  color: var(--navy);
  text-align: center;
  padding: 0.3rem var(--gutter);
}

.test-banner p {
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}


/* ------------------------------------------------------------
   7. Header + navigation (sticky, cream band)
   ------------------------------------------------------------ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--cream);
  border-bottom: 1px solid var(--line-navy);
}

.site-header.is-scrolled {
  box-shadow: 0 8px 24px var(--shadow-navy);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: var(--header-h);
}

.logo {
  text-decoration: none;
  flex-shrink: 0;
}

.nav-desktop {
  display: none;
}

.nav-desktop ul {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2.5vw, 1.75rem);
}

.nav-desktop a {
  display: inline-block;
  padding: 0.5rem 0;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-decoration: none;
  color: var(--navy);
  border-bottom: 2px solid transparent;
}

.nav-desktop a:hover {
  border-bottom-color: var(--gold);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.125rem;
  margin-left: auto;
}

.icon-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  background: none;
  border: 0;
  color: var(--navy);
  cursor: pointer;
}

.icon-btn svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.icon-btn:hover {
  color: var(--gold);
}

.bag-count {
  position: absolute;
  top: 2px;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  border-radius: 9px;
  background: var(--gold);
  color: var(--navy);
  font-size: 0.625rem;
  font-weight: 700;
}

/* Menu button: icon swaps when open */
.menu-btn .icon-close {
  display: none;
}

.menu-btn[aria-expanded="true"] .icon-menu {
  display: none;
}

.menu-btn[aria-expanded="true"] .icon-close {
  display: block;
}

.mobile-menu {
  background: var(--cream);
  border-top: 1px solid var(--line-navy);
  border-bottom: 1px solid var(--line-navy);
  padding: 0.25rem var(--gutter) 1rem;
}

.mobile-menu[hidden] {
  display: none;
}

.mobile-menu a {
  display: block;
  padding: 0.875rem 0;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--navy);
  border-bottom: 1px solid var(--line-navy);
}

.mobile-menu li:last-child a {
  border-bottom: 0;
}

@media (min-width: 768px) {
  .nav-desktop {
    display: block;
    margin-inline: auto;
  }

  .menu-btn {
    display: none;
  }

  .mobile-menu {
    display: none !important;
  }
}

/* ------------------------------------------------------------
   8. Hero — navy band
   SAMPLE copy from the PRD.
   ------------------------------------------------------------ */
.hero {
  background: var(--navy);
  color: var(--cream);
  padding-block: clamp(1.4rem, 3.4vw, 2.8rem);
}

.hero-inner {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

.hero h1 {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: clamp(1.75rem, 1.1rem + 2.2vw, 2.6rem);
  line-height: 1.15;
  max-width: 34ch;
  letter-spacing: 0.01em;
  margin-bottom: 0.75rem;
  overflow-wrap: break-word;
}

.hero-copy p {
  max-width: 42ch;
  font-size: 1.0625rem;
  line-height: 1.65;
  margin-bottom: 1.5rem;
}

@media (min-width: 1024px) {
  .hero-inner {
    grid-template-columns: 1fr 1.15fr;
    gap: 4rem;
  }
}

/* ------------------------------------------------------------
   9. Category tiles — cream band
   ------------------------------------------------------------ */
.categories {
  background: var(--cream);
  padding-block: clamp(3rem, 7vw, 5.5rem);
}

.categories h2,
.featured h2,
.ordering h2 {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: clamp(2rem, 5.5vw, 3.25rem);
  line-height: 1.1;
  color: var(--navy);
  margin-bottom: 2rem;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(0.75rem, 2.5vw, 1.5rem);
}

.cat-tile {
  display: block;
  text-decoration: none;
  color: var(--navy);
}

.cat-tile .ph {
  transition: border-color 0.15s ease;
}

/* Same fixed 4:5 box as the product cards: reserved before load,
   cropped with object-fit so every tile lines up. */
.cat-tile img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  background: var(--navy-soft);
}

.cat-tile:hover .ph {
  border-color: var(--gold);
}

.cat-tile__name {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: clamp(1.0625rem, 2.5vw, 1.375rem);
  line-height: 1.25;
  margin-top: 0.875rem;
  margin-bottom: 0.4rem;
}

.cat-tile__shop {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--navy);
  border-bottom: 2px solid var(--gold);
  padding-bottom: 2px;
}

@media (min-width: 768px) {
  .category-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* ------------------------------------------------------------
   10. Featured products — cream band
   Filter chips and cards render from script.js (Stage 2).
   ------------------------------------------------------------ */
.featured {
  background: var(--cream);
  padding-bottom: clamp(3rem, 7vw, 5.5rem);
}

.section-intro {
  font-size: 1.0625rem;
  color: var(--navy);
  margin-top: -1.25rem;
  margin-bottom: 2rem;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(0.75rem, 2.5vw, 1.5rem);
}

@media (min-width: 768px) {
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
}

@media (min-width: 1024px) {
  .product-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* ------------------------------------------------------------
   10b. Stage 2 — category filter chips + product cards
   Interface colours come only from the brand tokens; Black,
   White and Grey appear only inside product colour dots.
   ------------------------------------------------------------ */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.filter-chip {
  min-height: 44px;
  padding: 0.5rem 1rem;
  background: transparent;
  border: 1px solid var(--line-navy);
  border-radius: 0;
  color: var(--navy);
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.filter-chip:hover {
  border-color: var(--gold);
}

.filter-chip[aria-pressed="true"] {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--cream);
}

.filter-status {
  flex-basis: 100%;
  font-size: 0.8125rem;
  color: color-mix(in srgb, var(--navy) 68%, var(--cream));
}

.product-card {
  display: flex;
  flex-direction: column;
  background: var(--cream);
  border: 1px solid var(--line-navy);
  transition: border-color 0.15s ease;
}

.product-card:hover {
  border-color: var(--gold);
}

.product-card__media .ph,
.product-card__media img {
  width: 100%;
}

.product-card__media img {
  aspect-ratio: 4 / 5;
  object-fit: cover;
  background: var(--navy-soft);
}

.product-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 0.875rem 0.875rem 1.125rem;
}

.product-card__category {
  font-family: var(--font-sans);
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  line-height: 1.4;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--navy) 68%, var(--cream));
  overflow-wrap: break-word;
}

.product-card__name {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: clamp(1rem, 2.4vw, 1.1875rem);
  line-height: 1.25;
  margin-top: 0.375rem;
  overflow-wrap: break-word;
}

/* SAMPLE price styling — Playfair Display per the brand rules */
.product-card__price {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: clamp(1.0625rem, 2.6vw, 1.25rem);
  line-height: 1.3;
  color: var(--navy);
  margin-top: auto; padding-top: 0.5rem;
}

.swatches {
  display: flex;
  flex-wrap: wrap;
  gap: 0.375rem;
  margin-top: 0.75rem;
  margin-bottom: 0.875rem;
}

.swatch {
  display: block;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--swatch, var(--navy));
  border: 1px solid color-mix(in srgb, var(--navy) 35%, transparent);
}

.product-card__add {
  width: 100%;
  margin-top: 1rem;
  /* Tighter inline padding keeps "ADD TO BAG" on one line at 390px */
  padding-inline: 0.75rem;
}

.product-empty {
  grid-column: 1 / -1;
  padding: 2rem 0;
  text-align: center;
  color: color-mix(in srgb, var(--navy) 68%, var(--cream));
}

/* ------------------------------------------------------------
   10d. How ordering works — cream band, sits directly above the footer
   Six short items: serif navy headings (same as the category tiles),
   navy body copy on cream. Colours come only from the brand tokens.
   ------------------------------------------------------------ */
.ordering {
  background: var(--cream);
  border-top: 1px solid var(--line-gold);
  padding-block: clamp(3rem, 7vw, 5.5rem);
}

.ordering-grid {
  display: grid;
  gap: clamp(1.75rem, 4vw, 2.5rem);
}

.ordering-item h3 {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: clamp(1.0625rem, 2.5vw, 1.375rem);
  line-height: 1.25;
  color: var(--navy);
  margin-bottom: 0.5rem;
}

.ordering-item p {
  max-width: 44ch;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--navy);
}

@media (min-width: 768px) {
  .ordering-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem 1.5rem;
  }
}

@media (min-width: 1024px) {
  .ordering-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ------------------------------------------------------------
   11. Footer — navy band
   ------------------------------------------------------------ */
.site-footer {
  background: var(--navy);
  color: var(--cream);
  padding-top: clamp(3rem, 6vw, 5rem);
}

.footer-inner {
  display: grid;
  gap: 2.5rem;
}

.footer-brand p {
  margin-top: 1rem;
  max-width: 28ch;
  font-size: 0.9375rem;
}

.footer-cols {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem 1.5rem;
}

.footer-heading {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}

.footer-cols ul {
  display: grid;
  gap: 0.625rem;
}

.footer-cols a {
  font-size: 0.9375rem;
  text-decoration: none;
  color: var(--cream);
}

.footer-cols a:hover {
  color: var(--gold);
}

.footer-bottom {
  margin-top: 3rem;
  border-top: 1px solid var(--line-gold);
  padding-block: 1.25rem;
}

.footer-bottom p {
  font-size: 0.8125rem;
  color: var(--cream-dim);
}

@media (min-width: 768px) {
  .footer-inner {
    grid-template-columns: auto 1fr;
    gap: 4rem;
    align-items: start;
  }

  .footer-cols {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* ------------------------------------------------------------
   12. Motion preferences
   ------------------------------------------------------------ */
@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;
    transition-delay: 0s !important;
  }
}

/* ------------------------------------------------------------
   13. Stage 3 — bag drawer, bag lines, quantity stepper, toast
   Front-end demo only: no checkout, no payment, nothing sent.
   ------------------------------------------------------------ */
.bag-overlay {
  position: fixed;
  inset: 0;
  z-index: 60;
  background: color-mix(in srgb, var(--navy) 55%, transparent);
}

.bag-overlay[hidden] {
  display: none;
}

.bag-drawer {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 70;
  display: flex;
  flex-direction: column;
  width: min(420px, 100%);
  height: 100vh;
  height: 100dvh;
  background: var(--cream);
  border-left: 1px solid var(--line-navy);
  box-shadow: -12px 0 32px color-mix(in srgb, var(--navy) 25%, transparent);
  transform: translateX(100%);
  visibility: hidden;
  transition: transform 0.25s ease, visibility 0s linear 0.25s;
}

.bag-drawer.is-open {
  transform: translateX(0);
  visibility: visible;
  transition: transform 0.25s ease, visibility 0s linear 0s;
}

.bag-drawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem var(--gutter);
  border-bottom: 1px solid var(--line-navy);
}

.bag-drawer__title {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 1.375rem;
  line-height: 1.2;
}

.bag-drawer__body {
  flex: 1;
  overflow-y: auto;
  padding-inline: var(--gutter);
}

.bag-empty {
  padding: 2.5rem 0;
  text-align: center;
  color: color-mix(in srgb, var(--navy) 68%, var(--cream));
}

.bag-line {
  padding: 1.125rem 0;
  border-bottom: 1px solid var(--line-navy);
}

.bag-line:last-child {
  border-bottom: 0;
}

.bag-line__name {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 1.0625rem;
  line-height: 1.3;
}

.bag-line__meta {
  margin-top: 0.25rem;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  line-height: 1.5;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--navy) 62%, var(--cream));
}

.bag-line__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  margin-top: 0.875rem;
}

.qty {
  display: inline-flex;
  align-items: stretch;
  border: 1px solid var(--line-navy);
}

.qty__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  min-height: 44px;
  padding: 0;
  background: none;
  border: 0;
  color: var(--navy);
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
}

.qty__btn:hover:not(:disabled) {
  background: color-mix(in srgb, var(--gold) 18%, transparent);
}

.qty__btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.qty__value {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.5rem;
  border-inline: 1px solid var(--line-navy);
  font-size: 0.9375rem;
  font-weight: 700;
}

.bag-line__total {
  margin-left: auto;
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1.0625rem;
  white-space: nowrap;
}

.bag-line__remove {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0.5rem 0;
  background: none;
  border: 0;
  border-bottom: 1px solid var(--line-gold);
  color: color-mix(in srgb, var(--navy) 75%, var(--cream));
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
}

.bag-line__remove:hover {
  color: var(--navy);
  border-bottom-color: var(--gold);
}

.bag-drawer__foot {
  border-top: 1px solid var(--line-navy);
  padding: 1.125rem var(--gutter);
  padding-bottom: calc(1.125rem + env(safe-area-inset-bottom, 0px));
}

.bag-drawer.is-empty .bag-drawer__foot {
  display: none;
}

.bag-subtotal {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
}

.bag-subtotal span {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.bag-subtotal strong {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1.375rem;
}

.bag-note {
  margin-top: 0.625rem;
  font-size: 0.75rem;
  line-height: 1.5;
  color: color-mix(in srgb, var(--navy) 62%, var(--cream));
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 1.25rem;
  z-index: 130; /* above the checkout dialog so copy feedback is visible */
  transform: translateX(-50%);
  max-width: calc(100% - 2rem);
  padding: 0.75rem 1.25rem;
  background: var(--navy);
  color: var(--cream);
  border: 1px solid var(--gold);
  box-shadow: 0 10px 30px var(--shadow-navy);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-align: center;
}

.toast[hidden] {
  display: none;
}


/* ------------------------------------------------------------
   14. Stage 4 — wishlist heart, brand statement, newsletter
   The newsletter is simulated: inline feedback only, no request.
   ------------------------------------------------------------ */
.product-card__media {
  position: relative;
}

.wish-btn {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  background: var(--cream);
  border: 1px solid var(--line-navy);
  border-radius: 50%;
  color: var(--navy);
  cursor: pointer;
  transition: border-color 0.15s ease, background-color 0.15s ease;
}

.wish-btn svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.wish-btn:hover {
  border-color: var(--gold);
}

.wish-btn[aria-pressed="true"] {
  background: var(--navy);
  border-color: var(--gold);
  color: var(--gold);
}

.wish-btn[aria-pressed="true"] svg {
  fill: var(--gold);
}

/* Brand statement — navy band. SAMPLE copy from the PRD. */
.statement {
  background: var(--navy);
  color: var(--cream);
  padding-block: clamp(3rem, 7vw, 5.5rem);
}

.statement-inner {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

.statement h2 {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: clamp(2rem, 5.5vw, 3.25rem);
  line-height: 1.1;
  color: var(--cream);
  margin-bottom: 1rem;
}

.statement p {
  max-width: 46ch;
  font-size: 1.0625rem;
  line-height: 1.65;
  color: color-mix(in srgb, var(--cream) 82%, var(--navy));
}

@media (min-width: 1024px) {
  .statement-inner {
    grid-template-columns: 1fr 1.15fr;
    gap: 4rem;
  }
}

/* Newsletter — cream band. SAMPLE copy from the PRD. */
.newsletter {
  background: var(--cream);
  padding-block: clamp(3rem, 7vw, 5.5rem);
}

.newsletter-inner {
  max-width: 640px;
  margin-inline: auto;
  text-align: center;
}

.newsletter h2 {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: clamp(2rem, 5.5vw, 3.25rem);
  line-height: 1.1;
  color: var(--navy);
  margin-bottom: 0.875rem;
}

.newsletter-intro {
  font-size: 1.0625rem;
  color: var(--navy);
  margin-bottom: 1.75rem;
}

.newsletter-field {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.newsletter-input {
  width: 100%;
  min-height: 48px;
  padding: 0.75rem 1rem;
  background: var(--cream);
  border: 1px solid color-mix(in srgb, var(--navy) 40%, transparent);
  border-radius: 0;
  color: var(--navy);
  font-family: var(--font-sans);
  font-size: 1rem;
}

.newsletter-input::placeholder {
  color: color-mix(in srgb, var(--navy) 55%, var(--cream));
}

.newsletter-input[aria-invalid="true"] {
  border-color: var(--navy);
  box-shadow: 0 0 0 1px var(--navy);
}

.newsletter-submit {
  width: 100%;
}

.newsletter-feedback {
  min-height: 1.5rem;
  margin-top: 1rem;
  font-size: 0.875rem;
  line-height: 1.5;
}

.newsletter-feedback.is-error,
.newsletter-feedback.is-success {
  padding: 0.75rem 1rem;
  text-align: left;
  color: var(--navy);
  border: 1px solid var(--line-gold);
}

.newsletter-feedback.is-error {
  background: color-mix(in srgb, var(--gold) 30%, var(--cream));
  font-weight: 600;
}

.newsletter-feedback.is-success {
  background: color-mix(in srgb, var(--gold) 15%, var(--cream));
}

@media (min-width: 600px) {
  .newsletter-field {
    flex-direction: row;
    align-items: stretch;
  }

  .newsletter-input {
    flex: 1;
  }

  .newsletter-submit {
    width: auto;
    flex-shrink: 0;
  }
}

/* ------------------------------------------------------------
   15. Stage 6 — sport switch, version badges, kit section,
   quick view (gallery, size, colour, printing), WhatsApp button,
   bag fee lines. No horizontal scroll at 390 / 768 / 1280.
   ------------------------------------------------------------ */
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* Outline button for the navy hero */
.btn--ghost {
  background: transparent;
  border-color: var(--cream);
  color: var(--cream);
}

.btn--ghost:hover {
  background: color-mix(in srgb, var(--cream) 14%, transparent);
}

/* Green action for WhatsApp (requested in the brand notes) */
.btn--whatsapp {
  width: 100%;
  background: #0E7A66;
  color: var(--cream);
}

.btn--whatsapp:hover {
  filter: brightness(1.08);
}

.sport-switch {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.sport-switch[hidden],
.filter-bar[hidden],
.categories[hidden] {
  display: none;
}

.cat-tile__sport {
  display: inline-block;
  margin-bottom: 0.375rem;
  font-family: var(--font-sans);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--navy) 65%, var(--cream));
}

.product-card__badge {
  position: absolute;
  top: 0.5rem;
  left: 0.5rem;
  padding: 0.35rem 0.6rem;
  background: var(--navy);
  color: var(--cream);
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.product-card__version {
  display: inline-block;
  align-self: flex-start;
  margin-top: 0.5rem;
  padding: 0.15rem 0.5rem;
  border: 1px solid var(--line-gold);
  font-family: var(--font-sans);
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--navy) 80%, var(--cream));
}

.product-card__add:disabled {
  background: transparent;
  border-color: var(--line-navy);
  color: color-mix(in srgb, var(--navy) 60%, var(--cream));
  opacity: 1;
  cursor: not-allowed;
  filter: none;
}

/* Can't find your kit? */
.kit {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-top: clamp(2rem, 5vw, 3rem);
  padding: clamp(1.5rem, 4vw, 2.5rem);
  background: var(--navy);
  color: var(--cream);
}

/* `.featured h2` above is more specific than `.kit__heading`, so the
   selector is doubled here to keep the heading cream on the navy band. */
.kit .kit__heading {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: clamp(1.5rem, 4vw, 2.125rem);
  line-height: 1.15;
  color: var(--cream);
}

.kit__body {
  margin-top: 0.625rem;
  max-width: 52ch;
  font-size: 1rem;
  line-height: 1.6;
  color: color-mix(in srgb, var(--cream) 82%, var(--navy));
}

.kit :focus-visible {
  outline-color: var(--gold);
}

@media (min-width: 768px) {
  .kit {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .kit .btn--whatsapp {
    width: auto;
    flex-shrink: 0;
  }
}

/* Quick view */
.qv-overlay {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: color-mix(in srgb, var(--navy) 60%, transparent);
}

.qv-overlay[hidden] {
  display: none;
}

.qv {
  position: fixed;
  inset: 0;
  z-index: 100;
  margin: auto;
  display: flex;
  flex-direction: column;
  width: min(860px, calc(100% - 1.5rem));
  height: min(92vh, 940px);
  background: var(--cream);
  border: 1px solid var(--line-navy);
  box-shadow: 0 24px 60px color-mix(in srgb, var(--navy) 35%, transparent);
}

.qv[hidden] {
  display: none;
}

.qv__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.875rem var(--gutter);
  border-bottom: 1px solid var(--line-navy);
}

.qv__title {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: clamp(1.0625rem, 3.5vw, 1.5rem);
  line-height: 1.2;
}

.qv__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  overflow-y: auto;
  padding: var(--gutter);
}

.qv__side {
  display: grid;
  gap: 1.25rem;
  align-content: start;
  min-width: 0;
}

.qv__main img,
.qv__main .ph {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  background: var(--navy-soft);
}

.qv__thumbs {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.5rem;
  overflow-x: auto;
  padding-bottom: 0.25rem;
}

.qv__thumb {
  flex: 0 0 64px;
  width: 64px;
  padding: 0;
  background: none;
  border: 2px solid transparent;
  cursor: pointer;
}

.qv__thumb img,
.qv__thumb .ph {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  background: var(--navy-soft);
}

.qv__thumb .ph__label {
  display: none;
}

.qv__thumb.is-active {
  border-color: var(--gold);
}

.qv__category {
  font-family: var(--font-sans);
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--navy) 68%, var(--cream));
}

.qv__version {
  display: inline-block;
  margin-top: 0.5rem;
  padding: 0.15rem 0.5rem;
  border: 1px solid var(--line-gold);
  font-family: var(--font-sans);
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.qv__price {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: clamp(1.375rem, 4vw, 1.75rem);
  line-height: 1.2;
  margin-top: 0.5rem;
}

.qv__meta {
  margin-top: 0.25rem;
  font-size: 0.875rem;
  color: color-mix(in srgb, var(--navy) 75%, var(--cream));
}

.qv__note {
  margin-top: 0.5rem;
  font-size: 0.75rem;
  line-height: 1.5;
  color: color-mix(in srgb, var(--navy) 68%, var(--cream));
}

.qv-group {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.qv-group__legend {
  padding: 0;
  margin-bottom: 0.625rem;
  font-family: var(--font-sans);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.qv-group__hint {
  margin-top: 0.625rem;
  font-size: 0.8125rem;
  line-height: 1.5;
  color: color-mix(in srgb, var(--navy) 70%, var(--cream));
}

.qv-group__error {
  margin-top: 0.75rem;
  padding: 0.625rem 0.875rem;
  background: color-mix(in srgb, var(--gold) 28%, var(--cream));
  border: 1px solid var(--line-gold);
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1.5;
}

.qv-group__error[hidden] {
  display: none;
}

.opt-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.opt {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 44px;
  padding: 0.5rem 0.875rem;
  border: 1px solid var(--line-navy);
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.opt:hover {
  border-color: var(--gold);
}

.opt.is-disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.opt.is-disabled:hover {
  border-color: var(--line-navy);
}

.opt:has(input:checked) {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--cream);
}

.opt:has(input:focus-visible) {
  outline: 2px solid var(--navy);
  outline-offset: 3px;
}

.opt__text {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.opt__text input {
  width: 16px;
  height: 16px;
  margin: 0;
  accent-color: var(--gold);
}

.opt.has-note {
  flex-direction: column;
  align-items: flex-start;
  gap: 0.375rem;
}

.opt__note {
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  line-height: 1.45;
  color: color-mix(in srgb, var(--navy) 72%, var(--cream));
}

.opt:has(input:checked) .opt__note {
  color: color-mix(in srgb, var(--cream) 85%, var(--navy));
}

.qv-fields {
  display: grid;
  gap: 0.875rem;
  margin-top: 0.875rem;
}

.qv-field__label {
  display: block;
  margin-bottom: 0.375rem;
  font-family: var(--font-sans);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.qv-field__input {
  width: 100%;
  min-height: 48px;
  padding: 0.75rem 1rem;
  background: var(--cream);
  border: 1px solid color-mix(in srgb, var(--navy) 40%, transparent);
  border-radius: 0;
  color: var(--navy);
  font-family: var(--font-sans);
  font-size: 1rem;
}

.qv-field__input:focus-visible {
  outline: 2px solid var(--navy);
  outline-offset: 2px;
}

.qv-field__hint {
  margin-top: 0.375rem;
  font-size: 0.75rem;
  color: color-mix(in srgb, var(--navy) 68%, var(--cream));
}

.qv__actions {
  display: grid;
  gap: 0.75rem;
}

.qv__actions .btn {
  width: 100%;
}

.qv__hint {
  font-size: 0.8125rem;
  line-height: 1.5;
  color: color-mix(in srgb, var(--navy) 72%, var(--cream));
}

.qv__hint[hidden] {
  display: none;
}

@media (min-width: 768px) {
  .qv__body {
    flex-direction: row;
    align-items: flex-start;
    gap: 1.75rem;
  }

  .qv__gallery {
    flex: 0 0 320px;
    position: sticky;
    top: 0;
  }

  .qv__side {
    flex: 1 1 auto;
  }
}

/* Bag lines: printing breakdown */
.bag-line__custom {
  margin-top: 0.25rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--navy);
}

.bag-line__fees {
  display: grid;
  gap: 0.25rem;
  margin-top: 0.375rem;
}

.bag-line__fee {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 0.6875rem;
  letter-spacing: 0.06em;
  color: color-mix(in srgb, var(--navy) 70%, var(--cream));
}

.bag-line__fee-amount {
  font-weight: 700;
  white-space: nowrap;
}

/* ------------------------------------------------------------
   17. Stage 7 — checkout by bank transfer.
   Cream panel over a navy scrim, same family as the quick view.
   ------------------------------------------------------------ */
.btn--outline {
  background: transparent;
  border-color: var(--navy);
  color: var(--navy);
}

.btn--outline:hover {
  background: var(--navy);
  color: var(--cream);
}

.bag-checkout {
  width: 100%;
  margin-top: 1rem;
}

.bag-checkout:disabled {
  background: transparent;
  border-color: var(--line-navy);
  color: color-mix(in srgb, var(--navy) 55%, var(--cream));
  opacity: 1;
  cursor: not-allowed;
}

.checkout-status {
  margin-top: 0.75rem;
  padding-left: 0.75rem;
  border-left: 3px solid var(--gold);
  font-size: 0.8125rem;
  font-weight: 700;
  line-height: 1.5;
  color: var(--navy);
}

.checkout-status[hidden] {
  display: none;
}

.co-overlay {
  position: fixed;
  inset: 0;
  z-index: 110;
  background: color-mix(in srgb, var(--navy) 68%, transparent);
}

.co-overlay[hidden] {
  display: none;
}

.co {
  position: fixed;
  inset: 0;
  z-index: 120;
  margin: auto;
  display: flex;
  flex-direction: column;
  width: min(720px, calc(100% - 1.5rem));
  height: min(92vh, 860px);
  background: var(--cream);
  border: 1px solid var(--line-navy);
  box-shadow: 0 24px 60px color-mix(in srgb, var(--navy) 35%, transparent);
}

.co[hidden] {
  display: none;
}

.co__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-shrink: 0;
  padding: 0.875rem var(--gutter);
  border-bottom: 1px solid var(--line-navy);
}

.co__title {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: clamp(1.0625rem, 3.5vw, 1.375rem);
  line-height: 1.2;
}

.co__body {
  flex: 1;
  overflow-y: auto;
  padding: clamp(1.25rem, 4vw, 1.75rem) var(--gutter);
  padding-bottom: calc(clamp(1.25rem, 4vw, 1.75rem) + env(safe-area-inset-bottom, 0px));
}

.co__body:focus-visible {
  outline: none;
}

.co-intro {
  font-size: 0.9375rem;
  line-height: 1.6;
  color: color-mix(in srgb, var(--navy) 72%, var(--cream));
}

.co-fields {
  display: grid;
  gap: 0.875rem;
  margin-top: 1.25rem;
}

.co-field-pair {
  display: grid;
  gap: 0.875rem;
}

.co-field__label {
  display: block;
  margin-bottom: 0.375rem;
  font-family: var(--font-sans);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.co-field__input {
  width: 100%;
  min-height: 48px;
  padding: 0.75rem 1rem;
  background: var(--cream);
  border: 1px solid color-mix(in srgb, var(--navy) 40%, transparent);
  border-radius: 0;
  color: var(--navy);
  font-family: var(--font-sans);
  font-size: 1rem;
}

textarea.co-field__input {
  min-height: 5rem;
  line-height: 1.5;
  resize: vertical;
}

.co-field__input:focus-visible {
  outline: 2px solid var(--navy);
  outline-offset: 2px;
}

.co-field__input[aria-invalid="true"] {
  border-color: var(--navy);
  border-width: 2px;
}

.co-field__hint,
.co-field__error {
  margin-top: 0.375rem;
  font-size: 0.75rem;
  line-height: 1.45;
}

.co-field__hint {
  color: color-mix(in srgb, var(--navy) 68%, var(--cream));
}

.co-field__error {
  font-weight: 700;
  color: var(--navy);
}

.co-field__hint[hidden],
.co-field__error[hidden] {
  display: none;
}

.co-actions {
  display: grid;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.co-actions .btn {
  width: 100%;
}

.co-block + .co-block {
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line-navy);
}

.co-block__title {
  margin-bottom: 0.875rem;
  font-family: var(--font-sans);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.co-summary {
  display: grid;
  gap: 0.875rem;
}

.co-summary__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
}

.co-summary__name {
  font-size: 0.9375rem;
  font-weight: 700;
}

.co-summary__amount {
  font-size: 0.9375rem;
  font-weight: 700;
  white-space: nowrap;
}

.co-summary__meta {
  margin-top: 0.25rem;
  font-size: 0.75rem;
  line-height: 1.5;
  color: color-mix(in srgb, var(--navy) 66%, var(--cream));
}

.co-totals {
  display: grid;
  gap: 0.5rem;
  margin-top: 1.125rem;
  padding-top: 0.875rem;
  border-top: 1px solid var(--line-navy);
}

.co-totals__row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.875rem;
}

.co-totals__row--total {
  padding-top: 0.375rem;
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 700;
}

.co-note {
  margin-top: 0.75rem;
  font-size: 0.75rem;
  line-height: 1.5;
  color: color-mix(in srgb, var(--navy) 62%, var(--cream));
}

.co-bank {
  display: grid;
  gap: 0.625rem;
}

.co-bank__row {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 0.375rem 0.75rem;
  padding: 0.75rem;
  background: color-mix(in srgb, var(--navy) 5%, var(--cream));
  border: 1px solid var(--line-navy);
}

.co-bank__label {
  grid-column: 1 / -1;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--navy) 65%, var(--cream));
}

.co-bank__value {
  font-size: 0.9375rem;
  font-weight: 700;
  overflow-wrap: anywhere;
}

.co-copy {
  min-height: 36px;
  padding: 0.4rem 0.75rem;
  background: transparent;
  border: 1px solid var(--navy);
  color: var(--navy);
  font-family: var(--font-sans);
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
}

.co-copy:hover {
  background: var(--navy);
  color: var(--cream);
}

.co-ref {
  margin-top: 1rem;
  padding: 0.875rem;
  background: color-mix(in srgb, var(--gold) 12%, var(--cream));
  border: 1px solid var(--line-gold);
}

.co-ref .co-bank__label {
  display: block;
}

.co-ref__value {
  display: block;
  margin-top: 0.375rem;
  font-family: var(--font-serif);
  font-size: clamp(1.375rem, 5vw, 1.75rem);
  font-weight: 700;
  letter-spacing: 0.06em;
}

.co-done {
  font-family: var(--font-serif);
  font-size: clamp(1.25rem, 4vw, 1.75rem);
  line-height: 1.3;
}

@media (min-width: 560px) {
  .co-field-pair {
    grid-template-columns: 1fr 1fr;
  }
}

.co-actions__row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.co-actions__row .btn {
  flex: 1 1 14rem;
  width: auto;
}

.co-actions__summary {
  flex: 1 1 10rem;
  font-size: 0.8125rem;
  font-weight: 700;
  line-height: 1.4;
  color: var(--navy);
}

.co-actions__summary[hidden] {
  display: none;
}

.co-notice {
  margin-bottom: 1.25rem;
  padding: 0.875rem 1rem;
  background: color-mix(in srgb, var(--gold) 22%, var(--cream));
  border: 1px solid var(--line-gold);
  border-left: 4px solid var(--gold);
}

.co-notice__text {
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.45;
  color: var(--navy);
}


/* Product search */
.product-search {
  flex-basis: 100%;
  width: 100%;
  max-width: 28rem;
  margin: 0 0 1rem;
}

.product-search__input {
  width: 100%;
  box-sizing: border-box;
  padding: 0.75rem 1rem;
  font-family: var(--font-sans);
  font-size: 1rem;
  color: var(--navy);
  background: transparent;
  border: 1px solid var(--line-navy);
  border-radius: 0;
}

.product-search__input::placeholder {
  color: color-mix(in srgb, var(--navy) 60%, var(--cream));
}

.product-search__input:focus {
  outline: 2px solid var(--navy);
  outline-offset: 2px;
  border-color: var(--navy);
}


/* Navbar search */
.header-search {
  background: var(--cream);
  border-top: 1px solid var(--line-navy);
  padding-block: 0.75rem;
}

.header-search[hidden] {
  display: none;
}

.header-search__input {
  display: block;
  width: 100%;
  max-width: 36rem;
  min-height: 48px;
  margin-inline: auto;
  padding: 0.75rem 1rem;
  background: var(--cream);
  border: 1px solid color-mix(in srgb, var(--navy) 40%, transparent);
  border-radius: 0;
  color: var(--navy);
  font-family: var(--font-sans);
  font-size: 1rem;
}

.header-search__input::placeholder {
  color: color-mix(in srgb, var(--navy) 55%, var(--cream));
}

.header-search__input:focus-visible {
  outline: 2px solid var(--navy);
  outline-offset: 2px;
}

.search-btn[aria-expanded="true"] {
  color: var(--gold);
}

/* Favourites panel (reuses the bag drawer) */
.wish-count[hidden] {
  display: none;
}

.wish-lines {
  display: block;
}

.wish-line {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 0.875rem;
  padding: 1.125rem 0;
  border-bottom: 1px solid var(--line-navy);
}

.wish-line:last-child {
  border-bottom: 0;
}

.wish-line__img img,
.wish-line__img .ph {
  width: 72px;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  background: var(--navy-soft);
}

.wish-line__img .ph__label {
  display: none;
}

.wish-line__info {
  min-width: 0;
}

.wish-line__name {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 1.0625rem;
  line-height: 1.3;
}

.wish-line__meta {
  margin-top: 0.25rem;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  line-height: 1.5;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--navy) 62%, var(--cream));
}

.wish-line__price {
  margin-top: 0.375rem;
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1.0625rem;
}

.wish-line__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.25rem 1rem;
  margin-top: 0.5rem;
}

.wish-line__choose {
  min-height: 44px;
  padding: 0.5rem 1.25rem;
}

.wish-line__soldout {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--navy) 62%, var(--cream));
}


/* Brand statement: strip of three jersey photos */
.statement-collage {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(0.5rem, 1.5vw, 0.875rem);
  align-items: start;
}

.statement-collage img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  background: var(--navy-soft);
  border: 1px solid var(--line-gold);
}

.statement-collage img:nth-child(2) {
  margin-top: clamp(1.25rem, 4vw, 2.5rem);
}


/* Strip motion: rise and fade in, staggered, once. Hover lift on mouse devices. */
@keyframes collage-in {
  from {
    opacity: 0;
    transform: translateY(1.5rem);
  }
}

.statement-collage.is-armed:not(.is-in) img {
  opacity: 0;
}

.statement-collage.is-in img {
  animation: collage-in 0.6s cubic-bezier(0.23, 1, 0.32, 1) backwards;
  animation-delay: calc(var(--i, 0) * 90ms);
}

@media (hover: hover) and (pointer: fine) {
  .statement-collage img {
    transition: transform 0.25s cubic-bezier(0.23, 1, 0.32, 1), border-color 0.2s ease;
  }

  .statement-collage img:hover {
    transform: translateY(-6px);
    border-color: var(--gold);
  }
}

@media (prefers-reduced-motion: reduce) {
  .statement-collage img:hover {
    transform: none;
  }
}

/* ===== motion2-start: extra animation and micro-interactions =====
   Everything here is switched off for people who ask their device
   for reduced motion (see section 12 above, and motion.js). */

/* Reading-progress line */
.scroll-progress {
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 100%;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left center;
  pointer-events: none;
}

.site-header {
  transition: box-shadow 0.3s ease;
}

/* Hero entrance: copy rises in line by line, photo wipes down */
@keyframes hero-rise {
  from { opacity: 0; transform: translateY(18px); }
}

@keyframes hero-wipe {
  from { clip-path: inset(0 0 99% 0); }
  to { clip-path: inset(0 0 0 0); }
}

.hero h1 { animation: hero-rise 0.8s cubic-bezier(0.23, 1, 0.32, 1) 0.05s backwards; }
.hero-copy p { animation: hero-rise 0.8s cubic-bezier(0.23, 1, 0.32, 1) 0.2s backwards; }
.hero-actions { animation: hero-rise 0.8s cubic-bezier(0.23, 1, 0.32, 1) 0.35s backwards; }
.hero-img { animation: hero-wipe 1s cubic-bezier(0.77, 0, 0.18, 1) 0.1s backwards; }

/* Scroll reveals (only hidden while motion.js is running) */
.motion-on .reveal:not(.is-in) {
  opacity: 0;
  transform: translateY(26px);
}

.motion-on .reveal.is-in {
  animation: reveal-up 0.7s cubic-bezier(0.23, 1, 0.32, 1) backwards;
  animation-delay: calc(var(--i, 0) * 80ms);
}

@keyframes reveal-up {
  from { opacity: 0; transform: translateY(26px); }
}

/* Photos fade in once loaded instead of popping in */
img.img-pending {
  opacity: 0;
}

.product-card__media img,
.cat-tile img {
  transition: opacity 0.5s ease, transform 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

/* Buttons: gold sheen sweep, soft press */
.btn {
  transition: filter 0.15s ease, transform 0.15s ease;
}

.btn:active {
  transform: scale(0.97);
}

.btn--primary {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.btn--primary::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, 0.5) 50%, transparent 65%);
  transform: translateX(-130%);
  pointer-events: none;
}

.btn--primary:hover::before {
  transform: translateX(130%);
  transition: transform 0.75s ease;
}

/* Nav links: gold underline draws in from the left */
.nav-desktop a {
  position: relative;
}

.nav-desktop a:hover {
  border-bottom-color: transparent;
}

.nav-desktop a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.3s cubic-bezier(0.23, 1, 0.32, 1);
}

.nav-desktop a:hover::after,
.nav-desktop a:focus-visible::after {
  transform: scaleX(1);
}

/* Header icons */
.icon-btn {
  transition: transform 0.15s ease, background-color 0.15s ease;
}

.icon-btn:active {
  transform: scale(0.92);
}

@keyframes badge-bump {
  0% { transform: scale(1); }
  40% { transform: scale(1.5); }
  100% { transform: scale(1); }
}

@keyframes icon-jiggle {
  0%, 100% { transform: rotate(0); }
  20% { transform: rotate(-12deg); }
  45% { transform: rotate(9deg); }
  70% { transform: rotate(-5deg); }
}

.bag-count.is-bump { animation: badge-bump 0.5s cubic-bezier(0.34, 1.56, 0.64, 1); }
.icon-btn.is-jiggle svg:first-of-type { animation: icon-jiggle 0.6s ease; transform-origin: 50% 20%; }

/* Product cards */
.product-card {
  transition: border-color 0.15s ease, transform 0.35s cubic-bezier(0.23, 1, 0.32, 1), box-shadow 0.35s ease;
}

.product-card__media {
  overflow: hidden;
  --mx: 50%;
  --my: 50%;
}

.wish-btn { z-index: 2; }

.product-card__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle 160px at var(--mx) var(--my), rgba(244, 240, 230, 0.28), transparent 70%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

@media (hover: hover) and (pointer: fine) {
  .product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 34px var(--shadow-navy);
  }

  .product-card:hover .product-card__media img {
    transform: scale(1.06);
  }

  .product-card:hover .product-card__media::after {
    opacity: 1;
  }

  .cat-tile:hover img {
    transform: translateY(-5px);
  }

  .cat-tile__shop {
    transition: letter-spacing 0.3s ease;
  }

  .cat-tile:hover .cat-tile__shop {
    letter-spacing: 0.24em;
  }

  .product-card__add::after {
    content: "\2192";
    display: inline-block;
    max-width: 0;
    margin-left: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-width 0.25s ease, margin-left 0.25s ease, opacity 0.25s ease;
  }

  .product-card__add:hover::after,
  .product-card__add:focus-visible::after {
    max-width: 1.5em;
    margin-left: 0.5rem;
    opacity: 1;
  }
}

/* Colour dots grow when pointed at */
.swatch {
  transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.swatch:hover {
  transform: scale(1.45);
}

/* Filter chips */
.filter-chip {
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
}

.filter-chip:active {
  transform: scale(0.95);
}

/* Heart pop with a ring that spreads out */
@keyframes heart-pop {
  0% { transform: scale(1); }
  35% { transform: scale(1.4); }
  65% { transform: scale(0.92); }
  100% { transform: scale(1); }
}

@keyframes heart-ring {
  from { transform: scale(0.6); opacity: 0.9; }
  to { transform: scale(1.9); opacity: 0; }
}

.wish-btn.is-pop svg { animation: heart-pop 0.55s cubic-bezier(0.34, 1.56, 0.64, 1); }

.wish-btn::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 2px solid var(--gold);
  border-radius: 50%;
  opacity: 0;
  pointer-events: none;
}

.wish-btn.is-pop::after { animation: heart-ring 0.6s ease-out; }

/* Photo that flies into the bag */
.fly-ghost {
  position: fixed;
  z-index: 200;
  object-fit: cover;
  border: 2px solid var(--gold);
  box-shadow: 0 12px 28px rgba(11, 23, 38, 0.4);
  pointer-events: none;
}

/* Drawers, quick view and toast ease in */
@keyframes line-in {
  from { opacity: 0; transform: translateX(22px); }
}

.bag-drawer.is-open .bag-line,
.bag-drawer.is-open .wish-line {
  animation: line-in 0.45s cubic-bezier(0.23, 1, 0.32, 1) backwards;
}

.bag-drawer.is-open li:nth-child(1) { animation-delay: 0.12s; }
.bag-drawer.is-open li:nth-child(2) { animation-delay: 0.19s; }
.bag-drawer.is-open li:nth-child(3) { animation-delay: 0.26s; }
.bag-drawer.is-open li:nth-child(4) { animation-delay: 0.33s; }
.bag-drawer.is-open li:nth-child(n + 5) { animation-delay: 0.4s; }

@keyframes qv-in {
  from { opacity: 0; transform: translateY(24px) scale(0.98); }
}

@keyframes fade-in {
  from { opacity: 0; }
}

.qv:not([hidden]) { animation: qv-in 0.35s cubic-bezier(0.23, 1, 0.32, 1); }
.qv-overlay:not([hidden]) { animation: fade-in 0.25s ease; }

@keyframes toast-in {
  from { opacity: 0; transform: translate(-50%, 16px); }
}

.toast:not([hidden]) { animation: toast-in 0.35s cubic-bezier(0.34, 1.56, 0.64, 1); }

/* Form fields glow gold when focused */
.qv-field__input,
.newsletter input {
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.qv-field__input:focus-visible,
.newsletter input:focus-visible {
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--gold) 45%, transparent);
}

/* ===== motion2-end ===== */


/* Clear bag button in the bag drawer */
.bag-clear {
  display: block;
  margin: 0.25rem auto 0.75rem;
  padding: 0.5rem 0.75rem;
  background: none;
  border: 0;
  color: var(--navy);
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: underline;
  text-decoration-color: var(--gold);
  text-underline-offset: 4px;
  cursor: pointer;
}

.bag-clear[hidden] {
  display: none;
}

.bag-clear:hover {
  text-decoration-thickness: 2px;
}

.bag-clear.is-confirm {
  color: #9b2c2c;
  text-decoration-color: #9b2c2c;
}


/* ===== hero2-start: bigger hero photo, trust line, aligned logo ===== */

/* Logo ink starts a few pixels inside its box; pull it back so it lines up with the headline */
.logo-crop:not(.logo-crop--footer) {
  margin-left: calc(clamp(140px, 36vw, 172px) * -0.027);
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--cream) 78%, transparent);
  animation: hero-rise 0.8s cubic-bezier(0.23, 1, 0.32, 1) 0.5s backwards;
}

.hero-trust li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.hero-trust li::before {
  content: "";
  flex: none;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
}

/* Desktop: the photo fills the right side of the hero, edge to edge and top to bottom */
@media (min-width: 1024px) {
  .hero {
    position: relative;
    padding-block: 0;
    overflow: hidden;
  }

  .hero-inner {
    display: flex;
    align-items: center;
    min-height: clamp(460px, 70vh, 620px);
  }

  .hero-copy {
    max-width: min(540px, calc(48vw - 6rem));
    padding-block: 3.5rem;
  }

  .hero-img {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 52%;
    height: 100%;
    aspect-ratio: auto;
  }
}
/* ===== hero2-end ===== */

/* ===== hero3-start: live jersey showcase hero ===== */
.hero.hero--live {
  position: relative;
  overflow: hidden;
  padding-block: clamp(2rem, 4.5vw, 3.5rem) 0;
}

/* Campaign photo becomes a darkened backdrop */
.hero.hero--live .hero-img {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  object-fit: cover;
  object-position: 60% 35%;
  opacity: 0.55;
}

.hero.hero--live::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(0deg, var(--navy) 0%, rgba(11, 23, 38, 0) 38%),
    linear-gradient(90deg, var(--navy) 0%, rgba(11, 23, 38, 0.86) 36%, rgba(11, 23, 38, 0.45) 100%);
}

.hero.hero--live .hero-copy,
.hero.hero--live .hero-live,
.hero.hero--live .hero-strip {
  position: relative;
  z-index: 2;
}

.hero.hero--live .hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 2rem;
  align-items: center;
  min-height: 0;
}

.hero.hero--live .hero-copy {
  max-width: none;
  padding-block: 0;
}

.hero.hero--live h1 {
  max-width: 20ch;
  font-size: clamp(2.1rem, 1rem + 3.6vw, 3.9rem);
  line-height: 1.08;
}

.hero.hero--live .hero-copy p {
  font-size: clamp(1.0625rem, 1rem + 0.3vw, 1.25rem);
}

@media (min-width: 1024px) {
  .hero.hero--live .hero-inner {
    grid-template-columns: minmax(0, 1.15fr) minmax(280px, 340px);
    gap: clamp(2rem, 6vw, 5rem);
    min-height: clamp(440px, 56vh, 560px);
  }
}

/* The stage: one big jersey at a time */
.hero-live {
  position: relative;
  width: 100%;
  max-width: 340px;
  margin-inline: auto;
}

.hero-stage {
  position: relative;
  aspect-ratio: 4 / 5.3;
}

.hero-stage__frame {
  position: absolute;
  inset: 0;
  transform: translate(14px, 14px);
  border: 1px solid var(--gold);
  pointer-events: none;
}

.hero-slide {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  background: var(--cream);
  color: var(--navy);
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.45);
  opacity: 0;
  visibility: hidden;
  transform: translateX(28px) scale(0.98);
  transition: opacity 0.6s ease, transform 0.7s cubic-bezier(0.23, 1, 0.32, 1), visibility 0s linear 0.7s;
}

.hero-slide.is-before {
  transform: translateX(-28px) scale(0.98);
}

.hero-slide.is-active {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition: opacity 0.6s ease, transform 0.7s cubic-bezier(0.23, 1, 0.32, 1), visibility 0s;
}

.hero-slide__media {
  position: relative;
  flex: 1 1 auto;
  min-height: 0;
  overflow: hidden;
  cursor: pointer;
  background: var(--navy-soft);
}

.hero-slide__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}

.hero-slide.is-active .hero-slide__media img {
  transform: scale(1.04);
}

.hero-slide__tag {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.3rem 0.6rem;
  background: var(--navy);
  color: var(--gold);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero-slide__meta {
  flex: none;
  padding: 0.9rem 1rem 1rem;
}

.hero-slide__name {
  font-family: var(--font-serif);
  font-size: 1.0625rem;
  font-weight: 600;
  line-height: 1.25;
  margin: 0 0 0.6rem;
}

.hero-slide__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.hero-slide__price {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 700;
}

.hero-slide__cta {
  min-height: 42px;
  padding: 0.6rem 1rem;
  font-size: 0.75rem;
}

/* The strip: tap a jersey to bring it to the stage */
.hero-strip {
  padding-top: clamp(1.5rem, 3vw, 2.25rem);
  padding-bottom: clamp(1.25rem, 2.5vw, 2rem);
}

.hero-strip__rail {
  display: flex;
  gap: 0.75rem;
  overflow-x: auto;
  padding-bottom: 4px;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
}

.hero-strip__rail::-webkit-scrollbar {
  display: none;
}

.hero-thumb {
  position: relative;
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 190px;
  padding: 0.5rem 0.9rem 0.5rem 0.5rem;
  background: rgba(244, 240, 230, 0.06);
  border: 1px solid rgba(244, 240, 230, 0.18);
  color: var(--cream);
  text-align: left;
  cursor: pointer;
  scroll-snap-align: start;
  transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.hero-thumb:hover {
  background: rgba(244, 240, 230, 0.12);
  border-color: var(--gold);
}

.hero-thumb[aria-current="true"] {
  border-color: var(--gold);
  background: rgba(201, 164, 92, 0.14);
}

.hero-thumb img {
  width: 44px;
  height: 56px;
  object-fit: cover;
  background: var(--navy-soft);
}

.hero-thumb__text {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 0;
}

.hero-thumb__name {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 0.8125rem;
  font-weight: 700;
}

.hero-thumb__price {
  font-size: 0.75rem;
  color: var(--gold);
  font-weight: 600;
}

.hero-thumb__bar {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left center;
}

.hero-thumb[aria-current="true"] .hero-thumb__bar {
  transform: scaleX(1);
}

.hero--auto .hero-thumb.is-running .hero-thumb__bar {
  animation: hero-bar 5.5s linear forwards;
}

.hero--auto.is-paused .hero-thumb.is-running .hero-thumb__bar {
  animation-play-state: paused;
}

@keyframes hero-bar {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

@media (prefers-reduced-motion: reduce) {
  .hero-slide,
  .hero-slide.is-active,
  .hero-slide__media img {
    transition: none;
  }
}
/* ===== hero3-end ===== */

/* ===== hero4-start: full-bleed slideshow hero ===== */
.hero.hero--slides {
  position: relative;
  padding: 0;
  overflow: hidden;
  background: var(--navy);
}

.hero--slides .hero-inner {
  display: none;
}

.hero-slides {
  position: relative;
  height: clamp(540px, 80vh, 800px);
  height: clamp(540px, 80svh, 800px);
}

.hs {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.9s ease, visibility 0s linear 0.9s;
}

.hs.is-active {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.9s ease, visibility 0s;
}

.hs__bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: var(--navy-soft);
}

.hs__bg img,
.hero--slides .hs__bg .hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  object-fit: cover;
  object-position: 55% 40%;
  opacity: 1;
}

/* Slow push-in on the campaign photo */
.hs.is-active .hs__bg > .hero-img,
.hs.is-active .hs__bg > .hs__kb {
  animation: hs-zoom 9s ease-out forwards;
}

@keyframes hs-zoom {
  from { transform: scale(1); }
  to { transform: scale(1.07); }
}

/* Jersey slides: blurred copy fills the screen, the sharp photo sits in the middle */
.hs__bg .hs__blur {
  filter: blur(28px) brightness(0.5) saturate(1.15);
  transform: scale(1.25);
}

.hs__bg .hs__sharp {
  object-fit: contain;
  object-position: 50% 0;
  height: 92%;
  box-shadow: 0 0 0 1px rgba(201, 164, 92, 0.5);
}

.hs.is-active .hs__sharp {
  animation: hs-rise 1.1s cubic-bezier(0.23, 1, 0.32, 1) backwards;
}

@keyframes hs-rise {
  from { opacity: 0; transform: translateY(24px) scale(0.97); }
}

/* Dark fade so text always reads */
.hs::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(0deg, rgba(11, 23, 38, 0.94) 0%, rgba(11, 23, 38, 0.6) 30%, rgba(11, 23, 38, 0) 62%),
    linear-gradient(180deg, rgba(11, 23, 38, 0.35) 0%, rgba(11, 23, 38, 0) 22%);
}

.hs__content {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  display: flex;
  justify-content: center;
  padding: 0 var(--gutter) clamp(3.5rem, 7vw, 5rem);
}

.hs__content .hero-copy {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 54rem;
  padding: 0;
  text-align: center;
}

.hs__content h1,
.hs__title {
  max-width: 20ch;
  margin: 0 0 0.75rem;
  font-family: var(--font-serif);
  font-size: clamp(2rem, 1rem + 4.2vw, 4.25rem);
  font-weight: 700;
  line-height: 1.06;
  color: var(--cream);
  text-shadow: 0 2px 26px rgba(0, 0, 0, 0.4);
}

.hs__content .hero-copy p {
  max-width: 46ch;
  margin: 0 0 1.5rem;
  font-size: clamp(1.0625rem, 1rem + 0.3vw, 1.25rem);
  color: var(--cream);
}

.hs__eyebrow {
  margin-bottom: 0.6rem;
  color: var(--gold);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.hs__content .hero-actions {
  justify-content: center;
}

.hero--slides .hero-trust {
  display: none;
}

/* Text rises in each time a slide comes up */
.hs.is-active .hs__content .hero-copy {
  animation: hs-text 0.9s cubic-bezier(0.23, 1, 0.32, 1) 0.25s backwards;
}

@keyframes hs-text {
  from { opacity: 0; transform: translateY(22px); }
}

/* Progress bars (like the reference): tap one to jump to that slide */
.hs__dots {
  position: absolute;
  left: 50%;
  bottom: 0.75rem;
  z-index: 5;
  display: flex;
  gap: 0.5rem;
  transform: translateX(-50%);
}

.hs__dot {
  position: relative;
  width: clamp(40px, 7vw, 72px);
  height: 22px;
  padding: 0;
  background: none;
  border: 0;
  cursor: pointer;
}

.hs__dot::before,
.hs__dot-fill {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 3px;
  margin-top: -1.5px;
}

.hs__dot::before {
  background: rgba(244, 240, 230, 0.35);
}

.hs__dot-fill {
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left center;
}

.hs__dot[aria-current="true"] .hs__dot-fill {
  transform: scaleX(1);
}

.hero--auto .hs__dot.is-running .hs__dot-fill {
  animation: hs-bar 6.5s linear forwards;
}

.hero--auto.is-paused .hs__dot.is-running .hs__dot-fill {
  animation-play-state: paused;
}

@keyframes hs-bar {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

/* Thin trust bar under the slideshow */
.hero-trustbar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.35rem 1.75rem;
  margin: 0;
  padding: 0.85rem var(--gutter);
  list-style: none;
  background: var(--navy);
  border-top: 1px solid rgba(201, 164, 92, 0.35);
  color: var(--cream);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero-trustbar li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.hero-trustbar li::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold);
}

@media (max-width: 599px) {
  .hs__content .hero-actions .btn {
    padding-inline: 1.25rem;
  }

  .hs__bg .hs__sharp {
    height: 78%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hs,
  .hs.is-active {
    transition: none;
  }
}
/* ===== hero4-end ===== */

/* ===== hero5-start: wide hero photo, text on the left, phone crop ===== */
.hs__bg picture { display: contents; }

.hs.is-active .hs__bg .hero-img { animation: hs-zoom 9s ease-out forwards; }

.hs--photo .hs__bg .hero-img { object-position: 50% 35%; }

@media (min-width: 800px) {
  .hs--photo .hs__bg .hero-img { object-position: 72% 50%; }

  /* Slide 1: headline sits on the left, the jerseys stay clear on the right */
  .hs--left::after {
    background:
      linear-gradient(90deg, rgba(14, 10, 4, 0.7) 0%, rgba(14, 10, 4, 0.42) 38%, rgba(14, 10, 4, 0) 62%),
      linear-gradient(0deg, rgba(14, 10, 4, 0.5) 0%, rgba(14, 10, 4, 0) 32%);
  }

  .hs--left .hs__content {
    top: 0;
    align-items: center;
    justify-content: flex-start;
    padding: 0 var(--gutter) 2.5rem;
    padding-left: max(var(--gutter), calc((100% - var(--maxw, 1280px)) / 2 + var(--gutter)));
  }

  .hs--left .hs__content .hero-copy {
    align-items: flex-start;
    max-width: min(34rem, 46%);
    text-align: left;
  }

  .hs--left .hs__content h1 {
    max-width: 14ch;
    font-size: clamp(2.4rem, 1rem + 3.1vw, 4rem);
  }

  .hs--left .hs__content .hero-actions {
    justify-content: flex-start;
  }
}
/* ===== hero5-end ===== */

/* ===== hero6-start: smaller headline (max 3 lines) + featured jerseys row ===== */
@media (min-width: 800px) {
  .hs--left .hs__content .hero-copy { max-width: min(38rem, 48%); }

  .hs--left .hs__content h1,
  .hs--left .hs__content .hs__title {
    max-width: none;
    font-size: clamp(1.8rem, 0.7rem + 2.3vw, 2.9rem);
  }
}

@media (max-width: 799px) {
  .hs__content h1,
  .hs__content .hs__title {
    max-width: none;
    font-size: clamp(1.55rem, 0.9rem + 3.1vw, 2.4rem);
  }
}

.featured-strip {
  background: var(--cream);
  padding: clamp(1.25rem, 3vw, 2rem) 0;
  border-bottom: 1px solid rgba(11, 23, 38, 0.1);
}

.featured-strip__inner {
  display: grid;
  grid-template-columns: minmax(150px, 190px) minmax(0, 1fr);
  gap: clamp(1rem, 3vw, 2rem);
  align-items: center;
}

.featured-strip__head {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.75rem;
}

.featured-strip__title {
  margin: 0;
  color: var(--navy);
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  line-height: 1.2;
  text-transform: uppercase;
}

.featured-strip__rule {
  width: 28px;
  height: 2px;
  background: var(--gold);
}

.featured-strip__arrows {
  display: flex;
  gap: 0.5rem;
}

.featured-strip__arrow {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  padding: 0;
  color: var(--navy);
  background: #fff;
  border: 1px solid rgba(11, 23, 38, 0.2);
  border-radius: 50%;
  cursor: pointer;
  transition: border-color 0.2s ease, transform 0.15s ease, opacity 0.2s ease;
}

.featured-strip__arrow:hover:not(:disabled) {
  border-color: var(--gold);
}

.featured-strip__arrow:active:not(:disabled) {
  transform: scale(0.92);
}

.featured-strip__arrow:disabled {
  opacity: 0.35;
  cursor: default;
}

.featured-strip__rail {
  display: flex;
  gap: 0.75rem;
  overflow-x: auto;
  padding: 4px 2px 8px;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
}

.featured-strip__rail::-webkit-scrollbar {
  display: none;
}

.fs-card {
  flex: 1 0 clamp(124px, 15vw, 176px);
  display: flex;
  flex-direction: column;
  padding: 0;
  text-align: left;
  color: var(--navy);
  background: #fff;
  border: 1px solid rgba(11, 23, 38, 0.1);
  cursor: pointer;
  scroll-snap-align: start;
  transition: transform 0.3s cubic-bezier(0.23, 1, 0.32, 1), border-color 0.2s ease, box-shadow 0.3s ease;
}

.fs-card__img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: 50% 35%;
  background: var(--navy-soft);
}

.fs-card__name {
  padding: 0.65rem 0.75rem;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.3;
  text-transform: uppercase;
}

@media (hover: hover) and (pointer: fine) {
  .fs-card:hover {
    transform: translateY(-4px);
    border-color: var(--gold);
    box-shadow: 0 12px 26px rgba(11, 23, 38, 0.14);
  }
}

@media (max-width: 799px) {
  .featured-strip__inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 0.75rem;
  }

  .featured-strip__head {
    flex-direction: row;
    align-items: center;
    flex-wrap: wrap;
  }

  .featured-strip__rule {
    flex: 1 1 auto;
    width: auto;
    max-width: 40px;
  }

  .featured-strip__arrows {
    margin-left: auto;
  }

  .fs-card {
    flex: 0 0 42vw;
    max-width: 190px;
  }
}
/* ===== hero6-end ===== */

/* ===== showmore-start ===== */
.product-grid > .is-folded { display: none !important; }

.product-grid > .is-unfolding {
  animation: unfold-in 0.5s cubic-bezier(0.23, 1, 0.32, 1) both;
}

@keyframes unfold-in {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}

.show-more {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.9rem;
  margin: clamp(1.5rem, 4vw, 2.5rem) 0 0;
}

.show-more[hidden] { display: none; }

.show-more__note {
  margin: 0;
  font-size: 0.8125rem;
  letter-spacing: 0.04em;
  color: rgba(11, 23, 38, 0.65);
}

.show-more__btn {
  min-width: 220px;
  padding: 0.95rem 2rem;
  font-family: var(--font-sans);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--navy);
  background: transparent;
  border: 1.5px solid var(--navy);
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, transform 0.15s ease;
}

.show-more__btn:hover { background: var(--navy); color: var(--cream); }
.show-more__btn:active { transform: scale(0.97); }
.show-more__btn:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

@media (prefers-reduced-motion: reduce) {
  .product-grid > .is-unfolding { animation: none; }
}
/* ===== showmore-end ===== */

/* ===== icons-start: Central Icons ===== */
.icon-btn svg { width: 24px; height: 24px; stroke-width: 1.5; }
.wish-btn svg { width: 22px; height: 22px; stroke-width: 1.5; }
.featured-strip__arrow svg { width: 32px; height: 32px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.product-card__add::after {
  content: "";
  width: 1.15em;
  height: 1.15em;
  vertical-align: -0.22em;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg%20xmlns=%22http://www.w3.org/2000/svg%22%20viewBox=%220%200%2024%2024%22%20fill=%22none%22%20stroke=%22black%22%20stroke-width=%221.5%22%20stroke-linecap=%22round%22%20stroke-linejoin=%22round%22%3E%3Cpath%20d=%22M14%205.75L20.25%2012L14%2018.25%22/%3E%3Cpath%20d=%22M19.5%2012H3.75%22/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg%20xmlns=%22http://www.w3.org/2000/svg%22%20viewBox=%220%200%2024%2024%22%20fill=%22none%22%20stroke=%22black%22%20stroke-width=%221.5%22%20stroke-linecap=%22round%22%20stroke-linejoin=%22round%22%3E%3Cpath%20d=%22M14%205.75L20.25%2012L14%2018.25%22/%3E%3Cpath%20d=%22M19.5%2012H3.75%22/%3E%3C/svg%3E") center / contain no-repeat;
}
/* ===== icons-end ===== */
