/** Shopify CDN: Minification failed

Line 1023:0 Unexpected "}"

**/
/* MyHairMedix — swatch ring theme */

/* ---------- Tokens ---------- */
:root {
  --shade-1b: #1c1416;
  --shade-4: #4a2a20;
  --shade-30: #8c4424;
  --shade-27: #c9853f;
  --shade-613: #ecd9a6;
  --metal-hi: #f4efe9;
  --metal-mid: #b9b0aa;
  --metal-lo: #6f6560;

  --font-display: 'Anybody', 'Arial Narrow', sans-serif;
  --font-body: 'Figtree', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --gutter: clamp(16px, 4vw, 56px);
  --page-max: 1320px;
  --space-1: 0.5rem;
  --space-2: 1rem;
  --space-3: 1.5rem;
  --space-4: 2.5rem;
  --space-5: 4rem;
  --space-6: clamp(4.5rem, 9vw, 8rem);

  --radius-tag: 18px;
  --radius-pill: 999px;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --shadow-rgb: var(--ink-rgb);
  --shadow-hang: 0 22px 34px -20px rgba(var(--shadow-rgb), 0.38), 0 4px 10px -4px rgba(var(--shadow-rgb), 0.16);

  --ink-soft: rgba(var(--ink-rgb), 0.78);
  --ink-faint: rgba(var(--ink-rgb), 0.22);
  --tag-ink-soft: rgba(var(--tag-ink-rgb), 0.72);
}

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  min-height: 100vh;
  background: var(--ground);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: 0.22em; text-decoration-thickness: 1px; }
a:hover { text-decoration-color: var(--accent); }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4 { margin: 0; font-weight: inherit; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }
::selection { background: var(--accent); color: var(--accent-ink); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
html { scrollbar-color: var(--accent) var(--ground-deep); }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--ground-deep); }
::-webkit-scrollbar-thumb { background: var(--accent); border-radius: 10px; border: 2px solid var(--ground-deep); }
input { caret-color: var(--accent); }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 1rem; top: -4rem; z-index: 100;
  background: var(--accent); color: var(--accent-ink); padding: 0.75rem 1.25rem;
  border-radius: var(--radius-pill); font-weight: 700; text-decoration: none;
}
.skip-link:focus { top: 1rem; }
.main:focus { outline: none; }

.page-width { width: 100%; max-width: var(--page-max); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--space-6); }
.section--deep { background: var(--ground-deep); }
.section--tight { padding-block: var(--space-5); }
.rte > * + * { margin-top: 1em; }
.rte a { color: var(--ink); }
.rte ul, .rte ol { padding-left: 1.25em; }

/* ---------- Type ---------- */
.display {
  font-family: var(--font-display);
  font-stretch: 135%;
  font-weight: 860;
  line-height: 0.92;
  letter-spacing: -0.035em;
  text-wrap: balance;
}
.display--xl { font-size: clamp(2.75rem, 8.2vw, 6rem); }
.display--l { font-size: clamp(2.25rem, 5.6vw, 4.25rem); }
.display--m { font-size: clamp(1.6rem, 3.2vw, 2.5rem); line-height: 1; }
.code {
  font-family: var(--font-display);
  font-stretch: 58%;
  font-weight: 760;
  letter-spacing: 0.01em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.lede { font-size: clamp(1.0625rem, 1.5vw, 1.25rem); color: var(--ink-soft); max-width: 46ch; text-wrap: pretty; }
.measure { max-width: 68ch; }

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--accent);
  --btn-fg: var(--accent-ink);
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem;
  min-height: 56px; padding: 0 1.9rem;
  border: 0; border-radius: var(--radius-pill);
  background: var(--btn-bg); color: var(--btn-fg);
  font-family: var(--font-display); font-stretch: 112%; font-weight: 780; font-size: 1.0625rem;
  letter-spacing: -0.01em; text-decoration: none;
  box-shadow: 0 12px 24px -12px color-mix(in srgb, var(--accent) 70%, transparent);
  transition: transform 220ms var(--ease-out), box-shadow 220ms var(--ease-out), filter 220ms var(--ease-out);
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 18px 30px -14px color-mix(in srgb, var(--accent) 80%, transparent); filter: saturate(1.1) brightness(1.06); }
.btn:active { transform: translateY(1px); box-shadow: 0 6px 14px -10px color-mix(in srgb, var(--accent) 70%, transparent); }
.btn[disabled], .btn[aria-disabled='true'] { opacity: 0.5; cursor: not-allowed; transform: none; filter: grayscale(0.4); }
.btn--ghost { --btn-bg: transparent; --btn-fg: var(--ink); box-shadow: inset 0 0 0 2px var(--ink-faint); }
.btn--ghost:active { box-shadow: inset 0 0 0 2px var(--ink); }
.btn--ghost:hover { box-shadow: inset 0 0 0 2px var(--ink); filter: none; }
.btn--block { width: 100%; }
.btn[aria-busy='true'] { cursor: progress; }
.link-arrow {
  display: inline-flex; align-items: center; gap: 0.45rem; font-weight: 600;
  text-decoration: underline; text-decoration-color: var(--ink-faint);
}
.link-arrow:hover { text-decoration-color: var(--accent); }
.link-arrow svg { width: 1rem; height: 1rem; transition: transform 220ms var(--ease-out); }
.link-arrow:hover svg { transform: translateY(2px); }

/* ---------- Swatch ring + tag (the system) ---------- */
.ring-rail {
  position: relative;
  height: 6px;
  border-radius: 6px;
  background: linear-gradient(180deg, var(--metal-hi) 0%, var(--metal-mid) 45%, var(--metal-lo) 100%);
  box-shadow: 0 3px 6px -2px rgba(var(--shadow-rgb), 0.35);
}
.tag {
  position: relative;
  background: var(--tag);
  color: var(--tag-ink);
  border-radius: var(--radius-tag) var(--radius-tag) 12px 12px;
  box-shadow: var(--shadow-hang);
  padding: 2.4rem 1.25rem 1.25rem;
  transform-origin: 50% -22px;
}
/* punched hole */
.tag::before {
  content: '';
  position: absolute; top: 12px; left: 50%;
  width: 14px; height: 14px; margin-left: -7px; border-radius: 50%;
  background: var(--ground);
  box-shadow: inset 0 2px 3px rgba(0, 0, 0, 0.55);
}
.section--deep .tag::before { background: var(--ground-deep); }
/* jump ring linking tag to rail */
.tag--hung::after {
  content: '';
  position: absolute; left: 50%; top: -22px;
  width: 16px; height: 40px; margin-left: -8px;
  border: 3px solid var(--metal-mid);
  border-radius: 10px;
  pointer-events: none;
}
.tag__code { font-size: 1.3rem; color: var(--tag-ink-soft); }
.tag__code b { color: var(--tag-ink); font-weight: inherit; }
.tag--ghost {
  background: transparent;
  color: var(--ink-soft);
  box-shadow: none;
  outline: 2px dashed var(--ink-faint);
  outline-offset: -2px;
}
.tag--ghost::before { box-shadow: inset 0 0 0 2px var(--ink-faint); background: transparent; }

.hang-row {
  position: relative;
  display: grid;
  --hang-gap: clamp(1rem, 2.4vw, 1.75rem);
  gap: var(--hang-gap);
  padding-top: 26px;
}
.hang-row::before {
  content: ''; position: absolute; top: 0; left: 0; width: var(--rail-w, 100%); height: 6px; border-radius: 6px;
  background: linear-gradient(180deg, var(--metal-hi) 0%, var(--metal-mid) 45%, var(--metal-lo) 100%);
  box-shadow: 0 3px 6px -2px rgba(var(--shadow-rgb), 0.35);
}
.hang-row { list-style: none; margin: 0; }
/* multi-row rings: every row gets its own rail, drawn per tag so rows line up */
.product-ring, .category-ring { row-gap: 4.25rem; }
.product-ring::before, .category-ring::before { display: none; }
.product-ring > li, .category-ring > li { position: relative; }
.product-ring > li::before, .category-ring > li::before {
  content: ''; position: absolute; top: -26px; height: 6px;
  left: calc(var(--hang-gap) / -2); right: calc(var(--hang-gap) / -2);
  background: linear-gradient(180deg, var(--metal-hi) 0%, var(--metal-mid) 45%, var(--metal-lo) 100%);
  box-shadow: 0 3px 6px -2px rgba(var(--shadow-rgb), 0.35);
}
.product-ring > li:first-child::before, .category-ring > li:first-child::before { left: 0; border-radius: 6px 0 0 6px; }
.product-ring > li:last-child::before, .category-ring > li:last-child::before { right: 0; border-radius: 0 6px 6px 0; }

/* ---------- Header ---------- */
.announcement {
  background: var(--accent);
  color: var(--accent-ink);
  text-align: center;
  font-weight: 650;
  font-size: 0.9375rem;
  padding: 0.6rem var(--gutter);
}
.announcement a { text-decoration: underline; }
/* Shopify wraps the header in a section element; make that wrapper sticky so the header follows the scroll */
.header-section { position: sticky; top: 0; z-index: 40; }
.site-header {
  position: relative; z-index: 40;
  background: color-mix(in srgb, var(--ground) 88%, transparent);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid var(--ink-faint);
}
.site-header__inner {
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: var(--space-3);
  min-height: 72px;
}
.wordmark {
  font-family: var(--font-display); font-stretch: 140%; font-weight: 880; letter-spacing: -0.04em;
  font-size: clamp(1.25rem, 2.4vw, 1.6rem); text-decoration: none; line-height: 1;
  display: inline-flex; align-items: baseline;
}
.wordmark span { color: var(--accent); }
.wordmark img { width: var(--logo-width); height: auto; }
.site-nav { justify-self: center; }
.site-nav ul { list-style: none; display: flex; gap: clamp(1rem, 2.5vw, 2.25rem); }
.site-nav a {
  text-decoration: none; font-weight: 600; font-size: 0.98rem; padding: 0.5rem 0;
  background: linear-gradient(var(--accent), var(--accent)) left bottom / 0 2px no-repeat;
  transition: background-size 260ms var(--ease-out);
}
.site-nav a:hover, .site-nav a[aria-current='page'] { background-size: 100% 2px; }
.header-icons { display: flex; align-items: center; gap: 0.25rem; }
.icon-btn {
  position: relative; display: inline-grid; place-items: center;
  width: 48px; height: 48px; border-radius: 50%;
  background: transparent; border: 0; color: var(--ink); text-decoration: none;
  transition: background-color 200ms ease;
}
.icon-btn:hover { background: var(--ink-faint); }
.icon-btn svg { width: 24px; height: 24px; }
.cart-count {
  position: absolute; top: 4px; right: 2px;
  min-width: 20px; height: 20px; padding: 0 5px; border-radius: 10px;
  background: var(--accent); color: var(--accent-ink);
  font-size: 0.75rem; font-weight: 800; line-height: 20px; text-align: center;
}
.cart-count:empty, .cart-count[data-count='0'] { display: none; }
.cart-count.is-bumped { animation: bump 500ms var(--ease-out); }
@keyframes bump { 0% { transform: scale(1); } 35% { transform: scale(1.45); } 100% { transform: scale(1); } }

.menu-drawer { display: none; }
.menu-drawer > summary { list-style: none; }
.menu-drawer > summary::-webkit-details-marker { display: none; }
.menu-drawer__panel {
  position: fixed; inset: 72px 0 auto 0; z-index: 39;
  background: var(--ground);
  border-bottom: 1px solid var(--ink-faint);
  padding: var(--space-3) var(--gutter) var(--space-4);
  max-height: calc(100vh - 72px); overflow-y: auto;
}
.menu-drawer__panel ul { list-style: none; display: grid; gap: 0.25rem; }
.menu-drawer__panel a {
  display: block; padding: 0.75rem 0; text-decoration: none;
  font-family: var(--font-display); font-stretch: 125%; font-weight: 800; font-size: 1.75rem; letter-spacing: -0.03em;
  border-bottom: 1px solid var(--ink-faint);
}
.menu-drawer[open] .icon-open, .menu-drawer:not([open]) .icon-close { display: none; }

@media (max-width: 899px) {
  .site-nav { display: none; }
  .menu-drawer { display: block; }
  .site-header__inner { grid-template-columns: 48px 1fr 48px; gap: 0.5rem; }
  .icon-btn--search { display: none; }
  .site-header__inner .wordmark { justify-self: center; }
}

