/* ============================================================================
 * MAXIRISE GO — components.css
 * Header · countdown · image stack · CTAs · offers · slider · form · FAQ ·
 * sticky bar · trust rows · footer · thank-you trust page.
 * ========================================================================== */


/* ── Countdown bar — FIXED at top, always visible while scrolling ───────────
 * Body gets a matching padding-top so content starts below the fixed bar, and
 * html scroll-padding-top keeps #offers / #order-form anchors clear of it. */
:root { --mx-countbar-h: 50px; }
/* Only the landing page carries the fixed countbar — scope the offset to it so
 * thank-you.html (same stylesheet, no countbar) gets no blank top gap. */
body[data-page-type="landing"] { padding-top: var(--mx-countbar-h); }
html { scroll-padding-top: var(--mx-countbar-h); }
.mx-countbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 90;
  display: flex; align-items: center; min-height: var(--mx-countbar-h);
  background: linear-gradient(90deg, var(--mx-red-deep), var(--mx-red) 55%, var(--mx-red-2));
  color: #fff; text-align: center;
  box-shadow: 0 4px 16px rgba(0,0,0,.28);
}
.mx-countbar .mx-shell { display: flex; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: nowrap; padding-top: 8px; padding-bottom: 8px; }
.mx-countbar span.mx-countbar-text { flex: 1 1 auto; min-width: 0; text-align: center; font-size: 12px; font-weight: 800; white-space: nowrap; }
.mx-countbar-cta {
  flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center; white-space: nowrap;
  background: #fff; color: var(--mx-red); font-weight: 900; font-size: 11.5px;
  padding: 6px 12px; border-radius: 999px; letter-spacing: .01em;
  box-shadow: 0 4px 12px rgba(0,0,0,.22);
}
.mx-countbar-cta:active { transform: translateY(1px); }
.mx-countdown { flex: 0 0 auto; display: inline-flex; gap: 4px; direction: ltr; }
.mx-countdown span {
  background: rgba(0,0,0,.32);
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 7px;
  font-weight: 800; font-variant-numeric: tabular-nums;
  min-width: 26px; padding: 3px 5px; font-size: 13px;
}
/* Narrowest phones (≤374px): tighten so the row never wraps. */
@media (max-width: 374px) {
  .mx-countbar span.mx-countbar-text { font-size: 10.5px; letter-spacing: -.2px; }
  .mx-countbar-cta { font-size: 10.5px; padding: 5px 10px; }
  .mx-countdown span { min-width: 23px; padding: 3px 4px; font-size: 12px; }
}

/* ── Image stack ───────────────────────────────────────────────────────────
 * Same width, VARIABLE height. No fixed-height container, no cropping, zero CLS:
 * each <img> keeps its intrinsic width/height attributes and scales fluidly.   */
.mx-stack { max-width: var(--mx-shell); margin: 0 auto; }
.mx-stack-section { padding: 0; }
.mx-stack-figure { margin: 0; }
.mx-stack-img { width: 100%; height: auto; display: block; }

/* ── CTAs ──────────────────────────────────────────────────────────────────*/
.mx-cta {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  width: 100%; min-height: 56px; padding: 15px 22px;
  background: var(--cta-bg);
  color: #fff; font-weight: 900; font-size: 17px; letter-spacing: .01em;
  font-family: var(--mx-font-heading);
  border: 0; border-radius: var(--mx-radius);
  box-shadow:
    0 14px 30px rgba(200,16,46,.42),
    0 3px 10px rgba(0,0,0,.34),
    inset 0 1px 0 rgba(255,255,255,.30),
    inset 0 -3px 8px rgba(0,0,0,.20);
  transition: transform .12s ease, box-shadow .2s ease, filter .2s ease, background .2s ease;
  text-align: center;
}
.mx-cta:hover {
  background: var(--cta-bg-hover);
  box-shadow:
    0 18px 38px rgba(200,16,46,.50),
    0 4px 12px rgba(0,0,0,.36),
    inset 0 1px 0 rgba(255,255,255,.34),
    inset 0 -3px 8px rgba(0,0,0,.20);
}
.mx-cta:active { transform: translateY(1px) scale(.995); }
.mx-cta-compact { min-height: 50px; font-size: 15px; }

/* CTA bands hug the images both sides — no dark gap above or below; the next
 * image/section starts immediately after the button (clean minimal 6px). */
