/* COR-X system recommendation pages v3 (2026-07-18) — editorial minimal pass (Hers/Seed refs, COR-X DNA)
   Language: ink on white, one cool grey for panels/bands, huge quiet sentence-case type,
   lime demoted to functional accents (savings chips, limeband), one dark moment per page. */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,400;0,500;0,600;0,700;0,800;0,900;1,400&display=swap&subset=latin-ext');

:root {
  --lime: #C3FF32;
  --lime-deep: #A6DC22;
  --ink: #0a0a0a;
  --ink-soft: #1c1c1a;
  --white: #FFFFFF;
  --panel: #F5F5F4;   /* v3: cool grey for product cards (Patrik 18.07: approved, no warm tints) */
  --band: #F7F7F6;    /* v3: cool grey for full-bleed section bands */
  --offwhite: #FFFFFF; /* legacy var, stays white */
  --rule: #E3E3E0;
  --mute: #6E6E6A;
  --container: 1180px;
  --gutter: clamp(18px, 4vw, 48px);
  --snap: cubic-bezier(0.2, 0.9, 0.2, 1);
}

.cx-root, .cx-root * { margin: 0; padding: 0; box-sizing: border-box; }
/* Dawn (base.css) sets color + font-family directly on heading/text elements,
   which beats inheritance from section wrappers (hero white, dark bands).
   Restore inheritance inside the namespaced root. */
.cx-root h1, .cx-root h2, .cx-root h3, .cx-root p, .cx-root li, .cx-root span,
.cx-root b, .cx-root em, .cx-root figcaption, .cx-root button, .cx-root select {
  color: inherit; font-family: inherit;
}
.cx-root {
  font-family: 'Montserrat', 'Helvetica Neue', Arial, sans-serif;
  font-size: 16px; line-height: 1.65; letter-spacing: 0;
  color: var(--ink); background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
/* iOS data detectors wrap review dates / quantities in styled anchors (blue dates,
   red "2 produkty" on iPhone); kill their styling — meta format-detection can't be
   set from a section on the live theme. */
.cx-root a[x-apple-data-detectors] { color: inherit !important; text-decoration: none !important; }
.cx-root button, .cx-root .cx-btn, .cx-root .cx-pick, .cx-root .cx-pdp, .cx-root .cx-fopt { -webkit-tap-highlight-color: transparent; }
.cx-root img { max-width: 100%; }
.cx-container { max-width: var(--container); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.cx-inv { filter: brightness(0) invert(1); }

/* ---------- editorial type scale (v3) ---------- */
.cx-h2 { font-size: clamp(26px, 2.4vw + 10px, 42px); font-weight: 600; letter-spacing: -0.025em; line-height: 1.12; }

/* ---------- bar + header ---------- */
.cx-bar {
  background: var(--lime); color: var(--ink); text-align: center;
  font-size: 11px; font-weight: 600; letter-spacing: 0.02em;
  padding: 9px var(--gutter);
}
.cx-header { background: var(--white); border-bottom: 1px solid var(--rule); }
.cx-header .cx-container { display: flex; justify-content: center; padding-top: 16px; padding-bottom: 16px; }
.cx-header img { height: 22px; display: block; filter: brightness(0); }

/* ---------- hero ---------- */
.cx-hero { position: relative; overflow: hidden; color: var(--white); }
.cx-hero .cx-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 35%; }
.cx-hero::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(10,10,10,0.94) 0%, rgba(10,10,10,0.55) 55%, rgba(10,10,10,0.2) 100%);
}
.cx-hero .cx-container { position: relative; z-index: 2; padding-top: clamp(88px, 16vw, 170px); padding-bottom: 38px; }
.cx-hero h1 {
  font-weight: 600; letter-spacing: -0.03em;
  font-size: clamp(34px, 4.2vw + 14px, 66px); line-height: 1.06; max-width: 900px;
}
.cx-hero h1 .cx-switch { color: var(--white); display: block; }
.cx-hero .cx-sub { color: rgba(255,255,255,0.88); font-size: clamp(15px, 1.4vw, 17px); line-height: 1.6; max-width: 560px; margin-top: 20px; }

/* ---------- system upsell panel (v3: quiet grey editorial panel) ---------- */
.cx-sysup { background: var(--panel); color: var(--ink); border-radius: 12px; padding: 34px 26px; margin-bottom: 34px; }
.cx-sysup h2 { font-size: clamp(22px, 2vw + 8px, 30px); font-weight: 600; letter-spacing: -0.02em; line-height: 1.15; margin-bottom: 10px; }
.cx-sysup p { color: var(--mute); font-size: 14.5px; line-height: 1.6; max-width: 560px; }
.cx-sysup .cx-pricerow { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin: 20px 0 22px; }
.cx-sysup .cx-pricerow b { font-size: 27px; font-weight: 700; letter-spacing: -0.01em; }
.cx-sysup .cx-pricerow .cx-save {
  font-size: 11.5px; font-weight: 700; color: var(--ink); background: var(--lime);
  padding: 5px 10px; border-radius: 999px; white-space: nowrap;
}
.cx-sysup .cx-btn { width: 100%; }
.cx-sysup .cx-alt { margin-top: 16px; font-size: 13px; color: var(--mute); }
.cx-sysup .cx-alt a { color: var(--ink); text-underline-offset: 3px; }
.cx-grid + .cx-sysup { margin-top: 38px; margin-bottom: 0; }
/* systems bridge panel (19.07 UI upgrade): product trio + 1-2-3 configurator teaser */
.cx-sysup-sys { display: grid; grid-template-columns: minmax(0, 1fr); gap: 26px; }
/* white tile + hairline under the renders: their baked-in white backgrounds
   box-in-box against the grey panel (design rule 2, caught by Patrik 19.07) */
.cx-sysup-visual {
  display: flex; align-items: flex-end; justify-content: center; gap: 16px;
  background: var(--white); border: 1px solid var(--rule); border-radius: 14px;
  padding: 26px 22px 22px;
}
/* max-width + min-width:0: images must never exceed their third of the tile
   (19.07: padded square canvases overflowed the tile on both form factors) */
.cx-sysup-visual img { max-height: 120px; max-width: 30%; min-width: 0; width: auto; object-fit: contain; }
.cx-sysup-visual img:first-child, .cx-sysup-visual img:last-child { max-height: 98px; }
.cx-sysup-steps { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 16px; }
.cx-sysup-steps span { display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 600; color: var(--ink); }
.cx-sysup-steps span b { flex: none; width: 21px; height: 21px; border-radius: 999px; background: var(--ink); color: var(--white); display: inline-flex; align-items: center; justify-content: center; font-size: 10.5px; font-weight: 700; }
@media (min-width: 760px) {
  .cx-sysup-sys { grid-template-columns: minmax(0, 1fr) 340px; gap: 44px; align-items: center; }
  .cx-sysup-visual { order: 2; gap: 18px; padding: 34px 26px 28px; }
  .cx-sysup-visual img { max-height: 170px; }
  .cx-sysup-visual img:first-child, .cx-sysup-visual img:last-child { max-height: 132px; }
}

