:root {
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans: 'DM Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  
  --ink: #26221c;
  --muted: #686259;
  --line: #e6dfd3;
  --bg-crema: #faf7f2;
  --bg-soft: #f4efe6;
  --bg-white: #ffffff;
  
  --olive: #3f4a24;
  --olive-hover: #323b1c;
  --olive-light: #edf2e4;
  --olive-border: #cad8b5;
  
  --gold: #c99839;
  --gold-dark: #a87922;
  --gold-light: #fef8eb;
  --gold-border: #f0deb0;
  
  --dark-navy: #1f2317;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  --shadow-sm: 0 2px 8px rgba(38, 34, 28, 0.05);
  --shadow-md: 0 8px 24px rgba(38, 34, 28, 0.08);
  --shadow-lg: 0 16px 40px rgba(38, 34, 28, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--bg-crema);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body.has-sticky {
  padding-bottom: 74px;
}

body.checkout-open {
  overflow: hidden;
}

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  color: var(--ink);
  line-height: 1.2;
  margin: 0;
  font-weight: 700;
}

h1 {
  font-size: clamp(2.3rem, 5vw, 3.4rem);
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(1.9rem, 3.8vw, 2.7rem);
  letter-spacing: -0.015em;
}

h3 {
  font-size: 1.25rem;
}

p {
  margin: 0;
  color: var(--muted);
}

a {
  color: inherit;
}

button {
  cursor: pointer;
  font: inherit;
}

button, a, input, select, textarea {
  -webkit-tap-highlight-color: transparent;
}

img, video {
  max-width: 100%;
  display: block;
}

button:focus-visible, a:focus-visible, summary:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--olive);
  outline-offset: 3px;
}

.wrap {
  width: min(1140px, calc(100% - 40px));
  margin-inline: auto;
}

/* ---------- Barra de aviso superior ---------- */
.announcement {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--olive);
  color: #fff;
  text-align: center;
  padding: 9px 16px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
}

/* ---------- Header ---------- */
.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  position: relative;
  border-bottom: 1px solid var(--line);
  background: var(--bg-crema);
}

.brand {
  font-size: 22px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 10px;
  letter-spacing: -0.02em;
}

.brand-icon {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  background: var(--olive);
  color: var(--gold);
  border-radius: 8px;
  font-size: 16px;
}

.brand b {
  color: var(--olive);
}

.secure {
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 8px;
}

.secure svg {
  width: 18px;
  height: 18px;
  color: var(--olive);
}

/* ---------- Secciones generales ---------- */
section.section {
  padding: 80px 0;
}

section.section.soft {
  background: var(--bg-soft);
}

section.section.dark {
  background: var(--dark-navy);
  color: #fff;
}

section.section.dark h2,
section.section.dark h3 {
  color: #fff;
}

section.section.dark p {
  color: #d2cebe;
}

.section-head {
  max-width: 680px;
  margin: 0 auto 44px;
  text-align: center;
}

.section-head p {
  margin-top: 14px;
  font-size: 1.08rem;
}

.eyebrow {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--olive);
  margin-bottom: 14px;
}

.section.dark .eyebrow {
  color: var(--gold);
}

/* ---------- Botones CTA ---------- */
.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  background: var(--olive);
  color: #fff;
  border: 0;
  border-radius: var(--radius-md);
  padding: 14px 28px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-align: center;
  text-decoration: none;
  transition: transform 0.2s, background 0.2s, box-shadow 0.2s;
}

.cta:hover {
  background: var(--olive-hover);
  transform: translateY(-1px);
}

.cta.gold {
  background: var(--gold);
  color: #1a1714;
}

.cta.gold:hover {
  background: var(--gold-dark);
  color: #fff;
}

.cta.outline {
  background: transparent;
  color: var(--olive);
  border: 2px solid var(--olive);
}

.cta.outline:hover {
  background: var(--olive-light);
  transform: translateY(-1px);
}

