/* ====================================================================
   MULTI-BUILDER PAGE — Bundle builder with stepper & progressive discounts
   Uses brand tokens from design-tokens.css
   ==================================================================== */

/* ---- Page-level overrides ---- */
.multi-builder-page {
  background: var(--cj-cream);
  color: var(--cj-ink);
  font-family: var(--cj-sans);
  max-width: 1320px;
  margin: 0 auto;
}

/* ---- Screen-reader only (bridge mirrors) ---- */
.mb-sr {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

/* ===== TOP URGENCY BAR ===== */
.mb-top {
  background: var(--cj-ink);
  color: var(--cj-cream);
  padding: 10px 32px;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  text-align: center;
}
.mb-top b {
  color: var(--cj-amber);
}
.mb-top__right b {
  color: var(--cj-ember);
  font-variant-numeric: tabular-nums;
}

/* ===== NAV ===== */
.mb-nav {
  padding: 20px 32px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  border-bottom: 1px solid var(--cj-line);
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(245, 237, 224, 0.95);
  transition: padding 200ms ease-out, backdrop-filter 200ms ease-out;
}
.mb-nav.scrolled {
  padding-top: 12px;
  padding-bottom: 12px;
  backdrop-filter: blur(8px);
  box-shadow: 0 1px 12px rgba(0, 0, 0, 0.05);
}
.mb-nav.scrolled .mb-progress__label {
  font-size: 0.58rem;
}
.mb-nav__logo {
  font-family: var(--cj-serif);
  font-size: 22px;
  display: inline-flex;
  gap: 10px;
  align-items: center;
  letter-spacing: -0.01em;
}
.mb-nav__logo img {
  height: 32px;
}
.mb-progress {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
}
.mb-progress__step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}
.mb-progress__circle {
  width: 28px; height: 28px;
  border-radius: 50%;
  border: 2px solid rgba(30,30,30,0.25);
  display: grid;
  place-items: center;
  font-size: 11px;
  font-weight: 700;
  color: rgba(30,30,30,0.4);
  background: transparent;
  transition: all 300ms ease-out;
}
.mb-progress__step.is-current .mb-progress__circle {
  background: var(--cj-sienna);
  border-color: var(--cj-sienna);
  color: #fff;
  transform: scale(1);
}
.mb-progress__step.is-done .mb-progress__circle {
  background: #C9A961;
  border-color: #C9A961;
  color: #fff;
}
.mb-progress__label {
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(30,30,30,0.45);
  transition: color 200ms;
}
.mb-progress__step.is-current .mb-progress__label,
.mb-progress__step.is-done .mb-progress__label {
  color: var(--cj-ink);
}
.mb-progress__line {
  width: 40px;
  height: 2px;
  background: rgba(30,30,30,0.12);
  margin: 0 8px;
  margin-bottom: 18px;
  border-radius: 1px;
  overflow: hidden;
  position: relative;
}
.mb-progress__fill {
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 0;
  background: #C9A961;
  border-radius: 1px;
  transition: width 400ms ease-out;
}
.mb-progress__fill.is-filled { width: 100%; }
/* Legacy pill class (keep for JS selectors compatibility) */
.mb-nav__pill {
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cj-ink-muted);
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 99px;
  background: var(--cj-bone);
  border: 1px solid var(--cj-line);
  cursor: default;
  transition: all 0.15s;
}
.mb-nav__pill.is-active {
  color: #fff;
  background: var(--cj-ink);
  border-color: var(--cj-ink);
}
.mb-nav__right {
  display: flex;
  justify-content: flex-end;
  font-size: 13px;
  color: var(--cj-ink-soft);
}
.mb-nav__right b {
  color: var(--cj-sienna);
}
@media (max-width: 800px) {
  .mb-nav { grid-template-columns: 1fr 1fr; }
  .mb-progress { display: none; }
}
@media (max-width: 480px) {
  .mb-progress__label { font-size: 0.6rem; }
  .mb-progress__line { width: 28px; margin: 0 4px; margin-bottom: 18px; }
}

/* ===== HERO ===== */
.mb-hero {
  padding: 60px 32px 40px;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}
.mb-hero__eye {
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--cj-sienna);
  font-weight: 700;
  display: inline-flex;
  gap: 10px;
  align-items: center;
  margin-bottom: 18px;
}
.mb-hero__eye::before,
.mb-hero__eye::after {
  content: '';
  width: 22px;
  height: 1px;
  background: var(--cj-sienna);
}
.mb-hero h1 {
  font-family: var(--cj-serif);
  font-size: clamp(36px, 5.5vw, 68px);
  line-height: 1.05;
  letter-spacing: -0.025em;
  margin: 0 0 20px;
  font-weight: 400;
  text-wrap: balance;
}
.mb-hero h1 em {
  font-style: italic;
  color: var(--cj-sienna);
}
.mb-hero p {
  font-size: 17px;
  line-height: 1.55;
  color: var(--cj-ink-soft);
  max-width: 600px;
  margin: 0 auto;
  text-wrap: pretty;
}
.mb-hero__trust {
  display: flex;
  gap: 24px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 28px;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cj-ink-muted);
  font-weight: 600;
}
.mb-hero__trust span {
  display: inline-flex;
  gap: 6px;
  align-items: center;
}
.mb-hero__trust .i {
  color: var(--cj-moss);
}
@media (max-width: 600px) {
  .mb-hero { padding: 40px 20px 30px; }
  .mb-hero__trust { flex-direction: column; align-items: center; gap: 10px; }
}

/* ===== HERO VIDEO ===== */
.mb-hero-video {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 32px;
}
.mb-hero-video video {
  width: 100%;
  display: block;
  border-radius: 16px 16px 0 0;
  background: var(--cj-ink);
}
@media (max-width: 600px) {
  .mb-hero-video { padding: 0 12px; }
}