/* ---------- buttons: 8px radius, sentence case (v3) ---------- */
.cx-btn {
  display: inline-block; font-family: inherit; font-size: 13.5px; font-weight: 600;
  letter-spacing: 0; text-transform: none; text-decoration: none; text-align: center;
  padding: 15px 28px; border-radius: 8px; border: 0; cursor: pointer; min-height: 48px;
  transition: background 200ms var(--snap), transform 120ms var(--snap);
}
.cx-btn:active { transform: translateY(1px); }
/* .cx-root prefix: outgun the Dawn-reset `.cx-root button { color: inherit }` on <button> CTAs */
.cx-btn-black, .cx-root .cx-btn-black { background: var(--ink); color: var(--white); }
.cx-btn-black:hover { background: #262626; }
.cx-btn-lime, .cx-root .cx-btn-lime { background: var(--lime); color: var(--ink); }
.cx-btn-lime:hover { background: var(--lime-deep); }

/* ---------- recommendations ---------- */
.cx-recs { padding: 64px 0 84px; }
.cx-recs-bar { margin-bottom: 30px; }
.cx-recs-bar h2, .cx-stackh h2 { font-size: clamp(26px, 2.4vw + 10px, 42px); font-weight: 600; letter-spacing: -0.025em; line-height: 1.12; }
.cx-recs-bar .js-combine { width: 100%; margin-top: 18px; }

/* minmax(0,1fr): bare 1fr's auto minimum lets iOS blow the track out to the flex
   pickers' intrinsic width (19.07 iPhone bug on systemy; same construct here) */
.cx-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }

/* ---------- product card (v3.1: back to white + soft layered shadow, Patrik 18.07) ---------- */
.cx-card {
  position: relative; background: var(--white); border: 0; border-radius: 14px;
  display: flex; flex-direction: column; overflow: hidden;
  box-shadow: 0 1px 2px rgba(10,10,10,0.05), 0 10px 28px rgba(10,10,10,0.06);
  transition: box-shadow 200ms var(--snap);
}
.cx-card:hover { box-shadow: 0 2px 4px rgba(10,10,10,0.06), 0 16px 40px rgba(10,10,10,0.09); }
.cx-card .cx-imgwrap {
  background: transparent; border-bottom: 0;
  height: 230px; display: flex; align-items: center; justify-content: center; padding: 26px 20px 8px;
}
.cx-card .cx-imgwrap img { max-height: 100%; object-fit: contain; }
.cx-card .cx-badge {
  position: absolute; top: 14px; left: 14px; background: var(--white); color: var(--ink);
  font-size: 11px; font-weight: 600; letter-spacing: 0.01em;
  padding: 7px 13px; border-radius: 999px; border: 1px solid var(--rule);
}
.cx-card .cx-pick {
  position: absolute; top: 12px; right: 12px; width: 32px; height: 32px;
  border: 1.5px solid #CFCFCB; border-radius: 8px; background: var(--white);
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  font-size: 16px; font-weight: 800; color: transparent;
  transition: all 150ms var(--snap);
}
.cx-card.sel .cx-pick { background: var(--ink); border-color: var(--ink); color: var(--lime); }
.cx-card .cx-body { padding: 16px 22px 22px; display: flex; flex-direction: column; gap: 12px; flex-grow: 1; }
.cx-card .cx-rate { font-size: 12.5px; font-weight: 600; }
.cx-card .cx-rate span { color: var(--mute); font-weight: 500; }
.cx-card h3 { font-size: 19px; font-weight: 600; letter-spacing: -0.015em; }
.cx-card .cx-why { font-size: 13.5px; line-height: 1.6; color: var(--mute); }
/* bottom cluster (picker + CTA + pdp) pins to the card bottom so selectors AND
   buttons align across unequal cards; free space opens above the picker
   (19.07, Patrik: image - text - price - whitespace - selector - buttons) */
.cx-card .cx-btn[data-add] { margin-top: auto; }
.cx-card .cx-body > .cx-fpick, .cx-card .cx-body > .cx-vset-steps { margin-top: auto; }
.cx-card .cx-body > .cx-fpick ~ .cx-fpick { margin-top: 6px; }
.cx-card .cx-body > .cx-fpick ~ .cx-btn[data-add],
.cx-card .cx-body > .cx-vset-steps ~ .cx-btn[data-add] { margin-top: 14px; }
/* flask picker uses cropped renders (19.07: the square nobg canvases rendered the
   bottle ~20px wide) + a taller image row for the narrow bottles */
.cx-card[data-name="Soft flask"] .cx-fopt .cx-fimg { height: 96px; }
.cx-card .cx-pr { font-size: 19px; font-weight: 600; display: flex; align-items: center; gap: 10px; }
.cx-save-chip { font-size: 11.5px; font-weight: 700; color: var(--ink); background: var(--lime); padding: 5px 10px; border-radius: 999px; white-space: nowrap; }
.cx-card .cx-btn { width: 100%; }
.cx-card .cx-pdp {
  text-align: center; font-size: 13px; font-weight: 600;
  color: var(--ink); text-decoration: none; padding-top: 4px; min-height: 34px;
}
.cx-card .cx-pdp span { border-bottom: 1px solid rgba(10,10,10,0.35); padding-bottom: 3px; transition: border-color 160ms var(--snap); }
.cx-card .cx-pdp:hover span { border-bottom-color: var(--ink); }

/* ---------- mechanism section (v3: light editorial band, was dark) ---------- */
.cx-mech { background: var(--band); color: var(--ink); padding: 72px 0; }
.cx-mech h2 {
  font-size: clamp(26px, 2.6vw + 10px, 44px); font-weight: 600; line-height: 1.12;
  letter-spacing: -0.025em; max-width: 760px;
}
.cx-mech h2 em { font-style: normal; color: inherit; }
.cx-mech .cx-m-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px 18px; align-items: end; margin-top: 40px; }
.cx-mech .cx-m-stat b { display: block; font-size: clamp(24px, 2.6vw + 8px, 40px); font-weight: 600; line-height: 1; letter-spacing: -0.02em; }
.cx-mech .cx-m-stat span { display: block; font-size: 12px; font-weight: 500; color: var(--mute); margin-top: 8px; line-height: 1.4; }
.cx-mech .cx-m-line { font-size: 14.5px; color: var(--mute); max-width: 420px; grid-column: 1 / -1; }

/* ---------- stack ---------- */
.cx-stack { padding: 64px 0 84px; background: var(--white); }
.cx-stackh { margin-bottom: 26px; }
.cx-stackh p { font-size: 13.5px; color: var(--mute); margin-top: 8px; }

/* ---------- lime band (FLIP THE SWITCH brand CTA, stays) ---------- */
.cx-limeband { background: var(--lime); color: var(--ink); padding: 72px 0; }
.cx-limeband .cx-container { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
.cx-limeband h2 { font-size: clamp(34px, 5vw + 8px, 72px); font-weight: 800; line-height: 0.98; letter-spacing: -0.03em; text-transform: uppercase; }
.cx-limeband p { font-size: 15px; font-weight: 500; max-width: 520px; }
.cx-limeband .js-combine.cx-btn { background: var(--ink); color: var(--white); width: 100%; max-width: 460px; }

/* ---------- footer ---------- */
.cx-footer { background: var(--ink); color: var(--white); padding: 48px 0 100px; }
.cx-footer .cx-container { display: flex; flex-direction: column; gap: 15px; }
.cx-footer img { height: 22px; width: auto; align-self: flex-start; }
.cx-footer .triplet { font-size: 11px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--lime); }
.cx-footer nav { display: flex; gap: 18px; }
.cx-footer nav a { color: rgba(255,255,255,0.7); font-size: 12px; font-weight: 600; text-decoration: none; }
.cx-footer nav a:hover { color: var(--white); }
.cx-footer .cx-fine { font-size: 11.5px; color: rgba(255,255,255,0.5); max-width: 640px; }

