/* Storefront styles.
   Two sets of variables, both in the :root block below:
   1) Product theme: set in /admin > Customize > Design (inline <style> in each page).
      Product cards, grids and the product page use only these, so they keep their exact look.
   2) Site design system ("Signal Web"): every --ds-* value. Everything that is not a product
      (header, sections, footer, forms, cart, checkout, order pages) uses these.
      To change the look of the site, change the --ds-* values here. */
:root {
  /* ---- 1) Product theme (defaults; Customize > Design overrides them) ---- */
  --bg: #dde1e8;
  --card: #e9ecf1;
  --accent: #1d4ed8;
  --text: #0b1b3a;
  --text-2: #4a5875;
  --font: Inter;
  --head-font: Inter;
  --head-case: uppercase;
  --hero-scale: 1;
  --btn-radius: 8px;
  --radius: 14px;
  --cols: 3;
  --bg-2: color-mix(in srgb, var(--card) 70%, var(--bg));
  --accent-deep: color-mix(in srgb, var(--accent) 45%, black);
  --accent-soft: color-mix(in srgb, var(--accent) 35%, white);
  --muted: color-mix(in srgb, var(--text-2) 65%, var(--bg));
  --border: color-mix(in srgb, var(--text) 12%, var(--card));
  --border-2: color-mix(in srgb, var(--text) 18%, var(--card));
  --max: 1180px;

  /* ---- 2) Site design system: "Signal Web" ---- */
  /* Colour (contrast ratios are against --ds-bg) */
  --ds-bg: #dde1e8;                        /* page background (BernSells gray) */
  --ds-surface: #e9ecf1;                   /* panels, reviews, badges */
  --ds-surface-2: #d3d8e1;                 /* inputs, raised areas */
  --ds-line: rgba(11, 27, 58, 0.09);       /* hairlines */
  --ds-line-2: rgba(11, 27, 58, 0.16);     /* control borders */
  --ds-line-3: rgba(11, 27, 58, 0.32);     /* hover borders, ticks */
  --ds-text: #0b1b3a;                      /* navy, 16.9 : 1 */
  --ds-text-2: #3c4862;                    /* 6.8 : 1 on the gray, body copy */
  --ds-text-3: #4a5670;                    /* 5.3 : 1 on the gray, labels and meta */
  --ds-red: var(--accent);                 /* brand colour (BernSells blue) follows Customize > Accent */
  --ds-red-hover: color-mix(in srgb, var(--accent) 85%, black);
  --ds-red-text: color-mix(in srgb, var(--accent) 90%, black); /* accent for small text and icons (7.5 : 1 with the default blue) */
  --ds-on-red: #fff;

  /* Type */
  --ds-mono: 'JetBrains Mono', ui-monospace, Menlo, Consolas, monospace;
  --ds-fs-label: 11px;
  --ds-fs-sm: 13px;
  --ds-fs-lg: 18px;
  --ds-fs-h3: 17px;
  --ds-fs-h2: clamp(26px, 3.6vw, 40px);
  --ds-fs-h1: clamp(34px, 7vw, 72px);
  --ds-track-label: 0.14em;
  --ds-track-head: -0.02em;

  /* Space (4px steps) */
  --ds-s7: 48px;
  --ds-s8: 64px;

  /* Shape, depth, motion */
  --ds-r-xs: 2px;
  --ds-r-sm: 4px;
  --ds-r-md: 10px;
  --ds-r-lg: 16px;
  --ds-shadow-1: 0 1px 2px rgba(11, 27, 58, 0.06), 0 10px 30px rgba(11, 27, 58, 0.08);
  --ds-dur: 0.18s;
}
*,
*::before,
*::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font), system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  font-weight: 500;
  letter-spacing: 0.3px;
  color: var(--text);
  background: var(--ds-bg);
  line-height: 1.5;
  min-height: 100vh;
}
h1, h2, h3, .brand, .footer-brand { font-family: var(--head-font), var(--font), system-ui, sans-serif; }
[hidden] { display: none !important; }
img { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; }
.accent { color: var(--accent); }
.muted { color: var(--text-2); }
.center { text-align: center; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 12px; top: 12px; z-index: 100; background: #fff; color: #000; padding: 8px 12px; border-radius: 8px; }
:focus-visible { outline: 2px solid var(--accent-soft); outline-offset: 2px; }

/* ---------- Background: animated blue prism (drawn by /js/bg.js) ---------- */
.site-bg { position: fixed; inset: 0; z-index: -1; pointer-events: none; background: var(--ds-bg); }
.site-bg > * { position: absolute; inset: 0; width: 100%; height: 100%; }

/* ---------- Announcement ticker ---------- */
.ticker {
  --accent: var(--ds-red-text); /* coloured words in the ticker use the readable red */
  overflow: hidden;
  border-bottom: 1px solid var(--ds-line);
  background: color-mix(in srgb, var(--ds-bg) 85%, transparent);
  font: 500 var(--ds-fs-label) var(--ds-mono);
  letter-spacing: var(--ds-track-label);
  text-transform: uppercase;
  color: var(--ds-text-2);
  white-space: nowrap;
}
.ticker-track { display: inline-flex; animation: ticker 40s linear infinite; padding: 9px 0; }
.ticker-item { display: inline-flex; align-items: center; gap: 28px; padding-right: 28px; }
.ticker-sep { color: var(--ds-text-3); }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- Header: logo pill centred, cart on the right, nav underneath ---------- */
/* Not sticky on purpose: the product page image is sticky and a sticky header would cover it. */
.site-header {
  position: relative;
  z-index: 30;
  padding: 12px 20px 0;
  background: color-mix(in srgb, var(--ds-bg) 72%, transparent);
  -webkit-backdrop-filter: blur(14px) saturate(120%);
          backdrop-filter: blur(14px) saturate(120%);
  border-bottom: 1px solid var(--ds-line);
}
.header-row { max-width: 760px; margin: 0 auto; display: flex; align-items: center; gap: 14px; }
.header-spacer { width: 46px; flex: none; }
.header-pill {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--ds-line-2);
  border-radius: 999px;
  padding: 0 26px;
  min-height: 50px;
  background: rgba(233, 236, 241, 0.85);
  text-decoration: none;
  transition: border-color var(--ds-dur);
}
.header-pill:hover { border-color: var(--ds-line-3); }
.brand { font-weight: 800; font-size: 20px; letter-spacing: 0.5px; color: var(--text); }
.nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0 28px;
  margin-top: 6px;
  font: 500 var(--ds-fs-label) var(--ds-mono);
  letter-spacing: var(--ds-track-label);
  text-transform: uppercase;
}
.nav a { text-decoration: none; color: var(--ds-text-2); padding: 10px 0; border-bottom: 1px solid transparent; transition: color var(--ds-dur), border-color var(--ds-dur); }
.nav a:hover { color: var(--ds-text); border-bottom-color: var(--ds-red); }
.btn-round {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid var(--ds-line-2);
  background: var(--ds-surface);
  color: var(--ds-text);
  display: grid;
  place-items: center;
  cursor: pointer;
  position: relative;
  flex: none;
  text-decoration: none;
  transition: border-color var(--ds-dur), background-color var(--ds-dur);
}
.btn-round:hover { background: var(--ds-surface-2); border-color: var(--ds-line-3); }
.cart-count {
  position: absolute;
  top: -4px;
  right: -4px;
  background: var(--ds-red);
  color: var(--ds-on-red);
  border-radius: 999px;
  font: 500 11px var(--ds-mono);
  min-width: 20px;
  height: 20px;
  display: grid;
  place-items: center;
  padding: 0 5px;
}

