/* =============================================================
   creaconlucas — Tienda simple, paleta azul clarito
   ============================================================= */

/* =============================================================
   1. Tokens
   ============================================================= */
:root {
  --bg:         #eaf3fa;   /* azul clarito de fondo */
  --bg-2:       #dbeaf4;   /* azul un pelín más saturado */
  --bg-soft:    #f5fafd;   /* casi blanco azulado */
  --paper:      #ffffff;
  --ink:        #1a2b3d;   /* azul muy oscuro casi negro */
  --ink-soft:   #2f4660;
  --ink-mute:   #647689;
  --ink-faint:  #9fb1c2;
  --accent:     #4a90c8;   /* azul medio */
  --accent-dk:  #2e6da5;
  --accent-lt:  #b8d6ec;
  --gold:       #d4a843;   /* estrellas */
  --green:      #2e8b57;   /* verde para "verified" */
  --line:       rgba(26,43,61,0.10);
  --line-2:     rgba(26,43,61,0.05);

  --serif:      "Fraunces", "Times New Roman", Georgia, serif;
  --sans:       "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --shadow-sm:  0 2px 8px rgba(46, 109, 165, 0.08);
  --shadow-md:  0 10px 30px rgba(46, 109, 165, 0.10);
  --shadow-lg:  0 24px 60px -20px rgba(46, 109, 165, 0.22);

  --gutter:     clamp(1rem, 4vw, 2.5rem);
  --max:        1240px;
  --radius:     16px;
}

/* =============================================================
   2. Reset & base
   ============================================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  overflow-x: clip;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
button {
  font: inherit; color: inherit; cursor: pointer;
  border: 0; background: none;
}
a { color: inherit; text-decoration: none; }
p { text-wrap: pretty; }
h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.015em;
  text-wrap: balance;
}
em {
  font-style: italic;
  color: var(--accent-dk);
}
::selection { background: var(--accent); color: white; }
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}
.skip-link {
  position: fixed; top: -100px; left: 1rem;
  padding: .6rem 1rem;
  background: var(--ink); color: white;
  z-index: 9999;
  border-radius: 8px;
}
.skip-link:focus { top: 1rem; }

.kicker {
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-dk);
}

/* =============================================================
   3. Topbar
   ============================================================= */
.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(234, 243, 250, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line-2);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem var(--gutter);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.brand-logo {
  width: 36px;
  height: 36px;
  object-fit: contain;
  display: block;
}
.brand-name {
  font-weight: 500;
  font-size: 0.95rem;
}
.topbar-nav {
  display: none;
  gap: 1.8rem;
  font-size: 0.92rem;
}
.topbar-nav a {
  color: var(--ink-soft);
  transition: color .2s ease;
}
.topbar-nav a:hover { color: var(--accent-dk); }
.topbar-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--ink);
  color: white;
  transition: background .2s ease;
}
.topbar-cta:hover { background: var(--accent-dk); }
@media (min-width: 720px) {
  .topbar-nav { display: inline-flex; }
}

/* =============================================================
   4. Producto (PRIMER bloque visible)
   ============================================================= */
.product {
  padding: clamp(1.5rem, 4vw, 3rem) var(--gutter);
  max-width: var(--max);
  margin-inline: auto;
}
.product-wrap {
  display: grid;
  gap: 2rem;
  background: var(--paper);
  border-radius: var(--radius);
  padding: clamp(1.2rem, 3vw, 2.5rem);
  box-shadow: var(--shadow-md);
}
@media (min-width: 860px) {
  .product-wrap {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 3rem;
    align-items: start;
  }
}

/* Galería */
.product-gallery {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}
.product-main-wrap {
  background: var(--bg-soft);
  border-radius: 12px;
  overflow: hidden;
}
.product-main {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}
.product-main[hidden] { display: none; }
.product-main-video {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  background: var(--bg-soft);
  display: block;
}
.product-main-video[hidden] { display: none; }
.thumb-play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(26, 43, 61, 0.28);
  color: #fff;
  font-size: 0.95rem;
  z-index: 1;
  pointer-events: none;
  padding-left: 2px;
}
.product-thumbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.55rem;
}
.product-thumbs button {
  position: relative;
  aspect-ratio: 1;
  border-radius: 8px;
  overflow: hidden;
  border: 2px solid transparent;
  transition: border-color .2s ease;
  background: var(--bg-soft);
}
.product-thumbs button img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.product-thumbs button.is-active {
  border-color: var(--accent);
}