/* ---------- sticky buy bar (v3: white glass) ---------- */
.cx-sticky-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
  background: rgba(255,255,255,0.78); backdrop-filter: blur(20px) saturate(1.6); -webkit-backdrop-filter: blur(20px) saturate(1.6);
  border-top: 1px solid rgba(10,10,10,0.08);
  padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom));
  transform: translateY(102%); transition: transform 320ms var(--snap);
}
.cx-sticky-cta.on { transform: none; }
.cx-sticky-cta .js-combine { width: 100%; max-width: 560px; margin: 0 auto; display: block; }
.cx-sticky-cta .cx-btn { background: var(--ink); color: var(--white); }
.cx-sticky-cta .cx-btn:hover { background: #262626; }

/* ---------- motion ---------- */
.cx-a1, .cx-a2, .cx-a3 { opacity: 0; transform: translateY(20px); animation: cx-rise 0.6s var(--snap) forwards; }
.cx-a2 { animation-delay: 0.1s; }
.cx-a3 { animation-delay: 0.2s; }
@keyframes cx-rise { to { opacity: 1; transform: none; } }
.cx-root.anim .cx-reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.6s var(--snap), transform 0.6s var(--snap); }
.cx-root.anim .cx-reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .cx-a1, .cx-a2, .cx-a3 { animation: none; opacity: 1; transform: none; }
  .cx-root.anim .cx-reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- combine CTA sits BELOW the cards at every width (19.07, Patrik: the
   add-to-cart rendered above the products it adds) ---------- */
.cx-recs .cx-container { display: flex; flex-direction: column; }
.cx-recs-bar { display: contents; }
.cx-recs-bar h2 { order: 0; margin-bottom: 22px; }
.cx-recs .cx-grid { order: 1; }
.cx-recs-bar .js-combine { order: 2; margin-top: 22px; }
.cx-recs .cx-trustline { order: 3; }

/* ---------- ≥980px: picker tiles stop stretching (2-option boxes looked like two
   tiny thumbnails lost in white; live-PDP options are fixed-width) ---------- */
@media (min-width: 980px) {
  .cx-fopt { max-width: 176px; }
}

/* ---------- ≥760px: air opens up ---------- */
@media (min-width: 760px) {
  .cx-header img { height: 24px; }
  .cx-sysup { padding: 48px 44px; }
  .cx-sysup .cx-btn { width: auto; min-width: 300px; }
  .cx-hero .cx-container { padding-bottom: 52px; }
  .cx-recs { padding: 112px 0 128px; }
  .cx-recs-bar h2 { margin-bottom: 32px; }
  .cx-recs-bar .js-combine { width: auto; min-width: 380px; margin-top: 28px; align-self: center; }
  /* no max-width cap (19.07, Patrik): the 960px left-aligned grid ended ~124px short
     of the container while headings/CTA spanned it fully — cards now align with the
     rest of the page */
  .cx-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
  .cx-card .cx-imgwrap { height: 300px; padding-top: 34px; }
  .cx-mech { padding: 120px 0; }
  .cx-mech .cx-m-row { gap: 44px 32px; margin-top: 52px; max-width: 860px; }
  .cx-stack { padding: 112px 0 128px; }
  .cx-stackh { margin-bottom: 40px; }
  .cx-limeband { padding: 112px 0; }
  .cx-limeband .js-combine.cx-btn { width: auto; }
  .cx-footer { padding-bottom: 116px; }
}

/* ---------- fine print in limeband ---------- */
.cx-finenote { font-size: 11.5px; font-weight: 500; color: rgba(10,10,10,0.6); max-width: 640px; }

/* ---------- video hero v8: full-bleed loop + centered glass switcher ---------- */
.cx-hero-video { min-height: clamp(540px, 88svh, 840px); display: flex; align-items: center; }
.cx-hero-video video.cx-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.cx-hero-video::after {
  background:
    radial-gradient(140% 100% at 50% 112%, rgba(10,10,10,0.78) 0%, rgba(10,10,10,0.26) 52%, rgba(10,10,10,0) 100%),
    linear-gradient(to bottom, rgba(10,10,10,0.42) 0%, rgba(10,10,10,0.08) 30%, rgba(10,10,10,0.08) 58%, rgba(10,10,10,0.6) 100%);
}
.cx-hero-video .cx-container {
  display: flex; flex-direction: column; align-items: center; text-align: center; width: 100%;
  padding-top: clamp(96px, 14vw, 150px); padding-bottom: clamp(64px, 10vw, 110px);
}
.cx-hero-video h1 { max-width: 900px; }
.cx-hero-video .cx-sub { margin-left: auto; margin-right: auto; }
/* glass segmented switcher (v3: white liquid glass, selected = solid white pill) */
.cx-seg {
  display: inline-flex; padding: 4px; margin-top: clamp(30px, 5vw, 46px);
  border-radius: 10px; background: rgba(255,255,255,0.14); border: 1px solid rgba(255,255,255,0.24);
  backdrop-filter: blur(22px) saturate(1.5); -webkit-backdrop-filter: blur(22px) saturate(1.5);
  box-shadow: 0 8px 32px rgba(10,10,10,0.18), inset 0 1px 0 rgba(255,255,255,0.22);
}
.cx-seg a {
  color: rgba(255,255,255,0.9); text-decoration: none; white-space: nowrap;
  font-size: 13px; font-weight: 600; letter-spacing: 0;
  padding: 11px clamp(14px, 2.6vw, 28px); border-radius: 7px;
  transition: color 200ms var(--snap), background 200ms var(--snap);
}
.cx-seg a:hover { color: var(--white); }
.cx-seg a.on { background: var(--white); color: var(--ink); box-shadow: 0 2px 8px rgba(10,10,10,0.18); }
@media (max-width: 400px) {
  .cx-seg a { font-size: 12px; padding-left: 11px; padding-right: 11px; }
}

/* ---------- trust line under recommendation grid ---------- */
.cx-trustline { text-align: center; margin-top: 26px; font-size: 12.5px; font-weight: 500; color: var(--mute); }