/* ===== TIER CARDS ===== */
.mb-tiers-section {
  padding: 0 32px 30px;
  margin-top: -40px;
  position: relative;
  z-index: 2;
}
.mb-tiers-wrap {
  max-width: 1000px;
  margin: 0 auto;
  background: var(--cj-ink);
  border-radius: 0 0 16px 16px;
  padding: 24px 28px;
  color: var(--cj-cream);
}
.mb-tiers__header {
  display: flex; align-items: center; gap: 10px;
  font-size: 13px; color: rgba(250,243,227,0.7);
  margin-bottom: 18px; font-weight: 500;
}
.mb-tiers__header .i { color: var(--cj-amber); }
.mb-tiers__cards {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px;
  margin-bottom: 16px;
}
.mb-tier-card {
  text-align: center; padding: 16px 8px; border-radius: 12px;
  background: rgba(250,243,227,0.06); border: 2px solid rgba(250,243,227,0.1);
  transition: all 0.3s ease; opacity: 0.5;
  cursor: pointer;
}
.mb-tier-card:hover {
  opacity: 0.8;
  border-color: rgba(250,243,227,0.3);
  transform: translateY(-2px);
}
.mb-tier-card.is-active {
  opacity: 1; border-color: var(--cj-amber);
  background: rgba(245,176,20,0.12);
  box-shadow: 0 0 20px rgba(245,176,20,0.15);
}
.mb-tier-card.is-passed {
  opacity: 0.7; border-color: rgba(250,243,227,0.2);
  background: rgba(250,243,227,0.08);
}
.mb-tier-card__badge { margin-bottom: 6px; }
.mb-tier-card__badge .i { color: rgba(250,243,227,0.4); }
.mb-tier-card.is-active .mb-tier-card__badge .i { color: var(--cj-amber); }
.mb-tier-card__discount {
  font-family: var(--cj-serif); font-size: 28px; font-weight: 400;
  color: rgba(250,243,227,0.5); line-height: 1;
}
.mb-tier-card.is-active .mb-tier-card__discount { color: var(--cj-amber); }
.mb-tier-card__label {
  font-size: 11px; color: rgba(250,243,227,0.4);
  margin-top: 4px; text-transform: uppercase; letter-spacing: 0.08em;
}
.mb-tier-card.is-active .mb-tier-card__label { color: rgba(250,243,227,0.8); }
.mb-tiers__progress {
  height: 6px; border-radius: 99px;
  background: rgba(250,243,227,0.08); margin-bottom: 10px;
}
/* #3 — Spring physics progress bar (~10% overshoot) */
.mb-tiers__progress-bar {
  height: 100%; border-radius: 99px;
  background: linear-gradient(90deg, var(--cj-ember), var(--cj-amber));
  transition: width 0.5s cubic-bezier(0.34, 1.10, 0.64, 1);
}
.mb-tiers__status {
  font-size: 13px; color: var(--cj-amber); font-weight: 600;
  text-align: center;
}
@media (max-width: 600px) {
  .mb-tiers-section { padding: 0 12px 24px; overflow: hidden; }
  .mb-tiers-wrap { padding: 16px 14px 20px; }
  .mb-tiers__header { font-size: 11px; flex-wrap: wrap; }
  .mb-tiers__cards { gap: 6px; }
  .mb-tier-card { padding: 10px 4px; border-radius: 10px; }
  .mb-tier-card__discount { font-size: 20px; }
  .mb-tier-card__label { font-size: 9px; letter-spacing: 0.04em; }
  .mb-tiers__status { font-size: 12px; }
}

/* ===== PRESETS ===== */
.mb-presets-section {
  padding: 0 32px 40px;
}
.mb-presets-head {
  text-align: center;
  margin-bottom: 20px;
}
.mb-presets-head h2 {
  font-family: var(--cj-serif);
  font-size: clamp(24px, 3vw, 32px);
  margin: 0 0 6px;
  letter-spacing: -0.01em;
  font-weight: 400;
}
.mb-presets-head p {
  font-size: 14px;
  color: var(--cj-ink-soft);
  margin: 0;
}
.mb-presets {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 900px;
  margin: 0 auto;
  align-items: start;
}
.mb-preset {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 24px;
  border: 2px solid var(--cj-line);
  border-radius: 16px;
  cursor: pointer;
  background: var(--cj-bone);
  transition: border-color 0.15s, background 0.15s, box-shadow 0.15s, transform 0.15s;
  text-align: left;
  font-family: inherit;
  font-size: inherit;
  color: inherit;
}
.mb-preset:hover {
  border-color: var(--cj-ink-soft);
}
.mb-preset.is-active {
  border-color: var(--cj-sienna);
  background: #fff;
  box-shadow: 0 4px 16px rgba(139, 47, 31, 0.10);
}
.mb-preset__flag {
  position: absolute;
  top: -11px; left: 16px;
  padding: 4px 10px;
  border-radius: 99px;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
  background: var(--cj-ember);
  color: #fff;
}
.mb-preset__flag--max {
  background: var(--cj-ink);
  color: var(--cj-amber);
}
.mb-preset__badge {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--cj-sienna);
}
.mb-preset__info b {
  display: block;
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 2px;
}
.mb-preset__info span {
  font-size: 12px;
  color: var(--cj-ink-muted);
  line-height: 1.4;
}
.mb-preset__price {
  padding-top: 6px;
  border-top: 1px solid var(--cj-line);
}
.mb-preset__price s {
  font-size: 12px;
  color: var(--cj-ink-muted);
  margin-right: 6px;
}
.mb-preset__price b {
  font-family: var(--cj-serif);
  font-size: 22px;
  letter-spacing: -0.01em;
}
/* Bestseller card differentiation */
.mb-preset--bestseller {
  border: 2px solid #C9A961;
  box-shadow: 0 8px 24px rgba(122,31,31,0.12);
}
@media (min-width: 801px) {
  .mb-preset--bestseller { transform: scale(1.03); }
  .mb-preset--bestseller:hover { transform: scale(1.05); }
}
.mb-preset__ribbon {
  position: absolute;
  top: -11px; left: 16px;
  padding: 4px 12px;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.12em;
  background: #C9A961;
  color: var(--cj-sienna);
  transform: rotate(-3deg);
  border-radius: 4px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.15);
  z-index: 1;
}
.mb-preset--bestseller .mb-preset__badge { visibility: hidden; height: 0; margin: 0; }
/* Social proof line */
.mb-preset__proof {
  font-size: 0.7rem;
  opacity: 0.6;
  margin-top: -2px;
}
/* Preset click feedback */
.mb-preset.is-pressed {
  transform: scale(0.96);
  transition: transform 100ms ease-out;
}