/* Info */
.product-info {
  display: flex;
  flex-direction: column;
}
.product-tag {
  display: inline-block;
  width: fit-content;
  background: var(--accent-lt);
  color: var(--accent-dk);
  font-size: 0.78rem;
  font-weight: 500;
  padding: 0.28rem 0.7rem;
  border-radius: 999px;
  letter-spacing: 0.02em;
  margin-bottom: 0.9rem;
}
.product-name {
  font-size: clamp(1.9rem, 3.5vw, 2.6rem);
  font-weight: 500;
  margin-bottom: 0.3rem;
}
.product-sub {
  color: var(--ink-mute);
  font-family: var(--serif);
  font-style: italic;
  margin-bottom: 1rem;
}

.product-rating {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1rem;
}
.stars {
  color: var(--gold);
  font-size: 1.05rem;
  letter-spacing: 0.05em;
}
.rating-text {
  font-size: 0.88rem;
  color: var(--ink-mute);
}

.product-price {
  display: flex;
  align-items: baseline;
  gap: 0.7rem;
  margin-bottom: 1.2rem;
}
.price-now {
  font-family: var(--serif);
  font-size: 2rem;
  font-weight: 500;
  color: var(--ink);
}
.price-old {
  color: var(--ink-faint);
  text-decoration: line-through;
  font-size: 1rem;
}
.price-badge {
  background: var(--accent);
  color: white;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.22rem 0.55rem;
  border-radius: 999px;
}

.product-desc {
  color: var(--ink-soft);
  margin-bottom: 1.2rem;
  line-height: 1.65;
}

.product-bullets {
  list-style: none;
  margin-bottom: 1.6rem;
  display: grid;
  gap: 0.5rem;
}
.product-bullets li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.95rem;
  color: var(--ink-soft);
}
.product-bullets li span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 20px;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--accent-lt);
  color: var(--accent-dk);
  font-size: 0.7rem;
  font-weight: 700;
  margin-top: 2px;
}

/* Botón comprar */
.buy-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1.05rem 1.6rem;
  background: var(--accent);
  color: white;
  font-weight: 600;
  font-size: 1rem;
  border-radius: 12px;
  box-shadow: 0 8px 22px rgba(74, 144, 200, 0.30);
  transition: background .2s ease, transform .2s ease, box-shadow .2s ease;
  width: 100%;
}
.buy-btn:hover {
  background: var(--accent-dk);
  transform: translateY(-1px);
  box-shadow: 0 12px 26px rgba(46, 109, 165, 0.36);
}
.buy-btn-outline {
  background: transparent;
  color: var(--accent-dk);
  border: 2px solid var(--accent);
  box-shadow: none;
  width: auto;
}
.buy-btn-outline:hover {
  background: var(--accent);
  color: white;
}

.product-trust {
  margin-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem 1.4rem;
  font-size: 0.85rem;
  color: var(--ink-mute);
}

/* =============================================================
   5. Trust row
   ============================================================= */
.trust-row {
  background: var(--bg-2);
  padding: 2rem var(--gutter);
  display: grid;
  gap: 1.2rem;
  max-width: var(--max);
  margin: 0 auto;
  border-radius: var(--radius);
  margin-top: 1rem;
}
@media (min-width: 720px) {
  .trust-row {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.4rem;
  }
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}
.trust-icon {
  flex: 0 0 44px;
  width: 44px; height: 44px;
  background: var(--paper);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 1.2rem;
}
.trust-title {
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 0.1rem;
}
.trust-text {
  font-size: 0.84rem;
  color: var(--ink-mute);
}

/* =============================================================
   6. Historia de Lucas
   ============================================================= */