/* ---------- Buttons, pills ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--accent);
  color: #fff;
  border: 0;
  border-radius: var(--btn-radius);
  height: 42px;
  padding: 0 20px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: filter 0.15s, transform 0.05s;
}
.btn:hover { filter: brightness(0.92); }
.btn:active { transform: translateY(1px); }
.btn[disabled], .btn-disabled { opacity: 0.45; cursor: not-allowed; filter: none; }
.btn-block { width: 100%; }
.btn-lg { height: 50px; font-size: 14px; }
.btn-outline { background: transparent; border: 1.5px solid var(--accent); color: var(--accent); }
.btn-outline:hover { background: color-mix(in srgb, var(--accent) 15%, transparent); }
.btn-icon {
  flex: none;
  width: 42px;
  height: 42px;
  border-radius: var(--btn-radius);
  border: 1.5px solid var(--accent);
  background: transparent;
  display: grid;
  place-items: center;
  cursor: pointer;
}
.btn-icon:hover { background: color-mix(in srgb, var(--accent) 18%, transparent); }
.pill {
  display: inline-block;
  background: rgba(0, 0, 0, 0.55);
  border: 1px solid var(--accent);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.6px;
  padding: 3px 10px;
  border-radius: 999px;
}
.pill-muted { border-color: var(--border-2); color: var(--text-2); }

/* ---------- Sections ---------- */
main { min-height: 50vh; }
.section { max-width: var(--max); margin: 0 auto; padding: var(--ds-s8) 20px; }
.section-wide { max-width: none; }
.section.narrow { max-width: 760px; }
.section h2 { text-align: center; font-size: var(--ds-fs-h2); font-weight: 700; letter-spacing: var(--ds-track-head); color: var(--ds-text); margin: 0 0 8px; line-height: 1.15; }
.section h2.italic { font-style: italic; }
/* Small red square with two grey ticks above section headings and page titles */
.section > h2::before, .page-title::before {
  content: '';
  display: block;
  width: 6px;
  height: 6px;
  margin: 0 auto 18px;
  background: var(--ds-red);
  box-shadow: -14px 0 0 -2px var(--ds-line-3), 14px 0 0 -2px var(--ds-line-3);
}
.align-left > h2::before { margin-left: 14px; }
.section > h2 + .grid, .section > h2 + .steps { margin-top: 32px; }
.sub { text-align: center; color: var(--ds-text-2); margin: 0 0 32px; }
.page-title { font-size: var(--ds-fs-h2); font-weight: 700; letter-spacing: var(--ds-track-head); margin: 0 0 16px; text-align: center; }

/* Shelf: a calm panel AROUND product grids and the product page, so the moving background
   never runs between products. It only adds a backdrop; it does not touch the products. */
.shelf { position: relative; isolation: isolate; padding-top: 76px; padding-bottom: 76px; }
.shelf::before {
  content: '';
  position: absolute;
  z-index: -1;
  inset: 28px 0;
  background: color-mix(in srgb, var(--ds-bg) 55%, transparent); /* frosted glass: lets the animated background show through */
  -webkit-backdrop-filter: blur(6px);
          backdrop-filter: blur(6px);
  border: 1px solid var(--ds-line-2);
  border-radius: var(--ds-r-lg);
}
.shelf-product { max-width: calc(var(--max) + 16px); margin: 0 auto; padding: 24px 0 8px; }
.shelf-product::before { inset: 16px 0 0; }