@media (max-width: 800px) {
  .mb-presets { grid-template-columns: 1fr; max-width: 500px; }
  .mb-presets-section { padding: 0 20px 30px; }
}

/* ===== BUILDER SECTION ===== */
.mb-builder-section {
  padding: 0 32px 50px;
}
.mb-builder {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 32px;
  max-width: 1200px;
  margin: 0 auto;
}
.mb-builder__products h2 {
  font-family: var(--cj-serif);
  font-size: clamp(26px, 3vw, 34px);
  margin: 0 0 6px;
  letter-spacing: -0.015em;
  font-weight: 400;
}
.mb-builder__sub {
  font-size: 14px;
  color: var(--cj-ink-soft);
  margin: 0 0 24px;
}
@media (max-width: 900px) {
  .mb-builder { grid-template-columns: 1fr; }
  .mb-builder-section { padding: 0 20px 40px; }
}

/* ---- Product cards (vertical layout) ---- */
.mb-products {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
@media (max-width: 900px) { .mb-products { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .mb-products { grid-template-columns: 1fr 1fr; gap: 10px; } }

.mb-product {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 20px 14px 16px;
  background: var(--cj-bone);
  border: 1px solid var(--cj-line);
  border-radius: 16px;
  transition: border-color 0.2s ease-out, background 0.2s ease-out, box-shadow 0.2s ease-out;
  opacity: 0;
  animation: mbFadeUp 0.4s ease forwards;
  gap: 8px;
}
.mb-product:nth-child(1) { animation-delay: 0s; }
.mb-product:nth-child(2) { animation-delay: 0.04s; }
.mb-product:nth-child(3) { animation-delay: 0.08s; }
.mb-product:nth-child(4) { animation-delay: 0.12s; }
.mb-product:nth-child(5) { animation-delay: 0.16s; }
.mb-product:nth-child(6) { animation-delay: 0.2s; }

.mb-product.has-qty {
  border-color: rgba(122,31,31,0.3);
  background: var(--cj-cream-2, #F5EAD0);
  box-shadow: 0 2px 12px rgba(122,31,31,0.06);
}
.mb-product.just-added { box-shadow: 0 0 20px 4px rgba(139,47,31,0.15); transition: box-shadow 0.5s ease; }
.mb-product.just-added.fade-glow { box-shadow: 0 0 0 0 rgba(139,47,31,0); }

.mb-product__img {
  width: 72px; height: 90px;
  background: #fff;
  border-radius: 14px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid var(--cj-line);
}
.mb-product__img img { width: 88%; height: 88%; object-fit: contain; object-position: 50% 50%; display: block; margin: auto; }

.mb-product__info { display: flex; flex-direction: column; gap: 2px; }
.mb-product__info h3 {
  font-family: var(--cj-serif);
  font-size: 16px;
  margin: 0;
  letter-spacing: -0.005em;
  line-height: 1.2;
}
.mb-product__macros { display: block; font-size: 11px; color: var(--cj-ink-muted); opacity: 0.65; }
.mb-product__unit-price { display: block; font-size: 12px; color: var(--cj-ink-soft); opacity: 0.75; font-weight: 500; }

/* ---- Stepper (centered, circle buttons) ---- */
.mb-product__stepper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}
.mb-stepper__btn {
  width: 44px; height: 44px;
  display: grid; place-items: center;
  border: 1px solid var(--cj-ink);
  border-radius: 50%;
  background: #F5EDE0;
  cursor: pointer;
  font-size: 20px; font-weight: 600;
  color: var(--cj-ink);
  transition: background 0.15s, color 0.15s, transform 0.1s;
  line-height: 1;
  font-family: var(--cj-sans);
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
}
.mb-stepper__btn:hover:not([disabled]) {
  background: #7A1F1F;
  color: #F5EDE0;
  transform: scale(1.05);
}
.mb-stepper__btn:active:not([disabled]) {
  transform: scale(0.95);
}
.mb-stepper__btn[disabled] {
  opacity: 0.35;
  cursor: not-allowed;
}
.mb-stepper__qty {
  min-width: 2ch;
  text-align: center;
  font-family: var(--cj-serif);
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--cj-ink);
  line-height: 1;
  transition: transform 0.15s;
}
.mb-stepper__qty.pulse { animation: mbCardPulse 0.2s ease; }

/* ---- Badges ---- */
.mb-product__badges { display: flex; flex-wrap: wrap; gap: 4px; justify-content: center; }
.mb-badge {
  font-size: 9px; padding: 2px 7px;
  background: var(--cj-cream); border: 1px solid var(--cj-line-soft, #EFE3CD);
  border-radius: 99px; color: var(--cj-ink-soft);
  font-weight: 500; letter-spacing: 0.02em; white-space: nowrap;
}
.mb-product.has-qty .mb-badge { background: #fff; border-color: var(--cj-line); }

/* ---- Live feedback (subtotal + tier badge) ---- */
.mb-product__feedback {
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  max-height: 0; opacity: 0; overflow: hidden;
  transition: max-height 0.25s ease, opacity 0.25s ease;
  width: 100%;
}
.mb-product.has-qty .mb-product__feedback {
  /* t556u: was 50px — clipped gift/next-tier label on mobile (CADOU + Cascaval) */
  max-height: none; opacity: 1; overflow: visible;
}
.mb-product__subtotal-val {
  font-size: 14px; font-weight: 700;
  color: var(--cj-sienna); white-space: nowrap;
}
.mb-product__tier-badge {
  font-size: 10px; color: var(--cj-moss, #4A5D3A);
  font-weight: 600; letter-spacing: 0.02em;
  /* t556u */
  white-space: normal; overflow-wrap: anywhere; word-break: break-word;
  text-align: center; line-height: 1.35; max-width: 100%;
  box-sizing: border-box;
}
.mb-product__tier-badge .mb-gift-next {
  display: block; font-size: 11px; font-weight: 600; opacity: 0.95; margin-top: 2px;
}
@media (max-width: 600px) {
  .mb-product.has-qty .mb-product__feedback {
    flex-direction: column; align-items: center; gap: 4px;
    max-height: none !important; overflow: visible !important;
  }
  .mb-product.has-qty .mb-product__tier-badge {
    display: block; width: 100%; max-width: 100%;
    font-size: 12px; line-height: 1.35; font-weight: 700;
    padding: 4px 6px; white-space: normal !important;
    overflow: visible; text-overflow: clip;
  }
  .mb-product.has-qty .mb-product__tier-badge .mb-gift-next {
    font-size: 11px; line-height: 1.3;
  }
}

/* ---- Animations ---- */
@keyframes mbFadeUp { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
@keyframes mbCardPulse { 0% { transform: scale(1); } 50% { transform: scale(1.3); } 100% { transform: scale(1); } }

/* #2 — Cart item slide-in from right */
@keyframes mbSlideInRight {
  from { opacity: 0; transform: translateX(20px); }
  to { opacity: 1; transform: translateX(0); }
}
.mb-cart__item { animation: mbSlideInRight 0.25s ease-out both; }

/* #5 — Shipping threshold celebration */
@keyframes mbShipFlash {
  0% { transform: scale(1); }
  30% { transform: scale(1.15); color: #2D8C3C; }
  100% { transform: scale(1); }
}
.mb-cart__line--ship-free {
  animation: mbShipFlash 0.4s ease-out;
}
.mb-cart__line--ship-free .mb-ship-strike {
  text-decoration: line-through;
  opacity: 0.5;
  font-size: 0.85em;
  margin-right: 6px;
}
.mb-cart__line--ship-free .mb-ship-gratis {
  color: #2D8C3C;
  font-weight: 700;
}

/* #1 — Confetti particles */
.mb-confetti-container {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  z-index: 9999;
  overflow: hidden;
}
@keyframes mbConfettiFall {
  0% { transform: translateY(-10px) rotate(0deg); opacity: 1; }
  100% { transform: translateY(100vh) rotate(720deg); opacity: 0; }
}
.mb-confetti {
  position: absolute;
  width: 8px; height: 8px;
  border-radius: 2px;
  animation: mbConfettiFall 2s ease-in forwards;
}

/* ---- Desktop product cards ---- */
@media (min-width: 901px) {
  .mb-product { padding: 24px 18px 18px; gap: 10px; }
  .mb-product__img { width: 90px; height: 112px; border-radius: 14px; }
  .mb-product__info h3 { font-size: 17px; }
  .mb-product__unit-price { font-size: 13px; }
  .mb-product__subtotal-val { font-size: 15px; }
  .mb-products { gap: 16px; }
}

/* ---- Mobile product cards ---- */
@media (max-width: 600px) {
  .mb-product { padding: 14px 10px 12px; gap: 6px; }
  .mb-product__img { width: 60px; height: 76px; border-radius: 10px; }
  .mb-product__info h3 { font-size: 14px; }
  .mb-stepper__btn { width: 44px; height: 44px; font-size: 18px; }
  .mb-stepper__qty { font-size: 1.25rem; }
  .mb-product__unit-price { font-size: 11px; }
  .mb-product__subtotal-val { font-size: 13px; }
}

/* ===== CART SIDEBAR ===== */
.mb-cart__sticky {
  position: sticky;
  top: 24px;
  background: var(--cj-ink);
  color: var(--cj-cream);
  border-radius: 20px;
  padding: 28px;
  overflow: hidden;
}
.mb-cart__sticky::before {
  content: '';
  position: absolute;
  top: -80px; right: -80px;
  width: 260px; height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(245, 176, 20, 0.12) 0%, transparent 70%);
  pointer-events: none;
}
.mb-cart h3 {
  font-family: var(--cj-serif);
  font-size: 22px;
  margin: 0 0 18px;
  letter-spacing: -0.01em;
  font-weight: 400;
  position: relative;
}
.mb-cart__items {
  display: grid;
  gap: 10px;
  margin-bottom: 18px;
  padding-right: 4px;
  position: relative;
}
.mb-cart__empty {
  padding: 24px 16px;
  text-align: center;
  font-size: 13px;
  color: rgba(250, 243, 227, 0.7);
  border: 1px dashed rgba(250, 243, 227, 0.2);
  border-radius: 10px;
}

/* Empty / Populated state toggle */
.mb-cart.is-empty .mb-cart__lines,
.mb-cart.is-empty .mb-cart__total,
.mb-cart.is-empty .mb-cart__savings,
.mb-cart.is-empty .mb-cart__cta { display: none; }
/* .mb-cart__guarantees stays visible in both states */

/* Empty-state CTA button */
.mb-empty-cta {
  background: none;
  border: none;
  color: var(--cj-sienna);
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
  font-family: inherit;
  padding: 0;
}

/* Card pulse on add */
@keyframes mb-pulse {
  0%, 100% { transform: scale(1); box-shadow: none; }
  50% { transform: scale(1.02); box-shadow: 0 0 0 4px rgba(122, 31, 31, 0.2); }
}
.mb-pulse { animation: mb-pulse 600ms ease-out; }

.mb-cart__item {
  display: grid;
  grid-template-columns: 40px 1fr auto;
  gap: 10px;
  align-items: center;
  font-size: 13px;
}
.mb-cart__item img {
  width: 40px; height: 40px;
  border-radius: 8px;
  object-fit: contain;
  background: #fff;
  padding: 3px;
  border: 1px solid rgba(250, 243, 227, 0.15);
  border: 1px solid rgba(250, 243, 227, 0.1);
}
.mb-cart__item-info b {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #fff;
}
.mb-cart__item-info span {
  display: block;
  font-size: 11px;
  color: rgba(250, 243, 227, 0.55);
  letter-spacing: 0.04em;
}
.mb-cart__item-meta { opacity: 0.7; }
.mb-cart__item-price { opacity: 0.7; }
.mb-cart__item-total {
  font-weight: 600;
  color: #fff;
  font-variant-numeric: tabular-nums;
}

/* Cart lines */
.mb-cart__lines {
  background: rgba(250, 243, 227, 0.06);
  border: 1px solid rgba(250, 243, 227, 0.12);
  border-radius: 12px;
  padding: 14px;
  margin-bottom: 14px;
  position: relative;
}
.mb-cart__line {
  display: flex;
  justify-content: space-between;
  padding: 5px 0;
  font-size: 13px;
  color: rgba(250, 243, 227, 0.7);
}
.mb-cart__line span:last-child {
  font-weight: 600;
  color: #fff;
}
.mb-cart__line--disc {
  color: var(--cj-amber);
}
.mb-cart__line--disc span,
.mb-cart__line--disc span:last-child {
  color: var(--cj-amber);
  font-weight: 700;
}
.mb-cart__total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 14px 0 10px;
  position: relative;
}
.mb-cart__total span {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(250, 243, 227, 0.55);
}
.mb-cart__total b {
  font-family: var(--cj-serif);
  font-size: 36px;
  letter-spacing: -0.02em;
  color: #fff;
}

/* Savings ribbon */
.mb-cart__savings {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 14px;
  background: var(--cj-amber);
  color: var(--cj-ink);
  border-radius: 10px;
  font-weight: 600;
  font-size: 13px;
  margin-bottom: 14px;
  position: relative;
}
.mb-cart__savings b {
  font-family: var(--cj-serif);
  font-size: 18px;
  font-weight: 400;
  letter-spacing: -0.01em;
}

/* CTA */
.mb-cart__cta {
  display: flex;
  width: 100%;
  padding: 16px;
  background: var(--cj-amber);
  color: var(--cj-ink);
  border: none;
  border-radius: 12px;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  gap: 10px;
  align-items: center;
  justify-content: center;
  transition: transform 0.1s, background 0.15s;
  font-family: var(--cj-sans);
  position: relative;
}
.mb-cart__cta:hover {
  transform: translateY(-1px);
}
.mb-cart__cta:disabled {
  background: rgba(250, 243, 227, 0.15);
  color: rgba(250, 243, 227, 0.4);
  cursor: not-allowed;
  transform: none;
}
.mb-cart__guarantees {
  display: flex;
  gap: 14px;
  justify-content: center;
  margin-top: 12px;
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(250, 243, 227, 0.5);
  font-weight: 600;
  position: relative;
}
.mb-cart__guarantees span {
  display: inline-flex;
  gap: 4px;
  align-items: center;
}

/* ===== SECTIONS (shared) ===== */
.mb-section {
  padding: 70px 32px;
  border-top: 1px solid var(--cj-line);
}
.mb-section__head {
  text-align: center;
  margin-bottom: 40px;
}
.mb-section__eye {
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--cj-sienna);
  font-weight: 700;
  display: inline-flex;
  gap: 10px;
  align-items: center;
}
.mb-section__eye::before,
.mb-section__eye::after {
  content: '';
  width: 22px; height: 1px;
  background: var(--cj-sienna);
}
.mb-section__title {
  font-family: var(--cj-serif);
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.05;
  letter-spacing: -0.015em;
  margin: 14px 0 0;
  font-weight: 400;
  text-wrap: balance;
}
.mb-section__title em {
  font-style: italic;
  color: var(--cj-sienna);
}
@media (max-width: 700px) {
  .mb-section { padding: 50px 20px; }
}

/* ===== WHY US ===== */
/* Why Us — 2-col desktop layout */
.mb-whyus-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 48px;
  max-width: 1120px;
  margin: 0 auto;
  align-items: start;
}
.mb-whyus__left {
  position: sticky;
  top: 80px;
}
.mb-whyus__left .mb-section__eye { text-align: left; display: block; }
.mb-whyus__left .mb-section__title { margin-bottom: 28px; }
.mb-whyus__gif {
  width: 100%;
  border-radius: 16px;
  margin-top: 8px;
}
.mb-whyus__right {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
@media (max-width: 900px) {
  .mb-whyus-layout { grid-template-columns: 1fr; gap: 28px; }
  .mb-whyus__left { position: static; text-align: center; }
  .mb-whyus__left .mb-section__eye { text-align: center; }
  .mb-whyus__left .mb-section__title { text-align: center !important; }
  .mb-whyus__gif { max-width: 400px; margin: 0 auto; }
}

.mb-why {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1120px;
  margin: 0 auto;
}
.mb-why__item {
  padding: 24px;
  text-align: left;
  background: var(--cj-bone);
  border: 1px solid var(--cj-line);
  border-radius: 16px;
}
.mb-why__num {
  width: 40px; height: 40px;
  margin: 0 0 12px;
  background: var(--cj-cream);
  border: 1px solid var(--cj-line);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--cj-serif);
  font-style: italic;
  font-size: 22px;
  color: var(--cj-sienna);
}
.mb-why__item h3 {
  font-family: var(--cj-serif);
  font-size: 22px;
  margin: 0 0 8px;
  letter-spacing: -0.005em;
}
.mb-why__item p {
  font-size: 14px;
  color: var(--cj-ink-soft);
  line-height: 1.55;
  margin: 0;
  text-wrap: pretty;
}
@media (max-width: 800px) {
  .mb-why { grid-template-columns: 1fr; }
}

/* ===== FOUNDER ===== */
.mb-founder {
  background: var(--cj-bone);
}
.mb-founder__inner {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 48px;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
}
.mb-founder__img {
  border-radius: 16px;
  overflow: hidden;
}
.mb-founder__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 16px;
  max-height: 400px;
}
.mb-founder__copy p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--cj-ink-soft);
  margin: 16px 0 0;
}
.mb-founder__sig {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--cj-line);
}
.mb-founder__sig b {
  display: block;
  font-size: 15px;
}
.mb-founder__sig span {
  font-size: 12px;
  color: var(--cj-ink-muted);
  letter-spacing: 0.06em;
}
@media (max-width: 800px) {
  .mb-founder__inner { grid-template-columns: 1fr; gap: 28px; }
  .mb-founder__img img { max-height: 280px; }
}