.historia {
  padding: clamp(3.5rem, 7vw, 6rem) var(--gutter);
  max-width: var(--max);
  margin-inline: auto;
}
.historia-wrap {
  display: grid;
  gap: 2rem;
  align-items: center;
}
@media (min-width: 860px) {
  .historia-wrap {
    grid-template-columns: 0.85fr 1.15fr;
    gap: 3.5rem;
  }
}
.historia-photo {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  background: var(--accent-lt);
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 5;
  max-width: 460px;
  justify-self: center;
  width: 100%;
}
.historia-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.historia-photo-tag {
  position: absolute;
  bottom: 1rem; left: 1rem;
  background: rgba(255,255,255,0.95);
  color: var(--ink);
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 500;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.historia-text h2 {
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  font-weight: 500;
  margin: 0.5rem 0 1.2rem;
  max-width: 18ch;
}
.historia-text p {
  color: var(--ink-soft);
  margin-bottom: 1rem;
  font-size: 1.02rem;
  line-height: 1.7;
  max-width: 58ch;
}
.historia-text strong {
  color: var(--ink);
  font-weight: 600;
}
.historia-sig {
  margin-top: 1.4rem;
  font-family: var(--serif);
  font-style: italic;
  color: var(--ink-mute);
}

/* =============================================================
   7. Reseñas (todas visibles en grid)
   ============================================================= */
.resenas {
  background: var(--bg-2);
  padding: clamp(3.5rem, 7vw, 6rem) var(--gutter);
}
.resenas-head {
  max-width: var(--max);
  margin: 0 auto 2.5rem;
  text-align: center;
}
.resenas-summary {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 1rem;
}
.stars-big {
  color: var(--gold);
  font-size: 1.6rem;
  letter-spacing: 0.05em;
}
.resenas-score {
  font-family: var(--serif);
  font-size: 1.6rem;
  font-weight: 500;
}
.resenas-count {
  color: var(--ink-mute);
  font-size: 0.92rem;
}
.resenas-grid {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  gap: 1.2rem;
}
@media (min-width: 720px) {
  .resenas-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1100px) {
  .resenas-grid { grid-template-columns: repeat(3, 1fr); }
}
.resena {
  background: var(--paper);
  border-radius: 14px;
  padding: 1.5rem 1.4rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}
.resena-stars {
  color: var(--gold);
  letter-spacing: 0.05em;
  margin-bottom: 0.6rem;
  font-size: 1rem;
}
.resena h3 {
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 500;
  line-height: 1.3;
  margin-bottom: 0.5rem;
}
.resena p {
  color: var(--ink-soft);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 1rem;
  flex: 1;
}
.resena footer {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  padding-top: 0.9rem;
  border-top: 1px solid var(--line-2);
  font-size: 0.85rem;
}
.resena footer strong {
  font-weight: 600;
  color: var(--ink);
}
.resena footer span {
  color: var(--ink-mute);
  font-size: 0.78rem;
}
.resenas-cta {
  max-width: var(--max);
  margin: 2.5rem auto 0;
  text-align: center;
}

/* =============================================================
   8. FAQ
   ============================================================= */
.faq {
  padding: clamp(3.5rem, 7vw, 6rem) var(--gutter);
  max-width: 820px;
  margin-inline: auto;
}
.faq h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  font-weight: 500;
  margin-bottom: 2rem;
  text-align: center;
}
.faq-list details {
  background: var(--paper);
  border-radius: 12px;
  padding: 1.1rem 1.4rem;
  margin-bottom: 0.6rem;
  box-shadow: var(--shadow-sm);
}
.faq-list summary {
  list-style: none;
  cursor: pointer;
  font-weight: 500;
  font-size: 1.02rem;
  color: var(--ink);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "+";
  font-size: 1.4rem;
  color: var(--accent);
  transition: transform .3s ease;
  line-height: 1;
}
.faq-list details[open] summary::after {
  transform: rotate(45deg);
}
.faq-list details p {
  margin-top: 0.8rem;
  color: var(--ink-soft);
  font-size: 0.95rem;
  line-height: 1.65;
}

/* =============================================================
   9. Footer
   ============================================================= */
