:root {
  --bg: oklch(98.7% 0.004 250);
  --bg-soft: oklch(96.7% 0.006 250);
  --surface: oklch(99.4% 0.002 250);
  --panel: oklch(94.2% 0.01 250);
  --panel-2: oklch(89.8% 0.014 250);
  --line: oklch(80.5% 0.018 250);
  --line-strong: oklch(67% 0.022 250);
  --text: oklch(20.5% 0.018 255);
  --muted: oklch(43% 0.022 255);
  --soft: oklch(31.5% 0.02 255);
  --ink: oklch(13.5% 0.018 255);
  --ink-2: oklch(18% 0.02 255);
  --red: oklch(42.5% 0.175 25);
  --red-dark: oklch(34% 0.145 25);
  --red-hover: oklch(37.5% 0.17 25);
  --red-soft: oklch(95.8% 0.028 25);
  --red-line: oklch(57% 0.16 25 / 0.34);
  --green: oklch(43% 0.12 154);
  --green-soft: oklch(94.5% 0.04 154);
  --shadow: 0 22px 55px oklch(18% 0.02 255 / 0.13), 0 2px 10px oklch(18% 0.02 255 / 0.07);
  --shadow-soft: 0 14px 36px oklch(18% 0.02 255 / 0.10), 0 1px 5px oklch(18% 0.02 255 / 0.06);
  --radius: 8px;
  --font-body: "Inter", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-heading: "Manrope", var(--font-body);
  font-family: var(--font-body);
}

/* Warehouse-only reference grid; the order sheet keeps its existing layout. */
.warehouse-tier-reference { margin: 0 0 24px; min-width: 0; }
.warehouse-tier-reference > summary { cursor: pointer; font-weight: 800; padding: 12px 0; }
.warehouse-tier-reference > p { max-width: 70ch; margin: 4px 0 12px; color: var(--muted); }
.warehouse-tier-scroll { max-width: 100%; overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }
.warehouse-tier-scroll:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }
.warehouse-tier-scroll table { width: 100%; min-width: 58rem; table-layout: fixed; border-collapse: collapse; font-size: 0.85rem; font-variant-numeric: tabular-nums; }
.warehouse-tier-scroll caption { padding: 12px; text-align: left; font-weight: 800; background: var(--panel); }
.warehouse-tier-scroll :is(th, td) { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: right; white-space: nowrap; }
.warehouse-tier-scroll th:first-child { width: 12rem; text-align: left; white-space: normal; }
.warehouse-tier-scroll tbody th { font-weight: 700; }
.warehouse-tier-scroll tbody th small { display: block; font-weight: 400; color: var(--muted); }

/* SEO authority pass: keep long catalog headings polished across breakpoints. */
.products-hero h1 {
  font-size: clamp(3rem, 6vw, 5.25rem);
}

.product-detail > *,
.product-gallery,
.detail-media,
.buy-box {
  min-width: 0;
  box-sizing: border-box;
}

@media (max-width: 640px) {
  .products-hero h1 {
    font-size: clamp(2.35rem, 13vw, 3.5rem) !important;
    line-height: 0.98 !important;
  }

  .product-gallery {
    width: 100%;
    padding: 0.75rem;
  }

  .product-gallery,
  .detail-media,
  .detail-media img {
    max-width: 100%;
  }
}

/* Age confirmation gate */
body.age-gate-active {
  overflow: hidden;
}

body.age-gate-active > :not(.age-gate-overlay) {
  pointer-events: none;
  user-select: none;
}

html.age-confirmed body.age-gate-active {
  overflow: auto;
}

html.age-confirmed body.age-gate-active > :not(.age-gate-overlay) {
  pointer-events: auto;
  user-select: auto;
}

html.age-confirmed .age-gate-overlay {
  display: none;
}

.age-gate-overlay {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: grid;
  place-items: center;
  min-height: 100vh;
  padding: clamp(1.25rem, 4vw, 2.5rem);
  background:
    radial-gradient(circle at 50% 15%, rgba(230, 0, 0, 0.16), transparent 34rem),
    rgba(2, 3, 5, 0.88);
  color: #ffffff;
}

.age-gate-card {
  width: min(100%, 560px);
  display: grid;
  gap: 1rem;
  padding: clamp(1.5rem, 5vw, 2.4rem);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 10px;
  background: linear-gradient(145deg, #0b0d13, #050609);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.45);
}

.age-gate-card h2 {
  margin: 0;
  color: #ffffff;
  font-size: clamp(2rem, 7vw, 3.4rem);
  line-height: 0.98;
}

.age-gate-card p {
  margin: 0;
  color: #d7dbe3;
  font-size: clamp(1rem, 2.4vw, 1.08rem);
  line-height: 1.65;
}

.age-gate-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.age-gate-actions .btn {
  min-height: 52px;
}

.age-gate-note {
  font-size: 0.88rem !important;
  color: #9ca3af !important;
}

@media (max-width: 520px) {
  .age-gate-actions {
    display: grid;
  }

  .age-gate-actions .btn {
    width: 100%;
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--text);
  background: var(--bg);
  min-height: 100vh;
  font-size: 17px;
}
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img, video, canvas { max-width: 100%; display: block; }
h1,
h2,
h3 {
  overflow-wrap: normal;
  word-break: normal;
  hyphens: manual;
}

.topbar {
  background: #090a0f;
  color: var(--muted);
  text-align: center;
  padding: 0.65rem 1rem;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--line);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  min-height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 0.75rem clamp(1rem, 4vw, 4rem);
  background: rgba(0, 0, 0, 0.88);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
}

.brand img { width: 176px; height: auto; }
.primary-nav { display: flex; align-items: center; gap: 1.55rem; }
.primary-nav a {
  color: var(--soft);
  font-weight: 800;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.75rem 0;
  border-bottom: 2px solid transparent;
}
.primary-nav a:hover,
.primary-nav a.active { color: var(--text); border-color: var(--red); }
.primary-nav a.nav-cta {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--red);
  border-radius: 6px;
  padding: 0.65rem 0.95rem;
  color: white;
  background: rgba(224, 0, 0, 0.16);
}
.primary-nav a.nav-cta:hover,
.primary-nav a.nav-cta.active {
  background: var(--red);
  border-color: var(--red);
}
.menu-toggle { display: none; }

main { overflow: hidden; }
.hero,
.page-hero,
.product-detail,
.section,
.trust-band,
.confidence,
.catalog-tools,
.content-page {
  width: min(1200px, calc(100% - 2rem));
  margin-inline: auto;
}

.hero {
  min-height: 560px;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 5rem);
  padding: clamp(2.5rem, 6vw, 5.5rem) 0;
}
.hero h1,
.page-hero h1 {
  margin: 0;
  font-size: 5.4rem;
  line-height: 0.92;
  letter-spacing: 0;
}
.hero p,
.page-hero p,
.lead {
  color: var(--muted);
  font-size: 1.12rem;
  line-height: 1.65;
  max-width: 720px;
}
.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  margin-top: 1.75rem;
}
.hero-metrics div {
  padding-left: 0.9rem;
  border-left: 1px solid var(--line);
}
.hero-metrics strong {
  display: block;
  color: white;
  font-size: 1.35rem;
  line-height: 1;
}
.hero-metrics span {
  display: block;
  margin-top: 0.4rem;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.4;
}
.hero-product {
  border-radius: var(--radius);
  background: var(--panel);
  border: 1px solid var(--line);
  padding: clamp(1rem, 2vw, 2rem);
  box-shadow: var(--shadow);
}
.hero-product img,
.detail-media img {
  border-radius: var(--radius);
  background: #f7f8fa;
}
.eyebrow {
  display: inline-block;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.hero-actions,
.section-heading {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}
.btn {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  padding: 0.9rem 1.35rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border: 1px solid var(--line);
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}
.btn:hover { transform: translateY(-1px); border-color: rgba(255,255,255,0.24); }
.btn-primary { background: var(--red); color: white; border-color: var(--red); }
.btn-primary:hover { background: #f00000; }
.btn-secondary { background: rgba(0,0,0,0.05); color: var(--text); border-color: var(--line); }
.btn-wide { width: 100%; margin-top: 1rem; }
.text-link {
  color: var(--text);
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.82rem;
}
.text-link:hover { color: var(--red); }

.trust-band {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  padding: 0 0 3rem;
}
.trust-band div,
.confidence-grid div,
.product-card,
.catalog-tools,
.content-page,
.variant-box,
.split-section > div,
.support-card,
.notice-box,
.payment-steps > div {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.trust-band div { padding: 1.2rem; }
.trust-band span {
  width: 10px;
  height: 10px;
  display: inline-block;
  border-radius: 99px;
  background: var(--green);
  margin-bottom: 1rem;
}
.trust-band strong,
.confidence-grid strong { display: block; font-size: 1.05rem; margin-bottom: 0.45rem; }
.trust-band p,
.confidence-grid p { margin: 0; color: var(--muted); line-height: 1.55; }

.section { padding: clamp(3.5rem, 7vw, 6.5rem) 0; }
.section-heading { justify-content: space-between; margin: 0 0 2rem; }
.section-heading h2,
.confidence h2,
.content-page h1 {
  margin: 0;
  font-size: 3.4rem;
  line-height: 1;
}
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}
.small-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.product-card h3 {
  margin: 0.35rem 0;
  font-size: 1.08rem;
}
.product-card p,
.content-page p,
.content-page li,
.split-section p,
.spec-list li,
.article-list p,
details p {
  color: var(--muted);
  line-height: 1.65;
}
.product-card { overflow: hidden; display: flex; flex-direction: column; }
.product-media {
  display: block;
  margin: 1rem 1rem 0;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: #f7f8fa;
  overflow: hidden;
}
.product-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.product-body { padding: 1rem; display: flex; flex-direction: column; flex: 1; }
.product-body p { flex: 1; }
.product-card:hover {
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}
.product-card {
  transition: transform 160ms ease, border-color 160ms ease;
}
.pill {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 0.4rem 0.7rem;
  background: rgba(0, 211, 106, 0.12);
  color: #4dff9c;
  border: 1px solid rgba(0, 211, 106, 0.28);
  font-weight: 900;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.product-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1rem;
}
.card-order {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  padding: 0.65rem 0.9rem;
  color: white;
  background: var(--red);
  border: 1px solid var(--red);
  font-weight: 900;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.card-order:hover { background: #f00000; }
.product-meta strong,
.price-row strong { font-size: 1.5rem; }

.confidence {
  padding: clamp(4rem, 8vw, 7rem) 0;
  text-align: center;
}
.confidence-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2rem;
  text-align: left;
}
.confidence-grid div { padding: 1.5rem; }
.spotlight-section,
.quality-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 2rem;
  align-items: center;
}
.spotlight-copy p,
.quality-section p {
  color: var(--muted);
  line-height: 1.65;
}
.spotlight-copy h2,
.quality-section h2 {
  margin: 0;
  font-size: 3.4rem;
  line-height: 1;
}
.spotlight-list {
  display: grid;
  gap: 0.75rem;
  margin-top: 1.5rem;
}
.spotlight-list div {
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
}
.spotlight-list strong {
  display: block;
  margin-bottom: 0.35rem;
}
.quality-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}
.quality-list div {
  padding: 1.2rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
}
.quality-list strong {
  display: block;
  margin-bottom: 0.4rem;
  font-size: 1.05rem;
}

.page-hero {
  padding: clamp(4rem, 8vw, 7rem) 0 3rem;
  text-align: center;
}
.page-hero p { margin-inline: auto; }
.catalog-tools {
  display: grid;
  grid-template-columns: 1fr 260px;
  gap: 1rem;
  padding: 1rem;
  margin-bottom: 2rem;
}
label {
  display: grid;
  gap: 0.55rem;
  color: var(--muted);
  font-weight: 800;
}
input,
select {
  width: 100%;
  min-height: 48px;
  border-radius: 6px;
  border: 1px solid var(--line);
  background: #ffffff;
  color: var(--text);
  padding: 0.85rem 1rem;
  font: inherit;
}
.empty-state {
  width: min(1200px, calc(100% - 2rem));
  margin: 1rem auto 4rem;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--muted);
  background: var(--panel);
  text-align: center;
}
.product-detail {
  display: grid;
  gap: 2rem;
  padding: clamp(4rem, 8vw, 7rem) 0 3rem;
  grid-template-columns: minmax(280px, 0.85fr) minmax(0, 1.15fr);
  align-items: start;
}
.detail-media {
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
}
.product-gallery {
  display: grid;
  gap: 0.75rem;
}
.gallery-thumbs {
  display: grid;
  grid-template-columns: 82px repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}
.gallery-thumb,
.gallery-proof {
  min-height: 74px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--panel);
  color: var(--soft);
  font-size: 0.78rem;
  font-weight: 900;
  text-align: center;
}
.gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 5px;
}
.gallery-thumb.is-active {
  border-color: var(--red);
}
.detail-copy h1 {
  margin: 0 0 1rem;
  font-size: 4.35rem;
  line-height: 0.95;
}
.breadcrumb {
  color: var(--red);
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.8rem;
}
.price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  color: var(--muted);
}
.purchase-panel {
  margin-top: 1.2rem;
  padding: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: var(--shadow);
}
.purchase-panel .price-row {
  padding-top: 0;
  border-top: 0;
}
.conversion-points {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.5rem;
  margin-top: 1rem;
}
.conversion-points span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  border: 1px solid rgba(0, 211, 106, 0.24);
  border-radius: 6px;
  padding: 0.55rem 0.65rem;
  color: var(--soft);
  background: rgba(0, 211, 106, 0.08);
  font-size: 0.78rem;
  font-weight: 900;
  text-align: center;
}
.microcopy {
  margin: 0.75rem 0 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.5;
}
.benefit-list {
  display: grid;
  gap: 0.55rem;
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
}
.benefit-list li {
  color: var(--soft);
  line-height: 1.45;
}
.benefit-list li::before {
  content: "";
  width: 8px;
  height: 8px;
  display: inline-block;
  margin-right: 0.55rem;
  border-radius: 999px;
  background: var(--green);
}
.variant-box { margin-top: 1.2rem; padding: 1rem; }
.variant-box h2 { margin-top: 0; }
.variant-grid,
.payment-steps,
.article-list,
.contact-panel {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}
.variant-grid div,
.article-list article { padding: 1rem; border: 1px solid var(--line); border-radius: 6px; background: rgba(0,0,0,0.25); }
.variant-grid p { color: var(--muted); margin-bottom: 0; }
.split-section {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}
.split-section > div { padding: 1.5rem; }
.product-info-section {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  gap: 1rem;
  align-items: start;
}
.product-accordion details,
.trust-stack > div {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
}
.product-accordion details {
  padding: 0;
  overflow: hidden;
}
.product-accordion summary {
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem;
  list-style: none;
}
.product-accordion summary::-webkit-details-marker { display: none; }
.product-accordion summary::after {
  content: "+";
  color: var(--red);
  font-size: 1.2rem;
}
.product-accordion details[open] summary::after { content: "-"; }
.product-accordion details > p,
.product-accordion details > ul {
  margin: 0;
  padding: 0 1rem 1rem;
}
.trust-stack {
  display: grid;
  gap: 1rem;
}
.trust-stack > div {
  padding: 1.2rem;
}
.trust-stack strong {
  display: block;
  margin-bottom: 0.4rem;
}
.trust-stack p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}
.mobile-sticky-cta {
  display: none;
}
.spec-list { padding-left: 1.2rem; }
.product-copy { padding-top: 0; }
.copy-panel {
  max-width: 950px;
  margin-inline: auto;
  padding: clamp(1.2rem, 4vw, 3rem);
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.copy-panel h2 { margin-top: 0; font-size: 2.6rem; }
.copy-panel h3 { margin-top: 2rem; font-size: 1.35rem; }
.copy-panel a { color: white; border-bottom: 1px solid rgba(224,0,0,0.75); }
.copy-panel a:hover { color: var(--red); }

.content-page {
  max-width: 950px;
  margin-top: clamp(3rem, 7vw, 6rem);
  margin-bottom: clamp(4rem, 8vw, 7rem);
  padding: clamp(1.2rem, 4vw, 3rem);
}
.content-page h2 { margin-top: 2rem; font-size: 1.8rem; }
.content-page ul { padding-left: 1.25rem; }
.support-card,
.notice-box { padding: 1.2rem; }
.payment-steps { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.payment-steps > div { padding: 1.2rem; }
.payment-steps span {
  display: inline-grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 99px;
  background: var(--red);
  margin-bottom: 1rem;
  font-weight: 900;
}
details {
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 1rem;
  margin-bottom: 0.75rem;
  background: rgba(0,0,0,0.22);
}
summary {
  cursor: pointer;
  font-weight: 900;
}
.site-footer {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 2rem;
  padding: clamp(2rem, 5vw, 4rem);
  background: #020203;
  border-top: 1px solid var(--line);
}
.site-footer p,
.footer-bottom { color: var(--muted); line-height: 1.6; }
.site-footer h3 { margin: 0 0 1rem; }
.site-footer a {
  display: block;
  color: var(--muted);
  margin: 0.55rem 0;
}
.site-footer a:hover { color: white; }
.footer-bottom {
  grid-column: 1 / -1;
  border-top: 1px solid var(--line);
  padding-top: 1.2rem;
  margin: 0;
}

@media (max-width: 980px) {
  .site-header {
    min-height: 68px;
    position: sticky;
  }
  .menu-toggle {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    width: 46px;
    height: 46px;
    border: 1px solid var(--line);
    border-radius: 6px;
    background: rgba(255,255,255,0.04);
    position: relative;
    z-index: 70;
    cursor: pointer;
  }
  .menu-toggle span {
    display: block;
    width: 23px;
    height: 2px;
    margin-inline: auto;
    background: white;
    transition: transform 160ms ease, opacity 160ms ease;
  }
  body.menu-open .menu-toggle span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  body.menu-open .menu-toggle span:nth-child(2) { opacity: 0; }
  body.menu-open .menu-toggle span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
  .primary-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 60;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0.35rem;
    padding: 1rem;
    background: rgba(0,0,0,0.96);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    max-height: calc(100vh - 68px);
    overflow-y: auto;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    visibility: hidden;
    transition: opacity 160ms ease, transform 160ms ease, visibility 160ms ease;
  }
  .primary-nav.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
    visibility: visible;
  }
  .primary-nav a {
    min-height: 50px;
    display: flex;
    align-items: center;
    padding: 0.65rem 0.2rem;
    border-bottom: 1px solid var(--line);
  }
  .primary-nav a.nav-cta {
    justify-content: center;
    margin-top: 0.35rem;
  }
  .hero h1,
  .page-hero h1 { font-size: 3.65rem; }
  .detail-copy h1 { font-size: 3.25rem; }
  .section-heading h2,
  .confidence h2,
  .content-page h1,
  .spotlight-copy h2,
  .quality-section h2 { font-size: 2.65rem; }
  .hero,
  .product-detail,
  .split-section,
  .product-info-section,
  .spotlight-section,
  .quality-section {
    grid-template-columns: 1fr;
  }
  .trust-band,
  .confidence-grid,
  .product-grid,
  .small-grid,
  .payment-steps,
  .site-footer {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .catalog-tools { grid-template-columns: 1fr; }
  .hero { min-height: auto; }
  .detail-media {
    max-width: 520px;
    margin-inline: auto;
  }
}

@media (max-width: 620px) {
  body { font-size: 18px; padding-bottom: 86px; }
  .topbar { font-size: 0.68rem; }
  .brand img { width: 148px; }
  .site-header { padding-inline: 1rem; }
  .hero,
  .section,
  .page-hero,
  .products-hero,
  .product-control-panel,
  .content-page,
  .checkout-page,
  .admin-page,
  .product-detail,
  .confidence { width: min(100% - 1.25rem, 1200px); }
  .hero,
  .page-hero,
  .product-detail { padding-top: 2rem; }
  .hero h1,
  .page-hero h1,
  .detail-copy h1 { font-size: 2.7rem; line-height: 1; }
  .trust-band,
  .confidence-grid,
  .product-grid,
  .small-grid,
  .hero-metrics,
  .quality-list,
  .payment-steps,
  .variant-grid,
  .contact-panel,
  .site-footer {
    grid-template-columns: 1fr;
  }
  .hero-actions,
  .section-heading {
    align-items: stretch;
    flex-direction: column;
  }
  .hero-actions .btn,
  .section-heading .text-link {
    width: 100%;
  }
  .section-heading { align-items: stretch; }
  .price-row { align-items: flex-start; flex-direction: column; }
  .detail-copy { order: -1; }
  .product-detail { gap: 1.25rem; }
  .purchase-panel { padding: 0.9rem; }
  .conversion-points { grid-template-columns: 1fr; }
  .product-meta {
    align-items: stretch;
    flex-direction: column;
  }
  .card-order { width: 100%; }
  .copy-panel h2 { font-size: 2rem; }
  .btn,
  .card-order {
    min-height: 54px;
    font-size: 0.84rem;
  }
  .gallery-thumbs { grid-template-columns: 76px 1fr; }
  .gallery-proof:last-child { grid-column: 1 / -1; }
  .mobile-sticky-cta {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 80;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 0.75rem;
    align-items: center;
    padding: 0.75rem 1rem;
    border-top: 1px solid var(--line);
    background: rgba(3, 4, 7, 0.96);
    backdrop-filter: blur(16px);
  }
  .mobile-sticky-cta strong {
    display: block;
    font-size: 1rem;
  }
  .mobile-sticky-cta span {
    display: block;
    color: var(--muted);
    font-size: 0.78rem;
  }
  .mobile-sticky-cta .btn {
    min-height: 48px;
    padding-inline: 1rem;
  }
}

/* === Shopify conversion overhaul === */
:root {
  --pc-bg: var(--bg);
  --pc-panel: var(--panel);
  --pc-line: var(--line);
  --pc-muted: var(--muted);
  --pc-soft: var(--soft);
  --pc-red: var(--red);
  --pc-green: var(--green);
  --pc-max: 1240px;
}

body {
  background: var(--pc-bg) !important;
  overflow-x: hidden;
  width: 100%;
  max-width: 100%;
}

html {
  overflow-x: hidden;
}

* {
  min-width: 0;
}

body.cart-open,
body.search-open,
body.menu-open {
  overflow: hidden;
}

.section,
.hero,
.products-hero,
.product-control-panel,
.content-page,
.checkout-page,
.admin-page,
.product-detail {
  width: min(var(--pc-max), calc(100% - 40px));
  margin-inline: auto;
}

svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.promo-bar {
  height: 38px;
  overflow: hidden;
  background: #07080c;
  border-bottom: 1px solid var(--pc-line);
  color: var(--pc-muted);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.promo-bar > div {
  display: flex;
  align-items: center;
  gap: 4rem;
  width: max-content;
  min-width: 100%;
  height: 100%;
  animation: pc-promo-slide 26s linear infinite;
}

.promo-bar span:nth-child(2n) {
  color: var(--pc-red);
}

@keyframes pc-promo-slide {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.site-header {
  grid-template-columns: auto 1fr auto;
  min-height: 72px;
  background: rgba(0, 0, 0, 0.93);
}

.brand img {
  width: 178px;
}

.primary-nav {
  justify-content: center;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.icon-btn {
  position: relative;
  width: 42px;
  height: 42px;
  display: inline-grid;
  place-items: center;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #fff;
}

.cart-count {
  position: absolute;
  top: 3px;
  right: 1px;
  min-width: 18px;
  height: 18px;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  background: var(--pc-red);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 950;
}

.shopify-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(380px, 0.95fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
  padding: clamp(2rem, 6vw, 5.5rem) 0;
}

.hero-badge,
.stock-pill {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 0.85rem;
  border: 1px solid var(--pc-line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--pc-muted);
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-badge i,
.stock-pill::before {
  content: "";
  width: 9px;
  height: 9px;
  display: block;
  border-radius: 50%;
  background: var(--pc-green);
}

.stock-pill.out-of-stock,
.stock-pill.coming-soon {
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
}

.stock-pill.out-of-stock::before,
.stock-pill.coming-soon::before {
  background: var(--pc-red);
}

.stock-unavailable-note {
  margin: -0.25rem 0 0.8rem;
  padding: 0.85rem 1rem;
  border: 1px solid rgba(239, 35, 60, 0.28);
  border-radius: 8px;
  background: rgba(239, 35, 60, 0.08);
  color: var(--pc-ink);
  line-height: 1.55;
}

.stock-unavailable-note strong {
  display: block;
  color: var(--pc-red);
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.shopify-hero h1,
.products-hero h1 {
  font-size: clamp(3.4rem, 8.5vw, 6.7rem);
  line-height: 0.94;
  letter-spacing: 0;
}

.shopify-hero p {
  max-width: 720px;
  color: var(--pc-soft);
  font-size: clamp(1.05rem, 1.7vw, 1.28rem);
}

.hero-product-card {
  padding: 1rem;
}

.hero-product-image {
  min-height: 530px;
  overflow: hidden;
  border-radius: 7px;
  background: #101217;
}

.hero-product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-product-meta {
  padding: 1rem 0 0.1rem;
}

.hero-product-meta h2 {
  margin: 0.45rem 0;
  font-size: 1.45rem;
}

.hero-product-meta div {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.hero-product-meta em {
  padding: 0.4rem 0.7rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  color: var(--pc-soft);
  font-style: normal;
  font-size: 0.82rem;
}

.hero-metrics {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 640px;
}

.hero-metrics span,
.trust-strip span {
  min-height: 90px;
  padding: 1rem;
  border: 1px solid var(--pc-line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
}

.hero-metrics strong,
.hero-metrics em {
  display: block;
}

.hero-metrics strong {
  font-size: 1.55rem;
}

.hero-metrics em {
  color: var(--pc-muted);
  font-style: normal;
}

.trust-strip {
  margin: 0 auto 3rem;
}

.trust-strip span {
  display: flex;
  align-items: center;
  font-weight: 950;
}

.trust-strip span::before {
  content: "";
  width: 10px;
  height: 10px;
  margin-right: 0.8rem;
  border-radius: 50%;
  background: var(--pc-green);
}

.split-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1rem;
}

.split-heading a,
.split-heading button,
.carousel-actions a {
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 0.85rem;
  font-weight: 950;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.centered {
  text-align: center;
}

.product-carousel {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(286px, 1fr);
  gap: 1rem;
  overflow-x: auto;
  padding: 0.25rem 0 1rem;
  scroll-snap-type: x mandatory;
}

.product-carousel .product-card {
  min-width: 286px;
  scroll-snap-align: start;
}

.carousel-actions {
  display: flex;
  gap: 0.65rem;
  align-items: center;
  flex-wrap: wrap;
}

.carousel-actions button {
  min-height: 42px;
  border: 1px solid var(--pc-line);
  border-radius: 999px;
  background: var(--pc-panel);
  color: #fff;
  font-weight: 950;
}

.product-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 0.95rem;
  transition: 160ms ease;
}

.product-media {
  display: block;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  border-radius: 7px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
}

.product-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding-top: 1rem;
}

.product-body h3 {
  margin: 0.6rem 0 0.9rem;
}

.product-body p {
  flex: 1;
}

.product-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: 1rem;
}

.product-meta strong {
  font-size: 1.45rem;
}

.card-order {
  min-width: 78px;
  min-height: 42px;
  border: 1px solid var(--pc-red);
  border-radius: 6px;
  background: var(--pc-red);
  color: #fff;
  font-weight: 950;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.product-card.is-out-of-stock .product-media img,
.product-card.is-coming-soon .product-media img {
  filter: grayscale(0.45) brightness(0.82);
}

.product-card.is-out-of-stock .stock-note,
.product-card.is-coming-soon .stock-note {
  margin-bottom: 0.55rem;
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
}

.card-order:disabled,
.btn:disabled,
.rec-item button:disabled {
  cursor: not-allowed;
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.08);
  color: var(--pc-muted);
  opacity: 1;
}

.confidence-grid {
  margin-bottom: 5rem;
}

.confidence-card,
.updates-card {
  padding: 1.35rem;
}

.confidence-card span {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  margin-bottom: 2rem;
  border: 1px solid rgba(230, 0, 0, 0.35);
  border-radius: 10px;
  background: rgba(230, 0, 0, 0.12);
}

.updates-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.9fr);
  gap: 2rem;
  align-items: center;
}

.subscribe-fields {
  display: grid;
  grid-template-columns: 0.8fr 1fr auto;
  gap: 0.75rem;
}

.products-hero {
  padding: clamp(3rem, 7vw, 5.4rem) 0 1.5rem;
  text-align: center;
}

.products-hero p {
  max-width: 760px;
  margin-inline: auto;
  color: var(--pc-muted);
}

.product-control-panel {
  padding: 1.4rem;
}

.panel-head {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--pc-line);
}

.panel-head h2 {
  margin-bottom: 0.25rem;
  font-size: 1.45rem;
  text-transform: uppercase;
}

.panel-head p {
  margin: 0;
  color: var(--pc-muted);
}

.inline-search {
  min-width: 280px;
}

.inline-search span {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--pc-muted);
  font-size: 0.78rem;
  font-weight: 950;
  text-transform: uppercase;
}

.control-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 2rem;
  padding-top: 1.25rem;
}

.chip-list,
.sort-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 0.75rem;
}

.chip,
.sort-btn {
  min-height: 48px;
  padding: 0.75rem 1rem;
  border: 1px solid var(--pc-line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.055);
  color: var(--pc-soft);
  font-weight: 950;
  text-transform: uppercase;
}

.chip span {
  min-width: 28px;
  height: 28px;
  display: inline-grid;
  place-items: center;
  margin-right: 0.4rem;
  border-radius: 50%;
  background: rgba(230, 0, 0, 0.16);
}

.chip.is-active,
.sort-btn.is-active {
  border-color: var(--pc-red);
  background: rgba(230, 0, 0, 0.16);
  color: #fff;
}

.featured-strip {
  display: block;
  margin-top: 1.2rem;
  padding: 0.85rem;
  border: 1px solid var(--pc-line);
  border-radius: 8px;
}

.featured-strip-head {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  padding-bottom: 0.8rem;
  border-bottom: 1px solid var(--pc-line);
}

.featured-strip-head h3 {
  margin: 0;
  color: #fff;
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.featured-strip-head a {
  color: #fff;
  font-size: 0.74rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.featured-product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
  padding-top: 0.85rem;
}

.compact-product {
  min-height: 82px;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.6rem;
  background: rgba(0, 0, 0, 0.17);
}

.compact-product img {
  flex: 0 0 64px;
  width: 64px;
  height: 64px;
  object-fit: cover;
  border-radius: 6px;
}

.compact-product strong,
.compact-product em {
  display: block;
}

.compact-product em {
  color: var(--pc-muted);
  font-style: normal;
}

.product-detail {
  display: grid;
  grid-template-columns: minmax(0, 0.94fr) minmax(380px, 0.86fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
  padding: clamp(2rem, 5vw, 4.4rem) 0 2rem;
}

.product-gallery {
  position: sticky;
  top: 112px;
  padding: 1rem;
}

.detail-media {
  overflow: hidden;
  border-radius: 7px;
  background: #f5f6f7;
}

.detail-media img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.buy-box {
  padding: clamp(1.2rem, 3vw, 2rem);
}

.buy-box h1 {
  margin: 1rem 0 0.35rem;
  font-size: clamp(2.4rem, 5vw, 4rem);
}

.product-price {
  margin: 1.4rem 0;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 950;
}

.spec-table {
  display: grid;
  grid-template-columns: 40% 60%;
  overflow: hidden;
  margin: 1.5rem 0;
  border: 1px solid rgba(255, 255, 255, 0.055);
  border-radius: 7px;
}

.spec-table span,
.spec-table strong {
  padding: 0.9rem 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.055);
}

.spec-table span {
  background: rgba(255, 255, 255, 0.035);
  color: var(--pc-muted);
  font-size: 0.82rem;
  text-transform: uppercase;
}

.spec-table strong {
  color: var(--pc-soft);
  font-weight: 600;
}

.variant-area > span {
  display: block;
  margin-bottom: 0.65rem;
  color: var(--pc-muted);
  font-weight: 950;
  text-transform: uppercase;
}

.variant-options {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.variant-options button {
  min-height: 42px;
  padding: 0.55rem 1rem;
  border: 1px solid var(--pc-line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.045);
  color: var(--pc-soft);
  text-transform: uppercase;
}

.variant-options button.is-active {
  border-color: var(--pc-red);
  background: rgba(230, 0, 0, 0.14);
  color: #fff;
}

.quantity-row {
  display: inline-grid;
  grid-template-columns: 48px 62px 48px;
  overflow: hidden;
  margin: 1.5rem 0 1.1rem;
  border-radius: 5px;
}

.quantity-row button,
.quantity-row input {
  height: 48px;
  border: 0;
  border-radius: 0;
  background: #0b0c10;
  color: #fff;
  text-align: center;
  font-weight: 950;
}

.product-purchase-enhancer {
  display: grid;
  gap: 1rem;
  margin: 1.25rem 0 1rem;
  min-width: 0;
}

.bundle-quantity {
  width: fit-content;
  grid-template-columns: 58px 76px 58px;
  gap: 0.75rem;
  overflow: visible;
  margin: 0.25rem 0 0;
  border-radius: 999px;
}

.bundle-quantity button,
.bundle-quantity input {
  height: 58px;
  border: 1px solid rgba(15, 23, 42, 0.1);
  border-radius: 999px;
  background: #ffffff;
  color: #080c14;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.1);
  font-size: 1.3rem;
}

.bundle-quantity button {
  cursor: pointer;
}

.bundle-quantity input {
  font-size: 1.55rem;
}

.bundle-quantity input::-webkit-outer-spin-button,
.bundle-quantity input::-webkit-inner-spin-button {
  margin: 0;
  appearance: none;
}

.bundle-heading {
  display: block;
  margin: 0 0 0.7rem;
  color: var(--pc-muted);
  font-size: 0.86rem;
  font-weight: 950;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.bundle-options {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.65rem;
  align-items: end;
}

.bundle-option {
  position: relative;
  min-width: 0;
  min-height: 96px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.46rem;
  padding: 1.15rem 0.65rem 0.72rem;
  border: 1px solid rgba(15, 23, 42, 0.14);
  border-radius: 999px;
  background: #ffffff;
  color: #111827;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.07);
  cursor: pointer;
  text-align: left;
}

.bundle-option.is-active {
  border-color: rgba(217, 4, 41, 0.78);
  background: linear-gradient(135deg, rgba(217, 4, 41, 0.08), #ffffff);
  box-shadow: 0 16px 34px rgba(217, 4, 41, 0.14);
}

.bundle-option img {
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  object-fit: cover;
  border-radius: 8px;
}

.bundle-option span,
.bundle-option strong,
.bundle-option small {
  display: block;
  min-width: 0;
}

.bundle-option strong {
  color: #0b1020;
  font-size: clamp(0.78rem, 1.05vw, 0.95rem);
  line-height: 1.05;
  text-transform: uppercase;
}

.bundle-option small {
  margin-top: 0.2rem;
  color: var(--nova-accent);
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.bundle-option em {
  position: absolute;
  top: -0.82rem;
  left: 50%;
  transform: translateX(-50%);
  padding: 0.26rem 0.56rem;
  border-radius: 999px;
  background: #111827;
  color: #ffffff;
  font-size: 0.64rem;
  font-style: normal;
  font-weight: 950;
  letter-spacing: 0.04em;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
}

.bundle-option[data-bundle-qty="3"] em {
  background: var(--pc-red);
}

.add-save {
  min-width: 0;
}

.add-save-card {
  display: grid;
  grid-template-columns: 34px 74px minmax(0, 1fr);
  gap: 0.85rem;
  align-items: center;
  padding: 0.95rem;
  border: 1px solid rgba(15, 23, 42, 0.14);
  border-radius: 12px;
  background: #ffffff;
  color: #111827;
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.08);
  cursor: pointer;
}

.add-save-card input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.add-save-check {
  width: 28px;
  height: 28px;
  border: 2px solid rgba(15, 23, 42, 0.2);
  border-radius: 8px;
  background: #fff;
}

.add-save-card input:checked + .add-save-check {
  border-color: var(--pc-red);
  background:
    linear-gradient(135deg, var(--pc-red), #ff3b4f);
  box-shadow: inset 0 0 0 6px #ffffff;
}

.add-save-card img {
  width: 74px;
  height: 74px;
  object-fit: cover;
  border-radius: 8px;
  background: #f5f6f8;
}

.add-save-copy,
.add-save-copy strong,
.add-save-copy em,
.add-save-price {
  display: block;
  min-width: 0;
}

.add-save-badge {
  width: fit-content;
  display: inline-block;
  margin-bottom: 0.28rem;
  padding: 0.28rem 0.55rem;
  border-radius: 999px;
  background: #111827;
  color: #fff;
  font-size: 0.68rem;
  font-weight: 950;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.add-save-copy strong {
  color: #0b1020;
  font-size: clamp(1rem, 1.4vw, 1.18rem);
  line-height: 1.16;
}

.add-save-copy em {
  margin-top: 0.14rem;
  color: var(--nova-accent);
  font-style: normal;
  font-weight: 950;
  letter-spacing: 0.035em;
  text-transform: uppercase;
}

.add-save-price {
  margin-top: 0.55rem;
  color: #0b1020;
  font-weight: 950;
}

.add-save-price s {
  margin-right: 0.35rem;
  color: #7b8190;
  font-weight: 800;
}

.add-save-price b {
  font-size: 1.1rem;
}

.shipping-benefit-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding: 0.95rem 1rem;
  border-radius: 12px;
  background: #f1f3f5;
  color: #303642;
  font-weight: 900;
  text-align: center;
}

.shipping-benefit-bar svg {
  color: var(--pc-red);
}

.buy-trust {
  display: grid;
  gap: 0.6rem;
  margin-top: 1rem;
}

.buy-trust span {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.75rem;
  border: 1px solid var(--pc-line);
  border-radius: 6px;
  color: var(--pc-muted);
}

.product-proof-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.65rem;
  margin-top: 0.8rem;
}

.product-proof-grid a {
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.035);
}

.product-proof-grid a {
  display: grid;
  gap: 0.3rem;
  padding: 0.85rem;
  color: inherit;
  text-decoration: none;
}

.product-proof-grid strong {
  color: #fff;
  font-size: 0.88rem;
}

.product-proof-grid span {
  color: var(--pc-muted);
  font-size: 0.86rem;
  line-height: 1.45;
}

.research-notice {
  margin: 1rem 0 0;
  padding: 0.9rem;
  border: 1px solid rgba(230, 0, 0, 0.25);
  border-radius: 6px;
  background: rgba(230, 0, 0, 0.065);
  color: var(--pc-muted);
  font-size: 0.92rem;
}

.description-tabs {
  padding-top: 2.5rem;
}

.tab-list {
  display: flex;
  gap: 1.6rem;
  margin-bottom: 1.8rem;
  border-bottom: 1px solid var(--pc-line);
}

.tab-list button {
  padding: 0 0 1rem;
  border: 0;
  border-bottom: 2px solid transparent;
  background: transparent;
  color: var(--pc-muted);
  font-weight: 950;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.tab-list button.is-active {
  border-color: var(--pc-red);
  color: var(--pc-red);
}

.tab-panel {
  display: none;
}

.tab-panel.is-active {
  display: block;
}

.product-description-copy {
  max-width: 1120px;
  color: var(--pc-soft);
}

.product-description-copy h2 {
  margin-bottom: 0.35rem;
  color: #fff;
  font-size: clamp(2.1rem, 4vw, 3.2rem);
}

.product-description-copy h3 {
  margin: 1.5rem 0 0.45rem;
  color: #fff;
  font-size: clamp(1.45rem, 2vw, 1.8rem);
}

.product-description-copy a {
  color: #ff3131;
}

.small-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.checkout-page {
  display: grid;
  grid-template-columns: 0.85fr 1fr;
  gap: 2rem;
  align-items: start;
  padding: clamp(2rem, 5vw, 4rem) 0;
}

.checkout-form,
.admin-login,
.admin-grid section {
  padding: 1.35rem;
  border: 1px solid var(--pc-line);
  border-radius: 8px;
  background: var(--pc-panel);
}

.checkout-summary {
  overflow: hidden;
  margin-bottom: 1rem;
  border: 1px solid var(--pc-line);
  border-radius: 7px;
}

.checkout-line {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1rem;
  padding: 0.85rem;
  border-bottom: 1px solid var(--pc-line);
}

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

.payment-checkout {
  grid-template-columns: 0.7fr 1.3fr;
}

.checkout-main-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
  gap: 1rem;
  align-items: start;
  min-width: 0;
}

.mobile-checkout-assurance {
  display: none;
}

.checkout-flow-card,
.payment-instruction-card,
.payment-confirm-card,
.payment-submitted-card {
  padding: clamp(1.15rem, 3vw, 1.6rem);
  border: 1px solid var(--pc-line);
  border-radius: 8px;
  background: rgba(20, 20, 27, 0.94);
  min-width: 0;
}

.account-required-card,
.account-confirmed-card,
.payment-locked-card {
  margin: 0 0 1rem;
  width: 100%;
  min-width: 0;
  padding: clamp(1.15rem, 2.8vw, 1.55rem);
  border: 1px solid var(--pc-line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.1);
  box-sizing: border-box;
}

.account-required-card {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 1rem;
  max-width: none;
  border-color: rgba(217, 4, 41, 0.4);
  background:
    linear-gradient(135deg, rgba(217, 4, 41, 0.08), rgba(255, 255, 255, 0.95)),
    #fff7f8;
}

.account-required-card[hidden],
.account-confirmed-card[hidden],
.payment-locked-card[hidden] {
  display: none;
}

.account-required-card > div:first-child,
.payment-locked-card > div:first-child {
  min-width: 0;
  max-width: 70ch;
}

.account-required-card h2,
.payment-locked-card h2 {
  margin: 0.25rem 0 0.45rem;
  max-width: 100%;
  color: var(--text);
  font-size: clamp(1.35rem, 2.5vw, 1.8rem);
  line-height: 1.08;
  white-space: normal;
  word-break: normal;
  overflow-wrap: normal;
  text-wrap: balance;
}

.account-required-card p,
.payment-locked-card p,
.account-confirmed-card p {
  margin: 0;
  color: var(--pc-soft);
  line-height: 1.55;
  white-space: normal;
  word-break: normal;
  overflow-wrap: normal;
  text-wrap: pretty;
}

.account-required-card small {
  display: block;
  margin-top: 0.55rem;
  color: var(--muted);
  font-weight: 850;
}

.account-required-actions {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  width: min(100%, 420px);
  min-width: 0;
  gap: 0.65rem;
}

.account-required-actions .btn,
.account-required-actions .text-button,
.payment-locked-card .btn {
  justify-content: center;
  width: 100%;
  min-width: 0;
  text-align: center;
  white-space: normal;
  word-break: normal;
  overflow-wrap: normal;
}

.account-required-actions .text-button {
  align-self: center;
  color: var(--pc-soft);
  font-size: 0.9rem;
}

.account-required-actions .text-button:hover {
  color: var(--pc-red);
}

.account-confirmed-card {
  border-color: rgba(0, 214, 125, 0.35);
  background: var(--green-soft);
}

.account-confirmed-card strong {
  display: block;
  margin: 0.2rem 0 0.35rem;
  color: var(--text);
  font-size: 1.2rem;
}

.payment-locked-card {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.9rem;
  border-color: rgba(209, 213, 219, 0.95);
  background: #f8fafc;
}

.payment-locked-card .btn {
  max-width: 420px;
}

.payment-method-form.is-locked {
  opacity: 0.58;
  pointer-events: none;
}

.payment-method-card.is-disabled {
  cursor: not-allowed;
  filter: grayscale(0.25);
}

.checkout-steps {
  display: grid;
  gap: 0.55rem;
  margin: 1.25rem 0;
}

.checkout-steps span {
  display: flex;
  min-height: 38px;
  align-items: center;
  padding: 0.55rem 0.75rem;
  border: 1px solid var(--pc-line);
  border-radius: 6px;
  color: var(--pc-muted);
  background: rgba(255, 255, 255, 0.04);
  font-weight: 900;
}

.checkout-steps span.is-active {
  border-color: rgba(230, 0, 0, 0.7);
  color: #fff;
  background: rgba(230, 0, 0, 0.16);
}

.checkout-steps span.is-complete {
  color: var(--pc-green);
}

.checkout-steps span.is-locked {
  color: rgba(255, 255, 255, 0.42);
  border-color: rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.025);
}

.checkout-steps span.is-locked::after {
  content: "Locked";
  margin-left: auto;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.trust-list {
  display: grid;
  gap: 0.55rem;
  padding: 0;
  margin: 1rem 0;
  list-style: none;
}

.trust-list li,
.transfer-note,
.payment-header-card {
  border: 1px solid var(--pc-line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
}

.trust-list li {
  padding: 0.75rem;
  color: #fff;
  font-weight: 850;
}

.checkout-customer-form,
.payment-method-form,
.payment-confirm-card {
  display: grid;
  gap: 0.95rem;
}

.checkout-field-grid {
  display: grid;
  gap: 0.85rem;
}

.checkout-field-grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.checkout-customer-form label,
.payment-confirm-card label {
  color: #fff;
}

.checkout-customer-form label span,
.payment-confirm-card label span {
  color: var(--pc-muted);
  font-size: 0.78rem;
}

.checkout-customer-form input,
.checkout-customer-form textarea,
.payment-confirm-card input,
.payment-confirm-card textarea {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--pc-line);
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.35);
  color: white;
  padding: 0.85rem 1rem;
  font: inherit;
}

.checkout-customer-form input::placeholder,
.checkout-customer-form textarea::placeholder,
.payment-confirm-card input::placeholder,
.payment-confirm-card textarea::placeholder {
  color: rgba(255, 255, 255, 0.58);
}

.checkout-customer-form input:focus-visible,
.checkout-customer-form textarea:focus-visible,
.payment-confirm-card input:focus-visible,
.payment-confirm-card textarea:focus-visible,
.payment-copy-box .btn:focus-visible,
.payment-actions .btn:focus-visible,
.payment-actions .support-link:focus-visible {
  outline: 3px solid rgba(255, 74, 74, 0.65);
  outline-offset: 3px;
  border-color: rgba(255, 255, 255, 0.72);
}

.checkout-customer-form textarea,
.payment-confirm-card textarea {
  resize: vertical;
}

.payment-confirm-card .checkout-field-grid.two {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.payment-method-card {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 0.85rem;
  align-items: start;
  padding: 1rem;
  border: 1px solid var(--pc-line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  cursor: pointer;
}

.payment-method-note {
  padding: 0.9rem 1rem;
  border: 1px solid var(--pc-line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--pc-soft);
  line-height: 1.55;
}

.payment-method-note.email-reminder {
  border-color: rgba(0, 214, 125, 0.28);
  background: rgba(0, 214, 125, 0.055);
}

.payment-method-note.email-reminder strong {
  color: #fff;
}

.payment-method-card input {
  width: 18px;
  min-height: 18px;
  margin-top: 0.2rem;
  accent-color: var(--pc-red);
}

.payment-method-card strong,
.payment-method-card small,
.payment-method-card em {
  display: block;
}

.payment-method-card strong {
  color: #fff;
  font-size: 1.08rem;
}

.payment-method-card small {
  color: var(--pc-soft);
  line-height: 1.5;
}

.payment-method-card em {
  color: var(--pc-muted);
  font-style: normal;
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.payment-method-card b {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  color: #fff;
  background: var(--pc-red);
  font-size: 0.72rem;
  text-transform: uppercase;
}

.payment-method-card.recommended {
  border-color: rgba(230, 0, 0, 0.75);
  background: linear-gradient(135deg, rgba(230, 0, 0, 0.18), rgba(255, 255, 255, 0.04));
}

.paypal-payment-link {
  display: inline-flex;
  width: fit-content;
  margin: 0.35rem 0 0.1rem;
}

.paypal-card {
  border-color: rgba(0, 112, 186, 0.22) !important;
  background: #ffffff !important;
  box-shadow: 0 18px 44px rgba(15, 23, 42, 0.1);
}

.paypal-card-heading {
  display: flex;
  gap: 0.85rem;
  align-items: center;
}

.paypal-logo-icon {
  display: inline-flex;
  width: 52px;
  height: 52px;
  flex: 0 0 52px;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: linear-gradient(135deg, #003087, #0070ba 62%, #009cde);
  color: #ffffff;
  font-size: 1.65rem;
  font-weight: 950;
  letter-spacing: -0.08em;
  box-shadow: 0 12px 26px rgba(0, 112, 186, 0.22);
}

.paypal-card .paypal-card-heading h3 {
  margin-top: 0.35rem;
}

.status-badge.paypal-badge {
  border-color: oklch(57% 0.16 25 / 0.86);
  background: linear-gradient(135deg, var(--ink), var(--ink-2));
  color: oklch(98.5% 0.004 250);
  box-shadow: 0 10px 24px oklch(18% 0.02 255 / 0.18), 0 0 0 3px oklch(42.5% 0.175 25 / 0.08);
}

.paypal-card p,
.paypal-config-card p {
  color: #374151;
}

.paypal-card .summary-rows span,
.paypal-config-card .summary-rows span {
  border-color: rgba(0, 112, 186, 0.16);
  background: #f7f9fc;
}

.paypal-card .summary-rows strong,
.paypal-config-card .summary-rows strong {
  color: #111827;
}

.paypal-card .summary-rows em,
.paypal-config-card .summary-rows em {
  color: #4b5563;
}

.paypal-card .payment-copy-box span {
  border-color: rgba(0, 112, 186, 0.2);
  background: #f8fafc;
  color: #111827;
}

.paypal-card .payment-copy-box.amount-copy span {
  color: #003087;
}

.paypal-payment-link,
.paypal-card .paypal-payment-link {
  min-height: 54px;
  align-items: center;
  justify-content: center;
  padding-inline: 1.35rem;
  border-color: #0070ba !important;
  background: #0070ba !important;
  color: #ffffff !important;
  box-shadow: 0 14px 28px rgba(0, 112, 186, 0.22);
}

.paypal-payment-link:hover,
.paypal-card .paypal-payment-link:hover {
  border-color: #003087 !important;
  background: #003087 !important;
}

.paypal-method-list {
  display: grid;
  gap: 0.45rem;
  max-width: 720px;
  padding: 1rem;
  border: 1px solid rgba(0, 112, 186, 0.18);
  border-radius: 8px;
  background: rgba(0, 112, 186, 0.06);
  color: #1f2937;
  line-height: 1.5;
}

.paypal-method-list strong {
  color: #111827;
}

.paypal-method-list ul {
  margin: 0;
  padding-left: 1.15rem;
}

.paypal-method-list span {
  color: #4b5563;
}

.paypal-card .transfer-note,
.paypal-card .security-note {
  border-color: rgba(0, 112, 186, 0.18);
  background: #f8fafc;
  color: #374151;
}

.paypal-card .transfer-note span,
.paypal-card .transfer-note strong,
.paypal-card .security-note strong {
  color: #111827;
}

.paypal-config-card {
  border-color: rgba(0, 112, 186, 0.22);
  background: #ffffff;
}

@media (max-width: 560px) {
  .paypal-card-heading {
    align-items: flex-start;
  }

  .paypal-logo-icon {
    width: 44px;
    height: 44px;
    flex-basis: 44px;
    border-radius: 12px;
    font-size: 1.35rem;
  }

  .paypal-card .paypal-payment-link {
    width: 100%;
  }
}

.paypal-confirmation-note {
  display: grid;
  gap: 0.25rem;
  padding: 1rem 1.05rem;
  border: 1px solid oklch(57% 0.16 25 / 0.72);
  border-radius: 8px;
  background:
    radial-gradient(circle at top right, oklch(42.5% 0.175 25 / 0.16), transparent 16rem),
    linear-gradient(135deg, var(--ink), var(--ink-2));
  color: oklch(92% 0.01 250);
  line-height: 1.5;
  box-shadow: 0 16px 36px oklch(18% 0.02 255 / 0.16);
}

.paypal-confirmation-note strong {
  color: oklch(98.5% 0.004 250);
  font-weight: 950;
  letter-spacing: 0.01em;
}

.paypal-confirmation-note span {
  color: oklch(89.5% 0.012 250);
}

.payment-status-note {
  margin: 0.85rem 0 0;
  color: var(--pc-muted);
  line-height: 1.55;
}

.order-summary-panel {
  position: sticky;
  top: 108px;
}

.checkout-line span,
.checkout-line small {
  display: block;
  color: var(--pc-muted);
  font-size: 0.86rem;
}

.checkout-line.total-line {
  background: rgba(230, 0, 0, 0.12);
}

.checkout-line.total-line strong,
.checkout-line.total-line span {
  color: #fff;
}

.discount-line strong {
  color: var(--pc-green);
}

.discount-code-card {
  display: grid;
  gap: 0.65rem;
  padding: 0.9rem;
  border-bottom: 1px solid var(--pc-line);
  background: rgba(255, 255, 255, 0.025);
}

.discount-code-card label {
  color: #fff;
  font-size: 0.9rem;
  font-weight: 950;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.discount-code-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.6rem;
  align-items: stretch;
}

.discount-code-row input {
  min-width: 0;
  min-height: 46px;
  border: 1px solid var(--pc-line);
  border-radius: 6px;
  background: #0b0c10;
  color: #fff;
  padding: 0 0.85rem;
  font: inherit;
  font-weight: 850;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.discount-code-row input:focus {
  outline: 2px solid rgba(230, 0, 0, 0.35);
  border-color: rgba(230, 0, 0, 0.75);
}

.discount-code-message,
.discount-code-hint {
  margin: 0;
  color: var(--pc-muted);
  font-size: 0.88rem;
  line-height: 1.45;
}

.discount-code-message.success {
  color: var(--pc-green);
}

.discount-code-message.error {
  color: #ff5a5a;
}

.discount-remove {
  justify-self: start;
}

.customer-summary {
  margin-top: 1rem;
}

.summary-mini-grid {
  display: grid;
  gap: 0.75rem;
}

.summary-mini-grid span,
.summary-rows span {
  display: grid;
  gap: 0.25rem;
  padding: 0.75rem;
  border: 1px solid var(--pc-line);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.04);
}

.summary-mini-grid strong,
.summary-rows strong {
  color: #fff;
}

.summary-mini-grid small,
.summary-rows em {
  color: var(--pc-muted);
  font-style: normal;
}

.payment-header-card {
  display: grid;
  gap: 0.85rem;
  padding: 1rem;
  margin-bottom: 1rem;
}

.status-badge {
  display: inline-flex;
  width: fit-content;
  min-height: 30px;
  align-items: center;
  padding: 0.25rem 0.7rem;
  border: 1px solid rgba(230, 0, 0, 0.65);
  border-radius: 999px;
  color: #fff;
  background: rgba(230, 0, 0, 0.2);
  font-size: 0.76rem;
  font-weight: 950;
  text-transform: uppercase;
}

.status-badge.success {
  border-color: rgba(56, 193, 114, 0.65);
  background: rgba(56, 193, 114, 0.18);
}

.status-badge.small {
  min-height: 24px;
  font-size: 0.68rem;
}

.payment-instruction-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.15rem;
  align-items: start;
  min-width: 0;
}

.payment-instruction-card.primary {
  border-color: rgba(230, 0, 0, 0.55);
}

.payment-instruction-card {
  display: grid;
  gap: 0.9rem;
}

.payment-instruction-card h3,
.payment-confirm-card h3 {
  margin: 0;
  color: #fff;
  font-size: clamp(1.55rem, 3vw, 2rem);
  line-height: 1.1;
}

.payment-instruction-card p,
.payment-confirm-card p {
  max-width: 66ch;
  margin: 0;
  color: var(--pc-soft);
  font-size: clamp(1rem, 2vw, 1.08rem);
  line-height: 1.65;
}

.payment-total {
  margin: 0;
  color: #fff;
  font-size: clamp(2.65rem, 8vw, 4.25rem);
  font-weight: 950;
  letter-spacing: 0;
  line-height: 1;
  overflow-wrap: anywhere;
}

.payment-total-subline {
  margin-top: -0.35rem;
  color: var(--pc-muted);
  font-size: clamp(0.95rem, 2vw, 1.02rem);
  line-height: 1.55;
}

.payment-total-subline strong {
  color: #fff;
}

.payment-copy-box {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.8rem;
  align-items: stretch;
  max-width: 720px;
  margin: 0.25rem 0;
}

.payment-copy-box span {
  display: flex;
  min-width: 0;
  align-items: center;
  overflow-wrap: anywhere;
  min-height: 52px;
  padding: 0.85rem 1rem;
  border: 1px solid var(--pc-line);
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.32);
  color: #fff;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: clamp(0.86rem, 2vw, 0.98rem);
  line-height: 1.45;
}

.payment-copy-box .btn {
  min-height: 52px;
  white-space: nowrap;
}

.payment-copy-box.amount-copy span {
  color: var(--pc-green);
  font-weight: 950;
  font-family: inherit;
  font-size: clamp(1.05rem, 2vw, 1.18rem);
}

.qr-wrap {
  display: grid;
  justify-items: center;
  gap: 0.55rem;
  width: min(100%, 220px);
  padding: 0.85rem;
  border: 1px solid var(--pc-line);
  border-radius: 8px;
  background: #fff;
}

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

.qr-wrap small {
  color: #19191f;
  font-weight: 800;
  max-width: 18ch;
  text-align: center;
  line-height: 1.35;
}

.summary-rows {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.summary-rows.compact {
  grid-template-columns: 1fr;
}

.summary-rows em {
  font-size: 0.86rem;
}

.summary-rows.compact strong {
  overflow-wrap: anywhere;
  font-size: 1rem;
  line-height: 1.4;
}

.transfer-note {
  max-width: 720px;
  padding: 1rem;
  color: var(--pc-soft);
  font-size: clamp(1rem, 2vw, 1.06rem);
  line-height: 1.65;
}

.transfer-note span {
  display: inline-block;
  margin-top: 0.5rem;
  color: #fff;
  font-weight: 900;
}

.payment-warning {
  display: grid;
  gap: 0.35rem;
  max-width: 720px;
  padding: 0.95rem 1rem;
  border: 1px solid rgba(230, 0, 0, 0.5);
  border-radius: 8px;
  background: rgba(230, 0, 0, 0.12);
  color: var(--pc-soft);
  line-height: 1.55;
}

.payment-warning strong {
  color: #fff;
}

.payment-warning span {
  color: var(--pc-muted);
}

.security-note {
  padding: 0.9rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
}

.payment-confirm-card {
  max-width: 720px;
  margin-top: 1.15rem;
}

.payment-confirm-card .field-helper {
  display: block;
  margin-top: 0.3rem;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.8rem;
  line-height: 1.4;
}

.txid-example {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-top: -0.25rem;
  font-size: 0.78rem;
}

.txid-example small {
  color: rgba(255, 255, 255, 0.5);
  white-space: nowrap;
}

.txid-example code {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.72rem;
  font-family: monospace;
}

.txid-example .btn-xs {
  min-height: unset;
  padding: 0.2rem 0.6rem;
  font-size: 0.72rem;
  white-space: nowrap;
}

.payment-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

.support-link,
.text-button {
  border: 0;
  background: transparent;
  color: #ff4a4a;
  font: inherit;
  font-weight: 900;
  text-decoration: none;
  cursor: pointer;
}

.payment-submitted-card {
  text-align: center;
}

.payment-submitted-card .status-badge {
  margin-inline: auto;
}

.crypto-quote-line small {
  margin-top: 0.18rem;
  color: var(--pc-muted);
  font-size: 0.78rem;
  line-height: 1.35;
}

.crypto-quote-line strong {
  color: var(--pc-green);
}

.crypto-quote-line.is-loading strong,
.crypto-quote-line.is-error strong {
  color: var(--pc-muted);
}

.crypto-quote-line.is-error small {
  color: #ffb3b3;
}

.payment-checkout.is-instruction-stage {
  grid-template-columns: 1fr;
}

.payment-checkout.is-instruction-stage .checkout-copy,
.payment-checkout.is-instruction-stage .order-summary-panel {
  display: none;
}

.payment-checkout.is-instruction-stage .checkout-main-grid {
  width: min(100%, 860px);
  margin-inline: auto;
  grid-template-columns: 1fr;
}

.payment-checkout.is-instruction-stage .payment-instruction-grid {
  grid-template-columns: 1fr;
}

.payment-checkout.is-instruction-stage .payment-confirm-card {
  max-width: 720px;
}

.pay-step-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1rem;
  margin: 2rem 0;
}

.pay-step-grid article,
.faq-list details {
  padding: 1rem;
  border: 1px solid var(--pc-line);
  border-radius: 8px;
  background: var(--pc-panel);
}

.pay-step-grid span {
  display: inline-flex;
  width: 34px;
  height: 34px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--pc-red);
  color: #fff;
  font-weight: 950;
}

.pay-step-grid h2 {
  margin-top: 0.85rem;
  font-size: 1.05rem;
}

.faq-list {
  display: grid;
  gap: 0.75rem;
}

.faq-list summary {
  color: #fff;
  font-weight: 950;
  cursor: pointer;
}

.admin-page {
  padding: clamp(2.5rem, 6vw, 5rem) 0;
}

.admin-login {
  display: flex;
  gap: 0.75rem;
  margin: 1.3rem 0;
}

.admin-stats {
  grid-template-columns: repeat(3, 1fr);
  margin: 1.4rem 0;
}

.admin-grid {
  grid-template-columns: 1.2fr 0.9fr;
}

.admin-stats span {
  padding: 1rem;
  border: 1px solid var(--pc-line);
  border-radius: 8px;
  background: var(--pc-panel);
  color: var(--pc-muted);
}

.admin-stats strong {
  display: block;
  color: #fff;
  font-size: 1.8rem;
}

.admin-muted {
  color: var(--pc-muted);
  font-size: 0.82rem;
  line-height: 1.45;
}

.table-wrap {
  overflow-x: auto;
}

.admin-ops-header {
  z-index: 80;
}

.admin-ops-shell {
  width: min(1440px, calc(100% - 2rem));
  margin: 0 auto;
  padding: clamp(2rem, 5vw, 4rem) 0 calc(3rem + env(safe-area-inset-bottom, 0px));
}

.admin-access-card {
  max-width: 720px;
}

.admin-ops-hero,
.admin-ops-metrics,
.admin-ops-grid,
.admin-order-detail-grid,
.admin-order-form {
  display: grid;
  gap: 1rem;
}

.admin-ops-hero {
  grid-template-columns: minmax(0, 1fr) minmax(220px, 320px);
  align-items: end;
  margin-bottom: 1.25rem;
}

.admin-ops-hero h1 {
  max-width: 860px;
  margin: 0.5rem 0 0.75rem;
  font-size: clamp(2.2rem, 5vw, 4rem);
}

.admin-ops-hero p {
  max-width: 760px;
  color: var(--pc-muted);
}

.admin-ops-session,
.admin-ops-metrics span,
.admin-order-card,
.admin-discount-analytics,
.admin-discount-spotlight,
.admin-discount-metrics span,
.admin-side-panel section,
.admin-empty-state,
.admin-access-card {
  border: 1px solid var(--pc-line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.035);
}

.admin-ops-session {
  padding: 1rem;
}

.admin-ops-session span,
.admin-ops-session strong {
  display: block;
}

.admin-ops-session span {
  color: var(--pc-muted);
  font-size: 0.82rem;
}

.admin-ops-session strong {
  margin-top: 0.25rem;
  color: #fff;
  overflow-wrap: anywhere;
}

.admin-ops-metrics {
  grid-template-columns: repeat(6, minmax(0, 1fr));
  margin: 1.25rem 0;
}

.admin-ops-metrics span {
  min-height: 96px;
  padding: 1rem;
  color: var(--pc-muted);
}

.admin-ops-metrics strong {
  display: block;
  margin-bottom: 0.25rem;
  color: #fff;
  font-size: clamp(1.35rem, 2vw, 1.9rem);
  line-height: 1;
}

.admin-discount-analytics {
  display: grid;
  gap: 1rem;
  margin: 1.25rem 0;
  padding: clamp(1rem, 2vw, 1.35rem);
}

.admin-discount-analytics h2 {
  margin: 0.35rem 0 0;
}

.admin-discount-spotlight {
  display: grid;
  gap: 0.4rem;
  padding: clamp(1rem, 3vw, 1.35rem);
  border-color: rgba(230, 0, 0, 0.48);
  background: linear-gradient(135deg, rgba(230, 0, 0, 0.18), rgba(255, 255, 255, 0.035));
}

.admin-discount-spotlight span,
.admin-discount-spotlight small,
.admin-discount-metrics span,
.admin-discount-table small {
  color: var(--pc-muted);
}

.admin-discount-spotlight strong {
  color: #fff;
  font-size: clamp(2rem, 5vw, 3.5rem);
  line-height: 1;
}

.admin-discount-metrics {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.75rem;
}

.admin-discount-metrics span {
  min-height: 92px;
  padding: 0.95rem;
}

.admin-discount-metrics strong {
  display: block;
  margin-bottom: 0.25rem;
  color: #fff;
  font-size: clamp(1.05rem, 1.8vw, 1.45rem);
  line-height: 1.1;
}

.admin-discount-table-wrap {
  border: 1px solid var(--pc-line);
  border-radius: 8px;
}

.admin-discount-table td strong,
.admin-discount-table td small {
  display: block;
}

.admin-filter-tabs {
  display: flex;
  gap: 0.55rem;
  overflow-x: auto;
  padding: 0.25rem 0 0.9rem;
  margin-bottom: 1rem;
  -webkit-overflow-scrolling: touch;
}

.admin-filter-tabs a {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  flex: 0 0 auto;
  min-height: 44px;
  padding: 0.72rem 0.9rem;
  border: 1px solid var(--pc-line);
  border-radius: 999px;
  color: #fff;
  font-size: 0.82rem;
  font-weight: 900;
}

.admin-filter-tabs a.is-active {
  border-color: var(--pc-red);
  background: rgba(231, 0, 18, 0.16);
}

.videoFeedbackPage {
  min-height: 100vh;
  background:
    radial-gradient(circle at 12% 8%, rgba(225, 25, 52, 0.16), transparent 34rem),
    linear-gradient(135deg, #07090f 0%, #111722 48%, #08090d 100%);
  color: #f7f4ef;
  padding: clamp(24px, 4vw, 56px);
}

.videoFeedbackShell {
  width: min(1120px, 100%);
  margin: 0 auto;
}

.videoFeedbackHero {
  margin-bottom: 24px;
}

.videoFeedbackHero h1,
.videoFeedbackCard h1 {
  color: #ffffff;
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1;
  letter-spacing: 0;
  margin: 0 0 12px;
}

.videoFeedbackHero p,
.videoFeedbackMuted {
  color: #d9dee7;
  font-size: 1.05rem;
  max-width: 760px;
}

/* New product badges for active catalog launches. */
.stock-pill.new-product,
.product-card.is-new-product .stock-note,
.search-result-status.new-product {
  background: var(--green-soft) !important;
  border-color: color-mix(in oklch, var(--green) 36%, transparent) !important;
  color: var(--green) !important;
}

.stock-pill.new-product::before {
  background: var(--green) !important;
}

.videoFeedbackEyebrow {
  color: #ff304f;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  margin: 0 0 12px;
  text-transform: uppercase;
}

.videoFeedbackGrid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.9fr);
  gap: 22px;
  align-items: start;
}

.videoFeedbackCard {
  background: rgba(255, 255, 255, 0.965);
  border: 1px solid rgba(15, 23, 42, 0.16);
  border-radius: 12px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
  color: #0e1423;
  padding: clamp(20px, 3vw, 30px);
  margin-bottom: 22px;
}

.videoFeedbackNarrow {
  max-width: 620px;
  margin: 8vh auto;
}

.videoFeedbackVideo,
.videoFeedbackPreview {
  width: 100%;
  max-height: 680px;
  border-radius: 10px;
  background: #08090d;
  display: block;
  object-fit: contain;
}

.videoFeedbackEmpty {
  min-height: 260px;
  border: 1px dashed rgba(15, 23, 42, 0.26);
  border-radius: 10px;
  display: grid;
  place-items: center;
  padding: 26px;
  color: #475569;
  text-align: center;
}

.videoFeedbackMeta {
  display: grid;
  gap: 10px;
  margin: 18px 0 0;
}

.videoFeedbackMeta div {
  border-top: 1px solid rgba(15, 23, 42, 0.1);
  padding-top: 10px;
}

.videoFeedbackMeta dt {
  color: #64748b;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.videoFeedbackMeta dd {
  margin: 3px 0 0;
  overflow-wrap: anywhere;
}

.videoFeedbackForm {
  display: grid;
  gap: 18px;
}

.videoFeedbackForm fieldset {
  border: 1px solid rgba(15, 23, 42, 0.16);
  border-radius: 10px;
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 14px;
}

.videoFeedbackForm legend,
.videoFeedbackTextareaLabel {
  font-weight: 900;
  color: #0e1423;
}

.videoFeedbackForm label {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #172033;
  font-weight: 700;
}

.videoFeedbackChecks {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.videoFeedbackForm textarea {
  width: 100%;
  resize: vertical;
  min-height: 150px;
  border: 1px solid rgba(15, 23, 42, 0.24);
  border-radius: 10px;
  padding: 14px;
  color: #0e1423;
  background: #f8fafc;
  font: inherit;
}

.videoFeedbackButton,
.videoFeedbackSecondaryButton {
  border: 0;
  border-radius: 8px;
  background: #d71935;
  color: #ffffff;
  cursor: pointer;
  display: inline-flex;
  justify-content: center;
  min-height: 48px;
  padding: 14px 18px;
  text-decoration: none;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.videoFeedbackSecondaryButton {
  background: #0e1423;
  margin-top: 14px;
}

.videoFeedbackSuccess,
.videoFeedbackError {
  border-radius: 8px;
  margin-top: 16px;
  padding: 13px 15px;
  font-weight: 800;
}

.videoFeedbackSuccess {
  background: rgba(20, 184, 116, 0.15);
  border: 1px solid rgba(20, 184, 116, 0.42);
  color: #bbf7d0;
}

.videoFeedbackError {
  background: rgba(225, 25, 52, 0.14);
  border: 1px solid rgba(225, 25, 52, 0.5);
  color: #fecdd3;
}

.videoFeedbackBrief {
  color: #172033;
  display: grid;
  gap: 12px;
}

.videoFeedbackBrief p {
  margin: 0;
}

.videoFeedbackBrief summary {
  cursor: pointer;
  font-weight: 900;
}

.videoFeedbackBrief pre {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  background: #0e1423;
  color: #f7f4ef;
  border-radius: 10px;
  padding: 16px;
}

@media (max-width: 820px) {
  .videoFeedbackPage {
    padding: 18px;
  }

  .videoFeedbackGrid {
    grid-template-columns: 1fr;
  }

  .videoFeedbackChecks {
    grid-template-columns: 1fr;
  }
}

.admin-filter-tabs span {
  display: inline-grid;
  min-width: 1.65rem;
  min-height: 1.65rem;
  place-items: center;
  padding: 0 0.35rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font-size: 0.74rem;
}

.admin-search-bar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 0.75rem;
  align-items: end;
  margin-bottom: 1rem;
  padding: 1rem;
  border: 1px solid var(--pc-line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
}

.admin-search-bar label {
  display: grid;
  gap: 0.4rem;
  color: #fff;
  font-size: 0.84rem;
  font-weight: 900;
}

.admin-search-bar input {
  width: 100%;
  min-height: 48px;
  padding: 0.78rem 0.9rem;
  border: 1px solid var(--pc-line);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.28);
  color: #fff;
  font: inherit;
}

.admin-ops-grid {
  grid-template-columns: minmax(0, 1fr) minmax(300px, 380px);
  align-items: start;
}

.admin-order-stack {
  display: grid;
  gap: 1rem;
}

.admin-section-head {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

.admin-order-card {
  padding: clamp(1rem, 2vw, 1.35rem);
}

.admin-order-group {
  display: grid;
  gap: 1rem;
}

.admin-order-group + .admin-order-group {
  margin-top: 1.1rem;
}

.admin-order-group-head {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem;
  border: 1px solid var(--pc-line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
}

.admin-order-group-head h3,
.admin-order-group-head p {
  margin: 0.3rem 0 0;
}

.admin-order-group-head strong {
  display: inline-grid;
  width: 3rem;
  height: 3rem;
  place-items: center;
  border: 1px solid rgba(231, 0, 18, 0.35);
  border-radius: 999px;
  background: rgba(231, 0, 18, 0.16);
  color: #fff;
}

.admin-order-group-list {
  display: grid;
  gap: 1rem;
}

.admin-order-card header {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--pc-line);
}

.admin-order-card h3 {
  margin: 0.45rem 0 0.25rem;
}

.admin-order-summary {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.65rem;
  margin-top: 1rem;
}

.admin-order-summary span {
  min-width: 0;
  padding: 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.16);
}

.admin-order-summary em,
.admin-order-summary strong {
  display: block;
}

.admin-order-summary em {
  color: var(--pc-muted);
  font-size: 0.72rem;
  font-style: normal;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.admin-order-summary strong {
  overflow-wrap: anywhere;
}

.admin-order-card p,
.admin-order-card small,
.admin-side-panel p,
.admin-side-panel small {
  color: var(--pc-muted);
}

.admin-order-detail-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 1rem 0;
}

.admin-order-detail-grid section {
  min-width: 0;
  padding: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.2);
}

.admin-order-detail-grid strong,
.admin-order-detail-grid small {
  display: block;
}

.admin-order-detail-grid ul {
  display: grid;
  gap: 0.45rem;
  margin: 0.5rem 0 0;
  padding: 0;
  list-style: none;
}

.admin-order-detail-grid .admin-attribution-section {
  grid-column: 1 / -1;
}

.admin-attribution-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.85rem;
  margin: 0.75rem 0 0;
}

.admin-attribution-grid div {
  min-width: 0;
}

.admin-attribution-grid dt {
  color: var(--pc-muted);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.admin-attribution-grid dd {
  margin: 0.3rem 0;
  font-weight: 800;
  overflow-wrap: anywhere;
}

@media (max-width: 760px) {
  .admin-attribution-grid {
    grid-template-columns: 1fr;
  }
}

.admin-order-form {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  padding-top: 1rem;
  border-top: 1px solid var(--pc-line);
}

.admin-order-form label,
.admin-resend-form {
  display: grid;
  gap: 0.4rem;
  color: #fff;
  font-size: 0.86rem;
  font-weight: 900;
}

.admin-order-form input,
.admin-order-form select,
.admin-order-form textarea {
  width: 100%;
  min-height: 48px;
  padding: 0.78rem 0.9rem;
  border: 1px solid var(--pc-line);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.28);
  color: #fff;
  font: inherit;
}

.admin-order-notes {
  grid-column: 1 / -1;
}

.admin-checkbox {
  display: flex !important;
  grid-column: 1 / -1;
  grid-template-columns: auto 1fr;
  align-items: center;
}

.admin-checkbox input {
  width: 18px;
  min-height: 18px;
}

.admin-order-actions,
.admin-resend-form {
  grid-column: 1 / -1;
}

.affiliate-application-card {
  display: grid;
  gap: 1rem;
}

.affiliate-application-details {
  display: grid;
  gap: 0.5rem;
  color: var(--pc-muted);
  font-size: 0.92rem;
}

.affiliate-application-details p {
  margin: 0;
  overflow-wrap: anywhere;
}

.affiliate-application-details strong {
  color: var(--text);
}

.affiliate-application-link {
  overflow-wrap: anywhere;
}

.affiliate-application-actions {
  display: grid;
  gap: 0.85rem;
}

.affiliate-application-actions form {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: end;
}

.affiliate-application-actions label {
  flex: 1 1 220px;
  min-width: 0;
}

.affiliate-application-actions input {
  text-transform: uppercase;
}

.affiliate-application-actions .btn {
  min-height: 44px;
}

.admin-resend-form {
  margin-top: 0.9rem;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
}

.admin-side-panel {
  display: grid;
  gap: 1rem;
  position: sticky;
  top: 110px;
}

.admin-side-panel section,
.admin-empty-state,
.admin-access-card {
  padding: 1.2rem;
}

.admin-side-panel ol {
  display: grid;
  gap: 0.55rem;
  margin: 1rem 0 0;
  padding-left: 1.2rem;
  color: var(--pc-muted);
}

.admin-subscriber-list {
  display: grid;
  gap: 0.65rem;
  margin-top: 1rem;
}

.admin-subscriber-list span {
  display: block;
  padding: 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.18);
}

.admin-subscriber-list strong,
.admin-subscriber-list small {
  display: block;
  overflow-wrap: anywhere;
}

table {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
}

th,
td {
  padding: 0.75rem;
  border-bottom: 1px solid var(--pc-line);
  text-align: left;
  vertical-align: top;
}

th {
  color: var(--pc-muted);
  font-size: 0.8rem;
  text-transform: uppercase;
}

.search-backdrop,
.cart-backdrop {
  position: fixed;
  inset: 0;
  z-index: 80;
  opacity: 0;
  pointer-events: none;
  background: rgba(0, 0, 0, 0.72);
  transition: 180ms ease;
}

.search-panel,
.cart-drawer {
  position: fixed;
  z-index: 90;
  border: 1px solid var(--pc-line);
  background: rgba(18, 18, 24, 0.98);
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transition: 180ms ease;
}

body.search-open .search-backdrop,
body.cart-open .cart-backdrop {
  opacity: 1;
  pointer-events: auto;
}

.search-panel {
  top: 90px;
  left: 50%;
  width: min(680px, calc(100% - 32px));
  padding: 1rem;
  border-radius: 8px;
  transform: translateX(-50%) translateY(-12px);
}

body.search-open .search-panel {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.search-panel-head,
.cart-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.search-panel-head button,
.cart-head button {
  width: 38px;
  height: 38px;
  border: 1px solid var(--pc-line);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
}

.search-results {
  display: grid;
  gap: 0.6rem;
  max-height: 58vh;
  overflow: auto;
  margin-top: 1rem;
}

.search-result,
.rec-item {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.55rem;
  border: 1px solid var(--pc-line);
  border-radius: 7px;
}

.search-result img,
.rec-item img {
  width: 58px;
  height: 58px;
  object-fit: cover;
  border-radius: 6px;
}

.search-result span,
.rec-item span {
  display: block;
  color: var(--pc-muted);
}

.cart-drawer {
  top: 0;
  right: 0;
  display: flex;
  flex-direction: column;
  width: min(440px, 100vw);
  height: 100vh;
  transform: translateX(100%);
}

body.cart-open .cart-drawer {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(0);
}

.cart-head {
  padding: 1rem 1.15rem 0;
}

.cart-head h2 {
  margin: 0.2rem 0 0;
  font-size: 1.35rem;
}

.shipping-card {
  padding: 1rem 1.15rem;
  border-top: 1px solid var(--pc-line);
  border-bottom: 1px solid var(--pc-line);
}

.shipping-card p,
.cart-line p,
.cart-empty,
.cart-error {
  color: var(--pc-muted);
}

.progress {
  overflow: hidden;
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
}

.progress span {
  display: block;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, var(--pc-red), #ff4136);
}

.cart-items {
  flex: 1;
  min-height: 120px;
  overflow-y: auto;
  padding: 0.75rem 1.15rem;
}

.cart-line {
  display: grid;
  grid-template-columns: 78px 1fr auto;
  gap: 0.75rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--pc-line);
}

.cart-line img {
  width: 78px;
  height: 78px;
  object-fit: cover;
  border-radius: 8px;
}

.cart-line h3 {
  margin: 0 0 0.15rem;
  font-size: 0.98rem;
}

.cart-line strong {
  white-space: nowrap;
}

.cart-qty {
  display: inline-grid;
  grid-template-columns: 32px 42px 32px;
  overflow: hidden;
  border: 1px solid var(--pc-line);
  border-radius: 7px;
}

.cart-qty button,
.cart-qty span {
  min-height: 32px;
  display: grid;
  place-items: center;
  border: 0;
  background: transparent;
  color: #fff;
}

.cart-remove {
  margin-left: 0.5rem;
  border: 0;
  background: transparent;
  color: var(--pc-muted);
}

.cart-recs {
  max-height: 250px;
  overflow-y: auto;
  padding: 1rem 1.15rem;
  border-top: 1px solid var(--pc-line);
}

.cart-recs > div:first-child {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

.cart-recs p {
  margin: 0;
  color: var(--pc-muted);
  font-size: 0.82rem;
}

.rec-item {
  margin-top: 0.65rem;
}

.rec-item button {
  margin-left: auto;
  padding: 0.5rem 0.8rem;
  border: 1px solid var(--pc-red);
  border-radius: 999px;
  background: rgba(230, 0, 0, 0.16);
  color: #fff;
  font-weight: 950;
}

.cart-footer {
  padding: 1rem 1.15rem;
  border-top: 1px solid var(--pc-line);
  background: rgba(0, 0, 0, 0.18);
}

.subtotal {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.8rem;
  color: var(--pc-muted);
  gap: 1rem;
}

.subtotal strong {
  color: #fff;
  white-space: nowrap;
}

.cart-totals {
  margin-bottom: 0.9rem;
}

.cart-total-row {
  padding-top: 0.75rem;
  border-top: 1px solid var(--pc-line);
  color: #fff;
  font-size: 1.05rem;
  font-weight: 900;
}

.cart-footer .btn + .btn {
  margin-top: 0.65rem;
}

.form-message.success {
  color: var(--pc-green);
}

.form-message.warning {
  color: #f7b955;
}

.form-message.error,
.cart-error.error {
  color: #ff6b6b;
}

.status-page {
  padding: clamp(3rem, 8vw, 6rem) 0;
}

.mobile-sticky-buy {
  display: none;
}

.product-gallery,
.detail-copy {
  order: 0;
}

@media (max-width: 1100px) {
  .primary-nav {
    position: fixed;
    top: 110px;
    right: 16px;
    left: 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.75rem;
    border: 1px solid var(--pc-line);
    border-radius: 8px;
    background: rgba(12, 14, 18, 0.98);
    box-shadow: var(--shadow);
  }

  .primary-nav.is-open {
    display: flex;
  }

  .shopify-hero,
  .product-detail,
  .checkout-page,
  .admin-grid {
    grid-template-columns: 1fr;
  }

  .product-gallery {
    position: static;
  }

  .checkout-main-grid,
  .payment-instruction-grid {
    grid-template-columns: 1fr;
  }

  .order-summary-panel {
    position: static;
  }

  .pay-step-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .control-grid,
  .updates-card,
  .subscribe-fields {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .site-header {
    grid-template-columns: auto auto auto;
    gap: 0.75rem;
    min-height: 66px;
    padding: 0.65rem 1rem;
  }

  .brand img {
    width: 140px;
  }

  .header-actions {
    gap: 0.15rem;
  }

  .icon-btn {
    width: 38px;
    height: 38px;
  }

  .shopify-hero h1,
  .products-hero h1 {
    font-size: clamp(3rem, 16vw, 4.1rem);
  }

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

  .hero-product-image {
    min-height: 330px;
  }

  .payment-method-card {
    grid-template-columns: auto 1fr;
  }

  .payment-method-card b {
    grid-column: 2;
    width: fit-content;
  }

  .payment-actions {
    display: grid;
  }

  .payment-checkout.is-instruction-stage .payment-instruction-grid {
    grid-template-columns: 1fr;
  }

  .payment-checkout.is-instruction-stage .checkout-main-grid {
    width: 100%;
  }

  .payment-copy-box {
    display: grid;
    grid-template-columns: 1fr;
  }

  .payment-copy-box .btn {
    width: 100%;
  }

  .qr-wrap {
    width: min(100%, 240px);
  }

  .split-heading,
  .panel-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .inline-search {
    width: 100%;
    min-width: 0;
  }

  .product-carousel {
    grid-auto-columns: 82%;
  }

  .spec-table {
    grid-template-columns: 1fr;
  }

  .mobile-sticky-buy {
    display: none !important;
  }

  .mobile-sticky-buy strong,
  .mobile-sticky-buy span {
    display: block;
  }

  .mobile-sticky-buy span {
    color: var(--pc-muted);
    font-size: 0.82rem;
  }

  .has-sticky-buy {
    padding-bottom: 0;
  }

  .cart-drawer {
    width: 100%;
  }

  .cart-line {
    grid-template-columns: 66px 1fr;
  }

  .cart-line > strong {
    grid-column: 2;
  }
}

/* === Home polish and Shopify parity pass === */
.primary-nav a {
  color: var(--soft);
  font-family: inherit;
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.75rem 0;
  border: 0;
  border-bottom: 2px solid transparent;
  background: transparent;
  cursor: pointer;
}

.primary-nav a:hover,
.primary-nav a.active {
  color: #fff;
  border-color: var(--pc-red);
}

.shopify-hero {
  margin-top: 2rem;
  margin-bottom: 1rem;
  padding: clamp(2rem, 4.5vw, 4rem);
  border: 1px solid var(--pc-line);
  border-radius: 10px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.085), rgba(255, 255, 255, 0.025));
}

.shopify-hero h1 {
  max-width: 620px;
  font-size: clamp(3.6rem, 7.2vw, 6.2rem);
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin: 1.2rem 0 0;
}

.hero-tags span {
  padding: 0.45rem 0.75rem;
  border: 1px solid var(--pc-line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.055);
  color: var(--pc-soft);
  font-size: 0.78rem;
}

.hero-product-card {
  padding: 1.1rem;
}

.hero-product-card > .eyebrow {
  margin: 0 0 0.85rem;
}

.hero-product-image {
  min-height: 500px;
}

.assurance-strip {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  width: min(var(--pc-max), calc(100% - 40px));
  margin: 0 auto 1.2rem;
}

.assurance-strip article {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 0.75rem;
  align-items: center;
  min-height: 78px;
  padding: 0.85rem 0.95rem;
  border: 1px solid var(--pc-line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
}

.assurance-strip article > span {
  width: 32px;
  height: 32px;
  min-height: 0;
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
}

.assurance-strip span::before {
  content: none;
}

.assurance-strip strong {
  display: block;
  color: #fff;
  font-size: 0.95rem;
}

.assurance-strip p {
  margin: 0.25rem 0 0;
  color: var(--pc-muted);
  line-height: 1.35;
  font-size: 0.92rem;
}

.product-carousel-section {
  width: min(100%, calc(100% - 40px));
  max-width: none;
  padding-left: max(20px, calc((100vw - var(--pc-max)) / 2));
  padding-right: max(20px, calc((100vw - var(--pc-max)) / 2));
}

.product-carousel-section .section-heading h2 {
  font-size: clamp(2.8rem, 6.2vw, 5.2rem);
}

.product-carousel-frame {
  position: relative;
}

.product-carousel {
  grid-auto-columns: calc((100% - 3rem) / 4);
  overflow-x: hidden;
  padding: 0.25rem 0;
  scroll-behavior: smooth;
}

.product-carousel .product-card {
  min-width: 0;
}

.carousel-arrow {
  position: absolute;
  top: 50%;
  z-index: 3;
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--pc-line);
  border-radius: 999px;
  background: rgba(12, 14, 18, 0.94);
  color: #fff;
  font-size: 2rem;
  font-weight: 950;
  line-height: 1;
  padding: 0 0 0.12rem;
  transform: translateY(-50%);
}

.carousel-arrow-prev {
  left: -26px;
}

.carousel-arrow-next {
  right: -26px;
}

.confidence-section .centered {
  width: 100%;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.confidence-section .section-heading h2 {
  font-size: clamp(3rem, 6.5vw, 5rem);
}

.confidence-grid {
  margin-bottom: 2rem;
}

.updates-card {
  min-height: 0;
  padding: 1.2rem 1.4rem;
}

.updates-card h2 {
  margin: 0 0 0.55rem;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
}

.updates-card p {
  margin-bottom: 0;
}

.subscribe-fields input,
.subscribe-fields .btn {
  min-height: 54px;
}

.site-footer {
  display: block;
  padding: 0;
  background: #020305;
}

.footer-inner {
  width: min(var(--pc-max), calc(100% - 40px));
  display: grid;
  grid-template-columns: 1.45fr 1fr 1fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  margin-inline: auto;
  padding: clamp(3rem, 6vw, 5.2rem) 0 2rem;
}

.footer-brand p {
  max-width: 360px;
}

.footer-brand strong {
  display: block;
  max-width: 360px;
  margin-top: 1rem;
  color: var(--pc-soft);
  line-height: 1.55;
}

.social-links {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.4rem;
}

.site-footer .social-links a {
  width: 50px;
  height: 50px;
  display: inline-grid;
  place-items: center;
  margin: 0;
  border: 1px solid var(--pc-line);
  border-radius: 8px;
  color: #fff;
  background: rgba(255, 255, 255, 0.04);
}

.site-footer h3 {
  color: #fff;
  font-size: 0.86rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-footer a {
  color: var(--pc-muted);
  margin: 0.8rem 0;
}

.footer-notice {
  grid-column: 1 / -1;
  padding-top: 1.5rem;
  border-top: 1px solid var(--pc-line);
}

.footer-notice p {
  max-width: 980px;
}

.footer-bottom {
  grid-column: 1 / -1;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  padding-top: 1.4rem;
  border-top: 1px solid var(--pc-line);
}

.payment-pills {
  display: inline-flex;
  gap: 0.45rem;
  align-items: center;
}

.payment-pills em {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  justify-content: center;
  padding: 0.2rem 0.55rem;
  border: 1px solid var(--pc-line);
  border-radius: 6px;
  color: #fff;
  background: rgba(255, 255, 255, 0.05);
  font-size: 0.78rem;
  font-style: normal;
  font-weight: 950;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.lab-testing-page {
  max-width: 960px;
}

.lab-testing-page h1 {
  max-width: 850px;
}

.lab-testing-page h2 {
  padding-top: 0.7rem;
}

.lab-testing-page a {
  color: #ff4a4a;
  font-weight: 900;
}

.lab-testing-page ul,
.lab-testing-page ol {
  color: var(--pc-muted);
  line-height: 1.65;
}

.lab-process {
  display: grid;
  gap: 0.75rem;
  padding-left: 0;
  list-style: none;
}

.lab-process li {
  padding: 1rem;
  border: 1px solid var(--pc-line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.035);
}

.lab-process strong,
.lab-process span {
  display: block;
}

.lab-process strong {
  color: #fff;
}

.check-list {
  columns: 2;
}

.product-card.is-filtered-out,
body.catalog-page [data-product-grid] .product-card[hidden],
.product-card[hidden] {
  display: none !important;
}

.cart-drawer {
  width: min(520px, 100vw);
  overflow-y: auto;
  scrollbar-width: none;
}

.cart-drawer::-webkit-scrollbar,
.cart-items::-webkit-scrollbar,
.cart-recs::-webkit-scrollbar {
  width: 0;
  height: 0;
}

.cart-head {
  padding: 1.15rem 1.35rem 0.8rem;
}

.cart-head h2 {
  font-size: 1.65rem;
}

.shipping-card {
  margin: 0 1.15rem 0.75rem;
  padding: 1rem;
  border: 1px solid var(--pc-line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.035);
}

.shipping-card h3 {
  margin-top: 0;
  font-size: 1.15rem;
}

.shipping-card p {
  margin: 0.35rem 0;
  font-size: 0.94rem;
}

.cart-items {
  flex: 0 0 auto;
  overflow: visible;
  padding: 0.25rem 1.35rem 0.75rem;
}

.cart-line {
  grid-template-columns: 86px 1fr auto;
  align-items: start;
  gap: 0.85rem;
  margin-bottom: 0.75rem;
  padding: 0.8rem;
  border: 1px solid var(--pc-line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.035);
}

.cart-line img {
  width: 86px;
  height: 86px;
}

.cart-qty {
  margin-top: 0.45rem;
}

.cart-remove {
  display: inline-flex;
  margin: 0.5rem 0 0;
  padding: 0;
}

.cart-recs {
  max-height: none;
  overflow: visible;
  margin: 0 1.15rem 0.75rem;
  padding: 1rem;
  border: 1px solid var(--pc-line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.025);
}

.cart-footer {
  position: sticky;
  bottom: 0;
  padding: 1rem 1.35rem 1.15rem;
  background: rgba(18, 18, 24, 0.98);
  backdrop-filter: blur(18px);
}

.contact-page {
  max-width: 1180px;
}

.contact-page > p {
  max-width: 960px;
}

.contact-support-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(420px, 0.9fr);
  gap: 1rem;
  margin: 2rem 0 1rem;
}

.contact-copy-card {
  margin: 1rem 0;
  padding: clamp(1.2rem, 3vw, 1.8rem);
  border: 1px solid var(--pc-line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.035);
}

.contact-copy-card h2 {
  margin-top: 0;
}

.contact-copy-card.accent {
  background: linear-gradient(145deg, rgba(230, 0, 0, 0.12), rgba(255, 255, 255, 0.035));
}

.contact-copy-card.accent h2 {
  font-size: clamp(1.35rem, 2vw, 1.7rem);
  overflow-wrap: anywhere;
}

.contact-copy-card.important {
  border-color: rgba(230, 0, 0, 0.32);
}

.contact-updates-card {
  margin-top: 1.5rem;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.62fr);
  padding: 1.05rem 1.25rem;
}

.contact-updates-card .subscribe-fields {
  grid-template-columns: 1fr auto;
}

.account-shell {
  min-height: calc(100vh - 230px);
  padding: clamp(2.5rem, 7vw, 5rem) 0;
}

.account-nav {
  justify-content: center;
}

.account-card,
.account-dashboard {
  max-width: 980px;
}

.auth-card {
  max-width: 620px;
}

.account-form {
  display: grid;
  gap: 1rem;
  margin-top: 1.4rem;
}

.account-form label,
.account-form span {
  display: block;
}

.account-form label > span {
  margin-bottom: 0.4rem;
  color: var(--pc-muted);
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.account-form input {
  width: 100%;
  min-height: 54px;
  padding: 0 1rem;
  border: 1px solid var(--pc-line);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.22);
  color: #fff;
  font: inherit;
}

.account-switch {
  margin-top: 1.2rem;
  color: var(--pc-muted);
}

.account-switch a,
.account-panel dd {
  color: #fff;
}

.account-inline-link {
  justify-self: start;
  color: var(--red);
  font-size: 0.9rem;
  font-weight: 800;
  text-decoration: none;
}

.account-inline-link:hover {
  text-decoration: underline;
}

.form-message.error {
  color: #ff5d5d;
}

.form-message.success {
  color: var(--pc-green);
}

.account-dashboard-head {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: flex-start;
}

.account-dashboard-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.75rem;
}

.account-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.account-panel {
  padding: 1.2rem;
  border: 1px solid var(--pc-line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.035);
}

.account-panel-wide {
  grid-column: 1 / -1;
}

.account-panel dl {
  display: grid;
  gap: 1rem;
  margin: 1rem 0 0;
}

.account-panel dt {
  color: var(--pc-muted);
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.account-panel dd {
  margin: 0.25rem 0 0;
  overflow-wrap: anywhere;
}

.account-order-list {
  display: grid;
  gap: 0.85rem;
  margin-top: 1rem;
}

.account-order-card {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.4fr);
  gap: 1rem;
  padding: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.18);
}

.account-order-card h3 {
  margin: 0.45rem 0 0.2rem;
}

.account-order-card p {
  color: var(--pc-muted);
}

.account-order-card dl {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.account-footer {
  padding: 1.5rem clamp(1rem, 4vw, 3rem);
}

@media (max-width: 1100px) {
  .shopify-hero,
  .assurance-strip,
  .footer-inner,
  .contact-support-grid,
  .contact-updates-card,
  .contact-updates-card .subscribe-fields {
    grid-template-columns: 1fr;
  }

  .product-carousel {
    grid-auto-columns: calc((100% - 1rem) / 2);
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .account-dashboard-head,
  .account-grid {
    grid-template-columns: 1fr;
  }

  .account-order-card,
  .account-order-card dl {
    grid-template-columns: 1fr;
  }

  .account-dashboard-head {
    flex-direction: column;
  }

  .account-dashboard-actions {
    justify-content: flex-start;
    width: 100%;
  }

  .product-proof-grid {
    grid-template-columns: 1fr;
  }

  .admin-ops-hero,
  .admin-ops-grid,
  .admin-order-summary,
  .admin-order-detail-grid {
    grid-template-columns: 1fr;
  }

  .admin-ops-metrics {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .admin-discount-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .admin-side-panel {
    position: static;
  }
}

@media (max-width: 720px) {
  .admin-ops-shell {
    width: min(100% - 1rem, 100%);
    padding-top: 1rem;
  }

  .admin-ops-metrics,
  .admin-discount-metrics,
  .admin-search-bar,
  .admin-order-form {
    grid-template-columns: 1fr;
  }

  .admin-ops-metrics span {
    min-height: 78px;
  }

  .admin-order-card header,
  .admin-order-group-head,
  .admin-section-head,
  .admin-resend-form {
    grid-template-columns: 1fr;
    flex-direction: column;
  }

  .admin-order-form .btn,
  .admin-resend-form .btn {
    width: 100%;
  }

  .shopify-hero {
    margin-top: 1rem;
    padding: 1.15rem;
  }

  .shopify-hero h1 {
    font-size: clamp(3rem, 15vw, 4.2rem);
  }

  .hero-product-image {
    min-height: 330px;
  }

  .assurance-strip article {
    grid-template-columns: 36px 1fr;
  }

  .product-carousel-section {
    width: min(100% - 28px, var(--pc-max));
    padding-left: 0;
    padding-right: 0;
  }

  .product-carousel {
    grid-auto-columns: 100%;
  }

  .carousel-arrow {
    width: 44px;
    height: 44px;
  }

  .carousel-arrow-prev {
    left: 8px;
  }

  .carousel-arrow-next {
    right: 8px;
  }

  .check-list {
    columns: 1;
  }
}

/* === Header search and product card polish === */
.site-header {
  min-height: 62px;
  gap: clamp(1rem, 2.4vw, 2.5rem);
  padding: 0.65rem clamp(1rem, 4vw, 4rem);
}

.primary-nav {
  flex: 1;
  justify-content: center;
  gap: clamp(1rem, 2vw, 1.75rem);
}

.header-actions {
  flex-shrink: 0;
  margin-left: auto;
}

.mobile-search-toggle {
  display: none;
}

.header-search {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  width: clamp(190px, 16vw, 285px);
}

.header-search input {
  flex: 1 1 auto;
  width: 0;
  min-width: 0;
  min-height: 34px;
  height: 34px;
  padding: 0 0.75rem;
  border: 1px solid var(--pc-line);
  border-radius: 7px;
  background: #06070a;
  color: #fff;
  font-size: 0.78rem;
  outline: none;
}

.header-search input:focus {
  border-color: rgba(255, 255, 255, 0.68);
}

.header-search-submit {
  flex: 0 0 38px;
  width: 38px;
  height: 34px;
  display: inline-grid;
  place-items: center;
  border: 0;
  border-radius: 4px;
  background: var(--pc-red);
  color: #fff;
}

.header-search-submit svg {
  width: 18px;
  height: 18px;
}

.header-search-popover {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  z-index: 150;
  width: min(520px, calc(100vw - 28px));
  padding: 0.85rem;
  border: 1px solid var(--pc-line);
  border-radius: 8px;
  background: rgba(17, 17, 23, 0.985);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.64);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-8px);
  transition: opacity 150ms ease, transform 150ms ease;
}

.header-search.is-open .header-search-popover {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.popular-searches {
  display: grid;
  gap: 0.75rem;
}

.popular-searches > div:first-child {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.popular-searches strong {
  color: #fff;
  font-size: 0.8rem;
  text-transform: uppercase;
}

.popular-searches span {
  color: var(--pc-muted);
  font-size: 0.68rem;
}

.popular-searches > div:last-child {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.popular-searches button {
  min-height: 32px;
  padding: 0 0.75rem;
  border: 1px solid var(--pc-line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.035);
  color: #fff;
  font-size: 0.72rem;
}

.popular-searches button:hover {
  border-color: rgba(230, 0, 0, 0.56);
  background: rgba(230, 0, 0, 0.12);
}

.header-search.has-query .popular-searches {
  display: none;
}

.header-search:not(.has-query) .search-results {
  display: none;
}

.search-results {
  scrollbar-width: none;
}

.search-results::-webkit-scrollbar {
  width: 0;
  height: 0;
}

.search-result strong {
  color: var(--pc-red);
}

.search-result-status {
  color: var(--nova-dark-accent);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.product-price-range {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.34rem;
  line-height: 1.1;
}

.product-price-range .price-separator {
  color: var(--pc-muted);
  font-size: 0.9em;
}

@media (max-width: 1280px) {
  .header-search {
    width: clamp(170px, 14vw, 230px);
  }

  .primary-nav {
    gap: 1rem;
  }
}

@media (max-width: 1100px) {
  .site-header {
    min-height: 68px;
  }

  .header-search {
    width: min(42vw, 280px);
  }
}

@media (max-width: 720px) {
  .site-header {
    min-height: clamp(68px, 17vw, 74px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: clamp(0.4rem, 2vw, 0.65rem);
    padding: 0.65rem clamp(0.75rem, 3.2vw, 1rem);
    overflow: visible;
  }

  .site-header .brand {
    display: flex;
    align-items: center;
    flex: 1 1 clamp(8.5rem, 42vw, 10rem);
    max-width: clamp(8.5rem, 42vw, 10rem);
    min-width: 0;
  }

  .site-header .brand img {
    width: clamp(136px, 36vw, 148px);
    height: auto;
    max-width: 100%;
    object-fit: contain;
  }

  .header-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: clamp(0.28rem, 1.6vw, 0.42rem);
    width: auto;
    margin-left: auto;
    flex: 0 0 auto;
  }

  .header-search {
    display: none;
  }

  .mobile-search-toggle {
    display: inline-grid;
  }

  .header-actions .icon-btn,
  .mobile-search-toggle,
  .menu-toggle {
    width: clamp(38px, 10.5vw, 42px);
    height: clamp(38px, 10.5vw, 42px);
    flex: 0 0 clamp(38px, 10.5vw, 42px);
  }

  .menu-toggle {
    display: inline-flex;
    position: relative;
    z-index: 90;
    order: 99;
  }

  body,
  html {
    overflow-x: hidden;
  }
}

/* ── Research Hub Blog System ─────────────────────────────── */
.blog-hub,
.blog-post-wrap {
  width: min(1200px, calc(100% - 2rem));
  margin-inline: auto;
}

/* Blog index hero */
.blog-hub-hero {
  padding: clamp(3.5rem, 7vw, 6rem) 0 clamp(2rem, 4vw, 3rem);
  border-bottom: 1px solid var(--line);
}
.blog-hub-hero .eyebrow { margin-bottom: 0.75rem; }
.blog-hub-hero h1 {
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  margin: 0 0 1rem;
  line-height: 1.1;
}
.blog-hub-hero p { color: var(--muted); max-width: 56ch; font-size: 1.05rem; margin: 0; }

/* Blog card grid */
.blog-hub-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(310px, 1fr));
  gap: 1.25rem;
  padding: clamp(2.5rem, 5vw, 4.5rem) 0 clamp(3.5rem, 7vw, 6rem);
}
.blog-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  transition: border-color 0.18s, transform 0.18s, box-shadow 0.18s;
  text-decoration: none;
  color: inherit;
}
.blog-card:hover {
  border-color: rgba(255,255,255,0.26);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.3);
}
.blog-card-meta { display: flex; align-items: center; gap: 0.6rem; flex-wrap: wrap; }
.blog-card-cat {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--red);
  background: rgba(224,0,0,0.1);
  border: 1px solid rgba(224,0,0,0.22);
  border-radius: 4px;
  padding: 0.18rem 0.5rem;
}
.blog-card-time { font-size: 0.75rem; color: var(--muted); }
.blog-faq-item { padding: 0.85rem 0; border-top: 1px solid var(--line); }
.blog-faq-item:first-of-type { border-top: 0; padding-top: 0.25rem; }
.blog-faq-item h3 { margin: 0 0 0.35rem; font-size: 1.02rem; font-weight: 600; }
.blog-faq-item p { margin: 0; }
.blog-card h2 {
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0.15rem 0 0;
  line-height: 1.35;
  color: var(--text);
}
.blog-card p {
  color: var(--muted);
  font-size: 0.875rem;
  line-height: 1.65;
  margin: 0;
  flex: 1;
}
.blog-card-cta {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--red);
  margin-top: 0.5rem;
  letter-spacing: 0.02em;
}

/* Blog post layout */
.blog-post-hero {
  padding: clamp(2.5rem, 5vw, 5rem) 0 2rem;
  border-bottom: 1px solid var(--line);
}
.blog-breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.78rem;
  color: var(--muted);
  margin-bottom: 1.5rem;
}
.blog-breadcrumb a { color: var(--muted); text-decoration: none; }
.blog-breadcrumb a:hover { color: var(--text); }
.blog-breadcrumb span { opacity: 0.35; }
.blog-post-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
  flex-wrap: wrap;
}
.blog-post-cat {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--red);
  background: rgba(224,0,0,0.1);
  border: 1px solid rgba(224,0,0,0.22);
  border-radius: 4px;
  padding: 0.18rem 0.5rem;
}
.blog-post-time { font-size: 0.8rem; color: var(--muted); }
.blog-post-hero h1 {
  font-size: clamp(1.65rem, 4vw, 2.75rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 1rem;
  max-width: 26ch;
  line-height: 1.2;
}
.blog-post-intro { color: var(--muted); font-size: 1.05rem; line-height: 1.7; max-width: 60ch; margin: 0; }

/* Blog post content */
.blog-post-body {
  padding: clamp(2rem, 4vw, 3.5rem) 0;
  max-width: 740px;
}
.blog-toc {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.2rem 1.5rem;
  margin-bottom: 2.5rem;
}
.blog-toc p {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 0.6rem;
}
.blog-toc ol { padding-left: 1.2rem; margin: 0; }
.blog-toc li { margin-bottom: 0.3rem; }
.blog-toc a { color: var(--soft); font-size: 0.875rem; text-decoration: none; }
.blog-toc a:hover { color: var(--red); }
.blog-post-body h2 {
  font-size: 1.4rem;
  font-weight: 700;
  margin: 2.5rem 0 0.8rem;
  color: var(--text);
  letter-spacing: -0.01em;
}
.blog-post-body p {
  color: var(--muted);
  line-height: 1.8;
  margin: 0 0 1.1rem;
  font-size: 0.975rem;
}
.blog-post-body ul,
.blog-post-body ol {
  padding-left: 1.3rem;
  color: var(--muted);
  line-height: 1.75;
  margin-bottom: 1.1rem;
  font-size: 0.975rem;
}
.blog-post-body li { margin-bottom: 0.3rem; }
.blog-post-body strong { color: var(--text); font-weight: 600; }
.blog-post-body a { color: var(--red); text-decoration: none; }
.blog-post-body a:hover { text-decoration: underline; }

/* Disclaimer box */
.blog-disclaimer {
  margin-top: 2.5rem;
  background: rgba(224,0,0,0.05);
  border: 1px solid rgba(224,0,0,0.2);
  border-radius: var(--radius);
  padding: 1.2rem 1.5rem;
}
.blog-disclaimer p {
  color: var(--muted);
  font-size: 0.85rem;
  margin: 0;
  line-height: 1.65;
}
.blog-disclaimer strong { color: var(--text); }

/* Related articles */
.blog-related {
  border-top: 1px solid var(--line);
  padding: clamp(2.5rem, 5vw, 4rem) 0 clamp(3.5rem, 7vw, 6rem);
}
.blog-related-head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 1.5rem; }
.blog-related-head h2 { font-size: 1.25rem; font-weight: 700; margin: 0; }
.blog-related-head a { font-size: 0.85rem; color: var(--red); text-decoration: none; font-weight: 600; }
.blog-related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1rem;
}

/* Responsive */
@media (max-width: 768px) {
  .blog-hub-grid { grid-template-columns: 1fr; }
  .blog-post-hero h1 { max-width: 100%; }
  .blog-related-grid { grid-template-columns: 1fr; }
  .blog-post-body { max-width: 100%; }
}

@media (max-width: 720px) {
  .header-actions {
    display: flex !important;
    align-items: center !important;
    gap: 0.35rem !important;
  }
}
/* Legacy mobile logo fallback, superseded by the consolidated 768px block below */
@media (max-width: 720px) {
  .site-header {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
  }

  /* Remet le logo */
  .brand {
    display: block !important;
    flex: 0 0 auto;
  }

  .brand img {
    width: 110px; /* ajuste si trop gros */
    height: auto;
  }

  /* Actions à droite */
  .header-actions {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    margin-left: auto;
  }
}
/* Mobile hamburger dropdown */
@media (max-width: 720px) {
  .primary-nav {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 0 !important;
    overflow-y: auto !important;
  }

  .primary-nav > a {
    position: relative !important;
    z-index: 1 !important;
    display: flex !important;
    width: 100% !important;
    min-height: 48px !important;
    align-items: center !important;
  }
}
/* Mobile cart and checkout usability */
@media (max-width: 720px) {
  main {
    overflow-x: hidden;
    overflow-y: visible;
  }

  .cart-drawer {
    top: 0;
    right: 0;
    bottom: auto;
    width: 100% !important;
    max-width: 100%;
    height: 100vh;
    height: 100svh;
    height: 100dvh;
    min-height: 100dvh;
    max-height: 100dvh;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    padding-bottom: env(safe-area-inset-bottom, 0px);
    box-sizing: border-box;
  }

  .cart-head,
  .shipping-card,
  .cart-items,
  .cart-recs,
  .cart-footer {
    flex: 0 0 auto;
  }

  .cart-items,
  .cart-recs {
    max-height: none;
    overflow: visible;
  }

  .shipping-card,
  .cart-recs {
    margin-right: 0.85rem;
    margin-left: 0.85rem;
  }

  .cart-items {
    min-height: 0;
    padding-right: 0.85rem;
    padding-left: 0.85rem;
  }

  .cart-line {
    grid-template-columns: 70px minmax(0, 1fr);
  }

  .cart-line img {
    width: 70px;
    height: 70px;
  }

  .cart-line > strong {
    grid-column: 2;
    justify-self: start;
  }

  .cart-footer {
    position: static !important;
    margin-top: 0.25rem;
    padding: 1rem 0.95rem calc(2rem + env(safe-area-inset-bottom, 0px));
    background: rgba(18, 18, 24, 0.98);
    backdrop-filter: blur(18px);
  }

  .cart-footer .btn {
    min-height: 52px;
  }

  .checkout-page.payment-checkout {
    display: flex !important;
    flex-direction: column;
    gap: 1rem;
    width: min(100% - 24px, var(--pc-max));
    padding: 1rem 0 calc(2.5rem + env(safe-area-inset-bottom, 0px));
    overflow: visible;
  }

  .payment-checkout .checkout-copy {
    display: none;
  }

  .payment-checkout .checkout-main-grid {
    order: 1;
    display: flex !important;
    flex-direction: column;
    width: 100%;
    gap: 1rem;
  }

  .payment-checkout .order-summary-panel {
    order: 1;
    position: static !important;
    width: 100%;
  }

  .payment-checkout .checkout-flow-card {
    order: 2;
    width: 100%;
  }

  .checkout-flow-card,
  .checkout-form,
  .payment-instruction-card,
  .payment-confirm-card,
  .payment-submitted-card {
    padding: 1rem;
  }

  .checkout-summary {
    margin-bottom: 0.75rem;
  }

  .checkout-line {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: start;
    gap: 0.75rem;
    padding: 0.85rem 0.8rem;
  }

  .checkout-line strong {
    text-align: right;
    white-space: nowrap;
  }

  .checkout-line div strong {
    text-align: left;
    white-space: normal;
  }

  .discount-code-row {
    grid-template-columns: 1fr;
  }

  .discount-code-row .btn {
    width: 100%;
  }

  .checkout-customer-form input,
  .checkout-customer-form textarea,
  .discount-code-row input,
  .payment-confirm-card input,
  .payment-confirm-card textarea {
    font-size: 16px;
  }

  .payment-method-card {
    grid-template-columns: 24px minmax(0, 1fr);
    gap: 0.75rem;
    padding: 0.9rem;
  }

  .payment-method-card b {
    grid-column: 2;
    justify-self: start;
    white-space: normal;
  }

  .payment-method-note {
    font-size: 0.95rem;
  }

  .payment-total {
    font-size: clamp(2.05rem, 11vw, 3.05rem);
  }

  .payment-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .payment-actions .btn,
  .payment-actions .support-link,
  .paypal-payment-link {
    width: 100%;
    min-height: 52px;
    justify-content: center;
    text-align: center;
  }

  .payment-copy-box span {
    font-size: 0.84rem;
  }

  .summary-rows {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .site-header {
    min-height: clamp(68px, 17vw, 74px);
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    column-gap: clamp(0.4rem, 2vw, 0.65rem);
    padding-inline: clamp(0.75rem, 3.2vw, 1rem);
    overflow: visible;
  }

  .site-header .brand {
    display: flex !important;
    align-items: center;
    flex: 1 1 clamp(8.5rem, 42vw, 10rem);
    max-width: clamp(8.5rem, 42vw, 10rem);
    min-width: 0;
  }

  .site-header .brand img {
    width: clamp(136px, 36vw, 148px);
    height: auto;
    max-width: 100%;
    object-fit: contain;
  }

  .header-actions {
    display: flex !important;
    align-items: center;
    justify-content: flex-end;
    gap: clamp(0.28rem, 1.6vw, 0.42rem);
    width: auto;
    margin-left: auto;
    flex: 0 0 auto;
  }

  .header-search {
    display: none !important;
  }

  .mobile-search-toggle {
    display: inline-grid !important;
  }

  .header-actions .icon-btn,
  .mobile-search-toggle,
  .menu-toggle {
    width: clamp(38px, 10.5vw, 42px) !important;
    height: clamp(38px, 10.5vw, 42px) !important;
    flex: 0 0 clamp(38px, 10.5vw, 42px) !important;
  }

  .primary-nav {
    left: clamp(0.75rem, 3.2vw, 1rem);
    right: clamp(0.75rem, 3.2vw, 1rem);
    width: auto;
  }

  .mobile-checkout-assurance {
    display: grid;
    gap: 0.2rem;
    padding: 0.85rem 1rem;
    border: 1px solid rgba(0, 214, 125, 0.26);
    border-radius: 8px;
    background: rgba(0, 214, 125, 0.055);
    color: var(--pc-soft);
    line-height: 1.45;
  }

  .mobile-checkout-assurance strong {
    color: #fff;
    font-size: 0.78rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }
}

/* ===========================
   AFFILIATE PAGE
   =========================== */

.affiliate-hero-wrapper {
  background: linear-gradient(160deg, rgba(224, 0, 0, 0.07) 0%, transparent 55%), var(--panel);
  border-bottom: 1px solid var(--line);
}

.affiliate-page-hero {
  width: min(820px, calc(100% - 2rem));
  margin-inline: auto;
  padding: clamp(4rem, 8vw, 7rem) 0;
  text-align: center;
}

.affiliate-page-hero h1 {
  font-size: clamp(2.2rem, 4.5vw, 3.6rem);
  line-height: 1.06;
  margin: 0.75rem 0 1.25rem;
}

.affiliate-page-hero p {
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.68;
  margin-bottom: 2rem;
  max-width: 640px;
  margin-inline: auto;
}

.affiliate-hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* Why Partner section */
.affiliate-why-section {
  padding: clamp(3rem, 6vw, 5rem) 0;
}

.affiliate-section-desc {
  color: var(--muted);
  margin: 0.75rem auto 0;
  max-width: 560px;
  text-align: center;
  line-height: 1.6;
}

.section-heading.centered {
  flex-direction: column;
  align-items: center;
  text-align: center;
  justify-content: center;
}

.featured-products-actions {
  margin: 2.4rem 0 0;
}

.affiliate-benefit-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
  margin-top: 2.5rem;
}

.affiliate-benefit-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.75rem;
  transition: border-color 160ms ease;
}

.affiliate-benefit-card:hover {
  border-color: rgba(224, 0, 0, 0.35);
}

.affiliate-benefit-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: rgba(224, 0, 0, 0.1);
  border-radius: 8px;
  color: var(--red);
  margin-bottom: 1.1rem;
}

.affiliate-benefit-icon svg {
  width: 22px;
  height: 22px;
}

.affiliate-benefit-card h3 {
  margin: 0 0 0.65rem;
  font-size: 1.02rem;
}

.affiliate-benefit-card p {
  color: var(--muted);
  margin: 0;
  font-size: 0.93rem;
  line-height: 1.62;
}

/* Steps section */
.affiliate-steps-section {
  padding: clamp(3rem, 6vw, 5rem) 0;
  border-top: 1px solid var(--line);
}

.affiliate-steps {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-top: 2.5rem;
}

.affiliate-step {
  flex: 1;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.75rem;
}

.affiliate-step-num {
  display: block;
  font-size: 2.4rem;
  font-weight: 900;
  color: var(--red);
  line-height: 1;
  margin-bottom: 0.85rem;
  opacity: 0.65;
}

.affiliate-step h3 {
  margin: 0 0 0.65rem;
  font-size: 1.05rem;
}

.affiliate-step p {
  color: var(--muted);
  margin: 0;
  font-size: 0.93rem;
  line-height: 1.62;
}

.affiliate-step-divider {
  font-size: 1.6rem;
  color: rgba(255, 255, 255, 0.2);
  padding-top: 1.6rem;
  flex-shrink: 0;
}

/* Commission section */
.affiliate-commission-section {
  padding: clamp(3rem, 6vw, 5rem) 0;
  border-top: 1px solid var(--line);
}

.affiliate-commission-panel {
  background: linear-gradient(135deg, rgba(224, 0, 0, 0.055) 0%, var(--panel) 55%);
  border: 1px solid rgba(224, 0, 0, 0.22);
  border-radius: var(--radius);
  padding: clamp(2rem, 4vw, 3rem);
}

.affiliate-commission-panel h2 {
  margin: 0.5rem 0 2rem;
}

.affiliate-commission-list {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 0.85rem;
}

.affiliate-commission-list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.97rem;
  color: var(--soft);
}

.affiliate-commission-list li span {
  color: var(--green);
  font-weight: 900;
  font-size: 1.1rem;
  flex-shrink: 0;
  width: 18px;
}

.affiliate-commission-note {
  color: var(--muted);
  font-size: 0.85rem;
  border-top: 1px solid var(--line);
  padding-top: 1.5rem;
  margin: 0;
  line-height: 1.65;
}

/* Form section */
.affiliate-form-section {
  padding: clamp(3.5rem, 7vw, 6rem) 0;
  border-top: 1px solid var(--line);
}

/* Restrained affiliate application surface. */
.affiliate-form-outer {
  max-width: 980px;
  margin-inline: auto;
  position: relative;
  border-radius: 8px;
}

.affiliate-form-outer::before {
  display: none;
}

.affiliate-form-panel {
  position: relative;
  z-index: 1;
  background: var(--site-surface, oklch(99.5% 0.002 80));
  border: 1px solid var(--site-line, rgba(0, 0, 0, 0.12));
  border-radius: 8px;
  padding: clamp(2.5rem, 5vw, 4rem);
  box-shadow: none;
  transition: border-color 180ms ease;
}

.affiliate-form-panel:hover {
  border-color: var(--site-line-dark, rgba(0, 0, 0, 0.24));
}

.affiliate-form-panel::before {
  display: none;
}

/* Header */
.affiliate-form-header {
  margin-bottom: 2.5rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--site-line, rgba(0, 0, 0, 0.1));
}

.affiliate-form-header h2 {
  margin: 0.5rem 0 0.85rem;
  color: var(--text);
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  line-height: 1.1;
}

.affiliate-form-header p {
  color: var(--muted);
  margin: 0;
  line-height: 1.65;
  max-width: 540px;
  font-size: 0.95rem;
}

/* Form layout */
.affiliate-form {
  display: grid;
  gap: 1.75rem;
}

.affiliate-form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem 1.75rem;
}

/* Field wrapper — replaces bare <label> */
.affiliate-field {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  cursor: pointer;
}

.affiliate-field-label {
  font-size: 0.87rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: 0.025em;
  display: flex;
  align-items: center;
  gap: 0.3rem;
  flex-wrap: wrap;
}

.affiliate-field-label em {
  color: var(--red);
  font-style: normal;
}

.affiliate-field-label small {
  color: rgba(255, 255, 255, 0.32);
  font-size: 0.8rem;
  font-weight: 400;
  margin-left: 0.2rem;
}

/* Inputs */
.affiliate-form input {
  width: 100%;
  min-height: 54px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.92);
  padding: 0 1.1rem;
  font: inherit;
  font-size: 0.95rem;
  transition: border-color 200ms ease, box-shadow 200ms ease, background 200ms ease;
}

.affiliate-form input::placeholder {
  color: rgba(255, 255, 255, 0.26);
  font-weight: 400;
}

.affiliate-form input:hover {
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.055);
}

.affiliate-form input:focus,
.affiliate-form input:focus-visible {
  outline: none;
  border-color: rgba(224, 0, 0, 0.65);
  background: rgba(224, 0, 0, 0.04);
  box-shadow: 0 0 0 3px rgba(224, 0, 0, 0.14), 0 2px 8px rgba(0, 0, 0, 0.3);
}

/* Custom select */
.affiliate-select {
  width: 100%;
  min-height: 54px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background-color: rgba(255, 255, 255, 0.04);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='rgba(255,255,255,0.3)' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1.1rem center;
  color: rgba(255, 255, 255, 0.92);
  padding: 0 2.75rem 0 1.1rem;
  font: inherit;
  font-size: 0.95rem;
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  transition: border-color 200ms ease, box-shadow 200ms ease, background-color 200ms ease;
}

.affiliate-select option {
  background: #0d1018;
  color: rgba(255, 255, 255, 0.9);
  padding: 0.5rem;
}

.affiliate-select:hover {
  border-color: rgba(255, 255, 255, 0.18);
  background-color: rgba(255, 255, 255, 0.055);
}

.affiliate-select:focus,
.affiliate-select:focus-visible {
  outline: none;
  border-color: rgba(224, 0, 0, 0.65);
  background-color: rgba(224, 0, 0, 0.04);
  box-shadow: 0 0 0 3px rgba(224, 0, 0, 0.14), 0 2px 8px rgba(0, 0, 0, 0.3);
}

/* Textarea */
.affiliate-form textarea {
  width: 100%;
  min-height: 140px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.92);
  padding: 1rem 1.1rem;
  font: inherit;
  font-size: 0.95rem;
  line-height: 1.65;
  resize: vertical;
  transition: border-color 200ms ease, box-shadow 200ms ease, background 200ms ease;
}

.affiliate-form textarea::placeholder {
  color: rgba(255, 255, 255, 0.26);
  font-weight: 400;
}

.affiliate-form textarea:hover {
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.055);
}

.affiliate-form textarea:focus,
.affiliate-form textarea:focus-visible {
  outline: none;
  border-color: rgba(224, 0, 0, 0.65);
  background: rgba(224, 0, 0, 0.04);
  box-shadow: 0 0 0 3px rgba(224, 0, 0, 0.14), 0 2px 8px rgba(0, 0, 0, 0.3);
}

/* Section divider */
.affiliate-form-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.07), transparent);
  margin: 0.25rem 0;
}

/* Disclaimer */
.affiliate-form-disclaimer {
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.065);
  border-radius: 10px;
  padding: 1.1rem 1.35rem;
}

.affiliate-form-disclaimer p {
  color: rgba(255, 255, 255, 0.38);
  font-size: 0.82rem;
  margin: 0;
  line-height: 1.7;
}

/* Submit area */
.affiliate-form-submit {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
}

.affiliate-submit-btn {
  min-height: 56px;
  padding: 1rem 2.75rem;
  font-size: 0.94rem;
  letter-spacing: 0.07em;
  border-radius: 10px;
  background: linear-gradient(135deg, #e60000 0%, #b50000 100%);
  border-color: transparent;
  box-shadow: 0 4px 20px rgba(224, 0, 0, 0.32), 0 1px 4px rgba(0, 0, 0, 0.4);
  transition: transform 160ms ease, box-shadow 160ms ease, background 200ms ease;
}

.affiliate-submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 32px rgba(224, 0, 0, 0.44), 0 2px 10px rgba(0, 0, 0, 0.5);
  background: linear-gradient(135deg, #ff0000 0%, #cc0000 100%);
  border-color: transparent;
}

.affiliate-submit-btn:active {
  transform: translateY(0);
  box-shadow: 0 2px 10px rgba(224, 0, 0, 0.28);
}

.affiliate-submit-note {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.28);
  font-size: 0.82rem;
  margin: 0;
}

.affiliate-submit-note svg {
  width: 13px;
  height: 13px;
  flex-shrink: 0;
}

/* Error banner */
.affiliate-form-error {
  background: rgba(224, 0, 0, 0.08);
  border: 1px solid rgba(224, 0, 0, 0.25);
  border-radius: 10px;
  padding: 0.85rem 1.1rem;
  font-size: 0.9rem;
}

/* Success state */
.affiliate-success-message {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  background: rgba(0, 211, 106, 0.06);
  border: 1px solid rgba(0, 211, 106, 0.2);
  border-radius: 14px;
  padding: 2rem 2.25rem;
}

.affiliate-success-message > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  min-width: 48px;
  background: rgba(0, 211, 106, 0.1);
  border: 1px solid rgba(0, 211, 106, 0.22);
  border-radius: 50%;
  color: var(--green);
  font-size: 1.2rem;
  font-weight: 900;
}

.affiliate-success-message h3 {
  margin: 0 0 0.5rem;
  color: var(--green);
  font-size: 1.1rem;
}

.affiliate-success-message p {
  color: var(--muted);
  margin: 0;
  line-height: 1.65;
}

/* FAQ section */
.affiliate-faq-section {
  padding: clamp(3rem, 6vw, 5rem) 0;
  border-top: 1px solid var(--line);
}

.affiliate-faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1rem;
  margin-top: 2.5rem;
}

.affiliate-faq-item {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.75rem;
}

.affiliate-faq-item h3 {
  margin: 0 0 0.75rem;
  font-size: 0.98rem;
  color: var(--soft);
}

.affiliate-faq-item p {
  color: var(--muted);
  margin: 0;
  font-size: 0.93rem;
  line-height: 1.65;
}

/* Homepage CTA section */
.affiliate-cta-section {
  padding: clamp(3rem, 6vw, 5rem) 0;
  border-top: 1px solid var(--line);
}

.affiliate-cta-inner {
  background: linear-gradient(135deg, rgba(224, 0, 0, 0.07) 0%, var(--panel) 60%);
  border: 1px solid rgba(224, 0, 0, 0.18);
  border-radius: var(--radius);
  padding: clamp(2rem, 4vw, 3.5rem);
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: center;
}

.affiliate-cta-copy h2 {
  margin: 0.5rem 0 1rem;
  font-size: clamp(1.7rem, 2.8vw, 2.3rem);
  line-height: 1.1;
}

.affiliate-cta-copy p {
  color: var(--muted);
  margin-bottom: 2rem;
  line-height: 1.6;
}

.affiliate-cta-benefits {
  display: grid;
  gap: 0.9rem;
}

.affiliate-cta-benefits span {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--soft);
  font-size: 0.96rem;
}

/* Admin affiliate section */
.admin-affiliate-section {
  padding: 0 0 4rem;
}

.admin-affiliate-grid {
  display: grid;
  gap: 1rem;
  margin-top: 1.5rem;
}

.admin-affiliate-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem;
  display: grid;
  gap: 1.1rem;
}

.admin-affiliate-card header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  flex-wrap: wrap;
}

.admin-affiliate-card header div {
  display: grid;
  gap: 0.25rem;
}

.admin-affiliate-card header h3 {
  margin: 0;
  font-size: 1rem;
}

.admin-affiliate-card header p {
  margin: 0;
  color: var(--muted);
  font-size: 0.86rem;
}

.admin-affiliate-meta {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0.75rem;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--line);
  border-radius: 6px;
  font-size: 0.88rem;
}

.admin-affiliate-meta > span {
  display: grid;
  gap: 0.25rem;
}

.admin-affiliate-meta em {
  font-style: normal;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.admin-affiliate-meta strong {
  color: var(--soft);
  word-break: break-all;
  font-weight: 500;
}

.admin-affiliate-reason {
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 1rem;
  font-size: 0.9rem;
  line-height: 1.6;
  display: grid;
  gap: 0.35rem;
}

.admin-affiliate-form {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  flex-wrap: wrap;
}

.admin-affiliate-form select,
.admin-affiliate-form input {
  flex: 1;
  min-width: 160px;
  min-height: 44px;
  border-radius: 6px;
  border: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.3);
  color: white;
  padding: 0.7rem 0.9rem;
  font: inherit;
}

.admin-affiliate-form input {
  text-transform: uppercase;
}

.affiliate-status-approved { border-color: rgba(0, 211, 106, 0.5) !important; color: var(--green) !important; }
.affiliate-status-rejected { border-color: rgba(255, 80, 80, 0.4) !important; color: #ff6b6b !important; }

/* Responsive */
@media (max-width: 800px) {
  .affiliate-steps {
    flex-direction: column;
  }

  .affiliate-step-divider {
    display: none;
  }

  .affiliate-cta-inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .affiliate-form-outer::before {
    border-radius: 13px;
  }

  .affiliate-form-panel {
    border-radius: 12px;
    padding: 1.75rem 1.25rem;
  }

  .affiliate-form-panel:hover {
    transform: none;
  }

  .affiliate-form-grid {
    grid-template-columns: 1fr;
    gap: 1.1rem;
  }

  .affiliate-form-submit {
    align-items: stretch;
  }

  .affiliate-submit-btn {
    width: 100%;
    justify-content: center;
  }

  .affiliate-commission-list {
    grid-template-columns: 1fr;
  }
}

/* ===========================================================
   LIGHT THEME CORRECTIONS
   Applied after all prior rules. Re-scopes dark-mode CSS
   custom properties for explicitly-dark sections (header,
   footer, topbar, promo bar, mobile nav overlay) so those
   areas keep their original dark aesthetic. Everything else
   adapts to the new white/light-gray page background.
   =========================================================== */

/* ---- Dark sections: restore local dark variables --------- */

.site-header {
  --soft: #c8ccd4;
  --line: rgba(255, 255, 255, 0.14);
  color: #f6f7f9;
}

.topbar {
  --muted: #9aa0ab;
  color: var(--muted);
}

.promo-bar {
  --muted: #9aa0ab;
  color: var(--muted);
}

.site-footer {
  --text: #f6f7f9;
  --muted: #a8acb4;
  --soft: #d5d7dc;
  --line: rgba(255, 255, 255, 0.14);
  color: var(--text);
}

.site-footer a:hover { color: #fff; }

/* Mobile nav overlay stays dark */
@media (max-width: 980px) {
  .primary-nav.is-open {
    --soft: #c8ccd4;
    --line: rgba(255, 255, 255, 0.14);
  }
}

/* ---- Page-level panel/card backgrounds ------------------- */

/* Cards that had white-on-dark gradients: give them solid panel bg */

.hero-product-image {
  background: #eef0f4;
}

.product-media {
  background: #eef0f4;
}

/* ---- Pill / badge backgrounds (were invisible on white) -- */

.hero-badge,
.stock-pill {
  background: rgba(0, 0, 0, 0.04);
  border-color: var(--pc-line);
}

.hero-metrics span,
.trust-strip span {
  background: rgba(0, 0, 0, 0.03);
  border-color: var(--pc-line);
}

.hero-product-meta em {
  background: rgba(0, 0, 0, 0.04);
  color: var(--pc-soft);
}

/* ---- Filter chips & sort buttons ------------------------- */

.chip,
.sort-btn {
  background: rgba(0, 0, 0, 0.04);
  color: var(--pc-soft);
}

.chip.is-active,
.sort-btn.is-active {
  background: var(--pc-red);
  color: #fff;
}

.carousel-actions button {
  background: var(--pc-panel);
  color: var(--text);
}

/* ---- Compact product / details / variant cards ----------- */

.compact-product {
  background: rgba(0, 0, 0, 0.03);
}

details {
  background: rgba(0, 0, 0, 0.02);
}

.variant-grid div,
.article-list article {
  background: rgba(0, 0, 0, 0.02);
}

/* ---- Variant option buttons ------------------------------ */

.variant-options button {
  background: rgba(0, 0, 0, 0.04);
  color: var(--text);
}

.variant-options button.is-active {
  background: rgba(200, 0, 10, 0.10);
}

/* ---- Quantity row ---------------------------------------- */

.quantity-row button,
.quantity-row input {
  background: #e8eaed;
  color: var(--text);
}

/* ---- Spec table ------------------------------------------ */

.spec-table {
  border-color: var(--pc-line);
}

.spec-table span,
.spec-table strong {
  border-color: rgba(0, 0, 0, 0.055);
}

.spec-table span {
  background: rgba(0, 0, 0, 0.03);
}

.spec-table strong {
  color: var(--text);
}

/* ---- Product proof grid ---------------------------------- */

.product-proof-grid a {
  background: rgba(0, 0, 0, 0.03);
  border-color: var(--pc-line);
}

.product-proof-grid strong {
  color: var(--text);
}

/* ---- Buy trust items ------------------------------------- */

.buy-trust span {
  background: rgba(0, 0, 0, 0.03);
  color: var(--muted);
}

/* ---- Hardcoded white text in page-level sections --------- */

.featured-strip-head h3 {
  color: var(--text);
}

.featured-strip-head a,
.split-heading a,
.split-heading button,
.carousel-actions a {
  color: var(--text);
}

.product-description-copy h2,
.product-description-copy h3 {
  color: var(--text);
}

.copy-panel a {
  color: var(--text);
  border-bottom-color: rgba(200, 0, 10, 0.55);
}

/* ---- Search results (inside dark popover — keep light) --- */

.search-result,
.rec-item {
  background: rgba(255, 255, 255, 0.04);
}

/* ---- Hover states adjusted for light bg ------------------ */

.btn:hover {
  border-color: rgba(0, 0, 0, 0.18);
}

/* ---- Step divider on affiliate page (was white alpha) ---- */

.affiliate-step-divider {
  color: rgba(0, 0, 0, 0.15);
}

/* ===========================================================
   CHECKOUT / PAYMENT — LIGHT THEME
   =========================================================== */

.checkout-flow-card,
.payment-instruction-card,
.payment-confirm-card,
.payment-submitted-card {
  background: var(--pc-panel);
}

.checkout-customer-form input,
.checkout-customer-form textarea,
.payment-confirm-card input,
.payment-confirm-card textarea {
  background: #ffffff;
  color: var(--text);
  border-color: var(--pc-line);
}

.checkout-customer-form input::placeholder,
.checkout-customer-form textarea::placeholder,
.payment-confirm-card input::placeholder,
.payment-confirm-card textarea::placeholder {
  color: var(--muted);
}

.checkout-customer-form label,
.payment-confirm-card label {
  color: var(--text);
}

.checkout-customer-form label span,
.payment-confirm-card label span {
  color: var(--muted);
}

.payment-confirm-card .field-helper {
  color: var(--muted);
}

.txid-example small {
  color: var(--muted);
}

.txid-example code {
  background: rgba(0, 0, 0, 0.05);
  color: var(--text);
}

.checkout-steps span {
  background: rgba(0, 0, 0, 0.03);
}

.payment-method-card {
  background: rgba(0, 0, 0, 0.03);
}

.payment-method-note {
  background: rgba(0, 0, 0, 0.03);
  color: var(--pc-soft);
}

.payment-method-card strong {
  color: var(--text);
}

.payment-method-card small {
  color: var(--muted);
}

.payment-method-card.recommended {
  background: linear-gradient(135deg, rgba(200, 0, 10, 0.08), rgba(0, 0, 0, 0.03));
}

.payment-method-note.email-reminder strong {
  color: var(--text);
}

.payment-instruction-card h3,
.payment-confirm-card h3 {
  color: var(--text);
}

.payment-total {
  color: var(--text);
}

.payment-total-subline strong {
  color: var(--text);
}

.payment-copy-box span {
  background: rgba(0, 0, 0, 0.04);
  color: var(--text);
}

.discount-code-card {
  background: rgba(0, 0, 0, 0.02);
}

.discount-code-card label {
  color: var(--text);
}

.discount-code-row input {
  background: #ffffff;
  color: var(--text);
  border-color: var(--pc-line);
}

.summary-mini-grid span,
.summary-rows span {
  background: rgba(0, 0, 0, 0.03);
}

.summary-mini-grid strong,
.summary-rows strong {
  color: var(--text);
}

.trust-list li {
  color: var(--text);
  background: rgba(0, 0, 0, 0.03);
}

.transfer-note,
.payment-header-card {
  background: rgba(0, 0, 0, 0.03);
}

.checkout-line.total-line {
  background: rgba(200, 0, 10, 0.07);
}

.checkout-line.total-line strong,
.checkout-line.total-line span {
  color: var(--text);
}

.mobile-checkout-assurance strong {
  color: var(--text);
}

/* ===========================================================
   ADMIN PANEL — LIGHT THEME
   =========================================================== */

.admin-ops-session,
.admin-ops-metrics span,
.admin-order-card,
.admin-discount-analytics,
.admin-discount-metrics span,
.admin-side-panel section,
.admin-empty-state,
.admin-access-card {
  background: rgba(0, 0, 0, 0.03);
}

.admin-stats strong,
.admin-ops-session strong,
.admin-ops-metrics strong,
.admin-discount-metrics strong,
.admin-discount-spotlight strong {
  color: var(--text);
}

.admin-discount-spotlight {
  background: linear-gradient(135deg, rgba(200, 0, 10, 0.08), rgba(0, 0, 0, 0.03));
}

.admin-affiliate-meta {
  background: rgba(0, 0, 0, 0.02);
}

.admin-affiliate-reason {
  background: rgba(0, 0, 0, 0.02);
}

.admin-affiliate-form select,
.admin-affiliate-form input {
  background: #ffffff;
  color: var(--text);
}

/* ===========================================================
   AFFILIATE FORM PANEL — LIGHT THEME
   Transform glass dark card → clean white pharmaceutical card
   =========================================================== */

.affiliate-field-label {
  color: var(--text);
}

.affiliate-field-label small {
  color: var(--muted);
}

.affiliate-form input,
.affiliate-form textarea {
  background: #f8f9fb;
  border-color: rgba(0, 0, 0, 0.12);
  color: var(--text);
}

.affiliate-form input::placeholder,
.affiliate-form textarea::placeholder {
  color: var(--muted);
  font-weight: 400;
}

.affiliate-form input:hover,
.affiliate-form textarea:hover {
  border-color: rgba(0, 0, 0, 0.22);
  background: #ffffff;
}

.affiliate-form input:focus,
.affiliate-form input:focus-visible,
.affiliate-form textarea:focus,
.affiliate-form textarea:focus-visible {
  border-color: rgba(200, 0, 10, 0.60);
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(200, 0, 10, 0.10), 0 1px 4px rgba(0, 0, 0, 0.06);
}

.affiliate-select {
  background-color: #f8f9fb;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='rgba(0,0,0,0.35)' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  border-color: rgba(0, 0, 0, 0.12);
  color: var(--text);
}

.affiliate-select option {
  background: #ffffff;
  color: var(--text);
}

.affiliate-select:hover {
  border-color: rgba(0, 0, 0, 0.22);
  background-color: #ffffff;
}

.affiliate-select:focus,
.affiliate-select:focus-visible {
  border-color: rgba(200, 0, 10, 0.60);
  background-color: #ffffff;
  box-shadow: 0 0 0 3px rgba(200, 0, 10, 0.10), 0 1px 4px rgba(0, 0, 0, 0.06);
}

.affiliate-form-divider {
  background: linear-gradient(90deg, transparent, rgba(0, 0, 0, 0.08), transparent);
}

.affiliate-form-disclaimer {
  background: rgba(0, 0, 0, 0.03);
  border-color: rgba(0, 0, 0, 0.08);
}

.affiliate-form-disclaimer p {
  color: var(--muted);
}

.affiliate-submit-note {
  color: var(--muted);
}

/* ===========================================================
   CONTRAST AUDIT PHASE 2 — COMPLETE LIGHT THEME POLISH
   Fixes all remaining low-contrast issues after light theme
   migration. Visual-only: no functionality changed.
   =========================================================== */

/* ---- Global inputs: stronger border + clear focus ring --- */
input,
select,
textarea {
  border-color: rgba(0, 0, 0, 0.18);
}

input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid rgba(200, 0, 10, 0.20);
  outline-offset: 2px;
  border-color: rgba(200, 0, 10, 0.55);
}

/* Override the dark-theme checkout focus ring */
.checkout-customer-form input:focus-visible,
.checkout-customer-form textarea:focus-visible,
.payment-confirm-card input:focus-visible,
.payment-confirm-card textarea:focus-visible {
  outline: 3px solid rgba(200, 0, 10, 0.22);
  outline-offset: 2px;
  border-color: rgba(200, 0, 10, 0.55);
}

/* ---- Old hero: metric numbers were hardcoded white on light bg */
.hero-metrics strong {
  color: var(--text);
}

/* ---- Purchase panel: border was rgba(255,255,255,0.16) invisible */
.purchase-panel {
  border-color: var(--pc-line);
}

/* ---- Out-of-stock pill: white text on near-white bg ------------ */
.stock-pill.out-of-stock,
.stock-pill.coming-soon {
  border-color: rgba(0, 0, 0, 0.14);
  background: rgba(0, 0, 0, 0.05);
  color: var(--pc-muted);
}

/* ---- Variant option active: white on 14% red = poor contrast -- */
.variant-options button.is-active {
  background: var(--pc-red);
  color: #fff;
}

/* ---- Disabled buttons: near-invisible on white page ----------- */
.card-order:disabled,
.btn:disabled,
.rec-item button:disabled {
  border-color: rgba(0, 0, 0, 0.12);
  background: rgba(0, 0, 0, 0.06);
  color: var(--pc-muted);
}

/* ---- Out-of-stock stock note: invisible on light bg ----------- */
.product-card.is-out-of-stock .stock-note,
.product-card.is-coming-soon .stock-note {
  border-color: rgba(0, 0, 0, 0.14);
  background: rgba(0, 0, 0, 0.04);
  color: var(--pc-muted);
}

/* ---- Checkout step active: solid red vs 16% opacity red ------- */
.checkout-steps span.is-active {
  background: var(--pc-red);
  border-color: var(--pc-red);
  color: #fff;
}

/* ---- Payment warning: tighten bg and fix strong text color ---- */
.payment-warning {
  border-color: rgba(200, 0, 10, 0.35);
  background: rgba(200, 0, 10, 0.06);
}
.payment-warning strong {
  color: var(--text);
}

/* ---- Security note: was invisible rgba(255,255,255) on white -- */
.security-note {
  border-color: var(--pc-line);
  background: var(--pc-panel);
}

/* ---- Transfer note: span was hardcoded #fff on light panel ---- */
.transfer-note span {
  color: var(--text);
}

/* ---- Payment method cards: clearer visual separation ---------- */
.payment-method-card {
  border-color: rgba(0, 0, 0, 0.12);
  background: #ffffff;
}
.payment-method-card.recommended {
  border-color: rgba(200, 0, 10, 0.50);
  background: linear-gradient(135deg, rgba(200, 0, 10, 0.05), #ffffff);
}

/* ---- FAQ list summary: #fff on light panel background --------- */
.faq-list summary {
  color: var(--text);
}

/* ---- Admin filter tabs: white text on light page -------------- */
.admin-filter-tabs a {
  color: var(--text);
  background: rgba(0, 0, 0, 0.03);
}
.admin-filter-tabs a.is-active {
  background: var(--pc-red);
  border-color: var(--pc-red);
  color: #fff;
}

/* ---- Admin order detail sections: dark bg on light page ------- */
.admin-order-detail-grid section {
  border-color: var(--pc-line);
  background: var(--pc-panel);
}

/* ---- Admin order form: labels and inputs were dark-themed ----- */
.admin-order-form label,
.admin-resend-form {
  color: var(--text);
}
.admin-order-form input,
.admin-order-form select,
.admin-order-form textarea {
  background: #ffffff;
  color: var(--text);
  border-color: rgba(0, 0, 0, 0.18);
}
.admin-order-form input::placeholder,
.admin-order-form textarea::placeholder {
  color: var(--pc-muted);
}

/* ---- Admin subscriber list: dark bg on light page ------------- */
.admin-subscriber-list span {
  border-color: var(--pc-line);
  background: var(--pc-panel);
}

/* ---- Admin metrics cards: near-invisible 3% bg → solid panel -- */
.admin-ops-session,
.admin-ops-metrics span,
.admin-order-card,
.admin-discount-analytics,
.admin-discount-metrics span,
.admin-side-panel section,
.admin-empty-state,
.admin-access-card {
  background: var(--pc-panel);
  border-color: var(--pc-line);
}

/* ---- Admin affiliate meta/reason boxes: near-invisible --------- */
.admin-affiliate-meta {
  background: var(--pc-panel);
  border-color: var(--pc-line);
}
.admin-affiliate-reason {
  background: var(--pc-panel);
  border-color: var(--pc-line);
}

/* ---- Account form: dark-themed inputs on light page ----------- */
.account-form input {
  background: #ffffff;
  color: var(--text);
  border-color: rgba(0, 0, 0, 0.18);
}
.account-form input::placeholder {
  color: var(--pc-muted);
}
.account-form input:focus-visible {
  outline: 3px solid rgba(200, 0, 10, 0.20);
  outline-offset: 2px;
  border-color: rgba(200, 0, 10, 0.55);
}

/* ---- Account panels: near-invisible 3.5% bg on white ---------- */
.account-panel {
  background: var(--pc-panel);
  border-color: var(--pc-line);
}

/* ---- Account order cards: dark bg on light page --------------- */
.account-order-card {
  border-color: var(--pc-line);
  background: var(--pc-panel);
}

/* ---- Account values and link: were hardcoded white text ------- */
.account-switch a {
  color: var(--pc-red);
  font-weight: 900;
}
.account-panel dd {
  color: var(--text);
}

/* ---- Filter pill borders: slightly more visible --------------- */
.chip,
.sort-btn {
  border-color: rgba(0, 0, 0, 0.14);
}

/* =========================================================
   LIGHT THEME v2 — full system override
   All remaining dark-theme remnants brought to white/light.
   Applied last so it wins the cascade.
   Groups:
     1  Header & top bar
     2  Navigation (desktop dropdown + mobile panel)
     3  Header search
     4  Hero section
     5  Product cards & carousels
     6  Product detail page
     7  Cart drawer
     8  Search panel
     9  Site footer
     10 Checkout & payment
     11 Affiliate form
     12 Misc / content pages
   ========================================================= */

/* ─── 1 · HEADER ──────────────────────────────────────── */

.site-header {
  background: #ffffff !important;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.08);
}

/* icon buttons: dark on white header */
.icon-btn {
  color: var(--text) !important;
}

/* hamburger bars: dark on white */
.menu-toggle span {
  background: var(--text) !important;
}

.menu-toggle {
  background: transparent !important;
  border-color: var(--pc-line) !important;
}

/* ─── 2 · NAVIGATION ──────────────────────────────────── */

/* mobile nav panel */
@media (max-width: 980px) {
  .primary-nav {
    background: #ffffff !important;
    border: 1px solid var(--pc-line) !important;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08) !important;
  }

  .primary-nav a {
    color: var(--text) !important;
    border-bottom-color: var(--pc-line) !important;
  }
}

/* ─── 3 · HEADER SEARCH ───────────────────────────────── */

.header-search input {
  background: var(--pc-panel) !important;
  color: var(--text) !important;
  border-color: var(--pc-line) !important;
}

.header-search input:focus {
  border-color: rgba(200, 0, 10, 0.55) !important;
}

.header-search input::placeholder {
  color: var(--pc-muted) !important;
}

.header-search-popover {
  background: #ffffff !important;
  border-color: var(--pc-line) !important;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12) !important;
}

.popular-searches strong {
  color: var(--text) !important;
}

.popular-searches button {
  background: var(--pc-panel) !important;
  color: var(--text) !important;
  border-color: var(--pc-line) !important;
}

/* ─── 4 · HERO ────────────────────────────────────────── */

.hero-badge,
.stock-pill {
  background: var(--pc-panel) !important;
}

.hero-product-image {
  background: #f5f6f8 !important;
}

.hero-product-meta em {
  background: var(--pc-panel) !important;
  color: var(--pc-soft) !important;
}

.hero-metrics span,
.trust-strip span {
  background: var(--pc-panel) !important;
}

/* "Browse full catalog" and carousel view-all links */
.split-heading a,
.split-heading button,
.carousel-actions a,
.carousel-actions button {
  color: var(--text) !important;
}

/* ─── 5 · PRODUCT CARDS & CAROUSELS ───────────────────── */

/* product media image container */
.product-media {
  background: #f5f6f8 !important;
}

/* hover: faint red border instead of white-on-white */

.btn:hover {
  border-color: rgba(0, 0, 0, 0.18) !important;
}

/* featured strip heads */
.featured-strip-head h3 {
  color: var(--text) !important;
}

.featured-strip-head a {
  color: var(--pc-soft) !important;
}

/* compact product card */
.compact-product {
  background: var(--pc-panel) !important;
}

/* sort/filter buttons: solid white bg */
.chip,
.sort-btn {
  background: #ffffff !important;
}

/* active state keeps white text on red */
.chip.is-active,
.sort-btn.is-active {
  color: #ffffff !important;
}

/* ─── 6 · PRODUCT DETAIL ──────────────────────────────── */

.spec-table {
  border-color: var(--pc-line) !important;
}

.spec-table span,
.spec-table strong {
  border-bottom-color: var(--pc-line) !important;
}

.spec-table span {
  background: var(--pc-panel) !important;
}

/* variant option buttons */
.variant-options button {
  background: #ffffff !important;
}

/* quantity row */
.quantity-row button,
.quantity-row input {
  background: var(--pc-panel) !important;
  color: var(--text) !important;
  border: 1px solid var(--pc-line) !important;
}

/* product proof grid */
.product-proof-grid a {
  border-color: var(--pc-line) !important;
  background: var(--pc-panel) !important;
}

.product-proof-grid strong {
  color: var(--text) !important;
}

/* long-form description headings */
.product-description-copy h2,
.product-description-copy h3 {
  color: var(--text) !important;
}

/* mobile sticky add-to-cart bar */
.mobile-sticky-cta {
  background: rgba(255, 255, 255, 0.97) !important;
  border-top: 1px solid var(--pc-line) !important;
  backdrop-filter: blur(16px);
}

.mobile-sticky-cta strong {
  color: var(--text) !important;
}

/* ─── 7 · CART DRAWER ─────────────────────────────────── */

.cart-drawer {
  background: #ffffff !important;
  border-color: var(--pc-line) !important;
}

.search-panel-head button,
.cart-head button {
  background: var(--pc-panel) !important;
  color: var(--text) !important;
  border-color: var(--pc-line) !important;
}

.shipping-card {
  background: var(--pc-panel) !important;
}

/* progress bar track */
.progress {
  background: rgba(0, 0, 0, 0.06) !important;
}

.cart-line {
  background: var(--pc-panel) !important;
  border-color: var(--pc-line) !important;
}

.cart-recs {
  background: var(--pc-panel) !important;
  border-color: var(--pc-line) !important;
}

.cart-footer {
  background: #ffffff !important;
  border-top: 1px solid var(--pc-line) !important;
}

@media (max-width: 720px) {
  .cart-footer {
    background: #ffffff !important;
  }
}

/* ─── 8 · SEARCH PANEL ────────────────────────────────── */

.search-panel {
  background: #ffffff !important;
  border-color: var(--pc-line) !important;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.10) !important;
}

.search-panel-head strong {
  color: var(--text) !important;
}

.search-result,
.rec-item {
  background: var(--pc-panel) !important;
  border-color: var(--pc-line) !important;
}

/* ─── 9 · SITE FOOTER ─────────────────────────────────── */

.site-footer {
  background: var(--pc-panel) !important;
  border-top: 1px solid var(--pc-line) !important;
}

.site-footer h3 {
  color: var(--text) !important;
}

.site-footer a:hover {
  color: var(--pc-red) !important;
}

.site-footer .social-links a {
  background: #ffffff !important;
  color: var(--text) !important;
  border-color: var(--pc-line) !important;
}

.site-footer .social-links a:hover {
  border-color: var(--pc-red) !important;
  color: var(--pc-red) !important;
}

.payment-pills em {
  background: #ffffff !important;
  color: var(--text) !important;
  border-color: var(--pc-line) !important;
}

/* ─── 10 · CHECKOUT & PAYMENT ─────────────────────────── */

.checkout-flow-card,
.payment-instruction-card,
.payment-confirm-card,
.payment-submitted-card {
  background: #ffffff !important;
}

.checkout-steps span {
  background: var(--pc-panel) !important;
  color: var(--text) !important;
}

.trust-list li,
.transfer-note,
.payment-header-card {
  background: var(--pc-panel) !important;
}

.trust-list li {
  color: var(--text) !important;
  font-weight: 850;
}

.checkout-customer-form label,
.payment-confirm-card label {
  color: var(--text) !important;
}

.checkout-customer-form input,
.checkout-customer-form textarea,
.payment-confirm-card input,
.payment-confirm-card textarea {
  background: #ffffff !important;
  color: var(--text) !important;
  border-color: rgba(0, 0, 0, 0.16) !important;
}

.checkout-customer-form input::placeholder,
.checkout-customer-form textarea::placeholder,
.payment-confirm-card input::placeholder,
.payment-confirm-card textarea::placeholder {
  color: var(--pc-muted) !important;
}

.checkout-line.total-line {
  background: rgba(200, 0, 10, 0.06) !important;
}

.checkout-line.total-line strong,
.checkout-line.total-line span {
  color: var(--text) !important;
}

.discount-code-card {
  background: var(--pc-panel) !important;
}

.discount-code-card label {
  color: var(--text) !important;
}

.discount-code-row input {
  background: #ffffff !important;
  color: var(--text) !important;
  border-color: rgba(0, 0, 0, 0.16) !important;
}

.discount-code-row input::placeholder {
  color: var(--pc-muted) !important;
}

.summary-mini-grid span,
.summary-rows span {
  background: var(--pc-panel) !important;
}

.summary-mini-grid strong,
.summary-rows strong {
  color: var(--text) !important;
}

.payment-method-note.email-reminder strong {
  color: var(--text) !important;
}

/* ─── 11 · AFFILIATE FORM ─────────────────────────────── */

.affiliate-form-panel {
  background: var(--site-surface, oklch(99.5% 0.002 80)) !important;
  border-color: var(--pc-line) !important;
  box-shadow: none !important;
}

.affiliate-form-panel:hover {
  box-shadow: none !important;
  transform: none !important;
}

.affiliate-form-outer::before {
  display: none !important;
}

.affiliate-form-header {
  border-bottom-color: var(--pc-line) !important;
}

/* remove gradient text — solid dark heading */
.affiliate-form-header h2 {
  background: none !important;
  -webkit-background-clip: unset !important;
  -webkit-text-fill-color: var(--text) !important;
  background-clip: unset !important;
  color: var(--text) !important;
}

/* step divider arrow */
.affiliate-step-divider {
  color: var(--pc-muted) !important;
}

/* ─── 12 · MISC / CONTENT PAGES ───────────────────────── */

/* variant grid / article list */
.variant-grid div,
.article-list article {
  background: var(--pc-panel) !important;
  border-color: var(--pc-line) !important;
}

/* copy panel links */
.copy-panel a {
  color: var(--pc-red) !important;
  border-bottom-color: rgba(200, 0, 10, 0.35) !important;
}

/* details / FAQ accordion */
details {
  background: var(--pc-panel) !important;
}

/* lab process list */
.lab-process li {
  background: var(--pc-panel) !important;
  border-color: var(--pc-line) !important;
}

.lab-process strong {
  color: var(--text) !important;
}

/* lab testing page link color */
.lab-testing-page a {
  color: var(--pc-red) !important;
}

/* contact copy cards */
.contact-copy-card {
  background: var(--pc-panel) !important;
  border-color: var(--pc-line) !important;
}

.contact-copy-card.accent {
  background: linear-gradient(145deg, rgba(200, 0, 10, 0.06), var(--pc-panel)) !important;
}

/* purchase panel */
.purchase-panel {
  border-color: var(--pc-line) !important;
  background: var(--pc-panel) !important;
}

/* out-of-stock "pill" badge — compliance-neutral green on white */
.pill {
  background: rgba(0, 160, 80, 0.08) !important;
  color: #006830 !important;
  border-color: rgba(0, 160, 80, 0.24) !important;
}

/* =========================================================
   LAB LIGHT THEME v3 - visual-only refinement
   Centralized reskin for a clean Canadian biotech storefront.
   Layout, flow, routing, and component structure are untouched.
   ========================================================= */

:root {
  --pc-bg: var(--bg);
  --pc-panel: var(--panel);
  --pc-line: var(--line);
  --pc-muted: var(--muted);
  --pc-soft: var(--soft);
  --pc-red: var(--red);
  --pc-green: var(--green);
}

body {
  background:
    linear-gradient(180deg, var(--surface) 0%, var(--bg) 44%, var(--bg-soft) 100%) !important;
  color: var(--text);
}

.promo-bar,
.topbar {
  background: var(--ink) !important;
  border-bottom-color: oklch(100% 0 0 / 0.12) !important;
  color: oklch(82% 0.012 255) !important;
}

.promo-bar span:nth-child(2n) {
  color: oklch(74% 0.13 25) !important;
}

.site-header {
  --soft: var(--soft);
  --line: var(--line);
  background: oklch(99.1% 0.003 250 / 0.96) !important;
  border-bottom: 1px solid var(--line) !important;
  box-shadow: 0 1px 0 oklch(18% 0.02 255 / 0.04), 0 12px 34px oklch(18% 0.02 255 / 0.06) !important;
  color: var(--text) !important;
}

.brand img {
  filter: none;
}

.primary-nav a {
  color: var(--soft) !important;
}

.primary-nav a:hover,
.primary-nav a.active {
  border-color: var(--red) !important;
  color: var(--text) !important;
}

.primary-nav a.nav-cta {
  background: var(--red) !important;
  border-color: var(--red) !important;
  color: oklch(98.7% 0.004 25) !important;
}

.primary-nav a.nav-cta:hover,
.primary-nav a.nav-cta.active {
  background: var(--red-hover) !important;
  border-color: var(--red-hover) !important;
}

.icon-btn,
.menu-toggle {
  color: var(--text) !important;
}

.icon-btn:hover,
.menu-toggle:hover {
  background: var(--panel) !important;
}

.cart-count {
  background: var(--red) !important;
  color: oklch(98.7% 0.004 25) !important;
}

.header-search-popover,
.search-panel,
.cart-drawer {
  background: var(--surface) !important;
  border-color: var(--line) !important;
  box-shadow: 0 22px 70px oklch(18% 0.02 255 / 0.14), 0 4px 18px oklch(18% 0.02 255 / 0.08) !important;
}

.header-search input,
.checkout-customer-form input,
.checkout-customer-form textarea,
.payment-confirm-card input,
.payment-confirm-card textarea,
.account-form input,
.admin-order-form input,
.admin-order-form select,
.admin-order-form textarea,
.affiliate-form input,
.affiliate-form textarea,
.affiliate-select,
.discount-code-row input {
  background: var(--surface) !important;
  border-color: var(--line) !important;
  color: var(--text) !important;
}

.header-search input:focus,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  border-color: var(--red) !important;
  outline-color: oklch(57% 0.16 25 / 0.22) !important;
}

.shopify-hero {
  background:
    linear-gradient(135deg, oklch(95.8% 0.028 25 / 0.55), transparent 34%),
    linear-gradient(180deg, var(--surface), var(--bg)) !important;
}

.hero-badge,
.hero-tags span,
.stock-pill,
.payment-pills em,
.chip,
.sort-btn,
.popular-searches button {
  background: var(--surface) !important;
  border-color: var(--line) !important;
  color: var(--soft) !important;
}

.hero-badge i,
.stock-pill::before,
.trust-band span {
  background: var(--green) !important;
}

.hero-product-card,
.product-gallery,
.buy-box,
.product-control-panel,
.checkout-flow-card,
.payment-instruction-card,
.payment-confirm-card,
.payment-submitted-card,
.account-card,
.account-dashboard {
  box-shadow: var(--shadow-soft) !important;
}

.btn-primary,
.card-order,
.header-search-submit,
.affiliate-submit-btn,
.checkout-steps span.is-active,
.chip.is-active,
.sort-btn.is-active {
  background: var(--red) !important;
  border-color: var(--red) !important;
  color: oklch(98.7% 0.004 25) !important;
  box-shadow: 0 8px 18px oklch(42.5% 0.175 25 / 0.18) !important;
}

.btn-primary:hover,
.card-order:hover,
.header-search-submit:hover,
.affiliate-submit-btn:hover {
  background: var(--red-hover) !important;
  border-color: var(--red-hover) !important;
  box-shadow: 0 10px 22px oklch(37.5% 0.17 25 / 0.20) !important;
}

.btn:disabled,
.card-order:disabled,
.rec-item button:disabled {
  background: var(--panel-2) !important;
  border-color: var(--line) !important;
  box-shadow: none !important;
  color: var(--muted) !important;
}

.stock-pill.out-of-stock,
.stock-pill.coming-soon,
.product-card.is-out-of-stock .stock-note,
.product-card.is-coming-soon .stock-note {
  background: var(--red-soft) !important;
  border-color: var(--red-line) !important;
  color: var(--red-dark) !important;
}

.payment-warning,
.payment-method-card.recommended,
.checkout-line.total-line,
.admin-discount-spotlight,
.contact-copy-card.accent,
.affiliate-cta-inner {
  background: linear-gradient(135deg, var(--red-soft), var(--surface)) !important;
  border-color: var(--red-line) !important;
}

.copy-panel a,
.lab-testing-page a,
.account-switch a,
.site-footer a:hover,
.text-link:hover {
  color: var(--red) !important;
}

.site-footer {
  background: var(--bg-soft) !important;
  border-top-color: var(--line) !important;
  color: var(--text) !important;
}

.site-footer .social-links a,
.payment-pills em {
  background: var(--surface) !important;
}

@media (max-width: 980px) {
  .primary-nav,
  .primary-nav.is-open {
    background: var(--surface) !important;
    border-color: var(--line) !important;
    box-shadow: 0 18px 48px oklch(18% 0.02 255 / 0.12) !important;
  }

  .primary-nav a {
    color: var(--text) !important;
    border-bottom-color: var(--line) !important;
  }

  .mobile-sticky-cta {
    background: oklch(99.1% 0.003 250 / 0.97) !important;
    border-top-color: var(--line) !important;
  }
}

/* Header requested dark: keep the announcement bar and main nav black. */
.site-header {
  --soft: oklch(84% 0.012 255);
  --line: oklch(100% 0 0 / 0.14);
  background: var(--ink) !important;
  border-bottom-color: oklch(100% 0 0 / 0.14) !important;
  box-shadow: 0 12px 34px oklch(10% 0.02 255 / 0.22) !important;
  color: oklch(96% 0.006 255) !important;
}

.site-header .primary-nav a,
.site-header .icon-btn,
.site-header .menu-toggle {
  color: oklch(87% 0.01 255) !important;
}

.site-header .primary-nav a:hover,
.site-header .primary-nav a.active {
  border-color: var(--red) !important;
  color: oklch(98% 0.004 255) !important;
}

.site-header .primary-nav a.nav-cta {
  background: var(--red) !important;
  border-color: var(--red) !important;
  color: oklch(98.7% 0.004 25) !important;
}

.site-header .icon-btn:hover,
.site-header .menu-toggle:hover {
  background: oklch(100% 0 0 / 0.07) !important;
}

.site-header .menu-toggle span {
  background: oklch(96% 0.006 255) !important;
}

.site-header .header-search input {
  background: var(--ink-2) !important;
  border-color: oklch(100% 0 0 / 0.22) !important;
  color: oklch(96% 0.006 255) !important;
}

.site-header .header-search input::placeholder {
  color: oklch(78% 0.012 255) !important;
}

.site-header .header-search input:focus {
  border-color: oklch(74% 0.13 25) !important;
}

@media (max-width: 980px) {
  .site-header .primary-nav,
  .site-header .primary-nav.is-open {
    background: var(--ink) !important;
    border-color: oklch(100% 0 0 / 0.14) !important;
    box-shadow: 0 18px 48px oklch(10% 0.02 255 / 0.28) !important;
  }

  .site-header .primary-nav a {
    color: oklch(91% 0.008 255) !important;
    border-bottom-color: oklch(100% 0 0 / 0.12) !important;
  }
}

/* Stronger card separation and restored dark footer. */

.confidence-card span,
.updates-card .eyebrow,
.support-card span,
.notice-box span {
  background: var(--red-soft) !important;
  border-color: oklch(57% 0.16 25 / 0.42) !important;
  color: var(--red-dark) !important;
}

.updates-card,
.newsletter-card,
.confidence-section .updates-card {
  background:
    linear-gradient(135deg, oklch(96.6% 0.008 250), oklch(92.8% 0.012 250)) !important;
  border-color: var(--line-strong) !important;
  box-shadow: var(--shadow-soft) !important;
}

.site-footer {
  --text: oklch(96% 0.006 255);
  --muted: oklch(71% 0.014 255);
  --soft: oklch(84% 0.012 255);
  --line: oklch(100% 0 0 / 0.14);
  background:
    linear-gradient(180deg, var(--ink-2), var(--ink)) !important;
  border-top-color: oklch(100% 0 0 / 0.12) !important;
  color: var(--text) !important;
}

.site-footer h3,
.site-footer strong,
.site-footer .footer-bottom {
  color: var(--text) !important;
}

.site-footer p,
.site-footer li,
.site-footer .footer-notice,
.site-footer .footer-bottom span {
  color: var(--muted) !important;
}

.site-footer a {
  color: var(--soft) !important;
}

.site-footer a:hover {
  color: oklch(80% 0.12 25) !important;
}

.site-footer .social-links a,
.site-footer .payment-pills em,
.payment-pills em {
  background: oklch(100% 0 0 / 0.045) !important;
  border-color: oklch(100% 0 0 / 0.16) !important;
  color: var(--text) !important;
}

.site-footer .social-links a:hover {
  border-color: oklch(74% 0.13 25) !important;
  color: oklch(84% 0.10 25) !important;
}

/* =========================================================
   CONTRAST AUDIT v4 - sitewide readability hardening
   Final cascade layer: white/red lab theme with visible cards,
   readable text, dark header/footer, and strong form controls.
   ========================================================= */

:root {
  --bg: #ffffff;
  --bg-soft: #f7f8fa;
  --surface: #ffffff;
  --panel: #f2f4f7;
  --panel-2: #e5e7eb;
  --line: #d1d5db;
  --line-strong: #b6beca;
  --text: #111827;
  --muted: #6b7280;
  --soft: #4b5563;
  --ink: var(--nova-navy);
  --ink-2: #0b0f19;
  --red: var(--nova-accent);
  --red-dark: var(--nova-dark-accent);
  --red-hover: var(--nova-dark-accent);
  --red-soft: var(--nova-tint);
  --red-line: rgba(217, 4, 41, 0.36);
  --green: #047857;
  --green-soft: #ecfdf5;
  --shadow: 0 22px 60px rgba(17, 24, 39, 0.14), 0 3px 10px rgba(17, 24, 39, 0.08);
  --shadow-soft: 0 14px 34px rgba(17, 24, 39, 0.10), 0 1px 4px rgba(17, 24, 39, 0.06);
  --pc-bg: var(--bg);
  --pc-panel: var(--panel);
  --pc-line: var(--line);
  --pc-muted: var(--muted);
  --pc-soft: var(--soft);
  --pc-red: var(--red);
  --pc-green: var(--green);
}

body {
  background: var(--bg) !important;
  color: var(--text) !important;
}

main {
  background:
    linear-gradient(180deg, #ffffff 0, var(--bg-soft) 42%, #ffffff 100%) !important;
}

.promo-bar,
.topbar,
.site-header {
  background: var(--ink) !important;
  border-color: rgba(255, 255, 255, 0.14) !important;
  color: #f9fafb !important;
}

.promo-bar,
.topbar {
  box-shadow: none !important;
}

.promo-bar span,
.topbar span {
  color: #e5e7eb !important;
}

.promo-bar span:nth-child(2n) {
  color: #ff8a8f !important;
}

.site-header {
  box-shadow: 0 14px 36px rgba(5, 7, 13, 0.28) !important;
}

.site-header .primary-nav a,
.site-header .icon-btn,
.site-header .menu-toggle {
  color: #e5e7eb !important;
}

.site-header .primary-nav a:hover,
.site-header .primary-nav a.active {
  color: #ffffff !important;
  border-color: #ff5a66 !important;
}

.site-header .header-search input {
  background: var(--ink-2) !important;
  border-color: rgba(255, 255, 255, 0.26) !important;
  color: #f9fafb !important;
}

.site-header .header-search input::placeholder {
  color: #cbd5e1 !important;
}

.site-header .menu-toggle span {
  background: #f9fafb !important;
}

.hero-badge i,
.stock-pill::before,
.trust-band span {
  background: var(--green) !important;
}

.stock-pill.out-of-stock::before,
.stock-pill.coming-soon::before {
  background: var(--red) !important;
}

.stock-pill.out-of-stock,
.stock-pill.coming-soon,
.product-card.is-out-of-stock .stock-note,
.product-card.is-coming-soon .stock-note,
.payment-warning,
.form-error,
.affiliate-form-error {
  background: var(--red-soft) !important;
  border-color: var(--red-line) !important;
  color: var(--red-dark) !important;
}

.affiliate-success-message,
.form-success,
.pill.success {
  background: var(--green-soft) !important;
  border-color: rgba(4, 120, 87, 0.32) !important;
  color: #065f46 !important;
}

.btn-primary,
.card-order,
.header-search-submit,
.affiliate-submit-btn,
.checkout-steps span.is-active,
.chip.is-active,
.sort-btn.is-active,
.admin-filter-tabs a.is-active,
.discount-code-row button,
.payment-copy-box .btn {
  background: var(--red) !important;
  border-color: var(--red) !important;
  color: #ffffff !important;
  box-shadow: 0 10px 24px rgba(217, 4, 41, 0.24) !important;
}

.btn-primary:hover,
.card-order:hover,
.header-search-submit:hover,
.affiliate-submit-btn:hover,
.discount-code-row button:hover,
.payment-copy-box .btn:hover {
  background: var(--red-hover) !important;
  border-color: var(--red-hover) !important;
  color: #ffffff !important;
  box-shadow: 0 12px 28px rgba(168, 0, 30, 0.28) !important;
}

.btn-secondary,
.text-link,
.carousel-actions button,
.carousel-actions a,
.search-panel-head button,
.cart-head button,
.quantity-row button,
.quantity-row input,
.variant-options button,
.payment-method-card,
.social-links a {
  background: #ffffff !important;
  border-color: var(--line-strong) !important;
  color: var(--text) !important;
}

.btn-secondary:hover,
.carousel-actions button:hover,
.search-panel-head button:hover,
.cart-head button:hover,
.variant-options button:hover,
.payment-method-card:hover {
  background: var(--panel) !important;
  border-color: var(--red-line) !important;
}

.variant-options button.is-active,
.payment-method-card.recommended,
.checkout-line.total-line,
.admin-discount-spotlight,
.contact-copy-card.accent {
  background:
    linear-gradient(135deg, var(--red-soft), #ffffff) !important;
  border-color: var(--red-line) !important;
  color: var(--text) !important;
}

input,
select,
textarea,
.header-search input,
.search-panel input,
.checkout-customer-form input,
.checkout-customer-form textarea,
.payment-confirm-card input,
.payment-confirm-card textarea,
.account-form input,
.admin-order-form input,
.admin-order-form select,
.admin-order-form textarea,
.affiliate-form input,
.affiliate-form textarea,
.affiliate-select,
.discount-code-row input {
  background: #ffffff !important;
  border: 1px solid var(--line-strong) !important;
  color: var(--text) !important;
  box-shadow: inset 0 1px 2px rgba(17, 24, 39, 0.04) !important;
}

input::placeholder,
textarea::placeholder,
.header-search input::placeholder,
.search-panel input::placeholder,
.checkout-customer-form input::placeholder,
.checkout-customer-form textarea::placeholder,
.payment-confirm-card input::placeholder,
.payment-confirm-card textarea::placeholder,
.affiliate-form input::placeholder,
.affiliate-form textarea::placeholder,
.discount-code-row input::placeholder {
  color: var(--muted) !important;
  opacity: 1 !important;
}

input:focus,
select:focus,
textarea:focus,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
.btn:focus-visible,
button:focus-visible,
a:focus-visible {
  border-color: var(--red) !important;
  outline: 3px solid rgba(217, 4, 41, 0.20) !important;
  outline-offset: 2px !important;
}

.search-panel,
.cart-drawer,
.header-search-popover {
  background: #ffffff !important;
  border-color: var(--line-strong) !important;
  box-shadow: 0 26px 70px rgba(17, 24, 39, 0.18) !important;
  color: var(--text) !important;
}

.search-result,
.rec-item {
  background: var(--panel) !important;
  border-color: var(--line-strong) !important;
}

.cart-footer {
  background: #ffffff !important;
  border-top-color: var(--line-strong) !important;
}

.site-footer {
  --text: #f9fafb;
  --muted: #cbd5e1;
  --soft: #e5e7eb;
  --line: rgba(255, 255, 255, 0.16);
  background:
    linear-gradient(180deg, #101522, var(--nova-navy)) !important;
  border-top: 1px solid rgba(255, 255, 255, 0.14) !important;
  color: var(--text) !important;
}

.site-footer h3,
.site-footer strong,
.site-footer .footer-bottom,
.site-footer .footer-bottom span {
  color: var(--text) !important;
}

.site-footer p,
.site-footer li,
.site-footer .footer-notice {
  color: var(--muted) !important;
}

.site-footer a {
  color: var(--soft) !important;
}

.site-footer a:hover {
  color: #ff8a8f !important;
}

.site-footer .social-links a,
.site-footer .payment-pills em {
  background: rgba(255, 255, 255, 0.06) !important;
  border-color: rgba(255, 255, 255, 0.18) !important;
  color: #f9fafb !important;
}

.site-footer .footer-bottom,
.site-footer .footer-notice {
  border-color: rgba(255, 255, 255, 0.16) !important;
}

@media (max-width: 980px) {
  .site-header .primary-nav,
  .site-header .primary-nav.is-open {
    background: var(--ink) !important;
    border-color: rgba(255, 255, 255, 0.16) !important;
    box-shadow: 0 20px 50px rgba(5, 7, 13, 0.32) !important;
  }

  .mobile-sticky-cta {
    background: #ffffff !important;
    border-top-color: var(--line-strong) !important;
    box-shadow: 0 -12px 34px rgba(17, 24, 39, 0.12) !important;
  }
}

/* =========================================================
   CONTRAST POLISH v5 - requested cart, field, and section tuning
   Styling-only layer. Keeps structure and functionality intact.
   ========================================================= */

:root {
  --field: #f8fafc;
  --field-strong: #eef2f7;
  --section-band: #f3f5f8;
  --anthracite: #111827;
  --anthracite-2: #1f2937;
  --red-pop: #e0002a;
  --red-bright: #ff304f;
}

main {
  background:
    linear-gradient(180deg, #f8fafc 0%, #eef2f7 38%, #f8fafc 100%) !important;
}

.promo-bar span:nth-child(2n),
.topbar span:nth-child(2n) {
  color: var(--red-bright) !important;
  text-shadow: 0 0 14px rgba(255, 48, 79, 0.28);
}

.trust-strip.assurance-strip,
.affiliate-cta-inner {
  background:
    radial-gradient(circle at 8% 16%, rgba(224, 0, 42, 0.18), transparent 32%),
    linear-gradient(135deg, var(--anthracite), var(--nova-navy)) !important;
  border-color: rgba(255, 255, 255, 0.16) !important;
  box-shadow: 0 24px 60px rgba(5, 7, 13, 0.24) !important;
  color: #f9fafb !important;
}

.trust-strip.assurance-strip strong,
.trust-strip.assurance-strip p,
.affiliate-cta-inner h2,
.affiliate-cta-inner p,
.affiliate-cta-benefits span {
  color: #f9fafb !important;
}

.trust-strip.assurance-strip p,
.affiliate-cta-inner p {
  color: #d1d5db !important;
}

.affiliate-cta-inner .eyebrow {
  color: #ffffff !important;
}

.affiliate-cta-benefits b,
.affiliate-commission-list li span {
  color: var(--red-bright) !important;
}

input,
select,
textarea,
.search-panel input,
.checkout-customer-form input,
.checkout-customer-form textarea,
.payment-confirm-card input,
.payment-confirm-card textarea,
.account-form input,
.admin-order-form input,
.admin-order-form select,
.admin-order-form textarea,
.affiliate-form input,
.affiliate-form textarea,
.affiliate-select,
.discount-code-row input,
.subscribe-fields input {
  background: var(--field) !important;
  border-color: #aeb8c5 !important;
  color: var(--text) !important;
  box-shadow:
    inset 0 1px 2px rgba(17, 24, 39, 0.06),
    0 1px 0 rgba(255, 255, 255, 0.75) !important;
}

.site-header .header-search input {
  background: var(--ink-2) !important;
  border-color: rgba(255, 255, 255, 0.30) !important;
  color: #f9fafb !important;
}

input:hover,
select:hover,
textarea:hover,
.affiliate-form input:hover,
.affiliate-form textarea:hover,
.affiliate-select:hover {
  background: #ffffff !important;
  border-color: #8f9bad !important;
}

.shipping-card {
  background:
    linear-gradient(135deg, var(--nova-tint) 0%, #ffffff 46%, var(--field-strong) 100%) !important;
  border-color: rgba(224, 0, 42, 0.42) !important;
}

.shipping-card h3,
.shipping-card [data-shipping-copy] {
  color: var(--red-pop) !important;
}

.progress {
  background: #d7dde6 !important;
}

.progress span {
  background: linear-gradient(90deg, var(--red-pop), var(--red-bright)) !important;
}

.cart-qty {
  background: #ffffff !important;
  border-color: #9ca3af !important;
}

.cart-qty button,
.cart-qty span {
  background: #f3f4f6 !important;
  color: var(--nova-navy) !important;
  font-weight: 900 !important;
}

.cart-qty span {
  border-inline: 1px solid #d1d5db !important;
}

.cart-qty button:hover {
  background: #e5e7eb !important;
  color: var(--nova-navy) !important;
}

.rec-item button {
  background: #ffffff !important;
  border-color: var(--red-pop) !important;
  color: var(--nova-navy) !important;
  box-shadow: 0 8px 18px rgba(17, 24, 39, 0.10) !important;
}

.rec-item button:hover {
  background: var(--anthracite) !important;
  border-color: var(--anthracite) !important;
  color: #ffffff !important;
}

.cart-footer {
  background:
    linear-gradient(180deg, #ffffff, var(--field)) !important;
  color: var(--text) !important;
}

.cart-footer .subtotal,
.cart-footer .subtotal span,
.cart-footer .subtotal strong,
.cart-totals span,
.cart-totals strong {
  color: var(--text) !important;
}

.cart-total-row {
  background: var(--nova-tint) !important;
  border: 1px solid var(--red-line) !important;
  border-radius: 8px !important;
  padding: 0.7rem 0.85rem !important;
  margin-top: 0.35rem !important;
}

.cart-total-row span,
.cart-total-row strong {
  color: var(--red-dark) !important;
}

@media (max-width: 980px) {
  main {
    background:
      linear-gradient(180deg, #f8fafc 0%, #eef2f7 50%, #f8fafc 100%) !important;
  }

  .trust-strip.assurance-strip,
  .affiliate-cta-inner {
    box-shadow: 0 16px 38px rgba(5, 7, 13, 0.22) !important;
  }
}

/* =========================================================
   FOCUSED UI CLEANUP v6
   Footer visibility polish, payment clarity, and premium lab depth.
   ========================================================= */

:root {
  --lab-surface: #f8fafc;
  --lab-panel: #f1f5f9;
  --lab-card: #fbfcfe;
  --lab-line: #b7c2d0;
  --lab-line-soft: #d8dee8;
  --lab-text: #111827;
  --lab-muted: #4b5563;
  --brand-red: var(--nova-accent);
  --brand-red-dark: var(--nova-dark-accent);
  --brand-red-soft: var(--nova-tint);
}

.hero-product-card {
  display: block !important;
  color: var(--lab-text) !important;
  text-decoration: none !important;
  background:
    linear-gradient(180deg, #fcfdff 0%, #f1f5f9 100%) !important;
  border-color: rgba(217, 4, 41, 0.34) !important;
  box-shadow:
    0 24px 58px rgba(17, 24, 39, 0.14),
    0 0 0 1px rgba(217, 4, 41, 0.08) inset !important;
}

.hero-product-card:hover {
  transform: translateY(-2px);
  border-color: rgba(217, 4, 41, 0.54) !important;
  box-shadow:
    0 28px 72px rgba(17, 24, 39, 0.18),
    0 0 0 1px rgba(217, 4, 41, 0.14) inset !important;
}

.hero-product-card:focus-visible {
  outline: 3px solid rgba(217, 4, 41, 0.28);
  outline-offset: 4px;
}

.hero-product-card .hero-product-image {
  background:
    linear-gradient(180deg, #eef2f7, #ffffff) !important;
  border: 1px solid var(--lab-line-soft);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.hero-product-meta > span,
.hero-product-meta h2 {
  color: var(--lab-text) !important;
}

.hero-product-meta em {
  background: #ffffff !important;
  border: 1px solid var(--lab-line) !important;
  color: var(--lab-text) !important;
}

.trust-strip.assurance-strip {
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 0 !important;
  overflow: hidden;
  margin-top: 0.65rem !important;
  background:
    linear-gradient(180deg, #fbfcfe 0%, #eef2f7 100%) !important;
  border: 1px solid var(--lab-line) !important;
  border-radius: 8px !important;
  box-shadow: 0 22px 54px rgba(17, 24, 39, 0.12) !important;
  color: var(--lab-text) !important;
}

.trust-strip.assurance-strip article {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 0.95rem;
  align-items: center;
  padding: clamp(1rem, 2vw, 1.25rem);
  min-height: 106px;
  border-right: 1px solid var(--lab-line-soft);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.74), rgba(241, 245, 249, 0.78));
}

.trust-strip.assurance-strip article:last-child {
  border-right: 0;
}

.trust-strip.assurance-strip article:hover {
  background:
    linear-gradient(180deg, #ffffff, #f7f9fc);
}

.trust-strip.assurance-strip article > span {
  width: 44px !important;
  height: 44px !important;
  min-height: 44px !important;
  padding: 0 !important;
  display: inline-grid !important;
  place-items: center !important;
  border: 1px solid rgba(217, 4, 41, 0.34) !important;
  border-radius: 999px !important;
  background: var(--brand-red-soft) !important;
  color: var(--brand-red) !important;
}

.trust-strip.assurance-strip article > span::before {
  content: none !important;
}

.trust-strip.assurance-strip svg {
  width: 19px;
  height: 19px;
  stroke-width: 2.2;
}

.trust-strip.assurance-strip strong {
  display: block;
  color: var(--lab-text) !important;
  font-size: 0.98rem;
  letter-spacing: 0;
}

.trust-strip.assurance-strip p {
  margin: 0.2rem 0 0;
  color: var(--lab-muted) !important;
  line-height: 1.5;
}

.how-pay-page {
  background:
    linear-gradient(180deg, #fbfcfe 0%, #f1f5f9 100%) !important;
}

.how-pay-page > p {
  color: var(--lab-muted) !important;
  max-width: 78ch;
}

.pay-step-grid {
  gap: 0.9rem !important;
  align-items: stretch;
}

.pay-step-grid article {
  position: relative;
  overflow: hidden;
  padding: 1.35rem 1.1rem 1.25rem !important;
  min-height: 100%;
  background:
    linear-gradient(180deg, #ffffff 0%, #eef2f7 100%) !important;
  border: 1px solid var(--lab-line) !important;
  box-shadow:
    0 14px 34px rgba(17, 24, 39, 0.11),
    inset 0 1px 0 rgba(255, 255, 255, 0.95) !important;
}

.pay-step-grid article::after {
  content: "";
  position: absolute;
  inset: auto 1rem 0;
  height: 3px;
  border-radius: 999px 999px 0 0;
  background: linear-gradient(90deg, var(--brand-red), transparent);
  opacity: 0.75;
}

.pay-step-grid span {
  width: 38px !important;
  height: 38px !important;
  background: var(--brand-red) !important;
  color: #ffffff !important;
  box-shadow: 0 12px 24px rgba(217, 4, 41, 0.28) !important;
}

.pay-step-grid h2 {
  color: var(--lab-text) !important;
  line-height: 1.18;
}

.pay-step-grid p {
  color: #334155 !important;
  line-height: 1.62;
}

.interac-recipient-banner {
  display: grid;
  gap: 0.25rem;
  padding: 1rem 1.1rem;
  margin: 0.85rem 0;
  border: 1px solid rgba(217, 4, 41, 0.42);
  border-radius: 8px;
  background:
    linear-gradient(135deg, #111827 0%, #1f2937 100%);
  color: #ffffff;
  box-shadow: 0 16px 32px rgba(17, 24, 39, 0.18);
}

.interac-recipient-banner em {
  color: #fecdd3;
  font-size: 0.72rem;
  font-style: normal;
  font-weight: 900;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.interac-recipient-banner strong {
  color: #ffffff;
  font-size: clamp(1.25rem, 3vw, 1.65rem);
  letter-spacing: 0.04em;
}

.rec-item strong {
  color: #0f172a !important;
  font-weight: 950 !important;
}

.rec-item span span {
  color: #64748b !important;
  font-weight: 700;
}

.site-footer {
  background:
    linear-gradient(180deg, #101522 0%, #070a12 100%) !important;
}

.footer-inner {
  row-gap: clamp(2.2rem, 4vw, 3.8rem) !important;
  column-gap: clamp(2rem, 5vw, 5rem) !important;
}

.site-footer h3 {
  margin-bottom: 0.95rem !important;
  color: #f8fafc !important;
  letter-spacing: 0.1em !important;
}

.site-footer a {
  display: block;
  width: fit-content;
  margin: 0.58rem 0 !important;
  color: #dbe4f0 !important;
  text-decoration: none !important;
  transition: color 160ms ease, transform 160ms ease;
}

.site-footer a:hover {
  color: #ff9aa3 !important;
  transform: translateX(2px);
}

.site-footer .social-links a:hover {
  transform: translateY(-1px);
  background: rgba(217, 4, 41, 0.18) !important;
  border-color: rgba(255, 154, 163, 0.46) !important;
}

.footer-brand p {
  color: #d8e0eb !important;
  line-height: 1.68 !important;
}

.footer-brand strong {
  color: #ffffff !important;
}

@media (max-width: 980px) {
  .trust-strip.assurance-strip {
    grid-template-columns: 1fr !important;
  }

  .trust-strip.assurance-strip article {
    border-right: 0;
    border-bottom: 1px solid var(--lab-line-soft);
  }

  .trust-strip.assurance-strip article:last-child {
    border-bottom: 0;
  }

  .pay-step-grid {
    grid-template-columns: 1fr !important;
  }

  .footer-inner {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 640px) {
  .trust-strip.assurance-strip article {
    grid-template-columns: 40px 1fr;
    padding: 1rem;
  }

  .trust-strip.assurance-strip article > span {
    width: 40px !important;
    height: 40px !important;
    min-height: 40px !important;
  }

  .footer-inner {
    grid-template-columns: 1fr !important;
  }

  .interac-recipient-banner {
    padding: 0.9rem;
  }
}

/* =========================================================
   HOW TO PAY WORKFLOW v7
   Wider, shorter process cards with a clear left-to-right flow.
   ========================================================= */

.how-pay-page {
  max-width: min(1240px, calc(100% - 32px)) !important;
  padding: clamp(1.8rem, 3.5vw, 3rem) clamp(1rem, 2.4vw, 2.25rem) !important;
}

.how-pay-page > h1 {
  max-width: 780px;
}

.how-pay-page > p {
  max-width: 72ch !important;
  margin-bottom: 0 !important;
  font-size: clamp(1rem, 1.15vw, 1.08rem);
  line-height: 1.65;
}

.how-pay-page .pay-step-grid {
  --pay-workflow-gap: clamp(0.85rem, 1.15vw, 1.2rem);
  display: grid !important;
  grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
  gap: var(--pay-workflow-gap) !important;
  align-items: stretch !important;
  margin: clamp(1.7rem, 3vw, 2.35rem) 0 clamp(1rem, 2vw, 1.35rem) !important;
}

.how-pay-page .pay-step-grid article {
  display: grid;
  grid-template-rows: auto auto 1fr;
  align-content: start;
  gap: 0.72rem;
  min-height: clamp(235px, 21vw, 286px);
  padding: clamp(1rem, 1.35vw, 1.18rem) !important;
  overflow: visible !important;
  background:
    linear-gradient(180deg, #fcfdff 0%, #f3f6fa 100%) !important;
  border-color: #aeb9c8 !important;
  box-shadow:
    0 18px 42px rgba(17, 24, 39, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.94) !important;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.how-pay-page .pay-step-grid article:hover {
  transform: translateY(-2px);
  border-color: rgba(217, 4, 41, 0.36) !important;
  box-shadow:
    0 22px 50px rgba(17, 24, 39, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.98) !important;
}

.how-pay-page .pay-step-grid article::after {
  content: none !important;
}

.how-pay-page .pay-step-grid span {
  width: 36px !important;
  height: 36px !important;
  font-size: 0.92rem;
  box-shadow:
    0 12px 24px rgba(217, 4, 41, 0.3),
    0 0 0 6px rgba(217, 4, 41, 0.08) !important;
}

.how-pay-page .pay-step-grid h2 {
  min-height: 2.4em;
  margin: 0 !important;
  color: #07111f !important;
  font-size: clamp(1rem, 1.05vw, 1.08rem) !important;
  line-height: 1.18 !important;
}

.how-pay-page .pay-step-grid p {
  margin: 0 !important;
  color: #26364a !important;
  font-size: clamp(0.92rem, 0.95vw, 0.97rem);
  line-height: 1.48 !important;
}

.how-pay-page .pay-step-grid strong {
  color: #07111f !important;
  font-weight: 950;
}

.pay-security-note {
  position: relative;
  display: grid;
  grid-template-columns: minmax(210px, max-content) minmax(0, 1fr);
  gap: 0.85rem 1rem;
  align-items: flex-start;
  margin: 0 0 clamp(2.4rem, 5vw, 3.35rem);
  padding: 0.95rem 1rem;
  border: 1px solid rgba(217, 4, 41, 0.28);
  border-radius: 8px;
  background:
    linear-gradient(180deg, #fff6f7 0%, #f8fafc 100%);
  color: #26364a;
  box-shadow: 0 14px 30px rgba(17, 24, 39, 0.08);
  line-height: 1.48;
  min-width: 0;
  overflow: hidden;
}

.pay-security-note::before {
  content: "";
  position: absolute;
  top: 1.4rem;
  left: 1rem;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 999px;
  background: var(--brand-red);
  box-shadow: 0 0 0 5px rgba(217, 4, 41, 0.1);
}

.pay-security-note strong {
  color: #07111f;
  display: block;
  padding-left: 1.45rem;
  min-width: 0;
}

.pay-security-note span {
  display: block;
  min-width: 0;
  color: #07111f;
  overflow-wrap: break-word;
  word-break: normal;
}

.pay-security-note code {
  display: inline;
  color: #07111f;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-size: 0.92em;
  font-weight: 850;
  overflow-wrap: anywhere;
  word-break: break-word;
}

@media (min-width: 1181px) {
  .how-pay-page .pay-step-grid article:not(:last-child)::after {
    content: "" !important;
    position: absolute;
    top: 2rem;
    right: calc(-1 * var(--pay-workflow-gap));
    width: var(--pay-workflow-gap);
    height: 2px;
    border-radius: 999px;
    background:
      linear-gradient(90deg, rgba(217, 4, 41, 0.68), rgba(174, 185, 200, 0.44));
    opacity: 1;
    pointer-events: none;
  }
}

@media (max-width: 1180px) {
  .how-pay-page .pay-step-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }

  .how-pay-page .pay-step-grid article {
    min-height: 230px;
  }
}

@media (max-width: 840px) {
  .how-pay-page {
    max-width: min(100%, calc(100% - 28px)) !important;
  }

  .how-pay-page .pay-step-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 640px) {
  html,
  body {
    max-width: 100%;
    overflow-x: hidden;
  }

  .section,
  .hero,
  .products-hero,
  .product-control-panel,
  .content-page,
  .checkout-page,
  .admin-page,
  .product-detail {
    width: calc(100% - 24px);
    max-width: calc(100% - 24px);
  }

  .how-pay-page {
    width: calc(100% - 24px) !important;
    max-width: calc(100% - 24px) !important;
    margin-inline: 12px !important;
    padding: 1.35rem 1rem !important;
    overflow: hidden !important;
  }

  .how-pay-page,
  .how-pay-page * {
    min-width: 0 !important;
    max-width: 100% !important;
  }

  .how-pay-page > p {
    font-size: 1rem;
    line-height: 1.58;
    white-space: normal !important;
    overflow-wrap: anywhere;
  }

  .how-pay-page .pay-step-grid {
    grid-template-columns: 1fr !important;
    gap: 0.85rem !important;
    margin-top: 1.35rem !important;
  }

  .pay-security-note {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.45rem;
    padding: 0.95rem;
  }

  .pay-security-note::before {
    top: 1.38rem;
    left: 0.95rem;
  }

  .pay-security-note strong {
    padding-left: 1.35rem;
  }

  .how-pay-page .pay-step-grid article {
    display: flex !important;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.65rem;
    min-height: 0;
    width: 100%;
    max-width: 100%;
    padding: 1rem !important;
    overflow: hidden !important;
  }

  .how-pay-page .pay-step-grid span {
    width: 40px !important;
    height: 40px !important;
    flex: 0 0 40px;
  }

  .how-pay-page .pay-step-grid h2 {
    min-height: 0;
    width: 100%;
    white-space: normal !important;
    overflow-wrap: anywhere;
  }

  .how-pay-page .pay-step-grid p {
    font-size: 0.96rem;
    line-height: 1.52 !important;
    width: 100%;
    max-width: 100%;
    white-space: normal !important;
    overflow-wrap: anywhere;
  }
}

/* =========================================================
   MERCHANT CENTER READINESS TRUST SURFACES
   Footer contact visibility and ad-friendly landing sections.
   ========================================================= */

.site-footer .footer-email {
  display: inline-flex !important;
  align-items: center;
  width: fit-content;
  margin: 1rem 0 0 !important;
  padding: 0.62rem 0.78rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.055);
  color: #ffffff !important;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: none;
}

.site-footer .footer-email:hover {
  color: #ffffff !important;
  border-color: rgba(255, 154, 163, 0.5);
  background: rgba(217, 4, 41, 0.16);
}

.promo-bar {
  position: relative;
  max-width: 100%;
}

.promo-bar > div {
  position: absolute;
  inset: 0 auto 0 0;
}

.ad-landing-page {
  border-color: var(--lab-line) !important;
  background:
    linear-gradient(180deg, #fcfdff 0%, #f3f6fa 100%) !important;
}

.ad-landing-page > p {
  max-width: 76ch;
}

.landing-trust-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin: clamp(1.5rem, 3vw, 2.25rem) 0;
}

.landing-trust-grid article {
  padding: 1.2rem;
  border: 1px solid var(--lab-line);
  border-radius: 8px;
  background:
    linear-gradient(180deg, #ffffff 0%, #eef2f7 100%);
  box-shadow: 0 16px 36px rgba(17, 24, 39, 0.1);
}

.landing-trust-grid h2 {
  margin-top: 0;
  font-size: 1.25rem;
}

.landing-trust-grid p {
  margin-bottom: 0;
  color: var(--lab-muted) !important;
}

@media (max-width: 900px) {
  .landing-trust-grid {
    grid-template-columns: 1fr;
  }
}

/* Final mobile viewport guard: keeps the restored MAIN-style surfaces from
   behaving like tablet layouts on narrow browser viewports. */
@media (max-width: 720px) {
  html,
  body,
  main {
    max-width: 100% !important;
    overflow-x: hidden !important;
  }

  .site-header {
    max-width: 100% !important;
    overflow: hidden !important;
    padding-inline: 0.75rem !important;
  }

  .brand img {
    width: min(140px, 38vw) !important;
  }

  .header-actions {
    flex: 0 0 auto !important;
    gap: 0.15rem !important;
  }

  .header-actions .icon-btn,
  .mobile-search-toggle,
  .menu-toggle {
    width: 36px !important;
    min-width: 36px !important;
    height: 36px !important;
  }

  .hero,
  .section,
  .products-hero,
  .product-control-panel,
  .page-hero,
  .content-page,
  .checkout-page,
  .admin-page,
  .product-detail,
  .confidence {
    width: calc(100% - 24px) !important;
    max-width: calc(100% - 24px) !important;
    margin-inline: auto !important;
  }

  .hero,
  .product-detail,
  .split-section,
  .product-info-section,
  .spotlight-section,
  .quality-section {
    grid-template-columns: 1fr !important;
  }

  .trust-band,
  .confidence-grid,
  .product-grid,
  .small-grid,
  .hero-metrics,
  .quality-list,
  .payment-steps,
  .variant-grid,
  .contact-panel,
  .catalog-grid,
  .site-footer {
    grid-template-columns: 1fr !important;
  }

  .hero-actions,
  .section-heading {
    align-items: stretch !important;
    flex-direction: column !important;
  }

  .hero-actions .btn,
  .section-heading .text-link {
    width: 100% !important;
    justify-content: center !important;
  }

  .how-pay-page {
    padding: 1.35rem 1rem !important;
    overflow: hidden !important;
  }

  .how-pay-page,
  .how-pay-page * {
    min-width: 0 !important;
    max-width: 100% !important;
  }

  .how-pay-page > p,
  .how-pay-page .pay-step-grid h2,
  .how-pay-page .pay-step-grid p {
    width: 100% !important;
    white-space: normal !important;
    overflow-wrap: anywhere !important;
  }

  .how-pay-page .pay-step-grid {
    grid-template-columns: 1fr !important;
    gap: 0.85rem !important;
  }

  .how-pay-page .pay-step-grid article {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    min-height: 0 !important;
    overflow: hidden !important;
  }
}

.checkout-attestation {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.75rem;
  align-items: start;
  padding: 1rem;
  border: 1px solid var(--pc-line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--pc-soft);
  font-size: 0.95rem;
  line-height: 1.55;
}

.checkout-attestation input {
  width: 20px;
  height: 20px;
  margin-top: 0.15rem;
  accent-color: var(--pc-red);
}

.checkout-attestation:focus-within {
  border-color: rgba(230, 0, 0, 0.72);
  box-shadow: 0 0 0 4px rgba(230, 0, 0, 0.12);
}

@media (max-width: 760px) {
  .account-required-card {
    padding: 1rem;
  }

  .account-required-actions,
  .payment-locked-card .btn {
    width: 100%;
  }

  .account-required-actions .btn,
  .account-required-actions .text-button {
    width: 100%;
  }
}

/* Final SEO/UX heading guardrails. Placed last so older hero rules cannot overpower it. */
.products-hero h1 {
  font-size: clamp(3rem, 6vw, 5.25rem) !important;
  line-height: 0.98 !important;
}

@media (max-width: 640px) {
  .products-hero h1 {
    font-size: clamp(2.35rem, 13vw, 3.5rem) !important;
  }
}

/* Account auth polish: compact mobile registration and clear errors */
.auth-card {
  padding-block: clamp(1.35rem, 4vw, 2rem) !important;
}

.auth-card > p {
  margin-bottom: 0.7rem;
}

.auth-message-stack {
  display: grid;
  gap: 0.55rem;
  margin: 0.85rem 0 0;
}

.form-message.compact-alert {
  margin: 0;
  padding: 0.72rem 0.85rem;
  border-radius: 8px;
  border: 1px solid rgba(148, 163, 184, 0.4);
  background: #f8fafc;
  color: var(--text);
  font-size: 0.92rem;
  line-height: 1.45;
}

.form-message.compact-alert.error {
  border-color: rgba(220, 38, 38, 0.35);
  background: #fff1f2;
  color: #8f111d;
}

.form-message.compact-alert.success {
  border-color: rgba(5, 150, 105, 0.32);
  background: #ecfdf5;
  color: #065f46;
}

.form-message.compact-alert.neutral {
  border-color: rgba(15, 23, 42, 0.12);
  background: #f1f5f9;
  color: #334155;
}

.auth-submit-button {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
}

.auth-submit-button:disabled {
  cursor: progress;
  opacity: 0.78;
}

@media (max-width: 640px) {
  .auth-card {
    padding: 1.15rem !important;
  }

  .register-card h1,
  .auth-card h1 {
    font-size: clamp(2rem, 12vw, 3rem) !important;
    line-height: 0.98 !important;
    margin-bottom: 0.55rem !important;
  }

  .auth-card .eyebrow {
    margin-bottom: 0.45rem;
  }

  .auth-card > p {
    font-size: 0.98rem !important;
    line-height: 1.45 !important;
    margin-bottom: 0.55rem !important;
  }

  .account-form {
    gap: 0.72rem !important;
    margin-top: 0.95rem !important;
  }

  .account-form label > span {
    margin-bottom: 0.28rem !important;
    font-size: 0.72rem !important;
  }

  .account-form input {
    min-height: 48px !important;
    padding-inline: 0.85rem !important;
  }

  .auth-submit-button {
    min-height: 50px;
    margin-top: 0.35rem !important;
  }

  .account-switch {
    margin-top: 0.85rem !important;
  }
}

.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.pc-chatbot {
  position: fixed;
  right: max(1rem, env(safe-area-inset-right));
  bottom: max(1rem, env(safe-area-inset-bottom));
  z-index: 2147482000;
  font-family: inherit;
  max-width: calc(100% - 1rem);
  transition: opacity 180ms ease, transform 180ms ease;
}

.pc-chatbot,
.pc-chatbot * {
  box-sizing: border-box;
}

body.cart-open .pc-chatbot,
body.search-open .pc-chatbot,
body.menu-open .pc-chatbot,
body.age-gate-active .pc-chatbot {
  display: none !important;
  visibility: hidden !important;
  pointer-events: none;
  opacity: 0;
  transform: translateY(10px);
}

.pc-chatbot-button {
  position: relative;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background:
    radial-gradient(circle at 35% 25%, rgba(255, 255, 255, 0.16), transparent 34%),
    linear-gradient(145deg, #121721 0%, #05070b 100%);
  color: #ffffff;
  box-shadow: 0 20px 48px rgba(3, 7, 18, 0.38), 0 0 0 4px rgba(217, 4, 41, 0.14);
  cursor: pointer;
  font-weight: 950;
  letter-spacing: -0.03em;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.pc-chatbot-button span {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 2px solid #ffffff;
  border-radius: 50%;
  color: #ffffff;
  background: #111827;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.32);
}

.pc-chatbot-button span::first-letter {
  color: #e4002b;
}

.pc-chatbot-button:hover,
.pc-chatbot-button:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.38);
  box-shadow: 0 24px 54px rgba(3, 7, 18, 0.46), 0 0 0 5px rgba(217, 4, 41, 0.18);
}

/* A prompt is waiting but the panel stayed closed so it would not cover the page. */
.pc-chatbot-button[data-unread]::after {
  content: "";
  position: absolute;
  top: 2px;
  right: 2px;
  width: 14px;
  height: 14px;
  border: 2px solid #ffffff;
  border-radius: 50%;
  background: #e4002b;
}

.pc-chatbot-panel {
  position: absolute;
  right: 0;
  bottom: 76px;
  display: flex;
  flex-direction: column;
  width: min(410px, calc(100vw - 2rem));
  height: min(590px, calc(100dvh - 6rem));
  max-height: min(590px, calc(100dvh - 6rem));
  overflow: hidden;
  overflow-x: hidden;
  overscroll-behavior: contain;
  border: 1px solid rgba(17, 24, 39, 0.16);
  border-radius: 14px;
  background: #ffffff;
  color: #111827;
  box-shadow: 0 28px 70px rgba(3, 7, 18, 0.28);
}

.pc-chatbot-panel[hidden] {
  display: none !important;
}

.pc-chatbot-header {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem;
  background:
    linear-gradient(135deg, rgba(217, 4, 41, 0.2) 0%, rgba(217, 4, 41, 0) 34%),
    #070b13;
  color: #ffffff;
}

.pc-chatbot-header strong {
  display: block;
  margin-top: 0.22rem;
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.88rem;
  font-weight: 760;
  letter-spacing: 0;
}

.pc-chatbot-eyebrow {
  display: block;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.pc-chatbot-close {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  color: #ffffff;
  cursor: pointer;
  font-size: 1.4rem;
  line-height: 1;
}

.pc-chatbot-messages {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  min-height: 0;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 1rem;
  background: linear-gradient(180deg, #f8fafc 0%, #eef2f7 100%);
}

.pc-chatbot-message {
  max-width: 92%;
  min-width: 0;
  padding: 0.82rem 0.9rem;
  border: 1px solid rgba(148, 163, 184, 0.42);
  border-radius: 12px;
  background: #ffffff;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08);
  overflow-wrap: break-word;
  word-break: normal;
}

.pc-chatbot-message p {
  margin: 0;
  color: #1f2937 !important;
  font-size: 0.92rem;
  line-height: 1.55;
}

.pc-chatbot-message.is-user {
  align-self: flex-end;
  border-color: rgba(217, 4, 41, 0.24);
  background: var(--nova-accent);
}

.pc-chatbot-message.is-user p {
  color: #ffffff !important;
  font-weight: 750;
}

.pc-chatbot-message.is-offer {
  align-self: stretch;
  max-width: 100%;
  border-color: rgba(217, 4, 41, 0.34);
  background:
    linear-gradient(135deg, rgba(217, 4, 41, 0.11), rgba(217, 4, 41, 0) 44%),
    #ffffff;
}

.pc-chatbot-message.is-offer strong {
  display: inline-flex;
  margin-top: 0.65rem;
  padding: 0.42rem 0.58rem;
  border: 1px dashed rgba(217, 4, 41, 0.54);
  border-radius: 8px;
  color: #950019;
  background: #fff1f2;
  font-size: 0.92rem;
}

.pc-chatbot-links,
.pc-chatbot-offer-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 0.7rem;
  max-width: 100%;
}

.pc-chatbot-links a,
.pc-chatbot-offer-actions a,
.pc-chatbot-offer-actions button,
.pc-chatbot-inline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0.46rem 0.66rem;
  border: 1px solid rgba(17, 24, 39, 0.16);
  border-radius: 8px;
  background: #ffffff;
  color: #111827 !important;
  cursor: pointer;
  font-size: 0.78rem;
  font-weight: 850;
  text-decoration: none;
  white-space: normal;
  overflow-wrap: anywhere;
}

.pc-chatbot-offer-actions button,
.pc-chatbot-inline {
  border-color: var(--nova-accent);
  background: var(--nova-accent);
  color: #ffffff !important;
}

.pc-chatbot-quick {
  display: grid;
  flex: 0 0 auto;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.48rem;
  max-width: 100%;
  overflow: hidden;
  padding: 0.75rem 1rem;
  border-top: 1px solid rgba(148, 163, 184, 0.24);
  background: #ffffff;
}

.pc-chatbot-quick button {
  width: 100%;
  min-height: 38px;
  padding: 0.44rem 0.66rem;
  border: 1px solid rgba(17, 24, 39, 0.16);
  border-radius: 999px;
  background: #f8fafc;
  color: #111827;
  cursor: pointer;
  font-size: 0.76rem;
  font-weight: 850;
  white-space: normal;
  overflow-wrap: anywhere;
}

.pc-chatbot-input,
.pc-chatbot-lead {
  display: grid;
  gap: 0.6rem;
  padding: 1rem;
  border-top: 1px solid rgba(148, 163, 184, 0.26);
  background: #ffffff;
}

.pc-chatbot-input {
  flex: 0 0 auto;
  grid-template-columns: minmax(0, 1fr) auto;
}

.pc-chatbot-input input,
.pc-chatbot-lead input {
  min-width: 0;
  width: 100%;
  border: 1px solid rgba(100, 116, 139, 0.42);
  border-radius: 8px;
  background: #f8fafc;
  color: #111827;
  font: inherit;
  font-size: 0.9rem;
  padding: 0.74rem 0.82rem;
}

.pc-chatbot-input input:focus,
.pc-chatbot-lead input:focus {
  outline: none;
  border-color: rgba(217, 4, 41, 0.66);
  box-shadow: 0 0 0 4px rgba(217, 4, 41, 0.12);
}

.pc-chatbot-input button,
.pc-chatbot-lead button {
  min-height: 42px;
  border: 0;
  border-radius: 8px;
  background: #111827;
  color: #ffffff;
  cursor: pointer;
  font-weight: 900;
  padding: 0.68rem 0.86rem;
}

.pc-chatbot-input button:hover,
.pc-chatbot-lead button:hover,
.pc-chatbot-input button:focus-visible,
.pc-chatbot-lead button:focus-visible {
  background: var(--nova-accent);
}

.pc-chatbot-lead strong {
  color: #111827;
  font-size: 0.92rem;
}

.pc-chatbot-help {
  flex: 0 0 auto;
  border-top: 1px solid rgba(148, 163, 184, 0.24);
  background: #ffffff;
}

.pc-chatbot-help-toggle {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.34rem;
  width: 100%;
  min-height: 40px;
  padding: 0.54rem 1rem;
  border: 0;
  background: #ffffff;
  color: #4b5563;
  cursor: pointer;
  font: inherit;
  font-size: 0.82rem;
  text-align: left;
}

.pc-chatbot-help-toggle strong {
  color: #111827;
  font-size: 0.82rem;
  font-weight: 850;
}

.pc-chatbot-help-toggle:hover strong,
.pc-chatbot-help-toggle:focus-visible strong {
  color: var(--nova-accent);
}

.pc-chatbot-help-toggle:focus-visible {
  outline: 2px solid rgba(217, 4, 41, 0.5);
  outline-offset: -4px;
}

.pc-chatbot-help-icon {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  margin-left: auto;
  border: 1px solid rgba(17, 24, 39, 0.14);
  border-radius: 999px;
  color: #111827;
  font-size: 0.68rem;
  font-weight: 900;
  line-height: 1;
  transition: transform 160ms ease;
}

.pc-chatbot-help-toggle.is-expanded .pc-chatbot-help-icon {
  transform: rotate(180deg);
}

.pc-chatbot-lead[hidden] {
  display: none !important;
}

.pc-chatbot-lead {
  padding: 0 1rem 0.85rem;
  border-top: 0;
  background: #ffffff;
}

.pc-chatbot-lead-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.pc-chatbot-lead-head button {
  min-height: 32px;
  padding: 0.35rem 0.58rem;
  border: 1px solid rgba(17, 24, 39, 0.16);
  border-radius: 999px;
  background: #f8fafc;
  color: #111827;
  font-size: 0.72rem;
  font-weight: 850;
}

.pc-chatbot-lead-head button:hover,
.pc-chatbot-lead-head button:focus-visible {
  background: #111827;
  color: #ffffff;
}

.pc-chatbot-lead-status {
  min-height: 1.2rem;
  margin: 0;
  color: #4b5563 !important;
  font-size: 0.82rem;
}

@media (max-width: 640px) {
  .pc-chatbot {
    right: 0.8rem;
    bottom: 0.8rem;
  }

  .pc-chatbot-panel {
    right: -0.15rem;
    bottom: 70px;
    width: calc(100vw - 1.3rem);
    height: min(80dvh, calc(100dvh - 5.4rem));
    max-height: min(80dvh, calc(100dvh - 5.4rem));
    border-radius: 12px;
  }

  .pc-chatbot-header {
    padding: 0.72rem 0.85rem;
  }

  .pc-chatbot-header strong {
    font-size: 0.82rem;
  }

  .pc-chatbot-eyebrow {
    font-size: 0.66rem;
  }

  .pc-chatbot-messages {
    min-height: 0;
    padding: 0.72rem 0.85rem;
    gap: 0.6rem;
  }

  .pc-chatbot-message {
    padding: 0.68rem 0.78rem;
  }

  .pc-chatbot-message p {
    font-size: 0.88rem;
  }

  .pc-chatbot-quick {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.35rem;
    padding: 0.48rem 0.75rem;
  }

  .pc-chatbot-quick button {
    min-height: 31px;
    padding: 0.34rem 0.4rem;
    font-size: 0.66rem;
    line-height: 1.12;
  }

  .pc-chatbot-input {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 0.5rem;
    padding: 0.5rem 0.75rem;
  }

  .pc-chatbot-input input,
  .pc-chatbot-lead input {
    font-size: 0.86rem;
    padding: 0.58rem 0.66rem;
  }

  .pc-chatbot-help-toggle {
    min-height: 34px;
    padding: 0.42rem 0.85rem;
    font-size: 0.76rem;
  }

  .pc-chatbot-help-toggle strong {
    font-size: 0.76rem;
  }

  .pc-chatbot-lead {
    gap: 0.48rem;
    padding: 0 0.85rem 0.68rem;
  }

  .pc-chatbot-input button,
  .pc-chatbot-lead button {
    min-height: 40px;
  }

  .pc-chatbot-lead-head button {
    width: auto;
    min-height: 32px;
  }
}

/* Mobile menu must always win over the floating support assistant. */
@media (max-width: 980px) {
  .site-header {
    z-index: 2147482600 !important;
    overflow: visible !important;
  }

  .site-header .primary-nav,
  .site-header .primary-nav.is-open {
    position: fixed !important;
    top: calc(env(safe-area-inset-top, 0px) + 68px) !important;
    left: max(0.75rem, env(safe-area-inset-left)) !important;
    right: max(0.75rem, env(safe-area-inset-right)) !important;
    width: auto !important;
    max-height: calc(100dvh - 84px) !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    overscroll-behavior: contain !important;
    -webkit-overflow-scrolling: touch !important;
    z-index: 2147482700 !important;
  }

  .site-header .primary-nav {
    opacity: 0 !important;
    pointer-events: none !important;
    transform: translateY(-8px) !important;
    visibility: hidden !important;
  }

  .site-header .primary-nav.is-open {
    display: flex !important;
    opacity: 1 !important;
    pointer-events: auto !important;
    transform: translateY(0) !important;
    visibility: visible !important;
  }

  .site-header .menu-toggle {
    position: relative;
    z-index: 2147482800 !important;
  }

  body.menu-open .pc-chatbot {
    display: none !important;
    visibility: hidden !important;
    pointer-events: none !important;
  }
}

@media (max-width: 720px) {
  .site-header .primary-nav,
  .site-header .primary-nav.is-open {
    top: calc(env(safe-area-inset-top, 0px) + 64px) !important;
    max-height: calc(100dvh - 78px) !important;
  }
}

/* Mobile overflow containment — prevents horizontal scroll on all pages */
@media (max-width: 640px) {
  .buy-box,
  .description-tabs,
  .product-description-copy,
  .tab-panel,
  .related-products,
  .product-proof-grid,
  .buy-trust {
    min-width: 0;
    max-width: 100%;
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  .product-description-copy {
    overflow-x: hidden;
  }

  .product-description-copy h2,
  .product-description-copy h3,
  .product-description-copy p,
  .product-description-copy li,
  .product-description-copy a {
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  .buy-trust span {
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  .product-proof-grid span {
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  .footer-bottom {
    max-width: 100%;
    overflow-wrap: anywhere;
  }
}

@media (max-width: 640px) {
  .product-purchase-enhancer {
    gap: 0.9rem;
    margin: 1rem 0;
  }

  .bundle-quantity {
    grid-template-columns: 54px 72px 54px;
    gap: 0.65rem;
  }

  .bundle-quantity button,
  .bundle-quantity input {
    height: 54px;
  }

  .bundle-options {
    gap: 0.5rem;
    align-items: stretch;
  }

  .bundle-option {
    flex-direction: column;
    gap: 0.3rem;
    padding: 1.1rem 0.55rem 0.7rem;
    border-radius: 14px;
    text-align: center;
    min-height: 0;
  }

  .bundle-option img {
    width: 34px;
    height: 34px;
  }

  .bundle-option > span {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    justify-content: center;
    min-width: 0;
  }

  .bundle-option span,
  .bundle-option strong,
  .bundle-option small {
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  .bundle-option strong {
    font-size: 0.72rem;
    line-height: 1.15;
  }

  .bundle-option small {
    font-size: 0.68rem;
    min-height: 1em;
  }

  .bundle-option em {
    top: -0.72rem;
    max-width: calc(100% - 0.4rem);
    padding-inline: 0.42rem;
    overflow: hidden;
    font-size: 0.56rem;
    text-overflow: ellipsis;
  }

  .add-save-card {
    grid-template-columns: 28px 58px minmax(0, 1fr);
    gap: 0.6rem;
    padding: 0.8rem;
  }

  .add-save-card img {
    width: 58px;
    height: 58px;
  }

  .add-save-check {
    width: 26px;
    height: 26px;
  }

  .add-save-badge {
    font-size: 0.58rem;
  }

  .add-save-copy strong {
    font-size: 0.92rem;
    line-height: 1.2;
    overflow-wrap: anywhere;
  }

  .add-save-copy em {
    font-size: 0.72rem;
    line-height: 1.2;
    overflow-wrap: anywhere;
  }

  .add-save-price {
    display: flex;
    align-items: baseline;
    gap: 0.35rem;
    flex-wrap: wrap;
  }

  .shipping-benefit-bar {
    padding: 0.82rem;
    font-size: 0.9rem;
  }
}

/* Customer account order history */
.account-section-head,
.account-order-card-head,
.account-order-footer {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.account-section-head > span {
  color: var(--pc-muted);
  font-weight: 900;
}

.account-order-card {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  padding: clamp(1rem, 3vw, 1.35rem);
}

.account-order-card-head strong {
  color: var(--text);
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  white-space: nowrap;
}

.account-order-meta {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.8rem;
  margin: 0;
}

.account-order-meta div,
.account-totals-list div {
  min-width: 0;
  padding: 0.78rem;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
}

.account-order-products,
.account-order-shipping {
  min-width: 0;
}

.account-order-products ul,
.account-detail-items {
  display: grid;
  gap: 0.65rem;
  padding: 0;
  margin: 0.75rem 0 0;
  list-style: none;
}

.account-order-products li,
.account-detail-items li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 1rem;
  padding: 0.78rem;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
}

.account-detail-items li {
  grid-template-columns: 58px minmax(0, 1fr) auto;
}

.account-detail-items img {
  width: 58px;
  height: 58px;
  border-radius: 8px;
  object-fit: cover;
  background: #fff;
}

.account-order-products strong,
.account-detail-items strong {
  display: block;
  color: var(--text);
}

.account-order-products small,
.account-detail-items small {
  display: block;
  color: var(--pc-muted);
  margin-top: 0.15rem;
}

.account-order-products em,
.account-detail-items em {
  color: var(--text);
  font-style: normal;
  font-weight: 950;
  white-space: nowrap;
}

.account-order-more,
.account-order-shipping p,
.account-empty-state p {
  color: var(--pc-muted);
}

.account-order-footer {
  align-items: center;
  flex-wrap: wrap;
  padding-top: 0.2rem;
}

.account-order-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.account-order-actions span {
  color: var(--pc-muted);
  font-size: 0.9rem;
  font-weight: 800;
}

.account-empty-state {
  display: grid;
  gap: 0.85rem;
  padding: 1.25rem;
  border: 1px dashed rgba(0, 0, 0, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.55);
}

.account-empty-state h3 {
  margin: 0;
}

.account-order-detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 1rem;
  margin-top: 2rem;
}

.account-detail-summary h2 {
  margin: 0.75rem 0 1rem;
  font-size: clamp(2rem, 5vw, 3.4rem);
}

.account-detail-summary dl,
.account-totals-list {
  display: grid;
  gap: 0.75rem;
  margin: 0;
}

.account-totals-list div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

.account-totals-list div:last-child {
  border-color: rgba(200, 0, 10, 0.26);
  background: rgba(200, 0, 10, 0.06);
}

/* Customer affiliate dashboard */
.account-affiliate-page {
  max-width: 1100px;
}

.account-affiliate-summary {
  display: grid;
  gap: 1rem;
}

.customer-reward-summary {
  display: grid;
  gap: 1rem;
}

.customer-reward-summary > p {
  max-width: 78ch;
  margin: 0;
  color: var(--pc-muted);
  line-height: 1.6;
}

.customer-reward-checkout-note {
  display: grid;
  gap: 0.65rem;
  margin: 1rem 0;
  padding: 0.9rem 1rem;
  border: 1px solid rgba(200, 0, 10, 0.24);
  border-radius: 8px;
  background: rgba(200, 0, 10, 0.05);
}

.customer-reward-checkout-note > div {
  display: grid;
  gap: 0.2rem;
}

.customer-reward-checkout-note span {
  color: var(--pc-muted);
  font-size: 0.9rem;
}

.customer-reward-checkout-note label {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-weight: 700;
}

.customer-reward-link-block {
  display: grid;
  gap: 0.45rem;
}

.customer-reward-metrics {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 0;
}

@media (max-width: 760px) {
  .customer-reward-metrics {
    grid-template-columns: 1fr;
  }
}

.affiliate-account-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
}

.affiliate-account-hero h2 {
  margin: 0.65rem 0 0.2rem;
  font-size: clamp(1.9rem, 4vw, 3rem);
}

.affiliate-code-box {
  min-width: min(260px, 100%);
  padding: 1rem;
  border: 1px solid rgba(200, 0, 10, 0.2);
  border-radius: 10px;
  background: rgba(200, 0, 10, 0.06);
}

.affiliate-code-box strong,
.affiliate-referral-link {
  display: block;
  color: var(--text);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  overflow-wrap: anywhere;
}

.affiliate-code-box strong {
  margin-top: 0.35rem;
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  letter-spacing: 0.04em;
}

.affiliate-metrics-grid,
.affiliate-commission-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.affiliate-metric-card {
  display: grid;
  align-content: start;
  gap: 0.45rem;
}

.affiliate-metric-card strong {
  color: var(--text);
  font-size: clamp(1.55rem, 3vw, 2.15rem);
  letter-spacing: -0.02em;
}

.affiliate-metric-card p,
.affiliate-support-note {
  margin: 0;
  color: var(--pc-muted);
  line-height: 1.55;
}

.affiliate-referral-link {
  margin: 1rem 0 0.45rem;
  padding: 0.95rem 1rem;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
}

.affiliate-tier-progress {
  display: grid;
  gap: 0.75rem;
  margin-top: 1rem;
}

.affiliate-progress-meta {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  color: var(--text);
}

.affiliate-progress-meta span {
  color: var(--pc-muted);
  font-weight: 800;
}

.affiliate-progress-track {
  height: 10px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(17, 24, 39, 0.12);
}

.affiliate-progress-track span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--pc-red), #ff445c);
}

.affiliate-commission-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.affiliate-commission-grid div {
  min-width: 0;
  padding: 0.78rem;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
}

.account-table-scroll {
  width: 100%;
  overflow: auto hidden;
  margin-top: 1rem;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
}

.affiliate-account-table {
  min-width: 760px;
  margin: 0;
}

.affiliate-account-table th,
.affiliate-account-table td {
  color: var(--text);
  border-bottom-color: rgba(0, 0, 0, 0.08);
}

.affiliate-account-table th {
  color: var(--pc-muted);
}

.affiliate-account-table code {
  color: var(--text);
  font-weight: 900;
}

.affiliate-status-pending,
.affiliate-status-paused {
  border-color: rgba(245, 158, 11, 0.45) !important;
  color: #92400e !important;
}

@media (max-width: 760px) {
  .account-order-card-head,
  .account-order-footer,
  .account-section-head {
    flex-direction: column;
    align-items: stretch;
  }

  .account-order-meta,
  .account-order-detail-grid {
    grid-template-columns: 1fr;
  }

  .account-order-products li {
    grid-template-columns: 1fr;
    gap: 0.35rem;
  }

  .account-detail-items li {
    grid-template-columns: 48px minmax(0, 1fr);
  }

  .account-detail-items em {
    grid-column: 2;
  }

  .account-order-actions,
  .account-order-actions .btn,
  .account-order-footer > .btn {
    width: 100%;
  }

  .account-order-actions .btn,
  .account-order-footer > .btn {
    justify-content: center;
  }

  .affiliate-account-hero,
  .affiliate-progress-meta {
    flex-direction: column;
    align-items: stretch;
  }

  .affiliate-metrics-grid,
  .affiliate-commission-grid {
    grid-template-columns: 1fr;
  }

  .affiliate-referral-link {
    font-size: 0.86rem;
  }
}


/* ============================================================
   PREMIUM VISUAL LAYER (visual-premium-upgrade)
   Self-hosted Inter variable font, dark hero, micro-interactions,
   scroll reveals, card hover physics. Appended last so it wins
   the cascade over earlier theme generations. All motion uses
   transform/opacity only and respects prefers-reduced-motion.
   ============================================================ */

/* --- Inter variable font (self-hosted, latin subset) --- */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/assets/fonts/inter-var.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Tighten display headings now that a real grotesk loads */
h1, h2 {
  letter-spacing: -0.015em;
}

/* --- Premium dark hero (homepage) --- */
.hero.shopify-hero {
  position: relative;
  overflow: hidden;
  border-radius: 14px;
  padding: clamp(2.2rem, 5vw, 4.5rem) clamp(1.2rem, 4vw, 4rem);
  background:
    radial-gradient(56rem 36rem at 84% 4%, rgba(217, 4, 41, 0.18), transparent 62%),
    radial-gradient(42rem 30rem at 4% 100%, rgba(217, 4, 41, 0.10), transparent 60%),
    radial-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1.4px),
    linear-gradient(168deg, #0b0d14 0%, #05060a 52%, #0c0f17 100%) !important;
  background-size: auto, auto, 23px 23px, auto !important;
  border: 1px solid rgba(255, 255, 255, 0.07);
}

.hero.shopify-hero h1 {
  color: #ffffff !important;
}

.hero.shopify-hero .hero-copy > p {
  color: #c2c9d6 !important;
}

.hero.shopify-hero .hero-badge {
  background: rgba(255, 255, 255, 0.06) !important;
  border-color: rgba(255, 255, 255, 0.16) !important;
  color: #cdd4e0 !important;
}

.hero.shopify-hero .hero-tags span {
  background: rgba(255, 255, 255, 0.06) !important;
  border-color: rgba(255, 255, 255, 0.14) !important;
  color: #d4dae5 !important;
}

.hero.shopify-hero .hero-metrics span {
  background: rgba(255, 255, 255, 0.05) !important;
  border-color: rgba(255, 255, 255, 0.12) !important;
}

.hero.shopify-hero .hero-metrics strong {
  color: #ffffff !important;
}

.hero.shopify-hero .hero-metrics em {
  color: #98a2b5 !important;
}

.hero.shopify-hero .btn-secondary {
  background: rgba(255, 255, 255, 0.07) !important;
  border-color: rgba(255, 255, 255, 0.32) !important;
  color: #ffffff !important;
}

.hero.shopify-hero .btn-secondary:hover {
  background: rgba(255, 255, 255, 0.14) !important;
  border-color: rgba(255, 255, 255, 0.5) !important;
}

/* Hero product card: dark glass + rotating accent border */
@property --pc-angle {
  syntax: "<angle>";
  initial-value: 0deg;
  inherits: false;
}

.hero.shopify-hero .hero-product-card {
  position: relative;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.015)) !important;
}

.hero.shopify-hero .hero-product-card::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: conic-gradient(from var(--pc-angle), transparent 12%, rgba(217, 4, 41, 0.75) 38%, rgba(255, 96, 120, 0.55) 50%, rgba(217, 4, 41, 0.75) 62%, transparent 88%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
  opacity: 0.85;
  animation: pc-border-spin 7s linear infinite;
  pointer-events: none;
}

@keyframes pc-border-spin {
  to { --pc-angle: 360deg; }
}

.hero.shopify-hero .hero-product-card .eyebrow,
.hero.shopify-hero .hero-product-meta span {
  color: #97a1b4 !important;
}

.hero.shopify-hero .hero-product-meta h2 {
  color: #ffffff !important;
}

.hero.shopify-hero .hero-product-meta em {
  border-color: rgba(255, 255, 255, 0.16) !important;
  background: rgba(255, 255, 255, 0.08) !important;
  color: #cfd6e2 !important;
}

/* --- Section eyebrow accent --- */
.section-heading .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}

.section-heading .eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: rgb(217, 4, 41);
}

/* --- Primary CTA: sheen sweep + hover physics --- */
.btn {
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.btn-primary::after {
  content: "";
  position: absolute;
  inset: 0;
  transform: translateX(-135%) skewX(-18deg);
  background: linear-gradient(105deg, transparent 40%, rgba(255, 255, 255, 0.38) 50%, transparent 60%);
  pointer-events: none;
}

.btn-primary:hover::after,
.btn-primary:focus-visible::after {
  transition: transform 600ms ease;
  transform: translateX(135%) skewX(-18deg);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 32px rgba(217, 4, 41, 0.34);
}

.btn:active {
  transform: translateY(0) scale(0.985);
}

.card-order {
  cursor: pointer;
  transition: transform 150ms ease, background 150ms ease, box-shadow 150ms ease;
}

.card-order:not([disabled]):hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(217, 4, 41, 0.3);
}

.card-order:not([disabled]):active {
  transform: scale(0.96);
}

/* --- Product card hover physics + image zoom + spotlight --- */
.product-card {
  position: relative;
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.product-card:hover {
  transform: translateY(-4px);
  border-color: rgba(217, 4, 41, 0.4);
  box-shadow: 0 18px 42px rgba(9, 11, 17, 0.13), 0 4px 14px rgba(217, 4, 41, 0.10);
}

.product-media {
  overflow: hidden;
}

.product-media img {
  transition: transform 380ms cubic-bezier(0.22, 0.61, 0.36, 1);
}

.product-card:hover .product-media img {
  transform: scale(1.05);
}

@media (hover: hover) and (pointer: fine) {
  .product-card::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    opacity: 0;
    transition: opacity 240ms ease;
    background: radial-gradient(420px circle at var(--spot-x, 50%) var(--spot-y, 50%), rgba(217, 4, 41, 0.085), transparent 65%);
    pointer-events: none;
  }

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

/* --- Scroll reveal (JS adds reveal-enabled to body; no-JS stays visible) --- */
body.reveal-enabled .reveal-item {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 560ms cubic-bezier(0.22, 0.61, 0.36, 1),
    transform 560ms cubic-bezier(0.22, 0.61, 0.36, 1);
  transition-delay: var(--reveal-delay, 0ms);
}

body.reveal-enabled .reveal-item.is-revealed {
  opacity: 1;
  transform: none;
}

/* --- Header: stronger glass separation once scrolled --- */
.site-header.is-scrolled {
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.38);
}

/* --- Footer: red signature hairline --- */
.site-footer {
  position: relative;
}

.site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent 4%, rgba(217, 4, 41, 0.75) 50%, transparent 96%);
}

/* --- Reduced motion: disable decorative animation, keep content visible --- */
@media (prefers-reduced-motion: reduce) {
  .hero.shopify-hero .hero-product-card::before {
    animation: none;
  }

  .btn-primary::after {
    display: none;
  }

  body.reveal-enabled .reveal-item {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .product-card,
  .product-media img,
  .card-order,
  .btn {
    transition: none;
  }
}


/* --- Products page: premium dark banner (matches homepage hero) --- */
.products-hero {
  position: relative;
  overflow: hidden;
  margin-top: 1rem;
  padding: clamp(2.6rem, 6vw, 4.6rem) clamp(1.2rem, 4vw, 3rem);
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  background:
    radial-gradient(48rem 30rem at 80% 0%, rgba(217, 4, 41, 0.17), transparent 62%),
    radial-gradient(36rem 26rem at 6% 100%, rgba(217, 4, 41, 0.09), transparent 60%),
    radial-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1.4px),
    linear-gradient(168deg, #0b0d14 0%, #05060a 55%, #0c0f17 100%) !important;
  background-size: auto, auto, 23px 23px, auto !important;
}

.products-hero .eyebrow {
  color: #b6bfce !important;
}

.products-hero h1 {
  color: #ffffff !important;
}

.products-hero p {
  color: #c2c9d6 !important;
}

/* --- Trust ticker marquee (homepage, bridges dark hero to light content) --- */
.trust-marquee {
  width: min(var(--pc-max, 1240px), calc(100% - 40px));
  overflow: hidden;
  margin: 1.5rem auto 0;
  padding: 0.9rem 0;
  border-block: 1px solid rgba(13, 16, 23, 0.1);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.trust-marquee-track {
  display: flex;
  width: max-content;
  animation: pc-marquee 38s linear infinite;
}

.trust-marquee:hover .trust-marquee-track {
  animation-play-state: paused;
}

.trust-marquee-group {
  display: flex;
  align-items: center;
  gap: 2.4rem;
  padding-right: 2.4rem;
}

.trust-marquee-group span {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  white-space: nowrap;
  color: rgba(53, 60, 74, 0.82);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.trust-marquee-group span::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgb(217, 4, 41);
  opacity: 0.8;
}

@keyframes pc-marquee {
  to { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  .trust-marquee-track {
    animation: none;
    width: auto;
    flex-wrap: wrap;
    justify-content: center;
  }

  .trust-marquee-group[aria-hidden="true"] {
    display: none;
  }

  .trust-marquee {
    mask-image: none;
    -webkit-mask-image: none;
  }
}


/* --- How Ordering Works: dark panel with steps + animated stats --- */
.ordering-panel {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  padding: clamp(2rem, 5vw, 4rem) clamp(1.2rem, 4vw, 3.5rem);
  border: 1px solid rgba(255, 255, 255, 0.07);
  background:
    radial-gradient(48rem 30rem at 88% 0%, rgba(217, 4, 41, 0.16), transparent 62%),
    radial-gradient(36rem 26rem at 2% 100%, rgba(217, 4, 41, 0.08), transparent 60%),
    radial-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1.4px),
    linear-gradient(168deg, #0b0d14 0%, #05060a 55%, #0c0f17 100%);
  background-size: auto, auto, 23px 23px, auto;
}

.ordering-panel .eyebrow {
  color: #b6bfce !important;
}

.ordering-panel .section-heading h2 {
  color: #ffffff;
}

.ordering-panel .section-heading p {
  color: #c2c9d6;
}

.ordering-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.ordering-steps article {
  padding: 1.5rem 1.4rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.015));
  transition: transform 220ms ease, border-color 220ms ease;
}

.ordering-steps article:hover {
  transform: translateY(-3px);
  border-color: rgba(217, 4, 41, 0.45);
}

.step-num {
  display: inline-block;
  color: #ff6078;
  font-size: 0.85rem;
  font-weight: 900;
  letter-spacing: 0.16em;
}

.ordering-steps h3 {
  margin: 0.55rem 0 0.4rem;
  color: #ffffff;
  font-size: 1.12rem;
}

.ordering-steps p {
  margin: 0;
  color: #aab3c4;
  font-size: 0.95rem;
  line-height: 1.6;
}

.stats-band {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2.2rem;
  padding-top: 1.8rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
}

.stats-band strong {
  display: block;
  color: #ffffff;
  font-size: clamp(1.7rem, 3.4vw, 2.6rem);
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
  line-height: 1;
}

.stats-band > div > span {
  display: block;
  margin-top: 0.45rem;
  color: #97a1b4;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.ordering-actions {
  margin: 2.2rem 0 0;
}

.ordering-panel .btn-secondary {
  background: rgba(255, 255, 255, 0.07) !important;
  border-color: rgba(255, 255, 255, 0.32) !important;
  color: #ffffff !important;
}

.ordering-panel .btn-secondary:hover {
  background: rgba(255, 255, 255, 0.14) !important;
  border-color: rgba(255, 255, 255, 0.5) !important;
}

@media (max-width: 900px) {
  .ordering-steps {
    grid-template-columns: 1fr;
  }

  .stats-band {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 1.6rem;
  }
}


/* --- Why Customers Choose Us: real cards instead of floating text --- */
.confidence-card {
  display: flex;
  flex-direction: column;
  padding: 1.6rem 1.4rem;
  border: 1px solid var(--line, #d6d9e0);
  border-radius: 12px;
  background: linear-gradient(180deg, #ffffff 0%, #eef2f7 100%);
  box-shadow: 0 16px 36px rgba(17, 24, 39, 0.08);
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.confidence-card:hover {
  transform: translateY(-4px);
  border-color: rgba(217, 4, 41, 0.38);
  box-shadow: 0 22px 44px rgba(17, 24, 39, 0.12), 0 4px 14px rgba(217, 4, 41, 0.08);
}

.confidence-card span {
  width: 46px;
  height: 46px;
  margin-bottom: 1.1rem;
}

.confidence-card h3 {
  margin: 0 0 0.45rem;
  font-size: 1.08rem;
}

.confidence-card p {
  margin: 0;
  line-height: 1.6;
}


/* --- Admin operations: faster payment navigation --- */
.admin-filter-tabs {
  position: sticky;
  top: 0;
  z-index: 60;
  margin-top: 0.5rem;
  padding-top: 0.6rem;
  background: linear-gradient(180deg, #f5f6f9 78%, rgba(245, 246, 249, 0));
}

.status-badge.status-group-payment_review {
  background: rgba(217, 4, 41, 0.12) !important;
  border-color: rgba(217, 4, 41, 0.42) !important;
  color: var(--nova-dark-accent) !important;
}

.status-badge.status-group-awaiting {
  background: rgba(245, 158, 11, 0.14) !important;
  border-color: rgba(217, 119, 6, 0.45) !important;
  color: #92400e !important;
}

.status-badge.status-group-confirmed {
  background: rgba(22, 163, 74, 0.12) !important;
  border-color: rgba(22, 163, 74, 0.42) !important;
  color: #166534 !important;
}

.status-badge.status-group-shipped {
  background: rgba(37, 99, 235, 0.12) !important;
  border-color: rgba(37, 99, 235, 0.42) !important;
  color: #1e40af !important;
}

.status-badge.status-group-cancelled {
  background: rgba(107, 114, 128, 0.12) !important;
  border-color: rgba(107, 114, 128, 0.42) !important;
  color: #374151 !important;
}

.admin-order-card-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.45rem;
}

.pay-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.3rem 0.62rem;
  border: 1px solid;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
}

.pay-chip::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
}

.pay-chip.pay-interac {
  color: #92400e;
  border-color: rgba(217, 119, 6, 0.42);
  background: rgba(245, 158, 11, 0.1);
}

.pay-chip.pay-crypto {
  color: #1e40af;
  border-color: rgba(37, 99, 235, 0.42);
  background: rgba(37, 99, 235, 0.08);
}

.pay-chip.pay-paypal {
  color: #1f2937;
  border-color: rgba(107, 114, 128, 0.42);
  background: rgba(107, 114, 128, 0.08);
}

.pay-chip.pay-none {
  color: #6b7280;
  border-color: #d1d5db;
  background: #f3f4f6;
}

.admin-pay-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0.2rem 0 1.4rem;
}

.admin-pay-chips a {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 40px;
  padding: 0.45rem 0.9rem;
  border: 1px solid var(--line, #d6d9e0);
  border-radius: 999px;
  background: #ffffff;
  color: var(--text, #111827);
  font-size: 0.8rem;
  font-weight: 800;
}

.admin-pay-chips a span {
  padding: 0.05rem 0.5rem;
  border-radius: 999px;
  background: rgba(17, 24, 39, 0.08);
  font-size: 0.74rem;
}

.admin-pay-chips a.is-active {
  border-color: rgb(217, 4, 41);
  color: var(--nova-dark-accent);
  background: rgba(217, 4, 41, 0.07);
}

.admin-collapsible summary {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.9rem;
  cursor: pointer;
  list-style: none;
}

.admin-collapsible summary::-webkit-details-marker {
  display: none;
}

.admin-collapsible summary::after {
  content: "+";
  margin-left: auto;
  color: rgb(217, 4, 41);
  font-size: 1.5rem;
  font-weight: 800;
  line-height: 1;
}

.admin-collapsible[open] summary::after {
  content: "2";
}

.admin-collapsible summary h2 {
  margin: 0;
  font-size: 1.25rem;
}

.admin-collapsible summary .eyebrow {
  margin-bottom: 0;
}

.admin-collapsible > summary ~ * {
  margin-top: 1rem;
}

.metric-jump {
  display: block;
  margin-top: 0.45rem;
  color: rgb(217, 4, 41) !important;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.metric-jump:hover {
  text-decoration: underline;
}

/* =========================================================
   MOBILE VISUAL AUDIT FIXES
   Keeps narrow viewports polished after the layered theme
   overrides above. Focuses on readable typography, header
   fit, overflow safety, and non-invasive floating UI.
   ========================================================= */

h1,
h2,
h3,
.content-page h1,
.content-page h2,
.page-hero h1,
.hero h1,
.detail-copy h1 {
  overflow-wrap: normal !important;
  word-break: normal !important;
  hyphens: manual !important;
  text-wrap: balance;
}

.content-page p,
.content-page li {
  overflow-wrap: normal;
  word-break: normal;
}

.content-page a,
.content-page code,
.footer-email,
.affiliate-referral-link {
  overflow-wrap: anywhere;
  word-break: normal;
}

.pay-security-note code {
  display: inline-block;
  max-width: 100%;
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: break-word;
  line-height: 1.35;
  vertical-align: baseline;
}

.age-gate-overlay {
  width: 100%;
  max-width: 100vw;
  overflow-x: hidden;
  box-sizing: border-box;
}

.age-gate-card {
  max-width: min(100%, 560px);
  box-sizing: border-box;
}

@media (max-width: 720px) {
  body {
    font-size: 16px !important;
  }

  .age-gate-overlay {
    padding: clamp(0.75rem, 4vw, 1.15rem) !important;
  }

  .age-gate-card {
    width: 100% !important;
    max-width: calc(100vw - 1.5rem) !important;
    padding: clamp(1.15rem, 5.4vw, 1.65rem) !important;
  }

  .age-gate-card h2 {
    font-size: clamp(2rem, 10.5vw, 3rem) !important;
    line-height: 1.02 !important;
  }

  .age-gate-card p {
    font-size: clamp(1rem, 4.2vw, 1.12rem) !important;
    line-height: 1.58 !important;
  }

  .promo-bar {
    height: 34px !important;
    font-size: clamp(0.56rem, 2.7vw, 0.68rem) !important;
    letter-spacing: 0.06em !important;
  }

  .site-header {
    min-height: 62px !important;
    gap: clamp(0.14rem, 1.2vw, 0.32rem) !important;
    padding-block: 0.55rem !important;
    padding-inline: clamp(0.5rem, 2.2vw, 0.75rem) !important;
  }

  .site-header .brand {
    flex: 1 1 auto !important;
    max-width: clamp(6.9rem, 35vw, 9.25rem) !important;
  }

  .site-header .brand img,
  .brand img {
    width: clamp(6.9rem, 35vw, 9.25rem) !important;
    max-width: 100% !important;
    height: auto !important;
  }

  .header-actions {
    gap: clamp(0.12rem, 0.8vw, 0.24rem) !important;
  }

  .header-actions .icon-btn,
  .mobile-search-toggle,
  .menu-toggle {
    width: clamp(2.25rem, 9.75vw, 2.6rem) !important;
    min-width: clamp(2.25rem, 9.75vw, 2.6rem) !important;
    height: clamp(2.25rem, 9.75vw, 2.6rem) !important;
    flex-basis: clamp(2.25rem, 9.75vw, 2.6rem) !important;
    border-radius: 7px !important;
  }

  .header-actions .icon-btn svg,
  .mobile-search-toggle svg {
    width: clamp(1.12rem, 5.2vw, 1.35rem) !important;
    height: clamp(1.12rem, 5.2vw, 1.35rem) !important;
  }

  .cart-count {
    min-width: 1.05rem !important;
    height: 1.05rem !important;
    font-size: 0.62rem !important;
    top: -0.25rem !important;
    right: -0.15rem !important;
  }

  .hero,
  .section,
  .products-hero,
  .product-control-panel,
  .page-hero,
  .content-page,
  .checkout-page,
  .admin-page,
  .product-detail,
  .confidence {
    width: calc(100% - 20px) !important;
    max-width: calc(100% - 20px) !important;
  }

  .content-page {
    margin-top: clamp(2rem, 7vw, 2.8rem) !important;
    margin-bottom: clamp(3rem, 10vw, 4rem) !important;
    padding: clamp(1.05rem, 4.2vw, 1.45rem) !important;
    border-radius: 10px !important;
  }

  .content-page .eyebrow {
    font-size: clamp(0.68rem, 3vw, 0.8rem) !important;
    line-height: 1.35 !important;
    letter-spacing: 0.16em !important;
  }

  .content-page h1 {
    max-width: 100% !important;
    margin-top: 0.85rem !important;
    font-size: clamp(2rem, 9vw, 2.75rem) !important;
    line-height: 1.04 !important;
    letter-spacing: -0.025em !important;
  }

  .about-page h1 {
    font-size: clamp(1.95rem, 8.7vw, 2.58rem) !important;
  }

  .content-page h2 {
    font-size: clamp(1.35rem, 6vw, 1.8rem) !important;
    line-height: 1.16 !important;
  }

  .content-page p,
  .content-page li,
  details p {
    font-size: clamp(0.98rem, 4.15vw, 1.06rem) !important;
    line-height: 1.62 !important;
  }

  .content-page ul {
    padding-left: 1.1rem !important;
  }

  .pc-chatbot {
    right: max(0.65rem, env(safe-area-inset-right)) !important;
    bottom: max(0.65rem, env(safe-area-inset-bottom)) !important;
  }

  .pc-chatbot-button {
    width: clamp(3.4rem, 15vw, 4rem) !important;
    height: clamp(3.4rem, 15vw, 4rem) !important;
  }
}

@media (max-width: 380px) {
  .site-header .brand,
  .site-header .brand img,
  .brand img {
    width: clamp(6.35rem, 32vw, 7.35rem) !important;
    max-width: clamp(6.35rem, 32vw, 7.35rem) !important;
  }

  .header-actions .icon-btn,
  .mobile-search-toggle,
  .menu-toggle {
    width: 2.18rem !important;
    min-width: 2.18rem !important;
    height: 2.18rem !important;
    flex-basis: 2.18rem !important;
  }

  .content-page h1 {
    font-size: clamp(1.85rem, 8.6vw, 2.2rem) !important;
  }

  .content-page p,
  .content-page li,
  details p {
    font-size: 0.98rem !important;
  }
}

@media (max-width: 720px) {
  .search-backdrop {
    width: 100vw !important;
    max-width: 100vw !important;
    overflow: hidden !important;
  }

  .search-panel {
    left: max(0.75rem, env(safe-area-inset-left)) !important;
    right: max(0.75rem, env(safe-area-inset-right)) !important;
    width: auto !important;
    max-width: calc(100vw - 1.5rem) !important;
    box-sizing: border-box !important;
    overflow-x: hidden !important;
    transform: translateY(-10px) !important;
  }

  body.search-open .search-panel {
    transform: translateY(0) !important;
  }

  .search-panel *,
  .cart-drawer * {
    min-width: 0;
  }

  .search-panel input {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
}

/* =========================================================
   Conversion trust modules
   ========================================================= */

.delivery-estimate {
  margin-top: 0.75rem;
  color: #111827;
  font-size: 0.86rem;
  font-weight: 800;
}

.conversion-products-section,
.recently-viewed-section {
  position: relative;
}

.compact-dynamic-card {
  animation: none !important;
  opacity: 1 !important;
  transform: none !important;
}

.recently-viewed-section [data-recently-viewed] {
  align-items: stretch;
}

.recently-viewed-section .compact-dynamic-card {
  height: 100%;
}

.recently-viewed-section .compact-dynamic-card .product-body {
  display: flex !important;
  min-height: 270px;
  flex: 1 1 auto;
  flex-direction: column;
}

.recently-viewed-section .compact-dynamic-card .product-card-review-slot {
  display: flex;
  min-height: 24px;
  margin: 0.45rem 0 0.65rem;
  align-items: center;
}

.recently-viewed-section .compact-dynamic-card .product-card-review-slot:empty::before {
  content: "";
  display: block;
  width: 1px;
  height: 1px;
}

.recently-viewed-section .compact-dynamic-card .product-card-description {
  display: -webkit-box;
  min-height: 4.5em;
  max-height: 4.5em;
  margin: 0 0 1rem !important;
  flex: 0 0 4.5em;
  overflow: hidden;
  line-height: 1.5 !important;
  text-overflow: ellipsis;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.recently-viewed-section .compact-dynamic-card .product-meta {
  flex: 0 0 auto;
  margin-top: auto;
  align-items: flex-end;
}

.recently-viewed-section .compact-dynamic-card .product-price-range {
  display: grid !important;
  gap: 0.08rem;
  line-height: 1.1;
}

@media (max-width: 560px) {
  .recently-viewed-section .compact-dynamic-card .product-body {
    min-height: 0;
  }

  .recently-viewed-section .compact-dynamic-card .product-meta {
    align-items: stretch;
    flex-direction: column;
    gap: 0.7rem;
  }

  .recently-viewed-section .compact-dynamic-card .card-order {
    width: 100%;
    margin-left: 0;
  }
}

.subscribe-consent,
.pc-chatbot-consent {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  margin-top: 0.85rem;
  color: #475569;
  font-size: 0.88rem;
  line-height: 1.45;
}

.subscribe-consent input,
.pc-chatbot-consent input {
  width: 1rem;
  min-width: 1rem;
  height: 1rem;
  /* Override the global `input { min-height: 48px }` (touch-target sizing meant
     for text fields) so the checkbox is a 16x16 square aligned with the first
     line of the consent text, not a tall 16x48 box that drops below it. */
  min-height: 1rem;
  flex: 0 0 auto;
  align-self: flex-start;
  margin-top: 0.15rem;
  accent-color: #c51622;
}

.checkout-total-note,
.price-transparency-note {
  margin: 0.7rem 0 0;
  color: #475569;
  font-size: 0.88rem;
  line-height: 1.45;
}

.contact-copy-card .check-list strong {
  color: #111827;
}

.pc-chatbot-lead label:not(.pc-chatbot-consent) {
  display: block;
}

/* Kit quantity and value clarification */

.variant-options {
  align-items: center;
}

.kit-option-group {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  min-width: 0;
}

.kit-option-note {
  display: grid;
  gap: 0.16rem;
  min-width: 0;
  line-height: 1.15;
}

.kit-option-note strong {
  color: var(--text);
  font-size: 0.84rem;
  font-weight: 850;
}

.kit-option-note small {
  color: var(--red-dark);
  font-size: 0.75rem;
  font-weight: 800;
}

@media (max-width: 480px) {
  .kit-option-group {
    flex: 1 1 100%;
  }

  .kit-option-note small {
    font-size: 0.72rem;
  }
}
/* =========================================================
   Premium storefront home
   Restrained ecommerce direction with real editorial imagery.
   ========================================================= */

body.home {
  --home-ink: #171717;
  --home-muted: #606060;
  --home-line: #d7d7d2;
  --home-paper: #f4f4f0;
  --home-surface: #ffffff;
  --home-dark: #111111;
  --home-red: var(--nova-accent);
  --home-red-dark: #9f0c24;
  background: var(--home-paper);
  color: var(--home-ink);
}

body.home *,
body.home *::before,
body.home *::after {
  letter-spacing: 0 !important;
}

body.home main {
  display: block;
  overflow: clip;
  background: var(--home-paper);
}

body.home .reveal-item,
body.home .reveal-item.is-revealed {
  opacity: 1 !important;
  transform: none !important;
}

body.home .site-header {
  border-bottom: 1px solid rgba(17, 17, 17, 0.12);
  box-shadow: none;
}

body.home .btn {
  min-height: 46px;
  padding: 0.8rem 1.15rem;
  border-radius: 4px;
  box-shadow: none !important;
  font-size: 0.88rem;
  font-weight: 800;
  line-height: 1;
  text-transform: none;
  transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease;
}

body.home .btn:hover {
  transform: translateY(-1px);
}

body.home .btn-primary {
  border: 1px solid var(--home-red);
  background: var(--home-red);
  color: #fff;
}

body.home .btn-primary:hover {
  border-color: var(--home-red-dark);
  background: var(--home-red-dark);
}

body.home .btn-secondary {
  border: 1px solid currentColor;
  background: transparent;
  color: inherit;
}

body.home .btn-secondary:hover {
  background: rgba(255, 255, 255, 0.08);
}

body.home a:focus-visible,
body.home button:focus-visible,
body.home input:focus-visible {
  outline: 3px solid rgba(200, 16, 46, 0.3);
  outline-offset: 3px;
}

.home-kicker {
  display: block;
  margin: 0 0 0.9rem;
  color: var(--home-red);
  font-size: 0.76rem;
  font-style: normal;
  font-weight: 850;
  line-height: 1.2;
  text-transform: uppercase;
}

.home-hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 620px;
  isolation: isolate;
  overflow: hidden;
  background: var(--home-dark);
  color: #fff;
}

.home-hero-image,
.home-hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.home-hero-image {
  z-index: -2;
  object-fit: cover;
  object-position: 62% 48%;
}

.home-hero-overlay {
  z-index: -1;
  background: rgba(7, 7, 7, 0.64);
}

.home-hero-content {
  width: min(1220px, calc(100% - 48px));
  margin: 0 auto;
  padding: 5.25rem 0 4.5rem;
}

.home-hero .home-kicker {
  color: #ff7c8e;
}

.home-hero h1 {
  max-width: 760px;
  margin: 0;
  color: #fff;
  font-size: 4.65rem;
  font-weight: 820;
  line-height: 0.99;
  text-wrap: balance;
}

.home-hero-content > p:not(.home-hero-notice) {
  max-width: 650px;
  margin: 1.35rem 0 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: 1.14rem;
  line-height: 1.65;
}

.home-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

.home-hero .btn-secondary {
  color: #fff;
}

.home-hero-notice {
  max-width: 680px;
  margin: 1.55rem 0 0;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.26);
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.5;
}

.home-trustbar {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  width: 100%;
  border-bottom: 1px solid var(--home-line);
  background: var(--home-surface);
}

.home-trustbar article {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  min-height: 92px;
  padding: 1rem 1.25rem;
  border-right: 1px solid var(--home-line);
}

.home-trustbar article:last-child {
  border-right: 0;
}

.home-trustbar article > span {
  display: grid;
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  place-items: center;
  color: var(--home-red);
}

.home-trustbar svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.home-trustbar article div {
  display: grid;
  gap: 0.14rem;
}

.home-trustbar strong {
  color: var(--home-ink);
  font-size: 0.9rem;
  line-height: 1.2;
}

.home-trustbar small {
  color: var(--home-muted);
  font-size: 0.76rem;
  line-height: 1.35;
}

.home-section {
  width: min(1220px, calc(100% - 48px));
  margin: 0 auto;
  padding: 6rem 0;
}

.home-section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 3rem;
  margin-bottom: 2rem;
  padding-bottom: 1.2rem;
  border-bottom: 1px solid var(--home-line);
}

.home-section-heading > div {
  max-width: 720px;
}

.home-section-heading .home-kicker {
  margin-bottom: 0.65rem;
}

.home-section-heading h2,
.home-proof h2,
.home-education h2,
.home-quality h2,
.home-updates h2 {
  margin: 0;
  color: var(--home-ink);
  font-size: 2.7rem;
  font-weight: 810;
  line-height: 1.08;
  text-wrap: balance;
}

.home-section-heading > p {
  max-width: 460px;
  margin: 0;
  color: var(--home-muted);
  font-size: 0.96rem;
  line-height: 1.65;
}

.home-text-link {
  flex: 0 0 auto;
  color: var(--home-ink);
  font-size: 0.88rem;
  font-weight: 800;
  text-decoration: none;
}

.home-text-link:hover {
  color: var(--home-red);
}

.home-catalog-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 1rem;
}

.home-catalog-tile {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  grid-column: span 6;
  min-height: 280px;
  overflow: hidden;
  border: 1px solid var(--home-line);
  border-radius: 8px;
  background: var(--home-surface);
  color: var(--home-ink);
  text-decoration: none;
  transition: border-color 180ms ease, transform 180ms ease;
}

.home-catalog-tile:hover {
  transform: translateY(-2px);
  border-color: rgba(17, 17, 17, 0.42);
}

.home-catalog-media {
  display: grid;
  min-width: 0;
  place-items: center;
  overflow: hidden;
  border-right: 1px solid var(--home-line);
  background: #eeeeea;
}

.home-catalog-media img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
  transition: transform 220ms ease;
}

.home-catalog-tile:hover .home-catalog-media img {
  transform: scale(1.025);
}

.home-catalog-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  padding: 1.7rem;
}

.home-catalog-copy small {
  margin-bottom: 0.55rem;
  color: var(--home-red);
  font-size: 0.72rem;
  font-weight: 850;
  line-height: 1.2;
  text-transform: uppercase;
}

.home-catalog-copy strong {
  color: var(--home-ink);
  font-size: 1.45rem;
  line-height: 1.12;
}

.home-catalog-copy > span {
  margin-top: 0.7rem;
  color: var(--home-muted);
  font-size: 0.9rem;
  line-height: 1.55;
}

.home-catalog-copy em {
  margin-top: auto;
  padding-top: 1.3rem;
  color: var(--home-ink);
  font-size: 0.8rem;
  font-style: normal;
  font-weight: 800;
}

.home-featured {
  padding-top: 1rem;
}

.home-featured .product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.home-featured .product-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--home-line);
  border-radius: 8px;
  background: var(--home-surface);
  box-shadow: none;
  transform: none;
  transition: border-color 180ms ease, transform 180ms ease;
}

.home-featured .product-card::before,
.home-featured .product-card::after {
  display: none;
}

.home-featured .product-card:hover {
  transform: translateY(-2px);
  border-color: rgba(17, 17, 17, 0.42);
  box-shadow: none;
}

.home-featured .product-media {
  display: block;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-bottom: 1px solid var(--home-line);
  background: #eeeeea;
}

.home-featured .product-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 220ms ease;
}

.home-featured .product-card:hover .product-media img {
  transform: scale(1.025);
}

.home-featured .product-body {
  display: flex;
  flex-direction: column;
  min-height: 235px;
  padding: 1.15rem;
}

.home-featured .stock-note {
  align-self: flex-start;
  width: auto;
  min-height: 0;
  margin: 0 0 0.7rem;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--home-red) !important;
  font-size: 0.7rem;
  font-weight: 850;
  line-height: 1.2;
  text-transform: uppercase;
}

.home-featured .product-body h3 {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.28;
}

.home-featured .product-body h3 a {
  color: var(--home-ink);
  text-decoration: none;
}

.home-featured .product-body > p {
  display: -webkit-box;
  margin: 0.65rem 0 1rem;
  overflow: hidden;
  color: var(--home-muted);
  font-size: 0.84rem;
  line-height: 1.5;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.home-featured .product-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: auto;
}

.home-featured .product-price-range {
  color: var(--home-ink);
  font-size: 0.96rem;
  line-height: 1.2;
}

.home-featured .card-order {
  min-width: 66px;
  min-height: 38px;
  padding: 0.55rem 0.8rem;
  border: 1px solid var(--home-red);
  border-radius: 4px;
  background: var(--home-red);
  color: #fff;
  box-shadow: none !important;
  font-size: 0.78rem;
  font-weight: 850;
}

.home-featured .card-order:hover {
  border-color: var(--home-red-dark);
  background: var(--home-red-dark);
}

.home-proof {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(420px, 0.92fr);
  min-height: 660px;
  border-top: 1px solid var(--home-line);
  border-bottom: 1px solid var(--home-line);
  background: var(--home-surface);
}

.home-proof-media {
  min-height: 660px;
  overflow: hidden;
  border-right: 1px solid var(--home-line);
}

.home-proof-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.home-proof-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 650px;
  padding: 5rem clamp(2rem, 5vw, 5rem);
}

.home-proof-copy > p {
  margin: 1.2rem 0 0;
  color: var(--home-muted);
  font-size: 1rem;
  line-height: 1.7;
}

.home-proof-copy ul {
  display: grid;
  gap: 0;
  margin: 2rem 0;
  padding: 0;
  border-top: 1px solid var(--home-line);
  list-style: none;
}

.home-proof-copy li {
  display: grid;
  gap: 0.35rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--home-line);
}

.home-proof-copy li strong {
  color: var(--home-ink);
  font-size: 0.94rem;
}

.home-proof-copy li span {
  color: var(--home-muted);
  font-size: 0.86rem;
  line-height: 1.5;
}

.home-proof-copy .btn {
  align-self: flex-start;
  color: var(--home-ink);
}

.home-proof-copy .btn:hover {
  background: var(--home-ink);
  color: #fff;
}

.home-education {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 6rem;
  align-items: start;
}

.home-education-lead {
  position: sticky;
  top: 120px;
}

.home-education-lead > p {
  max-width: 520px;
  margin: 1.15rem 0 1.7rem;
  color: var(--home-muted);
  font-size: 0.98rem;
  line-height: 1.7;
}

.home-resource-list {
  border-top: 1px solid var(--home-line);
}

.home-resource-list a {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr) 24px;
  gap: 1.5rem;
  align-items: center;
  min-height: 118px;
  padding: 1.2rem 0;
  border-bottom: 1px solid var(--home-line);
  color: var(--home-ink);
  text-decoration: none;
}

.home-resource-list a:hover strong,
.home-resource-list a:hover em {
  color: var(--home-red);
}

.home-resource-list span {
  color: var(--home-muted);
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
}

.home-resource-list strong {
  font-size: 1.08rem;
  line-height: 1.4;
  transition: color 180ms ease;
}

.home-resource-list em {
  color: var(--home-ink);
  font-size: 1.2rem;
  font-style: normal;
  text-align: right;
  transition: color 180ms ease;
}

.home-quality {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr) auto;
  gap: 3rem;
  align-items: center;
  padding: 4.5rem max(24px, calc((100vw - 1220px) / 2));
  background: var(--home-dark);
  color: #fff;
}

.home-quality .home-kicker {
  color: #ff7c8e;
}

.home-quality h2 {
  color: #fff;
  font-size: 2.2rem;
}

.home-quality > p {
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  line-height: 1.65;
}

.home-quality .btn {
  white-space: nowrap;
}

.home-ordering ol {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--home-line);
  border-bottom: 1px solid var(--home-line);
  list-style: none;
}

.home-ordering li {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 1rem;
  min-height: 190px;
  padding: 1.6rem;
  border-right: 1px solid var(--home-line);
}

.home-ordering li:last-child {
  border-right: 0;
}

.home-ordering li > span {
  color: var(--home-red);
  font-size: 0.76rem;
  font-weight: 850;
}

.home-ordering strong {
  color: var(--home-ink);
  font-size: 1rem;
}

.home-ordering p {
  margin: 0.65rem 0 0;
  color: var(--home-muted);
  font-size: 0.86rem;
  line-height: 1.6;
}

body.home .recently-viewed-section {
  width: min(1220px, calc(100% - 48px)) !important;
  max-width: none !important;
  margin: 0 auto !important;
  padding: 0 0 5rem !important;
}

.home-updates {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 5rem;
  align-items: center;
  padding: 4.5rem max(24px, calc((100vw - 1220px) / 2));
  border-top: 1px solid var(--home-line);
  background: var(--home-surface);
}

.home-updates h2 {
  max-width: 560px;
  font-size: 2.2rem;
}

.home-updates > div > p {
  margin: 0.85rem 0 0;
  color: var(--home-muted);
  font-size: 0.9rem;
  line-height: 1.6;
}

.home-updates form {
  min-width: 0;
  padding-right: 4.5rem;
}

.home-update-fields {
  display: grid;
  grid-template-columns: minmax(130px, 0.7fr) minmax(220px, 1.3fr) auto;
  gap: 0.65rem;
}

.home-update-fields input {
  width: 100%;
  min-height: 46px;
  padding: 0.75rem 0.9rem;
  border: 1px solid var(--home-line);
  border-radius: 4px;
  background: #fff;
  color: var(--home-ink);
  box-shadow: none;
  font: inherit;
  font-size: 0.88rem;
}

.home-updates .subscribe-consent {
  margin-top: 0.8rem;
  color: var(--home-muted);
  font-size: 0.76rem;
}

.home-updates .form-message {
  margin: 0.7rem 0 0;
  font-size: 0.8rem;
}

@media (max-width: 1050px) {
  .home-hero {
    min-height: 580px;
  }

  .home-hero h1 {
    font-size: 4rem;
  }

  .home-trustbar {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-trustbar article:nth-child(2) {
    border-right: 0;
  }

  .home-trustbar article:nth-child(-n + 2) {
    border-bottom: 1px solid var(--home-line);
  }

  .home-featured .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-proof {
    grid-template-columns: minmax(0, 1fr) minmax(360px, 0.9fr);
  }

  .home-education {
    gap: 3rem;
  }

  .home-quality {
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr);
  }

  .home-quality .btn {
    justify-self: start;
  }

  .home-updates {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

@media (max-width: 760px) {
  .home-hero {
    min-height: 520px;
    align-items: end;
  }

  .home-hero-image {
    object-position: 67% center;
  }

  .home-hero-overlay {
    background: rgba(7, 7, 7, 0.7);
  }

  .home-hero-content {
    width: min(100% - 32px, 620px);
    padding: 3.3rem 0 2.5rem;
  }

  .home-hero h1 {
    max-width: 10ch;
    font-size: 3rem;
    line-height: 1.02;
  }

  .home-hero-content > p:not(.home-hero-notice) {
    max-width: 34rem;
    font-size: 1rem;
    line-height: 1.55;
  }

  .home-actions {
    gap: 0.55rem;
    margin-top: 1.35rem;
  }

  .home-actions .btn {
    flex: 1 1 160px;
  }

  .home-hero-notice {
    margin-top: 1.15rem;
    font-size: 0.7rem;
  }

  .home-section {
    width: min(100% - 32px, 620px);
    padding: 4rem 0;
  }

  .home-section-heading {
    display: grid;
    gap: 1rem;
    margin-bottom: 1.4rem;
  }

  .home-section-heading h2,
  .home-proof h2,
  .home-education h2 {
    font-size: 2.1rem;
  }

  .home-section-heading > p {
    font-size: 0.9rem;
  }

  .home-catalog-grid {
    display: grid;
    grid-template-columns: 1fr;
  }

  .home-catalog-tile {
    grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
    grid-column: auto;
    min-height: 220px;
  }

  .home-catalog-media img {
    min-height: 220px;
  }

  .home-catalog-copy {
    padding: 1.2rem;
  }

  .home-catalog-copy strong {
    font-size: 1.15rem;
  }

  .home-catalog-copy > span {
    font-size: 0.8rem;
  }

  .home-featured {
    width: calc(100% - 24px);
  }

  .home-featured .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
  }

  .home-featured .product-body {
    min-height: 220px;
    padding: 0.85rem;
  }

  .home-featured .product-body h3 {
    font-size: 0.92rem;
  }

  .home-featured .product-body > p {
    font-size: 0.76rem;
    -webkit-line-clamp: 2;
  }

  .home-featured .product-meta {
    align-items: stretch;
    flex-direction: column;
  }

  .home-featured .card-order {
    width: 100%;
  }

  .home-proof {
    display: block;
    min-height: 0;
  }

  .home-proof-media {
    min-height: 360px;
    border-right: 0;
    border-bottom: 1px solid var(--home-line);
  }

  .home-proof-copy {
    max-width: 620px;
    margin: 0 auto;
    padding: 3.5rem 1rem 4rem;
  }

  .home-education {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.4rem;
  }

  .home-education-lead {
    position: static;
  }

  .home-resource-list a {
    grid-template-columns: 1fr 24px;
    gap: 0.45rem 1rem;
    min-height: 106px;
  }

  .home-resource-list span {
    grid-column: 1 / -1;
  }

  .home-quality {
    grid-template-columns: 1fr;
    gap: 1.3rem;
    padding: 3.5rem 1rem;
  }

  .home-quality h2,
  .home-updates h2 {
    font-size: 1.9rem;
  }

  .home-ordering ol {
    grid-template-columns: 1fr;
  }

  .home-ordering li {
    min-height: 0;
    border-right: 0;
    border-bottom: 1px solid var(--home-line);
  }

  .home-ordering li:last-child {
    border-bottom: 0;
  }

  body.home .recently-viewed-section {
    width: calc(100% - 32px) !important;
    padding-bottom: 4rem !important;
  }

  .home-updates {
    gap: 1.5rem;
    padding: 3.5rem 1rem;
  }

  .home-updates form {
    padding-right: 0;
  }

  .home-updates .subscribe-consent {
    padding-right: 3.4rem;
  }

  body.home .pc-chatbot {
    right: max(0.45rem, env(safe-area-inset-right)) !important;
    bottom: max(0.45rem, env(safe-area-inset-bottom)) !important;
  }

  body.home .pc-chatbot-button {
    width: 3rem !important;
    height: 3rem !important;
  }

  .home-update-fields {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 460px) {
  .home-hero {
    min-height: 500px;
  }

  .home-hero h1 {
    font-size: 2.55rem;
  }

  .home-trustbar article {
    justify-content: flex-start;
    min-height: 82px;
    padding: 0.85rem;
  }

  .home-trustbar article > span {
    flex-basis: 28px;
    width: 28px;
    height: 28px;
  }

  .home-trustbar svg {
    width: 20px;
    height: 20px;
  }

  .home-trustbar strong {
    font-size: 0.78rem;
  }

  .home-trustbar small {
    font-size: 0.68rem;
  }

  .home-catalog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.65rem;
  }

  .home-catalog-tile {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .home-catalog-media {
    height: 150px;
    border-right: 0;
    border-bottom: 1px solid var(--home-line);
  }

  .home-catalog-media img {
    min-height: 150px;
  }

  .home-catalog-copy {
    min-height: 164px;
    padding: 0.85rem;
  }

  .home-catalog-copy small {
    margin-bottom: 0.4rem;
    font-size: 0.64rem;
  }

  .home-catalog-copy strong {
    font-size: 0.98rem;
  }

  .home-catalog-copy > span {
    display: none;
  }

  .home-catalog-copy em {
    padding-top: 0.8rem;
    font-size: 0.7rem;
  }

  .home-featured .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .home-featured .product-body {
    min-height: 205px;
  }

  .home-proof-media {
    min-height: 290px;
  }
}

/* Shared mobile polish discovered during the storefront audit. */

.add-save-card {
  position: relative;
}

.add-save-card > input[type="checkbox"] {
  inset: 0 auto auto 0;
  width: 1px !important;
  min-width: 1px !important;
  height: 1px !important;
  margin: 0 !important;
}

@media (max-width: 720px) {
  .pc-chatbot-button {
    width: 3rem !important;
    height: 3rem !important;
  }
}

/* Full catalog alignment with the premium home direction. */

body.catalog-page {
  background: #f4f4f0;
  color: #171717;
}

body.catalog-page *,
body.catalog-page *::before,
body.catalog-page *::after {
  letter-spacing: 0 !important;
}

body.catalog-page .products-hero {
  display: flex;
  flex-direction: column;
  min-height: 360px;
  width: min(1220px, calc(100% - 48px)) !important;
  max-width: none !important;
  margin: 3rem auto 0 !important;
  padding: 4rem !important;
  align-items: flex-start;
  justify-content: flex-end;
  border: 0 !important;
  border-radius: 8px !important;
  background: #151515 !important;
  background-image: none !important;
  box-shadow: none !important;
  color: #fff;
  text-align: left !important;
}

body.catalog-page .products-hero::before,
body.catalog-page .products-hero::after {
  display: none !important;
}

body.catalog-page .products-hero .eyebrow {
  position: static !important;
  align-self: flex-start;
  color: #ff7c8e;
}

body.catalog-page .products-hero h1 {
  max-width: 820px;
  margin: 0.7rem 0 0;
  color: #fff;
  font-size: 3.8rem !important;
  font-weight: 820;
  line-height: 1.02 !important;
  text-align: left !important;
}

body.catalog-page .products-hero p {
  max-width: 700px;
  margin: 1.1rem 0 0 !important;
  color: rgba(255, 255, 255, 0.72);
  font-size: 1rem;
  line-height: 1.65;
  text-align: left !important;
}

body.catalog-page .product-control-panel {
  width: min(1220px, calc(100% - 48px)) !important;
  max-width: none !important;
  margin: 1rem auto 0 !important;
  padding: 1.5rem !important;
  border: 1px solid #d7d7d2 !important;
  border-radius: 8px !important;
  background: #fff !important;
  box-shadow: none !important;
}

body.catalog-page .product-control-panel::before,
body.catalog-page .product-control-panel::after {
  display: none !important;
}

body.catalog-page .panel-head {
  gap: 2rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid #d7d7d2;
}

body.catalog-page .panel-head h2 {
  color: #171717;
  font-size: 1.6rem;
  line-height: 1.2;
}

body.catalog-page .panel-head p {
  color: #606060;
}

body.catalog-page .inline-search input {
  min-height: 44px;
  border: 1px solid #c9c9c4;
  border-radius: 4px;
  background: #fff;
  box-shadow: none;
}

body.catalog-page .sort-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

body.catalog-page .sort-btn {
  min-height: 40px;
  padding: 0.65rem 0.85rem;
  border: 1px solid #c9c9c4 !important;
  border-radius: 4px !important;
  background: #fff !important;
  color: #303030 !important;
  box-shadow: none !important;
  font-size: 0.78rem;
  transition: border-color 180ms ease, background-color 180ms ease, color 180ms ease;
}

body.catalog-page .sort-btn:hover {
  border-color: #171717 !important;
}

body.catalog-page .sort-btn.is-active {
  border-color: var(--nova-accent) !important;
  background: var(--nova-accent) !important;
  color: #fff !important;
}

body.catalog-page .catalog-results {
  width: min(1220px, calc(100% - 48px)) !important;
  max-width: none !important;
  margin: 0 auto !important;
  padding: 3rem 0 6rem !important;
}

body.catalog-page [data-product-grid] {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 1rem !important;
}

body.catalog-page [data-product-grid] .product-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid #d7d7d2 !important;
  border-radius: 8px !important;
  background: #fff !important;
  box-shadow: none !important;
  transform: none !important;
  transition: border-color 180ms ease, transform 180ms ease;
}

body.catalog-page [data-product-grid] .product-card::before,
body.catalog-page [data-product-grid] .product-card::after {
  display: none !important;
}

body.catalog-page [data-product-grid] .product-card:hover {
  transform: translateY(-2px) !important;
  border-color: rgba(17, 17, 17, 0.42) !important;
}

body.catalog-page [data-product-grid] .product-media {
  display: block;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-bottom: 1px solid #d7d7d2;
  background: #eeeeea;
}

body.catalog-page [data-product-grid] .product-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

body.catalog-page [data-product-grid] .product-body {
  display: flex;
  min-height: 235px;
  padding: 1.1rem;
  flex-direction: column;
}

body.catalog-page [data-product-grid] .stock-note {
  align-self: flex-start;
  width: auto;
  min-height: 0;
  margin: 0 0 0.65rem;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--nova-accent) !important;
  font-size: 0.68rem;
}

body.catalog-page [data-product-grid] .product-body h3 {
  font-size: 1.03rem;
  line-height: 1.28;
}

body.catalog-page [data-product-grid] .product-body > p {
  display: -webkit-box;
  margin: 0.65rem 0 1rem;
  overflow: hidden;
  color: #606060;
  font-size: 0.82rem;
  line-height: 1.5;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

body.catalog-page [data-product-grid] .product-meta {
  margin-top: auto;
}

body.catalog-page [data-product-grid] .card-order {
  min-height: 38px;
  border: 1px solid var(--nova-accent) !important;
  border-radius: 4px !important;
  background: var(--nova-accent) !important;
  color: #fff !important;
  box-shadow: none !important;
}

@media (max-width: 980px) {
  body.catalog-page [data-product-grid] {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 720px) {
  body.catalog-page .products-hero,
  body.catalog-page .product-control-panel,
  body.catalog-page .catalog-results {
    width: calc(100% - 20px) !important;
    max-width: calc(100% - 20px) !important;
  }

  body.catalog-page .products-hero {
    min-height: 300px;
    margin-top: 1.25rem !important;
    padding: 2rem 1.25rem !important;
    align-items: flex-start;
    justify-content: center;
  }

  body.catalog-page .products-hero h1 {
    max-width: 11ch;
    font-size: 2.65rem !important;
  }

  body.catalog-page .products-hero p {
    font-size: 0.9rem;
  }

  body.catalog-page .product-control-panel {
    padding: 1.15rem !important;
  }

  body.catalog-page .panel-head {
    display: grid;
    gap: 1rem;
  }

  body.catalog-page .sort-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body.catalog-page .sort-btn {
    width: 100%;
  }

  body.catalog-page .catalog-results {
    padding: 2rem 0 4rem !important;
  }

  body.catalog-page [data-product-grid] {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 0.7rem !important;
  }

  body.catalog-page [data-product-grid] .product-body {
    min-height: 215px;
    padding: 0.85rem;
  }

  body.catalog-page [data-product-grid] .product-body h3 {
    font-size: 0.92rem;
  }

  body.catalog-page [data-product-grid] .product-body > p {
    font-size: 0.76rem;
    -webkit-line-clamp: 2;
  }

  body.catalog-page [data-product-grid] .product-meta {
    align-items: stretch;
    flex-direction: column;
  }

  body.catalog-page [data-product-grid] .card-order {
    width: 100%;
  }
}

/* =========================================================
   Redraw 6: scroll ownership, catalog depth, kit savings,
   How to Pay density, and footer completion.
   ========================================================= */

body.cart-open,
body.search-open {
  overscroll-behavior: none;
}

.header-search-popover,
.search-panel,
.cart-drawer {
  overscroll-behavior: contain !important;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-y;
}

.header-search-popover {
  max-height: min(640px, calc(100dvh - 92px)) !important;
  overflow-x: hidden !important;
  overflow-y: auto !important;
  scrollbar-gutter: stable;
}

.header-search-popover .search-results {
  max-height: none !important;
  overflow: visible !important;
}

.search-panel {
  max-height: calc(100dvh - 96px) !important;
  overflow-x: hidden !important;
  overflow-y: auto !important;
}

.cart-drawer {
  max-height: 100dvh !important;
  overflow-x: hidden !important;
  overflow-y: auto !important;
  scrollbar-gutter: stable;
}

.cart-drawer:focus {
  outline: 0;
}

.cart-empty {
  min-height: 118px;
  display: grid;
  place-items: center;
  padding: 1.6rem 1rem !important;
  border: 1px solid var(--ux-line);
  border-radius: 8px;
  background: oklch(98% 0.004 86);
}

/* Catalog depth */
.catalog-page {
  background: oklch(96.5% 0.006 92) !important;
}

body.catalog-page .products-hero,
.catalog-page .products-hero {
  position: relative;
  overflow: hidden;
  min-height: 380px !important;
  background-color: oklch(14% 0.02 265) !important;
  background-image: url("/assets/editorial/research-documentation.webp") !important;
  background-position: center right !important;
  background-size: cover !important;
  background-repeat: no-repeat !important;
}

body.catalog-page .products-hero::before,
.catalog-page .products-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  display: block !important;
  background: oklch(14% 0.02 265 / 0.84) !important;
  pointer-events: none;
}

.catalog-page .products-hero > * {
  position: relative;
  z-index: 1;
}

.catalog-service-strip {
  display: grid;
  width: min(1240px, calc(100% - 48px));
  margin: 1rem auto 0;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  overflow: hidden;
  border: 1px solid var(--ux-line);
  border-radius: 8px;
  background: oklch(99% 0.003 92);
}

.catalog-service-strip span {
  display: grid;
  min-width: 0;
  padding: 1rem 1.1rem;
  gap: 0.25rem;
}

.catalog-service-strip span + span {
  border-left: 1px solid var(--ux-line);
}

.catalog-service-strip strong {
  color: var(--ux-ink);
  font-size: 0.85rem;
  line-height: 1.3;
}

.catalog-service-strip small {
  color: var(--ux-muted);
  font-size: 0.7rem;
  line-height: 1.35;
}

.catalog-page .product-control-panel {
  margin-top: 1rem !important;
}

.catalog-page .catalog-results {
  margin-top: 2.75rem !important;
}

.catalog-page .product-card {
  background: oklch(99.1% 0.003 92) !important;
}

.catalog-page .product-card .product-media {
  margin: 0 !important;
  border: 0 !important;
  border-bottom: 1px solid var(--ux-line) !important;
  border-radius: 0 !important;
  background: oklch(93.5% 0.006 92) !important;
}

.catalog-page .product-card .product-body {
  padding: 1.05rem 1.05rem 1.15rem !important;
}

.product-price-range {
  display: grid !important;
  gap: 0.16rem;
}

.product-card-kit-price {
  color: var(--ux-muted) !important;
  font-size: 0.68rem !important;
  line-height: 1.25 !important;
}

.product-card-kit-saving {
  display: inline-flex;
  width: fit-content;
  margin-top: 0.2rem;
  padding: 0.18rem 0.42rem;
  border: 1px solid oklch(57% 0.17 24 / 0.26);
  border-radius: 999px;
  background: oklch(96% 0.028 24);
  color: var(--ux-red-dark) !important;
  font-size: 0.62rem !important;
  font-weight: 850;
  line-height: 1.15 !important;
}

/* Product kit savings */
.variant-options [data-variant-option] {
  align-items: center !important;
}

.variant-options .variant-price-stack {
  display: grid !important;
  justify-items: end;
  gap: 0.12rem;
  text-align: right;
}

.variant-price-main {
  color: var(--ux-ink);
  font-weight: 850;
}

.variant-price-stack small {
  display: inline-flex;
  width: fit-content;
  padding: 0.16rem 0.4rem;
  border-radius: 999px;
  background: oklch(96% 0.03 24);
  color: var(--ux-red-dark);
  font-size: 0.64rem;
  font-weight: 850;
  line-height: 1.1;
  white-space: nowrap;
}

.kit-option-note {
  margin: 0.55rem 0 0 !important;
  color: var(--ux-muted) !important;
  font-size: 0.78rem !important;
  line-height: 1.45 !important;
}

/* How to Pay density */
body.guide-page .how-pay-page .payment-safety-section .section-heading {
  max-width: 880px !important;
}

body.guide-page .how-pay-page .payment-safety-section .section-heading p {
  max-width: 66ch !important;
  margin-top: 0.75rem !important;
  color: var(--ux-muted) !important;
  font-size: 0.9rem !important;
  line-height: 1.65 !important;
}

body.guide-page .how-pay-page .payment-safety-grid {
  width: min(920px, 100%);
  margin: 1.25rem auto 0 !important;
  box-shadow: 0 18px 42px oklch(22% 0.02 265 / 0.05);
}

body.guide-page .how-pay-page .pay-security-note {
  display: grid !important;
  min-height: 0 !important;
  padding: 1rem 1.1rem !important;
  grid-template-columns: 92px minmax(0, 1fr) !important;
  align-items: start !important;
  gap: 1.25rem !important;
}

body.guide-page .how-pay-page .pay-security-note > span {
  display: inline-flex;
  width: fit-content;
  min-width: 74px;
  justify-content: center;
  padding: 0.36rem 0.5rem;
  border: 1px solid oklch(57% 0.17 24 / 0.24);
  border-radius: 999px;
  background: oklch(96% 0.03 24);
  color: var(--ux-red-dark) !important;
  font-size: 0.64rem !important;
  line-height: 1.1;
}

body.guide-page .how-pay-page .pay-security-note strong {
  font-size: 0.9rem !important;
}

body.guide-page .how-pay-page .pay-security-note p {
  max-width: 66ch;
  font-size: 0.8rem !important;
}

.payment-safety-callout {
  display: flex;
  width: min(920px, 100%);
  margin: 0 auto 0 !important;
  padding: 1rem 1.1rem;
  align-items: center;
  gap: 1rem;
  border: 1px solid var(--ux-line);
  border-top: 0;
  border-radius: 0 0 8px 8px;
  background: oklch(15% 0.02 265);
  color: oklch(95% 0.006 92);
}

.payment-safety-callout strong {
  flex: 0 0 auto;
  color: oklch(98% 0.006 92);
  font-size: 0.86rem;
}

.payment-safety-callout span {
  color: oklch(78% 0.014 265);
  font-size: 0.78rem;
  line-height: 1.55;
}

.payment-faq-layout > aside {
  background: oklch(95.3% 0.008 92) !important;
}

.payment-faq-layout .faq-list details {
  border-radius: 0 !important;
  background: transparent !important;
}

/* Footer completion */
.site-footer {
  padding: 0 !important;
  border-top: 1px solid oklch(30% 0.018 265) !important;
  background: oklch(13.5% 0.018 265) !important;
}

.footer-inner {
  display: grid !important;
  width: min(1240px, calc(100% - 48px));
  margin: 0 auto;
  padding: 2.5rem 0 1.35rem;
  grid-template-columns: minmax(260px, 1.25fr) repeat(4, minmax(140px, 0.8fr));
  gap: 2rem;
}

.footer-service-strip {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  overflow: hidden;
  border: 1px solid oklch(34% 0.018 265);
  border-radius: 8px;
  background: oklch(17% 0.02 265);
}

.footer-service-strip span {
  display: grid;
  min-width: 0;
  padding: 1rem;
  gap: 0.25rem;
}

.footer-service-strip span + span {
  border-left: 1px solid oklch(34% 0.018 265);
}

.footer-service-strip strong {
  color: oklch(98% 0.006 92) !important;
  font-size: 0.86rem;
  line-height: 1.3;
}

.footer-service-strip small {
  color: oklch(75% 0.014 265);
  font-size: 0.7rem;
  line-height: 1.35;
}

.site-footer .footer-brand p {
  max-width: 34ch;
}

.site-footer .footer-brand strong {
  display: block;
  margin-top: 0.8rem;
}

.site-footer .footer-notice {
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
}

.footer-bottom {
  display: flex !important;
  grid-column: 1 / -1;
  min-width: 0;
  margin-top: 0.5rem !important;
  padding-top: 1rem !important;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

@media (max-width: 1050px) {
  .footer-inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-brand,
  .footer-notice {
    grid-column: span 1;
  }

  .footer-service-strip,
  .catalog-service-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .catalog-service-strip span:nth-child(3) {
    border-left: 0;
    border-top: 1px solid var(--ux-line);
  }

  .catalog-service-strip span:nth-child(4) {
    border-top: 1px solid var(--ux-line);
  }

  .footer-service-strip span:nth-child(3) {
    border-left: 0;
    border-top: 1px solid oklch(34% 0.018 265);
  }

  .footer-service-strip span:nth-child(4) {
    border-top: 1px solid oklch(34% 0.018 265);
  }
}

@media (max-width: 720px) {
  .header-search-popover {
    max-height: calc(100dvh - 76px) !important;
  }

  .catalog-page .products-hero {
    min-height: 330px !important;
    background: url("/assets/editorial/research-documentation.webp") center / cover no-repeat !important;
  }

  .catalog-service-strip,
  .footer-service-strip {
    grid-template-columns: 1fr;
  }

  .catalog-service-strip span + span,
  .footer-service-strip span + span,
  .footer-service-strip span:nth-child(3),
  .catalog-service-strip span:nth-child(3),
  .footer-service-strip span:nth-child(4),
  .catalog-service-strip span:nth-child(4) {
    border-left: 0 !important;
    border-top: 1px solid var(--ux-line);
  }

  .footer-service-strip span + span,
  .footer-service-strip span:nth-child(3),
  .footer-service-strip span:nth-child(4) {
    border-top-color: oklch(34% 0.018 265) !important;
  }

  .variant-options .variant-price-stack {
    justify-items: start;
    text-align: left;
  }

  body.guide-page .how-pay-page .pay-security-note {
    grid-template-columns: 1fr !important;
  }

  .payment-safety-callout {
    display: grid;
    gap: 0.35rem;
  }

  .footer-inner {
    width: calc(100% - 32px);
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding-top: 2rem;
  }

  .footer-bottom {
    display: grid !important;
    justify-items: start;
  }
}

/* =========================================================
   SITEWIDE EDITORIAL SYSTEM
   Carries the home page's credibility across information,
   support, account, affiliate, and transactional surfaces.
   ========================================================= */

:root {
  --site-ink: oklch(17% 0.018 264);
  --site-ink-soft: oklch(28% 0.014 264);
  --site-paper: oklch(97.5% 0.007 92);
  --site-surface: oklch(99.2% 0.003 92);
  --site-surface-muted: oklch(94.5% 0.008 92);
  --site-line: oklch(84% 0.012 92);
  --site-line-dark: oklch(35% 0.018 264);
  --site-muted: oklch(48% 0.016 264);
  --site-red: oklch(48% 0.19 24);
  --site-light-text: oklch(97% 0.006 92);
  --site-light-muted: oklch(79% 0.012 92);
  --ease-out-quint: cubic-bezier(0.22, 1, 0.36, 1);
}

.promo-bar {
  overflow: hidden;
}

.promo-bar > div {
  display: flex;
  width: max-content;
  min-width: max-content;
  align-items: center;
  animation: site-facts-marquee 38s linear infinite;
  will-change: transform;
}

.promo-bar > div > span {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
}

.promo-bar > div > span::after {
  content: "";
  width: 4px;
  height: 4px;
  margin-inline: 1.35rem;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.45;
}

@keyframes site-facts-marquee {
  to {
    transform: translateX(-50%);
  }
}

:where(
  body.story-page,
  body.policy-page,
  body.support-page,
  body.quality-page,
  body.guide-page,
  body.blog-hub-shell,
  body.blog-post-shell,
  body.utility-page
) {
  background: var(--site-paper);
  color: var(--site-ink);
}

:where(
  body.story-page,
  body.policy-page,
  body.support-page,
  body.quality-page,
  body.guide-page,
  body.blog-hub-shell,
  body.blog-post-shell,
  body.utility-page
) .content-page {
  width: min(1220px, calc(100% - 48px)) !important;
  max-width: none !important;
  margin: 2rem auto 6rem !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  color: var(--site-ink);
}

.page-intro {
  display: grid;
  min-height: 440px;
  margin-bottom: 4.5rem;
  overflow: hidden;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr);
  border: 1px solid var(--site-line-dark);
  border-radius: 8px;
  background: var(--site-ink);
  color: var(--site-light-text);
}

.page-intro-compact {
  min-height: 390px;
}

.page-intro-copy {
  display: flex;
  min-width: 0;
  padding: 3.75rem;
  flex-direction: column;
  justify-content: center;
}

.page-intro .eyebrow {
  margin: 0 0 1.35rem !important;
  color: oklch(72% 0.14 24) !important;
  font-size: 0.72rem !important;
  letter-spacing: 0.12em !important;
}

.page-intro h1 {
  max-width: 14ch !important;
  margin: 0 !important;
  color: var(--site-light-text) !important;
  font-size: 3.65rem !important;
  font-weight: 790 !important;
  line-height: 0.98 !important;
  letter-spacing: 0 !important;
  text-wrap: balance;
}

.page-intro-copy > p {
  max-width: 60ch;
  margin: 1.35rem 0 0 !important;
  color: var(--site-light-muted) !important;
  font-size: 1.02rem !important;
  line-height: 1.7 !important;
}

.page-intro-facts {
  display: grid;
  margin-top: 2.4rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--site-line-dark);
}

.page-intro-facts span {
  display: grid;
  min-width: 0;
  padding: 1rem 1rem 0 0;
  gap: 0.35rem;
}

.page-intro-facts span + span {
  padding-left: 1rem;
  border-left: 1px solid var(--site-line-dark);
}

.page-intro-facts small {
  color: var(--site-light-muted);
  font-size: 0.64rem;
  font-weight: 750;
  line-height: 1.3;
  text-transform: uppercase;
  letter-spacing: 0.09em;
}

.page-intro-facts strong {
  color: var(--site-light-text);
  font-size: 0.82rem;
  line-height: 1.35;
}

.page-intro-media {
  position: relative;
  min-width: 0;
  min-height: 100%;
  margin: 0;
  overflow: hidden;
  border-left: 1px solid var(--site-line-dark);
  background: var(--site-ink-soft);
}

.page-intro-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: oklch(8% 0.012 264 / 0.14);
  pointer-events: none;
}

.page-intro-media img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 440px;
  object-fit: cover;
  transform: scale(1.035);
  transition: transform 900ms var(--ease-out-quint);
}

.page-intro-media.is-revealed img {
  transform: scale(1);
}

:where(
  body.story-page,
  body.policy-page,
  body.support-page,
  body.quality-page,
  body.guide-page,
  body.blog-post-shell
) .content-page > :not(.page-intro, .contact-support-grid, .faq-list, .lab-process, .pay-step-grid, .hero-actions) {
  width: min(760px, 100%);
  margin-right: auto;
  margin-left: auto;
}

:where(
  body.story-page,
  body.policy-page,
  body.support-page,
  body.quality-page,
  body.guide-page,
  body.blog-post-shell
) .content-page > h2 {
  margin-top: 3.75rem !important;
  margin-bottom: 1rem !important;
  padding-top: 1.5rem;
  border-top: 1px solid var(--site-line);
  color: var(--site-ink) !important;
  font-size: 1.85rem !important;
  line-height: 1.18 !important;
  letter-spacing: 0 !important;
}

:where(
  body.story-page,
  body.policy-page,
  body.support-page,
  body.quality-page,
  body.guide-page,
  body.blog-post-shell
) .content-page > p,
:where(
  body.story-page,
  body.policy-page,
  body.support-page,
  body.quality-page,
  body.guide-page,
  body.blog-post-shell
) .content-page > ul,
:where(
  body.story-page,
  body.policy-page,
  body.support-page,
  body.quality-page,
  body.guide-page,
  body.blog-post-shell
) .content-page > ol {
  color: var(--site-muted) !important;
  font-size: 1rem !important;
  line-height: 1.78 !important;
}

:where(
  body.story-page,
  body.policy-page,
  body.support-page,
  body.quality-page,
  body.guide-page,
  body.blog-post-shell
) .content-page > p + p {
  margin-top: 1rem;
}

.content-page .closing-line {
  margin-top: 4rem !important;
  padding-top: 1.5rem;
  border-top: 1px solid var(--site-line);
  color: var(--site-ink) !important;
  font-size: 0.82rem !important;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.content-page .check-list {
  display: grid;
  padding: 0;
  gap: 0;
  list-style: none;
}

.content-page .check-list li {
  position: relative;
  padding: 0.8rem 0 0.8rem 1.65rem;
  border-bottom: 1px solid var(--site-line);
}

.content-page .check-list li::before {
  content: "";
  position: absolute;
  top: 1.3rem;
  left: 0.15rem;
  width: 7px;
  height: 7px;
  background: var(--site-red);
}

.contact-copy-card {
  width: min(760px, 100%) !important;
  margin: 3rem auto 0 !important;
  padding: 1.5rem 0 0 !important;
  border: 0 !important;
  border-top: 1px solid var(--site-line) !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.contact-copy-card.accent,
.contact-copy-card.important {
  padding: 1.5rem !important;
  border: 1px solid var(--site-line) !important;
  border-left: 3px solid var(--site-red) !important;
  border-radius: 4px !important;
  background: var(--site-surface) !important;
}

.contact-support-grid {
  display: grid;
  width: min(980px, 100%);
  margin: 3.5rem auto 0;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.contact-support-grid > * {
  min-width: 0;
  border-radius: 8px !important;
  box-shadow: none !important;
}

.faq-list {
  width: min(860px, 100%);
  margin: 1.25rem auto 3rem;
  border-top: 1px solid var(--site-line);
}

.faq-list > h2 {
  margin: 3rem 0 1rem;
  color: var(--site-ink);
  font-size: 1.7rem;
  letter-spacing: 0;
}

.faq-list details {
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-bottom: 1px solid var(--site-line) !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.faq-list summary {
  min-height: 62px;
  padding: 1rem 2.5rem 1rem 0 !important;
  color: var(--site-ink) !important;
  font-size: 0.98rem !important;
  font-weight: 760;
  line-height: 1.35;
}

.faq-list details p {
  max-width: 70ch;
  margin: 0;
  padding: 0 2rem 1.35rem 0;
  color: var(--site-muted) !important;
  font-size: 0.94rem !important;
  line-height: 1.7 !important;
}

.lab-process {
  display: grid;
  width: min(980px, 100%);
  margin: 2rem auto 4rem;
  padding: 0;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--site-line);
  border-bottom: 1px solid var(--site-line);
  list-style: none;
}

.lab-process li {
  display: grid;
  min-width: 0;
  margin: 0 !important;
  padding: 1.5rem !important;
  align-content: start;
  gap: 0.75rem;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.lab-process li + li {
  border-left: 1px solid var(--site-line) !important;
}

.lab-process strong {
  color: var(--site-ink) !important;
  font-size: 0.92rem;
}

.lab-process span {
  color: var(--site-muted) !important;
  font-size: 0.84rem;
  line-height: 1.6;
}

.pay-step-grid {
  display: grid;
  width: min(980px, 100%);
  margin: 2rem auto 4rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid var(--site-line);
  background: var(--site-line);
}

.pay-step-grid article {
  min-width: 0;
  margin: 0 !important;
  padding: 1.5rem !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: var(--site-surface) !important;
  box-shadow: none !important;
}

.pay-step-grid article::after {
  display: none !important;
}

.pay-step-grid article > span {
  display: inline-grid;
  width: 34px;
  height: 34px;
  margin-bottom: 1.2rem;
  place-items: center;
  border-radius: 50%;
  background: var(--site-red);
  color: var(--site-light-text);
  font-size: 0.75rem;
  font-weight: 800;
}

.pay-step-grid h2 {
  color: var(--site-ink) !important;
  font-size: 1rem !important;
  letter-spacing: 0 !important;
}

.pay-step-grid p {
  color: var(--site-muted) !important;
  font-size: 0.86rem !important;
  line-height: 1.62 !important;
}

/* Editorial blog hub */
.blog-hub-shell .blog-hub {
  width: min(1220px, calc(100% - 48px));
  margin: 2rem auto 6rem;
}

.blog-hub-shell .page-intro {
  margin-bottom: 2rem;
}

.blog-hub-grid {
  display: grid !important;
  padding: 0 !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 1rem !important;
}

.blog-card {
  display: flex !important;
  min-width: 0;
  min-height: 100%;
  padding: 0 !important;
  overflow: hidden;
  flex-direction: column;
  gap: 0 !important;
  border: 1px solid var(--site-line) !important;
  border-radius: 8px !important;
  background: var(--site-surface) !important;
  color: var(--site-ink) !important;
  box-shadow: none !important;
  transition: transform 240ms var(--ease-out-quint), border-color 240ms ease !important;
}

.blog-card:hover {
  border-color: var(--site-ink-soft) !important;
  box-shadow: none !important;
  transform: translateY(-3px) !important;
}

.blog-card-media {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-bottom: 1px solid var(--site-line);
  background: var(--site-surface-muted);
}

.blog-card-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 520ms var(--ease-out-quint);
}

.blog-card:hover .blog-card-media img {
  transform: scale(1.025);
}

.blog-card > :not(.blog-card-media) {
  margin-right: 1.35rem !important;
  margin-left: 1.35rem !important;
}

.blog-card .blog-card-meta {
  margin-top: 1.3rem !important;
}

.blog-card h2 {
  margin-top: 1rem !important;
  color: var(--site-ink) !important;
  font-size: 1.18rem !important;
  line-height: 1.3 !important;
  letter-spacing: 0 !important;
}

.blog-card > p {
  margin-top: 0.75rem !important;
  color: var(--site-muted) !important;
  font-size: 0.88rem !important;
  line-height: 1.65 !important;
}

.blog-card-cta {
  margin-top: 1.2rem !important;
  margin-bottom: 1.35rem !important;
  color: var(--site-red) !important;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0 !important;
}

.blog-card:first-child {
  display: grid !important;
  grid-column: span 2;
  grid-template-columns: minmax(0, 1.12fr) minmax(260px, 0.88fr);
}

.blog-card:first-child .blog-card-media {
  grid-row: 1 / span 5;
  aspect-ratio: auto;
  min-height: 360px;
  border-right: 1px solid var(--site-line);
  border-bottom: 0;
}

.blog-card:first-child .blog-card-meta {
  align-self: end;
}

.blog-card:first-child h2 {
  font-size: 1.5rem !important;
}

.blog-post-shell .blog-post-wrap {
  width: min(1220px, calc(100% - 48px));
  margin: 2rem auto 6rem;
}

.blog-post-shell .blog-post,
.blog-post-shell .blog-post-body {
  width: 100%;
  max-width: none;
}

.blog-post-shell .blog-post-body {
  padding: 0;
}

.blog-post-shell .blog-post-body > h2,
.blog-post-shell .blog-post-body > p,
.blog-post-shell .blog-post-body > ul,
.blog-post-shell .blog-post-body > ol,
.blog-post-shell .blog-post-body > .blog-faq-item,
.blog-post-shell .blog-post-body > .blog-toc {
  width: min(760px, 100%);
  margin-right: auto;
  margin-left: auto;
}

.blog-post-shell .blog-post-body > h2 {
  margin-top: 3.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--site-line);
  color: var(--site-ink);
  font-size: 1.85rem;
  letter-spacing: 0;
}

.blog-post-shell .blog-post-body > p,
.blog-post-shell .blog-post-body > li {
  color: var(--site-muted);
  font-size: 1rem;
  line-height: 1.78;
}

.blog-post-shell .blog-toc {
  padding: 1.25rem 1.4rem;
  border: 1px solid var(--site-line);
  border-radius: 4px;
  background: var(--site-surface);
  box-shadow: none;
}

/* Store service proof */
.site-service-strip {
  display: grid;
  width: min(1220px, calc(100% - 48px));
  margin: 1.25rem auto 0;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border: 1px solid var(--site-line);
  border-radius: 4px;
  background: var(--site-surface);
  color: var(--site-ink);
}

.site-service-strip > span {
  display: grid;
  min-width: 0;
  padding: 0.95rem 1.25rem;
  gap: 0.2rem;
}

.site-service-strip > span + span {
  border-left: 1px solid var(--site-line);
}

.site-service-strip strong {
  color: var(--site-ink);
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

.site-service-strip small {
  color: var(--site-muted);
  font-size: 0.76rem;
  line-height: 1.35;
}

.product-page-shell .buy-trust {
  display: grid !important;
  padding: 0 !important;
  overflow: hidden;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 !important;
  border: 1px solid var(--site-line) !important;
  border-radius: 4px !important;
  background: var(--site-surface) !important;
}

.product-page-shell .detail-media img {
  display: block;
  width: 100%;
  height: auto;
}

.product-page-shell .buy-trust span {
  min-width: 0;
  min-height: 62px;
  padding: 0.85rem !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: var(--site-ink-soft) !important;
  font-size: 0.73rem !important;
  line-height: 1.4;
}

.product-page-shell .buy-trust span:nth-child(even) {
  border-left: 1px solid var(--site-line) !important;
}

.product-page-shell .buy-trust span:nth-child(n + 3) {
  border-top: 1px solid var(--site-line) !important;
}

/* Transactional pages stay quieter, but no longer feel unfinished. */
.checkout-page-shell {
  background: var(--site-paper);
}

.checkout-page-shell .payment-checkout {
  width: min(1220px, calc(100% - 48px));
  margin: 2rem auto 6rem;
}

.checkout-page-shell .checkout-copy {
  padding: 2.5rem !important;
  border: 1px solid var(--site-line-dark) !important;
  border-radius: 8px !important;
  background: var(--site-ink) !important;
  color: var(--site-light-text) !important;
  box-shadow: none !important;
}

.checkout-page-shell .checkout-copy h1 {
  max-width: 16ch;
  color: var(--site-light-text) !important;
  font-size: 2.65rem !important;
  letter-spacing: 0 !important;
}

.checkout-page-shell .checkout-copy > p,
.checkout-page-shell .checkout-copy li {
  color: var(--site-light-muted) !important;
}

.checkout-page-shell .checkout-copy .research-notice {
  border-color: var(--site-line-dark) !important;
  background: var(--site-ink-soft) !important;
}

.checkout-page-shell .checkout-main-grid {
  gap: 1rem;
}

.checkout-page-shell .checkout-flow-card,
.checkout-page-shell .order-summary-panel,
.checkout-page-shell .payment-confirm-card {
  border: 1px solid var(--site-line) !important;
  border-radius: 8px !important;
  background: var(--site-surface) !important;
  box-shadow: none !important;
}

.account-shell {
  min-height: 62vh;
  padding-top: 0 !important;
  background: var(--site-paper);
}

.account-shell .auth-card {
  width: min(560px, calc(100% - 32px)) !important;
  margin: 2rem auto 5rem !important;
  padding: 2rem !important;
  border: 1px solid var(--site-line) !important;
  border-radius: 8px !important;
  background: var(--site-surface) !important;
  box-shadow: none !important;
}

.account-shell .auth-card h1 {
  color: var(--site-ink) !important;
  letter-spacing: 0 !important;
}

/* Affiliate page uses a real editorial scene and a restrained layout. */
.affiliate-service-strip {
  margin-bottom: 0;
}

.affiliate-hero-wrapper {
  position: relative;
  margin-top: 1.25rem;
  overflow: hidden;
  border: 0 !important;
  background: var(--site-ink) url("/assets/editorial/research-notes.webp") center 46% / cover no-repeat !important;
}

.affiliate-hero-wrapper::before {
  content: "";
  position: absolute;
  inset: 0;
  background: oklch(8% 0.014 264 / 0.78);
}

.affiliate-page-hero {
  position: relative;
  z-index: 1;
  width: min(820px, calc(100% - 48px));
  padding: 5.5rem 0 !important;
}

.affiliate-page-hero h1 {
  color: var(--site-light-text) !important;
  font-size: 3.5rem !important;
  letter-spacing: 0 !important;
}

.affiliate-page-hero p {
  color: var(--site-light-muted) !important;
}

.affiliate-benefit-card,
.affiliate-step,
.affiliate-commission-panel,
.affiliate-form-panel {
  border-radius: 8px !important;
  box-shadow: none !important;
}

.affiliate-benefit-card,
.affiliate-step {
  transition: transform 220ms var(--ease-out-quint), border-color 220ms ease;
}

.affiliate-benefit-card:hover,
.affiliate-step:hover {
  border-color: var(--site-line-dark) !important;
  transform: translateY(-2px);
}

.btn,
.icon-btn,
.card-order {
  transition: transform 150ms var(--ease-out-quint), border-color 180ms ease, background-color 180ms ease, color 180ms ease !important;
}

.btn:active,
.icon-btn:active,
.card-order:active {
  transform: scale(0.98) !important;
}

.reveal-item {
  transition-duration: 600ms !important;
  transition-timing-function: var(--ease-out-quint) !important;
}

@media (max-width: 980px) {
  .page-intro {
    grid-template-columns: minmax(0, 1fr) minmax(300px, 0.8fr);
  }

  .page-intro-copy {
    padding: 2.5rem;
  }

  .page-intro h1 {
    font-size: 3rem !important;
  }

  .page-intro-facts {
    grid-template-columns: 1fr;
  }

  .page-intro-facts span {
    padding: 0.75rem 0;
  }

  .page-intro-facts span + span {
    padding-left: 0;
    border-top: 1px solid var(--site-line-dark);
    border-left: 0;
  }

  .blog-hub-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .blog-card:first-child {
    display: flex !important;
    grid-column: span 2;
  }

  .blog-card:first-child .blog-card-media {
    min-height: 0;
    aspect-ratio: 16 / 8;
    border-right: 0;
    border-bottom: 1px solid var(--site-line);
  }

  .lab-process {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .lab-process li:nth-child(3) {
    border-left: 0 !important;
  }

  .lab-process li:nth-child(n + 3) {
    border-top: 1px solid var(--site-line) !important;
  }
}

@media (max-width: 720px) {
  .promo-bar > div {
    animation-duration: 29s;
  }

  :where(
    body.story-page,
    body.policy-page,
    body.support-page,
    body.quality-page,
    body.guide-page,
    body.blog-hub-shell,
    body.blog-post-shell,
    body.utility-page
  ) .content-page,
  .blog-hub-shell .blog-hub,
  .blog-post-shell .blog-post-wrap,
  .checkout-page-shell .payment-checkout {
    width: calc(100% - 20px) !important;
    max-width: calc(100% - 20px) !important;
    margin-top: 1.25rem !important;
    margin-bottom: 4rem !important;
    padding: 0 !important;
    border-radius: 0 !important;
  }

  .page-intro {
    min-height: 0;
    margin-bottom: 3rem;
    grid-template-columns: 1fr;
  }

  .page-intro-copy {
    padding: 2rem 1.25rem;
  }

  .page-intro .eyebrow {
    font-size: 0.66rem !important;
  }

  .page-intro h1 {
    max-width: 13ch !important;
    margin: 0 !important;
    font-size: 2.35rem !important;
    line-height: 1 !important;
    letter-spacing: 0 !important;
  }

  .page-intro-copy > p {
    font-size: 0.94rem !important;
  }

  .page-intro-facts {
    margin-top: 1.75rem;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .page-intro-facts span {
    padding: 0.75rem 0.55rem 0 0;
  }

  .page-intro-facts span + span {
    padding-left: 0.55rem;
    border-top: 0;
    border-left: 1px solid var(--site-line-dark);
  }

  .page-intro-facts small {
    font-size: 0.56rem;
  }

  .page-intro-facts strong {
    font-size: 0.7rem;
  }

  .page-intro-media {
    min-height: 210px;
    border-top: 1px solid var(--site-line-dark);
    border-left: 0;
  }

  .page-intro-media img {
    min-height: 210px;
    max-height: 230px;
  }

  .blog-post-shell .page-intro-copy {
    padding: 1.5rem 1.25rem;
  }

  .blog-post-shell .page-intro h1 {
    font-size: 2.15rem !important;
  }

  .blog-post-shell .page-intro-media,
  .blog-post-shell .page-intro-media img {
    min-height: 170px;
    max-height: 180px;
  }

  :where(
    body.story-page,
    body.policy-page,
    body.support-page,
    body.quality-page,
    body.guide-page,
    body.blog-post-shell
  ) .content-page > h2,
  .blog-post-shell .blog-post-body > h2 {
    margin-top: 3rem !important;
    font-size: 1.5rem !important;
  }

  :where(
    body.story-page,
    body.policy-page,
    body.support-page,
    body.quality-page,
    body.guide-page,
    body.blog-post-shell
  ) .content-page > p,
  :where(
    body.story-page,
    body.policy-page,
    body.support-page,
    body.quality-page,
    body.guide-page,
    body.blog-post-shell
  ) .content-page > li,
  .blog-post-shell .blog-post-body > p {
    font-size: 0.98rem !important;
    line-height: 1.72 !important;
  }

  .contact-support-grid,
  .lab-process,
  .pay-step-grid,
  .blog-hub-grid,
  .site-service-strip {
    grid-template-columns: 1fr !important;
  }

  .contact-support-grid {
    gap: 0.75rem;
  }

  .lab-process li + li,
  .lab-process li:nth-child(3) {
    border-top: 1px solid var(--site-line) !important;
    border-left: 0 !important;
  }

  .blog-card:first-child {
    grid-column: auto;
  }

  .blog-card:first-child .blog-card-media,
  .blog-card-media {
    aspect-ratio: 16 / 9;
  }

  .site-service-strip {
    width: calc(100% - 20px);
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }

  .site-service-strip > span {
    padding: 0.7rem 0.6rem;
  }

  .site-service-strip > span + span {
    border-top: 0;
    border-left: 1px solid var(--site-line);
  }

  .site-service-strip strong {
    font-size: 0.62rem;
    line-height: 1.3;
  }

  .site-service-strip small {
    font-size: 0.66rem;
  }

  .site-header:has(.account-nav) {
    display: flex !important;
    height: auto !important;
    min-height: 0 !important;
    padding-bottom: 0 !important;
    flex-wrap: wrap;
  }

  .site-header .account-nav {
    display: flex !important;
    position: static !important;
    inset: auto !important;
    flex: 0 0 calc(100% + 1rem) !important;
    flex-direction: row !important;
    width: calc(100% + 1rem) !important;
    height: auto !important;
    min-height: 42px !important;
    max-height: none !important;
    margin: 0 -0.5rem !important;
    padding: 0.7rem 0.75rem !important;
    overflow-x: auto;
    overflow-y: hidden;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 1.1rem !important;
    border-top: 1px solid var(--site-line-dark);
    border-radius: 0 !important;
    background: var(--site-ink) !important;
    box-shadow: none !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transform: none !important;
  }

  .site-header .account-nav a {
    display: inline-flex !important;
    flex: 0 0 auto;
    width: auto !important;
    min-width: max-content !important;
    padding: 0.25rem 0 !important;
    color: var(--site-light-text) !important;
    font-size: 0.68rem !important;
    line-height: 1.2 !important;
    white-space: nowrap;
  }

  .product-page-shell .buy-trust {
    grid-template-columns: 1fr !important;
  }

  .product-page-shell .buy-trust span:nth-child(even) {
    border-left: 0 !important;
  }

  .product-page-shell .buy-trust span + span {
    border-top: 1px solid var(--site-line) !important;
  }

  .checkout-page-shell .checkout-copy {
    padding: 1.5rem !important;
  }

  .checkout-page-shell .checkout-copy h1 {
    font-size: 2.15rem !important;
  }

  .affiliate-hero-wrapper {
    margin-top: 0.75rem;
  }

  .affiliate-page-hero {
    width: calc(100% - 32px);
    padding: 3.25rem 0 !important;
  }

  .affiliate-page-hero h1 {
    font-size: 2.45rem !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .promo-bar > div {
    animation: none !important;
  }

  .page-intro-media img,
  .blog-card-media img,
  .reveal-item {
    transform: none !important;
    transition: none !important;
  }
}

/* STOREFRONT UX REDRAW V2
   Shared commerce surfaces for catalog, product, support, cart, and checkout. */
:root {
  --ux-paper: oklch(97.5% 0.006 80);
  --ux-surface: oklch(99.5% 0.002 80);
  --ux-soft: oklch(94.5% 0.008 80);
  --ux-ink: oklch(15% 0.015 265);
  --ux-muted: oklch(47% 0.018 265);
  --ux-line: oklch(86% 0.012 265);
  --ux-line-strong: oklch(72% 0.018 265);
  --ux-red: oklch(52% 0.21 25);
  --ux-red-dark: oklch(43% 0.19 25);
  --ux-dark: oklch(10.5% 0.018 265);
  --ux-dark-soft: oklch(16% 0.018 265);
  --ux-focus: oklch(58% 0.2 25 / 0.34);
}

html {
  overflow-x: clip;
}

body {
  overflow-x: clip;
}

.catalog-page,
.product-page-shell,
.checkout-page-shell,
.support-page,
.contact-shell,
.guide-page,
.blog-hub-shell,
.blog-post-shell {
  background: var(--ux-paper);
}

.btn,
.card-order,
.catalog-filter,
.sort-btn,
.variant-options button,
.bundle-option,
.cart-qty button,
.icon-btn {
  border-radius: 6px !important;
}

.btn:focus-visible,
.card-order:focus-visible,
.catalog-filter:focus-visible,
.sort-btn:focus-visible,
.variant-options button:focus-visible,
.bundle-option:focus-visible,
.cart-qty button:focus-visible,
.support-form :is(input, select, textarea):focus-visible,
.header-search input:focus-visible,
.search-panel input:focus-visible {
  outline: 3px solid var(--ux-focus) !important;
  outline-offset: 2px;
}

.product-card-status,
.availability-line {
  display: inline-flex;
  width: fit-content;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: var(--ux-muted) !important;
  font-size: 0.69rem !important;
  font-weight: 800;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: 0 !important;
  box-shadow: none !important;
}

.product-card-status.is-available,
.availability-line:not(.out-of-stock, .coming-soon) {
  color: var(--ux-ink) !important;
}

.availability-line.out-of-stock,
.availability-line.coming-soon,
.product-card.is-out-of-stock .product-card-status,
.product-card.is-coming-soon .product-card-status {
  color: var(--ux-red-dark) !important;
}

/* Catalog */
.catalog-page main {
  padding-bottom: 5rem;
}

.catalog-page .products-hero {
  display: grid !important;
  width: min(1240px, calc(100% - 48px)) !important;
  min-height: 330px;
  margin: 1.5rem auto 0 !important;
  padding: 3.5rem !important;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr) !important;
  align-items: end;
  gap: 3rem;
  border: 1px solid oklch(24% 0.018 265) !important;
  border-radius: 8px !important;
  background: var(--ux-dark) !important;
  box-shadow: none !important;
}

.catalog-page .products-hero > div:first-child {
  max-width: 720px;
}

.catalog-page .products-hero h1 {
  max-width: 13ch;
  margin: 0.65rem 0 1rem !important;
  color: white !important;
  font-size: 3.5rem !important;
  font-weight: 780;
  line-height: 1;
  letter-spacing: 0 !important;
}

.catalog-page .products-hero p {
  max-width: 62ch;
  margin: 0 !important;
  color: oklch(78% 0.014 265) !important;
  font-size: 1rem !important;
  line-height: 1.7;
}

.catalog-hero-facts {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  align-self: end;
  border-top: 1px solid oklch(30% 0.018 265);
}

.catalog-hero-facts span {
  display: grid !important;
  min-width: 0;
  padding: 1rem 0.85rem 0 !important;
  gap: 0.3rem;
  border: 0 !important;
  background: transparent !important;
}

.catalog-hero-facts span + span {
  border-left: 1px solid oklch(30% 0.018 265) !important;
}

.catalog-hero-facts strong {
  color: white !important;
  font-size: 1.15rem !important;
}

.catalog-hero-facts small {
  color: oklch(70% 0.014 265) !important;
  font-size: 0.64rem !important;
  line-height: 1.35;
  text-transform: uppercase;
  letter-spacing: 0;
}

.product-control-panel {
  position: sticky;
  z-index: 20;
  top: 84px;
  width: min(1240px, calc(100% - 48px)) !important;
  margin: 1rem auto 0 !important;
  padding: 0 !important;
  border: 1px solid var(--ux-line) !important;
  border-radius: 8px !important;
  background: oklch(99.5% 0.002 80 / 0.97) !important;
  box-shadow: 0 10px 26px oklch(20% 0.02 265 / 0.06) !important;
  backdrop-filter: blur(12px);
}

body.catalog-page .product-control-panel {
  padding: 0 !important;
}

.catalog-toolbar,
.catalog-filter-row {
  display: flex !important;
  min-width: 0;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.8rem 1rem !important;
}

.catalog-filter-row {
  border-top: 1px solid var(--ux-line);
}

.inline-search {
  position: relative;
  display: flex !important;
  min-width: min(430px, 58vw);
  min-height: 46px;
  align-items: center;
  gap: 0.65rem;
  padding: 0 0.85rem !important;
  border: 1px solid var(--ux-line) !important;
  border-radius: 6px !important;
  background: var(--ux-surface) !important;
}

.inline-search svg {
  width: 18px;
  color: var(--ux-muted);
}

.inline-search input {
  width: 100%;
  min-width: 0;
  height: 44px;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  color: var(--ux-ink) !important;
  font: inherit;
  outline: 0 !important;
}

.inline-search button {
  width: 30px;
  height: 30px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--ux-muted);
  font-size: 1.25rem;
  cursor: pointer;
}

.catalog-view-count {
  display: flex !important;
  align-items: baseline;
  gap: 0.35rem;
  color: var(--ux-muted);
}

.catalog-view-count strong {
  color: var(--ux-ink);
  font-size: 1.05rem;
}

.catalog-filters {
  display: flex !important;
  min-width: 0;
  overflow-x: auto;
  gap: 0.4rem !important;
  scrollbar-width: none;
}

.catalog-filters::-webkit-scrollbar {
  display: none;
}

.catalog-filter,
.sort-btn {
  min-height: 38px;
  padding: 0.5rem 0.8rem !important;
  flex: 0 0 auto;
  border: 1px solid transparent !important;
  background: transparent !important;
  color: var(--ux-muted) !important;
  font-size: 0.76rem !important;
  font-weight: 750;
  letter-spacing: 0 !important;
  text-transform: none !important;
}

.catalog-filter:hover,
.sort-btn:hover,
.catalog-filter.is-active,
.sort-btn.is-active {
  border-color: var(--ux-line) !important;
  background: var(--ux-soft) !important;
  color: var(--ux-ink) !important;
}

.catalog-sort-menu {
  position: relative;
  flex: 0 0 auto;
}

.catalog-page .catalog-sort-menu {
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
}

.catalog-sort-menu summary {
  min-width: 150px;
  min-height: 40px;
  padding: 0.65rem 0.85rem;
  border: 1px solid var(--ux-line);
  border-radius: 6px;
  background: var(--ux-surface);
  color: var(--ux-ink);
  font-size: 0.78rem;
  font-weight: 750;
  cursor: pointer;
  list-style: none;
}

.catalog-sort-menu summary::-webkit-details-marker {
  display: none;
}

.sort-list {
  position: absolute;
  z-index: 6;
  top: calc(100% + 0.45rem);
  right: 0;
  display: grid;
  width: 220px;
  padding: 0.45rem;
  border: 1px solid var(--ux-line);
  border-radius: 8px;
  background: var(--ux-surface);
  box-shadow: 0 16px 40px oklch(15% 0.02 265 / 0.13);
}

.sort-list .sort-btn {
  width: 100%;
  justify-content: flex-start;
  text-align: left;
}

.catalog-results {
  width: min(1240px, calc(100% - 48px)) !important;
  margin: 3.5rem auto 0 !important;
  padding: 0 !important;
}

.catalog-results-heading {
  display: flex !important;
  margin-bottom: 1.35rem;
  align-items: end;
  justify-content: space-between;
  gap: 2rem;
}

.catalog-results-heading h2 {
  margin: 0.35rem 0 0 !important;
  color: var(--ux-ink) !important;
  font-size: 2rem !important;
  letter-spacing: 0 !important;
}

.catalog-results-heading p {
  max-width: 420px;
  margin: 0 !important;
  color: var(--ux-muted) !important;
  text-align: right;
}

.catalog-page .product-grid,
.related-products .product-grid,
.recently-viewed-section .product-grid {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 1rem !important;
}

.product-card {
  display: flex !important;
  min-width: 0;
  min-height: 100%;
  overflow: hidden;
  flex-direction: column;
  border: 1px solid var(--ux-line) !important;
  border-radius: 8px !important;
  background: var(--ux-surface) !important;
  box-shadow: none !important;
  transform: none;
  transition: border-color 180ms ease, transform 180ms ease, box-shadow 180ms ease !important;
}

.product-card:hover {
  border-color: var(--ux-line-strong) !important;
  box-shadow: 0 14px 32px oklch(20% 0.02 265 / 0.07) !important;
  transform: translateY(-2px) !important;
}

.product-card::before,
.product-card::after {
  display: none !important;
}

.product-media {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-bottom: 1px solid var(--ux-line);
  background: oklch(95.5% 0.008 265) !important;
}

.product-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 240ms ease;
}

.product-card:hover .product-media img {
  transform: scale(1.018);
}

.product-body {
  display: flex !important;
  min-height: 250px;
  padding: 1.15rem !important;
  flex: 1;
  flex-direction: column;
}

.product-card-topline {
  display: flex;
  min-height: 20px;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.product-card-topline > span:last-child {
  color: var(--ux-muted);
  font-size: 0.7rem;
  font-weight: 700;
}

.product-card h3 {
  margin: 1rem 0 0 !important;
  color: var(--ux-ink) !important;
  font-size: 1.05rem !important;
  line-height: 1.3 !important;
  letter-spacing: 0 !important;
}

.product-card h3 a {
  color: inherit !important;
}

.product-card .product-body > p {
  display: -webkit-box;
  min-height: 4.5em;
  margin: 0.65rem 0 1.15rem !important;
  overflow: hidden;
  color: var(--ux-muted) !important;
  font-size: 0.84rem !important;
  line-height: 1.55 !important;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.product-meta {
  display: flex !important;
  margin-top: auto;
  align-items: end;
  justify-content: space-between;
  gap: 0.75rem;
}

.product-meta > div {
  display: grid;
  gap: 0.15rem;
}

.product-meta small {
  color: var(--ux-muted) !important;
  font-size: 0.66rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0;
}

.product-price-range {
  display: flex !important;
  flex-wrap: wrap;
  gap: 0.25rem;
  color: var(--ux-ink) !important;
  font-size: 1rem !important;
}

.card-order {
  min-width: 76px;
  min-height: 40px;
  padding: 0.55rem 0.8rem !important;
  border: 1px solid var(--ux-ink) !important;
  background: var(--ux-ink) !important;
  color: white !important;
  font-size: 0.72rem !important;
  font-weight: 800;
}

.card-order:hover {
  background: var(--ux-red) !important;
  border-color: var(--ux-red) !important;
}

.empty-products {
  margin-top: 1rem;
  padding: 3rem 1.5rem;
  border: 1px solid var(--ux-line);
  border-radius: 8px;
  background: var(--ux-surface);
  text-align: center;
}

/* Product detail */
.product-page-shell main {
  padding-bottom: 5rem;
}

.product-breadcrumb {
  display: flex;
  width: min(1240px, calc(100% - 48px));
  margin: 1.2rem auto 0;
  overflow: hidden;
  align-items: center;
  gap: 0.55rem;
  color: var(--ux-muted);
  font-size: 0.75rem;
  white-space: nowrap;
}

.product-breadcrumb a {
  color: var(--ux-muted);
}

.product-breadcrumb strong {
  overflow: hidden;
  color: var(--ux-ink);
  text-overflow: ellipsis;
}

.product-page-shell .product-detail {
  display: grid !important;
  width: min(1240px, calc(100% - 48px));
  margin: 1rem auto 0;
  padding: 0 !important;
  grid-template-columns: minmax(0, 1.02fr) minmax(440px, 0.98fr) !important;
  align-items: start;
  gap: 2.5rem !important;
}

.product-gallery {
  position: sticky !important;
  top: 112px !important;
  margin: 0 !important;
  padding: 0 !important;
}

.detail-media {
  overflow: hidden;
  border: 1px solid var(--ux-line);
  border-radius: 8px !important;
  background: oklch(94.8% 0.007 265) !important;
}

.detail-media img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.product-gallery figcaption {
  margin-top: 0.65rem;
  color: var(--ux-muted);
  font-size: 0.72rem;
  line-height: 1.5;
}

.product-page-shell .buy-box {
  min-width: 0;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.product-heading {
  margin-top: 1rem;
}

.product-heading > span {
  color: var(--ux-muted);
  font-size: 0.71rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0;
}

.product-page-shell .buy-box h1 {
  max-width: 14ch;
  margin: 0.45rem 0 0.8rem !important;
  color: var(--ux-ink) !important;
  font-size: 3rem !important;
  font-weight: 790;
  line-height: 1;
  letter-spacing: 0 !important;
}

.product-heading p {
  max-width: 62ch;
  margin: 0 !important;
  color: var(--ux-muted) !important;
  font-size: 0.95rem !important;
  line-height: 1.65 !important;
}

.product-price-block {
  display: flex;
  margin: 1.5rem 0;
  padding: 1.1rem 0;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  border-top: 1px solid var(--ux-line);
  border-bottom: 1px solid var(--ux-line);
}

.product-price-block .product-price {
  margin: 0 !important;
  color: var(--ux-ink) !important;
  font-size: 2rem !important;
  line-height: 1;
}

.product-price-block small {
  max-width: 210px;
  color: var(--ux-muted);
  font-size: 0.7rem;
  line-height: 1.4;
  text-align: right;
}

.purchase-panel {
  padding: 1.3rem !important;
  border: 1px solid var(--ux-line) !important;
  border-radius: 8px !important;
  background: var(--ux-surface) !important;
  box-shadow: 0 10px 28px oklch(20% 0.02 265 / 0.05) !important;
}

.purchase-panel-head {
  display: flex;
  padding-bottom: 1rem;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border-bottom: 1px solid var(--ux-line);
}

.purchase-panel-head h2 {
  margin: 0 !important;
  color: var(--ux-ink) !important;
  font-size: 1rem !important;
  letter-spacing: 0 !important;
}

.purchase-panel-head a {
  color: var(--ux-red-dark);
  font-size: 0.74rem;
  font-weight: 750;
}

.variant-area {
  margin-top: 1rem;
}

.purchase-label {
  display: block;
  margin-bottom: 0.55rem;
  color: var(--ux-muted) !important;
  font-size: 0.69rem !important;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0 !important;
}

.variant-options {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem !important;
}

.variant-options button {
  display: flex !important;
  min-height: 72px;
  padding: 0.8rem !important;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  border: 1px solid var(--ux-line) !important;
  background: var(--ux-surface) !important;
  color: var(--ux-ink) !important;
  text-align: left;
  text-transform: none !important;
}

.variant-options button.is-active {
  border-color: var(--ux-ink) !important;
  background: var(--ux-soft) !important;
  box-shadow: inset 0 0 0 1px var(--ux-ink);
}

.variant-options button span {
  display: grid;
  gap: 0.2rem;
}

.variant-options button strong,
.variant-options button small {
  color: inherit !important;
}

.variant-options button strong {
  font-size: 0.88rem;
}

.variant-options button small {
  color: var(--ux-muted) !important;
  font-size: 0.7rem;
}

.variant-price {
  flex: 0 0 auto;
  font-size: 0.78rem;
  font-weight: 800;
}

.kit-option-note {
  margin: 0.6rem 0 0 !important;
  color: var(--ux-muted) !important;
  font-size: 0.72rem !important;
  line-height: 1.5 !important;
}

.product-purchase-enhancer {
  display: grid !important;
  margin: 1.2rem 0 1rem !important;
  gap: 1rem !important;
}

.purchase-quantity {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
}

.purchase-quantity .purchase-label {
  margin-bottom: 0.75rem;
}

.purchase-quantity-copy {
  min-width: 0;
}

.purchase-quantity-copy .purchase-label {
  margin-bottom: 0.25rem;
}

.purchase-selection-summary,
.purchase-included-note {
  margin: 0;
  color: var(--ux-muted);
  font-size: 0.8rem;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.product-purchase-enhancer [data-bundle-save][hidden] {
  display: none;
}

.bundle-quantity {
  display: grid !important;
  width: 156px !important;
  margin: 0 !important;
  overflow: hidden !important;
  grid-template-columns: 44px 68px 44px !important;
  gap: 0 !important;
  border: 1px solid var(--ux-line);
  border-radius: 6px !important;
}

.bundle-quantity button,
.bundle-quantity input {
  width: 100% !important;
  height: 44px !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: var(--ux-surface) !important;
  color: var(--ux-ink) !important;
}

.bundle-quantity button:first-child {
  border-right: 1px solid var(--ux-line) !important;
}

.bundle-quantity button:last-child {
  border-left: 1px solid var(--ux-line) !important;
}

.bundle-options {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.5rem !important;
}

.bundle-option {
  min-height: 62px !important;
  padding: 0.7rem !important;
  border: 1px solid var(--ux-line) !important;
  background: var(--ux-surface) !important;
  color: var(--ux-ink) !important;
  text-align: left;
}

.bundle-option.is-active {
  border-color: var(--ux-ink) !important;
  background: var(--ux-soft) !important;
}

.bundle-option strong,
.bundle-option small {
  display: block;
}

.bundle-option strong {
  font-size: 0.79rem;
}

.bundle-option small {
  margin-top: 0.2rem;
  color: var(--ux-muted) !important;
  font-size: 0.66rem;
}

.purchase-panel .add-main {
  min-height: 54px;
  margin-top: 0.35rem;
  border-color: var(--ux-red) !important;
  background: var(--ux-red) !important;
  color: white !important;
  font-size: 0.84rem !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
}

.purchase-panel .add-main:hover {
  border-color: var(--ux-red-dark) !important;
  background: var(--ux-red-dark) !important;
}

.product-spec-list {
  display: grid !important;
  margin: 1rem 0 0 !important;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--ux-line);
  border-bottom: 1px solid var(--ux-line);
}

.product-spec-list > div {
  min-width: 0;
  padding: 0.9rem 0.8rem !important;
}

.product-spec-list > div + div {
  border-left: 1px solid var(--ux-line);
}

.product-spec-list dt {
  color: var(--ux-muted);
  font-size: 0.65rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0;
}

.product-spec-list dd {
  margin: 0.3rem 0 0;
  color: var(--ux-ink);
  font-size: 0.78rem;
  line-height: 1.4;
}

.product-page-shell .buy-trust {
  display: grid !important;
  margin-top: 1rem;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  border: 1px solid var(--ux-line) !important;
  border-radius: 8px !important;
  background: var(--ux-surface) !important;
}

.product-page-shell .buy-trust span {
  display: grid !important;
  min-width: 0;
  min-height: 112px !important;
  padding: 0.9rem !important;
  align-content: start;
  gap: 0.25rem;
  border: 0 !important;
  background: transparent !important;
}

.product-page-shell .buy-trust span + span {
  border-left: 1px solid var(--ux-line) !important;
}

.product-page-shell .buy-trust span:nth-child(n + 3) {
  border-top: 0 !important;
}

.product-page-shell .buy-trust svg {
  width: 18px;
  margin-bottom: 0.25rem;
  color: var(--ux-red-dark);
}

.product-page-shell .buy-trust strong {
  color: var(--ux-ink) !important;
  font-size: 0.74rem;
}

.product-page-shell .buy-trust small {
  color: var(--ux-muted) !important;
  font-size: 0.66rem;
  line-height: 1.45;
}

.product-page-shell .research-notice {
  margin: 1rem 0 0 !important;
  padding: 0.9rem 1rem !important;
  border: 1px solid var(--ux-line) !important;
  border-radius: 6px !important;
  background: var(--ux-soft) !important;
  color: var(--ux-muted) !important;
  font-size: 0.74rem !important;
  line-height: 1.5 !important;
}

.product-information,
.related-products,
.recently-viewed-section {
  width: min(1240px, calc(100% - 48px)) !important;
  margin: 4.5rem auto 0 !important;
  padding: 0 !important;
}

.product-information-head {
  margin-bottom: 1.3rem;
}

.product-information-head h2 {
  margin: 0.35rem 0 0 !important;
  color: var(--ux-ink) !important;
  font-size: 2rem !important;
  letter-spacing: 0 !important;
}

.tab-list {
  display: flex !important;
  overflow-x: auto;
  gap: 0 !important;
  border-bottom: 1px solid var(--ux-line);
}

.tab-list button {
  min-height: 48px;
  padding: 0.7rem 1rem !important;
  flex: 0 0 auto;
  border: 0 !important;
  border-bottom: 2px solid transparent !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: var(--ux-muted) !important;
  font-size: 0.78rem;
  font-weight: 750;
}

.tab-list button.is-active {
  border-bottom-color: var(--ux-red) !important;
  color: var(--ux-ink) !important;
}

.tab-panel {
  padding: 1.5rem 0 !important;
  color: var(--ux-muted);
}

.tab-panel:not(.is-active),
.tab-panel[hidden] {
  display: none !important;
}

.product-proof-grid {
  display: grid !important;
  margin-top: 1.5rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border: 1px solid var(--ux-line);
  border-radius: 8px;
  background: var(--ux-surface);
}

.product-proof-grid a {
  display: grid;
  min-width: 0;
  padding: 1.2rem;
  gap: 0.4rem;
  color: var(--ux-ink);
}

.product-proof-grid a + a {
  border-left: 1px solid var(--ux-line);
}

.product-proof-grid strong {
  font-size: 0.82rem;
}

.product-proof-grid span {
  color: var(--ux-muted);
  font-size: 0.76rem;
  line-height: 1.55;
}

/* Predictive search */
.header-search-popover {
  width: min(640px, calc(100vw - 32px)) !important;
  max-height: min(660px, calc(100vh - 120px));
  overflow-y: auto;
  border: 1px solid var(--ux-line) !important;
  border-radius: 8px !important;
  background: var(--ux-surface) !important;
  color: var(--ux-ink) !important;
  box-shadow: 0 18px 50px oklch(10% 0.02 265 / 0.2) !important;
}

.popular-searches {
  padding: 1rem !important;
  border-bottom: 1px solid var(--ux-line) !important;
}

.popular-searches strong,
.popular-searches span {
  color: var(--ux-ink) !important;
}

.popular-searches > div:last-child {
  display: flex;
  margin-top: 0.75rem;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.popular-searches button {
  min-height: 34px;
  padding: 0.4rem 0.65rem !important;
  border: 1px solid var(--ux-line) !important;
  border-radius: 6px !important;
  background: var(--ux-soft) !important;
  color: var(--ux-ink) !important;
}

.search-result-group {
  display: grid;
  padding: 0.75rem;
  gap: 0.25rem;
}

.search-result-group + .search-result-group {
  border-top: 1px solid var(--ux-line);
}

.search-result-group > h3 {
  margin: 0;
  padding: 0.45rem 0.5rem;
  color: var(--ux-muted);
  font-size: 0.66rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0;
}

.search-result {
  display: grid !important;
  min-width: 0;
  padding: 0.55rem !important;
  grid-template-columns: 52px minmax(0, 1fr);
  align-items: center;
  gap: 0.75rem;
  border: 0 !important;
  border-radius: 6px !important;
  color: var(--ux-ink) !important;
}

.search-result:hover {
  background: var(--ux-soft) !important;
}

.search-result img,
.search-page-icon {
  width: 52px;
  height: 52px;
  border: 1px solid var(--ux-line);
  border-radius: 6px !important;
  object-fit: cover;
  background: var(--ux-soft);
}

.search-result > span:last-child {
  display: grid;
  min-width: 0;
  gap: 0.15rem;
}

.search-result strong {
  overflow: hidden;
  color: var(--ux-ink) !important;
  font-size: 0.83rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.search-result span,
.search-result small {
  color: var(--ux-muted) !important;
  font-size: 0.7rem;
  line-height: 1.35;
}

.search-page-icon {
  display: grid;
  place-items: center;
  color: var(--ux-red-dark);
  font-size: 0.78rem;
  font-weight: 850;
}

.search-page-result > span:last-child > span {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.search-page-result {
  grid-template-columns: minmax(0, 1fr);
  border-top: 1px solid var(--ux-line) !important;
  border-radius: 0 !important;
}

.search-page-results .search-page-result:first-of-type {
  border-top: 0 !important;
}

.search-page-icon {
  display: none;
}

.search-result-status {
  width: fit-content;
  margin-top: 0.15rem;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  color: var(--ux-red-dark) !important;
  font-size: 0.64rem !important;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0;
}

.search-empty {
  padding: 2rem 1.25rem;
  color: var(--ux-muted);
  text-align: center;
}

.search-empty strong {
  display: block;
  color: var(--ux-ink);
}

.search-empty p {
  margin: 0.5rem auto;
  max-width: 42ch;
}

.search-empty a {
  color: var(--ux-red-dark);
  font-weight: 750;
}

.search-panel {
  background: var(--ux-surface) !important;
  color: var(--ux-ink) !important;
}

.search-panel-head {
  align-items: flex-start !important;
}

.search-panel-head > div {
  display: grid;
  gap: 0.2rem;
}

.search-panel-head span {
  color: var(--ux-muted);
  font-size: 0.72rem;
}

.search-panel > input {
  border-color: var(--ux-line) !important;
  background: var(--ux-soft) !important;
  color: var(--ux-ink) !important;
}

/* Cart drawer */
.cart-drawer {
  display: flex !important;
  width: min(500px, 100vw) !important;
  height: 100dvh;
  flex-direction: column;
  background: var(--ux-surface) !important;
  color: var(--ux-ink) !important;
  box-shadow: -18px 0 55px oklch(8% 0.02 265 / 0.22) !important;
  z-index: 2147483400 !important;
}

.cart-backdrop {
  z-index: 2147483300 !important;
}

.cart-head {
  display: flex;
  padding: 1rem 1.15rem !important;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--ux-line);
}

.cart-head h2 {
  display: flex;
  margin: 0.25rem 0 0 !important;
  align-items: baseline;
  gap: 0.5rem;
  color: var(--ux-ink) !important;
  font-size: 1.35rem !important;
  letter-spacing: 0 !important;
}

.cart-head h2 small {
  color: var(--ux-muted);
  font-size: 0.7rem;
  font-weight: 650;
}

.cart-head button {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid var(--ux-line) !important;
  border-radius: 6px !important;
  background: var(--ux-surface) !important;
  color: var(--ux-ink) !important;
  font-size: 1.4rem;
}

.shipping-card {
  display: grid !important;
  margin: 0 !important;
  padding: 0.9rem 1.15rem !important;
  gap: 0.55rem;
  border: 0 !important;
  border-bottom: 1px solid var(--ux-line) !important;
  border-radius: 0 !important;
  background: var(--ux-soft) !important;
}

.shipping-card h3 {
  margin: 0 !important;
  color: var(--ux-ink) !important;
  font-size: 0.78rem !important;
  letter-spacing: 0 !important;
}

.shipping-card p {
  margin: 0.2rem 0 0 !important;
  color: var(--ux-muted) !important;
  font-size: 0.69rem !important;
  line-height: 1.4 !important;
}

.shipping-card .progress {
  height: 4px !important;
  overflow: hidden;
  border-radius: 2px !important;
  background: var(--ux-line) !important;
}

.shipping-card .progress span {
  display: block;
  height: 100%;
  background: var(--ux-red) !important;
  transition: width 220ms ease;
}

.cart-items {
  flex: 0 0 auto !important;
  padding: 0.85rem 1.15rem 0 !important;
}

.cart-line {
  display: grid !important;
  margin: 0 !important;
  padding: 0.8rem 0 !important;
  grid-template-columns: 72px minmax(0, 1fr) auto !important;
  align-items: start !important;
  gap: 0.8rem !important;
  border: 0 !important;
  border-bottom: 1px solid var(--ux-line) !important;
  border-radius: 0 !important;
  background: transparent !important;
}

.cart-line img {
  width: 72px !important;
  height: 72px !important;
  border: 1px solid var(--ux-line);
  border-radius: 6px !important;
  object-fit: cover;
}

.cart-line h3 {
  margin: 0 !important;
  color: var(--ux-ink) !important;
  font-size: 0.82rem !important;
  line-height: 1.3;
}

.cart-line p {
  margin: 0.25rem 0 0 !important;
  color: var(--ux-muted) !important;
  font-size: 0.68rem !important;
  line-height: 1.35;
}

.cart-line > strong {
  color: var(--ux-ink) !important;
  font-size: 0.78rem;
  white-space: nowrap;
}

.cart-line-controls {
  display: flex;
  margin-top: 0.55rem;
  align-items: center;
  gap: 0.75rem;
}

.cart-qty {
  display: grid !important;
  width: 104px;
  margin: 0 !important;
  overflow: hidden;
  grid-template-columns: 32px 40px 32px;
  border: 1px solid var(--ux-line);
  border-radius: 6px;
}

.cart-qty button,
.cart-qty span {
  display: grid;
  height: 32px;
  place-items: center;
  border: 0 !important;
  border-radius: 0 !important;
  background: var(--ux-surface) !important;
  color: var(--ux-ink) !important;
  font-size: 0.75rem;
}

.cart-qty button:first-child {
  border-right: 1px solid var(--ux-line) !important;
}

.cart-qty button:last-child {
  border-left: 1px solid var(--ux-line) !important;
}

.cart-remove {
  margin: 0 !important;
  color: var(--ux-muted) !important;
  font-size: 0.68rem !important;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.cart-empty {
  padding: 2rem 0;
  color: var(--ux-muted) !important;
  text-align: center;
}

.cart-recs {
  flex: 0 0 auto;
  margin: 0 !important;
  padding: 1rem 1.15rem !important;
  border: 0 !important;
  border-bottom: 1px solid var(--ux-line) !important;
  border-radius: 0 !important;
  background: transparent !important;
}

.cart-recs > div:first-child {
  margin-bottom: 0.65rem;
}

.cart-recs h3 {
  margin: 0 !important;
  color: var(--ux-ink) !important;
  font-size: 0.8rem !important;
}

.cart-recs p {
  margin: 0.15rem 0 0 !important;
  color: var(--ux-muted) !important;
  font-size: 0.68rem !important;
}

.rec-item {
  padding: 0.55rem 0 !important;
  border: 0 !important;
  border-top: 1px solid var(--ux-line) !important;
  background: transparent !important;
}

.rec-item img {
  border: 1px solid var(--ux-line);
  border-radius: 6px !important;
}

.rec-item strong {
  color: var(--ux-ink) !important;
}

.rec-item span {
  color: var(--ux-muted) !important;
}

.rec-item button {
  min-width: 52px;
  min-height: 34px;
  border: 1px solid var(--ux-ink) !important;
  border-radius: 6px !important;
  background: var(--ux-ink) !important;
  color: white !important;
}

.cart-footer {
  position: sticky !important;
  bottom: 0;
  margin-top: auto;
  padding: 1rem 1.15rem 1.15rem !important;
  border-top: 1px solid var(--ux-line);
  background: var(--ux-surface) !important;
  backdrop-filter: none !important;
}

.cart-totals {
  display: grid;
  gap: 0.45rem;
  margin-bottom: 0.85rem;
}

.cart-footer .subtotal {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--ux-muted) !important;
  font-size: 0.75rem;
}

.cart-footer .subtotal strong {
  color: var(--ux-ink) !important;
}

.cart-total-row {
  padding-top: 0.55rem;
  border-top: 1px solid var(--ux-line);
  font-size: 0.86rem !important;
}

.cart-footer .btn-primary {
  min-height: 50px;
  border-color: var(--ux-red) !important;
  background: var(--ux-red) !important;
  color: white !important;
}

.cart-continue-shopping {
  display: block;
  margin-top: 0.7rem;
  color: var(--ux-muted);
  font-size: 0.72rem;
  font-weight: 700;
  text-align: center;
}

/* Checkout: one calm, top-to-bottom flow */
.checkout-page-shell .payment-checkout {
  display: block !important;
  width: min(920px, calc(100% - 48px)) !important;
  margin: 1.5rem auto 6rem !important;
  padding: 0 !important;
}

.checkout-page-shell .checkout-copy {
  padding: 2.2rem !important;
  border: 1px solid oklch(24% 0.018 265) !important;
  border-radius: 8px !important;
  background: var(--ux-dark) !important;
  box-shadow: none !important;
}

.checkout-intro h1 {
  margin: 0.55rem 0 0.75rem !important;
  color: white !important;
  font-size: 2.45rem !important;
  line-height: 1.03 !important;
  letter-spacing: 0 !important;
}

.checkout-intro p {
  max-width: 66ch;
  margin: 0 !important;
  color: oklch(77% 0.014 265) !important;
  line-height: 1.65;
}

.checkout-steps {
  display: grid !important;
  margin: 1.6rem 0 0 !important;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0 !important;
  border-top: 1px solid oklch(30% 0.018 265);
}

.checkout-steps span {
  display: grid !important;
  min-width: 0;
  min-height: 74px !important;
  padding: 0.85rem !important;
  grid-template-columns: 24px minmax(0, 1fr);
  align-items: center;
  gap: 0.55rem;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: oklch(68% 0.014 265) !important;
}

.checkout-steps span + span {
  border-left: 1px solid oklch(30% 0.018 265) !important;
}

.checkout-steps b {
  display: grid;
  width: 24px;
  height: 24px;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-size: 0.64rem;
}

.checkout-steps i {
  min-width: 0;
  font-size: 0.68rem;
  font-style: normal;
  font-weight: 750;
  line-height: 1.35;
}

.checkout-steps span.is-active {
  color: white !important;
}

.checkout-steps span.is-active b {
  border-color: var(--ux-red);
  background: var(--ux-red);
}

.checkout-steps span.is-complete {
  color: white !important;
}

.checkout-steps span.is-locked::after {
  display: none !important;
}

.checkout-assurance-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid oklch(30% 0.018 265);
}

.checkout-assurance-grid span {
  display: grid;
  padding: 0.9rem 0.85rem 0;
  gap: 0.25rem;
}

.checkout-assurance-grid span + span {
  border-left: 1px solid oklch(30% 0.018 265);
}

.checkout-assurance-grid strong {
  color: white;
  font-size: 0.72rem;
}

.checkout-assurance-grid small {
  color: oklch(68% 0.014 265);
  font-size: 0.65rem;
  line-height: 1.45;
}

.checkout-page-shell .checkout-main-grid {
  display: grid !important;
  margin-top: 1rem;
  grid-template-columns: 1fr !important;
  gap: 1rem !important;
}

.checkout-page-shell .order-summary-panel {
  position: static !important;
  order: -1;
}

.checkout-page-shell .checkout-flow-card,
.checkout-page-shell .order-summary-panel,
.checkout-page-shell .payment-confirm-card {
  padding: 1.4rem !important;
  border: 1px solid var(--ux-line) !important;
  border-radius: 8px !important;
  background: var(--ux-surface) !important;
  color: var(--ux-ink) !important;
  box-shadow: none !important;
}

.checkout-page-shell .panel-head {
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--ux-line);
}

.checkout-page-shell .panel-head h2,
.checkout-page-shell .checkout-flow-card h2 {
  color: var(--ux-ink) !important;
  letter-spacing: 0 !important;
}

.checkout-page-shell .panel-head a,
.checkout-page-shell .text-button {
  color: var(--ux-red-dark) !important;
}

.checkout-page-shell .checkout-summary {
  margin: 1rem 0 0 !important;
  border-color: var(--ux-line) !important;
}

.checkout-page-shell .checkout-line,
.checkout-page-shell .discount-code-card {
  border-color: var(--ux-line) !important;
  background: transparent !important;
  color: var(--ux-ink) !important;
}

.checkout-page-shell .checkout-line :is(strong, span, small),
.checkout-page-shell .discount-code-card label {
  color: var(--ux-ink) !important;
}

.checkout-page-shell .checkout-line small {
  color: var(--ux-muted) !important;
}

.checkout-page-shell .checkout-line.total-line {
  background: var(--ux-soft) !important;
}

.checkout-customer-form,
.payment-method-form {
  margin-top: 1rem;
}

/* Keep the Canadian payment path predictable: Interac, Kafoy, then optional methods. */
.checkout-page-shell .payment-method-form > [data-payment-method-option="interac"] { order: 1; }
.checkout-page-shell .payment-method-form > [data-payment-method-option="kafoy"] { order: 2; }
.checkout-page-shell .payment-method-form > [data-kafoy-email-fields] { order: 2.1; }
.checkout-page-shell .payment-method-form > [data-payment-options-toggle] { order: 2.2; }
.checkout-page-shell .payment-method-form > [data-payment-method-option="paypal"] { order: 3; }
.checkout-page-shell .payment-method-form > [data-payment-method-option="crypto"] { order: 4; }
.checkout-page-shell .payment-method-form > [data-payment-method-option="kafoy-interac"] { order: 5; }
.checkout-page-shell .payment-method-form > .checkout-attestation { order: 6; }
.checkout-page-shell .payment-method-form > button[type="submit"] { order: 7; }

.checkout-customer-form label,
.payment-confirm-card label {
  color: var(--ux-ink) !important;
  font-size: 0.75rem;
  font-weight: 750;
}

.checkout-customer-form input,
.checkout-customer-form textarea,
.payment-confirm-card input,
.payment-confirm-card textarea,
.discount-code-row input {
  min-height: 48px;
  border: 1px solid var(--ux-line) !important;
  border-radius: 6px !important;
  background: var(--ux-surface) !important;
  color: var(--ux-ink) !important;
}

.checkout-customer-form input::placeholder,
.checkout-customer-form textarea::placeholder,
.payment-confirm-card input::placeholder,
.payment-confirm-card textarea::placeholder {
  color: var(--ux-muted) !important;
}

.payment-method-card,
.payment-method-note,
.checkout-attestation {
  border: 1px solid var(--ux-line) !important;
  border-radius: 8px !important;
  background: var(--ux-surface) !important;
  color: var(--ux-ink) !important;
  box-shadow: none !important;
}

.payment-method-card.recommended {
  border-color: var(--ux-ink) !important;
  background: var(--ux-soft) !important;
}

.payment-method-card :is(strong, small, em),
.payment-method-note,
.checkout-attestation span {
  color: var(--ux-ink) !important;
}

.payment-method-card small,
.payment-method-note,
.checkout-attestation span {
  color: var(--ux-muted) !important;
}

.payment-method-card b {
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: var(--ux-red-dark) !important;
}

.account-required-card,
.account-confirmed-card,
.payment-locked-card {
  border: 1px solid var(--ux-line) !important;
  border-radius: 8px !important;
  background: var(--ux-soft) !important;
  box-shadow: none !important;
}

.account-confirmed-card {
  border-color: var(--ux-line) !important;
}

.mobile-checkout-assurance {
  display: none !important;
}

/* FAQ */
.faq-category-nav {
  display: flex;
  width: min(1080px, 100%) !important;
  margin: 2rem auto 0;
  overflow-x: auto;
  gap: 0.4rem;
  scrollbar-width: none;
}

.faq-category-nav::-webkit-scrollbar {
  display: none;
}

.faq-category-nav a {
  min-width: max-content;
  padding: 0.6rem 0.8rem;
  border: 1px solid var(--ux-line);
  border-radius: 6px;
  background: var(--ux-surface);
  color: var(--ux-muted);
  font-size: 0.72rem;
  font-weight: 750;
}

.faq-category-nav a:hover {
  border-color: var(--ux-line-strong);
  color: var(--ux-ink);
}

.faq-layout {
  display: grid;
  width: min(1080px, 100%) !important;
  margin: 2rem auto 0;
  grid-template-columns: minmax(230px, 0.34fr) minmax(0, 1fr);
  align-items: start;
  gap: 3rem;
}

.faq-help-panel {
  position: sticky;
  top: 112px;
  padding: 1.25rem;
  border: 1px solid var(--ux-line);
  border-radius: 8px;
  background: var(--ux-surface);
}

.faq-help-panel h2 {
  margin: 0.55rem 0 0.75rem !important;
  color: var(--ux-ink) !important;
  font-size: 1.3rem !important;
  line-height: 1.25;
  letter-spacing: 0 !important;
}

.faq-help-panel p {
  color: var(--ux-muted) !important;
  font-size: 0.82rem !important;
  line-height: 1.6 !important;
}

.faq-help-panel .btn {
  width: 100%;
  margin: 0.75rem 0 1rem;
}

.faq-help-panel > a:not(.btn) {
  display: block;
  padding: 0.65rem 0;
  border-top: 1px solid var(--ux-line);
  color: var(--ux-ink);
  font-size: 0.75rem;
  font-weight: 700;
}

.faq-groups {
  min-width: 0;
}

.faq-group {
  scroll-margin-top: 120px;
}

.faq-group + .faq-group {
  margin-top: 3.5rem;
}

.faq-group-heading {
  display: grid;
  margin-bottom: 0.5rem;
  grid-template-columns: 42px minmax(0, 1fr);
  align-items: start;
  gap: 0.85rem;
}

.faq-group-heading > span {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 1px solid var(--ux-line);
  border-radius: 50%;
  color: var(--ux-red-dark);
  font-size: 0.7rem;
  font-weight: 850;
}

.faq-group-heading h2 {
  margin: 0 !important;
  color: var(--ux-ink) !important;
  font-size: 1.35rem !important;
  letter-spacing: 0 !important;
}

.faq-group-heading p {
  margin: 0.25rem 0 0 !important;
  color: var(--ux-muted) !important;
  font-size: 0.8rem !important;
}

.faq-group .faq-list {
  width: 100%;
  margin: 0 !important;
}

.faq-list summary {
  min-height: 64px;
  color: var(--ux-ink) !important;
}

.faq-list details p {
  color: var(--ux-muted) !important;
}

.contact-copy-card.accent,
.contact-copy-card.important {
  border-left-width: 1px !important;
}

/* Contact */
.contact-channel-grid {
  display: grid;
  width: min(1080px, 100%) !important;
  margin: 2rem auto 0;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid var(--ux-line);
  border-radius: 8px;
  background: var(--ux-surface);
}

.contact-channel-grid article {
  min-width: 0;
  padding: 1.15rem;
}

.contact-channel-grid article + article {
  border-left: 1px solid var(--ux-line);
}

.contact-channel-grid article > span {
  color: var(--ux-red-dark);
  font-size: 0.68rem;
  font-weight: 850;
}

.contact-channel-grid h2 {
  margin: 0.7rem 0 0.45rem !important;
  color: var(--ux-ink) !important;
  font-size: 1rem !important;
  letter-spacing: 0 !important;
}

.contact-channel-grid p {
  margin: 0 !important;
  color: var(--ux-muted) !important;
  font-size: 0.76rem !important;
  line-height: 1.55 !important;
}

.contact-main-grid {
  display: grid;
  width: min(1080px, 100%) !important;
  margin: 1rem auto 0;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.42fr);
  align-items: start;
  gap: 1rem;
}

.support-form,
.contact-help-panel {
  min-width: 0;
  padding: 1.4rem;
  border: 1px solid var(--ux-line);
  border-radius: 8px;
  background: var(--ux-surface);
}

.support-form {
  display: grid;
  gap: 1rem;
}

.support-form-heading h2,
.contact-help-panel h2 {
  margin: 0.5rem 0 0.6rem !important;
  color: var(--ux-ink) !important;
  font-size: 1.45rem !important;
  letter-spacing: 0 !important;
}

.support-form-heading p {
  margin: 0 !important;
  color: var(--ux-muted) !important;
  font-size: 0.82rem !important;
  line-height: 1.55 !important;
}

.support-field-grid {
  display: grid;
  gap: 0.8rem;
}

.support-field-grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.support-form label {
  display: grid;
  gap: 0.4rem;
  color: var(--ux-ink);
  font-size: 0.72rem;
  font-weight: 750;
}

.support-form label > span {
  color: var(--ux-muted);
  font-weight: 600;
}

.support-form :is(input, select, textarea) {
  width: 100%;
  min-width: 0;
  min-height: 48px;
  padding: 0.75rem 0.85rem;
  border: 1px solid var(--ux-line);
  border-radius: 6px;
  background: var(--ux-surface);
  color: var(--ux-ink);
  font: inherit;
}

.support-form textarea {
  min-height: 140px;
  resize: vertical;
}

.support-consent {
  display: flex !important;
  grid-template-columns: auto 1fr;
  align-items: flex-start;
  gap: 0.65rem !important;
  color: var(--ux-muted) !important;
  line-height: 1.45;
}

.support-consent input {
  width: 18px !important;
  min-height: 18px !important;
  margin-top: 0.05rem;
  padding: 0 !important;
  accent-color: var(--ux-red);
}

.support-form .btn {
  min-height: 50px;
  width: fit-content;
}

.contact-help-panel {
  position: sticky;
  top: 112px;
}

.contact-help-list {
  display: grid;
  margin-top: 1rem;
}

.contact-help-list a {
  display: grid;
  padding: 0.85rem 0;
  gap: 0.2rem;
  border-top: 1px solid var(--ux-line);
}

.contact-help-list strong {
  color: var(--ux-ink);
  font-size: 0.79rem;
}

.contact-help-list span {
  color: var(--ux-muted);
  font-size: 0.72rem;
  line-height: 1.4;
}

.direct-contact {
  display: grid;
  margin-top: 1rem;
  padding: 1rem;
  gap: 0.3rem;
  border-radius: 6px;
  background: var(--ux-soft);
}

.direct-contact strong {
  color: var(--ux-ink);
  font-size: 0.75rem;
}

.direct-contact a {
  overflow-wrap: anywhere;
  color: var(--ux-red-dark);
  font-size: 0.78rem;
  font-weight: 750;
}

.direct-contact span {
  color: var(--ux-muted);
  font-size: 0.68rem;
}

.contact-compliance-note {
  display: grid;
  width: min(1080px, 100%) !important;
  margin: 1rem auto 0;
  padding: 1.3rem;
  grid-template-columns: minmax(220px, 0.4fr) minmax(0, 1fr);
  align-items: center;
  gap: 2rem;
  border: 1px solid var(--ux-line);
  border-radius: 8px;
  background: var(--ux-dark);
}

.contact-compliance-note h2 {
  margin: 0.4rem 0 0 !important;
  color: white !important;
  font-size: 1.25rem !important;
  letter-spacing: 0 !important;
}

.contact-compliance-note p {
  margin: 0 !important;
  color: oklch(75% 0.014 265) !important;
  font-size: 0.8rem !important;
  line-height: 1.65 !important;
}

/* How to Pay */
.payment-method-overview,
.pay-process-heading,
.payment-safety-section,
.how-pay-actions {
  width: min(1080px, 100%) !important;
  margin-right: auto !important;
  margin-left: auto !important;
}

.payment-method-overview {
  margin-top: 3.5rem;
}

.payment-method-overview .section-heading,
.pay-process-heading,
.payment-safety-section .section-heading {
  display: block !important;
  max-width: 760px;
}

.payment-method-overview .section-heading > *,
.pay-process-heading > *,
.payment-safety-section .section-heading > * {
  width: auto !important;
  max-width: 100% !important;
  text-align: left !important;
}

.payment-method-overview .section-heading > p {
  margin-top: 0.75rem !important;
}

.payment-method-overview .section-heading h2,
.pay-process-heading h2,
.payment-safety-section .section-heading h2 {
  max-width: 20ch;
  margin: 0.45rem 0 0 !important;
  color: var(--ux-ink) !important;
  font-size: 2rem !important;
  line-height: 1.12;
  letter-spacing: 0 !important;
}

.payment-method-comparison {
  display: grid;
  margin-top: 1.4rem;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid var(--ux-line);
  border-radius: 8px;
  background: var(--ux-surface);
}

.payment-method-comparison article {
  min-width: 0;
  padding: 1.35rem;
}

.payment-method-comparison article + article {
  border-left: 1px solid var(--ux-line);
}

.payment-method-comparison article > span {
  color: var(--ux-red-dark);
  font-size: 0.67rem;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: 0;
}

.payment-method-comparison h3 {
  margin: 0.75rem 0 0.6rem;
  color: var(--ux-ink);
  font-size: 1.15rem;
}

.payment-method-comparison p,
.payment-method-comparison li {
  color: var(--ux-muted);
  font-size: 0.78rem;
  line-height: 1.6;
}

.payment-method-comparison ul {
  margin: 1rem 0 0;
  padding-left: 1.1rem;
}

.pay-process-heading {
  margin-top: 4rem !important;
}

.pay-step-grid {
  display: grid !important;
  width: min(900px, 100%) !important;
  margin: 1.5rem auto 4rem !important;
  grid-template-columns: 1fr !important;
  gap: 0 !important;
  border: 1px solid var(--ux-line) !important;
  border-radius: 8px;
  background: var(--ux-surface) !important;
}

.pay-step-grid article {
  display: grid !important;
  min-width: 0;
  padding: 1.2rem !important;
  grid-template-columns: 42px minmax(0, 1fr);
  align-items: start;
  gap: 1rem;
  border: 0 !important;
  background: transparent !important;
}

.pay-step-grid article + article {
  border-top: 1px solid var(--ux-line) !important;
}

.pay-step-grid article > span {
  display: grid !important;
  width: 36px !important;
  height: 36px !important;
  margin: 0 !important;
  place-items: center;
  border: 1px solid var(--ux-line) !important;
  border-radius: 50% !important;
  background: var(--ux-soft) !important;
  color: var(--ux-red-dark) !important;
}

.pay-step-grid h2 {
  margin: 0 !important;
  color: var(--ux-ink) !important;
  font-size: 1rem !important;
}

.pay-step-grid p {
  margin: 0.35rem 0 0 !important;
  color: var(--ux-muted) !important;
  font-size: 0.82rem !important;
  line-height: 1.6 !important;
}

.payment-safety-grid {
  display: grid;
  margin-top: 1.25rem;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid var(--ux-line);
  border-radius: 8px;
  background: var(--ux-surface);
}

.pay-security-note {
  display: grid;
  min-width: 0;
  padding: 1.2rem;
  gap: 0.4rem;
}

.pay-security-note + .pay-security-note {
  border-left: 1px solid var(--ux-line);
}

.pay-security-note strong {
  color: var(--ux-ink);
  font-size: 0.78rem;
}

.pay-security-note span {
  color: var(--ux-muted);
  font-size: 0.74rem;
  line-height: 1.55;
}

.how-pay-actions {
  display: flex;
  margin-top: 1rem !important;
  gap: 0.65rem;
}

/* Editorial content */
.blog-hub-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 1rem !important;
}

.blog-card {
  border-radius: 8px !important;
}

.blog-card-media,
.blog-card-media img {
  aspect-ratio: 3 / 2;
}

.blog-card-media img {
  object-fit: cover;
}

.blog-card:first-child .blog-card-media {
  aspect-ratio: auto;
}

.blog-card-cta {
  letter-spacing: 0 !important;
  text-transform: none;
}

@media (max-width: 1100px) {
  .catalog-page .product-grid,
  .related-products .product-grid,
  .recently-viewed-section .product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }

  .product-page-shell .product-detail {
    grid-template-columns: minmax(0, 0.9fr) minmax(400px, 1.1fr) !important;
    gap: 1.5rem !important;
  }
}

@media (max-width: 900px) {
  .catalog-page .products-hero {
    min-height: 0;
    padding: 2.5rem !important;
    grid-template-columns: 1fr !important;
  }

  .catalog-page .products-hero h1 {
    font-size: 2.8rem !important;
  }

  .product-control-panel {
    position: static;
  }

  .product-page-shell .product-detail {
    grid-template-columns: 1fr !important;
  }

  .product-gallery {
    position: static !important;
  }

  .detail-media {
    max-width: 720px;
    margin: 0 auto;
  }

  .product-page-shell .buy-box {
    max-width: 720px;
    margin: 0 auto;
  }

  .faq-layout,
  .contact-main-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .faq-help-panel,
  .contact-help-panel {
    position: static;
  }

  .faq-help-panel {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem 1rem;
  }

  .faq-help-panel .eyebrow,
  .faq-help-panel h2,
  .faq-help-panel p {
    grid-column: 1 / -1;
  }

  .faq-help-panel .btn {
    width: auto;
    margin: 0;
  }

  .contact-channel-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .contact-channel-grid article:nth-child(3) {
    border-left: 0;
    border-top: 1px solid var(--ux-line);
  }

  .contact-channel-grid article:nth-child(4) {
    border-top: 1px solid var(--ux-line);
  }

  .payment-method-comparison,
  .payment-safety-grid {
    grid-template-columns: 1fr;
  }

  .payment-method-comparison article + article,
  .pay-security-note + .pay-security-note {
    border-top: 1px solid var(--ux-line);
    border-left: 0;
  }
}

@media (max-width: 720px) {
  .catalog-page .products-hero,
  body.catalog-page .product-control-panel,
  .catalog-results,
  .product-breadcrumb,
  .product-page-shell .product-detail,
  .product-information,
  .related-products,
  .recently-viewed-section,
  .checkout-page-shell .payment-checkout {
    width: calc(100% - 20px) !important;
  }

  .catalog-page .products-hero {
    margin-top: 0.75rem !important;
    padding: 1.65rem 1.15rem !important;
  }

  .catalog-page .products-hero h1 {
    max-width: 12ch !important;
    font-size: 2.15rem !important;
  }

  .catalog-hero-facts {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }

  .catalog-hero-facts span {
    padding: 0.7rem 0.55rem 0 !important;
  }

  .catalog-hero-facts span + span {
    border-top: 0 !important;
    border-left: 1px solid oklch(30% 0.018 265) !important;
  }

  .catalog-toolbar,
  .catalog-filter-row {
    align-items: stretch;
  }

  .catalog-toolbar {
    flex-direction: column;
  }

  .inline-search {
    width: 100%;
    min-width: 0;
  }

  .catalog-view-count {
    padding-left: 0.1rem;
  }

  .catalog-filter-row {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .catalog-sort-menu summary {
    min-width: 122px;
  }

  .catalog-results {
    margin-top: 2.5rem !important;
  }

  .catalog-results-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.5rem;
  }

  .catalog-results-heading p {
    text-align: left;
  }

  .catalog-page .product-grid,
  .related-products .product-grid,
  .recently-viewed-section .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 0.65rem !important;
  }

  .product-body {
    min-height: 225px;
    padding: 0.85rem !important;
  }

  .product-card h3 {
    font-size: 0.92rem !important;
  }

  .product-card .product-body > p {
    min-height: 4.2em;
    font-size: 0.76rem !important;
  }

  .product-meta {
    align-items: stretch;
    flex-direction: column;
  }

  .card-order {
    width: 100%;
  }

  .product-page-shell .buy-box h1 {
    font-size: 2.4rem !important;
  }

  .variant-options,
  .bundle-options,
  .product-spec-list,
  .product-page-shell .buy-trust,
  .product-proof-grid {
    grid-template-columns: 1fr !important;
  }

  .variant-options button {
    min-height: 64px;
  }

  .bundle-option {
    min-height: 52px !important;
  }

  .product-spec-list > div + div,
  .product-page-shell .buy-trust span + span,
  .product-proof-grid a + a {
    border-top: 1px solid var(--ux-line) !important;
    border-left: 0 !important;
  }

  .product-page-shell .buy-trust span {
    min-height: 82px !important;
  }

  .checkout-page-shell .checkout-copy {
    display: block !important;
    padding: 1.35rem !important;
  }

  .checkout-intro h1 {
    font-size: 2rem !important;
  }

  .checkout-steps {
    grid-template-columns: 1fr 1fr;
  }

  .checkout-steps span:nth-child(3) {
    border-top: 1px solid oklch(30% 0.018 265) !important;
    border-left: 0 !important;
  }

  .checkout-steps span:nth-child(4) {
    border-top: 1px solid oklch(30% 0.018 265) !important;
  }

  .checkout-assurance-grid {
    grid-template-columns: 1fr;
  }

  .checkout-assurance-grid span {
    padding: 0.75rem 0;
  }

  .checkout-assurance-grid span + span {
    border-top: 1px solid oklch(30% 0.018 265);
    border-left: 0;
  }

  .checkout-field-grid.two,
  .support-field-grid.two {
    grid-template-columns: 1fr !important;
  }

  .contact-channel-grid {
    grid-template-columns: 1fr;
  }

  .contact-channel-grid article + article,
  .contact-channel-grid article:nth-child(3) {
    border-top: 1px solid var(--ux-line);
    border-left: 0;
  }

  .contact-compliance-note {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .payment-method-overview .section-heading h2,
  .pay-process-heading h2,
  .payment-safety-section .section-heading h2 {
    font-size: 1.6rem !important;
  }

  .blog-hub-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .blog-card:first-child {
    display: flex !important;
    grid-column: 1 / -1;
  }

  .blog-card:first-child .blog-card-media {
    aspect-ratio: 3 / 2;
  }

  .page-intro-copy {
    padding: 1.6rem 1.25rem !important;
  }

  .page-intro h1 {
    font-size: 2.15rem !important;
  }

  .page-intro-media,
  .page-intro-media img {
    min-height: 165px !important;
    max-height: 180px !important;
  }

  .mobile-sticky-buy {
    position: fixed;
    z-index: 2147481800;
    right: 0;
    bottom: 0;
    left: 0;
    display: flex !important;
    min-height: 70px;
    padding: 0.7rem max(0.75rem, env(safe-area-inset-right)) max(0.7rem, env(safe-area-inset-bottom)) max(0.75rem, env(safe-area-inset-left));
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    border-top: 1px solid var(--ux-line);
    background: var(--ux-surface);
    box-shadow: 0 -10px 28px oklch(20% 0.02 265 / 0.12);
  }

  .mobile-sticky-buy > div {
    min-width: 0;
  }

  .mobile-sticky-buy strong {
    color: var(--ux-ink) !important;
    font-size: 0.9rem;
  }

  .mobile-sticky-buy span {
    overflow: hidden;
    color: var(--ux-muted) !important;
    font-size: 0.68rem !important;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .mobile-sticky-buy .btn {
    min-width: 118px;
    min-height: 46px;
    flex: 0 0 auto;
  }

  .has-sticky-buy {
    padding-bottom: 76px !important;
  }

  body.has-sticky-buy .pc-chatbot {
    display: none !important;
  }

  body.catalog-page .pc-chatbot {
    display: none !important;
  }
}

@media (max-width: 500px) {
  .catalog-page .product-grid,
  .related-products .product-grid,
  .recently-viewed-section .product-grid,
  .blog-hub-grid {
    grid-template-columns: 1fr !important;
  }

  .product-media {
    aspect-ratio: 4 / 3;
  }

  .product-body {
    min-height: 0;
  }

  .product-card .product-body > p {
    min-height: 0;
  }

  .product-meta {
    align-items: end;
    flex-direction: row;
  }

  .card-order {
    width: auto;
  }

  .product-price-block {
    align-items: flex-start;
    flex-direction: column;
  }

  .product-price-block small {
    text-align: left;
  }

  .purchase-quantity {
    align-items: flex-start;
    flex-direction: column;
  }

  .faq-help-panel {
    display: block;
  }

  .faq-help-panel .btn {
    width: 100%;
    margin: 0.75rem 0 1rem;
  }

  .how-pay-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .cart-line {
    grid-template-columns: 64px minmax(0, 1fr) !important;
  }

  .cart-line img {
    width: 64px !important;
    height: 64px !important;
  }

  .cart-line > strong {
    grid-column: 2;
  }
}

@media (prefers-reduced-motion: reduce) {
  .product-card,
  .product-media img,
  .shipping-card .progress span {
    transition: none !important;
  }

  .product-card:hover,
  .product-card:hover .product-media img {
    transform: none !important;
  }
}

.pc-chatbot-button {
  width: 50px !important;
  height: 50px !important;
  border-color: oklch(35% 0.02 265) !important;
  background: var(--ux-dark) !important;
  box-shadow: 0 8px 24px oklch(10% 0.02 265 / 0.24) !important;
  letter-spacing: 0 !important;
}

.checkout-page-shell .pc-chatbot {
  display: none !important;
}

/* =========================================================
   STOREFRONT COMPLETION PASS
   Resolves legacy cascade conflicts and aligns public,
   customer, affiliate, and operations surfaces.
   ========================================================= */

/* Product purchase controls */
.product-page-shell .purchase-panel .add-save-card {
  display: grid !important;
  grid-template-columns: 28px minmax(0, 1fr) auto !important;
  min-width: 0;
  padding: 1rem !important;
  align-items: center !important;
  gap: 0.85rem !important;
  border: 1px solid var(--ux-line) !important;
  border-radius: 6px !important;
  background: var(--ux-soft) !important;
  box-shadow: none !important;
}

.product-page-shell .purchase-panel .add-save-copy {
  display: grid !important;
  min-width: 0;
  gap: 0.18rem;
}

.product-page-shell .purchase-panel .add-save-copy strong {
  color: var(--ux-ink) !important;
  font-size: 0.9rem !important;
  line-height: 1.3 !important;
  overflow-wrap: normal !important;
  word-break: normal !important;
}

.product-page-shell .purchase-panel .add-save-copy > span {
  color: var(--ux-muted) !important;
  font-size: 0.72rem !important;
  font-weight: 650;
  line-height: 1.4;
  text-transform: none !important;
}

.product-page-shell .purchase-panel .add-save-price {
  display: grid !important;
  min-width: max-content;
  justify-items: end;
  gap: 0.18rem;
}

.product-page-shell .purchase-panel .add-save-price s {
  color: var(--ux-muted) !important;
  font-size: 0.72rem;
}

.product-page-shell .purchase-panel .add-save-price b {
  color: var(--ux-ink) !important;
  font-size: 1rem;
}

.product-price-range {
  display: grid !important;
  justify-items: start;
  gap: 0.12rem !important;
}

.product-card-kit-price {
  display: block;
  color: var(--ux-muted) !important;
  font-size: 0.65rem !important;
  font-weight: 650 !important;
  line-height: 1.35;
  text-transform: none !important;
  white-space: nowrap;
}

/* Predictive search */
.search-page-results .search-page-result {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) 24px !important;
  min-height: 92px;
  padding: 0.85rem 0.75rem !important;
  align-items: center;
  gap: 1rem;
  border-top: 1px solid var(--ux-line) !important;
  border-radius: 0 !important;
}

.search-page-results .search-page-result:first-of-type {
  border-top: 0 !important;
}

.search-page-copy {
  display: grid !important;
  min-width: 0;
  gap: 0.2rem !important;
}

.search-page-copy small {
  order: -1;
  color: var(--ux-red-dark) !important;
  font-size: 0.62rem !important;
  font-weight: 800;
  text-transform: uppercase;
}

.search-page-copy strong {
  font-size: 0.84rem !important;
  white-space: normal !important;
}

.search-page-copy > span {
  display: -webkit-box;
  overflow: hidden;
  color: var(--ux-muted) !important;
  font-size: 0.72rem !important;
  line-height: 1.45 !important;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.search-result-price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.2rem 0.45rem;
}

.search-result-price small {
  color: var(--ux-muted) !important;
  font-size: 0.64rem !important;
}

.search-page-arrow {
  display: grid;
  width: 24px;
  height: 24px;
  place-items: center;
  color: var(--ux-muted) !important;
  font-size: 0.92rem !important;
  transition: color 160ms ease, transform 160ms var(--ease-out-quint);
}

.search-page-result:hover .search-page-arrow {
  color: var(--ux-red-dark) !important;
  transform: translateX(2px);
}

/* How to Pay */
body.guide-page .how-pay-page .pay-step-grid {
  display: grid !important;
  width: min(920px, 100%) !important;
  margin: 1.5rem auto 4rem !important;
  grid-template-columns: 1fr !important;
  gap: 0 !important;
  border: 1px solid var(--ux-line) !important;
  border-radius: 8px !important;
  background: var(--ux-surface) !important;
}

body.guide-page .how-pay-page .pay-step-grid article {
  display: grid !important;
  min-width: 0 !important;
  min-height: 0 !important;
  padding: 1.15rem 1.25rem !important;
  grid-template-columns: 42px minmax(0, 1fr) !important;
  align-items: start !important;
  gap: 1rem !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

body.guide-page .how-pay-page .pay-step-grid article + article {
  border-top: 1px solid var(--ux-line) !important;
}

body.guide-page .how-pay-page .pay-step-grid article::after {
  display: none !important;
}

body.guide-page .how-pay-page .pay-step-grid article > span {
  display: grid !important;
  width: 34px !important;
  height: 34px !important;
  margin: 0 !important;
  place-items: center;
  border: 1px solid var(--ux-line-strong) !important;
  border-radius: 50% !important;
  background: var(--ux-soft) !important;
  color: var(--ux-red-dark) !important;
  box-shadow: none !important;
}

body.guide-page .how-pay-page .pay-step-grid :is(h2, p) {
  width: auto !important;
  max-width: 70ch !important;
  overflow-wrap: normal !important;
  word-break: normal !important;
}

body.guide-page .how-pay-page .pay-step-grid h2 {
  margin: 0 !important;
  font-size: 1rem !important;
  line-height: 1.3 !important;
}

body.guide-page .how-pay-page .pay-step-grid p {
  margin: 0.3rem 0 0 !important;
  font-size: 0.82rem !important;
  line-height: 1.55 !important;
}

body.guide-page .how-pay-page .payment-safety-grid {
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 0 !important;
  overflow: hidden;
  border: 1px solid var(--ux-line) !important;
  border-radius: 8px !important;
  background: var(--ux-surface) !important;
}

body.guide-page .how-pay-page .pay-security-note {
  display: grid !important;
  min-width: 0;
  padding: 1.1rem 1.25rem !important;
  grid-template-columns: 84px minmax(0, 1fr) !important;
  align-items: start;
  gap: 1.25rem !important;
  border: 0 !important;
  background: transparent !important;
}

body.guide-page .how-pay-page .pay-security-note + .pay-security-note {
  border-top: 1px solid var(--ux-line) !important;
  border-left: 0 !important;
}

body.guide-page .how-pay-page .pay-security-note > span {
  color: var(--ux-red-dark) !important;
  font-size: 0.66rem !important;
  font-weight: 850;
  text-transform: uppercase;
}

body.guide-page .how-pay-page .pay-security-note strong {
  display: block;
  color: var(--ux-ink) !important;
  font-size: 0.84rem !important;
}

body.guide-page .how-pay-page .pay-security-note p {
  max-width: 68ch;
  margin: 0.25rem 0 0 !important;
  color: var(--ux-muted) !important;
  font-size: 0.78rem !important;
  line-height: 1.55 !important;
}

.payment-faq-layout {
  display: grid;
  width: min(1080px, 100%);
  margin: 4rem auto 1rem;
  grid-template-columns: minmax(230px, 0.36fr) minmax(0, 1fr);
  align-items: start;
  gap: 3rem;
}

.payment-faq-layout > aside {
  position: sticky;
  top: 112px;
  padding: 1.25rem;
  border: 1px solid var(--ux-line);
  border-radius: 8px;
  background: var(--ux-soft);
}

.payment-faq-layout > aside h2 {
  margin: 0.55rem 0 0.7rem !important;
  color: var(--ux-ink) !important;
  font-size: 1.25rem !important;
  line-height: 1.25;
}

.payment-faq-layout > aside p {
  margin: 0 0 1rem !important;
  color: var(--ux-muted) !important;
  font-size: 0.8rem !important;
  line-height: 1.6 !important;
}

.payment-faq-layout .faq-list {
  width: 100%;
  margin: 0;
}

/* Affiliate public page */
.affiliate-hero-wrapper {
  background-image: url("/assets/editorial/blog/how-the-affiliate-program-works.webp") !important;
  background-position: center 48% !important;
}

.affiliate-benefit-grid {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 0 !important;
  border-top: 1px solid var(--site-line) !important;
}

.affiliate-benefit-card {
  display: grid !important;
  min-width: 0;
  padding: 1.6rem 1.3rem !important;
  grid-template-columns: 34px minmax(0, 1fr);
  align-content: start;
  gap: 0 0.9rem;
  border: 0 !important;
  border-bottom: 1px solid var(--site-line) !important;
  border-radius: 0 !important;
  background: transparent !important;
}

.affiliate-benefit-card:nth-child(odd) {
  border-right: 1px solid var(--site-line) !important;
}

.affiliate-benefit-icon {
  width: 30px !important;
  height: 30px !important;
  grid-row: 1 / 3;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: var(--site-red) !important;
}

.affiliate-benefit-card h3 {
  margin: 0 !important;
  color: var(--site-ink) !important;
  font-size: 1rem !important;
}

.affiliate-benefit-card p {
  margin: 0.4rem 0 0 !important;
  color: var(--site-muted) !important;
  font-size: 0.84rem !important;
  line-height: 1.6 !important;
}

.affiliate-faq-section {
  display: grid;
  grid-template-columns: minmax(250px, 0.38fr) minmax(0, 1fr);
  align-items: start;
  gap: 4rem;
}

.affiliate-faq-intro {
  position: sticky;
  top: 112px;
}

.affiliate-faq-intro h2 {
  margin: 0.55rem 0 0.8rem;
  color: var(--site-ink);
  font-size: 2rem;
  line-height: 1.1;
}

.affiliate-faq-intro p {
  color: var(--site-muted);
  line-height: 1.65;
}

.affiliate-faq-intro .btn {
  margin-top: 0.8rem;
}

.affiliate-faq-list {
  border-top: 1px solid var(--site-line);
}

.affiliate-faq-list details {
  border-bottom: 1px solid var(--site-line);
}

.affiliate-faq-list summary {
  position: relative;
  min-height: 72px;
  padding: 1.25rem 2.5rem 1.25rem 0;
  color: var(--site-ink);
  cursor: pointer;
  font-size: 0.94rem;
  font-weight: 780;
  list-style: none;
}

.affiliate-faq-list summary::-webkit-details-marker {
  display: none;
}

.affiliate-faq-list summary::after {
  content: "+";
  position: absolute;
  top: 50%;
  right: 0;
  color: var(--site-red);
  font-size: 1.2rem;
  transform: translateY(-50%);
}

.affiliate-faq-list details[open] summary::after {
  content: "\2212";
}

.affiliate-faq-list p {
  max-width: 68ch;
  margin: 0;
  padding: 0 2.5rem 1.4rem 0;
  color: var(--site-muted);
  font-size: 0.86rem;
  line-height: 1.7;
}

/* Customer account and affiliate portal */
.account-shell .account-dashboard {
  width: min(1180px, calc(100% - 48px)) !important;
  margin: 2.5rem auto 5rem !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.account-dashboard-head {
  padding: 0 0 1.5rem;
  border-bottom: 1px solid var(--site-line);
}

.account-dashboard-head h1 {
  margin: 0.45rem 0 0.55rem !important;
  color: var(--site-ink) !important;
  font-size: 2.6rem !important;
  line-height: 1.05;
}

.account-dashboard-head p {
  max-width: 68ch;
  color: var(--site-muted) !important;
}

.account-grid {
  gap: 1rem !important;
  margin-top: 1.25rem;
}

.account-panel {
  min-width: 0;
  padding: 1.25rem !important;
  border: 1px solid var(--site-line) !important;
  border-radius: 8px !important;
  background: var(--site-surface) !important;
  box-shadow: none !important;
}

.account-panel dl {
  gap: 0 !important;
}

.account-panel dl > div {
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--site-line);
}

.account-panel dl > div:last-child {
  border-bottom: 0;
}

.account-order-card {
  border: 1px solid var(--site-line) !important;
  border-radius: 8px !important;
  background: var(--site-surface) !important;
  box-shadow: none !important;
}

.affiliate-metrics-grid {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 0 !important;
  overflow: hidden;
  border: 1px solid var(--site-line);
  border-radius: 8px;
  background: var(--site-surface);
}

.affiliate-metrics-grid .affiliate-metric-card {
  border: 0 !important;
  border-radius: 0 !important;
}

.affiliate-metrics-grid .affiliate-metric-card + .affiliate-metric-card {
  border-left: 1px solid var(--site-line) !important;
}

.affiliate-referral-control {
  display: grid;
  margin-top: 1rem;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.6rem;
}

.affiliate-referral-control input {
  min-width: 0;
  min-height: 46px;
  padding: 0.7rem 0.8rem;
  border: 1px solid var(--site-line);
  border-radius: 6px;
  background: var(--site-surface-muted);
  color: var(--site-ink);
  font: 700 0.78rem/1.4 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.affiliate-referral-control .btn {
  min-width: 112px;
}

/* Referral rewards: compact account-card layout with a clear sharing path. */
.customer-reward-summary {
  gap: 0 !important;
  overflow: hidden;
  padding: 0 !important;
}

.customer-reward-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 280px);
  gap: 1.5rem;
  align-items: center;
  padding: 1.5rem 1.75rem;
  border-bottom: 0;
  background: var(--site-ink);
  color: var(--site-light-text);
}

.customer-reward-intro {
  max-width: 58ch;
}

.customer-reward-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: oklch(86% 0.15 78);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.customer-reward-kicker strong {
  display: inline-grid;
  min-width: 2.55rem;
  min-height: 1.55rem;
  place-items: center;
  border-radius: 999px;
  background: var(--site-red);
  color: var(--site-light-text);
  font-size: 0.72rem;
  letter-spacing: 0;
}

.customer-reward-intro h2 {
  margin: 0.55rem 0 0.5rem;
  color: var(--site-light-text);
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  line-height: 1.12;
}

.customer-reward-intro p,
.customer-reward-link-block p {
  margin: 0;
  color: var(--site-muted);
  line-height: 1.55;
}

.customer-reward-intro p {
  max-width: 44ch;
  color: oklch(86% 0.012 92);
  font-size: 0.95rem;
}

.customer-reward-balance {
  display: grid;
  gap: 0.2rem;
  padding: 0.25rem 0 0.25rem 1.35rem;
  border-left: 1px solid oklch(100% 0 0 / 0.26);
}

.customer-reward-balance span,
.customer-reward-balance small {
  color: oklch(82% 0.012 92);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.customer-reward-balance strong {
  color: var(--site-light-text);
  font-size: clamp(1.75rem, 3vw, 2.4rem);
  line-height: 1.05;
}

.customer-reward-share {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.56fr);
  gap: 1.75rem;
  padding: 1.4rem 1.75rem 1.25rem;
  background: var(--site-surface);
}

.customer-reward-link-block {
  min-width: 0;
}

.customer-reward-summary .affiliate-referral-control {
  margin-top: 0.9rem;
}

.customer-reward-summary .affiliate-referral-control .btn {
  border-color: var(--site-red);
  background: var(--site-red);
  color: var(--site-light-text);
}

.customer-reward-summary .affiliate-referral-control input {
  border-color: var(--site-line-dark);
  background: var(--site-paper);
  color: var(--site-ink);
}

.customer-reward-helper {
  margin: 0.7rem 0 0;
  color: var(--site-muted);
  font-size: 0.82rem;
  line-height: 1.45;
}

.customer-reward-rules {
  display: grid;
  grid-template-columns: 1fr;
  align-self: stretch;
  width: 100%;
  min-width: 0;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--site-line);
  border-radius: 6px;
  background: var(--site-paper);
}

.customer-reward-rules > div {
  display: grid;
  grid-template-columns: minmax(5.5rem, 0.7fr) minmax(0, 1.3fr);
  align-items: center;
  gap: 1.25rem;
  padding: 0.78rem 1.25rem !important;
  min-width: 0;
  min-height: 0;
}

.customer-reward-rules > div + div {
  border-top: 1px solid var(--site-line);
  border-left: 0;
}

.customer-reward-rules dt,
.customer-reward-rules dd {
  margin: 0;
}

.customer-reward-rules dt {
  min-width: 0;
  color: var(--site-muted);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.customer-reward-rules dd {
  min-width: 0;
  color: var(--site-ink);
  font-weight: 800;
  text-align: right;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.customer-reward-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  padding: 0 1.75rem 1.25rem;
}

.customer-reward-step {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  min-width: 0;
  color: var(--site-ink-soft);
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.35;
}

.customer-reward-step-number {
  display: inline-grid;
  flex: 0 0 1.65rem;
  width: 1.65rem;
  height: 1.65rem;
  place-items: center;
  border-radius: 50%;
  background: var(--site-red);
  color: var(--site-light-text);
  font-size: 0.78rem;
  font-weight: 800;
}

.customer-reward-footnote {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
  padding: 0.75rem 1.75rem;
  border-top: 1px solid var(--site-line);
  background: var(--site-ink-soft);
  color: oklch(88% 0.01 92);
  font-size: 0.78rem;
  font-weight: 700;
}

@media (max-width: 760px) {
  .customer-reward-hero,
  .customer-reward-share {
    grid-template-columns: 1fr;
    gap: 1.15rem;
    padding: 1.15rem;
  }

  .customer-reward-balance {
    padding: 0.85rem 0 0 0;
    border-top: 1px solid oklch(100% 0 0 / 0.22);
    border-left: 0;
  }

  .customer-reward-steps {
    grid-template-columns: 1fr;
    gap: 0.65rem;
    padding: 0 1.15rem 1.15rem;
  }

  .customer-reward-footnote {
    padding: 0.8rem 1.15rem;
  }
}

@media (max-width: 900px) {
  .customer-reward-share {
    grid-template-columns: 1fr;
  }

  .customer-reward-rules {
    width: 100%;
  }
}

@media (max-width: 760px) {
  .customer-reward-summary .affiliate-referral-control {
    grid-template-columns: 1fr;
  }

  .customer-reward-summary .affiliate-referral-control .btn {
    width: 100%;
    min-height: 44px;
  }
}

/* Admin operations */
.admin-ops-shell {
  min-height: calc(100vh - 100px);
  padding: 2rem 0 5rem !important;
  background: oklch(96.8% 0.006 265) !important;
}

.admin-ops-shell > * {
  width: min(1440px, calc(100% - 40px)) !important;
}

.admin-ops-hero {
  padding-bottom: 1.4rem;
  border-bottom: 1px solid var(--site-line);
}

.admin-ops-hero h1 {
  color: var(--site-ink) !important;
  font-size: 2.3rem !important;
}

.admin-ops-metrics {
  display: grid !important;
  overflow: hidden;
  grid-template-columns: repeat(6, minmax(0, 1fr)) !important;
  gap: 0 !important;
  border: 1px solid var(--site-line) !important;
  border-radius: 8px !important;
  background: var(--site-surface) !important;
}

.admin-ops-metrics span {
  min-width: 0;
  padding: 1rem !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.admin-ops-metrics span + span {
  border-left: 1px solid var(--site-line) !important;
}

.admin-ops-metrics strong {
  overflow-wrap: anywhere;
  color: var(--site-ink) !important;
  font-size: 1.1rem !important;
}

.admin-order-card,
.admin-discount-analytics,
.admin-side-panel section,
.admin-empty-state {
  border: 1px solid var(--site-line) !important;
  border-radius: 8px !important;
  background: var(--site-surface) !important;
  box-shadow: none !important;
}

.admin-order-summary {
  border-top: 1px solid var(--site-line);
  border-bottom: 1px solid var(--site-line);
}

.admin-order-summary span {
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
}

.admin-order-detail-grid section {
  border: 1px solid var(--site-line) !important;
  border-radius: 6px !important;
  background: var(--site-surface-muted) !important;
}

.admin-filter-tabs {
  top: 0;
  padding: 0.75rem 0;
  background: oklch(96.8% 0.006 265 / 0.96) !important;
  backdrop-filter: blur(8px);
}

.admin-table-scroll {
  width: 100%;
  overflow: auto hidden;
  border: 1px solid var(--site-line);
  border-radius: 8px;
  background: var(--site-surface);
}

.admin-data-table {
  width: 100%;
  min-width: 1120px;
  margin: 0;
  border-collapse: collapse;
  color: var(--site-ink);
  font-size: 0.8rem;
}

.admin-data-table th,
.admin-data-table td {
  padding: 0.75rem;
  border-bottom: 1px solid var(--site-line);
  text-align: left;
  vertical-align: middle;
  white-space: nowrap;
}

.admin-data-table th {
  background: var(--site-surface-muted);
  color: var(--site-muted);
  font-size: 0.65rem;
  font-weight: 800;
  text-transform: uppercase;
}

.admin-data-table tbody tr:hover {
  background: oklch(97.5% 0.006 265);
}

.admin-data-table tbody tr:last-child td {
  border-bottom: 0;
}

.admin-data-table code {
  color: var(--site-ink);
  font-weight: 750;
}

.admin-table-subtext {
  color: var(--site-muted);
  font-size: 0.7rem;
}

.admin-table-emphasis {
  color: var(--ux-red-dark);
  font-weight: 800;
}

.admin-table-action {
  min-height: 34px !important;
  padding: 0.4rem 0.65rem !important;
  font-size: 0.7rem !important;
}

.admin-section-spaced {
  margin-top: 2rem;
}

.admin-uppercase-input {
  text-transform: uppercase;
}

.admin-side-note {
  margin-top: 0.5rem !important;
  color: var(--site-muted) !important;
  font-size: 0.78rem !important;
  line-height: 1.5;
}

.admin-side-code {
  font-size: 0.8rem !important;
}

.admin-side-code code {
  overflow-wrap: anywhere;
}

.admin-referral-code,
.admin-referral-link {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.admin-referral-code {
  font-size: 1rem;
}

.admin-referral-link {
  overflow-wrap: anywhere;
  color: var(--site-muted) !important;
  font-size: 0.76rem !important;
  line-height: 1.5;
}

.admin-tier-panel {
  margin-top: 1rem;
  padding: 1rem;
  border: 1px solid var(--site-line);
  border-radius: 6px;
  background: var(--site-surface-muted);
}

.admin-tier-panel-body {
  margin-top: 0.65rem;
}

.admin-tier-progress {
  display: grid;
  gap: 0.55rem;
}

.admin-tier-progress p {
  margin: 0 !important;
  color: var(--site-ink) !important;
  font-size: 0.8rem !important;
}

.admin-tier-progress small {
  color: var(--site-muted);
  font-size: 0.7rem;
}

.admin-tier-track {
  height: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: oklch(87% 0.01 265);
}

.admin-tier-track span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--ux-red);
  transition: width 220ms var(--ease-out-quint);
}

.admin-tier-progress.is-complete p {
  color: oklch(42% 0.13 145) !important;
  font-weight: 750;
}

.admin-tier-progress.is-complete .admin-tier-track span {
  background: oklch(52% 0.15 145);
}

.admin-form-spaced {
  margin-top: 1rem;
}

.admin-balance-note {
  margin: 0 0 1rem !important;
  color: var(--site-muted) !important;
  font-size: 0.8rem !important;
}

.admin-side-panel li.is-current {
  color: var(--ux-red-dark);
  font-weight: 800;
}

.admin-affiliate-reason em {
  color: var(--site-muted);
  font-size: 0.68rem;
  font-style: normal;
  font-weight: 800;
  text-transform: uppercase;
}

.admin-affiliate-reason p {
  margin: 0.4rem 0 0 !important;
}

.admin-affiliate-reason p + em {
  display: block;
  margin-top: 1rem;
}

.admin-side-action {
  display: inline-flex;
  margin-top: 0.6rem;
}

/* Support assistant */
.pc-chatbot-panel {
  width: min(370px, calc(100vw - 2rem)) !important;
  height: min(520px, calc(100dvh - 6rem)) !important;
  max-height: min(520px, calc(100dvh - 6rem)) !important;
  border-radius: 8px !important;
  box-shadow: 0 20px 48px oklch(12% 0.018 265 / 0.22) !important;
}

.pc-chatbot-button {
  width: 46px !important;
  height: 46px !important;
  border-radius: 50% !important;
}

.pc-chatbot-button span {
  width: auto !important;
  height: auto !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  font-size: 1rem;
}

.pc-chatbot-header {
  padding: 0.85rem 0.9rem !important;
  background: var(--ux-dark) !important;
}

.pc-chatbot-eyebrow {
  font-size: 0.62rem !important;
  letter-spacing: 0 !important;
  text-transform: uppercase;
}

.pc-chatbot-header strong {
  margin-top: 0.12rem;
  font-size: 0.88rem !important;
}

.pc-chatbot-close {
  width: 36px !important;
  height: 36px !important;
  border-radius: 6px !important;
}

.pc-chatbot-messages {
  padding: 0.85rem !important;
  background: var(--ux-soft) !important;
}

.pc-chatbot-message {
  max-width: 94%;
  padding: 0.72rem 0.78rem !important;
  border-radius: 8px !important;
  box-shadow: none !important;
}

.pc-chatbot-message p {
  font-size: 0.82rem !important;
  line-height: 1.5 !important;
}

.pc-chatbot-quick {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 0 !important;
  padding: 0 !important;
  border-top: 1px solid var(--ux-line) !important;
}

.pc-chatbot-quick button {
  min-height: 42px !important;
  padding: 0.55rem 0.6rem !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: var(--ux-surface) !important;
  color: var(--ux-ink) !important;
  font-size: 0.7rem !important;
  line-height: 1.25;
}

.pc-chatbot-quick button:nth-child(even) {
  border-left: 1px solid var(--ux-line) !important;
}

.pc-chatbot-quick button:nth-child(n + 3) {
  border-top: 1px solid var(--ux-line) !important;
}

.pc-chatbot-quick button:hover {
  background: var(--ux-soft) !important;
  color: var(--ux-red-dark) !important;
}

.pc-chatbot-input {
  padding: 0.65rem !important;
}

.pc-chatbot-input input {
  min-height: 42px;
  border-radius: 6px !important;
  font-size: 0.82rem !important;
}

.pc-chatbot-input button {
  min-height: 42px;
  border-radius: 6px !important;
  font-size: 0.76rem;
}

@media (max-width: 980px) {
  .affiliate-faq-section {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .affiliate-faq-intro,
  .payment-faq-layout > aside {
    position: static;
  }

  .payment-faq-layout {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .affiliate-metrics-grid,
  .admin-ops-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .affiliate-metrics-grid .affiliate-metric-card:nth-child(3),
  .admin-ops-metrics span:nth-child(3),
  .admin-ops-metrics span:nth-child(5) {
    border-left: 0 !important;
  }

  .affiliate-metrics-grid .affiliate-metric-card:nth-child(n + 3),
  .admin-ops-metrics span:nth-child(n + 3) {
    border-top: 1px solid var(--site-line) !important;
  }
}

@media (max-width: 720px) {
  .affiliate-page-hero {
    padding: 3.6rem 0 !important;
  }

  .affiliate-page-hero h1 {
    font-size: 2.5rem !important;
    line-height: 1.04 !important;
  }

  .affiliate-page-hero p {
    font-size: 0.96rem !important;
    line-height: 1.55 !important;
  }

  .affiliate-hero-actions {
    gap: 0.65rem !important;
  }

  .product-page-shell .purchase-panel .add-save-card {
    grid-template-columns: 28px minmax(0, 1fr) !important;
  }

  .product-page-shell .purchase-panel .add-save-price {
    grid-column: 2;
    justify-items: start;
    grid-template-columns: auto auto;
    align-items: baseline;
    gap: 0.45rem;
  }

  .product-card-kit-price {
    white-space: normal;
  }

  body.guide-page .how-pay-page .pay-security-note {
    grid-template-columns: 1fr !important;
    gap: 0.35rem !important;
  }

  .affiliate-benefit-grid {
    grid-template-columns: 1fr !important;
  }

  .affiliate-benefit-card:nth-child(odd) {
    border-right: 0 !important;
  }

  .account-shell .account-dashboard {
    width: calc(100% - 20px) !important;
    margin-top: 1.25rem !important;
  }

  .account-dashboard-head h1 {
    font-size: 2.15rem !important;
  }

  .affiliate-referral-control {
    grid-template-columns: 1fr;
  }

  .affiliate-referral-control .btn {
    width: 100%;
  }

  .admin-ops-shell > * {
    width: calc(100% - 20px) !important;
  }

  .pc-chatbot-panel {
    right: -0.15rem;
    bottom: 62px;
    width: calc(100vw - 1.3rem) !important;
    height: min(74dvh, calc(100dvh - 5.2rem)) !important;
    max-height: min(74dvh, calc(100dvh - 5.2rem)) !important;
  }
}

/* Redraw 6 final cascade: keep the latest polish above older audit layers. */
.catalog-page .products-hero {
  position: relative;
  overflow: hidden;
  min-height: 380px !important;
  background: url("/assets/editorial/research-documentation.webp") center right / cover no-repeat !important;
}

.catalog-page .products-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  display: block !important;
  background: oklch(14% 0.02 265 / 0.84) !important;
  pointer-events: none;
}

body.catalog-page .products-hero::after,
.catalog-page .products-hero::after {
  display: none !important;
}

body.catalog-page .products-hero > *,
.catalog-page .products-hero > * {
  position: relative;
  z-index: 1;
}

.catalog-page .product-card {
  background: oklch(99.1% 0.003 92) !important;
}

.catalog-page .product-card .product-media {
  margin: 0 !important;
  border: 0 !important;
  border-bottom: 1px solid var(--ux-line) !important;
  border-radius: 0 !important;
  background: oklch(93.5% 0.006 92) !important;
}

.header-search-popover,
.search-panel,
.cart-drawer {
  overscroll-behavior: contain !important;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-y;
}

.header-search-popover {
  max-height: min(640px, calc(100dvh - 92px)) !important;
  overflow-x: hidden !important;
  overflow-y: auto !important;
}

.cart-drawer {
  max-height: 100dvh !important;
  overflow-x: hidden !important;
  overflow-y: auto !important;
}

@media (max-width: 720px) {
  .catalog-page .products-hero {
    min-height: 330px !important;
    background-image: url("/assets/editorial/research-documentation.webp") !important;
    background-position: center !important;
    background-size: cover !important;
    background-repeat: no-repeat !important;
  }
}

/* Redraw 7: stronger first impression and payment instruction hierarchy. */
body.home .home-hero {
  min-height: 600px;
  color: oklch(98% 0.006 95);
}

body.home .home-hero-overlay {
  background: oklch(10% 0.018 265 / 0.68);
}

body.home .home-hero-content {
  padding-top: 5rem;
  padding-bottom: 4.25rem;
}

body.home .home-hero .home-kicker {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  min-height: 28px;
  padding: 0.28rem 0.58rem;
  border: 1px solid oklch(76% 0.16 24 / 0.36);
  border-radius: 999px;
  background: oklch(17% 0.024 265 / 0.78);
  color: oklch(78% 0.17 24);
  font-size: 0.7rem;
  letter-spacing: 0;
}

body.home .home-hero h1 {
  max-width: 780px;
  color: oklch(98% 0.006 95);
  font-size: 4.35rem;
  line-height: 1;
  letter-spacing: 0;
}

body.home .home-hero-content > p:not(.home-hero-notice) {
  max-width: 720px;
  color: oklch(91% 0.012 255 / 0.9);
  font-size: 1.1rem;
  line-height: 1.62;
}

body.home .home-hero-notice {
  color: oklch(84% 0.012 255 / 0.82);
}

body.guide-page .how-pay-page .payment-safety-section {
  display: grid !important;
  width: min(1120px, calc(100% - 48px)) !important;
  margin: 3.75rem auto 0 !important;
  padding: 0 !important;
  grid-template-columns: minmax(300px, 0.85fr) minmax(0, 1.35fr);
  overflow: hidden;
  border: 1px solid var(--ux-line);
  border-radius: 10px;
  background: var(--ux-surface);
  box-shadow: 0 22px 58px oklch(24% 0.02 265 / 0.1);
}

body.guide-page .how-pay-page .payment-safety-section .section-heading {
  display: grid !important;
  max-width: none !important;
  min-height: 100%;
  align-content: center;
  padding: 2.15rem !important;
  background: oklch(14% 0.02 265);
}

body.reveal-enabled .how-pay-page .payment-safety-section .section-heading.reveal-item {
  opacity: 1 !important;
  transform: none !important;
  transition: none !important;
}

body.guide-page .how-pay-page .payment-safety-section .section-heading .eyebrow {
  color: oklch(78% 0.17 24) !important;
}

body.guide-page .how-pay-page .payment-safety-section .section-heading h2 {
  max-width: 17ch !important;
  color: oklch(98% 0.006 95) !important;
  font-size: 2rem !important;
  line-height: 1.08 !important;
}

body.guide-page .how-pay-page .payment-safety-section .section-heading p {
  max-width: 34ch !important;
  color: oklch(84% 0.012 255 / 0.82) !important;
  font-size: 0.88rem !important;
  line-height: 1.65 !important;
}

body.guide-page .how-pay-page .payment-safety-grid {
  display: grid !important;
  margin: 0 !important;
  grid-template-columns: 1fr !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
}

body.guide-page .how-pay-page .pay-security-note {
  display: grid !important;
  min-height: 128px;
  padding: 1.35rem 1.55rem !important;
  grid-template-columns: 92px minmax(0, 1fr) !important;
  align-items: start;
  gap: 1.05rem !important;
  border-left: 1px solid var(--ux-line);
  background: oklch(99% 0.003 92) !important;
}

body.guide-page .how-pay-page .pay-security-note + .pay-security-note {
  border-top: 1px solid var(--ux-line) !important;
  border-left: 1px solid var(--ux-line) !important;
}

body.guide-page .how-pay-page .pay-security-note > span {
  display: inline-flex !important;
  width: fit-content !important;
  min-width: 74px;
  min-height: 28px;
  align-items: center;
  justify-content: center;
  padding: 0.26rem 0.5rem !important;
  border: 1px solid oklch(64% 0.16 24 / 0.32);
  border-radius: 999px !important;
  background: oklch(96% 0.032 24) !important;
  color: var(--ux-red-dark) !important;
  font-size: 0.66rem !important;
  font-weight: 900 !important;
  line-height: 1 !important;
  text-transform: uppercase;
}

body.guide-page .how-pay-page .pay-security-note strong {
  display: block;
  color: var(--ux-ink) !important;
  font-size: 0.92rem !important;
  line-height: 1.3;
}

body.guide-page .how-pay-page .pay-security-note p {
  max-width: 58ch;
  margin-top: 0.42rem !important;
  color: var(--ux-muted) !important;
  font-size: 0.82rem !important;
  line-height: 1.58 !important;
}

body.guide-page .how-pay-page .payment-safety-callout {
  display: grid !important;
  width: 100% !important;
  max-width: none !important;
  grid-column: 1 / -1;
  justify-self: stretch;
  margin: 0 !important;
  grid-template-columns: minmax(260px, 0.52fr) minmax(0, 1fr);
  overflow: hidden;
  border: 0 !important;
  border-top: 1px solid oklch(34% 0.03 265);
  border-radius: 0 !important;
  background: oklch(13% 0.018 265) !important;
  box-shadow: none !important;
}

body.guide-page .how-pay-page .payment-safety-callout strong,
body.guide-page .how-pay-page .payment-safety-callout span {
  display: flex;
  min-height: 58px;
  align-items: center;
  padding: 1rem 1.35rem;
}

body.guide-page .how-pay-page .payment-safety-callout strong {
  border-right: 1px solid oklch(34% 0.03 265);
  color: oklch(98% 0.006 95) !important;
  font-size: 0.86rem !important;
}

body.guide-page .how-pay-page .payment-safety-callout span {
  color: oklch(84% 0.012 255 / 0.86) !important;
  font-size: 0.8rem !important;
  line-height: 1.5 !important;
}

body.guide-page .how-pay-actions,
body.guide-page .payment-faq-layout {
  width: min(1120px, calc(100% - 48px)) !important;
}

body.guide-page .how-pay-actions {
  margin-top: 1.1rem !important;
}

body.guide-page .payment-faq-layout {
  margin: 3rem auto 0 !important;
  grid-template-columns: minmax(260px, 320px) minmax(0, 1fr) !important;
  gap: 2.5rem !important;
  align-items: start;
}

body.guide-page .payment-faq-layout > aside {
  border-radius: 10px !important;
  background: oklch(97% 0.007 88) !important;
}

body.guide-page .payment-faq-layout .faq-list {
  padding: 1.8rem !important;
  border: 1px solid var(--ux-line);
  border-radius: 10px;
  background: oklch(99% 0.003 92);
}

body.guide-page .payment-faq-layout .faq-list > h2 {
  margin-top: 0 !important;
}

body.guide-page .payment-faq-layout .faq-list details:last-child {
  border-bottom: 0 !important;
}

@media (max-width: 900px) {
  body.guide-page .how-pay-page .payment-safety-section {
    width: min(100% - 28px, 680px) !important;
    grid-template-columns: 1fr;
  }

  body.guide-page .how-pay-page .pay-security-note,
  body.guide-page .how-pay-page .pay-security-note + .pay-security-note {
    border-left: 0 !important;
  }

  body.guide-page .payment-faq-layout {
    width: min(100% - 28px, 680px) !important;
    grid-template-columns: 1fr !important;
    gap: 1.2rem !important;
  }
}

@media (max-width: 720px) {
  body.home .home-hero {
    min-height: 560px;
  }

  body.home .home-hero h1 {
    max-width: 9ch;
    font-size: 3.1rem !important;
    line-height: 1.02 !important;
  }

  body.home .home-hero-content > p:not(.home-hero-notice) {
    font-size: 0.98rem;
    line-height: 1.56;
  }

  body.guide-page .how-pay-page .payment-safety-section .section-heading {
    padding: 1.45rem !important;
  }

  body.guide-page .how-pay-page .payment-safety-section .section-heading h2 {
    max-width: 100% !important;
    font-size: 1.55rem !important;
  }

  body.guide-page .how-pay-page .pay-security-note {
    min-height: 0;
    padding: 1.1rem !important;
    grid-template-columns: 1fr !important;
    gap: 0.62rem !important;
  }

  body.guide-page .how-pay-page .payment-safety-callout {
    grid-template-columns: 1fr;
  }

  body.guide-page .how-pay-page .payment-safety-callout strong {
    border-right: 0;
    border-bottom: 1px solid oklch(34% 0.03 265);
  }

  body.guide-page .how-pay-actions {
    width: min(100% - 28px, 680px) !important;
  }

  body.guide-page .payment-faq-layout .faq-list {
    padding: 1.2rem !important;
  }
}

/* Final audit fixes: account access, not-found, search readability, and touch targets. */
.account-shell .auth-stage {
  display: grid;
  width: min(1080px, calc(100% - 48px));
  margin: 2rem auto 5rem;
  grid-template-columns: minmax(300px, 0.88fr) minmax(420px, 1.12fr);
  grid-template-areas: "context form";
  border: 1px solid var(--site-line);
  border-radius: 8px;
  background: var(--site-surface);
  overflow: hidden;
}

.account-shell .auth-stage .auth-card {
  grid-area: form;
  width: 100% !important;
  margin: 0 !important;
  padding: 2.5rem !important;
  align-self: stretch;
  border: 0 !important;
  border-radius: 0 !important;
}

.auth-context-panel {
  position: relative;
  isolation: isolate;
  display: flex;
  grid-area: context;
  min-height: 100%;
  padding: 2.5rem;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  border-right: 1px solid var(--site-line-dark);
  background: var(--site-ink) url("/assets/editorial/research-documentation.webp") center / cover no-repeat;
  color: var(--site-light-text);
}

.auth-context-panel::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: oklch(10% 0.018 265 / 0.84);
}

.auth-context-panel .eyebrow {
  color: oklch(76% 0.17 24);
}

.auth-context-panel h2 {
  max-width: 13ch;
  margin: 0.7rem 0 1rem;
  color: var(--site-light-text);
  font-size: 2rem;
  line-height: 1.05;
  letter-spacing: 0;
}

.auth-context-panel p {
  max-width: 42ch;
  margin: 0;
  color: var(--site-light-muted);
  font-size: 0.9rem;
  line-height: 1.65;
}

.auth-context-panel ul {
  display: grid;
  margin: 1.5rem 0;
  padding: 0;
  gap: 0;
  list-style: none;
  border-top: 1px solid var(--site-line-dark);
}

.auth-context-panel li {
  position: relative;
  padding: 0.75rem 0 0.75rem 1.15rem;
  border-bottom: 1px solid var(--site-line-dark);
  color: var(--site-light-text);
  font-size: 0.78rem;
  line-height: 1.4;
}

.auth-context-panel li::before {
  content: "";
  position: absolute;
  top: 1.05rem;
  left: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--ux-red);
}

.auth-context-panel > a {
  width: fit-content;
  color: var(--site-light-text);
  font-size: 0.78rem;
  font-weight: 750;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.not-found-shell {
  min-height: 64vh;
  padding: 2rem 0 5rem;
  background: var(--site-paper);
}

.not-found-layout {
  display: grid;
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  overflow: hidden;
  grid-template-columns: minmax(0, 0.95fr) minmax(380px, 1.05fr);
  border: 1px solid var(--site-line);
  border-radius: 8px;
  background: var(--site-surface);
}

.not-found-copy {
  display: flex;
  padding: 3.5rem;
  flex-direction: column;
  justify-content: center;
}

.not-found-copy h1 {
  max-width: 12ch;
  margin: 0.7rem 0 1rem;
  color: var(--site-ink);
  font-size: 3.4rem;
  line-height: 0.98;
  letter-spacing: 0;
}

.not-found-copy > p {
  max-width: 55ch;
  margin: 0;
  color: var(--site-muted);
  line-height: 1.7;
}

.not-found-links {
  display: flex;
  margin-top: 2rem;
  padding-top: 1rem;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  border-top: 1px solid var(--site-line);
}

.not-found-links a {
  color: var(--site-ink-soft);
  font-size: 0.78rem;
  font-weight: 700;
}

.not-found-media {
  position: relative;
  min-height: 520px;
  margin: 0;
  border-left: 1px solid var(--site-line);
  background: var(--site-ink);
}

.not-found-media img {
  width: 100%;
  height: 100%;
  min-height: 520px;
  object-fit: cover;
  opacity: 0.72;
}

.not-found-media figcaption {
  position: absolute;
  right: 1.25rem;
  bottom: 1.25rem;
  left: 1.25rem;
  display: grid;
  padding: 1rem;
  gap: 0.2rem;
  border: 1px solid oklch(80% 0.012 265 / 0.35);
  background: oklch(12% 0.018 265 / 0.9);
}

.not-found-media figcaption strong {
  color: var(--site-light-text);
  font-size: 0.86rem;
}

.not-found-media figcaption span {
  color: var(--site-light-muted);
  font-size: 0.7rem;
}

.search-result-price {
  display: grid !important;
  margin-top: 0.2rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: 0.35rem 0.75rem !important;
}

.search-result-price-line {
  display: grid !important;
  min-width: 0;
  gap: 0.08rem !important;
}

.search-result-price-line small {
  color: var(--ux-muted) !important;
  font-size: 0.58rem !important;
  font-weight: 700;
  text-transform: uppercase;
}

.search-result-price-line b {
  color: var(--ux-ink) !important;
  font-size: 0.72rem;
  line-height: 1.25;
  white-space: nowrap;
}

.search-result-saving {
  grid-column: 1 / -1;
  width: fit-content;
  color: var(--ux-red-dark) !important;
  font-size: 0.62rem !important;
  font-weight: 800;
}

.status-intro-cancel .page-intro-copy {
  grid-column: 2;
}

.status-intro-cancel .page-intro-media {
  grid-row: 1;
  grid-column: 1;
  border-right: 1px solid var(--site-line-dark);
  border-left: 0;
}

body.cart-open .cart-drawer {
  opacity: 1 !important;
  pointer-events: auto !important;
  transform: translateX(0) !important;
}

@media (max-width: 760px) {
  .account-shell .auth-stage {
    width: calc(100% - 20px);
    margin: 1.25rem auto 4rem;
    grid-template-columns: 1fr;
    grid-template-areas:
      "form"
      "context";
  }

  .account-shell .auth-stage .auth-card {
    padding: 1.5rem !important;
  }

  .auth-context-panel {
    min-height: 330px;
    padding: 1.5rem;
    border-top: 1px solid var(--site-line-dark);
    border-right: 0;
  }

  .auth-context-panel h2 {
    max-width: 15ch;
    font-size: 1.65rem;
  }

  .not-found-shell {
    padding-top: 0.75rem;
  }

  .not-found-layout {
    width: calc(100% - 20px);
    grid-template-columns: 1fr;
  }

  .not-found-copy {
    padding: 2rem 1.25rem;
  }

  .not-found-copy h1 {
    font-size: 2.45rem;
  }

  .not-found-media,
  .not-found-media img {
    min-height: 240px;
  }

  .not-found-media {
    border-top: 1px solid var(--site-line);
    border-left: 0;
  }

  .status-intro-cancel .page-intro-copy,
  .status-intro-cancel .page-intro-media {
    grid-row: auto;
    grid-column: auto;
  }

  .status-intro-cancel .page-intro-media {
    border-right: 0;
  }

  .site-header .brand,
  .site-header .icon-btn,
  .site-header .menu-toggle,
  .mobile-search-toggle,
  .header-search-submit,
  .search-panel-head button {
    min-width: 44px !important;
    min-height: 44px !important;
  }

  .site-header .primary-nav a,
  .site-header .account-nav a,
  .btn,
  .card-order,
  .catalog-filter,
  .sort-btn,
  .popular-searches button,
  .faq-list summary {
    min-height: 44px !important;
  }

  .cart-head button {
    width: 44px !important;
    height: 44px !important;
  }

  .cart-qty {
    width: 128px !important;
    grid-template-columns: 44px 40px 44px !important;
  }

  .cart-qty button,
  .cart-qty span {
    height: 44px !important;
  }

  .cart-remove,
  .cart-continue-shopping,
  .account-inline-link,
  .account-switch a,
  .auth-context-panel > a {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
  }

  .site-footer a {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
  }
}

@media (max-width: 460px) {
  .search-result-price {
    grid-template-columns: 1fr;
  }

  .search-result-saving {
    grid-column: auto;
  }
}

/* Decorative capsule removal: keep labels useful without the generated-pill look. */
.home-kicker,
.eyebrow,
.hero-badge,
.stock-pill,
.pill,
.add-save-badge,
.payment-method-card b,
body.guide-page .how-pay-page .pay-security-note > span {
  min-height: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

/* Payment choice clarity: expose the on-ramp flow before customers continue. */
.checkout-page-shell .payment-method-card {
  grid-template-columns: 22px minmax(0, 1fr) minmax(138px, 176px) !important;
  align-items: center !important;
  gap: 1rem !important;
  padding: 1.15rem !important;
  transition: border-color 180ms var(--ease-out-quint), background-color 180ms var(--ease-out-quint);
}

.checkout-page-shell .payment-method-card.recommended {
  align-items: start !important;
  border-color: var(--ux-red-dark) !important;
  background: oklch(98% 0.012 24) !important;
}

.checkout-page-shell .payment-method-card:has(input[name="paymentMethod"]:checked) {
  border-color: var(--ux-red-dark) !important;
  outline: 2px solid oklch(53% 0.2 24 / 0.12);
  outline-offset: 0;
}

.checkout-page-shell .payment-method-card input {
  width: 20px !important;
  min-height: 20px !important;
  margin: 0.15rem 0 0 !important;
}

.payment-method-copy {
  display: block;
  min-width: 0;
}

.checkout-page-shell .payment-method-copy em {
  margin-bottom: 0.28rem;
  color: var(--ux-red-dark) !important;
  font-size: 0.7rem !important;
  letter-spacing: 0 !important;
}

.checkout-page-shell .payment-method-copy > strong {
  color: var(--ux-ink) !important;
  font-size: 1.08rem !important;
  line-height: 1.25;
}

.checkout-page-shell .payment-method-copy > small {
  max-width: 64ch;
  margin-top: 0.28rem;
  color: var(--ux-muted) !important;
  font-size: 0.8rem !important;
  line-height: 1.55 !important;
}

.payment-method-disclosure {
  display: block;
  max-width: 64ch;
  margin-top: 0.78rem;
  padding-top: 0.72rem;
  border-top: 1px solid var(--ux-line);
  color: var(--ux-muted) !important;
  font-size: 0.76rem;
  line-height: 1.5;
}

.payment-method-disclosure strong {
  display: inline !important;
  color: var(--ux-ink) !important;
  font-size: inherit !important;
}

/* JavaScript uses the native hidden state while payment choices are filtered by market. */
.checkout-page-shell .payment-method-card[hidden],
.checkout-page-shell .payment-transak-email[hidden],
.checkout-page-shell .payment-options-toggle[hidden] {
  display: none !important;
}

/* ---- Admin support inbox ---------------------------------------- */
.admin-support-summary {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
  margin: 1.25rem 0;
}

.admin-support-summary > div {
  display: grid;
  gap: 0.2rem;
  padding: 1rem;
  border: 1px solid var(--site-line, #d8dbe2);
  border-radius: 6px;
  background: var(--site-surface, #fff);
}

.admin-support-summary strong {
  color: var(--site-red, var(--nova-dark-accent));
  font-size: 1.45rem;
}

.admin-support-summary span,
.admin-support-card-meta span,
.admin-support-question > span,
.admin-support-history > span,
.admin-support-status-form label > span,
.admin-support-reply-form label > span {
  color: var(--site-muted, #5f6672);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.admin-support-toolbar {
  margin-bottom: 1.25rem;
}

.admin-filter-form {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(180px, 0.8fr) auto auto;
  gap: 0.75rem;
  align-items: end;
}

.admin-filter-form label,
.admin-support-status-form label,
.admin-support-reply-form label {
  display: grid;
  gap: 0.4rem;
}

.admin-filter-form input,
.admin-filter-form select,
.admin-support-status-form select,
.admin-support-status-form textarea,
.admin-support-reply-form textarea {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid var(--site-line, #d8dbe2);
  border-radius: 5px;
  background: var(--site-surface, #fff);
  color: var(--site-ink, #111827);
  font: inherit;
  padding: 0.7rem 0.75rem;
}

.admin-support-list {
  display: grid;
  gap: 1rem;
}

.admin-support-card {
  padding: 1.25rem;
  border: 1px solid var(--site-line, #d8dbe2);
  border-radius: 6px;
  background: var(--site-surface, #fff);
  scroll-margin-top: 1rem;
}

.admin-support-card.is-selected {
  border-color: var(--site-red, var(--nova-dark-accent));
  box-shadow: 0 0 0 2px rgba(176, 0, 32, 0.1);
}

.admin-support-card-header {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  justify-content: space-between;
  padding-bottom: 0.9rem;
  border-bottom: 1px solid var(--site-line, #d8dbe2);
}

.admin-support-card-header h2 {
  margin: 0.45rem 0 0.2rem;
  font-size: 1.2rem;
}

.admin-support-card-header p,
.admin-support-card-meta,
.admin-support-question p,
.admin-support-history-item p,
.admin-empty-state p {
  margin: 0;
  color: var(--site-muted, #5f6672);
  line-height: 1.55;
}

.admin-support-card-meta {
  display: grid;
  gap: 0.25rem;
  min-width: 165px;
  text-align: right;
}

.admin-support-card-meta strong {
  font-size: 0.78rem;
}

.admin-support-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  padding: 0.8rem 0;
  color: var(--site-muted, #5f6672);
  font-size: 0.82rem;
}

.admin-support-question,
.admin-support-history {
  display: grid;
  gap: 0.45rem;
  margin-top: 0.75rem;
  padding: 0.9rem;
  border-radius: 5px;
  background: var(--site-surface-muted, #f1f3f6);
}

.admin-support-question p,
.admin-support-history-item p {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.admin-support-history {
  background: transparent;
  border: 1px solid var(--site-line, #d8dbe2);
}

.admin-support-history-item {
  padding: 0.75rem;
  border-top: 1px solid var(--site-line, #d8dbe2);
}

.admin-support-history-item:first-of-type {
  border-top: 0;
}

.admin-support-history-item strong,
.admin-support-history-item small {
  color: var(--site-muted, #5f6672);
  font-size: 0.78rem;
}

.admin-support-history-item small {
  display: block;
  margin-top: 0.4rem;
  color: var(--site-red, var(--nova-dark-accent));
}

.admin-support-error {
  margin-top: 0.75rem;
  padding: 0.75rem;
  border: 1px solid #e6a1aa;
  border-radius: 5px;
  color: #8c1628;
  background: #fff6f7;
  overflow-wrap: anywhere;
}

.admin-support-actions {
  display: grid;
  grid-template-columns: minmax(220px, 0.7fr) minmax(0, 1.3fr);
  gap: 1rem;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--site-line, #d8dbe2);
}

.admin-support-status-form,
.admin-support-reply-form {
  display: grid;
  gap: 0.7rem;
  align-content: start;
}

.admin-support-status-form .btn,
.admin-support-reply-form .btn {
  justify-self: start;
}

.status-support-new { background: #fff3d6; color: #744900; }
.status-support-in_progress { background: #e5efff; color: #174b8d; }
.status-support-waiting_for_customer { background: #eee5ff; color: #5c2c95; }
.status-support-resolved,
.status-support-closed { background: #e1f5e8; color: #1e6840; }

.admin-empty-state {
  padding: 2.25rem 1.25rem;
  border: 1px dashed var(--site-line, #d8dbe2);
  border-radius: 6px;
  text-align: center;
}

@media (max-width: 780px) {
  .admin-support-summary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .admin-filter-form,
  .admin-support-actions {
    grid-template-columns: 1fr;
  }

  .admin-filter-form .btn,
  .admin-support-status-form .btn,
  .admin-support-reply-form .btn {
    width: 100%;
  }

  .admin-support-card-header {
    display: grid;
  }

  .admin-support-card-meta {
    min-width: 0;
    text-align: left;
  }
}

.payment-transak-email {
  display: grid;
  gap: 0.4rem;
  margin: -0.25rem 0 1rem;
  padding: 0.85rem 1rem 0.95rem;
  border: 1px solid var(--ux-line);
  border-left: 3px solid var(--ux-red-dark);
  background: oklch(99% 0.004 92);
}

.payment-transak-email label {
  color: var(--ux-ink);
  font-size: 0.78rem;
  font-weight: 800;
}

.payment-transak-email input {
  width: 100%;
  min-height: 42px;
  padding: 0.65rem 0.75rem;
  border: 1px solid var(--ux-line-strong, var(--ux-line));
  border-radius: 4px;
  background: #fff;
  color: var(--ux-ink);
  font: inherit;
}

.payment-transak-email small {
  color: var(--ux-muted);
  font-size: 0.74rem;
  line-height: 1.45;
}

.payment-confirmation-note {
  display: block;
  margin-top: 0.55rem;
  color: var(--ux-red-dark) !important;
  font-size: 0.7rem;
  font-weight: 850;
  line-height: 1.4;
  text-transform: uppercase;
}

.payment-method-aside {
  display: grid;
  min-width: 0;
  justify-items: end;
  gap: 0.7rem;
}

.payment-brand-grid {
  min-width: 0;
}

.payment-brand-grid {
  display: grid;
  width: 100%;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.38rem;
}

.payment-brand {
  display: grid;
  width: 100%;
  min-height: 34px;
  place-items: center;
  overflow: hidden;
  border: 1px solid var(--ux-line);
  border-radius: 5px;
  background: oklch(99% 0.003 92);
}

.payment-method-aside > .payment-brand {
  width: 88px;
}

.payment-brand img {
  display: block;
  width: auto;
  max-width: 72%;
  height: 20px;
  max-height: 28px;
  object-fit: contain;
}

.payment-brand--mastercard img {
  height: 24px;
  max-width: 42px;
}

.payment-brand--apple img,
.payment-brand--google img {
  height: 18px;
}

.payment-brand--interac img {
  height: 30px;
  max-width: 52px;
}

.payment-brand--usdt img {
  height: 30px;
  max-width: 64px;
}

.payment-brand--paypal img {
  height: 20px;
  max-width: 74px;
}

.payment-method-comparison ul {
  display: grid;
  margin-top: 1rem;
  padding-left: 0 !important;
  list-style: none;
}

.payment-method-comparison li {
  display: block;
  padding: 0.58rem 0;
}

.payment-method-comparison li + li {
  border-top: 1px solid var(--ux-line);
}

.payment-method-comparison li::marker,
.payment-method-comparison li::before {
  content: none !important;
}

@media (max-width: 720px) {
  .promo-bar > div > span::after {
    width: 1px;
    height: 11px;
    border-radius: 0;
    background: oklch(96% 0.006 92 / 0.28);
    opacity: 1;
  }

  .checkout-page-shell .payment-method-card {
    grid-template-columns: 22px minmax(0, 1fr) !important;
    align-items: start !important;
    gap: 0.85rem !important;
    padding: 1rem !important;
  }

  .checkout-page-shell .payment-method-card input {
    grid-row: 1;
    grid-column: 1;
  }

  .checkout-page-shell .payment-method-copy {
    grid-row: 1;
    grid-column: 2;
  }

  .checkout-page-shell .payment-method-aside {
    width: 100%;
    grid-row: 2;
    grid-column: 2;
    justify-items: start;
  }

  .checkout-page-shell .payment-brand-grid {
    max-width: 248px;
  }

  .checkout-page-shell .payment-method-card b {
    font-size: 0.68rem;
  }

  .payment-method-comparison ul {
    margin-top: 0.75rem;
  }

  .payment-method-comparison li {
    padding: 0.5rem 0;
  }

  .site-footer .payment-pills {
    flex-wrap: wrap;
    gap: 0.35rem 0.75rem;
  }

  .site-footer .payment-pills em + em::before {
    content: none;
  }
}

.home-kicker {
  display: inline-flex !important;
  width: fit-content;
  align-items: center;
  gap: 0.55rem;
}

.home-kicker::before {
  content: "";
  width: 18px;
  height: 2px;
  flex: 0 0 auto;
  background: currentColor;
}

.hero-badge,
.stock-pill,
.pill {
  gap: 0.45rem;
}

.stock-pill::before,
.hero-badge i,
.pill::before {
  width: 7px;
  height: 7px;
  flex: 0 0 auto;
}

.pill::before {
  content: "";
  display: block;
  border-radius: 50%;
  background: currentColor;
}

.hero-tags {
  gap: 0;
}

.hero-tags span {
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.hero-tags span + span::before {
  content: "/";
  margin: 0 0.65rem;
  color: currentColor;
  opacity: 0.48;
}

.payment-pills {
  gap: 0;
}

.payment-pills em {
  min-height: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.site-footer .footer-bottom .payment-pills em {
  background: transparent !important;
}

.payment-pills em + em::before {
  content: "/";
  margin: 0 0.5rem;
  opacity: 0.5;
}

.product-card-kit-saving,
.variant-price-stack small {
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
}

.bundle-option em,
.status-badge,
.admin-pay-chips a,
.admin-pay-chips a span {
  border-radius: 3px !important;
}

.bundle-option,
.variant-options button,
.chip,
.sort-btn,
.popular-searches button,
.rec-item button,
.pc-chatbot-quick button,
.pc-chatbot-lead-head button {
  border-radius: 6px !important;
}

/* =========================================================
   MOBILE VISUAL POLISH (appended override layer)
   Wins over earlier mobile layers because it is last.
   1) Catalog images — consistent contain-fit rendering
   2) Product card metadata — badge/package alignment + pill
   3) Footer — vertical link stack, spacing, 44px tap targets
   ========================================================= */

/* ---------- 1) Standardized catalog image rendering (all viewports) ----------
   Every generated web asset is a 1200px square with the master vial centred on
   white. Contain-fit preserves the full package and prevents any crop or warp. */
.product-media {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  aspect-ratio: 1 / 1 !important;
  /* Reset the base `.product-media { margin: 1rem 1rem 0 }` (style.css ~line 389).
     The catalog page already resets it to 0, but the homepage Featured /
     Catalog Highlights section never did, so its image container was pushed
     right (16px L margin overflowing the card's right padding) and the whole
     image read as shifted right. Zeroing it centers the container in the card. */
  margin: 0 !important;
  /* No gray frame: transparent background, no inset padding, no border so the
     product photo sits cleanly in the card with nothing boxed around it. */
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  overflow: hidden !important;
}
/* Content-sized, flex-centered image: centering comes from the flex container,
   never from object-position/margins, so it is centered for every aspect ratio,
   after hover, lazy-load and at every breakpoint, with equal space both sides. */
.product-media img {
  width: auto !important;
  height: auto !important;
  max-width: 100% !important;
  max-height: 100% !important;
  margin: 0 !important;
  object-fit: contain !important;
  object-position: center center !important;
  box-sizing: border-box !important;
}
.product-card:hover .product-media img {
  transform: scale(1.03) !important;
}

body.catalog-page .product-card .product-media,
body.catalog-page [data-product-grid] .product-card .product-media {
  background: #ffffff !important;
  border-bottom: 0 !important;
}

/* Product detail page main image: same centred, full-vial square frame. */
.detail-media {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  aspect-ratio: 1 / 1 !important;
  padding: 0 !important;
  overflow: hidden !important;
  background: transparent !important;
  border: 0 !important;
}
.detail-media img,
.product-page-shell .detail-media img {
  width: 100% !important;
  height: 100% !important;
  aspect-ratio: auto !important;
  object-fit: contain !important;
  object-position: center center !important;
}

/* ---------- 2) Product card metadata row ----------
   Keep only the availability badge (Available / New arrival / Out of stock).
   The gray package-type pill (Kit available / Single vial / 10-vial kit) added
   visual noise and duplicated the kit price/savings line, so it is removed. */
.product-card-topline {
  display: flex !important;
  align-items: center !important;
  gap: 0 !important;
  min-height: 0 !important;
}
.product-card-topline > .product-card-status {
  flex: 0 1 auto !important;
  white-space: nowrap !important;
}
.product-card-topline > span:last-child:not(.product-card-status) {
  display: none !important;
}

/* ---------- 3) Footer mobile layout ----------
   An earlier rule set footer links to display:inline-flex at <=760px, which
   made them run together ("All ProductsQuality StandardsFAQContact"). Restore a
   clean single-column stack with comfortable 44px tap targets and generous
   section spacing. Targets only the unclassed link columns (Shop, Company
   Information, Policies) so the brand / service-strip / notice keep their
   layouts. */
@media (max-width: 760px) {
  .site-footer .footer-inner {
    width: calc(100% - 40px) !important;
    row-gap: 2.25rem !important;
  }
  .site-footer .footer-inner > section:not([class]) {
    display: flex !important;
    flex-direction: column !important;
    gap: 8px !important;
    margin-top: 2.25rem !important;
  }
  .site-footer .footer-inner > section:not([class]):first-of-type {
    margin-top: 0 !important;
  }
  .site-footer .footer-inner > section:not([class]) h3 {
    margin: 0 0 0.6rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.12em !important;
  }
  .site-footer .footer-inner > section:not([class]) a {
    display: flex !important;
    width: 100% !important;
    min-height: 44px !important;
    margin: 0 !important;
    align-items: center !important;
    font-size: 1rem !important;
    line-height: 1.5 !important;
  }
  /* Email + Instagram breathing room before the link columns. */
  .site-footer .footer-brand .footer-email {
    display: inline-flex !important;
    min-height: 44px !important;
    align-items: center !important;
    margin-bottom: 1.25rem !important;
  }
  .site-footer .footer-brand .social-links {
    margin-bottom: 1.75rem !important;
  }
  .site-footer .footer-notice p {
    line-height: 1.75 !important;
  }
}

/* =========================================================
   TYPOGRAPHY SYSTEM — Manrope (headings) + Inter (body)
   Token-driven, responsive scale. Appended last so the
   heading typeface + scale win over earlier ad-hoc rules.
   Self-hosted (no external font CDN) to respect the CSP.
   ========================================================= */
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("/assets/fonts/manrope-var.woff2") format("woff2");
}

:root {
  /* Responsive type scale, mobile -> desktop (matches the design spec) */
  --fs-h1: clamp(2.375rem, 1.55rem + 3.50vw, 3.5rem);   /* 38 -> 56 */
  --fs-h2: clamp(1.875rem, 1.40rem + 2.00vw, 2.625rem); /* 30 -> 42 */
  --fs-h3: clamp(1.500rem, 1.25rem + 1.07vw, 2.000rem); /* 24 -> 32 */
  --fs-h4: clamp(1.250rem, 1.10rem + 0.64vw, 1.625rem); /* 20 -> 26 */
  --fs-h5: clamp(1.125rem, 1.02rem + 0.45vw, 1.375rem); /* 18 -> 22 */
  --fs-h6: clamp(1.000rem, 0.96rem + 0.18vw, 1.125rem); /* 16 -> 18 */
}

/* Headings adopt Manrope; body/UI stays Inter. The font-family override is
   safe (typeface only) and intentionally global. */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading) !important;
  letter-spacing: -0.02em;
  line-height: 1.18;
}
h1, h2, h3 { font-weight: 700; }
h4, h5, h6 { font-weight: 600; }

/* Baseline sizes for headings WITHOUT a component-specific size. No !important,
   so tuned component headings (product card titles, etc.) keep their own sizes. */
h1 { font-size: var(--fs-h1); line-height: 1.1; }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); }
h4 { font-size: var(--fs-h4); }
h5 { font-size: var(--fs-h5); }
h6 { font-size: var(--fs-h6); }

/* Body/UI typeface + readable measure */
body { font-family: var(--font-body); }
p, li { line-height: 1.7; }

/* Buttons: Inter with a touch of positive tracking */
.btn, button, .card-order, .sort-btn, .catalog-filter {
  font-family: var(--font-body);
  letter-spacing: 0.01em;
}

/* Cleanup: remove decorative bars/dashes placed before label text so the
   copy stands on its own (cleaner, more premium). */
.section-heading .eyebrow::before,
.home-kicker::before {
  display: none !important;
}

/* ============================================================
   PRODUCT FAQ ACCORDION (2026-07 conversion pass)
   Native <details>/<summary>, no JS required.
   ============================================================ */
.product-faq { margin-top: 2.5rem; }
.product-faq-head { margin-bottom: 1rem; }
.product-faq-head h2 { margin: 0.35rem 0 0; }
.product-faq-list {
  display: grid;
  gap: 0.6rem;
  max-width: 760px;
}
.product-faq-item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  overflow: hidden;
}
.product-faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 0.95rem 1.1rem;
  font-weight: 600;
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.product-faq-item summary::-webkit-details-marker { display: none; }
.product-faq-item summary::after {
  content: "+";
  font-size: 1.25rem;
  line-height: 1;
  color: var(--muted);
  transition: transform 0.2s ease;
}
.product-faq-item[open] summary::after { content: "\2212"; }
.product-faq-item summary:hover { color: var(--red); }
.product-faq-answer {
  padding: 0 1.1rem 1.05rem;
  color: var(--muted);
}
.product-faq-answer p { margin: 0; line-height: 1.65; }
@media (prefers-reduced-motion: reduce) {
  .product-faq-item summary::after { transition: none; }
}

/* Card CTA now includes the price ("Add · $49.99") — keep it on one line. */
.card-order { white-space: nowrap; }

/* ============================================================
   VERIFIED REVIEWS (2026-07)
   Product-page review list + the /review submission form.
   ============================================================ */
.product-reviews-head { margin-bottom: 1.1rem; }
.product-reviews-head h2 { margin: 0.35rem 0 0.4rem; }
.product-reviews-aggregate { margin: 0; color: var(--muted); font-size: 1.02rem; }
.product-reviews-list {
  display: grid;
  gap: 0.75rem;
  max-width: 760px;
}
.review-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  padding: 1rem 1.15rem;
}
.review-card header {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-wrap: wrap;
  margin-bottom: 0.4rem;
}
.review-card header time { color: var(--muted); font-size: 0.85rem; }
.review-card p { margin: 0; color: var(--soft); line-height: 1.6; }
.review-stars { color: #e8a13c; letter-spacing: 2px; font-size: 1rem; }
.review-stars-empty { color: var(--line); }
.product-reviews-note { max-width: 760px; color: var(--muted); font-size: 0.85rem; margin-top: 1rem; }

/* /review submission page */
.review-page .review-app { max-width: 680px; }
.review-status { font-weight: 600; }
.review-status.is-error { color: var(--red); }
.review-form { display: grid; gap: 1.1rem; margin-top: 1rem; }
.review-form[hidden], [data-nova-cashback][hidden] { display: none; }
.review-item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  padding: 1rem 1.15rem;
  margin: 0;
}
.review-item legend { font-weight: 700; padding: 0 0.35rem; }
.review-item textarea {
  width: 100%;
  margin-top: 0.6rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0.7rem 0.85rem;
  font: inherit;
  resize: vertical;
}
.review-already { margin: 0; color: var(--green); font-weight: 600; }
.review-name-field { display: grid; gap: 0.4rem; font-weight: 600; }
.review-name-field input {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0.7rem 0.85rem;
  font: inherit;
  font-weight: 400;
}
.review-guidelines { color: var(--muted); font-size: 0.85rem; line-height: 1.6; margin: 0; }

/* Star input: row-reversed radios so hover/checked styling flows left */
.star-input {
  display: inline-flex;
  flex-direction: row-reverse;
  gap: 0.15rem;
}
.star-input input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.star-input label {
  cursor: pointer;
  font-size: 1.75rem;
  line-height: 1;
  color: var(--line);
  padding: 0.15rem;
  min-width: 34px;
  text-align: center;
}
.star-input label:hover,
.star-input label:hover ~ label,
.star-input input:checked ~ label { color: #e8a13c; }
.star-input input:focus-visible + label { outline: 2px solid var(--red); outline-offset: 2px; border-radius: 4px; }

/* Guest checkout note under the account-required actions */
.guest-checkout-note { margin: 0.75rem 0 0; color: var(--muted); font-size: 0.85rem; line-height: 1.55; }

/* ============================================================
   CARD META OVERLAP FIX (2026-07-02)
   The price stack and the wider "Add · $XX" button were both
   flex-shrinking; the price text overflowed underneath the
   button. Never shrink the button, let the row wrap instead,
   and let the price stack wrap its own text.
   ============================================================ */
.product-meta {
  flex-wrap: wrap;
  row-gap: 0.55rem;
}
.product-meta > div { min-width: 0; }
.product-meta .card-order {
  flex-shrink: 0;
  margin-left: auto;
}

/* ============================================================
   COMPLETENESS PACK (2026-07): back-in-stock form + card stars
   ============================================================ */
.restock-form {
  margin-top: 0.9rem;
  padding: 1rem 1.1rem;
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius);
  background: var(--surface);
}
.restock-form-label {
  display: block;
  font-weight: 700;
  margin-bottom: 0.55rem;
}
.restock-form-row {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.restock-form-row input {
  flex: 1 1 200px;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0.65rem 0.85rem;
  font: inherit;
}
.restock-form-row .btn { flex-shrink: 0; }
.restock-form .form-message { margin: 0.5rem 0 0; }
.restock-form .form-message.success { color: var(--green); }
.restock-form .form-message.error { color: var(--red); }

.card-star-badge {
  margin: 0.15rem 0 0;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text);
}
.card-star-badge span { color: #e8a13c; }
.card-star-badge small { color: var(--muted); font-weight: 500; }

/* ============================================================
   SHOP PRODUCT CARD LAYOUT LOCK (2026-07)
   Keep titles, review slots, descriptions, pricing, and CTAs in
   identical vertical sections. Reviews are injected after load,
   so every card reserves the same space to avoid layout shifts.
   ============================================================ */
body.catalog-page [data-product-grid] {
  align-items: stretch !important;
}

body.catalog-page [data-product-grid] .product-card {
  display: flex !important;
  height: 100% !important;
  min-width: 0 !important;
  flex-direction: column !important;
}

body.catalog-page [data-product-grid] .product-media {
  flex: 0 0 auto !important;
  background: oklch(98.7% 0.003 80) !important;
}

body.catalog-page [data-product-grid] .product-media img {
  object-fit: contain !important;
  object-position: center center !important;
}

body.catalog-page [data-product-grid] .product-body {
  display: flex !important;
  min-height: 326px !important;
  flex: 1 1 auto !important;
  flex-direction: column !important;
}

body.catalog-page [data-product-grid] .product-card-topline {
  flex: 0 0 20px !important;
  min-height: 20px !important;
  margin: 0 !important;
}

body.catalog-page [data-product-grid] .product-body h3 {
  display: -webkit-box !important;
  min-height: 2.6em !important;
  max-height: 2.6em !important;
  margin: 0.85rem 0 0 !important;
  overflow: hidden !important;
  -webkit-box-orient: vertical !important;
  -webkit-line-clamp: 2 !important;
}

body.catalog-page [data-product-grid] .product-card-review-slot {
  display: flex !important;
  min-height: 26px !important;
  margin: 0.55rem 0 0.7rem !important;
  align-items: center !important;
}

body.catalog-page [data-product-grid] .product-card-review-slot:empty::before {
  content: "";
  display: block;
  width: 1px;
  height: 1px;
}

body.catalog-page [data-product-grid] .card-star-badge {
  margin: 0 !important;
  line-height: 1.35 !important;
}

body.catalog-page [data-product-grid] .product-card-description,
body.catalog-page [data-product-grid] .product-body > p {
  display: -webkit-box !important;
  min-height: 4.5em !important;
  max-height: 4.5em !important;
  margin: 0 0 1.05rem !important;
  flex: 0 0 4.5em !important;
  overflow: hidden !important;
  color: var(--ux-muted, #606060) !important;
  line-height: 1.5 !important;
  text-overflow: ellipsis !important;
  -webkit-box-orient: vertical !important;
  -webkit-line-clamp: 3 !important;
}

body.catalog-page [data-product-grid] .product-meta {
  min-height: 4.65rem !important;
  margin-top: auto !important;
  align-items: flex-end !important;
}

body.catalog-page [data-product-grid] .product-meta > div,
body.catalog-page [data-product-grid] .product-price-range {
  min-width: 0 !important;
}

body.catalog-page [data-product-grid] .product-price-range {
  min-height: 4.05rem !important;
  justify-content: flex-start !important;
}

@media (max-width: 720px) {
  body.catalog-page [data-product-grid] .product-body {
    min-height: 0 !important;
    padding: 0.9rem !important;
  }

  body.catalog-page [data-product-grid] .product-body h3 {
    font-size: 0.98rem !important;
  }

  body.catalog-page [data-product-grid] .product-card-description,
  body.catalog-page [data-product-grid] .product-body > p {
    min-height: 4.5em !important;
    max-height: 4.5em !important;
    flex-basis: 4.5em !important;
    font-size: 0.78rem !important;
    -webkit-line-clamp: 3 !important;
  }

  body.catalog-page [data-product-grid] .product-card-review-slot {
    min-height: 22px !important;
    margin: 0.45rem 0 0.6rem !important;
  }

  body.catalog-page [data-product-grid] .product-meta {
    display: grid !important;
    min-height: 0 !important;
    margin-top: 0.85rem !important;
    align-items: start !important;
    gap: 0.85rem !important;
    grid-template-columns: 1fr !important;
  }

  body.catalog-page [data-product-grid] .product-price-range {
    min-height: 0 !important;
    gap: 0.15rem !important;
  }

  body.catalog-page [data-product-grid] .product-meta .card-order {
    width: 100% !important;
    min-height: 46px !important;
    margin-left: 0 !important;
  }
}

@media (max-width: 500px) {
  body.catalog-page [data-product-grid] {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  body.catalog-page [data-product-grid] .product-body {
    min-height: 0 !important;
  }
}

@media (max-width: 340px) {
  body.catalog-page [data-product-grid] {
    grid-template-columns: 1fr !important;
  }

  body.catalog-page [data-product-grid] .product-body {
    min-height: 0 !important;
  }

  body.catalog-page [data-product-grid] .product-meta {
    min-height: 0 !important;
  }
}

/* ============================================================
   ACCESSIBILITY: VISIBLE FOCUS RING (2026-07)
   Explicit on-brand :focus-visible indicator on every interactive
   element (keyboard navigation). Mouse clicks stay ring-free via
   :focus-visible semantics. WCAG 2.4.7.
   ============================================================ */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid var(--nova-accent) !important;
  outline-offset: 2px;
}
/* Dark surfaces (header, hero, footer, promo bar): white ring reads better */
.site-header a:focus-visible,
.site-header button:focus-visible,
.home-hero a:focus-visible,
.site-footer a:focus-visible,
.age-gate-overlay button:focus-visible {
  outline-color: #ffffff !important;
}

/* Button consistency: align the homepage featured CTA radius with the
   6px used by .btn and .card-order everywhere else. */
.home-featured .card-order { border-radius: 6px; }

/* ============================================================
   PREMIUM MOTION PACK (2026-07)
   Signature patterns from modern React motion libraries
   (Aceternity spotlight/border-beam, Componentry magnetic,
   ReactBits tilt/word-reveal) ported to dependency-free CSS/JS
   for this static storefront. Transform/opacity only; every
   effect is disabled under prefers-reduced-motion.
   ============================================================ */

/* --- 1. Cross-document page transitions (MPA fade) --- */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: pc-vt-out 160ms ease both; }
::view-transition-new(root) { animation: pc-vt-in 200ms ease both; }
@keyframes pc-vt-out { to { opacity: 0; } }
@keyframes pc-vt-in { from { opacity: 0; transform: translateY(6px); } }

/* --- 2. Hero entrance choreography (homepage) --- */
.pc-hero-anim #home-hero-title .pc-word {
  display: inline-block;
  opacity: 0;
  transform: translateY(0.45em);
  animation: pc-word-in 0.55s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  animation-delay: var(--w-delay, 0ms);
}
@keyframes pc-word-in { to { opacity: 1; transform: translateY(0); } }
.pc-hero-anim .home-hero-content > p,
.pc-hero-anim .home-actions,
.pc-hero-anim .home-hero-notice {
  opacity: 0;
  transform: translateY(14px);
  animation: pc-rise-in 0.6s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
.pc-hero-anim .home-hero-content > p { animation-delay: 420ms; }
.pc-hero-anim .home-actions { animation-delay: 560ms; }
.pc-hero-anim .home-hero-notice { animation-delay: 700ms; }
@keyframes pc-rise-in { to { opacity: 1; transform: translateY(0); } }

/* Soft light sweep across the dark hero image, once on load */
.home-hero .pc-hero-sweep {
  position: absolute;
  top: -20%;
  bottom: -20%;
  left: 10%;
  width: 34%;
  pointer-events: none;
  background: rgba(255, 255, 255, 0.12);
  filter: blur(48px);
  border-radius: 50%;
  opacity: 0;
  transform: translateX(-120%) rotate(8deg);
  animation: pc-hero-sweep 2.2s ease-out 0.3s forwards;
}
@keyframes pc-hero-sweep {
  20% { opacity: 1; }
  100% { opacity: 0; transform: translateX(260%) rotate(8deg); }
}

/* --- 3. Border beam: a solid light segment orbiting the border ---
   (no gradients: the site's visual audits enforce a flat, gradient-free
   editorial layer, so the beam is a blurred solid segment on an
   offset-path instead of the usual conic-gradient ring) */
.pc-beam { position: relative; }
.pc-beam::before {
  content: "";
  position: absolute;
  width: 52px;
  height: 3px;
  border-radius: 3px;
  background: var(--nova-accent);
  box-shadow: 0 0 14px 2px rgba(217, 4, 41, 0.45);
  offset-path: rect(0% 100% 100% 0% round 8px);
  offset-distance: 0%;
  animation: pc-beam-orbit 6s linear infinite;
  pointer-events: none;
}
@supports not (offset-path: rect(0% 100% 100% 0%)) {
  .pc-beam::before { display: none; }
}
@keyframes pc-beam-orbit { to { offset-distance: 100%; } }
.home-quality { border-radius: var(--radius); overflow: hidden; }
.home-quality.pc-beam::before { opacity: 0.7; }
.product-gallery .detail-media.pc-beam { overflow: hidden; }
.product-gallery .detail-media.pc-beam::before { opacity: 0; transition: opacity 0.35s ease; }
.product-gallery .detail-media.pc-beam:hover::before { opacity: 1; }

/* --- 4. Magnetic primary CTAs (desktop fine pointers) --- */
.pc-magnet {
  transition: transform 160ms cubic-bezier(0.22, 1, 0.36, 1);
  transform: translate(var(--mag-x, 0px), var(--mag-y, 0px));
  will-change: transform;
}

/* --- 5. 3D tilt + glare on the product gallery --- */
@media (hover: hover) and (pointer: fine) {
  .product-gallery { perspective: 900px; }
  .product-gallery .detail-media.pc-tilt {
    transform: rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg));
    transition: transform 180ms ease-out;
    transform-style: preserve-3d;
  }
  .product-gallery .detail-media.pc-tilt .pc-glare {
    position: absolute;
    left: var(--glare-x, 50%);
    top: var(--glare-y, 50%);
    width: 55%;
    aspect-ratio: 1;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    pointer-events: none;
    background: rgba(255, 255, 255, 0.14);
    filter: blur(42px);
    opacity: 0;
    transition: opacity 0.3s ease;
  }
  .product-gallery .detail-media.pc-tilt:hover .pc-glare { opacity: 1; }
}

/* --- 6. Red hairline draw under home section headings --- */
.home-section-heading h2 { position: relative; padding-bottom: 0.45rem; }
.home-section-heading h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 44px;
  height: 3px;
  border-radius: 2px;
  background: var(--nova-accent);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1) 0.15s;
}
.home-section-heading.is-revealed h2::after,
body:not(.reveal-enabled) .home-section-heading h2::after { transform: scaleX(1); }

/* --- Reduced motion: everything off --- */
@media (prefers-reduced-motion: reduce) {
  ::view-transition-old(root),
  ::view-transition-new(root) { animation: none; }
  .pc-hero-anim #home-hero-title .pc-word,
  .pc-hero-anim .home-hero-content > p,
  .pc-hero-anim .home-actions,
  .pc-hero-anim .home-hero-notice { animation: none; opacity: 1; transform: none; }
  .home-hero .pc-hero-sweep { display: none; }
  .pc-beam::before { animation: none; opacity: 0.25 !important; }
  .pc-magnet { transition: none; transform: none !important; }
  .product-gallery .detail-media.pc-tilt { transform: none; transition: none; }
  .home-section-heading h2::after { transition: none; transform: scaleX(1); }
}

/* ============================================================
   MOBILE BUTTON FIT AUDIT FIXES (2026-07)
   Found by a full multi-viewport button audit (320-1280px).
   ============================================================ */
/* Featured homepage cards: enforce the 44px touch minimum at every
   width (they measured 38px tall on tablet) and never clip the label. */
.home-featured .card-order {
  min-height: 44px;
  max-width: 100%;
}
/* Text links ("View all products →"): 19px tall visually — extend the
   tap area to 44px without moving the layout. */
.home-text-link {
  position: relative;
  padding-block: 13px;
  margin-block: -13px;
}
/* Mobile: the featured-card Add button becomes a full-width block under
   the price (user feedback: the black box was too small to tap). */
@media (max-width: 560px) {
  .home-featured .product-meta {
    flex-direction: column;
    align-items: stretch;
    gap: 0.6rem;
  }
  .home-featured .product-meta .card-order {
    width: 100%;
    margin-left: 0;
    /* !important required: legacy tap-target layers set 40px/0.72rem
       with !important and would beat this later non-important rule. */
    min-height: 48px !important;
    font-size: 0.85rem !important;
  }
}

/* Header icon buttons render 38-42px by design (clamped so the compact
   header fits small screens). Extend the TAP area to 44px+ with an
   invisible overlay instead of resizing the visuals. */
.site-header .icon-btn,
.site-header .menu-toggle,
.header-search-submit {
  position: relative;
}
.site-header .icon-btn::after,
.site-header .menu-toggle::after,
.header-search-submit::after {
  content: "";
  position: absolute;
  inset: -4px;
}


/* ============================================================
   PR 144 APPROVED SURFACES
   Mobile homepage, mobile Quick Add, dedicated content layouts,
   Affiliate shell, and admin navigation only.
   ============================================================ */
@media (max-width: 760px) {
  /* Home: concise first viewport and direct catalog paths. */
  body.home .home-hero {
    min-height: min(660px, calc(100svh - 112px)) !important;
  }

  body.home .home-hero-content {
    width: min(880px, calc(100% - 48px)) !important;
    padding-block: 3rem !important;
  }

  body.home .home-hero-content h1 {
    max-width: 21ch !important;
    margin-block: 0.75rem 1rem !important;
    font-size: clamp(3.25rem, 5vw, 4.65rem) !important;
    line-height: 0.98 !important;
    letter-spacing: 0 !important;
  }

  body.home .home-hero-content > p:not(.home-hero-notice) {
    max-width: 62ch !important;
    margin-bottom: 1.4rem !important;
  }

  .home-shop-paths-section {
    padding-top: clamp(3rem, 6vw, 5.5rem) !important;
  }

  .home-shop-paths {
    display: grid;
    margin-top: 1.8rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border-top: 1px solid var(--ux-line, #d8dbe2);
  }

  .home-shop-paths a {
    display: grid;
    min-width: 0;
    min-height: 132px;
    padding: 1.25rem 1.1rem;
    grid-template-columns: 34px minmax(0, 1fr);
    grid-template-rows: 1fr auto;
    column-gap: 0.9rem;
    border-bottom: 1px solid var(--ux-line, #d8dbe2);
    color: var(--ux-ink, #111827);
  }

  .home-shop-paths a:nth-child(odd) {
    border-right: 1px solid var(--ux-line, #d8dbe2);
  }

  .home-shop-paths a:hover {
    background: var(--ux-soft, #f1f3f6);
  }

  .home-shop-paths a > span {
    color: var(--ux-red-dark, var(--nova-dark-accent));
    font-weight: 800;
  }

  .home-shop-paths a div {
    display: grid;
    align-content: start;
    gap: 0.35rem;
  }

  .home-shop-paths a strong {
    font-size: 1.12rem;
  }

  .home-shop-paths a small {
    color: var(--ux-muted, #5f6672);
    line-height: 1.55;
  }

  .home-shop-paths a em {
    grid-column: 2;
    color: var(--ux-red-dark, var(--nova-dark-accent));
    font-size: 0.78rem;
    font-style: normal;
    font-weight: 800;
  }
}

/* Explicit, non-silent quick-add format picker. */
body.quick-add-open {
  overflow: hidden;
}

.quick-add-backdrop {
  position: fixed;
  z-index: 2147482800;
  inset: 0;
  background: rgba(7, 10, 16, 0.55);
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease;
}

.quick-add-panel {
  position: fixed;
  z-index: 2147482801;
  top: 50%;
  left: 50%;
  width: min(520px, calc(100% - 32px));
  max-height: calc(100dvh - 48px);
  padding: 1.35rem;
  overflow-y: auto;
  border: 1px solid var(--ux-line, #d8dbe2);
  border-radius: 8px;
  background: #fff;
  color: var(--ux-ink, #111827);
  box-shadow: 0 24px 70px rgba(7, 10, 16, 0.22);
  opacity: 0;
  transform: translate(-50%, calc(-50% + 14px));
  transition: opacity 180ms ease, transform 220ms ease;
}

.quick-add-panel[hidden] {
  display: none !important;
}

body.quick-add-open .quick-add-backdrop {
  opacity: 1;
  pointer-events: auto;
}

body.quick-add-open .quick-add-panel {
  opacity: 1;
  transform: translate(-50%, -50%);
}

.quick-add-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--ux-line, #d8dbe2);
}

.quick-add-head h2 {
  margin: 0.25rem 0 0;
  color: var(--ux-ink, #111827);
  font-size: 1.45rem;
  letter-spacing: 0;
}

.quick-add-head > button {
  width: 42px;
  height: 42px;
  border: 1px solid var(--ux-line, #d8dbe2);
  border-radius: 6px;
  background: #fff;
  color: var(--ux-ink, #111827);
  font-size: 1.45rem;
}

.quick-add-product {
  display: grid;
  padding: 1rem 0;
  grid-template-columns: 70px minmax(0, 1fr);
  align-items: center;
  gap: 0.9rem;
}

.quick-add-product img {
  width: 70px;
  height: 82px;
  object-fit: contain;
  background: #fff;
}

.quick-add-product strong,
.quick-add-product span {
  display: block;
}

.quick-add-product span {
  margin-top: 0.25rem;
  color: var(--ux-muted, #5f6672);
  font-size: 0.82rem;
}

.quick-add-options {
  display: grid;
  margin-bottom: 1rem;
  gap: 0.65rem;
}

.quick-add-options button {
  display: flex;
  width: 100%;
  min-height: 72px;
  padding: 0.85rem 1rem;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border: 1px solid var(--ux-line, #d8dbe2);
  border-radius: 6px;
  background: #fff;
  color: var(--ux-ink, #111827);
  text-align: left;
}

.quick-add-options button.is-active {
  border-color: var(--ux-ink, #111827);
  box-shadow: inset 4px 0 0 var(--ux-red-dark, var(--nova-dark-accent));
}

.quick-add-options button span,
.quick-add-options button strong,
.quick-add-options button small {
  display: block;
}

.quick-add-options button small {
  margin-top: 0.2rem;
  color: var(--ux-muted, #5f6672);
}

.quick-add-options button b {
  flex: 0 0 auto;
  font-size: 1.05rem;
}

.quick-add-details {
  display: block;
  min-height: 44px;
  padding-top: 0.85rem;
  color: var(--ux-ink, #111827);
  font-size: 0.84rem;
  font-weight: 800;
  text-align: center;
}

/* Information pages no longer reuse one oversized split hero. */
.page-intro-document,
.page-intro-faq,
.page-intro-support,
.page-intro-guide {
  min-height: 0 !important;
  grid-template-columns: 1fr !important;
}

.page-intro-document {
  border-color: var(--site-line) !important;
  border-right: 0 !important;
  border-left: 0 !important;
  border-radius: 0 !important;
  background: var(--site-surface) !important;
  color: var(--site-ink) !important;
}

.page-intro-document .page-intro-copy {
  max-width: 900px;
  padding: 3rem 0 !important;
}

.page-intro-document h1,
.page-intro-document .page-intro-copy > p {
  color: var(--site-ink) !important;
}

.page-intro-document .page-intro-copy > p {
  color: var(--site-muted) !important;
}

.page-intro-document .page-intro-facts strong,
.page-intro-support .page-intro-facts strong {
  color: var(--site-ink) !important;
}

.page-intro-document .page-intro-facts small,
.page-intro-support .page-intro-facts small {
  color: var(--site-muted) !important;
}

.page-intro-faq {
  min-height: 330px !important;
  background: var(--site-ink) !important;
}

.page-intro-faq .page-intro-copy {
  width: min(900px, 100%);
  padding: 3.25rem !important;
}

.page-intro-support {
  border-color: var(--site-line) !important;
  background: var(--site-surface) !important;
  color: var(--site-ink) !important;
}

.page-intro-support .page-intro-copy {
  padding: 3rem !important;
}

.page-intro-support h1,
.page-intro-support .page-intro-copy > p {
  color: var(--site-ink) !important;
}

.page-intro-support .page-intro-copy > p {
  color: var(--site-muted) !important;
}

.page-intro-guide {
  min-height: 285px !important;
}

.page-intro-guide .page-intro-copy {
  width: min(900px, 100%);
  padding: 2.75rem 3rem !important;
}

.page-intro-media-left .page-intro-copy {
  grid-column: 2;
}

.page-intro-media-left .page-intro-media {
  grid-column: 1;
  grid-row: 1;
  border-right: 1px solid var(--site-line-dark);
  border-left: 0;
}

.page-intro-article-compact {
  min-height: 360px !important;
}

/* Blog articles use editorial sections instead of repeated cards. */
.blog-article-section {
  display: grid;
  width: min(900px, 100%) !important;
  margin: 0 auto !important;
  padding: 2rem 0;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 1rem;
  border-top: 1px solid var(--site-line);
}

.blog-section-number {
  color: var(--site-red);
  font-size: 0.78rem;
  font-weight: 800;
}

.blog-article-section h2 {
  margin: 0 0 0.8rem !important;
  color: var(--site-ink) !important;
  font-size: clamp(1.45rem, 2.7vw, 2rem) !important;
  letter-spacing: 0 !important;
}

.blog-article-section p,
.blog-article-section li {
  color: var(--site-muted) !important;
  line-height: 1.75;
}

.blog-article-section-wide {
  width: min(1040px, 100%) !important;
}

.blog-article-section-reference {
  margin-block: 1rem !important;
  padding: 1.5rem !important;
  border: 1px solid var(--site-line);
  border-left: 3px solid var(--site-red);
  background: var(--site-surface);
}

.blog-article-faq,
.blog-article-sources,
.blog-related-reading,
.blog-research-notice {
  width: min(900px, 100%) !important;
  margin: 2.5rem auto 0 !important;
}

.blog-article-byline {
  width: min(900px, 100%);
  margin: 0.75rem auto 2rem !important;
  color: var(--site-muted) !important;
  font-size: 0.9rem;
  line-height: 1.6;
}

.blog-article-byline a,
.blog-article-sources a {
  color: var(--site-red);
  font-weight: 700;
}

.blog-article-sources {
  padding: 1.5rem 0;
  border-top: 1px solid var(--site-line);
}

.blog-article-sources h2 {
  margin: 0.4rem 0 0.8rem;
}

.blog-article-sources ul {
  display: grid;
  gap: 0.65rem;
  margin: 0;
  padding-left: 1.2rem;
}

.blog-related-reading {
  padding-block: 1.5rem;
  border-top: 1px solid var(--site-line);
  border-bottom: 1px solid var(--site-line);
}

.blog-research-notice {
  padding: 1.25rem;
  border-left: 3px solid var(--site-red);
  background: var(--site-surface-muted);
}

/* Shared Next storefront header used by Affiliate. */
.next-site-header {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
}

.next-site-header .primary-nav {
  justify-self: center;
}

/* The shared header hides desktop links through 1100px. Keep its menu
   button and panel available for the same full range. */
@media (min-width: 981px) and (max-width: 1100px) {
  .site-header {
    z-index: 2147482600 !important;
    overflow: visible !important;
  }

  .site-header .menu-toggle {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    order: 99;
    flex: 0 0 46px;
    width: 46px;
    height: 46px;
    margin-left: 0.5rem;
    position: relative;
    z-index: 2147482800;
    cursor: pointer;
  }

  .site-header .menu-toggle span {
    display: block;
    width: 23px;
    height: 2px;
  }

  body.menu-open .site-header .menu-toggle span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  body.menu-open .site-header .menu-toggle span:nth-child(2) { opacity: 0; }
  body.menu-open .site-header .menu-toggle span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

  .site-header .primary-nav,
  .site-header .primary-nav.is-open {
    position: absolute !important;
    top: 100% !important;
    right: 1rem !important;
    bottom: auto !important;
    left: 1rem !important;
    width: auto !important;
    height: auto !important;
    max-height: calc(100dvh - 7rem) !important;
    overflow-y: auto !important;
    z-index: 2147482700 !important;
  }

  .site-header .primary-nav {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
  }

  .site-header .primary-nav.is-open {
    display: flex !important;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }
}

@media (max-width: 1100px) {
  .next-site-header .menu-toggle {
    display: inline-flex;
    flex-direction: column;
    order: 3;
    margin-left: 0.5rem;
  }

  .next-site-header .next-header-actions {
    order: 2;
    margin-left: auto;
  }

  /* The shared mobile nav uses a positioned panel. Anchor this one to its
     actual header, rather than a viewport offset or a centered grid cell. */
  .next-site-header .primary-nav,
  .next-site-header .primary-nav.is-open {
    position: absolute !important;
    top: 100% !important;
    right: max(0.75rem, env(safe-area-inset-right)) !important;
    bottom: auto !important;
    left: max(0.75rem, env(safe-area-inset-left)) !important;
    width: auto !important;
    height: auto !important;
    max-height: calc(100dvh - 7rem - env(safe-area-inset-bottom)) !important;
    justify-self: stretch;
    align-items: stretch;
    overflow-y: auto !important;
  }
}

/* Account pages have a compact link row instead of a hamburger. Keep it
   available in the tablet range where the shared nav otherwise collapses. */
@media (min-width: 721px) and (max-width: 1100px) {
  .site-header .account-nav {
    display: flex !important;
    position: static !important;
    inset: auto !important;
    width: auto !important;
    height: auto !important;
    max-height: none !important;
    margin-left: auto;
    padding: 0 !important;
    flex-direction: row !important;
    align-items: center;
    overflow: visible !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transform: none !important;
  }
}

.next-account-link {
  display: inline-flex;
  min-height: 42px;
  padding: 0.55rem 0.75rem;
  align-items: center;
  gap: 0.45rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 6px;
  color: #fff;
  font-size: 0.78rem;
  font-weight: 800;
}

.next-account-link svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}

/* Admin: persistent desktop navigation and compact mobile navigation. */
.admin-app-shell {
  min-height: 100vh;
  background: oklch(96.8% 0.006 265);
  color: var(--site-ink, #111827);
}

.admin-app-topbar {
  position: sticky;
  z-index: 40;
  top: 0;
  display: grid;
  min-height: 72px;
  padding: 0 1.25rem;
  grid-template-columns: auto auto 1fr;
  align-items: center;
  gap: 1rem;
  border-bottom: 1px solid #252a34;
  background: #080b12;
}

.admin-app-topbar .brand img {
  display: block;
  width: 155px;
  height: auto;
}

.admin-product-name {
  padding-left: 1rem;
  border-left: 1px solid #343a46;
  color: #d4d7de;
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
}

.admin-topbar-actions {
  display: flex;
  justify-self: end;
  gap: 0.55rem;
}

.admin-topbar-actions a {
  min-height: 40px;
  padding: 0.55rem 0.75rem;
  border: 1px solid #343a46;
  border-radius: 6px;
  color: #fff;
  font-size: 0.76rem;
  font-weight: 800;
}

.admin-app-frame {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  align-items: start;
}

.admin-app-sidebar {
  position: sticky;
  top: 72px;
  min-height: calc(100vh - 72px);
  padding: 1.25rem 0.85rem;
  border-right: 1px solid var(--site-line, #d8dbe2);
  background: var(--site-surface, #fff);
}

.admin-navigation {
  display: grid;
  gap: 0.25rem;
}

.admin-nav-label {
  margin: 1rem 0 0.45rem;
  padding-inline: 0.7rem;
  color: var(--site-muted, #5f6672);
  font-size: 0.64rem;
  font-weight: 800;
  text-transform: uppercase;
}

.admin-nav-label:first-child {
  margin-top: 0;
}

.admin-navigation > a {
  display: grid;
  min-height: 58px;
  padding: 0.7rem;
  grid-template-columns: 28px minmax(0, 1fr);
  align-items: start;
  gap: 0.45rem;
  border: 1px solid transparent;
  border-radius: 6px;
  color: var(--site-ink, #111827);
}

.admin-navigation > a:hover {
  background: var(--site-surface-muted, #f1f3f6);
}

.admin-navigation > a.is-active {
  border-color: var(--site-line, #d8dbe2);
  background: var(--site-surface-muted, #f1f3f6);
  box-shadow: inset 3px 0 0 var(--site-red, var(--nova-dark-accent));
}

.admin-navigation > a > span {
  color: var(--site-red, var(--nova-dark-accent));
  font-size: 0.67rem;
  font-weight: 800;
}

.admin-navigation > a div {
  display: grid;
  min-width: 0;
  gap: 0.2rem;
}

.admin-navigation > a strong {
  font-size: 0.83rem;
}

.admin-navigation > a small {
  color: var(--site-muted, #5f6672);
  font-size: 0.67rem;
  line-height: 1.35;
}

.admin-navigation > a.admin-nav-secondary {
  min-height: 40px;
  grid-template-columns: 1fr;
}

.admin-mobile-navigation {
  display: none;
}

.admin-app-frame > .admin-ops-shell {
  width: 100%;
  min-width: 0;
  padding: 1.5rem !important;
}

.admin-app-frame .admin-ops-shell > * {
  width: 100% !important;
  max-width: 1240px !important;
  margin-right: auto !important;
  margin-left: auto !important;
}

.admin-subpage {
  display: grid;
  gap: 1.25rem;
}

.admin-subpage-header {
  padding: 0.5rem 0 1.25rem;
  border-bottom: 1px solid var(--site-line, #d8dbe2);
}

.admin-subpage-header h1 {
  margin: 0.35rem 0 0.5rem;
  color: var(--site-ink, #111827);
  font-size: clamp(1.8rem, 3vw, 2.45rem);
  letter-spacing: 0;
}

.admin-subpage-header p {
  max-width: 76ch;
  margin: 0;
  color: var(--site-muted, #5f6672);
}

.admin-subpage-section {
  padding: 1.15rem;
  border: 1px solid var(--site-line, #d8dbe2);
  border-radius: 8px;
  background: var(--site-surface, #fff);
}

.admin-commission-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  margin-top: 1rem;
}

.admin-commission-grid > div {
  display: grid;
  gap: 0.35rem;
  padding: 0.85rem 1rem;
  border: 1px solid var(--site-line, #d8dbe2);
  border-radius: 6px;
  background: var(--site-surface-muted, #f4f5f7);
}

.admin-commission-grid span {
  color: var(--site-muted, #5f6672);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.admin-commission-grid strong {
  color: var(--site-ink, #111827);
  font-size: 1.3rem;
}

.admin-campaign-composer {
  display: grid;
  gap: 1rem;
  margin-top: 1rem;
}

.admin-campaign-composer p {
  margin: 0;
  color: var(--site-muted, #5f6672);
}

.admin-section-head,
.admin-restock-card-head,
.admin-review-card-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 1rem;
}

.admin-section-head {
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--site-line, #d8dbe2);
}

.admin-section-head h2 {
  margin: 0.25rem 0 0;
  color: var(--site-ink, #111827);
  font-size: 1.25rem;
  letter-spacing: 0;
}

.admin-section-head > strong {
  min-width: 42px;
  padding: 0.55rem;
  border: 1px solid var(--site-line, #d8dbe2);
  border-radius: 6px;
  text-align: center;
}

.admin-restock-card,
.admin-review-card {
  padding: 1rem 0;
  border-bottom: 1px solid var(--site-line, #d8dbe2);
}

.admin-restock-card:last-child,
.admin-review-card:last-child {
  border-bottom: 0;
}

.admin-restock-card-head > div,
.admin-review-card-head > div {
  display: grid;
  gap: 0.3rem;
}

.admin-restock-card-head span,
.admin-review-card-head time,
.admin-review-meta,
.admin-muted-copy {
  color: var(--site-muted, #5f6672);
  font-size: 0.78rem;
}

.admin-restock-emails {
  margin: 0.75rem 0 0;
  color: var(--site-muted, #5f6672);
  overflow-wrap: anywhere;
}

.admin-history-list p {
  display: grid;
  margin: 0;
  padding: 0.8rem 0;
  grid-template-columns: minmax(180px, 1fr) minmax(160px, 0.8fr) auto;
  gap: 1rem;
  border-bottom: 1px solid var(--site-line, #d8dbe2);
}

.admin-history-list p:last-child {
  border-bottom: 0;
}

.admin-review-list {
  display: grid;
}

.admin-review-stars {
  color: #b57511;
  letter-spacing: 0;
}

.admin-review-meta {
  margin: 0.55rem 0;
  overflow-wrap: anywhere;
}

.admin-review-card blockquote {
  margin: 0.75rem 0;
  padding: 0.75rem 1rem;
  border-left: 3px solid var(--site-line-dark, #3d424d);
  color: var(--site-ink-soft, #313641);
  line-height: 1.65;
}

.admin-review-actions,
.admin-reject-form {
  display: flex;
  align-items: end;
  gap: 0.6rem;
}

.admin-review-actions {
  margin-top: 0.85rem;
  flex-wrap: wrap;
}

.admin-reject-form {
  flex: 1 1 390px;
}

.admin-reject-form label {
  display: grid;
  min-width: 220px;
  flex: 1;
  gap: 0.3rem;
  color: var(--site-muted, #5f6672);
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
}

.admin-reject-form input {
  min-height: 42px;
  padding: 0.55rem 0.7rem;
  border: 1px solid var(--site-line, #d8dbe2);
  border-radius: 6px;
  background: #fff;
  color: var(--site-ink, #111827);
  font: inherit;
  text-transform: none;
}

/* Admin accounting */
.admin-ops-shell {
  --accounting-ink: oklch(18% 0.014 260);
  --accounting-ink-soft: oklch(28% 0.012 260);
  --accounting-muted: var(--site-muted, oklch(47% 0.018 260));
  --accounting-line: var(--site-line, oklch(84% 0.012 82));
  --accounting-paper: var(--site-surface, oklch(98.8% 0.004 82));
  --accounting-panel: oklch(99.2% 0.004 82);
  --accounting-panel-muted: var(--site-surface-muted, oklch(95% 0.008 82));
  --accounting-red: var(--site-red, oklch(48% 0.19 24));
  --accounting-red-soft: oklch(96% 0.022 24);
  --accounting-green: oklch(45% 0.12 175);
  --accounting-green-soft: oklch(95.5% 0.025 175);
  --accounting-warning: oklch(62% 0.11 75);
  font-variant-numeric: tabular-nums;
}

.accounting-workspace-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 380px);
  gap: 1.25rem;
  align-items: end;
  padding: 1.35rem 1.45rem;
  border: 1px solid color-mix(in oklch, var(--accounting-ink) 78%, var(--accounting-line));
  border-radius: 10px;
  background: var(--accounting-ink);
  color: oklch(98% 0.006 82);
}

.accounting-header-copy {
  max-width: 72ch;
}

.accounting-workspace-header .eyebrow,
.accounting-snapshot-main .eyebrow {
  color: color-mix(in oklch, var(--accounting-red) 42%, oklch(98% 0.006 82));
}

.accounting-workspace-header h1 {
  margin: 0.3rem 0 0.45rem;
  color: inherit;
  font-size: 2rem;
  line-height: 1.04;
  letter-spacing: 0;
}

.accounting-workspace-header p {
  max-width: 68ch;
  margin: 0;
  color: oklch(84% 0.012 260);
  font-size: 0.98rem;
  line-height: 1.55;
}

.accounting-header-details {
  display: grid;
  gap: 0.55rem;
}

.accounting-header-details div {
  display: grid;
  gap: 0.2rem;
  padding: 0.72rem 0.8rem;
  border: 1px solid color-mix(in oklch, oklch(98% 0.006 82) 18%, var(--accounting-ink));
  border-radius: 8px;
  background: color-mix(in oklch, oklch(98% 0.006 82) 5%, var(--accounting-ink));
}

.accounting-header-details span {
  color: oklch(76% 0.015 260);
  font-size: 0.66rem;
  font-weight: 850;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.accounting-header-details strong {
  min-width: 0;
  overflow: hidden;
  color: oklch(98% 0.006 82);
  font-size: 0.86rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.accounting-subnav {
  display: flex;
  gap: 0.35rem;
  overflow-x: auto;
  padding: 0.1rem 0 0.45rem;
  border-bottom: 1px solid var(--accounting-line);
  -webkit-overflow-scrolling: touch;
}

.accounting-subnav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0.55rem 0.78rem;
  flex: 0 0 auto;
  border: 1px solid transparent;
  border-radius: 7px;
  color: var(--accounting-muted);
  font-size: 0.78rem;
  font-weight: 850;
}

.accounting-subnav a:hover {
  border-color: var(--accounting-line);
  background: var(--accounting-panel-muted);
  color: var(--accounting-ink);
}

.accounting-subnav a.is-active {
  border-color: color-mix(in oklch, var(--accounting-red) 40%, var(--accounting-line));
  background: var(--accounting-red-soft);
  color: var(--accounting-red);
}

.accounting-schema-notice {
  border-color: color-mix(in oklch, var(--accounting-red) 42%, var(--accounting-line)) !important;
  background: var(--accounting-red-soft) !important;
}

.accounting-filter-panel {
  display: grid;
  grid-template-columns: minmax(160px, 0.4fr) minmax(0, 1fr);
  gap: 1rem;
  align-items: end;
  padding: 0.95rem;
  border: 1px solid var(--accounting-line);
  border-radius: 10px;
  background: var(--accounting-panel);
}

.accounting-filter-summary {
  display: grid;
  gap: 0.18rem;
}

.accounting-filter-summary strong {
  color: var(--accounting-ink);
  font-size: 1.1rem;
  line-height: 1.1;
}

.accounting-filter-summary small {
  color: var(--accounting-muted);
  font-size: 0.78rem;
  line-height: 1.35;
}

.accounting-filter-bar {
  display: grid;
  grid-template-columns: repeat(4, minmax(110px, 1fr)) auto;
  gap: 0.62rem;
  align-items: end;
}

.accounting-filter-bar label,
.accounting-transaction-form label,
.accounting-category-form label {
  display: grid;
  gap: 0.35rem;
  min-width: 0;
  color: var(--accounting-muted);
  font-size: 0.68rem;
  font-weight: 850;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.accounting-filter-bar input,
.accounting-filter-bar select,
.accounting-transaction-form input,
.accounting-transaction-form select,
.accounting-transaction-form textarea,
.accounting-category-form input,
.accounting-category-form select {
  width: 100%;
  min-height: 44px;
  padding: 0.68rem 0.75rem;
  border: 1px solid var(--accounting-line);
  border-radius: 7px;
  background: var(--accounting-panel);
  color: var(--accounting-ink);
  font: inherit;
  font-size: 0.84rem;
  letter-spacing: 0;
  text-transform: none;
}

.accounting-filter-bar input:focus,
.accounting-filter-bar select:focus,
.accounting-transaction-form input:focus,
.accounting-transaction-form select:focus,
.accounting-transaction-form textarea:focus,
.accounting-category-form input:focus,
.accounting-category-form select:focus {
  outline: 2px solid color-mix(in oklch, var(--accounting-red) 48%, transparent);
  outline-offset: 2px;
}

.accounting-transaction-form textarea {
  resize: vertical;
}

.accounting-record-filters {
  grid-template-columns: minmax(220px, 1.4fr) repeat(5, minmax(108px, 1fr)) auto auto;
  margin: 0.85rem 0 1rem;
  padding: 0.95rem;
  border: 1px solid var(--accounting-line);
  border-radius: 10px;
  background: var(--accounting-panel);
}

.accounting-snapshot {
  display: grid;
  grid-template-columns: minmax(290px, 0.9fr) minmax(0, 1.35fr);
  overflow: hidden;
  border: 1px solid var(--accounting-line);
  border-radius: 10px;
  background: var(--accounting-panel);
}

.accounting-snapshot-main {
  display: grid;
  gap: 0.72rem;
  align-content: start;
  padding: 1.35rem 1.45rem;
  background: var(--accounting-ink);
  color: oklch(98% 0.006 82);
}

.accounting-snapshot-main h2 {
  margin: 0;
  color: inherit;
  font-size: 1.02rem;
  line-height: 1.1;
}

.accounting-snapshot-value {
  color: oklch(98% 0.006 82);
  font-size: 2.45rem;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 0.98;
}

.accounting-snapshot-value.is-negative {
  color: color-mix(in oklch, var(--accounting-red) 32%, oklch(98% 0.006 82));
}

.accounting-snapshot-main p {
  max-width: 48ch;
  margin: 0;
  color: oklch(83% 0.014 260);
  font-size: 0.86rem;
  line-height: 1.45;
}

.accounting-equation {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: 0.52rem;
  align-items: center;
  margin-top: 0.18rem;
}

.accounting-equation span {
  display: grid;
  gap: 0.18rem;
  min-width: 0;
  padding: 0.58rem 0.62rem;
  border: 1px solid color-mix(in oklch, oklch(98% 0.006 82) 18%, var(--accounting-ink));
  border-radius: 7px;
  background: color-mix(in oklch, oklch(98% 0.006 82) 5%, var(--accounting-ink));
}

.accounting-equation small {
  color: oklch(75% 0.014 260);
  font-size: 0.58rem;
  font-weight: 850;
  letter-spacing: 0.04em;
  line-height: 1;
  text-transform: uppercase;
}

.accounting-equation b {
  overflow: hidden;
  color: oklch(98% 0.006 82);
  font-size: 0.78rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.accounting-equation i {
  color: oklch(70% 0.012 260);
  font-size: 1rem;
  font-style: normal;
  font-weight: 800;
}

.accounting-kpi-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.accounting-kpi-card {
  display: grid;
  gap: 0.36rem;
  min-height: 126px;
  align-content: start;
  padding: 1.05rem 1.1rem;
  border-bottom: 1px solid var(--accounting-line);
  border-inline-start: 1px solid var(--accounting-line);
  background: var(--accounting-panel);
}

.accounting-kpi-card:nth-last-child(-n + 2) {
  border-bottom: 0;
}

.accounting-kpi-card span,
.accounting-kpi-card small,
.accounting-kpi-card em,
.accounting-chart-legend,
.accounting-chart-wrap text,
.accounting-breakdown-list small,
.accounting-statement dt,
.accounting-statement p {
  color: var(--accounting-muted);
}

.accounting-kpi-card span {
  font-size: 0.66rem;
  font-weight: 850;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.accounting-kpi-card strong {
  color: var(--accounting-ink);
  font-size: 1.55rem;
  line-height: 1;
}

.accounting-kpi-card small {
  font-size: 0.76rem;
  font-weight: 720;
  line-height: 1.35;
}

.accounting-kpi-card em {
  align-self: end;
  font-size: 0.72rem;
  font-style: normal;
  font-weight: 850;
}

.accounting-kpi-card em.is-positive,
.accounting-statement dd.is-positive,
.accounting-type-pill.is-revenue,
.accounting-positive {
  color: var(--accounting-green) !important;
}

.accounting-kpi-card em.is-negative,
.accounting-statement dd.is-negative,
.accounting-type-pill.is-expense,
.accounting-negative {
  color: var(--accounting-red) !important;
}

.accounting-kpi-card.is-negative strong {
  color: var(--accounting-red);
}

.accounting-basis-strip {
  display: flex;
  gap: 0.55rem;
  flex-wrap: wrap;
  align-items: center;
  padding: 0.68rem 0.85rem;
  border: 1px solid var(--accounting-line);
  border-radius: 8px;
  background: var(--accounting-panel-muted);
  color: var(--accounting-muted);
  font-size: 0.78rem;
  line-height: 1.35;
}

.accounting-basis-strip span {
  display: inline-flex;
  gap: 0.3rem;
  align-items: center;
}

.accounting-basis-strip b {
  color: var(--accounting-ink);
}

.accounting-report-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(280px, 0.72fr);
  gap: 1rem;
  align-items: stretch;
}

.accounting-chart-section {
  display: grid;
  gap: 1rem;
}

.accounting-chart-toggles {
  display: flex;
  gap: 0.42rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.accounting-chart-toggles a {
  min-height: 36px;
  padding: 0.48rem 0.68rem;
  border: 1px solid var(--accounting-line);
  border-radius: 999px;
  color: var(--accounting-muted);
  font-size: 0.72rem;
  font-weight: 850;
}

.accounting-chart-toggles a:hover {
  background: var(--accounting-panel-muted);
  color: var(--accounting-ink);
}

.accounting-chart-toggles a.is-active {
  border-color: color-mix(in oklch, var(--accounting-red) 42%, var(--accounting-line));
  background: var(--accounting-red-soft);
  color: var(--accounting-red);
}

.accounting-chart-wrap {
  overflow-x: auto;
  padding-top: 0.35rem;
}

.accounting-chart-wrap svg {
  display: block;
  width: 100%;
  min-width: 620px;
  height: auto;
  overflow: visible;
}

.accounting-chart-area {
  opacity: 0.075;
}

.accounting-chart-line {
  stroke-width: 3.25;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.accounting-chart-point {
  stroke: var(--accounting-panel);
  stroke-width: 2.25;
}

.accounting-chart-hit {
  fill: transparent;
  stroke: none;
}

.accounting-chart-axis {
  stroke: oklch(82% 0.01 255);
  stroke-width: 1;
}

.accounting-chart-grid {
  stroke: oklch(90% 0.008 255);
  stroke-width: 1;
}

.accounting-chart-zero {
  stroke: oklch(58% 0.014 255);
  stroke-dasharray: 4 5;
  stroke-width: 1;
}

.accounting-chart-wrap text {
  fill: var(--accounting-muted);
}

.accounting-chart-label,
.accounting-chart-axis-label {
  font-size: 0.66rem;
  font-weight: 760;
}

.accounting-chart-end-label {
  fill: var(--accounting-ink) !important;
  font-size: 0.68rem;
  font-weight: 900;
  paint-order: stroke;
  stroke: var(--accounting-panel);
  stroke-linejoin: round;
  stroke-width: 5px;
}

.accounting-chart-legend {
  display: flex;
  gap: 0.65rem 1rem;
  flex-wrap: wrap;
  margin-top: 0.35rem;
  font-size: 0.78rem;
  font-weight: 750;
}

.accounting-chart-legend span {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.accounting-chart-legend i {
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 999px;
}

.accounting-chart-legend b {
  color: var(--accounting-ink);
  font-size: 0.76rem;
}

.accounting-chart-legend span.is-muted {
  opacity: 0.56;
}

.accounting-chart-empty {
  display: grid;
  min-height: 220px;
  place-items: center;
  align-content: center;
  gap: 0.35rem;
  border: 1px dashed var(--accounting-line);
  border-radius: 8px;
  color: var(--accounting-muted);
  text-align: center;
}

.accounting-chart-empty strong {
  color: var(--accounting-ink);
}

.accounting-statement {
  display: grid;
  gap: 0.9rem;
  align-content: start;
}

.accounting-statement dl {
  display: grid;
  gap: 0;
  margin: 0;
}

.accounting-statement dl div {
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  align-items: baseline;
  padding: 0.62rem 0;
  border-bottom: 1px solid var(--accounting-line);
}

.accounting-statement dl div.is-total {
  margin-top: 0.25rem;
  padding: 0.78rem 0;
  border-top: 2px solid var(--accounting-ink);
  border-bottom: 0;
}

.accounting-statement dt {
  font-size: 0.78rem;
  font-weight: 780;
}

.accounting-statement dd {
  margin: 0;
  color: var(--accounting-ink);
  font-size: 0.92rem;
  font-weight: 900;
  text-align: right;
}

.accounting-statement p {
  margin: 0;
  font-size: 0.78rem;
  line-height: 1.45;
}

.accounting-breakdown-grid,
.accounting-summary-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.accounting-breakdown-panel,
.accounting-summary-panel {
  min-width: 0;
}

.accounting-breakdown-list {
  display: grid;
  gap: 0.78rem;
  margin-top: 1rem;
}

.accounting-breakdown-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.5rem 0.9rem;
  align-items: center;
}

.accounting-breakdown-item span {
  display: grid;
  gap: 0.14rem;
  min-width: 0;
}

.accounting-breakdown-item strong {
  overflow: hidden;
  color: var(--accounting-ink);
  font-size: 0.9rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.accounting-breakdown-item b {
  color: var(--accounting-ink);
  font-size: 0.9rem;
  text-align: right;
}

.accounting-breakdown-item i {
  display: block;
  grid-column: 1 / -1;
  height: 7px;
  overflow: hidden;
  border-radius: 999px;
  background: oklch(91% 0.011 82);
}

.accounting-breakdown-item i span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--accounting-red);
}

.accounting-table-scroll {
  margin-top: 1rem;
}

.accounting-data-table {
  min-width: 980px;
}

.accounting-data-table th {
  color: var(--accounting-muted);
  font-size: 0.68rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.accounting-data-table a {
  color: var(--accounting-red);
  font-weight: 850;
  text-decoration: none;
}

.accounting-data-table a:hover {
  text-decoration: underline;
}

.accounting-data-table td small {
  display: block;
  margin-top: 0.25rem;
}

.accounting-amount-cell {
  text-align: right;
  white-space: nowrap;
}

.accounting-type-pill {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  padding: 0.28rem 0.5rem;
  border-radius: 999px;
  background: var(--accounting-panel-muted);
  font-size: 0.66rem;
  font-weight: 850;
  text-transform: uppercase;
}

.accounting-type-pill.is-revenue {
  background: var(--accounting-green-soft);
}

.accounting-type-pill.is-expense {
  background: var(--accounting-red-soft);
}

.accounting-positive,
.accounting-negative {
  font-weight: 850;
}

.accounting-form-section {
  display: grid;
  gap: 1rem;
}

.accounting-transaction-form,
.accounting-category-form {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.85rem;
  align-items: end;
}

.accounting-transaction-form.is-compact,
.accounting-category-form.is-compact {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  padding: 0.85rem 0 0.45rem;
}

.accounting-wide-field {
  grid-column: span 2;
}

.accounting-checkbox {
  min-height: 44px;
  align-content: center;
  padding: 0.6rem 0.7rem;
  border: 1px solid var(--accounting-line);
  border-radius: 7px;
  background: var(--accounting-panel-muted);
  letter-spacing: 0 !important;
  text-transform: none !important;
}

.accounting-row-edit {
  position: relative;
}

.accounting-row-edit summary {
  cursor: pointer;
  color: var(--accounting-red);
  font-weight: 850;
}

.accounting-row-edit[open] {
  min-width: 520px;
}

.accounting-row-edit form + form {
  margin-top: 0.5rem;
}

/* Admin inventory */
.inventory-workspace {
  display: grid;
  gap: 1rem;
  font-variant-numeric: tabular-nums;
}

.inventory-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 300px);
  gap: 1rem;
  align-items: end;
  padding: 1.25rem 1.35rem;
  border: 1px solid color-mix(in oklch, var(--site-ink, #111827) 76%, var(--site-line, #d8dbe2));
  border-radius: 10px;
  background: var(--site-ink, #111827);
  color: var(--site-light-text, #fff);
}

.inventory-hero h1 {
  margin: 0.3rem 0 0.45rem;
  color: inherit;
  font-size: 2rem;
  line-height: 1.04;
  letter-spacing: 0;
}

.inventory-hero p {
  max-width: 68ch;
  margin: 0;
  color: oklch(84% 0.012 260);
  font-size: 0.98rem;
  line-height: 1.55;
}

.inventory-hero .eyebrow {
  color: color-mix(in oklch, var(--site-red, var(--nova-accent)) 46%, #fff);
}

.inventory-hero-panel {
  display: grid;
  gap: 0.2rem;
  padding: 0.9rem 1rem;
  border: 1px solid color-mix(in oklch, #fff 18%, var(--site-ink, #111827));
  border-radius: 8px;
  background: color-mix(in oklch, #fff 6%, var(--site-ink, #111827));
}

.inventory-hero-panel span,
.inventory-hero-panel small,
.inventory-metrics span,
.inventory-metrics small,
.inventory-toolbar small,
.inventory-filter-bar label,
.inventory-adjust-form label,
.inventory-settings-form label {
  color: var(--site-muted, #5f6672);
  font-size: 0.68rem;
  font-weight: 850;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.inventory-hero-panel span,
.inventory-hero-panel small {
  color: oklch(78% 0.014 260);
}

.inventory-hero-panel strong {
  color: #fff;
  font-size: 2.2rem;
  line-height: 1;
}

.inventory-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  overflow: hidden;
  border: 1px solid var(--site-line, #d8dbe2);
  border-radius: 10px;
  background: var(--site-surface, #fff);
}

.inventory-metrics article {
  display: grid;
  gap: 0.32rem;
  min-width: 0;
  padding: 0.95rem 1rem;
  border-left: 1px solid var(--site-line, #d8dbe2);
}

.inventory-metrics article:first-child {
  border-left: 0;
}

.inventory-metrics strong {
  color: var(--site-ink, #111827);
  font-size: 1.45rem;
  line-height: 1;
}

.inventory-metrics small {
  color: var(--site-muted, #5f6672);
  line-height: 1.35;
  text-transform: none;
}

.inventory-metrics article.is-warning strong {
  color: #946300;
}

.inventory-metrics article.is-critical strong {
  color: var(--site-red, var(--nova-accent));
}

.inventory-toolbar {
  display: flex;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  padding: 0.95rem 1rem;
  border: 1px solid var(--site-line, #d8dbe2);
  border-radius: 10px;
  background: var(--site-surface, #fff);
}

.inventory-toolbar > div {
  display: grid;
  gap: 0.25rem;
}

.inventory-toolbar strong {
  color: var(--site-ink, #111827);
}

.inventory-toolbar small {
  color: var(--site-muted, #5f6672);
  line-height: 1.35;
  text-transform: none;
}

.inventory-schema-notice {
  border-color: color-mix(in oklch, var(--site-red, var(--nova-accent)) 42%, var(--site-line, #d8dbe2)) !important;
  background: color-mix(in oklch, var(--site-red, var(--nova-accent)) 7%, #fff) !important;
}

.inventory-table-panel {
  display: grid;
  gap: 1rem;
}

.inventory-filter-bar {
  display: grid;
  grid-template-columns: minmax(240px, 1fr) minmax(170px, 0.35fr) auto auto;
  gap: 0.65rem;
  align-items: end;
}

.inventory-filter-bar label,
.inventory-adjust-form label,
.inventory-settings-form label {
  display: grid;
  gap: 0.35rem;
  min-width: 0;
}

.inventory-filter-bar input,
.inventory-filter-bar select,
.inventory-adjust-form input,
.inventory-adjust-form select,
.inventory-settings-form input,
.inventory-settings-form select {
  width: 100%;
  min-height: 44px;
  padding: 0.68rem 0.75rem;
  border: 1px solid var(--site-line, #d8dbe2);
  border-radius: 7px;
  background: var(--site-surface, #fff);
  color: var(--site-ink, #111827);
  font: inherit;
  font-size: 0.84rem;
  letter-spacing: 0;
  text-transform: none;
}

.inventory-filter-bar input:focus,
.inventory-filter-bar select:focus,
.inventory-adjust-form input:focus,
.inventory-adjust-form select:focus,
.inventory-settings-form input:focus,
.inventory-settings-form select:focus {
  outline: 2px solid color-mix(in oklch, var(--site-red, var(--nova-accent)) 48%, transparent);
  outline-offset: 2px;
}

.inventory-table-scroll {
  overflow-x: auto;
}

.inventory-data-table {
  min-width: 1160px;
}

.inventory-data-table td:first-child {
  white-space: normal;
}

.inventory-data-table td:first-child strong,
.inventory-adjustment-list strong {
  display: block;
  color: var(--site-ink, #111827);
}

.inventory-status-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  padding: 0.28rem 0.55rem;
  border: 1px solid var(--site-line, #d8dbe2);
  border-radius: 999px;
  background: var(--site-surface-muted, #f4f5f7);
  color: var(--site-muted, #5f6672);
  font-size: 0.68rem;
  font-weight: 850;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.inventory-status-pill.is-healthy {
  border-color: color-mix(in oklch, #0f8f61 28%, var(--site-line, #d8dbe2));
  background: color-mix(in oklch, #0f8f61 9%, #fff);
  color: #0f6849;
}

.inventory-status-pill.is-low,
.inventory-status-pill.is-needs_count {
  border-color: color-mix(in oklch, #d79000 36%, var(--site-line, #d8dbe2));
  background: color-mix(in oklch, #d79000 11%, #fff);
  color: #815300;
}

.inventory-status-pill.is-out {
  border-color: color-mix(in oklch, var(--site-red, var(--nova-accent)) 36%, var(--site-line, #d8dbe2));
  background: color-mix(in oklch, var(--site-red, var(--nova-accent)) 9%, #fff);
  color: var(--site-red, var(--nova-accent));
}

.inventory-status-pill.is-paused,
.inventory-status-pill.is-archived {
  border-color: var(--site-line, #d8dbe2);
  background: var(--site-surface-muted, #f4f5f7);
  color: var(--site-muted, #5f6672);
}

.inventory-row-edit summary {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  cursor: pointer;
  color: var(--site-red, var(--nova-accent));
  font-size: 0.74rem;
  font-weight: 850;
}

.inventory-row-edit[open] {
  min-width: 620px;
  padding: 0.75rem;
  border: 1px solid var(--site-line, #d8dbe2);
  border-radius: 8px;
  background: var(--site-surface, #fff);
}

.inventory-row-forms {
  display: grid;
  gap: 0.75rem;
  margin-top: 0.4rem;
}

.inventory-adjust-form,
.inventory-settings-form {
  display: grid;
  grid-template-columns: repeat(4, minmax(120px, 1fr)) auto;
  gap: 0.6rem;
  align-items: end;
}

.inventory-settings-form {
  grid-template-columns: repeat(4, minmax(120px, 1fr)) auto;
}

.inventory-adjustment-list {
  display: grid;
}

.inventory-adjustment-list article {
  display: grid;
  grid-template-columns: minmax(180px, 0.4fr) minmax(0, 1fr) auto;
  gap: 0.85rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--site-line, #d8dbe2);
  align-items: center;
}

.inventory-adjustment-list article:last-child {
  border-bottom: 0;
}

.inventory-adjustment-list span,
.inventory-adjustment-list p,
.inventory-adjustment-list small {
  margin: 0;
  color: var(--site-muted, #5f6672);
  font-size: 0.78rem;
  line-height: 1.45;
}

@media (max-width: 1180px) {
  .accounting-workspace-header,
  .accounting-filter-panel,
  .accounting-snapshot,
  .accounting-report-grid,
  .inventory-hero {
    grid-template-columns: 1fr;
  }

  .accounting-header-details,
  .inventory-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .accounting-filter-bar,
  .accounting-record-filters,
  .accounting-transaction-form,
  .accounting-category-form,
  .inventory-filter-bar,
  .inventory-adjust-form,
  .inventory-settings-form {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .accounting-workspace-header {
    padding: 1.05rem;
  }

  .accounting-workspace-header h1 {
    font-size: 1.65rem;
  }

  .accounting-header-details,
  .accounting-filter-bar,
  .accounting-record-filters,
  .accounting-kpi-grid,
  .accounting-breakdown-grid,
  .accounting-summary-grid,
  .accounting-transaction-form,
  .accounting-category-form,
  .accounting-transaction-form.is-compact,
  .inventory-metrics,
  .inventory-filter-bar,
  .inventory-adjust-form,
  .inventory-settings-form,
  .inventory-adjustment-list article {
    grid-template-columns: 1fr;
  }

  .accounting-subnav {
    padding-inline: 0.05rem;
  }

  .accounting-filter-panel {
    padding: 0.8rem;
  }

  .inventory-hero,
  .inventory-toolbar {
    padding: 1rem;
  }

  .inventory-toolbar {
    align-items: stretch;
    flex-direction: column;
  }

  .inventory-toolbar .btn,
  .inventory-filter-bar .btn,
  .inventory-adjust-form .btn,
  .inventory-settings-form .btn {
    width: 100%;
    min-height: 44px;
  }

  .accounting-wide-field {
    grid-column: auto;
  }

  .accounting-filter-bar .btn,
  .accounting-record-filters .btn,
  .accounting-transaction-form .btn,
  .accounting-category-form .btn {
    width: 100%;
    min-height: 44px;
  }

  .accounting-snapshot-main {
    padding: 1.05rem;
  }

  .accounting-snapshot-value {
    font-size: 2rem;
  }

  .accounting-equation {
    grid-template-columns: 1fr;
    gap: 0.38rem;
  }

  .accounting-equation i {
    justify-self: center;
  }

  .accounting-kpi-card,
  .accounting-kpi-card:nth-last-child(-n + 2) {
    min-height: auto;
    border-inline-start: 0;
    border-bottom: 1px solid var(--accounting-line);
  }

  .accounting-kpi-card:last-child {
    border-bottom: 0;
  }

  .accounting-chart-section .admin-section-head {
    align-items: stretch;
    flex-direction: column;
  }

  .accounting-chart-toggles {
    justify-content: flex-start;
  }

  .accounting-chart-wrap svg {
    min-width: 560px;
  }

  .accounting-breakdown-item {
    grid-template-columns: 1fr;
  }

  .accounting-breakdown-item b {
    text-align: left;
  }

  .accounting-row-edit[open] {
    min-width: 0;
  }

  .inventory-row-edit[open] {
    min-width: min(620px, calc(100vw - 4rem));
  }
}


@media (max-width: 900px) {
  .admin-app-frame {
    grid-template-columns: 220px minmax(0, 1fr);
  }
}

@media (max-width: 760px) {
    body.home .home-hero {
      min-height: 455px !important;
    }

    body.home .home-hero-content {
      width: calc(100% - 32px) !important;
      padding-block: 1.75rem !important;
    }

    body.home .home-hero-content h1 {
      max-width: 15ch !important;
      margin-block: 0.55rem 0.75rem !important;
      font-size: clamp(2.05rem, 9.5vw, 2.8rem) !important;
      line-height: 0.98 !important;
    }

    body.home .home-hero-content > p:not(.home-hero-notice) {
      margin-bottom: 1rem !important;
      font-size: 0.9rem !important;
      line-height: 1.5 !important;
    }

    body.home .home-actions {
      display: grid !important;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 0.55rem !important;
    }

    body.home .home-actions .btn {
      min-width: 0 !important;
      min-height: 46px;
      padding-inline: 0.65rem !important;
      font-size: 0.7rem !important;
      text-align: center;
    }

    body.home .home-hero-notice {
      margin-top: 1rem !important;
      font-size: 0.67rem !important;
    }

    body.home .home-trustbar {
      grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }

    body.home .home-trustbar article {
      min-height: 70px !important;
      padding: 0.7rem !important;
    }

    .home-shop-paths {
      grid-template-columns: 1fr;
    }

    .home-shop-paths a:nth-child(odd) {
      border-right: 0;
    }

    .home-shop-paths a {
      min-height: 116px;
    }

    .quick-add-panel {
      top: auto;
      right: 0;
      bottom: 0;
      left: 0;
      width: 100%;
      max-height: min(82dvh, 680px);
      border-right: 0;
      border-bottom: 0;
      border-left: 0;
      border-radius: 8px 8px 0 0;
      transform: translateY(24px);
    }

    body.quick-add-open .quick-add-panel {
      transform: translateY(0);
    }

    .page-intro-document .page-intro-copy,
    .page-intro-faq .page-intro-copy,
    .page-intro-support .page-intro-copy,
    .page-intro-guide .page-intro-copy {
      width: 100%;
      padding: 1.75rem 1.2rem !important;
    }

    .page-intro-document h1,
    .page-intro-support h1 {
      color: var(--site-ink) !important;
    }

    .page-intro-faq {
      min-height: 0 !important;
    }

    .page-intro-media-left .page-intro-copy,
    .page-intro-media-left .page-intro-media {
      grid-column: 1;
    }

    .page-intro-media-left .page-intro-copy {
      grid-row: 1;
    }

    .page-intro-media-left .page-intro-media {
      grid-row: 2;
      border-right: 0;
    }

    .blog-article-section,
    .blog-article-section-reference {
      padding: 1.5rem 0 !important;
      grid-template-columns: 34px minmax(0, 1fr);
      gap: 0.6rem;
    }

    .blog-article-section-reference {
      padding-inline: 0.8rem !important;
    }

    .next-site-header .menu-toggle {
      margin-left: auto;
    }

    .next-header-actions {
      display: none !important;
    }

    .admin-app-topbar {
      min-height: 64px;
      padding-inline: 0.75rem;
      grid-template-columns: auto 1fr;
    }

    .admin-app-topbar .brand img {
      width: 130px;
    }

    .admin-product-name {
      justify-self: end;
      padding-left: 0;
      border-left: 0;
    }

    .admin-topbar-actions,
    .admin-app-sidebar {
      display: none;
    }

    .admin-app-frame {
      display: block;
    }

    .admin-mobile-navigation {
      display: block;
      margin: 0.75rem;
      border: 1px solid var(--site-line, #d8dbe2);
      border-radius: 8px;
      background: #fff;
    }

    .admin-mobile-navigation > summary {
      display: grid;
      min-height: 54px;
      padding: 0.7rem 0.85rem;
      align-content: center;
      cursor: pointer;
      list-style: none;
      color: var(--site-ink, #111827);
      font-size: 0.82rem;
      font-weight: 800;
    }

    .admin-mobile-navigation > summary::-webkit-details-marker {
      display: none;
    }

    .admin-mobile-navigation > summary span {
      color: var(--site-muted, #5f6672);
      font-size: 0.66rem;
      font-weight: 500;
    }

    .admin-mobile-navigation .admin-navigation {
      padding: 0.65rem;
      border-top: 1px solid var(--site-line, #d8dbe2);
    }

    .admin-app-frame > .admin-ops-shell {
      padding: 0.75rem !important;
    }

    .admin-subpage-section {
      padding: 0.85rem;
    }

    .admin-commission-grid {
      grid-template-columns: 1fr;
    }

    .admin-restock-card-head,
    .admin-review-card-head,
    .admin-review-actions,
    .admin-reject-form {
      align-items: stretch;
      flex-direction: column;
    }

    .admin-restock-card-head form .btn,
    .admin-review-actions form .btn,
    .admin-reject-form .btn {
      width: 100%;
    }

    .admin-reject-form {
      flex-basis: auto;
    }

    .admin-reject-form label {
      min-width: 0;
    }

    .admin-history-list p {
      grid-template-columns: 1fr;
      gap: 0.25rem;
    }
}

@media (max-width: 420px) {
  body.home .home-hero {
    min-height: 430px !important;
  }

  body.home .home-hero-content h1 {
    font-size: 2rem !important;
  }
}

@media (max-width: 340px) {
  body.home .home-actions {
    grid-template-columns: 1fr;
  }

  body.home .home-hero {
    min-height: 500px !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .quick-add-backdrop,
  .quick-add-panel {
    transition: none !important;
  }
}

/* Mobile two-column product cards: compact, aligned, and overflow-safe. */
@media (max-width: 760px) {
  .product-grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    align-items: stretch !important;
    gap: 0.6rem !important;
  }

  .product-grid > *,
  .product-grid .product-card,
  .product-grid .product-body,
  .product-grid .product-card-topline,
  .product-grid .product-card h3,
  .product-grid .product-card h3 a,
  .product-grid .product-card-description,
  .product-grid .product-meta,
  .product-grid .product-meta > div,
  .product-grid .product-price-range,
  .product-grid .card-order {
    min-width: 0 !important;
    max-width: 100% !important;
  }

  .product-grid .product-card {
    display: flex !important;
    height: 100% !important;
    min-height: 0 !important;
    overflow: hidden !important;
    flex-direction: column !important;
  }

  .product-grid .product-media {
    display: flex !important;
    width: 100% !important;
    aspect-ratio: 1 / 1 !important;
    margin: 0 !important;
    padding: 0 !important;
    flex: 0 0 auto !important;
    align-items: center !important;
    justify-content: center !important;
    background: #ffffff !important;
  }

  .product-grid .product-media img {
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    max-height: 100% !important;
    object-fit: contain !important;
    object-position: center !important;
  }

  .product-grid .product-body {
    display: flex !important;
    min-height: 0 !important;
    padding: 0.72rem !important;
    flex: 1 1 auto !important;
    flex-direction: column !important;
  }

  .product-grid .product-card-topline {
    min-height: 1rem !important;
    margin: 0 !important;
  }

  .product-grid .product-card-status {
    font-size: 0.61rem !important;
    line-height: 1.2 !important;
    overflow-wrap: anywhere;
  }

  .product-grid .product-card h3,
  .product-grid .product-body h3 {
    display: -webkit-box !important;
    min-height: 2.5em !important;
    max-height: 2.5em !important;
    margin: 0.55rem 0 0 !important;
    overflow: hidden !important;
    font-size: 0.88rem !important;
    line-height: 1.25 !important;
    overflow-wrap: anywhere;
    word-break: normal;
    -webkit-box-orient: vertical !important;
    -webkit-line-clamp: 2 !important;
  }

  .product-grid .product-card-review-slot {
    display: flex !important;
    min-height: 1.05rem !important;
    margin: 0.25rem 0 0.3rem !important;
    align-items: center !important;
    font-size: 0.68rem !important;
  }

  .product-grid .product-card-description,
  .product-grid .product-body > p {
    display: -webkit-box !important;
    min-height: 4.2em !important;
    max-height: 4.2em !important;
    margin: 0 !important;
    flex: 0 0 4.2em !important;
    overflow: hidden !important;
    font-size: 0.74rem !important;
    line-height: 1.4 !important;
    overflow-wrap: anywhere;
    word-break: normal;
    text-overflow: ellipsis;
    -webkit-box-orient: vertical !important;
    -webkit-line-clamp: 3 !important;
  }

  .product-grid .product-meta {
    display: flex !important;
    min-height: 0 !important;
    margin-top: auto !important;
    padding-top: 0.65rem !important;
    align-items: stretch !important;
    flex-direction: column !important;
    gap: 0.55rem !important;
  }

  .product-grid .product-meta > div {
    display: flex !important;
    min-height: 3.85rem !important;
    align-items: flex-start !important;
    flex-direction: column !important;
    justify-content: flex-start !important;
    gap: 0.08rem !important;
  }

  .product-grid .product-meta > div > small,
  .product-grid .product-card-kit-price,
  .product-grid .product-card-kit-saving {
    font-size: 0.59rem !important;
    line-height: 1.25 !important;
    overflow-wrap: anywhere;
  }

  .product-grid .product-price-range {
    display: flex !important;
    min-height: 0 !important;
    flex-direction: column !important;
    flex-wrap: nowrap !important;
    gap: 0.08rem !important;
    line-height: 1.15 !important;
  }

  .product-grid .product-price-range > span {
    font-size: 1.08rem !important;
    line-height: 1.1 !important;
  }

  .product-grid .card-order {
    display: flex !important;
    width: 100% !important;
    min-height: 44px !important;
    margin: 0 !important;
    padding: 0.55rem 0.35rem !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 0.66rem !important;
    line-height: 1.15 !important;
    text-align: center !important;
    white-space: normal !important;
    overflow-wrap: anywhere;
    word-break: normal;
  }

  /* The catalog has older high-specificity rules; keep this final mobile contract authoritative. */
  body.catalog-page [data-product-grid] {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 0.6rem !important;
  }

  body.catalog-page [data-product-grid] .product-body {
    display: flex !important;
    min-height: 0 !important;
    padding: 0.72rem !important;
    flex: 1 1 auto !important;
    flex-direction: column !important;
  }

  body.catalog-page [data-product-grid] .product-body h3 {
    min-height: 2.5em !important;
    max-height: 2.5em !important;
    margin: 0.55rem 0 0 !important;
    font-size: 0.88rem !important;
    line-height: 1.25 !important;
    -webkit-line-clamp: 2 !important;
  }

  body.catalog-page [data-product-grid] .product-card-review-slot {
    min-height: 1.05rem !important;
    margin: 0.25rem 0 0.3rem !important;
    font-size: 0.68rem !important;
  }

  body.catalog-page [data-product-grid] .product-card-description,
  body.catalog-page [data-product-grid] .product-body > p {
    min-height: 4.2em !important;
    max-height: 4.2em !important;
    margin: 0 !important;
    flex: 0 0 4.2em !important;
    font-size: 0.74rem !important;
    line-height: 1.4 !important;
    -webkit-line-clamp: 3 !important;
  }

  body.catalog-page [data-product-grid] .product-meta {
    display: flex !important;
    min-height: 0 !important;
    margin-top: auto !important;
    padding-top: 0.65rem !important;
    align-items: stretch !important;
    flex-direction: column !important;
    gap: 0.55rem !important;
  }

  body.catalog-page [data-product-grid] .product-meta > div {
    display: flex !important;
    min-height: 3.85rem !important;
    align-items: flex-start !important;
    flex-direction: column !important;
    gap: 0.08rem !important;
  }

  body.catalog-page [data-product-grid] .product-price-range {
    min-height: 0 !important;
    gap: 0.08rem !important;
  }

  body.catalog-page [data-product-grid] .product-meta .card-order {
    width: 100% !important;
    min-height: 44px !important;
    margin: 0 !important;
    padding: 0.55rem 0.35rem !important;
    font-size: 0.66rem !important;
    line-height: 1.15 !important;
    white-space: normal !important;
  }

  body.catalog-page .catalog-results {
    padding-bottom: calc(7rem + env(safe-area-inset-bottom)) !important;
  }

body.home .pc-chatbot,
body.catalog-page .pc-chatbot,
body.warehouse-page-shell .pc-chatbot,
body.coa-page-shell .pc-chatbot,
body.coa-detail-shell .pc-chatbot {
  display: none !important;
}
}
/* Consolidated dosage selectors and partner warehouse ordering */
body.warehouse-page-shell .pc-chatbot,
body.coa-page-shell .pc-chatbot {
  display: none !important;
}

.dosage-options {
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.dosage-options button {
  min-height: 78px;
}

.warehouse-hero {
  width: min(1180px, calc(100% - 2rem));
  margin: clamp(2rem, 6vw, 5rem) auto 1.25rem;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 0.32fr);
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: end;
  padding: clamp(1.5rem, 4vw, 3.5rem);
  color: #fff;
  background:
    linear-gradient(130deg, rgba(159, 12, 31, 0.95), rgba(20, 22, 29, 0.96) 62%),
    var(--ink);
  box-shadow: var(--shadow);
}

.warehouse-hero h1 {
  max-width: 850px;
  margin: 0.45rem 0 1rem;
  color: #fff;
  font-size: clamp(2.7rem, 6.8vw, 5.7rem);
  line-height: 0.92;
  letter-spacing: -0.06em;
}

.warehouse-hero p {
  max-width: 760px;
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.65;
}

.warehouse-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.warehouse-hero aside {
  display: grid;
  gap: 0.3rem;
  padding: 1.35rem;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.06);
}

.warehouse-hero aside span,
.warehouse-hero aside small {
  color: rgba(255, 255, 255, 0.72);
}

.warehouse-hero aside strong {
  color: #fff;
  font-family: var(--font-heading);
  font-size: clamp(4rem, 9vw, 7rem);
  line-height: 0.85;
  letter-spacing: -0.07em;
}

.warehouse-facts {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line);
  background: var(--surface);
}

.warehouse-facts > span {
  display: grid;
  gap: 0.25rem;
  min-width: 0;
  padding: 1rem 1.2rem;
  border-right: 1px solid var(--line);
}

.warehouse-facts > span:last-child {
  border-right: 0;
}

.warehouse-facts strong {
  font-family: var(--font-heading);
}

.warehouse-facts small,
.warehouse-table small,
.warehouse-selection small {
  color: var(--muted);
  line-height: 1.4;
}

.warehouse-order,
.warehouse-notes {
  width: min(1180px, calc(100% - 2rem));
  margin: clamp(2rem, 5vw, 4rem) auto;
}

.warehouse-order-head {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  align-items: end;
  margin-bottom: 1rem;
}

.warehouse-order-head h2,
.warehouse-notes h2 {
  margin: 0.3rem 0 0.5rem;
  font-size: clamp(2rem, 4vw, 3.3rem);
  letter-spacing: -0.045em;
}

.warehouse-order-head p {
  max-width: 720px;
  margin: 0;
  color: var(--muted);
}

.warehouse-search {
  flex: 0 1 320px;
  display: flex;
  gap: 0.65rem;
  align-items: center;
  min-height: 48px;
  padding: 0 0.9rem;
  border: 1px solid var(--line-strong);
  background: var(--surface);
}

.warehouse-search svg {
  width: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}

.warehouse-search input {
  min-width: 0;
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--text);
  font: inherit;
}

.warehouse-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  background: var(--surface);
}

.warehouse-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  font-variant-numeric: tabular-nums;
}

.warehouse-table th:nth-child(1) { width: 36%; }
.warehouse-table th:nth-child(2) { width: 18%; }
.warehouse-table th:nth-child(3) { width: 19%; }
.warehouse-table th:nth-child(4) { width: 27%; }

.warehouse-table th {
  padding: 0.9rem 1rem;
  color: #fff;
  background: var(--ink);
  text-align: left;
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.warehouse-table td {
  padding: 1rem;
  border-bottom: 1px solid var(--line);
  vertical-align: middle;
}

.warehouse-table tbody tr:last-child td {
  border-bottom: 0;
}

.warehouse-table tbody tr:hover {
  background: var(--bg-soft);
}

.warehouse-table td > a,
.warehouse-table td > span {
  display: grid;
  gap: 0.2rem;
}

.warehouse-table td:nth-child(2) > strong,
.warehouse-table td:nth-child(2) > small,
.warehouse-table td:nth-child(3) > strong,
.warehouse-table td:nth-child(3) > small {
  display: block;
}

.warehouse-table td:nth-child(2) > small,
.warehouse-table td:nth-child(3) > small {
  margin-top: 0.2rem;
}

.warehouse-table .warehouse-product {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 1rem;
}

.warehouse-product img {
  width: 128px;
  height: 144px;
  flex: 0 0 128px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  object-fit: contain;
}

.warehouse-product span {
  display: grid;
  gap: 0.2rem;
}

.warehouse-table .is-unavailable {
  background: #f8fafc;
}

.warehouse-table .is-unavailable .warehouse-product img {
  opacity: 0.68;
  filter: grayscale(1);
}

.warehouse-quantity {
  display: grid;
  grid-template-columns: minmax(64px, 1fr) minmax(64px, 78px) minmax(64px, 1fr);
  width: 100%;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  overflow: hidden;
  background: var(--surface);
}

.warehouse-quantity button,
.warehouse-quantity input {
  min-height: 42px;
  border: 0;
  background: transparent;
  color: var(--text);
  font: inherit;
}

.warehouse-quantity button {
  cursor: pointer;
  color: var(--red);
  font-size: 0.72rem;
  font-weight: 800;
}

.warehouse-quantity button:hover {
  background: var(--red-soft);
}

.warehouse-quantity input {
  width: 100%;
  padding: 0;
  border-inline: 1px solid var(--line);
  text-align: center;
  font-weight: 800;
  appearance: textfield;
}

.warehouse-quantity-block {
  display: grid;
  gap: 0.55rem;
  width: min(100%, 280px);
}

.warehouse-step-mobile {
  display: none;
}

.warehouse-line-summary {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  align-items: baseline;
  font-variant-numeric: tabular-nums;
}

.warehouse-line-summary span {
  color: var(--muted);
  font-size: 0.7rem;
}

.warehouse-line-summary strong {
  white-space: nowrap;
  font-size: 0.82rem;
}

.warehouse-unavailable {
  max-width: 220px;
  color: #9f1239;
  font-size: 0.82rem;
  line-height: 1.35;
}

.warehouse-selection {
  position: sticky;
  top: 82px;
  z-index: 18;
  display: grid;
  grid-template-columns: minmax(190px, 1fr) minmax(170px, 0.8fr) minmax(210px, 1fr) auto;
  gap: 1rem;
  align-items: center;
  margin-bottom: 1rem;
  padding: 1rem;
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}

.warehouse-selection-metric {
  display: grid;
  gap: 0.15rem;
}

.warehouse-selection-metric > span {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.warehouse-selection .form-message {
  grid-column: 1 / -1;
  margin: 0;
}

.warehouse-selection-actions {
  display: grid;
  justify-items: stretch;
  gap: 0.45rem;
  min-width: 210px;
}

.warehouse-progress {
  grid-column: 1 / -1;
  height: 5px;
  overflow: hidden;
  border-radius: 999px;
  background: var(--line);
}

.warehouse-progress span {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: var(--red);
  transition: width 180ms cubic-bezier(0.25, 1, 0.5, 1);
}

.warehouse-reset {
  border: 0;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.warehouse-notes {
  display: grid;
  grid-template-columns: minmax(240px, 0.45fr) minmax(0, 1fr);
  gap: 2rem;
  padding-block: 2rem;
  border-block: 1px solid var(--line);
}

.warehouse-notes ul {
  margin: 0;
  padding-left: 1.2rem;
  color: var(--muted);
  line-height: 1.7;
}

.warehouse-checkout-note {
  color: var(--soft);
  background: var(--panel);
}

@media (max-width: 900px) {
  .warehouse-hero,
  .warehouse-notes {
    grid-template-columns: 1fr;
  }

  .warehouse-facts {
    grid-template-columns: repeat(2, 1fr);
  }

  .warehouse-facts > span:nth-child(2) {
    border-right: 0;
  }

  .warehouse-facts > span:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

  .warehouse-selection {
    top: 76px;
    grid-template-columns: 1fr 1fr;
  }

  .warehouse-selection-actions {
    grid-column: 1 / -1;
    grid-template-columns: minmax(180px, 1fr) auto;
    align-items: center;
  }
}

@media (max-width: 767px) {
  body.warehouse-page-shell {
    overflow-x: clip;
  }

  .warehouse-hero,
  .warehouse-order,
  .warehouse-notes {
    width: min(100% - 1rem, 1180px);
  }

  .warehouse-hero {
    margin-top: 1rem;
    padding: 1.25rem;
  }

  .warehouse-hero h1 {
    font-size: clamp(2.6rem, 15vw, 4.2rem);
  }

  .warehouse-facts {
    width: min(100% - 1rem, 1180px);
    grid-template-columns: 1fr;
  }

  .warehouse-facts > span {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .warehouse-order-head {
    display: grid;
    gap: 0.85rem;
    align-items: stretch;
    margin-bottom: 0.75rem;
  }

  .warehouse-order-head h2 {
    margin-bottom: 0.25rem;
    font-size: clamp(1.85rem, 10vw, 2.6rem);
  }

  .warehouse-order-head p {
    font-size: 0.88rem;
  }

  .warehouse-search {
    width: 100%;
    max-width: 100%;
    min-height: 44px;
    flex-basis: auto;
    box-sizing: border-box;
  }

  .warehouse-table-wrap {
    overflow: visible;
    width: 100%;
    max-width: 100%;
    border: 0;
    background: transparent;
  }

  .warehouse-table,
  .warehouse-table tbody {
    display: block;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    table-layout: auto;
  }

  .warehouse-table thead {
    display: none;
  }

  .warehouse-table tr {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(84px, auto);
    grid-template-areas:
      "product dosage"
      "price price"
      "quantity quantity";
    gap: 8px 12px;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    margin-bottom: 10px;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 13px;
    background: var(--surface);
    box-sizing: border-box;
    box-shadow: 0 5px 16px rgba(15, 23, 42, 0.035);
  }

  .warehouse-product img {
    width: 58px;
    height: 64px;
    flex: 0 0 58px;
    border-radius: 7px;
  }

  .warehouse-table tr[hidden] {
    display: none;
  }

  .warehouse-table td {
    display: block;
    min-width: 0;
    max-width: 100%;
    padding: 0;
    border: 0;
    box-sizing: border-box;
  }

  .warehouse-table td::before {
    content: none;
  }

  .warehouse-table td:nth-child(1) {
    grid-area: product;
  }

  .warehouse-table td:nth-child(2) {
    grid-area: dosage;
    align-self: start;
    text-align: right;
  }

  .warehouse-table td:nth-child(3) {
    grid-area: price;
    display: flex;
    align-items: baseline;
    gap: 7px;
    padding-top: 7px;
    border-top: 1px solid var(--line);
  }

  .warehouse-table td:nth-child(4) {
    grid-area: quantity;
    padding-top: 7px;
    border-top: 1px solid var(--line);
  }

  .warehouse-table td:nth-child(2) > strong,
  .warehouse-table td:nth-child(2) > small,
  .warehouse-table td:nth-child(3) > strong,
  .warehouse-table td:nth-child(3) > small {
    min-width: 0;
  }

  .warehouse-table td:nth-child(2) > strong {
    font-size: 0.94rem;
    line-height: 1.2;
  }

  .warehouse-table td:nth-child(2) > small {
    max-width: 126px;
    margin: 3px 0 0 auto;
    font-size: 0.68rem;
    line-height: 1.25;
  }

  .warehouse-table td:nth-child(3) > strong {
    font-size: 1.05rem;
  }

  .warehouse-table td:nth-child(3) > small {
    margin: 0;
    font-size: 0.68rem;
  }

  .warehouse-table .warehouse-product {
    gap: 9px;
    width: 100%;
    max-width: 100%;
  }

  .warehouse-product span,
  .warehouse-product strong,
  .warehouse-product small {
    min-width: 0;
    overflow-wrap: anywhere;
  }

  .warehouse-product strong {
    font-size: 0.92rem;
    line-height: 1.18;
  }

  .warehouse-product small {
    font-size: 0.68rem;
  }

  .warehouse-quantity {
    width: min(100%, 190px);
    grid-template-columns: 54px minmax(48px, 1fr) 54px;
    border-radius: 9px;
  }

  .warehouse-quantity button,
  .warehouse-quantity input {
    min-height: 42px;
  }

  .warehouse-quantity button {
    font-size: 0.78rem;
  }

  .warehouse-step-desktop {
    display: none;
  }

  .warehouse-step-mobile {
    display: inline;
  }

  .warehouse-quantity-block {
    display: grid;
    grid-template-columns: minmax(0, 190px) minmax(90px, 1fr);
    gap: 10px;
    align-items: center;
    width: 100%;
    max-width: 100%;
  }

  .warehouse-line-summary {
    display: grid;
    justify-items: end;
    gap: 2px;
    text-align: right;
  }

  .warehouse-line-summary span {
    font-size: 0.62rem;
  }

  .warehouse-line-summary strong {
    font-size: 0.78rem;
  }

  .warehouse-selection {
    position: static;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.65rem 0.9rem;
    padding: 0.75rem;
    border-radius: 12px;
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.06);
  }

  .warehouse-selection-metric {
    gap: 0.05rem;
  }

  .warehouse-selection-metric > span {
    font-size: 0.62rem;
  }

  .warehouse-selection-metric strong {
    font-size: 0.84rem;
    line-height: 1.25;
  }

  .warehouse-selection-metric small {
    font-size: 0.66rem;
    line-height: 1.25;
  }

  .warehouse-selection .btn {
    width: 100%;
  }

  .warehouse-selection-actions {
    grid-column: 1 / -1;
    grid-template-columns: minmax(0, 1fr) auto;
    min-width: 0;
  }

  .warehouse-selection-metric:nth-child(3) {
    grid-column: 1 / -1;
    padding-top: 0.5rem;
    border-top: 1px solid var(--line);
  }

  .warehouse-progress,
  .warehouse-selection .form-message {
    grid-column: 1 / -1;
  }
}

@media (max-width: 350px) {
  .warehouse-quantity-block {
    grid-template-columns: 1fr;
  }

  .warehouse-quantity {
    width: 100%;
  }

  .warehouse-line-summary {
    grid-template-columns: 1fr auto;
    justify-items: initial;
    text-align: left;
  }
}

/* Two-step injection-pen configurator. The hidden canonical dosage buttons
   remain the single source of truth for price, media and cart state. */
.pen-configurator,
.pen-configurator-step {
  display: grid;
  gap: 12px;
  min-width: 0;
}

.pen-configurator-step {
  margin: 0;
  padding: 0;
  border: 0;
}

.pen-configurator-step legend {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 2px;
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.pen-configurator-step legend span {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  font-size: 0.7rem;
}

.pen-format-options,
.pen-cartridge-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
}

.pen-cartridge-options {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.pen-format-option,
.pen-cartridge-option {
  display: grid;
  min-width: 0;
  padding: 12px;
  border: 1px solid var(--line-strong);
  border-radius: 11px;
  background: var(--surface);
  color: var(--text);
  cursor: pointer;
  text-align: left;
  transition: border-color 150ms ease, box-shadow 150ms ease, background 150ms ease;
}

.pen-format-option {
  grid-template-columns: 94px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  min-height: 150px;
}

.pen-cartridge-option {
  gap: 3px;
}

.pen-option-copy {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.pen-format-option strong,
.pen-cartridge-option strong {
  overflow-wrap: anywhere;
  font-size: 0.84rem;
}

.pen-format-option small,
.pen-cartridge-option small,
.pen-format-option em,
.pen-cartridge-option em {
  color: var(--muted);
  font-size: 0.68rem;
  font-style: normal;
  line-height: 1.3;
}

.pen-format-option em,
.pen-cartridge-option em {
  color: #166534;
  font-size: 0.62rem;
  font-weight: 800;
  text-transform: uppercase;
}

.pen-format-media,
.pen-cartridge-media {
  display: grid;
  place-items: center;
  min-width: 0;
  overflow: hidden;
  border-radius: 8px;
  background: linear-gradient(180deg, #f8fafc, #edf1f5);
}

.pen-format-media {
  width: 94px;
  height: 126px;
}

.pen-cartridge-option {
  grid-template-rows: 126px auto;
  align-content: start;
}

.pen-cartridge-media {
  width: 100%;
  height: 126px;
}

.pen-format-media img,
.pen-cartridge-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.pen-format-media img {
  padding: 3px;
}

.pen-cartridge-media img {
  padding: 2px;
}

.pen-format-option.is-active,
.pen-cartridge-option.is-active {
  border-color: var(--red);
  background: var(--red-soft);
  box-shadow: 0 0 0 2px rgba(217, 4, 41, 0.12);
}

.pen-format-option.is-active small,
.pen-cartridge-option.is-active small,
.pen-cartridge-option.is-active em {
  color: #4b5563;
}

.pen-selection-summary {
  display: grid;
  gap: 2px;
  padding: 10px 12px;
  border-left: 3px solid var(--red);
  background: var(--bg-soft);
}

.pen-selection-summary span {
  color: var(--muted);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.pen-selection-summary strong {
  overflow-wrap: anywhere;
  font-size: 0.8rem;
}

.pen-variant-source {
  display: none;
}

@media (max-width: 640px) {
  .pen-format-options,
  .pen-cartridge-options {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .pen-format-option,
  .pen-cartridge-option {
    padding: 10px;
  }

  .pen-format-option {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: 150px auto;
    align-content: start;
    min-height: 224px;
  }

  .pen-format-media {
    width: 100%;
    height: 150px;
  }

  .pen-cartridge-option {
    grid-template-rows: 146px auto;
  }

  .pen-cartridge-media {
    height: 146px;
  }
}
/* COA library and product-document gallery — flat, native Nova Health UI */
.coa-page-shell,
.coa-detail-shell {
  background: #f4f6f8;
}

.coa-library,
.coa-detail-page {
  width: min(1240px, calc(100% - 40px));
  margin: 0 auto;
  padding: 56px 0 88px;
}

.coa-library-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px 48px;
  align-items: end;
  padding: 44px;
  color: #fff;
  background: #10131a;
  border: 1px solid #262b36;
  border-radius: 24px;
}

.coa-library-hero > .eyebrow,
.coa-library-hero > h1,
.coa-library-hero > p {
  grid-column: 1;
  margin: 0;
}

.coa-library-hero > .eyebrow {
  color: #c5cbd5;
}

.coa-library-hero h1 {
  max-width: 760px;
  color: #fff;
  font-size: clamp(2.6rem, 6vw, 5.8rem);
  line-height: .9;
  letter-spacing: -.055em;
}

.coa-library-hero > p {
  max-width: 720px;
  color: #c7ccd6;
  font-size: 1.02rem;
  line-height: 1.7;
}

.coa-library-stats {
  grid-column: 2;
  grid-row: 1 / span 3;
  display: grid;
  gap: 1px;
  min-width: 235px;
  overflow: hidden;
  border: 1px solid #333946;
  border-radius: 16px;
  background: #333946;
}

.coa-library-stats span {
  display: grid;
  grid-template-columns: 60px 1fr;
  align-items: center;
  gap: 14px;
  padding: 17px 18px;
  background: #171b23;
}

.coa-library-stats strong {
  color: #fff;
  font-size: 1.55rem;
}

.coa-library-stats small {
  color: #aeb5c2;
  font-size: .72rem;
  font-weight: 750;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.coa-filters {
  position: sticky;
  top: 86px;
  z-index: 12;
  display: grid;
  grid-template-columns: minmax(260px, 1.5fr) repeat(3, minmax(150px, .75fr)) auto;
  gap: 10px;
  align-items: end;
  margin: 24px 0 14px;
  padding: 14px;
  border: 1px solid #dce1e7;
  border-radius: 18px;
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 14px 32px rgba(17, 24, 39, .08);
  backdrop-filter: blur(14px);
}

.coa-filters label {
  display: grid;
  gap: 7px;
}

.coa-filters label > span {
  padding-left: 3px;
  color: #596171;
  font-size: .67rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.coa-filters input,
.coa-filters select,
.coa-filters button {
  min-height: 46px;
  border: 1px solid #cfd5de;
  border-radius: 11px;
  background: #fff;
  color: #151922;
  font: inherit;
}

.coa-filters input,
.coa-filters select {
  width: 100%;
  padding: 0 13px;
}

.coa-filters button {
  padding: 0 17px;
  cursor: pointer;
  font-size: .78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.coa-results-summary {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin: 20px 2px 14px;
  color: #646c79;
}

.coa-results-summary strong {
  color: #151922;
  font-size: 1.25rem;
}

.coa-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  align-items: stretch;
}

.coa-card {
  display: grid;
  grid-template-rows: 320px minmax(0, 1fr);
  overflow: hidden;
  min-width: 0;
  border: 1px solid #dce1e7;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 9px 22px rgba(17, 24, 39, .055);
}

.coa-card[hidden] {
  display: none;
}

.coa-card-media {
  position: relative;
  display: grid;
  place-items: center;
  width: 100%;
  height: 320px;
  min-height: 0;
  overflow: hidden;
  padding: 20px;
  border: 0;
  border-bottom: 1px solid #e4e7ec;
  background: #f7f8fa;
  cursor: zoom-in;
}

.coa-card-media img {
  position: absolute;
  inset: 20px;
  display: block;
  width: calc(100% - 40px);
  height: calc(100% - 40px);
  object-fit: contain;
  object-position: center;
}

.coa-preview-fallback {
  display: grid;
  place-items: center;
  gap: 7px;
  color: #343b47;
  text-align: center;
}

.coa-preview-fallback[hidden] {
  display: none;
}

.coa-preview-fallback svg {
  width: 42px;
  stroke: var(--nova-accent);
  fill: none;
  stroke-width: 1.5;
}

.coa-preview-fallback small {
  color: #626b79;
}

.coa-card-document {
  align-content: center;
  gap: 8px;
  cursor: default;
  color: #343b47;
}

.coa-card-document svg {
  width: 42px;
  stroke: var(--nova-accent);
  fill: none;
  stroke-width: 1.5;
}

.coa-card-document span {
  color: #5b6470;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.coa-card-document strong {
  max-width: 90%;
  overflow-wrap: anywhere;
  text-align: center;
}

.coa-card-copy {
  display: grid;
  grid-template-rows: auto auto 1fr;
  align-content: start;
  gap: 18px;
  min-height: 0;
  padding: 22px;
}

.coa-card-heading h2,
.coa-card-heading p {
  margin: 0;
}

.coa-card-heading h2 {
  margin-top: 9px;
  font-size: 1.3rem;
  line-height: 1.15;
  overflow-wrap: anywhere;
}

.coa-card-heading p {
  margin-top: 5px;
  color: var(--nova-accent);
  font-weight: 850;
}

.coa-source-badge,
.coa-archive-label {
  color: #4b5563;
  font-size: .65rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.coa-card-facts,
.product-coa-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid #e1e5ea;
  border-radius: 12px;
  background: #e1e5ea;
}

.coa-card-facts span,
.product-coa-facts span {
  display: grid;
  align-content: start;
  gap: 5px;
  min-width: 0;
  padding: 11px;
  background: #fff;
}

.coa-card-facts small,
.product-coa-facts small {
  color: #4b5563;
  font-size: .62rem;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.coa-card-facts strong,
.product-coa-facts strong {
  overflow-wrap: anywhere;
  font-size: .77rem;
  line-height: 1.35;
}

.coa-card-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 11px;
  margin-top: auto;
  align-self: end;
}

.coa-card-actions .btn {
  min-height: 42px;
  padding: 0 18px;
}

.coa-product-link,
.coa-text-action {
  color: #1b2029;
  font-size: .75rem;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.coa-empty,
.coa-library-note {
  margin-top: 24px;
  padding: 22px 24px;
  border: 1px solid #dce1e7;
  border-radius: 16px;
  background: #fff;
}

.coa-library-note {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 16px 24px;
  align-items: center;
}

.coa-library-note p {
  margin: 0;
  color: #626b79;
}

.product-media-thumbnails {
  display: flex;
  gap: 10px;
  margin-top: 12px;
  overflow-x: auto;
  scrollbar-width: thin;
}

.product-media-thumb {
  flex: 0 0 88px;
  width: 88px;
  height: 88px;
  overflow: hidden;
  padding: 5px;
  border: 1px solid #d8dde4;
  border-radius: 11px;
  background: #fff;
  cursor: pointer;
}

.product-media-thumb.is-active {
  border-color: var(--nova-accent);
  box-shadow: 0 0 0 2px rgba(217, 4, 41, .15);
}

.product-media-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.coa-document-thumb {
  display: grid;
  place-items: center;
  gap: 1px;
  height: 100%;
  color: #151922;
}

.coa-document-thumb svg {
  width: 22px;
  stroke: var(--nova-accent);
  fill: none;
  stroke-width: 1.7;
}

.coa-document-thumb strong {
  font-size: .7rem;
}

.coa-document-thumb small {
  font-size: .5rem;
}

.detail-media {
  position: relative;
}

.detail-media.is-coa-media {
  background: #eef1f4;
}

.detail-media.is-coa-media [data-product-image] {
  object-fit: contain;
}

.detail-media-zoom {
  position: absolute;
  right: 14px;
  bottom: 14px;
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid #cfd5dd;
  border-radius: 999px;
  background: #fff;
  color: #151922;
  box-shadow: 0 5px 16px rgba(17, 24, 39, .14);
  cursor: zoom-in;
  font-size: .72rem;
  font-weight: 800;
}

.product-coa-section {
  display: grid;
  gap: 18px;
}

.product-coa-section .section-heading p {
  max-width: 680px;
  color: #68717e;
}

.product-coa-panel {
  padding: clamp(22px, 4vw, 34px);
  border: 1px solid #dce1e7;
  border-radius: 18px;
  background: #fff;
}

.product-coa-panel[hidden],
.product-media-thumb[hidden] {
  display: none;
}

.product-coa-panel-head {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: start;
}

.product-coa-panel-head h3 {
  margin: 5px 0 0;
  font-size: clamp(1.45rem, 3vw, 2.2rem);
}

.product-coa-facts {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 22px;
}

.coa-source-note {
  margin: 15px 0 0;
  color: #6b7482;
  font-size: .78rem;
}

.coa-history {
  margin-top: 18px;
  border-top: 1px solid #e3e7ec;
}

.coa-history summary {
  display: flex;
  justify-content: space-between;
  padding: 16px 2px 0;
  cursor: pointer;
  font-weight: 800;
}

.coa-history > div {
  display: grid;
  gap: 8px;
  margin-top: 12px;
}

.coa-history article {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  padding: 12px 14px;
  border: 1px solid #e3e7ec;
  border-radius: 10px;
}

.coa-history article div {
  display: grid;
  gap: 3px;
}

.coa-history article small {
  color: #747c89;
}

.coa-viewer {
  width: min(1120px, calc(100vw - 24px));
  max-width: none;
  height: min(92vh, 980px);
  max-height: none;
  padding: 0;
  border: 1px solid #333a46;
  border-radius: 18px;
  background: #11151c;
  color: #fff;
  box-shadow: 0 30px 90px rgba(0, 0, 0, .5);
}

.coa-viewer::backdrop {
  background: rgba(4, 7, 12, .82);
  backdrop-filter: blur(5px);
}

.coa-viewer-shell {
  display: grid;
  grid-template-rows: auto auto 1fr;
  height: 100%;
}

.coa-viewer header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 16px 20px;
  border-bottom: 1px solid #303641;
}

.coa-viewer header h2 {
  margin: 3px 0 0;
  color: #fff;
  font-size: 1.1rem;
}

.coa-viewer-close {
  width: 42px;
  height: 42px;
  border: 1px solid #454c58;
  border-radius: 50%;
  background: #202630;
  color: #fff;
  cursor: pointer;
  font-size: 1.45rem;
}

.coa-viewer-toolbar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-bottom: 1px solid #303641;
  background: #171c24;
}

.coa-viewer-toolbar button,
.coa-viewer-toolbar a {
  min-height: 36px;
  padding: 0 12px;
  border: 1px solid #3b424e;
  border-radius: 8px;
  background: #232a34;
  color: #f6f7f9;
  cursor: pointer;
  font: inherit;
  font-size: .72rem;
  font-weight: 800;
  text-decoration: none;
}

.coa-viewer-toolbar a:first-of-type {
  margin-left: auto;
}

.coa-viewer-stage {
  overflow: auto;
  padding: 24px;
  background: #dfe3e8;
  overscroll-behavior: contain;
  touch-action: pan-x pan-y pinch-zoom;
}

.coa-viewer-stage img {
  display: block;
  width: min(100%, 900px);
  height: auto;
  margin: 0 auto;
  background: #fff;
  transform-origin: top center;
  transition: transform .12s ease;
  box-shadow: 0 10px 35px rgba(17, 24, 39, .2);
}

body.coa-viewer-open {
  overflow: hidden;
}

.coa-detail-page > header {
  max-width: 880px;
  margin-bottom: 32px;
}

.coa-detail-page > header h1 {
  margin: 8px 0;
  font-size: clamp(2.5rem, 6vw, 5rem);
  line-height: .95;
}

.coa-detail-page > header h1 span {
  color: var(--nova-accent);
}

.coa-detail-page > header p {
  color: #67707e;
  font-size: 1.03rem;
}

.coa-detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, .85fr);
  gap: 24px;
  align-items: start;
}

.coa-detail-preview {
  display: grid;
  place-items: center;
  width: 100%;
  min-height: 520px;
  padding: 24px;
  border: 1px solid #dce1e7;
  border-radius: 18px;
  background: #e8ebef;
  cursor: zoom-in;
}

.coa-detail-preview img {
  width: 100%;
  max-height: 74vh;
  object-fit: contain;
}

.coa-detail-source-only {
  align-content: center;
  gap: 12px;
  cursor: default;
  text-align: center;
}

.coa-detail-source-only svg {
  width: 64px;
  stroke: var(--nova-accent);
  fill: none;
  stroke-width: 1.5;
}

.coa-detail-source-only p {
  max-width: 480px;
  color: #66707e;
}

.coa-detail-copy {
  position: sticky;
  top: 100px;
  display: grid;
  gap: 18px;
  padding: 24px;
  border: 1px solid #dce1e7;
  border-radius: 18px;
  background: #fff;
}

.coa-detail-copy dl {
  display: grid;
  gap: 0;
  margin: 0;
}

.coa-detail-copy dl div {
  display: grid;
  grid-template-columns: 125px 1fr;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid #e5e8ec;
}

.coa-detail-copy dt {
  color: #7a8290;
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.coa-detail-copy dd {
  min-width: 0;
  margin: 0;
  overflow-wrap: anywhere;
  font-weight: 700;
}

.coa-detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.coa-admin-table td {
  vertical-align: top;
}

.coa-admin-actions {
  min-width: min(520px, 75vw);
}

.coa-admin-actions form {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  align-items: end;
}

.coa-admin-actions form label {
  flex: 1 1 290px;
}

.coa-admin-actions select {
  width: 100%;
  min-height: 42px;
  padding: 0 10px;
  border: 1px solid #cfd5dd;
  border-radius: 9px;
  background: #fff;
}

@media (max-width: 960px) {
  .coa-library-hero {
    grid-template-columns: 1fr;
  }
  .coa-library-stats {
    grid-column: 1;
    grid-row: auto;
    grid-template-columns: repeat(3, 1fr);
  }
  .coa-library-stats span {
    grid-template-columns: 1fr;
  }
  .coa-filters {
    position: static;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .coa-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .coa-detail-layout {
    grid-template-columns: 1fr;
  }
  .coa-detail-copy {
    position: static;
  }
}

@media (max-width: 640px) {
  .coa-library,
  .coa-detail-page {
    width: min(100% - 24px, 1240px);
    padding: 24px 0 64px;
  }
  .coa-library-hero {
    gap: 14px;
    padding: 27px 20px;
    border-radius: 18px;
  }
  .coa-library-stats {
    grid-template-columns: 1fr;
    width: 100%;
  }
  .coa-library-stats span {
    grid-template-columns: 54px 1fr;
  }
  .coa-filters,
  .coa-grid {
    grid-template-columns: 1fr;
  }
  .coa-filters {
    padding: 12px;
  }
  .coa-card {
    grid-template-rows: 260px minmax(0, 1fr);
  }
  .coa-card-media {
    height: 260px;
    padding: 16px;
  }
  .coa-card-media img {
    inset: 16px;
    width: calc(100% - 32px);
    height: calc(100% - 32px);
  }
  .coa-library-note {
    grid-template-columns: 1fr;
  }
  .product-coa-panel-head {
    display: grid;
  }
  .product-coa-panel-head .btn {
    width: 100%;
  }
  .product-coa-facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .coa-viewer {
    width: 100vw;
    height: 100dvh;
    border: 0;
    border-radius: 0;
  }
  .coa-viewer header {
    padding: 12px 14px;
  }
  .coa-viewer-toolbar {
    padding: 8px 12px;
    overflow-x: auto;
  }
  .coa-viewer-toolbar a:first-of-type {
    margin-left: 6px;
  }
  .coa-viewer-stage {
    padding: 12px;
  }
  .coa-detail-preview {
    min-height: 360px;
    padding: 12px;
  }
  .coa-detail-copy {
    padding: 18px;
  }
  .coa-detail-copy dl div {
    grid-template-columns: 1fr;
    gap: 4px;
  }
}

/* === About landing journey === */
.about-funnel {
  --about-red-soft: oklch(94% 0.035 24);
}

.about-funnel > .about-funnel-hero,
.about-funnel > .about-proof-band,
.about-funnel > .about-partner,
.about-funnel > .process-video,
.about-funnel > .process-stages,
.about-funnel > .process-canada,
.about-funnel > .about-journey,
.about-funnel > .about-information,
.about-funnel > .about-links,
.about-funnel > .about-final-cta {
  width: 100% !important;
  max-width: none !important;
  margin-right: 0 !important;
  margin-left: 0 !important;
}

.about-funnel-hero .page-intro-copy {
  padding: clamp(2.4rem, 5vw, 4.8rem);
}

.about-funnel-hero h1 {
  max-width: 14ch !important;
  font-size: clamp(3rem, 5vw, 4.7rem) !important;
}

.about-funnel-hero .page-intro-copy > p {
  max-width: 48ch;
  font-size: clamp(1rem, 1.4vw, 1.12rem) !important;
}

.about-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.7rem;
}

.about-funnel-hero .btn-secondary,
.about-final-cta .btn-secondary {
  border-color: oklch(55% 0.015 264);
  background: transparent;
  color: var(--site-light-text);
}

.about-funnel-hero .btn-secondary:hover,
.about-final-cta .btn-secondary:hover {
  border-color: var(--site-light-text);
  background: oklch(100% 0 0 / 0.06);
}

.about-proof-band {
  display: grid;
  margin-top: -2rem !important;
  margin-bottom: clamp(4rem, 8vw, 7rem) !important;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  background: var(--site-red);
  color: var(--site-light-text);
}

.about-proof-band span {
  display: grid;
  min-width: 0;
  padding: 1.4rem 1.5rem;
  gap: 0.35rem;
}

.about-proof-band span + span {
  border-left: 1px solid oklch(78% 0.06 24 / 0.42);
}

.about-proof-band strong {
  font-size: 0.92rem;
  line-height: 1.25;
}

.about-proof-band small {
  color: oklch(91% 0.02 24);
  font-size: 0.68rem;
  font-weight: 750;
  line-height: 1.35;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.about-partner {
  display: grid;
  margin-bottom: clamp(5rem, 9vw, 8rem) !important;
  padding: clamp(2rem, 5vw, 4.5rem) 0;
  grid-template-columns: minmax(240px, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(2rem, 7vw, 7rem);
  align-items: center;
  border-top: 1px solid var(--site-line);
  border-bottom: 1px solid var(--site-line);
}

.about-partner-mark {
  display: grid;
  min-height: 260px;
  padding: 2.2rem;
  grid-template-columns: auto 1px minmax(0, 1fr);
  gap: 1.25rem;
  align-items: center;
  background: var(--site-ink);
  color: var(--site-light-text);
}

.about-partner-mark > span {
  display: grid;
  width: 88px;
  height: 88px;
  place-items: center;
  border: 2px solid var(--site-light-text);
  border-radius: 50%;
  color: oklch(62% 0.22 24);
  font-size: 2rem;
  font-weight: 900;
  letter-spacing: -0.05em;
}

.about-partner-mark i {
  width: 1px;
  height: 88px;
  background: oklch(50% 0.012 264);
}

.about-partner-mark small {
  color: var(--site-light-muted);
  font-size: 0.72rem;
  font-style: normal;
  line-height: 1.4;
}

.about-partner-mark strong {
  color: oklch(70% 0.14 228);
  font-size: clamp(0.9rem, 2vw, 1.18rem);
  letter-spacing: 0.04em;
}

.about-partner-copy .eyebrow,
.about-section-heading .eyebrow,
.about-information .eyebrow,
.about-final-cta .eyebrow {
  margin-bottom: 0.8rem;
  color: var(--site-red);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
}

.about-partner-copy h2,
.about-section-heading h2,
.about-information h2,
.about-final-cta h2 {
  margin: 0;
  color: var(--site-ink);
  font-size: clamp(2rem, 4vw, 3.35rem);
  line-height: 1.03;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

.about-partner-copy p,
.about-information p {
  max-width: 62ch;
  margin: 1.2rem 0 0;
  color: var(--site-muted);
  font-size: 1rem;
  line-height: 1.75;
}

.about-text-link {
  display: inline-block;
  margin-top: 1.5rem;
  color: var(--site-ink);
  font-weight: 850;
  text-decoration-color: var(--site-red);
  text-underline-offset: 0.3em;
}

.about-journey {
  margin-bottom: clamp(5rem, 9vw, 8rem) !important;
}

.about-section-heading {
  display: grid;
  max-width: 830px;
  margin-bottom: clamp(2rem, 5vw, 4rem);
  gap: 0.2rem;
}

.about-journey ol {
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--site-line-dark);
  list-style: none;
}

.about-journey li {
  display: grid;
  padding: 1.5rem 0;
  grid-template-columns: 110px minmax(0, 1fr);
  gap: clamp(1rem, 4vw, 3rem);
  align-items: start;
  border-bottom: 1px solid var(--site-line);
}

.about-journey li > span {
  color: var(--site-red);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.1em;
}

.about-journey li div {
  display: grid;
  grid-template-columns: minmax(180px, 0.7fr) minmax(0, 1.3fr);
  gap: clamp(1rem, 5vw, 5rem);
}

.about-journey h3 {
  margin: 0;
  color: var(--site-ink);
  font-size: clamp(1.15rem, 2vw, 1.55rem);
  line-height: 1.2;
}

.about-journey p {
  max-width: 58ch;
  margin: 0;
  color: var(--site-muted);
  line-height: 1.7;
}

.about-information {
  display: grid;
  margin-bottom: clamp(5rem, 9vw, 8rem) !important;
  grid-template-columns: minmax(300px, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(2rem, 7vw, 7rem);
  align-items: center;
}

.about-information figure {
  min-height: 530px;
  margin: 0;
  overflow: hidden;
  background: var(--site-surface-muted);
}

.about-information img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 530px;
  object-fit: cover;
}

.about-information ul {
  margin: 2rem 0 0;
  padding: 0;
  border-top: 1px solid var(--site-line-dark);
  list-style: none;
}

.about-information li {
  display: grid;
  padding: 1rem 0;
  grid-template-columns: minmax(130px, 0.48fr) minmax(0, 1.52fr);
  gap: 1.25rem;
  border-bottom: 1px solid var(--site-line);
}

.about-information li strong {
  color: var(--site-ink);
  font-size: 0.9rem;
}

.about-information li span {
  color: var(--site-muted);
  font-size: 0.88rem;
  line-height: 1.55;
}

.about-links {
  margin-bottom: clamp(5rem, 9vw, 8rem) !important;
}

.about-links nav {
  border-top: 1px solid var(--site-line-dark);
}

.about-links nav a {
  display: grid;
  padding: 1.15rem 0;
  grid-template-columns: minmax(180px, 0.55fr) minmax(0, 1fr) auto;
  gap: 1.5rem;
  align-items: center;
  border-bottom: 1px solid var(--site-line);
  color: var(--site-ink);
  text-decoration: none;
  transition: padding-left 220ms var(--ease-out-quint), color 180ms ease;
}

.about-links nav a:hover {
  padding-left: 0.7rem;
  color: var(--site-red);
}

.about-links nav span {
  font-size: 1rem;
  font-weight: 850;
}

.about-links nav small {
  color: var(--site-muted);
  font-size: 0.86rem;
  line-height: 1.5;
}

.about-links nav b {
  font-size: 1.2rem;
}

.about-final-cta {
  padding: clamp(2.2rem, 6vw, 5rem);
  background: var(--site-ink);
  color: var(--site-light-text);
}

.about-final-cta .eyebrow {
  color: oklch(72% 0.14 24);
}

.about-final-cta h2 {
  max-width: 13ch;
  color: var(--site-light-text);
}

.about-final-cta > p {
  max-width: 55ch;
  margin: 1.2rem 0 0;
  color: var(--site-light-muted);
  line-height: 1.7;
}

@media (max-width: 900px) {
  .about-proof-band {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .about-proof-band span:nth-child(3) {
    border-top: 1px solid oklch(78% 0.06 24 / 0.42);
    border-left: 0;
  }

  .about-proof-band span:nth-child(4) {
    border-top: 1px solid oklch(78% 0.06 24 / 0.42);
  }

  .about-partner,
  .about-information {
    grid-template-columns: 1fr;
  }

  .about-partner-mark {
    min-height: 210px;
  }

  .about-information figure,
  .about-information img {
    min-height: 360px;
    max-height: 420px;
  }
}

@media (max-width: 640px) {
  .about-funnel-hero .page-intro-copy {
    padding: 2rem 1.2rem;
  }

  .about-funnel-hero h1 {
    max-width: 16ch !important;
    font-size: clamp(2.5rem, 11vw, 3.3rem) !important;
  }

  .about-hero-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .about-hero-actions .btn {
    width: 100%;
  }

  .about-proof-band {
    margin-top: -1.5rem !important;
    margin-bottom: 4rem !important;
  }

  .about-proof-band span {
    padding: 1rem;
  }

  .about-partner {
    margin-bottom: 4.5rem !important;
    padding: 2rem 0;
    gap: 2rem;
  }

  .about-partner-mark {
    min-height: 180px;
    padding: 1.35rem;
    grid-template-columns: auto 1px minmax(0, 1fr);
    gap: 0.85rem;
  }

  .about-partner-mark > span {
    width: 66px;
    height: 66px;
    font-size: 1.5rem;
  }

  .about-partner-mark i {
    height: 66px;
  }

  .about-partner-copy h2,
  .about-section-heading h2,
  .about-information h2,
  .about-final-cta h2 {
    font-size: clamp(1.9rem, 9vw, 2.55rem);
  }

  .about-journey,
  .about-information,
  .about-links {
    margin-bottom: 4.5rem !important;
  }

  .about-journey li {
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 0.75rem;
  }

  .about-journey li div {
    grid-template-columns: 1fr;
    gap: 0.55rem;
  }

  .about-information figure,
  .about-information img {
    min-height: 240px;
    max-height: 280px;
  }

  .about-information li {
    grid-template-columns: 1fr;
    gap: 0.35rem;
  }

  .about-links nav a {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 0.35rem 1rem;
  }

  .about-links nav small {
    grid-column: 1;
  }

  .about-links nav b {
    grid-column: 2;
    grid-row: 1 / span 2;
  }

  .about-final-cta {
    padding: 2rem 1.2rem;
  }
}

/* === Canadian Olympus production process === */
.process-page > * {
  width: 100% !important;
  max-width: none !important;
  margin-right: 0 !important;
  margin-left: 0 !important;
}

.process-hero {
  display: grid;
  overflow: hidden;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
  background: var(--site-ink);
  color: var(--site-light-text);
}

.process-hero-copy {
  display: flex;
  min-width: 0;
  padding: clamp(2.6rem, 5.5vw, 5.5rem);
  flex-direction: column;
  justify-content: center;
}

.process-hero .eyebrow,
.process-video .eyebrow,
.process-section-heading .eyebrow,
.process-canada .eyebrow,
.process-transparency .eyebrow,
.process-final-cta .eyebrow {
  margin-bottom: 0.8rem;
  color: oklch(72% 0.14 24);
  font-size: 0.68rem;
  letter-spacing: 0.13em;
}

.process-hero h1 {
  max-width: 18ch;
  margin: 0;
  color: var(--site-light-text);
  font-size: clamp(2.7rem, 4.8vw, 4.7rem);
  line-height: 1.02;
  letter-spacing: -0.055em;
  text-wrap: balance;
}

.process-hero-copy > p {
  max-width: 54ch;
  margin: 1.45rem 0 0;
  color: var(--site-light-muted);
  font-size: clamp(1rem, 1.5vw, 1.14rem);
  line-height: 1.7;
}

.process-hero-actions {
  display: flex;
  margin-top: 1.8rem;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.process-hero .btn-secondary,
.process-final-cta .btn-secondary {
  border-color: oklch(58% 0.015 264);
  background: transparent;
  color: var(--site-light-text);
}

.process-hero .btn-secondary:hover,
.process-final-cta .btn-secondary:hover {
  border-color: var(--site-light-text);
  background: oklch(100% 0 0 / 0.06);
}

.process-hero-facts {
  display: grid;
  margin: 2.4rem 0 0;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid oklch(46% 0.012 264);
}

.process-hero-facts div {
  min-width: 0;
  padding: 1rem 1rem 0 0;
}

.process-hero-facts div + div {
  padding-left: 1rem;
  border-left: 1px solid oklch(46% 0.012 264);
}

.process-hero-facts dt {
  color: oklch(68% 0.012 264);
  font-size: 0.64rem;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.process-hero-facts dd {
  margin: 0.35rem 0 0;
  color: var(--site-light-text);
  font-size: 0.8rem;
  font-weight: 750;
  line-height: 1.4;
}

.process-hero-media {
  position: relative;
  min-width: 0;
  min-height: 540px;
  margin: 0;
  overflow: hidden;
  background: oklch(20% 0.012 264);
}

.process-hero-media::after {
  position: absolute;
  inset: 0;
  background: oklch(8% 0.012 264 / 0.14);
  content: "";
  pointer-events: none;
}

.process-hero-media img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 540px;
  object-fit: cover;
  object-position: center;
}

.process-hero-media figcaption {
  position: absolute;
  z-index: 1;
  right: 1.2rem;
  bottom: 1.2rem;
  padding: 0.65rem 0.85rem;
  background: oklch(12% 0.012 264 / 0.86);
  color: var(--site-light-text);
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.process-role-band {
  display: grid;
  margin-bottom: clamp(5rem, 9vw, 8rem) !important;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: stretch;
  background: var(--site-red);
  color: var(--site-light-text);
}

.process-role-band span {
  display: grid;
  padding: 1.3rem clamp(1.2rem, 3vw, 2.5rem);
  gap: 0.25rem;
}

.process-role-band span:last-child {
  text-align: right;
}

.process-role-band strong {
  font-size: 0.95rem;
}

.process-role-band small {
  color: oklch(92% 0.02 24);
  font-size: 0.68rem;
  font-weight: 720;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.process-role-band i {
  display: grid;
  min-width: 68px;
  place-items: center;
  border-right: 1px solid oklch(78% 0.06 24 / 0.42);
  border-left: 1px solid oklch(78% 0.06 24 / 0.42);
  font-size: 1.5rem;
  font-style: normal;
  font-weight: 900;
}

.process-video {
  display: grid;
  margin-bottom: clamp(6rem, 10vw, 9rem) !important;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
  gap: clamp(2rem, 4vw, 4rem);
  align-items: center;
}

.process-video h2,
.process-section-heading h2,
.process-canada h2,
.process-transparency h2,
.process-final-cta h2 {
  margin: 0;
  color: var(--site-ink);
  font-size: clamp(2.15rem, 4.5vw, 3.9rem);
  line-height: 1;
  letter-spacing: -0.04em;
  text-wrap: balance;
}

.process-video-copy > p,
.process-section-heading > p,
.process-canada > div > p,
.process-final-cta p {
  max-width: 60ch;
  margin: 1.25rem 0 0;
  color: var(--site-muted);
  line-height: 1.75;
}

.process-source-links {
  display: grid;
  margin-top: 1.6rem;
  gap: 0.65rem;
}

.process-source-links a,
.process-source-note a {
  color: var(--site-ink);
  font-weight: 850;
  text-decoration-color: var(--site-red);
  text-underline-offset: 0.25em;
}

.process-video-frame {
  position: relative;
  min-width: 0;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: var(--site-ink);
  box-shadow: 0 28px 64px oklch(17% 0.012 264 / 0.16);
}

.process-video-poster {
  position: absolute;
  z-index: 1;
  inset: 0;
  display: grid;
  padding: 1.5rem;
  place-content: center;
  place-items: center;
  overflow: hidden;
  color: var(--site-light-text);
  text-align: center;
  text-decoration: none;
}

.process-video-poster::after {
  position: absolute;
  inset: 0;
  background: oklch(8% 0.012 264 / 0.34);
  content: "";
}

.process-video-poster img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 420ms var(--ease-out-quint);
}

.process-video-poster:hover img {
  transform: scale(1.025);
}

.process-video-poster span,
.process-video-poster strong,
.process-video-poster small {
  position: relative;
  z-index: 1;
}

.process-video-poster span {
  display: grid;
  width: 68px;
  height: 68px;
  margin-bottom: 1rem;
  place-items: center;
  border: 2px solid var(--site-light-text);
  border-radius: 50%;
  background: var(--site-red);
  font-size: 1.35rem;
  line-height: 1;
  text-indent: 0.15em;
  box-shadow: 0 12px 28px oklch(8% 0.012 264 / 0.28);
}

.process-video-poster strong {
  font-size: clamp(1.05rem, 2vw, 1.35rem);
}

.process-video-poster small {
  margin-top: 0.3rem;
  color: oklch(92% 0.01 264);
  font-size: 0.7rem;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.process-stages {
  margin-bottom: clamp(6rem, 10vw, 9rem) !important;
}

.process-section-heading {
  display: grid;
  max-width: 900px;
  margin-bottom: clamp(2rem, 5vw, 4rem);
}

.process-stage-grid {
  display: grid;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--site-line-dark);
  list-style: none;
}

.process-stage-grid li {
  display: grid;
  min-width: 0;
  padding: 1.25rem 0;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: center;
  border-bottom: 1px solid var(--site-line);
}

.process-stage-photos {
  display: grid;
  min-width: 0;
  overflow: hidden;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.5rem;
}

.process-stage-photos img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: var(--site-surface-muted);
}

.process-stage-copy {
  max-width: 52ch;
}

.process-stage-grid span,
.process-transparency article > span {
  display: block;
  margin-bottom: 0.7rem;
  color: var(--site-red);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.process-stage-grid h3,
.process-transparency h3 {
  margin: 0;
  color: var(--site-ink);
  font-size: clamp(1.35rem, 2vw, 1.8rem);
  line-height: 1.25;
}

.process-stage-grid p,
.process-transparency article p {
  margin: 0.75rem 0 0;
  color: var(--site-muted);
  font-size: 0.96rem;
  line-height: 1.65;
}

.process-source-note {
  margin: 1rem 0 0;
  color: var(--site-muted);
  font-size: 0.76rem;
}

.process-canada {
  display: grid;
  margin-bottom: clamp(6rem, 10vw, 9rem) !important;
  padding: clamp(2.5rem, 6vw, 5.5rem);
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: clamp(2.5rem, 5vw, 5rem);
  align-items: center;
  background: var(--site-ink);
  color: var(--site-light-text);
}

.process-canada h2 {
  max-width: 20ch;
  color: var(--site-light-text);
}

.process-canada > div > p {
  color: var(--site-light-muted);
}

.process-maple {
  display: block;
  margin-bottom: 1.25rem;
  font-size: 2.4rem;
  line-height: 1;
}

.process-canada dl {
  margin: 0;
  border-top: 1px solid oklch(46% 0.012 264);
}

.process-canada dl div {
  display: grid;
  padding: 1rem 0;
  grid-template-columns: minmax(120px, 0.65fr) minmax(0, 1.35fr);
  gap: 1rem;
  border-bottom: 1px solid oklch(46% 0.012 264);
}

.process-canada dt {
  color: oklch(72% 0.14 24);
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.process-canada dd {
  margin: 0;
  color: var(--site-light-text);
  font-size: 0.86rem;
  font-weight: 700;
  line-height: 1.5;
}

.process-transparency {
  margin-bottom: clamp(6rem, 10vw, 9rem) !important;
}

.process-transparency > header {
  max-width: 850px;
  margin-bottom: 3rem;
}

.process-transparency > div {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--site-line-dark);
  border-bottom: 1px solid var(--site-line-dark);
}

.process-transparency article {
  min-width: 0;
  padding: 1.8rem 1.8rem 2.2rem 0;
}

.process-transparency article + article {
  padding-left: 1.8rem;
  border-left: 1px solid var(--site-line);
}

.process-final-cta {
  display: grid;
  padding: clamp(2.5rem, 6vw, 5.5rem);
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 2rem;
  align-items: end;
  background: var(--site-red);
  color: var(--site-light-text);
}

.process-final-cta h2 {
  max-width: 18ch;
  color: var(--site-light-text);
}

.process-final-cta p {
  color: oklch(94% 0.018 24);
}

.process-final-cta > div:last-child {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.process-final-cta .btn-primary {
  border-color: var(--site-light-text);
  background: var(--site-light-text);
  color: var(--site-ink);
}

@media (max-width: 1050px) {
  .process-hero {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  }

  .process-hero-media,
  .process-hero-media img {
    min-height: 570px;
  }

}

@media (max-width: 900px) {
  .process-hero,
  .process-video,
  .process-canada,
  .process-final-cta {
    grid-template-columns: 1fr;
  }

  .process-stage-grid li {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .process-hero-media,
  .process-hero-media img {
    min-height: 420px;
    max-height: 520px;
  }

  .process-role-band {
    grid-template-columns: 1fr;
  }

  .process-role-band span,
  .process-role-band span:last-child {
    text-align: left;
  }

  .process-role-band i {
    min-height: 48px;
    border: 0;
    border-top: 1px solid oklch(78% 0.06 24 / 0.42);
    border-bottom: 1px solid oklch(78% 0.06 24 / 0.42);
  }

  .process-final-cta {
    align-items: start;
  }
}

@media (max-width: 640px) {
  .process-hero-copy {
    padding: 2.2rem 1.2rem;
  }

  .process-hero h1 {
    font-size: clamp(2.8rem, 14vw, 3.75rem);
  }

  .process-hero-actions {
    display: grid;
  }

  .process-hero-actions .btn {
    width: 100%;
  }

  .process-hero-facts {
    grid-template-columns: 1fr;
  }

  .process-hero-facts div,
  .process-hero-facts div + div {
    display: grid;
    padding: 0.8rem 0;
    grid-template-columns: 88px minmax(0, 1fr);
    gap: 0.75rem;
    align-items: baseline;
    border: 0;
    border-bottom: 1px solid oklch(46% 0.012 264);
  }

  .process-hero-facts dd {
    margin: 0;
  }

  .process-hero-media,
  .process-hero-media img {
    min-height: 310px;
    max-height: 360px;
  }

  .process-hero-media figcaption {
    right: 0.75rem;
    bottom: 0.75rem;
    left: 0.75rem;
    text-align: center;
  }

  .process-role-band,
  .process-video,
  .process-stages,
  .process-canada,
  .process-transparency {
    margin-bottom: 4.5rem !important;
  }

  .process-video h2,
  .process-section-heading h2,
  .process-canada h2,
  .process-transparency h2,
  .process-final-cta h2 {
    font-size: clamp(2rem, 10vw, 2.75rem);
  }

  .process-stage-grid {
    display: block;
  }

  .process-stage-grid li {
    padding: 1rem 0 1.25rem;
  }

  .process-stage-photos {
    gap: 0.4rem;
  }

  .process-stage-photos img {
    aspect-ratio: 1.35;
  }

  .process-stage-grid span {
    margin-bottom: 0.4rem;
  }

  .process-stage-grid h3 {
    font-size: 1.3rem;
  }

  .process-stage-grid p {
    font-size: 0.88rem;
  }

  .process-canada,
  .process-final-cta {
    padding: 2.2rem 1.2rem;
  }

  .process-canada dl div {
    grid-template-columns: 1fr;
    gap: 0.35rem;
  }

  .process-transparency > div {
    grid-template-columns: 1fr;
  }

  .process-transparency article,
  .process-transparency article + article {
    padding: 1.4rem 0;
    border-left: 0;
    border-bottom: 1px solid var(--site-line);
  }

  .process-transparency article:last-child {
    border-bottom: 0;
  }

  .process-final-cta > div:last-child {
    display: grid;
  }

  .process-final-cta .btn {
    width: 100%;
  }
}

/* Premium clarity pass: genuine partner evidence, product facts, and compact entry points. */
.home-partner-proof {
  display: grid;
  width: min(1220px, calc(100% - 48px));
  margin: 3rem auto 0;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.8fr);
  align-items: stretch;
  gap: clamp(1.5rem, 4vw, 4rem);
  border-top: 1px solid var(--home-line);
}

.home-partner-proof > div {
  align-self: center;
  padding-block: clamp(2rem, 4vw, 4rem);
}

.home-partner-proof h2 {
  max-width: 15ch;
  margin: 0.75rem 0 1rem;
  color: var(--home-dark);
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1.04;
  text-wrap: balance;
}

.home-partner-proof p {
  max-width: 62ch;
  margin: 0;
  color: var(--home-muted);
  line-height: 1.7;
}

.home-partner-steps {
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--home-line);
}

.home-partner-steps li {
  display: grid;
  grid-template-columns: 2.2rem minmax(0, 1fr);
  gap: 0.75rem;
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--home-line);
}

.home-partner-steps li > span {
  padding-top: 0.15rem;
  color: var(--red);
  font-size: 0.72rem;
  font-weight: 800;
}

.home-partner-steps strong,
.home-partner-steps small {
  display: block;
}

.home-partner-steps strong {
  color: var(--home-dark);
  font-size: 0.89rem;
}

.home-partner-steps small {
  margin-top: 0.2rem;
  color: var(--home-muted);
  font-size: 0.79rem;
  line-height: 1.5;
}

.home-partner-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.4rem;
  margin-top: 1.4rem;
}

.home-partner-actions a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  color: var(--home-dark);
  font-weight: 750;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.home-partner-actions a:hover,
.home-partner-actions a:focus-visible {
  color: var(--red);
}

.home-partner-photo {
  position: relative;
  display: block;
  min-height: 420px;
  overflow: hidden;
  background: #151922;
}

.home-partner-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.home-partner-photo span {
  position: absolute;
  right: 0.75rem;
  bottom: 0.75rem;
  left: 0.75rem;
  width: fit-content;
  padding: 0.4rem 0.55rem;
  background: rgba(12, 15, 21, 0.86);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
}

.product-price-block .product-price-label {
  display: block;
  margin-bottom: 0.45rem;
  color: var(--ux-muted);
  font-size: 0.73rem;
  font-weight: 750;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  text-align: left;
}

.product-document-status {
  display: grid;
  margin: -0.25rem 0 1rem;
  padding: 0.8rem 0;
  grid-template-columns: 32px minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.75rem;
  border-bottom: 1px solid var(--ux-line);
}

.product-document-status > span {
  color: var(--ux-ink);
}

.product-document-status > span svg {
  width: 22px;
  height: 22px;
}

.product-document-status > div {
  display: grid;
  min-width: 0;
  gap: 0.2rem;
}

.product-document-status strong {
  color: var(--ux-ink);
  font-size: 0.91rem;
}

.product-document-status small {
  color: var(--ux-muted);
  font-size: 0.76rem;
  line-height: 1.4;
}

.product-document-status a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  color: var(--ux-ink);
  font-size: 0.8rem;
  font-weight: 750;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.product-document-status[data-coa-available="false"] > span {
  opacity: 0.5;
}

.product-page-shell .product-intro {
  max-width: 62ch;
  margin: 0 0 1.15rem;
  color: var(--ux-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

.product-origin-note {
  display: grid;
  min-width: 0;
  gap: 0.25rem;
  padding: 0.95rem 0;
  border-bottom: 1px solid var(--ux-line);
}

.product-origin-label {
  color: var(--ux-muted);
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.product-origin-note strong {
  color: var(--ux-ink);
  font-size: 0.9rem;
}

.product-origin-note p {
  max-width: 62ch;
  margin: 0;
  color: var(--ux-muted);
  font-size: 0.78rem;
  line-height: 1.55;
}

.product-origin-note a {
  display: inline-flex;
  width: fit-content;
  min-height: 44px;
  align-items: center;
  color: var(--ux-ink);
  font-size: 0.78rem;
  font-weight: 750;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.product-origin-note a:hover,
.product-origin-note a:focus-visible {
  color: var(--ux-red-dark);
}

@media (max-width: 760px) {
  .home-partner-proof {
    width: min(100% - 32px, 620px);
    margin-top: 2rem;
    grid-template-columns: 1fr;
    gap: 0;
  }

  .home-partner-proof > div {
    padding-block: 2rem 1.25rem;
  }

  .home-partner-proof h2 {
    font-size: clamp(1.9rem, 8vw, 2.5rem);
  }

  .home-partner-photo {
    min-height: 0;
    height: 220px;
  }

  body.home .home-featured.catalog-results {
    margin-top: 1.75rem !important;
  }

  body.home .home-featured .home-section-heading {
    margin-bottom: 0.9rem;
  }

  body.catalog-page .products-hero {
    min-height: 0 !important;
    margin-top: 0.7rem !important;
    padding: 1.3rem 1.15rem !important;
  }

  body.catalog-page .products-hero h1 {
    max-width: 18ch !important;
    margin: 0.45rem 0 !important;
    font-size: clamp(1.75rem, 7.3vw, 2.2rem) !important;
    line-height: 1.08 !important;
  }

  body.catalog-page .products-hero p {
    font-size: 0.85rem !important;
    line-height: 1.5 !important;
  }

  body.catalog-page .catalog-hero-facts,
  body.catalog-page .catalog-service-strip {
    display: none !important;
  }

  body.catalog-page .product-control-panel {
    margin-top: 0.7rem !important;
    padding: 0.55rem !important;
  }

  body.catalog-page .catalog-toolbar,
  body.catalog-page .catalog-filter-row {
    gap: 0.55rem;
    padding: 0.5rem 0.6rem !important;
  }

  body.catalog-page .catalog-results {
    margin-top: 0.85rem !important;
  }

  body.catalog-page .catalog-results-heading {
    margin-bottom: 0.8rem;
  }

  body.catalog-page .catalog-results-heading h2 {
    font-size: 1.55rem !important;
  }

  body.catalog-page .catalog-results-heading p {
    display: none;
  }

  body.warehouse-page-shell .warehouse-hero {
    grid-template-columns: 1fr;
    gap: 0.75rem;
    margin-top: 0.7rem;
    padding: 1.15rem;
  }

  body.warehouse-page-shell .warehouse-hero h1 {
    max-width: 15ch;
    margin-block: 0.3rem 0.7rem;
    font-size: clamp(2rem, 9vw, 3rem);
    line-height: 1.03;
  }

  body.warehouse-page-shell .warehouse-hero p {
    font-size: 0.88rem;
    line-height: 1.5;
  }

  body.warehouse-page-shell .warehouse-hero aside {
    display: none;
  }

  body.warehouse-page-shell .warehouse-hero-actions {
    margin-top: 0.9rem;
  }

  body.warehouse-page-shell .warehouse-facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body.warehouse-page-shell .warehouse-facts > span {
    min-width: 0;
    padding: 0.8rem;
    border-bottom: 1px solid var(--line);
  }

  .product-page-shell .detail-media {
    max-height: 270px;
  }

  .product-page-shell .detail-media [data-product-image] {
    max-height: 270px;
    object-fit: contain;
  }

  .product-document-status {
    grid-template-columns: 26px minmax(0, 1fr);
    gap: 0.55rem;
  }

  .product-page-shell .product-price-block {
    margin: 0.9rem 0 0.65rem;
    padding: 0.75rem 0;
    gap: 0.35rem;
  }

  .product-page-shell .product-document-status {
    margin-bottom: 0.7rem;
    padding-block: 0.55rem;
  }

  .product-page-shell .product-intro {
    font-size: 0.88rem;
  }

  .product-document-status a {
    grid-column: 2;
    justify-self: start;
  }
}

/* A direct storefront offer keeps the first ad landing decision close to products. */
body.home .home-offer {
  display: grid;
  width: min(710px, 100%);
  margin-top: 1.35rem;
  padding: 0.9rem 1rem;
  grid-template-columns: minmax(145px, auto) minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.9rem;
  border: 1px solid oklch(83% 0.014 255 / 0.42);
  border-radius: 10px;
  background: oklch(16% 0.014 265 / 0.86);
}

body.home .home-offer-code {
  display: grid;
  gap: 0.15rem;
}

body.home .home-offer-code span {
  color: oklch(92% 0.015 255);
  font-size: 0.68rem;
  font-weight: 750;
  letter-spacing: 0.03em;
}

body.home .home-offer-code strong {
  color: oklch(98% 0.006 95);
  font-size: 1.34rem;
  font-weight: 850;
  letter-spacing: 0.055em;
  line-height: 1.12;
}

body.home .home-offer p {
  margin: 0;
  color: oklch(87% 0.012 255);
  font-size: 0.77rem;
  line-height: 1.45;
}

body.home .home-offer button {
  min-height: 42px;
  padding: 0.5rem 0.85rem;
  border: 1px solid oklch(82% 0.018 255);
  border-radius: 6px;
  background: transparent;
  color: oklch(98% 0.006 95);
  font: inherit;
  font-size: 0.78rem;
  font-weight: 800;
  cursor: pointer;
}

body.home .home-offer button:hover,
body.home .home-offer button:focus-visible {
  background: oklch(98% 0.006 95);
  color: oklch(17% 0.014 265);
}

body.home .home-offer button:focus-visible {
  outline: 3px solid oklch(72% 0.19 24);
  outline-offset: 3px;
}

body.home .home-hero + .home-featured {
  padding-top: clamp(1.5rem, 3vw, 2.6rem);
}

body.home #home-featured-title {
  scroll-margin-top: 120px;
}

@media (max-width: 760px) {
  body.home #home-featured-title {
    scroll-margin-top: 88px;
  }

  body.home .home-hero {
    min-height: 0 !important;
  }

  body.home .home-hero-content {
    padding-block: 1.6rem !important;
  }

  body.home .home-hero-content > p:not(.home-hero-notice) {
    margin-top: 0.5rem !important;
    margin-bottom: 0 !important;
    font-size: 0.87rem !important;
    line-height: 1.46 !important;
  }

  body.home .home-offer {
    margin-top: 0.9rem;
    padding: 0.7rem 0.8rem;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 0.45rem 0.65rem;
  }

  body.home .home-offer-code strong {
    font-size: 1.18rem;
  }

  body.home .home-offer p {
    grid-column: 1 / -1;
    grid-row: 2;
    font-size: 0.7rem;
  }

  body.home .home-offer button {
    width: auto;
    grid-column: 2;
    grid-row: 1;
  }

  body.home .home-actions {
    margin-top: 0.9rem !important;
  }

  body.home .home-hero-notice {
    margin-top: 0.75rem !important;
    padding-top: 0.65rem;
  }

  body.home .home-hero + .home-featured.catalog-results {
    margin-top: 0 !important;
    padding-top: 1.15rem;
  }
}

/* ==========================================================================
   COMPLIMENTARY BAC WATER LINE (cart drawer + checkout summary)
   Display-only row rendered by script.js; one free 3 mL vial ships with
   every order. Overrides need !important to beat the late cart/checkout layers.
   ========================================================================== */
.cart-line.cart-line-complimentary {
  grid-template-columns: 72px minmax(0, 1fr) auto !important;
  align-items: center !important;
}

.cart-line.cart-line-complimentary img {
  background: #fff;
  object-fit: contain !important;
}

.cart-line > .complimentary-price,
.checkout-line.complimentary-line > .complimentary-price,
.checkout-page-shell .checkout-line.complimentary-line > .complimentary-price {
  color: var(--green) !important;
  font-weight: 800;
}

@media (max-width: 500px) {
  .cart-line.cart-line-complimentary {
    grid-template-columns: 64px minmax(0, 1fr) auto !important;
  }

  .cart-line.cart-line-complimentary > strong {
    grid-column: auto;
  }
}
/* Retail-only indicative price: the regular catalog price still drives cart and checkout. */
[data-sales-channel="retail"] .retail-promo-pricing {
  display: grid;
  min-width: 0;
  justify-items: start;
  gap: 0.12rem;
  line-height: 1.2;
}

.retail-promo-regular {
  display: block;
  color: var(--ux-muted) !important;
  font-size: 0.79rem !important;
  font-weight: 550 !important;
  line-height: 1.2;
  text-decoration: line-through;
  text-decoration-thickness: 1px;
}

[data-sales-channel="retail"] .retail-promo-sale,
.search-result .retail-promo-sale,
.rec-item .retail-promo-sale {
  display: block;
  color: var(--ux-ink) !important;
  font-size: 1.18rem;
  font-weight: 850 !important;
  line-height: 1.16;
}

[data-sales-channel="retail"] .retail-promo-label,
.search-result .retail-promo-label,
.rec-item .retail-promo-label {
  display: block;
  min-width: 0;
  max-width: 100%;
  color: var(--ux-red-dark) !important;
  font-size: 0.65rem !important;
  font-weight: 700 !important;
  line-height: 1.3;
  letter-spacing: 0 !important;
  text-transform: none !important;
  white-space: normal;
  overflow-wrap: anywhere;
}

.retail-promo-label b {
  font-weight: 900;
  white-space: nowrap;
}

.retail-promo-badge {
  display: inline-block;
  padding: 3px 6px;
  border-radius: 4px;
  background: var(--red-soft);
  color: var(--red-dark);
  white-space: nowrap;
}

.cart-line > strong .retail-promo-regular,
.checkout-line > strong .retail-promo-regular,
.cart-line > strong .retail-promo-label {
  display: block;
  font-size: 0.7rem;
  line-height: 1.4;
  overflow-wrap: anywhere;
}

[data-sales-channel="retail"] .product-card-kit-price {
  white-space: normal;
}

.product-page-shell [data-sales-channel="retail"] .product-price-block .retail-promo-regular {
  margin-bottom: 0.22rem;
  font-size: 0.98rem !important;
}

.product-page-shell [data-sales-channel="retail"] .product-price-block .retail-promo-sale {
  font-size: clamp(1.8rem, 4vw, 2.25rem) !important;
}

.product-page-shell [data-sales-channel="retail"] .product-price-block .retail-promo-label {
  margin-top: 0.38rem;
  text-align: left;
}

.search-result-price .retail-promo-label {
  grid-column: 1 / -1;
}

.search-result-price-line .retail-promo-sale {
  font-size: 0.88rem !important;
}

.rec-item .retail-promo-pricing {
  display: grid;
  gap: 0.1rem;
}

.rec-item .retail-promo-sale {
  font-size: 0.9rem !important;
}

@media (max-width: 760px) {
  .product-grid [data-sales-channel="retail"] .retail-promo-sale {
    font-size: 1.03rem !important;
  }

  .product-grid [data-sales-channel="retail"] .retail-promo-regular {
    font-size: 0.7rem !important;
  }

  .product-page-shell .mobile-sticky-buy .retail-promo-regular {
    display: block;
    font-size: 0.66rem !important;
  }

  .product-page-shell .mobile-sticky-buy .retail-promo-sale {
    display: block;
    font-size: 1rem !important;
  }
}
/* One crypto payment method, with a network choice revealed inside it. */
.checkout-page-shell .payment-method-card--crypto { display: block !important; min-width: 0; cursor: default; }
.payment-method-primary { display: grid; grid-template-columns: 22px minmax(0,1fr) minmax(138px,176px); align-items: center; gap: 1rem; cursor: pointer; }
.crypto-network-fields { min-width: 0; max-width: 100%; margin: 1rem 0 0; padding: .85rem 0 0; border: 0; border-top: 1px solid var(--ux-line); }
.crypto-network-fields[hidden] { display: none; }
.crypto-network-fields legend { float: left; width: 100%; margin-bottom: .6rem; padding: 0; color: var(--ux-ink); font-size: .85rem; font-weight: 750; }
.crypto-network-options { clear: both; display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: .5rem; }
.crypto-network-option { display: grid !important; grid-template-columns: 20px minmax(0,1fr) !important; align-items: center; gap: .55rem !important; min-width: 0; min-height: 56px; padding: .55rem; border-radius: 6px; cursor: pointer; }
.crypto-network-option:has(input:checked) { background: oklch(96% 0.018 24); }
.crypto-network-option:has(input:focus-visible) { outline: 2px solid var(--ux-red-dark); outline-offset: 2px; }
.crypto-network-option:has(input:disabled) { cursor: default; }
.checkout-page-shell .crypto-network-option input { grid-row: auto; grid-column: auto; margin: 0 !important; }
.checkout-page-shell .crypto-network-option strong { font-size: .85rem !important; line-height: 1.3; overflow-wrap: anywhere; }
.checkout-page-shell .crypto-network-option small { margin: .1rem 0 0; color: var(--ux-muted) !important; font-size: .75rem !important; line-height: 1.4; }
.checkout-page-shell .crypto-network-fields > small { display: block; margin-top: .65rem; color: var(--ux-muted) !important; font-size: .75rem; line-height: 1.5; }
@media (max-width: 767px) {
  .payment-method-primary { grid-template-columns: 22px minmax(0,1fr); align-items: start; gap: .85rem; }
}

/* Compare retail choice prices without changing the underlying option values. */
.product-page-shell .variant-options button,
.product-page-shell .variant-options button > span:first-child { min-width: 0; }
.product-page-shell .variant-options button > span:first-child { overflow-wrap: anywhere; }
.product-page-shell .variant-options .option-promo-price {
  flex: 0 1 9rem;
  min-width: 0;
  max-width: 58%;
  display: grid !important;
  justify-items: end;
  gap: .15rem;
  text-align: right;
}
.product-page-shell .option-promo-price-values { justify-items: end; }
.product-page-shell .option-price-original { color: var(--ux-muted); font-size: .72rem; font-weight: 500; white-space: nowrap; }
.product-page-shell .variant-options .option-price-sale { color: var(--ux-ink) !important; font-size: 1rem; line-height: 1.2; white-space: nowrap; }
.product-page-shell .variant-options .option-price-promo,
.product-page-shell .variant-options .option-kit-savings {
  display: block;
  width: auto;
  padding: 0;
  border-radius: 0;
  background: transparent;
  font-size: .7rem;
  line-height: 1.35;
  white-space: normal;
}
.product-page-shell .variant-options .option-price-promo { color: var(--ux-red-dark) !important; font-weight: 800; }
.product-page-shell .variant-options .option-price-condition { display: block; color: var(--ux-muted); font-weight: 500; overflow-wrap: anywhere; }
.product-page-shell .variant-options .option-kit-savings { color: var(--ux-muted) !important; font-weight: 500; }

/* A fixed, server-enforced October campaign, not an evergreen urgency timer. */
.reta-sale { width: min(1180px,calc(100% - 2rem)); margin: 1.25rem auto; padding: 1.25rem; display: grid; grid-template-columns: 100px minmax(0,1fr) auto; align-items: center; gap: 1.25rem; border: 1px solid var(--ux-line); border-radius: 12px; background: var(--red-soft); color: var(--ux-ink); box-sizing: border-box; }
.reta-sale[hidden] { display: none !important; }
.reta-sale > img { width: 100%; height: 112px; object-fit: contain; mix-blend-mode: multiply; }
.reta-sale-copy, .reta-sale-deadline { min-width: 0; }
.reta-sale-kicker { color: var(--red-dark); font-size: .7rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.reta-sale .reta-sale-copy h2 { margin: .2rem 0 .35rem; font-size: 2rem; line-height: 1.12; letter-spacing: -.03em; color: var(--ux-ink); }
.reta-sale-copy p { max-width: 60ch; margin: 0; font-size: .85rem; line-height: 1.5; }
.reta-sale-links { display: flex; flex-wrap: wrap; gap: .3rem 1.25rem; margin-top: .5rem; }
.reta-sale-links a { padding: .4rem 0; color: var(--red-dark); font-size: .8rem; font-weight: 800; text-underline-offset: .2em; }
.reta-sale-links a:focus-visible { outline: 2px solid var(--red-dark); outline-offset: 3px; }
.reta-sale-deadline { text-align: center; }
.reta-sale-deadline > span { display: block; font-size: .7rem; color: var(--ux-muted); }
.reta-sale-deadline time { font-size: .78rem; font-weight: 700; }
.reta-sale-clock { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: .4rem; margin-top: .6rem; }
.reta-sale-clock > span { display: grid; gap: .1rem; min-width: 0; padding: .45rem .5rem; border: 1px solid var(--ux-line); border-radius: 5px; background: var(--ux-surface); }
.reta-sale-clock b { font-size: 1.25rem; line-height: 1.15; font-variant-numeric: tabular-nums; }
.reta-sale-clock small { font-size: .65rem; color: var(--ux-muted); }
@media (max-width: 767px) {
  .reta-sale { padding: 1rem; grid-template-columns: 56px minmax(0,1fr); gap: .8rem; }
  .reta-sale > img { height: 90px; align-self: start; }
  .reta-sale .reta-sale-copy h2 { font-size: 1.5rem; }
  .reta-sale-copy p { font-size: .78rem; }
  .reta-sale-links { gap: .1rem .7rem; }
  .reta-sale-links a { font-size: .75rem; min-height: 44px; display: inline-flex; align-items: center; }
  .reta-sale-deadline { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1.2fr); align-items: center; gap: .2rem .6rem; text-align: left; }
  .reta-sale-deadline > span, .reta-sale-deadline time { grid-column: 1; }
  .reta-sale-deadline time { font-size: .72rem; }
  .reta-sale-clock { grid-column: 2; grid-row: 1 / 3; margin: 0; gap: .2rem; text-align: center; }
  .reta-sale-clock > span { padding: .35rem .2rem; }
  .reta-sale-clock b { font-size: 1rem; }
}

/* Homepage-only strip: retain the shared timer hooks and all other sale panels. */
.reta-sale.reta-sale--compact { grid-template-columns: minmax(0,1fr) auto; gap: 1.5rem; margin: .75rem auto; padding: .75rem 1rem; }
.reta-sale-compact-link { min-width: 0; display: grid; grid-template-columns: 52px minmax(0,1fr); align-items: center; gap: .875rem; color: inherit; text-decoration: none; border-radius: 4px; }
.reta-sale-compact-link:focus-visible { outline: 2px solid var(--red-dark); outline-offset: 5px; }
.reta-sale-compact-link > img { width: 52px; height: 68px; object-fit: contain; mix-blend-mode: multiply; }
.reta-sale--compact .reta-sale-copy { display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: center; column-gap: 1.5rem; }
.reta-sale--compact .reta-sale-kicker { grid-column: 1; font-size: .625rem; line-height: 1.2; letter-spacing: .06em; }
.reta-sale--compact .reta-sale-copy h2 { grid-column: 1; margin: .15rem 0; font-size: 1.5rem; line-height: 1.15; }
.reta-sale--compact .reta-sale-copy p { grid-column: 1; font-size: .8rem; line-height: 1.4; color: var(--ux-muted); }
.reta-sale-compact-cta { grid-column: 2; grid-row: 1 / 4; color: var(--red-dark); font-size: .85rem; font-weight: 750; white-space: nowrap; }
.reta-sale-compact-link:hover .reta-sale-compact-cta { text-decoration: underline; text-underline-offset: .2em; }
.reta-sale-compact-arrow { display: none; }
.reta-sale-compact-footer { min-width: 0; display: grid; gap: .25rem; justify-items: end; }
.reta-sale-compact-footer time { color: var(--ux-muted); font-size: .7rem; line-height: 1.4; }
.reta-sale--compact .reta-sale-clock { display: flex; gap: .4rem; margin: 0; }
.reta-sale--compact .reta-sale-clock > span { display: inline-flex; align-items: baseline; gap: .1rem; padding: 0; border: 0; border-radius: 0; background: none; }
.reta-sale--compact .reta-sale-clock b { font-size: .85rem; line-height: 1.4; font-weight: 700; }
.reta-sale--compact .reta-sale-clock small { font-size: .65rem; }
@media (max-width: 767px) {
  .reta-sale.reta-sale--compact { width: calc(100% - 1.5rem); grid-template-columns: minmax(0,1fr); gap: .5rem; margin: .625rem auto; padding: .625rem .75rem; }
  .reta-sale-compact-link { grid-template-columns: 44px minmax(0,1fr) 16px; gap: .625rem; }
  .reta-sale-compact-link > img { width: 44px; height: 68px; }
  .reta-sale--compact .reta-sale-copy { grid-template-columns: minmax(0,1fr); row-gap: .125rem; }
  .reta-sale--compact .reta-sale-copy h2 { margin: 0; font-size: 1.25rem; line-height: 1.2; }
  .reta-sale--compact .reta-sale-copy p { font-size: .75rem; line-height: 1.4; }
  .reta-sale-compact-cta { grid-column: 1; grid-row: auto; font-size: .78rem; line-height: 1.5; }
  .reta-sale-compact-arrow { display: block; color: var(--red-dark); font-size: 1rem; }
  .reta-sale-compact-footer { display: block; border-top: 1px solid var(--ux-line); padding-top: .375rem; }
  .reta-sale--compact .reta-sale-clock { display: none; }
}

/* Address-qualified delivery choices. Native radios remain keyboard accessible. */
.home-local-delivery { display: flex; flex-wrap: wrap; column-gap: .75rem; row-gap: .125rem; max-width: 100%; margin-top: 1rem; color: inherit; font-size: .8125rem; line-height: 1.5; text-decoration: none; }
.home-local-delivery strong { text-decoration: underline; text-underline-offset: .2em; }
.home-local-delivery span { font-weight: 500; }
.home-local-delivery:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }
.checkout-customer-form .checkout-delivery-options { min-width: 0; margin: .25rem 0; padding: 0; border: 0; }
.checkout-delivery-options legend { padding: 0; margin-bottom: .5rem; font-size: .875rem; font-weight: 750; }
.checkout-customer-form .checkout-delivery-option { display: grid; grid-template-columns: 20px minmax(0, 1fr) auto; align-items: center; gap: .625rem; margin-bottom: .5rem; padding: .875rem .75rem; border: 1px solid var(--ux-line); border-radius: 6px; cursor: pointer; }
.checkout-customer-form .checkout-delivery-option[hidden] { display: none; }
.checkout-delivery-option:has(input:checked) { border-color: var(--red); background: var(--red-soft); }
.checkout-delivery-option:has(input:focus-visible) { outline: 2px solid var(--red); outline-offset: 3px; }
.checkout-customer-form .checkout-delivery-option input { appearance: auto; width: 18px; height: 18px; min-height: 18px; margin: 0; padding: 0; accent-color: var(--red); }
.checkout-customer-form .checkout-delivery-option > span { display: grid; min-width: 0; gap: .25rem; color: var(--ux-ink); font-weight: 500; overflow-wrap: anywhere; }
.checkout-delivery-option strong { font-size: .875rem; line-height: 1.4; }
.checkout-delivery-option small, .checkout-delivery-options p { color: var(--ux-muted); font-size: .75rem; line-height: 1.5; }
.checkout-delivery-option b { font-size: .75rem; white-space: nowrap; }
.checkout-delivery-options p { margin: .5rem 0 0; }
@media (max-width: 374px) {
  .checkout-customer-form .checkout-delivery-option { grid-template-columns: 20px minmax(0, 1fr); }
  .checkout-delivery-option b { grid-column: 2; }
}

/* A readable service-area list, not a repeated landing page for each city. */
.blog-post .ontario-delivery-cities { columns: 2; column-gap: 1.5rem; padding-inline-start: 1.25rem; }
.blog-post .ontario-delivery-cities li { break-inside: avoid; padding-inline-end: .25rem; overflow-wrap: anywhere; }
@media (min-width: 768px) {
  .blog-post .ontario-delivery-cities { columns: 3; }
}

/* Keep the November countdown visible and compact on mobile. */
.home-offer [hidden] { display: none !important; }
@media (max-width: 360px) {
  .retail-sale--sitewide .reta-sale-copy h2 { font-size: 1.05rem; }
}
@media (max-width: 760px) {
  .retail-sale--sitewide .reta-sale-compact-footer { display: flex; align-items: center; justify-content: space-between; gap: .5rem; flex-wrap: wrap; }
  .reta-sale--compact.retail-sale--sitewide .reta-sale-clock { display: flex; gap: .35rem; }
}

:root {
  --nova-dark-accent: color-mix(in srgb, var(--nova-accent), var(--nova-navy) 30%);
  --nova-tint: color-mix(in srgb, var(--nova-accent) 8%, var(--nova-white));
  --ink: var(--nova-navy);
  --red: var(--nova-accent);
  --red-hover: var(--nova-dark-accent);
  --red-dark: var(--nova-dark-accent);
  --brand-red: var(--nova-accent);
  --brand-red-dark: var(--nova-dark-accent);
  --red-soft: var(--nova-tint);
  --brand-red-soft: var(--nova-tint);
}
.site-header .brand img, .footer-brand img { filter: none !important; }
.process-video-frame iframe { display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; }

.nova-market-notice{margin:0;padding:.5rem 1rem;text-align:center;color:var(--nova-navy);background:var(--nova-tint);font-size:.875rem;}
/* The simplified Nova checkout uses a light introductory panel. */
.checkout-page-shell .checkout-intro h1 {color:var(--nova-navy,#102a43)!important;}
.checkout-page-shell .checkout-intro p {color:#395267!important;}
.checkout-page-shell .checkout-intro {padding:1rem 0 1.5rem;}
.warehouse-hero {background:linear-gradient(130deg,var(--nova-navy,#102a43),#0d3f49)!important;}
.warehouse-hero .eyebrow,.promo-bar > div > span:nth-child(2n) {color:#a4eee3!important;}
.product-price-block .retail-promo-label,.retail-promo-label b {color:var(--nova-dark-accent,#005f63);}
.videoFeedbackPage .videoFeedbackHero {background:var(--nova-navy,#102a43);padding:clamp(16px,3vw,32px);border-radius:8px;}
.videoFeedbackPage .videoFeedbackHero h1 {color:#fff;}
.videoFeedbackPage .videoFeedbackHero p {color:#ecf7f7;}
