/* Overrides de layout — paleta médica EXERON */

/* HEADER */
.site-header {
  background:#fff;
  border-bottom:1px solid var(--border-light);
  position:sticky; top:0; z-index:50;
  box-shadow:0 1px 0 rgba(14,29,54,.04);
}
.header-inner { display:flex; align-items:center; justify-content:space-between; padding:14px 20px; gap:16px; }
.logo {
  font-size:24px; font-weight:900; letter-spacing:2px;
  color:var(--accent-blue);
  display:flex; align-items:baseline; gap:2px;
}
.logo span { color:var(--silver-dark); font-size:14px; vertical-align:super; }
.nav { display:flex; gap:22px; }
.nav a { font-weight:600; color:var(--text-main); transition:color .15s; }
.nav a:hover { color:var(--accent-blue); }
.btn-cta--sm { padding:10px 18px !important; font-size:14px !important; }

/* ============================================================
   ANTI-COPIA / ANTI-INSPECT — bloquear selección de texto
   Excepción: inputs y textareas para que el form sea usable
   ============================================================ */
html, body {
  -webkit-user-select:none;
  -moz-user-select:none;
  -ms-user-select:none;
  user-select:none;
  -webkit-touch-callout:none;
  -webkit-tap-highlight-color:transparent;
}
input, textarea, select {
  -webkit-user-select:text !important;
  -moz-user-select:text !important;
  -ms-user-select:text !important;
  user-select:text !important;
  -webkit-touch-callout:default !important;
}
img { -webkit-user-drag:none; user-drag:none; pointer-events:auto; }

