/* ============================================================
   Chic&Love Ecuador — hoja de estilos global
   Editorial, cálida y enfocada en conversión
   ============================================================ */

:root {
  --paper: #f7f4ef;
  --card: #fffdfb;
  --ink: #111112;
  --ink-2: #35312e;
  --muted: #716a63;
  --line: rgba(19, 19, 19, 0.09);
  --a: #8c6fc9;            /* acento activo (se sobreescribe por producto) */
  --a-dark: #6a4fa8;
  --a-soft: #f1ebfb;
  --grad-dopamine: linear-gradient(90deg, #8c6fc9, #e88998, #35b34a, #4fa8d8, #b3538f, #2b4fc7, #8c6fc9);
  --r-lg: 30px;
  --r-md: 20px;
  --r-sm: 12px;
  --shadow-1: 0 10px 32px -24px rgba(17, 17, 18, 0.32);
  --shadow-2: 0 28px 70px -34px rgba(17, 17, 18, 0.36);
  --font-display: ui-rounded, "Avenir Next", "Segoe UI", system-ui, sans-serif;
  --font-body: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --header-h: 78px;
}

/* frame-guard.js solo revela la interfaz cuando es la ventana superior. */
html:not(.top-level) body > * { visibility: hidden; }
html:not(.top-level) .no-script-notice {
  visibility: visible;
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-content: center;
  padding: 32px;
  background: var(--paper);
  color: var(--ink);
  text-align: center;
  font: 600 18px/1.5 var(--font-body);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

html { scroll-behavior: smooth; overflow-x: clip; scrollbar-gutter: stable; scroll-padding-top: calc(var(--header-h) + 40px); }

body {
  font-family: var(--font-body);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

body.ui-locked { overflow: hidden; }

img { max-width: 100%; display: block; }
.lazy-media { opacity: 0; transition: opacity 0.38s ease; }
.lazy-media.loaded { opacity: 1; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
ul, ol { list-style: none; }

.not-found {
  min-height: 100svh;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 20px;
  padding: 32px;
  text-align: center;
}
.not-found .brand { margin-bottom: 24px; }
.not-found .brand img { height: 34px; }
.not-found h1 { font-size: clamp(38px, 8vw, 72px); }
.not-found > p:not(.eyebrow) { color: var(--muted); }
.not-found-links {
  display: grid;
  gap: 8px;
  max-width: 460px;
  text-align: left;
  color: var(--muted);
  font-size: 15px;
}
.not-found-links a {
  color: var(--a-dark);
  text-decoration: underline;
  text-underline-offset: 3px;
}

::selection { background: var(--a); color: #fff; }

h1, h2, h3, .display {
  font-family: var(--font-display);
  font-weight: 750;
  line-height: 1.02;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

p, li { text-wrap: pretty; }

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

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--a-dark);
}
.eyebrow::before {
  content: "";
  width: 22px; height: 2px;
  background: var(--a);
  border-radius: 2px;
}

.section { padding: 112px 0; }
.section-head { max-width: 640px; margin-bottom: 48px; }
.section-head h1, .section-head h2 { font-size: clamp(30px, 4.4vw, 46px); margin-top: 14px; }
.section-head p { color: var(--muted); margin-top: 14px; font-size: 17px; }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 30px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.01em;
  transition: transform 0.25s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.25s, background 0.25s, color 0.25s;
  white-space: nowrap;
  min-height: 50px;
}
.btn:active { transform: scale(0.97); }
.btn-primary { background: var(--ink); color: #fff; box-shadow: 0 12px 30px -18px rgba(17,17,18,0.75); }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 18px 36px -16px rgba(17,17,18,0.58); }
.btn-accent { background: color-mix(in srgb, var(--a-dark) 70%, #111); color: #fff; }
.btn-accent:hover { background: var(--ink); transform: translateY(-2px); box-shadow: 0 14px 30px -12px var(--a); }
.btn-ghost { border: 1.5px solid var(--line); background: transparent; }
.btn-ghost:hover { border-color: var(--ink); transform: translateY(-2px); }
.btn-white { background: #fff; color: var(--ink); }
.btn-white:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -12px rgba(0,0,0,0.45); }
.btn-wide { width: 100%; }

/* ---------- Cabecera fija (topbar + header apilados) ---------- */
.site-top {
  position: sticky;
  top: 0;
  z-index: 60;
}

/* ---------- Barra superior ---------- */
.topbar {
  position: relative;
  z-index: 60;
  background: #171619;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.035em;
  text-align: center;
  padding: 9px 16px;
  overflow: hidden;
}
.topbar span { position: relative; z-index: 1; }
/* Un "|" real entre cada parte; el margen simétrico da el aire a ambos lados. */
.topbar span + span::before {
  content: "|";
  display: inline-block;
  margin: 0 24px;
  color: rgba(255,255,255,0.34);
  font-weight: 400;
}
/* Es un separador visual: donde se admite texto alternativo se silencia para el
   lector de pantalla. En @supports para no perder el "|" si no está soportado. */
@supports (content: "x" / "y") {
  .topbar span + span::before { content: "|" / ""; }
}
.topbar::before {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(200, 175, 255, 0.7), rgba(255, 180, 195, 0.6), rgba(125, 218, 141, 0.55), transparent);
  opacity: 0.8;
}

/* ---------- Header ---------- */
.header {
  position: relative;
  z-index: 50;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: rgba(247, 244, 239, 0.78);
  backdrop-filter: blur(18px) saturate(1.4);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, background 0.3s;
}
.header.scrolled { border-bottom-color: var(--line); background: rgba(247, 244, 239, 0.94); box-shadow: 0 12px 36px -32px rgba(17,17,18,0.65); }
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(1240px, calc(100% - 40px));
  margin-inline: auto;
}
.brand-lockup {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  width: max-content;
  line-height: 1;
}
.brand-lockup img { height: 31px; width: auto; }
.brand-country {
  order: -1;
  width: 100%;
  margin: 0 0 4px;
  color: currentColor;
  font-family: var(--font-body);
  font-size: 7.5px;
  font-weight: 750;
  letter-spacing: 0.34em;
  line-height: 1;
  text-align: center;
  text-indent: 0.34em;
  text-transform: uppercase;
  transform: translateX(-5.4%);
}
.brand-lockup-mobile img { height: 26px; }
.brand-lockup-mobile .brand-country { margin-bottom: 3px; font-size: 6.25px; }
.nav-links { display: flex; gap: 34px; font-size: 14px; font-weight: 650; }
.nav-links a { position: relative; padding: 6px 0; color: var(--ink-2); transition: color 0.2s; }
.nav-links a::after {
  content: "";
  position: absolute; left: 0; bottom: 0;
  width: 100%; height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after, .nav-links a[aria-current="page"]::after { transform: scaleX(1); }
.nav-actions { display: flex; align-items: center; gap: 8px; }
.icon-btn {
  position: relative;
  width: 44px; height: 44px;
  display: grid; place-items: center;
  border-radius: 50%;
  transition: background 0.2s, transform 0.2s;
}
.icon-btn:hover { background: rgba(19,19,19,0.06); transform: translateY(-1px); }
.icon-btn svg { width: 21px; height: 21px; }
.cart-count {
  position: absolute;
  top: 2px; right: 0;
  min-width: 18px; height: 18px;
  padding: 0 5px;
  display: grid; place-items: center;
  background: var(--ink);
  color: #fff;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  transform: scale(0);
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.cart-count.on { transform: scale(1); }
.burger { display: none; }

/* menú móvil */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 70;
  background: var(--paper);
  display: flex;
  flex-direction: column;
  padding: 24px;
  overflow-y: auto;
  overscroll-behavior: contain;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1), visibility 0s linear 0.35s;
  visibility: hidden;
}
.mobile-menu.open { transform: translateX(0); visibility: visible; transition-delay: 0s; }
.mobile-menu-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 40px; }
.mobile-menu nav { display: flex; flex-direction: column; gap: 8px; }
.mobile-menu nav a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-display);
  font-size: 34px;
  font-weight: 700;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}
.mobile-menu nav a[aria-current="page"] { color: var(--a-dark); }
.mobile-menu nav a[aria-current="page"]::after { content: "●"; color: var(--a); font-size: 11px; }
.mobile-menu .btn { margin-top: auto; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: clip;
  padding: 64px 0 88px;
  min-height: calc(94vh - var(--header-h));
  display: flex;
  align-items: center;
}
.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  align-items: center;
  gap: 70px;
}
.hero h1 { font-size: clamp(46px, 6.15vw, 80px); max-width: 650px; margin-top: 14px; }
.hero h1 .accent-word {
  background: linear-gradient(100deg, #8c6fc9, #e88998 45%, #35b34a 80%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-sub { margin-top: 24px; font-size: 18px; color: var(--muted); max-width: 540px; }
.hero-offer { margin-top: 25px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; }
.hero-offer strong { flex-basis: 100%; font-family: var(--font-display); font-size: 23px; letter-spacing: -0.025em; }
.hero-offer span { color: #625b55; font-size: 13.5px; font-weight: 650; }
.hero-offer-content { white-space: nowrap; }
.hero-ctas { margin-top: 26px; display: flex; gap: 12px; flex-wrap: wrap; }
.hero-proof { margin-top: 30px; display: flex; align-items: center; gap: 13px; font-size: 13.5px; color: var(--muted); }
.hero-proof strong { color: var(--ink); }
.stars { color: #f5a623; letter-spacing: 2px; font-size: 14px; }

.hero-stage {
  position: relative;
  height: 570px;
  isolation: isolate;
  border-radius: 46px;
  background: linear-gradient(145deg, #eee8fa 0%, #fbe9ed 48%, #e8f5f4 100%);
  border: 1px solid rgba(255,255,255,0.72);
  box-shadow: 0 36px 90px -54px rgba(17,17,18,0.5), inset 0 1px rgba(255,255,255,0.8);
  overflow: hidden;
}
.hero-stage::before {
  content: "";
  position: absolute;
  width: 88%;
  aspect-ratio: 1;
  left: 50%;
  top: 50%;
  translate: -50% -50%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,0.82) 0 37%, rgba(255,255,255,0) 70%);
  filter: blur(10px);
}
.hero-bottle {
  position: absolute;
  filter: drop-shadow(0 30px 40px rgba(19, 19, 19, 0.18));
  animation: floaty 7s ease-in-out infinite;
  will-change: transform;
}
.hero-bottle img { height: 100%; width: auto; object-fit: contain; }
.hb-1 { height: 455px; left: 50%; top: 49%; translate: -50% -50%; z-index: 3; animation-delay: -1.2s; }
.hb-2 { height: 275px; left: 2%; top: 4%; z-index: 2; animation-delay: -2.4s; rotate: -7deg; }
.hb-3 { height: 265px; right: 1%; bottom: -1%; z-index: 2; animation-delay: -4.8s; rotate: 6deg; }
.stage-note {
  position: absolute;
  z-index: 5;
  padding: 9px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,0.74);
  border: 1px solid rgba(255,255,255,0.86);
  box-shadow: 0 14px 30px -24px rgba(17,17,18,0.5);
  backdrop-filter: blur(12px);
  color: var(--ink-2);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.stage-note-top { top: 24px; right: 24px; }
.stage-note-bottom { bottom: 24px; left: 24px; }
@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-16px); }
}

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.5;
  pointer-events: none;
  animation: blobDrift 18s ease-in-out infinite alternate;
}
.blob-1 { width: 480px; height: 480px; background: #c9b6f2; top: -120px; right: -80px; }
.blob-2 { width: 420px; height: 420px; background: #f8c3cc; bottom: -140px; left: -120px; animation-delay: -6s; }
.blob-3 { width: 320px; height: 320px; background: #bfe6f7; top: 30%; left: 38%; opacity: 0.4; animation-delay: -12s; }
@keyframes blobDrift {
  from { transform: translate(0, 0) scale(1); }
  to { transform: translate(40px, -40px) scale(1.12); }
}

/* ---------- Marquee ---------- */
.marquee {
  background: var(--ink);
  color: #fff;
  overflow: hidden;
  padding: 14px 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 26s linear infinite;
}
.marquee-group {
  display: flex;
  flex: none;
  align-items: center;
  gap: 64px;
  padding-right: 64px;
  white-space: nowrap;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---------- Franja de confianza ---------- */
.trust { padding: 46px 0; border-bottom: 1px solid var(--line); background: rgba(255,253,251,0.66); }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.trust-item { display: flex; align-items: center; gap: 14px; padding-right: 16px; border-right: 1px solid var(--line); }
.trust-item:last-child { border-right: 0; }
.trust-item .t-ico {
  width: 48px; height: 48px;
  flex: none;
  display: grid; place-items: center;
  border-radius: 15px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.72);
  box-shadow: 0 8px 24px -18px rgba(19,19,19,0.5);
  color: var(--a-dark);
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
}
.trust-item h3 { margin-bottom: 4px; font-size: 15px; font-weight: 700; font-family: var(--font-body); letter-spacing: 0; }
.trust-item p { font-size: 13px; color: var(--muted); line-height: 1.4; }

/* ---------- Grid de productos ---------- */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(255px, 1fr));
  gap: 24px;
}
/* Reserva el catálogo antes de que JS cree las tarjetas y evita saltos en la carga inicial. */
.page-store .products-grid:empty { min-height: 1072px; }
#productos { background: #f1ede7; }
.section-head-row { max-width: none; display: flex; align-items: end; justify-content: space-between; gap: 40px; }
.section-head-row > div { max-width: 650px; }
.text-link { padding-bottom: 7px; border-bottom: 1px solid var(--ink); font-size: 14px; font-weight: 700; white-space: nowrap; transition: opacity 0.2s; }
.text-link:hover { opacity: 0.55; }
.pcard {
  --a: #8c6fc9;
  position: relative;
  background: var(--card);
  border-radius: 32px;
  padding: 28px 24px 24px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 18px 48px -36px rgba(17,17,18,0.6);
  border: 1px solid rgba(17,17,18,0.06);
  transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.35s;
  overflow: hidden;
}
.pcard:hover { transform: translateY(-8px); box-shadow: 0 30px 68px -32px rgba(17,17,18,0.3); }
.pcard::before {
  content: "";
  position: absolute;
  inset: 0 0 52%;
  background: radial-gradient(120% 100% at 50% 0%, var(--soft, #f1ebfb), transparent 75%);
  opacity: 0.72;
  transition: opacity 0.35s;
}
.pcard:hover::before { opacity: 1; }
.pcard-tag {
  position: absolute;
  top: 18px; left: 18px;
  z-index: 2;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--a);
  background: color-mix(in srgb, var(--a) 12%, #fff);
  padding: 5px 11px;
  border-radius: 999px;
}
.pcard.is-promo { border-color: color-mix(in srgb, var(--a) 42%, #fff); }
/* Va enfrentado a .pcard-tag, que conserva su etiqueta de objetivo. */
.pcard-promo-tag {
  position: absolute;
  top: 18px; right: 18px;
  z-index: 2;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: #fff;
  background: var(--a-dark);
  padding: 5px 11px;
  border-radius: 999px;
}
.pcard-img {
  position: relative;
  z-index: 1;
  height: 235px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
}
.pcard-img img {
  max-height: 235px;
  width: auto;
  filter: drop-shadow(0 18px 22px rgba(19, 19, 19, 0.16));
  transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.pcard:hover .pcard-img img { transform: scale(1.06) rotate(-2deg); }
/* Tienda: imagen editorial (frasco sobre podio) que llena la tarjeta */
.page-store .pcard-img, .page-product .pcard-img { aspect-ratio: 900 / 988; height: auto; border-radius: 20px; overflow: hidden; display: block; margin-bottom: 18px; }
.page-store .pcard-img img, .page-product .pcard-img img { width: 100%; height: 100%; max-height: none; object-fit: cover; filter: none; }
.page-store .pcard:hover .pcard-img img, .page-product .pcard:hover .pcard-img img { transform: scale(1.05); }
.pcard-body { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.pcard-rating { font-size: 12.5px; color: var(--muted); display: flex; gap: 6px; align-items: center; }
.pcard h2, .pcard h3 { font-size: 20px; letter-spacing: -0.025em; }
.pcard .ptagline { font-size: 13.5px; color: var(--muted); flex: 1; }
.pcard-foot { margin-top: 17px; padding-top: 16px; border-top: 1px solid var(--line); display: grid; gap: 13px; }
.pcard-price { min-width: 0; }
.pcard-price-head { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 9px; }
.pcard-now-price { font-family: var(--font-display); font-size: 19px; line-height: 1; }
.pcard-was-price { color: var(--muted); font-family: var(--font-body); font-size: 12.5px; font-weight: 500; text-decoration-thickness: 1px; }
.pcard-vat { display: block; margin-top: 5px; font-family: var(--font-body); font-size: 11px; font-weight: 600; color: var(--muted); letter-spacing: 0; }
.pcard-pack-prices { display: flex; flex-wrap: wrap; gap: 3px 15px; margin-top: 9px; }
.pcard-pack-prices small { font-family: var(--font-body); font-weight: 600; font-size: 11.5px; color: var(--muted); letter-spacing: 0; }
.pcard-saving { display: inline-flex; width: max-content; max-width: 100%; margin-top: 8px; padding: 4px 8px; border-radius: 999px; background: #edf6ed; color: #267437; font-family: var(--font-body); font-size: 10px; font-weight: 750; letter-spacing: 0.01em; }
.pcard .add-btn {
  background: var(--ink);
  color: #fff;
  width: 100%;
  padding: 11px 21px;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 600;
  min-height: 44px;
  transition: background 0.32s ease, transform 0.4s cubic-bezier(0.22, 0.61, 0.36, 1), box-shadow 0.4s ease;
}
.pcard .add-btn:hover { background: var(--a); transform: translateY(-1px); box-shadow: 0 10px 22px -10px var(--a); }

/* chips de filtro */
.chips { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 42px; }
.chip {
  padding: 10px 20px;
  border-radius: 999px;
  border: 1.5px solid var(--line);
  background: var(--card);
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-2);
  min-height: 44px;
  transition: all 0.25s;
}
.chip:hover { border-color: var(--ink); transform: translateY(-1px); }
.chip.on { background: var(--ink); border-color: var(--ink); color: #fff; }

/* ---------- Sección dividida (beneficios) ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.split-media {
  position: relative;
  border-radius: 38px;
  overflow: hidden;
  aspect-ratio: 4 / 4.6;
  background: var(--a-soft);
  box-shadow: 0 36px 80px -48px rgba(17,17,18,0.46);
}
.split-media img.cover { width: 100%; height: 100%; object-fit: cover; }
.split-media img.editorial-focus-hair { object-position: 50% 36%; }
.split-media img.editorial-focus-skin { object-position: 50% 44%; }
.split-media img.editorial-focus-gummy { object-position: 50% 42%; }
.media-shop {
  position: absolute;
  inset: auto 20px 20px;
  min-height: 82px;
  display: grid;
  grid-template-columns: 48px 1fr auto;
  align-items: center;
  gap: 13px;
  padding: 10px 12px;
  border-radius: 22px;
  background: rgba(17,17,18,0.82);
  color: #fff;
  backdrop-filter: blur(16px) saturate(1.25);
  -webkit-backdrop-filter: blur(16px) saturate(1.25);
  box-shadow: 0 20px 44px -28px rgba(0,0,0,0.8);
  transition: transform 0.25s, background 0.25s;
}
.media-shop:hover { transform: translateY(-3px); background: rgba(17,17,18,0.93); }
.media-shop > img { width: 48px; height: 58px; object-fit: contain; }
.media-shop strong, .media-shop small { display: block; }
.media-shop strong { font-size: 13px; }
.media-shop small { color: rgba(255,255,255,0.65); font-size: 12px; margin-top: 2px; }
.media-shop small.media-shop-prices { display: flex; flex-wrap: wrap; align-items: center; gap: 3px 7px; }
.media-shop-prices del { color: rgba(255,255,255,0.5); }
.media-shop-prices span { color: #fff; font-weight: 750; }
.media-shop-prices em { padding: 2px 6px; border-radius: 999px; background: rgba(255,225,231,0.16); color: #ffdce4; font-size: 8px; font-style: normal; font-weight: 800; letter-spacing: 0.05em; text-transform: uppercase; }
.media-shop b { padding: 10px 12px; border-radius: 999px; background: #fff; color: var(--ink); font-size: 11px; white-space: nowrap; }
.split-media .floating {
  position: absolute;
  right: 8%; bottom: 6%;
  height: 62%;
  filter: drop-shadow(0 24px 30px rgba(19, 19, 19, 0.3));
  animation: floaty 7s ease-in-out infinite;
}
.split h2 { font-size: clamp(30px, 4vw, 44px); margin-top: 14px; }
.split .lead { color: var(--muted); margin-top: 16px; font-size: 17px; }
.feature-list {
  --feature-line-height: 22px;
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.feature-list li { display: flex; gap: 16px; align-items: flex-start; }
.feature-list .f-ico {
  flex: none;
  width: 44px; height: 44px;
  display: grid; place-items: center;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.74);
  box-shadow: 0 8px 24px -18px rgba(19,19,19,0.5);
  color: var(--a-dark);
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
}
.feature-list h3 {
  font-size: 16px;
  font-family: var(--font-body);
  font-weight: 700;
  line-height: var(--feature-line-height);
  letter-spacing: 0;
}
.feature-list p {
  color: var(--muted);
  font-size: 14px;
  line-height: var(--feature-line-height);
}

/* ---------- Ritual / pasos ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.step {
  background: var(--card);
  border-radius: var(--r-lg);
  padding: 38px 30px;
  box-shadow: var(--shadow-1);
  transition: transform 0.3s, box-shadow 0.3s;
}
.step:hover { transform: translateY(-6px); box-shadow: var(--shadow-2); }
.step .n {
  font-family: var(--font-display);
  font-size: 52px;
  font-weight: 700;
  line-height: 1;
  background: linear-gradient(120deg, var(--a), var(--a-dark));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.step h3 { margin-top: 18px; font-size: 19px; }
.step p { margin-top: 10px; font-size: 14.5px; color: var(--muted); }

/* ---------- Stats ---------- */
.stats-band { background: var(--ink); color: #fff; padding: 72px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; text-align: center; }
.stat .num {
  font-family: var(--font-display);
  font-size: clamp(36px, 4.6vw, 54px);
  font-weight: 700;
  color: #fff;
}
.stat p { color: rgba(255,255,255,0.65); font-size: 14px; margin-top: 6px; }

/* ---------- Testimonios ---------- */
.reviews-section { background: #e9e4f0; }
.reviews-section .section-head p { color: #6b635c; }
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.tcard {
  background: var(--card);
  border-radius: var(--r-lg);
  padding: 30px 28px;
  box-shadow: 0 22px 55px -42px rgba(17,17,18,0.45);
  border: 1px solid rgba(17,17,18,0.055);
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: transform 0.3s, box-shadow 0.3s;
}
.tcard:hover { transform: translateY(-6px); box-shadow: var(--shadow-2); }
.tcard p { font-size: 15px; color: var(--ink-2); line-height: 1.72; }
.tcard footer { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.tcard .avatar {
  width: 42px; height: 42px;
  border-radius: 50%;
  display: grid; place-items: center;
  font-weight: 700;
  color: #fff;
  font-size: 15px;
}
.tcard .who strong { display: block; font-size: 14px; }
.tcard .who span { font-size: 12.5px; color: var(--muted); }
.tcard .review-link {
  display: block;
  width: fit-content;
  margin-top: 4px;
  color: var(--a-dark);
  font-size: 11.5px;
  font-weight: 700;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: opacity 0.2s;
}
.tcard .review-link::after { content: " ↗"; }
.tcard .review-link:hover { opacity: 0.6; }

/* Certificaciones */
.certs-section { background: #f2eef7; }
.certs-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 44px; }
.cert-item { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; padding: 32px 24px; background: #fff; border: 1px solid var(--line); border-radius: 22px; text-align: center; }
.cert-item img { height: 76px; width: auto; max-width: 82%; object-fit: contain; }
.cert-item figcaption { font-size: 13.5px; font-weight: 650; letter-spacing: 0.02em; color: var(--ink-2); }
/* Matiz bajo el nombre del sello (p. ej. qué significa «FDA Registered»); no todas
   las tarjetas lo llevan, así que no puede alterar la altura de la rejilla. */
.cert-item figcaption small { display: block; margin-top: 5px; font-size: 11.5px; font-weight: 500; letter-spacing: 0; color: var(--muted); }
@media (max-width: 860px) {
  .certs-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .cert-item { padding: 24px 16px; }
  .cert-item img { height: 60px; }
}

/* Historia — foto de la colección */
.story-photo { align-self: start; border-radius: 32px; overflow: hidden; border: 1px solid var(--line); background: radial-gradient(120% 90% at 50% 0%, #fff 0 42%, #f4f0f8 100%); display: grid; place-items: center; padding: 30px; }
.story-photo img { display: block; width: auto; max-width: 100%; max-height: 600px; filter: drop-shadow(0 24px 34px rgba(19,19,19,0.14)); }

/* Sección Laboratorios Lira (distribuidor oficial) */
.lira-section { background: #f2eef7; }
.lira-brand { align-self: center; background: #fff; border: 1px solid var(--line); border-radius: 30px; padding: 60px 52px; display: grid; place-items: center; box-shadow: 0 34px 66px -46px rgba(17,17,18,0.42); text-decoration: none; }
.lira-brand img { width: min(320px, 92%); height: auto; }
.lira-facts { display: flex; flex-wrap: wrap; gap: 40px; margin-top: 30px; }
.lira-facts > div strong { display: block; font-size: 27px; font-weight: 800; color: var(--ink); line-height: 1.1; letter-spacing: -0.01em; }
.lira-facts > div span { font-size: 13px; color: var(--muted); }
@media (max-width: 860px) {
  .lira-brand { padding: 44px 32px; }
  .lira-facts { gap: 28px; }
}

/* ---------- FAQ ---------- */
.faq { max-width: 760px; margin-inline: auto; }
.faq details {
  background: var(--card);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-1);
  margin-bottom: 12px;
  overflow: hidden;
  border: 1px solid rgba(19, 19, 19, 0.035);
  transition: border-color 0.25s, box-shadow 0.25s;
}
.faq details:hover, .faq details[open] { border-color: rgba(140, 111, 201, 0.22); box-shadow: 0 10px 30px -20px rgba(19,19,19,0.35); }
.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 22px 26px;
  font-weight: 600;
  font-size: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  position: relative;
  transition: background 0.28s ease, color 0.2s ease;
}
.faq summary::-webkit-details-marker { display: none; }
.faq details:not([open]) summary:hover { background: color-mix(in srgb, var(--a) 6%, transparent); }
.faq summary::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 3px;
  height: 0;
  background: var(--a);
  border-radius: 0 3px 3px 0;
  transform: translateY(-50%);
  transition: height 0.34s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.faq summary:hover::before { height: 42%; }
.faq details[open] summary::before { height: 62%; }
.faq summary::after {
  content: "+";
  font-family: var(--font-display);
  font-size: 22px;
  color: var(--a);
  transition: rotate 0.42s cubic-bezier(0.34, 1.56, 0.64, 1), color 0.25s ease, scale 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
  flex: none;
}
.faq summary:hover::after { scale: 1.2; }
.faq details[open] summary::after { rotate: 45deg; color: var(--a-dark); }
.faq .faq-body { padding: 0 26px 22px; color: var(--muted); font-size: 15px; }

/* ---------- CTA final ---------- */
.cta-banner {
  position: relative;
  overflow: clip;
  border-radius: var(--r-lg);
  background: linear-gradient(135deg, #121114, #211d24 55%, #18161a);
  color: #fff;
  padding: 78px 64px;
  text-align: center;
  border: 1px solid rgba(255,255,255,0.09);
  box-shadow: 0 28px 70px -40px rgba(19,19,19,0.7);
}
.cta-banner h2 { font-size: clamp(30px, 4.6vw, 50px); position: relative; z-index: 1; }
.cta-banner p { color: rgba(255,255,255,0.7); margin-top: 14px; position: relative; z-index: 1; }
.cta-banner .btn { margin-top: 30px; position: relative; z-index: 1; }
.cta-banner .blob { opacity: 0.16; }
.cta-editorial { min-height: 430px; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr); align-items: center; text-align: left; }
.cta-copy { position: relative; z-index: 2; max-width: 650px; }
.cta-kicker { display: block; margin-bottom: 16px; color: #cdbdf0; font-size: 11px; font-weight: 750; letter-spacing: 0.15em; text-transform: uppercase; }
.cta-editorial h2 { font-size: clamp(36px, 5vw, 58px); }
.cta-editorial p { max-width: 530px; }
.cta-visual { position: absolute; right: 2%; bottom: -8%; width: 44%; height: 145%; display: grid; place-items: end center; }
.cta-visual img { width: 100%; max-width: 460px; height: auto; max-height: none; filter: drop-shadow(0 30px 44px rgba(0,0,0,0.45)); rotate: 0deg; }

/* ---------- Banda de promoción ---------- */
/* main.js fija --a / --a-dark con el color del producto en promoción. */
.promo-band {
  position: relative;
  overflow: clip;
  display: grid;
  /* Sin padding a la derecha: la imagen sangra hasta el borde de la banda y la
     esquina redondeada la recorta, así no queda una caja dentro de otra caja. */
  grid-template-columns: minmax(0, 1fr) clamp(260px, 40%, 480px);
  align-items: center;
  gap: 40px;
  padding: 0;
  border-radius: var(--r-lg);
  border: 1px solid color-mix(in srgb, var(--a) 30%, #fff);
  /* El tinte del acento recorre la banda entera; antes moría en blanco al 58%
     y dejaba un vacío pálido entre el texto y la imagen. */
  background:
    radial-gradient(120% 150% at 100% 50%, color-mix(in srgb, var(--a) 22%, #fff), transparent 62%),
    linear-gradient(108deg, color-mix(in srgb, var(--a) 30%, #fff), color-mix(in srgb, var(--a) 14%, #fff) 62%, color-mix(in srgb, var(--a) 20%, #fff));
  box-shadow: var(--shadow-1);
  color: var(--ink);
  transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.35s;
}
.promo-band:hover { transform: translateY(-3px); box-shadow: var(--shadow-2); }
/* El aire vive aquí, no en la banda: así la imagen llega hasta los cuatro bordes. */
.promo-band-copy { position: relative; z-index: 1; padding: 52px 0 52px 56px; }
.promo-band-head { display: flex; align-items: center; flex-wrap: wrap; gap: 14px; }
.promo-band-kicker {
  color: var(--a-dark);
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}
.promo-band-badge {
  display: inline-flex;
  align-items: center;
  padding: 6px 13px;
  border-radius: 999px;
  background: var(--a-dark);
  color: #fff;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 750;
  letter-spacing: -0.01em;
  line-height: 1;
}
.promo-band h2 { margin-top: 15px; font-size: clamp(32px, 4.2vw, 50px); letter-spacing: -0.03em; }
.promo-band-prices { margin-top: 14px; display: flex; align-items: baseline; flex-wrap: wrap; gap: 3px 13px; }
.promo-band-prices strong { font-family: var(--font-display); font-size: 27px; letter-spacing: -0.02em; }
.promo-band-prices del { color: var(--muted); font-size: 15.5px; font-weight: 500; text-decoration-thickness: 1px; }
.promo-band-vat { color: var(--muted); font-size: 12.5px; font-weight: 600; }
.promo-band-actions { margin-top: 26px; display: flex; align-items: center; flex-wrap: wrap; gap: 10px 18px; }
.promo-band-cta {
  display: inline-flex;
  align-items: center;
  padding: 12px 25px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-size: 13.5px;
  font-weight: 600;
  transition: background 0.32s ease;
}
.promo-band-deadline { color: var(--muted); font-size: 12.5px; font-weight: 600; }
.promo-band:hover .promo-band-cta { background: var(--a-dark); }
/* A sangre y a altura completa: la fila la marca el texto y la imagen la rellena. */
.promo-band-media { position: relative; align-self: stretch; min-height: 270px; overflow: hidden; }
.promo-band-media img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.promo-band:hover .promo-band-media img { transform: scale(1.05); }
/* En la tienda el hueco superior lo da el margen de los chips (42px). */
.promo-band-slot { margin-bottom: 46px; }
/* Comparte el fondo de #productos para que la banda no caiga justo sobre el
   cambio de color: así flota sobre un solo tono y la costura pasa a coincidir
   con el borde inferior de .trust, que ya es una separación intencional. */
.promo-band-section { padding: 46px 0 0; background: #f1ede7; }
/* El aire de abajo lo pone la sección siguiente; con la banda delante se recorta
   al mismo valor para que no quede flotando en un vacío. Si la promo termina, la
   sección va [hidden] y #productos recupera su ritmo normal de 112px. */
.promo-band-section:not([hidden]) + #productos { padding-top: 46px; }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: rgba(255,255,255,0.75); margin-top: 96px; }
.footer-main {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding: 72px 0 48px;
}
.footer .brand img { height: 30px; }
.footer .brand-country { color: #fff; }
.footer .about { margin-top: 18px; font-size: 14px; max-width: 300px; }
.footer h2 {
  color: #fff;
  font-size: 13px;
  font-family: var(--font-body);
  line-height: 1.6;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.footer li { margin-bottom: 10px; font-size: 14.5px; }
.footer a { font-size: 14.5px; transition: color 0.2s; }
.footer a:hover { color: #fff; }
.footer-social { display: flex; gap: 12px; margin-top: 22px; }
.footer-social a {
  width: 44px; height: 44px;
  display: grid; place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.2);
  transition: background 0.25s, border-color 0.25s, transform 0.25s;
}
.footer-social a:hover { background: rgba(255,255,255,0.1); border-color: #fff; transform: translateY(-2px); }
.footer-social svg { width: 18px; height: 18px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding: 22px 0;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 12.5px;
  color: rgba(255,255,255,0.45);
}
/* Identificación del distribuidor: ocupa su propia línea para no competir con el
   copyright ni descuadrar el reparto a dos columnas del resto del pie. */
.footer-legal { flex-basis: 100%; font-size: 11.5px; color: rgba(255,255,255,0.35); }

/* ---------- Carrito (drawer) ---------- */
.cart-overlay {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: rgba(19, 19, 19, 0.4);
  backdrop-filter: blur(3px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
}
.cart-overlay.open { opacity: 1; visibility: visible; }
.cart-drawer {
  position: fixed;
  top: 0; right: 0; bottom: 0;
  z-index: 90;
  width: min(420px, 100vw);
  background: var(--paper);
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.38s cubic-bezier(0.2, 0.8, 0.2, 1), visibility 0s linear 0.38s;
  box-shadow: -20px 0 60px rgba(19,19,19,0.15);
  visibility: hidden;
}
.cart-drawer.open { transform: translateX(0); visibility: visible; transition-delay: 0s; }
.cart-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 24px;
  border-bottom: 1px solid var(--line);
}
.cart-head h3 { font-size: 20px; }
.cart-items { flex: 1; overflow-y: auto; padding: 18px 24px; display: flex; flex-direction: column; gap: 16px; }
.cart-empty { text-align: center; color: var(--muted); margin: auto; padding: 40px 20px; }
.cart-empty .empty-mark {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  margin: 0 auto 16px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--card);
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
}
.cart-item {
  display: grid;
  grid-template-columns: 72px 1fr auto;
  gap: 14px;
  align-items: center;
  background: var(--card);
  border-radius: var(--r-md);
  padding: 12px;
  box-shadow: var(--shadow-1);
}
.cart-item img { height: 64px; width: auto; margin-inline: auto; }
.cart-item h4 { font-size: 14.5px; font-weight: 700; }
.cart-item .variant { font-size: 12px; color: var(--muted); }
.cart-item .price { font-weight: 700; font-size: 14px; margin-top: 4px; }
.qty {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  border: 1.5px solid var(--line);
  border-radius: 999px;
  margin-top: 6px;
}
.qty button {
  width: 28px; height: 28px;
  display: grid; place-items: center;
  font-weight: 700;
  border-radius: 50%;
  transition: background 0.2s;
}
.qty button:hover { background: rgba(19,19,19,0.06); }
.qty .q { min-width: 22px; text-align: center; font-size: 13.5px; font-weight: 600; }
.cart-item .rm {
  color: var(--muted);
  font-size: 18px;
  align-self: start;
  width: 36px; height: 36px;
  display: grid; place-items: center;
  border-radius: 50%;
  transition: background 0.2s, color 0.2s;
}
.cart-item .rm:hover { background: #fbe9e9; color: #c0392b; }
.cart-item .qty button { width: 36px; height: 36px; }
.cart-add-more {
  flex: none;
  margin-top: 2px;
  padding-block: 12px;
  background: rgba(255,255,255,0.56);
}
.cart-add-more-icon {
  width: 24px;
  height: 24px;
  position: relative;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  font-size: 0;
}
.cart-add-more-icon::before,
.cart-add-more-icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 10px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transform: translate(-50%, -50%);
}
.cart-add-more-icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
}
.cart-foot { border-top: 1px solid var(--line); padding: 20px 24px max(26px, calc(16px + env(safe-area-inset-bottom, 0px))); }
.cart-total { display: flex; justify-content: space-between; font-weight: 700; font-size: 17px; margin-bottom: 6px; }
.cart-total-ship { margin-left: 6px; font-size: 12px; font-weight: 600; color: var(--muted); }
.cart-total-vat { display: block; margin-top: 3px; font-family: var(--font-body); font-size: 11.5px; font-weight: 600; color: var(--muted); letter-spacing: 0; }
.cart-shipping { margin: 12px 0 14px; }
.cart-shipping p { color: var(--ink-2); font-size: 12px; font-weight: 650; }
.cart-shipping progress { display: block; width: 100%; height: 7px; margin-top: 8px; border: 0; border-radius: 999px; overflow: hidden; background: #e8e3dd; }
.cart-shipping progress::-webkit-progress-bar { background: #e8e3dd; }
.cart-shipping progress::-webkit-progress-value { background: linear-gradient(90deg, #8c6fc9, #e88998); border-radius: 999px; }
.cart-shipping progress::-moz-progress-bar { background: linear-gradient(90deg, #8c6fc9, #e88998); border-radius: 999px; }
.cart-note { font-size: 12px; color: var(--muted); margin-bottom: 16px; }
/* Nota legal bajo el botón de checkout: discreta, sin restarle peso al CTA. */
.cart-terms { margin: 12px 0 0; font-size: 11.5px; line-height: 1.5; }
.cart-terms a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.cart-terms a:hover { color: var(--ink-2); }
.btn-wa { background: #21b858; color: #fff; }
.btn-wa svg { width: 18px; height: 18px; fill: currentColor; flex: 0 0 auto; }
.btn-wa:hover { background: #1aa04c; transform: translateY(-2px); box-shadow: 0 14px 30px -12px #21b858; }

/* ---------- Toast ---------- */
.toast {
  position: fixed;
  bottom: 28px;
  left: 50%;
  z-index: 100;
  translate: -50% 0;
  background: var(--ink);
  color: #fff;
  padding: 14px 26px;
  border-radius: 999px;
  font-size: 14.5px;
  font-weight: 600;
  box-shadow: var(--shadow-2);
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.3s, transform 0.3s;
  pointer-events: none;
  max-width: calc(100vw - 40px);
  text-align: center;
}
.toast.show { opacity: 1; transform: translateY(0); }

/* ---------- Página de producto ---------- */
.pd-hero { padding: 64px 0 96px; }
.pd-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.pd-stage {
  position: sticky;
  top: calc(var(--header-h) + 56px);
  border-radius: 40px;
  background: radial-gradient(110% 110% at 50% 12%, #fff 0 22%, var(--a-soft) 72%, #fff 118%);
  aspect-ratio: 1 / 1.12;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(17,17,18,0.055);
  box-shadow: 0 34px 78px -50px color-mix(in srgb, var(--a) 52%, #111);
}
.pd-stage img {
  position: absolute;
  inset: 0;
  margin: auto;
  max-height: 74%;
  max-width: 76%;
  width: auto;
  filter: drop-shadow(0 30px 40px rgba(19, 19, 19, 0.2));
  animation: none;
}
.pd-stage .ring {
  position: absolute;
  width: 78%;
  aspect-ratio: 1;
  border: 2.5px solid #fff;
  border-radius: 50%;
  opacity: 0.8;
}
/* Ficha: hero con foto editorial (portada), llena el stage */
.page-product .pd-stage { aspect-ratio: 4 / 5; background: #f4f1ee; }
.page-product .pd-stage .ring { display: none; }
.page-product .pd-stage img { position: static; inset: auto; margin: 0; width: 100%; height: 100%; max-width: none; max-height: none; object-fit: cover; filter: none; }
.pd-info .crumbs { font-size: 13px; color: var(--muted); margin-bottom: 18px; }
.pd-info .crumbs a:hover { color: var(--ink); }
.pd-info h1 { font-size: clamp(32px, 4.4vw, 48px); }
.pd-info .tagline { font-size: 18px; color: var(--a-dark); font-weight: 600; margin-top: 8px; }
.page-product .pd-info .eyebrow,
.page-product .pd-info .tagline,
.page-product .pd-badges span { color: color-mix(in srgb, var(--a-dark) 60%, #111); }
.pd-rating { display: flex; align-items: center; gap: 10px; margin-top: 14px; font-size: 14px; color: var(--muted); }
.pd-rating-note { margin-top: 6px; font-size: 12px; color: var(--muted); }
.pd-desc { margin-top: 18px; color: var(--ink-2); font-size: 16.5px; }
.pd-badges { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 18px; }
.pd-badges span {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 7px 14px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--a) 12%, #fff);
  color: var(--a-dark);
}
/* Nota, no control: texto con punto de acento en vez de píldora sólida,
   que junto al botón de compra se leería como algo pulsable. */
.pd-promo {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 13px;
  color: var(--a-dark);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.01em;
}
.pd-promo::before {
  content: "";
  flex: none;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--a);
}
/* `display` de autor gana al [hidden] del navegador: hay que reponerlo. */
.pd-promo[hidden] { display: none; }
.pd-buy-label { margin-top: 28px; font-size: 13px; font-weight: 750; letter-spacing: 0.08em; text-transform: uppercase; }
.pd-variants { margin-top: 10px; display: flex; flex-direction: column; gap: 10px; }
.variant-opt {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 16px 20px;
  border-radius: var(--r-md);
  border: 2px solid var(--line);
  background: var(--card);
  cursor: pointer;
  transition: border-color 0.25s, box-shadow 0.25s;
  text-align: left;
  width: 100%;
}
.variant-opt:hover { border-color: color-mix(in srgb, var(--a) 55%, #ddd); }
.variant-opt.on { border-color: var(--a); box-shadow: 0 12px 30px -18px var(--a); }
.variant-opt.featured { background: linear-gradient(100deg, var(--card), color-mix(in srgb, var(--a-soft) 62%, #fff)); }
.variant-opt .v-name { font-weight: 700; font-size: 15px; }
.variant-opt .v-sub { font-size: 12.5px; color: var(--muted); }
.variant-opt .v-price-box { display: flex; flex-direction: column; align-items: flex-end; gap: 3px; }
.variant-opt .v-price { font-family: var(--font-display); font-weight: 700; font-size: 18px; }
.variant-opt .v-vat { font-family: var(--font-body); font-size: 10.5px; font-weight: 600; color: var(--muted); letter-spacing: 0; white-space: nowrap; }
.variant-opt .save {
  font-size: 11px;
  font-weight: 700;
  color: #fff;
  background: color-mix(in srgb, var(--a-dark) 62%, #111);
  padding: 3px 9px;
  border-radius: 999px;
  margin-left: 8px;
}
.pd-buy { margin-top: 18px; display: flex; gap: 12px; align-items: stretch; }
.pd-buy .qty { margin: 0; background: var(--card); }
.pd-buy .qty button { width: 44px; height: 48px; }
.pd-buy .btn { flex: 1; }
.pd-meta { margin-top: 18px; display: flex; gap: 8px; flex-wrap: wrap; }
.pd-meta span {
  padding: 7px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255,255,255,0.65);
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
}
.pd-assurance { margin-top: 24px; display: grid; grid-template-columns: repeat(3, 1fr); border-block: 1px solid var(--line); }
.pd-assurance > div { padding: 17px 14px 17px 0; }
.pd-assurance > div + div { padding-left: 14px; border-left: 1px solid var(--line); }
.pd-assurance strong, .pd-assurance span { display: block; }
.pd-assurance strong { font-size: 12.5px; }
.pd-assurance span { margin-top: 4px; color: var(--muted); font-size: 11.5px; line-height: 1.45; }
.pd-benefits { margin-top: 34px; }
.pd-benefits h2 { font-size: 22px; margin-bottom: 16px; }
.pd-benefits li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
  color: var(--ink-2);
}
.pd-benefits li::before {
  content: "✓";
  flex: none;
  width: 24px; height: 24px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: color-mix(in srgb, var(--a) 15%, #fff);
  color: var(--a-dark);
  font-weight: 700;
  font-size: 13px;
}
.pd-actives { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 8px; }
.pd-actives span {
  font-size: 13px;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 999px;
  background: var(--card);
  box-shadow: var(--shadow-1);
}
.pd-sticky { display: none; }
.related { padding-top: 0; }
.related .products-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }

/* Una colección de siete queda visualmente centrada en su segunda fila. */
@media (min-width: 1025px) {
  .products-grid.is-seven { grid-template-columns: repeat(8, minmax(0, 1fr)); }
  .products-grid.is-seven .pcard { grid-column: span 2; }
  .products-grid.is-seven .pcard:nth-child(5) { grid-column: 2 / span 2; }
}

/* ---------- Cabecera de tienda ---------- */
.store-hero { position: relative; overflow: clip; padding-top: 104px; }
.store-hero::before {
  content: "";
  position: absolute;
  inset: 28px 24px auto;
  height: 390px;
  border-radius: 44px;
  background: linear-gradient(120deg, #ede6f8, #fae9ed 52%, #e6f3ed);
  border: 1px solid rgba(255,255,255,0.74);
  z-index: -1;
}
.store-hero .section-head { max-width: 760px; margin-bottom: 62px; }
.store-hero .section-head h1 { font-size: clamp(42px, 6vw, 68px); }

/* ---------- Página nosotros ---------- */
.about-hero {
  position: relative;
  overflow: clip;
  padding: 96px 0;
  text-align: center;
}
.about-hero .wrap { position: relative; z-index: 1; }
.about-hero h1 { font-size: clamp(38px, 6vw, 68px); max-width: 800px; margin: 14px auto 0; }
.about-hero p { max-width: 560px; margin: 22px auto 0; color: var(--muted); font-size: 18px; }
.about-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  max-width: 1050px;
  margin-inline: auto;
  align-items: center;
}
.section.about-philosophy { padding-top: 64px; }
.page-about .split > div > p + p { margin-top: 12px; }
.about-tile {
  position: relative;
  overflow: hidden;
  aspect-ratio: 2 / 3;
  border-radius: var(--r-lg);
  background: #ece7e1;
  box-shadow: 0 26px 60px -36px rgba(19,19,19,0.5);
}
.about-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255,255,255,0.38);
  border-radius: inherit;
  pointer-events: none;
}
.about-tile img { width: 100%; height: 100%; object-fit: cover; }
.about-tile-center { translate: 0 26px; }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1); }
.reveal.in { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: 0.08s; }
.reveal-d2 { transition-delay: 0.16s; }
.reveal-d3 { transition-delay: 0.24s; }
.reveal-d4 { transition-delay: 0.34s; }
.reveal-d5 { transition-delay: 0.44s; }

/* ---------- Micro-interacciones delicadas ---------- */
.chip:hover { border-color: var(--ink); transform: translateY(-2px); box-shadow: 0 9px 20px -14px rgba(17,17,18,0.5); }
.trust-item .t-ico { transition: transform 0.32s cubic-bezier(0.34,1.56,0.64,1); }
.trust-item:hover .t-ico { transform: translateY(-3px) scale(1.08); }
.feature-list .f-ico { transition: transform 0.32s cubic-bezier(0.34,1.56,0.64,1); }
.feature-list li:hover .f-ico { transform: scale(1.14) rotate(-5deg); }
.lira-brand { transition: transform 0.42s cubic-bezier(0.2,0.8,0.2,1), box-shadow 0.42s; }
.lira-brand:hover { transform: translateY(-5px); box-shadow: 0 42px 74px -46px rgba(17,17,18,0.5); }
.pd-badges span { transition: transform 0.24s cubic-bezier(0.34,1.56,0.64,1), background 0.24s; }
.pd-badges span:hover { transform: translateY(-2px); }
.text-link { transition: opacity 0.2s, letter-spacing 0.25s; }
.text-link:hover { letter-spacing: 0.012em; }

/* Bump del badge del carrito al añadir */
@keyframes cl-bump { 0% { transform: scale(1); } 38% { transform: scale(1.16); } 72% { transform: scale(0.98); } 100% { transform: scale(1); } }
.cart-count.bump { animation: cl-bump 0.55s cubic-bezier(0.22,0.61,0.36,1); }

/* FAQ: aparición suave del contenido */
@keyframes cl-faq-in { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
.faq details[open] .faq-body { animation: cl-faq-in 0.42s cubic-bezier(0.22, 0.61, 0.36, 1); }
/* Entrada escalonada de las preguntas al entrar en pantalla */
@keyframes cl-faq-rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.faq.reveal { opacity: 1; transform: none; }
.faq.reveal details { opacity: 0; transform: translateY(18px); }
.faq.reveal.in details { animation: cl-faq-rise 0.55s both cubic-bezier(0.22, 0.61, 0.36, 1); }
.faq.reveal.in details:nth-of-type(1) { animation-delay: 0.03s; }
.faq.reveal.in details:nth-of-type(2) { animation-delay: 0.09s; }
.faq.reveal.in details:nth-of-type(3) { animation-delay: 0.15s; }
.faq.reveal.in details:nth-of-type(4) { animation-delay: 0.21s; }
.faq.reveal.in details:nth-of-type(5) { animation-delay: 0.27s; }
.faq.reveal.in details:nth-of-type(6) { animation-delay: 0.33s; }
.faq.reveal.in details:nth-of-type(7) { animation-delay: 0.39s; }
.faq.reveal.in details:nth-of-type(8) { animation-delay: 0.45s; }
.faq.reveal.in details:nth-of-type(9) { animation-delay: 0.51s; }
.faq.reveal.in details:nth-of-type(10) { animation-delay: 0.57s; }

/* Brillo sutil en botones principales al pasar el cursor */
.btn-primary, .btn-accent, .btn-wa, .pcard .add-btn { position: relative; overflow: hidden; }
.btn-primary::after, .btn-accent::after, .btn-wa::after, .pcard .add-btn::after {
  content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 100%; pointer-events: none;
  background: linear-gradient(105deg, transparent 38%, rgba(255,255,255,0.22) 50%, transparent 62%);
  transform: translateX(-130%); transition: transform 0.95s cubic-bezier(0.22,0.61,0.36,1);
}
.btn-primary:hover::after, .btn-accent:hover::after, .btn-wa:hover::after, .pcard .add-btn:hover::after { transform: translateX(130%); }

/* ---------- Utilidades (CSP-safe, sin estilos inline) ---------- */
.pt-0 { padding-top: 0; }
.section.faq-section { padding-top: 40px; }
.mt-0 { margin-top: 0; }
.center-cta { text-align: center; margin-top: 44px; }
.section-head.centered { margin-inline: auto; text-align: center; max-width: 560px; }
.section-head.centered .eyebrow { justify-content: center; }
.av-purple { background: #8c6fc9; }
.av-blue { background: #4fa8d8; }
.av-green { background: #35b34a; }
.av-magenta { background: #b3538f; }
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ---------- Accesibilidad ---------- */
:focus-visible { outline: 2.5px solid var(--a); outline-offset: 3px; border-radius: 4px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero-sub { margin-inline: auto; }
  .hero-ctas, .hero-proof { justify-content: center; }
  .hero-stage { height: 470px; max-width: 620px; margin-inline: auto; width: 100%; }
  .hb-1 { height: 330px; }
  .hb-2, .hb-3 { height: 190px; }
  .trust-grid, .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .split, .pd-grid { grid-template-columns: 1fr; gap: 40px; }
  .pd-stage { position: relative; top: 0; max-width: 560px; margin-inline: auto; width: 100%; }
  .steps, .testimonials-grid { grid-template-columns: 1fr 1fr; }
  .footer-main { grid-template-columns: 1fr 1fr; }
  .related .products-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .page-store .products-grid:empty { min-height: 1556px; }
  .section-head-row { align-items: flex-start; }
}

@media (min-width: 901px) and (max-width: 1024px) {
  #productos .products-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .products-grid.is-seven .pcard:last-child { grid-column: 2; }
  .steps > :last-child:nth-child(odd),
  .testimonials-grid > :last-child:nth-child(odd) {
    grid-column: 1 / -1;
    width: calc(50% - 11px);
    justify-self: center;
  }
}

@media (min-width: 721px) and (max-width: 900px) {
  .chips { gap: 8px; }
  .chip { padding-inline: 14px; }
  .products-grid.is-seven { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .products-grid.is-seven .pcard:last-child,
  .steps > :last-child:nth-child(odd),
  .testimonials-grid > :last-child:nth-child(odd),
  .related .products-grid > :last-child:nth-child(odd) {
    grid-column: 1 / -1;
    width: calc(50% - 11px);
    justify-self: center;
  }
  .related .products-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .page-store .products-grid:empty { min-height: 2082px; }
}

@media (max-width: 767px) {
  .nav-links { display: none; }
  .burger { display: grid; }
}

@media (max-width: 720px) {
  .section { padding: 64px 0; }
  .steps, .testimonials-grid { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: 1fr 1fr; gap: 18px; }
  .section-head-row { display: block; }
  .section-head-row .text-link { display: inline-block; margin-top: 24px; }
  .chips { justify-content: flex-start; flex-wrap: nowrap; overflow-x: auto; margin-inline: -20px; padding: 4px 20px 12px; scrollbar-width: none; overscroll-behavior-inline: contain; }
  .chips::-webkit-scrollbar { display: none; }
  .chip { flex: 0 0 auto; }
  .cta-banner { padding: 50px 24px; }
  .cta-editorial { min-height: 410px; display: block; text-align: left; padding: 54px 28px; }
  .cta-copy { max-width: 84%; }
  .cta-editorial h2 { font-size: clamp(34px, 10vw, 46px); }
  .cta-visual { width: 42%; right: -12%; bottom: -16%; height: 94%; opacity: 0.72; }
  .footer-main { grid-template-columns: 1fr 1fr; gap: 34px 24px; padding: 56px 0 36px; }
  .footer-main > div:first-child { grid-column: 1 / -1; }
  .footer-main > div:last-child { grid-column: 1 / -1; }
  .footer .about { max-width: 340px; }
  .footer h2 { margin-bottom: 14px; }
  .footer li { margin-bottom: 8px; }
  .footer-bottom { padding: 20px 0 28px; }
  .hero { padding: 46px 0 64px; min-height: 0; }
  .hero-copy { min-width: 0; }
  .hero-copy > .eyebrow {
    display: flex;
    width: 100%;
    justify-content: center;
    margin-bottom: 10px;
    line-height: 1.35;
  }
  .hero-copy > .eyebrow::before { flex: 0 0 22px; }
  .hero-grid { gap: 42px; }
  .hero h1 { font-size: clamp(42px, 13.5vw, 58px); }
  .hero-offer { justify-content: center; }
  .hero-stage { height: 350px; border-radius: 30px; }
  .hb-1 { height: 285px; }
  .hb-2, .hb-3 { height: 150px; }
  .stage-note { display: none; }
  .trust-item { border-right: 0; }
  .media-shop { inset: auto 12px 12px; grid-template-columns: 42px 1fr auto; border-radius: 18px; }
  .media-shop > img { width: 42px; height: 52px; }
  .media-shop b { padding-inline: 10px; }
  .about-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .about-tile { aspect-ratio: 4 / 5; border-radius: 20px; }
  .about-tile-center { translate: 0; }
  .about-tile-right { grid-column: 1 / -1; aspect-ratio: 16 / 9; }
  .about-tile-right img { object-position: 50% 35%; }
  .pd-buy { flex-wrap: wrap; }
  .wrap { width: calc(100% - 40px); }
  .related .products-grid { grid-template-columns: 1fr; }
  .pd-hero { padding: 32px 0 64px; }
  .pd-grid { gap: 32px; }
  .pd-info .crumbs { margin-bottom: 14px; }
  .pd-assurance { grid-template-columns: 1fr; }
  .pd-assurance > div { padding: 14px 0; }
  .pd-assurance > div + div { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
  .pd-sticky {
    position: fixed;
    inset: auto 10px max(10px, env(safe-area-inset-bottom, 0px));
    z-index: 45;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 9px 9px 9px 12px;
    border: 1px solid rgba(255,255,255,0.65);
    border-radius: 22px;
    background: rgba(255,253,251,0.93);
    box-shadow: 0 24px 60px -24px rgba(17,17,18,0.48);
    backdrop-filter: blur(18px) saturate(1.2);
    -webkit-backdrop-filter: blur(18px) saturate(1.2);
    transform: translateY(calc(100% + 24px));
    visibility: hidden;
    transition: transform 0.32s cubic-bezier(0.2,0.8,0.2,1), visibility 0s linear 0.32s;
  }
  .pd-sticky.show { transform: translateY(0); visibility: visible; transition-delay: 0s; }
  .pd-sticky-product { min-width: 0; display: flex; align-items: center; gap: 8px; }
  .pd-sticky-product img { width: 34px; height: 46px; object-fit: contain; }
  .pd-sticky-product span { min-width: 0; }
  .pd-sticky-product strong, .pd-sticky-product small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .pd-sticky-product strong { max-width: 112px; font-size: 12px; }
  .pd-sticky-product small { color: var(--muted); font-size: 10.5px; }
  .pd-sticky .btn { min-height: 44px; padding: 10px 15px; font-size: 12.5px; }
  .pcard:hover { transform: none; }
  .topbar { font-size: 11.5px; letter-spacing: 0.025em; padding: 7px 12px; line-height: 1.35; }
  .topbar span + span::before { margin: 0 16px; }
  .topbar-offer { display: none; }
  .store-hero { padding-top: 72px; }
  .store-hero::before { inset: 14px 10px auto; height: 385px; border-radius: 28px; }
  .store-hero .section-head { margin-bottom: 46px; }
  .store-hero .section-head h1 { font-size: clamp(38px, 12vw, 52px); }
}

/* ---------- consentimiento de analítica ---------- */
.cl-consent-banner {
  position: fixed;
  z-index: 1000;
  left: 50%;
  bottom: 36px;
  transform: translateX(-50%);
  width: min(580px, calc(100vw - 40px));
  padding: 19px 22px 18px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255, 253, 251, 0.96);
  box-shadow: 0 14px 42px rgba(29, 25, 38, 0.15);
  backdrop-filter: blur(16px);
}
.cl-consent-banner strong { display: block; text-align: center; font-size: 15px; font-weight: 700; letter-spacing: 0.01em; color: var(--ink-2); }
.cl-consent-banner p { max-width: 470px; margin: 7px auto 0; text-align: center; color: var(--muted); font-size: 12.5px; line-height: 1.5; }
.cl-consent-actions { display: flex; justify-content: center; gap: 9px; margin-top: 14px; }
.cl-consent-actions .btn {
  min-width: 142px;
  min-height: 38px;
  padding: 9px 14px;
  border-radius: 999px;
  font-size: 12px;
  transition: transform 0.58s cubic-bezier(0.22, 0.61, 0.36, 1),
    box-shadow 0.58s cubic-bezier(0.22, 0.61, 0.36, 1),
    border-color 0.58s ease, background-color 0.58s ease;
}
.cl-consent-actions .btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 26px -18px rgba(17, 17, 18, 0.5);
}
.cl-consent-actions .btn-ghost:hover {
  transform: translateY(-1px);
  border-color: var(--ink);
  background: rgba(17, 17, 18, 0.025);
}
.cl-consent-actions .btn-primary::after { transition-duration: 1.3s; opacity: 0.72; }
@media (max-width: 480px) {
  .cl-consent-banner { left: 12px; bottom: 20px; transform: none; width: calc(100vw - 24px); padding: 17px 16px 16px; }
  .cl-consent-banner p { font-size: 12px; }
  .cl-consent-actions { gap: 8px; }
  .cl-consent-actions .btn { flex: 1; min-width: 0; width: auto; padding-inline: 8px; }
}

/* Capa móvil compacta: prioriza producto, reduce repetición y mantiene aire visual. */
@media (max-width: 720px) {
  :root { --header-h: 68px; }
  .wrap { width: calc(100% - 32px); }
  .section { padding: 52px 0; }
  .section.pt-0 { padding-top: 0; }
  .section.faq-section { padding-top: 28px; }
  .section-head { margin-bottom: 28px; }
  .section-head h1, .section-head h2 { margin-top: 10px; font-size: clamp(30px, 9vw, 38px); }
  .section-head p { margin-top: 10px; font-size: 15px; }
  .eyebrow { gap: 7px; font-size: 10px; letter-spacing: 0.16em; }
  .eyebrow::before { width: 18px; }

  .header .nav-actions > a.icon-btn { display: none; }
  .header .brand-lockup img { height: 28px; }
  .header .brand-country { font-size: 6px; }
  .mobile-menu { width: 100%; padding: 24px; }
  .mobile-menu-head { margin-bottom: 26px; }
  .mobile-menu nav a { padding: 12px 4px; font-size: 18px; }

  .hero { padding: 30px 0 42px; }
  .hero-grid { gap: 26px; }
  .hero-copy > .eyebrow { margin-bottom: 7px; }
  .hero h1 { max-width: 360px; margin-inline: auto; font-size: clamp(39px, 11.5vw, 48px); line-height: 0.96; }
  .hero-sub { margin-top: 16px; font-size: 15.5px; line-height: 1.55; }
  .hero-offer { margin-top: 18px; }
  .hero-offer strong { font-size: 20px; }
  .hero-offer span { font-size: 12px; }
  .hero-ctas { margin-top: 18px; }
  .hero-ctas .btn-primary { width: 100%; }
  .hero-ctas .btn-ghost, .hero-proof { display: none; }
  .hero-stage { height: 270px; border-radius: 26px; }
  .hb-1 { height: 225px; }
  .hb-2, .hb-3 { height: 120px; }
  .marquee { display: none; }

  .trust { padding: 24px 0; }
  .trust-grid { grid-template-columns: 1fr 1fr; gap: 10px 14px; }
  .trust-item { gap: 9px; padding: 0; border-right: 0; }
  .trust-item .t-ico { width: 34px; height: 34px; border-radius: 11px; font-size: 9px; }
  .trust-item h3 { font-size: 12.5px; }
  .trust-item p { display: none; }

  #productos .section-head p { display: none; }
  .section-head-row .text-link { margin-top: 16px; }
  #productos .products-grid,
  .page-product .related .products-grid,
  .steps,
  .testimonials-grid {
    display: grid;
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: min(80vw, 300px);
    gap: 14px;
    margin-inline: -16px;
    padding: 2px 16px 14px;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scroll-snap-type: inline mandatory;
    scrollbar-width: none;
  }
  .steps,
  .testimonials-grid {
    overflow-y: hidden;
    scroll-padding-inline: 16px;
    touch-action: pan-x pan-y;
    -webkit-overflow-scrolling: touch;
  }
  #productos .products-grid {
    grid-auto-columns: min(82vw, 320px);
    padding-bottom: 18px;
    overflow-y: hidden;
    overscroll-behavior-inline: auto;
    scroll-padding-inline: 16px;
    touch-action: pan-x pan-y pinch-zoom;
    -webkit-overflow-scrolling: touch;
  }
  #productos .products-grid::-webkit-scrollbar,
  .page-product .related .products-grid::-webkit-scrollbar,
  .steps::-webkit-scrollbar,
  .testimonials-grid::-webkit-scrollbar { display: none; }
  #productos .pcard,
  .page-product .related .pcard,
  .step,
  .tcard { scroll-snap-align: start; scroll-snap-stop: always; }
  #productos .pcard { scroll-snap-stop: normal; }
  .page-store .products-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .page-store .products-grid:empty { min-height: 1238px; }
  .pcard { padding: 18px 14px 15px; border-radius: 22px; }
  .pcard-tag { top: 12px; left: 12px; padding: 4px 8px; font-size: 8.5px; }
  .pcard-img { height: 150px; margin-bottom: 10px; }
  .pcard-img img { max-height: 150px; }
  .pcard-rating, .pcard .ptagline, .pcard-saving, .pcard-pack-prices { display: none; }
  .pcard h2, .pcard h3 { font-size: 15.5px; line-height: 1.08; }
  /* Aquí se oculta .ptagline, que en escritorio es el espaciador flexible que
     empuja el pie hacia abajo. Sin él, un título de dos líneas desalinearía el
     precio y el botón frente a la tarjeta vecina: margin-top auto lo sustituye. */
  .pcard-foot { margin-top: auto; padding-top: 11px; gap: 6px; }
  .pcard-price-head { gap: 5px 6px; }
  .pcard-now-price { font-size: 16px; }
  .pcard-was-price { font-size: 11px; }
  .pcard-vat { margin-top: 4px; font-size: 9.5px; }
  .pcard .add-btn { min-height: 44px; padding: 9px 13px; font-size: 12px; }
  .center-cta { margin-top: 24px; }

  .split { gap: 28px; }
  .split-media { border-radius: 26px; aspect-ratio: 4 / 4.25; }
  .split h2 { margin-top: 10px; font-size: 32px; }
  .split .lead { margin-top: 12px; font-size: 15px; }
  .feature-list { --feature-line-height: 18px; margin-top: 20px; gap: 12px; }
  .feature-list li { gap: 11px; }
  .feature-list .f-ico { width: 36px; height: 36px; border-radius: 11px; }
  .feature-list h3 { font-size: 14px; }
  .feature-list p { font-size: 12.5px; }
  .media-shop { inset: auto 10px 10px; min-height: 66px; grid-template-columns: 38px 1fr auto; gap: 9px; border-radius: 17px; }
  .media-shop > img { width: 38px; height: 46px; }
  .media-shop b { padding: 8px 9px; }

  .step { padding: 24px 20px; border-radius: 22px; }
  .step .n { font-size: 38px; }
  .step h3 { margin-top: 10px; font-size: 17px; }
  .step p { margin-top: 7px; font-size: 13px; }
  .stats-band { padding: 42px 0; }
  .stats-grid { gap: 22px 12px; }
  .stat .num { font-size: 34px; }
  .stat p { margin-top: 3px; font-size: 11.5px; }
  .tcard { padding: 22px 20px; border-radius: 22px; }
  .tcard p { font-size: 13.5px; line-height: 1.58; }
  .faq summary { padding: 18px; font-size: 14px; }
  .faq .faq-body { padding: 0 18px 18px; font-size: 13.5px; }

  .promo-band { padding: 0; grid-template-columns: minmax(0, 1fr) 38%; gap: 16px; border-radius: 28px; }
  .promo-band-copy { padding: 30px 0 30px 24px; }
  .promo-band-head { gap: 10px; }
  .promo-band-badge { padding: 5px 11px; font-size: 12.5px; }
  .promo-band h2 { margin-top: 11px; font-size: clamp(26px, 7.4vw, 34px); }
  .promo-band-prices { margin-top: 11px; gap: 2px 10px; }
  .promo-band-prices strong { font-size: 23px; }
  .promo-band-actions { margin-top: 20px; gap: 8px 14px; }
  .promo-band-cta { padding: 11px 19px; font-size: 12.5px; }
  .promo-band-media { min-height: 196px; }
  .promo-band-slot { margin-bottom: 36px; }
  .promo-band-section { padding-top: 28px; }
  .promo-band-section:not([hidden]) + #productos { padding-top: 28px; }
  .cta-banner { padding: 38px 22px; border-radius: 28px; }
  .cta-banner h2 { font-size: clamp(30px, 9vw, 38px); }
  .cta-banner .btn { margin-top: 22px; }
  .cta-editorial { min-height: 0; padding: 40px 24px; }
  .cta-copy { max-width: 100%; }
  .cta-editorial h2 { font-size: clamp(32px, 9vw, 40px); }
  .cta-visual { display: none; }

  .footer-main { gap: 30px 22px; padding: 48px 0 32px; }
  .about-gallery { gap: 10px; }
  .about-tile { border-radius: 18px; }
  .about-tile-right { display: none; }
  .about-hero { padding: 54px 0 58px; }
  .about-hero h1 { font-size: clamp(36px, 10vw, 42px); }
  .about-hero p { margin-top: 16px; font-size: 15.5px; }
  .section.about-philosophy { padding-top: 36px; }
  .page-about .split-media { display: none; }

  .pd-hero { padding: 22px 0 50px; }
  .pd-grid { gap: 24px; }
  .pd-stage { aspect-ratio: 1.08; border-radius: 26px; }
  .pd-stage img { max-height: 78%; }
  .pd-info .crumbs { display: none; }
  .pd-info h1 { font-size: 32px; }
  .pd-info .tagline { margin-top: 5px; font-size: 16px; }
  .pd-rating { margin-top: 10px; font-size: 12.5px; }
  .pd-desc { margin-top: 13px; font-size: 15px; }
  .pd-badges { gap: 6px; margin-top: 14px; }
  .pd-badges span { padding: 6px 10px; font-size: 10px; }
  .pd-buy-label { margin-top: 22px; }
  .variant-opt { padding: 13px 14px; }
  .pd-buy { margin-top: 14px; }
  .pd-meta { margin-top: 14px; }
  .pd-meta span { padding: 6px 9px; font-size: 10.5px; }
  .pd-assurance { display: none; }
  .pd-benefits { margin-top: 26px; }
  .pd-benefits h2 { margin-bottom: 10px; }
  .pd-benefits li { padding: 10px 0; font-size: 13.5px; }
  .pd-actives { margin-top: 20px; gap: 6px; }
  .pd-actives span { padding: 7px 11px; font-size: 11.5px; }

  .store-hero { padding-top: 42px; }
  .store-hero::before { inset: 10px 8px auto; height: 295px; border-radius: 26px; }
  .store-hero .section-head { margin-bottom: 28px; }
  .store-hero .section-head h1 { font-size: clamp(34px, 9.5vw, 40px); }
}

@media (max-width: 480px) {
  .trust-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 380px) {
  .wrap { width: calc(100% - 32px); }
  .nav { width: calc(100% - 24px); gap: 12px; }
  .nav-actions { gap: 2px; }
  .icon-btn { width: 44px; height: 44px; }
  .page-store .products-grid:empty { min-height: 1255px; }
  .hero-proof { align-items: flex-start; flex-direction: column; gap: 6px; }
  .footer-main { grid-template-columns: 1fr; }
  .footer-main > div:first-child { grid-column: auto; }
}

/* ---------- Páginas de documento (Acerca de, Contacto, Privacidad) ---------- */
.doc { max-width: 760px; margin-inline: auto; }
.doc + .doc { margin-top: 64px; }
/* Respiro entre el hero de la página y el primer bloque de texto */
.about-hero + .section.pt-0 > .wrap > .doc:first-child { margin-top: 64px; }
.doc h2 { font-size: clamp(26px, 3.4vw, 36px); }
.doc h3 { font-size: 19px; margin-top: 28px; }
.doc p { color: var(--muted); margin-top: 14px; }
.doc p strong { color: var(--ink-2); }
.doc a { color: var(--a-dark); text-decoration: underline; text-underline-offset: 3px; }
.doc ul { display: grid; gap: 10px; margin-top: 16px; }
.doc ul li { position: relative; padding-left: 22px; color: var(--muted); }
.doc ul li::before {
  content: "";
  position: absolute;
  left: 0; top: 10px;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--a);
}
.doc-facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
  margin-top: 24px;
  padding: 0;
}
.doc-facts > div {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 20px 22px;
}
.doc-facts dt {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--a-dark);
}
.doc-facts dd { margin-top: 6px; color: var(--ink-2); font-size: 15.5px; }
.doc-updated { margin-top: 32px; font-size: 13.5px; color: var(--muted); }

@media (max-width: 720px) {
  .doc + .doc { margin-top: 44px; }
  .about-hero + .section.pt-0 > .wrap > .doc:first-child { margin-top: 44px; }
  .doc h3 { font-size: 17px; }
  .doc p, .doc ul li { font-size: 15px; }
  .doc-facts > div { padding: 16px 18px; }
}