/* ---------- Dark stage scheme (hero demo, footer, product demo) ---------- */
.scheme-stage {
  --ground: var(--stage);
  --ground-deep: var(--stage-deep);
  --ink: var(--stage-ink);
  --ink-rgb: var(--stage-ink-rgb);
  --ink-soft: rgba(var(--stage-ink-rgb), 0.8);
  --ink-faint: rgba(var(--stage-ink-rgb), 0.24);
  --shadow-rgb: 0, 0, 0;
  background: var(--ground);
  color: var(--ink);
}
.scheme-stage :focus-visible { outline-color: #ff7ab3; }
.scheme-stage ::selection { background: #ff7ab3; color: #2e0614; }

/* ---------- Trim hero ---------- */
.trim-hero { position: relative; overflow: hidden; padding-block: clamp(2.5rem, 6vw, 5rem) var(--space-6); }
.trim-hero__grid {
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(2rem, 5vw, 5rem); align-items: center;
}
.trim-hero__copy { display: grid; gap: var(--space-3); align-content: center; }
.trim-hero__title { font-size: clamp(2.75rem, 5.4vw, 5.25rem); max-width: 12ch; }
.buy-box {
  display: grid; gap: var(--space-2);
  margin-top: var(--space-1);
  max-width: 30rem;
}
.buy-box__price-row { display: flex; align-items: baseline; gap: var(--space-2); flex-wrap: wrap; }
.buy-box__product { font-weight: 600; color: var(--ink-soft); }
.price { font-family: var(--font-display); font-stretch: 100%; font-weight: 800; font-size: 1.75rem; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.price s { font-size: 0.65em; font-weight: 600; color: var(--ink-soft); margin-left: 0.4rem; }
.price__badge {
  display: inline-block; margin-left: 0.6rem; padding: 0.2rem 0.6rem; border-radius: var(--radius-pill);
  background: var(--accent); color: var(--accent-ink); font-family: var(--font-body); font-size: 0.8rem; font-weight: 800; vertical-align: middle;
}
.buy-box__actions { display: flex; gap: 0.75rem; flex-wrap: wrap; align-items: center; }
.buy-box__actions .btn { flex: 1 1 15rem; }
.setup-note {
  border: 2px dashed var(--ink-faint); border-radius: 14px; padding: 1rem 1.25rem; color: var(--ink-soft); font-size: 0.95rem;
}
.trim-hero__more { margin-top: var(--space-1); }

/* stage */
.strand-stage {
  width: 100%;
  max-width: 500px;
  justify-self: center;
  display: grid;
  gap: 1rem;
}
.strand-stage__canvas {
  position: relative;
  aspect-ratio: 400 / 540;
  user-select: none;
  -webkit-user-select: none;
}
.strand-stage svg.strand-art { width: 100%; height: 100%; overflow: visible; }
.strand-stage .strand { fill: none; stroke-linecap: round; }
.strand-stage .fray { fill: none; stroke-linecap: round; transition: transform 900ms var(--ease-out), opacity 700ms ease; transform-box: fill-box; transform-origin: 0 0; }
.strand-stage .fray.is-snipped { opacity: 0; transform: translate(var(--fx, 14px), 70px) rotate(var(--fr, 40deg)); }
.strand-stage.is-regrowing .fray { transition: opacity 600ms ease, transform 0ms; }
.strand-stage .spark { opacity: 0; transition: opacity 120ms ease; }
.strand-stage .spark.is-on { opacity: 1; }

.trimmer {
  position: absolute; left: 0; top: 0; width: 100%;
  pointer-events: none;
  will-change: transform;
}
.trimmer__body {
  position: absolute; top: -14px; height: 28px;
  border-radius: 14px;
  background: linear-gradient(180deg, #2b2326 0%, #120c0e 100%);
  box-shadow: 0 10px 20px -8px rgba(0,0,0,0.8), inset 0 1px 0 rgba(255,255,255,0.18);
}
.trimmer__slot {
  position: absolute; left: 12px; right: 12px; top: 12px; height: 4px; border-radius: 2px;
  background: #ff5fa2;
  box-shadow: 0 0 10px 1px rgba(255, 95, 162, 0.7);
}
.trimmer__handle {
  position: absolute; top: -26px;
  width: 52px; height: 52px; margin-left: -4px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--accent); color: var(--accent-ink);
  border: 3px solid var(--ground-deep);
  box-shadow: 0 10px 20px -8px rgba(0,0,0,0.8);
  pointer-events: auto;
  cursor: grab;
  touch-action: none;
  transition: transform 200ms var(--ease-out);
}
.trimmer__handle:hover { transform: scale(1.06); }
.trimmer__handle:active { cursor: grabbing; transform: scale(0.96); }
.trimmer__handle svg { width: 22px; height: 22px; }
.strand-stage__hud {
  display: flex; align-items: center; gap: 0.5rem 1rem; flex-wrap: wrap; min-height: 48px;
}
.hud-tag {
  background: var(--tag); color: var(--tag-ink); border-radius: 10px;
  padding: 0.45rem 0.8rem; box-shadow: var(--shadow-hang);
  font-size: 0.95rem;
}
.hud-tag .code { font-size: 1.35rem; }
.strand-stage__hint { font-size: 0.9rem; color: var(--ink-soft); }
.strand-stage__reset {
  background: transparent; border: 0; padding: 0.5rem 0.25rem; color: var(--ink);
  font-weight: 650; text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 0.22em;
}
.strand-stage__reset[hidden] { display: none; }
.no-js .trimmer, .no-js .strand-stage__hud { display: none; }

@media (max-width: 899px) {
  .trim-hero__grid { grid-template-columns: 1fr; }
  .trim-hero__title { font-size: clamp(2.6rem, 10.5vw, 4.5rem); max-width: 13ch; }
  .strand-stage { max-width: 400px; margin-top: var(--space-2); }
}

/* ---------- Steps on the ring ---------- */
.section-head { display: grid; gap: var(--space-2); margin-bottom: var(--space-5); max-width: 44rem; }
.section-head--center { text-align: center; margin-inline: auto; justify-items: center; }
.steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.step { display: grid; gap: 0.75rem; align-content: start; min-height: 100%; }
.step:nth-child(2) { rotate: 1.4deg; }
.step:nth-child(3) { rotate: -1.2deg; }
.step .tag__code { font-size: 2.75rem; color: var(--accent); -webkit-text-stroke: 1px var(--tag-ink); }
.step h3 { font-family: var(--font-display); font-stretch: 118%; font-weight: 820; font-size: 1.4rem; line-height: 1.1; letter-spacing: -0.02em; }
.step p { color: var(--tag-ink-soft); }
@media (max-width: 749px) {
  .steps { grid-template-columns: 1fr; gap: 2.75rem; padding-top: 0; }
  .steps::before { display: none; }
  .step, .step:nth-child(2), .step:nth-child(3) { rotate: none; }
  .steps .tag--hung::after { display: none; }
}

/* ---------- Media with text ---------- */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.split--reverse .split__media { order: 2; }
.split__copy { display: grid; gap: var(--space-3); }
.split__copy .display--l { font-size: clamp(2rem, 3.9vw, 3.4rem); }
.split__media { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.split__media--single { grid-template-columns: 1fr; }
.photo-tag { display: grid; gap: 0.6rem; }
.photo-tag__frame {
  position: relative; overflow: hidden; border-radius: 14px; background: var(--ground-deep);
  aspect-ratio: 4 / 5; box-shadow: var(--shadow-hang);
}
.photo-tag__frame img, .photo-tag__frame svg { width: 100%; height: 100%; object-fit: cover; }
.photo-tag__frame .placeholder-svg { fill: var(--ink-faint); background: var(--ground-deep); padding: 15%; }
.photo-tag__label { font-size: 1.15rem; color: var(--ink-soft); }
.bullets { list-style: none; display: grid; gap: 0.85rem; }
.bullets li { display: grid; grid-template-columns: 1.5rem 1fr; gap: 0.75rem; align-items: start; }
.bullets svg { width: 1.5rem; height: 1.5rem; color: var(--accent); margin-top: 0.1rem; }
@media (max-width: 749px) {
  .split { grid-template-columns: 1fr; }
  .split--reverse .split__media { order: 0; }
}

/* ---------- Product ring (collection) ---------- */
.product-ring { grid-template-columns: repeat(var(--cols, 4), minmax(0, 1fr)); }
.product-tag { display: grid; gap: 0.85rem; text-decoration: none; transition: transform 500ms var(--ease-out); }
.product-tag:hover { transform: rotate(-2.5deg); }
.product-tag__media {
  aspect-ratio: 1; border-radius: 10px; overflow: hidden; background: color-mix(in srgb, var(--tag-ink) 6%, var(--tag));
}
.product-tag__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 700ms var(--ease-out); }
.product-tag:hover .product-tag__media img { transform: scale(1.05); }
.product-tag__media .placeholder-svg { width: 100%; height: 100%; fill: rgba(var(--tag-ink-rgb), 0.18); padding: 18%; }
.product-tag__title { font-family: var(--font-display); font-stretch: 112%; font-weight: 780; font-size: 1.15rem; line-height: 1.15; letter-spacing: -0.015em; }
.product-tag__price { font-weight: 700; font-variant-numeric: tabular-nums; }
.product-tag__price s { font-weight: 500; color: var(--tag-ink-soft); margin-left: 0.35rem; }
.product-tag__row { display: flex; justify-content: space-between; align-items: center; gap: 0.5rem; }
.badge {
  display: inline-block; padding: 0.15rem 0.55rem; border-radius: var(--radius-pill); font-size: 0.78rem; font-weight: 800;
  background: var(--accent); color: var(--accent-ink);
}
.badge--muted { background: rgba(var(--tag-ink-rgb), 0.1); color: var(--tag-ink); }
.tag--ghost .product-tag__media { background: transparent; display: grid; place-items: center; outline: 2px dashed var(--ink-faint); outline-offset: -2px; }
.tag--ghost .product-tag__media svg { width: 38%; height: auto; color: var(--ink-faint); }
.tag--ghost .product-tag__title { color: var(--ink-soft); }

@media (max-width: 989px) {
  .product-ring { --cols: 2; }
}
@media (max-width: 749px) {
  .category-ring.is-scroller {
    display: grid; grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: 78%;
    overflow-x: auto; scroll-snap-type: x mandatory; padding: 26px var(--gutter) 1.5rem; margin-inline: calc(var(--gutter) * -1);
    scrollbar-width: none;
  }
  .category-ring.is-scroller::-webkit-scrollbar { display: none; }
  .category-ring.is-scroller > * { scroll-snap-align: center; }
}
@media (max-width: 749px) {
  .product-ring.is-scroller {
    display: grid; grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: 72%;
    overflow-x: auto; scroll-snap-type: x mandatory; padding: 26px var(--gutter) 1.5rem; margin-inline: calc(var(--gutter) * -1);
    scrollbar-width: none;
  }
  .product-ring.is-scroller::-webkit-scrollbar { display: none; }
  .product-ring.is-scroller > * { scroll-snap-align: center; }
}

/* ---------- Category ring ---------- */
.category-ring { grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr)); }
.category-tag { display: grid; gap: 0.9rem; text-decoration: none; transition: transform 500ms var(--ease-out); }
.category-tag:hover { transform: rotate(2deg); }
.category-tag__media { aspect-ratio: 4 / 3; border-radius: 10px; overflow: hidden; background: color-mix(in srgb, var(--tag-ink) 6%, var(--tag)); }
.category-tag__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 700ms var(--ease-out); }
.category-tag:hover .category-tag__media img { transform: scale(1.05); }
.category-tag__media .placeholder-svg { width: 100%; height: 100%; fill: rgba(var(--tag-ink-rgb), 0.18); padding: 14%; }
.category-tag__title { font-family: var(--font-display); font-stretch: 130%; font-weight: 860; font-size: clamp(1.5rem, 2.4vw, 2rem); line-height: 1; letter-spacing: -0.03em; }
.category-tag__go { font-weight: 700; text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: 0.25em; }
.collection-pills { display: flex; flex-wrap: wrap; gap: 0.5rem; list-style: none; margin-bottom: var(--space-3); }
.collection-pills a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 1.1rem; border-radius: var(--radius-pill); box-shadow: inset 0 0 0 2px var(--ink-faint); text-decoration: none; font-weight: 600; }
.collection-pills a:hover { box-shadow: inset 0 0 0 2px var(--ink); }
.collection-pills a[aria-current='page'] { background: var(--tag); color: var(--tag-ink); box-shadow: none; }