.mx-cta-band { max-width: var(--mx-shell); margin: 0 auto; padding: 0 16px 6px; }
.mx-cta-band .mx-cta-sub { display: block; text-align: center; margin-top: 8px; font-size: 12px; color: var(--mx-muted); }

/* ── Trust rows ────────────────────────────────────────────────────────────*/
.mx-trust-line { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.mx-trust-line span {
  font-size: 11.5px; font-weight: 700; color: var(--mx-steel);
  border: 1px solid var(--mx-line); border-radius: 999px; padding: 5px 11px;
  background: rgba(255,255,255,.03);
}
.mx-trust-line span::before { content: "✓ "; color: var(--mx-red-2); }

/* ── WhatsApp testimonial proof ────────────────────────────────────────────*/
.mx-proof-head { display: grid; gap: 6px; justify-items: center; margin-bottom: 14px; }
.mx-proof-stars { color: var(--mx-gold-soft); font-size: 19px; letter-spacing: 2px; }
.mx-proof-rating { font-weight: 800; font-size: 14px; }
.mx-proof-rating b { color: var(--mx-gold-soft); }
.mx-proof-ticker { display: flex; flex-wrap: wrap; gap: 7px; justify-content: center; margin-top: 16px; }
.mx-proof-ticker span { font-size: 11.5px; color: var(--mx-muted); border: 1px dashed var(--mx-line); border-radius: 999px; padding: 4px 10px; }

/* WhatsApp testimonial frame — narrowed to ~70% of the column, centered, with
 * breathing space and a subtle premium gold edge. */
.mx-whatsapp-proof {
  position: relative; width: 70%; max-width: 320px; margin: 8px auto 4px;
  aspect-ratio: 480 / 840;
  border-radius: var(--mx-radius); overflow: hidden;
  background: var(--mx-navy-2); border: 1px solid rgba(200,168,75,.30);
  box-shadow: var(--mx-shadow), 0 0 0 1px rgba(200,168,75,.10);
  touch-action: pan-y;
}
.mx-whatsapp-proof figure {
  position: absolute; inset: 0 0 28px; margin: 0;
  opacity: 0; visibility: hidden;
  transform: translateX(-18px) scale(.985);
  transition: opacity .42s ease, transform .42s ease, visibility .42s ease;
}
.mx-whatsapp-proof figure.is-active { opacity: 1; visibility: visible; transform: translateX(0) scale(1); }
.mx-whatsapp-proof figure img { width: 100%; height: 100%; object-fit: contain; }
.mx-slider-dots { position: absolute; left: 0; right: 0; bottom: 9px; display: flex; gap: 6px; justify-content: center; }
.mx-slider-dots button {
  width: 9px; height: 9px; padding: 0; border: 0; border-radius: 50%;
  background: rgba(255,255,255,.32);
  transition: width .2s ease, border-radius .2s ease, background .2s ease;
}
.mx-slider-dots button.is-active { width: 24px; border-radius: 999px; background: var(--mx-red-2); }

/* ── Conversion block (offers + form) — LIGHT, high-contrast ───────────────
 * One light block holds urgency → offers → form so the user lands on the
 * offer cards first (CTA target #offers) and the form sits directly below.
 * Background is themeable via --conversion-bg-gradient / --conversion-bg. */
.mx-conversion {
  background: var(--conversion-bg-gradient, var(--conversion-bg));
  color: var(--conversion-ink);
  padding: 26px 0 34px;
}
.mx-conversion .mx-title-sm { color: var(--conversion-ink); }
.mx-conversion .mx-copy { color: var(--conversion-muted); }
.mx-conversion .mx-eyebrow { color: var(--mx-red); }
.mx-conversion .mx-offer-card { box-shadow: 0 8px 22px rgba(10,16,36,.12); }
.mx-conversion .mx-offer-trust div { color: var(--conversion-muted); border-color: var(--mx-line-dark); }
.mx-conversion .mx-country-card {
  background: #fff; border-color: var(--mx-navy-line);
}
.mx-conversion .mx-country-card label { color: var(--mx-red); }
.mx-conversion .mx-country-card select { background: #fff; color: var(--mx-ink); border: 1px solid var(--mx-navy-line); }
.mx-conversion .mx-country-card .mx-country-current { color: var(--conversion-muted); }
.mx-conversion .mx-country-card .mx-country-current b { color: var(--mx-ink); }

/* Urgency strip — sits above the offers, urgent but not spammy. */
.mx-urgency {
  display: grid; gap: 2px; text-align: center;
  background: linear-gradient(90deg, var(--mx-red-deep), var(--mx-red) 55%, var(--mx-red-2));
  color: #fff; border-radius: var(--mx-radius); padding: 12px 14px; margin-bottom: 18px;
  box-shadow: 0 10px 24px rgba(200,16,46,.26);
}
.mx-urgency b { font-size: 16px; font-weight: 900; letter-spacing: .01em; font-family: var(--mx-font-heading); }
.mx-urgency span { font-size: 12.5px; font-weight: 700; opacity: .92; }

/* Post-form trust image — optional; hidden gracefully if the file is missing. */
.mx-after-form { max-width: var(--mx-shell); margin: 0 auto; padding: 6px 0 0; }
.mx-after-form img { width: 100%; height: auto; display: block; }

/* ── Offer section ─────────────────────────────────────────────────────────*/
.mx-country-card {
  background: var(--mx-navy-3); border: 1px solid var(--mx-line);
  border-radius: var(--mx-radius); padding: 14px; margin-bottom: 16px;
  display: grid; gap: 7px;
}
.mx-country-card label { font-size: 12.5px; font-weight: 700; color: var(--mx-steel); }
.mx-country-card select {
  width: 100%; padding: 12px 12px; font-size: 15px; font-family: inherit;
  background: var(--mx-navy); color: #fff;
  border: 1px solid var(--mx-line); border-radius: var(--mx-radius-sm);
}
.mx-country-card .mx-country-current { font-size: 12px; color: var(--mx-muted); }
.mx-country-card .mx-country-current b { color: #fff; }

/* Gift note above offers — every pack already includes a free gift (visual only). */
.mx-gift-note {
  display: flex; align-items: center; justify-content: center; gap: 6px;
  margin: 0 0 14px; padding: 9px 14px; border-radius: 999px;
  font-size: 13px; font-weight: 800; color: var(--mx-ink);
  background: rgba(200,168,75,.12); border: 1px solid rgba(200,168,75,.45);
}

.mx-offer-grid { display: grid; gap: 12px; }

.mx-offer-card {
  position: relative; display: grid;
  grid-template-columns: 22px 72px 1fr auto; align-items: center; gap: 12px;
  text-align: right; width: 100%;
  background: var(--mx-white); color: var(--mx-ink);
  border: 2px solid var(--mx-navy-line); border-radius: var(--mx-radius);
  padding: 14px 14px 14px 12px;
  box-shadow: var(--mx-shadow-sm);
  transition: border-color .18s ease, transform .12s ease, box-shadow .2s ease;
}
.mx-offer-card:active { transform: scale(.995); }
.mx-offer-card.is-selected { border-color: var(--mx-red); box-shadow: 0 14px 30px rgba(200,16,46,.26); }
.mx-offer-card .mx-radio {
  width: 20px; height: 20px; border-radius: 50%;
  border: 2px solid var(--mx-line-dark); position: relative;
}
.mx-offer-card.is-selected .mx-radio { border-color: var(--mx-red); }
.mx-offer-card.is-selected .mx-radio::after {
  content: ""; position: absolute; inset: 3px; border-radius: 50%; background: var(--mx-red);
}
.mx-offer-card img { width: 72px; height: 72px; object-fit: contain; }
.mx-offer-main { display: grid; gap: 3px; }
.mx-offer-main small[data-offer-badge] {
  font-size: 10.5px; font-weight: 800; letter-spacing: .04em; color: var(--mx-red);
}
.mx-offer-main b[data-offer-label] { font-size: 14.5px; font-weight: 800; font-family: var(--mx-font-heading); }
.mx-offer-main .mx-offer-perbottle { font-size: 11.5px; font-weight: 700; color: var(--mx-muted-ink); }
.mx-price-box { display: grid; justify-items: end; gap: 1px; }
.mx-price-box em[data-offer-discount] {
  font-style: normal; font-size: 10.5px; font-weight: 800; color: #fff;
  background: var(--mx-red); border-radius: 6px; padding: 2px 6px;
}
.mx-price-box del[data-offer-old] { font-size: 12px; color: rgba(10,16,36,.45); }
.mx-price-box strong[data-offer-price] { font-size: 18px; font-weight: 900; color: var(--mx-ink); font-family: var(--mx-font-heading); }

/* Value-hierarchy ribbons */
.mx-offer-card.is-popular { border-color: var(--mx-red); }
.mx-offer-card.is-popular::before,
.mx-offer-card.is-best::before {
  content: attr(data-ribbon);
  position: absolute; top: -10px; right: 12px;
  font-size: 10px; font-weight: 900; letter-spacing: .06em; text-transform: uppercase;
  color: #fff; padding: 3px 10px; border-radius: 999px;
  box-shadow: var(--mx-shadow-sm);
}
.mx-offer-card.is-popular::before { background: var(--mx-red); }
.mx-offer-card.is-best::before { background: var(--mx-navy); border: 1px solid var(--mx-red); }

.mx-offer-trust { display: flex; gap: 8px; justify-content: center; margin-top: 14px; flex-wrap: wrap; }
.mx-offer-trust div {
  font-size: 11.5px; font-weight: 700; color: var(--mx-steel);
  border: 1px solid var(--mx-line); border-radius: 999px; padding: 5px 11px;
}
.mx-offer-trust div::before { content: "✓ "; color: var(--mx-red-2); }

/* ── Order form ────────────────────────────────────────────────────────────*/
.mx-form-card {
  background: var(--mx-white); color: var(--mx-ink);
  border-radius: var(--mx-radius); padding: 20px 16px;
  box-shadow: var(--mx-shadow); max-width: var(--mx-shell); margin: 0 auto;
}
.mx-form-card .mx-eyebrow { color: var(--mx-red); }
.mx-form-card .mx-title-sm { color: var(--mx-ink); }
.mx-selected-line { color: var(--mx-muted-ink); font-size: 13px; }
.mx-selected-line b { color: var(--mx-ink); }
.mx-stack-fields { display: grid; gap: 12px; margin-top: 6px; }
.mx-field { display: grid; gap: 5px; font-size: 13px; font-weight: 700; color: var(--mx-ink); }
.mx-field input, .mx-field select, .mx-field textarea {
  width: 100%; padding: 13px 13px; font-size: 15px; font-family: inherit;
  background: #fff; color: var(--mx-ink);
  border: 1px solid var(--mx-navy-line); border-radius: var(--mx-radius-sm);
}
.mx-field input:focus, .mx-field select:focus, .mx-field textarea:focus { border-color: var(--mx-red); outline: none; }
.mx-field textarea { min-height: 64px; resize: vertical; }
.mx-error { color: var(--mx-red); font-size: 12px; font-weight: 700; min-height: 14px; }
/* Optional order-confirmation checkbox (IQ) — soft confirmation, never blocks submit. */
.mx-confirm { display: flex; align-items: flex-start; gap: 9px; margin-top: 14px;
  font-size: 13px; font-weight: 600; line-height: 1.5; color: var(--mx-ink); cursor: pointer; }
.mx-confirm input { flex: 0 0 auto; width: 18px; height: 18px; margin-top: 1px; accent-color: var(--mx-red); cursor: pointer; }
.mx-confirm span { flex: 1; }
.mx-safe-row { display: flex; gap: 8px; justify-content: center; margin-top: 12px; flex-wrap: wrap; }
.mx-safe-row span { font-size: 11px; font-weight: 700; color: var(--mx-muted-ink); }
.mx-safe-row span::before { content: "✓ "; color: var(--mx-red); }
.mx-form-status { margin-top: 12px; text-align: center; }
.mx-form-status [data-form-message] { color: var(--mx-red); font-size: 13px; font-weight: 700; }

/* ── WhatsApp fallback popup — failure-only, lightweight, mobile-friendly ───*/
.mx-fail-modal { position: fixed; inset: 0; z-index: 220; display: none; }
.mx-fail-modal.is-open { display: flex; align-items: flex-start; justify-content: center; padding: 24vh 16px 16px; }
.mx-fail-backdrop { position: absolute; inset: 0; background: rgba(5,8,18,.72); backdrop-filter: blur(3px); }
.mx-fail-card {
  position: relative; width: 100%; max-width: 360px;
  background: #fff; color: var(--mx-ink);
  border-radius: var(--mx-radius); padding: 24px 20px 18px; text-align: center;
  box-shadow: var(--mx-shadow);
}
.mx-fail-x { position: absolute; top: 8px; left: 10px; background: transparent; border: 0; font-size: 24px; line-height: 1; color: var(--mx-muted-ink); cursor: pointer; padding: 4px 8px; }
.mx-fail-ico { font-size: 34px; line-height: 1; margin-bottom: 6px; }
.mx-fail-card h3 { font-size: 18px; color: var(--mx-ink); margin: 0 0 8px; }
.mx-fail-card p { font-size: 14px; color: var(--mx-muted-ink); margin: 0 0 16px; line-height: 1.6; }
.mx-fail-wa { background: linear-gradient(180deg, #25D366, #128C7E); box-shadow: 0 10px 24px rgba(18,140,126,.32); margin-bottom: 10px; }
.mx-fail-wa:hover { background: linear-gradient(180deg, #2ee06f, #149e8e); }
.mx-fail-close-btn { width: 100%; background: transparent; color: var(--mx-muted-ink); border: 1px solid var(--mx-navy-line); border-radius: var(--mx-radius-sm); font-family: inherit; font-weight: 800; font-size: 14px; padding: 11px 18px; cursor: pointer; }
.mx-fail-close-btn:hover { background: var(--mx-ice); }

/* ── FAQ ───────────────────────────────────────────────────────────────────*/
.mx-risk-card {
  display: flex; gap: 12px; align-items: center;
  background: var(--mx-navy-3); border: 1px solid rgba(200,168,75,.38);
  border-radius: var(--mx-radius); padding: 14px; margin-bottom: 18px;
  box-shadow: 0 0 0 1px rgba(200,168,75,.10);
}
.mx-risk-icon { font-size: 26px; }
.mx-risk-card b { display: block; font-size: 14.5px; color: var(--mx-gold-soft); }
.mx-risk-card p { font-size: 12.5px; color: var(--mx-muted); }
.mx-faq-list { display: grid; gap: 10px; }
.mx-faq-item { background: var(--mx-navy-2); border: 1px solid var(--mx-line); border-radius: var(--mx-radius-sm); overflow: hidden; }
.mx-faq-btn {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 12px;
  background: transparent; color: #fff; border: 0; padding: 14px; font-size: 14.5px; font-weight: 800; text-align: right;
}
.mx-faq-btn span { color: var(--mx-red-2); font-size: 20px; transition: transform .2s ease; }
.mx-faq-item.is-open .mx-faq-btn span { transform: rotate(45deg); }
.mx-faq-panel { max-height: 0; overflow: hidden; transition: max-height .3s ease; padding: 0 14px; color: var(--mx-muted); font-size: 13.5px; }
.mx-faq-item.is-open .mx-faq-panel { max-height: 320px; padding: 0 14px 14px; }

/* Sticky/floating CTA removed — no bottom sticky bar on any breakpoint. */

/* ── Footer ────────────────────────────────────────────────────────────────*/
.mx-footer { text-align: center; padding: 30px 0 40px; border-top: 1px solid var(--mx-line); }
.mx-footer-brand { font-size: 28px; font-weight: 900; letter-spacing: .04em; }
.mx-footer-brand span { color: var(--mx-gold-soft); }
.mx-footer-brand em { color: #fff; font-style: normal; }
.mx-footer-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin: 18px 0; }
.mx-footer-grid div { background: var(--mx-navy-2); border: 1px solid var(--mx-line); border-radius: var(--mx-radius-sm); padding: 12px; font-size: 12.5px; font-weight: 700; }
.mx-footer-grid span { display: block; font-size: 20px; margin-bottom: 4px; }
.mx-footer small { color: var(--mx-muted); font-size: 11.5px; }
.mx-footer-links { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 12px; }
.mx-footer-links a { font-size: 12px; color: var(--mx-steel); text-decoration: underline; }

/* ── Thank-you trust page ──────────────────────────────────────────────────*/
.mx-ty-wrap { min-height: 100svh; display: grid; place-items: center; padding: 26px 0 60px; }
.mx-ty-card { background: var(--mx-navy-2); border: 1px solid var(--mx-line); border-radius: var(--mx-radius); padding: 22px 18px; text-align: center; box-shadow: var(--mx-shadow); }
.mx-ty-check { width: 64px; height: 64px; margin: 0 auto 12px; border-radius: 50%; background: rgba(200,16,46,.14); color: var(--mx-red-2); display: grid; place-items: center; font-size: 32px; font-weight: 900; border: 2px solid var(--mx-red); }
.mx-ty-card h1 { font-size: 23px; margin-bottom: 6px; }
.mx-ty-steps { display: grid; gap: 10px; margin: 18px 0; text-align: right; }
.mx-ty-step { display: flex; gap: 11px; align-items: flex-start; background: var(--mx-navy-3); border: 1px solid var(--mx-line); border-radius: var(--mx-radius-sm); padding: 12px; }
.mx-ty-step .mx-ty-ico { font-size: 19px; flex: 0 0 auto; }
.mx-ty-step b { font-size: 13.5px; }
.mx-ty-step p { font-size: 12.5px; color: var(--mx-muted); }
.mx-ty-summary { background: var(--mx-navy-3); border: 1px dashed var(--mx-line); border-radius: var(--mx-radius-sm); padding: 14px; text-align: right; margin-bottom: 14px; }
.mx-ty-summary b { font-size: 13px; color: var(--mx-steel); }
.mx-ty-summary p { font-size: 13.5px; color: #fff; margin-top: 4px; }
.mx-ty-wa { background: linear-gradient(180deg, #25D366, #128C7E); margin-bottom: 9px; }

/* ── Policy modal — in-page Privacy/Terms/Shipping/Returns (no navigation) ──*/
.mx-modal { position: fixed; inset: 0; z-index: 200; display: none; }
.mx-modal.is-open { display: block; }
.mx-modal-backdrop { position: absolute; inset: 0; background: rgba(5,8,18,.72); backdrop-filter: blur(3px); }
.mx-modal-dialog {
  position: relative; width: calc(100% - 24px); max-width: 600px; margin: 5vh auto; max-height: 90vh;
  display: flex; flex-direction: column; background: #fff; color: var(--mx-ink);
  border-radius: var(--mx-radius); overflow: hidden; box-shadow: var(--mx-shadow);
}
.mx-modal-head { display: flex; align-items: center; justify-content: space-between; padding: 13px 16px; background: var(--mx-navy); color: #fff; }
.mx-modal-brand { direction: ltr; font-weight: 900; font-size: 18px; letter-spacing: .02em; }
.mx-modal-brand span { color: var(--mx-gold-soft); }
.mx-modal-brand em { color: #fff; font-style: normal; }
.mx-modal-close { background: rgba(255,255,255,.14); color: #fff; border: 0; width: 34px; height: 34px; border-radius: 50%; font-size: 20px; line-height: 1; cursor: pointer; }
.mx-modal-close:hover { background: rgba(255,255,255,.24); }
.mx-modal-tabs { display: flex; gap: 2px; padding: 10px 10px 0; flex-wrap: wrap; border-bottom: 1px solid var(--mx-line-dark); background: var(--mx-ice); }
.mx-modal-tab { background: transparent; border: 0; border-bottom: 3px solid transparent; padding: 9px 13px; font-family: inherit; font-size: 13.5px; font-weight: 800; color: var(--mx-muted-ink); cursor: pointer; }
.mx-modal-tab.is-active { color: var(--mx-ink); border-bottom-color: var(--mx-red); }
.mx-modal-body { padding: 18px 18px 22px; overflow-y: auto; }
.mx-modal-body h3 { font-size: 16px; margin: 0 0 .5em; color: var(--mx-ink); }
.mx-modal-body p { color: var(--mx-muted-ink); font-size: 14px; margin: 0 0 .8em; }
.mx-modal-body a { color: var(--mx-red); font-weight: 700; }
.mx-modal-panel { display: none; }
.mx-modal-panel.is-active { display: block; }
.mx-modal-note { background: #FBF6E7; border: 1px solid #ECD79A; border-radius: 10px; padding: 12px 14px; font-size: 13.5px; color: #6b5310; }
.mx-modal-note strong { color: #6b5310; }
.mx-modal-updated { color: var(--mx-muted-ink); font-size: 12px; margin-top: 1.2em; }
body.mx-modal-locked { overflow: hidden; }

/* ── Responsive up-scaling for tablets/desktop ─────────────────────────────*/
@media (min-width: 760px) {
  :root { --mx-shell: 680px; }
  .mx-footer-grid { grid-template-columns: repeat(4, 1fr); }
}