/* ---------- Hero ---------- */
.hero { text-align: center; padding: 72px 20px 40px; max-width: 900px; margin: 0 auto; }
.hero h1 {
  font-size: calc(var(--ds-fs-h1) * var(--hero-scale));
  font-weight: 800;
  text-transform: var(--head-case);
  letter-spacing: var(--ds-track-head);
  line-height: 1.02;
  color: var(--ds-text);
  margin: 0 0 22px;
}
.trusted { font-size: var(--ds-fs-lg); color: var(--ds-text-2); margin: 0 0 14px; }
.trusted b { color: var(--ds-text); }
.avatars { display: flex; justify-content: center; margin-bottom: 28px; }
.avatars img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 2px solid var(--ds-bg);
  margin-left: -10px;
  object-fit: cover;
  box-shadow: 0 0 0 1px var(--ds-line-2);
}
.avatars img:first-child { margin-left: 0; }
.countdown { display: inline-flex; align-items: center; gap: 8px; flex-wrap: wrap; justify-content: center; }
.countdown-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-right: 6px;
  color: var(--ds-text-2);
  font: 500 var(--ds-fs-label) var(--ds-mono);
  letter-spacing: var(--ds-track-label);
  text-transform: uppercase;
}
.countdown-label .accent { color: var(--ds-red-text); }
.cd-box {
  background: var(--ds-surface);
  border: 1px solid var(--ds-line-2);
  border-radius: var(--ds-r-sm);
  min-width: 54px;
  padding: 8px 8px 6px;
  display: grid;
  text-align: center;
}
.cd-box b { color: var(--ds-text); font: 500 22px / 1.1 var(--ds-mono); }
.cd-box small { color: var(--ds-text-3); font: 500 9px var(--ds-mono); letter-spacing: 0.14em; }
.cd-box[data-unit='DAYS'].is-zero, .cd-box[data-unit='DAYS'].is-zero + .colon { display: none; }
.colon { color: var(--ds-text-3); }

/* ---------- Product grid & cards ("spec card": dark panel, framed image, red highlights) ---------- */
.grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 20px; }
.grid > .card { flex: 0 1 calc((100% - (var(--cols) - 1) * 20px) / var(--cols)); min-width: 0; }
.grid-4 > .card { flex-basis: calc((100% - 60px) / 4); }
.card {
  position: relative;
  background: var(--card);
  border: 1px solid var(--ds-line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}
.card:hover {
  transform: translateY(-2px);
  border-color: color-mix(in srgb, var(--accent) 65%, transparent);
  box-shadow: 0 14px 40px -18px color-mix(in srgb, var(--accent) 70%, transparent);
}
.card-media { position: relative; aspect-ratio: 1; background: var(--ds-surface-2); display: block; overflow: hidden; border-bottom: 1px solid var(--ds-line); }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: filter 0.45s ease, transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1); }
.card:hover .card-media img { transform: scale(1.03); }
.card-noimg { width: 100%; height: 100%; aspect-ratio: 1; background: var(--ds-surface-2); }
/* Red line under the image: a third of the width, full width on hover */
.card-media::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  z-index: 3;
  background: linear-gradient(90deg, var(--accent) 0 32%, transparent 32%);
}
.card:hover .card-media::after { background: var(--accent); }
/* Thin inner frame with red corner marks, over the image */
.card-frame, .product-frame {
  position: absolute;
  inset: 10px;
  z-index: 2;
  pointer-events: none;
  border: 1px solid var(--ds-line);
  background:
    linear-gradient(var(--accent), var(--accent)) left top / 12px 2px no-repeat,
    linear-gradient(var(--accent), var(--accent)) left top / 2px 12px no-repeat,
    linear-gradient(var(--accent), var(--accent)) right bottom / 12px 2px no-repeat,
    linear-gradient(var(--accent), var(--accent)) right bottom / 2px 12px no-repeat;
}
.card-index, .product-count { position: absolute; z-index: 3; left: 18px; bottom: 16px; font: 500 10px var(--ds-mono); letter-spacing: 0.14em; color: var(--ds-red-text); }
.ribbon {
  position: absolute;
  z-index: 3;
  top: 18px;
  right: 18px;
  background: var(--accent);
  color: #fff;
  font: 500 10px var(--ds-mono);
  letter-spacing: 0.14em;
  padding: 4px 8px;
  border-radius: var(--ds-r-xs);
}
.caption { position: absolute; z-index: 3; bottom: 16px; left: 0; right: 0; text-align: center; font: 500 10px var(--ds-mono); color: var(--ds-text-3); letter-spacing: 0.14em; }
.card-media .pill { position: absolute; z-index: 3; right: 18px; bottom: 14px; }
.card-body { padding: 16px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.card-meta, .product-info .eyebrow {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  font: 500 10.5px var(--ds-mono);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ds-text-3);
}
.card-meta::before, .product-info .eyebrow::before { content: ''; width: 6px; height: 6px; background: var(--accent); flex: none; }
.card-body h3 { font-size: 17px; font-weight: 700; letter-spacing: -0.01em; margin: 0; }
.card-body h3 a { text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 4px; text-decoration-thickness: 1px; transition: text-decoration-color 0.2s; }
.card:hover h3 a { text-decoration-color: var(--accent); }
.price { display: flex; align-items: baseline; gap: 10px; margin-top: 2px; }
.price .now { color: var(--ds-text); font-weight: 700; font-size: 20px; letter-spacing: -0.01em; }
.price s { color: var(--ds-text-3); font-size: 14px; }
.price-off { align-self: center; font: 500 10.5px var(--ds-mono); color: #fff; background: color-mix(in srgb, var(--accent) 85%, black); border-radius: var(--ds-r-xs); padding: 3px 6px; }
.card-actions { display: flex; gap: 8px; margin-top: auto; padding-top: 10px; }
.card-actions .btn-icon { border: 1px solid var(--ds-line-2); color: var(--ds-text); transition: border-color 0.18s, color 0.18s; }
.card-actions .btn-icon:hover { background: transparent; border-color: var(--accent); color: var(--ds-red-text); }
.card.is-soldout .card-media img { filter: grayscale(1) brightness(0.5); }
.card-placeholder { border-style: dashed; opacity: 0.55; }
.card-placeholder:hover { transform: none; box-shadow: none; border-color: var(--ds-line); }

/* Product image style (Customize > Design > Product images): black & white with a soft red glow */
.img-mono .card-media img, .img-mono .product-main, .img-mono .thumbs img { filter: grayscale(1) contrast(1.3) brightness(0.78); }
.img-mono .card-media::before, .img-mono .product-figure::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.85;
  mix-blend-mode: screen;
  background: radial-gradient(circle at 50% 55%, color-mix(in srgb, var(--accent) 42%, transparent), color-mix(in srgb, var(--accent) 8%, transparent) 45%, transparent 70%);
  transition: opacity 0.4s;
}
.img-mono .card:hover .card-media::before { opacity: 1; }
.img-mono .card.is-soldout .card-media img { filter: grayscale(1) brightness(0.5); }