.footer {
  background: var(--ink);
  color: var(--bg);
  padding: clamp(3rem, 6vw, 4rem) var(--gutter) 1.6rem;
}
.footer-inner {
  max-width: var(--max);
  margin-inline: auto;
  display: grid;
  gap: 2rem;
  padding-bottom: 2.2rem;
  border-bottom: 1px solid rgba(234, 243, 250, 0.12);
}
@media (min-width: 720px) {
  .footer-inner { grid-template-columns: 1.4fr repeat(3, 1fr); }
}
.footer-brand {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.5rem;
  color: var(--accent-lt);
  margin-bottom: 0.4rem;
}
.footer-tag {
  color: rgba(234, 243, 250, 0.65);
  font-size: 0.9rem;
}
.footer-label {
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(234, 243, 250, 0.5);
  margin-bottom: 0.9rem;
}
.footer-inner div a {
  display: block;
  margin-bottom: 0.4rem;
  color: rgba(234, 243, 250, 0.85);
  transition: color .2s ease;
  font-size: 0.92rem;
}
.footer-inner div a:hover { color: var(--accent-lt); }
.footer-mute {
  color: rgba(234, 243, 250, 0.5);
  font-size: 0.88rem;
  margin-top: 0.2rem;
}
.footer-bottom {
  max-width: var(--max);
  margin-inline: auto;
  padding-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.84rem;
  color: rgba(234, 243, 250, 0.55);
}
.footer-pay {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.footer-pay span {
  padding: 0.22rem 0.6rem;
  border: 1px solid rgba(234, 243, 250, 0.18);
  border-radius: 6px;
  font-size: 0.76rem;
}

/* =============================================================
   URGENCY — banner superior con cuenta atrás
   ============================================================= */
.urgency-bar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: linear-gradient(90deg, #d92d3a 0%, #b71d2a 100%);
  color: #fff;
  text-align: center;
  padding: 0.55rem 1rem;
  font-size: 0.86rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  box-shadow: 0 2px 12px rgba(217, 45, 58, 0.25);
}
.urgency-bar strong { font-weight: 700; }
.urgency-pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 0 rgba(255,255,255,0.7);
  animation: urgencyPulse 1.8s infinite;
  flex-shrink: 0;
}
@keyframes urgencyPulse {
  0%   { box-shadow: 0 0 0 0 rgba(255,255,255,0.7); }
  70%  { box-shadow: 0 0 0 10px rgba(255,255,255,0); }
  100% { box-shadow: 0 0 0 0 rgba(255,255,255,0); }
}
.countdown {
  display: inline-flex;
  gap: 0.32rem;
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  background: rgba(0,0,0,0.18);
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
  margin: 0 0.2rem;
}
@media (max-width: 540px) {
  .urgency-bar { font-size: 0.78rem; padding: 0.5rem 0.6rem; }
  .countdown { padding: 0.1rem 0.4rem; }
}

/* =============================================================
   URGENCY — stock + viewers en zona de producto
   ============================================================= */
.price-saving {
  display: inline-block;
  background: #e9f7ef;
  color: #1e6e3b;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.22rem 0.55rem;
  border-radius: 6px;
  margin-left: 0.4rem;
  vertical-align: middle;
}
.urgency-stock {
  margin: 1.1rem 0;
  padding: 0.9rem 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.stock-row {
  display: flex;
  align-items: center;
  gap: 0.5rem 0.9rem;
  flex-wrap: wrap;
  font-size: 0.9rem;
  color: var(--ink-soft);
  margin-bottom: 0.65rem;
}
.stock-text { letter-spacing: -0.005em; }
.stock-text #stock-count { color: #c0392b; font-weight: 700; }
.stock-warn { color: #c0392b; font-weight: 600; }
.stock-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ef4444;
  box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.6);
  animation: stockPulse 1.6s infinite;
  flex-shrink: 0;
}
.stock-bar {
  height: 4px;
  background: rgba(239, 68, 68, 0.12);
  border-radius: 100px;
  overflow: hidden;
}
.stock-bar-fill {
  height: 100%;
  width: 14%;
  background: linear-gradient(90deg, #ef4444 0%, #f97316 100%);
  border-radius: 100px;
  transition: width 0.6s ease;
}
.viewers-inline {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  color: var(--ink-mute);
  margin-left: auto;
  white-space: nowrap;
}
.viewers-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #16a34a;
  box-shadow: 0 0 0 0 rgba(22, 163, 74, 0.55);
  animation: viewersPulse 2.2s infinite;
  flex-shrink: 0;
}
@keyframes stockPulse {
  0%   { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.55); }
  70%  { box-shadow: 0 0 0 7px rgba(239, 68, 68, 0); }
  100% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0); }
}
@keyframes viewersPulse {
  0%   { box-shadow: 0 0 0 0 rgba(22, 163, 74, 0.5); }
  70%  { box-shadow: 0 0 0 6px rgba(22, 163, 74, 0); }
  100% { box-shadow: 0 0 0 0 rgba(22, 163, 74, 0); }
}
@media (max-width: 480px) {
  .viewers-inline { margin-left: 0; }
}

