/* ===== Tienda pública: mobile-first ===== */
:root {
  --gold: #C98A1B;
  --gold-dark: #8A5A07;
  --gold-light: #F5C75A;
  --cream: #FFF8EA;
  --cream-2: #FBEFD3;
  --white: #fff;
  --green: #4C9A4A;
  --green-dark: #35803A;
  --red: #D6372B;
  --ink: #2B1D07;
  --muted: #6B5A3E;
  --line: #EBD9AE;
  --radius: 16px;
  --shadow: 0 8px 28px rgba(139, 94, 12, .14);
  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
html.no-scroll, html.no-scroll body { overflow: hidden; }
body { margin: 0; font-family: var(--sans); font-size: 16px; line-height: 1.55; color: var(--ink); background: var(--cream); -webkit-font-smoothing: antialiased; }
body[data-sticky], body[data-sticky-product] { padding-bottom: 76px; }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { font-family: var(--serif); line-height: 1.18; margin: 0 0 .5em; color: var(--ink); }
h1 { font-size: clamp(1.9rem, 7.4vw, 3rem); font-weight: 700; }
h2 { font-size: clamp(1.55rem, 5.6vw, 2.2rem); font-weight: 700; text-align: center; }
h3 { font-size: 1.1rem; font-weight: 700; }
p { margin: 0 0 1em; }
a { color: inherit; }
button { font: inherit; color: inherit; }
.ico { width: 1.25em; height: 1.25em; flex: none; }
.muted { color: var(--muted); }
.small { font-size: .82rem; }
.wrap { width: 100%; max-width: 1080px; margin: 0 auto; padding: 0 16px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }

/* --- Barra superior --- */
.announce { background: var(--ink); color: var(--gold-light); text-align: center; font-size: .82rem; font-weight: 600; padding: 7px 12px; letter-spacing: .01em; }
.topbar { background: var(--white); border-bottom: 1px solid var(--line); }
.logo { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 16px; font-family: var(--serif); font-weight: 700; font-size: 1.25rem; text-decoration: none; color: var(--gold-dark); max-width: 1080px; margin: 0 auto; }
.logo .ico { color: var(--green); width: 1.3em; height: 1.3em; }

/* --- Botones --- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 54px; padding: 14px 26px; border: 0; border-radius: 14px; font-weight: 800; font-size: 1.05rem; letter-spacing: .02em; text-align: center; text-decoration: none; cursor: pointer; transition: transform .15s, box-shadow .15s, filter .15s; }
.btn:active { transform: translateY(1px) scale(.99); }
.btn-primary { background: linear-gradient(180deg, var(--gold-light), #E3A52B); color: #2A1800; box-shadow: 0 6px 18px rgba(201, 138, 27, .45), inset 0 -2px 0 rgba(0, 0, 0, .12); }
.btn-primary:hover { filter: brightness(1.04); }
.btn-green { background: var(--green-dark); color: #fff; box-shadow: 0 6px 18px rgba(53, 128, 58, .4); }
.btn-green:hover { filter: brightness(1.06); }
.btn-wa { background: #1E8E4B; color: #fff; }
.btn-block { display: flex; width: 100%; }
.btn-big { min-height: 60px; font-size: 1.15rem; }
.btn-ghost { background: transparent; color: var(--gold-dark); border: 2px solid var(--gold); min-height: 48px; }
.btn-disabled, .btn:disabled { background: #D9D2C0; color: #6C6452; box-shadow: none; cursor: not-allowed; }
.btn.is-loading { pointer-events: none; opacity: .85; }
.btn .spin { width: 20px; height: 20px; border: 3px solid rgba(255, 255, 255, .45); border-top-color: #fff; border-radius: 50%; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.icon-btn { display: grid; place-items: center; width: 44px; height: 44px; border: 0; background: transparent; border-radius: 50%; cursor: pointer; color: var(--ink); }
.icon-btn:hover { background: rgba(0, 0, 0, .06); }
.sheet-head .icon-btn { width: 42px; height: 42px; margin-right: 6px; background: var(--gold-light); color: #2A1800; border: 2px solid var(--gold); box-shadow: 0 2px 6px rgba(0, 0, 0, .18); }
.sheet-head .icon-btn:hover { background: var(--gold); color: #fff; }
.sheet-head .icon-btn .ico { width: 22px; height: 22px; stroke-width: 2.8; }

/* --- Secciones --- */
.section { padding: 44px 0; }
.section.alt { background: var(--white); }
.section.cream2 { background: var(--cream-2); }
.eyebrow { display: block; text-align: center; color: var(--gold-dark); font-weight: 700; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 8px; }
.lead { text-align: center; color: var(--muted); max-width: 640px; margin: 0 auto 28px; }
.disclaimer { margin: 18px auto 0; max-width: 680px; padding: 14px 16px; background: var(--cream-2); border-left: 4px solid var(--gold); border-radius: 10px; font-size: .88rem; color: var(--muted); }

/* --- Tarjetas --- */
.cards { display: grid; gap: 14px; }
.cards-4 { grid-template-columns: repeat(2, 1fr); }
.cards-5 { grid-template-columns: repeat(2, 1fr); }
.cards-reviews { grid-template-columns: 1fr; }
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 16px; box-shadow: 0 2px 10px rgba(139, 94, 12, .06); }
.section.alt .card { background: var(--cream); }
.card-icon { text-align: center; }
.card-icon p, .card p { margin: 0; font-size: .95rem; }
.card h3 { margin-bottom: 4px; font-size: 1rem; }
.icon-circle { display: grid; place-items: center; width: 56px; height: 56px; margin: 0 auto 12px; border-radius: 50%; color: var(--gold-dark); background: radial-gradient(circle at 30% 25%, #FFF1C9, var(--gold-light)); box-shadow: inset 0 0 0 2px rgba(201, 138, 27, .25); }
.icon-circle .ico { width: 26px; height: 26px; }
.icon-circle.sm { width: 46px; height: 46px; margin: 0; }
.ing { text-align: center; }
.ing-img { width: 92px; height: 92px; margin: 0 auto 10px; border-radius: 50%; object-fit: cover; border: 3px solid var(--gold-light); box-shadow: 0 4px 14px rgba(201, 138, 27, .3); }
.ing:last-child { grid-column: 1 / -1; }

/* --- Hero --- */
.hero { padding: 22px 0 34px; background: radial-gradient(120% 70% at 50% 0%, #FFE9B0 0%, var(--cream) 62%); }
.hero-grid { display: grid; gap: 16px; }
.hero h1 { text-align: center; margin-bottom: 8px; }
.hero h1 em { font-style: normal; color: var(--gold-dark); }
.hero-sub { text-align: center; color: var(--muted); margin: 0; }
.hero-img { border-radius: 22px; overflow: hidden; box-shadow: var(--shadow); background: var(--white); aspect-ratio: 3 / 4; max-width: 540px; width: 100%; margin: 0 auto; }
.hero-img img { width: 100%; height: 100%; object-fit: cover; }
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.ticks li { display: flex; gap: 10px; align-items: flex-start; font-weight: 600; }
.ticks .ico { color: var(--green-dark); margin-top: 2px; stroke-width: 2.6; }
.price-row { display: flex; align-items: baseline; justify-content: center; gap: 12px; flex-wrap: wrap; }
.price-now { font-size: 2.3rem; font-weight: 800; color: var(--gold-dark); font-family: var(--serif); line-height: 1; }
.price-old { font-size: 1.15rem; color: var(--muted); text-decoration: line-through; }
.badge { display: inline-block; padding: 4px 10px; border-radius: 999px; background: var(--green-dark); color: #fff; font-size: .8rem; font-weight: 700; }
.cta-note { text-align: center; font-size: .85rem; color: var(--muted); margin: 10px 0 0; font-weight: 600; }
.hero-cta { display: grid; gap: 4px; }

/* --- Problema / Por qué --- */
.problem-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.why { display: grid; gap: 22px; align-items: center; }
.why p { color: var(--muted); }
.why-box { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.compare { display: grid; gap: 12px; margin-top: 14px; }
.compare div { padding: 14px 16px; border-radius: 12px; font-size: .95rem; }
.compare .bad { background: #FBEDE9; border: 1px solid #F1CFC7; }
.compare .good { background: #EAF4E7; border: 1px solid #C6E0C1; }
.compare strong { display: block; margin-bottom: 2px; }

/* --- Solución (pasos con imagen) --- */
.solution { display: grid; gap: 14px; }
.sol-step { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.sol-step img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: center 45%; }
.sol-step div { padding: 14px 16px 18px; }
.sol-step h3 { display: flex; align-items: center; gap: 10px; }
.sol-step p { margin: 0; color: var(--muted); font-size: .95rem; }
.num { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--gold); color: #fff; font-family: var(--sans); font-size: .95rem; font-weight: 800; flex: none; }

/* --- Pasos de uso --- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.step { position: relative; display: flex; gap: 14px; align-items: flex-start; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; }
.section.alt .step { background: var(--cream); }
.step h3 { margin-bottom: 2px; }
.step p { margin: 0; font-size: .93rem; color: var(--muted); }
.step-num { position: absolute; top: -9px; left: -6px; width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; background: var(--gold); color: #fff; font-weight: 800; font-size: .9rem; box-shadow: 0 2px 6px rgba(0, 0, 0, .2); }

/* --- Antes y después (foto arriba, barra dorada con la etiqueta debajo) --- */
.ba-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 22px; justify-items: center; }
.ba { width: min(100%, 360px); display: grid; gap: 12px; margin: 0 auto; }
.ba figure { margin: 0; border-radius: 14px; overflow: hidden; background: var(--cream-2); border: 3px solid var(--gold); box-shadow: var(--shadow); }
.ba img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.ba figcaption { background: linear-gradient(180deg, #F8D77F, #C98A1B); color: #2A1800; text-align: center; font-weight: 800; font-size: 1.2rem; letter-spacing: .06em; text-transform: uppercase; padding: 8px 10px; border-top: 3px solid var(--gold); }
/* Horizontal: Antes y Después lado a lado (las fotos ya traen su marco y etiqueta) */
.ba-h { width: min(100%, 680px); grid-template-columns: 1fr 1fr; gap: 12px; }
.ba-h figure { border: 0; background: none; box-shadow: none; border-radius: 0; overflow: visible; filter: drop-shadow(0 8px 18px rgba(139, 94, 12, .25)); }
.ba-h img { aspect-ratio: 560 / 585; border-radius: 10px; }
.ba-h .ba-cap { grid-column: 1 / -1; }
.ba-note { text-align: center; font-size: .88rem; color: var(--muted); margin: 18px 0 0; font-style: italic; }
.ba-cap { text-align: center; font-size: .82rem; color: var(--muted); }

/* --- Especificaciones --- */
.specs { width: 100%; border-collapse: collapse; background: var(--white); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.specs th, .specs td { padding: 14px 16px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); font-size: .95rem; }
.specs tr:last-child th, .specs tr:last-child td { border-bottom: 0; }
.specs th { width: 36%; background: var(--cream-2); color: var(--gold-dark); font-weight: 700; }

/* --- Reseñas --- */
.rating-head { display: flex; align-items: center; justify-content: center; gap: 10px; margin-bottom: 20px; flex-wrap: wrap; }
.rating-big { font-family: var(--serif); font-size: 2.2rem; font-weight: 700; color: var(--gold-dark); line-height: 1; }
.stars { display: inline-flex; gap: 2px; vertical-align: middle; }
.stars .on { color: #F0A800; }
.stars .off { color: #E3D6B5; }
.review .stars { margin: 8px 0 6px; }
.review-top { display: flex; align-items: center; gap: 12px; }
.review-top strong { display: block; line-height: 1.2; }
.review-top .muted { font-size: .85rem; }
.avatar { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: linear-gradient(135deg, var(--gold-light), var(--gold)); color: #fff; font-weight: 800; font-size: 1.1rem; }

/* --- FAQ --- */
.faq { max-width: 760px; margin: 0 auto; display: grid; gap: 10px; }
.faq details { background: var(--white); border: 1px solid var(--line); border-radius: 14px; }
.section.alt .faq details { background: var(--cream); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px; font-weight: 700; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .ico { transition: transform .2s; color: var(--gold-dark); }
.faq details[open] summary .ico { transform: rotate(180deg); }
.faq details p { margin: 0; padding: 0 16px 16px; color: var(--muted); }

/* --- CTA final --- */
.final { text-align: center; background: linear-gradient(160deg, #3A2606, #5C3A07); color: #fff; }
.final h2 { color: #fff; }
.final .lead { color: #F3E3BE; }
.offer { display: grid; gap: 12px; max-width: 560px; margin: 0 auto 22px; }
.offer-card { background: rgba(255, 255, 255, .08); border: 1px solid rgba(245, 199, 90, .5); border-radius: 16px; padding: 14px 16px; display: flex; align-items: center; justify-content: space-between; gap: 10px; text-align: left; }
.offer-card strong { display: block; }
.offer-card .p { font-family: var(--serif); font-size: 1.6rem; font-weight: 700; color: var(--gold-light); }
.offer-card s { color: #D9C79B; font-size: .9rem; margin-right: 6px; }
.final .cta-note { color: #F3E3BE; }

/* --- Footer --- */
.site-footer { background: #231805; color: #E8DABA; padding: 34px 0 90px; text-align: center; }
.footer-in { display: grid; gap: 16px; justify-items: center; }
.logo-foot { color: var(--gold-light); padding: 0; }
.foot-links { display: flex; flex-wrap: wrap; gap: 6px 18px; justify-content: center; }
.foot-links button { background: none; border: 0; color: #E8DABA; text-decoration: underline; cursor: pointer; padding: 8px 4px; font-size: .92rem; }
.site-footer .muted { color: #B8A67A; margin: 0; }

/* --- Botón fijo inferior --- */
.sticky-cta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: flex; align-items: center; gap: 12px; padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, .97); border-top: 1px solid var(--line); box-shadow: 0 -6px 20px rgba(0, 0, 0, .12); transform: translateY(110%); transition: transform .25s; }
.sticky-cta.show { transform: none; }
.sticky-cta .btn { flex: 1; min-height: 50px; padding: 10px 14px; }
.sticky-price { display: grid; line-height: 1.1; }
.sticky-price s { color: var(--muted); font-size: .8rem; }
.sticky-price b { font-size: 1.25rem; color: var(--gold-dark); }

/* --- Página de producto --- */
.pdp { padding: 14px 16px 30px; display: grid; gap: 18px; }
.gallery { min-width: 0; }
.g-main { position: relative; }
.g-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; border-radius: 20px; background: var(--white); box-shadow: var(--shadow); -webkit-overflow-scrolling: touch; }
.g-track::-webkit-scrollbar { display: none; }
.g-slide { flex: 0 0 100%; scroll-snap-align: center; aspect-ratio: 3 / 4; }
.g-slide img { width: 100%; height: 100%; object-fit: cover; }
.g-arrow { position: absolute; top: 50%; transform: translateY(-50%); width: 40px; height: 40px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .92); box-shadow: 0 2px 8px rgba(0, 0, 0, .2); display: none; place-items: center; cursor: pointer; }
.g-arrow.prev { left: 10px; } .g-arrow.next { right: 10px; }
.g-count { position: absolute; right: 12px; bottom: 12px; background: rgba(43, 29, 7, .75); color: #fff; font-size: .78rem; padding: 3px 10px; border-radius: 999px; }
.g-thumbs { display: flex; gap: 8px; margin-top: 10px; overflow-x: auto; padding-bottom: 4px; }
.g-thumb { flex: 0 0 64px; height: 64px; padding: 0; border: 2px solid transparent; border-radius: 12px; overflow: hidden; background: var(--white); cursor: pointer; opacity: .75; }
.g-thumb img { width: 100%; height: 100%; object-fit: cover; }
.g-thumb[aria-current="true"] { border-color: var(--gold); opacity: 1; }
.info h1 { font-size: clamp(1.4rem, 5.4vw, 2rem); text-align: left; margin-bottom: 8px; }
.rating-line { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; font-size: .92rem; }
.rating-line a { color: var(--gold-dark); text-decoration: underline; }
.pdp .price-row { justify-content: flex-start; margin-bottom: 8px; }
.stock { display: inline-flex; gap: 6px; align-items: center; font-weight: 700; margin-bottom: 14px; }
.stock.ok { color: var(--green-dark); }
.stock.out { color: var(--red); }
.qty { display: grid; gap: 18px; margin: 18px 0 18px; }
.qty-card { position: relative; display: grid; grid-template-columns: auto 1fr auto; gap: 4px 12px; align-items: center; padding: 14px 14px 14px 12px; background: var(--white); border: 2px solid var(--line); border-radius: 14px; cursor: pointer; }
.qty-card input { position: absolute; opacity: 0; pointer-events: none; }
.qty-card.is-selected { border-color: var(--gold); background: #FFF6DC; box-shadow: 0 0 0 3px rgba(245, 199, 90, .45); }
.qty-card:has(input:focus-visible) { outline: 3px solid var(--gold); outline-offset: 2px; }
.qty-radio { width: 22px; height: 22px; border: 2px solid #B9A57A; border-radius: 50%; display: grid; place-items: center; background: #fff; }
.qty-card.is-selected .qty-radio { border-color: var(--gold); }
.qty-card.is-selected .qty-radio::after { content: ""; width: 12px; height: 12px; border-radius: 50%; background: var(--gold); }
.qty-main { display: grid; line-height: 1.25; min-width: 0; }
.qty-main strong { font-size: .98rem; }
.qty-main .muted { font-size: .8rem; }
.qty-price { text-align: right; display: grid; line-height: 1.15; }
.qty-price b { font-size: 1.2rem; color: var(--gold-dark); }
.qty-price s { color: var(--muted); font-size: .8rem; }
.tag { position: absolute; top: -11px; right: 12px; padding: 3px 10px; border-radius: 999px; font-size: .72rem; font-weight: 800; color: #fff; letter-spacing: .02em; }
.tag-gold { background: var(--gold-dark); }
.tag-red { background: var(--red); }
.trust { list-style: none; padding: 0; margin: 14px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.trust li { display: grid; justify-items: center; gap: 4px; text-align: center; font-size: .78rem; font-weight: 700; color: var(--gold-dark); }
.trust .ico { width: 28px; height: 28px; }
.delivery { display: flex; gap: 10px; align-items: center; margin-top: 14px; padding: 12px 14px; background: #EAF4E7; border: 1px solid #C6E0C1; border-radius: 12px; font-size: .93rem; }
.delivery .ico { color: var(--green-dark); width: 26px; height: 26px; }
.deliv-small { text-align: center; margin: -4px 0 12px; font-size: .9rem; color: var(--green-dark); font-weight: 600; }
/* Aviso de prueba social (cifras reales) */
.proof { position: fixed; left: 12px; bottom: 14px; z-index: 35; max-width: calc(100% - 24px); display: flex; align-items: center; gap: 8px; padding: 10px 14px; background: var(--white); border: 1px solid var(--line); border-radius: 999px; box-shadow: 0 6px 20px rgba(0, 0, 0, .18); font-size: .88rem; opacity: 0; transform: translateY(14px); pointer-events: none; transition: opacity .35s, transform .35s; }
.proof.show { opacity: 1; transform: none; }
.proof .dot { width: 9px; height: 9px; border-radius: 50%; background: #1FB655; box-shadow: 0 0 0 0 rgba(31, 182, 85, .6); animation: live 1.6s infinite; flex: none; }
@keyframes live { 70% { box-shadow: 0 0 0 8px rgba(31, 182, 85, 0); } 100% { box-shadow: 0 0 0 0 rgba(31, 182, 85, 0); } }
body[data-sticky] .proof, body[data-sticky-product] .proof { bottom: 90px; }
.short-desc { margin-top: 20px; color: var(--muted); }
.block { padding: 30px 0 6px; }
.block h2 { text-align: left; font-size: 1.45rem; }
.block .cards-4 { grid-template-columns: 1fr; }
.block .card-icon { text-align: left; display: flex; gap: 14px; align-items: center; }
.block .card-icon .icon-circle { margin: 0; flex: none; }
.block .cards-5 { grid-template-columns: 1fr; }
.block .ing { display: flex; gap: 14px; text-align: left; align-items: center; }
.block .ing-img { margin: 0; width: 72px; height: 72px; flex: none; }
.block .ing-body { flex: 1; min-width: 0; }
.block .ing-body h3 { margin-bottom: 2px; }
.block .ing:last-child { grid-column: auto; }

/* --- Pop-up de pedido --- */
.overlay { position: fixed; inset: 0; z-index: 100; background: rgba(30, 18, 2, .62); display: flex; align-items: flex-end; justify-content: center; animation: fade .2s; }
@keyframes fade { from { opacity: 0; } }
@keyframes rise { from { transform: translateY(40px); opacity: 0; } }
.sheet { background: var(--cream); width: 100%; max-width: 560px; max-height: 94dvh; max-height: 94vh; display: flex; flex-direction: column; border-radius: 22px 22px 0 0; animation: rise .25s; overflow: hidden; }
@supports (height: 1dvh) { .sheet { max-height: 94dvh; } }
.sheet-head { display: flex; align-items: center; justify-content: space-between; padding: 8px 8px 8px 20px; background: var(--white); border-bottom: 1px solid var(--line); }
.sheet-head h2 { margin: 0; font-family: var(--sans); font-size: 1.05rem; font-weight: 800; letter-spacing: .08em; text-align: left; color: var(--gold-dark); }
.sheet-body { padding: 16px 16px 24px; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; }
.prose p { margin-bottom: .8em; }
.mini { display: flex; gap: 12px; align-items: center; background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 10px; margin-bottom: 16px; }
.mini img { width: 64px; height: 64px; border-radius: 10px; object-fit: cover; flex: none; }
.mini-name { font-weight: 700; font-size: .92rem; line-height: 1.3; }
.mini .price-old { font-size: .88rem; margin-right: 6px; }
.mini .price-cur { font-weight: 800; color: var(--gold-dark); font-size: 1.1rem; }
.summary { background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 12px 16px; margin-bottom: 14px; }
.sum-row { display: flex; justify-content: space-between; gap: 12px; padding: 5px 0; font-size: .95rem; }
.sum-row.total { border-top: 1px dashed var(--line); margin-top: 6px; padding-top: 10px; font-weight: 800; font-size: 1.15rem; }
.ship-card { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 14px; border: 2px solid var(--gold); background: #FFF6DC; border-radius: 14px; margin-bottom: 14px; font-weight: 700; }
.ship-card span { display: flex; align-items: center; gap: 10px; }
.ship-card .dot { width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--gold); display: grid; place-items: center; }
.ship-card .dot::after { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--gold); }
.form-intro { font-size: .93rem; color: var(--muted); margin-bottom: 14px; text-align: center; }
.field { margin-bottom: 12px; }
.field label.lbl { display: block; font-size: .85rem; font-weight: 700; margin-bottom: 4px; }
.control { position: relative; display: flex; align-items: center; background: var(--white); border: 2px solid var(--line); border-radius: 12px; }
.control:focus-within { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(245, 199, 90, .45); }
.control > [data-icon] { position: absolute; left: 12px; top: 0; bottom: 0; display: grid; place-items: center; color: var(--gold-dark); pointer-events: none; }
.control input, .control select { width: 100%; min-height: 50px; padding: 10px 12px 10px 42px; border: 0; background: transparent; font: inherit; font-size: 16px; color: var(--ink); outline: 0; border-radius: 12px; -webkit-appearance: none; appearance: none; }
.control select { padding-right: 36px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%238A5A07' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 12px center; }
.control select:disabled { color: #9B8F75; }
.control.phone .prefix { padding: 0 12px 0 14px; font-weight: 700; white-space: nowrap; border-right: 2px solid var(--line); height: 50px; display: flex; align-items: center; }
.control.phone input { padding-left: 12px; }
.field.err .control { border-color: var(--red); }
.err-msg { display: none; color: var(--red); font-size: .82rem; font-weight: 600; margin-top: 4px; }
.field.err .err-msg { display: block; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.bump { display: flex; gap: 12px; align-items: flex-start; padding: 14px; margin: 16px 0; background: #FFFBEE; border: 2px dashed var(--gold); border-radius: 14px; cursor: pointer; }
.bump input { width: 24px; height: 24px; margin-top: 2px; accent-color: var(--green-dark); flex: none; }
.bump img { width: 60px; height: 60px; border-radius: 10px; object-fit: cover; flex: none; background: var(--cream-2); }
.bump p { margin: 0; font-size: .92rem; line-height: 1.4; }
.bump.on { background: #F1F9EE; border-color: var(--green); }
.submit-wrap { padding-top: 6px; }
.submit-small { text-align: center; font-size: .82rem; color: var(--muted); margin: 8px 0 0; }
.form-error { background: #FBEDE9; border: 1px solid #F1CFC7; color: #9B2A1E; padding: 10px 12px; border-radius: 10px; font-size: .9rem; margin-bottom: 12px; display: none; }

/* --- Pantallas "último paso" y "casi listo" --- */
.last-step { text-align: center; padding: 34px 10px; }
.wa-badge { width: 84px; height: 84px; margin: 0 auto 18px; display: grid; place-items: center; border-radius: 50%; background: #1E8E4B; color: #fff; animation: pulse 1.2s infinite; }
.wa-badge .ico { width: 46px; height: 46px; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(30, 142, 75, .5); } 100% { box-shadow: 0 0 0 22px rgba(30, 142, 75, 0); } }
.last-step h3 { font-family: var(--sans); font-size: 1.15rem; }
.ready { position: fixed; inset: 0; z-index: 120; background: var(--cream); overflow-y: auto; }
.ready-in { max-width: 520px; margin: 0 auto; padding: 28px 16px 40px; text-align: center; }
.ready h2 { margin-bottom: 8px; }
.ready-sum { text-align: left; background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 6px 16px; margin: 18px 0; }
.ready-sum div { display: flex; justify-content: space-between; gap: 14px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: .93rem; }
.ready-sum div:last-child { border-bottom: 0; }
.ready-sum span:first-child { color: var(--muted); flex: none; }
.ready-sum span:last-child { text-align: right; font-weight: 700; }
.ready .warn { background: #FFF6DC; border: 1px solid var(--gold-light); border-radius: 12px; padding: 12px 14px; font-size: .92rem; margin-bottom: 16px; }
.ready .btn + .btn { margin-top: 10px; }
.link-btn { background: none; border: 0; text-decoration: underline; color: var(--muted); cursor: pointer; padding: 10px; font-size: .88rem; }

.toast { position: fixed; left: 50%; bottom: 90px; transform: translate(-50%, 20px); background: var(--ink); color: #fff; padding: 10px 18px; border-radius: 999px; font-size: .9rem; opacity: 0; pointer-events: none; transition: .25s; z-index: 200; max-width: 90vw; text-align: center; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* --- Escritorio --- */
@media (min-width: 720px) {
  .cards-4 { grid-template-columns: repeat(4, 1fr); }
  .cards-5 { grid-template-columns: repeat(4, 1fr); }
  .ing:last-child { grid-column: auto; }
  .cards-reviews { grid-template-columns: repeat(3, 1fr); }
  .problem-grid { grid-template-columns: repeat(4, 1fr); }
  .solution { grid-template-columns: repeat(3, 1fr); }
  .steps-4 { grid-template-columns: repeat(4, 1fr); }
  .step { flex-direction: column; }
  .why { grid-template-columns: 1.1fr .9fr; gap: 36px; }
  .compare { grid-template-columns: 1fr 1fr; }
  .offer { grid-template-columns: 1fr 1fr; }
  .section { padding: 64px 0; }
  .hero { padding: 48px 0 56px; }
  .hero-grid { grid-template-columns: 1fr 1fr; gap: 14px 44px; align-items: center; grid-template-areas: "h img" "sub img" "tick img" "price img" "cta img"; }
  .hero-grid > .h { grid-area: h; align-self: end; } .hero-grid > .s { grid-area: sub; } .hero-grid > .hero-img { grid-area: img; } .hero-grid > .t { grid-area: tick; } .hero-grid > .pr { grid-area: price; } .hero-grid > .hero-cta { grid-area: cta; align-self: start; }
  .hero h1, .hero-sub, .hero .price-row { text-align: left; justify-content: flex-start; }
  .hero .cta-note { text-align: left; }
  .sticky-cta { display: none; }
  body[data-sticky], body[data-sticky-product] { padding-bottom: 0; }
  body[data-sticky] .proof, body[data-sticky-product] .proof { bottom: 14px; }
  .hero-img { max-width: none; align-self: center; }
  .site-footer { padding-bottom: 40px; }
  .pdp { grid-template-columns: 1.05fr 1fr; gap: 44px; align-items: start; padding-top: 28px; }
  .gallery { position: sticky; top: 16px; }
  .g-arrow { display: grid; }
  .block .cards-4 { grid-template-columns: repeat(2, 1fr); }
  .block .cards-5 { grid-template-columns: repeat(2, 1fr); }
  .overlay { align-items: center; }
  .sheet { border-radius: 22px; max-height: 90vh; }
}
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }

/* --- Datos del vendedor --- */
.seller { margin: 0; color: #E8DABA; }
.seller a { color: var(--gold-light); }

/* --- Página /gracias --- */
.thanks { padding-top: 26px; padding-bottom: 40px; }
.thanks-card { max-width: 520px; margin: 0 auto; text-align: center; }
.thanks-card h1 { font-size: clamp(1.5rem, 6vw, 2rem); margin-bottom: 8px; }
.ok-badge { width: 76px; height: 76px; margin: 0 auto 14px; display: grid; place-items: center; border-radius: 50%; background: var(--green-dark); color: #fff; }
.ok-badge .ico { width: 42px; height: 42px; stroke-width: 2.6; }
.lead-s { color: var(--muted); margin-bottom: 18px; }
.thanks .ready-sum { margin: 0 0 16px; }
.thanks .warn { background: #FFF6DC; border: 1px solid var(--gold-light); border-radius: 12px; padding: 12px 14px; font-size: .92rem; margin-bottom: 14px; }
.thanks { padding-bottom: 110px; }
