/* S677k — dean_b skin: the outside template's structural stylesheet (Dean's "range store" engine,
   family B: shopforgesupply.com + shoplucidformulas.com -- site.css byte-identical on both; only
   theme.css differs and those tokens come from each template row's design_dna.skin.tokens) with every
   custom property namespaced --db-*. Presentation only. Source: the pre-switch crawl 2026-09-25;
   commissioned/private, Dean-built for the Basis corps -- commercial use ok. */
/* ---------------------------------------------------------------
   Structure only. Brand values live in theme.css.
   --------------------------------------------------------------- */

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--db-background);
  color: var(--db-foreground);
  font-family: var(--db-font-sans);
  font-size: var(--db-body-size);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; }

h1, h2, h3 {
  font-family: var(--db-font-display);
  font-weight: var(--db-display-weight);
  text-transform: var(--db-display-transform);
  letter-spacing: var(--db-display-spacing);
  line-height: var(--db-display-lh);
  margin: 0;
  text-wrap: balance;
}

h1 { font-size: clamp(2.1rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.4rem); }
h3 { font-size: 1.1rem; }

p { margin: 0 0 1rem; }
p:last-child { margin-bottom: 0; }

:focus-visible {
  outline: 3px solid var(--db-accent);
  outline-offset: 2px;
  border-radius: 2px;
}

.sr, .skip:not(:focus) {
  position: absolute; width: 1px; height: 1px; padding: 0;
  margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}
.skip:focus {
  position: fixed; top: 8px; left: 8px; z-index: 100;
  background: var(--db-primary); color: var(--db-primary-fg);
  padding: .6rem 1rem; border-radius: var(--db-radius);
}

.wrap { max-width: 1160px; margin: 0 auto; padding: 0 clamp(1rem, 4vw, 2rem); }
.narrow { max-width: 780px; }
.center { text-align: center; }
.mt { margin-top: 2rem; }
.muted { color: var(--db-muted-fg); }

.eyebrow {
  font-size: .7rem; letter-spacing: .2em; text-transform: uppercase;
  color: var(--db-muted-fg); font-weight: 600; margin: 0 0 .6rem;
  font-family: var(--db-font-sans);
}

/* ---------- buttons ---------- */
.btn {
  display: inline-block; cursor: pointer; text-decoration: none; text-align: center;
  font-family: var(--db-font-sans); font-size: .95rem; font-weight: 600;
  padding: .85rem 1.5rem; border-radius: var(--db-radius);
  border: 1px solid transparent; transition: opacity .15s ease, background .15s ease;
  line-height: 1.2;
}
.btn:hover { opacity: .88; }
.btn-primary { background: var(--db-primary); color: var(--db-primary-fg); border-color: var(--db-primary); }
.btn-ghost { background: transparent; color: var(--db-foreground); border-color: var(--db-border); }
.btn-ghost:hover { background: var(--db-secondary); opacity: 1; }
.btn-small { padding: .55rem 1rem; font-size: .85rem; }
.btn-block { display: block; width: 100%; }
.btn:disabled { opacity: .45; cursor: default; }

.link-btn {
  background: none; border: 0; padding: 0; cursor: pointer;
  color: var(--db-muted-fg); font: inherit; font-size: .85rem; text-decoration: underline;
}
.link-btn:hover { color: var(--db-foreground); }

/* ---------- header ---------- */
.promo {
  background: var(--db-ink); color: var(--db-ink-fg);
  text-align: center; font-size: .8rem; padding: .55rem 1rem;
  letter-spacing: .04em;
}

.site-head {
  position: sticky; top: 0; z-index: 40;
  background: var(--db-background);
  border-bottom: 1px solid var(--db-border);
}
.head-inner {
  display: flex; align-items: center; gap: 1.5rem;
  min-height: 72px;
}
.wordmark {
  font-family: var(--db-font-display); font-weight: var(--db-display-weight);
  text-transform: var(--db-display-transform); letter-spacing: var(--db-wordmark-spacing);
  font-size: 1.45rem; text-decoration: none; margin: 0;
}
.nav { display: flex; gap: 1.6rem; margin-left: auto; }
.nav a {
  text-decoration: none; font-size: .92rem; padding: .3rem 0;
  border-bottom: 2px solid transparent;
}
.nav a:hover { border-bottom-color: var(--db-border); }
.nav a[aria-current="page"] { border-bottom-color: var(--db-accent); }

.head-right { display: flex; align-items: center; gap: 1rem; margin-left: auto; }
.nav + .head-right { margin-left: 0; }
.tel { text-decoration: none; font-size: .88rem; color: var(--db-muted-fg); }
.cart-link { text-decoration: none; font-size: .92rem; font-weight: 600; white-space: nowrap; }
.cart-count {
  display: inline-block; min-width: 1.4rem; margin-left: .4rem; padding: .1rem .35rem;
  background: var(--db-accent); color: var(--db-accent-fg);
  border-radius: 999px; font-size: .75rem; text-align: center; font-weight: 700;
}
.nav-toggle {
  display: none; background: none; border: 1px solid var(--db-border);
  border-radius: var(--db-radius); padding: .45rem .8rem; font: inherit;
  font-size: .85rem; cursor: pointer; color: inherit;
}
.mobile-nav { display: none; }

@media (max-width: 900px) {
  .nav, .tel { display: none; }
  .nav-toggle { display: block; }
  .mobile-nav[hidden] { display: none; }
  .mobile-nav {
    display: grid; border-top: 1px solid var(--db-border); background: var(--db-card);
  }
  .mobile-nav a {
    padding: .95rem clamp(1rem, 4vw, 2rem); text-decoration: none;
    border-bottom: 1px solid var(--db-border);
  }
}

.flash {
  margin: 1rem 0 0; padding: .8rem 1rem;
  background: var(--db-secondary); border-left: 3px solid var(--db-accent);
  border-radius: var(--db-radius); font-size: .92rem;
}

/* ---------- hero: one composition per brand ----------
   These six blocks are the main reason the sites do not look alike. Shared
   pieces stay minimal on purpose.                                        */

.hero { position: relative; }
.hero-copy { min-width: 0; }
.lede { font-size: clamp(1rem, 1.6vw, 1.2rem); margin-top: 1rem; max-width: 46ch; }
.hero-cta { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.8rem; }
.hero-tag {
  position: absolute; left: 1rem; bottom: 1rem;
  font-size: .7rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  background: var(--db-accent); color: var(--db-accent-fg); padding: .3rem .7rem; border-radius: 999px;
}

