/* Design: B-2-beta-I | font:playfair | palette:coral-mint-heart | extras:waves,chart,colored-ingredients,float-badges | hash:hipertonica-co */

:root {
  /* Brand palette — coral + mint (cardiovascular/heart association) */
  --primary: #e63946;
  --primary-dark: #b42430;
  --primary-light: #f28a93;
  --primary-rgb: 230, 57, 70;
  --primary-pale: rgba(230, 57, 70, .08);

  --accent: #2a9d8f;
  --accent-dark: #1f756a;
  --accent-light: #a8d5cf;
  --accent-rgb: 42, 157, 143;
  --accent-pale: rgba(42, 157, 143, .1);

  /* CTA orange (attract color, distinct from primary) */
  --cta-orange: #f4a23b;
  --cta-orange-dark: #d4871f;
  --cta-orange-rgb: 244, 162, 59;

  /* Surfaces — light defaults */
  --bg: #ffffff;
  --bg-alt: #fdf7f4;
  --bg-card: #ffffff;
  --bg-elevated: #ffffff;
  --bg-mint-tint: #f1f9f7;
  --bg-coral-tint: #fdf2f3;
  --dark-bg: #0f172a;
  --dark-bg-alt: #1a2438;

  /* Text */
  --text: #1a202c;
  --text-muted: #4a5568;
  --text-subtle: #718096;
  --text-inverse: #ffffff;

  /* Borders */
  --border: #e2e8f0;
  --border-strong: #cbd5e1;

  /* Status */
  --discount-bg: #fef3c7;
  --discount-color: #92400e;
  --star-color: #fbbf24;
  --success: #16a34a;
  --danger: #dc2626;
  --warning: #f59e0b;

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, .06);
  --shadow-md: 0 4px 12px rgba(15, 23, 42, .08);
  --shadow-lg: 0 12px 32px rgba(15, 23, 42, .12);
  --shadow-xl: 0 24px 48px rgba(15, 23, 42, .18);

  /* Radii */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 24px;
  --radius-full: 999px;

  /* Layout */
  --container: 1200px;
  --container-narrow: 880px;
  --header-h: 68px;
  --section-pad-y: 56px;

  /* Typography */
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
  --font-display: 'Playfair Display', Georgia, 'Times New Roman', serif;

  /* Z-index scale — DO NOT REDEFINE */
  --z-header: 100;
  --z-mobile-nav: 200;
  --z-hamburger: 201;
  --z-modal: 400;
  --z-popup: 500;
  --z-sticky: 90;
  --z-tooltip: 600;

  color-scheme: light dark;
}

/* Dark mode (prefers-color-scheme) */
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0b1220;
    --bg-alt: #101a2b;
    --bg-card: #111a2e;
    --bg-elevated: #16213a;
    --bg-mint-tint: #0d1f1c;
    --bg-coral-tint: #1f1216;

    --text: #e2e8f0;
    --text-muted: #a0aec0;
    --text-subtle: #718096;

    --border: #1e293b;
    --border-strong: #334155;

    --discount-bg: #422006;
    --discount-color: #fde68a;

    --shadow-sm: 0 1px 2px rgba(0, 0, 0, .4);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, .5);
    --shadow-lg: 0 12px 32px rgba(0, 0, 0, .6);
    --shadow-xl: 0 24px 48px rgba(0, 0, 0, .7);

    --primary-pale: rgba(230, 57, 70, .16);
    --accent-pale: rgba(42, 157, 143, .18);
  }
}

/* Manual theme override (user-selected) — wins over system preference */
html[data-theme="dark"] {
  --bg: #0b1220;
  --bg-alt: #101a2b;
  --bg-card: #111a2e;
  --bg-elevated: #16213a;
  --bg-mint-tint: #0d1f1c;
  --bg-coral-tint: #1f1216;
  --text: #e2e8f0;
  --text-muted: #a0aec0;
  --text-subtle: #718096;
  --border: #1e293b;
  --border-strong: #334155;
  --discount-bg: #422006;
  --discount-color: #fde68a;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, .4);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, .5);
  --shadow-lg: 0 12px 32px rgba(0, 0, 0, .6);
  --shadow-xl: 0 24px 48px rgba(0, 0, 0, .7);
  --primary-pale: rgba(230, 57, 70, .16);
  --accent-pale: rgba(42, 157, 143, .18);
}

html[data-theme="light"] {
  --bg: #ffffff;
  --bg-alt: #fdf7f4;
  --bg-card: #ffffff;
  --bg-elevated: #ffffff;
  --bg-mint-tint: #f1f9f7;
  --bg-coral-tint: #fdf2f3;
  --text: #1a202c;
  --text-muted: #4a5568;
  --border: #e2e8f0;
  --border-strong: #cbd5e1;
  --discount-bg: #fef3c7;
  --discount-color: #92400e;
  --primary-pale: rgba(230, 57, 70, .08);
  --accent-pale: rgba(42, 157, 143, .1);
}

/* Image luminance correction in dark mode */
@media (prefers-color-scheme: dark) {
  .hero-product img,
  .md-product-img,
  .ingredient-img,
  .offer-img,
  .doctor-photo img {
    filter: brightness(.92) contrast(1.05);
  }
}
html[data-theme="dark"] .hero-product img,
html[data-theme="dark"] .md-product-img,
html[data-theme="dark"] .ingredient-img,
html[data-theme="dark"] .offer-img,
html[data-theme="dark"] .doctor-photo img {
  filter: brightness(.92) contrast(1.05);
}
*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  transition: background-color .3s ease, color .3s ease;
}

img, svg, video { max-width: 100%; height: auto; display: block; }

a { color: var(--primary); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--primary-dark); }

h1, h2, h3, h4 { font-family: var(--font-display); color: var(--text); line-height: 1.22; margin: 0 0 .5em; font-weight: 800; letter-spacing: -.015em; }
h1 { font-size: 2.8rem; }
h2 { font-size: 1.85rem; }
h3 { font-size: 1.35rem; }
h4 { font-size: 1.1rem; font-weight: 700; }

@media (max-width: 768px) { h1 { font-size: 1.8rem; } h2 { font-size: 1.45rem; } h3 { font-size: 1.2rem; } }
@media (max-width: 480px) { h1 { font-size: 1.6rem; } h2 { font-size: 1.35rem; } }

p { margin: 0 0 1rem; }

/* Highlight — flat underline only, NEVER diagonal */
mark, .hl {
  background: linear-gradient(180deg, transparent 62%, rgba(var(--primary-rgb), .38) 62%, rgba(var(--primary-rgb), .38) 100%);
  box-decoration-break: clone; -webkit-box-decoration-break: clone;
  padding: 0 3px; border-radius: 2px;
  color: inherit;
  font-weight: 600;
}
.hl-accent {
  background: linear-gradient(180deg, transparent 62%, rgba(var(--accent-rgb), .42) 62%, rgba(var(--accent-rgb), .42) 100%);
  box-decoration-break: clone; -webkit-box-decoration-break: clone;
  padding: 0 3px; border-radius: 2px;
  font-weight: 600;
}

/* Accessibility */
.sr-only {
  position: absolute !important; width: 1px !important; height: 1px !important;
  padding: 0 !important; margin: -1px !important; overflow: hidden !important;
  clip: rect(0,0,0,0) !important; white-space: nowrap !important; border: 0 !important;
}
.sr-only-focusable:focus {
  position: static !important; width: auto !important; height: auto !important;
  clip: auto !important; padding: 10px 16px !important; margin: 0 !important;
  background: var(--primary); color: #fff; z-index: 999;
}
.skip-link {
  position: absolute; top: 0; left: 50%; transform: translateX(-50%) translateY(-100%);
  background: var(--primary); color: #fff; padding: 10px 20px;
  border-radius: 0 0 var(--radius-md) var(--radius-md);
  z-index: 999; transition: transform .2s ease;
}
.skip-link:focus { transform: translateX(-50%) translateY(0); color: #fff; }

*:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; border-radius: 4px; }

/* Layout */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.container-narrow { max-width: var(--container-narrow); margin: 0 auto; padding: 0 20px; }
section { padding: var(--section-pad-y) 0; position: relative; }
@media (max-width: 768px) { section { padding: 44px 0; } }

/* H2 accent line */
section h2 { text-align: center; position: relative; padding-bottom: 18px; margin-bottom: 28px; }
section h2::after {
  content: ""; position: absolute; left: 50%; transform: translateX(-50%); bottom: 0;
  width: 52px; height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  border-radius: 2px; opacity: .75;
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 24px; border: none; border-radius: var(--radius-full);
  font: 700 .95rem var(--font-body); cursor: pointer; transition: all .2s ease;
  text-decoration: none; line-height: 1; white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-cta, .btn-order {
  background: linear-gradient(135deg, var(--cta-orange) 0%, var(--cta-orange-dark) 100%);
  color: #fff; text-shadow: 0 1px 2px rgba(0, 0, 0, .15);
  box-shadow: 0 4px 14px rgba(var(--cta-orange-rgb), .35);
  padding: 14px 28px; font-size: 1rem;
}
.btn-cta:hover, .btn-order:hover { color: #fff; box-shadow: 0 6px 18px rgba(var(--cta-orange-rgb), .45); transform: translateY(-1px); }
.btn-sm { padding: 8px 14px; font-size: .9rem; }
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-dark); color: #fff; }
.btn-ghost { background: transparent; border: 2px solid var(--border-strong); color: var(--text); }
.btn-ghost:hover { background: var(--bg-alt); }

/* Pulse animation on order CTAs — P0 rule 34 */
@keyframes pulse-cta {
  0%, 100% { transform: scale(1); box-shadow: 0 4px 14px rgba(var(--cta-orange-rgb), .35); }
  50% { transform: scale(1.035); box-shadow: 0 6px 22px rgba(var(--cta-orange-rgb), .55); }
}
.btn-cta,
.btn-order,
.md-submit,
.final-cta button[type="submit"],
.sticky-v2-cta,
.ob-cta-action,
.popup-cta {
  animation: pulse-cta 3.2s ease-in-out infinite;
  will-change: transform, box-shadow;
}
.btn-cta:hover, .btn-order:hover, .md-submit:hover, .sticky-v2-cta:hover {
  animation-play-state: paused; transform: scale(1.05); transition: transform .2s ease;
}

/* Price system */
.price-block { text-align: center; padding: 20px 22px; }
.price-row { display: flex; justify-content: center; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.old-price { font-size: 1.1rem; text-decoration: line-through; opacity: .55; color: var(--text-muted); }
.new-price { font-size: 2.2rem; font-weight: 900; color: var(--primary); font-family: var(--font-display); }
.price-badge {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 5px 12px; border-radius: var(--radius-full);
  background: var(--discount-bg); color: var(--discount-color);
  font-size: .82rem; font-weight: 800; letter-spacing: .02em;
  animation: pBadge 3.6s ease-in-out infinite;
}
.price-badge--sm { padding: 3px 9px; font-size: .72rem; }
@keyframes pBadge {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}
.payment-pills {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 12px;
}
.pay-pill {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 4px 10px; border-radius: var(--radius-full);
  background: var(--bg-alt); color: var(--text-muted); font-size: .76rem; font-weight: 600;
  border: 1px solid var(--border);
}

/* Cards — base + beta (elevated) */
.card {
  background: var(--bg-card); border-radius: var(--radius-lg);
  padding: 24px; box-shadow: var(--shadow-md);
  transition: transform .3s ease, box-shadow .3s ease;
  border: 1px solid var(--border);
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.card-flat { box-shadow: none; border: 1px solid var(--border); }

/* Grids */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media (max-width: 900px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .grid-3, .grid-4, .grid-2 { grid-template-columns: 1fr; } }

/* Reduced motion — P0 with iteration-count fix */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
  .btn-cta, .btn-order, .md-submit, .sticky-v2-cta, .price-badge, .urgency-bar,
  .promo-bar::after, .ob-cta-action, .popup-cta {
    animation: none !important;
  }
}

/* Utility */
.text-center { text-align: center; }
.text-muted { color: var(--text-muted); }
.mb-0 { margin-bottom: 0 !important; }
.mt-4 { margin-top: 24px; }
.hidden { display: none !important; }
/* ============ PROMO BAR ============ */
.promo-bar {
  background: linear-gradient(90deg, var(--primary), var(--accent));
  color: #fff; height: 40px;
  display: flex; align-items: center; justify-content: center;
  font-size: .82rem; font-weight: 600; letter-spacing: .02em;
  position: relative; overflow: hidden; z-index: 95;
}
.promo-bar::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.25), transparent);
  animation: shimmer 6s linear infinite;
}
@keyframes shimmer { 0% { transform: translateX(-100%); } 100% { transform: translateX(100%); } }
.promo-bar-items { display: flex; gap: 28px; align-items: center; position: relative; z-index: 1; }
.promo-bar-item { display: inline-flex; align-items: center; gap: 6px; }
@media (max-width: 768px) { .promo-bar-items { gap: 16px; } .promo-bar-item:nth-child(n+3) { display: none; } .promo-bar { font-size: .76rem; } }

