/* ==========================================================================
   Savemore Wholesale — theme stylesheet.

   Ported from the "Subtle" design system (tokens/, components/) with the
   brand chroma swapped to the SaveMore logo palette: magenta primary, leaf
   green as the secondary accent, sun yellow for the announcement band and
   the gradient mesh. Structure mirrors the approved landing-page layout;
   the display type scale is the one addition — the source layout pinned
   headings at fixed px, which overflowed narrow screens, so display sizes
   clamp here.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Fonts — Inter variable, self-hosted (no CDN dependency at runtime).
   -------------------------------------------------------------------------- */
@font-face {
  font-family: 'InterVariable';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('../fonts/inter-latin-wght-normal.woff2') format('woff2-variations');
}

/* --------------------------------------------------------------------------
   2. Tokens
   -------------------------------------------------------------------------- */
:root {
  /* Brand — SaveMore logo palette */
  --primary: #ee008c;          /* magenta from the wordmark — the only filled CTA */
  --primary-deep: #cc0079;     /* hover */
  --primary-press: #a30061;    /* pressed */
  --primary-soft: #ff5cb4;
  --primary-subdued: #ffdcef;  /* pale magenta tag fill */
  --leaf: #88c63f;             /* leaf green from the mark */
  --leaf-deep: #659a2b;
  --leaf-subdued: #eef7e2;
  --sun: #ffee00;              /* yellow bar behind WHOLESALE */
  --ruby: #ee008c;
  --magenta: #ff7ec4;

  /* Ink — deep navy, never pure black */
  --ink: #172033;
  --ink-secondary: #334155;
  --ink-mute: #6b7280;
  --ink-mute-2: #667085;
  --on-primary: #ffffff;

  /* Surface */
  --canvas: #ffffff;
  --canvas-soft: #f7f8fb;
  --canvas-cream: #f4ecdd;
  --surface-dark: #172033;

  /* Line */
  --hairline: #e4e7ec;
  --hairline-input: #aebbd0;

  /* Gradient-mesh stops — cream → sun → leaf → magenta, left to right */
  --mesh-cream: #fffbe6;
  --mesh-sherbet: #ffee00;
  --mesh-lavender: #d3ea9c;
  --mesh-indigo: #88c63f;
  --mesh-magenta: #ff8ecb;
  --mesh-ruby: #ee008c;

  /* Type */
  --font-sans: 'InterVariable', 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-feature-default: "ss01" 1;
  --font-feature-tabular: "ss01" 1, "tnum" 1;
  --fw-thin: 300;
  --fw-regular: 400;

  /* Radius */
  --radius-sm: 6px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-pill: 9999px;

  /* Elevation — restrained and blue-cast */
  --shadow-1: rgba(0, 55, 112, 0.08) 0 1px 3px;
  --shadow-2: rgba(0, 55, 112, 0.08) 0 8px 24px, rgba(0, 55, 112, 0.04) 0 2px 6px;
  --focus-ring: 0 0 0 3px rgba(238, 0, 140, 0.26);

  /* Layout */
  --container: 1200px;
  --gutter: 24px;
  --section-pad: 88px;
}

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

html {
  scroll-behavior: smooth;
  /* Sticky header height, so in-page anchors don't land under it. */
  scroll-padding-top: 88px;
  -webkit-text-size-adjust: 100%;
}

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

body {
  margin: 0;
  max-width: 100%;
  overflow-x: hidden;
  background: var(--canvas);
  color: var(--ink);
  font-family: var(--font-sans);
  font-weight: var(--fw-thin);
  font-size: 15px;
  line-height: 1.4;
  font-feature-settings: var(--font-feature-default);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: var(--primary); text-decoration: none; transition: color 120ms ease; }
a:hover { color: var(--primary-deep); }

img { max-width: 100%; height: auto; }

h1, h2, h3, h4, h5, h6 { font-weight: var(--fw-thin); margin: 0; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }

:where(a, button, input, select, textarea, summary, [tabindex]):focus-visible {
  outline: none;
  box-shadow: var(--focus-ring);
  border-radius: var(--radius-sm);
}

.screen-reader-text {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap; border: 0;
}

.skip-link:focus {
  position: fixed; top: 8px; left: 8px; z-index: 100;
  width: auto; height: auto; clip: auto; clip-path: none;
  padding: 10px 16px; background: var(--canvas); color: var(--ink);
  border-radius: var(--radius-pill); box-shadow: var(--shadow-2);
}

/* --------------------------------------------------------------------------
   4. Type roles — the negative-tracking signature. Display sizes clamp so
      the editorial air survives on phones without overflowing.
   -------------------------------------------------------------------------- */
.t-display-1 {
  font-size: clamp(34px, 5.2vw, 54px);
  line-height: 1.06;
  letter-spacing: -1.4px;
  text-wrap: pretty;
}
.t-display-2 {
  font-size: clamp(28px, 3.9vw, 40px);
  line-height: 1.12;
  letter-spacing: -1px;
  text-wrap: pretty;
}
.t-display-3 {
  font-size: clamp(26px, 3.6vw, 38px);
  line-height: 1.15;
  letter-spacing: -1px;
  text-wrap: pretty;
}
.t-display-4 {
  font-size: clamp(24px, 3vw, 32px);
  line-height: 1.15;
  letter-spacing: -0.8px;
}
.t-heading-lg { font-size: 22px; letter-spacing: -0.4px; line-height: 1.2; }
.t-heading-md { font-size: 20px; letter-spacing: -0.4px; line-height: 1.3; }
.t-heading-sm { font-size: 19px; letter-spacing: -0.3px; line-height: 1.3; }

.t-lead      { font-size: 17px; line-height: 1.6; color: var(--ink-secondary); text-wrap: pretty; }
.t-body      { font-size: 16px; line-height: 1.65; color: var(--ink-secondary); text-wrap: pretty; }
.t-body-sm   { font-size: 14.5px; line-height: 1.55; color: var(--ink-secondary); }
.t-caption   { font-size: 13.5px; line-height: 1.5; color: var(--ink-mute); }
.t-fine      { font-size: 12.5px; line-height: 1.6; color: var(--ink-mute); }

/* Tabular figures — every money and numeric cell. */
.tnum {
  font-feature-settings: var(--font-feature-tabular);
  letter-spacing: -0.42px;
}

/* --------------------------------------------------------------------------
   5. Layout primitives
   -------------------------------------------------------------------------- */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding-inline: var(--gutter);
}
.container--narrow { max-width: 900px; }

.section { padding-block: var(--section-pad); }
.section--soft {
  background: var(--canvas-soft);
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
}
.section--dark { background: var(--surface-dark); }

.split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 56px;
}
.split--center { align-items: center; }
.split--start { align-items: start; }

.measure { max-width: 540px; }
.measure--sm { max-width: 480px; }
.measure--lg { max-width: 640px; }

.stack { display: flex; flex-direction: column; }
.stack > * + * { margin-top: var(--stack-gap, 16px); }

@media (max-width: 860px) { .lg-only { display: none !important; } }
@media (min-width: 861px) { .sm-only { display: none !important; } }

/* --------------------------------------------------------------------------
   6. Tag — micro all-caps pill. Hugs its content; never spans the column.
   -------------------------------------------------------------------------- */
.tag {
  display: inline-flex;
  align-self: flex-start;
  align-items: center;
  width: fit-content;
  font-weight: var(--fw-regular);
  font-size: 10px;
  line-height: 1.15;
  letter-spacing: 0.1px;
  text-transform: uppercase;
  padding: 4px 8px;
  border-radius: var(--radius-pill);
  background: var(--primary-subdued);
  color: #b8006e;
  border: 1px solid transparent;
  white-space: nowrap;
}
.tag--neutral {
  background: var(--canvas-soft);
  color: var(--ink-secondary);
  border-color: var(--hairline);
}

