/*
Theme Name: De Mano a Mano
Description: Tienda de contraentrega para WooCommerce y Dropi. Diseño claro, pensado para Google Ads.
Version: 1.0.0
Text Domain: dmam
*/
/* De Mano a Mano — tienda. Diseño claro y limpio, pensado para celular primero (la mayoría del tráfico de anuncios entra por ahí). */
:root {
  --bg: #ffffff;
  --soft: #f7f5f1;
  --soft-2: #efece6;
  --ink: #0f2557;
  --muted: #5c6370;
  --line: #e8e5df;
  --accent: #f26b1d;
  --accent-dark: #d95a10;
  --accent-soft: #fff1e8;
  --wa: #1fa855;
  --wa-dark: #178a45;
  --danger: #c0392b;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 1px 2px rgba(20, 23, 31, 0.05), 0 12px 32px rgba(20, 23, 31, 0.08);
  --shadow-sm: 0 1px 2px rgba(20, 23, 31, 0.06), 0 4px 14px rgba(20, 23, 31, 0.06);
  --wrap: 1160px;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, p { margin: 0; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- barra superior ---------- */
.topbar { background: var(--ink); color: #fff; font-size: 13px; }
.topbar .wrap { display: flex; justify-content: center; gap: 28px; padding-top: 9px; padding-bottom: 9px; flex-wrap: wrap; }
.topbar span { display: inline-flex; align-items: center; gap: 7px; opacity: 0.92; }
.topbar svg { width: 15px; height: 15px; flex: none; }
@media (max-width: 640px) { .topbar .wrap { gap: 14px; font-size: 12px; } .topbar span:nth-child(3) { display: none; } }

/* ---------- encabezado ---------- */
.header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, 0.92); backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid var(--line); }
.header .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 16px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 800; letter-spacing: -0.02em; font-size: 19px; }
.logo-mark { width: 34px; height: 34px; border-radius: 10px; background: var(--ink); display: grid; place-items: center; }
.logo-mark svg { width: 20px; height: 20px; }
.logo small { display: block; font-size: 10.5px; font-weight: 600; color: var(--muted); letter-spacing: 0.08em; text-transform: uppercase; margin-top: -2px; }
.nav { display: flex; align-items: center; gap: 26px; font-size: 14.5px; font-weight: 600; }
.nav a { text-decoration: none; color: var(--muted); }
.nav a:hover { color: var(--ink); }
.nav a.btn-wa, .nav a.btn-wa:hover { color: #fff; }
@media (max-width: 760px) { .nav a:not(.btn) { display: none; } }

/* ---------- botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 14px 26px; border-radius: 999px; border: 0; cursor: pointer;
  font: inherit; font-weight: 700; font-size: 16px; text-decoration: none; line-height: 1.1;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 8px 22px rgba(242, 107, 29, 0.32); }
.btn-primary:hover { background: var(--accent-dark); box-shadow: 0 10px 26px rgba(242, 107, 29, 0.42); }
.btn-wa { background: var(--wa); color: #fff; }
.btn-wa:hover { background: var(--wa-dark); }
.btn-ghost { background: #fff; color: var(--ink); border: 1.5px solid var(--line); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-sm { padding: 10px 18px; font-size: 14px; }
.btn-block { width: 100%; padding: 17px 24px; font-size: 17px; }
.btn svg { width: 19px; height: 19px; flex: none; }

/* ---------- producto (hero de la página de venta) ---------- */
.product { padding: 34px 0 56px; }
.crumbs { font-size: 13px; color: var(--muted); margin-bottom: 18px; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.product-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 52px; align-items: start; }
@media (max-width: 920px) { .product-grid { grid-template-columns: 1fr; gap: 28px; } }

.gallery { position: sticky; top: 92px; }
@media (max-width: 920px) { .gallery { position: static; } }
.gallery-main { position: relative; aspect-ratio: 1 / 1; border-radius: var(--radius); overflow: hidden; background: var(--soft); border: 1px solid var(--line); }
.slide { position: absolute; inset: 0; opacity: 0; transition: opacity 0.25s ease; background-repeat: no-repeat; background-color: var(--soft); }
.slide.active { opacity: 1; }
.badge-float { position: absolute; top: 14px; left: 14px; z-index: 2; background: var(--ink); color: #fff; font-size: 12px; font-weight: 700; padding: 7px 12px; border-radius: 999px; letter-spacing: 0.02em; }
.thumbs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; margin-top: 12px; }
.thumb { aspect-ratio: 1 / 1; border-radius: 12px; border: 2px solid transparent; background-color: var(--soft); background-repeat: no-repeat; cursor: pointer; padding: 0; outline: 1px solid var(--line); outline-offset: -1px; transition: border-color 0.15s; }
.thumb.active { border-color: var(--ink); }
.thumb:hover { border-color: var(--muted); }

/* recortes de las fotos del proveedor (cada foto trae varios paneles juntos) */
.crop-producto { position: relative; background-color: #fff; }
.slide.crop-producto { position: absolute; }
.crop-producto::before { content: ""; position: absolute; top: 3%; bottom: 3%; left: 50%; transform: translateX(-50%); aspect-ratio: 880 / 1060; background: url("assets/masajeador-panel-accesorios.webp") no-repeat; background-size: 150% auto; background-position: 9% 0; }
.crop-blanco { background-image: url("assets/masajeador-fondo-blanco.webp"); background-size: contain; background-position: center; background-color: #fff; }
.crop-uso-1 { background-image: url("assets/masajeador-uso.webp"); background-size: 237% auto; background-position: 93.4% 0; }
.crop-uso-2 { background-image: url("assets/masajeador-uso.webp"); background-size: 237% auto; background-position: 93.4% 94%; }
.crop-accesorios { background-image: url("assets/masajeador-panel-accesorios.webp"); background-size: 396% auto; background-position: 93.7% 5%; }

.buybox .eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; color: var(--accent-dark); background: var(--accent-soft); padding: 6px 12px; border-radius: 999px; }
.buybox h1 { font-size: clamp(28px, 4.2vw, 40px); line-height: 1.12; letter-spacing: -0.03em; font-weight: 800; margin: 14px 0 10px; }
.lead { color: var(--muted); font-size: 17px; }
.price-row { display: flex; align-items: baseline; gap: 12px; margin: 22px 0 6px; flex-wrap: wrap; }
.price { font-size: 38px; font-weight: 800; letter-spacing: -0.03em; }
.price small { font-size: 15px; font-weight: 600; color: var(--muted); letter-spacing: 0; margin-left: 4px; }
.price-note { font-size: 14px; color: var(--muted); }
.ticks { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 10px; }
.ticks li { display: flex; gap: 11px; align-items: flex-start; font-size: 15.5px; }
.ticks svg { width: 20px; height: 20px; flex: none; color: var(--wa); margin-top: 2px; }

/* ---------- formulario de pedido ---------- */
.order { margin-top: 26px; border: 1.5px solid var(--ink); border-radius: var(--radius); padding: 22px; background: #fff; box-shadow: var(--shadow-sm); }
.order h2 { font-size: 19px; font-weight: 800; letter-spacing: -0.02em; }
.order .sub { font-size: 14px; color: var(--muted); margin-top: 3px; }
.qty { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 16px 0 4px; }
.qty label { position: relative; border: 1.5px solid var(--line); border-radius: var(--radius-sm); padding: 12px 14px; cursor: pointer; display: block; transition: border-color 0.15s, background 0.15s; }
.qty input { position: absolute; opacity: 0; }
.qty label:has(input:checked) { border-color: var(--accent); background: var(--accent-soft); }
.qty b { display: block; font-size: 15px; }
.qty span { font-size: 13.5px; color: var(--muted); }
.qty .tag { position: absolute; top: -10px; right: 10px; background: var(--accent); color: #fff; font-size: 11px; font-weight: 800; padding: 3px 9px; border-radius: 999px; }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 14px; }
.field { display: grid; gap: 5px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 13px; font-weight: 700; }
.field input, .field select { font: inherit; font-size: 16px; padding: 13px 14px; border: 1.5px solid var(--line); border-radius: var(--radius-sm); background: #fff; color: var(--ink); width: 100%; }
.field input:focus, .field select:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(20, 23, 31, 0.08); }
.field .hint { font-size: 12.5px; color: var(--muted); }
.field .hint a { color: var(--wa-dark); font-weight: 700; }
.field .err { display: none; color: var(--danger); font-size: 12.5px; font-weight: 600; }
.field.bad input, .field.bad select { border-color: var(--danger); }
.field.bad .err { display: block; }
@media (max-width: 520px) { .fields { grid-template-columns: 1fr; } }
.order .btn-primary { margin-top: 18px; }
.order .fine { font-size: 12.5px; color: var(--muted); text-align: center; margin-top: 12px; }
.trust-mini { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 18px; }
.trust-mini div { text-align: center; font-size: 12.5px; font-weight: 600; color: var(--muted); padding: 12px 6px; background: var(--soft); border-radius: var(--radius-sm); line-height: 1.3; }
.trust-mini svg { width: 22px; height: 22px; margin: 0 auto 6px; color: var(--ink); }

/* ---------- secciones ---------- */
section { padding: 72px 0; }
.alt { background: var(--soft); }
.kicker { font-size: 13px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent-dark); }
.title { font-size: clamp(26px, 3.6vw, 38px); letter-spacing: -0.03em; line-height: 1.15; font-weight: 800; margin-top: 10px; }
.center { text-align: center; }
.center .lead { max-width: 640px; margin: 14px auto 0; }
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 40px; }
@media (max-width: 960px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .cards { grid-template-columns: 1fr; } }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.card .ico { width: 46px; height: 46px; border-radius: 13px; background: var(--accent-soft); color: var(--accent-dark); display: grid; place-items: center; margin-bottom: 16px; }
.card .ico svg { width: 24px; height: 24px; }
.card h3 { font-size: 17.5px; letter-spacing: -0.015em; margin-bottom: 6px; }
.card p { font-size: 15px; color: var(--muted); }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; gap: 28px; } }
.photo { aspect-ratio: 1 / 1; border-radius: var(--radius); background-repeat: no-repeat; background-color: var(--soft-2); box-shadow: var(--shadow); }
.steps { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 18px; counter-reset: s; }
.steps li { display: grid; grid-template-columns: 40px 1fr; gap: 14px; counter-increment: s; }
.steps li::before { content: counter(s); width: 40px; height: 40px; border-radius: 50%; background: var(--ink); color: #fff; font-weight: 800; display: grid; place-items: center; }
.steps b { display: block; font-size: 16.5px; }
.steps span { color: var(--muted); font-size: 15px; }

.includes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 34px; }
@media (max-width: 760px) { .includes { grid-template-columns: 1fr; } }
.inc { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; display: flex; gap: 14px; align-items: center; font-weight: 600; }
.inc svg { width: 28px; height: 28px; color: var(--accent-dark); flex: none; }