.pulse {
  animation: aura-pulse 2.6s ease-in-out infinite;
}

.pulse:hover, .pulse:focus-visible {
  animation: none;
}

@keyframes aura-pulse {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(63, 74, 36, 0);
    transform: scale(1);
  }
  45% {
    box-shadow: 0 0 0 10px rgba(63, 74, 36, 0.15);
    transform: scale(1.015);
  }
  70% {
    box-shadow: 0 0 0 16px rgba(63, 74, 36, 0);
    transform: scale(1);
  }
}

/* ---------- 1. Hero / Primer Pliegue ---------- */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: 56px;
  padding: 48px 0 60px;
  align-items: center;
}

.hero-copy h1 em {
  font-style: italic;
  font-weight: 500;
  color: var(--olive);
}

.hero-copy .sub {
  font-size: 17px;
  line-height: 1.6;
  margin-top: 18px;
  max-width: 530px;
}

.checks {
  list-style: none;
  padding: 0;
  margin: 24px 0;
  display: grid;
  gap: 12px;
  font-size: 15px;
}

.checks li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  color: var(--ink);
}

.checks li::before {
  content: '✓';
  color: var(--olive);
  font-weight: 800;
  flex-shrink: 0;
  background: var(--olive-light);
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-size: 12px;
}

.checks.light li {
  color: #f1eddd;
}

.checks.light li::before {
  background: rgba(201, 152, 57, 0.25);
  color: var(--gold);
}

.price-line {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin: 22px 0 16px;
}

.price-line strong {
  font-size: 36px;
  font-family: var(--font-serif);
  color: var(--olive);
  letter-spacing: -0.02em;
}

.price-alt {
  font-size: 14px;
  color: var(--muted);
}

.price-alt b {
  color: var(--ink);
}

.hero-cta {
  width: 100%;
  font-size: 15px;
  padding: 16px 24px;
}

.delivery-trust {
  margin-top: 20px;
  text-align: center;
}

.carrier-seals {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.carrier-seals span {
  padding: 6px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fff;
  font-size: 11px;
  font-weight: 700;
  color: var(--muted);
}

.payment-reassurance {
  margin-top: 10px;
  font-size: 13px;
  font-weight: 600;
  color: var(--olive);
}

.micro {
  font-size: 12px;
  text-align: center;
  margin-top: 10px;
  color: var(--muted);
}

/* Galería Hero */
.hero-gallery {
  position: relative;
}

.product-frame {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow-sm);
  aspect-ratio: 1;
}

.pill {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 2;
  background: var(--gold-light);
  color: var(--gold-dark);
  border: 1px solid var(--gold-border);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.frame-media {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  background: #fff;
}

.frame-video, .frame-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.frame-img {
  object-fit: contain;
  padding: 24px;
}

.thumbs {
  display: flex;
  gap: 10px;
  margin-top: 14px;
  overflow-x: auto;
  padding-bottom: 4px;
}

.thumb {
  flex: 0 0 64px;
  height: 64px;
  border: 2px solid var(--line);
  border-radius: var(--radius-md);
  padding: 2px;
  background: #fff;
  overflow: hidden;
  transition: border-color 0.2s;
}

.thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
}

.thumb[aria-pressed="true"] {
  border-color: var(--olive);
}

.thumb-video {
  position: relative;
}

.thumb-video::after {
  content: '▶';
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-size: 12px;
  color: #fff;
  background: rgba(0,0,0,0.3);
  border-radius: 8px;
}

/* Trust Strip */
.trust-strip {
  background: var(--bg-soft);
  border-block: 1px solid var(--line);
}

.trust-items {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 20px 0;
  text-align: center;
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
}

.trust-items span + span {
  border-left: 1px solid var(--line);
}

/* ---------- 2. Problema ---------- */
.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.problem-card {
  padding: 32px 28px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.problem-card .number {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: #9c3f2d;
  margin-bottom: 16px;
}

.problem-card h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
}