/* Spec pills under a product name — sentence case, not micro-caps. */
.pill {
  display: inline-flex;
  align-items: center;
  font-size: 12px;
  color: var(--ink-mute);
  background: var(--canvas-soft);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-pill);
  padding: 4px 10px;
  white-space: nowrap;
}
.pill--leaf {
  color: var(--leaf-deep);
  background: var(--leaf-subdued);
  border-color: transparent;
}
.pill-row { display: flex; flex-wrap: wrap; gap: 6px; }

/* --------------------------------------------------------------------------
   7. Button — pill, tight radius. One filled primary per band.
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-weight: var(--fw-regular);
  font-size: 16px;
  line-height: 1;
  letter-spacing: 0;
  /* 16px matches the design system's md button; 18px pushed the hero's
     three-CTA row 1px past its column and wrapped it. */
  padding: 8px 16px;
  min-height: 44px;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  background: var(--primary);
  color: var(--on-primary);
  cursor: pointer;
  text-align: center;
  transition: background-color 120ms ease, border-color 120ms ease,
              color 120ms ease, transform 80ms ease;
}
.btn:hover { background: var(--primary-deep); color: var(--on-primary); }
.btn:active { background: var(--primary-press); transform: scale(0.98); }

.btn--secondary {
  background: var(--canvas);
  color: var(--primary);
  border-color: var(--primary);
}
.btn--secondary:hover { background: var(--primary-subdued); color: var(--primary-deep); }
.btn--secondary:active { background: var(--primary-subdued); }

.btn--on-dark {
  background: transparent;
  color: var(--on-primary);
  border-color: rgba(255, 255, 255, 0.28);
}
.btn--on-dark:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--on-primary);
  border-color: rgba(255, 255, 255, 0.44);
}

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

.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* --------------------------------------------------------------------------
   8. Card
   -------------------------------------------------------------------------- */
.card {
  background: var(--canvas);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-lg);
  padding: 28px;
}
.card--cream { background: var(--canvas-cream); border-color: transparent; padding: 32px; }
.card--lift { box-shadow: var(--shadow-1); }
.card--float { border-radius: var(--radius-xl); box-shadow: var(--shadow-2); padding: 24px; }

/* --------------------------------------------------------------------------
   9. Icons — line, 1.6 stroke, currentColor-adjacent
   -------------------------------------------------------------------------- */
.icon {
  flex: none;
  width: 20px;
  height: 20px;
  stroke: var(--primary);
  stroke-width: 1.6;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.icon--lg { width: 22px; height: 22px; }
.icon--leaf { stroke: var(--leaf-deep); }

/* --------------------------------------------------------------------------
   10. Announcement bar + header
   -------------------------------------------------------------------------- */
.announce {
  background: var(--sun);
  color: var(--ink);
  font-size: 13px;
  letter-spacing: 0.1px;
  padding: 9px 24px;
  text-align: center;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: saturate(140%) blur(6px);
  border-bottom: 1px solid var(--hairline);
}
.site-header__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 12px var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.site-logo { display: flex; align-items: center; }
.site-logo img { height: 46px; width: auto; display: block; }

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 15px;
}
.site-nav a { color: var(--ink-mute-2); }
.site-nav a:hover { color: var(--primary); }

.site-header__actions { display: flex; align-items: center; gap: 14px; }
.site-header__phone { font-size: 15px; color: var(--ink); }
.site-header__phone:hover { color: var(--primary); }

@media (max-width: 860px) {
  .site-logo img { height: 38px; }
  .site-header__inner { padding: 10px 16px; gap: 12px; }
}

/* --------------------------------------------------------------------------
   11. Hero + gradient mesh — the signature backdrop. Non-negotiable on the
       marketing hero; a bare canvas here reads as off-brand.
   -------------------------------------------------------------------------- */