/* ============ HEADER ============ */
.header {
  position: sticky; top: 0; z-index: var(--z-header);
  background: var(--bg); border-bottom: 1px solid var(--border);
  transition: box-shadow .3s ease;
}
.header.scrolled { box-shadow: var(--shadow-md); }
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  min-height: var(--header-h); padding: 12px 0; gap: 16px;
}
.header-brand {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-display); font-weight: 800; font-size: 1.25rem;
  color: var(--text); text-decoration: none;
}
.header-brand img { width: 36px; height: 36px; border-radius: 8px; }
.header-brand:hover { color: var(--primary); }
.header-nav { display: flex; align-items: center; gap: 22px; }
.header-nav a {
  color: var(--text-muted); font-weight: 600; font-size: .92rem;
  transition: color .2s ease; text-decoration: none;
}
.header-nav a:hover { color: var(--primary); }
.header-cta-group { display: flex; align-items: center; gap: 10px; }
.header-order-cta { padding: 8px 14px; font-size: .9rem; white-space: nowrap; }
.theme-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; padding: 0;
  background: transparent; border: 1px solid var(--border);
  border-radius: 10px; cursor: pointer; color: var(--text);
  transition: background .2s ease, border-color .2s ease;
}
.theme-toggle:hover { background: var(--bg-alt); }
html[data-theme="light"] .theme-toggle .icon-moon { display: none; }
html[data-theme="dark"] .theme-toggle .icon-sun { display: none; }
@media (prefers-color-scheme: dark) { html:not([data-theme]) .theme-toggle .icon-sun { display: none; } }
@media (prefers-color-scheme: light) { html:not([data-theme]) .theme-toggle .icon-moon { display: none; } }

/* Hamburger */
.hamburger {
  display: none; width: 40px; height: 40px; padding: 0;
  background: transparent; border: 1px solid var(--border);
  border-radius: 10px; cursor: pointer;
  flex-direction: column; align-items: center; justify-content: center; gap: 5px;
  z-index: var(--z-hamburger);
}
.hamburger span {
  display: block; width: 20px; height: 2.5px; background: var(--text);
  border-radius: 2px; transition: transform .3s ease, opacity .3s ease;
}
body.nav-open .hamburger span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
body.nav-open .hamburger span:nth-child(2) { opacity: 0; }
body.nav-open .hamburger span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* Mobile nav dropdown */
@media (max-width: 1024px) {
  .header { -webkit-backdrop-filter: none; backdrop-filter: none; }
  .hamburger { display: flex; }
  .header-nav {
    position: fixed; top: calc(var(--header-h) + 8px); left: 50%;
    transform: translate(-50%, -10px); width: 92%; max-width: 360px;
    flex-direction: column; align-items: stretch;
    background: var(--bg); border: 1px solid var(--border);
    border-radius: 18px; box-shadow: var(--shadow-lg);
    padding: 18px; gap: 4px;
    max-height: calc(100dvh - var(--header-h) - 24px); overflow-y: auto;
    opacity: 0; visibility: hidden; pointer-events: none;
    transition: opacity .25s ease, transform .25s ease, visibility .25s;
    z-index: var(--z-mobile-nav);
  }
  body.nav-open .header-nav {
    transform: translate(-50%, 0); opacity: 1; visibility: visible; pointer-events: auto;
  }
  .header-nav a {
    padding: 12px 14px; border-radius: 10px; text-align: center;
    background: var(--bg-alt);
  }
  .header-nav a:hover { background: var(--primary-pale); color: var(--primary); }
}

/* ============ HERO (Variant B — Centered) ============ */
.hero {
  position: relative; overflow: hidden;
  padding: 48px 0 64px;
  background: linear-gradient(180deg, var(--bg-coral-tint) 0%, var(--bg) 100%);
}
.hero-inner { display: grid; grid-template-columns: 1.05fr 1fr; gap: 40px; align-items: center; }
.hero-content { position: relative; z-index: 2; }
.hero h1 {
  font-size: 2.6rem; line-height: 1.15; margin-bottom: 18px; text-align: left;
}
.hero-subtitle { font-size: 1.05rem; color: var(--text-muted); margin-bottom: 22px; max-width: 540px; }
.hero-subtitle mark { background: linear-gradient(180deg, transparent 62%, rgba(var(--accent-rgb), .4) 62%, rgba(var(--accent-rgb), .4) 100%); color: inherit; padding: 0 3px; }
.trust-pills { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.trust-pill {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 6px 12px; border-radius: var(--radius-full);
  background: #fff; border: 1px solid var(--border);
  font-size: .78rem; font-weight: 600; color: var(--text-muted);
  box-shadow: var(--shadow-sm);
}
.trust-pill.highlight { background: var(--accent-pale); border-color: var(--accent); color: var(--accent-dark); }

.hero-product {
  position: relative; display: flex; align-items: center; justify-content: center;
  min-height: 440px;
}
.hero-product::before {
  content: ""; position: absolute; width: 420px; height: 420px;
  background: radial-gradient(circle, rgba(var(--primary-rgb), .15) 0%, transparent 70%);
  border-radius: 50%; z-index: 0;
  animation: glow-breath 6s ease-in-out infinite;
}
@keyframes glow-breath { 0%, 100% { transform: scale(1); opacity: .9; } 50% { transform: scale(1.1); opacity: 1; } }
.hero-product img {
  position: relative; z-index: 1; max-height: 520px; width: auto; object-fit: contain;
  filter: drop-shadow(0 20px 40px rgba(230, 57, 70, .25));
}

/* Float badges */
.float-badge {
  position: absolute; z-index: 2;
  display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 14px; border-radius: var(--radius-full);
  background: #fff; box-shadow: var(--shadow-lg);
  font-size: .82rem; font-weight: 700; color: var(--text);
  animation: floatBadge 7s ease-in-out infinite;
}
.hb-oficial { top: 8%; left: 4%; color: var(--success); }
.hb-oficial::before { content: "✓"; background: var(--success); color: #fff; width: 22px; height: 22px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: .72rem; }
.hb-rating { top: 42%; right: 0%; animation-delay: 1s; }
.hb-rating .stars { color: var(--star-color); letter-spacing: -2px; font-size: .95rem; }
.hb-delivery { bottom: 10%; left: 6%; animation-delay: 2s; }
@keyframes floatBadge { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@media (max-width: 1024px) { .float-badge { display: none; } }

/* Hero offer box — product thumb always present (P0 rule: every offer box shows product image) */
.hero-price-product {
  display: flex; align-items: center; gap: 12px;
  padding: 4px 6px 14px;
  border-bottom: 1px dashed var(--border);
  margin-bottom: 14px;
}
.hero-price-thumb {
  width: 64px; height: 64px; object-fit: contain;
  filter: drop-shadow(0 4px 10px rgba(0,0,0,.15));
  flex-shrink: 0;
}
.hero-price-label { display: flex; flex-direction: column; gap: 2px; text-align: left; }
.hero-price-name { font-weight: 800; font-size: 1rem; color: var(--text); letter-spacing: -.01em; }
.hero-price-sub { font-size: .82rem; color: var(--text-muted); }

.price-block.hero-price {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
  padding: 22px; margin-bottom: 18px; max-width: 440px;
}
.price-block.hero-price .price-row .price-badge { animation: pBadge 3.6s infinite; }
.hero-cta-row { display: flex; gap: 12px; flex-wrap: wrap; }

@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; gap: 28px; text-align: center; }
  .hero-product { order: -1; min-height: 340px; }
  .hero-content { order: 1; }
  .hero h1 { text-align: center; }
  .hero-subtitle { margin-left: auto; margin-right: auto; }
  .trust-pills { justify-content: center; }
  .hero-cta-row { justify-content: center; }
  .price-block.hero-price { margin-left: auto; margin-right: auto; }
  .hero-product img { max-height: 380px; }
}

/* ============ TRUST BAR ============ */
.trust-bar {
  padding: 32px 0; background: var(--bg-alt);
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
}
.trust-stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center;
}
.trust-stat-num {
  font-family: var(--font-display); font-size: 2.4rem; font-weight: 800; color: var(--primary);
  line-height: 1; margin-bottom: 6px;
}
.trust-stat-label { font-size: .82rem; color: var(--text-muted); font-weight: 600; }
@media (max-width: 768px) { .trust-stats { grid-template-columns: repeat(2, 1fr); gap: 20px; } .trust-stat-num { font-size: 1.9rem; } }

/* ============ QUE ES ============ */
.que-es { background: var(--bg); }
.info-grid { display: grid; grid-template-columns: 120px 1fr; gap: 12px 20px; max-width: 720px; margin: 0 auto 30px; }
.info-label { color: var(--text-muted); font-size: .88rem; font-weight: 600; padding-top: 2px; }
.info-value { font-weight: 600; color: var(--text); }
.snippet {
  max-width: 860px; margin: 0 auto 24px; padding: 24px;
  background: var(--accent-pale); border-left: 4px solid var(--accent);
  border-radius: var(--radius-md); font-size: 1.02rem; line-height: 1.7;
}