/* ---------- FAQ ---------- */
.faq { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.faq .section-head { margin-bottom: 0; }
.faq-list { display: grid; gap: 0.75rem; }
.faq-item { border-radius: 14px; background: color-mix(in srgb, var(--ink) 6%, transparent); transition: background-color 250ms ease; }
.faq-item[open] { background: var(--tag); color: var(--tag-ink); }
.faq-item summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  padding: 1.15rem 1.35rem; font-weight: 700; font-size: 1.075rem; min-height: 56px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary svg { width: 22px; height: 22px; flex: none; transition: transform 300ms var(--ease-out); color: var(--accent); }
.faq-item[open] summary svg { transform: rotate(45deg); }
.faq-item__answer { padding: 0 1.35rem 1.35rem; color: var(--tag-ink-soft); max-width: 62ch; }
@media (max-width: 749px) { .faq { grid-template-columns: 1fr; } }

/* ---------- Newsletter ---------- */
.signup { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--space-4); align-items: end; }
.signup__form { display: grid; gap: 0.6rem; }
.field-row { display: flex; gap: 0.6rem; }
.field {
  flex: 1; min-height: 56px; padding: 0 1.25rem; border-radius: var(--radius-pill);
  border: 2px solid var(--ink-faint); background: transparent; color: var(--ink);
  transition: border-color 200ms ease;
}
.field::placeholder { color: rgba(var(--ink-rgb), 0.62); }
.field:focus { outline: none; border-color: var(--accent); }
.form-msg { font-weight: 600; font-size: 0.95rem; }
.form-msg--error { color: #a3123f; }
@media (max-width: 749px) {
  .signup { grid-template-columns: 1fr; }
  .field-row { flex-direction: column; }
}

/* ---------- Footer ---------- */
.site-footer { background: var(--ground); padding-block: var(--space-5) var(--space-3); border-top: 1px solid var(--ink-faint); }
.site-footer__top { display: grid; grid-template-columns: 1.4fr repeat(3, minmax(0, 1fr)); gap: var(--space-4); padding-bottom: var(--space-4); }
.site-footer__big { font-family: var(--font-display); font-stretch: 145%; font-weight: 900; letter-spacing: -0.045em; line-height: 0.9; font-size: min(7.7vw, 8.25rem); white-space: nowrap; overflow: hidden; color: var(--ink); margin-top: var(--space-4); padding-bottom: 0.08em; }
.site-footer__big span { color: var(--accent); }
.site-footer h2 { font-weight: 700; font-size: 1rem; margin-bottom: 0.85rem; color: var(--ink-soft); }
.site-footer ul { list-style: none; display: grid; gap: 0.35rem; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.site-footer__bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; padding-top: var(--space-3); border-top: 1px solid var(--ink-faint); font-size: 0.875rem; color: var(--ink-soft); }
.socials { display: flex; gap: 0.25rem; }
.payment-icons { display: flex; gap: 0.4rem; flex-wrap: wrap; list-style: none; }
.payment-icons svg { width: 38px; height: 24px; }
@media (max-width: 749px) { .site-footer__top { grid-template-columns: 1fr 1fr; } .site-footer__top > :first-child { grid-column: 1 / -1; } }

/* ---------- Product page ---------- */
.product { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.product__gallery { display: grid; gap: 1rem; }
.product__gallery-track { display: grid; gap: 1rem; grid-template-columns: 1fr 1fr; }
.product__gallery-track > :first-child { grid-column: 1 / -1; }
.gallery-frame { border-radius: 16px; overflow: hidden; background: var(--ground-deep); aspect-ratio: 1; }
.gallery-frame img { width: 100%; height: 100%; object-fit: cover; }
.gallery-frame .placeholder-svg { width: 100%; height: 100%; fill: var(--ink-faint); padding: 18%; }
.gallery-count { display: none; }
.product__info { position: sticky; top: 96px; display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--space-3); }
.product > *, .product__info > *, .product__gallery > * { min-width: 0; }
.product__title { font-size: clamp(2rem, 4vw, 3.25rem); }
.variant-group { border: 0; padding: 0; margin: 0; display: grid; gap: 0.6rem; }
.variant-group legend { font-weight: 700; margin-bottom: 0.6rem; }
.variant-pills { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.variant-pills input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.variant-pills label {
  display: inline-flex; align-items: center; min-height: 48px; padding: 0 1.15rem; border-radius: var(--radius-pill);
  box-shadow: inset 0 0 0 2px var(--ink-faint); cursor: pointer; font-weight: 600;
  transition: box-shadow 200ms ease, background-color 200ms ease, color 200ms ease;
}
.variant-pills label:hover { box-shadow: inset 0 0 0 2px var(--ink); }
.variant-pills input:checked + label { background: var(--tag); color: var(--tag-ink); box-shadow: none; }
.variant-pills input:focus-visible + label { outline: 3px solid var(--accent); outline-offset: 3px; }
.qty { display: inline-flex; align-items: center; border-radius: var(--radius-pill); box-shadow: inset 0 0 0 2px var(--ink-faint); height: 56px; }
.qty button { width: 48px; height: 100%; background: transparent; border: 0; border-radius: var(--radius-pill); display: grid; place-items: center; }
.qty button svg { width: 18px; height: 18px; }
.qty input { width: 3rem; text-align: center; border: 0; background: transparent; font-weight: 700; font-variant-numeric: tabular-nums; -moz-appearance: textfield; appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.product-form__row { display: flex; gap: 0.75rem; align-items: center; flex-wrap: wrap; }
.product-form__row .btn { flex: 1 1 14rem; }
.product__desc { color: var(--ink-soft); }
.accordion { border-top: 1px solid var(--ink-faint); }
.accordion details { border-bottom: 1px solid var(--ink-faint); }
.accordion summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; padding: 1rem 0; font-weight: 700; min-height: 56px; }
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary svg { width: 20px; height: 20px; color: var(--accent); transition: transform 300ms var(--ease-out); }
.accordion details[open] summary svg { transform: rotate(45deg); }
.accordion__body { padding-bottom: 1.25rem; color: var(--ink-soft); }
.product__demo { margin-top: var(--space-2); border-radius: 22px; padding: clamp(1.25rem, 3vw, 2rem); display: grid; }

/* ---------- Rating, benefits, bundles ---------- */
.rating { display: inline-flex; align-items: center; gap: 0.55rem; flex-wrap: wrap; text-decoration: none; font-size: 0.95rem; }
.rating:hover .rating__text { text-decoration: underline; text-decoration-color: var(--accent); }
.rating__stars { position: relative; display: inline-block; line-height: 0; }
.rating__row { display: inline-flex; gap: 2px; color: rgba(var(--ink-rgb), 0.16); }
.rating__row svg { width: 19px; height: 19px; flex: none; }
.rating__row--on { position: absolute; top: 0; left: 0; bottom: 0; width: var(--fill, 100%); overflow: hidden; color: #f5b417; }
@media (max-width: 380px) { .rating { font-size: 0.88rem; gap: 0.4rem; } .rating__row svg { width: 16px; height: 16px; } }
.rating__text b { font-weight: 800; }

.benefits { list-style: none; display: grid; gap: 0.55rem; font-size: 1.08rem; }
.benefits li { display: grid; grid-template-columns: 1.9rem 1fr; align-items: start; gap: 0.5rem; }
.benefits__icon { font-size: 1.3rem; line-height: 1.25; }

.bundles { border: 0; margin: 0.5rem 0 0; padding: 0; display: grid; gap: 1.6rem; }
.bundle {
  position: relative;
  border-radius: 18px;
  background: var(--tag);
  box-shadow: inset 0 0 0 2px color-mix(in srgb, var(--accent) 32%, transparent);
  transition: background-color 220ms ease, box-shadow 220ms ease, transform 220ms var(--ease-out);
}
.bundle:hover { box-shadow: inset 0 0 0 2px color-mix(in srgb, var(--accent) 60%, transparent); }
.bundle.is-selected, .bundle:has(.bundle__input:checked) {
  background: color-mix(in srgb, var(--accent) 9%, var(--tag));
  box-shadow: inset 0 0 0 2.5px var(--accent), 0 14px 26px -18px color-mix(in srgb, var(--accent) 80%, transparent);
}
.bundle__input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.bundle__input:focus-visible + .bundle__main { outline: 3px solid var(--accent); outline-offset: 4px; border-radius: 18px; }
.bundle__main {
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 0.9rem;
  padding: 1.5rem 1.15rem 1.15rem; cursor: pointer; color: var(--tag-ink);
}
.bundle__img { width: 48px; height: 64px; border-radius: 10px; overflow: hidden; background: color-mix(in srgb, var(--accent) 12%, var(--tag)); }
.bundle__img img { width: 100%; height: 100%; object-fit: cover; }
.bundle__text { display: grid; gap: 0.2rem; min-width: 0; }
.bundle__title { font-family: var(--font-display); font-stretch: 112%; font-weight: 820; font-size: 1.22rem; line-height: 1.1; letter-spacing: -0.015em; }
.bundle__sub { font-size: 0.95rem; color: var(--tag-ink-soft); }
.bundle__price { display: grid; justify-items: end; gap: 0.15rem; }
.bundle__now { font-family: var(--font-display); font-weight: 820; font-size: 1.3rem; letter-spacing: -0.01em; font-variant-numeric: tabular-nums; }
.bundle__was { color: var(--accent); font-weight: 600; font-variant-numeric: tabular-nums; }
.bundle__badge {
  position: absolute; top: -13px; right: 16px;
  padding: 0.3rem 0.85rem; border-radius: 8px;
  background: var(--accent); color: var(--accent-ink);
  font-family: var(--font-display); font-stretch: 110%; font-weight: 800; font-size: 0.85rem; line-height: 1.1;
  box-shadow: 0 6px 14px -8px color-mix(in srgb, var(--accent) 90%, transparent);
}
.bundle__save {
  position: absolute; top: -12px; left: 16px;
  padding: 0.22rem 0.8rem; border-radius: var(--radius-pill);
  background: var(--tag); color: var(--tag-ink);
  box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--accent) 55%, transparent);
  font-size: 0.8rem; font-weight: 700; line-height: 1.2;
}
.bundle__save[hidden], .bundle__sub[hidden], .bundle__was[hidden] { display: none; }
.bundle__extra { display: flex; flex-wrap: wrap; gap: 0.75rem; padding: 0 1.15rem 1.15rem calc(1.15rem + 48px + 0.9rem); color: var(--tag-ink); }
.bundle__field { display: grid; gap: 0.3rem; min-width: 11rem; flex: 1 1 11rem; max-width: 16rem; }
.bundle__field label { font-weight: 600; font-size: 0.95rem; }
.bundle__field .select { background-color: var(--tag); border-color: rgba(var(--tag-ink-rgb), 0.55); color: var(--tag-ink); min-height: 46px; }
.btn--buy { min-height: 60px; font-size: 1.15rem; }
.bundles + input + .btn--buy { margin-top: 1.4rem; }
.buy-now { margin-top: 0.75rem; }
.buy-now .shopify-payment-button__button--unbranded {
  min-height: 60px; border-radius: var(--radius-pill);
  background: var(--ink); color: var(--ground);
  font-family: var(--font-display); font-stretch: 112%; font-weight: 800; font-size: 1.15rem; letter-spacing: -0.01em;
  transition: transform 220ms var(--ease-out), filter 220ms ease;
}
.buy-now .shopify-payment-button__button--unbranded:hover:not([disabled]) { background: var(--ink); filter: brightness(1.25); transform: translateY(-2px); }
.buy-now .shopify-payment-button__button--branded { border-radius: var(--radius-pill); overflow: hidden; min-height: 60px; }
.buy-now .shopify-payment-button__more-options { color: var(--ink-soft); }
@media (max-width: 420px) {
  .bundle__main { gap: 0.7rem; padding-inline: 0.9rem; }
  .bundle__title { font-size: 1.1rem; }
  .bundle__now { font-size: 1.15rem; }
  .bundle__extra { padding-left: 0.9rem; }
}

.sticky-buy {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
  display: none; align-items: center; gap: 0.75rem;
  padding: 0.75rem var(--gutter) calc(0.75rem + env(safe-area-inset-bottom));
  background: color-mix(in srgb, var(--ground) 94%, transparent);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border-top: 1px solid var(--ink-faint);
  transform: translateY(110%); transition: transform 380ms var(--ease-out);
}
.sticky-buy.is-visible { transform: none; }
.sticky-buy__meta { flex: 1; min-width: 0; }
.sticky-buy__title { font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: 0.95rem; }
.sticky-buy__price { font-weight: 800; font-variant-numeric: tabular-nums; }
.sticky-buy .btn { min-height: 50px; padding: 0 1.4rem; }

@media (max-width: 899px) {
  .product { grid-template-columns: minmax(0, 1fr); }
  .product__info { position: static; }
  .product__gallery-track {
    display: grid; grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: 100%;
    overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
    margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); gap: 0.75rem; scroll-padding-inline: var(--gutter);
  }
  .product__gallery-track::-webkit-scrollbar { display: none; }
  .product__gallery-track > * { scroll-snap-align: start; }
  .product__gallery-track > :first-child { grid-column: auto; }
  .gallery-count { display: block; font-size: 0.875rem; color: var(--ink-soft); text-align: center; }
  .sticky-buy { display: flex; }
  .template-product .site-footer { padding-bottom: 6rem; }
}

/* ---------- Collection / grid pages ---------- */
.page-head { padding-block: var(--space-5) var(--space-4); display: grid; gap: var(--space-2); }
.page-head .lede { max-width: 60ch; }
.toolbar { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; margin-bottom: var(--space-4); color: var(--ink-soft); }
.select {
  min-height: 48px; padding: 0 2.5rem 0 1rem; border-radius: var(--radius-pill);
  border: 2px solid var(--ink-faint); background: var(--ground); color: var(--ink);
  -webkit-appearance: none; appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, currentColor 50%), linear-gradient(135deg, currentColor 50%, transparent 50%);
  background-position: calc(100% - 20px) 50%, calc(100% - 15px) 50%; background-size: 5px 5px; background-repeat: no-repeat;
}
.tag-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2.75rem 1.5rem; }
@media (max-width: 989px) { .tag-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2.25rem 1rem; } }
.tag-grid .tag { padding: 2.2rem 0.9rem 1rem; }
.pagination { display: flex; justify-content: center; gap: 0.5rem; margin-top: var(--space-5); list-style: none; }
.pagination a, .pagination span { display: inline-grid; place-items: center; min-width: 48px; height: 48px; padding: 0 0.75rem; border-radius: var(--radius-pill); text-decoration: none; font-weight: 700; }
.pagination a { box-shadow: inset 0 0 0 2px var(--ink-faint); }
.pagination [aria-current='page'] { background: var(--tag); color: var(--tag-ink); }
.empty-state { display: grid; gap: var(--space-3); justify-items: start; padding-block: var(--space-4); }

/* ---------- Cart (drawer + page share one body) ---------- */
html.cart-open { overflow: hidden; }
.cart-drawer { position: fixed; inset: 0; z-index: 90; }
.cart-drawer[hidden] { display: none; }
.cart-drawer__backdrop {
  position: absolute; inset: 0; background: rgba(var(--ink-rgb), 0.42);
  -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px);
  opacity: 0; transition: opacity 300ms ease;
}
.cart-drawer__panel {
  position: absolute; top: 0; right: 0; bottom: 0;
  width: min(460px, 100vw); height: 100%; height: 100dvh;
  background: var(--ground); color: var(--ink);
  box-shadow: -30px 0 60px -30px rgba(var(--shadow-rgb), 0.5);
  transform: translateX(104%); transition: transform 460ms var(--ease-out);
  outline: none;
}
.cart-drawer.is-open .cart-drawer__backdrop { opacity: 1; }
.cart-drawer.is-open .cart-drawer__panel { transform: none; }
@media (prefers-reduced-motion: reduce) { .cart-drawer__panel, .cart-drawer__backdrop { transition-duration: 1ms; } }
.cart-drawer__inner { display: grid; grid-template-rows: auto minmax(0, 1fr); height: 100%; }
.cart-drawer__head {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1rem 0.75rem 0.9rem 1.25rem; border-bottom: 1px solid var(--ink-faint);
}
.cart-drawer__title { font-size: 1.55rem; display: flex; align-items: baseline; gap: 0.6rem; flex-wrap: wrap; }
.cart-drawer__count, .cart-page__count {
  font-size: 0.95rem; padding: 0.3rem 0.6rem 0.25rem; border-radius: var(--radius-pill);
  background: var(--ground-deep); color: var(--ink); letter-spacing: 0.02em;
}
.cart-page__head { grid-template-columns: auto auto; justify-content: start; align-items: baseline; gap: 1rem; }
.cart-page__back {
  grid-column: 1 / -1; grid-row: 1; justify-self: start; display: inline-flex; align-items: center; gap: 0.3rem; min-height: 44px;
  font-weight: 700; text-decoration: none; color: var(--ink-soft);
}
.cart-page__back:hover { color: var(--accent); }
.cart-page__back svg { width: 16px; height: 16px; }
.cart-drawer__close {
  width: 48px; height: 48px; border: 0; border-radius: 50%; background: transparent; color: var(--ink);
  display: grid; place-items: center; transition: background 200ms ease, transform 300ms var(--ease-out);
}
.cart-drawer__close:hover { background: var(--ground-deep); transform: rotate(90deg); }
.cart-drawer__close svg { width: 20px; height: 20px; }