/* --- bold: full-bleed photograph, dark scrim, type hard left --- */
.hero-bold { background: var(--db-ink); overflow: hidden; }
.hero-bold .hero-photo { position: absolute; inset: 0; }
.hero-bold .hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.hero-bold .hero-photo::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(0,0,0,.88) 0%, rgba(0,0,0,.66) 46%, rgba(0,0,0,.25) 100%);
}
.hero-bold-inner {
  position: relative; display: grid; grid-template-columns: 1fr 1fr;
  gap: 2rem; align-items: center; color: #fff;
  padding-top: clamp(3rem, 8vw, 6.5rem); padding-bottom: clamp(3rem, 8vw, 6.5rem);
}
.hero-bold h1 { max-width: 14ch; }
.hero-bold .eyebrow { color: rgba(255,255,255,.7); }
.hero-bold .btn-ghost { color: #fff; border-color: rgba(255,255,255,.5); }
.hero-bold .btn-ghost:hover { background: rgba(255,255,255,.12); opacity: 1; }
.hero-bottle img { width: 100%; max-width: 560px; margin-left: auto; filter: drop-shadow(0 24px 55px rgba(0,0,0,.6)); }
@media (max-width: 860px) { .hero-bold-inner { grid-template-columns: 1fr; } .hero-bottle { display: none; } }

/* --- editorial: full-bleed image, copy and product floating over it --- */
.hero-editorial { background: var(--db-secondary); overflow: hidden; }
.hero-editorial .hero-photo { position: absolute; inset: 0; }
.hero-editorial .hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.hero-editorial .hero-photo::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg,
    rgba(251,247,239,.95) 0%, rgba(251,247,239,.78) 42%, rgba(251,247,239,.30) 100%);
}
.hero-ed-inner {
  position: relative; display: grid; grid-template-columns: 1.05fr .95fr;
  gap: clamp(1.5rem, 4vw, 3rem); align-items: center;
  padding-top: clamp(3.5rem, 9vw, 7rem); padding-bottom: clamp(3.5rem, 9vw, 7rem);
}
.hero-editorial h1 { max-width: 14ch; }
.hero-ed-product {
  display: grid; justify-items: center; gap: .5rem; text-decoration: none;
  background: rgba(255, 252, 247, .72); backdrop-filter: blur(3px);
  border: 1px solid var(--db-border); border-radius: var(--db-radius);
  padding: clamp(1.2rem, 3vw, 2rem);
}
.hero-ed-product img { width: 100%; max-width: 300px; }
.hero-ed-product span {
  font-family: var(--db-font-display); font-size: 1.25rem; text-align: center; margin-top: .4rem;
}
.hero-ed-product small {
  display: block; font-family: var(--db-font-sans); font-size: .75rem;
  letter-spacing: .16em; text-transform: uppercase; color: var(--db-muted-fg); margin-top: .3rem;
}
@media (max-width: 860px) {
  .hero-ed-inner { grid-template-columns: 1fr; }
  .hero-editorial .hero-photo::after { background: rgba(251,247,239,.88); }
}

/* --- soft: two calm columns, product on a soft card --- */
.hero-soft { background: var(--db-secondary); border-bottom: 1px solid var(--db-border); }
.hero-soft-grid {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 5vw, 4rem);
  align-items: center; padding-top: clamp(3rem, 6vw, 5rem);
  padding-bottom: clamp(3rem, 6vw, 5rem);
}
.hero-soft h1 { max-width: 15ch; }
.hero-call {
  display: block; margin-top: 1.4rem; font-size: 1.05rem; color: var(--db-muted-fg);
}
.hero-call a { font-weight: 600; color: var(--db-foreground); }
.hero-card {
  display: grid; justify-items: center; gap: .4rem; text-decoration: none;
  background: var(--db-card); border: 1px solid var(--db-border);
  border-radius: var(--db-radius); padding: clamp(1.5rem, 4vw, 2.5rem);
}
.hero-card img { width: 100%; max-width: 260px; }
.hero-card-name { font-family: var(--db-font-display); font-size: 1.3rem; margin-top: .6rem; }
.hero-card-note { font-size: .9rem; color: var(--db-muted-fg); }
@media (max-width: 820px) { .hero-soft-grid { grid-template-columns: 1fr; } }

/* --- modern: flat colour block behind the product --- */
.hero-modern { background: var(--db-background); border-bottom: 1px solid var(--db-border); }
.hero-modern-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center; padding-top: clamp(2.5rem, 6vw, 4.5rem);
  padding-bottom: clamp(2.5rem, 6vw, 4.5rem);
}
.hero-modern h1 { max-width: 13ch; }
.hero-block {
  position: relative; display: block; background: var(--db-accent);
  border-radius: var(--db-radius); padding: clamp(1.5rem, 4vw, 3rem); text-decoration: none;
}
.hero-block img { width: 100%; max-width: 340px; margin: 0 auto; }
@media (max-width: 820px) { .hero-modern-grid { grid-template-columns: 1fr; } }

/* --- bright: photo band with the product card overlapping it --- */
.hero-bright { background: var(--db-background); padding-bottom: 3rem; }
.hero-bright .hero-band { position: relative; height: clamp(200px, 26vw, 320px); overflow: hidden; }
.hero-bright .hero-band img { width: 100%; height: 100%; object-fit: cover; }
.hero-bright .hero-band::after {
  content: ""; position: absolute; inset: 0; background: rgba(255,255,255,.55);
}
.hero-bright-inner {
  position: relative; margin-top: clamp(-170px, -17vw, -110px);
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 4vw, 3rem);
  align-items: end;
}
.hero-bright .hero-copy {
  background: var(--db-card); border: 1px solid var(--db-border); border-radius: var(--db-radius);
  padding: clamp(1.5rem, 4vw, 2.5rem);
}
.hero-float { display: block; text-align: center; text-decoration: none; }
.hero-float img { width: 100%; max-width: 420px; margin: 0 auto; }
.hero-float span {
  display: block; margin-top: .6rem; font-size: .78rem; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase; color: var(--db-muted-fg);
}
@media (max-width: 820px) {
  .hero-bright-inner { grid-template-columns: 1fr; margin-top: -70px; }
}

/* --- minimal: no photograph at all, type and rules --- */
.hero-minimal { background: var(--db-background); border-bottom: 1px solid var(--db-border); }
.hero-min-grid {
  display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(2rem, 5vw, 4rem);
  align-items: center; padding-top: clamp(3rem, 7vw, 5rem);
  padding-bottom: clamp(3rem, 7vw, 5rem);
}
.hero-minimal h1 { max-width: 15ch; }
.hero-facts {
  display: flex; flex-wrap: wrap; gap: 2.5rem; margin: 2.5rem 0 0;
  padding-top: 1.5rem; border-top: 1px solid var(--db-border);
}
.hero-facts div { display: grid; gap: .2rem; }
.hero-facts dt {
  font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; color: var(--db-muted-fg);
}
.hero-facts dd { margin: 0; font-size: 1.3rem; font-weight: 600; }
.hero-frame {
  display: block; border: 1px solid var(--db-foreground); padding: clamp(1.5rem, 4vw, 2.5rem);
}
.hero-frame img { width: 100%; max-width: 280px; margin: 0 auto; }
@media (max-width: 820px) { .hero-min-grid { grid-template-columns: 1fr; } }

