/* G7 Storefront — component layer on top of brand-tokens.css.
   One source of truth for raw values; this file expresses the UI. */
@import url('brand-tokens.css');

/* ── Reset / base ── */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--text-body-size);
  line-height: var(--text-body-line);
  color: var(--color-text);
  background: var(--color-canvas);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: var(--link-color); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { margin: 0; color: var(--color-text); letter-spacing: var(--text-h2-tracking); }
h1 { font-size: var(--text-h1-size); font-weight: var(--text-h1-weight); line-height: var(--text-h1-line); letter-spacing: var(--text-h1-tracking); }
h2 { font-size: var(--text-h2-size); font-weight: var(--text-h2-weight); line-height: var(--text-h2-line); letter-spacing: var(--text-h2-tracking); }
h3 { font-size: var(--text-h3-size); font-weight: var(--text-h3-weight); line-height: var(--text-h3-line); letter-spacing: var(--text-h3-tracking); }

/* ── Layout helpers ── */
.container { width: 100%; max-width: var(--container-section); margin-inline: auto; padding-inline: var(--space-5); }
.container--read { max-width: var(--container-read); }
.section { padding-block: clamp(64px, 8vw, 104px); }
.section--tight { padding-block: var(--space-6); }
.eyebrow {
  font-size: var(--text-label-size); font-weight: var(--text-label-weight);
  letter-spacing: var(--text-label-tracking); text-transform: uppercase; color: var(--color-accent-deep);
}
.lead { font-size: var(--text-lead-size); line-height: var(--text-lead-line); color: var(--color-text-soft); }
.muted { color: var(--color-text-soft); }
.center { text-align: center; }

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2);
  font-family: var(--font-body); font-weight: var(--text-label-weight);
  font-size: 15px; letter-spacing: var(--text-label-tracking); text-transform: uppercase;
  padding: var(--space-3) var(--space-5); border-radius: var(--button-radius);
  border: 1px solid transparent; cursor: pointer; transition: background .15s ease, color .15s ease, border-color .15s ease;
  text-decoration: none;
}
.btn--primary { background: var(--button-bg); color: var(--button-color); }
.btn--primary:hover { background: var(--button-bg-hover); text-decoration: none; }
.btn--ghost { background: transparent; color: var(--color-accent-deep); border-color: var(--color-line); }
.btn--ghost:hover { border-color: var(--color-accent); text-decoration: none; }
.btn--onmint { background: rgba(255,255,255,.14); color: #fff; border-color: rgba(255,255,255,.4); backdrop-filter: blur(2px); }
.btn--onmint:hover { background: rgba(255,255,255,.24); text-decoration: none; }
.btn--block { display: flex; width: 100%; }
.btn svg { transition: transform .15s ease; }
.btn:hover svg { transform: translateX(3px); }

/* ── Header / nav ── */
/* Wrap topbar + header in ONE sticky unit so the trust bar pins to the very top
   with the nav directly beneath it. (Two sticky siblings at top:0 would slide
   over each other; offset-by-height breaks when the bar wraps on mobile.) */
.g7-head { position: sticky; top: 0; z-index: 50; }
body.admin-bar .g7-head { top: 32px; }   /* don't hide behind the WP admin bar */
@media ( max-width: 782px ) { body.admin-bar .g7-head { top: 46px; } }
.site-header {
  position: relative;   /* stacking context for backdrop-filter under the sticky wrapper */
  background: rgba(255,255,255,.86); backdrop-filter: saturate(140%) blur(10px);
  border-bottom: var(--border-hairline) solid var(--color-line);
}
.site-header__inner { display: flex; align-items: center; gap: var(--space-5); height: 76px; }
.site-logo img { height: 38px; width: auto; }
.site-nav { display: flex; align-items: center; gap: var(--space-5); margin-left: auto; }
.site-nav a { color: var(--color-text); font-weight: 500; font-size: 15px; }
.site-nav a:hover { color: var(--color-accent-deep); text-decoration: none; }
/* WordPress-generated menu (wp_nav_menu emits <ul class="menu"><li class="menu-item">).
   Without these desktop rules the <ul>/<li> keep default block/list styling and the
   nav stacks vertically. The mobile media-query below re-flips it to a column. */
.site-nav ul.menu,
.site-nav .menu { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: var(--space-5); }
.site-nav .menu-item { margin: 0; }
.site-nav .menu-item a { display: inline-block; }
.header-actions { display: flex; align-items: center; gap: var(--space-3); }
.curr-toggle {
  display: inline-flex; align-items: stretch; overflow: hidden;
  border: 1px solid var(--color-line); border-radius: var(--radius-pill);
  background: var(--color-canvas); padding: 0;
}
.curr-toggle__btn {
  border: 0; background: transparent; font-family: inherit; cursor: pointer;
  font-size: 13px; font-weight: 700; line-height: 1; color: var(--color-text-soft);
  padding: 7px 12px;
}
.curr-toggle__btn + .curr-toggle__btn { border-left: 1px solid var(--color-line); }
.curr-toggle__btn:hover { color: var(--color-text); }
.curr-toggle__btn[aria-pressed="true"] { background: var(--color-accent); color: var(--color-on-accent); }
.curr-note { display: none; align-self: center; font-size: 11px; font-weight: 600; line-height: 1.25; color: var(--color-text-soft); max-width: 110px; }
body[data-g7-curr="USD"] .curr-note { display: inline-block; }
@media (max-width: 600px) { .curr-note { display: none !important; } }
.curr-disclaimer { font-size: 13px; color: var(--color-text-soft); background: var(--color-accent-soft); border: 1px solid var(--color-line); border-radius: var(--radius-input); padding: var(--space-2) var(--space-3); margin-top: var(--space-3); }
.cart-btn { position: relative; font-size: 15px; font-weight: 600; }
.cart-btn .count {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 20px; height: 20px; padding: 0 6px; margin-left: var(--space-1);
  background: var(--color-accent); color: var(--color-on-accent);
  border-radius: var(--radius-pill); font-size: 12px;
}

/* Mobile nav toggle — hidden on desktop; revealed ≤600px (see responsive block) */
.nav-toggle-input { display: none; }
.nav-toggle { display: none; }

/* ── Hero ── */
.hero {
  background: linear-gradient(180deg, var(--mint-500), var(--mint-600));
  color: #fff; padding-block: var(--space-8);
}
.hero__inner { max-width: 760px; }
.hero .eyebrow { color: #C7E5E1; }
.hero h1 { color: #fff; margin-top: var(--space-3); }
.hero p { color: #E6F4F1; font-size: var(--text-lead-size); line-height: var(--text-lead-line); margin-top: var(--space-4); max-width: 600px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: var(--space-3); margin-top: var(--space-6); }

/* ── Trust strip ── */
.trust-strip { background: var(--color-surface); border-bottom: var(--border-hairline) solid var(--color-line); }
.trust-strip__inner { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--space-5) var(--space-6); padding-block: var(--space-4); }
.trust-item { display: inline-flex; align-items: center; gap: var(--space-2); font-size: 14px; font-weight: 600; color: var(--color-text); }
.trust-item .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--color-accent); }

/* ── Product grid / cards ── */
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-5); margin-top: var(--space-7); }
.card {
  background: var(--color-canvas); border: var(--border-hairline) solid var(--color-line);
  border-radius: var(--card-radius); overflow: hidden; display: flex; flex-direction: column;
  transition: box-shadow .2s ease, transform .2s ease, border-color .2s ease;
}
.card:hover { box-shadow: 0 14px 32px -16px rgba(21,48,44,0.22); border-color: var(--color-accent-soft); transform: translateY(-4px); }
.card__media { aspect-ratio: 1 / 1; background: var(--color-surface); display: grid; place-items: center; position: relative; }
.card__media .ph { color: var(--color-accent-deep); font-weight: 700; letter-spacing: .04em; font-size: 13px; opacity: .65; }
.card__body { padding: var(--space-4); display: flex; flex-direction: column; gap: var(--space-2); flex: 1; }
.card__cat { font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--color-accent-deep); }
.card__title { font-size: 16px; font-weight: 700; color: var(--color-text); line-height: 1.3; display:-webkit-box; -webkit-box-orient:vertical; -webkit-line-clamp:2; overflow:hidden; text-overflow:ellipsis; min-height:2.6em; max-height:2.6em; }
.card__price { font-size: 22px; font-weight: 700; color: var(--color-accent-deep); line-height: 1.1; margin-top: 2px; }
.card__price .cur { font-size: 12px; font-weight: 600; color: var(--color-text-soft); margin-right: 3px; vertical-align: 2px; }
.card__sub { font-size: 13px; color: var(--color-text-soft); }
.card__body .btn { margin-top: auto; }
.btn--soldout { background: #B85C3C; color: #fff; border: 1px solid #A04E32; cursor: pointer; transition: background .2s; } .btn--soldout:hover { background: #A04E32; text-decoration: none; }

/* ── Value props ── */
.value-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-5); margin-top: var(--space-6); }
.value {
  background: var(--color-surface); border: var(--border-hairline) solid var(--color-line);
  border-radius: var(--card-radius); padding: var(--space-5);
}
.value h3 { font-size: 18px; }
.value p { color: var(--color-text-soft); margin-top: var(--space-2); margin-bottom: 0; }
.value__icon {
  width: 40px; height: 40px; border-radius: var(--radius-input);
  background: var(--color-accent-soft); color: var(--color-accent-deep);
  display: grid; place-items: center; font-weight: 800; margin-bottom: var(--space-3);
}