/* ============ PARA QUE SIRVE ============ */
.pqs-section { background: var(--bg-mint-tint); }
.mechanism-flow {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
  max-width: 980px; margin: 30px auto; position: relative;
}
.mf-step {
  text-align: center; padding: 20px;
  background: #fff; border-radius: var(--radius-lg);
  border-top: 4px solid var(--primary);
  box-shadow: var(--shadow-md);
}
.mf-step:nth-child(1) { border-top-color: var(--primary); }
.mf-step:nth-child(2) { border-top-color: #f4a23b; }
.mf-step:nth-child(3) { border-top-color: var(--accent); }
.mf-step:nth-child(4) { border-top-color: #7c3aed; }
.mf-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--primary); color: #fff;
  font-weight: 800; margin: 0 auto 10px;
}
.mf-icon { font-size: 2rem; margin-bottom: 8px; }
.mf-title { font-size: 1rem; font-weight: 700; margin-bottom: 6px; color: #1a202c; }
.mf-desc { font-size: .85rem; color: #4a5568; }
html[data-theme="dark"] .mf-step { background: #1a1f2e; border-bottom: 1px solid rgba(255,255,255,.06); }
html[data-theme="dark"] .mf-title { color: #e8eef7; }
html[data-theme="dark"] .mf-desc { color: #a0aec0; }
@media (max-width: 900px) { .mechanism-flow { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .mechanism-flow { grid-template-columns: 1fr; } }

/* ============ BENEFITS ============ */
.benefits { background: var(--bg); }
.benefit-card {
  text-align: center;
  padding: 28px 24px;
}
.benefit-icon {
  font-size: 2.4rem; margin-bottom: 12px; display: block;
  filter: drop-shadow(0 4px 12px rgba(var(--primary-rgb), .2));
}
.benefit-card h4 {
  position: relative; display: inline-block; padding-bottom: 8px; margin-bottom: 10px;
}
.benefit-card h4::after {
  content: ""; position: absolute; left: 20%; right: 20%; bottom: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
}
.benefit-card p { font-size: .92rem; color: var(--text-muted); margin: 0; }

/* ============ COMPARISON (VS) ============ */
.comparison-section { background: var(--bg-alt); }
.vs-table {
  width: 100%; max-width: 900px; margin: 0 auto;
  border-collapse: separate; border-spacing: 0; overflow: visible;
  background: var(--bg-card); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}
.vs-table th, .vs-table td { padding: 16px; text-align: center; font-size: .92rem; border-bottom: 1px solid var(--border); }
.vs-table th { background: var(--bg-alt); font-weight: 700; color: var(--text-muted); font-size: .85rem; }
.vs-table th:first-child, .vs-table td:first-child { text-align: left; padding-left: 24px; font-weight: 600; }
.vs-table th:nth-child(2) {
  background: var(--primary-dark); color: #fff;
  box-shadow: inset 0 0 0 2px var(--accent); position: relative;
  border-top-left-radius: var(--radius-md); border-top-right-radius: var(--radius-md);
}
.vs-table th:nth-child(2)::before {
  content: "★ MEJOR OPCIÓN"; position: absolute;
  top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--accent); color: #fff;
  font-size: .62rem; font-weight: 800; padding: 4px 10px;
  border-radius: var(--radius-full); letter-spacing: .08em;
}
.vs-table td:nth-child(2) {
  background: var(--primary-pale); color: var(--primary-dark); font-weight: 700;
  border-left: 2px solid var(--primary); border-right: 2px solid var(--primary);
}
.vs-table tbody tr:last-child td:nth-child(2) { border-bottom: 2px solid var(--primary); }
.vs-ok { color: var(--success); font-weight: 800; }
.vs-ko { color: var(--danger); opacity: .8; }
@media (max-width: 700px) { .vs-table { font-size: .8rem; } .vs-table th, .vs-table td { padding: 10px 6px; } }

/* ============ QUIZ ============ */
.quiz-section { background: var(--bg); }
.quiz-card {
  max-width: 720px; margin: 0 auto; padding: 32px;
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-xl); box-shadow: var(--shadow-lg);
}
.quiz-progress { height: 6px; background: var(--bg-alt); border-radius: var(--radius-full); overflow: hidden; margin-bottom: 24px; }
.quiz-bar { height: 100%; background: linear-gradient(90deg, var(--primary), var(--accent)); transition: width .4s ease; border-radius: var(--radius-full); }
.quiz-question { font-family: var(--font-display); font-size: 1.3rem; font-weight: 700; margin-bottom: 20px; text-align: center; }
.quiz-options { display: flex; flex-direction: column; gap: 10px; }
.quiz-option {
  display: block; padding: 14px 18px; text-align: left;
  background: var(--bg); border: 2px solid var(--border);
  border-radius: var(--radius-md); cursor: pointer; font: inherit; color: var(--text);
  transition: all .2s ease;
}
.quiz-option:hover { border-color: var(--primary); background: var(--primary-pale); }
.quiz-result { text-align: center; display: none; }
.quiz-result.active { display: block; }
.quiz-meter {
  max-width: 300px; margin: 16px auto 20px; height: 14px;
  background: linear-gradient(90deg, var(--success), var(--warning), var(--danger));
  border-radius: var(--radius-full); position: relative;
}
.quiz-meter-pointer { position: absolute; top: -4px; width: 22px; height: 22px; background: #fff; border: 3px solid var(--text); border-radius: 50%; transition: left .6s ease; }

/* ============ PARA QUIEN ============ */
.para-quien { background: var(--bg-alt); }
.persona-card { text-align: center; padding: 26px; }
.persona-emoji { font-size: 2.8rem; display: block; margin-bottom: 10px; }
.persona-card h4 { color: var(--primary); }
.persona-card h4::before { content: "•"; color: var(--accent); margin-right: 6px; }
.persona-card ul { text-align: left; padding: 0 0 0 20px; margin: 10px 0 0; font-size: .9rem; color: var(--text-muted); }
.persona-card li { margin: 4px 0; }

/* ============ INGREDIENTES ============ */
.ingredientes { background: var(--bg); }
.ing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 900px) { .ing-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .ing-grid { grid-template-columns: 1fr; } }
.ing-card {
  background: var(--bg-card); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md); overflow: hidden;
  transition: transform .3s ease, box-shadow .3s ease;
}
.ing-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.ing-header { padding: 16px 20px; color: #fff; font-weight: 800; display: flex; align-items: center; gap: 10px; }
.ing-header.c-green { background: linear-gradient(135deg, #16a34a, #0f7a38); }
.ing-header.c-blue { background: linear-gradient(135deg, #2563eb, #1e40af); }
.ing-header.c-purple { background: linear-gradient(135deg, #7c3aed, #5b21b6); }
.ing-header.c-orange { background: linear-gradient(135deg, #f4a23b, #d4871f); }
.ing-header.c-teal { background: linear-gradient(135deg, #2a9d8f, #1f756a); }
.ing-header.c-rose { background: linear-gradient(135deg, #e63946, #b42430); }
.ing-conc { margin-left: auto; font-size: .85rem; background: rgba(255,255,255,.22); padding: 3px 10px; border-radius: var(--radius-full); font-weight: 700; }
.ing-body { padding: 18px 20px; font-size: .92rem; color: var(--text-muted); line-height: 1.6; }
.ing-pmid { font-size: .72rem; color: var(--text-subtle); margin-top: 10px; font-weight: 600; }

/* ============ EXPERT / DOCTOR ============ */
.doctor-section { background: var(--bg-coral-tint); }
.doctor-card {
  max-width: 860px; margin: 0 auto;
  background: var(--bg-card); border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg); padding: 32px;
  display: grid; grid-template-columns: 200px 1fr; gap: 28px; align-items: center;
}
.doctor-photo {
  width: 180px; height: 180px; border-radius: 50%;
  overflow: hidden; box-shadow: var(--shadow-md); border: 4px solid var(--primary-pale);
}
.doctor-photo img { width: 100%; height: 100%; object-fit: cover; }
.doctor-info h3 { color: var(--primary-dark); margin-bottom: 4px; }
.doctor-credentials { font-size: .85rem; color: var(--text-muted); font-weight: 600; margin-bottom: 14px; }
.doctor-quote {
  font-family: var(--font-body); font-style: normal; font-weight: 500;
  font-size: 1rem; line-height: 1.75; letter-spacing: -.005em;
  position: relative; padding-left: 22px; color: var(--text);
}
.doctor-quote::before {
  content: '"'; position: absolute; left: 0; top: -10px;
  font-family: var(--font-display); font-size: 3rem; color: var(--primary); font-style: italic; line-height: 1;
}
.doctor-badges { display: flex; gap: 12px; margin-top: 14px; flex-wrap: wrap; }
.doc-badge { display: inline-flex; align-items: center; gap: 6px; background: var(--primary-pale); color: var(--primary-dark); padding: 5px 12px; border-radius: var(--radius-full); font-size: .78rem; font-weight: 700; }
@media (max-width: 700px) {
  .doctor-card { grid-template-columns: 1fr; text-align: center; padding: 24px; }
  .doctor-photo { margin: 0 auto; width: 140px; height: 140px; }
  .doctor-quote { padding-left: 0; padding-top: 22px; }
  .doctor-quote::before { left: 50%; top: -8px; transform: translateX(-50%); }
  .doctor-badges { justify-content: center; }
}

/* ============ HOW IT WORKS TIMELINE ============ */
.how-works { background: var(--bg); }
.tl { max-width: 800px; margin: 30px auto; position: relative; padding-left: 60px; }
.tl::before { content: ""; position: absolute; left: 21px; top: 10px; bottom: 10px; width: 2px; background: linear-gradient(180deg, var(--primary), var(--accent)); }
.tl-item { position: relative; margin-bottom: 28px; }
.tl-item::before {
  content: attr(data-num); position: absolute; left: -60px; top: 0;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--primary); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-family: var(--font-display); font-size: 1.1rem;
  box-shadow: 0 0 0 4px var(--bg), 0 4px 12px rgba(var(--primary-rgb), .3);
}
.tl-time { font-size: .78rem; font-weight: 700; color: var(--accent-dark); text-transform: uppercase; letter-spacing: .05em; margin-bottom: 4px; }
.tl-item h4 { margin-bottom: 6px; }
.tl-item p { color: var(--text-muted); font-size: .95rem; margin: 0; }

/* ============ HOW TO ORDER (3 steps) — P0 mandatory ============ */
.how-to-order {
  background: linear-gradient(135deg, var(--primary-dark), var(--accent-dark));
  color: #fff; padding: 60px 0;
}
.how-to-order h2 { color: #fff; }
.how-to-order h2::after { background: #fff; }
.os-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; max-width: 1000px; margin: 0 auto; }
.os-card {
  background: rgba(255,255,255,.1); backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: var(--radius-xl); padding: 28px 22px;
  text-align: center; position: relative;
  transition: transform .3s ease;
}
.os-card:hover { transform: translateY(-4px); }
.os-num {
  position: absolute; top: -18px; right: -10px;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--cta-orange); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 900; font-size: 1.3rem; font-family: var(--font-display);
  box-shadow: 0 4px 12px rgba(0,0,0,.2);
}
.os-icon {
  width: 84px; height: 84px; margin: 0 auto 16px;
  background: rgba(255,255,255,.15); border-radius: var(--radius-lg);
  display: flex; align-items: center; justify-content: center;
}
.os-icon svg { width: 44px; height: 44px; color: #fff; }
.os-card h4 { color: #fff; font-size: 1.15rem; margin-bottom: 8px; }
.os-card p { color: rgba(255,255,255,.75); font-size: .9rem; margin: 0; }
@media (max-width: 800px) { .os-grid { grid-template-columns: 1fr; } }

/* ============ PRICE COMPARISON ============ */
.price-comparison { background: var(--bg-alt); }
.pc-table { max-width: 760px; margin: 20px auto 24px; background: var(--bg-card); border-radius: var(--radius-lg); box-shadow: var(--shadow-md); overflow: hidden; }
.pc-table table { width: 100%; border-collapse: collapse; }
.pc-table th, .pc-table td { padding: 14px 16px; text-align: left; border-bottom: 1px solid var(--border); }
.pc-table th { background: var(--bg-alt); font-size: .88rem; color: var(--text-muted); }
.pc-table td:last-child { font-weight: 700; color: var(--primary); text-align: right; }
.pc-total { background: var(--primary-pale); font-weight: 800; }
.pc-total td { color: var(--primary-dark); }
.savings-badge {
  display: inline-flex; align-items: center; gap: 14px;
  width: auto; max-width: 560px; margin: 20px auto 0;
  background: linear-gradient(135deg, var(--success), #0f7a38); color: #fff;
  padding: 14px 22px 14px 20px; border: 0; border-radius: var(--radius-full);
  font: inherit; font-weight: 700; font-size: 1.02rem; line-height: 1.25;
  box-shadow: 0 6px 20px rgba(22, 163, 74, .32), 0 2px 4px rgba(22, 163, 74, .18);
  cursor: pointer; text-decoration: none; text-align: left;
  transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}
.savings-badge:is(button) { appearance: none; }
.savings-badge-icon { font-size: 1.35rem; line-height: 1; flex-shrink: 0; }
.savings-badge-text { flex: 1; min-width: 0; }
.savings-badge-text strong { font-weight: 900; letter-spacing: -.01em; }
.savings-badge-cta {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(255,255,255,.18); color: #fff;
  padding: 8px 16px; border-radius: 999px;
  font-weight: 800; font-size: .92rem; letter-spacing: .01em;
  white-space: nowrap; flex-shrink: 0;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.3);
  transition: background .18s ease, transform .18s ease;
}
.savings-badge:hover { transform: translateY(-2px); box-shadow: 0 10px 28px rgba(22, 163, 74, .42), 0 3px 6px rgba(22, 163, 74, .22); filter: brightness(1.04); }
.savings-badge:hover .savings-badge-cta { background: rgba(255,255,255,.28); }
.savings-badge:active { transform: translateY(0); filter: brightness(.96); }
.savings-badge:focus-visible { outline: 3px solid rgba(255,255,255,.7); outline-offset: 3px; }
.price-comparison .container { text-align: center; }
@media (max-width: 520px) {
  .savings-badge { flex-direction: column; gap: 10px; padding: 14px 18px; width: 100%; max-width: 360px; text-align: center; }
  .savings-badge-text { text-align: center; }
  .savings-badge-cta { width: 100%; justify-content: center; padding: 10px 16px; }
}
html[data-theme="dark"] .savings-badge { box-shadow: 0 6px 22px rgba(22, 163, 74, .4), 0 2px 4px rgba(0,0,0,.3); }
html[data-theme="dark"] .savings-badge:focus-visible { outline-color: rgba(255,255,255,.9); }

/* ============ COMO TOMARLO ============ */
.como-tomarlo { background: var(--bg); }
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; max-width: 900px; margin: 0 auto; }
.step-card { padding: 24px; text-align: center; position: relative; }
.step-num {
  position: absolute; top: -16px; left: 50%; transform: translateX(-50%);
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--primary); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-family: var(--font-display);
}
.step-card h4 { margin-top: 22px; margin-bottom: 8px; color: var(--primary); }
.step-card p { font-size: .9rem; color: var(--text-muted); margin: 0; }
@media (max-width: 700px) { .steps-grid { grid-template-columns: 1fr; } }

/* ============ MID CTA ============ */
.mid-cta {
  padding: 54px 0;
  background: linear-gradient(135deg, var(--dark-bg), var(--dark-bg-alt)); color: #fff;
}
.mid-cta-inner { display: grid; grid-template-columns: 1fr 1.1fr; gap: 32px; align-items: center; max-width: 1000px; margin: 0 auto; }
.mid-cta-img { text-align: center; }
.mid-cta-img img { max-width: 280px; filter: drop-shadow(0 20px 40px rgba(230, 57, 70, .45)); }
.mid-cta h2 { color: #fff; text-align: left; }
.mid-cta h2::after { left: 0; transform: none; background: var(--cta-orange); }
.mid-cta .price-block { text-align: left; padding: 0; margin: 16px 0; }
.mid-cta .price-row { justify-content: flex-start; }
.mid-cta .new-price { color: #fff; }
.mid-cta .old-price { color: rgba(255,255,255,.55); }
.mid-cta .feature-list { list-style: none; padding: 0; margin: 16px 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px 16px; }
.mid-cta .feature-list li { padding-left: 24px; position: relative; font-size: .9rem; color: rgba(255,255,255,.85); }
.mid-cta .feature-list li::before { content: "✓"; position: absolute; left: 0; color: var(--cta-orange); font-weight: 800; }
@media (max-width: 800px) { .mid-cta-inner { grid-template-columns: 1fr; text-align: center; } .mid-cta-img { order: -1; } .mid-cta h2 { text-align: center; } .mid-cta h2::after { left: 50%; transform: translateX(-50%); } .mid-cta .price-block { text-align: center; } .mid-cta .price-row { justify-content: center; } .mid-cta .feature-list { grid-template-columns: 1fr; text-align: left; } }

/* ============ TESTIMONIOS ============ */
.testimonios { background: var(--bg-alt); }
.reviews-summary { display: grid; grid-template-columns: 1fr 1.5fr; gap: 30px; max-width: 900px; margin: 0 auto 30px; background: var(--bg-card); border-radius: var(--radius-lg); padding: 28px; box-shadow: var(--shadow-md); }
.rs-avg { text-align: center; }
.rs-num { font-family: var(--font-display); font-size: 3.6rem; font-weight: 800; color: var(--primary); line-height: 1; }
.rs-stars { color: var(--star-color); letter-spacing: 2px; font-size: 1.2rem; }
.rs-count { color: var(--text-muted); font-size: .88rem; margin-top: 4px; }
.rs-histo { display: flex; flex-direction: column; gap: 6px; }
.rs-bar-row { display: grid; grid-template-columns: 40px 1fr 36px; align-items: center; gap: 10px; font-size: .85rem; }
.rs-bar-track { height: 10px; background: var(--bg-alt); border-radius: var(--radius-full); overflow: hidden; }
.rs-bar-fill { height: 100%; background: linear-gradient(90deg, var(--primary), var(--accent)); border-radius: var(--radius-full); }
@media (max-width: 700px) { .reviews-summary { grid-template-columns: 1fr; } }

.testimonial-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 900px) { .testimonial-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .testimonial-grid { grid-template-columns: 1fr; } }
.t-card { background: var(--bg-card); border-radius: var(--radius-lg); padding: 22px; box-shadow: var(--shadow-md); }
.t-head { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.t-avatar { width: 44px; height: 44px; border-radius: 50%; background: linear-gradient(135deg, var(--primary), var(--accent)); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 800; }
.t-name { font-weight: 700; font-size: .95rem; }
.t-meta { font-size: .78rem; color: var(--text-muted); }
.t-stars { color: var(--star-color); font-size: .9rem; }
.t-quote { font-size: .9rem; color: var(--text-muted); line-height: 1.65; margin: 10px 0; }
.t-verified { display: inline-flex; align-items: center; gap: 4px; font-size: .72rem; color: var(--success); font-weight: 700; }
.bp-chip { display: inline-block; padding: 3px 10px; border-radius: var(--radius-full); background: var(--primary-pale); color: var(--primary-dark); font-size: .75rem; font-weight: 700; margin-right: 6px; }
.bp-chip.after { background: var(--accent-pale); color: var(--accent-dark); }

/* ============ GARANTIA ============ */
.garantia { background: var(--bg); }
.guarantee-card {
  max-width: 720px; margin: 0 auto;
  background: linear-gradient(135deg, var(--accent-pale), var(--primary-pale));
  border: 2px solid var(--accent); border-radius: var(--radius-xl);
  padding: 32px; text-align: center;
}
.guarantee-badge {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--accent); color: #fff;
  padding: 10px 20px; border-radius: var(--radius-full);
  font-weight: 800; margin-bottom: 16px;
}
.guarantee-card h3 { color: var(--accent-dark); }

/* ============ FAQ ============ */
.faq-section { background: var(--bg-alt); }
.faq-list { max-width: 780px; margin: 0 auto; }
.faq-item {
  background: var(--bg-card); border-radius: var(--radius-md);
  margin-bottom: 10px; box-shadow: var(--shadow-sm);
  overflow: hidden; border: 1px solid var(--border);
}
.faq-q {
  width: 100%; padding: 18px 22px; text-align: left;
  background: transparent; border: none; cursor: pointer;
  font: 700 1rem var(--font-body); color: var(--text);
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
}
.faq-q:hover { background: var(--bg-alt); }
.faq-q::after { content: "+"; font-size: 1.4rem; color: var(--primary); transition: transform .3s ease; line-height: 1; }
.faq-q[aria-expanded="true"]::after { transform: rotate(45deg); }
.faq-a {
  max-height: 0; overflow: hidden; transition: max-height .3s ease, padding .3s ease;
  padding: 0 22px;
}
.faq-q[aria-expanded="true"] + .faq-a { max-height: 600px; padding: 0 22px 18px; }
.faq-a p { color: var(--text-muted); font-size: .95rem; margin: 0; line-height: 1.7; }

/* ============ FINAL CTA ============ */
.final-cta {
  position: relative; overflow: hidden;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff; padding: 64px 0;
}
.final-cta::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 20% 30%, rgba(255,255,255,.1), transparent 40%), radial-gradient(circle at 80% 70%, rgba(var(--accent-rgb), .18), transparent 40%); pointer-events: none; }
.final-cta-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: center; max-width: 1000px; margin: 0 auto; }
.final-cta h2 { color: #fff; text-align: left; }
.final-cta h2::after { left: 0; transform: none; background: #fff; }
.final-cta p { color: rgba(255,255,255,.88); }
.final-form {
  background: #fff; border-radius: var(--radius-xl); padding: 28px;
  box-shadow: var(--shadow-xl); color: var(--text);
}
.final-form .price-block { padding: 0 0 18px; border-bottom: 1px solid var(--border); margin-bottom: 18px; }
.field-group { position: relative; margin-bottom: 12px; }
.field-group label { display: block; font-size: .82rem; font-weight: 600; color: var(--text-muted); margin-bottom: 4px; }
.field-group input { width: 100%; padding: 12px 14px; font: inherit; border: 2px solid var(--border); border-radius: var(--radius-md); background: var(--bg); color: var(--text); transition: border-color .2s ease; }
.field-group input:focus { border-color: var(--primary); outline: none; }
.field-group input.invalid { border-color: var(--danger); }
.field-error { color: var(--danger); font-size: .78rem; margin-top: 4px; display: none; }
.field-group input.invalid + .field-error { display: block; }
.form-submit { width: 100%; padding: 16px; font-size: 1.05rem; }
.form-checklist { list-style: none; padding: 0; margin: 14px 0 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px 16px; font-size: .88rem; font-weight: 600; color: #fff; }
.form-checklist li { padding-left: 24px; position: relative; text-shadow: 0 1px 2px rgba(0,0,0,.15); }
.form-checklist li::before { content: "✓"; position: absolute; left: 0; color: #fff; background: rgba(255,255,255,.22); width: 18px; height: 18px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: .78rem; font-weight: 800; top: 1px; }
@media (max-width: 800px) { .final-cta-inner { grid-template-columns: 1fr; } .final-cta h2, .final-cta h2::after { text-align: center; left: 50%; transform: translateX(-50%); } }

/* ============ FARMACIAS SECTION ============ */
.farmacias-section { background: var(--bg); }
.pharm-group { margin-bottom: 32px; }
.pharm-group-label { font-size: .82rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; color: var(--text-muted); text-align: center; margin-bottom: 14px; }
.pharm-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
@media (max-width: 900px) { .pharm-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 600px) { .pharm-grid { grid-template-columns: repeat(2, 1fr); } }
.pharm-card {
  padding: 18px; text-align: center;
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-md); transition: all .2s ease; text-decoration: none; color: var(--text);
  display: flex; flex-direction: column; align-items: center; gap: 6px;
}
.pharm-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); color: var(--primary); }
.pharm-name { font-weight: 700; font-size: .92rem; }
.pharm-badge { font-size: .7rem; padding: 2px 8px; border-radius: var(--radius-full); background: var(--bg-alt); color: var(--danger); font-weight: 700; }

/* ============ FOOTER ============ */
.footer { background: var(--dark-bg); color: #cbd5e1; padding: 48px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 32px; margin-bottom: 32px; }
.footer h5 { color: #fff; font-family: var(--font-body); font-size: .92rem; font-weight: 800; margin-bottom: 14px; text-transform: uppercase; letter-spacing: .06em; }
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer li { margin-bottom: 8px; font-size: .88rem; }
.footer a { color: #cbd5e1; }
.footer a:hover { color: #fff; }
.footer-brand { display: flex; align-items: center; gap: 10px; color: #fff; font-family: var(--font-display); font-weight: 800; font-size: 1.2rem; margin-bottom: 14px; }
.footer-seo { color: #94a3b8; font-size: .82rem; line-height: 1.7; margin-bottom: 14px; }
.footer-mini { font-size: .68rem; color: rgba(255,255,255,.35); }
.footer-bottom { padding-top: 20px; border-top: 1px solid #1e293b; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: .78rem; color: #64748b; }
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 500px) { .footer-grid { grid-template-columns: 1fr; } }

/* ============ MODAL ============ */
.modal-overlay {
  position: fixed; inset: 0; z-index: var(--z-modal);
  background: rgba(15, 23, 42, .75); backdrop-filter: blur(4px);
  display: flex; align-items: center; justify-content: center; padding: 20px;
  visibility: hidden; opacity: 0; transition: opacity .25s ease, visibility .25s;
}
.modal-overlay.active { visibility: visible; opacity: 1; }
.modal {
  background: var(--bg-card); border-radius: var(--radius-xl);
  max-width: 460px; width: 100%; max-height: 92vh; overflow-y: auto;
  box-shadow: var(--shadow-xl); position: relative;
}
.modal-close { position: absolute; top: 12px; right: 12px; width: 40px; height: 40px; background: var(--bg-alt); border: none; border-radius: 50%; cursor: pointer; font-size: 1.4rem; z-index: 2; }
.md-topbar { background: linear-gradient(90deg, var(--primary), var(--accent)); color: #fff; padding: 14px 20px; border-radius: var(--radius-xl) var(--radius-xl) 0 0; font-weight: 700; font-size: .92rem; display: flex; align-items: center; gap: 8px; }
.md-body { padding: 22px; }
.md-product-img { max-width: 140px; margin: 0 auto 12px; display: block; }
.md-title { text-align: center; font-size: 1.15rem; font-weight: 800; margin-bottom: 6px; }
.md-submit { width: 100%; margin-top: 10px; padding: 14px; font-size: 1rem; }

/* ============ STICKY V2 (mobile) ============ */
.sticky-v2 {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: var(--z-sticky);
  background: linear-gradient(135deg, var(--dark-bg), var(--dark-bg-alt));
  color: #fff; padding: 10px 14px; display: none;
  padding-bottom: max(10px, env(safe-area-inset-bottom));
  border-radius: 16px 16px 0 0; box-shadow: 0 -8px 24px rgba(0,0,0,.18);
}
.sticky-v2-inner { display: grid; grid-template-columns: 50px 1fr auto; gap: 10px; align-items: center; }
.sticky-v2-thumb { width: 50px; height: 50px; object-fit: contain; background: #fff; border-radius: 10px; padding: 4px; }
.sticky-v2-info { overflow: hidden; }
.sticky-v2-name { font-size: .82rem; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sticky-v2-price { display: flex; align-items: center; gap: 6px; font-size: .85rem; }
.sticky-v2-price .old-price { color: rgba(255,255,255,.5); font-size: .75rem; }
.sticky-v2-price .new-price { color: #fff; font-size: 1rem; font-family: var(--font-body); }
.sticky-v2-cta { padding: 10px 16px; font-size: .85rem; }
@media (max-width: 768px) { .sticky-v2 { display: block; } }
@media (min-width: 769px) { .sticky-v2 { display: none !important; } }

/* ============ URGENCY BAR ============ */
.urgency-bar {
  background: linear-gradient(90deg, #dc2626, #f59e0b);
  color: #fff; text-align: center; padding: 10px 16px;
  font-size: .88rem; font-weight: 700;
  animation: urgPulse 3.5s ease-in-out infinite;
}
@keyframes urgPulse { 0%, 100% { opacity: 1; } 50% { opacity: .88; } }

/* ============ POPUP (auto) ============ */
.popup-overlay { position: fixed; inset: 0; z-index: var(--z-popup); background: rgba(15, 23, 42, .72); display: flex; align-items: center; justify-content: center; padding: 16px; visibility: hidden; opacity: 0; transition: opacity .25s ease, visibility .25s; }
.popup-overlay.active { visibility: visible; opacity: 1; }
.popup-v2 { background: var(--bg-card); border-radius: var(--radius-xl); max-width: 440px; width: 100%; max-height: 90vh; overflow-y: auto; box-shadow: var(--shadow-xl); position: relative; }
.popup-urgency { background: linear-gradient(90deg, #dc2626, #f59e0b); color: #fff; padding: 10px 16px; text-align: center; font-weight: 700; font-size: .88rem; border-radius: var(--radius-xl) var(--radius-xl) 0 0; }
.popup-body { padding: 22px; }
.popup-close { position: absolute; top: 12px; right: 12px; width: 36px; height: 36px; background: rgba(255,255,255,.9); border: none; border-radius: 50%; cursor: pointer; font-size: 1.2rem; z-index: 3; }

/* ---------- Subpage additions — breadcrumbs, lead, contact form, field-error, form-status ---------- */
.breadcrumbs { font-size: .85rem; color: var(--text-muted); margin-bottom: 18px; }
.breadcrumbs a { color: var(--text-muted); }
.breadcrumbs a:hover { color: var(--primary); }
.breadcrumbs span { color: var(--text); font-weight: 600; }

.lead { font-size: 1.1rem; color: var(--text-muted); line-height: 1.6; margin-bottom: 24px; }

.field-group { margin-bottom: 14px; position: relative; }
.field-group label { display: block; font-size: .85rem; font-weight: 600; margin-bottom: 6px; color: var(--text); }
.field-group input[type="text"], .field-group input[type="tel"], .field-group input[type="email"], .field-group textarea {
  width: 100%; padding: 12px 14px; border: 1.5px solid var(--border-strong);
  border-radius: var(--radius-md); font: inherit; background: var(--bg);
  color: var(--text); transition: border-color .15s ease;
}
.field-group input:focus, .field-group textarea:focus { outline: none; border-color: var(--primary); }
.field-group input.invalid { border-color: var(--danger); }
.field-error { display: none; color: var(--danger); font-size: .8rem; margin-top: 5px; }
.form-status { margin-top: 10px; padding: 10px 12px; border-radius: 8px; font-size: .85rem; text-align: center; }
.form-status.err { background: rgba(220,38,38,.08); color: var(--danger); }
.form-status.ok { background: rgba(22,163,74,.08); color: var(--success); }

.contact-form textarea { min-height: 110px; resize: vertical; }

/* FAQ accordion animation smoothing */
.faq-a { overflow: hidden; max-height: 0; transition: max-height .35s ease; }
.faq-item.open .faq-a { /* JS sets inline max-height */ }

/* Article styling for blog pages */
article h2 { text-align: left !important; margin-top: 28px; padding-bottom: 8px; }
article h2::after { left: 0 !important; transform: none !important; }
article h3 { text-align: left; margin-top: 20px; }
article ul, article ol { line-height: 1.75; }
article table { width: 100%; border-collapse: collapse; margin: 18px 0; background: var(--bg-card); }
article table th, article table td { padding: 10px 14px; border: 1px solid var(--border); text-align: left; }
article table th { background: var(--bg-alt); font-weight: 700; }

/* Reveal animations */
[data-reveal] { opacity: 0; transform: translateY(16px); transition: opacity .5s ease, transform .5s ease; }
[data-reveal].is-visible { opacity: 1; transform: translateY(0); }

/* ===== VISUAL FIX PASS 2026-04-24 ===================================== */

/* Green-on-green contrast fix: switch .hl-accent to coral inside mint-tinted wrappers */
.snippet .hl-accent,
.pqs-section .hl-accent,
.pqs-section .snippet .hl-accent,
[data-mint] .hl-accent {
  background: linear-gradient(
    180deg,
    transparent 0,
    transparent 60%,
    rgba(var(--primary-rgb), .42) 60%,
    rgba(var(--primary-rgb), .42) 100%
  ) !important;
  color: var(--text) !important;
}

/* Stronger default underline for teal .hl-accent on plain bg (AA) */
.hl-accent {
  background: linear-gradient(
    180deg,
    transparent 0,
    transparent 60%,
    rgba(var(--accent-rgb), .55) 60%,
    rgba(var(--accent-rgb), .55) 100%
  );
}

/* Dark-mode parity */
html[data-theme="dark"] .snippet .hl-accent,
html[data-theme="dark"] .pqs-section .hl-accent {
  background: linear-gradient(
    180deg,
    transparent 0,
    transparent 60%,
    rgba(var(--primary-rgb), .55) 60%,
    rgba(var(--primary-rgb), .55) 100%
  ) !important;
}

/* Delivery-restrictions callout (politica-entrega + homepage FAQ) */
.delivery-restrict {
  background: rgba(220, 38, 38, .06);
  border-left: 3px solid var(--danger);
  padding: 14px 16px;
  border-radius: 6px;
  margin: 14px 0;
  font-size: .95rem;
}
.delivery-restrict strong { color: var(--danger); }
.delivery-restrict ul { margin: 8px 0 0 18px; padding: 0; }
.delivery-restrict ul li { margin: 2px 0; }

/* ===== POPUP SIZE FIX 2026-04-24 ====================================== */
/* Make auto-popup compact so it fits comfortably on mobile (375-414) */
.popup-v2 {
  max-width: 360px;
  max-height: 88vh;
}
.popup-v2 .popup-body {
  padding: 16px 18px 18px;
}
.popup-v2 .popup-urgency {
  padding: 8px 14px;
  font-size: .8rem;
}
.popup-v2 .md-product-img {
  max-width: 90px;
  width: 90px;
  height: auto;
  margin: 4px auto 8px;
}
.popup-v2 .md-title {
  font-size: 1.02rem;
  margin-bottom: 4px;
  line-height: 1.25;
}
.popup-v2 .popup-body > p {
  font-size: .82rem !important;
  margin-bottom: 10px !important;
  line-height: 1.35;
}
.popup-v2 .price-block {
  padding: 8px 0 12px;
}
.popup-v2 .price-row { gap: 8px; }
.popup-v2 .old-price { font-size: .95rem; }
.popup-v2 .new-price { font-size: 1.55rem; }
.popup-v2 .price-badge { font-size: .7rem; padding: 3px 8px; }
.popup-v2 .field-group { margin-bottom: 8px; }
.popup-v2 .field-group input {
  padding: 10px 12px;
  font-size: .92rem;
}
.popup-v2 .popup-cta {
  padding: 12px !important;
  font-size: .95rem !important;
}
.popup-v2 .popup-close {
  width: 30px; height: 30px;
  top: 8px; right: 8px;
  font-size: 1.05rem;
}

/* Narrow phones: tighten further */
@media (max-width: 380px) {
  .popup-overlay { padding: 10px; }
  .popup-v2 { max-width: 100%; }
  .popup-v2 .popup-body { padding: 14px 14px 16px; }
  .popup-v2 .md-product-img { max-width: 72px; width: 72px; margin: 2px auto 6px; }
  .popup-v2 .md-title { font-size: .95rem; }
  .popup-v2 .new-price { font-size: 1.4rem; }
}

/* ============================================================
   OFFER HERO + FORM BODY (modal + popup v3 layout) 2026-04-24
   ============================================================ */
.modal, .popup-v2 { overflow: hidden; padding: 0; }
.modal { max-width: min(400px, calc(100vw - 24px)) !important; width: 100% !important; }
.popup-v2 { max-width: min(380px, calc(100vw - 20px)) !important; width: 100% !important; max-height: 94vh !important; overflow-y: auto; }
.popup-overlay, .modal-overlay { padding: 10px; }

.offer-hero {
  background: linear-gradient(135deg, #1f8f7f 0%, #2fb8a3 55%, #68d2b8 100%);
  padding: 36px 18px 22px;
  color: #fff;
  position: relative;
  text-align: center;
  border-radius: 14px 14px 0 0;
}
.offer-hero-chips {
  display: flex;
  justify-content: center;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}
.offer-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(255,255,255,.94);
  color: #1f8f7f;
  font-size: .68rem;
  font-weight: 700;
  padding: 5px 10px;
  border-radius: 999px;
  line-height: 1;
  white-space: nowrap;
}
.offer-chip svg { color: #1f8f7f; flex-shrink: 0; }

.offer-hero-inner {
  display: grid;
  grid-template-columns: minmax(90px, 110px) 1fr;
  gap: 10px;
  align-items: center;
  text-align: center;
}
.offer-hero-img-wrap { position: relative; display: flex; align-items: center; justify-content: center; }
.offer-hero-img {
  width: 100%;
  max-width: 110px;
  height: auto;
  display: block;
  filter: drop-shadow(0 8px 16px rgba(0,0,0,.18));
}
.offer-discount-badge {
  position: absolute;
  top: -4px;
  right: -2px;
  width: 54px;
  height: 54px;
  background: radial-gradient(circle at 30% 30%, #ffd54a 0%, #f4a23b 70%, #d9861c 100%);
  color: #5a3a00;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  box-shadow: 0 4px 12px rgba(0,0,0,.25);
  border: 2px solid #fff3b0;
  transform: rotate(-8deg);
  animation: offerBadgeBounce 2.8s ease-in-out infinite;
}
.offer-discount-badge span { font-size: 1.05rem; line-height: 1; letter-spacing: -.02em; }
.offer-discount-badge small { font-size: .48rem; font-weight: 800; letter-spacing: .08em; margin-top: 1px; }
@keyframes offerBadgeBounce {
  0%, 100% { transform: rotate(-8deg) scale(1); }
  50%      { transform: rotate(-8deg) scale(1.07); }
}

.offer-hero-text { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.offer-hero-title {
  font-family: var(--font-display, 'Playfair Display', Georgia, serif);
  font-style: italic;
  font-size: 1.75rem;
  font-weight: 800;
  line-height: 1.05;
  margin: 0;
  color: #fff;
  letter-spacing: -.01em;
  text-shadow: 0 1px 2px rgba(0,0,0,.12);
}
.offer-hero-divider { color: rgba(255,255,255,.7); font-size: .7rem; margin: 2px 0; }
.offer-hero-prices { display: flex; flex-direction: column; align-items: center; gap: 2px; }
.offer-old-label { font-size: .62rem; font-weight: 700; color: rgba(255,255,255,.78); letter-spacing: .06em; display: flex; align-items: center; gap: 6px; }
.offer-old-strike { text-decoration: line-through; text-decoration-color: #ff6b6b; text-decoration-thickness: 2px; color: rgba(255,255,255,.85); font-size: .82rem; }
.offer-new-price {
  font-family: var(--font-display, 'Playfair Display', Georgia, serif);
  font-size: 2.4rem;
  font-weight: 900;
  color: #ffd54a;
  line-height: 1;
  letter-spacing: -.02em;
  text-shadow: 0 2px 4px rgba(0,0,0,.18);
  margin: 2px 0;
}
.offer-new-small { font-size: 1.3rem; vertical-align: baseline; margin-left: 1px; }
.offer-cur { font-size: .9rem; font-weight: 700; margin-left: 6px; opacity: .85; letter-spacing: .04em; }
.offer-price-chip { font-size: .62rem; font-weight: 700; color: #fff; opacity: .82; letter-spacing: .08em; margin-top: 3px; }
.offer-save {
  font-family: var(--font-display, 'Playfair Display', Georgia, serif);
  font-style: italic;
  font-size: .78rem;
  color: #fff;
  opacity: .92;
  margin-top: 4px;
}

/* ===== FORM BODY (white half) ===== */
.offer-form-body {
  background: #fff;
  padding: 18px 20px 16px;
  border-radius: 0 0 14px 14px;
}
html[data-theme="dark"] .offer-form-body { background: #1a1f2e; color: #e5e7eb; }
html[data-theme="dark"] .offer-form-body .input-icon-wrap,
html[data-theme="dark"] .offer-form-body .phone-input-wrap { background: #252b3d; border-color: #3a4258; }
html[data-theme="dark"] .offer-form-body .phone-prefix { color: #f4f6fb; border-right-color: #3a4258; }

.offer-form-title {
  text-align: center;
  font-size: 1.05rem;
  font-weight: 800;
  margin: 0 0 14px;
  color: var(--text, #0f172a);
}
html[data-theme="dark"] .offer-form-title { color: #f4f6fb; }

.input-icon-wrap, .phone-input-wrap {
  display: flex;
  align-items: center;
  background: #f3f5f8;
  border: 1.5px solid #e5e9ef;
  border-radius: 10px;
  overflow: hidden;
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}
.input-icon-wrap:focus-within, .phone-input-wrap:focus-within {
  border-color: #2fb8a3;
  box-shadow: 0 0 0 3px rgba(47, 184, 163, .18);
  background: #fff;
}
html[data-theme="dark"] .input-icon-wrap:focus-within,
html[data-theme="dark"] .phone-input-wrap:focus-within { background: #1f2638; }

.input-icon, .phone-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 8px 0 12px;
  color: #6b7280;
  flex-shrink: 0;
}
.phone-prefix {
  font-weight: 700;
  font-size: .95rem;
  color: #111827;
  padding: 0 10px 0 2px;
  border-right: 1px solid #e5e9ef;
  margin-right: 10px;
  flex-shrink: 0;
}

.input-icon-wrap input,
.phone-input-wrap input {
  flex: 1;
  border: none !important;
  background: transparent !important;
  padding: 12px 12px 12px 0 !important;
  font-size: .95rem !important;
  outline: none !important;
  color: inherit;
  min-width: 0;
}
.input-icon-wrap input::placeholder,
.phone-input-wrap input::placeholder { color: #9aa1ac; }
html[data-theme="dark"] .input-icon-wrap input,
html[data-theme="dark"] .phone-input-wrap input { color: #f4f6fb; }

.offer-submit {
  width: 100%;
  padding: 14px !important;
  font-size: 1rem !important;
  font-weight: 800;
  background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%) !important;
  color: #fff !important;
  border: none;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 6px 16px rgba(22, 163, 74, .28);
  margin-top: 6px;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease;
}
.offer-submit:hover { transform: translateY(-1px); box-shadow: 0 8px 22px rgba(22, 163, 74, .4); }
.offer-submit:disabled { opacity: .6; cursor: not-allowed; transform: none; }

.offer-pay-note {
  text-align: center;
  font-size: .75rem;
  color: #6b7280;
  margin-top: 10px;
}
.offer-trust-row {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-top: 10px;
  flex-wrap: wrap;
}
.offer-trust {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: .72rem;
  font-weight: 600;
  color: #4b5563;
}
.offer-trust svg { color: #2fb8a3; flex-shrink: 0; }
html[data-theme="dark"] .offer-pay-note,
html[data-theme="dark"] .offer-trust { color: #b4b9c7; }

/* Close button for new layout */
.popup-close, .modal-close {
  position: absolute;
  top: 10px; right: 10px;
  width: 30px; height: 30px;
  background: rgba(255,255,255,.94);
  color: #1f8f7f;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.15rem;
  line-height: 1;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(0,0,0,.18);
  padding: 0;
}
.popup-close:hover, .modal-close:hover { transform: scale(1.05); }

/* Narrow phones — tighten offer hero + form */
@media (max-width: 400px) {
  .offer-hero { padding: 30px 14px 18px; }
  .offer-hero-chips { gap: 4px; margin-bottom: 12px; }
  .offer-chip { font-size: .62rem; padding: 4px 8px; }
  .offer-hero-inner { grid-template-columns: 90px 1fr; gap: 6px; }
  .offer-hero-img { max-width: 90px; }
  .offer-discount-badge { width: 46px; height: 46px; top: -4px; right: -4px; }
  .offer-discount-badge span { font-size: .9rem; }
  .offer-hero-title { font-size: 1.45rem; }
  .offer-new-price { font-size: 2rem; }
  .offer-new-small { font-size: 1.1rem; }
  .offer-form-body { padding: 14px 14px 14px; }
}
@media (max-width: 340px) {
  .offer-hero-inner { grid-template-columns: 1fr; }
  .offer-hero-img-wrap { margin: 0 auto; }
}

/* Make the old .popup-v2 override (from earlier patch) not conflict with new layout */
.popup-v2 .popup-body { padding: 0 !important; }

/* ===== FINAL FORM product header ===== */
.final-form-product {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}
.final-form-img {
  width: 70px;
  height: 70px;
  object-fit: contain;
  background: linear-gradient(135deg, rgba(47,184,163,.08), rgba(47,184,163,.02));
  border-radius: 10px;
  padding: 6px;
  flex-shrink: 0;
}
.final-form-product-info { flex: 1; min-width: 0; }
.final-form-product-name { font-weight: 800; font-size: 1rem; color: var(--text); }
.final-form-product-sub { font-size: .78rem; color: var(--text-muted); margin-top: 2px; }

.form-trust-row {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-top: 12px;
  flex-wrap: wrap;
}
.form-trust {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: .75rem;
  font-weight: 600;
  color: var(--text-muted);
}
.form-trust svg { color: var(--accent); flex-shrink: 0; }

/* Final-form reuses phone-input-wrap — adapt to themed backgrounds */
.final-form .input-icon-wrap,
.final-form .phone-input-wrap {
  background: var(--bg);
  border-color: var(--border);
}
html[data-theme="dark"] .final-form .input-icon-wrap,
html[data-theme="dark"] .final-form .phone-input-wrap { background: var(--bg-alt); border-color: var(--border); }

/* Typewriter placeholder */
.tw-active::placeholder { transition: none; }

/* ============================================================================
   ORDER-CAPTURE UI — Three canonical patterns (A / B / C) · 2026-04-24
   Pattern A = inline form (Prostamen-style)
   Pattern B = dark popup/modal (AudioVerde-style)
   Pattern C = mini card no-form, click opens Pattern B
   ============================================================================ */

/* ============ Pattern A — Inline "Bestseller" offer box WITH form ============ */
.obA-frame {
  padding: 2px;
  background: linear-gradient(135deg, var(--accent, #2a9d8f), #1f7168);
  border-radius: 22px;
  max-width: 520px;
  margin: 0 auto;
  box-shadow: 0 10px 30px rgba(42, 157, 143, .18);
}
.obA-card {
  background: #fff;
  border-radius: 20px;
  padding: 24px 22px 20px;
  position: relative;
}
html[data-theme="dark"] .obA-card { background: #1a1f2e; color: #e8eef7; }

.obA-bestseller {
  position: absolute; top: 14px; left: 14px;
  background: linear-gradient(135deg, var(--accent, #2a9d8f), #1f7168);
  color: #fff; font-size: .6rem; font-weight: 800;
  padding: 5px 12px; border-radius: 99px; letter-spacing: 1.2px;
  text-transform: uppercase;
  box-shadow: 0 3px 10px rgba(42, 157, 143, .3);
}
.obA-img-wrap { text-align: center; margin: 14px 0 8px; }
.obA-img {
  width: 100%; max-width: 200px;
  margin: 0 auto; display: block;
  filter: drop-shadow(0 8px 20px rgba(0,0,0,.1));
}
.obA-brand {
  text-align: center; font-size: .66rem; font-weight: 700;
  letter-spacing: 2px; text-transform: uppercase;
  color: var(--accent, #2a9d8f); margin-bottom: 2px;
}
.obA-title {
  text-align: center; font-family: var(--font-display);
  font-size: 1.8rem; font-weight: 800;
  color: var(--text, #111); margin: 0 0 10px;
  letter-spacing: -.015em; line-height: 1.1;
}
.obA-title-accent { color: var(--accent, #2a9d8f); font-style: italic; font-weight: 900; }

.obA-rating {
  display: flex; justify-content: center; align-items: center; gap: 8px;
  font-size: .84rem; color: var(--text-muted, #6b7280); margin-bottom: 18px;
}
.obA-stars { color: #f59e0b; letter-spacing: 1px; }

.obA-field, .obA-phone-field {
  display: flex; align-items: center;
  background: #f5faf9;
  border: 1.5px solid #d9ebe7;
  border-radius: 99px;
  padding: 0 6px 0 16px;
  margin-bottom: 10px;
  transition: border-color .2s ease, box-shadow .2s ease;
}
html[data-theme="dark"] .obA-field,
html[data-theme="dark"] .obA-phone-field { background: #252b3d; border-color: #3a4258; }
.obA-field:focus-within,
.obA-phone-field:focus-within {
  border-color: var(--accent, #2a9d8f);
  box-shadow: 0 0 0 3px rgba(42, 157, 143, .15);
}
.obA-icon { display: inline-flex; color: #6b7280; margin-right: 10px; flex-shrink: 0; }
.obA-phone-prefix {
  font-weight: 800; font-size: .95rem;
  color: var(--text, #111);
  padding: 12px 14px; margin: 0 10px 0 -10px;
  background: #e9f3f1;
  border-radius: 99px 0 0 99px;
  flex-shrink: 0;
}
html[data-theme="dark"] .obA-phone-prefix { background: #1f2638; color: #e8eef7; }
.obA-phone-field { padding-left: 0; }
.obA-field input, .obA-phone-field input {
  flex: 1; padding: 13px 10px 13px 0;
  border: none !important; background: transparent !important;
  outline: none !important; font-size: .95rem !important; color: inherit;
  min-width: 0;
}
.obA-field input::placeholder, .obA-phone-field input::placeholder { color: #9ca3af; }

/* THE SPLIT-BUTTON — left=price, right=CTA green */
.obA-split-btn {
  display: grid; grid-template-columns: auto 1fr;
  width: 100%; border: none; padding: 0; overflow: hidden;
  border-radius: 14px;
  box-shadow: 0 6px 20px rgba(22, 163, 74, .28);
  cursor: pointer;
  font: inherit;
  background: none;
  margin-top: 6px;
}
.obA-split-price {
  background: #fff;
  border: 2px solid var(--accent, #2a9d8f);
  border-right: none;
  border-radius: 14px 0 0 14px;
  padding: 12px 18px;
  display: flex; flex-direction: column; align-items: flex-start; justify-content: center;
  line-height: 1.05;
  min-width: 100px;
}
html[data-theme="dark"] .obA-split-price { background: #1a1f2e; }
.obA-old-price { font-size: .78rem; color: #9ca3af; text-decoration: line-through; text-decoration-color: #e63946; text-decoration-thickness: 1.5px; }
.obA-new-price {
  font-size: 1.45rem; font-weight: 900;
  color: var(--accent, #2a9d8f);
  font-family: var(--font-display);
  letter-spacing: -.01em;
}
.obA-split-cta {
  background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
  color: #fff; padding: 15px 16px;
  font-weight: 800; font-size: .95rem;
  letter-spacing: 1px; text-transform: uppercase;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  border-radius: 0 14px 14px 0;
  position: relative; overflow: hidden;
}
.obA-split-btn:hover .obA-split-cta { background: linear-gradient(135deg, #16a34a 0%, #15803d 100%); }

.obA-savings-line {
  text-align: center; font-size: .8rem;
  color: var(--text-muted, #6b7280);
  margin-top: 12px;
}
.obA-savings-line strong { color: var(--accent, #2a9d8f); }
.obA-trust-row {
  display: flex; justify-content: space-between; gap: 10px;
  margin-top: 14px; padding-top: 12px;
  border-top: 1px solid #eef5f3;
  font-size: .75rem; color: #4b5563;
  flex-wrap: wrap;
}
html[data-theme="dark"] .obA-trust-row { border-top-color: #2d3449; color: #b4b9c7; }
.obA-trust-item { display: inline-flex; align-items: center; gap: 4px; }
.obA-trust-item svg { color: var(--accent, #2a9d8f); flex-shrink: 0; }

@media (max-width: 480px) {
  .obA-card { padding: 20px 16px 16px; }
  .obA-title { font-size: 1.45rem; }
  .obA-img { max-width: 170px; }
  .obA-split-price { padding: 10px 14px; min-width: 88px; }
  .obA-new-price { font-size: 1.25rem; }
  .obA-split-cta { padding: 13px 10px; font-size: .85rem; letter-spacing: .5px; }
  .obA-trust-row { font-size: .7rem; gap: 6px; }
}

/* ============ Pattern B — Dark popup/modal ============ */
/* Target both the modal (#orderModal) and popup (#autoPopup) via a shared class added to inner wrapper */
.popupB {
  background: #111;
  color: #e8f4ff;
  border-radius: 22px !important;
  max-width: min(440px, calc(100vw - 20px)) !important;
  width: 100% !important;
  max-height: 94vh !important;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 0 !important;
  position: relative;
  box-shadow: 0 24px 60px rgba(0,0,0,.5);
}
.popupB-flash {
  background: linear-gradient(90deg,#7c5c00,#d4a017,#fff3a0,#d4a017,#7c5c00);
  background-size: 200% 100%;
  animation: goldShimmer 2.4s linear infinite;
  color: #111; font-weight: 900; text-align: center;
  padding: 11px 16px; font-size: .82rem; letter-spacing: 1.5px;
  text-transform: uppercase;
  border-radius: 22px 22px 0 0;
}
@keyframes goldShimmer { 0%{background-position:200% 0} 100%{background-position:0 0} }

.popupB-close {
  position: absolute; top: 12px; right: 12px;
  width: 30px; height: 30px;
  background: rgba(255,255,255,.08);
  color: #e8f4ff;
  border: none; border-radius: 50%;
  cursor: pointer; font-size: 1.15rem; line-height: 1;
  z-index: 5;
  display: flex; align-items: center; justify-content: center;
  transition: background .15s ease;
  padding: 0;
}
.popupB-close:hover { background: rgba(255,255,255,.18); }

.popupB-brand {
  text-align: center; padding: 20px 16px 6px;
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 500; letter-spacing: 5px; font-size: 1.1rem;
  color: #e8f4ff; text-transform: uppercase;
}
.popupB-img-wrap { text-align: center; padding: 0 16px; }
.popupB-img {
  width: 100%; max-width: 140px;
  margin: 0 auto; display: block;
  filter: drop-shadow(0 10px 24px rgba(0,0,0,.5));
}
.popupB-rating-pill {
  display: inline-flex; gap: 8px; margin: 12px auto 2px; align-items: center;
  background: rgba(255,255,255,.08);
  color: #e8f4ff;
  padding: 6px 14px; border-radius: 999px; font-size: .8rem;
}
.popupB-rating-stars { color: #fbbf24; letter-spacing: 1px; }
.popupB-rating-center { text-align: center; }

.popupB-price-card {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 16px;
  margin: 18px; padding: 22px 16px 14px;
  position: relative;
}
.popupB-price-badge {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: linear-gradient(135deg, #ec4899 0%, #db2777 100%);
  color: #fff; font-weight: 800; font-size: .72rem;
  padding: 6px 14px; border-radius: 999px;
  letter-spacing: 1.5px; text-transform: uppercase;
  white-space: nowrap;
  box-shadow: 0 6px 18px rgba(236,72,153,.35);
}
.popupB-price-row {
  display: grid; grid-template-columns: 1fr auto 1.3fr;
  align-items: center; gap: 8px; margin-top: 2px;
}
.popupB-was {
  background: rgba(239,68,68,.1);
  border: 1px solid rgba(239,68,68,.22);
  border-radius: 10px; padding: 8px 6px;
  text-align: center;
}
.popupB-was-label { display: block; color: #f87171; font-size: .62rem; font-weight: 700; letter-spacing: .5px; margin-bottom: 2px; }
.popupB-was-val { display: block; color: #f87171; font-weight: 700; text-decoration: line-through; font-size: .95rem; }
.popupB-arrow { font-size: 1.6rem; color: rgba(255,255,255,.35); font-weight: 200; text-align: center; }
.popupB-new {
  background: rgba(74,222,128,.08);
  border: 1px solid rgba(74,222,128,.3);
  border-radius: 10px; padding: 8px 6px;
  text-align: center;
}
.popupB-new-label { display: block; color: #4ade80; font-size: .62rem; font-weight: 700; letter-spacing: .5px; margin-bottom: 2px; }
.popupB-new-val {
  display: block; color: #e8f4ff; font-weight: 900;
  font-size: 1.85rem; line-height: 1;
  font-family: var(--font-display);
  animation: priceGlow 2.5s ease-in-out infinite;
}
@keyframes priceGlow {
  0%,100% { text-shadow: 0 0 14px rgba(147,197,253,.3); }
  50%     { text-shadow: 0 0 30px rgba(147,197,253,.7); }
}
.popupB-savings {
  text-align: center; margin-top: 14px;
  font-size: .82rem; color: rgba(255,255,255,.82);
}
.popupB-savings strong { color: #ffd54a; }

.popupB-form { padding: 0 18px 14px; }
.popupB-field, .popupB-phone {
  display: flex; align-items: center;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 99px;
  padding: 0 14px;
  margin-bottom: 10px;
  transition: border-color .2s ease, background .2s ease;
}
.popupB-field:focus-within, .popupB-phone:focus-within {
  border-color: #ec4899;
  background: rgba(236,72,153,.06);
}
.popupB-field-icon { display: inline-flex; color: rgba(232,244,255,.55); margin-right: 10px; flex-shrink: 0; }
.popupB-phone { padding-left: 0; }
.popupB-phone-prefix {
  font-weight: 800; color: #e8f4ff; font-size: .95rem;
  padding: 12px 14px;
  background: rgba(255,255,255,.05);
  border-radius: 99px 0 0 99px;
  margin-right: 10px;
  flex-shrink: 0;
}
.popupB-field input, .popupB-phone input {
  flex: 1; background: transparent !important; border: none !important; outline: none !important;
  color: #e8f4ff !important; font-size: .95rem !important;
  padding: 12px 0 !important;
  min-width: 0;
}
.popupB-field input::placeholder, .popupB-phone input::placeholder { color: rgba(232,244,255,.5); }

.popupB-cta {
  width: 100%; padding: 15px !important;
  background: linear-gradient(135deg, #ec4899 0%, #db2777 60%, #be185d 100%) !important;
  color: #fff !important; font-weight: 800 !important; font-size: 1rem !important;
  border: none !important; border-radius: 12px !important;
  display: inline-flex !important; align-items: center; justify-content: center; gap: 8px;
  cursor: pointer;
  box-shadow: 0 10px 28px rgba(236, 72, 153, .4);
  transition: transform .15s ease, box-shadow .15s ease;
  text-transform: none !important;
  letter-spacing: .01em !important;
  margin-top: 4px;
}
.popupB-cta:hover { transform: translateY(-1px); box-shadow: 0 12px 34px rgba(236, 72, 153, .5); }

.popupB-trust-row {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 14px;
  padding: 10px 18px 20px;
  font-size: .72rem; color: rgba(255,255,255,.6);
}
.popupB-trust-row span { display: inline-flex; align-items: center; gap: 4px; }

@media (max-width: 400px) {
  .popupB-brand { letter-spacing: 3px; font-size: 1rem; }
  .popupB-img { max-width: 120px; }
  .popupB-price-card { margin: 14px; padding: 20px 12px 12px; }
  .popupB-new-val { font-size: 1.55rem; }
  .popupB-form { padding: 0 14px 10px; }
}

/* ============ Pattern C — Mini offer card WITHOUT form (opens popup) ============ */
.obC-frame {
  padding: 3px;
  background: linear-gradient(135deg, var(--primary, #e63946) 0%, #b42935 100%);
  border-radius: 19px;
  max-width: 420px;
  margin: 28px auto;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease;
  box-shadow: 0 10px 28px rgba(230, 57, 70, .22);
}
.obC-frame:hover { transform: translateY(-2px); box-shadow: 0 14px 36px rgba(230, 57, 70, .32); }
.obC-card {
  background: #fff; border-radius: 16px; padding: 22px 20px 18px;
  position: relative;
}
html[data-theme="dark"] .obC-card { background: #1a1f2e; color: #e8eef7; }

.obC-img-wrap { position: relative; margin: 0 0 10px; text-align: center; }
.obC-bestseller {
  position: absolute; top: 0; left: 0;
  background: linear-gradient(135deg, var(--primary, #e63946), #b42935);
  color: #fff; font-size: .6rem; font-weight: 800;
  padding: 4px 11px; border-radius: 99px; letter-spacing: 1.2px;
  text-transform: uppercase;
  box-shadow: 0 3px 10px rgba(230, 57, 70, .35);
  z-index: 2;
}
.obC-img { width: 100%; max-width: 170px; margin: 0 auto; display: block; filter: drop-shadow(0 8px 18px rgba(0,0,0,.12)); }
.obC-brand {
  text-align: center; font-size: .64rem; font-weight: 700;
  letter-spacing: 1.8px; text-transform: uppercase;
  color: #9ca3af; margin-bottom: 2px;
}
html[data-theme="dark"] .obC-brand { color: #8a92a8; }
.obC-title {
  text-align: center; font-family: var(--font-display);
  font-size: 1.38rem; font-weight: 700;
  color: #1e1424; letter-spacing: -.3px;
  margin: 0 0 6px;
  line-height: 1.1;
}
html[data-theme="dark"] .obC-title { color: #f4f6fb; }
.obC-title-accent {
  background: linear-gradient(135deg, var(--primary, #e63946), #b42935);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 800;
}

.obC-rating {
  text-align: center; font-size: .8rem;
  color: var(--text-muted, #6b7280); margin-bottom: 14px;
}
.obC-stars { color: #f4a623; letter-spacing: 1px; }

.obC-split-btn {
  display: grid; grid-template-columns: auto 1fr;
  width: 100%; border: none; padding: 0; overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(230, 57, 70, .33);
  cursor: pointer; font: inherit;
  background: none;
  position: relative;
}
.obC-split-price {
  background: #fff;
  border: 2px solid var(--primary, #e63946);
  border-right: none;
  border-radius: 12px 0 0 12px;
  padding: 11px 14px;
  display: flex; flex-direction: column; align-items: flex-start; justify-content: center;
  line-height: 1.05;
}
html[data-theme="dark"] .obC-split-price { background: #1a1f2e; }
.obC-split-old { font-size: .74rem; color: #9ca3af; text-decoration: line-through; text-decoration-thickness: 1.5px; }
.obC-split-new {
  font-size: 1.55rem; font-weight: 900;
  color: var(--primary, #e63946);
  font-family: var(--font-display);
  letter-spacing: -.01em;
}
.obC-split-action {
  background: linear-gradient(135deg, var(--primary, #e63946) 0%, #b42935 100%);
  color: #fff; font-size: .92rem; font-weight: 800;
  text-transform: uppercase; letter-spacing: 1.2px;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 14px;
  border-radius: 0 12px 12px 0;
  position: relative; overflow: hidden;
}
.obC-shimmer {
  position: absolute; inset: 0;
  background: linear-gradient(115deg, transparent 30%, rgba(255,255,255,.35) 55%, transparent 70%);
  transform: translateX(-100%);
  animation: obcShimmer 3s ease-in-out infinite;
  pointer-events: none;
}
@keyframes obcShimmer {
  0%, 60% { transform: translateX(-100%); }
  100%    { transform: translateX(100%); }
}

.obC-savings {
  text-align: center; font-size: .78rem;
  color: var(--text-muted, #6b7280); margin-top: 10px;
}
.obC-savings strong { color: var(--primary, #e63946); }
.obC-trust-row {
  display: flex; justify-content: space-between; gap: 10px;
  margin-top: 14px; padding-top: 12px;
  border-top: 1px solid #f3e8ef;
  font-size: .72rem; color: #4b5563;
  flex-wrap: wrap;
}
html[data-theme="dark"] .obC-trust-row { border-top-color: #2d3449; color: #b4b9c7; }
.obC-trust-row span { display: inline-flex; align-items: center; gap: 4px; }
.obC-trust-row svg { color: var(--primary, #e63946); flex-shrink: 0; }

@media (max-width: 420px) {
  .obC-frame { margin: 22px 10px; }
  .obC-card { padding: 20px 14px 14px; }
  .obC-title { font-size: 1.22rem; }
  .obC-split-price { padding: 9px 12px; }
  .obC-split-new { font-size: 1.35rem; }
  .obC-split-action { padding: 12px 10px; font-size: .82rem; letter-spacing: .5px; }
  .obC-trust-row { font-size: .66rem; gap: 6px; justify-content: center; }
}

/* Pattern C wrapper spacing + keyboard focus */
.obC-section { padding: 44px 0 48px; }
.obC-section.mid-cta-wrap { padding: 56px 0 60px; background: linear-gradient(180deg, rgba(42,157,143,.04) 0%, rgba(42,157,143,.01) 100%); }
.obC-frame:focus-visible { outline: 3px solid rgba(230,57,70,.45); outline-offset: 4px; }
html[data-theme="dark"] .obC-section.mid-cta-wrap { background: linear-gradient(180deg, rgba(42,157,143,.08) 0%, transparent 100%); }

/* Modal + popup — transparent wrapper when Pattern B is inside (popupB handles all its own chrome) */
.modal-overlay .modal.popupB,
.popup-overlay .popup-v2.popupB {
  background: #111 !important;
  box-shadow: 0 24px 60px rgba(0,0,0,.5) !important;
}