/* =============================================================
   URGENCY — micro-mensaje debajo del CTA
   ============================================================= */
.cta-urgency {
  margin-top: 0.85rem;
  font-size: 0.88rem;
  color: var(--ink-soft);
  background: #f5fafd;
  border: 1px dashed var(--accent-lt);
  border-radius: 10px;
  padding: 0.7rem 0.9rem;
  text-align: center;
}
.cta-urgency strong { color: var(--accent-dk); }

/* =============================================================
   URGENCY — notificaciones flotantes (social proof)
   ============================================================= */
.notif-stack {
  position: fixed;
  left: 1.2rem;
  bottom: 1.2rem;
  z-index: 90;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  pointer-events: none;
}
.notif {
  background: var(--paper);
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
  padding: 0.7rem 0.95rem 0.7rem 0.7rem;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  min-width: 260px;
  max-width: 320px;
  transform: translateX(-120%);
  opacity: 0;
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.55s;
  pointer-events: auto;
  border: 1px solid var(--line);
}
.notif.is-visible {
  transform: translateX(0);
  opacity: 1;
}
.notif-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dk) 100%);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 0.88rem;
  flex-shrink: 0;
}
.notif-body {
  font-size: 0.82rem;
  line-height: 1.4;
  color: var(--ink-soft);
}
.notif-body strong { color: var(--ink); }
.notif-body .notif-meta {
  display: block;
  font-size: 0.72rem;
  color: var(--ink-mute);
  margin-top: 0.15rem;
}
.notif-check {
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 600;
}
@media (max-width: 540px) {
  .notif-stack { left: 0.7rem; bottom: 0.7rem; right: 0.7rem; }
  .notif { min-width: 0; max-width: 100%; }
}

/* =============================================================
   VARIANT PICKER — selector de tamaño
   ============================================================= */
.variant-picker {
  margin: 1.4rem 0 1.2rem;
}
.variant-label {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 0.6rem;
}
.variant-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}
.variant-opt {
  position: relative;
  background: var(--paper);
  border: 2px solid var(--line);
  border-radius: 12px;
  padding: 0.95rem 0.9rem 0.85rem;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.15s;
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  font-family: inherit;
}
.variant-opt:hover {
  border-color: var(--accent-lt);
  transform: translateY(-1px);
}
.variant-opt.is-active {
  border-color: var(--accent-dk);
  box-shadow: 0 0 0 3px rgba(46, 109, 165, 0.12);
}
.variant-opt.is-active::after {
  content: "✓";
  position: absolute;
  top: 0.6rem;
  right: 0.7rem;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--accent-dk);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}