.hero { position: relative; background: var(--canvas); }
.hero__mesh {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(42% 60% at 6% 8%,   var(--mesh-cream)    0%, transparent 62%),
    radial-gradient(40% 62% at 26% -6%, var(--mesh-sherbet)  0%, transparent 60%),
    radial-gradient(46% 68% at 48% -4%, var(--mesh-lavender) 0%, transparent 62%),
    radial-gradient(50% 72% at 68% 2%,  var(--mesh-indigo)   0%, transparent 58%),
    radial-gradient(42% 66% at 88% -6%, var(--mesh-magenta)  0%, transparent 58%),
    radial-gradient(38% 60% at 98% 12%, var(--mesh-ruby)     0%, transparent 58%);
  -webkit-mask-image: linear-gradient(to bottom, black 0%, black 34%, transparent 80%);
  mask-image: linear-gradient(to bottom, black 0%, black 34%, transparent 80%);
}
.hero__inner { position: relative; z-index: 1; }
.hero__grid {
  max-width: var(--container);
  margin: 0 auto;
  padding: 72px var(--gutter) 64px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 56px;
  align-items: center;
}
.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  margin-top: 26px;
  font-size: 13.5px;
  color: var(--ink-mute);
}
.hero__meta-sep { color: var(--hairline); }

/* Product mosaic — the hero's stand-in for photography. */
.mosaic {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.mosaic__cell {
  background: var(--canvas-soft);
  border-radius: 10px;
  padding: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.mosaic__cell img { width: 100%; height: 120px; object-fit: contain; display: block; }
.mosaic__stat {
  background: var(--surface-dark);
  border-radius: 10px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
}
.mosaic__stat-num {
  font-size: 34px;
  line-height: 1;
  color: #fff;
  letter-spacing: -1.2px;
}
.mosaic__stat-label { font-size: 12.5px; line-height: 1.4; color: rgba(255, 255, 255, 0.72); }

@media (max-width: 520px) {
  .mosaic { grid-template-columns: repeat(2, 1fr); }
  .hero__grid { padding: 44px 16px 48px; gap: 36px; }
}

/* --------------------------------------------------------------------------
   12. Trust strip
   -------------------------------------------------------------------------- */
.trust {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px 32px;
  padding-block: 28px;
}
.trust__item { display: flex; gap: 12px; align-items: flex-start; }
.trust__item .icon { margin-top: 1px; }
.trust__title { font-size: 15px; color: var(--ink); }
.trust__sub { font-size: 13.5px; color: var(--ink-mute); margin-top: 2px; }

/* --------------------------------------------------------------------------
   13. Definition rows — the cream "who you're buying from" card
   -------------------------------------------------------------------------- */
.deflist { display: flex; flex-direction: column; }
.deflist__row {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(23, 32, 51, 0.1);
}
.deflist__row:last-child { border-bottom: 0; }
.deflist__key { font-size: 14px; color: var(--ink-mute); }
.deflist__val { font-size: 15px; color: var(--ink); text-align: right; }

/* --------------------------------------------------------------------------
   14. Products
   -------------------------------------------------------------------------- */
.group-head {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin: 48px 0 20px;
}
.group-head__rule { flex: 1; height: 1px; background: var(--hairline); }
.group-head__count { font-size: 13px; color: var(--ink-mute); }

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  /* Cards sit at their natural height so expanding one spec panel does not
     stretch its neighbours into a column of white space. Summaries are a
     consistent length, so the closed row still reads as even. */
  align-items: start;
}

.product {
  background: var(--canvas);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: border-color 120ms ease, box-shadow 120ms ease;
}
.product:hover { border-color: var(--primary-subdued); box-shadow: var(--shadow-1); }

.product__shot {
  background: var(--canvas-soft);
  border-radius: 10px;
  padding: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.product__shot img { width: 100%; height: 190px; object-fit: contain; display: block; }
.product__shot--kids { background: var(--leaf-subdued); padding: 16px; }
.product__shot--kids img { height: 170px; }

.product__body { display: flex; flex-direction: column; gap: 8px; flex: 1; }
.product__name { margin-top: 2px; }
.product__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  row-gap: 14px;
  border-top: 1px solid var(--hairline);
  padding-top: 16px;
}
.product__price-label {
  font-size: 11.5px;
  color: var(--ink-mute);
  text-transform: uppercase;
  letter-spacing: 0.1px;
}
.product__price { font-size: 19px; color: var(--ink); }
.product__actions { display: flex; gap: 8px; margin-left: auto; }

/* Kids cards run image-beside-copy. */
.product--wide {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  align-items: center;
}
.product--wide .product__foot { margin-top: 8px; }

/* Expandable spec sheet — actives, directions, allergens. */
.spec { border-top: 1px solid var(--hairline); padding-top: 14px; }
.spec > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  cursor: pointer;
  font-size: 13.5px;
  color: var(--ink-mute);
  list-style: none;
}
.spec > summary::-webkit-details-marker { display: none; }
.spec > summary:hover { color: var(--primary); }
.spec[open] > summary svg { transform: rotate(180deg); }
.spec > summary svg { flex: none; transition: transform 120ms ease; }
.spec__body { padding-top: 12px; display: flex; flex-direction: column; gap: 10px; }
.spec__row { font-size: 13px; line-height: 1.55; color: var(--ink-secondary); }
.spec__row dt {
  font-size: 11.5px;
  text-transform: uppercase;
  letter-spacing: 0.1px;
  color: var(--ink-mute);
  margin-bottom: 2px;
}
.spec__row dd { margin: 0; }
.spec__list { list-style: none; display: flex; flex-direction: column; gap: 4px; }
.spec__list li { display: flex; gap: 8px; align-items: flex-start; }
.spec__list li::before {
  content: "";
  flex: none;
  width: 5px; height: 5px;
  margin-top: 7px;
  border-radius: 50%;
  background: var(--leaf);
}
.spec__packs { display: flex; flex-direction: column; gap: 4px; }
.spec__pack { display: flex; justify-content: space-between; gap: 16px; font-size: 13px; }
.spec__pack span:last-child { color: var(--ink); }