.problem-card p {
  font-size: 14px;
  line-height: 1.6;
}

/* ---------- 3. Beneficios ---------- */
.benefits-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 56px;
  align-items: center;
}

.benefits-media img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--line);
  width: 100%;
  height: auto;
}

.benefit-list {
  list-style: none;
  padding: 0;
  margin: 28px 0 36px;
  display: grid;
  gap: 22px;
}

.benefit-list li {
  display: flex;
  gap: 18px;
  align-items: flex-start;
}

.benefit-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--olive-light);
  color: var(--olive);
  display: grid;
  place-items: center;
  font-size: 18px;
  font-weight: 700;
}

.benefit-list h3 {
  font-size: 1.15rem;
  margin-bottom: 4px;
}

.benefit-list p {
  font-size: 14px;
}

/* ---------- 4. Aroma ---------- */
.aroma-layout {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 56px;
  align-items: center;
}

.aroma-media img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--line);
  width: 100%;
  height: auto;
}

.notes {
  margin: 32px 0 0;
  display: grid;
  gap: 16px;
}

.notes div {
  padding: 16px 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-left: 4px solid var(--gold);
  border-radius: var(--radius-sm);
}

.notes dt {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 800;
  color: var(--gold-dark);
  margin-bottom: 4px;
}

.notes dd {
  margin: 0;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
}

/* ---------- 5. Tendencia (Dark) ---------- */
.trend-layout {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 60px;
  align-items: center;
}

.video-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 9/16;
  background: #000;
}

.video-card video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ---------- 6. Pasos de uso ---------- */
.steps-layout {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  align-items: center;
}

.steps {
  list-style: none;
  padding: 0;
  margin: 32px 0 20px;
  display: grid;
  gap: 26px;
}

.steps li {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.step-num {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--olive);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-family: var(--font-serif);
  font-size: 1.2rem;
}

.steps h3 {
  margin-bottom: 4px;
}

.steps p {
  font-size: 14px;
}

.note {
  font-size: 12px;
  color: var(--muted);
  border-left: 3px solid var(--line);
  padding-left: 12px;
  margin-top: 24px;
}

/* ---------- 7. Fotos Reales · Sin Filtros ---------- */
.real-gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 32px;
}

@media (min-width: 860px) {
  .real-gallery {
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
  }
}

.real-gallery figure {
  margin: 0;
  display: flex;
  flex-direction: column;
}

.real-gallery img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  background: var(--bg-soft);
}

.real-gallery figcaption {
  font-size: 13px;
  font-weight: 500;
  text-align: center;
  margin-top: 10px;
  color: var(--muted);
}

/* ---------- 8. Reseñas y Testimonios Reales ---------- */
.reviews-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
  margin-top: 36px;
}

@media (min-width: 640px) {
  .reviews-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .reviews-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
  }
}

.review-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 18px rgba(44, 42, 38, 0.05);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.review-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(44, 42, 38, 0.09);
}

.review-card figure {
  margin: 0;
  position: relative;
  background: var(--bg-soft);
  aspect-ratio: 4/5;
  overflow: hidden;
}

.review-card figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.review-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.review-stars {
  color: var(--gold);
  font-size: 15px;
  letter-spacing: 2px;
  margin-bottom: 8px;
}

.review-body blockquote {
  margin: 0 0 14px;
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--text);
  font-style: italic;
  flex: 1;
}

.review-author {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: var(--muted);
  border-top: 1px solid var(--line);
  padding-top: 12px;
  gap: 8px;
  flex-wrap: wrap;
}

.review-author strong {
  color: var(--olive);
}

.verified-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  font-weight: 600;
  color: #2e6b36;
  background: #eaf5ec;
  padding: 3px 8px;
  border-radius: 12px;
  white-space: nowrap;
}