.variant-size {
  font-family: var(--serif);
  font-size: 1.32rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--ink);
  line-height: 1.1;
}
.variant-size-cm {
  font-size: 0.74rem;
  color: var(--ink-mute);
  margin-bottom: 0.35rem;
}
.variant-price {
  font-size: 1rem;
  font-weight: 600;
  color: var(--accent-dk);
}
.variant-tag {
  position: absolute;
  top: -10px;
  left: 0.7rem;
  background: linear-gradient(90deg, #d4a843, #b8862c);
  color: #fff;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.18rem 0.55rem;
  border-radius: 100px;
  box-shadow: 0 2px 6px rgba(180, 130, 40, 0.3);
}
@media (max-width: 480px) {
  .variant-size { font-size: 1.15rem; }
  .variant-price { font-size: 0.94rem; }
  .variant-opt { padding: 0.8rem 0.7rem 0.7rem; }
}

/* =============================================================
   BUNDLE CARD — upsell "compra 2 y -30% en la segunda"
   ============================================================= */
.bundle-card {
  margin: 1.4rem 0 0;
  background: linear-gradient(135deg, #fff9ec 0%, #fdeac6 100%);
  border: 2px solid #d4a843;
  border-radius: 14px;
  padding: 1.2rem 1.1rem 1rem;
  position: relative;
  box-shadow: 0 8px 24px -10px rgba(212, 168, 67, 0.4);
}
.bundle-tag {
  position: absolute;
  top: -11px;
  left: 1rem;
  background: linear-gradient(90deg, #b88017, #d4a843);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 0.22rem 0.65rem;
  border-radius: 100px;
  box-shadow: 0 3px 8px rgba(180, 130, 40, 0.35);
}
.bundle-title {
  font-family: var(--serif);
  font-size: 1.22rem;
  line-height: 1.25;
  color: #6e4a05;
  margin: 0.2rem 0 0.3rem;
}
.bundle-title strong { color: #8a3a00; font-weight: 600; }
.bundle-sub {
  font-size: 0.86rem;
  color: #8d6a1a;
  margin-bottom: 0.85rem;
}

/* combos selector — 3 botones */
.bundle-combos {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 0.5rem;
  margin-bottom: 0.95rem;
}
.bundle-combo {
  position: relative;
  background: rgba(255, 255, 255, 0.75);
  border: 2px solid rgba(180, 130, 40, 0.25);
  border-radius: 10px;
  padding: 0.7rem 0.55rem 0.65rem;
  text-align: center;
  cursor: pointer;
  transition: border-color 0.2s, transform 0.15s, background 0.2s;
  display: flex;
  flex-direction: column;
  gap: 0.18rem;
  font-family: inherit;
}
.bundle-combo:hover {
  border-color: #b88017;
  background: rgba(255, 255, 255, 0.95);
  transform: translateY(-1px);
}
.bundle-combo.is-active {
  border-color: #8a5e0a;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(180, 130, 40, 0.2);
}
.bundle-combo.is-active::after {
  content: "✓";
  position: absolute;
  top: -6px;
  right: -6px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #8a5e0a;
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 4px rgba(0,0,0,0.15);
}
.bundle-combo-tag {
  position: absolute;
  top: -9px;
  left: 50%;
  transform: translateX(-50%);
  background: #2e8b57;
  color: #fff;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.12rem 0.45rem;
  border-radius: 100px;
  white-space: nowrap;
}
.bundle-combo-label {
  font-family: var(--serif);
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.1;
}
.bundle-combo-sub {
  font-size: 0.7rem;
  color: var(--ink-mute);
  letter-spacing: 0.01em;
}
.bundle-combo-price {
  font-size: 0.92rem;
  font-weight: 700;
  color: #8a5e0a;
  margin-top: 0.15rem;
}

/* summary numbers */
.bundle-summary {
  background: rgba(255, 255, 255, 0.7);
  border-radius: 10px;
  padding: 0.65rem 0.85rem;
  margin-bottom: 0.85rem;
  border: 1px solid rgba(180, 130, 40, 0.18);
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
}
.bundle-summary-old {
  color: var(--ink-mute);
  text-decoration: line-through;
  font-size: 0.95rem;
}
.bundle-summary-arrow {
  color: var(--ink-mute);
  font-weight: 600;
}
.bundle-summary-new {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--ink);
  font-family: var(--serif);
}
.bundle-save {
  display: inline-block;
  background: #2e8b57;
  color: #fff;
  font-size: 0.76rem;
  font-weight: 700;
  padding: 0.2rem 0.55rem;
  border-radius: 100px;
  margin-left: auto;
}

.bundle-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  background: linear-gradient(135deg, #b88017 0%, #8a5e0a 100%);
  color: #fff;
  padding: 0.9rem 1rem;
  border-radius: 12px;
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.01em;
  text-align: center;
  transition: transform 0.15s, box-shadow 0.2s;
  box-shadow: 0 6px 16px -6px rgba(138, 94, 10, 0.4);
}
.bundle-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 22px -6px rgba(138, 94, 10, 0.55);
}
.bundle-note {
  text-align: center;
  font-size: 0.74rem;
  color: #8d6a1a;
  margin-top: 0.6rem;
  margin-bottom: 0;
}

/* separador "o compra una sola" */
.or-divider {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin: 1.6rem 0 0.3rem;
  color: var(--ink-mute);
}
.or-divider::before,
.or-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line);
}
.or-divider span {
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 500;
}