/* ===== REVIEWS ===== */
/* Rating breakdown */
.mb-rating-breakdown {
  display: grid;
  grid-template-columns: auto 280px;
  gap: 32px;
  max-width: 460px;
  margin: 0 auto 36px;
  align-items: center;
  justify-content: center;
}
.mb-rating__score { text-align: center; }
.mb-rating__number {
  font-family: var(--cj-serif);
  font-size: 3rem;
  line-height: 1;
  color: var(--cj-ink);
}
.mb-rating__stars-row {
  color: var(--cj-amber);
  font-size: 16px;
  margin: 4px 0;
}
.mb-rating__count {
  font-size: 0.75rem;
  color: var(--cj-ink-muted);
}
.mb-rating__bars { display: flex; flex-direction: column; gap: 4px; }
.mb-rating__bar-row {
  display: grid;
  grid-template-columns: 60px 1fr 32px;
  align-items: center;
  gap: 6px;
  font-size: 0.7rem;
  color: var(--cj-ink-muted);
}
.mb-rating__bar-row span:first-child { color: var(--cj-amber); font-size: 10px; text-align: right; }
.mb-rating__bar {
  height: 6px;
  background: var(--cj-line);
  border-radius: 3px;
  overflow: hidden;
}
.mb-rating__bar-fill {
  height: 100%;
  background: var(--cj-amber);
  border-radius: 3px;
  width: 0;
  transition: width 800ms ease-out;
}