/* ---------- 8. Ofertas ---------- */
.offer-section {
  background: var(--bg-soft);
}

.offer-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 480px));
  justify-content: center;
  gap: 28px;
}

.offer-card {
  position: relative;
  background: #fff;
  border: 2px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  text-align: center;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}

.offer-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.offer-card.recommended {
  border-color: var(--olive);
  box-shadow: var(--shadow-md);
  background: #fff;
}

.badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--olive);
  color: #fff;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  white-space: nowrap;
}

.offer-card img {
  width: 140px;
  height: 140px;
  margin: 0 auto 18px;
  object-fit: contain;
}

.offer-card h3 {
  font-size: 1.6rem;
  margin-bottom: 6px;
}

.offer-price {
  margin: 20px 0 14px;
}

.offer-price strong {
  font-family: var(--font-serif);
  font-size: 34px;
  color: var(--olive);
  display: block;
}

.offer-price small {
  font-size: 13px;
  color: var(--muted);
}

.offer-foot {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 24px;
  flex-grow: 1;
}

.offer-card .cta {
  width: 100%;
}

/* ---------- 9. Confianza ---------- */
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.trust-grid article {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 28px 22px;
  text-align: center;
  box-shadow: var(--shadow-sm);
}

.trust-grid span {
  font-size: 30px;
  display: block;
  margin-bottom: 12px;
}

.trust-grid h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.trust-grid p {
  font-size: 13px;
  line-height: 1.5;
}

/* ---------- 10. FAQ ---------- */
.faq {
  max-width: 760px;
  margin: 0 auto;
}

.faq details {
  border-bottom: 1px solid var(--line);
  padding: 6px 0;
}

.faq summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 18px 0;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--ink);
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: '+';
  font-size: 26px;
  font-weight: 400;
  color: var(--olive);
  flex-shrink: 0;
}

.faq details[open] summary::after {
  content: '−';
}

.faq details p {
  font-size: 15px;
  padding: 0 32px 20px 0;
  color: var(--muted);
}

/* ---------- Footer ---------- */
.footer {
  background: var(--dark-navy);
  color: #fff;
  padding: 50px 0 32px;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 32px;
  padding-bottom: 30px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}

.footer .brand {
  margin-bottom: 8px;
}

.footer .brand b {
  color: var(--gold);
}

.footer p {
  color: #c4beaf;
  font-size: 13px;
}

.footer a {
  color: #fff;
  text-decoration: none;
}

.legal-links {
  display: flex;
  gap: 20px;
  margin: 18px 0;
}

.legal-links button {
  background: none;
  border: 0;
  color: #d6d0c0;
  font-size: 12px;
  text-decoration: underline;
  padding: 0;
}

.footer small {
  display: block;
  font-size: 11px;
  color: #9c9687;
  line-height: 1.5;
}

/* ---------- Botón flotante WhatsApp ---------- */
.wa {
  position: fixed;
  bottom: 24px;
  left: 20px;
  z-index: 35;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  border: 0;
  box-shadow: 0 4px 18px rgba(0,0,0,0.2);
  display: grid;
  place-items: center;
  transition: transform 0.2s;
}

.wa:hover {
  transform: scale(1.06);
}

.wa svg {
  width: 28px;
  height: 28px;
}

/* ---------- Sticky CTA móvil ---------- */
.sticky-buy {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 30;
  background: rgba(250, 247, 242, 0.95);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--line);
  padding: 10px 18px calc(10px + env(safe-area-inset-bottom));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.06);
}

.sticky-buy[hidden] {
  display: none !important;
}

.sticky-buy small {
  font-size: 11px;
  color: var(--muted);
  display: block;
}

.sticky-buy strong {
  font-size: 18px;
  font-family: var(--font-serif);
  color: var(--olive);
}

.sticky-buy .cta {
  flex: 1;
  min-height: 46px;
  padding: 10px 16px;
  font-size: 13px;
}