.cart-body { position: relative; display: grid; min-height: 0; }
.cart-body--drawer { grid-template-rows: minmax(0, 1fr) auto; }
.cart-body__scroll {
  overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch;
  padding: 1rem 1.25rem 1.5rem; display: grid; gap: 1rem; align-content: start;
}
.cart-body.is-busy .cart-body__scroll, .cart-body.is-busy .cart-foot { opacity: 0.6; pointer-events: none; transition: opacity 150ms ease; }
.cart-body.is-busy::before {
  content: ''; position: absolute; left: 0; right: 0; top: 0; height: 3px; z-index: 2;
  background: linear-gradient(90deg, transparent, var(--accent), transparent); background-size: 50% 100%; background-repeat: no-repeat;
  animation: cart-load 900ms linear infinite;
}
@keyframes cart-load { from { background-position: -50% 0; } to { background-position: 150% 0; } }
.cart-error {
  margin: 0.75rem 1.25rem 0; padding: 0.7rem 1rem; border-radius: 12px; font-weight: 600; font-size: 0.95rem;
  background: color-mix(in srgb, var(--accent) 12%, var(--tag)); color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--accent);
}

/* free shipping bar: a tag sliding along the ring rail */
.ship-bar { display: grid; gap: 0.9rem; padding: 0.95rem 1rem 1.15rem; border-radius: 16px; background: var(--tag); box-shadow: inset 0 0 0 1px var(--ink-faint); }
.ship-bar__msg { display: flex; align-items: center; gap: 0.6rem; font-size: 0.97rem; line-height: 1.35; }
.ship-bar__msg svg { width: 22px; height: 22px; flex: none; color: var(--accent); }
.ship-bar__msg b { color: var(--accent); font-weight: 800; }
.ship-bar__rail {
  position: relative; height: 8px; border-radius: 8px; margin-inline: 4px;
  background: linear-gradient(180deg, var(--metal-hi) 0%, var(--metal-mid) 50%, var(--metal-lo) 100%);
  box-shadow: 0 2px 4px -2px rgba(var(--shadow-rgb), 0.4);
}
.ship-bar__fill {
  position: absolute; left: 0; top: 0; bottom: 0; width: var(--pct); border-radius: inherit;
  background: linear-gradient(90deg, color-mix(in srgb, var(--accent) 70%, #fff), var(--accent));
  transition: width 700ms var(--ease-out);
}
.ship-bar__tag {
  position: absolute; top: 50%; left: var(--pct); width: 18px; height: 22px; margin: -6px 0 0 -9px;
  background: var(--tag); border-radius: 5px 5px 4px 4px; box-shadow: 0 6px 10px -4px rgba(var(--shadow-rgb), 0.5), inset 0 0 0 1.5px var(--accent);
  transition: left 700ms var(--ease-out);
}
.ship-bar__tag::before { content: ''; position: absolute; top: 4px; left: 50%; width: 6px; height: 6px; margin-left: -3px; border-radius: 50%; background: var(--accent); }
.ship-bar.is-done { background: color-mix(in srgb, var(--accent) 9%, var(--tag)); box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--accent) 45%, transparent); }
.ship-bar.is-done .ship-bar__tag { animation: tag-swing 900ms var(--ease-out) 1; transform-origin: 50% -4px; }
@keyframes tag-swing { 0% { transform: rotate(0); } 25% { transform: rotate(16deg); } 55% { transform: rotate(-9deg); } 80% { transform: rotate(4deg); } 100% { transform: rotate(0); } }
@media (prefers-reduced-motion: reduce) { .ship-bar__fill, .ship-bar__tag { transition: none; } .ship-bar.is-done .ship-bar__tag { animation: none; } }

/* won-the-game banner */
.cart-game {
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 0.75rem;
  padding: 0.7rem 0.75rem 0.7rem 0.7rem; border-radius: 16px;
  background: var(--stage); color: var(--stage-ink);
}
.cart-game[hidden] { display: none; }
.cart-game__badge { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: var(--accent-ink); font-size: 1.25rem; }
.cart-game__msg { font-weight: 600; font-size: 0.94rem; line-height: 1.35; }
.cart-game__apply {
  min-height: 44px; display: inline-flex; align-items: center; padding: 0 1rem; border-radius: var(--radius-pill);
  background: var(--stage-ink); color: var(--stage); font-weight: 800; text-decoration: none; white-space: nowrap;
}
.cart-game__apply[hidden] { display: none; }
.cart-game.is-applied { grid-template-columns: auto minmax(0, 1fr); }

/* line items */
.cart-items { list-style: none; display: grid; gap: 0.75rem; }
.cart-item {
  display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: 0.9rem; padding: 0.75rem;
  border-radius: 16px; background: var(--tag); color: var(--tag-ink);
  box-shadow: 0 10px 22px -18px rgba(var(--shadow-rgb), 0.45), inset 0 0 0 1px rgba(var(--tag-ink-rgb), 0.08);
  transition: opacity 250ms ease, transform 300ms var(--ease-out);
}
.cart-item.is-leaving { opacity: 0.35; transform: translateX(14px); }
.cart-item__img { width: 92px; height: 92px; border-radius: 12px; overflow: hidden; background: var(--ground-deep); align-self: start; }
.cart-item__img img { width: 100%; height: 100%; object-fit: cover; }
.cart-item__main { display: grid; gap: 0.45rem; min-width: 0; align-content: start; }
.cart-item__top { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 0.25rem; align-items: start; }
.cart-item__title { font-weight: 700; line-height: 1.3; text-decoration: none; padding-top: 0.15rem; }
.cart-item__title:hover { text-decoration: underline; text-decoration-color: var(--accent); }
.cart-item__remove {
  width: 40px; height: 40px; margin: -0.4rem -0.4rem 0 0; border: 0; border-radius: 50%; background: transparent;
  color: var(--tag-ink-soft); display: grid; place-items: center; transition: background 200ms ease, color 200ms ease;
}
.cart-item__remove:hover { background: var(--ground); color: var(--accent); }
.cart-item__remove svg { width: 16px; height: 16px; }
.cart-item__chips { list-style: none; display: flex; flex-wrap: wrap; gap: 0.35rem; }
.cart-item__chips li { font-size: 0.8rem; font-weight: 600; padding: 0.15rem 0.6rem; border-radius: var(--radius-pill); background: var(--ground); color: var(--tag-ink); }
.cart-item__disc { display: flex; align-items: center; gap: 0.35rem; font-size: 0.85rem; font-weight: 600; color: var(--accent); }
.cart-item__disc svg { width: 14px; height: 14px; }
.cart-item__bottom { display: flex; align-items: center; justify-content: space-between; gap: 0.5rem; flex-wrap: wrap; margin-top: 0.15rem; }
.qty--s { height: 44px; }
.qty--s button { width: 40px; }
.qty--s button svg { width: 15px; height: 15px; }
.qty--s input { width: 2.1rem; font-size: 0.98rem; }
.cart-item__price { display: grid; justify-items: end; gap: 0.1rem; text-align: right; font-variant-numeric: tabular-nums; }
.cart-item__now { font-family: var(--font-display); font-stretch: 100%; font-weight: 820; font-size: 1.12rem; letter-spacing: -0.01em; }
.cart-item__price s { font-size: 0.82rem; color: var(--tag-ink-soft); }
.save-pill {
  display: inline-block; font-size: 0.76rem; font-weight: 800; padding: 0.15rem 0.55rem; border-radius: var(--radius-pill);
  background: color-mix(in srgb, var(--accent) 13%, transparent); color: var(--accent); white-space: nowrap;
}
.save-pill--solid { background: var(--accent); color: var(--accent-ink); }

