/* =========================================================
 * Stigma Storefront — Front-end stylesheet
 * Everything scoped under .stigma-storefront to prevent theme bleed.
 * Tokens are injected via inline <style> in template head.
 * ========================================================= */

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

.stigma-storefront {
  /* Default accents so the shop page (no per-product override) doesn't fall
     back to "initial" which renders as transparent / black.
     `--accent-text` is the dynamic black/white pick for any element that
     uses `--accent` as a background; the Router computes the YIQ luminance
     for each product's accent and overrides this on the PDP. */
  --accent: #00c8e0;
  --accent-2: #00b3c8;
  --accent-text: #0a0a0a;
  --accent-2-text: #0a0a0a;
  background: var(--bg, #fff);
  color: var(--ink, #0a0a0a);
  font-family: var(--body, 'Inter', sans-serif);
  font-size: 15px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
.stigma-storefront a { color: var(--ink); text-decoration: none; }
.stigma-storefront img { display: block; max-width: 100%; }
.stigma-storefront button { font-family: inherit; }
.stigma-storefront .display { font-family: var(--display); font-weight: 900; text-transform: uppercase; letter-spacing: -0.5px; line-height: 0.95; margin: 0; }
.stigma-storefront .micro { font-family: var(--display); font-size: 11px; letter-spacing: 0.25em; text-transform: uppercase; color: var(--muted); margin: 0; }
.stigma-storefront .accent,
.stigma-storefront .accent-text { color: var(--accent, #00c8e0); }
.stigma-storefront .accent { text-shadow: 3px 3px 0 var(--ink); }

/* ===== TOP BAR ===== */
.stigma-storefront .promo { background: var(--ink); color: #fff; text-align: center; padding: 9px 16px; font-family: var(--display); font-size: 11px; letter-spacing: 0.25em; text-transform: uppercase; }
.stigma-storefront .nav { background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 50; }
.stigma-storefront .nav-inner { max-width: 1320px; margin: 0 auto; padding: 14px 24px; display: flex; align-items: center; gap: 32px; }
.stigma-storefront .logo { display: flex; align-items: center; gap: 10px; }
.stigma-storefront .logo svg { width: 38px; height: 38px; }
.stigma-storefront .logo-word { font-family: var(--display); font-size: 18px; letter-spacing: 0.04em; }
.stigma-storefront .nav-links { display: flex; align-items: center; gap: 26px; flex: 1; justify-content: center; font-family: var(--display); font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; }
.stigma-storefront .nav-links a:hover { color: var(--accent); }
.stigma-storefront .nav-links .active { position: relative; }
.stigma-storefront .nav-links .active::after { content: ""; position: absolute; left: 0; right: 0; bottom: -22px; height: 3px; background: var(--accent); }
.stigma-storefront .nav-icons { display: flex; align-items: center; gap: 18px; }
.stigma-storefront .nav-icons .ic, .stigma-storefront .nav-icons .ic-link svg { width: 22px; height: 22px; color: var(--ink); cursor: pointer; }
.stigma-storefront .cart-pill { position: relative; }
.stigma-storefront .cart-pill .b { position: absolute; top: -6px; right: -8px; background: var(--accent); color: var(--accent-text, var(--ink)); font-family: var(--display); font-size: 10px; width: 18px; height: 18px; border-radius: 50%; display: flex; align-items: center; justify-content: center; transition: transform .25s; }
.stigma-storefront .cart-pill .b.bump { transform: scale(1.4); }
.stigma-storefront .menu-btn { display: none; align-items: center; justify-content: center; width: 34px; height: 34px; border: none; background: transparent; color: var(--ink); cursor: pointer; }
.stigma-storefront .drawer { position: fixed; inset: 0; background: rgba(0,0,0,0.5); display: none; z-index: 60; }
.stigma-storefront .drawer.open { display: flex; justify-content: flex-end; }
.stigma-storefront .drawer-panel { width: 84%; max-width: 340px; height: 100%; background: #fff; padding: 28px 22px; display: flex; flex-direction: column; gap: 12px; }
.stigma-storefront .drawer-panel a { font-family: var(--display); font-size: 14px; letter-spacing: 0.18em; text-transform: uppercase; padding: 10px 0; border-bottom: 1px solid var(--line); }
.stigma-storefront .drawer-panel .close { align-self: flex-end; background: transparent; border: none; font-size: 22px; cursor: pointer; }

/* ===== PDP ===== */
.stigma-storefront .pdp { max-width: 1320px; margin: 0 auto; padding: 24px 24px 56px; display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; }
.stigma-storefront .gallery { position: sticky; top: 90px; align-self: start; }
.stigma-storefront .stage { background: var(--bg-2); border-radius: var(--radius, 0); padding: 48px; position: relative; overflow: hidden; aspect-ratio: 1/1; display: flex; align-items: center; justify-content: center; }
.stigma-storefront .stage img { max-width: 78%; max-height: 90%; width: auto; transition: filter .6s, transform .35s cubic-bezier(.2,.7,.2,1); }
.stigma-storefront .stage.morphing img { transform: scale(.94) rotate(-2deg); filter: brightness(1.1) saturate(1.2); }
.stigma-storefront .badge { position: absolute; top: 18px; left: 18px; background: var(--ink); color: #fff; font-family: var(--display); font-size: 10px; letter-spacing: 0.2em; padding: 7px 12px; text-transform: uppercase; display: flex; align-items: center; gap: 6px; }
.stigma-storefront .badge::before { content: ""; width: 6px; height: 6px; background: var(--accent, #00c8e0); }
.stigma-storefront .stage-label { position: absolute; top: 18px; right: 18px; background: #fff; border: 1.5px solid var(--ink); font-family: var(--display); font-size: 10px; letter-spacing: 0.2em; padding: 6px 11px; text-transform: uppercase; }
.stigma-storefront .thumbs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; margin-top: 14px; }
.stigma-storefront .thumb { background: var(--bg-2); aspect-ratio: 1/1; display: flex; align-items: center; justify-content: center; cursor: pointer; border: 2px solid transparent; transition: border-color .15s; overflow: hidden; padding: 0; }
.stigma-storefront .thumb:hover, .stigma-storefront .thumb.sel { border-color: var(--ink); }
.stigma-storefront .thumb img { max-width: 70%; max-height: 70%; }

.stigma-storefront .info { padding-top: 8px; }
.stigma-storefront .crumbs { font-size: 13px; color: var(--muted); margin: 0 0 14px; }
.stigma-storefront .crumbs a { color: var(--muted); text-decoration: underline; text-decoration-color: transparent; transition: text-decoration-color .15s; }
.stigma-storefront .crumbs a:hover { text-decoration-color: var(--muted); }
.stigma-storefront .h-product { font-family: var(--display); font-size: 46px; line-height: 0.95; letter-spacing: -0.5px; margin: 0 0 8px; text-transform: uppercase; }
.stigma-storefront .h-sub { font-family: var(--display); font-size: 46px; line-height: 0.95; color: var(--accent); text-shadow: 3px 3px 0 var(--ink); margin: 0 0 14px; text-transform: uppercase; }
.stigma-storefront .ratings { display: flex; align-items: center; gap: 10px; margin: 0 0 18px; font-size: 13px; color: var(--muted); }
.stigma-storefront .stars { color: #ffb400; font-size: 16px; }
.stigma-storefront .ratings .recommend { color: var(--accent); font-family: var(--display); font-size: 11px; letter-spacing: 0.15em; }
.stigma-storefront .lede { font-size: 16px; line-height: 1.55; color: #222; margin: 0 0 22px; max-width: 560px; }

.stigma-storefront .trust { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 22px; margin: 0 0 28px; padding: 18px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stigma-storefront .trust-item { display: flex; align-items: center; gap: 10px; font-size: 13px; color: #222; }
.stigma-storefront .trust-item svg { width: 18px; height: 18px; color: var(--accent); flex-shrink: 0; }

.stigma-storefront .sel-label { font-family: var(--display); font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink); margin: 0 0 10px; }
.stigma-storefront .sel-label .sel-val { color: var(--muted); font-size: 11px; letter-spacing: 0.05em; text-transform: none; font-family: var(--body); font-weight: 500; margin-left: 8px; }
.stigma-storefront .flavors { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin: 0 0 28px; }
.stigma-storefront .flavor { position: relative; display: flex; flex-direction: column; gap: 4px; padding: 16px 18px 16px 26px; border: 1.5px solid var(--ink); background: #fff; cursor: pointer; font-family: var(--display); font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink); line-height: 1.15; transition: transform .18s, box-shadow .18s, background .15s, color .15s; overflow: visible; text-align: left; }
.stigma-storefront .flavor:hover { transform: translateY(-2px); box-shadow: 3px 3px 0 var(--ink); }
.stigma-storefront .flavor.sel { background: var(--ink); color: #fff; transform: translateY(-2px); box-shadow: 5px 5px 0 var(--accent); }
.stigma-storefront .flavor .swatch { position: absolute; top: -1px; left: -1px; bottom: -1px; width: 10px; border-right: 1.5px solid var(--ink); }
.stigma-storefront .flavor .flavor-sub { font-size: 10px; opacity: 0.7; font-family: var(--body); letter-spacing: 0.06em; text-transform: none; font-weight: 500; }

.stigma-storefront .cta-row { display: flex; flex-direction: column; gap: 10px; margin: 18px 0 14px; }
.stigma-storefront .btn-primary { background: var(--ink); color: #fff; border: none; padding: 20px 28px; font-family: var(--display); font-size: 14px; letter-spacing: 0.18em; text-transform: uppercase; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; gap: 10px; transition: all .15s; position: relative; overflow: hidden; }
.stigma-storefront .btn-primary:hover { background: var(--accent); color: var(--accent-text, var(--ink)); }
.stigma-storefront .btn-primary .arrow { transition: transform .2s; }
.stigma-storefront .btn-primary:hover .arrow { transform: translateX(4px); }
.stigma-storefront .btn-primary:disabled { background: #444; color: #888; cursor: not-allowed; }
.stigma-storefront .btn-secondary { background: #fff; color: var(--ink); border: 1.5px solid var(--ink); padding: 14px 22px; font-family: var(--display); font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; cursor: pointer; }
.stigma-storefront .btn-secondary:hover { background: var(--bg-2); }
.stigma-storefront .btn-bar { display: flex; align-items: center; gap: 8px; }
.stigma-storefront .qty { display: flex; align-items: center; border: 1.5px solid var(--ink); }
.stigma-storefront .qty button { background: #fff; border: none; width: 42px; height: 50px; cursor: pointer; font-family: var(--display); font-size: 16px; }
.stigma-storefront .qty input { border: none; width: 48px; height: 50px; text-align: center; font-family: var(--display); font-size: 14px; }

/* ===== BUY OPTIONS (Subscribe & Save / One-Time) ===== */
.stigma-storefront .buy-options { display: flex; flex-direction: column; gap: 14px; margin: 0 0 18px; }
.stigma-storefront .buy { border: 1.5px solid var(--ink); position: relative; background: #fff; cursor: pointer; transition: box-shadow .15s, transform .15s; }
.stigma-storefront .buy.sel { box-shadow: 5px 5px 0 var(--accent); }
.stigma-storefront .buy:hover { transform: translate(-1px, -1px); }
.stigma-storefront .buy-head { padding: 18px 20px; display: flex; align-items: center; gap: 14px; }
.stigma-storefront .buy .radio { width: 20px; height: 20px; border-radius: 50%; border: 2px solid var(--ink); flex-shrink: 0; display: flex; align-items: center; justify-content: center; background: #fff; }
.stigma-storefront .buy.sel .radio::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--accent); }
.stigma-storefront .buy-title { font-family: var(--display); font-size: 14px; letter-spacing: 0.1em; text-transform: uppercase; }
.stigma-storefront .buy-spacer { flex: 1; }
.stigma-storefront .buy .price-old { color: var(--muted); text-decoration: line-through; font-size: 14px; margin-right: 6px; font-family: var(--body); }
.stigma-storefront .buy .price-new { font-family: var(--display); font-size: 18px; color: var(--accent); text-shadow: 2px 2px 0 var(--ink); }
.stigma-storefront .buy-flag { position: absolute; top: -12px; right: 14px; background: var(--accent); color: var(--accent-text, var(--ink)); font-family: var(--display); font-size: 10px; letter-spacing: 0.18em; padding: 6px 10px; text-transform: uppercase; border: 1.5px solid var(--ink); box-shadow: 2px 2px 0 var(--ink); }
.stigma-storefront .buy-body { max-height: 0; overflow: hidden; padding: 0 20px 0 54px; transition: max-height .3s ease, padding .3s ease; }
.stigma-storefront .buy.sel .buy-body { max-height: 320px; padding: 0 20px 18px 54px; }
.stigma-storefront .buy-body ul { margin: 0 0 14px; padding: 0; list-style: none; font-size: 13px; color: #333; }
.stigma-storefront .buy-body li { padding: 3px 0 3px 18px; position: relative; }
.stigma-storefront .buy-body li::before { content: "+"; position: absolute; left: 0; color: var(--accent); font-weight: 700; font-family: var(--display); }
.stigma-storefront .freq { display: flex; align-items: center; gap: 10px; font-size: 12px; }
.stigma-storefront .freq span { font-family: var(--display); font-size: 11px; letter-spacing: 0.15em; text-transform: uppercase; }
.stigma-storefront .freq select { padding: 8px 12px; border: 1.5px solid var(--ink); background: #fff; font-family: var(--display); font-size: 11px; letter-spacing: 0.15em; text-transform: uppercase; cursor: pointer; }
.stigma-storefront .buy-note { font-size: 11px; color: var(--muted); margin: 10px 0 0; font-style: italic; }

/* ===== ATTITUDE STRIP ===== */
.stigma-storefront .strip { background: var(--ink); color: #fff; padding: 18px 24px; overflow: hidden; }
.stigma-storefront .strip-inner { max-width: 1320px; margin: 0 auto; display: flex; gap: 48px; font-family: var(--display); font-size: 14px; letter-spacing: 0.2em; text-transform: uppercase; flex-wrap: wrap; justify-content: center; }
.stigma-storefront .strip-inner span { display: flex; align-items: center; gap: 48px; }
.stigma-storefront .strip-inner span::after { content: "●"; color: var(--accent); font-size: 8px; margin-left: 24px; }

/* ===== SECTIONS ===== */
.stigma-storefront section { max-width: 1320px; margin: 0 auto; padding: 80px 24px; }
.stigma-storefront .sec-inner { max-width: 1320px; margin: 0 auto; }
.stigma-storefront .sec-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin: 0 0 36px; flex-wrap: wrap; }
.stigma-storefront .sec-head .label { display: flex; align-items: center; gap: 10px; }
.stigma-storefront .sec-head .num { font-family: var(--display); font-size: 11px; letter-spacing: 0.25em; color: var(--accent); }
.stigma-storefront .sec-title { font-family: var(--display); font-size: 48px; line-height: 0.95; text-transform: uppercase; margin: 8px 0 0; }
.stigma-storefront .sec-sub { max-width: 480px; color: #444; font-size: 15px; }

/* ===== BENEFITS ===== */
.stigma-storefront .benefits { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.stigma-storefront .benefit { background: #fff; padding: 32px 24px; }
.stigma-storefront .benefit .stat { font-family: var(--display); font-size: 32px; color: var(--accent); text-shadow: 2px 2px 0 var(--ink); margin: 0 0 4px; line-height: 1; }
.stigma-storefront .benefit .stat-label { font-size: 11px; letter-spacing: 0.15em; text-transform: uppercase; color: var(--muted); font-family: var(--display); margin: 0 0 16px; }
.stigma-storefront .benefit h4 { font-family: var(--display); font-size: 18px; text-transform: uppercase; margin: 0 0 8px; }
.stigma-storefront .benefit p { margin: 0; font-size: 14px; color: #444; line-height: 1.55; }

/* ===== INGREDIENTS ===== */
.stigma-storefront .ingredients-sec { background: var(--bg-3); max-width: none; padding-left: 0; padding-right: 0; }
.stigma-storefront .ingredients-sec .sec-inner { padding: 0 24px; }
.stigma-storefront .ingredients-wrap { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: start; }
.stigma-storefront .ing-list { border-top: 2px solid var(--ink); }
.stigma-storefront .ing-row { display: grid; grid-template-columns: 1fr auto; gap: 24px; padding: 18px 16px; border-bottom: 1px solid var(--line); align-items: start; cursor: pointer; transition: background .25s; position: relative; }
.stigma-storefront .ing-row:hover, .stigma-storefront .ing-row.active { background: rgba(0, 200, 224, 0.06); }
.stigma-storefront .ing-row:hover .ing-name, .stigma-storefront .ing-row.active .ing-name { color: var(--accent); }
.stigma-storefront .ing-name { font-family: var(--display); font-size: 18px; letter-spacing: -0.2px; text-transform: uppercase; margin: 0 0 4px; transition: color .15s; }
.stigma-storefront .ing-desc { font-size: 13px; color: #444; margin: 0; max-width: 480px; }
.stigma-storefront .ing-dose { font-family: var(--display); font-size: 18px; color: var(--accent); text-shadow: 2px 2px 0 var(--ink); white-space: nowrap; }
.stigma-storefront .ing-row .glow-pop { position: absolute; right: 0; bottom: 100%; background: var(--ink); color: #fff; padding: 14px 16px; width: 240px; font-family: var(--body); font-size: 12px; line-height: 1.5; border-left: 3px solid var(--accent); box-shadow: 0 12px 32px rgba(0,0,0,0.18); opacity: 0; transform: translateY(8px); pointer-events: none; transition: opacity .25s, transform .25s; z-index: 5; }
.stigma-storefront .ing-row .glow-pop strong { display: block; color: var(--accent); font-family: var(--display); font-size: 11px; letter-spacing: 0.2em; margin-bottom: 6px; }
.stigma-storefront .ing-row.active .glow-pop { opacity: 1; transform: translateY(-6px); }
.stigma-storefront .facts { background: var(--bg-2); padding: 28px; border: 1.5px solid var(--ink); transition: transform .8s cubic-bezier(.2,.7,.2,1), opacity .8s; }
.stigma-storefront .facts.unrolled { animation: stigma-rcpt-in .9s cubic-bezier(.2,.7,.2,1); transform-origin: top center; }
.stigma-storefront .facts h3 { font-family: var(--display); font-size: 24px; text-transform: uppercase; margin: 0 0 4px; border-bottom: 6px solid var(--ink); padding-bottom: 6px; }
.stigma-storefront .facts-meta { font-size: 12px; color: var(--muted); margin: 6px 0 12px; }
.stigma-storefront .facts-hdr2 { display: grid; grid-template-columns: 1fr auto auto; gap: 14px; align-items: baseline; border-bottom: 3px solid var(--ink); padding: 8px 0; font-family: var(--display); text-transform: uppercase; font-size: 11px; letter-spacing: 0.05em; }
.stigma-storefront .facts-hdr2 span { min-width: 54px; text-align: right; }
.stigma-storefront .facts-row2 { display: grid; grid-template-columns: 1fr auto auto; gap: 14px; align-items: baseline; border-bottom: 1px solid var(--ink); padding: 8px 0; font-size: 13px; }
.stigma-storefront .facts-row2 strong { font-family: var(--display); font-weight: 900; font-size: 13px; text-transform: uppercase; letter-spacing: 0.05em; }
.stigma-storefront .facts-row2 span { min-width: 54px; text-align: right; font-variant-numeric: tabular-nums; }
.stigma-storefront .facts.unrolled .facts-row { animation: stigma-row-in .5s ease-out backwards; }
.stigma-storefront .facts.unrolled .facts-row:nth-child(4) { animation-delay: .4s; }
.stigma-storefront .facts.unrolled .facts-row:nth-child(5) { animation-delay: .5s; }
.stigma-storefront .facts.unrolled .facts-row:nth-child(6) { animation-delay: .6s; }
.stigma-storefront .facts.unrolled .facts-row:nth-child(7) { animation-delay: .7s; }
.stigma-storefront .facts.unrolled .facts-row:nth-child(8) { animation-delay: .8s; }
.stigma-storefront .facts.unrolled .facts-row:nth-child(9) { animation-delay: .9s; }
.stigma-storefront .facts.unrolled .facts-row:nth-child(10) { animation-delay: 1.0s; }
.stigma-storefront .facts.unrolled .facts-row:nth-child(11) { animation-delay: 1.1s; }
.stigma-storefront .facts-foot { font-size: 11px; color: var(--muted); margin-top: 14px; line-height: 1.4; }

@keyframes stigma-rcpt-in { 0% { transform: scaleY(0) translateY(-30px); opacity: 0; } 50% { opacity: 1; } 100% { transform: scaleY(1) translateY(0); opacity: 1; } }
@keyframes stigma-row-in { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: translateY(0); } }

/* ===== AUDIT ===== */
.stigma-storefront .audit-sec { background: var(--ink); color: #fff; padding: 96px 24px 80px; max-width: none; position: relative; overflow: hidden; }
.stigma-storefront .audit-sec::before { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at 50% 0%, rgba(0,200,224,0.15), transparent 60%); pointer-events: none; }
.stigma-storefront .audit-head { max-width: 1320px; margin: 0 auto 56px; text-align: center; position: relative; }
.stigma-storefront .audit-title { font-size: clamp(44px, 6.5vw, 96px); color: #fff; margin: 0 0 18px; line-height: 0.92; }
.stigma-storefront .audit-sub { font-family: var(--body); font-size: 16px; color: #aaa; margin: 0 auto; max-width: 640px; }
.stigma-storefront .audit-wrap { max-width: 1320px; margin: 0 auto; overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1.5px solid #1a1a1a; background: #0d0d0d; }
.stigma-storefront .audit-table { width: 100%; min-width: 860px; border-collapse: collapse; font-family: var(--display); }
.stigma-storefront .audit-table thead tr { background: #000; border-bottom: 1.5px solid #1a1a1a; }
.stigma-storefront .audit-h-ing, .stigma-storefront .audit-h-brand { padding: 18px 14px; text-align: center; font-size: 11px; letter-spacing: 0.18em; color: #666; font-weight: normal; }
.stigma-storefront .audit-h-ing { text-align: left; }
.stigma-storefront .audit-h-brand.us { color: var(--accent); background: rgba(0,200,224,0.08); font-size: 13px; }
.stigma-storefront .audit-table tbody tr { border-bottom: 1px solid #161616; transition: background .15s; }
.stigma-storefront .audit-table tbody tr:hover { background: rgba(255,255,255,0.02); }
.stigma-storefront .audit-ing { padding: 18px 16px; font-family: var(--display); text-align: left; color: #fff; font-size: 14px; letter-spacing: 0.05em; border-right: 1px solid #1a1a1a; width: 24%; }
.stigma-storefront .audit-note { display: block; font-family: var(--body); font-size: 11px; color: #666; margin-top: 3px; font-weight: normal; letter-spacing: 0; text-transform: none; }
.stigma-storefront .audit-cell { padding: 18px 12px; text-align: center; font-family: var(--display); position: relative; border-right: 1px solid #161616; }
.stigma-storefront .audit-cell.us-col { background: rgba(0,200,224,0.04); border-left: 1.5px solid var(--accent); border-right: 1.5px solid var(--accent); }
.stigma-storefront .audit-num { font-size: 22px; letter-spacing: -0.02em; }
.stigma-storefront .audit-unit { font-size: 11px; color: #666; margin-left: 3px; letter-spacing: 0.1em; }
.stigma-storefront .audit-cell.win .audit-num { color: var(--accent); text-shadow: 2px 2px 0 #000; }
.stigma-storefront .audit-cell.tie .audit-num { color: #fff; }
.stigma-storefront .audit-cell.lose .audit-num { color: #555; }
.stigma-storefront .audit-cell.lose .audit-unit { color: #444; }
.stigma-storefront .audit-x { font-size: 24px; color: #444; font-weight: bold; }
.stigma-storefront .audit-yn { font-size: 14px; letter-spacing: 0.15em; padding: 6px 10px; display: inline-block; }
.stigma-storefront .audit-cell.win .audit-yn { background: var(--accent); color: var(--accent-text, var(--ink)); }
.stigma-storefront .audit-cell.tie .audit-yn { background: #1a1a1a; color: #fff; border: 1px solid #333; }
.stigma-storefront .audit-cell.lose .audit-yn { background: transparent; color: #ff5c5c; border: 1px solid #ff5c5c; }
.stigma-storefront .audit-tally { max-width: 1320px; margin: 48px auto 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.stigma-storefront .audit-tally-card { background: #0d0d0d; border: 1.5px solid #1a1a1a; padding: 32px 24px; text-align: center; }
.stigma-storefront .audit-tally-card.us { border-color: var(--accent); background: rgba(0,200,224,0.05); }
.stigma-storefront .audit-tally-label { font-family: var(--display); font-size: 10px; letter-spacing: 0.25em; color: #888; margin: 0 0 12px; text-transform: uppercase; }
.stigma-storefront .audit-tally-num { font-family: var(--display); font-size: clamp(32px, 4vw, 56px); color: var(--accent); margin: 0; text-shadow: 3px 3px 0 #000; letter-spacing: 0.02em; }
.stigma-storefront .audit-tally-of { font-size: 0.5em; color: #444; text-shadow: none; margin-left: 4px; }
.stigma-storefront .audit-foot { max-width: 1320px; margin: 32px auto 0; text-align: center; font-family: var(--body); font-size: 11px; color: #555; letter-spacing: 0.05em; }

/* ===== STACK ===== */
.stigma-storefront .stack-bg { background: var(--bg-3); max-width: none; padding-left: 0; padding-right: 0; }
.stigma-storefront .stack-bg .sec-inner { padding: 80px 24px; }
.stigma-storefront .stack-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.stigma-storefront .stack-card { background: #fff; border: 1.5px solid var(--line); padding: 24px; display: flex; flex-direction: column; gap: 14px; transition: all .2s; cursor: pointer; }
.stigma-storefront .stack-card:hover { border-color: var(--ink); transform: translateY(-4px); box-shadow: 8px 8px 0 var(--accent); }
.stigma-storefront .stack-card .pic { background: var(--bg-2); aspect-ratio: 1/1; display: flex; align-items: center; justify-content: center; padding: 20px; }
.stigma-storefront .stack-card .pic img { max-width: 80%; max-height: 90%; }
.stigma-storefront .stack-card h4 { font-family: var(--display); font-size: 18px; text-transform: uppercase; margin: 0; }
.stigma-storefront .stack-card .role { font-family: var(--display); font-size: 10px; letter-spacing: 0.25em; color: var(--accent); text-transform: uppercase; }
.stigma-storefront .stack-card .pair { display: flex; justify-content: space-between; align-items: center; padding-top: 12px; border-top: 1px dashed var(--line); margin-top: auto; }
.stigma-storefront .bundle-cta { margin-top: 32px; background: var(--ink); color: #fff; padding: 32px 36px; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.stigma-storefront .bundle-cta h3 { font-family: var(--display); font-size: 32px; text-transform: uppercase; margin: 0 0 6px; }

/* ===== REVIEWS ===== */
.stigma-storefront .reviews-sec { background: var(--bg-3); max-width: none; padding-left: 0; padding-right: 0; }
.stigma-storefront .reviews-sec .sec-inner { padding: 80px 24px; }
.stigma-storefront .reviews-head { padding: 32px; background: var(--bg-2); margin: 0 0 32px; display: flex; gap: 32px; flex-wrap: wrap; }
.stigma-storefront .rev-score { display: flex; align-items: baseline; gap: 10px; }
.stigma-storefront .rev-score .num { font-family: var(--display); font-size: 72px; line-height: 0.9; color: var(--accent); text-shadow: 4px 4px 0 var(--ink); }
.stigma-storefront .rev-score .out { font-family: var(--display); font-size: 18px; color: var(--muted); }
.stigma-storefront .rev-count { margin: 6px 0 0; font-size: 12px; color: var(--muted); font-family: var(--display); letter-spacing: 0.15em; text-transform: uppercase; }
.stigma-storefront .rev-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.stigma-storefront .rev { padding: 24px; border: 1.5px solid var(--line); background: #fff; }
.stigma-storefront .rev-head { display: flex; align-items: center; gap: 12px; margin: 0 0 12px; }
.stigma-storefront .rev-avatar { width: 36px; height: 36px; border-radius: 50%; background: var(--ink); color: var(--accent); display: flex; align-items: center; justify-content: center; font-family: var(--display); font-size: 12px; }
.stigma-storefront .rev-name { font-family: var(--display); font-size: 13px; text-transform: uppercase; }
.stigma-storefront .rev-meta { font-size: 11px; color: var(--muted); }
.stigma-storefront .rev-stars { color: #ffb400; font-size: 14px; letter-spacing: 1px; margin: 0 0 8px; }
.stigma-storefront .rev-title { font-family: var(--display); font-size: 15px; text-transform: uppercase; margin: 0 0 8px; }
.stigma-storefront .rev-verified { display: inline-flex; align-items: center; gap: 4px; color: var(--accent); font-family: var(--display); font-size: 10px; letter-spacing: 0.15em; text-transform: uppercase; margin-left: 6px; }

/* ===== FAQ ===== */
.stigma-storefront .faq { border-top: 2px solid var(--ink); }
.stigma-storefront .faq-item { border-bottom: 1px solid var(--line); }
.stigma-storefront .faq-q { padding: 22px 0; display: flex; justify-content: space-between; align-items: center; cursor: pointer; font-family: var(--display); font-size: 18px; text-transform: uppercase; letter-spacing: -0.2px; gap: 24px; transition: color .15s; background: transparent; border: none; width: 100%; text-align: left; color: inherit; }
.stigma-storefront .faq-q:hover { color: var(--accent); }
.stigma-storefront .faq-q .plus { font-family: var(--display); font-size: 24px; color: var(--accent); transition: transform .2s; }
.stigma-storefront details.faq-item[open] .faq-q .plus,
.stigma-storefront .faq-item.open .faq-q .plus { transform: rotate(45deg); }
.stigma-storefront .faq-a p { margin: 0; padding: 0 0 22px; color: #333; font-size: 15px; line-height: 1.6; max-width: 760px; }

/* ===== GUARANTEE ===== */
.stigma-storefront .guarantee-sec { background: var(--bg-2); padding: 80px 24px; }
.stigma-storefront .guarantee-sec .sec-title { font-size: clamp(32px, 4vw, 56px); margin: 16px 0 8px; }

/* ===== FOOTER ===== */
.stigma-storefront .stigma-footer { background: var(--ink); color: #fff; padding: 60px 24px 28px; }
.stigma-storefront .stigma-footer .foot-inner { max-width: 1320px; margin: 0 auto; display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px; }
.stigma-storefront .stigma-footer h5 { font-family: var(--display); font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--accent); margin: 0 0 16px; }
.stigma-storefront .stigma-footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.stigma-storefront .stigma-footer a { color: #bbb; font-size: 13px; }
.stigma-storefront .stigma-footer a:hover { color: #fff; }
.stigma-storefront .stigma-footer p { color: #999; font-size: 13px; margin: 0 0 14px; line-height: 1.6; }
.stigma-storefront .stigma-footer .slogan { color: #ddd; font-family: var(--display); font-size: 11px; letter-spacing: 0.18em; }
.stigma-storefront .stigma-footer .foot-base { max-width: 1320px; margin: 32px auto 0; padding-top: 24px; border-top: 1px solid #333; display: flex; justify-content: space-between; font-size: 12px; color: #777; flex-wrap: wrap; gap: 12px; }

/* ===== MARQUEE FEED ===== */
.stigma-storefront .feed { background: var(--ink); color: #fff; padding: 14px 0; overflow: hidden; border-top: 2px solid var(--accent); border-bottom: 2px solid var(--accent); position: relative; max-width: none; }
.stigma-storefront .feed::before, .stigma-storefront .feed::after { content: ""; position: absolute; top: 0; bottom: 0; width: 80px; z-index: 2; pointer-events: none; }
.stigma-storefront .feed::before { left: 0; background: linear-gradient(90deg, var(--ink), transparent); }
.stigma-storefront .feed::after { right: 0; background: linear-gradient(-90deg, var(--ink), transparent); }
.stigma-storefront .feed-track { display: flex; gap: 32px; animation: stigma-feed-scroll 50s linear infinite; width: max-content; padding-left: 32px; }
.stigma-storefront .feed:hover .feed-track { animation-play-state: paused; }
.stigma-storefront .feed-item { display: flex; align-items: center; gap: 12px; font-size: 13px; flex-shrink: 0; }
.stigma-storefront .feed-item .stars { color: #ffb400; letter-spacing: 1px; font-size: 13px; }
.stigma-storefront .feed-item .who { font-family: var(--display); font-size: 11px; letter-spacing: 0.15em; color: var(--accent); }
.stigma-storefront .feed-item .body { color: #ccc; max-width: 340px; }
.stigma-storefront .feed-item .sep { color: #444; }
@keyframes stigma-feed-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ===== SHOP PAGE ===== */
.stigma-storefront .shop-hero { max-width: 1320px; margin: 0 auto; padding: 56px 24px 8px; }
.stigma-storefront .shop-hero .eyebrow { font-family: var(--display); font-size: 11px; letter-spacing: 0.25em; color: var(--accent); margin: 0 0 12px; }
.stigma-storefront .shop-hero h1 { font-family: var(--display); font-size: 96px; line-height: 0.9; text-transform: uppercase; letter-spacing: -1px; margin: 0; }
.stigma-storefront .shop-hero .row { display: flex; align-items: end; justify-content: space-between; gap: 32px; flex-wrap: wrap; margin-top: 14px; }
.stigma-storefront .shop-hero .sub { max-width: 560px; color: #333; font-size: 16px; margin: 0; }
.stigma-storefront .shop-hero .count { font-family: var(--display); font-size: 12px; letter-spacing: 0.2em; color: var(--muted); }
.stigma-storefront .stack-wrap { max-width: 1320px; margin: 0 auto; padding: 32px 24px 80px; }
.stigma-storefront .stack-box { background: #fff; border: 1.5px solid var(--ink); position: relative; }
.stigma-storefront .stack-box::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 6px; background: var(--accent); }
.stigma-storefront .stack-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.stigma-storefront .item { padding: 24px 22px 22px; display: flex; flex-direction: column; gap: 12px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); position: relative; background: #fff; transition: background .2s; }
.stigma-storefront .item.off { background: var(--bg-2); }
.stigma-storefront .item.off .pic img { opacity: 0.55; filter: grayscale(0.6); }
.stigma-storefront .item-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.stigma-storefront .item-ix { font-family: var(--display); font-size: 10px; letter-spacing: 0.2em; color: var(--accent); }
.stigma-storefront .check { width: 22px; height: 22px; border: 1.5px solid var(--ink); background: #fff; display: flex; align-items: center; justify-content: center; cursor: pointer; flex-shrink: 0; transition: all .15s; }
.stigma-storefront .check.on { background: var(--ink); }
.stigma-storefront .check.on::after { content: ""; width: 10px; height: 6px; border-left: 2.5px solid #fff; border-bottom: 2.5px solid #fff; transform: rotate(-45deg) translate(1px, -1px); }
.stigma-storefront .pic { background: var(--bg-2); aspect-ratio: 1/1; display: flex; align-items: center; justify-content: center; padding: 14px; position: relative; overflow: hidden; cursor: pointer; }
.stigma-storefront .pic .deeplink { position: absolute; bottom: 8px; right: 8px; background: #fff; border: 1px solid var(--ink); font-family: var(--display); font-size: 9px; letter-spacing: 0.15em; padding: 5px 8px; text-transform: uppercase; color: var(--ink); }
.stigma-storefront .item h4 { font-family: var(--display); font-size: 18px; text-transform: uppercase; margin: 0; }
.stigma-storefront .item .role { font-family: var(--display); font-size: 9px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--muted); }
.stigma-storefront .item .when { font-size: 12px; color: #444; margin: 0; }
.stigma-storefront .var-label { font-family: var(--display); font-size: 9px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); margin-top: 4px; }
.stigma-storefront .var-row { display: flex; flex-wrap: wrap; gap: 5px; }
.stigma-storefront .var { padding: 7px 9px; border: 1.2px solid var(--line); background: #fff; font-family: var(--display); font-size: 9px; letter-spacing: 0.1em; text-transform: uppercase; cursor: pointer; color: #333; display: flex; align-items: center; gap: 6px; transition: all .15s; }
.stigma-storefront .var:hover { border-color: var(--ink); }
.stigma-storefront .var.sel { background: var(--ink); color: #fff; border-color: var(--ink); }
.stigma-storefront .var .dot { width: 9px; height: 9px; border-radius: 50%; display: inline-block; border: 1px solid rgba(0,0,0,0.15); flex-shrink: 0; }
.stigma-storefront .pricebar { display: flex; align-items: baseline; justify-content: space-between; padding-top: 10px; border-top: 1px dashed var(--line); font-family: var(--display); font-size: 14px; margin-top: auto; }
.stigma-storefront .pricebar .old { color: var(--muted); text-decoration: line-through; font-size: 11px; font-family: var(--body); margin-right: 4px; }
.stigma-storefront .stack-foot { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 0; align-items: stretch; background: var(--ink); color: #fff; }
.stigma-storefront .copy { padding: 28px 32px; display: flex; flex-direction: column; justify-content: center; gap: 6px; border-right: 1px solid #2a2a2a; }
.stigma-storefront .copy h3 { font-family: var(--display); font-size: 34px; line-height: 0.95; text-transform: uppercase; margin: 0; }
.stigma-storefront .copy .selsum { margin: 8px 0 0; color: #aaa; font-size: 12px; font-family: var(--display); letter-spacing: 0.12em; text-transform: uppercase; }
.stigma-storefront .copy .selsum strong { color: var(--accent); }
.stigma-storefront .totals { padding: 24px 28px; display: flex; flex-direction: column; justify-content: center; gap: 4px; border-right: 1px solid #2a2a2a; }
.stigma-storefront .totals .label { font-family: var(--display); font-size: 10px; letter-spacing: 0.2em; color: #888; text-transform: uppercase; }
.stigma-storefront .totals .old { font-family: var(--display); font-size: 16px; color: #888; text-decoration: line-through; min-height: 18px; }
.stigma-storefront .totals .new { font-family: var(--display); font-size: 42px; color: var(--accent); text-shadow: 3px 3px 0 #000; line-height: 1; }
.stigma-storefront .totals .save { font-family: var(--display); font-size: 11px; letter-spacing: 0.18em; color: var(--accent); text-transform: uppercase; min-height: 16px; }
.stigma-storefront .cta { padding: 24px 28px; display: flex; align-items: center; justify-content: center; }
.stigma-storefront .stack-wrap .btn-primary { background: var(--accent); color: var(--accent-text, var(--ink)); border: none; padding: 22px 28px; width: 100%; }
.stigma-storefront .stack-wrap .btn-primary:hover:not(:disabled) { background: #fff; }
.stigma-storefront .stack-perks { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: 18px; border: 1px solid var(--line); background: #fff; }
.stigma-storefront .stack-perks > div { padding: 16px 12px; text-align: center; display: flex; align-items: center; justify-content: center; gap: 10px; font-family: var(--display); font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; color: #222; }
.stigma-storefront .stack-perks > div + div { border-left: 1px solid var(--line); }
.stigma-storefront .stack-perks svg { width: 18px; height: 18px; color: var(--accent); flex-shrink: 0; }
.stigma-toast { position: fixed; left: 50%; bottom: 32px; transform: translate(-50%, 40px); background: var(--ink, #0a0a0a); color: #fff; font-family: var(--display, 'Archivo Black', sans-serif); font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; padding: 14px 20px; border-left: 4px solid var(--accent, #00c8e0); box-shadow: 6px 6px 0 var(--accent, #00c8e0); opacity: 0; transition: all .3s ease; z-index: 80; pointer-events: none; max-width: 90vw; display: inline-flex; align-items: center; gap: 14px; }
.stigma-toast.show { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; }
.stigma-toast .stigma-toast-action { color: var(--accent, #00c8e0); text-decoration: none; font-weight: 700; white-space: nowrap; border-left: 1px solid rgba(255,255,255,0.2); padding-left: 14px; }
.stigma-toast .stigma-toast-action:hover { text-decoration: underline; }

/* ===== STICKY MOBILE CTA ===== */
.stigma-sticky-cta { display: none; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1100px) {
  .stigma-storefront .nav-links { gap: 18px; font-size: 10px; letter-spacing: 0.14em; }
  .stigma-storefront .pdp { gap: 36px; padding: 20px 20px 48px; }
  .stigma-storefront .h-product, .stigma-storefront .h-sub { font-size: 38px; }
  .stigma-storefront section { padding: 64px 20px; }
  .stigma-storefront .sec-title { font-size: 38px; }
  .stigma-storefront .shop-hero h1 { font-size: 64px; }
}
@media (max-width: 1000px) {
  .stigma-storefront .pdp { grid-template-columns: 1fr; }
  .stigma-storefront .gallery { position: static; }
  .stigma-storefront .ingredients-wrap { grid-template-columns: 1fr; }
  .stigma-storefront .stack-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .stigma-storefront .nav-links { display: none; }
  .stigma-storefront .menu-btn { display: flex; }
  .stigma-storefront .h-product, .stigma-storefront .h-sub { font-size: 34px; }
  .stigma-storefront .flavors { grid-template-columns: 1fr; }
  .stigma-storefront .sec-title { font-size: 30px; }
  .stigma-storefront .benefits { grid-template-columns: repeat(2, 1fr); }
  .stigma-storefront .stack-foot { grid-template-columns: 1fr; }
  .stigma-storefront .shop-hero h1 { font-size: 46px; }
  .stigma-sticky-cta { display: flex; position: fixed; bottom: 0; left: 0; right: 0; background: #fff; border-top: 1.5px solid var(--ink, #0a0a0a); padding: 10px 14px; gap: 10px; z-index: 40; align-items: center; box-shadow: 0 -4px 16px rgba(0,0,0,0.08); }
  .stigma-sticky-cta .btn-primary { flex: 1; padding: 14px 16px; font-size: 11px; }
  body.has-sticky-cta { padding-bottom: 74px; }
}
@media (max-width: 700px) {
  .stigma-storefront .stack-grid { grid-template-columns: 1fr; }
  .stigma-storefront .stack-bg .sec-inner .stack-grid { grid-template-columns: 1fr; }
  .stigma-storefront .rev-grid { grid-template-columns: 1fr; }
  .stigma-storefront .stack-perks { grid-template-columns: repeat(2, 1fr); }
  .stigma-storefront .audit-tally { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .stigma-storefront .h-product, .stigma-storefront .h-sub { font-size: 28px; }
  .stigma-storefront .sec-title { font-size: 24px; }
  .stigma-storefront .trust { grid-template-columns: 1fr; }
  .stigma-storefront .benefits { grid-template-columns: 1fr; }
  .stigma-storefront .audit-title { font-size: 42px; }
}

/* ===== AMBIENT COUNTER ===== */
.stigma-storefront-ambient { position: fixed; left: 18px; bottom: 18px; background: var(--ink, #0a0a0a); color: #fff; border-left: 3px solid var(--accent, #00c8e0); padding: 12px 16px 12px 14px; font-family: var(--body, sans-serif); font-size: 12px; display: flex; align-items: center; gap: 12px; z-index: 90; max-width: 320px; box-shadow: 0 12px 32px rgba(0,0,0,0.22); transform: translateY(160%); transition: transform .5s cubic-bezier(.2,.7,.2,1); }
.stigma-storefront-ambient.show { transform: translateY(0); }
.stigma-storefront-ambient .dot { width: 8px; height: 8px; border-radius: 50%; background: #22d3a8; box-shadow: 0 0 0 0 #22d3a8; animation: stigma-pulse-g 1.6s infinite; flex-shrink: 0; }
.stigma-storefront-ambient strong { font-family: var(--display, sans-serif); color: var(--accent, #00c8e0); font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; }
.stigma-storefront-ambient .x { margin-left: auto; background: none; border: none; color: #888; cursor: pointer; font-size: 14px; }
@keyframes stigma-pulse-g { 0% { box-shadow: 0 0 0 0 rgba(34,211,168,0.7); } 70% { box-shadow: 0 0 0 10px rgba(34,211,168,0); } 100% { box-shadow: 0 0 0 0 rgba(34,211,168,0); } }
@media (max-width: 900px) { .stigma-storefront-ambient { left: 8px; right: 8px; bottom: 84px; max-width: none; } }
@media (max-width: 720px) { .stigma-storefront-ambient { display: none !important; } }

/* ===== SCROLL FADE-INS ===== */
.stigma-storefront .fade-up { opacity: 0; transform: translateY(28px); transition: opacity .8s cubic-bezier(.2,.7,.2,1), transform .8s cubic-bezier(.2,.7,.2,1); }
.stigma-storefront .fade-up.in { opacity: 1; transform: translateY(0); }

/* =========================================================
 * V2 RESKIN — comic/halftone treatment.
 * Mirrors design-references/v2/product-page/interactive.css.
 * Loaded after the base rules so it wins on equal specificity.
 * ========================================================= */

/* Bigger hero typography */
.stigma-storefront .h-product { font-size: 64px; line-height: 0.9; margin: 0 0 6px; }
.stigma-storefront .h-sub { font-size: 64px; line-height: 0.9; margin: 0 0 14px; }
@media (max-width: 1100px) { .stigma-storefront .h-product, .stigma-storefront .h-sub { font-size: 50px; } }
@media (max-width: 900px)  { .stigma-storefront .h-product, .stigma-storefront .h-sub { font-size: 44px; } }
@media (max-width: 560px)  { .stigma-storefront .h-product, .stigma-storefront .h-sub { font-size: 34px; } }

/* Halftone backdrop on PDP hero */
.stigma-storefront .pdp { position: relative; }
.stigma-storefront .pdp::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 0; opacity: 0.16;
  background-image: radial-gradient(circle, #000 0.9px, transparent 1.2px);
  background-size: 14px 14px;
  -webkit-mask-image: radial-gradient(ellipse at 50% 30%, #000 25%, transparent 65%);
          mask-image: radial-gradient(ellipse at 50% 30%, #000 25%, transparent 65%);
}
.stigma-storefront .pdp > * { position: relative; z-index: 1; }

/* Audit halftone overlay */
.stigma-storefront .audit-sec { position: relative; }
.stigma-storefront .audit-sec::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 0; opacity: 0.10;
  background-image: radial-gradient(circle, var(--accent, #00c8e0) 1.4px, transparent 1.8px);
  background-size: 16px 16px;
}
.stigma-storefront .audit-sec > * { position: relative; z-index: 1; }

/* FAQ section — dark reskin with chunky two-column panels */
.stigma-storefront section[data-screen-label="FAQ"] {
  position: relative;
  background: #0a0a0a;
  color: #fff;
  padding: 80px 24px;
  max-width: none;
  overflow: hidden;
}
.stigma-storefront section[data-screen-label="FAQ"]::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0.07;
  background-image: radial-gradient(circle, var(--accent, #00c8e0) 2px, transparent 2.4px);
  background-size: 18px 18px;
}
.stigma-storefront section[data-screen-label="FAQ"] > * { position: relative; z-index: 1; max-width: 1320px; margin: 0 auto; }
.stigma-storefront section[data-screen-label="FAQ"] .sec-title { color: #fff; }
.stigma-storefront section[data-screen-label="FAQ"] .sec-head .num { color: var(--accent, #00c8e0); }
.stigma-storefront section[data-screen-label="FAQ"] .faq { border-top: none; display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
@media (max-width: 800px) { .stigma-storefront section[data-screen-label="FAQ"] .faq { grid-template-columns: 1fr; } }
.stigma-storefront section[data-screen-label="FAQ"] .faq-item {
  background: #fff;
  color: #000;
  border: 4px solid #000;
  box-shadow: 6px 6px 0 var(--accent, #00c8e0);
  padding: 0;
  transition: background .15s, transform .15s, box-shadow .15s;
}
.stigma-storefront section[data-screen-label="FAQ"] .faq-item:hover {
  transform: translate(2px, 2px);
  box-shadow: 4px 4px 0 var(--accent, #00c8e0);
}
.stigma-storefront section[data-screen-label="FAQ"] details.faq-item[open],
.stigma-storefront section[data-screen-label="FAQ"] .faq-item.open { background: var(--accent, #00c8e0); }
/* Kill native <details> marker on all browsers */
.stigma-storefront .faq-q { list-style: none; }
.stigma-storefront .faq-q::-webkit-details-marker { display: none; }
.stigma-storefront .faq-q::marker { content: ''; display: none; }
.stigma-storefront section[data-screen-label="FAQ"] .faq-q {
  font-family: var(--display-comic, 'Bangers', 'Archivo Black', sans-serif);
  font-size: 24px;
  letter-spacing: 0.02em;
  padding: 22px;
  color: #000;
  text-transform: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  cursor: pointer;
  user-select: none;
  -webkit-user-select: none;
}
.stigma-storefront section[data-screen-label="FAQ"] .faq-q .plus {
  width: 34px; height: 34px;
  display: grid; place-items: center;
  background: #000; color: #fff;
  font-size: 18px; font-weight: 700;
  font-family: var(--display-comic, 'Bangers', 'Archivo Black', sans-serif);
  transition: transform .2s, color .2s;
  flex-shrink: 0;
}
.stigma-storefront section[data-screen-label="FAQ"] details.faq-item[open] .faq-q .plus,
.stigma-storefront section[data-screen-label="FAQ"] .faq-item.open .faq-q .plus { transform: rotate(45deg); color: var(--accent, #00c8e0); }
.stigma-storefront section[data-screen-label="FAQ"] .faq-a { padding: 0 22px 22px; }
.stigma-storefront section[data-screen-label="FAQ"] .faq-a p { margin: 0; color: #000; font-size: 14px; line-height: 1.55; }

/* Comic font on display accents */
.stigma-storefront .h-sub,
.stigma-storefront .sec-title .accent,
.stigma-storefront .sec-title span.accent {
  font-family: var(--display-comic, 'Bangers', 'Archivo Black', sans-serif);
  text-shadow: 3px 3px 0 var(--ink, #0a0a0a);
  letter-spacing: 0.01em;
}
.stigma-storefront .audit-title { font-family: var(--display-comic, 'Bangers', 'Archivo Black', sans-serif); letter-spacing: 0.01em; }
.stigma-storefront .audit-title .accent { text-shadow: 3px 3px 0 #000; }

/* Chunky buy box */
.stigma-storefront .buy { border: 4px solid #0a0a0a; box-shadow: 6px 6px 0 #0a0a0a; margin: 0 0 18px; transition: transform .15s, box-shadow .15s; }
.stigma-storefront .buy.sel { box-shadow: 6px 6px 0 var(--accent); transform: translate(-1px, -1px); }
.stigma-storefront .buy-flag {
  top: -14px;
  background: var(--accent);
  color: var(--accent-text, #000);
  border: 3px solid #000;
  box-shadow: 3px 3px 0 #000;
  font-family: var(--display-comic, 'Bangers', sans-serif);
  font-size: 16px;
  letter-spacing: 0.04em;
  padding: 6px 12px;
  text-transform: uppercase;
}
.stigma-storefront .buy-title { font-family: var(--display-comic, 'Bangers', sans-serif); font-size: 22px; letter-spacing: 0.04em; }
.stigma-storefront .sel-label { font-family: var(--display-comic, 'Bangers', sans-serif); font-size: 18px; letter-spacing: 0.04em; }
.stigma-storefront .sel-label .sel-val { font-family: var(--body, 'Inter', sans-serif); font-size: 12px; letter-spacing: 0.02em; text-transform: none; }

/* Chunky CTAs */
.stigma-storefront .btn-primary {
  border: 4px solid #000;
  box-shadow: 6px 6px 0 #000;
  font-family: var(--display-comic, 'Bangers', sans-serif);
  font-size: 22px;
  letter-spacing: 0.04em;
  padding: 18px 28px;
  text-transform: uppercase;
  transition: transform .1s, box-shadow .1s;
}
.stigma-storefront .btn-primary:hover:not(:disabled) {
  transform: translate(2px, 2px);
  box-shadow: 4px 4px 0 #000;
}
.stigma-storefront .btn-secondary {
  border: 4px solid #000;
  box-shadow: 6px 6px 0 #000;
  font-family: var(--display-comic, 'Bangers', sans-serif);
  font-size: 18px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: transform .1s, box-shadow .1s;
}
.stigma-storefront .btn-secondary:hover { transform: translate(2px, 2px); box-shadow: 4px 4px 0 #000; }

/* Flavor pills, badge, stage label — Bangers everywhere */
.stigma-storefront .flavor { font-family: var(--display-comic, 'Bangers', sans-serif); font-size: 18px; letter-spacing: 0.04em; }
.stigma-storefront .badge {
  font-family: var(--display-comic, 'Bangers', sans-serif);
  font-size: 16px;
  letter-spacing: 0.04em;
  padding: 7px 12px;
  border: 3px solid #000;
  background: var(--ink, #0a0a0a) !important;
  color: #fff !important;
  box-shadow: none;
}
.stigma-storefront .stage-label {
  font-family: var(--display-comic, 'Bangers', sans-serif);
  font-size: 16px;
  letter-spacing: 0.04em;
  padding: 7px 12px;
  border-width: 3px;
  box-shadow: none;
}


/* =========================================================
 * v0.7.0 PATCH FIXES
 * ========================================================= */

/* Save ribbon used to overlap the discounted price. Move flag to the LEFT
 * corner and add some right-padding to the head so the price has room. */
.stigma-storefront .buy { padding-top: 6px; }
.stigma-storefront .buy-flag {
  left: 14px !important;
  right: auto !important;
  top: -16px !important;
}
.stigma-storefront .buy-head { padding-top: 22px !important; }

/* Attitude strip on ONE line (was wrapping to 2). Auto-scroll marquee so
 * narrow viewports keep all five phrases visible without clipping. */
.stigma-storefront .strip { padding: 14px 0; }
.stigma-storefront .strip-inner {
  flex-wrap: nowrap !important;
  justify-content: flex-start !important;
  white-space: nowrap;
  gap: 32px !important;
  width: max-content;
  animation: stigma-strip-scroll 38s linear infinite;
}
.stigma-storefront .strip:hover .strip-inner { animation-play-state: paused; }
.stigma-storefront .strip { overflow: hidden; }
@keyframes stigma-strip-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* Benefit stat numbers (8G, 3.2G, 325MG, 2.5G) in the Bangers comic font. */
.stigma-storefront .benefit .stat {
  font-family: var(--display-comic, "Bangers", "Archivo Black", sans-serif) !important;
  font-size: 56px !important;
  letter-spacing: 0.02em !important;
  line-height: 1 !important;
}

/* Bundle CTA on the stack section — keep the link visible on hover.
 * The base .btn-primary:hover swapped background+color in a way that
 * disappeared against the dark bundle-cta. Pin explicit hover colors. */
.stigma-storefront .bundle-cta .btn-primary {
  background: var(--accent) !important;
  color: var(--ink) !important;
  border: 4px solid #000 !important;
  box-shadow: 6px 6px 0 #000 !important;
}
.stigma-storefront .bundle-cta .btn-primary:hover {
  background: #fff !important;
  color: var(--ink) !important;
  box-shadow: 4px 4px 0 #000 !important;
}
.stigma-storefront .bundle-cta .btn-primary,
.stigma-storefront .bundle-cta .btn-primary * {
  visibility: visible !important;
  opacity: 1 !important;
}

/* =========================================================
 * v0.7.1 patch — qty stepper, bundle CTA visibility,
 * dedupe-friendly cart, flavor image fallback.
 * ========================================================= */

/* QTY STEPPER — hide native number-input spinner controls. Bangers doesn't
 * have the U+2212 minus glyph, so force the qty buttons into Archivo Black
 * (or system fallback). Use generous width so the - and + are obvious. */
.stigma-storefront .qty {
  border: 1.5px solid var(--ink, #0a0a0a);
  display: inline-flex;
  align-items: center;
  height: 50px;
}
.stigma-storefront .qty button {
  background: #fff;
  border: none;
  width: 42px;
  height: 100%;
  cursor: pointer;
  font-family: var(--display, "Archivo Black", Impact, sans-serif) !important;
  font-size: 18px;
  font-weight: 900;
  line-height: 1;
  color: var(--ink, #0a0a0a);
  padding: 0;
  user-select: none;
}
.stigma-storefront .qty button:hover { background: var(--bg-2, #f7f7f7); }
.stigma-storefront .qty input[type="number"],
.stigma-storefront .qty input[data-qty-input] {
  border: none;
  border-left: 1.5px solid var(--ink, #0a0a0a);
  border-right: 1.5px solid var(--ink, #0a0a0a);
  width: 56px;
  height: 100%;
  text-align: center;
  font-family: var(--display, "Archivo Black", sans-serif) !important;
  font-size: 16px;
  font-weight: 900;
  -moz-appearance: textfield;
  appearance: textfield;
  background: #fff !important;
  color: var(--ink, #0a0a0a) !important;
  -webkit-text-fill-color: var(--ink, #0a0a0a) !important;
  opacity: 1 !important;
  text-shadow: none !important;
  line-height: 1;
  padding: 0;
  box-shadow: none;
}
.stigma-storefront .qty input[type="number"]:focus,
.stigma-storefront .qty input[data-qty-input]:focus {
  outline: 2px solid var(--accent, #00c8e0);
  outline-offset: -2px;
  color: var(--ink, #0a0a0a) !important;
  -webkit-text-fill-color: var(--ink, #0a0a0a) !important;
}
/* Safari/iOS autofill paints a yellow background and overrides text color via
   -webkit-text-fill-color. Both are killed here so the qty value stays
   readable on iPhone. */
.stigma-storefront .qty input:-webkit-autofill,
.stigma-storefront .qty input:-webkit-autofill:hover,
.stigma-storefront .qty input:-webkit-autofill:focus {
  -webkit-text-fill-color: var(--ink, #0a0a0a) !important;
  -webkit-box-shadow: 0 0 0 1000px #fff inset !important;
  box-shadow: 0 0 0 1000px #fff inset !important;
  caret-color: var(--ink, #0a0a0a);
}
.stigma-storefront .qty input[type="number"]::-webkit-outer-spin-button,
.stigma-storefront .qty input[type="number"]::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* BUNDLE CTA — the "Stack Up · Save $19 →" link on the stack section. Make
 * it impossible to render invisible: explicit colors, force visibility,
 * minimum height, padding always non-zero. */
.stigma-storefront .bundle-cta .stack-price { display: flex; align-items: center; gap: 18px; }
.stigma-storefront .bundle-cta .btn-primary {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--accent, #00c8e0) !important;
  color: var(--ink, #0a0a0a) !important;
  border: 4px solid #000 !important;
  box-shadow: 6px 6px 0 #000 !important;
  padding: 18px 28px !important;
  font-family: var(--display-comic, "Bangers", "Archivo Black", sans-serif) !important;
  font-size: 22px !important;
  letter-spacing: 0.04em !important;
  text-transform: uppercase !important;
  text-decoration: none !important;
  min-height: 56px;
  white-space: nowrap;
}
.stigma-storefront .bundle-cta .btn-primary,
.stigma-storefront .bundle-cta .btn-primary > * {
  visibility: visible !important;
  opacity: 1 !important;
}
.stigma-storefront .bundle-cta .btn-primary:hover {
  background: #fff !important;
  color: var(--ink, #0a0a0a) !important;
  box-shadow: 4px 4px 0 #000 !important;
  transform: translate(2px, 2px);
}

/* FLAVOR pills — already render the swatch via .swatch::before, but make
 * sure the label sits clear of the swatch even when flavor names are long. */
.stigma-storefront .flavor { padding-left: 30px; }

/* =========================================================
 * v0.8.1 — no drop shadow on numbers.
 * Every numeric element (stat, dose, score, audit cell,
 * cart totals) drops the offset text-shadow.
 * ========================================================= */
.stigma-storefront .benefit .stat,
.stigma-storefront .audit-num,
.stigma-storefront .audit-cell.win .audit-num,
.stigma-storefront .audit-tally-num,
.stigma-storefront .audit-tally-num.cyan,
.stigma-storefront .audit-tally-num.accent,
.stigma-storefront .rev-score .num,
.stigma-storefront .ing-dose,
.stigma-storefront .totals .new,
.stigma-storefront .bundle-cta .new,
.stigma-storefront .buy .price-new,
.stigma-storefront .price-new {
  text-shadow: none !important;
}

/* =========================================================
 * v0.8.4 — WC notices on the PDP.
 * Visually integrate WC's error / success notices so users
 * see what went wrong when add-to-cart fails.
 * ========================================================= */
.stigma-storefront .stigma-wc-notices { margin: 0 0 18px; }
.stigma-storefront .stigma-wc-notices .woocommerce-notices-wrapper,
.stigma-storefront .stigma-wc-notices .woocommerce-message,
.stigma-storefront .stigma-wc-notices .woocommerce-info,
.stigma-storefront .stigma-wc-notices .woocommerce-error,
.stigma-storefront .stigma-wc-notices ul.woocommerce-error {
  list-style: none;
  margin: 0 0 12px;
  padding: 14px 18px;
  font-family: var(--body, "Inter", sans-serif);
  font-size: 13px;
  border-left: 4px solid var(--accent, #00c8e0);
  background: var(--bg-2, #f7f7f7);
  color: var(--ink, #0a0a0a);
}
.stigma-storefront .stigma-wc-notices .woocommerce-error,
.stigma-storefront .stigma-wc-notices ul.woocommerce-error,
.stigma-storefront .stigma-wc-notices .woocommerce-error li {
  border-left-color: #dc2626;
  background: #fef2f2;
  color: #7f1d1d;
}
.stigma-storefront .stigma-wc-notices .button { display: none; }

/* =========================================================
 * v0.8.7 — Add to Cart button to match v2 design.
 * Single chunky comic line: "ADD TO CART · $35.99 →"
 * ========================================================= */

.stigma-storefront .stigma-add-to-cart {
  /* Base */
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  min-height: 64px;
  padding: 18px 28px !important;
  background: var(--ink, #0a0a0a) !important;
  color: #fff !important;
  border: 4px solid var(--ink, #0a0a0a) !important;
  box-shadow: 6px 6px 0 var(--ink, #0a0a0a) !important;
  cursor: pointer;
  text-decoration: none !important;
  text-transform: uppercase;

  /* Typography */
  font-family: var(--display-comic, "Bangers", "Archivo Black", sans-serif) !important;
  font-size: 22px !important;
  letter-spacing: 0.04em !important;
  line-height: 1 !important;

  transition: transform .12s ease, box-shadow .12s ease, background .15s, color .15s;
}

.stigma-storefront .stigma-add-to-cart:hover:not(:disabled) {
  background: var(--accent, #00c8e0) !important;
  color: var(--ink, #0a0a0a) !important;
  transform: translate(3px, 3px);
  box-shadow: 3px 3px 0 var(--ink, #0a0a0a) !important;
}

.stigma-storefront .stigma-add-to-cart:active:not(:disabled) {
  transform: translate(6px, 6px);
  box-shadow: 0 0 0 var(--ink, #0a0a0a) !important;
}

.stigma-storefront .stigma-add-to-cart:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* Lock the inner spans to a single line and inject the · separator. */
.stigma-storefront .stigma-add-to-cart > span {
  font-family: inherit !important;
  font-size: inherit !important;
  letter-spacing: inherit !important;
  color: inherit !important;
  display: inline-block;
}
.stigma-storefront .stigma-add-to-cart .price-display::before {
  content: "·";
  display: inline-block;
  margin-right: 10px;
  opacity: 0.85;
}
.stigma-storefront .stigma-add-to-cart .arrow {
  margin-left: 4px;
  transition: transform .18s ease;
}
.stigma-storefront .stigma-add-to-cart:hover:not(:disabled) .arrow {
  transform: translateX(4px);
}

/* The button bar — qty + cta side by side on desktop, stacked on tiny screens. */
.stigma-storefront .btn-bar {
  display: flex;
  align-items: stretch;
  gap: 10px;
}
.stigma-storefront .btn-bar .qty { flex: 0 0 auto; }
.stigma-storefront .btn-bar .stigma-add-to-cart { flex: 1 1 auto; }

@media (max-width: 560px) {
  .stigma-storefront .stigma-add-to-cart {
    font-size: 18px !important;
    padding: 14px 18px !important;
    min-height: 56px;
  }
}

/* =========================================================
 * v0.9.0 — Sticky gallery (desktop) + PDP Stack composer.
 * ========================================================= */

/* Make sure the gallery actually sticks. position:sticky breaks when ANY
 * ancestor has overflow != visible — pin .pdp and its parents to visible
 * so the hero image follows the scroll until the buy-box column ends. */
@media (min-width: 1001px) {
  .stigma-storefront,
  .stigma-storefront main.pdp,
  .stigma-storefront .pdp { overflow: visible !important; }
  .stigma-storefront .gallery {
    position: sticky !important;
    top: 100px;
    align-self: start;
    z-index: 1;
  }
}

/* =========================================================
 * PDP Stack Composer — checkbox + flavor pills per card,
 * Stack Up button at the bottom adds selected products to cart.
 * ========================================================= */
.stigma-storefront .stack-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.stigma-storefront .stack-card .check {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 26px;
  height: 26px;
  border: 2px solid var(--ink);
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 2;
  transition: background .15s;
}
.stigma-storefront .stack-card .check.on { background: var(--ink); }
.stigma-storefront .stack-card .check.on::after {
  content: "";
  width: 12px; height: 7px;
  border-left: 2.5px solid #fff;
  border-bottom: 2.5px solid #fff;
  transform: rotate(-45deg) translate(1px, -1px);
}
.stigma-storefront .stack-card.off { background: var(--bg-2, #f7f7f7); }
.stigma-storefront .stack-card.off .pic img { opacity: 0.5; filter: grayscale(0.6); }

.stigma-storefront .stack-card .sf-row {
  display: flex; flex-wrap: wrap; gap: 6px;
  margin: 4px 0 0;
}
.stigma-storefront .stack-card .sf-pill {
  padding: 6px 9px;
  border: 1.2px solid var(--line, #ececec);
  background: #fff;
  font-family: var(--display, "Archivo Black", sans-serif);
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  color: #333;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: all .15s;
}
.stigma-storefront .stack-card .sf-pill:hover { border-color: var(--ink); }
.stigma-storefront .stack-card .sf-pill.sel {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}
.stigma-storefront .stack-card .sf-pill .sf-dot {
  width: 9px; height: 9px;
  border-radius: 50%;
  display: inline-block;
  border: 1px solid rgba(0,0,0,0.15);
  flex-shrink: 0;
}
.stigma-storefront .stack-card .sf-label {
  font-family: var(--display, "Archivo Black", sans-serif);
  font-size: 9px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted, #666);
  display: block;
  margin: 4px 0 -2px;
}

/* Bottom CTA bar inside the stack section */
.stigma-storefront .stack-bundle-bar {
  margin-top: 28px;
  background: var(--ink);
  color: #fff;
  padding: 24px 32px;
  display: grid;
  grid-template-columns: 1.2fr 1fr auto;
  align-items: center;
  gap: 24px;
}
@media (max-width: 900px) {
  .stigma-storefront .stack-bundle-bar { grid-template-columns: 1fr; gap: 16px; }
}
.stigma-storefront .stack-bundle-bar .label {
  font-family: var(--display, "Archivo Black", sans-serif);
  font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--accent, #00c8e0);
  margin: 0 0 4px;
}
.stigma-storefront .stack-bundle-bar h3 {
  font-family: var(--display, "Archivo Black", sans-serif);
  font-size: 28px;
  line-height: 0.95;
  text-transform: uppercase;
  margin: 0;
  color: #fff;
}
.stigma-storefront .stack-bundle-bar .sub {
  margin: 6px 0 0;
  color: #aaa;
  font-size: 13px;
}
.stigma-storefront .stack-bundle-bar .totals {
  display: flex; flex-direction: column; gap: 4px;
}
.stigma-storefront .stack-bundle-bar .totals .old {
  font-family: var(--display); font-size: 14px;
  color: #888; text-decoration: line-through;
  min-height: 16px;
}
.stigma-storefront .stack-bundle-bar .totals .new {
  font-family: var(--display); font-size: 34px;
  color: var(--accent, #00c8e0);
  line-height: 1;
}
.stigma-storefront .stack-bundle-bar .totals .save {
  font-family: var(--display);
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent, #00c8e0);
  min-height: 14px;
}
.stigma-storefront .stack-bundle-bar .btn-primary {
  background: var(--accent, #00c8e0) !important;
  color: var(--ink, #0a0a0a) !important;
  border: 4px solid #000 !important;
  box-shadow: 6px 6px 0 #000 !important;
  padding: 18px 26px !important;
  font-family: var(--display-comic, "Bangers", sans-serif) !important;
  font-size: 20px !important;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  min-height: 60px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.stigma-storefront .stack-bundle-bar .btn-primary:hover:not(:disabled) {
  background: #fff !important;
  transform: translate(2px, 2px);
  box-shadow: 4px 4px 0 #000 !important;
}
.stigma-storefront .stack-bundle-bar .btn-primary:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* =========================================================
 * Comprehensive responsive pass — every PDP / shop element
 * must hold up from 320px → 1920px.
 * ========================================================= */

/* Fluid hero typography */
.stigma-storefront .h-product,
.stigma-storefront .h-sub { font-size: clamp(32px, 6vw, 64px); }
.stigma-storefront .sec-title { font-size: clamp(26px, 4.5vw, 48px); line-height: 1; }

/* Section padding clamps so nothing slams against the viewport edge */
.stigma-storefront section { padding: clamp(48px, 6vw, 96px) clamp(14px, 3vw, 32px); }

/* PDP grid: hero stacks on tablets and below */
@media (max-width: 1000px) {
  .stigma-storefront .pdp { grid-template-columns: 1fr; gap: 28px; padding: 16px 16px 48px; }
  .stigma-storefront .gallery { position: static !important; }
  .stigma-storefront .info { padding: 0; }
}

/* Buy options stack on narrow screens */
@media (max-width: 720px) {
  .stigma-storefront .buy-options { grid-template-columns: 1fr; gap: 12px; }
  .stigma-storefront .buy { padding: 14px; }
  .stigma-storefront .buy-head { flex-wrap: wrap; gap: 6px; }
  .stigma-storefront .btn-bar { flex-direction: row; align-items: stretch; gap: 8px; }
  .stigma-storefront .btn-bar .qty { flex: 0 0 auto; width: auto; }
  .stigma-storefront .btn-bar .stigma-add-to-cart { flex: 1 1 auto; width: auto; }
  .stigma-storefront .crumbs { font-size: 11px; }
  .stigma-storefront .ratings { flex-wrap: wrap; gap: 6px; }
  .stigma-storefront .trust { grid-template-columns: 1fr 1fr; gap: 8px; }
  /* One pill per row on phones — long flavor names like
     "Strawberry Dragonfruit" no longer truncate. */
  .stigma-storefront .flavors { display: grid; grid-template-columns: 1fr; gap: 8px; margin-bottom: 18px; }
  .stigma-storefront .flavor { padding: 12px 14px 12px 26px; font-size: 14px; flex-direction: row; align-items: center; gap: 10px; }
  .stigma-storefront .flavor .flavor-sub { font-size: 10px; margin-left: auto; }
}

/* Stack composer: bar collapses */
@media (max-width: 720px) {
  .stigma-storefront .stack-bundle-bar {
    grid-template-columns: 1fr !important;
    padding: 18px;
    text-align: left;
    gap: 14px;
  }
  .stigma-storefront .stack-bundle-bar .btn-primary { width: 100%; justify-content: center; }
  .stigma-storefront .stack-bundle-bar .totals { align-items: flex-start; }
  .stigma-storefront section[data-screen-label="FAQ"] .faq { grid-template-columns: 1fr !important; gap: 12px; }
  .stigma-storefront section[data-screen-label="FAQ"] .faq-q { font-size: 18px; padding: 16px; }
  .stigma-storefront section[data-screen-label="FAQ"] .faq-q .plus { width: 28px; height: 28px; font-size: 16px; }
  .stigma-storefront section[data-screen-label="FAQ"] .faq-a { padding: 0 16px 16px; }
}

/* PDP Stack composer cards on tablet/mobile */
@media (max-width: 1000px) {
  .stigma-storefront [data-stigma-stack-composer] { grid-template-columns: repeat(2, 1fr); gap: 14px; }
}
@media (max-width: 640px) {
  .stigma-storefront [data-stigma-stack-composer] { grid-template-columns: 1fr; }
  .stigma-storefront .stack-card { padding: 18px; }
  .stigma-storefront .stack-card .check { width: 22px; height: 22px; top: 12px; right: 12px; }
}

/* Shop page: stack tiles collapse cleanly */
@media (max-width: 900px) {
  .stigma-storefront .stack-wrap { padding: 24px 16px 64px; }
}
@media (max-width: 600px) {
  .stigma-storefront .stack-wrap .stack-grid { grid-template-columns: 1fr; gap: 14px; }
  .stigma-storefront .stack-foot { padding: 18px; gap: 14px; }
  .stigma-storefront .stack-perks { grid-template-columns: 1fr 1fr !important; }
}

/* Strip marquee — keep readable on mobile */
@media (max-width: 560px) {
  .stigma-storefront .strip-inner { font-size: 11px; gap: 16px; }
  .stigma-storefront .badge,
  .stigma-storefront .stage-label { font-size: 12px; padding: 5px 9px; }
}

/* Stage padding shrinks so product image dominates on phones */
@media (max-width: 480px) {
  .stigma-storefront .stage { padding: 22px; }
  .stigma-storefront .stigma-add-to-cart { font-size: 16px !important; padding: 14px 12px !important; min-height: 56px; }
  /* Quantity + cart share the row — keep qty compact so the cart label fits. */
  .stigma-storefront .btn-bar .qty { min-width: 100px; }
  .stigma-storefront .btn-bar .qty input { width: 36px; font-size: 16px; }
  .stigma-storefront .btn-bar .qty button { width: 30px; height: 30px; font-size: 18px; }
  /* Hide the inline price duplicate on tiny screens so the CTA label
     ("SUBSCRIBE & ADD TO CART") doesn't wrap or truncate. The dedicated
     price-old/price-new in the buy box still shows the price above. */
  .stigma-storefront .stigma-add-to-cart .price-display { display: none; }
  .stigma-storefront .stigma-add-to-cart .price-display::before { display: none; }
}

/* =========================================================
 * Mobile compactness pass — kill the scroll fatigue.
 * Tighter section padding, smaller hero gap, more compact
 * buy options + flavor pills + sticky CTA.
 * ========================================================= */
@media (max-width: 720px) {
  .stigma-storefront .pdp { gap: 16px; padding: 12px 14px 28px; }
  .stigma-storefront section { padding: 36px 14px; }
  .stigma-storefront .sec-head { margin-bottom: 18px; gap: 6px; }
  .stigma-storefront .h-product { margin: 0 0 4px; }
  .stigma-storefront .h-sub { margin: 0 0 10px; }
  .stigma-storefront .lede { font-size: 14px; line-height: 1.45; margin-bottom: 14px; }
  .stigma-storefront .trust { margin-bottom: 14px; }
  .stigma-storefront .crumbs { margin: 0 0 8px; }
  .stigma-storefront .ratings { margin-bottom: 10px; }
  .stigma-storefront .sel-label { margin: 14px 0 8px; font-size: 11px; }
  .stigma-storefront .buy { margin: 0 0 10px; }
  .stigma-storefront .buy-head { padding: 14px 16px !important; }
  .stigma-storefront .buy-title { font-size: 16px; }
  .stigma-storefront .buy.sel .buy-body { padding: 0 14px 14px 44px; }
  .stigma-storefront .buy-flag { font-size: 10px; padding: 4px 8px; top: -12px !important; }
  .stigma-storefront .cta-row { margin: 12px 0 10px; gap: 8px; }
  .stigma-storefront .strip { padding: 10px 0; }
  .stigma-storefront .strip-inner { gap: 20px; font-size: 11px; }
  .stigma-storefront .stack-bundle-bar { margin-top: 18px; padding: 16px; }
  .stigma-storefront .stack-bundle-bar h3 { font-size: 20px; }
  .stigma-storefront .stack-bundle-bar .totals .new { font-size: 28px; }
  .stigma-storefront .feed { padding: 18px 0; }
}

/* =========================================================
 * Mobile collapsible sections — Ingredients / Benefits / Audit /
 * Reviews collapse on phone, expand on tap. JS adds the panel
 * wrapper + trigger classes; we just style + animate here.
 * ========================================================= */
@media (max-width: 720px) {
  .stigma-storefront section[data-stigma-collapse="1"] {
    padding: 0;
    margin: 0 0 10px;
    max-width: none;
    background: #fff;
    border: 2px solid var(--ink, #0a0a0a);
  }
  .stigma-storefront section[data-stigma-collapse="1"] .sec-inner {
    padding: 0;
    margin: 0;
  }
  .stigma-storefront .stigma-sec-trigger {
    position: relative;
    margin: 0;
    padding: 16px 48px 16px 18px;
    cursor: pointer;
    user-select: none;
    -webkit-user-select: none;
    background: transparent;
    transition: background .15s;
  }
  .stigma-storefront .stigma-sec-trigger:hover { background: var(--bg-2, #f7f7f7); }
  .stigma-storefront .stigma-sec-trigger > div { margin: 0; }
  .stigma-storefront .stigma-sec-trigger .label,
  .stigma-storefront .stigma-sec-trigger .num {
    font-size: 10px;
    letter-spacing: 0.2em;
    margin: 0 0 4px;
    color: var(--muted, #666);
  }
  .stigma-storefront .stigma-sec-trigger .sec-title {
    font-size: 22px !important;
    line-height: 1.05;
    margin: 0;
  }
  .stigma-storefront .stigma-sec-trigger .sec-title .accent,
  .stigma-storefront .stigma-sec-trigger .sec-title br { display: none; }
  .stigma-storefront .stigma-sec-trigger .sec-sub { display: none; }
  .stigma-storefront .stigma-sec-trigger::after {
    content: "+";
    position: absolute;
    right: 18px;
    top: 50%;
    transform: translateY(-50%);
    width: 28px;
    height: 28px;
    display: grid;
    place-items: center;
    font-family: var(--display-comic, 'Bangers', sans-serif);
    font-size: 22px;
    background: var(--ink, #0a0a0a);
    color: #fff;
    transition: transform .25s;
    line-height: 1;
  }
  .stigma-storefront section.stigma-sec-open .stigma-sec-trigger::after {
    transform: translateY(-50%) rotate(45deg);
  }
  .stigma-storefront .stigma-sec-panel {
    max-height: 0;
    overflow: hidden;
    transition: max-height .35s ease;
    padding: 0 18px;
  }
  .stigma-storefront section.stigma-sec-open .stigma-sec-panel {
    padding: 4px 18px 20px;
  }
  /* Ingredients section uses 2-col grid normally — collapse to 1-col when
     opened on phone so the supplement-facts panel doesn't overflow. */
  .stigma-storefront section[data-stigma-collapse="1"] .ingredients-wrap,
  .stigma-storefront section[data-stigma-collapse="1"] .ing-grid,
  .stigma-storefront section[data-stigma-collapse="1"] .benefits {
    grid-template-columns: 1fr !important;
    gap: 12px;
  }
  /* Audit table needs horizontal scroll inside the panel */
  .stigma-storefront section[data-stigma-collapse="1"] .audit-wrap {
    margin: 0;
  }
}

/* Sticky add-to-cart — flatten the chunky v2 styling on phone so it doesn't
   look goofy against the white sticky bar. The bar is injected directly into
   <body>, so selectors here are unprefixed (no `.stigma-storefront` parent). */
@media (max-width: 900px) {
  .stigma-sticky-cta {
    padding: 8px 12px !important;
    border-top: 1px solid var(--ink, #0a0a0a) !important;
    box-shadow: 0 -2px 12px rgba(0, 0, 0, 0.08) !important;
  }
  .stigma-sticky-cta .btn-primary {
    flex: 1;
    padding: 12px 14px !important;
    font-size: 14px !important;
    background: #0a0a0a !important;
    color: #fff !important;
    border: 2px solid #0a0a0a !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    transform: none !important;
    min-height: 0 !important;
    line-height: 1 !important;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    font-family: var(--display-comic, 'Bangers', 'Archivo Black', sans-serif);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    cursor: pointer;
    width: 100%;
  }
  .stigma-sticky-cta .btn-primary .arrow {
    margin-left: 6px;
  }
  body.has-sticky-cta { padding-bottom: 60px; }
}

/* =========================================================
 * Yotpo write-a-review form (when widget mode is off)
 * ========================================================= */
.stigma-storefront .stigma-yotpo-form {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.55);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}
.stigma-storefront .stigma-yotpo-form[hidden] { display: none; }
.stigma-storefront .stigma-yotpo-form-inner {
  background: #fff;
  border: 4px solid var(--ink, #0a0a0a);
  padding: 24px;
  max-width: 520px;
  width: 100%;
  max-height: 88vh;
  overflow-y: auto;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.stigma-storefront .stigma-yotpo-form-close {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 32px;
  height: 32px;
  background: transparent;
  border: none;
  cursor: pointer;
  font-size: 24px;
  line-height: 1;
}
.stigma-storefront .stigma-yotpo-form h3 {
  margin: 0;
  font-family: var(--display, 'Archivo Black', sans-serif);
  text-transform: uppercase;
  font-size: 24px;
}
.stigma-storefront .stigma-yotpo-form-note {
  margin: 0 0 4px;
  font-size: 13px;
  color: var(--muted, #666);
}
.stigma-storefront .stigma-yotpo-stars {
  display: flex;
  gap: 4px;
  margin: 4px 0;
}
.stigma-storefront .stigma-yotpo-stars button {
  background: none;
  border: none;
  font-size: 30px;
  color: #d6d6d6;
  cursor: pointer;
  padding: 0;
  line-height: 1;
  transition: color .12s;
}
.stigma-storefront .stigma-yotpo-stars button.on { color: #ffb400; }
.stigma-storefront .stigma-yotpo-form label {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-family: var(--display, sans-serif);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink, #0a0a0a);
}
.stigma-storefront .stigma-yotpo-form input,
.stigma-storefront .stigma-yotpo-form textarea {
  border: 1.5px solid var(--ink, #0a0a0a);
  padding: 10px 12px;
  font-family: var(--body, 'Inter', sans-serif);
  font-size: 14px;
  color: var(--ink, #0a0a0a) !important;
  -webkit-text-fill-color: var(--ink, #0a0a0a) !important;
  background: #fff;
  letter-spacing: normal;
  text-transform: none;
  width: 100%;
}
.stigma-storefront .stigma-yotpo-form textarea { resize: vertical; }
.stigma-storefront .stigma-yotpo-form .btn-primary { margin-top: 8px; }
.stigma-storefront .reviews-head { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; }

/* =========================================================
 * Creatine-only overrides — flat black product name and flat
 * black Add to Cart. Every other PDP keeps the full v2 comic
 * styling (accent color, offset shadows).
 * ========================================================= */
body.stigma-product-creatine .h-sub,
.stigma-storefront[data-stigma-product="creatine"] .h-sub {
  color: var(--ink, #0a0a0a) !important;
  text-shadow: none !important;
}
body.stigma-product-creatine .stigma-add-to-cart,
body.stigma-product-creatine .stigma-add-to-cart:hover:not(:disabled),
body.stigma-product-creatine .stigma-add-to-cart:active:not(:disabled),
.stigma-storefront[data-stigma-product="creatine"] .stigma-add-to-cart,
.stigma-storefront[data-stigma-product="creatine"] .stigma-add-to-cart:hover:not(:disabled),
.stigma-storefront[data-stigma-product="creatine"] .stigma-add-to-cart:active:not(:disabled) {
  background: var(--ink, #0a0a0a) !important;
  color: #fff !important;
  box-shadow: none !important;
  transform: none !important;
}