/* ---------- How it works ---------- */
.steps { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; text-align: center; }
.steps::before {
  content: '';
  position: absolute;
  top: 28px;
  left: 16.66%;
  right: 16.66%;
  height: 1px;
  background: repeating-linear-gradient(90deg, var(--ds-line-3) 0 4px, transparent 4px 10px); /* dashed line */
}
.step-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  border-radius: var(--ds-r-md);
  background: var(--ds-surface);
  border: 1px solid var(--ds-line-2);
  display: grid;
  place-items: center;
  color: var(--ds-red-text);
  position: relative;
}
.step-num {
  position: absolute;
  top: -8px;
  right: -10px;
  width: 20px;
  height: 20px;
  border-radius: var(--ds-r-xs);
  background: var(--ds-red);
  color: var(--ds-on-red);
  font: 500 11px var(--ds-mono);
  display: grid;
  place-items: center;
}
.step h3 { margin: 0 0 6px; font-size: var(--ds-fs-h3); font-weight: 700; letter-spacing: -0.01em; }
.step p { margin: 0; color: var(--ds-text-2); font-size: 14px; max-width: 280px; margin-inline: auto; }

/* ---------- Screenshot strip ---------- */
.shots { overflow: hidden; margin-top: 28px; mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); /* fades the edges */ }
.shots-track { display: flex; gap: 16px; width: max-content; animation: ticker 55s linear infinite; }
.shots:hover .shots-track, .shots:focus .shots-track { animation-play-state: paused; }
.shots img { height: 350px; width: auto; border-radius: var(--ds-r-md); border: 1px solid var(--ds-line-2); background: var(--ds-surface); }