/* ---------- CHECKOUT MODAL ---------- */
.checkout-dialog {
  border: 0;
  border-radius: var(--radius-lg);
  padding: 0;
  max-width: 960px;
  width: min(960px, calc(100% - 32px));
  max-height: calc(100dvh - 32px);
  box-shadow: 0 25px 80px rgba(0,0,0,0.25);
  color: var(--ink);
  background: var(--bg-crema);
  overscroll-behavior: contain;
}

.checkout-dialog::backdrop {
  background: rgba(26, 23, 20, 0.65);
  backdrop-filter: blur(4px);
}

.modal-toolbar {
  position: sticky;
  top: 0;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 24px;
  background: #fff;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
  font-weight: 700;
  color: var(--muted);
}

.close-modal {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 0;
  background: var(--bg-soft);
  color: var(--ink);
  font-size: 16px;
}

.checkout-modal-content {
  padding: 32px;
}

.checkout-dialog .section-head {
  margin-bottom: 24px;
}

.checkout-dialog h2 {
  font-size: 26px;
}

.checkout-dialog h2 em {
  font-style: italic;
  font-weight: 500;
  color: var(--olive);
}

/* Selector de ofertas dentro del modal */
.offers {
  border: 0;
  padding: 0;
  margin: 0 0 28px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.offers legend {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}

.offer {
  display: block;
  position: relative;
  border: 2px solid var(--line);
  border-radius: var(--radius-md);
  padding: 24px 20px;
  background: #fff;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}

.offer:has(input:checked) {
  border-color: var(--olive);
  background: var(--olive-light);
}

.offer input {
  accent-color: var(--olive);
  width: 18px;
  height: 18px;
  margin: 0 0 10px;
}

.offer h3 {
  font-size: 18px;
  margin-bottom: 4px;
}

.offer p {
  font-size: 13px;
}

.offer strong {
  display: block;
  font-size: 26px;
  font-family: var(--font-serif);
  color: var(--olive);
  margin-top: 12px;
}

.offer .offer-foot {
  font-size: 11px;
  font-weight: 700;
  color: var(--muted);
  margin-top: 8px;
  border-top: 1px solid var(--line);
  padding-top: 8px;
}

.offer .badge {
  top: -12px;
  left: 16px;
  transform: none;
  font-size: 10px;
  padding: 4px 10px;
}

/* Layout del checkout: Formulario + Resumen */
.checkout {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 32px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 30px;
}

.checkout h3 {
  font-size: 20px;
  margin-bottom: 6px;
}

.checkout-intro {
  font-size: 13px;
  margin-bottom: 20px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.field.full {
  grid-column: 1 / -1;
}

.field label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 6px;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--bg-crema);
  padding: 10px 14px;
  font-size: 15px;
  color: var(--ink);
  transition: border-color 0.2s;
}

.field textarea {
  min-height: 86px;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--olive);
  background: #fff;
}

.field small {
  font-size: 11px;
  color: var(--muted);
  margin-top: 4px;
  display: block;
}

.hp {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}

.order-data-note {
  font-size: 11px;
  color: var(--muted);
  margin-top: 16px;
}

/* Resumen del Pedido */
.order-summary {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 24px;
  align-self: start;
}