.disclaimer { margin-top: 28px; max-width: 760px; }

/* --------------------------------------------------------------------------
   15. Why-us feature cards
   -------------------------------------------------------------------------- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin-top: 40px;
}
.feature__title { margin-top: 16px; }
.feature__copy { margin-top: 8px; }

/* --------------------------------------------------------------------------
   16. Ordering steps
   -------------------------------------------------------------------------- */
.checklist { display: flex; flex-direction: column; gap: 14px; margin-top: 28px; max-width: 520px; }
.checklist__item { display: flex; gap: 12px; align-items: flex-start; }
.checklist__item .icon { margin-top: 2px; }
.checklist__item span { font-size: 15px; line-height: 1.6; color: var(--ink-secondary); }

.steps { display: flex; flex-direction: column; gap: 16px; margin-top: 24px; }
.step {
  display: flex;
  gap: 16px;
  background: var(--canvas);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-lg);
  padding: 20px 22px;
}
.step__num { font-size: 15px; color: var(--primary); min-width: 22px; }
.step__title { font-size: 16px; color: var(--ink); }
.step__copy { font-size: 14px; color: var(--ink-secondary); margin-top: 4px; line-height: 1.55; }

/* --------------------------------------------------------------------------
   17. Contact channels + enquiry form
   -------------------------------------------------------------------------- */
.channels { display: flex; flex-direction: column; gap: 12px; margin-top: 32px; max-width: 420px; }
.channel {
  display: flex;
  align-items: center;
  gap: 16px;
  border: 1px solid var(--hairline);
  border-radius: var(--radius-lg);
  padding: 18px 20px;
  background: var(--canvas);
  transition: border-color 120ms ease, box-shadow 120ms ease;
}
.channel:hover { border-color: var(--primary); box-shadow: var(--shadow-1); }
.channel__text { display: flex; flex-direction: column; }
.channel__label { font-size: 12.5px; color: var(--ink-mute); }
.channel__value { font-size: 19px; color: var(--ink); }
.channel__value--sm { font-size: 16px; }