/* bundle upgrade: the one loud moment in the cart */
.cart-upgrade {
  position: relative; display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 0.75rem 0.9rem;
  padding: 1rem; border-radius: 18px; background: var(--stage); color: var(--stage-ink);
  box-shadow: 0 18px 30px -22px rgba(var(--shadow-rgb), 0.7);
}
.cart-upgrade__art { position: relative; width: 76px; height: 76px; border-radius: 12px; overflow: visible; background: var(--stage-deep); }
.cart-upgrade__art img { width: 100%; height: 100%; object-fit: cover; border-radius: 12px; }
.cart-upgrade__x2 {
  position: absolute; right: -8px; bottom: -8px; min-width: 34px; height: 34px; padding: 0 0.35rem; border-radius: 999px;
  display: grid; place-items: center; background: var(--accent); color: var(--accent-ink); font-size: 1.05rem;
  box-shadow: 0 0 0 3px var(--stage);
}
.cart-upgrade__copy { display: grid; gap: 0.35rem; align-content: center; justify-items: start; min-width: 0; }
.cart-upgrade__title { font-family: var(--font-display); font-stretch: 112%; font-weight: 800; font-size: 1.08rem; line-height: 1.15; letter-spacing: -0.01em; }
.cart-upgrade__text { font-size: 0.88rem; line-height: 1.4; color: rgba(var(--stage-ink-rgb), 0.82); }
.cart-upgrade__actions { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 0.5rem; }
.cart-upgrade__btn { min-height: 48px; padding: 0 1.4rem; font-size: 1rem; box-shadow: none; }
.cart-select { position: relative; }
.cart-select select {
  width: 100%; min-height: 48px; padding: 0 2.4rem 0 1rem; border-radius: var(--radius-pill); appearance: none; -webkit-appearance: none;
  font-weight: 600; font-size: 0.95rem; border: 0; cursor: pointer;
  background: rgba(var(--stage-ink-rgb), 0.12); color: var(--stage-ink); box-shadow: inset 0 0 0 1.5px rgba(var(--stage-ink-rgb), 0.3);
}
.cart-select select option { color: #111; }
.cart-select svg { position: absolute; right: 0.9rem; top: 50%; width: 16px; height: 16px; margin-top: -8px; pointer-events: none; }
.cart-select--s select { min-height: 40px; font-size: 0.85rem; background: var(--ground); color: var(--tag-ink); box-shadow: inset 0 0 0 1px var(--ink-faint); }

/* add-ons */
.cart-addons { display: grid; gap: 0.6rem; }
.cart-addons__title { font-family: var(--font-display); font-stretch: 112%; font-weight: 800; font-size: 1.05rem; }
.cart-addons__list { list-style: none; display: grid; gap: 0.5rem; }
.cart-addon {
  display: grid; grid-template-columns: 60px minmax(0, 1fr) auto; gap: 0.75rem; align-items: center;
  padding: 0.6rem; border-radius: 14px; box-shadow: inset 0 0 0 1px var(--ink-faint);
}
.cart-addon__img { width: 60px; height: 60px; border-radius: 10px; overflow: hidden; background: var(--ground-deep); }
.cart-addon__img img { width: 100%; height: 100%; object-fit: cover; }
.cart-addon__copy { display: grid; gap: 0.25rem; min-width: 0; }
.cart-addon__name { font-weight: 700; font-size: 0.94rem; line-height: 1.25; text-decoration: none; }
.cart-addon__price { font-size: 0.9rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.cart-addon__price s { font-weight: 500; color: var(--ink-soft); margin-left: 0.25rem; }
.cart-addon__add {
  min-height: 44px; display: inline-flex; align-items: center; gap: 0.3rem; padding: 0 0.95rem; border: 0; border-radius: var(--radius-pill);
  background: var(--ink); color: var(--ground); font-weight: 800; font-size: 0.9rem; transition: transform 200ms var(--ease-out), background 200ms ease;
}
.cart-addon__add:hover { background: var(--accent); color: var(--accent-ink); transform: translateY(-1px); }
.cart-addon__add svg { width: 14px; height: 14px; }

.cart-quote { margin: 0; padding: 1rem 1.1rem; border-radius: 16px; background: var(--ground-deep); display: grid; gap: 0.45rem; }
.cart-quote__stars { display: flex; gap: 2px; color: var(--accent); }
.cart-quote__stars svg { width: 15px; height: 15px; flex: none; }
.cart-quote blockquote { margin: 0; font-size: 0.95rem; line-height: 1.45; font-weight: 500; }
.cart-quote figcaption { font-size: 0.85rem; font-weight: 700; color: var(--ink-soft); }

/* footer: summary + checkout, always in reach */
.cart-foot {
  display: grid; gap: 0.6rem; padding: 0.85rem 1.25rem calc(1rem + env(safe-area-inset-bottom));
  background: var(--tag); color: var(--tag-ink);
  box-shadow: 0 -16px 30px -24px rgba(var(--shadow-rgb), 0.55); border-top: 1px solid rgba(var(--tag-ink-rgb), 0.08);
}
.cart-note { border-top: 1px solid var(--ink-faint); padding-top: 0.25rem; }
.cart-note summary {
  display: flex; align-items: center; justify-content: space-between; min-height: 40px; cursor: pointer; list-style: none;
  font-weight: 600; font-size: 0.92rem;
}
.cart-note summary::-webkit-details-marker { display: none; }
.cart-note summary svg { width: 14px; height: 14px; transition: transform 250ms var(--ease-out); }
.cart-note[open] summary svg { transform: rotate(45deg); }
.cart-note textarea { width: 100%; border-radius: 12px; border: 1.5px solid rgba(var(--tag-ink-rgb), 0.2); background: transparent; color: var(--tag-ink); padding: 0.6rem 0.75rem; resize: vertical; }
.cart-sum { display: grid; gap: 0.4rem; }
.cart-sum__label { display: grid; gap: 0.15rem; }
.cart-sum__save { display: inline-flex; align-items: center; gap: 0.3rem; color: var(--accent); font-weight: 800; font-size: 0.86rem; }
.cart-sum__save svg { width: 14px; height: 14px; }
.cart-sum__row { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; font-variant-numeric: tabular-nums; }
.cart-sum__row--disc { font-size: 0.92rem; font-weight: 600; color: var(--accent); }
.cart-sum__row--disc span:first-child { display: inline-flex; align-items: center; gap: 0.35rem; }
.cart-sum__row--disc svg { width: 14px; height: 14px; }
.cart-sum__row--total { font-weight: 700; align-items: center; }
.cart-sum__total { font-family: var(--font-display); font-stretch: 100%; font-weight: 860; font-size: 1.5rem; letter-spacing: -0.02em; }
.cart-checkout { min-height: 60px; justify-content: flex-start; padding: 0 1.4rem; font-size: 1.12rem; }
.cart-checkout svg { width: 18px; height: 18px; flex: none; }
.cart-checkout__total {
  margin-left: auto; padding-left: 0.9rem; border-left: 1.5px solid color-mix(in srgb, var(--accent-ink) 40%, transparent);
  font-variant-numeric: tabular-nums;
}
.cart-express { min-height: 0; }
.cart-trust { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 0.35rem 1rem; font-size: 0.82rem; font-weight: 600; color: var(--tag-ink-soft); }
.cart-trust li { display: inline-flex; align-items: center; gap: 0.35rem; }
.cart-trust li[hidden] { display: none; }
.cart-trust svg { width: 15px; height: 15px; color: var(--accent); flex: none; }
.cart-pay { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 0.35rem; }
.cart-pay__icon { width: 32px; height: 20px; }
.cart-body--drawer .cart-foot__note { display: none; }
.cart-tax { font-size: 0.8rem; color: var(--ink-soft); text-align: center; }
.cart-foot__note { text-align: center; font-size: 0.78rem; color: var(--tag-ink-soft); }

/* empty cart */
.cart-empty { display: grid; justify-items: center; align-content: center; gap: 1.25rem; padding: 2.5rem 1.25rem; text-align: center; }
.cart-empty__ring { position: relative; width: 150px; height: 92px; }
.cart-empty__ring .ring-rail { position: absolute; left: 0; right: 0; top: 10px; display: block; }
.cart-empty__tag {
  position: absolute; left: 50%; top: 16px; width: 56px; height: 70px; margin-left: -28px;
  background: var(--tag); border-radius: 14px 14px 10px 10px; box-shadow: var(--shadow-hang);
  transform-origin: 50% -6px; animation: tag-sway 3.6s var(--ease-in-out) infinite;
}
.cart-empty__tag::before { content: ''; position: absolute; top: 10px; left: 50%; width: 12px; height: 12px; margin-left: -6px; border-radius: 50%; background: var(--ground); box-shadow: inset 0 2px 3px rgba(0, 0, 0, 0.45); }
@keyframes tag-sway { 0%, 100% { transform: rotate(-6deg); } 50% { transform: rotate(6deg); } }
@media (prefers-reduced-motion: reduce) { .cart-empty__tag { animation: none; } }
.cart-empty__lede { font-size: 1.05rem; color: var(--ink-soft); max-width: 26ch; text-wrap: balance; }
.cart-empty__product {
  display: grid; grid-template-columns: 64px minmax(0, 1fr); grid-template-rows: auto auto; column-gap: 0.85rem; align-items: center;
  width: 100%; max-width: 340px; padding: 0.6rem; border-radius: 14px; background: var(--tag); color: var(--tag-ink);
  text-decoration: none; text-align: left; box-shadow: inset 0 0 0 1px var(--ink-faint);
}
.cart-empty__product img { grid-row: span 2; width: 64px; height: 64px; object-fit: cover; border-radius: 10px; }
.cart-empty__name { font-weight: 700; align-self: end; }
.cart-empty__price { font-weight: 700; font-size: 0.9rem; align-self: start; font-variant-numeric: tabular-nums; }
.cart-empty__price s { font-weight: 500; color: var(--tag-ink-soft); }

/* cart page: same body, two columns on wide screens */
.cart-page { padding-bottom: var(--space-6); }
.cart-body--page .cart-body__scroll { padding: 0; overflow: visible; }
.cart-body--page .cart-foot { margin-top: 1.25rem; border-radius: 20px; padding: 1.25rem; box-shadow: var(--shadow-hang); border: 0; }
.cart-body--page .cart-error { margin: 0 0 1rem; }
.cart-body--page .cart-empty { justify-items: start; text-align: left; padding-inline: 0; }
@media (min-width: 900px) {
  .cart-body--page:has(.cart-foot) { grid-template-columns: minmax(0, 1fr) minmax(320px, 400px); gap: var(--space-4); align-items: start; }
  .cart-body--page .cart-foot { margin-top: 0; position: sticky; top: 110px; }
  .cart-body--page .cart-item { grid-template-columns: 120px minmax(0, 1fr); padding: 1rem; }
  .cart-body--page .cart-item__img { width: 120px; height: 120px; }
}
@media (max-width: 380px) {
  .cart-item { grid-template-columns: 72px minmax(0, 1fr); }
  .cart-item__img { width: 72px; height: 72px; }
  .cart-checkout { padding: 0 1.1rem; font-size: 1.02rem; }
}
}

/* ---------- Toast ---------- */
.cart-toast {
  position: fixed; z-index: 60; right: var(--gutter); top: 88px;
  display: flex; align-items: center; gap: 1rem;
  max-width: min(420px, calc(100vw - 2 * var(--gutter)));
  padding: 1rem 1rem 1rem 1.25rem;
  opacity: 0; transform: translateY(-14px) rotate(-2deg); pointer-events: none;
  transition: opacity 260ms ease, transform 500ms var(--ease-out);
}
.cart-toast.is-open { opacity: 1; transform: none; pointer-events: auto; }
.cart-toast.tag { padding-top: 1rem; }
.cart-toast.tag::before { display: none; }
.cart-toast__msg { font-weight: 700; flex: 1; }
.cart-toast .btn { min-height: 44px; padding: 0 1.1rem; font-size: 0.95rem; }
.cart-toast__close { background: transparent; border: 0; width: 44px; height: 44px; display: grid; place-items: center; color: var(--tag-ink); border-radius: 50%; }
.cart-toast__close svg { width: 18px; height: 18px; }

/* ---------- Misc pages ---------- */
.article { max-width: 46rem; margin-inline: auto; }
.article__img { border-radius: 16px; overflow: hidden; margin-block: var(--space-4); }
.post-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-4) 1.5rem; }
.post-card { display: grid; gap: 0.75rem; text-decoration: none; }
.post-card__img { aspect-ratio: 4 / 3; border-radius: 14px; overflow: hidden; background: var(--ground-deep); }
.post-card__img img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 749px) { .post-list { grid-template-columns: 1fr; } }
.search-form { display: flex; gap: 0.6rem; max-width: 36rem; }
@media (max-width: 549px) { .search-form { flex-direction: column; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 1ms !important; animation-duration: 1ms !important; }
}

/* ---------- Snip the splits: discount game pop-up ---------- */
html.snip-open { overflow: hidden; }
.snip-pop { position: fixed; inset: 0; z-index: 80; display: grid; place-items: center; padding: 16px; }
.snip-pop[hidden] { display: none; }
.snip-pop__backdrop {
  position: absolute; inset: 0; background: rgba(46, 6, 20, 0.55);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  opacity: 0; transition: opacity 250ms ease;
}
.snip-pop__card {
  --bright: #ff7ab3;
  position: relative; width: min(420px, 100%); max-height: calc(100vh - 32px); overflow-y: auto;
  border-radius: 26px; padding: 3rem 1.4rem 1.4rem;
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.7);
  opacity: 0; transform: translateY(18px) scale(0.96);
  transition: opacity 260ms ease, transform 420ms var(--ease-out);
}
.snip-pop.is-open .snip-pop__backdrop { opacity: 1; }
.snip-pop.is-open .snip-pop__card { opacity: 1; transform: none; }
.snip-pop__close {
  position: absolute; top: 10px; right: 10px; width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center; background: transparent; border: 0; color: var(--ink);
}
.snip-pop__close:hover { background: var(--ink-faint); }
.snip-pop__close svg { width: 20px; height: 20px; }
.snip-step { display: none; gap: 0.9rem; text-align: center; }
.snip-pop__card[data-state='intro'] .snip-step--intro,
.snip-pop__card[data-state='play'] .snip-step--play,
.snip-pop__card[data-state='win'] .snip-step--win,
.snip-pop__card[data-state='lose'] .snip-step--lose { display: grid; }
.snip-pop__big { font-size: clamp(3.4rem, 17vw, 5.4rem); color: var(--bright); line-height: 0.9; }
.snip-step--win .snip-pop__big, .snip-step--lose .snip-pop__big { font-size: clamp(2.4rem, 10vw, 3.4rem); color: var(--ink); }
.snip-pop__lede { color: var(--ink-soft); font-size: 1.05rem; max-width: 30ch; margin-inline: auto; }
.snip-pop__later { background: none; border: 0; color: var(--ink-soft); text-decoration: underline; text-underline-offset: 0.2em; padding: 0.5rem; min-height: 44px; }
.snip-pop__setup { font-size: 0.85rem; color: var(--ink-soft); border: 1px dashed var(--ink-faint); border-radius: 12px; padding: 0.6rem 0.8rem; }
.snip-pop .btn { --btn-bg: var(--accent); }