/* ---------- Reviews ---------- */
.rating-summary { display: flex; justify-content: center; align-items: center; gap: 8px; margin: -16px 0 28px; font-family: var(--ds-mono); font-weight: 500; }
.rating-summary .muted { color: var(--ds-text-3); font-size: var(--ds-fs-sm); }
.stars { display: inline-flex; gap: 1px; }
.stars .on { color: var(--ds-red-text); }
.stars .off { color: #cbd5e1; }
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.review { background: var(--ds-surface); border: 1px solid var(--ds-line); border-radius: var(--ds-r-md); padding: 20px; transition: border-color var(--ds-dur); }
.review:hover { border-color: var(--ds-line-2); }
.review header { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.review header > div { flex: 1; display: grid; line-height: 1.25; }
.review header small { color: var(--ds-text-3); font: 500 10.5px var(--ds-mono); letter-spacing: 0.08em; text-transform: uppercase; }
.review img, .avatar-fallback { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; background: var(--accent-deep); display: grid; place-items: center; font-weight: 800; }
.review p { margin: 0; color: var(--ds-text-2); font-size: 14px; }

/* ---------- FAQ ---------- */
.faq { max-width: 760px; margin: 0 auto; display: grid; border-top: 1px solid var(--ds-line-2); }
.faq details { border-bottom: 1px solid var(--ds-line-2); }
.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 22px 4px;
  font-weight: 600;
  font-size: 16px;
  color: var(--ds-text);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq-plus {
  flex: none;
  width: 28px;
  height: 28px;
  border: 1px solid var(--ds-line-2);
  border-radius: var(--ds-r-sm);
  display: grid;
  place-items: center;
  color: var(--ds-text-2);
  transition: transform 0.2s, color var(--ds-dur), border-color var(--ds-dur);
}
.faq details[open] .faq-plus { transform: rotate(45deg); color: var(--ds-red-text); border-color: var(--ds-red); }
.faq details p { margin: 0; padding: 0 4px 22px; color: var(--ds-text-2); max-width: 640px; }

/* ---------- Trust badges: one hairline strip ---------- */
.badges { display: grid; grid-template-columns: repeat(4, 1fr); background: var(--ds-surface); border: 1px solid var(--ds-line-2); border-radius: var(--ds-r-md); overflow: hidden; }
.badge-card { padding: 28px 16px; display: grid; justify-items: center; gap: 6px; text-align: center; border-left: 1px solid var(--ds-line); }
.badge-card:first-child { border-left: 0; }
.badge-card .accent { color: var(--ds-red-text); }
.badge-card b { font-size: 15px; font-weight: 700; }
.badge-card small { color: var(--ds-text-3); font: 500 10.5px var(--ds-mono); letter-spacing: 0.1em; text-transform: uppercase; }

/* ---------- Newsletter ---------- */
.newsletter { background: var(--ds-surface); border: 1px solid var(--ds-line-2); border-radius: var(--ds-r-md); padding: 36px 24px; text-align: center; }
.newsletter .sub { margin-bottom: 20px; }
.inline-form { display: flex; gap: 8px; max-width: 460px; margin: 0 auto; }
.inline-form input { flex: 1; }

/* ---------- Forms ---------- */
/* Base field style (also used by the product page quantity box, so it stays as it was) */
input, textarea, select {
  font: inherit;
  color: var(--text);
  background: var(--bg-2);
  border: 1px solid var(--border-2);
  border-radius: 8px;
  padding: 11px 14px;
  width: 100%;
}
input:focus, textarea:focus { outline: none; border-color: var(--accent); }
/* Site forms: contact, email sign-up, checkout */
:is(.contact-form, .inline-form, .co-form) :is(input:not([type='radio']):not([type='checkbox']), textarea, select) {
  color: var(--ds-text);
  background: var(--ds-surface-2);
  border: 1px solid var(--ds-line-2);
  border-radius: var(--ds-r-sm);
  padding: 12px 14px;
  transition: border-color var(--ds-dur), box-shadow var(--ds-dur);
}
:is(.contact-form, .inline-form, .co-form) :is(input, textarea)::placeholder { color: var(--ds-text-3); }
:is(.contact-form, .inline-form, .co-form) :is(input, textarea, select):hover { border-color: var(--ds-line-3); }
:is(.contact-form, .inline-form, .co-form) :is(input, textarea, select):focus { outline: none; border-color: var(--ds-text); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 18%, transparent); }
.contact-form { display: grid; gap: 12px; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.contact-ways { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-bottom: 24px; text-transform: none; }
.form-msg { margin: 6px 0 0; color: var(--accent-soft); text-align: center; }

/* ---------- Product page ---------- */
.product { max-width: var(--max); margin: 0 auto; padding: 32px 20px 24px; display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: start; }
.product-media { position: sticky; top: 16px; }
.product-figure { position: relative; border: 1px solid var(--ds-line-2); border-radius: var(--radius); overflow: hidden; background: var(--ds-surface-2); }
.product-main { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; }
.thumbs { display: flex; gap: 8px; margin-top: 10px; flex-wrap: wrap; }
.thumbs button { padding: 0; border: 1px solid var(--ds-line-2); border-radius: var(--ds-r-sm); overflow: hidden; background: none; cursor: pointer; width: 72px; height: 72px; }
.thumbs button.active { border-color: var(--accent); }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }
.eyebrow { color: var(--muted); font-size: 12px; letter-spacing: 1.5px; text-transform: uppercase; margin: 0 0 6px; }
.product-info .eyebrow { margin: 0 0 10px; }
.product-info h1 { font-size: clamp(30px, 4vw, 44px); line-height: 1.05; letter-spacing: -0.02em; margin: 0 0 12px; font-weight: 800; }
.price-lg .now { font-size: 28px; }
.price-lg s { font-size: 17px; }
.buy { display: grid; gap: 10px; margin: 22px 0 18px; }
.opt { border: 0; padding: 0; margin: 0; }
.opt legend { margin-bottom: 8px; font: 500 10.5px var(--ds-mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--ds-text-3); }
.opt-values { display: flex; flex-wrap: wrap; gap: 8px; }
.opt-values label { cursor: pointer; }
.opt-values input { position: absolute; opacity: 0; width: 1px; }
.opt-values span { display: inline-block; padding: 9px 16px; border: 1px solid var(--ds-line-2); border-radius: var(--ds-r-sm); font-size: 14px; background: var(--ds-surface-2); transition: border-color 0.18s; }
.opt-values span:hover { border-color: var(--ds-line-3); }
.opt-values input:checked + span { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 18%, var(--ds-surface-2)); }
.opt-values input:focus-visible + span { outline: 2px solid var(--accent-soft); }
.opt-values span.unavailable { text-decoration: line-through; color: var(--ds-text-3); }
.qty { display: flex; align-items: center; justify-content: space-between; font: 500 10.5px var(--ds-mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--ds-text-3); }
.qty-box { display: inline-flex; align-items: center; border: 1px solid var(--ds-line-2); border-radius: var(--ds-r-sm); overflow: hidden; }
.qty-box button { width: 40px; height: 40px; background: none; border: 0; cursor: pointer; font-size: 18px; color: var(--ds-text); transition: color 0.18s; }
.qty-box button:hover { color: var(--ds-red-text); }
.qty-box input { width: 44px; text-align: center; border: 0; border-radius: 0; padding: 8px 0; background: none; color: var(--ds-text); font: 500 14px var(--ds-mono); -moz-appearance: textfield; }
.qty-box input::-webkit-inner-spin-button { -webkit-appearance: none; }
.variant-msg { color: var(--accent-soft); margin: 0; font-size: 14px; }
.buy .btn-lg { height: 50px; }
.buy .btn-outline { border: 1px solid var(--ds-line-2); color: var(--ds-text); }
.buy .btn-outline:hover { background: color-mix(in srgb, var(--accent) 8%, transparent); border-color: var(--ds-line-3); }
.perks { list-style: none; padding: 0; margin: 0 0 18px; color: var(--ds-text-2); font-size: 14px; border-top: 1px solid var(--ds-line); }
.perks li { display: flex; gap: 10px; align-items: center; padding: 12px 2px; border-bottom: 1px solid var(--ds-line); }
.perks svg { color: var(--ds-red-text); flex: none; }
.product-desc { background: var(--ds-surface); border: 1px solid var(--ds-line); border-left: 2px solid var(--accent); border-radius: var(--ds-r-md); padding: 18px 20px; font-size: 14.5px; }
.product-desc p { margin: 0 0 12px; }
.product-desc p:last-child { margin-bottom: 0; }
.rich-label { margin: 16px 0 6px; font: 500 10.5px var(--ds-mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--ds-red-text); }
.rich > .rich-label:first-child { margin-top: 0; }
.rich h2 { font-size: 19px; font-weight: 800; text-transform: var(--head-case); text-align: left; margin: 22px 0 8px; }
.rich p, .rich li { color: var(--text-2); }
.rich ul { padding-left: 20px; margin: 0; display: grid; gap: 6px; }
.text-page .rich { max-width: 680px; margin: 0 auto; }