.form-card {
  background: var(--canvas);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-1);
}
@media (max-width: 520px) { .form-card { padding: 22px; } }

.field { display: flex; flex-direction: column; gap: 6px; }
.field__label { font-size: 13px; color: var(--ink-secondary); letter-spacing: -0.39px; }
.field__req { color: var(--primary); }

/* Shared control chrome. CF7 injects its own wrappers, so target inputs
   directly rather than relying on a class on every field. */
.form-card input[type="text"],
.form-card input[type="tel"],
.form-card input[type="email"],
.form-card select,
.form-card textarea {
  width: 100%;
  box-sizing: border-box;
  font-family: var(--font-sans);
  font-weight: var(--fw-thin);
  font-size: 15px;
  line-height: 1.5;
  color: var(--ink);
  background: var(--canvas);
  padding: 8px 12px;
  min-height: 40px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--hairline-input);
  outline: none;
  transition: border-color 120ms ease, box-shadow 120ms ease;
}
.form-card textarea { padding: 10px 12px; resize: vertical; min-height: 84px; }
.form-card select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 38px;
}
.form-card input:focus,
.form-card select:focus,
.form-card textarea:focus {
  border-color: var(--primary);
  box-shadow: var(--focus-ring);
}
.form-card ::placeholder { color: var(--ink-mute); opacity: 1; }

/* --------------------------------------------------------------------------
   18. Contact Form 7 — strip its defaults, adopt the design system.
   -------------------------------------------------------------------------- */
.wpcf7 { margin: 0; }
.wpcf7-form { display: flex; flex-direction: column; gap: 18px; }
.wpcf7-form p { margin: 0; }
.wpcf7-form-control-wrap { display: block; }
.wpcf7 .wpcf7-submit {
  /* Inherit .btn by way of the class added in the form template. */
  width: 100%;
}
.wpcf7 .wpcf7-spinner { margin: 0 auto; }

.wpcf7-not-valid-tip {
  font-size: 13px;
  color: var(--primary-deep);
  margin-top: 4px;
}
.wpcf7 .wpcf7-not-valid { border-color: var(--primary) !important; }

.wpcf7 form .wpcf7-response-output {
  margin: 0;
  padding: 14px 16px;
  border: 1px solid var(--hairline);
  border-radius: var(--radius-md);
  font-size: 14px;
  line-height: 1.55;
  background: var(--canvas-soft);
  color: var(--ink-secondary);
}
.wpcf7 form.sent .wpcf7-response-output {
  border-color: transparent;
  background: var(--leaf-subdued);
  color: var(--leaf-deep);
}
.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.unaccepted .wpcf7-response-output,
.wpcf7 form.failed .wpcf7-response-output,
.wpcf7 form.aborted .wpcf7-response-output {
  border-color: transparent;
  background: var(--primary-subdued);
  color: #b8006e;
}

/* --------------------------------------------------------------------------
   19. Reviews
   -------------------------------------------------------------------------- */
.reviews-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
}
/* Google-style review cards on a scroll-snapped track, with arrows that only
   appear when the track actually overflows. No carousel library: native
   overflow scrolling keeps it usable by touch, trackpad and keyboard. */
.reviews-carousel {
  position: relative;
  margin-top: 32px;
}
.review-track {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
}
.review-track::-webkit-scrollbar { display: none; }
/* No padding on the track: it would shift the scroll-snap resting position off
   zero, which breaks "are we at the start?" checks. The focus ring paints
   outside the box, so it needs no room reserved. */
.review-track:focus-visible { box-shadow: var(--focus-ring); border-radius: var(--radius-lg); }

.review-card {
  flex: 0 0 clamp(268px, 31%, 380px);
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: var(--canvas);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-lg);
  padding: 22px;
}