/* ---------- signature modules ---------- */
.ladder-table, .index-table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.ladder-table th, .index-table th {
  text-align: left; font-size: .7rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--db-muted-fg); padding: 0 1rem .7rem 0; border-bottom: 1px solid var(--db-border);
  font-weight: 600;
}
.ladder-table td, .index-table td, .ladder-table tbody th, .index-table tbody th {
  padding: .9rem 1rem .9rem 0; border-bottom: 1px solid var(--db-border); vertical-align: middle;
}
.ladder-table tbody th, .index-table tbody th {
  font-size: .95rem; text-transform: none; letter-spacing: 0; color: var(--db-foreground);
}
.ladder-table td small { display: block; color: var(--db-muted-fg); font-size: .78rem; }
.index-table form { margin: 0; }

.quote-band { background: var(--db-secondary); }
.pullquote {
  margin: 0 0 3rem; font-family: var(--db-font-display); font-size: clamp(1.5rem, 3.4vw, 2.4rem);
  line-height: 1.25; max-width: 24ch; font-style: italic;
}
.routine { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.routine li { border-top: 1px solid var(--db-border); padding-top: 1rem; }
.routine-n { display: block; font-family: var(--db-font-display); font-size: 2rem; color: var(--db-accent); }
.routine a { font-weight: 600; text-decoration: none; }
.routine p { font-size: .85rem; margin-top: .4rem; }

.dark-band { background: var(--db-ink); color: var(--db-ink-fg); }
.dark-band .eyebrow, .dark-band .muted { color: rgba(255,255,255,.6); }
.dark-band .btn-ghost { color: var(--db-ink-fg); border-color: rgba(255,255,255,.4); }
.dose-list { list-style: none; margin: 2rem 0; padding: 0; display: grid; gap: 0; }
.dose-list li {
  display: flex; justify-content: space-between; gap: 1rem; padding: .85rem 0;
  border-bottom: 1px solid rgba(255,255,255,.18);
}
.dose-list a { text-decoration: none; font-weight: 600; }
.dose-list span { color: rgba(255,255,255,.6); font-size: .88rem; }

.form-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 1rem; }
.form-tile {
  display: grid; gap: .3rem; padding: 1.2rem; text-decoration: none;
  background: var(--db-card); border: 1px solid var(--db-border); border-radius: var(--db-radius);
}
.form-tile:hover { border-color: var(--db-accent); }
.form-tile strong { font-size: 1.05rem; }
.form-tile span { font-size: .82rem; color: var(--db-muted-fg); }

/* staggered grid, editorial only */
@media (min-width: 981px) {
  .grid-stagger > .card:nth-child(even) { margin-top: 3rem; }
}

/* product rows, soft only */
.prod-rows { list-style: none; margin: 0; padding: 0; }
.prod-rows li {
  display: grid; grid-template-columns: 96px 1fr auto auto; gap: 1.2rem;
  align-items: center; padding: 1.5rem 0; border-bottom: 1px solid var(--db-border);
}
.prod-rows li:first-child { border-top: 1px solid var(--db-border); }
.prod-rows img { width: 96px; height: 96px; object-fit: contain; }
.prod-rows h3 { font-size: 1.15rem; }
.prod-rows h3 a { text-decoration: none; }
.prod-rows p { font-size: .9rem; margin: .3rem 0 0; }
.prod-rows form { margin: 0; }
@media (max-width: 720px) {
  .prod-rows li { grid-template-columns: 72px 1fr; }
  .prod-rows img { width: 72px; height: 72px; }
  .prod-rows .price, .prod-rows form { grid-column: 2; }
}

/* ---------- bands and sections ---------- */
.band { background: var(--db-ink); color: var(--db-ink-fg); }
.band-inner {
  display: flex; flex-wrap: wrap; gap: 1rem 2.5rem; justify-content: center;
  padding: 1rem 0; font-size: .82rem; letter-spacing: .1em; text-transform: uppercase;
}

.section { padding: clamp(3rem, 7vw, 5.5rem) 0; }
.section.alt { background: var(--db-secondary); }
.section-head { max-width: 60ch; margin-bottom: 2.5rem; }
.section-head h1, .section-head h2 { margin-bottom: .7rem; }

.split {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }

.panel-peek {
  background: #fff; border: 1px solid var(--db-border); border-radius: var(--db-radius);
  padding: 1.2rem;
}

/* ---------- steps ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 2rem; grid-template-columns: repeat(3, 1fr); }
.steps-inline { margin: 1.5rem 0 3rem; }
.steps li { border-top: 2px solid var(--db-foreground); padding-top: 1rem; }
.step-n {
  font-size: .75rem; letter-spacing: .15em; color: var(--db-accent);
  font-weight: 700; display: block; margin-bottom: .5rem;
}
.steps h3 { margin-bottom: .5rem; }
@media (max-width: 800px) { .steps { grid-template-columns: 1fr; gap: 1.5rem; } }

/* ---------- product grid ---------- */
.grid { display: grid; gap: 1.6rem; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 980px) { .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .grid-3 { grid-template-columns: 1fr; } }

.card {
  background: var(--db-card); border: 1px solid var(--db-border);
  border-radius: var(--db-radius); overflow: hidden;
  display: flex; flex-direction: column;
}
.card-media { position: relative; display: block; background: var(--db-secondary); }
.card-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: contain; padding: 1rem; }
.pdp-media img { width: 100%; aspect-ratio: 1 / 1; object-fit: contain; padding: 2rem; }
.card-body { padding: 1.2rem; display: flex; flex-direction: column; flex: 1; gap: .45rem; }
.card-body h3 { font-size: 1.05rem; }
.card-body h3 a { text-decoration: none; }
.card-body h3 a:hover { text-decoration: underline; }
.card-meta { font-size: .78rem; color: var(--db-muted-fg); letter-spacing: .04em; margin: 0; }
.card-blurb { font-size: .9rem; color: var(--db-muted-fg); margin: 0; }
.card-foot {
  margin-top: auto; padding-top: .9rem;
  display: flex; align-items: center; justify-content: space-between; gap: .8rem;
}
.card-foot form { margin: 0; }

.price { font-weight: 700; margin: 0; font-size: 1.05rem; }
.price s { font-weight: 400; color: var(--db-muted-fg); font-size: .85rem; margin-left: .4rem; }
.price-lg { font-size: 1.7rem; margin: 1rem 0; }
.save {
  display: inline-block; margin-left: .6rem; font-size: .75rem; font-weight: 700;
  background: var(--db-accent); color: var(--db-accent-fg);
  padding: .2rem .5rem; border-radius: 999px; letter-spacing: .04em;
}

.tier {
  display: inline-block; font-size: .68rem; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; padding: .25rem .6rem; border-radius: 999px;
  background: var(--db-secondary); color: var(--db-muted-fg); border: 1px solid var(--db-border);
}
/* Position only. The colour variants below must win, so no background here -
   .card-media .tier would otherwise out-specify them and blank the badge. */