/* ---------- Cart ---------- */
.cart-lines { display: grid; gap: 12px; margin-bottom: 20px; }
.cart-line { display: grid; grid-template-columns: 72px 1fr auto; gap: 14px; align-items: center; background: var(--ds-surface); border: 1px solid var(--ds-line); border-radius: var(--ds-r-md); padding: 12px; }
.cart-line img, .cart-line .card-noimg { width: 72px; height: 72px; border-radius: 8px; object-fit: cover; }
.cart-line h3 { margin: 0; font-size: 15px; }
.cart-line small { color: var(--ds-text-3); display: block; }
.cart-line .qty-box { margin-top: 6px; }
.cart-line .qty-box button { height: 32px; width: 32px; }
.cart-line .qty-box input { width: 40px; padding: 4px 0; }
.cart-line .line-right { text-align: right; display: grid; gap: 6px; justify-items: end; }
.link-btn { background: none; border: 0; color: var(--ds-text-3); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; font-size: 13px; padding: 0; }
.link-btn:hover { color: var(--ds-text); }
.cart-summary { background: var(--ds-surface); border: 1px solid var(--ds-line-2); border-radius: var(--ds-r-md); padding: 18px; display: grid; gap: 8px; }
.cart-summary .row { display: flex; justify-content: space-between; }
.cart-summary .total { font-size: 18px; font-weight: 800; }
.cart-error { color: var(--ds-red-text); text-align: center; }

/* ---------- Thanks / order pages ---------- */
.thanks-head { text-align: center; margin-bottom: 24px; display: grid; justify-items: center; gap: 4px; }
.panel { background: var(--ds-surface); border: 1px solid var(--ds-line-2); border-radius: var(--ds-r-md); padding: 20px 22px; margin-bottom: 16px; }
.panel h2 { text-align: left; font-size: 19px; margin: 0 0 10px; letter-spacing: -0.01em; }
.links { margin: 0; padding-left: 20px; display: grid; gap: 8px; }
.links a { color: var(--accent-soft); word-break: break-all; }
.note { white-space: pre-wrap; color: var(--ds-text-2); margin: 12px 0 0; }

/* ---------- Footer ---------- */
.site-footer { text-align: center; padding: 64px 20px 48px; border-top: 1px solid var(--ds-line); margin-top: 64px; background: color-mix(in srgb, var(--ds-bg) 92%, transparent); }
.footer-brand { display: inline-flex; align-items: center; gap: 8px; font-size: 22px; font-weight: 800; }
.verified { color: var(--ds-red-text); }
.site-footer p { margin: 6px 0; font-size: 14px; }
.site-footer > .muted { color: var(--ds-text-2); }
.socials, .footer-links {
  display: flex;
  gap: 8px 28px;
  justify-content: center;
  flex-wrap: wrap;
  margin: 16px 0 0;
  font: 500 var(--ds-fs-label) var(--ds-mono);
  letter-spacing: var(--ds-track-label);
  text-transform: uppercase;
}
.socials a, .footer-links a { color: var(--ds-text-2); text-decoration: none; transition: color var(--ds-dur); }
.socials a:hover, .footer-links a:hover { color: var(--ds-text); }
.divider { height: 1px; background: var(--ds-line); max-width: 560px; margin: 20px auto; }
.copyright { color: var(--ds-text-3); font: 500 11px var(--ds-mono); letter-spacing: 0.06em; }