.review-card__head { display: flex; align-items: center; gap: 12px; }
.review-avatar {
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 17px;
  font-weight: var(--fw-regular);
  line-height: 1;
}
.review-ident { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.review-name {
  font-size: 15px;
  font-weight: var(--fw-regular);
  color: var(--ink);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.review-date { font-size: 13px; color: var(--ink-mute); }

.review-card__rating { display: flex; align-items: center; gap: 8px; }
.review-verified { display: inline-flex; align-items: center; }

.review-quote {
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink-secondary);
  /* Clamped to keep the row even; the Read more button lifts the clamp. */
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
  overflow: hidden;
}
.review-quote.is-expanded {
  -webkit-line-clamp: unset;
  overflow: visible;
}

.review-more {
  align-self: flex-start;
  padding: 0;
  border: 0;
  background: none;
  font-family: var(--font-sans);
  font-size: 13.5px;
  color: var(--ink-mute);
  cursor: pointer;
  transition: color 120ms ease;
}
.review-more:hover { color: var(--primary); }

.reviews-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 1px solid var(--hairline);
  border-radius: var(--radius-pill);
  background: var(--canvas);
  box-shadow: var(--shadow-1);
  cursor: pointer;
  transition: border-color 120ms ease, background-color 120ms ease;
}
.reviews-nav:hover { border-color: var(--primary); }
.reviews-nav .icon { stroke: var(--ink-secondary); }
.reviews-nav:hover .icon { stroke: var(--primary); }
.reviews-nav--prev { left: -14px; }
.reviews-nav--next { right: -14px; }
.reviews-nav[hidden] { display: none; }

@media (max-width: 860px) {
  .review-card { flex-basis: min(300px, 82vw); }
  .reviews-nav { display: none; }
}

/* Trustindex widget, when its shortcode is in use.
   The plugin ships its own CSS from a CDN at high specificity, so these
   overrides need !important. They are cosmetic only: if Trustindex renames a
   class in an update the widget simply falls back to its own styling — nothing
   breaks, it just stops matching the page. Left as-is: the 12px card radius and
   gold stars, which already agree with the design system. */
.reviews-widget { margin-top: 32px; }

.reviews-widget .ti-widget,
.reviews-widget .ti-widget * {
  font-family: var(--font-sans) !important;
}
.reviews-widget .ti-inner {
  /* Their default #f4f4f4 sits muddily on the canvas-soft band. */
  background: var(--canvas) !important;
  border: 1px solid var(--hairline) !important;
}
.reviews-widget .ti-name {
  color: var(--ink) !important;
  font-weight: var(--fw-regular) !important;
}
.reviews-widget .ti-date { color: var(--ink-mute) !important; }
.reviews-widget .ti-review-content,
.reviews-widget .ti-review-text-container {
  /* Pure black is off-brand; the system never goes darker than ink. */
  color: var(--ink-secondary) !important;
}
.reviews-widget .ti-read-more a { color: var(--primary) !important; }
/* "Already ordered from us? Leave us a review" — a quiet ask, not a banner. */
.review-ask {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 20px;
  max-width: 420px;
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--ink-mute);
}
.review-ask .icon { stroke: var(--leaf-deep); margin-top: 2px; }
.review-ask a { text-decoration: underline; text-underline-offset: 2px; }

.reviews-head__title { display: flex; flex-direction: column; gap: 10px; }
.reviews-summary {
  display: flex;
  align-items: baseline;
  gap: 8px;
  font-size: 14px;
  color: var(--ink-mute);
}
.reviews-summary__score {
  font-size: 20px;
  color: var(--ink);
  letter-spacing: -0.42px;
}