/* Reviews grid */
.mb-reviews {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  max-width: 1100px;
  margin: 0 auto;
}
.mb-review {
  padding: 22px;
  background: var(--cj-bone);
  border: 1px solid var(--cj-line);
  border-radius: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: transform 200ms, box-shadow 200ms;
}
.mb-review:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 20px rgba(122,31,31,0.08);
}
.mb-review__stars {
  color: var(--cj-amber);
  display: flex;
  gap: 2px;
}
.mb-review__badge {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cj-ink);
  border: 1px solid var(--cj-amber);
  border-radius: 99px;
  padding: 2px 8px;
  margin-bottom: 2px;
}
.mb-review__body {
  font-size: 14px;
  line-height: 1.55;
  color: var(--cj-ink);
  margin: 0;
  flex: 1;
  text-wrap: pretty;
}
.mb-review__who {
  display: flex;
  gap: 10px;
  align-items: center;
  padding-top: 10px;
  border-top: 1px solid var(--cj-line);
}
.mb-review__who img {
  width: 34px; height: 34px;
  border-radius: 50%;
  object-fit: cover;
}
.mb-review__who b {
  font-size: 13px;
  display: block;
}
.mb-review__who span {
  font-size: 11px;
  color: var(--cj-ink-muted);
  letter-spacing: 0.06em;
}
@media (max-width: 800px) {
  .mb-reviews {
    grid-template-columns: 1fr;
    max-width: 500px;
  }
  .mb-rating-breakdown {
    grid-template-columns: auto 1fr;
    gap: 16px;
    padding: 0 20px;
  }
}