.snip-hud { display: grid; gap: 0.6rem; }
.snip-hud__count { font-weight: 600; }
.snip-hud__count .code { font-size: 1.5rem; color: var(--bright); }
.snip-hud__timer { height: 8px; border-radius: 8px; background: var(--ink-faint); overflow: hidden; }
.snip-hud__timer span { display: block; height: 100%; background: var(--bright); transform-origin: left center; border-radius: 8px; }
.snip-hud__timer span.is-low { background: #ffb36b; }
.snip-board { position: relative; aspect-ratio: 320 / 260; border-radius: 18px; background: var(--ground-deep); overflow: hidden; touch-action: manipulation; }
.snip-board__art { position: absolute; inset: 0; width: 100%; height: 100%; }
.snip-fray path { filter: drop-shadow(0 0 3px var(--bright)); }
.snip-fray { transform-box: fill-box; transform-origin: center; transition: transform 700ms var(--ease-out), opacity 500ms ease; }
.snip-fray.is-snipped { opacity: 0; transform: translate(var(--fx, 20px), 60px) rotate(45deg); }
.snip-target {
  position: absolute; width: 46px; height: 46px; margin: -23px 0 0 -23px;
  border-radius: 50%; border: 0; background: transparent; padding: 0; cursor: pointer;
}
.snip-target::before {
  content: ''; position: absolute; inset: 9px; border-radius: 50%;
  box-shadow: 0 0 0 2px var(--bright), 0 0 14px 2px rgba(255, 122, 179, 0.55);
  animation: snip-pulse 1.1s ease-in-out infinite;
}
.snip-target:focus-visible { outline: 3px solid #fff; outline-offset: 0; }
.snip-target.is-hit::before { animation: snip-burst 380ms var(--ease-out) forwards; }
.snip-target.is-hit { cursor: default; }
@keyframes snip-pulse { 0%, 100% { transform: scale(0.85); opacity: 0.75; } 50% { transform: scale(1.05); opacity: 1; } }
@keyframes snip-burst { to { transform: scale(1.8); opacity: 0; } }
.snip-pop__hint { font-size: 0.9rem; color: var(--ink-soft); }

.snip-code {
  display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 0.2rem 0.8rem; text-align: left;
  background: var(--tag); color: var(--tag-ink); border-radius: 14px; padding: 0.8rem 0.9rem 0.8rem 1.1rem;
  box-shadow: inset 0 0 0 2px var(--bright);
}
.snip-code__label { font-size: 0.8rem; font-weight: 700; color: var(--tag-ink-soft); grid-column: 1; }
.snip-code__value { font-size: 1.9rem; grid-column: 1; letter-spacing: 0.04em; }
.snip-code__copy {
  grid-column: 2; grid-row: 1 / span 2; min-height: 44px; padding: 0 1rem; border-radius: var(--radius-pill);
  border: 0; background: rgba(var(--tag-ink-rgb), 0.08); color: var(--tag-ink); font-weight: 700;
}
.snip-code__copy:hover { background: rgba(var(--tag-ink-rgb), 0.14); }

.snip-tab {
  position: fixed; left: 16px; bottom: 16px; z-index: 35;
  min-height: 48px; padding: 0 1.2rem; border: 0; border-radius: var(--radius-pill);
  background: var(--accent); color: var(--accent-ink);
  font-family: var(--font-display); font-stretch: 112%; font-weight: 820; font-size: 1rem;
  box-shadow: 0 14px 26px -12px color-mix(in srgb, var(--accent) 85%, transparent);
  transition: transform 220ms var(--ease-out);
}
.snip-tab:hover { transform: translateY(-2px); }
.snip-tab[hidden] { display: none; }
.snip-tab { bottom: calc(16px + var(--sticky-h, 0px)); transition: transform 220ms var(--ease-out), bottom 380ms var(--ease-out); }
@media (prefers-reduced-motion: reduce) {
  .snip-target::before { animation: none; }
  .snip-fray.is-snipped { transform: none; }
}

/* ---------- Product: review slider + trust icons ---------- */
.reviews {
  position: relative; border-radius: 20px; background: var(--tag); color: var(--tag-ink);
  box-shadow: 0 16px 34px -22px rgba(var(--shadow-rgb), 0.45), inset 0 0 0 1px rgba(var(--tag-ink-rgb), 0.06);
}
.reviews { min-width: 0; }
.reviews__track { width: 100%; display: grid; grid-auto-flow: column; grid-auto-columns: 100%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; border-radius: 20px; }
.reviews__track::-webkit-scrollbar { display: none; }
.review { margin: 0; scroll-snap-align: start; display: grid; grid-template-columns: 96px 1fr; gap: 1.1rem; align-items: center; padding: 1.4rem 3.4rem; }
.review__photo { width: 96px; height: 96px; border-radius: 50%; overflow: hidden; background: color-mix(in srgb, var(--accent) 14%, var(--tag)); display: grid; place-items: center; }
.review__photo img { width: 100%; height: 100%; object-fit: cover; }
.review__initial { font-family: var(--font-display); font-weight: 860; font-size: 2.2rem; color: var(--accent); }
.review__body { display: grid; gap: 0.35rem; text-align: center; }
.review__quote { margin: 0; font-size: 1rem; line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical; overflow: hidden; }
.review__name { font-family: var(--font-display); font-stretch: 105%; font-weight: 700; font-style: italic; font-size: 1.15rem; }
.review__stars { display: inline-flex; gap: 2px; justify-content: center; color: #f5b417; }
.review__star svg { width: 17px; height: 17px; }
.review__star.is-off { color: rgba(var(--tag-ink-rgb), 0.18); }
.reviews__arrow {
  position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center; border: 0; background: transparent; color: var(--tag-ink);
}
.reviews__arrow:hover { background: rgba(var(--tag-ink-rgb), 0.06); }
.reviews__arrow[disabled] { opacity: 0.25; cursor: default; }
.reviews__arrow svg { width: 22px; height: 22px; }
.reviews__arrow--prev { left: 4px; }
.reviews__arrow--next { right: 4px; }
@media (max-width: 420px) {
  .review { grid-template-columns: 72px 1fr; padding: 1.2rem 2.8rem; gap: 0.8rem; }
  .review__photo { width: 72px; height: 72px; }
}

.trust { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.75rem; text-align: center; padding-block: 0.5rem; }
.trust__item { display: grid; justify-items: center; gap: 0.5rem; font-size: 0.98rem; line-height: 1.3; }
.trust__icon { width: 42px; height: 42px; color: var(--ink); }
.trust__icon svg { width: 100%; height: 100%; }

/* ---------- Announcement countdown ---------- */
.announcement__inner { display: inline-flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 0.35rem 0.7rem; text-decoration: none; color: inherit; }
a.announcement__inner .announcement__text { text-decoration: underline; text-underline-offset: 0.2em; }
.announcement--timer { padding-block: 0.5rem; }
.countdown { display: inline-flex; gap: 0.3rem; }
.countdown[hidden] { display: none; }
.countdown__unit {
  display: inline-flex; align-items: baseline; gap: 1px;
  padding: 0.12rem 0.45rem; border-radius: 7px;
  background: color-mix(in srgb, var(--accent-ink) 20%, transparent);
  font-size: 0.8rem; font-weight: 700;
}
.countdown__unit b {
  font-family: var(--font-display); font-stretch: 70%; font-weight: 800; font-size: 1.05rem;
  font-variant-numeric: tabular-nums; min-width: 2ch; text-align: center;
}

/* ---------- Delivery promise ---------- */
.delivery { display: flex; align-items: center; gap: 0.65rem; font-size: 0.95rem; line-height: 1.35; }
.delivery__icon {
  flex: none; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center;
  background: color-mix(in srgb, var(--accent) 12%, transparent); color: var(--accent);
}
.delivery__icon svg { width: 18px; height: 18px; }
.delivery b { font-weight: 800; color: var(--accent); white-space: nowrap; }
.delivery--product { margin-top: 0.85rem; padding: 0.7rem 0.9rem; border-radius: 14px; background: var(--tag); box-shadow: inset 0 0 0 1px var(--ink-faint); color: var(--ink); }
.delivery--cart { padding: 0 0.15rem; font-weight: 600; }
.delivery--cart .delivery__icon { width: 30px; height: 30px; }
.delivery.is-live .delivery__icon { animation: delivery-nudge 2.4s var(--ease-in-out) 1; }
@keyframes delivery-nudge { 0%, 100% { transform: none; } 30% { transform: translateX(3px); } 60% { transform: translateX(-1px); } }
@media (prefers-reduced-motion: reduce) { .delivery.is-live .delivery__icon { animation: none; } }

/* ---------- Cart sale countdown ---------- */
.cart-timer {
  display: flex; align-items: center; justify-content: space-between; gap: 0.75rem;
  padding: 0.45rem 0.5rem 0.45rem 0.85rem; border-radius: 12px; background: var(--stage); color: var(--stage-ink);
  font-size: 0.88rem; font-weight: 700;
}
.cart-timer[hidden] { display: none; }
.cart-timer__clock { font-size: 1.1rem; padding: 0.3rem 0.55rem 0.25rem; border-radius: 8px; background: var(--accent); color: var(--accent-ink); letter-spacing: 0.04em; }

/* ---------- Product page: under the buttons ---------- */
.low-stock { display: flex; align-items: center; gap: 0.55rem; margin-top: 0.85rem; font-weight: 700; font-size: 0.95rem; color: var(--accent); }
.low-stock[hidden] { display: none; }
.low-stock__dot { width: 10px; height: 10px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 0 color-mix(in srgb, var(--accent) 60%, transparent); animation: stock-pulse 1.8s ease-out infinite; flex: none; }
@keyframes stock-pulse { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--accent) 55%, transparent); } 100% { box-shadow: 0 0 0 10px transparent; } }
@media (prefers-reduced-motion: reduce) { .low-stock__dot { animation: none; } }
.buy-assure { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 0.4rem 1.25rem; margin-top: 0.8rem; font-size: 0.88rem; font-weight: 600; color: var(--ink-soft); }
.buy-assure li { display: inline-flex; align-items: center; gap: 0.4rem; }
.buy-assure svg { width: 17px; height: 17px; color: var(--accent); flex: none; }
.product__app:empty { display: none; }

/* ---------- Videos ---------- */
.gallery-video, .pvideo__frame { position: relative; width: 100%; height: 100%; }
.gallery-video video, .pvideo__frame video { display: block; width: 100%; height: 100%; object-fit: cover; }
.gallery-frame iframe, .gallery-external { width: 100%; height: 100%; border: 0; }
.video-sound {
  position: absolute; right: 12px; bottom: 12px; z-index: 2; display: inline-flex; align-items: center; gap: 0.4rem;
  min-height: 40px; padding: 0 0.85rem 0 0.7rem; border: 0; border-radius: var(--radius-pill);
  background: rgba(20, 4, 10, 0.62); color: #fff; font-weight: 700; font-size: 0.82rem;
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.video-sound svg { width: 18px; height: 18px; }
.video-sound.is-on { background: var(--accent); color: var(--accent-ink); }

.pvideo { background: var(--stage); color: var(--stage-ink); }
.pvideo__inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.8fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.pvideo--wide .pvideo__inner, .pvideo__inner.pvideo--wide { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); }
.pvideo__copy { display: grid; gap: var(--space-2); align-content: center; }
.pvideo__copy .lede { color: rgba(var(--stage-ink-rgb), 0.82); }
.pvideo__points { list-style: none; display: grid; gap: 0.6rem; margin-top: 0.5rem; }
.pvideo__points li { display: flex; align-items: center; gap: 0.6rem; font-weight: 600; }
.pvideo__points svg { width: 22px; height: 22px; padding: 3px; border-radius: 50%; background: var(--accent); color: var(--accent-ink); flex: none; }
.pvideo__frame { justify-self: center; width: min(100%, 380px); aspect-ratio: 9 / 16; border-radius: 26px; overflow: hidden; background: var(--stage-deep); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(var(--stage-ink-rgb), 0.12); }
.pvideo--square .pvideo__frame { aspect-ratio: 1; width: min(100%, 520px); }
.pvideo--wide .pvideo__frame { aspect-ratio: 16 / 9; width: 100%; }
.pvideo__external { width: 100%; height: 100%; border: 0; }
.pvideo__empty { height: 100%; display: grid; place-content: center; justify-items: center; gap: 0.8rem; padding: 1.5rem; text-align: center; border: 2px dashed rgba(var(--stage-ink-rgb), 0.35); border-radius: inherit; }
.pvideo__empty svg { width: 40px; height: 40px; color: var(--accent); }
.pvideo__empty small { color: rgba(var(--stage-ink-rgb), 0.7); }
@media (max-width: 899px) {
  .pvideo__inner, .pvideo__inner.pvideo--wide { grid-template-columns: minmax(0, 1fr); }
  .pvideo__frame { width: min(100%, 340px); }
}

