/* =========================================================================
   Ninja CREAMi® — paid-traffic landing page
   Structural styles + motion. Theme tokens (--la-*) are set per-variant
   inline on .cr-page (see variants.jsx). Built on colors_and_type.css.
   ========================================================================= */

.cr-page {
  /* ---- variant theme defaults (overridden inline per variant) ---- */
  --la-accent:        var(--ninja-flame);
  --la-accent-deep:   var(--ninja-ember);
  --la-on-accent:     #ffffff;
  --la-hero-wash:     var(--cw-crema-wash);
  --la-band:          var(--slate-50);
  --la-quote-bg:      var(--ninja-onyx);
  --la-quote-fg:      #ffffff;
  --la-display:       var(--font-display);
  --la-disp-weight:   800;
  --la-tracking:      -0.015em;
  --la-caps:          uppercase;
  --la-hero-caps:     none;
  --la-r-card:        var(--r-md);
  --la-r-img:         var(--r-md);
  --la-r-soft:        var(--r-lg);
  --la-hero-size:     clamp(30px, 8vw, 80px);
  --la-head-size:     clamp(28px, 3.4vw, 44px);

  /* extra product colourway not in the base design-system tokens */
  --cw-blood-orange:      #D83A1E;
  --cw-blood-orange-wash: #FBE6E0;
  --cw-navy:              #2A3955;
  --cw-navy-wash:         #E6EAF1;

  font-family: var(--font-body);
  color: var(--fg-1);
  background: var(--paper);
  overflow-x: hidden;
}

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

.cr-page button,
.cr-page .btn,
.cr-page a { -webkit-tap-highlight-color: transparent; }
.cr-page .btn { transition: transform 0.08s var(--ease-out), background var(--dur-2) var(--ease-out); }
.cr-page .btn:active { transform: scale(0.97); }

.cr-wrap { max-width: 1180px; margin: 0 auto; padding: 0 32px; }
.cr-sec  { padding: clamp(64px, 8vw, 112px) 0; }

/* ---- shared type atoms ------------------------------------------------- */
.cr-eyebrow {
  font-family: var(--font-display);
  font-size: 12px; font-weight: 700;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--la-accent);
  margin: 0 0 14px;
}
.cr-head {
  font-family: var(--la-display);
  font-weight: var(--la-disp-weight);
  font-size: var(--la-head-size);
  line-height: 1.06;
  letter-spacing: var(--la-tracking);
  text-transform: var(--la-caps);
  margin: 0;
}
.cr-sub {
  font-size: 17px; line-height: 1.6; color: var(--fg-2);
  max-width: 60ch; margin: 16px 0 0;
}
.cr-center { text-align: center; }
.cr-center .cr-sub { margin-left: auto; margin-right: auto; }

/* ---- buttons (extend the system .btn) --------------------------------- */
.cr-btn-accent {
  background: var(--la-accent); color: var(--la-on-accent);
  border-color: transparent;
}
.cr-btn-accent:hover { background: var(--la-accent-deep); text-decoration: none; }
.cr-btn-accent:active { transform: scale(.98); }

/* =========================================================================
   HEADER
   ========================================================================= */
.cr-promo {
  background: var(--ninja-onyx); color: var(--paper);
  display: flex; align-items: center; justify-content: center;
  gap: 14px; padding: 9px 24px;
  font-size: 13px; font-family: var(--font-body);
}
.cr-promo b { color: var(--la-accent); font-weight: 700; }
.cr-promo .cr-promo-dot { opacity: .4; }

.cr-header {
  position: sticky; top: 0; z-index: 40;
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 32px;
  background: var(--paper);
  border-bottom: 1px solid var(--border);
}
.cr-header img { height: 26px; display: block; }
.cr-header .cr-logo-row { display: flex; align-items: center; gap: 12px; text-decoration: none; color: inherit; }
.cr-header .cr-by {
  font-family: var(--font-display); font-weight: 700; font-size: 10px;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--fg-3);
}
.cr-logo-text {
  font-family: var(--font-heavy);
  font-size: 26px;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--ink);
}
.cr-mark {
  display: inline-flex;
  align-items: baseline;
  gap: 0.16em;
  line-height: 1;
  font-size: 24px;
  user-select: none;
  color: var(--ink);
}
.cr-mark-easy {
  font-family: var(--font-heavy);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  font-size: 1em;
}
.cr-mark-creami {
  font-family: var(--font-display);
  font-weight: 800;
  text-transform: lowercase;
  letter-spacing: -0.03em;
  font-size: 0.96em;
  position: relative;
}
.cr-mark-reg {
  font-size: 0.24em;
  vertical-align: super;
  font-weight: 700;
  margin-left: 0.12em;
  letter-spacing: 0;
}
.cr-mark-scoop {
  display: inline-block;
  width: 0.15em;
  height: 0.15em;
  border-radius: 50%;
  background: currentColor;
  vertical-align: 0.64em;
  margin-left: -0.01em;
}
.cr-header-cta { display: flex; align-items: center; gap: 18px; }
.cr-header-rate {
  display: flex; align-items: center; gap: 6px;
  font-size: 13px; color: var(--fg-2); font-weight: 600;
}
.cr-header-secure {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-display); font-weight: 700; font-size: 11px;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--fg-2);
}
.cr-header-secure svg { color: var(--la-accent-deep); }
.cr-header-rate .cr-stars { color: var(--la-accent); display: inline-flex; }
.cr-cart {
  position: relative; display: inline-flex; cursor: pointer;
  color: var(--ink);
}
.cr-cart-badge {
  position: absolute; top: -8px; right: -10px;
  background: var(--la-accent); color: var(--la-on-accent);
  font-size: 10px; font-weight: 700;
  width: 18px; height: 18px; border-radius: 999px;
  display: flex; align-items: center; justify-content: center;
}
@media (max-width: 620px) {
  .cr-header-rate,
  .cr-header-cta-btn { display: none; }
}

/* =========================================================================
   HERO
   ========================================================================= */
.cr-hero {
  background:
    radial-gradient(120% 90% at 85% 0%, var(--la-hero-wash) 0%, transparent 70%),
    var(--la-hero-wash);
  position: relative; overflow: hidden;
}
.cr-hero-grid {
  display: grid; grid-template-columns: 1.05fr 0.95fr;
  gap: 48px; align-items: center;
  padding: clamp(48px, 6vw, 96px) 0 clamp(56px, 7vw, 104px);
}
.cr-hero h1 {
  font-family: var(--la-display);
  font-weight: var(--la-disp-weight);
  font-size: var(--la-hero-size);
  line-height: 1.0;
  letter-spacing: var(--la-tracking);
  text-transform: var(--la-hero-caps);
  margin: 0;
}
.cr-hero h1 .cr-beat-2 { color: var(--la-accent-deep); display: block; }
.cr-hero .cr-sub { font-size: 18px; max-width: 46ch; }