/* ===== INLINE CHECKOUT ===== */
.mb-checkout-section {
  padding: 80px 32px;
  border-top: 1px solid var(--cj-line);
  background: var(--cj-bone);
}
.mb-checkout {
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 40px;
}
.mb-checkout h2 {
  font-family: var(--cj-serif);
  font-size: clamp(28px, 3.5vw, 42px);
  margin: 10px 0 24px;
  letter-spacing: -0.02em;
  font-weight: 400;
  line-height: 1.05;
}
.mb-checkout h2 em {
  font-style: italic;
  color: var(--cj-sienna);
}
@media (max-width: 900px) {
  .mb-checkout { grid-template-columns: 1fr; }
  .mb-checkout-section { padding: 50px 20px; }
}

/* Steps */
.mb-step {
  display: flex;
  gap: 14px;
  align-items: center;
  margin: 28px 0 14px;
  font-family: var(--cj-serif);
  font-size: 20px;
  letter-spacing: -0.005em;
}
.mb-step:first-of-type {
  margin-top: 0;
}
.mb-step__num {
  width: 30px; height: 30px;
  background: var(--cj-sienna);
  color: #fff;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--cj-sans);
  font-size: 13px;
  font-weight: 700;
  flex-shrink: 0;
}

/* Inputs */
.mb-label {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cj-ink-muted);
  font-weight: 700;
  margin-bottom: 5px;
  display: block;
}
.mb-input {
  width: 100%;
  background: var(--cj-cream);
  border: 1px solid var(--cj-line);
  border-radius: 10px;
  padding: 14px;
  font-size: 15px;
  font-family: inherit;
  color: var(--cj-ink);
  transition: border-color 0.15s;
  box-sizing: border-box;
}
.mb-input:focus {
  outline: 0;
  border-color: var(--cj-sienna);
}
.mb-input::placeholder {
  color: var(--cj-ink-muted);
}
.mb-select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%238A7466' fill='none' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}
.mb-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 10px;
}
.mb-field {
  margin-top: 10px;
}
@media (max-width: 500px) {
  .mb-row { grid-template-columns: 1fr; }
}

/* Checkout summary */
.mb-sum {
  background: var(--cj-cream);
  border: 1px solid var(--cj-line);
  border-radius: 14px;
  padding: 16px;
  margin-top: 20px;
}
.mb-sum__row {
  display: flex;
  justify-content: space-between;
  padding: 5px 0;
  font-size: 13px;
  color: var(--cj-ink-soft);
}
.mb-sum__row--disc {
  color: var(--cj-ember);
  font-weight: 600;
}
.mb-sum__total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding-top: 10px;
  margin-top: 6px;
  border-top: 1px solid var(--cj-line);
}
.mb-sum__total span {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cj-ink-muted);
  font-weight: 700;
}
.mb-sum__total b {
  font-family: var(--cj-serif);
  font-size: 28px;
  letter-spacing: -0.02em;
}