.stars { display: flex; gap: 3px; }
.stars .star--on { fill: #f0a500; }
.stars .star--off { fill: var(--hairline); }
.review__quote { margin-top: 16px; font-size: 15px; line-height: 1.65; color: var(--ink-secondary); }
.review__who { margin-top: 18px; font-size: 13.5px; color: var(--ink-mute); }

/* --------------------------------------------------------------------------
   20. FAQ
   -------------------------------------------------------------------------- */
.faq { display: flex; flex-direction: column; border-top: 1px solid var(--hairline); }
.faq__item { border-bottom: 1px solid var(--hairline); }
.faq__q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 20px 0;
  cursor: pointer;
  font-size: 17px;
  color: var(--ink);
  list-style: none;
}
.faq__q::-webkit-details-marker { display: none; }
.faq__q:hover { color: var(--primary); }
.faq__q svg { flex: none; transition: transform 120ms ease; stroke: var(--ink-mute); }
.faq__item[open] .faq__q svg { transform: rotate(180deg); }
.faq__a { padding: 0 0 20px; font-size: 15px; line-height: 1.65; color: var(--ink-secondary); }

/* --------------------------------------------------------------------------
   21. Closing CTA band (dark)
   -------------------------------------------------------------------------- */
.cta-band {
  max-width: var(--container);
  margin: 0 auto;
  padding: 80px var(--gutter);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255, 255, 255, 0.68); font-size: 16px; line-height: 1.6; margin-top: 14px; }

/* --------------------------------------------------------------------------
   22. Footer
   -------------------------------------------------------------------------- */
.site-footer { background: var(--canvas); border-top: 1px solid var(--hairline); }
.site-footer__cols {
  max-width: var(--container);
  margin: 0 auto;
  padding: 64px var(--gutter) 32px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 40px;
}
.site-footer img { height: 44px; width: auto; display: block; }
.site-footer__heading {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1px;
  color: var(--ink);
  margin-bottom: 14px;
}
.site-footer__list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 14px;
  color: var(--ink-mute);
  list-style: none;
}
.site-footer__list a { color: var(--ink-mute); }
.site-footer__list a:hover { color: var(--primary); }
.site-footer__legal {
  max-width: var(--container);
  margin: 0 auto;
  padding: 24px var(--gutter) 40px;
  border-top: 1px solid var(--hairline);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
/* Clear the fixed mobile action bar — only when it is actually rendering. */
@media (max-width: 860px) {
  body.has-actionbar .site-footer__legal {
    padding-bottom: calc(96px + env(safe-area-inset-bottom));
  }
}

/* --------------------------------------------------------------------------
   23. Sticky mobile action bar
   -------------------------------------------------------------------------- */
.actionbar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.98);
  border-top: 1px solid var(--hairline);
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  display: grid;
  /* Column count follows however many channels are configured. */
  grid-auto-flow: column;
  grid-auto-columns: 1fr;
  gap: 8px;
  box-shadow: rgba(0, 55, 112, 0.08) 0 -2px 12px;
}
.actionbar .btn { min-height: 46px; width: 100%; font-size: 15px; }

/* --------------------------------------------------------------------------
   24. Interior pages (privacy, terms, returns) + editor content
   -------------------------------------------------------------------------- */
.page-hero { position: relative; background: var(--canvas); border-bottom: 1px solid var(--hairline); }
.page-hero__inner { position: relative; z-index: 1; padding-block: 64px 40px; }

.entry-content { font-size: 16px; line-height: 1.7; color: var(--ink-secondary); }
.entry-content > * + * { margin-top: 18px; }
.entry-content h2 { font-size: 26px; letter-spacing: -0.6px; color: var(--ink); margin-top: 40px; }
.entry-content h3 { font-size: 20px; letter-spacing: -0.3px; color: var(--ink); margin-top: 28px; }
.entry-content ul, .entry-content ol { padding-left: 22px; }
.entry-content li + li { margin-top: 6px; }
.entry-content a { text-decoration: underline; text-underline-offset: 2px; }
.entry-content strong { font-weight: var(--fw-regular); color: var(--ink); }
.entry-content table { width: 100%; border-collapse: collapse; font-size: 15px; }
.entry-content th, .entry-content td {
  border: 1px solid var(--hairline);
  padding: 10px 12px;
  text-align: left;
}
.entry-content blockquote {
  margin: 0;
  padding-left: 18px;
  border-left: 2px solid var(--primary-subdued);
  color: var(--ink-mute);
}