.cr-hero-rate {
  display: flex; align-items: center; gap: 10px;
  margin-top: 22px; font-size: 14px; color: var(--fg-2);
}
.cr-hero-rate .cr-stars { color: var(--la-accent); display: inline-flex; }
.cr-hero-rate b { color: var(--ink); font-weight: 700; }

.cr-hero-actions {
  display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px;
}
.cr-chips { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 26px; }
.cr-chip {
  display: flex; align-items: center; gap: 7px;
  font-size: 13px; font-weight: 600; color: var(--fg-2);
}
.cr-chip svg { color: var(--la-accent-deep); flex: none; }

/* macro badge — protein variant */
.cr-macro-strip {
  display: inline-flex; align-items: stretch; gap: 0;
  margin-top: 24px; border-radius: var(--r-pill);
  background: var(--ninja-onyx); color: var(--paper);
  overflow: hidden;
}
.cr-macro-cell {
  padding: 12px 22px; display: flex; flex-direction: column; gap: 2px;
  border-right: 1px solid rgba(255,255,255,.12);
}
.cr-macro-cell:last-child { border-right: none; }
.cr-macro-cell b {
  font-family: var(--font-heavy); font-size: 22px; line-height: 1;
  letter-spacing: -0.02em;
}
.cr-macro-cell span {
  font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase;
  color: rgba(255,255,255,.6);
}