/* Submit */
.mb-submit {
  width: 100%;
  margin-top: 20px;
  background: var(--cj-sienna);
  color: #fff;
  padding: 17px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 15px;
  display: inline-flex;
  gap: 10px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: none;
  transition: background 0.15s;
  font-family: var(--cj-sans);
}
.mb-submit:hover {
  background: var(--cj-sienna-dark);
}
.mb-submit:disabled {
  background: var(--cj-line);
  color: var(--cj-ink-muted);
  cursor: not-allowed;
}

/* ---- Validation states ---- */
.mb-input:focus { outline: 0; box-shadow: 0 0 0 2px rgba(122,31,31,0.15); }
.mb-field--error .mb-input,
.mb-field--error .mb-select { border-color: #C13B3B; }
.mb-field--error .mb-input:focus,
.mb-field--error .mb-select:focus { box-shadow: 0 0 0 2px rgba(193,59,59,0.15); }
.mb-field--valid .mb-input,
.mb-field--valid .mb-select { border-color: rgba(67,145,90,0.4); }
.mb-field__error {
  color: #C13B3B;
  font-size: 0.75rem;
  margin-top: 4px;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 200ms ease-out, opacity 200ms ease-out, margin 200ms ease-out;
}
.mb-field--error .mb-field__error {
  max-height: 40px;
  opacity: 1;
  margin-top: 4px;
}

/* ---- Submit button states ---- */
.mb-submit { position: relative; transition: background 200ms ease-out, opacity 200ms ease-out, transform 200ms ease-out; }
.mb-submit--loading { opacity: 0.85; pointer-events: none; }
.mb-submit--success { background: #C9A961; pointer-events: none; }
.mb-submit--error { background: var(--cj-sienna); }
.mb-submit__spinner {
  display: inline-block;
  width: 16px; height: 16px;
  border: 2px solid rgba(255,255,255,0.3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: mbSpin 600ms linear infinite;
  flex-shrink: 0;
}
@keyframes mbSpin { to { transform: rotate(360deg); } }
.mb-submit__error-msg {
  color: #C13B3B;
  font-size: 0.8rem;
  text-align: center;
  margin-top: 8px;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 200ms ease-out, opacity 200ms ease-out;
}
.mb-submit__error-msg.is-visible {
  max-height: 60px;
  opacity: 1;
}

.mb-ssl {
  display: flex;
  gap: 14px;
  justify-content: center;
  margin-top: 12px;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cj-ink-muted);
}
.mb-ssl span {
  display: inline-flex;
  gap: 5px;
  align-items: center;
}

/* ---- Checkout recap sidebar ---- */
.mb-recap {
  align-self: start;
}
.mb-recap__sticky {
  position: sticky;
  top: 40px;
  background: var(--cj-cream);
  border-radius: 18px;
  padding: 24px;
  border: 1px solid var(--cj-line);
}
.mb-recap h3 {
  font-family: var(--cj-serif);
  font-size: 22px;
  margin: 0 0 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--cj-line);
  letter-spacing: -0.005em;
}
.mb-recap__items {
  display: grid;
  gap: 10px;
  margin-bottom: 14px;
}
.mb-recap__item {
  display: grid;
  grid-template-columns: 44px 1fr auto;
  gap: 10px;
  align-items: center;
  font-size: 13px;
}
.mb-recap__item img {
  width: 44px; height: 44px;
  border-radius: 8px;
  object-fit: contain;
  background: #fff;
  padding: 4px;
  border: 1px solid var(--cj-line);
}
.mb-recap__item-name b {
  display: block;
  font-weight: 600;
  font-size: 13px;
}
.mb-recap__item-name span {
  font-size: 11px;
  color: var(--cj-ink-muted);
  letter-spacing: 0.06em;
}
.mb-recap__empty {
  padding: 20px;
  text-align: center;
  font-size: 13px;
  color: var(--cj-ink-muted);
  font-style: italic;
  border: 1px dashed var(--cj-line);
  border-radius: 10px;
}
.mb-recap__line {
  display: flex;
  justify-content: space-between;
  padding: 5px 0;
  font-size: 13px;
  color: var(--cj-ink-soft);
}
.mb-recap__line--disc {
  color: var(--cj-ember);
  font-weight: 600;
}
.mb-recap__total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding-top: 12px;
  margin-top: 10px;
  border-top: 1px solid var(--cj-line);
}
.mb-recap__total span {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cj-ink-muted);
  font-weight: 700;
}
.mb-recap__total b {
  font-family: var(--cj-serif);
  font-size: 32px;
  letter-spacing: -0.02em;
}