/* ---------- verified review strip ---------- */
.cx-quotes { background: var(--white); padding: clamp(56px, 9vw, 112px) 0; }
.cx-quotes-head { display: flex; align-items: baseline; gap: 16px; flex-wrap: wrap; margin-bottom: 30px; }
.cx-quotes-head b { font-size: clamp(28px, 2.8vw + 8px, 44px); font-weight: 600; letter-spacing: -0.025em; }
.cx-quotes-head p { font-size: 13.5px; color: var(--mute); font-weight: 500; }
.cx-qnav { margin-left: auto; display: none; gap: 8px; }
.cx-qnav button { width: 44px; height: 44px; border-radius: 8px; border: 1px solid var(--rule); background: var(--white); color: var(--ink); font-size: 16px; line-height: 1; cursor: pointer; transition: border-color 160ms var(--snap); }
.cx-qnav button:hover { border-color: var(--ink); }
.cx-quotes-rail { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 2px; margin: -2px; }
.cx-quotes-rail::-webkit-scrollbar { display: none; }
.cx-quote { flex: 0 0 min(330px, 84vw); scroll-snap-align: start; background: var(--panel); border-radius: 16px; padding: 32px 30px 28px; display: flex; flex-direction: column; gap: 16px; box-shadow: none; }
.cx-quote .cx-stars { color: var(--lime); font-size: 11px; letter-spacing: 0.24em; }
.cx-quote blockquote { font-size: 16.5px; line-height: 1.6; font-weight: 500; letter-spacing: -0.015em; }
.cx-quote figcaption { margin-top: auto; display: flex; flex-direction: row; align-items: center; gap: 12px; border-top: 1px solid rgba(10,10,10,0.07); padding-top: 16px; }
.cx-q-ava {
  flex: none; width: 40px; height: 40px; border-radius: 999px;
  background: var(--white); border: 1px solid var(--rule);
  display: flex; align-items: center; justify-content: center;
  font-size: 12.5px; font-weight: 700; letter-spacing: 0.02em; color: var(--ink);
}
.cx-q-meta { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.cx-q-meta b { font-size: 13.5px; font-weight: 600; display: inline-flex; align-items: center; gap: 6px; }
.cx-q-check { width: 14px; height: 14px; flex: none; }
.cx-q-meta > span { font-size: 12px; font-weight: 500; color: var(--mute); }
.cx-q-meta .cx-q-date { font-size: 11.5px; color: #9A9A95; }
.cx-q-all {
  font-size: 13px; font-weight: 600; color: var(--ink); text-decoration: none;
  border-bottom: 1px solid rgba(10,10,10,0.35); padding-bottom: 2px; white-space: nowrap;
  transition: border-color 160ms var(--snap);
  /* top padding on an inline link grows the touch target without moving the
     baseline or the border-bottom underline (which padding-bottom positions) */
  padding-top: 14px;
}
.cx-q-all:hover { border-bottom-color: var(--ink); }

/* ---------- usage section (v3: replaces the flip band; the one dark moment) ---------- */
.cx-use { position: relative; overflow: hidden; background: var(--ink); color: var(--white); }
.cx-use-bg {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 25%;
  opacity: 0.28; filter: grayscale(1) brightness(0.55);
}
.cx-use .cx-container { position: relative; z-index: 2; padding-top: clamp(64px, 10vw, 120px); padding-bottom: clamp(64px, 10vw, 120px); }
.cx-use h2 { font-size: clamp(28px, 2.8vw + 10px, 48px); font-weight: 600; letter-spacing: -0.025em; line-height: 1.1; max-width: 700px; }
.cx-use-sub { margin-top: 14px; font-size: 14.5px; color: rgba(255,255,255,0.72); max-width: 520px; }
.cx-use-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0; margin-top: 38px; }
.cx-use-step { padding: 22px 0; border-top: 1px solid rgba(255,255,255,0.16); }
.cx-use-step span { display: block; font-size: 12.5px; font-weight: 500; color: rgba(255,255,255,0.6); }
.cx-use-step b { display: block; font-size: 19px; font-weight: 600; letter-spacing: -0.015em; margin-top: 6px; }
.cx-use-step p { font-size: 14px; line-height: 1.6; color: rgba(255,255,255,0.78); margin-top: 8px; max-width: 340px; }
@media (min-width: 760px) {
  .cx-qnav { display: flex; }
  .cx-quote { flex-basis: 348px; }
  .cx-use-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; margin-top: 56px; }
  .cx-use-step { padding: 26px 0 0; }
}

/* ---------- flavor tile pickers (live-PDP pattern, unchanged mechanics) ---------- */
/* live-PDP "Príchute" pattern: one bordered white box, image + grey hairline +
   name per option; selection = font in the flavor color only.
   Sizes measured on live PDP 18.07 (Playwright, 1440): option 80px, img 80w, name 14px/600. */
.cx-fpick { display: flex; justify-content: center; gap: 4px; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; background: var(--white); border: 1px solid var(--rule); border-radius: 8px; padding: 10px 6px 8px; max-width: 100%; }
.cx-fpick::-webkit-scrollbar { display: none; }
.cx-fopt {
  flex: 1 1 0; min-width: 84px; font-family: inherit; cursor: pointer;
  background: transparent; border: 0; padding: 6px 2px 7px;
  display: flex; flex-direction: column; align-items: center; justify-content: flex-end;
}
.cx-fopt .cx-fimg { height: 56px; display: flex; align-items: flex-end; justify-content: center; transition: transform 240ms var(--snap); }
/* sachet pickers match the systemy configurator (44px image row): the 56px row
   sized for tubs leaves a dead white band above the flat sachets (Patrik 19.07) */