.card-media .tier { position: absolute; top: .7rem; left: .7rem; box-shadow: 0 1px 4px rgba(0,0,0,.16); }
.tier.tier-core { background: var(--db-card); color: var(--db-muted-fg); border-color: var(--db-border); }
.tier.tier-advanced { background: var(--db-accent); color: var(--db-accent-fg); border-color: var(--db-accent); }
.tier.tier-premium { background: var(--db-primary); color: var(--db-primary-fg); border-color: var(--db-primary); }

/* ---------- filters ---------- */
.filters { display: grid; gap: .8rem; margin-bottom: 1.5rem; }
.filter-row { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; }
.filter-label {
  font-size: .72rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--db-muted-fg); font-weight: 600; min-width: 5rem;
}
.chip {
  text-decoration: none; font-size: .85rem; padding: .4rem .85rem;
  border: 1px solid var(--db-border); border-radius: 999px; background: var(--db-card);
}
.chip:hover { border-color: var(--db-muted-fg); }
.chip.is-on { background: var(--db-primary); color: var(--db-primary-fg); border-color: var(--db-primary); }
.result-count { font-size: .85rem; color: var(--db-muted-fg); margin-bottom: 1.2rem; }
.empty { padding: 2rem 0; color: var(--db-muted-fg); }

/* ---------- breadcrumbs ---------- */
.crumbs { padding-top: 1.5rem; font-size: .82rem; color: var(--db-muted-fg); }
.crumbs a { text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.crumbs span { margin: 0 .35rem; }

/* ---------- product detail ---------- */
.pdp {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(2rem, 5vw, 4rem);
  padding-top: 2rem; align-items: start;
}
@media (max-width: 900px) { .pdp { grid-template-columns: 1fr; } }
.pdp-media {
  background: var(--db-secondary); border-radius: var(--db-radius); overflow: hidden;
  border: 1px solid var(--db-border);
}
.pdp-buy h1 { margin: .6rem 0 .5rem; }
.sku { font-size: .82rem; color: var(--db-muted-fg); letter-spacing: .04em; }

.buy-form { margin-top: 1.5rem; display: grid; gap: 1rem; }
.qty label { display: block; font-size: .8rem; font-weight: 600; margin-bottom: .4rem; }
.qty-control {
  display: inline-flex; align-items: center;
  border: 1px solid var(--db-border); border-radius: var(--db-radius); overflow: hidden;
  background: var(--db-card);
}
.qty-control button {
  background: none; border: 0; cursor: pointer; font-size: 1.1rem; line-height: 1;
  padding: .7rem 1rem; color: inherit;
}
.qty-control button:hover { background: var(--db-secondary); }
.qty-control input {
  width: 3.5rem; text-align: center; border: 0; padding: .7rem 0;
  font: inherit; background: transparent; color: inherit;
  -moz-appearance: textfield;
}
.qty-control input::-webkit-outer-spin-button,
.qty-control input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.qty-control.small button { padding: .45rem .7rem; }
.qty-control.small input { width: 2.8rem; padding: .45rem 0; }

.assurances { list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; gap: .5rem;
  font-size: .88rem; color: var(--db-muted-fg); }
.assurances li { padding-left: 1.2rem; position: relative; }
.assurances li::before {
  content: ""; position: absolute; left: 0; top: .55em;
  width: .45rem; height: .45rem; border-radius: 50%; background: var(--db-accent);
}

.pdp-detail { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 3.5rem); align-items: start; }
@media (max-width: 900px) { .pdp-detail { grid-template-columns: 1fr; } }

.pdp-copy { min-width: 0; }
.acc { border-bottom: 1px solid var(--db-border); }
.acc > button {
  width: 100%; text-align: left; background: none; border: 0; cursor: pointer;
  font: inherit; font-weight: 600; padding: 1rem 0; display: flex;
  justify-content: space-between; align-items: center; color: inherit;
}
.acc > button::after { content: "+"; font-size: 1.2rem; color: var(--db-muted-fg); }
.acc > button[aria-expanded="true"]::after { content: "\2212"; }
.acc > div { padding: 0 0 1rem; font-size: .93rem; color: var(--db-muted-fg); }

.panel-figure {
  margin: 0; background: #fff; border: 1px solid var(--db-border);
  border-radius: var(--db-radius); padding: 1rem;
}
.panel-figure figcaption {
  margin-top: .7rem; font-size: .75rem; color: var(--db-muted-fg); text-align: center;
}

.disclaimer {
  margin-top: 2rem; font-size: .78rem; color: var(--db-muted-fg);
  border-top: 1px solid var(--db-border); padding-top: 1rem; line-height: 1.55;
}

/* ---------- purchase options, terms, subscriptions ---------- */
.buy-options { border: 0; padding: 0; margin: 0; display: grid; gap: .7rem; }
.buy-options legend {
  font-size: .8rem; font-weight: 600; padding: 0 0 .5rem;
  font-family: var(--db-font-sans); text-transform: none; letter-spacing: 0;
}
.opt {
  display: flex; align-items: flex-start; gap: .8rem; cursor: pointer;
  border: 1px solid var(--db-border); border-radius: var(--db-radius);
  padding: .9rem 1rem; background: var(--db-card);
}
.opt:hover { border-color: var(--db-muted-fg); }
.opt input { margin: .2rem 0 0; flex: none; accent-color: var(--db-accent); }
.opt:has(input:checked) { border-color: var(--db-accent); box-shadow: inset 0 0 0 1px var(--db-accent); }
.opt-body { display: grid; gap: .2rem; flex: 1; }
.opt-title { font-weight: 600; font-size: .95rem; }
.opt-price { font-weight: 700; }
.opt-price .per { font-weight: 400; font-size: .8rem; color: var(--db-muted-fg); }
.opt-note { font-size: .8rem; color: var(--db-muted-fg); }

.terms, .order-terms p {
  font-size: .76rem; line-height: 1.55; color: var(--db-muted-fg);
  background: var(--db-secondary); border-radius: var(--db-radius);
  padding: .85rem 1rem; margin: 0;
}
.order-terms {
  display: grid; gap: .7rem; border: 1px solid var(--db-border);
  border-radius: var(--db-radius); padding: 1.1rem 1.2rem; margin: 0;
}
.order-terms legend {
  font-family: var(--db-font-sans); font-size: .8rem; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase; color: var(--db-muted-fg);
  padding: 0 .4rem;
}
.agree { display: flex; gap: .75rem; align-items: flex-start; cursor: pointer; }
.agree input {
  flex: none; margin: .15rem 0 0; width: 1.15rem; height: 1.15rem;
  accent-color: var(--db-accent); cursor: pointer;
}
.agree span { font-size: .78rem; line-height: 1.55; color: var(--db-muted-fg); }
.agree a { color: var(--db-foreground); }