@media (max-width: 480px) {
  .bundle-combos { grid-template-columns: 1fr; gap: 0.45rem; }
  .bundle-combo { padding: 0.65rem 0.7rem; }
  .bundle-combo-tag { top: -8px; left: 0.7rem; transform: none; }
  .bundle-summary { justify-content: flex-start; }
  .bundle-save { margin-left: 0; }
}

/* =============================================================
   OFFER PICKER — selector unificado (1 unidad / pack de 2)
   ============================================================= */
.offer-picker { margin: 1.4rem 0 1.2rem; }
.offer-label {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 0.7rem;
}
.offer-tier {
  border: 2px solid var(--line);
  border-radius: 13px;
  margin-bottom: 0.7rem;
  overflow: hidden;
  transition: border-color 0.2s, box-shadow 0.2s;
  background: var(--paper);
}
.offer-tier.is-active {
  border-color: var(--accent-dk);
  box-shadow: 0 0 0 3px rgba(46, 109, 165, 0.12);
}
.offer-tier-head {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
  padding: 0.95rem 1rem;
  text-align: left;
  position: relative;
  font-family: inherit;
}
.offer-radio {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid var(--ink-faint);
  flex-shrink: 0;
  transition: border-color 0.2s;
  position: relative;
}
.offer-tier.is-active .offer-radio {
  border-color: var(--accent-dk);
}
.offer-tier.is-active .offer-radio::after {
  content: "";
  position: absolute;
  inset: 3px;
  border-radius: 50%;
  background: var(--accent-dk);
}
.offer-tier-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  min-width: 0;
}
.offer-tier-name {
  font-family: var(--serif);
  font-size: 1.12rem;
  font-weight: 500;
  color: var(--ink);
  line-height: 1.2;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  flex-wrap: wrap;
}
.offer-inline-badge {
  background: #d92d3a;
  color: #fff;
  font-family: var(--sans);
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  padding: 0.12rem 0.4rem;
  border-radius: 100px;
}
.offer-tier-desc {
  font-size: 0.8rem;
  color: var(--ink-mute);
}
.offer-tier-price {
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--accent-dk);
  white-space: nowrap;
  flex-shrink: 0;
}
.offer-tier-tag {
  position: absolute;
  top: -1px;
  right: 1rem;
  background: linear-gradient(90deg, #d4a843, #b8862c);
  color: #fff;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 0.18rem 0.5rem;
  border-radius: 0 0 6px 6px;
}
.offer-tier-body {
  display: none;
  padding: 0 1rem 1rem;
}
.offer-tier.is-active .offer-tier-body { display: block; }
.sub-options {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding-top: 0.3rem;
  border-top: 1px solid var(--line-2);
}
.sub-opt {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.1rem;
  width: 100%;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  padding: 0.6rem 0.85rem;
  cursor: pointer;
  position: relative;
  background: var(--bg-soft);
  transition: border-color 0.2s, background 0.2s;
  font-family: inherit;
  text-align: left;
  margin-top: 0.5rem;
}
.sub-opt:hover { border-color: var(--accent-lt); }
.sub-opt.is-active {
  border-color: var(--accent-dk);
  background: #fff;
}
.sub-opt.is-active::after {
  content: "✓";
  position: absolute;
  top: 50%;
  right: 0.85rem;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--accent-dk);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}
.sub-opt-name {
  font-weight: 600;
  font-size: 1rem;
  color: var(--ink);
}
.sub-opt-meta {
  font-size: 0.82rem;
  color: var(--ink-mute);
}
.sub-opt-tag {
  position: absolute;
  top: -8px;
  left: 0.7rem;
  background: #2e8b57;
  color: #fff;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.12rem 0.45rem;
  border-radius: 100px;
}
.offer-pack-note {
  font-size: 0.76rem;
  color: #8d6a1a;
  text-align: center;
  margin: 0.75rem 0 0;
}