.cx-card[data-name="X-Electrolytes"] .cx-fopt .cx-fimg { height: 44px; }
.cx-fopt .cx-fimg img { max-height: 100%; max-width: 80px; object-fit: contain; }
.cx-fopt b {
  font-size: 14px; font-weight: 600; line-height: 1.2; text-align: center;
  color: var(--ink); transition: color 160ms var(--snap);
}
.cx-fopt b::before { content: ''; display: block; width: 56px; height: 1px; background: var(--rule); margin: 9px auto 8px; }
/* COR-PACK: live-PDP multicolor treatment on selection (computed 18.07) */
.cx-fopt-mix.on b {
  background-image: linear-gradient(90deg, #000000, #C3FF32 47%, #F82840 92%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.cx-fopt > span { font-size: 10px; color: var(--mute); line-height: 1.1; margin-top: 3px; }
/* qty chips: pill segmented pattern from the live creatine PDP (Množstvo) */
.cx-fpick-pills { background: transparent; border: 0; padding: 0; gap: 8px; flex-wrap: wrap; overflow: visible; justify-content: flex-start; }
.cx-fopt-text { flex: 0 1 auto; min-width: 0; border: 1px solid #CFCFCB; border-radius: 999px; padding: 9px 18px; background: var(--white); transition: background 160ms var(--snap), border-color 160ms var(--snap); }
.cx-fopt-text b { color: var(--ink); font-size: 12px; font-weight: 700; }
.cx-fopt-text b::before { display: none; }
.cx-fopt-text:hover:not(.on) { border-color: #a9a8a1; }
.cx-fopt.cx-fopt-text.on { background: var(--ink); border-color: var(--ink); }
.cx-fopt.cx-fopt-text.on b, .cx-fpick-pills .cx-fopt.on b { color: var(--white); }
.cx-fopt:hover .cx-fimg { transform: translateY(-2px); }
.cx-fopt.on b { color: var(--fct, var(--fc, var(--ink))); }
.cx-fopt:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.cx-fpick + .cx-fpick { margin-top: 6px; }
.cx-fopt:disabled { cursor: default; }
.cx-fopt.soldout .cx-fimg, .cx-fopt.soldout b { opacity: 0.38; filter: grayscale(0.55); }
.cx-root .cx-vtile.soldout .cx-fimg, .cx-root .cx-vtile.soldout b { opacity: 0.38; filter: grayscale(0.55); }
.cx-root .cx-vtile.soldout .cx-vstep { opacity: 0.38; pointer-events: none; }
.cx-root .cx-vtile.soldout .cx-fout { display: block; font-style: normal; font-size: 11px; color: #C62E26; }
.cx-fout { font-size: 10px; font-weight: 700; font-style: normal; letter-spacing: 0.06em; text-transform: uppercase; color: var(--mute); margin-top: 2px; }
/* VSet per-box flavor rows: same tile pattern, compact. The card spans the full
   grid width on desktop with rows in 2x2, so the neighbour cards keep sane heights. */
.cx-vset-grid { display: flex; flex-direction: column; gap: 6px; }
.cx-vset-grid .cx-fpick + .cx-fpick { margin-top: 0; }
@media (min-width: 760px) {
  .cx-card[data-vset] { grid-column: 1 / -1; }
  .cx-card[data-vset] .cx-imgwrap { height: 260px; }
  .cx-vset-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
}
/* ---------- VSet stepper (ZOSTAV SI SET pattern from the live set page, 19.07):
   counts with +/- replace the four per-box radio rows ---------- */
.cx-vset-steps { display: flex; flex-direction: column; gap: 10px; }
.cx-vhead { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; font-size: 12.5px; color: var(--mute); }
.cx-vhead b { font-size: 13px; font-weight: 700; color: var(--ink); font-variant-numeric: tabular-nums; }
.cx-vtiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.cx-vtile {
  background: var(--panel); border: 1px solid transparent; border-radius: 12px;
  padding: 14px 8px 12px; display: flex; flex-direction: column; align-items: center; gap: 7px;
  transition: border-color 160ms var(--snap), background 160ms var(--snap);
}
.cx-vtile.picked { background: var(--white); border-color: var(--ink); }
.cx-vtile .cx-fimg { height: 44px; display: flex; align-items: flex-end; justify-content: center; }
.cx-vtile .cx-fimg img { max-height: 100%; max-width: 72px; object-fit: contain; }
.cx-vtile b { font-size: 12px; font-weight: 600; line-height: 1.2; text-align: center; color: var(--ink); }
.cx-vtile.picked:not(.cx-vtile-mix) b { color: var(--fct, var(--ink)); }
.cx-vtile-mix.picked b {
  background-image: linear-gradient(90deg, #000000, #C3FF32 47%, #F82840 92%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.cx-vstep { display: flex; align-items: center; gap: 7px; }
.cx-vstep button {
  width: 32px; height: 32px; border-radius: 999px; border: 0; background: #ECECEA;
  color: var(--ink); font-size: 16px; font-weight: 700; line-height: 1; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
  font-family: inherit; transition: background 140ms var(--snap);
}
.cx-vstep button:hover:not(:disabled) { background: #E0E0DD; }
.cx-vstep button:disabled { opacity: 0.35; cursor: default; }
.cx-vnum { min-width: 16px; text-align: center; font-size: 13.5px; font-weight: 700; font-variant-numeric: tabular-nums; }
.cx-btn-disabled, .cx-root .cx-btn-disabled { background: #ECECEA; color: #9A9A95; pointer-events: none; }
@media (max-width: 480px) {
  .cx-vtiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cx-vstep button { width: 38px; height: 38px; }
}

/* ---------- subscription nudge (decision 19.07 PM: funnel stays one-time, the PDP
   is the subscription home; this quiet line above the XE card CTA points there) ---------- */
.cx-subnudge { font-size: 12px; line-height: 1.5; }
.cx-subnudge a { color: var(--mute); font-weight: 600; text-decoration: none; border-bottom: 1px solid rgba(10,10,10,0.2); padding-bottom: 2px; transition: color 160ms var(--snap), border-color 160ms var(--snap); }
.cx-subnudge a:hover { color: var(--ink); border-bottom-color: var(--ink); }
.cx-subnudge a span { border: 0; }

.cx-vset-row { align-items: center; }
.cx-fplab { flex: none; width: 20px; text-align: center; font-size: 11.5px; font-weight: 700; color: var(--mute); }
.cx-vset-row .cx-fopt { min-width: 62px; padding: 4px 2px 6px; }
.cx-vset-row .cx-fopt .cx-fimg { height: 32px; }
.cx-vset-row .cx-fopt .cx-fimg img { max-width: 62px; }
.cx-vset-row .cx-fopt b { font-size: 11.5px; }
.cx-vset-row .cx-fopt b::before { width: 40px; margin: 6px auto 5px; }

/* ---------- ≤979px: pickers sized for phones AND tablets (18.07 audit: 84px tiles
   clipped "Melón" behind a hidden scrollbar on iPhone; RSI audit 19.07: the ≥760px
   two-column card grid gives ~295-344px cards, so iPad portrait clipped too) ---------- */
@media (max-width: 979px) {
  .cx-fpick:not(.cx-fpick-pills) { gap: 2px; padding: 10px 4px 8px; }
  .cx-fopt:not(.cx-fopt-text) { min-width: 0; flex: 1 1 25%; padding: 6px 1px 7px; }
  .cx-fopt .cx-fimg img { max-width: 64px; }
  .cx-fopt:not(.cx-fopt-text) b { font-size: 12px; }
  .cx-vset-row .cx-fopt { min-width: 0; }
  /* let VSet row images scale with their tile (fixed 62px cap overflowed 320px) */
  .cx-vset-row .cx-fopt .cx-fimg { width: 100%; }
  .cx-vset-row .cx-fopt .cx-fimg img { max-width: 100%; }
  .cx-mech .cx-m-row { align-items: start; }
}

/* ============================================================================
   SYSTEMY CONFIGURATOR (theme port of landing-pages/systemy.html + styles.css)
   Everything below is scoped under .cx-systemy, a second class on the page's
   .cx-root wrapper. The source stylesheet's bare-element resets (*, html, body,
   button/select, img, a[x-apple-data-detectors]) are NOT repeated here: the
   .cx-root rules above already provide them, scoped. NEVER add an unscoped
   button/select/input reset (Dawn restyle incident, CHANGELOG L614 area).
   Skipped as dead in the theme: .bar/.header/.footer/.inv (theme provides
   header + footer, .cx-bar replaces .bar) and the .js-combine rules (the
   configurator has no combine buttons). Keyframes renamed rise -> cx-sys-rise,
   sumin -> cx-sys-sumin to avoid global keyframe collisions.
   ========================================================================== */

/* tap highlight for the anchor CTAs (.cx-root button already covers <button>) */
.cx-systemy .btn, .cx-systemy .gopt, .cx-systemy .tcard, .cx-systemy .fopt { -webkit-tap-highlight-color: transparent; }
.cx-systemy .container { max-width: var(--container); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }

/* ---------- hero ---------- */
.cx-systemy .hero { position: relative; overflow: hidden; color: var(--white); }
.cx-systemy .hero .bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 35%; }
.cx-systemy .hero::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(10,10,10,0.9) 0%, rgba(10,10,10,0.5) 55%, rgba(10,10,10,0.2) 100%);
}
.cx-systemy .hero .container { position: relative; z-index: 2; padding-top: clamp(88px, 16vw, 170px); padding-bottom: 38px; }
.cx-systemy .hero h1 {
  font-weight: 600; letter-spacing: -0.03em;
  font-size: clamp(34px, 4.2vw + 14px, 66px); line-height: 1.06; max-width: 900px;
}
.cx-systemy .hero h1 .switch { color: var(--white); display: block; }
.cx-systemy .hero .sub { color: rgba(255,255,255,0.88); font-size: clamp(15px, 1.4vw, 17px); line-height: 1.6; max-width: 560px; margin-top: 20px; }

.cx-systemy .hero-tall .bg { filter: grayscale(1) contrast(1.05); }
.cx-systemy .hero-tall::after { background: linear-gradient(to top, rgba(10,10,10,0.94) 0%, rgba(10,10,10,0.6) 55%, rgba(10,10,10,0.4) 100%); }
.cx-systemy .hero-tall .container { padding-top: clamp(130px, 20vw, 210px); padding-bottom: 54px; }
.cx-systemy .heroctas { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; margin-top: 30px; }
.cx-systemy .herotrust { font-size: 13px; font-weight: 500; color: rgba(255,255,255,0.85); }
.cx-systemy .herotrust em, .cx-systemy .strust em { font-style: normal; letter-spacing: 0.14em; }
@media (max-width: 899px) {
  .cx-systemy .hero-tall { min-height: 74svh; display: flex; align-items: flex-end; }
  .cx-systemy .hero-tall .container { width: 100%; }
}

/* ---------- builder (v3: grey band, white flat cards) ---------- */
/* scroll-margin-top is a theme-only addition: Dawn's sticky header would
   swallow the top of #builder on anchor jumps */
.cx-systemy .builder { background: var(--band); padding: 64px 0 84px; scroll-margin-top: 90px; }
.cx-systemy .bhead { margin-bottom: 36px; }
.cx-systemy .bhead h2 { font-size: clamp(26px, 2.4vw + 10px, 42px); font-weight: 600; letter-spacing: -0.025em; line-height: 1.12; }
.cx-systemy .bhead p { font-size: 14.5px; color: var(--mute); margin-top: 8px; max-width: 520px; }
.cx-systemy .bgrid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; }
.cx-systemy .bsteps { display: flex; flex-direction: column; gap: 44px; min-width: 0; }
.cx-systemy .bstep h3 { display: flex; align-items: center; gap: 12px; font-size: 17px; font-weight: 600; letter-spacing: -0.01em; margin-bottom: 16px; }
.cx-systemy .bnum { flex: none; width: 26px; height: 26px; background: var(--ink); color: var(--white); border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; font-size: 12.5px; font-weight: 700; }

/* shared selection radio (live PDP "Typ nákupu" pattern) */
.cx-systemy .radio { flex: none; width: 18px; height: 18px; border: 1.5px solid #b3b2ab; border-radius: 50%; background: var(--white); position: relative; transition: border-color 160ms var(--snap); }
.cx-systemy .on > .radio { border-color: var(--ink); }
.cx-systemy .on > .radio::after { content: ''; position: absolute; inset: 3px; border-radius: 50%; background: var(--ink); }

/* step 1: goal */
.cx-systemy .goalpick { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; }
.cx-systemy .gopt { display: flex; align-items: flex-start; gap: 12px; font-family: inherit; text-align: left; background: var(--white); border: 1px solid transparent; border-radius: 12px; padding: 17px 18px; cursor: pointer; transition: border-color 180ms var(--snap), box-shadow 180ms var(--snap); }
.cx-systemy .gopt .radio { margin-top: 2px; }
.cx-systemy .gopt b { display: block; font-size: 14.5px; font-weight: 600; letter-spacing: -0.01em; }
.cx-systemy .gopt .gtxt > span { display: block; font-size: 12.5px; color: var(--mute); margin-top: 3px; line-height: 1.45; }
.cx-systemy .gopt.on { border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); }
.cx-systemy .gopt:not(.on):hover { box-shadow: 0 2px 4px rgba(10,10,10,0.04), 0 10px 24px rgba(10,10,10,0.06); }

/* step 2: tiers */
.cx-systemy .tiers { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; }
.cx-systemy .tcard { position: relative; min-width: 0; font-family: inherit; text-align: left; background: var(--white); border: 1px solid transparent; border-radius: 12px; padding: 22px 20px 20px; cursor: pointer; display: flex; flex-direction: column; transition: border-color 180ms var(--snap), box-shadow 180ms var(--snap); }
.cx-systemy .tcard .tmatrix { margin-top: auto; padding-top: 14px; }
.cx-systemy .tcard:not(.on):hover { box-shadow: 0 2px 4px rgba(10,10,10,0.04), 0 12px 28px rgba(10,10,10,0.06); }
.cx-systemy .tcard.on { border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink), 0 12px 32px rgba(10,10,10,0.08); }
.cx-systemy .tcard > .radio { position: absolute; top: 16px; right: 16px; }
.cx-systemy .tbadge { position: absolute; top: -11px; left: 18px; background: var(--ink); color: var(--white); font-size: 11px; font-weight: 600; letter-spacing: 0.01em; padding: 5px 12px; border-radius: 999px; }
.cx-systemy .timgs { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; padding-right: 34px; }
.cx-systemy .timgs span { background: transparent; width: 52px; height: 52px; display: flex; align-items: center; justify-content: center; padding: 2px; flex: none; }
.cx-systemy .timgs img { max-width: 100%; max-height: 100%; object-fit: contain; }
.cx-systemy .tname { display: block; font-size: 16.5px; font-weight: 600; letter-spacing: -0.015em; padding-right: 34px; }
.cx-systemy .tsub { font-size: 12.5px; color: var(--mute); line-height: 1.45; margin-top: 4px; }
.cx-systemy .tmatrix { list-style: none; border-top: 1px solid var(--rule); }
.cx-systemy .tmatrix li { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 12px; padding: 7px 0; border-bottom: 1px solid var(--rule); }
.cx-systemy .tmatrix span { color: #55544f; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cx-systemy .tmatrix li.out span { color: #b6b5ae; }
.cx-systemy .tmatrix em { font-style: normal; font-weight: 900; }
.cx-systemy .tmatrix em.in { color: var(--ink); background: var(--lime); width: 17px; height: 17px; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; font-size: 10px; flex: none; }
.cx-systemy .tfoot { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 14px; }
.cx-systemy .tfoot b { font-size: 21px; font-weight: 600; letter-spacing: -0.01em; font-variant-numeric: tabular-nums; }
.cx-systemy .tfoot span { font-size: 11px; font-weight: 600; color: var(--mute); }
.cx-systemy .tfoot span.lime { font-size: 11.5px; font-weight: 700; color: var(--ink); background: var(--lime); padding: 5px 10px; border-radius: 999px; }

/* step 3: flavors (visual pickers, same shape as the live PDP "Príchute" box)
   minmax(0,1fr) + min-width/max-width clamps: iOS Safari explodes auto/1fr tracks
   to the flex pickers' intrinsic width on the innerHTML re-render (19.07 iPhone bug:
   ~600px fboxes after clicking tiers); desktop engines don't reproduce it */
.cx-systemy .flavors { display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; }
.cx-systemy .fblock { min-width: 0; }
.cx-systemy .flabel { font-size: 13.5px; font-weight: 600; letter-spacing: -0.01em; margin-bottom: 8px; }
.cx-systemy .flabel span { color: var(--mute); font-weight: 500; font-size: 12.5px; }
.cx-systemy .fbox { display: flex; gap: 4px; background: var(--white); border: 1px solid var(--rule); border-radius: 8px; padding: 12px 8px 10px; overflow-x: auto; scrollbar-width: none; max-width: 100%; }
.cx-systemy .fbox::-webkit-scrollbar { display: none; }
.cx-systemy .fopt { flex: 1 1 0; min-width: 82px; font-family: inherit; background: transparent; border: 0; padding: 8px 6px 9px; cursor: pointer; display: flex; flex-direction: column; align-items: center; }
.cx-systemy .fopt .fimg { height: 64px; display: flex; align-items: flex-end; justify-content: center; transition: transform 240ms var(--snap); }
/* sachet pickers (X-E): short wide images left a dead white band above them in the
   64px image area, slim it so the tiles sit lower (Patrik 19.07) */
.cx-systemy .fbox-slim .fopt .fimg { height: 44px; }
.cx-systemy .fopt .fimg img { max-height: 100%; max-width: 76px; object-fit: contain; }
.cx-systemy .fopt b { font-size: 13px; font-weight: 700; color: var(--ink); line-height: 1.2; text-align: center; transition: color 160ms var(--snap); }
.cx-systemy .fopt b::before { content: ''; display: block; width: 56px; height: 1px; background: var(--rule); margin: 10px auto 9px; }
.cx-systemy .fopt:hover .fimg { transform: translateY(-3px); }
.cx-systemy .fopt.on b { color: var(--fct, var(--fc, var(--ink))); }
/* COR-PACK: live-PDP multicolor treatment on selection (computed 18.07) */
.cx-systemy .fopt-mix.on b {
  background-image: linear-gradient(90deg, #000000, #C3FF32 47%, #F82840 92%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.cx-systemy .fopt:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.cx-systemy .fopt:disabled { cursor: default; }
.cx-systemy .fopt.soldout .fimg, .cx-systemy .fopt.soldout b { opacity: 0.38; filter: grayscale(0.55); }
.cx-systemy .fopt.soldout:hover .fimg { transform: none; }
.cx-systemy .fout { font-size: 10px; font-weight: 700; font-style: normal; letter-spacing: 0.06em; text-transform: uppercase; color: var(--mute); margin-top: 4px; }
/* <=480px: four tiles (XE incl. COR-PACK) must fit the box with no hidden h-scroll */
@media (max-width: 480px) {
  .cx-systemy .fbox { gap: 2px; padding: 12px 6px 10px; }
  .cx-systemy .fopt { min-width: 0; flex: 1 1 25%; padding: 8px 2px 9px; }
  .cx-systemy .fopt .fimg img { max-width: 64px; }
  .cx-systemy .fopt b { font-size: 12px; }
}
.cx-systemy .ffix { display: flex; align-items: center; justify-content: space-between; gap: 12px; background: var(--white); border: 1px solid var(--rule); border-radius: 8px; padding: 14px 16px; }
.cx-systemy .ffix span { font-size: 12.5px; font-weight: 500; color: var(--mute); }
.cx-systemy .ffix b { font-size: 13px; font-weight: 600; }

/* summary (stays black: transactional anchor) */
.cx-systemy .sum { background: var(--ink); color: var(--white); border-radius: 14px; padding: 26px 24px 24px; align-self: start; }
.cx-systemy .sum.flash .sitems, .cx-systemy .sum.flash .stotal { animation: cx-sys-sumin 320ms var(--snap); }
@keyframes cx-sys-sumin { from { opacity: 0.45; } to { opacity: 1; } }
.cx-systemy .sum .sname { font-size: 20px; font-weight: 600; letter-spacing: -0.015em; }
.cx-systemy .sitems { list-style: none; margin-top: 14px; }
.cx-systemy .sitems li { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 13px; padding: 7px 0; border-bottom: 1px solid rgba(255,255,255,0.13); }
.cx-systemy .sitems li span:not(.sthumb) { color: rgba(255,255,255,0.78); flex: 1; }
.cx-systemy .sitems b { font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.cx-systemy .sthumb { flex: none; width: 36px; height: 36px; background: var(--white); border-radius: 8px; display: flex; align-items: center; justify-content: center; padding: 3px; }
.cx-systemy .sthumb img { max-width: 100%; max-height: 100%; object-fit: contain; }
.cx-systemy .sthumb-blank { background: var(--ink-soft); }
.cx-systemy .sitems .deal { padding: 9px 0; }
.cx-systemy .sitems .deal span { color: rgba(255,255,255,0.55); }
.cx-systemy .sitems .lime { color: var(--lime); }
.cx-systemy .stotal { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin: 16px 0 0; }
.cx-systemy .stotal span { font-size: 12.5px; font-weight: 500; color: rgba(255,255,255,0.6); }
.cx-systemy .stotal b { font-size: 30px; font-weight: 600; letter-spacing: -0.01em; font-variant-numeric: tabular-nums; }
.cx-systemy .scheck { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-top: 4px; }
.cx-systemy .scheck span { font-size: 12px; font-weight: 500; color: rgba(255,255,255,0.6); }
.cx-systemy .scheck b { font-size: 16px; font-weight: 700; color: var(--lime); font-variant-numeric: tabular-nums; }
.cx-systemy .sum .btn { width: 100%; margin-top: 18px; }
.cx-systemy .strust { font-size: 11.5px; font-weight: 500; color: rgba(255,255,255,0.66); margin-top: 12px; line-height: 1.5; }
.cx-systemy .sfine { font-size: 11px; color: rgba(255,255,255,0.45); line-height: 1.5; margin-top: 6px; }

/* what's inside */
.cx-systemy .inside { padding: 64px 0 84px; }
.cx-systemy .inside h2 { font-size: clamp(26px, 2.4vw + 10px, 42px); font-weight: 600; letter-spacing: -0.025em; line-height: 1.12; margin-bottom: 30px; }
.cx-systemy .igrid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 26px; }
.cx-systemy .iitem { border-top: 0; padding-top: 0; }
.cx-systemy .itile { background: var(--white); border: 1px solid var(--rule); border-radius: 14px; height: 210px; display: flex; align-items: center; justify-content: center; padding: 24px; margin-bottom: 16px; }
.cx-systemy .itile img { max-width: 100%; max-height: 100%; object-fit: contain; }
.cx-systemy .iitem b { display: block; font-size: 16.5px; font-weight: 600; letter-spacing: -0.015em; }
.cx-systemy .iitem p { font-size: 13.5px; color: var(--mute); line-height: 1.6; margin-top: 6px; }
.cx-systemy .iitem a { display: inline-block; margin-top: 12px; font-size: 13px; font-weight: 600; color: var(--ink); text-decoration: none; }
.cx-systemy .iitem a span { border-bottom: 1px solid rgba(10,10,10,0.35); padding-bottom: 3px; transition: border-color 160ms var(--snap); }
.cx-systemy .iitem a:hover span { border-bottom-color: var(--ink); }

/* proof band (full-bleed photo moment) */
.cx-systemy .proof { position: relative; overflow: hidden; color: var(--white); }
.cx-systemy .proof .bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: grayscale(1); }
.cx-systemy .proof::after { content: ''; position: absolute; inset: 0; background: rgba(10,10,10,0.72); }
.cx-systemy .proof .container { position: relative; z-index: 2; padding-top: clamp(84px, 12vw, 130px); padding-bottom: clamp(84px, 12vw, 130px); }
.cx-systemy .proof b { font-size: clamp(48px, 6vw + 10px, 88px); font-weight: 600; letter-spacing: -0.04em; line-height: 1; display: block; font-variant-numeric: tabular-nums; }
.cx-systemy .proof p { font-size: 14.5px; color: rgba(255,255,255,0.78); max-width: 460px; margin-top: 16px; line-height: 1.6; }

/* mech band on builder page: inset rounded panel on white (separates it from the grey
   builder band above), stats + athlete photo on desktop */
.cx-systemy .mech.mech-b { background: var(--white); padding: clamp(56px, 8vw, 96px) 0 0; }
.cx-systemy .mech-b .container { background: var(--band); border-radius: 24px; padding: 44px 28px; }
.cx-systemy .mech.mech-b .m-row { align-items: end; }
.cx-systemy .mech.mech-b .m-line { margin-left: 0; margin-top: 4px; max-width: 520px; }
.cx-systemy .mech-photo { display: block; width: 100%; height: 280px; object-fit: cover; object-position: 50% 30%; border-radius: 16px; margin-top: 30px; }
@media (min-width: 900px) {
  .cx-systemy .mech.mech-b { padding-bottom: 0; }
  .cx-systemy .mech-b .container { padding: 72px 64px; }
  .cx-systemy .mech-cols { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 72px; align-items: center; }
  .cx-systemy .mech-photo { height: 440px; margin-top: 0; }
}

/* mobile: compress tier cards to what's inside */
@media (max-width: 899px) {
  .cx-systemy .tmatrix li.out { display: none; }
  /* stat labels wrap to two lines on narrow screens; end-alignment shoved the
     numbers out of line, align tops so the figures sit level */
  .cx-systemy .mech .m-row { align-items: start; }
}

/* sticky bar content (v3: white glass) */
.cx-systemy .scflex { display: flex; align-items: center; justify-content: space-between; gap: 14px; max-width: 720px; margin: 0 auto; }
.cx-systemy .scflex span { font-size: 12.5px; font-weight: 500; color: var(--ink); line-height: 1.35; }
.cx-systemy .scflex span b { font-weight: 700; font-variant-numeric: tabular-nums; }
.cx-systemy .scflex .btn { flex: none; }

@media (min-width: 900px) {
  .cx-systemy .sc-mobile-only { display: none; }
  .cx-systemy .builder { padding: 104px 0 120px; }
  .cx-systemy .bhead { margin-bottom: 48px; }
  .cx-systemy .bgrid { grid-template-columns: minmax(0, 1fr) 360px; gap: 44px; align-items: start; }
  .cx-systemy .sum { padding: 32px 30px 28px; } /* 18.07: sticky removed, panel overlaid the flavor step on desktop (Patrik) */
  .cx-systemy .goalpick { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .cx-systemy .tiers { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .cx-systemy .flavors { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  /* the minmax clamp (19.07) caps each flavors column at ~330px on desktop; the
     84px-min tiles then clipped COR-PACK behind the hidden scrollbar (RSI audit);
     let tiles share the track like on phones */
  .cx-systemy .fopt { min-width: 0; flex: 1 1 25%; }
  .cx-systemy .fopt .fimg img { max-width: 64px; }
  .cx-systemy .inside { padding: 112px 0 128px; }
  .cx-systemy .igrid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
}

/* ---------- buttons: 8px radius, sentence case (v3) ---------- */
.cx-systemy .btn {
  display: inline-block; font-family: inherit; font-size: 13.5px; font-weight: 600;
  letter-spacing: 0; text-transform: none; text-decoration: none; text-align: center;
  padding: 15px 28px; border-radius: 8px; border: 0; cursor: pointer; min-height: 48px;
  transition: background 200ms var(--snap), transform 120ms var(--snap);
}
.cx-systemy .btn:active { transform: translateY(1px); }
.cx-systemy .btn-black { background: var(--ink); color: var(--white); }
.cx-systemy .btn-black:hover { background: #262626; }
.cx-systemy .btn-lime { background: var(--lime); color: var(--ink); }
.cx-systemy .btn-lime:hover { background: var(--lime-deep); }
.cx-systemy .btn-white { background: var(--white); color: var(--ink); }
.cx-systemy .btn-white:hover { background: #ECECEA; }

/* ---------- mechanism band (v3: light editorial band) ---------- */
.cx-systemy .mech { background: var(--band); color: var(--ink); padding: 72px 0; }
.cx-systemy .mech h2 {
  font-size: clamp(26px, 2.6vw + 10px, 44px); font-weight: 600; line-height: 1.12;
  letter-spacing: -0.025em; max-width: 760px;
}
.cx-systemy .mech h2 em { font-style: normal; color: inherit; }
.cx-systemy .mech .m-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px 18px; align-items: end; margin-top: 40px; }
.cx-systemy .mech .m-stat b { display: block; font-size: clamp(24px, 2.6vw + 8px, 40px); font-weight: 600; line-height: 1; letter-spacing: -0.02em; }
.cx-systemy .mech .m-stat span { display: block; font-size: 12px; font-weight: 500; color: var(--mute); margin-top: 8px; line-height: 1.4; }
.cx-systemy .mech .m-line { font-size: 14.5px; color: var(--mute); max-width: 420px; grid-column: 1 / -1; }
@media (min-width: 760px) {
  .cx-systemy .mech { padding: 120px 0; }
  .cx-systemy .mech .m-row { gap: 44px 32px; margin-top: 52px; max-width: 860px; }
}

/* ---------- lime band ---------- */
.cx-systemy .limeband { background: var(--lime); color: var(--ink); padding: 72px 0; }
.cx-systemy .limeband .container { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
.cx-systemy .limeband h2 { font-size: clamp(34px, 5vw + 8px, 72px); font-weight: 800; line-height: 0.98; letter-spacing: -0.03em; text-transform: uppercase; }
.cx-systemy .limeband p { font-size: 15px; font-weight: 500; max-width: 520px; }

/* ---------- sticky buy bar (v3: white glass) ---------- */
.cx-systemy .sticky-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
  background: rgba(255,255,255,0.78); backdrop-filter: blur(20px) saturate(1.6); -webkit-backdrop-filter: blur(20px) saturate(1.6);
  border-top: 1px solid rgba(10,10,10,0.08);
  padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom));
  transform: translateY(102%); transition: transform 320ms var(--snap);
}
.cx-systemy .sticky-cta.on { transform: none; }
.cx-systemy .sticky-cta .btn-lime { background: var(--ink); color: var(--white); }
.cx-systemy .sticky-cta .btn-lime:hover { background: #262626; }

/* ---------- motion ---------- */
.cx-systemy .a1, .cx-systemy .a2, .cx-systemy .a3 { opacity: 0; transform: translateY(20px); animation: cx-sys-rise 0.6s var(--snap) forwards; }
.cx-systemy .a2 { animation-delay: 0.1s; }
.cx-systemy .a3 { animation-delay: 0.2s; }
@keyframes cx-sys-rise { to { opacity: 1; transform: none; } }
.cx-systemy.anim .reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.6s var(--snap), transform 0.6s var(--snap); }
.cx-systemy.anim .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .cx-systemy .a1, .cx-systemy .a2, .cx-systemy .a3 { animation: none; opacity: 1; transform: none; }
  .cx-systemy.anim .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- summary -> PDP subscription nudge (decision 19.07 PM: funnel stays
   one-time; the PDP is the subscription home) ---------- */
.cx-systemy .ssub {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  margin-top: 16px; padding-top: 14px; border-top: 1px solid rgba(255,255,255,0.14);
}
.cx-systemy .ssub-txt { min-width: 0; }
.cx-systemy .ssub-txt b { display: block; font-size: 12.5px; font-weight: 700; color: var(--white); }
.cx-systemy .ssub-txt span { font-size: 11.5px; color: rgba(255,255,255,0.62); line-height: 1.5; }
.cx-systemy .ssub-btn {
  flex: none; font-size: 12px; font-weight: 700; color: var(--lime); text-decoration: none;
  border: 1px solid rgba(195,255,50,0.5); border-radius: 999px; padding: 8px 16px;
  transition: background 160ms var(--snap), border-color 160ms var(--snap);
}
.cx-systemy .ssub-btn:hover { background: rgba(195,255,50,0.12); border-color: var(--lime); }