/* ---------- Before / after ---------- */
.setup-card { max-width: 40rem; margin-inline: auto; padding: 1.5rem; border-radius: 18px; border: 2px dashed var(--ink-faint); display: grid; gap: 0.6rem; text-align: center; }
.setup-card small { color: var(--ink-soft); }
.ba__stage { position: relative; max-width: 900px; margin-inline: auto; aspect-ratio: 4 / 3; border-radius: 22px; overflow: hidden; background: var(--ground-deep); box-shadow: var(--shadow-hang); touch-action: pan-y; user-select: none; }
.ba__img, .ba__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ba__img--before { clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.ba__label { position: absolute; top: 14px; z-index: 2; padding: 0.3rem 0.75rem; border-radius: var(--radius-pill); font-weight: 800; font-size: 0.85rem; pointer-events: none; }
.ba__label--before { left: 14px; background: rgba(20, 4, 10, 0.65); color: #fff; }
.ba__label--after { right: 14px; background: var(--accent); color: var(--accent-ink); }
.ba__handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 3px; margin-left: -1.5px; background: #fff; box-shadow: 0 0 12px rgba(0, 0, 0, 0.35); pointer-events: none; z-index: 2; }
.ba__knob { position: absolute; top: 50%; left: 50%; width: 48px; height: 48px; margin: -24px 0 0 -24px; border-radius: 50%; background: #fff; color: var(--ink); display: grid; place-items: center; box-shadow: 0 8px 20px -6px rgba(0, 0, 0, 0.45); }
.ba__knob svg { width: 22px; height: 22px; }
.ba__range { position: absolute; inset: 0; z-index: 3; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; -webkit-appearance: none; appearance: none; }
.ba__range:focus-visible + * , .ba__stage:focus-within .ba__knob { outline: 3px solid var(--accent); outline-offset: 3px; }
.ba__caption { text-align: center; margin-top: 0.9rem; font-size: 0.88rem; color: var(--ink-soft); }

/* ---------- Comparison table ---------- */
.compare__wrap { max-width: 860px; margin-inline: auto; }
.compare__table { width: 100%; border-collapse: separate; border-spacing: 0; table-layout: fixed; }
.compare__table th, .compare__table td { padding: 0.95rem 0.5rem; text-align: center; vertical-align: middle; border-bottom: 1px solid var(--ink-faint); }
.compare__table thead th { font-weight: 800; font-size: 0.95rem; padding-top: 1.4rem; }
.compare__table tbody th { text-align: left; font-weight: 600; font-size: 0.98rem; line-height: 1.3; padding-left: 0.25rem; width: 38%; }
.compare__table tbody tr:last-child th, .compare__table tbody tr:last-child td { border-bottom: 0; }
.compare__us { background: var(--tag); box-shadow: inset 2px 0 0 var(--accent), inset -2px 0 0 var(--accent); }
thead .compare__us { border-radius: 18px 18px 0 0; box-shadow: inset 2px 2px 0 var(--accent), inset -2px 0 0 var(--accent); position: relative; }
tbody tr:last-child .compare__us { border-radius: 0 0 18px 18px; box-shadow: inset 2px -2px 0 var(--accent), inset -2px 0 0 var(--accent); }
.compare__us-tag { display: inline-block; padding: 0.35rem 0.7rem; border-radius: var(--radius-pill); background: var(--accent); color: var(--accent-ink); font-family: var(--font-display); font-stretch: 105%; font-weight: 800; font-size: 0.9rem; letter-spacing: -0.01em; overflow-wrap: anywhere; }
.compare__mark { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; }
.compare__mark svg { width: 17px; height: 17px; }
.compare__mark--yes { background: var(--accent); color: var(--accent-ink); }
.compare__mark--no { background: color-mix(in srgb, var(--ink) 9%, transparent); color: var(--ink-soft); }
.compare__val { font-weight: 700; font-size: 0.9rem; }
.compare__us .compare__val { color: var(--accent); }
.compare__cta { display: flex; justify-content: center; margin-top: var(--space-4); }
@media (max-width: 549px) {
  .compare__table th, .compare__table td { padding: 0.8rem 0.25rem; }
  .compare__table tbody th { font-size: 0.86rem; width: 34%; }
  .compare__table thead th { font-size: 0.78rem; }
  .compare__us-tag { font-size: 0.74rem; font-stretch: 68%; letter-spacing: 0; padding: 0.32rem 0.45rem; white-space: nowrap; overflow-wrap: normal; }
  .compare__table tbody th { width: 31%; }
  .compare__val { font-size: 0.78rem; }
  .compare__mark { width: 26px; height: 26px; }
}
.faq-item--todo { outline: 2px dashed var(--ink-faint); outline-offset: -2px; }

/* ---------- Conversion polish (v20) ---------- */
.bundle__each { font-size: 0.8rem; font-weight: 700; color: var(--tag-ink-soft); white-space: nowrap; }
.bundle__each[hidden] { display: none; }
.buy-pay { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 0.35rem; margin-top: 0.85rem; }
.buy-pay__icon { width: 36px; height: 23px; display: block; }
.gallery-dots { display: none; }
@media (max-width: 899px) {
  .gallery-dots { display: flex; justify-content: center; gap: 6px; margin-top: 0.15rem; }
  .gallery-dot { width: 7px; height: 7px; border-radius: 99px; background: rgba(var(--ink-rgb), 0.2); transition: width 300ms var(--ease-out), background-color 300ms ease; }
  .gallery-dot.is-on { width: 22px; background: var(--accent); }
}
.sticky-buy__title { display: flex; align-items: center; gap: 0.45rem; }
.sticky-buy__title [data-sticky-name] { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.sticky-buy__save { flex: none; padding: 0.1rem 0.45rem; border-radius: var(--radius-pill); background: var(--accent); color: var(--accent-ink); font-size: 0.72rem; font-weight: 800; }
.sticky-buy__save[hidden] { display: none; }

/* product-page section headings: one size down from the home page */
.pvideo .display--l, .ba .display--l, .compare .display--l { font-size: clamp(2rem, 5.4vw, 3.4rem); }
.ba .section-head, .compare .section-head { margin-bottom: var(--space-4); }

/* comparison: highlighted column as a raised card, brand name as text */
.compare__us { background: var(--tag); box-shadow: 10px 0 24px -22px rgba(var(--shadow-rgb), 0.5), -10px 0 24px -22px rgba(var(--shadow-rgb), 0.5); }
thead .compare__us { box-shadow: none; border-radius: 18px 18px 0 0; }
tbody tr:last-child .compare__us { box-shadow: none; border-radius: 0 0 18px 18px; }
.compare__table td.compare__us, .compare__table th.compare__us { border-bottom-color: rgba(var(--tag-ink-rgb), 0.08); }
.compare__us-tag {
  display: inline; padding: 0; border-radius: 0; background: none; color: var(--accent);
  font-family: var(--font-display); font-stretch: 80%; font-weight: 860; font-size: 1rem; letter-spacing: -0.01em; white-space: nowrap;
}
.compare__table thead th { color: var(--ink-soft); font-weight: 700; }
.compare__mark--no { background: transparent; color: rgba(var(--ink-rgb), 0.38); }
@media (max-width: 549px) {
  .compare__us-tag { font-size: 0.82rem; font-stretch: 70%; padding: 0; }
}

/* benefits: brand tick icons (from v19) */
.benefits { gap: 0.6rem; }
.benefits li { grid-template-columns: 24px 1fr; align-items: center; gap: 0.7rem; }
.benefits__tick { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: color-mix(in srgb, var(--accent) 14%, transparent); color: var(--accent); }
.benefits__tick svg { width: 14px; height: 14px; }
.benefits li:has(.benefits__icon) { grid-template-columns: 1.9rem 1fr; align-items: start; }

/* ---------- v21: swatches, price in button, photo viewer, finishing ---------- */
.swatches { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 0.15rem; }
.swatch {
  width: 44px; height: 44px; border-radius: 50%; border: 0; padding: 0; background: transparent; display: grid; place-items: center;
  box-shadow: inset 0 0 0 1.5px rgba(var(--tag-ink-rgb), 0.18); transition: box-shadow 200ms ease, transform 200ms var(--ease-out);
}
.swatch__dot { width: 32px; height: 32px; border-radius: 50%; background: var(--swatch); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.12), inset 0 -6px 10px rgba(0, 0, 0, 0.08); }
.swatch:hover { transform: translateY(-1px); }
.swatch.is-on { box-shadow: inset 0 0 0 2.5px var(--accent); }
.swatch:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.swatch-name { font-weight: 600; color: var(--tag-ink-soft); }
.bundle__field:has(.swatches) { max-width: none; }

.btn--buy { justify-content: center; gap: 0.75rem; }
.btn__price { font-variant-numeric: tabular-nums; padding-left: 0.75rem; border-left: 1.5px solid color-mix(in srgb, var(--accent-ink) 40%, transparent); }

.gallery-frame.is-zoomable { cursor: zoom-in; }
.gallery-frame.is-zoomable:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
html.lightbox-open { overflow: hidden; }
.lightbox { position: fixed; inset: 0; z-index: 95; background: rgba(20, 4, 10, 0.97); opacity: 0; transition: opacity 220ms ease; }
.lightbox[hidden] { display: none; }
.lightbox.is-open { opacity: 1; }
.lightbox__track { position: absolute; inset: 0; display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.lightbox__track::-webkit-scrollbar { display: none; }
.lightbox__slide { flex: 0 0 100%; margin: 0; scroll-snap-align: center; display: grid; place-items: center; padding: 64px 12px 56px; }
.lightbox__slide img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 12px; }
.lightbox__close { position: absolute; top: 12px; right: 12px; z-index: 2; width: 48px; height: 48px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, 0.12); color: #fff; font-size: 2rem; line-height: 1; }
.lightbox__nav { position: absolute; top: 50%; z-index: 2; width: 48px; height: 48px; margin-top: -24px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, 0.12); color: #fff; font-size: 2rem; line-height: 1; }
.lightbox__nav--prev { left: 12px; }
.lightbox__nav--next { right: 12px; }
@media (hover: none) { .lightbox__nav { display: none; } }
.lightbox__count { position: absolute; bottom: 16px; left: 0; right: 0; text-align: center; color: rgba(255, 255, 255, 0.8); font-weight: 600; font-size: 0.9rem; }

/* finishing */
.faq .display--l { font-size: clamp(2rem, 5.4vw, 3.4rem); }
.review { padding-inline: 3.6rem; }
@media (max-width: 420px) { .review { padding: 1.2rem 3rem; } .reviews__arrow { width: 40px; height: 40px; } .reviews__arrow--prev { left: 2px; } .reviews__arrow--next { right: 2px; } }
.bundle.is-selected .bundle__main { animation: bundle-pick 380ms var(--ease-out) 1; }
@keyframes bundle-pick { 0% { transform: scale(0.985); } 60% { transform: scale(1.008); } 100% { transform: none; } }
@media (prefers-reduced-motion: reduce) { .bundle.is-selected .bundle__main { animation: none; } .lightbox { transition: none; } }
/* sticky bar: keep the price on one line so the bar stays slim */
.sticky-buy__price .price { font-size: 1.3rem; white-space: nowrap; }
.sticky-buy__price .price s { font-size: 0.68em; }

/* ---------- Cart v23: free shipping, quick pay, swatch upgrade, calmer footer ---------- */
.ship-free {
  display: flex; align-items: center; gap: 0.6rem; padding: 0.8rem 1rem; border-radius: 16px; font-weight: 700;
  background: color-mix(in srgb, var(--accent) 9%, var(--tag)); box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--accent) 40%, transparent);
}
.ship-free svg { width: 22px; height: 22px; color: var(--accent); flex: none; }
.ship-free svg:last-child { width: 18px; height: 18px; margin-left: auto; }

.upgrade-opts { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 0.45rem; }
.upgrade-opt {
  display: inline-flex; align-items: center; gap: 0.45rem; min-height: 44px; padding: 0 0.85rem 0 0.55rem; border: 0; border-radius: var(--radius-pill);
  background: rgba(var(--stage-ink-rgb), 0.1); color: var(--stage-ink); font-weight: 600; font-size: 0.85rem;
  box-shadow: inset 0 0 0 1.5px rgba(var(--stage-ink-rgb), 0.22); transition: box-shadow 200ms ease, background 200ms ease;
}
.upgrade-opt.is-on { background: rgba(var(--stage-ink-rgb), 0.18); box-shadow: inset 0 0 0 2.5px var(--accent); }
.upgrade-opt__dots { display: inline-flex; }
.upgrade-opt__dot { width: 20px; height: 20px; border-radius: 50%; background: var(--swatch); box-shadow: 0 0 0 2px var(--stage), inset 0 0 0 1px rgba(0, 0, 0, 0.15); }
.upgrade-opt__dot + .upgrade-opt__dot { margin-left: -6px; }
.cart-upgrade__actions { grid-template-columns: 1fr; }
.cart-upgrade__btn { width: 100%; }

.cart-foot { gap: 0.55rem; }
.cart-timer { background: none; color: var(--accent); padding: 0; justify-content: flex-start; gap: 0.4rem; font-size: 0.85rem; }
.cart-timer svg { width: 14px; height: 14px; }
.cart-timer__clock { background: none; color: var(--accent); padding: 0; font-size: 0.95rem; }
.cart-express { display: grid; gap: 0.4rem; }
.cart-express__label { text-align: center; font-size: 0.78rem; font-weight: 600; color: var(--tag-ink-soft); display: flex; align-items: center; gap: 0.6rem; }
.cart-express__label::before, .cart-express__label::after { content: ''; flex: 1; height: 1px; background: rgba(var(--tag-ink-rgb), 0.12); }
.cart-express-slot:empty { display: none; }
.cart-trust { gap: 0.25rem 0.9rem; font-size: 0.78rem; }
.cart-trust svg { width: 13px; height: 13px; }
.cart-pay__icon { width: 30px; height: 19px; }
/* quick-pay buttons: one slim row, Shopify's own sizing hooks */
.cart-express {
  --shopify-accelerated-checkout-button-block-size: 46px;
  --shopify-accelerated-checkout-button-border-radius: 999px;
  --shopify-accelerated-checkout-row-gap: 0.5rem;
  --shopify-accelerated-checkout-inline-alignment: center;
}
.cart-drawer__panel:has(.cart-express-dock:not([hidden])) .cart-pay { display: none; }

/* ---------- Cart v26: phone layout ---------- */
.cart-quickbar { display: none; }
.cart-sum__save { flex-wrap: wrap; row-gap: 0.15rem; }
.cart-timer { display: inline-flex; align-items: center; gap: 0.3rem; font-size: inherit; padding: 0; background: none; }
.cart-timer[hidden] { display: none; }
.cart-timer__sep { width: 4px; height: 4px; border-radius: 50%; background: currentColor; opacity: 0.5; margin: 0 0.15rem; }
.cart-timer__text { font-weight: 600; }
.cart-timer__clock { background: none; color: inherit; padding: 0; font-size: 0.95em; }

@media (max-height: 700px) {
  /* very short screens only: one scrolling column with a pinned Check out button */
  .cart-drawer__inner { overflow-y: auto; overscroll-behavior: contain; display: block; }
  .cart-drawer__head { position: sticky; top: 0; z-index: 3; background: var(--ground); }
  .cart-body--drawer { display: block; }
  .cart-body--drawer .cart-body__scroll { overflow: visible; padding-bottom: 1rem; }
  .cart-body--drawer .cart-foot { box-shadow: none; border-top: 1px solid rgba(var(--tag-ink-rgb), 0.08); padding-bottom: calc(1.25rem + env(safe-area-inset-bottom)); }
  /* zero-height sticky anchor, so the pinned bar never leaves an empty gap at the end */
  .cart-body--drawer .cart-quickbar { display: block; position: sticky; bottom: 0; z-index: 3; height: 0; }
  .cart-quickbar__inner {
    position: absolute; left: 0; right: 0; bottom: 0;
    padding: 0.6rem 1rem calc(0.6rem + env(safe-area-inset-bottom));
    background: color-mix(in srgb, var(--ground) 92%, transparent);
    -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
    border-top: 1px solid var(--ink-faint);
    transition: transform 260ms var(--ease-out), opacity 200ms ease;
  }
  .cart-body--drawer .cart-quickbar.is-hidden .cart-quickbar__inner { transform: translateY(110%); opacity: 0; pointer-events: none; }
  .cart-quickbar__btn { min-height: 54px; }
}

/* ---------- Cart v27: compact phone layout, everything important visible at once ---------- */
@media (max-width: 899px) and (min-height: 701px) {
  .cart-drawer__head { padding: 0.55rem 0.5rem 0.5rem 1rem; }
  .cart-drawer__title { font-size: 1.25rem; }
  .cart-drawer__count { font-size: 0.78rem; }
  .cart-drawer__close { width: 42px; height: 42px; }

  .cart-body__scroll { padding: 0.6rem 0.85rem 0.9rem; gap: 0.6rem; }
  .ship-bar { padding: 0.55rem 0.8rem 0.75rem; gap: 0.55rem; border-radius: 12px; }
  .ship-bar__msg { font-size: 0.86rem; }
  .ship-bar__msg svg { width: 18px; height: 18px; }
  .ship-free { padding: 0.5rem 0.8rem; font-size: 0.88rem; border-radius: 12px; }
  .delivery--cart { font-size: 0.84rem; }
  .delivery--cart .delivery__icon { width: 24px; height: 24px; }
  .delivery--cart .delivery__icon svg { width: 14px; height: 14px; }
  .cart-game { padding: 0.45rem 0.5rem; gap: 0.5rem; border-radius: 12px; }
  .cart-game__badge { width: 30px; height: 30px; font-size: 1rem; }
  .cart-game__msg { font-size: 0.84rem; }
  .cart-game__apply { min-height: 36px; padding: 0 0.8rem; font-size: 0.85rem; }

  .cart-item { grid-template-columns: 64px minmax(0, 1fr); gap: 0.7rem; padding: 0.55rem; border-radius: 12px; }
  .cart-item__img { width: 64px; height: 64px; border-radius: 9px; }
  .cart-item__title { font-size: 0.95rem; }
  .cart-item__main { gap: 0.3rem; }
  .cart-item__chips li { font-size: 0.74rem; padding: 0.1rem 0.5rem; }
  .cart-item__remove { width: 34px; height: 34px; }
  .qty--s { height: 38px; }
  .qty--s button { width: 34px; }
  .qty--s input { width: 1.8rem; }
  .cart-item__now { font-size: 1rem; }
  .cart-item__price { gap: 0; }
  .cart-item__price s { font-size: 0.75rem; }
  .save-pill { font-size: 0.7rem; padding: 0.1rem 0.45rem; }

  .cart-upgrade { grid-template-columns: 52px minmax(0, 1fr); gap: 0.55rem 0.7rem; padding: 0.75rem; border-radius: 14px; }
  .cart-upgrade__art { width: 52px; height: 52px; }
  .cart-upgrade__x2 { min-width: 26px; height: 26px; font-size: 0.85rem; right: -6px; bottom: -6px; }
  .cart-upgrade__title { font-size: 0.95rem; }
  .cart-upgrade__text { display: none; }
  .cart-upgrade .save-pill { font-size: 0.68rem; }
  .upgrade-opts { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-inline: -0.75rem; padding-inline: 0.75rem; scroll-padding-inline: 0.75rem; }
  .upgrade-opts::-webkit-scrollbar { display: none; }
  .upgrade-opt { flex: none; min-height: 36px; font-size: 0.76rem; padding: 0 0.65rem 0 0.4rem; white-space: nowrap; }
  .upgrade-opt__dot { width: 17px; height: 17px; }
  .cart-upgrade__btn { min-height: 42px; font-size: 0.95rem; }

  /* pinned footer, compact */
  .cart-foot { gap: 0.4rem; padding: 0.6rem 0.85rem calc(0.6rem + env(safe-area-inset-bottom)); }
  .cart-sum { gap: 0.15rem; }
  .cart-sum__row--disc { font-size: 0.8rem; }
  .cart-sum__label { gap: 0.05rem; }
  .cart-sum__row--total > .cart-sum__label > span:first-child { font-size: 0.92rem; }
  .cart-sum__total { font-size: 1.3rem; }
  .cart-sum__save { font-size: 0.76rem; }
  .cart-sum__save svg { width: 12px; height: 12px; }
  .cart-checkout { min-height: 50px; font-size: 1.02rem; padding: 0 1.15rem; }
  .cart-express { gap: 0; --shopify-accelerated-checkout-button-block-size: 42px; --shopify-accelerated-checkout-row-gap: 6px; }
  .cart-express__label, .cart-body--drawer .cart-trust, .cart-body--drawer .cart-pay { display: none; }
}

/* ---------- Quick-pay dock (v34): fixed under the cart, Shopify sizes the buttons ---------- */
.cart-drawer__panel { display: flex; flex-direction: column; }
.cart-drawer__inner { flex: 1 1 auto; min-height: 0; height: auto; }
.cart-express-dock {
  flex: none; background: var(--tag); color: var(--tag-ink);
  padding: 0 1.25rem calc(0.75rem + env(safe-area-inset-bottom));
  --shopify-accelerated-checkout-button-block-size: 46px;
  --shopify-accelerated-checkout-button-border-radius: 999px;
  --shopify-accelerated-checkout-row-gap: 8px;
}
.cart-express-dock[hidden] { display: none; }
.cart-express-dock .cart-express { display: block; }
.cart-drawer__panel:has(.cart-express-dock:not([hidden])) .cart-body--drawer .cart-foot { padding-bottom: 0.6rem; }
@media (max-width: 899px) and (min-height: 701px) {
  .cart-express-dock { padding: 0 0.85rem calc(0.55rem + env(safe-area-inset-bottom)); --shopify-accelerated-checkout-button-block-size: 42px; --shopify-accelerated-checkout-row-gap: 6px; }
  .cart-drawer__panel:has(.cart-express-dock:not([hidden])) .cart-body--drawer .cart-foot { padding-bottom: 0.45rem; }
}

/* the cart panel takes focus when it opens: no outline on it */
.cart-drawer__panel:focus, .cart-drawer__panel:focus-visible { outline: none; }
.cart-drawer__close:focus:not(:focus-visible) { outline: none; }

/* ---------- Trust bar ---------- */
.trust-bar { background: var(--tag); color: var(--tag-ink); border-bottom: 1px solid var(--ink-faint); }
.trust-bar.scheme-stage { background: var(--stage-deep); color: var(--stage-ink); border: 0; }
.trust-bar__list { list-style: none; display: flex; justify-content: center; flex-wrap: wrap; gap: 0.6rem 2.25rem; padding-block: 0.95rem; }
.trust-bar__item { display: inline-flex; align-items: center; gap: 0.5rem; font-weight: 700; font-size: 0.95rem; }
.trust-bar__icon { width: 26px; height: 26px; color: var(--accent); display: grid; place-items: center; }
.trust-bar__icon svg { width: 100%; height: 100%; }
@media (max-width: 749px) {
  .trust-bar__list { flex-wrap: nowrap; justify-content: space-between; gap: 0.5rem; padding-block: 0.75rem; }
  .trust-bar__item { flex-direction: column; text-align: center; font-size: 0.74rem; line-height: 1.25; gap: 0.3rem; flex: 1 1 0; }
  .trust-bar__icon { width: 22px; height: 22px; }
}
.testimonials .reviews { max-width: 720px; margin-inline: auto; }

/* ---------- Home v39: established-brand touches on the v36 hero ---------- */
.hero-badge { display: inline-flex; align-items: center; gap: 0.4rem; justify-self: start; padding: 0.35rem 0.8rem 0.35rem 0.6rem; border-radius: var(--radius-pill); background: rgba(var(--stage-ink-rgb), 0.1); box-shadow: inset 0 0 0 1px rgba(var(--stage-ink-rgb), 0.22); font-weight: 700; font-size: 0.88rem; }
.hero-badge svg { width: 15px; height: 15px; color: #f5b417; }
.trim-hero__rating { color: var(--stage-ink); }
.trim-hero__rating .rating__row { color: rgba(var(--stage-ink-rgb), 0.25); }
.trim-hero__rating .rating__row--on { color: #f5b417; }
.hero-save { padding: 0.25rem 0.65rem; border-radius: var(--radius-pill); background: var(--accent); color: var(--accent-ink); font-weight: 800; font-size: 0.85rem; align-self: center; }
.hero-assure { display: grid; gap: 0.6rem; margin-top: 0.25rem; }
.hero-assure__line { display: flex; align-items: center; gap: 0.5rem; font-size: 0.92rem; font-weight: 600; color: rgba(var(--stage-ink-rgb), 0.85); }
.hero-assure__line svg { width: 18px; height: 18px; color: #ff8fb8; flex: none; }
.trim-hero .delivery--product { margin-top: 0; background: rgba(var(--stage-ink-rgb), 0.08); box-shadow: inset 0 0 0 1px rgba(var(--stage-ink-rgb), 0.2); color: var(--stage-ink); }
.trim-hero .delivery--product b { color: #ff8fb8; }
.trim-hero .delivery__icon { background: rgba(var(--stage-ink-rgb), 0.12); color: #ff8fb8; }

/* categories without products yet: a deliberate "coming soon" tile, not a blank picture */
.category-tag__soon { width: 100%; height: 100%; display: grid; place-content: center; justify-items: center; gap: 0.5rem; color: var(--accent); background: repeating-linear-gradient(135deg, color-mix(in srgb, var(--accent) 6%, var(--tag)) 0 12px, var(--tag) 12px 24px); font-family: var(--font-display); font-stretch: 112%; font-weight: 800; font-size: 1.05rem; }
.category-tag__soon svg { width: 38px; height: 38px; }
.category-tag--soon .category-tag__go { color: var(--tag-ink-soft); }
/* category cards: same height in a row, "Shop now / Get notified" always on the bottom line */
.category-ring { align-items: stretch; }
.category-ring > li { display: flex; flex-direction: column; }
.category-ring .category-tag { flex: 1 1 auto; grid-template-rows: auto auto 1fr auto; align-content: start; }
.category-ring .category-tag__title { align-self: start; }
.category-ring .category-tag__go { align-self: end; justify-self: start; }
/* cards never stretch wider than themselves: long words (like "accessories") shrink to fit instead of pushing the picture out */
.category-tag, .product-tag { grid-template-columns: minmax(0, 1fr); }
.category-tag > *, .product-tag > * { min-width: 0; }
.category-ring .category-tag__title { font-size: clamp(1.35rem, 2.2vw, 1.85rem); font-stretch: 118%; overflow-wrap: break-word; }
.product-tag__title { overflow-wrap: break-word; }
/* reviews: always show the whole review, never cut off with "..." */
.review__quote { display: block; -webkit-line-clamp: unset; line-clamp: unset; overflow: visible; -webkit-box-orient: initial; }

/* reviews: 4 lines, then "Read more" opens the whole review in place */
.review__quote.is-clamped:not(.is-open) { display: -webkit-box; -webkit-line-clamp: 5; line-clamp: 5; -webkit-box-orient: vertical; overflow: hidden; cursor: pointer; }
.review__more { justify-self: center; border: 0; background: none; padding: 0.35rem 0.6rem; min-height: 36px; font-weight: 700; font-size: 0.9rem; color: var(--accent); text-decoration: underline; text-underline-offset: 0.2em; cursor: pointer; }

/* ---------- Video row: coverflow ---------- */
.pvideo--reel .pvideo__inner { grid-template-columns: minmax(0, 1fr); gap: var(--space-4); }
.pvideo--reel .pvideo__copy { max-width: 44rem; }
.pvideo__reel-wrap { position: relative; min-width: 0; --clip-w: min(62vw, 300px); }
.pvideo__reel {
  list-style: none; display: flex; align-items: center; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
  width: 100vw; margin-inline: calc(50% - 50vw); padding: 1rem calc(50vw - var(--clip-w) / 2) 1.25rem;
}
.pvideo__reel::-webkit-scrollbar { display: none; }
.pvideo__clip {
  position: relative; flex: 0 0 var(--clip-w); margin-inline: calc(var(--clip-w) * -0.05);
  scroll-snap-align: center; transform-origin: center center; will-change: transform, opacity; cursor: pointer;
}
.pvideo__clip.is-center { cursor: default; }
.pvideo__clip .pvideo__frame { width: 100%; aspect-ratio: 9 / 16; border-radius: 22px; box-shadow: 0 26px 50px -24px rgba(0, 0, 0, 0.75); }
.pvideo__clip:not(.is-center) .video-sound { opacity: 0; pointer-events: none; }
.pvideo__nav { display: none; }
@media (min-width: 900px) {
  .pvideo__reel-wrap { --clip-w: 300px; }
  .pvideo__nav { display: flex; gap: 0.5rem; justify-content: center; margin-top: 0.5rem; }
  .pvideo__arrow { width: 44px; height: 44px; border-radius: 50%; border: 0; display: grid; place-items: center; background: rgba(var(--stage-ink-rgb), 0.12); color: var(--stage-ink); }
  .pvideo__arrow:hover:not([disabled]) { background: var(--accent); color: var(--accent-ink); }
  .pvideo__arrow[disabled] { opacity: 0.3; cursor: default; }
  .pvideo__arrow svg { width: 20px; height: 20px; }
}
@media (prefers-reduced-motion: reduce) { .pvideo__clip { will-change: auto; } }

/* play button only when the phone blocked autoplay */
.pvideo__play { display: none; position: absolute; inset: 0; margin: auto; width: 64px; height: 64px; border-radius: 50%; border: 0; background: rgba(20, 4, 10, 0.55); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); z-index: 3; }
.pvideo__play span { display: block; width: 0; height: 0; margin-left: 5px; border-style: solid; border-width: 12px 0 12px 20px; border-color: transparent transparent transparent #fff; }
.pvideo__clip.needs-tap.is-center .pvideo__play { display: grid; place-items: center; }

/* v51 add-on deal price */
.cart-addon__price { display: flex; flex-wrap: wrap; align-items: center; gap: 0.15rem 0.4rem; }
.cart-addon__price s { margin-left: 0; }
.cart-addon__price--deal .cart-addon__now { color: var(--accent); font-size: 1rem; }
.cart-addon__pill { font-size: 0.68rem; padding: 0.1rem 0.45rem; white-space: nowrap; }

/* v56 phones: image, title, stars and the first bundle price fit on the first screen */
@media (max-width: 899px) {
  .section--tight:has(> .product) { padding-top: 0.75rem; }
  .product { gap: 0.9rem; }
  .product__info { gap: 0.85rem; }
  .product__gallery { gap: 0.6rem; }
  .product__gallery-track { grid-auto-columns: 84%; gap: 0.6rem; }
  .product__title { font-size: clamp(1.3rem, 5.6vw, 1.6rem); line-height: 1.1; }
  /* price and bundles come straight after the stars; benefit ticks follow the buy button */
  .product__info > * { order: 2; }
  .product__info > .product__title,
  .product__info > .rating,
  .product__info > div:has(> .price),
  .product__info > div:has(> .product-form) { order: 0; }
  .product__info > .benefits { order: 1; }
  .product__info .bundles { margin-top: 0.85rem; }
}
@media (max-width: 899px) { .buy-ahead .snip-tab { opacity: 0; visibility: hidden; pointer-events: none; } }
/* v56: never break a title word at its hyphen ("Split-End") */
.product__title .nw { white-space: nowrap; }