/* =============================================================
   ANTES / DESPUÉS — slider apagada vs encendida
   ============================================================= */
.compare-section {
  max-width: 720px;
  margin: 0 auto;
  padding: 4rem var(--gutter);
  text-align: center;
}
.compare-head { margin-bottom: 1.8rem; }
.compare-head h2 {
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  margin: 0.3rem 0 0.6rem;
}
.compare-sub {
  color: var(--ink-mute);
  font-size: 0.95rem;
}
.ba-slider {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 16px;
  cursor: ew-resize;
  user-select: none;
  -webkit-user-select: none;
  touch-action: none;
  box-shadow: var(--shadow-lg);
  background: var(--bg-soft);
}
.ba-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
}
.ba-overlay {
  /* capa superior (apagada) recortada desde la derecha; se ve a la izquierda */
  clip-path: inset(0 50% 0 0);
  z-index: 2;
}
.ba-base { z-index: 1; }
.ba-divider {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 3px;
  background: #fff;
  transform: translateX(-50%);
  z-index: 3;
  pointer-events: none;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.35);
}
.ba-handle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #fff;
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 700;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.35);
}
.ba-tag {
  position: absolute;
  bottom: 14px;
  z-index: 4;
  background: rgba(26, 43, 61, 0.72);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.3rem 0.7rem;
  border-radius: 100px;
  pointer-events: none;
  backdrop-filter: blur(4px);
}
.ba-tag-left { left: 14px; }
.ba-tag-right { right: 14px; }

/* =============================================================
   FOTOS EN TESTIMONIOS
   ============================================================= */
.resena-photo {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 0.85rem;
  background: var(--bg-soft);
}

/* =============================================================
   PÁGINAS DE POLÍTICAS — devoluciones, envío, términos, etc.
   ============================================================= */
.policy-page {
  max-width: 760px;
  margin: 0 auto;
  padding: 3rem var(--gutter) 5rem;
}
.policy-page h1 {
  font-size: clamp(1.9rem, 4vw, 2.6rem);
  margin-bottom: 0.5rem;
  color: var(--ink);
}
.policy-page h2 {
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-dk);
  margin-top: 2.5rem;
  margin-bottom: 0.85rem;
  border-top: 1px solid var(--line);
  padding-top: 1.6rem;
}
.policy-page h2:first-of-type {
  border-top: 0;
  padding-top: 0;
  margin-top: 2rem;
}
.policy-page h3 {
  font-family: var(--sans);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ink);
  margin-top: 1.4rem;
  margin-bottom: 0.5rem;
}
.policy-page p {
  margin-bottom: 1rem;
  color: var(--ink-soft);
  line-height: 1.7;
  font-size: 0.98rem;
}
.policy-page ul, .policy-page ol {
  margin: 0 0 1.2rem 1.5rem;
  color: var(--ink-soft);
  line-height: 1.7;
  font-size: 0.98rem;
}
.policy-page li { margin-bottom: 0.35rem; }
.policy-page a {
  color: var(--accent-dk);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.policy-page strong { color: var(--ink); }
.policy-date {
  color: var(--ink-mute);
  font-size: 0.86rem;
  margin-bottom: 2.5rem;
}
.policy-back {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 3rem;
  color: var(--accent-dk);
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none !important;
}
.policy-back:hover { gap: 0.6rem; }

.fiscal-data {
  background: var(--bg-soft);
  border-left: 3px solid var(--accent);
  border-radius: 4px;
  padding: 0.9rem 1.1rem;
  margin: 1rem 0 1.5rem;
  font-size: 0.94rem;
}
.fiscal-data p { margin: 0.2rem 0; color: var(--ink); }
.fiscal-data strong { display: inline-block; min-width: 130px; color: var(--ink-mute); font-weight: 500; }

.placeholder {
  background: #fff3cd;
  color: #8a6d00;
  padding: 0.1rem 0.4rem;
  border-radius: 3px;
  font-size: 0.9em;
  font-weight: 600;
  border: 1px dashed #d4a843;
}