/* hero visual */
.cr-hero-visual { position: relative; }
.cr-photo {
  position: relative; border-radius: var(--la-r-soft);
  background:
    repeating-linear-gradient(135deg,
      rgba(0,0,0,.022) 0 14px, rgba(0,0,0,0) 14px 28px),
    color-mix(in srgb, var(--la-accent) 9%, #fff);
  border: 1.5px dashed color-mix(in srgb, var(--la-accent) 38%, var(--slate-300));
  display: flex; align-items: flex-end; justify-content: center;
  overflow: hidden;
}
.cr-photo-tag {
  position: absolute; top: 14px; left: 14px;
  font-family: var(--font-mono); font-size: 10.5px;
  letter-spacing: 0.04em; color: var(--fg-3);
  background: rgba(255,255,255,.82); padding: 5px 9px;
  border-radius: var(--r-xs);
}
.cr-hero-photo { aspect-ratio: 4 / 5; }
.cr-photo-real { background: var(--paper); border: none; }
.cr-photo-real img {
  display: block; width: 100%; height: 100%;
  object-fit: cover; object-position: center;
}

/* CSS-art pint of ice cream (the hero motif) */
.cr-pint {
  position: relative; width: 58%; margin-bottom: -2%;
  filter: drop-shadow(0 26px 34px rgba(0,0,0,.22));
}
.cr-pint-swirl {
  position: relative; height: 0; padding-bottom: 86%;
}
.cr-pint-swirl i {
  position: absolute; left: 50%; border-radius: 50%;
  transform: translateX(-50%);
  background: var(--la-swirl, linear-gradient(160deg, #fff 0%, #e9d8c4 60%, #c79865 100%));
  box-shadow: inset 0 8px 16px rgba(255,255,255,.5), inset 0 -10px 18px rgba(0,0,0,.16);
}
.cr-pint-swirl i:nth-child(1) { width: 96%; bottom: 0;   padding-bottom: 56%; }
.cr-pint-swirl i:nth-child(2) { width: 70%; bottom: 32%; padding-bottom: 42%; }
.cr-pint-swirl i:nth-child(3) { width: 44%; bottom: 56%; padding-bottom: 30%; }
.cr-pint-tub {
  position: relative; height: 0; padding-bottom: 78%;
  background:
    linear-gradient(180deg,
      color-mix(in srgb, var(--la-accent) 16%, #fff) 0%,
      #ffffff 22%, #f4f1ec 100%);
  border-radius: 6px 6px 14px 14px;
  box-shadow: inset 0 -22px 30px rgba(0,0,0,.07),
              inset 0 0 0 1px rgba(0,0,0,.06);
  margin-top: -6%;
}
.cr-pint-tub::before {
  content: ""; position: absolute; left: 8%; right: 8%; top: 24%;
  height: 40%; border-radius: 4px;
  background: color-mix(in srgb, var(--la-accent) 20%, #fff);
}
.cr-pint-tub::after {
  content: "CREAMi"; position: absolute; left: 0; right: 0; top: 38%;
  text-align: center; font-family: var(--font-heavy);
  font-size: clamp(13px, 1.5vw, 19px); letter-spacing: 0.02em;
  color: var(--la-accent-deep); text-transform: uppercase;
}
.cr-pint-float {
  position: absolute; right: -6%; bottom: 6%;
  width: 46%; z-index: 2;
  animation: cr-bob 6s ease-in-out infinite;
}
@keyframes cr-bob {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-12px); }
}

/* =========================================================================
   HOW IT WORKS
   ========================================================================= */
.cr-steps {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 24px; margin-top: 52px; position: relative;
}
.cr-step {
  background: var(--paper); border: 1px solid var(--border);
  border-radius: var(--la-r-card); padding: 32px 28px;
  position: relative;
}
.cr-step-num {
  font-family: var(--font-heavy);
  font-size: 64px; line-height: .8;
  color: color-mix(in srgb, var(--la-accent) 22%, #fff);
  letter-spacing: -0.04em;
}
.cr-step-icon {
  position: absolute; top: 30px; right: 28px;
  width: 48px; height: 48px; border-radius: 999px;
  display: flex; align-items: center; justify-content: center;
  background: color-mix(in srgb, var(--la-accent) 12%, #fff);
  color: var(--la-accent-deep);
}
.cr-step h3 {
  font-family: var(--la-display); font-weight: var(--la-disp-weight);
  text-transform: uppercase; letter-spacing: 0.01em;
  font-size: 22px; margin: 18px 0 6px;
}
.cr-step p { font-size: 14px; line-height: 1.6; color: var(--fg-2); margin: 0; }
.cr-step-time {
  display: inline-block; margin-top: 14px;
  font-family: var(--font-display); font-weight: 700;
  font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--la-accent-deep);
  background: color-mix(in srgb, var(--la-accent) 13%, #fff);
  padding: 5px 11px; border-radius: var(--r-pill);
}

/* =========================================================================
   RECIPE RAIL — "Supper Club" styling
   ========================================================================= */
.cr-recipes { background: var(--la-band); }
.cr-recipe-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 24px; margin-top: 48px;
}
.cr-recipe {
  display: flex; flex-direction: column; gap: 12px;
  cursor: pointer;
}
.cr-recipe-img {
  aspect-ratio: 1 / 1; border-radius: var(--la-r-img);
  position: relative; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  background: var(--paper);
  transition: transform var(--dur-3) var(--ease-out),
              box-shadow var(--dur-3) var(--ease-out);
}
.cr-recipe:hover .cr-recipe-img {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.cr-recipe-photo {
  display: block; width: 100%; height: 100%;
  object-fit: cover; object-position: center;
}
.cr-recipe-tag {
  position: absolute; top: 12px; left: 12px;
  background: var(--paper); color: var(--ink);
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.07em; text-transform: uppercase;
  padding: 5px 10px; border-radius: var(--r-pill);
}
.cr-recipe-macro {
  position: absolute; top: 12px; right: 12px;
  background: var(--ninja-onyx); color: var(--paper);
  font-family: var(--font-heavy); font-size: 12px;
  padding: 6px 10px; border-radius: var(--r-pill);
  letter-spacing: -0.01em;
}
.cr-recipe-title {
  font-family: var(--font-display); font-weight: 700;
  font-size: 17px; line-height: 1.28;
}
.cr-recipe-meta { font-size: 13px; color: var(--fg-2); }
.cr-recipe-link {
  display: inline-flex; align-items: center; gap: 4px;
  font-family: var(--font-display); font-weight: 700;
  font-size: 13px; color: var(--ink); margin-top: 2px;
}
.cr-recipe:hover .cr-recipe-link { color: var(--la-accent-deep); }

/* =========================================================================
   COMPARISON
   ========================================================================= */
.cr-compare {
  margin-top: 48px;
  border: 1px solid var(--border); border-radius: var(--la-r-card);
  overflow: hidden;
}
.cr-compare-row {
  display: grid; grid-template-columns: 1.1fr 1fr 1fr;
  border-bottom: 1px solid var(--border);
}
.cr-compare-row:last-child { border-bottom: none; }
.cr-compare-cell { padding: 22px 24px; }
.cr-compare-cell.cr-feature {
  font-family: var(--font-display); font-weight: 700; font-size: 15px;
  background: var(--la-band); display: flex; align-items: center;
}
.cr-compare-cell.cr-creami {
  background: color-mix(in srgb, var(--la-accent) 8%, #fff);
  border-left: 2px solid var(--la-accent);
}
.cr-compare-head {
  font-family: var(--la-display); font-weight: var(--la-disp-weight);
  text-transform: uppercase; font-size: 14px; letter-spacing: 0.04em;
  display: flex; align-items: center; gap: 8px;
}
.cr-compare-head .cr-x { color: var(--slate-400); }
.cr-compare-head .cr-y { color: var(--la-accent-deep); }
.cr-compare-cell .cr-cv {
  display: block; font-size: 14px; line-height: 1.5; margin-top: 6px;
}
.cr-compare-cell.cr-creami .cr-cv { color: var(--ink); font-weight: 600; }
.cr-compare-cell.cr-store  .cr-cv { color: var(--fg-2); }

/* =========================================================================
   PRESS / PULL-QUOTE
   ========================================================================= */
.cr-press {
  background: var(--la-quote-bg); color: var(--la-quote-fg);
  text-align: center;
}
.cr-press .cr-eyebrow { color: var(--la-accent); }
.cr-press-q {
  font-family: var(--font-heavy);
  font-size: clamp(26px, 3.6vw, 50px); line-height: 1.12;
  letter-spacing: -0.015em; text-transform: uppercase;
  max-width: 16ch; margin: 0 auto 26px;
}
.cr-press-attr {
  font-family: var(--font-display); font-weight: 600; font-size: 15px;
  opacity: .8; letter-spacing: 0.02em;
}
.cr-press-logos {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 14px 40px; margin-top: 56px;
  padding-top: 36px; border-top: 1px solid rgba(255,255,255,.14);
}
.cr-press-logo {
  font-family: var(--font-display); font-weight: 800;
  font-size: 14px; letter-spacing: 0.14em; text-transform: uppercase;
  color: rgba(255,255,255,.62);
}

/* =========================================================================
   TRUST ROW
   ========================================================================= */
.cr-trust-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 24px; margin-top: 48px;
}
.cr-trust-item { padding: 0 8px; }
.cr-trust-item .cr-ti-icon { color: var(--la-accent-deep); }
.cr-trust-item h4 {
  font-family: var(--font-display); font-weight: 700;
  font-size: 16px; margin: 14px 0 6px;
}
.cr-trust-item p { font-size: 13px; line-height: 1.55; color: var(--fg-2); margin: 0; }
.cr-trust-rating b {
  font-family: var(--font-heavy); font-size: 30px; letter-spacing: -0.02em;
}
.cr-trust-rating .cr-stars { color: var(--la-accent); display: inline-flex; }

/* =========================================================================
   BUY SECTION
   ========================================================================= */
.cr-buy { background: var(--la-band); }
.cr-buy-grid {
  display: grid; grid-template-columns: 2fr 1fr;
  gap: 56px; align-items: start;
}
.cr-buy-visual {
  aspect-ratio: 1 / 1; border-radius: var(--la-r-soft);
  display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
  transition: background var(--dur-3) var(--ease-out);
}
.cr-buy-badge {
  position: absolute; top: 18px; left: 18px;
  background: var(--la-accent); color: var(--la-on-accent);
  font-size: 11px; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; padding: 6px 12px; border-radius: var(--r-pill);
}

/* CSS-art CREAMi machine (colorway-driven) */
.cr-machine { width: 56%; position: relative; }
.cr-machine-body {
  height: 0; padding-bottom: 132%;
  border-radius: 22% 22% 14% 14%;
  position: relative;
  box-shadow: 0 50px 80px rgba(0,0,0,.32),
              inset 0 26px 50px rgba(255,255,255,.22),
              inset 0 -34px 54px rgba(0,0,0,.30);
}
.cr-machine-body::before {
  content: ""; position: absolute; left: 18%; right: 18%; top: 14%;
  height: 9%; border-radius: 999px;
  background: rgba(255,255,255,.16);
}
.cr-machine-body::after {
  content: ""; position: absolute; left: 28%; right: 28%; bottom: 12%;
  height: 14%; border-radius: 14%;
  background: rgba(0,0,0,.22);
}
.cr-machine-bowl {
  position: absolute; left: 50%; transform: translateX(-50%);
  bottom: -7%; width: 78%; height: 0; padding-bottom: 30%;
  background: linear-gradient(180deg, #fff 0%, #e7e2d9 100%);
  border-radius: 10% 10% 26% 26%;
  box-shadow: 0 24px 40px rgba(0,0,0,.2);
}
/* PDP-style photo visual (real product photography) */
.cr-buy-visual-row {
  display: flex; gap: 6px; align-items: stretch;
}
.cr-buy-visual-row .cr-buy-visual {
  flex: 1 1 auto;
}
.cr-buy-visual.cr-pdp {
  background: var(--paper);
  padding: 0;
  align-items: stretch; justify-content: stretch;
}
.cr-pdp-photo {
  display: block; width: 100%; height: 100%;
  object-fit: cover; object-position: center;
}
.cr-pdp-thumbs {
  display: flex; flex-direction: column; gap: 10px; flex: none;
}
.cr-pdp-thumb {
  width: 64px; height: 64px; padding: 0;
  background: var(--paper); border: 1.5px solid var(--border);
  border-radius: var(--r-sm); cursor: pointer; overflow: hidden;
  transition: border-color var(--dur-2) var(--ease-out);
}
.cr-pdp-thumb:hover { border-color: var(--border-strong); }
.cr-pdp-thumb[data-active="true"] { border-color: var(--ink); }
.cr-pdp-thumb img {
  display: block; width: 100%; height: 100%; object-fit: cover;
}

/* buy box */
.cr-buybox { display: flex; flex-direction: column; gap: 16px; }
.cr-buybox .cr-brand {
  font-family: var(--font-display); font-weight: 700; font-size: 12px;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--la-accent);
}
.cr-buybox h2 {
  font-family: var(--la-display); font-weight: var(--la-disp-weight);
  font-size: clamp(28px, 3vw, 40px); line-height: 1.05;
  letter-spacing: var(--la-tracking); text-transform: uppercase; margin: 0;
}
.cr-buybox-rate {
  display: flex; align-items: center; gap: 8px;
  font-size: 14px; color: var(--fg-2);
}
.cr-buybox-rate .cr-stars { color: var(--la-accent); display: inline-flex; }
.cr-price-row { display: flex; align-items: baseline; gap: 12px; }
.cr-price {
  font-family: var(--font-heavy); font-size: 34px; letter-spacing: -0.02em;
}
.cr-price-was {
  font-size: 17px; color: var(--fg-3); text-decoration: line-through;
}

.cr-specs, .cr-box {
  margin-top: 18px; padding-top: 18px;
  border-top: 1px solid var(--rule);
}
.cr-specs-head, .cr-box-head {
  font-family: var(--font-display); font-weight: 700; font-size: 12px;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--fg-2);
  margin: 0 0 10px;
}
.cr-specs-dl { margin: 0; display: grid; gap: 6px; }
.cr-specs-row {
  display: grid; grid-template-columns: 130px 1fr; gap: 12px;
  font-size: 14px; line-height: 1.45;
}
.cr-specs-row dt { color: var(--fg-2); font-weight: 600; margin: 0; }
.cr-specs-row dd { color: var(--ink); margin: 0; }
.cr-box-list {
  margin: 0; padding-left: 18px;
  font-size: 14px; line-height: 1.55; color: var(--ink);
}
.cr-box-list li { margin-bottom: 2px; }

.cr-field-label {
  font-family: var(--font-display); font-weight: 700; font-size: 12px;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--fg-2);
}
.cr-field-label b { color: var(--ink); font-weight: 700; }
.cr-cw-row { display: flex; gap: 12px; margin-top: 10px; }
.cr-cw {
  width: 52px; height: 52px; border-radius: 999px; padding: 0;
  border: 1px solid var(--border); cursor: pointer;
  position: relative; transition: box-shadow var(--dur-2) var(--ease-out);
}
.cr-cw[data-active="true"] {
  box-shadow: 0 0 0 2px var(--la-accent), inset 0 0 0 3px var(--paper);
}
.cr-bullets { display: flex; flex-direction: column; gap: 9px; }
.cr-bullet {
  display: flex; gap: 10px; align-items: flex-start;
  font-size: 14px; line-height: 1.5;
}
.cr-bullet svg { color: var(--la-accent-deep); flex: none; margin-top: 2px; }
.cr-qty {
  display: flex; align-items: center; justify-content: space-between;
  border: 1px solid var(--border-strong); border-radius: var(--r-pill);
  width: 168px; padding: 0 8px;
}
.cr-qty button {
  background: none; border: none; cursor: pointer;
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  color: var(--ink);
}
.cr-qty span { font-weight: 700; }
.cr-buy-actions { display: flex; flex-direction: column; gap: 10px; margin-top: 4px; }
.cr-buy-perks {
  display: flex; flex-direction: column; gap: 9px;
  padding-top: 16px; border-top: 1px solid var(--border);
}
.cr-buy-perk {
  display: flex; gap: 10px; align-items: center;
  font-size: 13px; color: var(--ink);
}
.cr-buy-perk svg { color: var(--la-accent-deep); flex: none; }

/* model nameplate on the buy visual */
.cr-buy-nameplate {
  position: absolute; bottom: 16px; left: 50%; transform: translateX(-50%);
  background: rgba(255,255,255,.92); color: var(--ink);
  font-family: var(--font-display); font-weight: 700; font-size: 12px;
  letter-spacing: 0.01em; white-space: nowrap;
  padding: 7px 14px; border-radius: var(--r-pill);
  box-shadow: var(--shadow-sm);
}

/* machine picker — 3 selectable rows */
.cr-machine-picker { display: flex; flex-direction: column; gap: 10px; margin-top: 10px; }
.cr-mp-row {
  display: flex; align-items: center; gap: 13px; width: 100%;
  background: var(--paper); border: 1.5px solid var(--border);
  border-radius: var(--la-r-card); padding: 14px 16px;
  cursor: pointer; text-align: left; font-family: var(--font-body);
  transition: border-color var(--dur-2) var(--ease-out),
              background var(--dur-2) var(--ease-out);
}
.cr-mp-row:hover { border-color: var(--border-strong); }
.cr-mp-row[data-active="true"] {
  border-color: var(--la-accent);
  background: color-mix(in srgb, var(--la-accent) 6%, #fff);
}
.cr-mp-radio {
  width: 18px; height: 18px; border-radius: 999px; flex: none;
  border: 2px solid var(--border-strong); position: relative;
}
.cr-mp-row[data-active="true"] .cr-mp-radio { border-color: var(--la-accent); }
.cr-mp-row[data-active="true"] .cr-mp-radio::after {
  content: ""; position: absolute; inset: 3px;
  border-radius: 999px; background: var(--la-accent);
}
.cr-mp-text { display: flex; flex-direction: column; gap: 2px; flex: 1; min-width: 0; }
.cr-mp-name { font-family: var(--font-display); font-weight: 700; font-size: 14px; }
.cr-mp-spec { font-size: 12px; color: var(--fg-2); }
.cr-mp-price {
  font-family: var(--font-heavy); font-size: 15px;
  letter-spacing: -0.02em; white-space: nowrap;
}

/* add-on items */
.cr-addons { display: flex; flex-direction: column; gap: 10px; margin-top: 10px; }
.cr-addon-row {
  display: flex; align-items: center; gap: 13px; width: 100%;
  background: var(--paper); border: 1.5px solid var(--border);
  border-radius: var(--la-r-card); padding: 13px 16px;
  cursor: pointer; text-align: left; font-family: var(--font-body);
  transition: border-color var(--dur-2) var(--ease-out),
              background var(--dur-2) var(--ease-out);
}
.cr-addon-row:hover { border-color: var(--border-strong); }
.cr-addon-row[data-active="true"] {
  border-color: var(--la-accent);
  background: color-mix(in srgb, var(--la-accent) 6%, #fff);
}
.cr-addon-box {
  width: 20px; height: 20px; border-radius: 5px; flex: none;
  border: 2px solid var(--border-strong); color: #fff;
  display: flex; align-items: center; justify-content: center;
}
.cr-addon-row[data-active="true"] .cr-addon-box {
  background: var(--la-accent); border-color: var(--la-accent);
}
.cr-addon-text { display: flex; flex-direction: column; gap: 1px; flex: 1; min-width: 0; }
.cr-addon-text b { font-family: var(--font-display); font-weight: 700; font-size: 13.5px; }
.cr-addon-text span { font-size: 12px; color: var(--fg-2); }
.cr-addon-price {
  font-weight: 700; font-size: 13px; white-space: nowrap;
  color: var(--la-accent-deep);
}

/* =========================================================================
   FAQ ACCORDION
   ========================================================================= */
.cr-faq-list { margin-top: 40px; border-top: 1px solid var(--border); }
.cr-faq-item { border-bottom: 1px solid var(--border); }
.cr-faq-q {
  width: 100%; background: none; border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; padding: 24px 4px; text-align: left;
  font-family: var(--font-display); font-weight: 700; font-size: 18px;
  color: var(--ink);
}
.cr-faq-q .cr-faq-ico {
  flex: none; color: var(--la-accent-deep);
  transition: transform var(--dur-2) var(--ease-out);
}
.cr-faq-item[data-open="true"] .cr-faq-ico { transform: rotate(45deg); }
.cr-faq-a {
  overflow: hidden; max-height: 0;
  transition: max-height var(--dur-3) var(--ease-out);
}
.cr-faq-item[data-open="true"] .cr-faq-a { max-height: 320px; }
.cr-faq-a p {
  font-size: 15px; line-height: 1.6; color: var(--fg-2);
  padding: 0 4px 26px; margin: 0; max-width: 70ch;
}

/* =========================================================================
   FOOTER
   ========================================================================= */
.cr-footer {
  background: var(--ninja-onyx); color: rgba(255,255,255,.66);
  padding: 44px 32px;
}
.cr-footer-inner {
  max-width: 1180px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; flex-wrap: wrap;
}
.cr-footer img { height: 22px; opacity: .9; }
.cr-footer-links { display: flex; gap: 22px; flex-wrap: wrap; }
.cr-footer-links a { font-size: 13px; color: rgba(255,255,255,.66); }
.cr-footer-links a:hover { color: #fff; }
.cr-footer-legal { font-size: 12px; color: rgba(255,255,255,.42); }

/* =========================================================================
   STICKY BUY BAR
   ========================================================================= */
.cr-sticky {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
  background: var(--paper);
  border-top: 1px solid var(--border);
  box-shadow: 0 -8px 28px rgba(0,0,0,.10);
  transform: translateY(110%);
  transition: transform var(--dur-3) var(--ease-out);
  padding-bottom: env(safe-area-inset-bottom);
}
.cr-sticky[data-show="true"] { transform: translateY(0); }
.cr-sticky-inner {
  max-width: 1180px; margin: 0 auto; padding: 12px 32px;
  display: flex; align-items: center; gap: 20px;
}
.cr-sticky-thumb {
  width: 50px; height: 50px; border-radius: var(--r-sm); flex: none;
  background: var(--paper); border: 1px solid var(--border); overflow: hidden;
}
.cr-sticky-thumb img {
  display: block; width: 100%; height: 100%; object-fit: cover;
}
.cr-sticky-info { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.cr-sticky-info b {
  font-family: var(--font-display); font-weight: 700; font-size: 14px;
  white-space: nowrap;
}
.cr-sticky-info span { font-size: 12px; color: var(--fg-2); }
.cr-sticky-cw { display: flex; gap: 6px; margin-left: 4px; }
.cr-sticky-cw button {
  width: 22px; height: 22px; border-radius: 999px; padding: 0;
  border: 1px solid var(--border); cursor: pointer;
}
.cr-sticky-cw button[data-active="true"] {
  box-shadow: 0 0 0 2px var(--la-accent), inset 0 0 0 2px var(--paper);
}
.cr-sticky-spacer { flex: 1; }
.cr-sticky-price {
  font-family: var(--font-heavy); font-size: 19px; letter-spacing: -0.02em;
}
.cr-sticky .cr-btn-accent { padding: 13px 30px; }
@media (max-width: 720px) {
  .cr-sticky-cw, .cr-sticky-info span { display: none; }
  .cr-sticky-inner { gap: 12px; padding: 10px 18px; }
}

/* =========================================================================
   SCROLL REVEAL
   ========================================================================= */
.cr-reveal {
  opacity: 0; transform: translateY(16px);
  transition: opacity var(--dur-4) var(--ease-out),
              transform var(--dur-4) var(--ease-out);
}
.cr-reveal.cr-in { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .cr-reveal { opacity: 1; transform: none; transition: none; }
  .cr-pint-float { animation: none; }
}

/* =========================================================================
   RESPONSIVE
   ========================================================================= */
@media (max-width: 960px) {
  .cr-hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .cr-hero-visual { max-width: 460px; }
  .cr-steps { grid-template-columns: 1fr; }
  .cr-recipe-grid { grid-template-columns: repeat(2, 1fr); }
  .cr-trust-grid { grid-template-columns: repeat(2, 1fr); gap: 32px 24px; }
  .cr-buy-grid { grid-template-columns: 1fr; gap: 36px; }
  .cr-buy-visual { max-width: 460px; }
  .cr-compare-row { grid-template-columns: 1fr; }
  .cr-compare-cell.cr-creami { border-left: none; border-top: 2px solid var(--la-accent); }
}
@media (max-width: 560px) {
  .cr-wrap { padding: 0 20px; }
  .cr-recipe-grid { grid-template-columns: 1fr; }
  .cr-trust-grid { grid-template-columns: 1fr; }
  .cr-header { padding: 12px 18px; }
  .cr-macro-strip { flex-wrap: wrap; }
}

/* =========================================================================
   RECIPE PAGES (recipes.html — listing, recipe.html — detail)
   ========================================================================= */

/* --- listing index ----------------------------------------------------- */
.rp-index-hero { padding-top: 56px; }
.rp-index-hero .cr-center { margin-bottom: 56px; }

.rp-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.rp-card {
  display: flex; flex-direction: column; gap: 14px;
  text-decoration: none; color: inherit;
  border-radius: var(--la-r-soft); overflow: hidden;
  background: var(--paper);
  transition: transform var(--dur-3) var(--ease-out),
              box-shadow var(--dur-3) var(--ease-out);
}
.rp-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.rp-card-img {
  aspect-ratio: 1 / 1; border-radius: var(--la-r-img);
  position: relative; overflow: hidden; background: var(--slate-100);
}
.rp-card-img img {
  display: block; width: 100%; height: 100%;
  object-fit: cover; object-position: center;
}
.rp-card-tag {
  position: absolute; top: 12px; left: 12px;
  background: var(--paper); color: var(--ink);
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.07em; text-transform: uppercase;
  padding: 5px 10px; border-radius: var(--r-pill);
}
.rp-card-body {
  display: flex; flex-direction: column; gap: 6px;
  padding: 0 4px 16px;
}
.rp-card-body h3 {
  font-family: var(--la-display); font-weight: var(--la-disp-weight);
  font-size: 22px; line-height: 1.15; margin: 0;
  letter-spacing: var(--la-tracking);
}
.rp-card-meta {
  font-size: 13px; color: var(--fg-2);
  display: inline-flex; align-items: center; gap: 6px;
}
.rp-card-meta svg { color: var(--la-accent); }
.rp-card-link {
  font-family: var(--font-display); font-weight: 700;
  font-size: 13px; text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--la-accent);
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 4px;
}

/* --- detail breadcrumb ------------------------------------------------- */
.rp-crumb { padding: 24px 0 0; }
.rp-crumb a {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-display); font-weight: 600;
  font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--fg-2); text-decoration: none;
}
.rp-crumb a:hover { color: var(--la-accent); }

/* --- detail hero ------------------------------------------------------- */
.rp-hero { padding-top: 24px; }
.rp-hero-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 56px; align-items: center;
}
.rp-hero-img {
  aspect-ratio: 1 / 1; border-radius: var(--la-r-soft);
  position: relative; overflow: hidden; background: var(--paper);
}
.rp-hero-img img {
  display: block; width: 100%; height: 100%;
  object-fit: cover; object-position: center;
}
.rp-hero-tag {
  position: absolute; top: 18px; left: 18px;
  background: var(--paper); color: var(--ink);
  font-size: 12px; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  padding: 6px 12px; border-radius: var(--r-pill);
}
.rp-hero-copy h1 {
  font-family: var(--la-display); font-weight: var(--la-disp-weight);
  font-size: clamp(34px, 4.4vw, 56px); line-height: 1.05;
  letter-spacing: var(--la-tracking); text-transform: var(--la-hero-caps);
  margin: 14px 0 18px;
}
.rp-intro {
  font-size: 17px; line-height: 1.55; color: var(--fg-2);
  margin: 0 0 28px;
}
.rp-stats {
  display: flex; gap: 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.rp-stat {
  flex: 1; padding: 18px 14px;
  display: flex; flex-direction: column; gap: 4px;
  border-right: 1px solid var(--border);
}
.rp-stat:last-child { border-right: none; }
.rp-stat svg { color: var(--la-accent); margin-bottom: 2px; }
.rp-stat b {
  font-family: var(--font-heavy); font-size: 16px;
  letter-spacing: -0.01em;
}
.rp-stat span {
  font-family: var(--font-display); font-weight: 600;
  font-size: 11px; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--fg-3);
}

/* --- detail body: ingredients + steps ---------------------------------- */
.rp-body { background: var(--la-band); }
.rp-body-grid {
  display: grid; grid-template-columns: 1fr 2fr;
  gap: 56px; align-items: start;
}
.rp-ingredients {
  position: sticky; top: 24px;
  background: var(--paper); border-radius: var(--la-r-soft);
  padding: 28px 28px 24px;
}
.rp-ingredients h2 {
  font-size: 22px !important; margin: 0 0 18px;
}
.rp-ingredients ul {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 12px;
}
.rp-ingredients li {
  display: flex; gap: 12px; align-items: flex-start;
  font-size: 15px; line-height: 1.5;
}
.rp-bullet {
  width: 6px; height: 6px; border-radius: 50%; flex: none;
  background: var(--la-accent); margin-top: 9px;
}

.rp-steps h2 { font-size: 28px !important; margin: 0 0 24px; }
.rp-steps ol {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 22px;
}
.rp-steps li {
  display: grid; grid-template-columns: 56px 1fr;
  gap: 18px; align-items: start;
}
.rp-step-num {
  font-family: var(--font-heavy); font-size: 28px;
  letter-spacing: -0.02em; color: var(--la-accent);
  line-height: 1;
}
.rp-steps li p {
  margin: 0; font-size: 16px; line-height: 1.55;
  color: var(--fg-1);
}

.rp-tip {
  display: flex; gap: 14px; align-items: flex-start;
  margin-top: 36px; padding: 20px 22px;
  background: var(--paper); border-radius: var(--la-r-card);
  border-left: 4px solid var(--la-accent);
}
.rp-tip svg { color: var(--la-accent); flex: none; margin-top: 2px; }
.rp-tip b {
  font-family: var(--font-display); font-weight: 700;
  font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase;
}
.rp-tip p { margin: 4px 0 0; font-size: 15px; line-height: 1.5; color: var(--fg-2); }

/* --- detail CTA -------------------------------------------------------- */
.rp-cta { padding-bottom: 80px; }

/* --- responsive -------------------------------------------------------- */
@media (max-width: 1000px) {
  .rp-grid { grid-template-columns: repeat(2, 1fr); }
  .rp-hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .rp-body-grid { grid-template-columns: 1fr; gap: 32px; }
  .rp-ingredients { position: static; }
}
@media (max-width: 560px) {
  .rp-grid { grid-template-columns: 1fr; }
  .rp-stats { flex-direction: column; }
  .rp-stat { border-right: none; border-bottom: 1px solid var(--border); }
  .rp-stat:last-child { border-bottom: none; }
}

/* ---- Cart drawer -------------------------------------------------------- */
.cr-drawer { position: fixed; inset: 0; pointer-events: none; z-index: 80; }
.cr-drawer-open { pointer-events: auto; }
.cr-drawer-mask {
  position: absolute; inset: 0; background: rgba(15,20,30,0.45);
  opacity: 0; transition: opacity .25s ease;
}
.cr-drawer-open .cr-drawer-mask { opacity: 1; }
.cr-drawer-panel {
  position: absolute; top: 0; right: 0; bottom: 0; width: 420px; max-width: 100%;
  background: #fff; box-shadow: -12px 0 32px rgba(0,0,0,0.18);
  display: flex; flex-direction: column;
  transform: translateX(100%); transition: transform .28s ease;
}
.cr-drawer-open .cr-drawer-panel { transform: translateX(0); }
.cr-drawer-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 22px; border-bottom: 1px solid #ECECEC;
}
.cr-drawer-head h3 { margin: 0; font-size: 18px; }
.cr-drawer-count { color: #777; font-weight: 400; }
.cr-drawer-close {
  background: transparent; border: 0; font-size: 28px; line-height: 1; cursor: pointer; color: #333;
}
.cr-drawer-empty { padding: 32px 22px; color: #666; }
.cr-drawer-list { list-style: none; padding: 0; margin: 0; overflow-y: auto; flex: 1; }
.cr-drawer-item {
  display: grid; grid-template-columns: 64px 1fr auto;
  gap: 12px; padding: 14px 22px; border-bottom: 1px solid #F2F2F2; align-items: center;
}
.cr-drawer-item--noimg { grid-template-columns: 1fr auto; }
.cr-drawer-item img {
  width: 64px; height: 64px; object-fit: cover; border-radius: 8px; background: #F6F6F6;
}
.cr-drawer-item-body { display: flex; flex-direction: column; gap: 4px; }
.cr-drawer-item-body b { font-size: 14px; line-height: 1.3; }
.cr-drawer-item-body span { color: #555; font-size: 13px; }
.cr-drawer-item .cr-qty { display: inline-flex; gap: 6px; align-items: center; margin-top: 6px; width: auto; border: none; padding: 0; }
.cr-drawer-item .cr-qty button {
  width: 40px; height: 40px; border: 1px solid #DDD; background: #fff; border-radius: 8px;
  font-size: 18px; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
}
.cr-drawer-item .cr-qty span { min-width: 24px; text-align: center; font-variant-numeric: tabular-nums; }
.cr-drawer-rm {
  background: transparent; border: 0; font-size: 20px; cursor: pointer; color: #888;
}
.cr-drawer-foot {
  padding: 18px 22px; border-top: 1px solid #ECECEC; display: flex; flex-direction: column; gap: 10px;
}
.cr-drawer-sub { display: flex; justify-content: space-between; font-size: 16px; }
.cr-drawer-note { margin: 0; color: #666; font-size: 12px; }
.cr-drawer-cta[aria-disabled="true"] { opacity: .5; pointer-events: none; }

/* ---- Header cart button ------------------------------------------------- */
.cr-cart-btn { position: relative; background: transparent; border: 0; cursor: pointer; padding: 8px; color: inherit; }
.cr-cart-badge {
  position: absolute; top: -2px; right: -2px; min-width: 18px; height: 18px;
  background: var(--cw-accent, #1F2330); color: #fff; border-radius: 9px;
  font-size: 11px; line-height: 18px; padding: 0 5px; text-align: center;
  font-weight: 600;
}

/* =========================================================================
   CHECKOUT PAGE — matches the buy-section design language
   ========================================================================= */
.cr-checkout-page { overflow-x: clip; }
.cr-checkout-page,
.cr-checkout-page body { overflow-y: visible; }

.cr-page .cr-sec.cr-checkout-sec {
  background: var(--la-band);
  padding: clamp(48px, 6vw, 80px) 0 clamp(64px, 8vw, 112px);
}
.cr-checkout-wrap { max-width: 1180px; }

.cr-checkout-head { margin-bottom: clamp(24px, 3vw, 40px); }
.cr-checkout-back {
  display: inline-flex; gap: 8px; align-items: center;
  color: var(--fg-2); text-decoration: none;
  font-family: var(--font-display); font-weight: 700; font-size: 11px;
  letter-spacing: 0.18em; text-transform: uppercase;
  margin-bottom: 14px;
  transition: color var(--dur-2) var(--ease-out);
}
.cr-checkout-back:hover { color: var(--la-accent); text-decoration: none; }
.cr-checkout-head .cr-head { text-align: left; }
.cr-checkout-head .cr-sub { margin-top: 8px; }

.cr-checkout-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(320px, 1fr);
  gap: clamp(24px, 3vw, 48px);
  align-items: start;
}

/* main column ------------------------------------------------------------- */
.cr-checkout-main {
  background: var(--paper);
  border-radius: var(--la-r-soft);
  padding: clamp(24px, 3vw, 40px);
  box-shadow: 0 1px 0 var(--border), 0 24px 48px -32px rgba(15,20,30,0.18);
}
.cr-checkout-loading {
  padding: 80px 0; text-align: center; color: var(--fg-2);
}
.cr-checkout-loading .cr-sub { margin: 0 auto; }

/* iframe placeholder when keys aren't configured -------------------------- */
.cr-checkout-preview {
  display: flex; align-items: center; justify-content: center;
}
.cr-checkout-preview-box {
  background: var(--la-hero-wash);
  border-radius: var(--la-r-card);
  padding: clamp(28px, 4vw, 44px);
  text-align: center;
  max-width: 540px;
  border: 1px solid var(--border);
}
.cr-checkout-preview-box .cr-eyebrow { margin-bottom: 10px; }
.cr-checkout-preview-box h3 {
  font-family: var(--la-display); font-weight: var(--la-disp-weight);
  font-size: clamp(22px, 2.4vw, 28px); line-height: 1.15;
  letter-spacing: var(--la-tracking); text-transform: var(--la-caps);
  color: var(--ink);
  margin: 0 0 16px;
}
.cr-checkout-preview-box p {
  font-size: 15px; line-height: 1.6; color: var(--fg-2);
  max-width: 44ch; margin: 0 auto 12px;
}
.cr-checkout-preview-box code {
  background: var(--paper); padding: 2px 8px; border-radius: var(--r-sm);
  border: 1px solid var(--border); font-size: 13px;
  font-family: var(--font-mono, ui-monospace, SFMono-Regular, Menlo, monospace);
  color: var(--ink);
}
.cr-checkout-preview-note { font-size: 13px; color: var(--fg-3); }
.cr-checkout-preview-note a {
  color: var(--la-accent); font-weight: 600; text-decoration: none;
}
.cr-checkout-preview-note a:hover { text-decoration: underline; }

/* order summary aside ----------------------------------------------------- */
.cr-order-summary {
  background: var(--paper);
  border-radius: var(--la-r-soft);
  padding: clamp(20px, 2.4vw, 28px);
  position: sticky; top: 88px;
  box-shadow: 0 1px 0 var(--border), 0 24px 48px -32px rgba(15,20,30,0.18);
}
.cr-order-summary h2 {
  font-family: var(--la-display); font-weight: var(--la-disp-weight);
  font-size: 18px; line-height: 1.15;
  letter-spacing: var(--la-tracking); text-transform: var(--la-caps);
  color: var(--ink);
  margin: 0 0 18px;
}
.cr-order-list { list-style: none; padding: 0; margin: 0 0 18px; }
.cr-order-empty {
  color: var(--fg-3); padding: 12px 0; font-size: 14px;
}
.cr-order-line {
  display: grid; grid-template-columns: 56px 1fr auto;
  gap: 14px; padding: 14px 0;
  border-bottom: 1px solid var(--border);
  align-items: center;
}
.cr-order-line--noimg { grid-template-columns: 1fr auto; }
.cr-order-line:first-child { padding-top: 0; }
.cr-order-line:last-child { border-bottom: none; padding-bottom: 0; }
.cr-order-line img {
  width: 56px; height: 56px; object-fit: cover;
  border-radius: var(--r-sm); background: var(--la-band);
  border: 1px solid var(--border);
}
.cr-order-line b {
  display: block;
  font-family: var(--font-body); font-weight: 600;
  font-size: 14px; line-height: 1.3; color: var(--ink);
  margin-bottom: 2px;
}
.cr-order-line span {
  color: var(--fg-3); font-size: 12px;
  font-family: var(--font-display); font-weight: 600;
  letter-spacing: 0.06em; text-transform: uppercase;
}
.cr-order-amt {
  font-family: var(--font-display); font-weight: 800; font-size: 15px;
  font-variant-numeric: tabular-nums; color: var(--ink);
  align-self: center;
}
.cr-order-totals { margin: 18px 0 0; padding: 14px 0 0; border-top: 1px solid var(--border); }
.cr-order-totals div {
  display: flex; justify-content: space-between; align-items: baseline;
  padding: 6px 0; font-size: 14px;
}
.cr-order-totals dt { margin: 0; color: var(--fg-2); }
.cr-order-totals dd {
  margin: 0; color: var(--ink); font-variant-numeric: tabular-nums;
}
.cr-order-est {
  color: var(--fg-3); font-size: 12px;
  font-family: var(--font-display); font-weight: 600;
  letter-spacing: 0.06em; text-transform: uppercase;
}
.cr-order-free {
  color: var(--la-accent-deep); font-weight: 700;
  font-family: var(--font-display);
  font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase;
}
.cr-order-total {
  border-top: 1px solid var(--border-strong);
  margin-top: 10px !important; padding-top: 14px !important;
  font-size: 16px !important;
}
.cr-order-total dt {
  font-family: var(--font-display); font-weight: 700;
  font-size: 12px !important; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--fg-2) !important;
}
.cr-order-total dd {
  font-family: var(--font-display); font-weight: 800; font-size: 22px !important;
  color: var(--ink); letter-spacing: -0.01em; font-variant-numeric: tabular-nums;
}
.cr-order-note {
  margin: 16px 0 0; padding-top: 14px;
  border-top: 1px solid var(--border);
  color: var(--fg-3); font-size: 12px; line-height: 1.5;
}

/* trust strip below the grid --------------------------------------------- */
.cr-checkout-trust {
  display: flex; flex-wrap: wrap; gap: 24px; justify-content: center;
  margin-top: clamp(24px, 3vw, 40px);
  color: var(--fg-2); font-size: 13px;
}
.cr-checkout-trust span {
  display: inline-flex; align-items: center; gap: 8px;
}
.cr-checkout-trust svg { color: var(--la-accent-deep); }

@media (max-width: 960px) {
  .cr-checkout-grid { grid-template-columns: 1fr; }
  .cr-order-summary { position: static; }
}

/* =========================================================================
   SUCCESS PAGE — matches the checkout aesthetic
   ========================================================================= */
.cr-success-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
.cr-success-page > .cr-sec {
  flex: 1;
  display: flex;
  align-items: center;
  background: var(--la-band);
  padding: clamp(48px, 6vw, 96px) 0;
}

.cr-success-card {
  max-width: 640px;
  margin: 0 auto;
  background: var(--paper);
  border-radius: var(--la-r-soft);
  padding: clamp(32px, 4vw, 56px);
  box-shadow: 0 1px 0 var(--border), 0 24px 48px -32px rgba(15,20,30,0.18);
  text-align: center;
}
.cr-success-card--narrow { max-width: 520px; }

.cr-success-badge {
  width: 64px; height: 64px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: var(--la-accent);
  color: var(--la-on-accent);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 24px -10px var(--la-accent);
}
.cr-success-badge svg { stroke-width: 2.4; }

.cr-success-card .cr-eyebrow { margin-bottom: 8px; }
.cr-success-card .cr-head {
  text-align: center;
  font-size: clamp(26px, 3vw, 38px);
}
.cr-success-card .cr-sub {
  margin: 16px auto 0;
  max-width: 52ch;
}

.cr-success-ref {
  margin: 20px 0 0;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--fg-3);
}
.cr-success-ref b {
  color: var(--ink);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-weight: 700;
  letter-spacing: 0.04em;
  margin-left: 4px;
}

.cr-success-order-list {
  margin: 32px 0 0 !important;
  text-align: left;
  border-top: 1px solid var(--border);
}

.cr-success-total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--border-strong);
  text-align: left;
}
.cr-success-total > span:first-child {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--fg-2);
}
.cr-success-total > span:last-child {
  font-family: var(--font-heavy);
  font-size: 24px;
  letter-spacing: -0.01em;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}

.cr-success-trust { margin-top: 28px; }

.cr-success-cta {
  margin: 28px 0 0;
  text-align: center;
}

/* =========================================================================
   LEGAL / POLICY PAGES — single column prose card on the band background
   ========================================================================= */
.cr-legal-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
.cr-legal-page > .cr-sec {
  flex: 1;
  background: var(--la-band);
  padding: clamp(48px, 6vw, 96px) 0;
}
.cr-legal-article {
  max-width: 760px;
  margin: 0 auto;
  background: var(--paper);
  border-radius: var(--la-r-soft);
  padding: clamp(28px, 4vw, 56px);
  box-shadow: 0 1px 0 var(--border), 0 24px 48px -32px rgba(15,20,30,0.18);
}
.cr-legal-article .cr-head {
  text-align: left;
  font-size: clamp(26px, 3vw, 38px);
  margin: 0 0 24px;
}
.cr-legal-body {
  font-size: 15px;
  line-height: 1.65;
  color: var(--fg-1);
}
.cr-legal-body .cr-legal-intro {
  font-size: 17px;
  color: var(--fg-2);
  margin: 0 0 28px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}
.cr-legal-body h2 {
  font-family: var(--la-display);
  font-weight: var(--la-disp-weight);
  font-size: 14px;
  line-height: 1.25;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink);
  margin: 32px 0 12px;
}
.cr-legal-body h2:first-child { margin-top: 0; }
.cr-legal-body p { margin: 0 0 14px; }
.cr-legal-body ul,
.cr-legal-body ol {
  margin: 0 0 14px;
  padding-left: 22px;
}
.cr-legal-body li { margin-bottom: 6px; }
.cr-legal-body a {
  color: var(--la-accent-deep);
  text-decoration: underline;
}
.cr-legal-body a:hover { text-decoration: none; }
.cr-legal-body code {
  background: var(--la-band);
  padding: 1px 6px;
  border-radius: var(--r-sm);
  font-size: 13px;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}
.cr-legal-pre {
  background: var(--la-band);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  padding: 16px 18px;
  font-size: 13px;
  line-height: 1.55;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  white-space: pre-wrap;
  margin: 0 0 14px;
  color: var(--fg-1);
}
