/* ===========================================================
   KIT MAESTRO 3-EN-1 — Página de producto (PDP) estilo Shopify
   Galería + caja de compra fija con selector de paquetes.
   Mobile-first. Inspirado en PDPs de alta conversión.
   =========================================================== */

:root {
  /* Tweakables */
  --brand: #2D5F3F;        /* verde chef */
  --brand-700: #234c33;
  --cta: #E8883C;          /* naranja cálido más claro */
  --cta-700: #d4752a;

  /* Fijos */
  --ink: #15171a;
  --body: #51555b;
  --muted: #8c9098;
  --bg: #FFFFFF;
  --bg-alt: #F6F7F5;
  --line: #e8e9e6;
  --line-strong: #d9dbd6;
  --save: #1f8a4c;
  --save-bg: #e8f5ec;
  --star: #F5A623;
  --warn: #E07A23;

  --maxw: 1180px;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow-sm: 0 1px 2px rgba(20,20,20,.05), 0 1px 3px rgba(20,20,20,.05);
  --shadow-md: 0 6px 20px rgba(20,20,20,.07);
  --shadow-lg: 0 20px 50px rgba(20,20,20,.12);
  --font: "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

/* ===========================================================
   TEMA CÁLIDO / CASEIRO — fondo crema, acentos madera
   (se activa con <html data-theme="calido">)
   =========================================================== */
html[data-theme="calido"] {
  --ink: #2a2018;
  --body: #5e5247;
  --muted: #9a8d7e;
  --bg: #fffdf9;
  --bg-alt: #f4ede2;
  --line: #ece2d4;
  --line-strong: #ddcfbb;
  --save: #2f7d4f;
  --save-bg: #e8f1e6;
  --warn: #c0712a;
  --cta: #E8883C;          /* naranja cálido más claro */
  --cta-700: #d4752a;
}
html[data-theme="calido"] body {
  background:
    radial-gradient(1200px 600px at 100% -5%, #fbf2e4 0%, rgba(251,242,228,0) 55%),
    radial-gradient(1000px 500px at -10% 0%, #f6ece0 0%, rgba(246,236,224,0) 50%),
    var(--bg);
}
html[data-theme="calido"] .site-header { background: rgba(255,253,249,.92); }
html[data-theme="calido"] .gallery__main { background: linear-gradient(180deg,#fbf5ec,#f2e7d6); }
html[data-theme="calido"] .gallery__main img,
html[data-theme="calido"] .pcard__media,
html[data-theme="calido"] .thumb { background: #fffdf9; }
html[data-theme="calido"] .announce { background: var(--brand); }
html[data-theme="calido"] .announce strong { color: #fff; }

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; font-family: var(--font); color: var(--body); background: var(--bg);
  line-height: 1.55; font-size: 16px; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; }
h1,h2,h3,h4 { color: var(--ink); margin: 0; line-height: 1.14; letter-spacing: -.02em; font-weight: 700; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
strong { font-weight: 700; color: var(--ink); }
button { font-family: var(--font); }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 16px; }
.section { padding: 48px 0; }
.section--alt { background: var(--bg-alt); }
.eyebrow { font-size: 12.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--brand); margin-bottom: 10px; }
.h2 { font-size: clamp(24px, 5.5vw, 34px); }
.center { text-align: center; }
.mxauto { margin-left: auto; margin-right: auto; }
.sec-head { max-width: 40em; margin: 0 auto 26px; }

/* ---------- Stars ---------- */
.stars { display: inline-flex; align-items: center; gap: 5px; color: var(--star); }
.stars .lbl { color: var(--muted); font-size: 13px; font-weight: 600; margin-left: 3px; }
.stars .lbl b { color: var(--ink); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-weight: 800; font-size: 16.5px; border: 0; border-radius: 12px; cursor: pointer;
  padding: 16px 24px; line-height: 1; transition: transform .12s ease, background .2s ease, box-shadow .2s ease;
}
.btn--cta { background: var(--cta); color: #fff; box-shadow: 0 6px 18px color-mix(in srgb, var(--cta) 32%, transparent); }
.btn--cta:hover { background: var(--cta-700); transform: translateY(-1px); }
.btn--block { display: flex; width: 100%; }
.btn--lg { padding: 19px 28px; font-size: 17.5px; }
.btn .arrow { font-size: 18px; }

/* ---------- Announcement bar ---------- */
.announce { background: var(--ink); color: #fff; font-size: 13px; font-weight: 600; text-align: center; padding: 9px 14px; }
.announce strong { color: #ffd; }
.announce-ic { display: inline-block; vertical-align: -2px; }
.announce-ic svg { width: 14px; height: 14px; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 40; background: rgba(255,255,255,.94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 56px; }
.brand-logo { display: flex; align-items: center; gap: 9px; font-weight: 800; color: var(--ink); font-size: 18px; letter-spacing: -.02em; }
.brand-logo img { height: 42px; width: auto; display: block; }
.brand-logo .mark { width: 28px; height: 28px; border-radius: 8px; background: var(--brand); display: grid; place-items: center; font-size: 15px; color: #fff; }
.brand-logo .mark svg { width: 17px; height: 17px; }
.header-cta { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; font-size: 14px; color: #fff; background: var(--cta); border-radius: 999px; padding: 9px 18px; }
.header-cta:hover { background: var(--cta-700); }

/* ===========================================================
   PDP — dos columnas
   =========================================================== */
.pdp { padding: 18px 0 40px; }
.pdp-grid { display: grid; gap: 26px; }
.pdp-grid > * { min-width: 0; }

/* ----- Galería ----- */
.gallery { position: relative; }
.gallery__main { position: relative; background: var(--bg-alt); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.gallery__main img { width: 100%; aspect-ratio: 1/1; object-fit: contain; padding: 22px; background: #fff; }
.gallery__badge { position: absolute; top: 14px; left: 14px; z-index: 2; background: var(--cta); color: #fff; font-size: 12px; font-weight: 800; letter-spacing: .03em; text-transform: uppercase; padding: 7px 13px; border-radius: 999px; box-shadow: var(--shadow-sm); white-space: nowrap; }
.gallery__rating { position: absolute; top: 14px; right: 14px; z-index: 2; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 6px 11px; font-size: 12.5px; font-weight: 700; color: var(--ink); display: flex; align-items: center; gap: 6px; box-shadow: var(--shadow-sm); text-decoration: none; cursor: pointer; transition: border-color .15s ease, transform .15s ease; }
.gallery__rating:hover { border-color: var(--brand); transform: translateY(-1px); }
.gallery__rating .stars { font-size: 12px; }
.thumbs-wrap { position: relative; margin-top: 12px; }
.thumbs { display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x proximity; -webkit-overflow-scrolling: touch; scrollbar-width: none; padding: 2px; margin: 0 -2px; scroll-padding-left: 2px; overscroll-behavior-x: contain; min-width: 0; max-width: 100%; cursor: grab; scroll-behavior: smooth; }
.thumbs.dragging { cursor: grabbing; scroll-behavior: auto; scroll-snap-type: none; }
.thumbs.dragging .thumb { pointer-events: none; }
.thumbs::-webkit-scrollbar { display: none; }
/* Flechas de navegación */
.thumb-nav { position: absolute; top: 50%; transform: translateY(-50%); z-index: 3; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line); background: rgba(255,255,255,.96); box-shadow: var(--shadow-sm); display: grid; place-items: center; cursor: pointer; transition: opacity .2s ease, background .15s ease, border-color .15s ease; padding: 0; }
.thumb-nav:hover { border-color: var(--brand); }
.thumb-nav.prev { left: -6px; }
.thumb-nav.next { right: -6px; }
.thumb-nav span { width: 9px; height: 9px; border-right: 2.2px solid var(--ink); border-bottom: 2.2px solid var(--ink); display: block; }
.thumb-nav.prev span { transform: rotate(135deg); margin-left: 3px; }
.thumb-nav.next span { transform: rotate(-45deg); margin-right: 3px; }
.thumb-nav[hidden] { opacity: 0; pointer-events: none; }
/* Barra de progreso/scroll interactiva */
.gscroll { height: 6px; border-radius: 99px; background: var(--line); margin: 12px 6px 0; overflow: hidden; cursor: pointer; touch-action: none; }
.gscroll:hover { background: var(--line-strong); }
.gscroll__fill { display: block; height: 100%; width: 30%; border-radius: 99px; background: var(--brand); transition: width .12s ease, transform .12s ease; transform-origin: left; }
.gscroll.grabbing .gscroll__fill { transition: none; }
.gtabs { display: flex; gap: 8px; margin-top: 14px; }
.gtab { flex: 1; background: #fff; border: 1.5px solid var(--line); border-radius: 999px; padding: 10px 8px; font-family: var(--font); font-size: 13.5px; font-weight: 700; color: var(--body); cursor: pointer; transition: all .15s ease; }
.gtab:hover { border-color: var(--line-strong); }
.gtab.active { background: var(--brand); border-color: var(--brand); color: #fff; }
.thumb { flex: 0 0 auto; width: 76px; scroll-snap-align: start; background: #fff; border: 1.5px solid var(--line); border-radius: 10px; padding: 7px; cursor: pointer; transition: border-color .15s ease; -webkit-tap-highlight-color: transparent; }
.thumb img { width: 100%; aspect-ratio: 1/1; object-fit: contain; }
.thumb.active { border-color: var(--brand); }
.thumb:hover { border-color: var(--line-strong); }

/* ----- Caja de compra ----- */
.buybox { display: flex; flex-direction: column; }
.bb-rating { display: inline-flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 10px; text-decoration: none; cursor: pointer; width: fit-content; }
.bb-rating .pill-rev { font-size: 12.5px; color: var(--muted); transition: color .15s ease; }
.bb-rating:hover .pill-rev { color: var(--brand); }
.bb-rating:hover .pill-rev b { color: var(--brand); }
.rev-arrow { font-weight: 800; color: var(--brand); display: inline-block; transition: transform .15s ease; }
.bb-rating:hover .rev-arrow { transform: translateX(3px); }
.bb-rating .pill-rev b { color: var(--ink); }
.bb-title { font-size: clamp(25px, 6vw, 33px); font-weight: 800; letter-spacing: -.03em; }
.bb-sub { font-size: 15.5px; color: var(--body); margin-top: 8px; }
.bb-sub strong { color: var(--ink); }

.bb-priceline { display: flex; align-items: baseline; gap: 12px; margin: 16px 0 4px; flex-wrap: wrap; }
.bb-priceline .now { font-size: 32px; font-weight: 800; color: var(--ink); letter-spacing: -.02em; }
.cur-suffix { font-size: .42em; font-weight: 800; color: var(--muted); margin-left: 5px; letter-spacing: .02em; vertical-align: .28em; }
.btn-cur { font-size: .72em; font-weight: 800; opacity: .82; }
.bb-priceline .was { font-size: 18px; color: var(--muted); text-decoration: line-through; text-decoration-thickness: 2px; }
.bb-priceline .save-tag { font-size: 12.5px; font-weight: 800; color: var(--save); background: var(--save-bg); padding: 5px 10px; border-radius: 999px; white-space: nowrap; }

.step-label { font-size: 14px; font-weight: 800; color: var(--ink); margin: 22px 0 12px; display: flex; align-items: center; gap: 9px; }
.step-label .n { width: 22px; height: 22px; border-radius: 50%; background: var(--ink); color: #fff; font-size: 12px; display: grid; place-items: center; flex: none; }

/* ----- Selector de paquetes (bundles) ----- */
.bundles { display: flex; flex-direction: column; gap: 12px; }
.bundle {
  position: relative; display: block; width: 100%; text-align: left; cursor: pointer;
  background: #fff; border: 2px solid var(--line); border-radius: var(--radius); padding: 16px 16px 16px 50px;
  transition: border-color .15s ease, box-shadow .15s ease, background .15s ease;
}
.bundle:hover { border-color: var(--line-strong); }
.bundle.sel { border-color: var(--brand); background: color-mix(in srgb, var(--brand) 4%, #fff); box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 14%, transparent); }
.bundle__radio { position: absolute; left: 16px; top: 18px; width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--line-strong); display: grid; place-items: center; transition: border-color .15s ease; }
.bundle.sel .bundle__radio { border-color: var(--brand); }
.bundle.sel .bundle__radio::after { content: ""; width: 11px; height: 11px; border-radius: 50%; background: var(--brand); }
.bundle__top { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.bundle__name { font-size: 16px; font-weight: 800; color: var(--ink); }
.bundle__qty { font-size: 12px; font-weight: 700; color: var(--brand); background: color-mix(in srgb, var(--brand) 10%, #fff); padding: 2px 8px; border-radius: 6px; margin-left: 6px; }
.bundle__price { text-align: right; white-space: nowrap; }
.bundle__price .p-now { font-size: 19px; font-weight: 800; color: var(--ink); }
.bundle__price .p-was { font-size: 13px; color: var(--muted); text-decoration: line-through; display: block; }
.bundle__meta { font-size: 13px; color: var(--body); margin-top: 7px; }
.bundle__gifts { margin-top: 10px; display: flex; flex-wrap: wrap; gap: 6px; }
.gift-chip { font-size: 11.5px; font-weight: 700; color: var(--save); background: var(--save-bg); padding: 4px 9px; border-radius: 999px; display: inline-flex; align-items: center; gap: 5px; }
.bundle__flag { position: absolute; top: -10px; right: 14px; font-size: 10.5px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; color: #fff; background: var(--cta); padding: 4px 10px; border-radius: 999px; box-shadow: var(--shadow-sm); white-space: nowrap; }
.bundle__flag.best { background: var(--brand); }

/* ----- Add to cart + reassurance ----- */
.bb-cart { margin-top: 18px; }
.bb-cart .btn { width: 100%; }
.bb-cart .perkit { text-align: center; font-size: 13px; color: var(--muted); margin-top: 9px; }
.bb-cart .perkit { display: flex; align-items: center; justify-content: center; gap: 6px; }
.bb-cart .perkit .perkit-ic { color: var(--cta); }
.bb-cart .perkit b { color: var(--ink); }

.stock { margin-top: 16px; }
.stock__head { display: flex; align-items: center; gap: 8px; margin-bottom: 9px; }
.live-dot { flex: none; width: 9px; height: 9px; border-radius: 50%; background: var(--cta); position: relative; }
.live-dot::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; background: var(--cta); opacity: .45; animation: livePulse 1.6s ease-out infinite; }
@keyframes livePulse { 0% { transform: scale(.6); opacity: .5; } 100% { transform: scale(2.2); opacity: 0; } }
.stock__bar { height: 8px; border-radius: 999px; background: var(--line); overflow: hidden; }
.stock__fill { height: 100%; width: 30%; border-radius: 999px; background: linear-gradient(90deg, var(--warn), var(--cta)); transition: width .6s cubic-bezier(.2,.7,.3,1); }
.stock__txt { font-size: 12.5px; font-weight: 700; color: var(--warn); display: flex; align-items: center; gap: 7px; }
.stock__txt b { color: var(--cta); font-variant-numeric: tabular-nums; }
.stock__txt b.flash { animation: numFlash .5s ease; }
@keyframes numFlash { 0% { transform: scale(1); } 35% { color: #fff; background: var(--cta); transform: scale(1.18); border-radius: 5px; box-shadow: 0 0 0 4px color-mix(in srgb, var(--cta) 22%, transparent); } 100% { transform: scale(1); } }
.stock__sub { font-size: 12px; color: var(--muted); margin-top: 8px; display: flex; align-items: center; gap: 6px; }
.stock__sub b { color: var(--ink); font-variant-numeric: tabular-nums; }
.eye-ic { display: inline-flex; flex: none; vertical-align: -2px; color: var(--muted); }
.eye-ic svg { width: 14px; height: 14px; }
.perkit-ic { display: inline-flex; flex: none; vertical-align: -2px; }
.perkit-ic svg { width: 15px; height: 15px; }
.stock__txt .perkit-ic { color: var(--cta); }

.bb-assure { margin-top: 18px; border-top: 1px solid var(--line); padding-top: 16px; display: grid; gap: 11px; }
.assure-row { display: flex; align-items: center; gap: 10px; font-size: 13.5px; color: var(--body); }
.assure-row .ic { width: 26px; height: 26px; border-radius: 7px; background: var(--save-bg); color: var(--save); display: grid; place-items: center; font-size: 14px; flex: none; }
.assure-row .ic svg { width: 15px; height: 15px; }
.assure-row b { color: var(--ink); }
.pay-mini { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 4px; }
.pay-mini span { font-size: 10.5px; font-weight: 700; color: var(--body); background: var(--bg-alt); border: 1px solid var(--line); border-radius: 6px; padding: 4px 8px; }

/* ---------- Trust strip ---------- */
.trust { background: var(--bg-alt); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.trust .wrap { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px 16px; padding: 20px 16px; }
.trust-item { display: flex; align-items: center; gap: 9px; color: var(--ink); font-size: 13.5px; font-weight: 600; }
.trust-item .ck { color: var(--save); flex: none; font-size: 16px; }

/* ---------- "Lo que recibes" cards ---------- */
.cards { display: grid; gap: 16px; margin-top: 28px; }
.pcard { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; }
.pcard__media { background: #fff; padding: 16px; position: relative; }
.pcard__media img { width: 100%; aspect-ratio: 4/3; object-fit: contain; }
.pcard__flag { position: absolute; top: 12px; left: 12px; font-size: 11px; font-weight: 800; letter-spacing: .03em; text-transform: uppercase; padding: 5px 10px; border-radius: 999px; }
.flag--buy { background: var(--ink); color: #fff; }
.flag--free { background: var(--save); color: #fff; }
.pcard__body { padding: 15px 16px 18px; border-top: 1px solid var(--line); flex: 1; display: flex; flex-direction: column; }
.pcard__name { font-size: 16px; font-weight: 700; line-height: 1.22; }
.pcard__body .stars { margin-top: 7px; font-size: 13px; }
.pcard__desc { font-size: 13.5px; color: var(--body); margin-top: 9px; }
.pcard__price { margin-top: auto; padding-top: 12px; display: flex; align-items: baseline; gap: 8px; }
.pcard__price .val { font-size: 17px; font-weight: 800; color: var(--ink); }
.pcard__price .lbl { font-size: 12px; color: var(--muted); }
.pcard__price .free { font-size: 14px; font-weight: 800; color: var(--save); }
.pcard__price .strike { text-decoration: line-through; color: var(--muted); font-weight: 700; }

/* ---------- Beneficios ---------- */
.benefits { display: grid; gap: 14px; margin-top: 28px; }
.benefit { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 18px; }
.benefit .ico { width: 46px; height: 46px; border-radius: 12px; background: var(--save-bg); color: var(--brand-700); display: grid; place-items: center; font-size: 22px; margin-bottom: 13px; }
.benefit .ico svg { width: 25px; height: 25px; }
.benefit h3 { font-size: 16px; margin-bottom: 5px; }
.benefit p { font-size: 13.5px; }

/* ---------- Comparativa vs otros ---------- */
.versus { max-width: 640px; margin: 28px auto 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-md); }
.vs-head { display: grid; grid-template-columns: 1.4fr 1fr 1fr; }
.vs-head > div { padding: 16px 12px; text-align: center; font-weight: 800; font-size: 13.5px; }
.vs-head .us { background: var(--brand); color: #fff; }
.vs-head .them { background: var(--bg-alt); color: var(--muted); }
.vs-head .feat { background: #fff; }
.vs-row { display: grid; grid-template-columns: 1.4fr 1fr 1fr; border-top: 1px solid var(--line); align-items: center; }
.vs-row > div { padding: 14px 12px; text-align: center; font-size: 14px; }
.vs-row .feat { text-align: left; font-weight: 600; color: var(--ink); }
.vs-row .us { color: var(--save); font-weight: 800; font-size: 17px; background: color-mix(in srgb, var(--brand) 5%, #fff); }
.vs-row .them { color: var(--muted); font-size: 16px; }

/* ---------- Tabla de precio ---------- */
.price-table { max-width: 480px; margin: 28px auto 0; background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-md); }
.pt-row { display: flex; align-items: center; justify-content: space-between; padding: 14px 20px; border-bottom: 1px solid var(--line); font-size: 14.5px; }
.pt-row .name { color: var(--body); display: flex; align-items: center; gap: 10px; }
.pt-row .name .mini { width: 8px; height: 8px; border-radius: 2px; background: var(--brand); flex: none; }
.pt-row .amt { font-weight: 700; color: var(--ink); }
.pt-row--total { background: var(--bg-alt); font-weight: 800; }
.pt-row--total .name { color: var(--ink); font-weight: 800; }
.pt-row--total .amt { text-decoration: line-through; color: var(--muted); }
.pt-row--today { background: var(--ink); color: #fff; border: 0; }
.pt-row--today .name { color: #fff; font-weight: 800; font-size: 15px; }
.pt-row--today .amt { color: #fff; font-size: 21px; font-weight: 800; }
.pt-save { text-align: center; background: var(--save); color: #fff; padding: 15px; font-weight: 800; font-size: 17px; }
.pt-save b { font-size: 22px; }

/* ---------- Reseñas ---------- */
.reviews { display: grid; gap: 14px; margin-top: 28px; }
.review { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 18px; box-shadow: var(--shadow-sm); }
.review p { font-size: 14.5px; color: var(--ink); margin-top: 9px; }
.review .who { display: flex; align-items: center; gap: 11px; margin-top: 14px; }
.review .av { width: 38px; height: 38px; border-radius: 50%; background: var(--brand); color: #fff; display: grid; place-items: center; font-weight: 800; font-size: 15px; flex: none; }
.review .who .nm { font-weight: 700; color: var(--ink); font-size: 14px; line-height: 1.2; }
.review .who .loc { font-size: 12.5px; color: var(--muted); }
.review .who .verified { margin-left: auto; font-size: 11px; font-weight: 700; color: var(--save); }
.review__photos { display: flex; gap: 8px; margin-top: 13px; }
.review__photos img { width: 72px; height: 72px; object-fit: cover; border-radius: 9px; border: 1px solid var(--line); cursor: pointer; transition: transform .12s ease; }
.review__photos img:hover { transform: scale(1.04); }

/* ---------- Fotos de clientes (strip) ---------- */
.cust { margin-top: 26px; }
.cust-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.cust-grid figure { margin: 0; position: relative; border-radius: var(--radius-sm); overflow: hidden; border: 1px solid var(--line); cursor: pointer; aspect-ratio: 1/1; background: var(--bg-alt); }
.cust-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .25s ease; }
.cust-grid figure:hover img { transform: scale(1.05); }
.cust-grid figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 18px 10px 8px; font-size: 11.5px; font-weight: 600; color: #fff; background: linear-gradient(transparent, rgba(0,0,0,.6)); display: flex; align-items: center; gap: 5px; }
.cust-grid .stars { color: var(--star); font-size: 10px; }

/* ---------- Lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 90; background: rgba(15,12,8,.86); display: none; align-items: center; justify-content: center; padding: 24px; }
.lightbox.open { display: flex; }
.lightbox img { max-width: 100%; max-height: 88vh; border-radius: 12px; box-shadow: var(--shadow-lg); }
.lightbox__close { position: absolute; top: 18px; right: 20px; width: 42px; height: 42px; border-radius: 50%; border: 0; background: rgba(255,255,255,.15); color: #fff; font-size: 22px; cursor: pointer; }
.lightbox__close:hover { background: rgba(255,255,255,.28); }

/* ---------- FAQ ---------- */
.faq { max-width: 720px; margin: 22px auto 0; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q { width: 100%; background: none; border: 0; cursor: pointer; text-align: left; font-size: 16px; font-weight: 700; color: var(--ink); padding: 19px 40px 19px 2px; position: relative; }
.faq-q .ic { position: absolute; right: 4px; top: 50%; transform: translateY(-50%); transition: transform .25s ease; color: var(--brand); font-size: 22px; }
.faq-item.open .faq-q .ic { transform: translateY(-50%) rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq-a-inner { padding: 0 2px 19px; font-size: 14.5px; color: var(--body); }

/* ---------- CTA final ---------- */
.final-cta { background: var(--brand); color: #fff; text-align: center; }
.final-cta h2 { color: #fff; font-size: clamp(25px, 6.5vw, 36px); }
.final-cta .sub { color: rgba(255,255,255,.85); margin-top: 12px; font-size: 15.5px; }
.final-cta .sub strong { color: #fff; }
.countdown { display: inline-flex; gap: 9px; margin: 24px 0 6px; }
.cd-box { background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.2); border-radius: 12px; padding: 12px 6px; min-width: 62px; text-align: center; }
.cd-box .num { font-size: 28px; font-weight: 800; color: #fff; line-height: 1; font-variant-numeric: tabular-nums; }
.cd-box .lab { font-size: 10.5px; text-transform: uppercase; letter-spacing: .1em; color: rgba(255,255,255,.7); margin-top: 6px; }
.final-cta .btn--cta { margin-top: 14px; }
.final-cta .guarantee { margin-top: 15px; font-size: 13px; color: rgba(255,255,255,.8); }

/* ---------- Sticky buy bar (móvil) ---------- */
.buybar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; background: rgba(255,255,255,.97); backdrop-filter: blur(10px); border-top: 1px solid var(--line-strong); box-shadow: 0 -6px 20px rgba(20,20,20,.08); padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); display: flex; align-items: center; gap: 12px; transform: translateY(120%); transition: transform .3s ease; visibility: hidden; }
.buybar.show { transform: translateY(0); visibility: visible; }
.buybar .bb-price { line-height: 1.05; }
.buybar .bb-now { font-size: 18px; font-weight: 800; color: var(--ink); }
.buybar .bb-was { font-size: 12px; color: var(--muted); text-decoration: line-through; }
.buybar .btn { flex: 1; padding: 13px 16px; font-size: 15px; }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: rgba(255,255,255,.62); padding: 0 0 110px; font-size: 13.5px; }
.footer .wrap { padding-top: 0; }

.foot-news { display: flex; flex-direction: column; gap: 16px; padding: 32px 0 28px; border-bottom: 1px solid rgba(255,255,255,.12); }
.foot-news h3 { color: #fff; font-size: 19px; margin-bottom: 4px; }
.foot-news p { font-size: 14px; max-width: 34em; }
.foot-form { display: flex; gap: 9px; flex-wrap: wrap; }
.foot-form input { flex: 1; min-width: 200px; border: 1px solid rgba(255,255,255,.2); background: rgba(255,255,255,.07); color: #fff; border-radius: 11px; padding: 14px 16px; font-family: var(--font); font-size: 15px; }
.foot-form input::placeholder { color: rgba(255,255,255,.45); }
.foot-form input:focus { outline: none; border-color: rgba(255,255,255,.45); }
.foot-form .btn { padding: 14px 22px; font-size: 15px; }

.foot-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 22px; padding: 30px 0; }
.foot-brandcol { grid-column: 1 / -1; }
.foot-col h4 { color: #fff; font-size: 13px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 14px; }
.foot-col .brand-logo { color: #fff; margin-bottom: 12px; }
.foot-col .brand-logo img { height: 64px; }
.foot-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.foot-col ul li { font-size: 13.5px; }
.foot-col a:hover { color: #fff; }
.eyebrow-ic { display: inline-flex; vertical-align: -3px; color: var(--brand); }
.eyebrow-ic svg { width: 15px; height: 15px; }
.foot-ic { display: inline-flex; vertical-align: -3px; margin-right: 7px; color: var(--brand); }
html[data-theme="calido"] .foot-ic { color: #9ec7a9; }
.foot-ic svg { width: 15px; height: 15px; }
.foot-contact li { display: flex; align-items: center; color: rgba(255,255,255,.72); }
.foot-contact .foot-ic { margin-right: 9px; }

.foot-bottom { border-top: 1px solid rgba(255,255,255,.12); padding: 22px 0 0; }
.footer .pay { display: flex; gap: 8px; flex-wrap: wrap; margin: 0 0 14px; }
.footer .pay span { background: rgba(255,255,255,.1); border-radius: 6px; padding: 5px 10px; font-size: 11px; font-weight: 700; color: #fff; }
.foot-copy { font-size: 12.5px; color: rgba(255,255,255,.5); }

/* ===========================================================
   Responsive
   =========================================================== */
@media (min-width: 720px) {
  .section { padding: 64px 0; }
  .trust .wrap { grid-template-columns: repeat(4, 1fr); }
  .cards { grid-template-columns: repeat(3, 1fr); }
  .benefits { grid-template-columns: repeat(2, 1fr); }
  .reviews { grid-template-columns: repeat(2, 1fr); }
  .cust-grid { grid-template-columns: repeat(4, 1fr); }
  .cd-box { min-width: 78px; padding: 15px 10px; }
}

@media (min-width: 960px) {
  .pdp { padding: 30px 0 56px; }
  .pdp-grid { grid-template-columns: 1.05fr .95fr; gap: 44px; align-items: start; }
  .gallery { position: sticky; top: 76px; }
  .benefits { grid-template-columns: repeat(4, 1fr); }
  .reviews { grid-template-columns: repeat(3, 1fr); }
  .buybar { display: none !important; }
  .foot-news { flex-direction: row; align-items: center; justify-content: space-between; }
  .foot-news > div { flex: 1; }
  .foot-form { flex: none; width: 420px; }
  .foot-cols { grid-template-columns: 2fr 1.2fr 1fr 1fr; gap: 32px; }
  .foot-brandcol { grid-column: auto; }
  .foot-bottom { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
  .footer .pay { margin: 0; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; transition: none !important; }
}