.buy-tag {
  display: inline-block; margin-top: .3rem; font-size: .7rem; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase; padding: .15rem .5rem;
  border-radius: 999px; background: var(--db-secondary); color: var(--db-muted-fg);
  border: 1px solid var(--db-border);
}
.buy-tag.is-sub { background: var(--db-accent); color: var(--db-accent-fg); border-color: var(--db-accent); }

.sub-note {
  font-size: .82rem; color: var(--db-muted-fg); margin: 0 0 1rem;
  padding: .7rem .85rem; border-left: 3px solid var(--db-accent);
  background: var(--db-card); border-radius: var(--db-radius);
}

.fda {
  margin-top: 2rem; font-size: .78rem; color: var(--db-muted-fg);
  border-top: 1px solid var(--db-border); padding-top: 1rem; line-height: 1.55;
}
.form .fda { margin-top: 1rem; }
.site-foot .fda { border-color: rgba(255,255,255,.16); color: rgba(255,255,255,.62); }

/* ---------- ingredients page ---------- */
.jump {
  display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 2.5rem;
  padding-bottom: 1.5rem; border-bottom: 1px solid var(--db-border);
}
.jump a {
  font-size: .82rem; text-decoration: none; padding: .35rem .75rem;
  border: 1px solid var(--db-border); border-radius: 999px;
}
.jump a:hover { background: var(--db-secondary); }
.panels { display: grid; gap: 3rem; }
.panel-row {
  display: grid; grid-template-columns: 1fr 1.3fr; gap: 2rem;
  align-items: start; scroll-margin-top: 100px;
}
@media (max-width: 860px) { .panel-row { grid-template-columns: 1fr; } }
.panel-info h2 { margin-bottom: .5rem; }
.panel-info p { margin: .5rem 0; }

/* ---------- cart ---------- */
.ship-note {
  padding: .8rem 1rem; background: var(--db-secondary);
  border-radius: var(--db-radius); font-size: .9rem; margin-bottom: 1.5rem;
}
.ship-note.is-good { border-left: 3px solid var(--db-accent); }

.table-scroll { overflow-x: auto; }
.cart-table { width: 100%; border-collapse: collapse; }
.cart-table th {
  text-align: left; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--db-muted-fg); padding: 0 1rem .8rem 0; border-bottom: 1px solid var(--db-border);
  font-weight: 600;
}
.cart-table td { padding: 1rem 1rem 1rem 0; border-bottom: 1px solid var(--db-border); vertical-align: middle; }
.cart-prod { display: flex; align-items: center; gap: .9rem; min-width: 240px; }
.cart-prod img { width: 64px; height: 64px; object-fit: cover; border-radius: var(--db-radius); flex: none; }
.cart-prod a { text-decoration: none; font-weight: 600; }
.cart-prod small { display: block; color: var(--db-muted-fg); font-size: .78rem; margin-top: .2rem; }

.cart-foot {
  display: grid; grid-template-columns: 1fr 320px; gap: 2rem;
  margin-top: 2rem; align-items: start;
}
@media (max-width: 860px) { .cart-foot { grid-template-columns: 1fr; } }
.cart-actions { display: flex; flex-wrap: wrap; gap: .7rem; }
.totals { background: var(--db-secondary); border-radius: var(--db-radius); padding: 1.4rem; }
.totals dl, .totals-list { margin: 0 0 1.2rem; }
.totals dl div, .totals-list div {
  display: flex; justify-content: space-between; padding: .45rem 0; font-size: .93rem;
}
.totals dt, .totals-list dt { color: var(--db-muted-fg); }
.totals dd, .totals-list dd { margin: 0; font-weight: 600; }
.grand { border-top: 1px solid var(--db-border); margin-top: .5rem; padding-top: .8rem !important; font-size: 1.1rem !important; }
.grand dt { color: var(--db-foreground) !important; font-weight: 600; }

/* ---------- forms ---------- */
.form { display: grid; gap: 1.4rem; max-width: 640px; }
.form fieldset { border: 0; padding: 0; margin: 0; display: grid; gap: 1rem; }
.form legend {
  font-family: var(--db-font-display); font-size: 1.15rem; font-weight: var(--db-display-weight);
  padding: 0 0 .6rem; text-transform: var(--db-display-transform); letter-spacing: var(--db-display-spacing);
}
.field { display: grid; gap: .35rem; }
.field-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 1rem; }
.field label { font-size: .85rem; font-weight: 600; }
.field input, .field select, .field textarea {
  font: inherit; padding: .75rem .85rem; border: 1px solid var(--db-border);
  border-radius: var(--db-radius); background: var(--db-card); color: inherit; width: 100%;
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--db-accent); }
.field [aria-invalid="true"] { border-color: #B3261E; }
.err { color: #B3261E; font-size: .82rem; margin: 0; }
.note {
  font-size: .88rem; color: var(--db-muted-fg); background: var(--db-secondary);
  padding: .9rem 1rem; border-radius: var(--db-radius); margin: 0;
}
.error-box, .success-box {
  padding: 1rem 1.2rem; border-radius: var(--db-radius); margin-bottom: 1.5rem; font-size: .93rem;
}
.error-box { background: #FBEAE7; color: #7A1F13; border: 1px solid #E5B4AC; }
.success-box { background: var(--db-secondary); border-left: 3px solid var(--db-accent); }
.success-box p:last-child { margin-bottom: 0; }

.checkout { display: grid; grid-template-columns: 1fr 340px; gap: clamp(2rem, 5vw, 3rem); align-items: start; }
@media (max-width: 900px) { .checkout { grid-template-columns: 1fr; } }
.summary { background: var(--db-secondary); border-radius: var(--db-radius); padding: 1.5rem; }
.summary h2 { font-size: 1.1rem; margin-bottom: 1rem; }
.summary-items { list-style: none; margin: 0 0 1.2rem; padding: 0; display: grid; gap: .9rem; }
.summary-items li { display: flex; align-items: center; gap: .8rem; font-size: .88rem; }
.summary-items img { width: 48px; height: 48px; object-fit: cover; border-radius: var(--db-radius); flex: none; }
.summary-items span { flex: 1; }
.summary-items small { display: block; color: var(--db-muted-fg); }
.summary-items .ln { flex: none; font-weight: 600; }
.receipt { background: var(--db-secondary); border-radius: var(--db-radius); padding: 1.8rem; }
.receipt code { font-size: .85rem; background: var(--db-card); padding: .1rem .35rem; border-radius: 3px; }
.contact-meta { margin-top: 3rem; padding-top: 2rem; border-top: 1px solid var(--db-border); }
.contact-meta h2 { font-size: 1.15rem; margin-bottom: .8rem; }

/* ---------- faq / prose ---------- */
.faq { margin: 0; }
.faq dt { font-weight: 600; margin-top: 1.4rem; }
.faq dd { margin: .4rem 0 0; color: var(--db-muted-fg); }
.prose h2 { font-size: 1.35rem; margin: 2.2rem 0 .7rem; }
.prose p { color: var(--db-muted-fg); }
.prose p:first-of-type { color: var(--db-foreground); }

/* ---------- footer ---------- */
.site-foot { background: var(--db-ink); color: var(--db-ink-fg); margin-top: 4rem; }
.foot-grid {
  display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 2rem;
  padding-top: 3.5rem; padding-bottom: 2.5rem;
}
@media (max-width: 860px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .foot-grid { grid-template-columns: 1fr; } }
.foot-brand .wordmark { display: block; margin-bottom: .6rem; }
.site-foot .muted { color: rgba(255, 255, 255, .62); }
.foot-h { font-size: .75rem; letter-spacing: .15em; text-transform: uppercase; margin-bottom: .9rem;
  font-family: var(--db-font-sans); font-weight: 700; }
.foot-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; font-size: .9rem; }
.foot-list a { text-decoration: none; opacity: .85; }
.foot-list a:hover { opacity: 1; text-decoration: underline; }
.foot-legal {
  border-top: 1px solid rgba(255, 255, 255, .16);
  padding-top: 1.5rem; padding-bottom: 2.5rem;
}
.foot-legal .disclaimer { border: 0; padding: 0; margin: 0 0 .8rem; color: rgba(255,255,255,.62); }
.foot-legal p { font-size: .78rem; margin: 0 0 .4rem; }

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
}

/* ---------- second brand block ---------- */
.stacks { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.2rem; }
.stack {
  background: var(--db-card); border: 1px solid var(--db-border); border-radius: var(--db-radius);
  padding: 1.4rem; display: grid; gap: .6rem; align-content: start;
}
.stack h3 { font-size: 1.1rem; }
.stack ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .4rem; font-size: .9rem; }
.stack ul a { text-decoration: none; color: var(--db-muted-fg); }
.stack ul a:hover { color: var(--db-foreground); }
.stack .stack-price { font-weight: 700; margin-top: .4rem; }