.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 40px; }
@media (max-width: 860px) { .quotes { grid-template-columns: 1fr; } }
.quote { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.stars { color: #f5a524; letter-spacing: 2px; font-size: 16px; }
.quote p { margin: 12px 0 16px; font-size: 16px; }
.quote .who { font-size: 14px; font-weight: 700; }
.quote .who small { display: block; font-weight: 500; color: var(--muted); }

.guarantee { background: var(--ink); color: #fff; border-radius: 26px; padding: 44px; display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center; }
@media (max-width: 820px) { .guarantee { grid-template-columns: 1fr; padding: 30px 24px; } }
.guarantee h2 { font-size: clamp(26px, 3.4vw, 36px); letter-spacing: -0.03em; line-height: 1.15; }
.guarantee p { color: rgba(255, 255, 255, 0.78); margin-top: 12px; }
.g-steps { display: grid; gap: 12px; }
.g-step { background: rgba(255, 255, 255, 0.08); border-radius: var(--radius-sm); padding: 14px 16px; font-size: 15px; }
.g-step b { color: #fff; }

details { border-bottom: 1px solid var(--line); }
details:first-of-type { border-top: 1px solid var(--line); }
summary { list-style: none; cursor: pointer; padding: 20px 4px; font-weight: 700; font-size: 17px; display: flex; justify-content: space-between; gap: 16px; align-items: center; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font-size: 26px; font-weight: 400; color: var(--muted); transition: transform 0.2s; line-height: 1; }
details[open] summary::after { transform: rotate(45deg); }
details p { padding: 0 4px 20px; color: var(--muted); max-width: 760px; }
.faq { max-width: 820px; margin: 36px auto 0; }

.final { text-align: center; }
.final .btn { margin-top: 26px; }

/* ---------- portada ---------- */
.hero { padding: 56px 0 72px; background: linear-gradient(180deg, var(--soft) 0%, #fff 100%); }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; gap: 30px; } }
.hero h1 { font-size: clamp(34px, 5.4vw, 58px); line-height: 1.04; letter-spacing: -0.04em; font-weight: 800; margin: 16px 0 16px; }
.hero .lead { font-size: 18px; max-width: 520px; }
.hero .actions { display: flex; gap: 12px; margin-top: 28px; flex-wrap: wrap; }
.hero-photo { aspect-ratio: 1 / 1; border-radius: 28px; overflow: hidden; box-shadow: var(--shadow); background: #fff; border: 1px solid var(--line); }
.hero-photo .crop-blanco { width: 100%; height: 100%; }
.trust-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 44px; }
@media (max-width: 860px) { .trust-strip { grid-template-columns: repeat(2, 1fr); } }
.t-item { display: flex; gap: 12px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 14px 16px; font-size: 14px; font-weight: 700; line-height: 1.3; }
.t-item svg { width: 26px; height: 26px; flex: none; color: var(--accent-dark); }
.t-item small { display: block; font-weight: 500; color: var(--muted); font-size: 12.5px; }
.catalog { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 40px; }
@media (max-width: 900px) { .catalog { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .catalog { grid-template-columns: 1fr; } }
.p-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; text-decoration: none; display: flex; flex-direction: column; transition: transform 0.2s, box-shadow 0.2s; }
.p-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.p-card .img { aspect-ratio: 1 / 1; background-repeat: no-repeat; }
.p-card .body { padding: 18px 20px 22px; display: grid; gap: 6px; }
.p-card h3 { font-size: 17px; letter-spacing: -0.015em; }
.p-card .cat { font-size: 12px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.p-card .pp { font-size: 20px; font-weight: 800; letter-spacing: -0.02em; margin-top: 4px; }
.p-card .go { font-size: 14px; font-weight: 700; color: var(--accent-dark); margin-top: 6px; }
.soon { background: var(--soft); border: 1.5px dashed var(--line); border-radius: var(--radius); display: grid; place-items: center; text-align: center; padding: 30px; color: var(--muted); font-weight: 600; min-height: 280px; }

/* ---------- pie ---------- */
.footer { background: #0a1a40; color: rgba(255, 255, 255, 0.72); padding: 56px 0 110px; font-size: 14.5px; }
.footer .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 36px; }
@media (max-width: 760px) { .footer .cols { grid-template-columns: 1fr; } }
.footer h4 { color: #fff; margin: 0 0 12px; font-size: 14px; letter-spacing: 0.04em; }
.footer a { display: block; text-decoration: none; padding: 4px 0; }
.footer a:hover { color: #fff; }
.footer .logo { color: #fff; }
.footer .logo-mark { background: #fff; }
.footer .legal { border-top: 1px solid rgba(255, 255, 255, 0.12); margin-top: 36px; padding-top: 20px; font-size: 12.5px; }

/* ---------- barra fija en celular + botón de WhatsApp ---------- */
.sticky-cta { display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; background: #fff; border-top: 1px solid var(--line); padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); box-shadow: 0 -8px 24px rgba(20, 23, 31, 0.08); gap: 12px; align-items: center; transform: translateY(110%); transition: transform 0.25s ease; }
.sticky-cta.show { transform: none; }
.sticky-cta .p { line-height: 1.15; }
.sticky-cta .p b { font-size: 19px; font-weight: 800; letter-spacing: -0.02em; display: block; }
.sticky-cta .p span { font-size: 12px; color: var(--muted); }
.sticky-cta .btn { flex: 1; padding: 14px 18px; }
@media (max-width: 920px) { .sticky-cta { display: flex; } }
.wa-float { position: fixed; right: 18px; bottom: 22px; z-index: 55; width: 58px; height: 58px; border-radius: 50%; background: var(--wa); display: grid; place-items: center; box-shadow: 0 10px 26px rgba(31, 168, 85, 0.45); transition: transform 0.15s, bottom 0.25s; }
.wa-float:hover { transform: scale(1.06); }
.wa-float svg { width: 30px; height: 30px; color: #fff; }
@media (max-width: 920px) { .wa-float { bottom: 88px; width: 52px; height: 52px; } }

/* ---------- páginas de políticas ---------- */
.doc { max-width: 760px; margin: 0 auto; padding: 48px 20px 80px; }
.doc h1 { font-size: 34px; letter-spacing: -0.03em; margin-bottom: 8px; }
.doc h2 { font-size: 22px; letter-spacing: -0.02em; margin: 38px 0 10px; }
.doc p, .doc li { color: #3a404c; }
.doc ul { padding-left: 20px; }
.doc .nota { background: var(--accent-soft); border-radius: var(--radius-sm); padding: 14px 16px; font-size: 14px; color: #7a3a10; margin: 18px 0; }

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

/* ---------- extras del tema WordPress ---------- */
.slide.img, .thumb.img, .photo.img { background-size: contain; background-position: center; background-repeat: no-repeat; background-color: #fff; }
.p-card .img.img-fit { background-size: contain; background-position: center; background-repeat: no-repeat; background-color: #fff; }
.hp { position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.form-error { margin: 14px 0 0; padding: 12px 14px; border-radius: 12px; background: #fdecea; color: #8a2a20; font-size: 14px; font-weight: 600; }
.form-error a { color: #8a2a20; text-decoration: underline; }
.admin-bar .header { top: 32px; }


/* ---------- mejoras de la portada ---------- */
.hero-collage { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.hc { position: relative; aspect-ratio: 1 / 1; border-radius: 22px; overflow: hidden; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); display: block; transition: transform 0.2s, box-shadow 0.2s; }
.hc:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.hc .img { width: 100%; height: 100%; aspect-ratio: auto; background-repeat: no-repeat; }
.hc-price { position: absolute; left: 10px; bottom: 10px; background: rgba(20, 23, 31, 0.88); color: #fff; font-weight: 800; font-size: 14px; letter-spacing: -0.01em; padding: 6px 11px; border-radius: 999px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 28px; }
.chip { font: inherit; font-size: 14px; font-weight: 700; padding: 9px 18px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; color: var(--ink); cursor: pointer; transition: background 0.15s, border-color 0.15s, color 0.15s; }
.chip:hover { border-color: var(--ink); }
.chip.active { background: var(--ink); border-color: var(--ink); color: #fff; }
.chips + .catalog { margin-top: 28px; }
.p-card .ship { font-size: 12.5px; color: var(--wa-dark); font-weight: 700; }
.how { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 40px; }
@media (max-width: 820px) { .how { grid-template-columns: 1fr; } }
.how .n { width: 42px; height: 42px; border-radius: 50%; background: var(--ink); color: #fff; font-weight: 800; display: grid; place-items: center; margin-bottom: 14px; }
.steps-solo { max-width: 640px; margin: 28px auto 0; }

/* ---------- logo de la marca ---------- */
:root { --gold: #9a6b00; }
.logo-img { width: 46px; height: 46px; border-radius: 10px; flex: none; object-fit: contain; background: #fff; }
.logo small { text-transform: none; letter-spacing: 0; font-size: 12.5px; font-weight: 600; color: var(--gold); margin-top: -1px; }
.footer .logo small { color: #e8b84a; }


/* ---------- entrega estimada, preguntas y otros productos ---------- */
.entrega { display: flex; gap: 10px; align-items: flex-start; margin-top: 12px; padding: 11px 14px; border-radius: var(--radius-sm); background: var(--accent-soft); color: #7a3a10; font-size: 14px; font-weight: 600; line-height: 1.4; }
.entrega svg { width: 22px; height: 22px; flex: none; margin-top: 1px; }
.ask { text-align: center; margin-top: 12px; font-size: 14px; color: var(--muted); }
.ask a { color: var(--wa-dark); font-weight: 700; }
.catalog-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1000px) { .catalog-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .catalog-4 { grid-template-columns: 1fr 1fr; gap: 12px; } .catalog-4 .p-card .body { padding: 12px 12px 16px; } .catalog-4 .p-card h3 { font-size: 14.5px; } .catalog-4 .p-card .pp { font-size: 17px; } }


/* ---------- interactividad: visor de fotos, aparición suave, buscador de regalos, compartir ---------- */
.gallery-main.zoomable { cursor: zoom-in; }
.gallery-main.zoomable::after { content: "Toca para ampliar"; position: absolute; right: 12px; bottom: 12px; z-index: 2; background: rgba(15, 37, 87, 0.82); color: #fff; font-size: 12px; font-weight: 700; padding: 6px 11px; border-radius: 999px; pointer-events: none; }
body.lb-abierto { overflow: hidden; }
.lb { position: fixed; inset: 0; z-index: 200; background: rgba(8, 18, 45, 0.94); display: flex; align-items: center; justify-content: center; padding: 56px 12px 40px; animation: lbIn 0.18s ease; }
.lb[hidden] { display: none; }
@keyframes lbIn { from { opacity: 0; } to { opacity: 1; } }
.lb-img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 12px; background: #fff; box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5); }
.lb-x { position: absolute; top: 10px; right: 14px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, 0.14); color: #fff; font-size: 30px; line-height: 1; cursor: pointer; }
.lb-n { position: absolute; top: 50%; transform: translateY(-50%); width: 46px; height: 46px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, 0.16); color: #fff; font-size: 34px; line-height: 1; cursor: pointer; }
.lb-prev { left: 10px; }
.lb-next { right: 10px; }
.lb.solo .lb-n, .lb.solo .lb-count { display: none; }
.lb-x:hover, .lb-n:hover { background: rgba(255, 255, 255, 0.28); }
.lb-count { position: absolute; bottom: 12px; left: 0; right: 0; text-align: center; color: rgba(255, 255, 255, 0.8); font-size: 13px; font-weight: 700; }

.js-reveal .reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.55s ease, transform 0.55s ease; }
.js-reveal .reveal.in { opacity: 1; transform: none; }
.p-card .img { transition: transform 0.5s ease; }
.p-card:hover .img { transform: scale(1.05); }

.chips-left { justify-content: flex-start; margin-top: 12px; }
.quiz { max-width: 860px; margin: 34px auto 0; background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 28px; box-shadow: var(--shadow-sm); }
.quiz-q + .quiz-q { margin-top: 22px; }
.quiz-q > b { font-size: 16px; }
.quiz-res { margin-top: 26px; padding-top: 22px; border-top: 1px dashed var(--line); }
.quiz-hint { color: var(--muted); font-size: 15px; font-weight: 600; text-align: center; margin: 0 0 16px; }
.quiz-hint a { color: var(--wa-dark); text-decoration: underline; }
.quiz-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 270px)); gap: 18px; justify-content: center; margin-bottom: 18px; }
@media (max-width: 520px) { .quiz { padding: 20px 16px; } }

.xmas { margin-top: 14px; font-size: 14.5px; font-weight: 700; color: var(--accent-dark); }
.xmas[hidden] { display: none; }
.share { display: inline-flex; align-items: center; gap: 8px; margin-top: 10px; padding: 8px 14px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; color: var(--ink); font: inherit; font-size: 13.5px; font-weight: 700; cursor: pointer; transition: border-color 0.15s, background 0.15s; }
.share:hover { border-color: var(--ink); background: var(--soft); }
.share svg { width: 16px; height: 16px; }

.field.ok input, .field.ok select { border-color: #1fa855; }
.field.ok:not(.bad) input, .field.ok:not(.bad) select { background-image: none; }
.btn-primary { transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease; }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(242, 107, 29, 0.35); }
.btn-primary:active { transform: translateY(0); }

/* El collage de la portada: las fotos se ven completas y centradas (antes solo se mostraba una esquina de las fotos grandes). */
.hc .img.img-fit { background-size: contain; background-position: center; background-repeat: no-repeat; background-color: #fff; }