/* ---------- Floating help button, popup, toast ---------- */
.help-btn {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 40;
  height: 52px;
  min-width: 52px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--ds-surface) 90%, transparent);
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
  border: 1px solid var(--ds-line-2);
  color: var(--ds-text);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 16px;
  text-decoration: none;
  font: 500 12px var(--ds-mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow: var(--ds-shadow-1);
  transition: border-color var(--ds-dur);
}
.help-btn svg { color: var(--ds-red-text); }
.help-btn:hover { border-color: var(--ds-line-3); }
.sales-popup {
  position: fixed;
  left: 18px;
  bottom: 18px;
  z-index: 40;
  max-width: 320px;
  background: var(--ds-surface);
  border: 1px solid var(--ds-line-2);
  border-radius: var(--ds-r-md);
  padding: 10px 12px;
  display: flex;
  gap: 10px;
  align-items: center;
  text-decoration: none;
  font-size: 13px;
  box-shadow: var(--ds-shadow-1);
  animation: popin 0.35s ease;
}
.sales-popup img { width: 48px; height: 48px; border-radius: 8px; object-fit: cover; }
.sales-popup small { color: var(--ds-text-3); display: block; }
.toast {
  position: fixed;
  left: 50%;
  top: 18px;
  transform: translateX(-50%);
  z-index: 60;
  background: var(--ds-surface-2);
  border: 1px solid var(--ds-line-3);
  padding: 10px 16px;
  border-radius: var(--ds-r-sm);
  font-size: 14px;
  animation: popin 0.25s ease;
}
@keyframes popin { from { opacity: 0; transform: translateY(8px); } }
.toast { animation-name: toastin; }
@keyframes toastin { from { opacity: 0; transform: translate(-50%, -8px); } }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .grid-4 > .card { flex-basis: calc((100% - 20px) / 2); }
  .reviews { grid-template-columns: 1fr 1fr; }
  .badges { grid-template-columns: 1fr 1fr; }
  .badge-card:nth-child(odd) { border-left: 0; }
  .badge-card:nth-child(n + 3) { border-top: 1px solid var(--ds-line); }
  .product { grid-template-columns: 1fr; gap: 24px; }
  .product-media { position: static; }
}
@media (max-width: 720px) {
  .site-header { padding: 12px 14px 0; }
  .header-row { gap: 10px; }
  .header-spacer { width: 44px; }
  .header-pill { min-height: 48px; padding: 0 16px; }
  .brand { font-size: 18px; }
  .nav { gap: 0 18px; }
  .btn-round { width: 44px; height: 44px; }
  .section { padding: var(--ds-s7) 14px; }
  .shelf { padding-top: 56px; padding-bottom: 56px; }
  .shelf::before { inset: 16px 4px; border-radius: var(--ds-r-md); }
  .shelf-product { padding: 16px 0 0; }
  .shelf-product::before { inset: 8px 4px 0; }
  .hero { padding-top: 44px; }
  .grid { gap: 10px; }
  .grid > .card, .grid-4 > .card { flex-basis: calc((100% - 10px) / 2); }
  .card-body { padding: 12px; gap: 5px; }
  .card-body h3 { font-size: 14px; }
  .card-meta { font-size: 9.5px; letter-spacing: 0.1em; }
  .card-meta .meta-more { display: none; }
  .card-frame { inset: 6px; }
  .card-index { left: 12px; bottom: 10px; }
  .price-off { display: none; }
  .price .now { font-size: 17px; }
  .price s { font-size: 12px; }
  .card-actions .btn { font-size: 11px; padding: 0 8px; height: 38px; }
  .card-actions .btn-icon { width: 38px; height: 38px; }
  .ribbon { font-size: 9px; padding: 3px 6px; top: 12px; right: 12px; }
  .caption { font-size: 9px; bottom: 8px; }
  .card-media .pill { font-size: 9px; padding: 2px 7px; right: 6px; bottom: 6px; }
  .steps { grid-template-columns: 1fr; gap: 24px; }
  .steps::before { display: none; }
  .reviews { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px; padding-bottom: 8px; }
  .review { flex: 0 0 85%; scroll-snap-align: start; }
  .shots img { height: 260px; }
  .row2 { grid-template-columns: 1fr; }
  .help-label { display: none; }
  .help-btn { padding: 0; justify-content: center; width: 52px; }
  .sales-popup { left: 10px; right: 80px; bottom: 14px; }
  .inline-form { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  .ticker-track, .shots-track { animation: none; }
  .shots { overflow-x: auto; }
  * { scroll-behavior: auto !important; transition: none !important; }
}


/* ---------- Product page on phones: the image is a small box next to the name and price.
   Tapping it opens the full image (viewer in site.js). ---------- */
@media (max-width: 720px) {
  .product { grid-template-columns: 104px 1fr; column-gap: 16px; row-gap: 0; align-items: start; padding-top: 20px; }
  .product-info { display: contents; }
  .product-media { grid-column: 1; grid-row: 1 / span 3; position: relative; }
  .product-figure { width: 104px; border-radius: 12px; }
  .product-main { width: 104px; height: 104px; cursor: zoom-in; }
  .product-frame, .product-count, .product-figure .ribbon { display: none; }
  .product-media::after {
    content: '';
    position: absolute;
    z-index: 4;
    left: 76px;
    top: 76px;
    width: 22px;
    height: 22px;
    border-radius: 6px;
    pointer-events: none;
    background: rgba(0, 0, 0, 0.6) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.2' stroke-linecap='round'%3E%3Cpath d='M15 3h6v6M9 21H3v-6M21 3l-7 7M3 21l7-7'/%3E%3C/svg%3E") center / 12px no-repeat;
  }
  .product-media:has(.card-noimg)::after { display: none; }
  .thumbs { display: none; }
  .product-info .eyebrow, .product-info h1, .product-info > .price { grid-column: 2; }
  .product-info .eyebrow { align-self: end; margin: 4px 0 6px; font-size: 9.5px; letter-spacing: 0.08em; }
  .product-info h1 { font-size: 24px; margin: 0 0 6px; }
  .price-lg .now { font-size: 22px; }
  .product-info > :not(.eyebrow):not(h1):not(.price) { grid-column: 1 / -1; }
}
.img-viewer {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: rgba(8, 8, 8, 0.94);
  display: grid;
  grid-template-rows: 1fr auto;
  place-items: center;
  padding: 56px 16px 20px;
  animation: popin 0.2s ease;
}
.img-viewer-img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: var(--ds-r-md); border: 1px solid var(--ds-line-2); }
.img-viewer-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--ds-line-2);
  background: var(--ds-surface);
  color: var(--ds-text);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}