.spotlight { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.6rem; }
.spot { display: grid; gap: .7rem; }
.spot figure { margin: 0; background: #fff; border: 1px solid var(--db-border); border-radius: var(--db-radius); padding: .8rem; }
.spot h3 { font-size: 1rem; }
.spot p { font-size: .88rem; color: var(--db-muted-fg); margin: 0; }

.compare-table { width: 100%; border-collapse: collapse; font-size: 1rem; }
.compare-table th, .compare-table td {
  padding: 1rem 1rem 1rem 0; border-bottom: 1px solid var(--db-border); text-align: left;
}
.compare-table thead th {
  font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--db-muted-fg);
}
.compare-table tbody th { font-weight: 600; }
.compare-table .rung { color: var(--db-accent); font-weight: 700; }

.daynight { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border: 1px solid var(--db-border); border-radius: var(--db-radius); overflow: hidden; }
.daynight > div { padding: 1.6rem; }
.daynight > div + div { border-left: 1px solid var(--db-border); }
.daynight h3 { font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--db-muted-fg); margin-bottom: .9rem; }
.daynight ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; }
.daynight a { text-decoration: none; }
@media (max-width: 700px) { .daynight { grid-template-columns: 1fr; } .daynight > div + div { border-left: 0; border-top: 1px solid var(--db-border); } }

.boxline {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 1px;
  background: var(--db-border); border: 1px solid var(--db-border);
}
.boxline > div { background: var(--db-card); padding: 1.3rem; }
.boxline dt { font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--db-muted-fg); }
.boxline dd { margin: .35rem 0 0; font-size: 1.5rem; font-weight: 600; }

/* ---------- header variants ---------- */
.head-dark { background: var(--db-ink); border-bottom: 0; }
.head-dark .wordmark, .head-dark .nav a, .head-dark .cart-link { color: var(--db-ink-fg); }
.head-dark .nav a[aria-current="page"] { border-bottom-color: var(--db-accent); }
.head-dark .nav a { text-transform: uppercase; letter-spacing: .1em; font-size: .78rem; font-weight: 600; }
.head-dark .nav-toggle { color: var(--db-ink-fg); border-color: rgba(255,255,255,.35); }

.head-solid { background: var(--db-card); }
.head-solid .head-inner { min-height: 78px; }
.head-solid .nav { margin: 0 auto; }

.head-centred { text-align: center; }
.head-centred .head-top {
  display: flex; align-items: center; justify-content: center;
  position: relative; padding-top: 1.6rem; padding-bottom: 1rem;
}
.head-centred .wordmark { font-size: 1.9rem; letter-spacing: .3em; }
.head-centred .cart-link { position: absolute; right: clamp(1rem,4vw,2rem); top: 50%; transform: translateY(-50%); }
.head-centred .nav-toggle { position: absolute; left: clamp(1rem,4vw,2rem); top: 50%; transform: translateY(-50%); }
.head-centred .head-nav {
  display: flex; justify-content: center; gap: 2.2rem;
  border-top: 1px solid var(--db-border); padding-top: .9rem; padding-bottom: .9rem;
}
.head-centred .head-nav a {
  text-decoration: none; font-size: .72rem; letter-spacing: .18em; text-transform: uppercase;
}
@media (max-width: 900px) { .head-centred .head-nav { display: none; } }

.head-tall .head-inner { min-height: 96px; gap: 2rem; }
.head-tall .wordmark { font-size: 1.7rem; }
.head-tall .nav a { font-size: 1rem; }
.head-phone { margin-left: auto; text-align: right; line-height: 1.25; }
.head-phone a { font-size: 1.2rem; font-weight: 700; text-decoration: none; color: var(--db-primary); }
.head-phone small { display: block; font-size: .78rem; color: var(--db-muted-fg); }
@media (max-width: 900px) { .head-phone { display: none; } }

.head-slim .head-inner { min-height: 58px; }
.head-slim .nav a { font-size: .86rem; }
.head-cta {
  background: var(--db-accent); color: var(--db-accent-fg); text-decoration: none;
  font-size: .82rem; font-weight: 700; padding: .5rem 1.1rem; border-radius: var(--db-radius);
}
@media (max-width: 900px) { .head-cta { display: none; } }

.head-thin { border-bottom: 1px solid var(--db-foreground); }
.head-thin .head-inner { min-height: 62px; }
.head-thin .nav a { font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; }
.head-thin .cart-link { font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 500; }