/* ── Assessment CTA band ── */
.cta-band {
  background: var(--color-canvas); border-block: var(--border-hairline) solid var(--color-line);
}
.cta-band__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-5); }
.cta-band p { margin: var(--space-2) 0 0; color: var(--color-text-soft); max-width: 520px; }

/* ── Notice (research-use) ── */
.notice {
  display: flex; gap: var(--space-3); align-items: flex-start;
  background: var(--color-accent-soft); border: 1px solid var(--color-accent);
  border-radius: var(--radius-input); padding: var(--space-4);
  font-size: 14px; color: var(--color-on-accent);
}
.notice strong { color: var(--color-on-accent); }

/* ── Footer ── */
.site-footer { background: var(--mint-700); color: #C7DBD6; padding-block: var(--space-7); }
.site-footer a { color: #E6F4F1; }
.site-footer__inner { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: var(--space-6); }
.site-footer h4 { color: #fff; font-size: 13px; text-transform: uppercase; letter-spacing: .08em; margin-bottom: var(--space-3); }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: var(--space-2); }
.site-footer ul a { font-size: 14px; }
.site-footer__bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: var(--space-6); padding-top: var(--space-4); font-size: 13px; color: #9DB5AF; display: flex; flex-wrap: wrap; gap: var(--space-4); justify-content: space-between; align-items: flex-start; }
/* Brand column: tagline, trust badges, support email */
.site-footer .footer-brand p.footer-tagline { margin: var(--space-3) 0 0; max-width: 320px; color: #C7DBD6; font-size: 14px; line-height: 1.5; }
.site-footer .footer-trust { margin: var(--space-4) 0 0; display: flex; flex-direction: column; gap: 8px; font-size: 13px; color: #E6F4F1; font-weight: 500; }
.site-footer .footer-support { margin: var(--space-4) 0 0; font-size: 14px; color: #C7DBD6; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.site-footer .footer-support a { color: #fff; font-weight: 600; }
/* Footer trust icons: reuse the top-bar .g7-ico set, sized + mint to match. */
.site-footer .g7-ico { width: 14px; height: 14px; flex: 0 0 auto; color: #3FB8AF; }
.site-footer .footer-trust li { display: flex; align-items: center; gap: 8px; }
/* Bold research-use disclaimer — full-width line above copyright/legal */
.site-footer__bottom .footer-research-use { flex-basis: 100%; font-weight: 700; color: #fff; background: rgba(0,0,0,.18); border: 1px solid rgba(255,255,255,.18); border-radius: var(--radius-input); padding: var(--space-2) var(--space-3); margin-bottom: var(--space-1); font-size: 13px; }

/* ── Swiss-tech grid system (12-col, 8px math) ── */
.grid {
  display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--space-5);
}
.col-12 { grid-column: span 12; } .col-8 { grid-column: span 8; }
.col-7 { grid-column: span 7; } .col-6 { grid-column: span 6; }
.col-5 { grid-column: span 5; } .col-4 { grid-column: span 4; }
.col-3 { grid-column: span 3; }

/* Swiss-style section header (eyebrow + rule) */
.sec-head { display: flex; align-items: baseline; justify-content: space-between; gap: var(--space-4); border-bottom: 1px solid var(--color-line); padding-bottom: var(--space-3); margin-bottom: var(--space-2); }
.sec-head .lead { max-width: 460px; }

/* index numeral (Swiss detail) */
.idx { font-variant-numeric: tabular-nums; font-weight: 700; color: var(--color-accent); font-size: 13px; letter-spacing: .04em; }

/* hero asymmetry */
.hero--swiss .hero__inner { grid-column: span 7; }

/* spec table (product detail / Swiss data-forward) */
.spec-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.spec-table th, .spec-table td { text-align: left; padding: var(--space-2) var(--space-3); border-bottom: 1px solid var(--color-line); }
.spec-table th { font-weight: 600; color: var(--color-text-soft); width: 40%; }

/* badge row */
.badges { display: flex; flex-wrap: wrap; gap: var(--space-2); }
.pill { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: var(--radius-pill); background: var(--color-accent-soft); color: var(--color-accent-deep); }
.pill--line { background: transparent; border: 1px solid var(--color-line); color: var(--color-text-soft); }

/* ── Responsive ── */
@media (max-width: 900px) {
  .product-grid, .value-grid { grid-template-columns: repeat(2, 1fr); }
  .site-footer__inner { grid-template-columns: 1fr 1fr; }
  .col-7, .col-5, .col-4 { grid-column: span 12; }
}
@media (max-width: 600px) {
  .product-grid, .value-grid { grid-template-columns: 1fr; }
  /* Mobile nav: hamburger reveals a full-width dropdown panel (CSS-only, checkbox hack) */
  .nav-toggle {
    display: inline-flex; flex-direction: column; justify-content: center; gap: 5px;
    width: 42px; height: 42px; align-items: center; cursor: pointer;
    border: 1px solid var(--color-line); border-radius: var(--radius-input); background: var(--color-canvas);
    margin-left: var(--space-3);
  }
  .nav-toggle span { display: block; width: 20px; height: 2px; background: var(--color-text); border-radius: 2px; transition: transform .2s ease, opacity .2s ease; }
  .nav-toggle-input:checked ~ .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle-input:checked ~ .nav-toggle span:nth-child(2) { opacity: 0; }
  .nav-toggle-input:checked ~ .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .header-actions { margin-left: auto; }
  .site-nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0; margin-left: 0;
    background: var(--color-canvas); border-bottom: 1px solid var(--color-line);
    box-shadow: var(--shadow-sm); padding: var(--space-2) 0; z-index: 60;
  }
  .nav-toggle-input:checked ~ .site-nav { display: flex; }
  .site-nav ul, .site-nav .menu { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
  .site-nav a { padding: var(--space-3) var(--space-5); border-bottom: 1px solid var(--color-line); font-size: 16px; }
  h1 { font-size: 34px; }
  h2 { font-size: 26px; }
}

/* ============================================================
   Swiss-tech sections — mint adaptation of the Swiss Tech Pharma layout
   (structure/layout borrowed; G7 mint + components retained)
   ============================================================ */

/* Canadian hero badge */
.hero-badge { display:inline-flex; align-items:center; gap:8px; background:var(--color-accent-soft); color:var(--color-accent-deep); border:1px solid var(--color-accent); padding:6px 14px; border-radius:var(--radius-pill); font-size:13px; font-weight:600; }
.hero-badge svg { display:block; }

/* Split hero — intentional two-column composition: ~47% copy / 53% visual.
   The product visual is the focal point (large, vertically centered); copy
   stays spacious and never reads as a wall. Supersedes the full-width-headline
   (.hero--stack) iteration. */
.hero--split { background: radial-gradient(125% 135% at 78% -12%, var(--color-accent-soft) 0%, #fff 60%); color: var(--color-text); padding-top: clamp(40px, 5vw, 64px); padding-bottom: clamp(56px, 7vw, 96px); border-bottom: 1px solid var(--color-line); }
.hero--split .container { max-width: 1280px; }
.hero--split .hero__cols { display: grid; grid-template-columns: minmax(0, 0.82fr) minmax(0, 1fr); gap: var(--space-6); align-items: center; }
.hero--split .hero__copy { min-width: 0; }
.hero--split .hero-badge { margin-bottom: var(--space-4); }
.hero--split .hero__title { color: var(--color-text); margin-top: 0; font-size: clamp(2.2rem, 3.3vw, 2.55rem); line-height: 1.1; letter-spacing: -0.02em; }
.hero--split .hero-sub { color: var(--color-text-soft); font-size: var(--text-lead-size); line-height: var(--text-lead-line); margin-top: var(--space-5); max-width: 540px; }
.hero--split .hero__cta { display: flex; flex-direction: column; align-items: flex-start; gap: var(--space-3); margin-top: var(--space-6); }
.hero--split .hero__media { min-width: 0; display: flex; justify-content: center; align-items: center; }
/* Nudge the hero visual right ~20px and scale it up ~8%. transform-only so the
   copy column (left) is provably untouched — no reflow, no width change.
   transform-origin left center grows the image rightward into the outer margin
   (keeps the copy↔image gap intact, doesn't crowd the text). */
.hero--split .hero-img { transform: translateX(20px) scale(1.08); transform-origin: left center; }
@media ( max-width: 880px ) {
  .hero--split .hero__cols { grid-template-columns: 1fr; gap: var(--space-6); }
  .hero--split .hero__title { font-size: clamp(1.9rem, 6.5vw, 2.6rem); }
  /* On mobile the visual stacks below the copy — keep it centered, no right shift. */
  .hero--split .hero-img { transform: none; }
}
.media-ph { aspect-ratio:4/5; border-radius:var(--card-radius); background:linear-gradient(160deg, var(--color-accent-soft), var(--color-surface) 70%); border:1px solid var(--color-line); display:grid; place-items:center; gap:var(--space-2); color:var(--color-accent-deep); font-weight:600; font-size:13px; text-align:center; padding:var(--space-5); box-shadow:var(--shadow-sm); }
.media-ph .tag { font-size:11px; font-weight:700; letter-spacing:.08em; text-transform:uppercase; color:var(--color-accent); }
.hero-img { display:block; width:auto; max-width:100%; max-height:700px; margin-inline:auto; }
/* Hero polish: mint-accented H1 keywords, badge icon, clincher pull-quote.
   .hero h1 .accent is scope-agnostic — H1 may live in .hero__head or .hero__copy. */
.hero h1 .accent { color: var(--color-accent-deep); }
.hero-badge .g7-ico { width:14px; height:14px; color: var(--color-accent-deep); }
.hero__copy .hero-claim {
  position: relative;
  margin-top: var(--space-4);
  padding-left: var(--space-4);
  border-left: 3px solid var(--color-accent);
  font-weight: 600;
  font-size: var(--text-lead-size);
  line-height: var(--text-lead-line);
  color: var(--color-text);
  max-width: 520px;
}
/* Product photos are portrait (2:3) vials. Where a card holds a real <img>, match the
   source ratio so the photo fills edge-to-edge — no letterbox strip, no crop. Cards
   that use the .ph text placeholder (no <img>) keep the square 1/1 declared above. */
.card__media:has(img) { aspect-ratio: 2 / 3; }
.card__media a { display: block; width: 100%; height: 100%; }
.card__media img { width: 100%; height: 100%; object-fit: cover; max-width: none; max-height: none; display: block; }
.card__media { aspect-ratio: 1 / 1; }

/* Research-library / category grid */
.cat-grid { display:grid; grid-template-columns:repeat(4, 1fr); gap:var(--space-5); margin-top:var(--space-7); }

/* Assessment — image left, stacked text + button right */
.assessment-split { display:grid; grid-template-columns:minmax(280px,360px) 1fr; gap:var(--space-7); align-items:center; }
.assessment-split__media img { width:100%; height:auto; border-radius:var(--radius-card); display:block; box-shadow:var(--shadow-sm); }
.assessment-split__content { display:flex; flex-direction:column; gap:var(--space-3); align-items:flex-start; max-width:520px; justify-self:end; }
.assessment-split__content h2 { margin:0; }
.assessment-split__content .assessment-copy { color:var(--color-text-soft); font-size:var(--text-lead-size); line-height:var(--text-lead-line); margin:0; }
@media (max-width:860px) { .assessment-split { grid-template-columns:1fr; gap:var(--space-5); } .assessment-split__media { max-width:300px; } }

/* Wholesale / clinic login — text + buttons left, image right on the mint band */
.wholesale-split { display:grid; grid-template-columns:1fr 1fr; gap:var(--space-7); align-items:center; }
.wholesale-split__media img { width:100%; max-width:540px; height:auto; margin-left:auto; border-radius:var(--radius-card); display:block; border:1px solid rgba(255,255,255,0.14); }
@media (max-width:860px) { .wholesale-split { grid-template-columns:1fr; gap:var(--space-5); } .wholesale-split__media { max-width:320px; } }

/* Brand statement — between products and reviews */
.statement-band { background:var(--color-accent-soft); }
.statement-split { display:grid; grid-template-columns:1fr 1fr; gap:var(--space-7); align-items:center; }
.statement-words { font-size:clamp(40px,5vw,64px); font-weight:800; line-height:1.04; letter-spacing:-0.02em; color:var(--color-text); margin:0; }
.statement-accent { color:var(--color-accent-deep); }
.statement-sub { color:var(--color-text-soft); font-size:var(--text-lead-size); line-height:var(--text-lead-line); margin-top:var(--space-5); max-width:440px; }
.statement-split__media img { width:100%; height:auto; display:block; border-radius:var(--radius-card); }
@media (max-width:860px) { .statement-split { grid-template-columns:1fr; gap:var(--space-5); } .statement-split__media { max-width:340px; } }
.cat-card {
  position:relative; overflow:hidden;
  background:var(--color-canvas);
  border:1px solid var(--color-line);
  border-radius:var(--card-radius);
  padding:var(--space-5);
  display:flex; flex-direction:column; gap:var(--space-4);
  min-height:148px;
  text-decoration:none; color:var(--color-text);
  transition:transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.cat-card::before {
  content:""; position:absolute; left:0; top:0; bottom:0; width:3px;
  background:var(--color-accent);
  transform:scaleY(0); transform-origin:top; transition:transform .2s ease;
}
.cat-card:hover {
  transform:translateY(-4px);
  box-shadow:0 14px 32px -14px rgba(21,48,44,0.20);
  border-color:var(--color-accent-soft);
  text-decoration:none;
}
.cat-card:hover::before { transform:scaleY(1); }
.cat-icon {
  width:44px; height:44px; border-radius:12px;
  display:grid; place-items:center;
  background:var(--color-accent-soft);
  color:var(--color-accent-deep);
}
.cat-icon svg { width:22px; height:22px; }
.cat-title { font-size:16px; font-weight:600; letter-spacing:-0.01em; }
.cat-count { font-size:13px; color:var(--color-text-soft); }

/* Reviews marquee */
.marquee { overflow:hidden; -webkit-mask-image:linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image:linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display:flex; gap:var(--space-4); width:max-content; animation:marquee 42s linear infinite; }
.marquee:hover .marquee-track { animation-play-state:paused; }
@keyframes marquee { from { transform:translateX(0); } to { transform:translateX(-50%); } }
.review-card { flex:0 0 360px; background:var(--color-canvas); border:1px solid var(--color-line); border-radius:var(--card-radius); padding:var(--space-5); display:flex; flex-direction:column; gap:var(--space-4); box-shadow:0 6px 20px -16px rgba(21,48,44,0.18); }
.review-text { font-size:15px; color:var(--color-text); margin:0; line-height:1.6; }
.review-stars { color:#E0A800; letter-spacing:1px; font-size:14px; }
.review-byline { display:flex; align-items:center; gap:var(--space-3); margin-top:auto; }
.review-avatar { flex:0 0 auto; width:40px; height:40px; border-radius:50%; display:grid; place-items:center; background:var(--color-accent-soft); color:var(--color-accent-deep); font-size:14px; font-weight:700; letter-spacing:.02em; }
.review-who { display:flex; flex-direction:column; gap:1px; min-width:0; }
.review-name { font-size:14px; font-weight:700; color:var(--color-text); line-height:1.2; }
.review-meta { font-size:12px; color:var(--color-text-soft); line-height:1.3; }

/* ── Comparison table (Why G7) ── */
.compare-section { background:var(--color-surface); }
.compare-head { text-align:center; display:flex; flex-direction:column; align-items:center; gap:var(--space-2); margin-bottom:var(--space-7); }
.compare-head .lead { max-width:720px; }
.compare { max-width:880px; margin-inline:auto; border:1px solid var(--color-line); border-radius:var(--card-radius); overflow:hidden; box-shadow:0 10px 28px -18px rgba(21,48,44,0.25); background:var(--color-canvas); }
.compare-table { width:100%; border-collapse:collapse; }
.compare-table th, .compare-table td { padding:var(--space-4) var(--space-5); text-align:left; vertical-align:middle; font-size:15px; }
.compare-table thead th { background:var(--mint-700); color:#fff; font-size:12px; font-weight:600; letter-spacing:.08em; text-transform:uppercase; }
.compare-table thead th.col-us { background:var(--color-accent-deep); }
.compare-table tbody tr + tr td { border-top:1px solid var(--color-line); }
.compare-table td.col-feature { font-weight:600; color:var(--color-text); width:36%; }
.compare-table td.col-us { background:var(--color-accent-soft); color:var(--color-text); font-weight:500; }
.compare-table td.col-them { color:var(--color-text-soft); }
.ck { display:inline-block; width:16px; height:16px; vertical-align:middle; margin-right:var(--space-2); flex:0 0 auto; background-color:currentColor; -webkit-mask-repeat:no-repeat; mask-repeat:no-repeat; -webkit-mask-position:center; mask-position:center; }
.ck-yes { color:var(--color-accent-deep); -webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E"); mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E"); }
.ck-no { color:#AEBBB7; -webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='6' y1='6' x2='18' y2='18'/%3E%3Cline x1='18' y1='6' x2='6' y2='18'/%3E%3C/svg%3E"); mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='6' y1='6' x2='18' y2='18'/%3E%3Cline x1='18' y1='6' x2='6' y2='18'/%3E%3C/svg%3E"); }
@media (max-width: 600px) {
  .compare-table th, .compare-table td { padding:var(--space-3); font-size:14px; }
  .compare-table td.col-feature { width:auto; }
}

/* ── FAQ ── */
.center-head { text-align:center; display:flex; flex-direction:column; align-items:center; gap:var(--space-2); margin-bottom:var(--space-7); }
.center-head .lead { max-width:540px; }
.faq { max-width:760px; margin-inline:auto; display:flex; flex-direction:column; gap:var(--space-3); }
.faq-item { background:var(--color-canvas); border:1px solid var(--color-line); border-radius:var(--card-radius); overflow:hidden; transition:border-color .2s ease, box-shadow .2s ease; }
.faq-item[open] { border-color:var(--color-accent-soft); box-shadow:var(--shadow-sm); }
.faq-item summary { list-style:none; cursor:pointer; padding:var(--space-4) var(--space-5); display:flex; align-items:center; justify-content:space-between; gap:var(--space-3); font-weight:600; color:var(--color-text); font-size:16px; }
.faq-item summary::-webkit-details-marker { display:none; }
.faq-item summary:hover { color:var(--color-accent-deep); }
.faq-q-icon { flex:0 0 auto; width:20px; height:20px; position:relative; }
.faq-q-icon::before, .faq-q-icon::after { content:""; position:absolute; top:50%; left:50%; width:12px; height:2px; background:var(--color-accent-deep); border-radius:2px; transform:translate(-50%,-50%); transition:transform .2s ease, opacity .2s ease; }
.faq-q-icon::after { transform:translate(-50%,-50%) rotate(90deg); }
.faq-item[open] .faq-q-icon::after { transform:translate(-50%,-50%) rotate(0deg); opacity:0; }
.faq-a { padding:0 var(--space-5) var(--space-5); color:var(--color-text-soft); font-size:15px; line-height:1.6; }

/* Manufacturing / quality band (dark, numbered pillars) */
.quality-band { background:var(--mint-700); color:#E6F4F1; }
.quality-band h2 { color:#fff; }
.quality-band > .container > .lead { color:#9DB5AF; }
.pillars { display:grid; grid-template-columns:repeat(4, 1fr); gap:var(--space-5); margin-top:var(--space-6); }
.pillar-num { font-size:13px; font-weight:700; color:var(--mint-500); letter-spacing:.04em; }
.pillar h3 { font-size:16px; margin-top:var(--space-2); color:#fff; }
.pillar p { font-size:14px; color:#9DB5AF; margin-top:var(--space-2); margin-bottom:0; }
.wholesale-cta { max-width:680px; }
.wholesale-actions { display:flex; flex-wrap:wrap; gap:var(--space-3); margin-top:var(--space-6); }

/* Resources row */
.resource-grid { display:grid; grid-template-columns:repeat(3, 1fr); gap:var(--space-5); margin-top:var(--space-6); }
.resource-card { background:var(--color-canvas); border:1px solid var(--color-line); border-radius:var(--card-radius); padding:var(--space-5); }
.resource-icon { width:44px; height:44px; border-radius:var(--radius-input); background:var(--color-accent-soft); color:var(--color-accent-deep); display:grid; place-items:center; margin-bottom:var(--space-3); }
.resource-card h3 { font-size:18px; }
.resource-card p { color:var(--color-text-soft); margin-top:var(--space-2); margin-bottom:0; }
.resource-link { display:inline-block; margin-top:var(--space-3); font-weight:600; color:var(--color-accent-deep); font-size:14px; }

/* marquee + grids responsive */
@media (max-width: 900px) {
  .cat-grid { grid-template-columns:repeat(2, 1fr); }
  .pillars { grid-template-columns:repeat(2, 1fr); }
  .resource-grid { grid-template-columns:1fr; }
}
@media (max-width: 600px) {
  .cat-grid { grid-template-columns:1fr; }
  .pillars { grid-template-columns:1fr; }
}

/* ============================================================
   Generic content pages (page.php) — About / Contact / FAQ /
   Resources / Assessment / Wholesale. Styled by g7.css alone.
   ============================================================ */
.g7-page { padding-block: clamp(56px, 7vw, 96px); }
.g7-page__head { margin-bottom: var(--space-6); }
.g7-page__title {
  font-size: clamp(32px, 4.6vw, var(--text-h1-size));
  font-weight: var(--text-h1-weight); line-height: var(--text-h1-line);
  letter-spacing: var(--text-h1-tracking); color: var(--color-text); margin: 0;
}
.g7-content { font-size: 17px; line-height: 1.7; color: var(--color-text-soft); }
.g7-content > *:first-child { margin-top: 0; }
.g7-content h2 { font-size: var(--text-h2-size); font-weight: var(--text-h2-weight); line-height: var(--text-h2-line); letter-spacing: var(--text-h2-tracking); color: var(--color-text); margin: var(--space-7) 0 var(--space-3); }
.g7-content h3 { font-size: var(--text-h3-size); font-weight: var(--text-h3-weight); line-height: var(--text-h3-line); letter-spacing: var(--text-h3-tracking); color: var(--color-text); margin: var(--space-6) 0 var(--space-2); }
.g7-content p { margin: 0 0 var(--space-4); }
.g7-content ul, .g7-content ol { margin: 0 0 var(--space-4); padding-left: var(--space-5); }
.g7-content li { margin-bottom: var(--space-2); }
.g7-content a { color: var(--color-accent-deep); text-decoration: underline; text-underline-offset: 2px; }
.g7-content a:hover { color: var(--color-accent); }
.g7-content img { border-radius: var(--radius-input); margin-bottom: var(--space-4); }
.g7-content strong { color: var(--color-text); font-weight: 600; }
.g7-content hr { border: none; border-top: 1px solid var(--color-line); margin: var(--space-6) 0; }
.g7-content blockquote { border-left: 3px solid var(--color-accent); padding: var(--space-1) 0 var(--space-1) var(--space-4); margin: var(--space-5) 0; color: var(--color-text-soft); }
.g7-content .faq { margin-top: var(--space-5); }
.g7-content .g7-notice { margin: var(--space-5) 0; }
.g7-content .btn { text-decoration: none; }
.g7-content .g7-callout {
  background: var(--color-surface); border: 1px solid var(--color-line); border-radius: var(--card-radius);
  padding: var(--space-5); margin: var(--space-5) 0;
}
.g7-content .g7-callout h2, .g7-content .g7-callout h3 { margin-top: 0; }
/* Contact Form 7 — keep inputs on-brand within content pages */
.g7-content .wpcf7-form { margin-top: var(--space-4); }
.g7-content .wpcf7-form label { display: block; font-size: 14px; font-weight: 600; color: var(--color-text); margin-bottom: 6px; }
.g7-content .wpcf7-form p { margin-bottom: var(--space-4); }
.g7-content .wpcf7-form input[type="text"],
.g7-content .wpcf7-form input[type="email"],
.g7-content .wpcf7-form input[type="tel"],
.g7-content .wpcf7-form textarea,
.g7-content .wpcf7-form select {
  width: 100%; height: 44px; padding: 0 12px; border: 1px solid var(--input-border);
  border-radius: var(--radius-input); font-family: var(--font-body); font-size: 15px;
  color: var(--color-text); background: var(--white);
}
.g7-content .wpcf7-form textarea { height: auto; min-height: 130px; padding: 10px 12px; }
.g7-content .wpcf7-form input:focus,
.g7-content .wpcf7-form textarea:focus { outline: none; border-color: var(--color-accent); box-shadow: 0 0 0 3px rgba(63,184,175,.15); }
.g7-content .wpcf7-submit {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2);
  font-family: var(--font-body); font-weight: var(--text-label-weight); font-size: 15px;
  letter-spacing: var(--text-label-tracking); text-transform: uppercase;
  padding: var(--space-3) var(--space-5); border-radius: var(--button-radius);
  border: 1px solid transparent; background: var(--button-bg); color: var(--button-color);
  cursor: pointer; transition: background .15s ease;
}
.g7-content .wpcf7-submit:hover { background: var(--button-bg-hover); }
.g7-content .wpcf7-response-output { border-radius: var(--radius-input); margin-top: var(--space-3); }
.g7-content .screen-reader-response { display: none; }

/* Footer logo - pin height so WooCommerce core `.woocommerce img { height:auto }`
   (active on woocommerce-page bodies, e.g. single-product) cannot blow the SVG up
   to its intrinsic viewBox. Home page body lacks .woocommerce so it was already
   fine; this makes both footers identical. Specificity (0,2,1) beats Woo (0,1,1). */
.site-footer__inner img { height: 28px; width: auto; }

/* ============================================================
   Homepage overhaul (2026-08-12) — top trust bar, G7 Difference,
   COA Truth section, hero trustline. Tokens inherited from brand-tokens.
   ============================================================ */

/* Top trust/announcement bar — global (header.php), sits above the sticky
   site-header and scrolls away. Deep mint-tinted black, not pure #000. */
.g7-topbar { background:#0B1F1C; color:#E6F4F1; border-bottom:1px solid rgba(255,255,255,.08); }
.g7-topbar__inner {
  display:flex; flex-wrap:wrap; align-items:center; justify-content:center;
  gap:var(--space-2) var(--space-4); padding-block:5px;
  font-size:12.5px; font-weight:600; letter-spacing:.01em;
}
.g7-topbar__inner span { display:inline-flex; align-items:center; gap:6px; white-space:nowrap; }
.g7-topbar__inner .sep { color:rgba(255,255,255,.22); font-weight:400; }
/* Trust icons: Clinical Mint stroke glyphs (replace emoji). currentColor so the
   svg inherits the mint below; sized to the topbar's small caption type. */
.g7-topbar__inner .g7-ico { width:14px; height:14px; flex:0 0 auto; color:#3FB8AF; }
@media (max-width:760px){
  .g7-topbar__inner { gap:4px 10px; font-size:11.5px; }
  .g7-topbar__inner .sep { display:none; }
  .g7-topbar__inner .g7-ico { width:12px; height:12px; }
}

/* Hero trust line — quiet footer to the hero. Scoped under .hero (0,2,0) so it beats
   the dark-hero `.hero p{color:#E6F4F1}` (0,1,1) regardless of hero variant. */
.hero .hero-trustline {
  margin-top: var(--space-6); font-size: 13px; font-weight: 500; color: var(--color-text-soft);
  display: inline-flex; align-items: center; gap: 8px;
}
.hero .hero-trustline::before { content:""; width:5px; height:5px; border-radius:50%; background:var(--color-accent); display:inline-block; opacity:.7; }

/* G7 Difference — 3 honest value props */
.difference-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:var(--space-5); margin-top:var(--space-6); align-items:stretch; }
/* Flip cards — front = brand image + title; back = paragraph. 3D flip on hover +
   keyboard focus (progressive enhancement). Touch (hover:none) + reduced-motion
   users get the full content as a static stack so nothing is hidden behind hover.
   Images are optional: a mint-gradient placeholder shows until the PNG is uploaded. */
.flip-card { perspective:1400px; }
.flip-card:focus-visible { outline:2px solid var(--color-accent); outline-offset:4px; border-radius:calc(var(--card-radius) + 4px); }
.flip-card__inner {
  position:relative; width:100%; height:100%; min-height:380px;
  transform-style:preserve-3d; transition:transform .65s cubic-bezier(.4,.2,.2,1);
}
.flip-card:hover .flip-card__inner,
.flip-card:focus-within .flip-card__inner { transform:rotateY(180deg); }

.flip-card__face {
  position:absolute; inset:0; backface-visibility:hidden; -webkit-backface-visibility:hidden;
  background:var(--color-canvas); border:1px solid var(--color-line); border-radius:var(--card-radius);
  overflow:hidden; display:flex; transition:border-color .25s ease, box-shadow .25s ease;
}
.flip-card__front { flex-direction:column; }
.flip-card__back { transform:rotateY(180deg); align-items:flex-start; justify-content:center; padding:var(--space-6); }
.flip-card__back::before { content:""; position:absolute; top:0; left:0; width:100%; height:4px; background:linear-gradient(90deg, var(--color-accent), var(--color-accent-deep)); }
.flip-card__back p { color:var(--color-text); font-size:16px; line-height:1.65; margin:0; }

.flip-card__media { width:100%; aspect-ratio:3/2; flex:0 0 auto; overflow:hidden;
  background:linear-gradient(135deg,#FFFFFF 0%, var(--color-accent-soft) 140%); }
.flip-card__media img { width:100%; height:100%; object-fit:cover; display:block; }
.flip-card__placeholder { display:block; width:100%; height:100%;
  background:
    radial-gradient(circle at 30% 32%, rgba(63,184,175,.20), transparent 55%),
    radial-gradient(circle at 78% 72%, rgba(46,140,132,.16), transparent 55%),
    linear-gradient(135deg,#FFFFFF, var(--color-accent-soft)); }

.flip-card__caption { padding:var(--space-5) var(--space-6) var(--space-6); display:flex; flex-direction:column; gap:var(--space-2); }
.flip-card__caption h3 { font-size:19px; line-height:1.25; color:var(--color-text); margin:0; }
.flip-card__hint { font-size:12.5px; font-weight:600; letter-spacing:.04em; text-transform:uppercase; color:var(--color-accent-deep); }
.flip-card__hint::after { content:" →"; }

.flip-card:hover .flip-card__face,
.flip-card:focus-within .flip-card__face { border-color:var(--color-accent-soft); box-shadow:0 16px 34px -20px rgba(21,48,44,.24); }

@media (max-width:900px){ .difference-grid { grid-template-columns:1fr; } }
/* Touch + reduced-motion: no 3D, no flip — image + title + paragraph stack normally
   so the paragraph is never trapped behind a hover state. */
@media (hover:none), (prefers-reduced-motion:reduce) {
  .flip-card { perspective:none; }
  .flip-card__inner { transform:none !important; transform-style:flat; transition:none; }
  .flip-card__face { position:relative; inset:auto; backface-visibility:visible; -webkit-backface-visibility:visible; box-shadow:none; }
  .flip-card__back { transform:none; padding:0 var(--space-6) var(--space-6); justify-content:flex-start; }
  .flip-card__back::before { display:none; }
  .flip-card__hint { display:none; }
}

/* COA Truth section — LEFT narrative in 4 layers + payoff pull-quote;
   RIGHT white "proof" card = the evidence (hook quote + 3 numbered points).
   Left column's job = the argument (what's wrong -> what we believe -> what we do);
   right card's job = the proof (how we verify it). Copy byte-for-byte verbatim;
   the former close paragraph is split into an "Our Approach" body + an extracted
   payoff pull-quote ("That's not just transparency. That's accountability.")
   promoted to the climax. Body paragraphs (statement + approach) share ONE size for consistency; scale tightened to headline -> payoff -> body -> note. Em dashes in the points -> commas per user direction. */
.coa-section { background:var(--color-surface); border-block:1px solid var(--color-line); }
.coa-section .container { max-width:1180px; }
.coa-split { display:grid; grid-template-columns:minmax(0,1.05fr) minmax(0,0.95fr); gap:var(--space-6); align-items:center; }

/* Left — narrative column: eyebrow -> headline -> statement -> OUR APPROACH -> payoff -> CTA -> note. */
.coa-content { min-width:0; }
.coa-section .coa-content__title {
  margin:var(--space-2) 0 0;
  font-size:clamp(2.3rem,3.1vw,2.75rem);        /* 40-44px — headline, section anchor (kept largest) */
  line-height:1.06; letter-spacing:-0.02em; color:var(--color-text);
}
.coa-statement {                                /* body para 1, full ink + full width; matches .coa-approach__body */
  font-size:1.125rem;                           /* 18px */
  line-height:1.6; color:var(--color-text); margin:var(--space-5) 0 0;
}
.coa-approach { margin-top:var(--space-5); }    /* LAYER 2 — the G7 position, set off by a small label */
.coa-approach__label {
  font-size:12px; font-weight:700; letter-spacing:.09em; text-transform:uppercase;
  color:var(--color-accent-deep); margin:0 0 var(--space-3);
}
.coa-approach__body { font-size:1.125rem; line-height:1.6; color:var(--color-text); margin:0; }
.coa-payoff {                                   /* the closing statement: pull-quote at BODY size for consistency */
  margin:var(--space-5) 0 0;
  font-size:1.125rem;                           /* 18px, matches .coa-statement + .coa-approach__body */
  line-height:1.6; font-weight:700; letter-spacing:-0.01em;
  color:var(--color-text); padding-left:16px; border-left:3px solid var(--color-accent);
}

/* CTA, then the helper line beneath it. */
.coa-cta { margin-top:var(--space-5); }
.coa-sub { margin:var(--space-3) 0 0; max-width:520px; color:var(--color-text-soft); font-size:13px; line-height:1.55; }

/* Right — white proof card (the "graphic" — floats on the section with a soft lift). */
.coa-proof {
  min-width:0;
  background:var(--color-canvas);
  border:1px solid var(--color-line);
  border-radius:var(--card-radius);
  box-shadow:0 1px 2px rgba(21,48,44,0.04), 0 10px 28px rgba(21,48,44,0.06);
  padding:2.75rem;
}
.coa-proof__quote {                      /* the punchy hero line */
  margin:0 0 var(--space-6);
  font-size:clamp(1.3rem,1.9vw,1.6rem); line-height:1.25; font-weight:700; letter-spacing:-0.01em;
  color:var(--color-text); padding-left:14px; border-left:3px solid var(--color-accent);
}
.coa-proof__label {
  font-size:13px; font-weight:700; letter-spacing:.06em; text-transform:uppercase;
  color:var(--color-accent-deep); margin:0 0 var(--space-4);
  padding-bottom:var(--space-3); border-bottom:1px solid var(--color-line);
}

/* Numbered points — mint-soft badges, scannable rows. */
.coa-points { list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:var(--space-4); }
.coa-points li { display:flex; align-items:flex-start; gap:var(--space-3); }
.coa-points__num {
  flex:0 0 auto; display:grid; place-items:center;
  width:30px; height:30px; border-radius:9px;
  background:var(--color-accent-soft); color:var(--color-accent-deep);
  font-size:12.5px; font-weight:700; letter-spacing:.02em;
}
.coa-points li > span:last-child { font-size:15.5px; line-height:1.55; color:var(--color-text); padding-top:4px; }

@media ( max-width: 880px ) {
  .coa-split { grid-template-columns:1fr; gap:var(--space-5); }
  .coa-proof { order:-1; }               /* proof card first on mobile, then the narrative */
  .coa-section .coa-content__title { font-size:clamp(1.9rem,6vw,2.3rem); }
}