.img-viewer-thumbs { display: flex; gap: 8px; margin-top: 14px; overflow-x: auto; max-width: 100%; }
.img-viewer-thumbs button { flex: none; width: 56px; height: 56px; padding: 0; border: 1px solid var(--ds-line-2); border-radius: var(--ds-r-sm); overflow: hidden; background: none; cursor: pointer; }
.img-viewer-thumbs button.active { border-color: var(--ds-text); }
.img-viewer-thumbs img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Custom sections (added in Customize) ---------- */
.custom h2 { margin-bottom: 12px; }
.custom .rich { color: var(--ds-text-2); }
.custom.align-center .text-block, .custom.align-center > h2, .custom.align-center > .rich { text-align: center; max-width: 760px; margin-left: auto; margin-right: auto; }
.custom.align-left .text-block h2, .custom.align-left > h2 { text-align: left; }
.text-block { display: grid; gap: 14px; justify-items: inherit; }
.custom.align-center .text-block { justify-items: center; }
.custom.bg-card > *:first-child, .custom.bg-accent > *:first-child { border-radius: var(--ds-r-md); padding: 36px 28px; }
.custom.bg-card .text-block, .custom.bg-card .image-text, .custom.bg-card > .video { background: var(--ds-surface); border: 1px solid var(--ds-line-2); border-radius: var(--ds-r-md); padding: 32px 26px; }
.custom.bg-accent .text-block, .custom.bg-accent .image-text { background: color-mix(in srgb, var(--accent) 55%, var(--ds-bg)); border: 1px solid color-mix(in srgb, var(--accent) 70%, transparent); border-radius: var(--ds-r-md); padding: 32px 26px; }
.custom.bg-accent .btn { background: #fff; color: #000; }
.custom.bg-accent .rich { color: color-mix(in srgb, #fff 85%, transparent); }
.image-text { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.image-text.flip > :first-child { order: 2; }
.image-text img, .image-text .card-noimg { width: 100%; border-radius: var(--ds-r-md); border: 1px solid var(--ds-line-2); object-fit: cover; }
/* Product spotlight keeps the product look */
.spotlight img, .spotlight .card-noimg { border-radius: var(--radius); border-color: color-mix(in srgb, var(--accent) 35%, transparent); }
.image-text h2 { text-align: left; }
.image-text > div { display: grid; gap: 14px; justify-items: start; }
.spotlight .pill { justify-self: start; }
.banner { min-height: 340px; border-radius: var(--ds-r-md); border: 1px solid var(--ds-line-2); background: var(--ds-surface) center / cover no-repeat; display: grid; place-items: center; overflow: hidden; position: relative; }
.banner::before { content: ''; position: absolute; inset: 0; background: rgba(0, 0, 0, 0.45); /* keeps text readable over a photo */ }
.banner-inner { position: relative; text-align: center; padding: 40px 24px; display: grid; gap: 14px; justify-items: center; max-width: 720px; }
.banner-inner .rich { color: #eee; }
.video { position: relative; aspect-ratio: 16 / 9; max-width: 900px; margin: 20px auto 0; border-radius: var(--ds-r-md); overflow: hidden; border: 1px solid var(--ds-line-2); }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.custom-empty { border: 2px dashed var(--ds-line-2); border-radius: var(--ds-r-md); padding: 40px 20px; text-align: center; color: var(--ds-text-2); min-height: 120px; display: grid; place-items: center; }
@media (max-width: 720px) {
  .image-text { grid-template-columns: 1fr; gap: 20px; }
  .image-text.flip > :first-child { order: 0; }
  .banner { min-height: 260px; }
}

.image-text img { max-height: 460px; }
@media (max-width: 720px) { .image-text img { max-height: 300px; } }


/* ---------- Scrolling text strip (custom section) ---------- */
.strip {
  overflow: hidden;
  white-space: nowrap;
  margin: 8px 0;
  padding: 10px 0;
  border-top: 1px solid var(--ds-line-2);
  border-bottom: 1px solid var(--ds-line-2);
  background: color-mix(in srgb, var(--ds-bg) 85%, transparent);
}
.strip-track { display: inline-flex; animation: ticker 32s linear infinite; }
.strip:hover .strip-track { animation-play-state: paused; }
.strip-item { display: inline-flex; align-items: center; gap: 26px; padding-right: 26px; }
.strip-text { font: 500 13px var(--ds-mono); letter-spacing: var(--ds-track-label); text-transform: uppercase; color: var(--ds-text); }
.strip-sep { color: var(--ds-red-text); font-size: 12px; }
@media (max-width: 720px) { .strip-text { font-size: 12px; } .strip { padding: 8px 0; } }
@media (prefers-reduced-motion: reduce) { .strip-track { animation: none; } .strip { overflow-x: auto; } }

@media (max-width: 720px) {
  .countdown-label { flex-basis: 100%; justify-content: center; margin: 0 0 4px; }
  .cd-box { min-width: 44px; }
}


/* ---------- Manual checkout + order page ---------- */
.co-form { display: grid; gap: 16px; }
.co-box { background: var(--ds-surface); border: 1px solid var(--ds-line); border-radius: var(--ds-r-md); padding: 18px; display: grid; gap: 10px; }
.co-box h2 { text-align: left; font-size: 17px; margin: 0 0 4px; }
.co-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.co-row3 { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 10px; }
.pay-options { display: grid; gap: 8px; }
.pay-option { display: flex; align-items: center; gap: 12px; border: 1px solid var(--ds-line-2); border-radius: var(--ds-r-sm); padding: 12px 14px; cursor: pointer; background: var(--ds-surface-2); transition: border-color var(--ds-dur); }
.pay-option:hover { border-color: var(--ds-line-3); }
.pay-option input { width: auto; accent-color: var(--accent); }
.pay-option:has(input:checked) { border-color: var(--ds-red); background: color-mix(in srgb, var(--accent) 12%, var(--ds-surface-2)); }
.pay-option b { flex: 1; }
.pay-option small { color: var(--ds-text-2); }
.sum-table { width: 100%; border-collapse: collapse; }
.sum-table td { padding: 7px 0; border-bottom: 1px solid var(--ds-line); }
.sum-table td:last-child { text-align: right; white-space: nowrap; }
.pay-panel { display: grid; gap: 14px; }
.pay-amount, .pay-code { display: grid; justify-items: center; text-align: center; gap: 2px; }
.pay-amount > b { font-size: 40px; line-height: 1.1; letter-spacing: var(--ds-track-head); }
.pay-code b { font: 500 26px var(--ds-mono); letter-spacing: 3px; background: var(--ds-surface-2); border: 1px dashed var(--ds-red); border-radius: var(--ds-r-sm); padding: 6px 16px; cursor: pointer; }
.small { font-size: 12px; }
.co-check { display: flex; gap: 12px; align-items: flex-start; cursor: pointer; }
.co-check input { width: 18px; height: 18px; margin: 2px 0 0; flex: none; accent-color: var(--ds-red); }
.co-check b { display: block; font-size: 15px; }
.co-check small { display: block; color: var(--ds-text-2); font-size: 12px; line-height: 1.5; margin-top: 2px; }
@media (max-width: 720px) { .co-row, .co-row3 { grid-template-columns: 1fr; } }

.pay-qr { display: grid; justify-items: center; gap: 8px; text-align: center; padding-top: 4px; }
.pay-qr img { width: 220px; height: 220px; object-fit: contain; background: #fff; border-radius: var(--ds-r-md); padding: 8px; border: 1px solid var(--ds-line-2); }
.pay-qr small { color: var(--ds-text-2); }
@media (max-width: 720px) { .pay-qr img { width: 180px; height: 180px; } }