/* ---------- card variants ---------- */
.card-dark { background: var(--db-ink); border-color: transparent; }
.card-dark .card-media { background: #17120f; }
.card-dark .card-body h3 a, .card-dark .price { color: var(--db-ink-fg); }
.card-dark .card-meta, .card-dark .card-blurb { color: rgba(255,255,255,.6); }
.card-dark .card-media .tier { box-shadow: none; }

.card-plain { background: transparent; border: 0; border-radius: 0; }
.card-plain .card-media { background: transparent; }
.card-plain .card-body { padding: 1rem 0 0; }
.card-plain .card-body h3 { font-family: var(--db-font-display); font-size: 1.3rem; font-weight: 400; }
.card-plain .card-foot { border-top: 1px solid var(--db-border); }

.card-tile { border-radius: 0; }
.card-tile .card-media { background: var(--db-card); }
.card-tile .card-body { padding: .9rem 1rem 1rem; gap: .25rem; }
.card-tile .card-body h3 { font-size: .95rem; }
.card-tile .card-foot { padding-top: .6rem; }

.card-rule { border-top: 3px solid var(--db-accent); }
.card-soft .card-media { background: var(--db-secondary); }

.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1080px) { .grid-4 { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 780px)  { .grid-4 { grid-template-columns: repeat(2, 1fr); } }

/* ---------- footer variants ---------- */
.foot-dark { background: var(--db-ink); color: var(--db-ink-fg); }
.foot-dark .muted { color: rgba(255,255,255,.62); }
.foot-dark .fda { border-color: rgba(255,255,255,.16); color: rgba(255,255,255,.62); }

.foot-light { background: var(--db-background); color: var(--db-foreground); border-top: 1px solid var(--db-border); }
.foot-light .muted, .foot-light .fda { color: var(--db-foreground); opacity: .78; }
.foot-simple {
  display: grid; grid-template-columns: 1.4fr 1fr; gap: 2rem;
  padding-top: 3rem; padding-bottom: 2rem;
}
.foot-inline { display: flex; flex-wrap: wrap; gap: .8rem 1.6rem; align-content: start; }
.foot-inline a { text-decoration: none; font-size: .9rem; }
.foot-inline a:hover { text-decoration: underline; }
@media (max-width: 700px) { .foot-simple { grid-template-columns: 1fr; } }

.foot-soft { background: var(--db-secondary); color: var(--db-foreground); border-top: 1px solid var(--db-border); }
.foot-soft .muted, .foot-soft .fda { color: var(--db-foreground); opacity: .82; }
.foot-call {
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 2.5rem;
  padding-top: 3.5rem; padding-bottom: 2.5rem; align-items: start;
}
.foot-h-lg { font-size: 1.6rem; margin-bottom: .6rem; }
.foot-phone { font-size: clamp(1.8rem, 4vw, 2.6rem); font-family: var(--db-font-display); margin: .3rem 0; }
.foot-phone a { text-decoration: none; color: var(--db-primary); }
@media (max-width: 760px) { .foot-call { grid-template-columns: 1fr; } }

/* ---------- shared tweaks ---------- */
.section-head.centred { margin-left: auto; margin-right: auto; text-align: center; }
.centred { text-align: center; }
.routine-figure { margin: 0; }
.routine-figure img { width: 100%; border-radius: var(--db-radius); }

/* ---------- legal pages ---------- */
.legal h2 {
  font-size: 1.45rem; margin: 2.8rem 0 .8rem;
  padding-top: 1.6rem; border-top: 1px solid var(--db-border);
}
.legal h3 { font-size: 1.02rem; margin: 1.8rem 0 .5rem; font-family: var(--db-font-sans); font-weight: 700; }
.legal p { margin-bottom: 1rem; }
.legal-toc {
  display: flex; flex-wrap: wrap; gap: .5rem;
  margin: 2rem 0 1rem; padding: 1.1rem 1.2rem;
  background: var(--db-secondary); border-radius: var(--db-radius);
}
.legal-toc a {
  font-size: .82rem; text-decoration: none; padding: .3rem .75rem;
  background: var(--db-card); border: 1px solid var(--db-border); border-radius: 999px;
}
.legal-toc a:hover { border-color: var(--db-accent); }
.legal-table { width: 100%; border-collapse: collapse; font-size: .9rem; margin: 1.2rem 0; }
.legal-table th, .legal-table td {
  text-align: left; padding: .8rem 1rem .8rem 0; border-bottom: 1px solid var(--db-border);
}
.legal-table thead th {
  font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--db-muted-fg);
}
.legal-table tbody th { font-weight: 600; color: var(--db-foreground); }
.legal [id] { scroll-margin-top: 100px; }

/* ---------- coupons and digital add-ons ---------- */
.coupon {
  display: flex; flex-wrap: wrap; align-items: center; gap: .6rem;
  margin: 0 0 1.5rem; padding: 1rem 1.1rem;
  background: var(--db-secondary); border-radius: var(--db-radius);
}
.coupon label { font-size: .82rem; font-weight: 600; }
.coupon input {
  font: inherit; padding: .55rem .7rem; border: 1px solid var(--db-border);
  border-radius: var(--db-radius); background: var(--db-card); color: inherit;
  width: 12rem; text-transform: uppercase; letter-spacing: .06em;
}
.coupon-on { margin: 0; font-size: .92rem; }
.coupon-on strong { letter-spacing: .06em; }
.coupon-on .link-btn { margin-left: .6rem; }
.save-row dt, .save-row dd { color: var(--db-accent) !important; }

.bumps {
  margin: 2rem 0 0; padding: 1.3rem 1.4rem;
  border: 1px dashed var(--db-rule-2, var(--db-border)); border-radius: var(--db-radius);
  background: var(--db-card);
}
.bumps h2 { font-size: 1.15rem; }
.bumps > p { margin: .3rem 0 1rem; font-size: .88rem; }
.bump-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .2rem; }
.bump-list li {
  display: grid; grid-template-columns: 1fr auto auto; gap: 1rem;
  align-items: center; padding: .75rem 0; border-top: 1px solid var(--db-border);
}
.bump-list strong { font-size: .95rem; display: block; }
.bump-list small { color: var(--db-muted-fg); font-size: .82rem; }
.bump-list .price { font-size: .95rem; }
.bump-list form { margin: 0; }
@media (max-width: 620px) {
  .bump-list li { grid-template-columns: 1fr auto; }
  .bump-list form { grid-column: 2; }
}

/* ---------- ebook cards ---------- */
.ebook-grid .card-media { background: transparent; padding: 0; }
.card-ebook .card-media img {
  aspect-ratio: 2 / 3; object-fit: contain; padding: .8rem 1rem 0;
}
.card-ebook .card-body h3 { font-size: .98rem; }
.card-ebook .card-blurb { font-size: .84rem; }

/* ---------- multi-packs ---------- */
.card-pack .pack-contents {
  list-style: none; margin: .6rem 0 0; padding: .6rem 0 0;
  border-top: 1px solid var(--db-border); font-size: .84rem; color: var(--db-muted-fg);
}
.card-pack .pack-contents li { padding: .12rem 0; }
/* A pack badge states a count, it does not rank the product, so it takes
   the same quiet treatment as tier-core rather than a heavy fill. */
.tier.tier-pack { background: var(--db-secondary); color: var(--db-foreground);
                  border-color: var(--db-border); }

.pack-panel { border: 1px solid var(--db-border); border-radius: var(--db-radius); padding: 1.2rem 1.4rem; }
.pack-panel h3 { margin: 0 0 .6rem; font-size: 1rem; }
.pack-panel .pack-contents { list-style: none; margin: 0 0 .9rem; padding: 0; }
.pack-panel .pack-contents li { padding: .3rem 0; border-bottom: 1px solid var(--db-border); }