/* HERO — fondo plata sutil con franja azul superior + marca de agua pareja */
.hero {
  background:
    linear-gradient(180deg, #fff 0%, #f4f7fb 100%);
  padding:48px 0 56px;
  border-top:4px solid var(--accent-blue);
  position:relative;
  overflow:hidden;
  isolation:isolate;
}
.hero::before {
  content:"";
  position:absolute;
  inset:0;
  background:url("../img/lifestyle-1.png") no-repeat center center;
  background-size:cover;
  opacity:.32;
  filter:saturate(105%);
  z-index:-1;
  pointer-events:none;
}
.hero::after {
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(180deg, rgba(255,255,255,.35) 0%, rgba(244,247,251,.55) 100%);
  z-index:-1;
  pointer-events:none;
}
.hero-inner { display:grid; grid-template-columns:1.05fr 1fr; gap:42px; align-items:center; position:relative; z-index:1; }

.badge {
  display:inline-block;
  background:var(--accent-blue);
  color:#fff;
  padding:6px 14px;
  border-radius:4px;
  font-size:11px;
  font-weight:800;
  letter-spacing:1px;
  margin-bottom:14px;
  text-transform:uppercase;
}
.main-title { font-size:42px; font-weight:900; color:var(--text-heading); margin-bottom:14px; }
.hero-sub { font-size:17px; color:var(--text-main); margin-bottom:20px; }
.hero-bullets { margin:0 0 22px; }
.hero-bullets li { padding-left:30px; position:relative; margin-bottom:10px; font-weight:600; }
.hero-bullets li::before {
  content:""; position:absolute; left:0; top:6px;
  width:18px; height:18px; border-radius:50%;
  background:var(--accent-blue);
  background-image:linear-gradient(135deg, var(--accent-blue), var(--accent-blue-2));
}
.hero-bullets li::after {
  content:"✓"; position:absolute; left:4px; top:4px;
  color:#fff; font-weight:900; font-size:12px; line-height:1;
}

.price-row { display:flex; align-items:center; gap:14px; flex-wrap:wrap; margin-bottom:18px; }
.price-old { color:var(--silver-dark); text-decoration:line-through; font-size:18px; font-weight:600; }
.price-new { color:var(--accent-blue); font-size:30px; font-weight:900; }
.sale-wrap {
  background:var(--accent-orange); color:#fff; border-radius:50%;
  width:74px; height:74px; display:flex; flex-direction:column;
  align-items:center; justify-content:center; font-weight:900;
  box-shadow:0 4px 12px rgba(255,122,24,.35);
}
.sale-wrap small { font-size:10px; opacity:.95; }

.hero-img { display:flex; flex-direction:column; gap:18px; align-items:center; }
.hero-img > img { filter:drop-shadow(0 14px 32px rgba(14,29,54,.22)); }

/* FORM (hero card + form-card) — sin afectar a .form-wrap--bottom (sección full-width) */
.hero .form-wrap, .form-card {
  background:#fff;
  padding:24px 22px;
  border-radius:14px;
  border:1px solid var(--border-light);
  border-top:4px solid var(--accent-blue);
  box-shadow:0 12px 30px rgba(14,29,54,.10);
  width:100%; max-width:420px;
}
/* Reset por si .form-wrap--bottom heredó algún max-width */
.form-wrap--bottom {
  width:auto !important;
  max-width:none !important;
  background:linear-gradient(180deg, #f4f7fb 0%, #e9eef5 100%);
  border:0; border-radius:0; box-shadow:none; padding:64px 0;
}
.form-title { font-size:20px; font-weight:800; color:var(--text-heading); margin-bottom:6px; }
.form-sub { font-size:13px; color:var(--text-mute); margin:0 0 14px; }
.orderForm input {
  width:100%; padding:13px 14px; margin-bottom:10px;
  border:1.5px solid var(--border-medium); border-radius:8px;
  background:#fff; color:var(--text-heading); font-size:15px;
  transition:border-color .15s, box-shadow .15s;
}
.orderForm input:focus {
  outline:none; border-color:var(--accent-blue);
  box-shadow:0 0 0 3px rgba(28,74,138,.15);
}
.orderForm button[type="submit"] {
  width:100%; padding:14px; font-size:16px; font-weight:800;
  background:var(--cta-red); color:#fff; border:0; border-radius:8px;
  cursor:pointer; text-transform:uppercase; letter-spacing:.5px;
  box-shadow:0 4px 12px rgba(230,58,20,.3);
}
.orderForm button[type="submit"]:hover { background:var(--cta-red-hover); }
.form-foot { font-size:12px; color:var(--text-mute); text-align:center; margin:10px 0 0; }

/* PROMOS GRID — estilo card médico */
.section2 { background:#fff; }
.promos-grid { display:grid; grid-template-columns:repeat(3, 1fr); gap:18px; }
.do {
  background:#fff; padding:24px 20px; border-radius:12px;
  border:1px solid var(--border-light);
  box-shadow:0 4px 14px rgba(14,29,54,.06);
  text-align:left; transition:transform .15s, box-shadow .15s;
}
.do:hover { transform:translateY(-3px); box-shadow:0 8px 22px rgba(14,29,54,.10); }
.do strong { display:block; font-size:18px; color:var(--text-heading); margin-bottom:6px; }
.do p { margin:0; color:var(--text-mute); font-size:14px; }
.do-ico {
  display:inline-flex; width:40px; height:40px;
  align-items:center; justify-content:center;
  background:linear-gradient(135deg, var(--accent-blue), var(--accent-blue-2));
  color:#fff; border-radius:10px;
  font-weight:900; margin-bottom:12px;
  box-shadow:0 4px 10px rgba(28,74,138,.25);
}
/* Variante con emoji: fondo claro para que el emoji se vea con sus colores reales */
.do-ico.do-ico--emoji {
  width:48px; height:48px;
  background:linear-gradient(135deg, #eaf1fb, #f5f9ff);
  border:1px solid var(--border-light);
  font-size:24px; line-height:1;
  box-shadow:0 4px 10px rgba(28,74,138,.10);
}

/* SECTION 3 */
.section3 { background:var(--bg-sub); }
.two-col { display:grid; grid-template-columns:1fr 1.2fr; gap:36px; align-items:center; }
.col-img img { border-radius:14px; box-shadow:0 12px 30px rgba(14,29,54,.15); background:#fff; padding:14px; border:1px solid var(--border-light); }
.ingredient-list li { padding:10px 0 10px 26px; position:relative; border-bottom:1px dashed var(--border-light); }
.ingredient-list li::before {
  content:""; position:absolute; left:0; top:16px;
  width:8px; height:8px; border-radius:50%;
  background:var(--accent-blue);
}
.usage {
  background:var(--accent-blue-soft);
  border-left:4px solid var(--accent-blue);
  padding:14px 16px; border-radius:8px; margin-top:14px;
  color:var(--text-heading);
}

/* SECTION 4-1 trust */
.section4-1 { background:#fff; }
.ms-trust { max-width:760px; margin:0 auto; }
.ms-trust li { padding:12px 0 12px 32px; position:relative; font-weight:600; }
.ms-trust li::before {
  content:""; position:absolute; left:0; top:14px;
  width:20px; height:20px; border-radius:50%;
  background:var(--accent-blue);
}
.ms-trust li::after {
  content:"✓"; color:#fff; font-weight:900; font-size:13px;
  position:absolute; left:5px; top:11px; line-height:1;
}

/* GALLERY */
.section5 { background:var(--bg-sub); }
.gallery { display:grid; grid-template-columns:repeat(4,1fr); gap:14px; }
.gallery-item {
  aspect-ratio:1/1; border-radius:12px;
  background-size:cover; background-position:center;
  box-shadow:0 6px 18px rgba(14,29,54,.10);
  border:3px solid #fff;
  outline:1px solid var(--border-light);
}
.gallery-item--1 { background-image:url("../img/lifestyle-1.png"); }
.gallery-item--2 { background-image:url("../img/lifestyle-2.png"); }
.gallery-item--3 { background-image:url("../img/lifestyle-3.png"); }
.gallery-item--4 { background-image:url("../img/lifestyle-4.png"); }

/* DOCTOR */
.section6 { background:#fff; }
.ms-doctor-row { display:grid; grid-template-columns:280px 1fr; gap:30px; align-items:center; max-width:920px; margin:0 auto; }
.expert-img.ms-doctor-img {
  width:280px; height:340px;
  border:3px solid var(--accent-blue); border-radius:14px;
  background:url("../img/doctor.png") no-repeat center/cover;
  box-shadow:0 12px 28px rgba(14,29,54,.20);
}
.expert-wrap.ms-doctor-wrap {
  padding:24px;
  background:var(--accent-blue-soft);
  border:1px solid var(--border-light);
  border-left:4px solid var(--accent-blue);
  border-radius:12px;
}

/* FORM MID — fondo azul oscuro estilo medical */
#form-medio {
  background:linear-gradient(135deg, #0e1d36 0%, #1c4a8a 100%);
  color:#fff; padding:56px 0;
  position:relative; overflow:hidden;
}
#form-medio::before {
  content:""; position:absolute; inset:0;
  background:radial-gradient(circle at 80% 20%, rgba(74,134,197,.25), transparent 60%);
  pointer-events:none;
}
.form-medio-inner { display:grid; grid-template-columns:1.2fr 1fr; gap:36px; align-items:center; position:relative; z-index:1; }
.form-medio-inner .title { color:#fff; text-align:left; margin-bottom:14px; }
.form-medio-inner p { color:rgba(255,255,255,.85); }
#form-medio .form-wrap .form-title { color:#fff; }
.form-medio-inner .price-new { color:var(--accent-yellow); }
.form-medio-inner .price-old { color:rgba(255,255,255,.55); }

/* TESTIMONIALS */
.section7 { background:var(--bg-sub); }
.testimonials { display:grid; grid-template-columns:repeat(3,1fr); gap:18px; }
.testimonial {
  background:#fff; border:1px solid var(--border-light);
  border-radius:12px; padding:20px;
  display:grid; grid-template-columns:60px 1fr; gap:14px;
  box-shadow:0 4px 14px rgba(14,29,54,.06);
}
.t-avatar {
  width:60px; height:60px; border-radius:50%;
  background-size:cover; background-position:center;
  border:2px solid var(--accent-blue);
  box-shadow:0 2px 6px rgba(14,29,54,.12);
}
.t-avatar--1 { background-image:url("../img/avatar-1.png"); }
.t-avatar--2 { background-image:url("../img/avatar-2.png"); }
.t-avatar--3 { background-image:url("../img/avatar-3.png"); }
.t-avatar--4 { background-image:url("../img/avatar-4.png"); }
.t-avatar--5 { background-image:url("../img/avatar-5.png"); }
.t-stars { color:var(--accent-yellow); margin:0 0 4px; font-size:14px; letter-spacing:2px; }
.t-text { font-size:14px; color:var(--text-main); margin:0 0 8px; line-height:1.55; }
.t-name { margin:0; font-weight:700; color:var(--text-heading); font-size:13px; }
.t-name span { color:var(--text-mute); font-weight:500; }

/* FAQ */
.section8 { background:#fff; }
.faq-list { max-width:820px; margin:0 auto; }
.faq-item {
  background:#fff;
  border:1.5px solid var(--border-light);
  border-left:4px solid var(--accent-blue);
  border-radius:10px;
  margin-bottom:12px;
  padding:16px 20px;
  box-shadow:0 2px 8px rgba(14,29,54,.04);
}
.faq-q { color:var(--text-heading); font-weight:700; cursor:pointer; list-style:none; position:relative; padding-right:30px; font-size:16px; }
.faq-q::-webkit-details-marker { display:none; }
.faq-q::after {
  content:"+"; position:absolute; right:0; top:-2px;
  color:var(--accent-blue); font-weight:900; font-size:24px;
}
.faq-item[open] .faq-q::after { content:"−"; }
.faq-a { color:var(--text-main); line-height:1.6; padding-top:10px; font-size:15px; }

/* ============================================================
   FORM BOTTOM — REDISEÑO LIMPIO
   ============================================================ */

.form-wrap--bottom {
  background:
    linear-gradient(180deg, #f4f7fb 0%, #e9eef5 100%);
  padding:64px 0;
  border-top:1px solid var(--border-light);
}

.form-bottom-inner {
  display:grid;
  grid-template-columns:1fr;
  gap:40px;
  text-align:center;
}

.form-bottom-text .title {
  text-align:center; color:var(--text-heading);
  font-size:34px; margin-bottom:8px;
}
.form-bottom-text > p {
  color:var(--text-mute); font-size:16px;
  max-width:560px; margin:0 auto 28px;
}

/* PACKS — auto-fit responsivo (3 cols en desktop, 2 en tablet, 1 en mobile) */
.packs {
  display:grid;
  grid-template-columns:repeat(3, minmax(0, 1fr));
  gap:18px;
  max-width:960px;
  margin:0 auto 36px;
}
@media (max-width:780px) {
  .packs { grid-template-columns:1fr; max-width:380px; }
}
.pack {
  background:#fff; color:var(--text-heading);
  padding:24px 20px 22px; border-radius:14px;
  display:flex; flex-direction:column; align-items:center;
  gap:14px; position:relative;
  border:2px solid var(--border-light);
  box-shadow:0 6px 18px rgba(14,29,54,.07);
  transition:transform .15s, box-shadow .15s, border-color .15s;
}
.pack:hover { transform:translateY(-4px); box-shadow:0 12px 28px rgba(14,29,54,.12); border-color:var(--accent-blue-3); }
.pack--popular {
  border-color:var(--accent-blue);
  border-width:2.5px;
  box-shadow:0 10px 26px rgba(28,74,138,.18);
  transform:scale(1.03);
}
.pack--popular:hover { transform:scale(1.03) translateY(-4px); }
.pack-badge {
  position:absolute; top:-12px; left:50%; transform:translateX(-50%);
  background:var(--accent-blue); color:#fff;
  padding:5px 14px; border-radius:20px;
  font-size:11px; font-weight:800; letter-spacing:.5px;
  white-space:nowrap;
  box-shadow:0 4px 10px rgba(28,74,138,.25);
}

.pack .product_how-much {
  background:var(--accent-blue) !important;
  color:#fff !important; border-radius:50% !important;
  width:54px !important; height:54px !important;
  font-size:24px !important; line-height:54px !important;
  text-align:center !important; font-weight:800 !important;
  flex-shrink:0;
  box-shadow:0 4px 10px rgba(14,29,54,.25) !important;
}

.pack-info {
  display:flex; flex-direction:column;
  align-items:center; gap:4px; width:100%;
}
.pack-info strong { font-size:16px; color:var(--text-heading); }
.pack-info .price-new { font-size:24px; color:var(--accent-blue); }
.pack-info .price-old { font-size:13px; color:var(--silver-dark); }

.pack-cta-wrap {
  display:flex; justify-content:center;
}

.form-card {
  max-width:520px;
  margin:0 auto;
  text-align:left;
}

/* FOOTER */
.site-footer { background:var(--bg-dark); color:#9aa6b8; padding:40px 0; }
.footer-inner { display:flex; flex-direction:column; gap:14px; align-items:center; text-align:center; }
.footer-brand { font-weight:800; color:#fff; font-size:18px; letter-spacing:1px; }
.footer-brand span { color:var(--accent-blue-3); }
.footer-nav { display:flex; gap:18px; }
.footer-nav a { color:#aab5c5; font-size:14px; }
.footer-nav a:hover { color:#fff; }
.footer-legal { font-size:11px; color:#6c7a8e; max-width:920px; margin:0; line-height:1.5; }

/* POPUP */
.popup { display:none; position:fixed; inset:0; background:rgba(14,29,54,.65); z-index:9999; align-items:center; justify-content:center; }
.popup-wrap {
  background:#fff; padding:32px 26px; border-radius:14px;
  max-width:440px; width:92%; position:relative;
  border-top:5px solid var(--accent-blue);
  box-shadow:0 30px 80px rgba(0,0,0,.4);
}
.popup .title { color:var(--text-heading); font-size:22px; font-weight:800; margin-bottom:10px; text-align:left; }
.popup p { color:var(--text-mute); font-size:14px; margin:0 0 14px; }
.popup input { background:#fff; border:1.5px solid var(--border-medium); color:var(--text-heading); padding:12px; width:100%; border-radius:8px; margin-bottom:10px; }
.popup input:focus { outline:none; border-color:var(--accent-blue); box-shadow:0 0 0 3px rgba(28,74,138,.15); }
.popup button { background:var(--cta-red); color:#fff; padding:14px; width:100%; border:0; border-radius:8px; font-weight:800; font-size:16px; cursor:pointer; text-transform:uppercase; }
.popup button:hover { background:var(--cta-red-hover); }
.popup-close { position:absolute; top:10px; right:14px; color:var(--text-mute); font-size:28px; cursor:pointer; line-height:1; }
.popup-close:hover { color:var(--text-heading); }

/* ============================================================
   MOBILE específico para form bottom
   ============================================================ */

@media (max-width:999px) {
  .form-wrap--bottom { padding:40px 0; }
  .form-bottom-text .title { font-size:26px !important; }
  .pack--popular { transform:none; }
  .pack--popular:hover { transform:translateY(-4px); }
}

/* ============================================================
   FOOTER (ms-footer) — estilo enerflex adaptado a EXERON
   ============================================================ */
.ms-footer { background:var(--bg-dark); color:#aab5c5; padding:54px 0 28px; }
.ms-footer-inner { max-width:1200px; margin:0 auto; padding:0 20px; }
.ms-footer-grid {
  display:grid;
  grid-template-columns:1.5fr 1fr 1fr 1.2fr;
  gap:36px;
  padding-bottom:30px;
  border-bottom:1px solid rgba(255,255,255,.08);
}
.ms-footer-brand .ms-footer-logo {
  font-size:24px; font-weight:900; color:#fff; letter-spacing:2px; margin-bottom:14px;
}
.ms-footer-brand .ms-footer-logo span { color:var(--accent-blue-3); font-size:14px; vertical-align:super; }
.ms-footer-desc { font-size:14px; line-height:1.6; color:#9aa6b8; margin:0; }
.ms-footer-title {
  color:#fff; font-size:14px; font-weight:700; text-transform:uppercase;
  letter-spacing:1px; margin:0 0 14px;
}
.ms-footer-links { list-style:none; padding:0; margin:0; }
.ms-footer-links li { margin-bottom:10px; }
.ms-footer-links a { color:#aab5c5; font-size:14px; transition:color .15s; }
.ms-footer-links a:hover { color:#fff; text-decoration:underline; }

.ms-footer-bottom {
  display:flex; align-items:center; justify-content:space-between;
  flex-wrap:wrap; gap:14px; padding:18px 0;
  border-bottom:1px solid rgba(255,255,255,.08);
}
.ms-footer-copy { font-size:13px; color:#7a8499; }
.ms-footer-legal-links { display:flex; gap:18px; flex-wrap:wrap; }
.ms-footer-legal-links a { color:#aab5c5; font-size:13px; }
.ms-footer-legal-links a:hover { color:#fff; }

.ms-footer-disclaimer { padding-top:16px; }
.ms-footer-disclaimer p { font-size:11px; color:#6c7a8e; line-height:1.55; margin:0; max-width:none; }

@media (max-width:780px) {
  .ms-footer-grid { grid-template-columns:1fr 1fr; gap:28px; }
  .ms-footer-brand { grid-column:1 / -1; }
  .ms-footer-bottom { flex-direction:column; align-items:flex-start; }
}

/* ============================================================
   LIVE TOAST — notificación lateral de compras
   ============================================================ */
.ms-live-toast {
  position:fixed; left:20px; bottom:20px; z-index:9000;
  display:flex; align-items:flex-start; gap:12px;
  background:#fff; color:var(--text-heading);
  border:1px solid var(--border-light);
  border-left:4px solid var(--accent-blue);
  padding:14px 18px 14px 14px; border-radius:10px;
  box-shadow:0 12px 32px rgba(14,29,54,.18);
  max-width:320px;
  transform:translateX(-120%); opacity:0;
  transition:transform .45s cubic-bezier(.2,.8,.2,1), opacity .35s;
  pointer-events:none;
}
.ms-live-toast.is-visible { transform:translateX(0); opacity:1; pointer-events:auto; }
.ms-live-toast__icon {
  flex-shrink:0; width:38px; height:38px; border-radius:50%;
  background:var(--accent-blue-soft); color:var(--accent-blue);
  display:flex; align-items:center; justify-content:center;
}
.ms-live-toast__icon svg { width:20px; height:20px; }
.ms-live-toast__body { flex:1; min-width:0; }
.ms-live-toast__title { font-weight:700; font-size:14px; color:var(--text-heading); }
.ms-live-toast__msg { font-size:13px; color:var(--text-main); margin-top:1px; }
.ms-live-toast__time { font-size:11px; color:var(--text-mute); margin-top:4px; }

@media (max-width:600px) {
  .ms-live-toast {
    left:10px;
    right:auto;
    bottom:10px;
    width:50vw;
    max-width:50vw;
    padding:10px 12px;
  }
  .ms-live-toast__title { font-size:12px; }
  .ms-live-toast__msg   { font-size:11px; }
  .ms-live-toast__time  { font-size:10px; }
}

/* ============================================================
   EXIT-INTENT POPUP (ms-popup-overlay)
   ============================================================ */
.ms-popup-overlay {
  position:fixed; inset:0; z-index:9999;
  background:rgba(14,29,54,.72);
  display:flex; align-items:center; justify-content:center;
  padding:20px;
  opacity:0; pointer-events:none;
  transition:opacity .2s ease;
}
.ms-popup-overlay.is-open { opacity:1; pointer-events:auto; }
.ms-popup {
  background:#fff; border-radius:16px; overflow:hidden;
  max-width:780px; width:100%;
  display:grid; grid-template-columns:280px 1fr;
  position:relative;
  box-shadow:0 30px 80px rgba(0,0,0,.5);
  border-top:5px solid var(--accent-blue);
  max-height:92vh; overflow-y:auto;
}
.ms-popup-close {
  position:absolute; top:10px; right:14px; z-index:2;
  background:rgba(255,255,255,.9); border:0; cursor:pointer;
  width:32px; height:32px; border-radius:50%;
  font-size:24px; line-height:1; color:var(--text-heading);
  display:flex; align-items:center; justify-content:center;
  box-shadow:0 2px 8px rgba(0,0,0,.15);
}
.ms-popup-close:hover { background:#fff; color:var(--cta-red); }
.ms-popup-img {
  background:url("../img/lifestyle-1.png") no-repeat center/cover, var(--accent-blue);
  min-height:340px;
}
.ms-popup-content { padding:30px 28px; }
.ms-popup-title { font-size:22px; font-weight:800; color:var(--text-heading); margin:0 0 8px; line-height:1.25; }
.ms-popup-sub { font-size:14px; color:var(--text-mute); margin:0 0 16px; line-height:1.5; }

.ms-popup-prices {
  display:flex; align-items:center; gap:12px; flex-wrap:wrap;
  background:var(--accent-blue-soft); padding:12px 14px;
  border-radius:10px; margin-bottom:16px;
}
.ms-popup-old { color:var(--silver-dark); text-decoration:line-through; font-size:14px; }
.ms-popup-now { color:var(--accent-blue); font-size:22px; font-weight:900; }
.ms-popup-badge {
  background:var(--cta-red); color:#fff; padding:4px 10px; border-radius:20px;
  font-size:12px; font-weight:800; margin-left:auto;
}

.ms-popup-fields { display:flex; flex-direction:column; gap:10px; margin-bottom:14px; }
.ms-popup-fields input {
  width:100%; padding:13px 14px;
  border:1.5px solid var(--border-medium); border-radius:8px;
  background:#fff; color:var(--text-heading); font-size:15px;
}
.ms-popup-fields input:focus {
  outline:none; border-color:var(--accent-blue);
  box-shadow:0 0 0 3px rgba(28,74,138,.15);
}
.ms-popup-submit {
  width:100%; padding:14px; background:var(--cta-red); color:#fff;
  border:0; border-radius:8px; font-size:16px; font-weight:800;
  text-transform:uppercase; cursor:pointer; letter-spacing:.5px;
  box-shadow:0 4px 12px rgba(230,58,20,.3);
}
.ms-popup-submit:hover { background:var(--cta-red-hover); }

.ms-popup-features {
  display:flex; gap:14px; flex-wrap:wrap; margin-top:14px;
  font-size:12px; color:var(--text-mute);
}
.ms-popup-features span { display:inline-flex; align-items:center; gap:5px; }
.ms-popup-features span::before {
  content:"✓"; color:var(--accent-blue); font-weight:900;
}

/* MOBILE: ocultar imagen */
@media (max-width:720px) {
  .ms-popup { grid-template-columns:1fr; max-height:94vh; }
  .ms-popup-img { display:none; }
  .ms-popup-content { padding:24px 20px; }
  .ms-popup-title { font-size:20px; }
}

/* ============================================================
   BACK TO TOP — botón flotante
   ============================================================ */
.ms-back-to-top {
  position:fixed; right:20px; bottom:20px; z-index:8500;
  width:48px; height:48px; border-radius:50%;
  background:var(--accent-blue); color:#fff;
  border:0; cursor:pointer; padding:0;
  display:flex; align-items:center; justify-content:center;
  box-shadow:0 8px 22px rgba(28,74,138,.35);
  opacity:0; transform:translateY(12px); pointer-events:none;
  transition:opacity .25s ease, transform .25s ease, background .15s;
}
.ms-back-to-top.is-visible { opacity:1; transform:translateY(0); pointer-events:auto; }
.ms-back-to-top:hover { background:#163d72; }
.ms-back-to-top svg { width:22px; height:22px; }

/* En mobile: subir un poco para no chocar con el toast cuando está abierto */
@media (max-width:600px) {
  .ms-back-to-top { right:14px; bottom:14px; width:44px; height:44px; }
  .ms-live-toast.is-visible ~ .ms-back-to-top,
  .ms-back-to-top { bottom:14px; }
}

/* ============================================================
   HEADER MOBILE — asegurar que el botón COMPRAR siga visible
   ============================================================ */
@media (max-width:999px) {
  .site-header .btn-cta,
  .site-header .btn-cta--sm {
    width:auto !important;
    flex-shrink:0;
    padding:8px 14px !important;
    font-size:13px !important;
    display:inline-flex !important;
    align-items:center;
    white-space:nowrap;
  }
  .header-inner { gap:10px; }
  .header-inner .logo { font-size:20px; }
}
@media (max-width:420px) {
  .site-header .btn-cta--sm {
    padding:7px 12px !important;
    font-size:12px !important;
  }
  .header-inner .logo { font-size:18px; }
}

/* El form ya está visible junto al hero, ocultamos el CTA
   "QUIERO MI EXERON" para evitar duplicación (desktop y mobile) */
.hero .hero-text > a.btn-cta { display:none !important; }

/* ============================================================
   BENEFICIOS — mejor estilo mobile (2 columnas + cards limpias)
   ============================================================ */
@media (max-width:780px) {
  .ms-promos-section { padding:36px 0 !important; }
  .ms-promos-section .title {
    font-size:22px !important;
    line-height:1.25 !important;
    padding:0 8px;
    margin-bottom:22px !important;
  }
  .ms-promos-section .promos-grid {
    display:grid !important;
    grid-template-columns:repeat(2, minmax(0,1fr)) !important;
    gap:12px !important;
    padding:0 4px;
  }
  .ms-promos-section .do {
    background:#fff !important;
    border:1px solid var(--border-light) !important;
    border-radius:14px !important;
    padding:18px 14px !important;
    box-shadow:0 2px 8px rgba(14,29,54,.05) !important;
    display:flex !important;
    flex-direction:column !important;
    align-items:flex-start !important;
    gap:8px !important;
    text-align:left !important;
    min-height:100%;
    transition:transform .15s, box-shadow .15s;
  }
  .ms-promos-section .do:active { transform:scale(.98); }
  .ms-promos-section .do .do-ico {
    display:inline-flex !important;
    align-items:center;
    justify-content:center;
    width:36px; height:36px;
    border-radius:10px;
    background:var(--accent-blue-soft) !important;
    color:var(--accent-blue) !important;
    font-size:18px !important;
    font-weight:900 !important;
    margin:0 0 4px 0 !important;
    flex-shrink:0;
  }
  .ms-promos-section .do strong {
    font-size:15px !important;
    color:var(--text-heading) !important;
    line-height:1.25 !important;
    font-weight:800 !important;
  }
  .ms-promos-section .do p {
    font-size:13px !important;
    line-height:1.45 !important;
    color:var(--text-mute) !important;
    margin:0 !important;
  }
}

@media (max-width:380px) {
  .ms-promos-section .promos-grid { grid-template-columns:1fr !important; }
  .ms-promos-section .do { flex-direction:row !important; align-items:center !important; }
  .ms-promos-section .do .do-ico { margin-right:6px !important; }
  .ms-promos-section .do > div { flex:1; }
}

/* ============================================================
   PROMOCIONES VIGENTES HOY
   ============================================================ */
.ms-promos-vigentes {
  background:linear-gradient(180deg,#f5f8fc 0%,#fff 100%);
  padding:64px 0;
}
.ms-promos-vigentes__title {
  text-align:center; font-size:32px; font-weight:900;
  color:var(--text-heading); margin:0 0 8px;
}
.ms-promos-vigentes__sub {
  text-align:center; color:var(--text-mute); font-size:16px;
  margin:0 auto 36px; max-width:620px;
}
.ms-promos-vigentes__grid {
  display:grid; grid-template-columns:repeat(3, minmax(0,1fr));
  gap:20px; max-width:1100px; margin:0 auto;
}
.ms-promo-card {
  position:relative; background:#fff;
  border:1.5px solid var(--border-light); border-radius:16px;
  padding:28px 22px 22px; text-align:center;
  display:flex; flex-direction:column;
  box-shadow:0 4px 14px rgba(14,29,54,.06);
  transition:transform .18s ease, box-shadow .18s ease;
}
.ms-promo-card:hover {
  transform:translateY(-4px);
  box-shadow:0 12px 28px rgba(14,29,54,.12);
}
.ms-promo-card--popular {
  border:2px solid var(--accent-blue);
  box-shadow:0 12px 32px rgba(28,74,138,.18);
  transform:scale(1.03);
}
.ms-promo-card--popular:hover { transform:scale(1.03) translateY(-4px); }
.ms-promo-card__flag {
  position:absolute; top:-12px; left:50%; transform:translateX(-50%);
  background:var(--cta-red); color:#fff;
  font-size:11px; font-weight:800; letter-spacing:.5px;
  padding:6px 14px; border-radius:20px;
  white-space:nowrap; text-transform:uppercase;
  box-shadow:0 4px 10px rgba(230,58,20,.25);
}
.ms-promo-card--popular .ms-promo-card__flag {
  background:var(--accent-blue);
  box-shadow:0 4px 10px rgba(28,74,138,.3);
}
.ms-promo-card__head { margin-bottom:14px; }
.ms-promo-card__qty {
  font-size:18px; font-weight:800; color:var(--text-heading);
  line-height:1.3; margin-bottom:4px;
}
.ms-promo-card__sub {
  font-size:13px; color:var(--text-mute); text-transform:uppercase;
  letter-spacing:.5px;
}
.ms-promo-card__price {
  font-size:30px; font-weight:900; color:var(--accent-blue);
  margin:8px 0 4px;
}
.ms-promo-card--popular .ms-promo-card__price { font-size:34px; }
.ms-promo-card__perunit {
  font-size:13px; color:var(--text-mute); min-height:18px;
  margin-bottom:18px;
}
.ms-promo-card__btn {
  display:block; width:100%; padding:13px 16px;
  background:var(--cta-red); color:#fff;
  font-size:14px; font-weight:800; text-transform:uppercase;
  text-decoration:none; border-radius:10px; letter-spacing:.5px;
  transition:background .15s, transform .12s;
  box-shadow:0 4px 10px rgba(230,58,20,.25);
}
.ms-promo-card__btn:hover { background:var(--cta-red-hover); transform:translateY(-1px); }
.ms-promo-card--popular .ms-promo-card__btn {
  background:var(--accent-blue); box-shadow:0 4px 12px rgba(28,74,138,.3);
}
.ms-promo-card--popular .ms-promo-card__btn:hover { background:#163d72; }

@media (max-width:780px) {
  .ms-promos-vigentes { padding:44px 0; }
  .ms-promos-vigentes__title { font-size:24px; padding:0 12px; }
  .ms-promos-vigentes__sub { font-size:14px; padding:0 16px; margin-bottom:28px; }
  .ms-promos-vigentes__grid { grid-template-columns:1fr; gap:16px; padding:0 14px; }
  .ms-promo-card--popular { transform:none; order:-1; }
  .ms-promo-card--popular:hover { transform:translateY(-4px); }
  .ms-promo-card__qty { font-size:17px; }
  .ms-promo-card__price { font-size:26px; }
  .ms-promo-card--popular .ms-promo-card__price { font-size:30px; }
}

/* ============================================================
   PEDILO EN 3 PASOS
   ============================================================ */
.ms-steps {
  background:#fff;
  padding:64px 0;
}
.ms-steps__title {
  text-align:center; font-size:32px; font-weight:900;
  color:var(--text-heading); margin:0 0 8px;
}
.ms-steps__sub {
  text-align:center; color:var(--text-mute); font-size:16px;
  margin:0 auto 40px; max-width:620px;
}
.ms-steps__wrap {
  display:grid; grid-template-columns:repeat(3, minmax(0,1fr));
  gap:30px; max-width:1100px; margin:0 auto; position:relative;
}
.ms-step-card {
  position:relative; text-align:center;
  background:#f7faff; border-radius:16px; padding:24px 20px 28px;
  border:1px solid var(--border-light);
  transition:transform .2s ease, box-shadow .2s ease;
}
.ms-step-card:hover {
  transform:translateY(-4px);
  box-shadow:0 14px 30px rgba(14,29,54,.1);
}
.ms-step-card__img {
  width:170px; height:170px; margin:0 auto 16px;
  border-radius:50%; overflow:hidden;
  background:#fff;
  border:4px solid #fff;
  box-shadow:0 8px 22px rgba(28,74,138,.18);
}
.ms-step-card__img img {
  width:100%; height:100%; object-fit:cover; display:block;
}
.ms-step-card__num {
  display:inline-flex; align-items:center; justify-content:center;
  width:38px; height:38px; border-radius:50%;
  background:var(--accent-blue); color:#fff;
  font-size:18px; font-weight:900;
  margin-bottom:10px;
  box-shadow:0 4px 10px rgba(28,74,138,.3);
}
.ms-step-card__title {
  font-size:18px; font-weight:800; color:var(--text-heading);
  margin:0 0 8px;
}
.ms-step-card__desc {
  font-size:14px; line-height:1.55; color:var(--text-main);
  margin:0;
}

@media (max-width:780px) {
  .ms-steps { padding:44px 0; }
  .ms-steps__title { font-size:24px; padding:0 12px; }
  .ms-steps__sub { font-size:14px; padding:0 16px; margin-bottom:28px; }
  .ms-steps__wrap { grid-template-columns:1fr; gap:18px; padding:0 14px; }
  .ms-step-card { padding:20px 16px 22px; }
  .ms-step-card__img { width:140px; height:140px; margin-bottom:12px; }
  .ms-step-card__title { font-size:17px; }
}

/* Línea de precio tachado dentro de cards de promociones */
.ms-promo-card__old {
  font-size:12px; color:var(--text-mute);
  text-decoration:line-through; margin-bottom:2px;
}

/* ============================================================
   FORM BOTTOM — formulario + foto del producto al lado
   ============================================================ */
.form-wrap--bottom .form-bottom-inner {
  display:grid !important;
  grid-template-columns:1fr 1fr !important;
  gap:40px;
  align-items:center;
  max-width:1100px;
  margin:0 auto;
  padding:0 20px;
}
.form-bottom-product {
  text-align:center;
}
.form-bottom-product img {
  max-width:100%;
  width:100%;
  max-height:380px;
  object-fit:contain;
  border-radius:12px;
  background:#000;
  box-shadow:0 12px 32px rgba(14,29,54,.18);
}
.form-bottom-product__pricebar {
  display:flex; align-items:center; justify-content:center;
  gap:14px; margin-top:18px; flex-wrap:wrap;
}
.form-bottom-product__old {
  color:var(--text-mute); text-decoration:line-through; font-size:18px;
}
.form-bottom-product__new {
  color:var(--accent-blue); font-size:32px; font-weight:900;
}
.form-bottom-product__off {
  background:var(--cta-red); color:#fff;
  padding:5px 12px; border-radius:20px;
  font-size:14px; font-weight:800;
}
.form-bottom-product__note {
  margin-top:10px; font-size:14px; color:var(--text-mute);
}

@media (max-width:780px) {
  .form-wrap--bottom .form-bottom-inner {
    grid-template-columns:1fr !important;
    gap:24px;
  }
  .form-bottom-product img { max-height:280px; }
  .form-bottom-product__new { font-size:26px; }
}