/* ===== TRUST BAR ===== */
.mb-trust {
  background: var(--cj-ink);
  color: var(--cj-cream);
  padding: 28px 32px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.mb-trust__item {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 8px 16px;
  border-right: 1px solid rgba(250, 243, 227, 0.12);
}
.mb-trust__item:last-child {
  border-right: none;
}
.mb-trust__ico {
  color: var(--cj-amber);
  flex-shrink: 0;
}
.mb-trust__main b {
  font-size: 13px;
  display: block;
  color: #fff;
}
.mb-trust__main span {
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(250, 243, 227, 0.55);
  font-weight: 600;
}
@media (max-width: 800px) {
  .mb-trust { grid-template-columns: repeat(2, 1fr); padding: 20px 16px; }
  .mb-trust__item:nth-child(2n) { border-right: none; }
  .mb-trust__item:nth-child(-n+2) { border-bottom: 1px solid rgba(250, 243, 227, 0.12); padding-bottom: 16px; }
  .mb-trust__item:nth-child(n+3) { padding-top: 16px; }
}
@media (max-width: 420px) {
  .mb-trust {
    grid-template-columns: 1fr;
    padding: 20px 16px;
    gap: 0;
  }
  .mb-trust__item {
    border-right: none !important;
    border-bottom: 1px solid rgba(250, 243, 227, 0.12);
    padding: 12px 0 !important;
    overflow: hidden;
    word-break: break-word;
  }
  .mb-trust__item:last-child {
    border-bottom: none;
  }
  .mb-trust__main span {
    word-break: break-all;
    font-size: 9px;
  }
  .mb-footer {
    padding: 28px 16px 36px;
    overflow: hidden;
  }
  .mb-footer__bottom {
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 16px;
    font-size: 10px;
    max-width: 100%;
  }
  .mb-footer__line {
    font-size: 11px;
    word-break: break-word;
  }
}

/* ===== FOOTER ===== */
.mb-footer {
  background: var(--cj-ink);
  color: rgba(250, 243, 227, 0.5);
  padding: 28px 32px 36px;
  text-align: center;
  border-top: 1px solid rgba(250, 243, 227, 0.08);
}
.mb-footer__logo {
  margin-bottom: 12px;
}
.mb-footer__line {
  font-size: 12px;
  line-height: 1.6;
  max-width: 500px;
  margin: 0 auto 16px;
}
.mb-footer__bottom {
  display: flex;
  justify-content: center;
  gap: 24px;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

/* ===== SCROLLBAR for dark panels ===== */
.mb-cart__items::-webkit-scrollbar,
.mb-recap__items::-webkit-scrollbar {
  width: 4px;
}
.mb-cart__items::-webkit-scrollbar-track {
  background: transparent;
}
.mb-cart__items::-webkit-scrollbar-thumb {
  background: rgba(250, 243, 227, 0.2);
  border-radius: 99px;
}
.mb-recap__items::-webkit-scrollbar-track {
  background: transparent;
}
.mb-recap__items::-webkit-scrollbar-thumb {
  background: var(--cj-line);
  border-radius: 99px;
}

/* ===== MOBILE: Payment + checkout overflow fix ===== */
@media (max-width: 768px) {
  .mb-checkout { overflow: hidden; max-width: 100vw; }
  .mb-checkout .payment-form { overflow: hidden; max-width: 100%; }
  .mb-checkout .express-checkout { overflow: hidden; max-width: 100%; }
  .checkout-bridge-card { max-width: 100%; overflow: hidden; }
  .checkout-bridge-methods { grid-template-columns: 1fr; }
  .checkout-bridge-method { min-height: 64px; padding: 10px; }
  .checkout-bridge-panel { max-width: 100%; overflow: hidden; }
  .mb-builder { grid-template-columns: 1fr !important; }
  .mb-recap { max-width: 100%; overflow: hidden; }
}

/* ===== FEATURE 1: Sticky bottom bar (mobile only) ===== */
.mb-sticky-bar {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 50;
  background: var(--cj-ink); color: var(--cj-cream);
  padding: 10px 16px; display: none; /* shown via JS */
  align-items: center; gap: 10px;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.3);
  transform: translateY(100%);
  transition: transform 0.3s ease-out;
}
.mb-sticky-bar.is-visible {
  display: flex; transform: translateY(0);
}
.mb-sticky-bar__items { font-size: 13px; font-weight: 600; }
.mb-sticky-bar__badge {
  background: var(--cj-amber); color: var(--cj-ink);
  padding: 3px 8px; border-radius: 99px;
  font-size: 11px; font-weight: 800;
}
.mb-sticky-bar__badge.pulse {
  animation: mbPulse 0.4s ease;
}
@keyframes mbPulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.2); }
  100% { transform: scale(1); }
}
.mb-sticky-bar__total {
  flex: 1; text-align: right;
  font-family: var(--cj-serif); font-size: 18px; font-weight: 400;
}
.mb-sticky-bar__cta {
  background: var(--cj-amber); color: var(--cj-ink);
  border: none; padding: 10px 16px; border-radius: 8px;
  font-size: 13px; font-weight: 700; cursor: pointer;
  display: inline-flex; gap: 6px; align-items: center;
}
@media (min-width: 768px) { .mb-sticky-bar { display: none !important; } }

/* ===== FEATURE 3: Tier-unlock celebration toast ===== */
.mb-toast {
  position: fixed; bottom: 80px; left: 50%; transform: translateX(-50%);
  background: var(--cj-ink); color: var(--cj-amber);
  padding: 12px 24px; border-radius: 12px;
  font-size: 14px; font-weight: 700;
  box-shadow: 0 8px 24px rgba(0,0,0,0.3);
  opacity: 0; pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 60;
}
.mb-toast.is-show { opacity: 1; }
.mb-tier-card.celebrate {
  animation: mbCelebrate 0.4s ease;
}
@keyframes mbCelebrate {
  0% { transform: scale(1); }
  50% { transform: scale(1.15); }
  100% { transform: scale(1); }
}

/* ===== FEATURE 4: Scroll reveal animations ===== */
.mb-reveal {
  opacity: 0; transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.mb-reveal.is-visible {
  opacity: 1; transform: translateY(0);
}
.mb-reveal:nth-child(2) { transition-delay: 0.1s; }
.mb-reveal:nth-child(3) { transition-delay: 0.2s; }

/* t262u: high-contrast GRATIS pill (recap/cart + builder) */
.mb-free-tag,.mb-free-badge,#mbCheckoutSection .mb-free-tag,#mbCheckoutSection .mb-free-badge{background:#14532d!important;color:#fff!important;opacity:1!important;filter:none!important;font-weight:800!important;border:0!important;text-shadow:none!important;-webkit-text-fill-color:#fff!important}

/* t300u compact cart/recap — no inner scroll; denser with more items */
.mb-cart__items.mb-dense .mb-cart__item,
.mb-recap__items.mb-dense .mb-recap__item { gap: 8px; }
.mb-cart__items.mb-dense .mb-cart__thumb,
.mb-recap__items.mb-dense .mb-recap__item img { width: 36px; height: 36px; }
.mb-cart__items.mb-dense .mb-cart__name,
.mb-recap__items.mb-dense .mb-recap__item-name { font-size: 12px; }
.mb-cart__items.mb-xdense .mb-cart__item,
.mb-recap__items.mb-xdense .mb-recap__item { gap: 6px; }
.mb-cart__items.mb-xdense .mb-cart__thumb,
.mb-recap__items.mb-xdense .mb-recap__item img { width: 32px; height: 32px; }
.mb-cart__items.mb-xdense .mb-cart__name,
.mb-recap__items.mb-xdense .mb-recap__item-name { font-size: 11px; }