/* ---------- order bumps ---------- */
.bumps { border: 1px solid var(--db-border); border-radius: var(--db-radius);
         padding: 1rem 1.1rem; margin: 1.4rem 0; }
.bumps legend { font-weight: 600; padding: 0 .4rem; }
.bump { display: flex; gap: .7rem; align-items: flex-start; padding: .55rem 0; cursor: pointer; }
.bump + .bump { border-top: 1px solid var(--db-border); }
.bump input { margin-top: .28rem; flex: none; }
.bump-body { display: block; }
.bump-title { display: block; font-weight: 600; }
.bump-price { color: var(--db-accent); margin-left: .35rem; }
.bump-note { display: block; font-size: .85rem; color: var(--db-muted-fg); margin-top: .15rem; }
.totals-list .bump-row dt, .totals-list .bump-row dd { color: var(--db-muted-fg); }
.order-extras { list-style: none; margin: .5rem 0 0; padding: 0; font-size: .9rem; }
.order-extras li { display: flex; justify-content: space-between; padding: .15rem 0;
                   color: var(--db-muted-fg); }

/* ---------- post-purchase offers ---------- */
.card-upsell .card-body { display: block; }
.card-upsell .stepper {
  display: flex; align-items: center; justify-content: space-between;
  gap: .6rem; margin: .9rem 0 .7rem;
  border: 1px solid var(--db-border); border-radius: var(--db-radius); padding: .3rem;
}
.card-upsell .step {
  width: 2.2rem; height: 2.2rem; flex: none; cursor: pointer;
  border: 1px solid var(--db-border); border-radius: calc(var(--db-radius) * .8);
  background: var(--db-secondary); color: var(--db-foreground); font-size: 1.1rem; line-height: 1;
}
.card-upsell .step:disabled { opacity: .35; cursor: default; }
.card-upsell .step-val { text-align: center; line-height: 1.25; }
.card-upsell .step-val small { display: block; font-size: .76rem; color: var(--db-muted-fg); }
.card-upsell .up-price { margin: 0 0 .15rem; font-size: 1.35rem; }
.card-upsell .up-price s {
  font-size: .9rem; color: var(--db-muted-fg); margin-left: .4rem; font-weight: 400;
}
.card-upsell .up-save { margin: 0 0 .9rem; font-size: .84rem; color: var(--db-accent); }
.upsell-terms { font-size: .84rem; margin-top: 1.2rem; }

/* ---------- outcome dialog ---------- */
.modal {
  position: fixed; inset: 0; z-index: 999; padding: 1.2rem;
  display: flex; align-items: center; justify-content: center;
  background: rgba(0, 0, 0, .5);
}
.modal-box {
  background: var(--db-card); color: var(--db-foreground);
  border: 1px solid var(--db-border); border-radius: var(--db-radius);
  max-width: 26rem; width: 100%; padding: 1.8rem 1.6rem; text-align: center;
  box-shadow: 0 18px 50px rgba(0, 0, 0, .25);
}
.modal-mark {
  width: 3rem; height: 3rem; line-height: 3rem; border-radius: 50%;
  margin: 0 auto .8rem; font-size: 1.4rem;
  background: var(--db-accent); color: var(--db-accent-fg);
}
.modal.is-bad .modal-mark { background: #B3261E; color: #FFFFFF; }
.modal-box h3 { margin: 0 0 .5rem; }
.modal-box p { margin: 0 0 1.2rem; color: var(--db-muted-fg); }


/* ══ S677k BRIDGE — the scaffold's own pages (legal set, cart, checkout, thank-you, contact, ingredients,
   downloads, search) dressed in the skin's tokens. Additive, token-only. ══ */
.container-x{max-width:1140px;margin:0 auto;padding-left:1.25rem;padding-right:1.25rem}
.btn-base{font:inherit;font-weight:600;border-radius:var(--db-radius);padding:.75rem 1.1rem;height:auto;line-height:1.2}
.btn-primary,.btn-cart{background:var(--db-primary);color:var(--db-primary-fg);border-color:var(--db-primary)}
.btn-cart{background:var(--db-accent);color:var(--db-accent-fg);border-color:var(--db-accent)}
.btn-outline{background:transparent;color:var(--db-foreground);border-color:var(--db-border)}
.btn-secondary{background:var(--db-secondary);color:var(--db-foreground);border-color:var(--db-secondary)}
.legal-page{max-width:820px;margin:0 auto;padding:2.5rem 1.25rem;color:var(--db-foreground)}
.legal-page h1,.legal-page h2,.legal-page h3,.section-head h2{font-family:var(--db-font-display);font-weight:var(--db-display-weight);text-transform:var(--db-display-transform);letter-spacing:var(--db-display-spacing)}
.eyebrow{display:block;font-size:.78rem;letter-spacing:.12em;text-transform:uppercase;color:var(--db-accent);font-weight:700;margin:0 0 .4rem}
.product-card,.card-b{background:var(--db-card);border:1px solid var(--db-border);border-radius:var(--db-radius);overflow:hidden}
.product-card .body{padding:1rem}
.co-card,.co-summary{background:var(--db-card);border:1px solid var(--db-border);border-radius:var(--db-radius)}
input[type=text],input[type=email],input[type=tel],input[type=search],input[type=number],select,textarea{border:1px solid var(--db-border);border-radius:var(--db-radius);background:var(--db-card);color:var(--db-foreground);padding:.6rem .75rem}
.announcement-bar{display:none}
.sf-hamburger{display:none!important}
/* B41-safe card: one link wraps media + body; the action sits after it */
.card .card-link{display:block;color:inherit;text-decoration:none}
.card .card-link .card-media,.card .card-link .card-body{display:block}
.card .product-type{display:block;font-size:.8rem;color:var(--db-muted-fg);margin:.15rem 0 .35rem}
.card .card-actions{padding:0 1rem 1rem;display:flex;justify-content:flex-end}
.dose-list .product-type,.stack .product-type,.ladder-table .product-type,.daynight .product-type{display:block;font-size:.78rem;color:var(--db-muted-fg)}
.pdp-buy .btn-base{width:100%;justify-content:center}
.pdp-buy fieldset{border:1px solid var(--db-border);border-radius:var(--db-radius)}
.foot-marks{margin:1rem 0 .5rem}.foot-marks img{height:22px;opacity:.85}
.foot-policies{display:flex;flex-wrap:wrap;gap:.4rem 1rem;list-style:none;margin:0 0 1rem;padding:0}
/* S677t: the card name sits inside the one card link; Dean's name is an <a> that inherits the card's colour */
.card .card-link h3{color:inherit}
/* S677t: the hero product is the factory's transparent cutout (taller than Dean's PNG); hold the hero to his height */
.hero-bottle img{max-height:520px;width:auto;max-width:100%}
.hero-block img{max-height:460px;width:auto;max-width:100%}