.summary-product {
  display: flex;
  gap: 14px;
  align-items: center;
  margin: 18px 0;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.summary-product img {
  width: 58px;
  height: 58px;
  object-fit: cover;
  background: #fff;
  border-radius: 8px;
  border: 1px solid var(--line);
}

.summary-product strong {
  font-size: 14px;
  display: block;
  line-height: 1.3;
}

.summary-product small {
  font-size: 12px;
  color: var(--muted);
}

.summary-row {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  margin: 10px 0;
}

.summary-row .free {
  color: var(--olive);
  font-weight: 700;
}

.summary-row.total {
  border-top: 1px solid var(--line);
  padding-top: 16px;
  margin-top: 16px;
  align-items: center;
}

.summary-row.total strong {
  font-family: var(--font-serif);
  font-size: 26px;
  color: var(--olive);
}

.summary-row[hidden] {
  display: none !important;
}

.submit {
  width: 100%;
  margin-top: 18px;
  font-size: 13px;
  padding: 14px;
}

.whatsapp-notice {
  font-size: 12px;
  color: var(--olive);
  margin-top: 12px;
  text-align: center;
  line-height: 1.4;
}

.form-error {
  font-size: 12px;
  color: #b91c1c;
  margin-top: 12px;
  text-align: center;
  font-weight: 600;
}

/* ---------- OFERTA DE SALIDA (Exit Dialog) ---------- */
.exit-offer-dialog {
  border: 0;
  border-radius: var(--radius-lg);
  padding: 34px 28px;
  max-width: 440px;
  width: calc(100% - 32px);
  text-align: center;
  box-shadow: 0 20px 80px rgba(0,0,0,0.3);
  background: var(--bg-crema);
}

.exit-offer-dialog::backdrop {
  background: rgba(26, 23, 20, 0.75);
  backdrop-filter: blur(5px);
}

.exit-offer-dialog h2 {
  font-size: 24px;
  margin: 16px 0 10px;
}

.exit-price {
  display: flex;
  justify-content: center;
  align-items: baseline;
  gap: 14px;
  margin: 18px 0 6px;
}

.exit-price del {
  font-size: 16px;
  color: var(--muted);
}

.exit-price strong {
  font-family: var(--font-serif);
  font-size: 38px;
  color: var(--olive);
}

.exit-savings {
  color: var(--olive);
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 18px;
}

.exit-offer-dialog .cta {
  width: 100%;
  margin-top: 10px;
}

.leave-checkout {
  display: block;
  width: 100%;
  background: none;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 12px;
  font-size: 13px;
  color: var(--muted);
  margin-top: 10px;
}

/* Modal de mensajes / diálogo */
#message-dialog {
  border: 0;
  border-radius: var(--radius-md);
  padding: 30px 24px;
  max-width: 440px;
  width: calc(100% - 32px);
  box-shadow: 0 20px 80px rgba(0,0,0,0.25);
  background: #fff;
}

#message-dialog h2 {
  font-size: 22px;
  margin-bottom: 12px;
}

#message-dialog p {
  font-size: 14px;
  margin-bottom: 22px;
  white-space: pre-line;
}

#message-dialog .cta {
  width: 100%;
}

/* ---------- RESPONSIVE MOBILE ---------- */
@media (max-width: 860px) {
  .wrap {
    width: calc(100% - 32px);
  }
  
  .header {
    height: 68px;
  }
  
  .hero {
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 24px 0 36px;
  }
  
  .hero-gallery {
    display: none;
  }
  
  .mobile-gallery {
    display: block;
    margin: 22px 0;
  }
  
  .trust-items {
    grid-template-columns: 1fr 1fr;
    gap: 16px 0;
    font-size: 12px;
  }
  
  .trust-items span:nth-child(3) {
    border-left: 0;
  }
  
  .problem-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  
  .benefits-layout,
  .aroma-layout,
  .trend-layout,
  .steps-layout {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  
  .benefits-media,
  .aroma-media {
    order: -1;
  }
  
  .offer-cards {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  
  .trust-grid {
    grid-template-columns: 1fr 1fr;
    gap: 14px;
  }
  
  .checkout {
    grid-template-columns: 1fr;
    padding: 20px 16px;
    gap: 24px;
  }
  
  .offers {
    grid-template-columns: 1fr;
  }
  
  .form-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-top {
    flex-direction: column;
    gap: 20px;
  }
  
  .wa {
    bottom: 84px;
    left: 16px;
    width: 48px;
    height: 48px;
  }
}

/* Reducción de movimiento */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
}
