:root {
  --verde: #16261b;
  --verde-2: #1d3325;
  --verde-3: #27422f;
  --oro: #c9a45f;
  --oro-claro: #e3c98f;
  --crema: #f3eee2;
  --texto: #d9d4c5;
  --serif: "Cormorant Garamond", "Georgia", serif;
  --sans: "Jost", "Segoe UI", sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* El atributo hidden siempre oculta de verdad, aunque el elemento tenga un
   display propio (p. ej. .metodo-pago es flex y anulaba el display:none) */
[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

/* Red de seguridad contra el scroll horizontal: clip no crea contenedor de scroll ni rompe los elementos fixed */
html,
body {
  overflow-x: clip;
}

/* Bloquea el scroll de fondo mientras el menú móvil está abierto */
body.menu-abierto {
  overflow: hidden;
}

body {
  background: var(--verde);
  color: var(--texto);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 1.05rem;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--oro);
  text-decoration: none;
}

.contenedor {
  width: min(1120px, 92%);
  margin-inline: auto;
}

.seccion {
  padding: clamp(4rem, 9vw, 7.5rem) 0;
}

.seccion + .seccion {
  padding-top: 0;
}

.etiqueta {
  display: inline-block;
  font-size: 0.8rem;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--oro);
  margin-bottom: 1.1rem;
}

.etiqueta-grande {
  font-size: clamp(0.95rem, 2.5vw, 1.25rem);
  letter-spacing: 0.34em;
}

.titulo {
  font-family: var(--serif);
  font-weight: 600;
  color: var(--crema);
  font-size: clamp(2.1rem, 4.5vw, 3.2rem);
  line-height: 1.15;
  margin-bottom: 1.2rem;
}

.titulo .oro,
.oro {
  color: var(--oro);
}

.texto-grande {
  font-family: var(--serif);
  font-size: clamp(1.35rem, 2.6vw, 1.8rem);
  color: var(--crema);
  line-height: 1.5;
}

p + p {
  margin-top: 1rem;
}

.centrar {
  text-align: center;
}

/* ---------- Botones ---------- */
.boton {
  display: inline-block;
  padding: 0.85rem 2.3rem;
  border: 1px solid var(--oro);
  color: var(--oro-claro);
  font-family: var(--sans);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  transition: background 0.35s ease, color 0.35s ease;
  background: transparent;
  cursor: pointer;
}

.boton:hover {
  background: var(--oro);
  color: var(--verde);
}

.boton-lleno {
  background: var(--oro);
  color: var(--verde);
}

.boton-lleno:hover {
  background: var(--oro-claro);
  border-color: var(--oro-claro);
}

/* ---------- Cabecera ---------- */
.cabecera {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  /* Respeta el área segura superior en iPhone con notch (viewport-fit=cover) */
  padding-top: env(safe-area-inset-top);
  transition: background 0.4s ease, box-shadow 0.4s ease;
}

.cabecera.fondo {
  background: rgba(18, 30, 21, 0.92);
  backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 rgba(201, 164, 95, 0.25);
}

.cabecera .barra {
  width: min(1340px, 96%);
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem 0;
}

.marca {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.marca .shin {
  border: 1px solid rgba(201, 164, 95, 0.55);
  width: 3.6rem;
  height: 3.6rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
}

.marca .shin img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.4);
}

.pie .marca .shin {
  font-family: var(--serif);
  font-size: 1.9rem;
  color: var(--oro);
}

.marca .nombre {
  font-family: var(--serif);
  font-size: 1.45rem;
  letter-spacing: 0.22em;
  color: var(--oro);
  line-height: 1.15;
}

.marca .nombre small {
  display: block;
  font-family: var(--sans);
  font-size: 0.48rem;
  letter-spacing: 0.42em;
  color: var(--texto);
  text-transform: uppercase;
}

.navegacion ul {
  list-style: none;
  display: flex;
  flex-wrap: nowrap;
  gap: 1.15rem;
}

.navegacion a {
  color: var(--texto);
  font-size: 0.74rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  white-space: nowrap;
  padding-bottom: 0.3rem;
  border-bottom: 1px solid transparent;
  transition: color 0.3s ease, border-color 0.3s ease;
}

.navegacion a:hover,
.navegacion a.activo {
  color: var(--oro-claro);
  border-color: var(--oro);
}

/* El botón de cierre del menú solo existe en la capa móvil */
.navegacion .cerrar {
  display: none;
}

.menu-boton {
  display: none;
  background: none;
  border: 1px solid rgba(201, 164, 95, 0.55);
  color: var(--oro);
  font-size: 1.3rem;
  /* 44 px mínimos de área táctil */
  width: 2.75rem;
  height: 2.75rem;
  cursor: pointer;
}

/* ---------- Héroe ---------- */
.heroe {
  min-height: 100vh; /* fallback para navegadores sin svh */
  min-height: 100svh;
  display: grid;
  place-items: center;
  text-align: center;
  position: relative;
  background-size: cover;
  background-position: center;
  isolation: isolate;
  padding: 7rem 0 4rem;
}

.heroe::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(15, 25, 17, 0.78) 0%, rgba(15, 25, 17, 0.55) 45%, rgba(22, 38, 27, 0.95) 100%);
}

.heroe h1 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(3.4rem, 10vw, 7rem);
  letter-spacing: 0.14em;
  color: var(--oro);
  line-height: 1;
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.55);
}

.heroe .subtitulo {
  font-family: var(--serif);
  font-size: clamp(1.3rem, 3vw, 1.9rem);
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--crema);
  margin: 1.2rem 0 0.6rem;
}

.heroe .lema {
  max-width: 34rem;
  margin-inline: auto;
  color: var(--texto);
}

.heroe .acciones {
  margin-top: 2.4rem;
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.bajar {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  color: var(--oro);
  font-size: 1.6rem;
  animation: flotar 2.2s ease-in-out infinite;
}

@keyframes flotar {
  0%, 100% { transform: translate(-50%, 0); }
  50% { transform: translate(-50%, 9px); }
}

/* ---------- Secciones con imagen y texto ---------- */
.dos-columnas {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 6vw, 4.5rem);
  align-items: center;
}

.dos-columnas.inversa .columna-imagen {
  order: 2;
}

.dos-columnas .columna-imagen img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border: 1px solid rgba(201, 164, 95, 0.35);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}

/* Vídeo de presentación del producto (Manifiesto, portada) */
.columna-imagen video {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border: 1px solid rgba(201, 164, 95, 0.35);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}

.marco-imagen {
  position: relative;
}

.marco-imagen::after {
  content: "";
  position: absolute;
  inset: 1rem -1rem -1rem 1rem;
  border: 1px solid rgba(201, 164, 95, 0.3);
  z-index: -1;
}

/* ---------- Tarjetas ---------- */
.rejilla {
  display: grid;
  gap: 1.6rem;
}

.rejilla-3 {
  grid-template-columns: repeat(3, 1fr);
}

.tarjeta {
  background: var(--verde-2);
  border: 1px solid rgba(201, 164, 95, 0.28);
  padding: 2.4rem 2rem;
  text-align: center;
  transition: transform 0.35s ease, border-color 0.35s ease;
}

.tarjeta:hover {
  transform: translateY(-6px);
  border-color: var(--oro);
}

/* Tarjeta con imagen de cabecera (Usos y Rituales) */
.tarjeta.con-foto {
  padding: 0 1.9rem 2.6rem;
  text-align: left;
}

.tarjeta.con-foto img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  margin-bottom: 1.5rem;
}

/* Imagen de tarjeta con altura identica en cualquier navegador:
   caja 4:3 por relleno, sin depender de aspect-ratio */
.tarjeta-foto {
  position: relative;
  padding-top: 75%;
  overflow: hidden;
  margin-bottom: 1.5rem;
}

.tarjeta.con-foto .tarjeta-foto img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  margin: 0;
}

.tarjeta.con-foto .instante {
  margin-bottom: 1rem;
  line-height: 1.7;
}

.tarjeta.con-foto p {
  line-height: 1.8;
}

.tarjeta .icono {
  font-family: var(--serif);
  font-size: 2.2rem;
  color: var(--oro);
  display: block;
  margin-bottom: 1rem;
}
.tarjeta .instante {
  font-family: var(--sans);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--oro);
  line-height: 1.7;
  margin-bottom: 0.9rem;
}

body[data-pagina="usos"] .tarjeta {
  text-align: left;
}

body[data-pagina="usos"] .tarjeta p {
  text-align: justify;
  hyphens: auto;
}

body[data-pagina="usos"] .tarjeta .icono {
  text-align: center;
}

.tarjeta h3 {
  font-family: var(--serif);
  font-size: 1.45rem;
  color: var(--crema);
  font-weight: 600;
  margin-bottom: 0.6rem;
}

.tarjeta p {
  font-size: 0.98rem;
}

/* ---------- Franja de las tres notas ---------- */
.notas-franja {
  margin: 2.6rem auto 0;
  max-width: 1160px;
}

.notas-franja img {
  width: 100%;
  height: auto;
  display: block;
}
/* ---------- Ritual: storyboard de los cuatro pasos ---------- */
.seccion-ritual {
  background: linear-gradient(180deg, var(--verde) 0%, var(--verde-2) 14%, var(--verde-2) 86%, var(--verde) 100%);
}

.ritual-franja {
  margin: 0 auto;
  max-width: 1160px;
  padding: 0.55rem;
  border: 1px solid rgba(201, 164, 95, 0.4);
  background: rgba(11, 18, 13, 0.55);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}

.ritual-franja img {
  width: 100%;
  height: auto;
  display: block;
}
/* ---------- Vídeo promocional ---------- */
.video-escena {
  margin: 0 auto;
  max-width: 940px;
  width: 100%;
  padding: 0.55rem;
  border: 1px solid rgba(201, 164, 95, 0.4);
  background: rgba(11, 18, 13, 0.55);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
  box-sizing: border-box;
}

.video-escena img,
.video-escena video {
  width: 100%;
  display: block;
  aspect-ratio: 16 / 9;
  object-fit: contain;
  background: rgba(11, 18, 13, 0.9);
}

/* Variante con texto superpuesto sobre el vídeo */
.video-escena.video-con-texto {
  position: relative;
}

.video-escena.video-con-texto video {
  object-fit: cover;
}

.video-escena .video-texto {
  position: absolute;
  inset: 0.55rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  text-align: center;
  padding: clamp(1.2rem, 4vw, 2.6rem);
  background: linear-gradient(180deg, rgba(11, 18, 13, 0) 26%, rgba(11, 18, 13, 0.82) 100%);
  pointer-events: none;
}

.video-escena .video-texto p {
  color: var(--crema);
  max-width: 46rem;
  margin: 0.3rem 0;
  font-size: clamp(1rem, 1.9vw, 1.22rem);
  line-height: 1.7;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.65);
}

.video-escena .video-texto .video-lema {
  font-family: var(--serif);
  font-size: clamp(1.18rem, 2.3vw, 1.45rem);
  margin-top: 0.7rem;
}

/* ---------- Cita ---------- */
.cita {
  background: var(--verde-3);
  background-size: cover;
  background-position: center;
  position: relative;
  isolation: isolate;
  padding: clamp(5rem, 10vw, 8rem) 0;
}

.cita::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(22, 38, 27, 0.82);
}

.cita blockquote {
  font-family: var(--serif);
  font-size: clamp(2rem, 5vw, 3.4rem);
  color: var(--crema);
  font-style: italic;
  text-align: center;
  max-width: 46rem;
  margin-inline: auto;
  line-height: 1.3;
}

.cita blockquote::before,
.cita blockquote::after {
  color: var(--oro);
}

.cita .autor {
  text-align: center;
  margin-top: 1.6rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  font-size: 0.8rem;
  color: var(--oro);
}

/* ---------- Pasos del ritual ---------- */
.pasos {
  counter-reset: paso;
  display: grid;
  gap: 0;
}

.paso {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 2rem;
  padding: 2.4rem 0;
  border-bottom: 1px solid rgba(201, 164, 95, 0.22);
  align-items: center;
}

.paso:last-child {
  border-bottom: none;
}

.paso-imagen {
  width: clamp(15rem, 32vw, 27rem);
  aspect-ratio: 548 / 232;
  object-fit: cover;
  border: 1px solid rgba(201, 164, 95, 0.4);
  border-radius: 12px;
  outline: 1px solid rgba(201, 164, 95, 0.22);
  outline-offset: 5px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
}

.paso .numero {
  font-family: var(--serif);
  font-size: 3rem;
  color: var(--oro);
  line-height: 1;
  min-width: 3.6rem;
}

.paso h3 {
  font-family: var(--serif);
  font-size: 1.7rem;
  color: var(--crema);
  font-weight: 600;
}

.paso p {
  margin-top: 0.4rem;
}

/* ---------- Dúo inhala / exhala ---------- */
.duo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.6rem;
}

.panel {
  background: var(--verde-2);
  border: 1px solid rgba(201, 164, 95, 0.28);
  padding: 3rem 2.6rem;
}

.panel h3 {
  font-family: var(--serif);
  font-size: 2rem;
  color: var(--oro);
  font-weight: 600;
  margin-bottom: 1rem;
}

/* ---------- Galería ---------- */
.carrusel-universo {
  max-width: 900px;
  margin: 0 auto;
}

.carrusel-universo-visor {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border: 1px solid rgba(201, 164, 95, 0.4);
  border-radius: 26px 8px 24px 10px / 10px 24px 8px 26px;
  background: var(--verde-2);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}

.carrusel-universo-visor img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0;
  transition: opacity 1s ease;
}

.carrusel-universo-visor img.activa {
  opacity: 1;
}

.universo-flecha {
  position: absolute;
  top: 50%;
  z-index: 2;
  transform: translateY(-50%);
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid rgba(201, 164, 95, 0.5);
  border-radius: 50%;
  background: rgba(11, 18, 13, 0.55);
  color: var(--oro);
  font-size: 1.3rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.3s ease, color 0.3s ease;
}

.universo-flecha:hover {
  background: var(--oro);
  color: var(--verde);
}

.universo-atras {
  left: 0.9rem;
}

.universo-adelante {
  right: 0.9rem;
}

.universo-puntos {
  position: absolute;
  bottom: 0.9rem;
  left: 50%;
  z-index: 2;
  transform: translateX(-50%);
  display: flex;
  gap: 0.5rem;
}

.universo-puntos button {
  /* Borde transparente amplía la zona táctil sin cambiar el punto visible */
  width: 1.35rem;
  height: 1.35rem;
  padding: 0;
  border: 0.4rem solid transparent;
  background-clip: padding-box;
  border-radius: 50%;
  background-color: rgba(243, 238, 226, 0.45);
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.universo-puntos button.activa {
  background-color: var(--oro);
  transform: scale(1.3);
}

/* ---------- Producto: ficha ---------- */
.ficha {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.6rem;
}

.ficha .dato {
  border: 1px solid rgba(201, 164, 95, 0.3);
  padding: 2rem;
  text-align: center;
}

.ficha .dato .valor {
  font-family: var(--serif);
  font-size: 2rem;
  color: var(--oro);
  font-weight: 600;
}

.ficha .dato .nombre-dato {
  display: block;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  font-size: 0.75rem;
  margin-top: 0.5rem;
}

/* ---------- Formulario ---------- */
.formulario {
  max-width: 40rem;
  margin-inline: auto;
  display: grid;
  gap: 1.4rem;
}

.campo {
  display: grid;
  gap: 0.5rem;
}

.campo label {
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-size: 0.75rem;
  color: var(--oro);
}

.campo input,
.campo select,
.campo textarea {
  background: rgba(243, 238, 226, 0.05);
  border: 1px solid rgba(201, 164, 95, 0.35);
  color: var(--crema);
  font-family: var(--sans);
  font-size: 1rem;
  padding: 0.9rem 1.1rem;
  transition: border-color 0.3s ease;
}

.campo input:focus,
.campo select:focus,
.campo textarea:focus {
  outline: none;
  border-color: var(--oro);
}

/* Campo con dato obligatorio pendiente al pasar al pago */
.campo input.campo-error {
  border-color: #c96a5a;
  background: rgba(201, 106, 90, 0.12);
}

/* Ambiente de marca sobre el resumen del pedido (pago) */
.pago-marca {
  display: flex;
  justify-content: center;
  margin: 0 0 1.3rem;
  padding-bottom: 1.2rem;
  border-bottom: 1px solid rgba(201, 164, 95, 0.28);
}

.pago-marca .marca {
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.7rem;
}

.pago-marca .marca .shin {
  width: 4.2rem;
  height: 4.2rem;
}

.pago-marca .marca .nombre {
  font-size: 1.35rem;
}

/* Logo oficial de Bizum en la opción de pago */
.metodo-pago .bizum-logo {
  height: 1.15rem;
  width: auto;
  vertical-align: -0.18rem;
  margin-right: 0.3rem;
  background: #fff;
  border-radius: 0.15rem;
  padding: 0.05rem 0.25rem;
}

.campo textarea {
  min-height: 9rem;
  resize: vertical;
}

/* Desplegable del selector: tipografia verde Shaddai sobre crema */
.campo select {
  padding: 0.55rem 0.9rem;
}

.campo select option {
  background: #f3eee2;
  color: #16261b;
  font-weight: 500;
}

.aviso-formulario {
  min-height: 1.4rem;
  font-size: 0.9rem;
  color: var(--oro-claro);
}

/* ---------- Cabecera de página interior ---------- */
.cabecera-pagina {
  padding: 10.5rem 0 4.5rem;
  text-align: center;
  background: linear-gradient(180deg, var(--verde-2) 0%, var(--verde) 100%);
  border-bottom: 1px solid rgba(201, 164, 95, 0.2);
}

.cabecera-pagina h1 {
  font-family: var(--serif);
  font-size: clamp(2.6rem, 6vw, 4.2rem);
  color: var(--oro);
  font-weight: 600;
  letter-spacing: 0.08em;
}

.cabecera-pagina .entradilla {
  max-width: 42rem;
  margin: 1.2rem auto 0;
  font-family: var(--serif);
  font-size: 1.3rem;
  color: var(--crema);
}

.cabecera-pagina .subtitulo-cabecera {
  margin: 0.6rem auto 0;
  font-family: var(--sans);
  font-size: clamp(1rem, 2.2vw, 1.3rem);
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--crema);
}

/* ---------- Letra Shin ---------- */
.shin-panel {
  background: var(--verde-2);
  border: 1px solid rgba(201, 164, 95, 0.28);
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  overflow: hidden;
}

.shin-panel .shin-foto {
  display: flex;
  align-items: center;
  justify-content: center;
}

.shin-panel .shin-foto img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.shin-panel .shin-foto.marco-imagen {
  padding: clamp(1.2rem, 2.5vw, 2rem);
}

.shin-panel .shin-foto.marco-imagen::before,
.shin-panel .shin-foto.marco-imagen::after {
  z-index: 0;
  inset: 0;
}

.shin-panel .shin-foto.marco-imagen img {
  position: relative;
  z-index: 1;
  width: auto;
  max-width: min(100%, 21rem);
  height: auto;
  border: 1px solid rgba(201, 164, 95, 0.5);
  border-radius: 50% 50% 14px 14px / 26% 26% 14px 14px;
  outline: 1px solid rgba(201, 164, 95, 0.28);
  outline-offset: 9px;
  animation: brillo-marco 7s ease-in-out infinite;
}

.shin-panel .shin-sello {
  display: block;
  width: 130px;
  height: auto;
  margin: 0 0 1.1rem auto;
  filter: drop-shadow(0 10px 22px rgba(0, 0, 0, 0.35));
}

.shin-panel .contenido {
  padding: clamp(2.4rem, 5vw, 4rem);
}

.lista-mistica {
  list-style: none;
  display: grid;
  gap: 1.1rem;
  margin-top: 1.6rem;
}

.lista-mistica li {
  padding-left: 1.8rem;
  position: relative;
}

.lista-mistica li::before {
  content: "✦";
  position: absolute;
  left: 0;
  color: var(--oro);
}

/* ---------- Pie ---------- */
.pie {
  border-top: 1px solid rgba(201, 164, 95, 0.22);
  background: linear-gradient(180deg, #1b2e22 0%, #111e16 100%);
  padding: 5rem 0 calc(2.6rem + env(safe-area-inset-bottom));
}

.pie .columnas {
  display: grid;
  grid-template-columns: 1.15fr 0.9fr 1.25fr;
  gap: clamp(2.5rem, 5vw, 4.5rem);
  align-items: start;
}

/* Orden editorial: marca, navegación, boletín */
.pie .columnas > div:nth-child(1) { order: 2; }
.pie .columnas > div:nth-child(2) {
  order: 1;
}
.pie .columnas > div:nth-child(3) { order: 3; }

.pie .columnas > div:nth-child(2) p {
  margin-top: 1.1rem;
  font-size: 0.95rem;
  line-height: 1.75;
  color: rgba(230, 224, 210, 0.66);
}

.pie .marca .nombre {
  font-size: 1.3rem;
}

.pie h4 {
  font-family: var(--sans);
  font-size: 0.76rem;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--oro);
  font-weight: 400;
  margin: 0 0 1.4rem;
  padding-bottom: 0.95rem;
  border-bottom: 1px solid rgba(201, 164, 95, 0.18);
}

.pie ul {
  list-style: none;
  display: grid;
  gap: 0.62rem;
}

.pie a {
  color: rgba(230, 224, 210, 0.72);
  font-size: 0.95rem;
  transition: color 0.3s ease;
}

.pie a:hover {
  color: var(--oro-claro);
}

.pie .columnas p:not(.aviso-boletin) {
  font-size: 0.95rem;
  color: rgba(230, 224, 210, 0.66);
}

.pie .boletin input {
  background: transparent;
  border: 1px solid rgba(201, 164, 95, 0.3);
}

.pie .boletin input:focus {
  border-color: var(--oro);
}

.pie .base {
  margin-top: 3.4rem;
  padding-top: 1.8rem;
  border-top: 1px solid rgba(201, 164, 95, 0.14);
  text-align: center;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  color: rgba(217, 212, 197, 0.45);
}

/* ---------- Animación de aparición ---------- */
.revelar {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.revelar.visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .revelar {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .bajar {
    animation: none;
  }
}

/* ---------- Menú de pantalla completa (hamburguesa) ----------
   Por debajo de ~1330 px la fila horizontal completa (9 secciones + logo +
   carrito) ya no cabe: el menú pasa a la capa a pantalla completa. */
@media (max-width: 1330px) {
  .menu-boton {
    display: grid;
    place-items: center;
  }

  .navegacion {
    position: fixed;
    inset: 0;
    background: rgba(15, 24, 17, 0.98);
    display: grid;
    /* overflow + margen automático: el menú se centra y se puede desplazar en pantallas bajas */
    overflow-y: auto;
    padding: calc(env(safe-area-inset-top) + 4.5rem) 1rem calc(env(safe-area-inset-bottom) + 3rem);
    opacity: 0;
    /* visibility evita que los enlaces ocultos reciban tabulaciones */
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.35s ease, visibility 0s linear 0.35s;
  }

  .navegacion.abierta {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transition: opacity 0.35s ease;
  }

  .navegacion ul {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
    margin: auto;
  }

  .navegacion a {
    font-size: 1.05rem;
    /* Área táctil amplia en los enlaces del menú */
    display: inline-block;
    padding: 0.65rem 1.2rem;
    white-space: normal;
  }

  .navegacion .acceso-boton {
    font-size: 1.05rem;
    padding: 0.65rem 1.2rem;
    white-space: normal;
  }

  .navegacion .cerrar {
    position: absolute;
    top: 1rem;
    top: calc(1rem + env(safe-area-inset-top));
    right: 1rem;
    right: calc(1rem + env(safe-area-inset-right));
    width: 2.75rem;
    height: 2.75rem;
    display: grid;
    place-items: center;
    font-size: 1.9rem;
    line-height: 1;
    color: var(--oro);
    background: none;
    border: none;
    cursor: pointer;
  }
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .dos-columnas,
  .duo,
  .shin-panel {
    grid-template-columns: 1fr;
  }

  .dos-columnas.inversa .columna-imagen {
    order: 0;
  }

  .rejilla-3,
  .ficha {
    grid-template-columns: 1fr;
  }

  .pie .columnas {
    grid-template-columns: 1fr;
  }

  /* El aura y las motas del marco no pueden sobresalir del ancho de pantalla */
  .marco-imagen::before,
  .marco-imagen::after {
    inset: -3%;
  }

  .marco-imagen::before {
    animation: none;
    transform: none;
    opacity: 0.75;
  }
}

/* Compacción de la marca en pantallas muy estrechas */
@media (max-width: 400px) {
  .cabecera .barra {
    gap: 0.5rem;
  }

  .marca {
    gap: 0.5rem;
  }

  .marca .shin {
    width: 3rem;
    height: 3rem;
  }

  .marca .nombre {
    font-size: 1.2rem;
    letter-spacing: 0.16em;
  }

  .acciones-cabecera {
    gap: 0.5rem;
  }
}

@media (max-width: 560px) {
  .carrusel-universo-visor {
    aspect-ratio: 4 / 3;
  }

  /* Menos tracking en el subtítulo del héroe para que no envuelva en 320 px */
  .heroe .subtitulo {
    letter-spacing: 0.2em;
  }

  .paso {
    grid-template-columns: auto 1fr;
    gap: 1.2rem;
  }

  .paso-imagen {
    grid-column: 1 / -1;
    width: 100%;
  }

  /* Botones de cantidad con área táctil de 44 px */
  .cantidad button {
    width: 2.75rem;
    height: 2.75rem;
    font-size: 1.1rem;
  }

  .cantidad {
    gap: 0.6rem;
  }

  .item-acciones {
    gap: 1.2rem;
  }
}

/* ---------- Escenas (Presencia, Equilibrio, Claridad, Desconexión) ---------- */
.rejilla-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
}

.escena {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(201, 164, 95, 0.25);
}

.escena img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  display: block;
  transition: transform 0.45s ease;
}

.escena:hover img {
  transform: scale(1.05);
}

.escena figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 1.6rem 1.1rem 0.9rem;
  font-family: var(--serif);
  font-size: 1.3rem;
  color: var(--crema);
  background: linear-gradient(transparent, rgba(15, 25, 17, 0.88));
}

/* ---------- Carta del Autor ---------- */
.carta-panel {
  max-width: 47rem;
  margin-inline: auto;
  background: var(--verde-2);
  border: 1px solid rgba(201, 164, 95, 0.3);
  padding: clamp(2.5rem, 6vw, 4.5rem);
  text-align: center;
  font-family: var(--serif);
  font-size: 1.32rem;
  line-height: 1.9;
  color: #faf6ec;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.55);
}

.carta-panel .saludo {
  font-size: 1.7rem;
  color: var(--oro-claro);
  margin-bottom: 1.6rem;
}

.carta-panel p + p {
  margin-top: 1.4rem;
}

.carta-panel .firma {
  margin-top: 2.4rem;
  font-size: 1.55rem;
  font-style: italic;
  color: var(--oro-claro);
}

/* ---------- Boletín del Umbral (pie) ---------- */
.boletin {
  display: flex;
  gap: 0.6rem;
  margin-top: 1rem;
}

.boletin input {
  flex: 1;
  min-width: 0;
  background: rgba(243, 238, 226, 0.06);
  border: 1px solid rgba(201, 164, 95, 0.4);
  color: var(--crema);
  padding: 0.65rem 0.9rem;
  font-family: var(--sans);
  /* 16 px evita el zoom automático de iOS al enfocar */
  font-size: 1rem;
}

.boletin input:focus {
  outline: none;
  border-color: var(--oro);
}

.boletin button {
  background: var(--oro);
  color: var(--verde);
  border: none;
  padding: 0.65rem 1.3rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.78rem;
  cursor: pointer;
  transition: background 0.3s ease;
}

.boletin button:hover {
  background: var(--oro-claro);
}

.aviso-boletin {
  min-height: 1.2rem;
  font-size: 0.8rem;
  color: var(--oro-claro);
  margin-top: 0.5rem;
}

/* ---------- Nota de audio meditación ---------- */
.panel-nota {
  border: 1px dashed rgba(201, 164, 95, 0.5);
  background: rgba(201, 164, 95, 0.06);
  padding: 1.6rem 1.8rem;
  margin-top: 1.8rem;
}

.panel-nota h3 {
  font-family: var(--serif);
  font-size: 1.35rem;
  color: var(--oro);
  margin-bottom: 0.4rem;
}
.panel-nota.con-fondo {
  background:
    linear-gradient(rgba(17, 28, 20, 0.78), rgba(17, 28, 20, 0.86)),
    url("../img/audio-meditacion.webp") center 40% / cover no-repeat var(--verde-2);
}

@media (max-width: 900px) {
  .rejilla-4 {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 560px) {
  .rejilla-4 {
    grid-template-columns: 1fr;
  }

  .boletin {
    flex-direction: column;
  }
}

/* ---------- Cabeceras compactas ---------- */
.cabecera-pagina {
  padding: 7.2rem 0 2.4rem;
  background: linear-gradient(180deg, rgba(29, 51, 37, 0.92) 0%, rgba(22, 38, 27, 0.75) 70%, var(--verde) 100%);
  border-bottom: 1px solid rgba(201, 164, 95, 0.18);
  position: relative;
  isolation: isolate;
}

/* Ventana de vídeo del ritual */
.ritual-video {
  margin: 2.6rem auto 0;
  max-width: 680px;
}

.ritual-video video {
  display: block;
  width: 100%;
  border-radius: 18px;
  border: 1px solid rgba(201, 164, 95, 0.35);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.45), 0 0 26px rgba(201, 164, 95, 0.1);
}

.cabecera-pagina .etiqueta {
  margin-bottom: 0.5rem;
}

.cabecera-pagina h1 {
  font-size: clamp(2.6rem, 5.2vw, 3.8rem);
  letter-spacing: 0.1em;
}

.cabecera-pagina .entradilla {
  margin-top: 0.55rem;
  font-size: 1.25rem;
}

/* ---------- Fondo mágico: luciérnagas y niebla del umbral ---------- */
.fondo-magico {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}

/* Universo del Umbral: estrellas interactivas (canvas bajo las luciérnagas) */
#universo-umbral {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

/* Niebla que se desplaza despacio */
.fondo-magico::before {
  content: "";
  position: absolute;
  inset: -20%;
  background:
    radial-gradient(42% 34% at 18% 28%, rgba(201, 164, 95, 0.09) 0%, transparent 70%),
    radial-gradient(46% 38% at 82% 68%, rgba(201, 164, 95, 0.08) 0%, transparent 70%),
    radial-gradient(30% 26% at 55% 15%, rgba(227, 201, 143, 0.07) 0%, transparent 70%);
  animation: niebla 70s ease-in-out infinite alternate;
}

/* Resplandor que respira, como el sello de la Shin */
.fondo-magico::after {
  content: "";
  position: absolute;
  top: 38%;
  left: 50%;
  width: 60vmin;
  height: 60vmin;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(201, 164, 95, 0.13) 0%, rgba(201, 164, 95, 0.05) 40%, transparent 68%);
  border-radius: 50%;
  animation: respirar 9s ease-in-out infinite;
}

.luz {
  position: absolute;
  bottom: -4vh;
  width: var(--tamano, 3px);
  height: var(--tamano, 3px);
  border-radius: 50%;
  background: var(--oro);
  filter: blur(0.6px) drop-shadow(0 0 6px rgba(201, 164, 95, 0.9));
  opacity: 0;
  animation: subir-luz var(--duracion, 20s) linear var(--retraso, 0s) infinite;
}

@keyframes subir-luz {
  0%   { transform: translate3d(0, 0, 0); opacity: 0; }
  10%  { opacity: var(--maxo, 0.75); }
  82%  { opacity: var(--maxo, 0.75); }
  100% { transform: translate3d(var(--deriva, 40px), -112vh, 0); opacity: 0; }
}

@keyframes niebla {
  0%   { transform: translate3d(-3%, -2%, 0) scale(1); }
  50%  { transform: translate3d(2%, 3%, 0) scale(1.06); }
  100% { transform: translate3d(-2%, 1%, 0) scale(1.02); }
}

@keyframes respirar {
  0%, 100% { opacity: 0.55; transform: translate(-50%, -50%) scale(0.94); }
  50%      { opacity: 1;    transform: translate(-50%, -50%) scale(1.08); }
}

@media (prefers-reduced-motion: reduce) {
  .fondo-magico::before,
  .fondo-magico::after,
  .luz {
    animation: none;
  }
  .fondo-magico::before {
    opacity: 0.7;
  }
}

/* ---------- Vapor de perfume en el fondo global ---------- */
.vapor {
  position: absolute;
  bottom: -30vh;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(201, 164, 95, 0.10) 0%, rgba(227, 201, 143, 0.07) 55%, transparent 78%);
  filter: blur(24px);
  opacity: 0;
  animation: vapor-lento var(--duracion-v, 40s) ease-in-out var(--retraso-v, 0s) infinite;
  will-change: transform, opacity;
}

@keyframes vapor-lento {
  0%   { transform: translate3d(0, 0, 0) scale(0.7) rotate(0deg); opacity: 0; }
  18%  { opacity: 0.9; }
  55%  { opacity: 0.55; }
  100% { transform: translate3d(var(--deriva-v, 90px), -128vh, 0) scale(1.6) rotate(26deg); opacity: 0; }
}

/* ---------- Cabeceras con presencia: vapor, Shin y brillo de oro ---------- */
.cabecera-pagina {
  overflow: hidden;
}

/* Volutas de esencia que ascienden dentro de la cabecera */
.cabecera-pagina::before,
.cabecera-pagina::after {
  content: "";
  position: absolute;
  bottom: -35%;
  width: 44%;
  height: 240%;
  background: radial-gradient(closest-side, rgba(201, 164, 95, 0.15) 0%, rgba(163, 196, 160, 0.08) 55%, transparent 78%);
  filter: blur(30px);
  border-radius: 50%;
  animation: vapor-cabecera 16s ease-in-out infinite;
  pointer-events: none;
}

.cabecera-pagina::before {
  left: 4%;
}

.cabecera-pagina::after {
  right: 2%;
  animation-duration: 21s;
  animation-delay: 8s;
  background: radial-gradient(closest-side, rgba(163, 196, 160, 0.13) 0%, rgba(201, 164, 95, 0.07) 55%, transparent 78%);
}

@keyframes vapor-cabecera {
  0%   { transform: translateY(45%) scale(0.75) rotate(-5deg); opacity: 0; }
  28%  { opacity: 0.9; }
  62%  { opacity: 0.5; }
  100% { transform: translateY(-75%) scale(1.35) rotate(6deg); opacity: 0; }
}

/* Titulo con brillo de oro en movimiento */
.cabecera-pagina h1 {
  position: relative;
  display: inline-block;
  background: linear-gradient(100deg, #b9944f 25%, #f3e2b8 42%, #e8cd93 50%, #f3e2b8 58%, #b9944f 75%);
  background-size: 220% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  animation: brillo-oro 7s linear infinite, aparecer-arriba 0.9s ease 0.12s both;
}

@keyframes brillo-oro {
  to { background-position: 220% center; }
}

/* Marca de agua de la Shin tras el titulo */
.cabecera-pagina h1::before {
  content: "\05E9";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -54%);
  font-family: var(--serif);
  font-size: 7.5rem;
  line-height: 1;
  color: rgba(201, 164, 95, 0.13);
  -webkit-text-fill-color: rgba(201, 164, 95, 0.13);
  z-index: -1;
  animation: none;
}

/* Entrada escalonada y adorno */
.cabecera-pagina .etiqueta {
  display: block;
  animation: aparecer-arriba 0.8s ease both;
}

.cabecera-pagina .entradilla {
  animation: aparecer-arriba 0.9s ease 0.26s both;
}

.cabecera-pagina .entradilla::after {
  content: "\2726";
  display: block;
  margin-top: 0.85rem;
  color: var(--oro);
  font-size: 0.75rem;
  letter-spacing: 0.5em;
  text-indent: 0.5em;
  animation: latir-adorno 3.2s ease-in-out infinite;
}

@keyframes latir-adorno {
  0%, 100% { opacity: 0.55; }
  50%      { opacity: 1; text-shadow: 0 0 14px rgba(201, 164, 95, 0.8); }
}

@keyframes aparecer-arriba {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  .vapor { animation: none; opacity: 0.4; }
  .cabecera-pagina::before,
  .cabecera-pagina::after { animation: none; opacity: 0.5; }
  .cabecera-pagina h1 { animation: none; }
  .cabecera-pagina .etiqueta,
  .cabecera-pagina .entradilla { animation: none; }
  .cabecera-pagina .entradilla::after { animation: none; }
}

/* ---------- Carta poética: figuras y divisores entrelazados ---------- */
.carta-panel {
  position: relative;
  background:
    radial-gradient(130% 80% at 50% 0%, rgba(201, 164, 95, 0.07) 0%, transparent 58%),
    radial-gradient(120% 90% at 50% 100%, rgba(163, 196, 160, 0.05) 0%, transparent 60%),
    var(--verde-2);
}

.carta-panel::before {
  content: "";
  position: absolute;
  inset: 13px;
  border: 1px solid rgba(201, 164, 95, 0.26);
  pointer-events: none;
  z-index: 2;
}

/* Carta del Autor: imagen "El perfume que te ancla al presente" como fondo del panel */
.carta-panel.fondo-producto::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(14, 22, 16, 0.86), rgba(14, 22, 16, 0.9)),
    url("../img/fondo-carta.webp") 55% 28% / cover no-repeat;
  pointer-events: none;
}

.carta-panel.fondo-producto > * {
  position: relative;
  z-index: 1;
}

.carta-divisor {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  margin: 2.1rem auto 2.3rem;
  max-width: 15rem;
  color: var(--oro);
}

.carta-divisor::before,
.carta-divisor::after {
  content: "";
  flex: 1;
  height: 1px;
}

.carta-divisor::before {
  background: linear-gradient(90deg, transparent, rgba(201, 164, 95, 0.55));
}

.carta-divisor::after {
  background: linear-gradient(270deg, transparent, rgba(201, 164, 95, 0.55));
}

.carta-divisor span {
  font-size: 0.8rem;
  text-shadow: 0 0 12px rgba(201, 164, 95, 0.7);
  animation: latir-adorno 3.2s ease-in-out infinite;
}

.carta-divisor img {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid rgba(201, 164, 95, 0.4);
  box-shadow: 0 0 18px rgba(201, 164, 95, 0.35);
}

.carta-figura {
  margin: 2.3rem auto;
  max-width: var(--ancho, 300px);
  transform: rotate(var(--giro, -1.5deg));
  transition: transform 0.5s ease;
}

.carta-figura:hover {
  transform: rotate(0deg) scale(1.04);
}

.carta-figura img {
  width: 100%;
  display: block;
  border-radius: 3px;
  -webkit-mask-image: radial-gradient(125% 125% at 50% 50%, #000 52%, transparent 96%);
  mask-image: radial-gradient(125% 125% at 50% 50%, #000 52%, transparent 96%);
  filter: saturate(0.94) sepia(0.06) brightness(0.98);
}

@media (prefers-reduced-motion: reduce) {
  .carta-divisor span { animation: none; }
}
/* ---------- Marcos del umbral: arcos, auras y motas doradas ---------- */

/* Imagen principal de cada seccion: forma de arco-umbral con el marco pegado al borde */
.dos-columnas .columna-imagen img {
  border-color: rgba(201, 164, 95, 0.5);
  border-radius: 50% 50% 14px 14px / 26% 26% 14px 14px;
  outline: 1px solid rgba(201, 164, 95, 0.28);
  outline-offset: 0;
  animation: brillo-marco 7s ease-in-out infinite;
}

@keyframes brillo-marco {
  0%, 100% { box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5), 0 0 26px rgba(201, 164, 95, 0.10); }
  50%      { box-shadow: 0 26px 64px rgba(0, 0, 0, 0.5), 0 0 54px rgba(201, 164, 95, 0.22); }
}

/* Aura difusa que respira detras del marco */
.marco-imagen::before {
  content: "";
  position: absolute;
  inset: -9%;
  z-index: -2;
  background:
    radial-gradient(58% 48% at 28% 18%, rgba(201, 164, 95, 0.17) 0%, transparent 70%),
    radial-gradient(52% 46% at 78% 82%, rgba(163, 196, 160, 0.13) 0%, transparent 70%);
  filter: blur(16px);
  animation: aura-respira 8s ease-in-out infinite;
}

@keyframes aura-respira {
  0%, 100% { opacity: 0.55; transform: scale(1); }
  50%      { opacity: 1; transform: scale(1.05); }
}

/* Motas doradas flotando junto al marco (sustituyen al marco desplazado) */
.marco-imagen::after {
  content: "";
  position: absolute;
  inset: -9%;
  z-index: -1;
  border: 0;
  background-image:
    radial-gradient(circle 2px at 10% 22%, rgba(227, 201, 143, 0.9) 99%, transparent),
    radial-gradient(circle 1.5px at 88% 12%, rgba(201, 164, 95, 0.85) 99%, transparent),
    radial-gradient(circle 2px at 92% 78%, rgba(227, 201, 143, 0.75) 99%, transparent),
    radial-gradient(circle 1.5px at 6% 84%, rgba(201, 164, 95, 0.8) 99%, transparent),
    radial-gradient(circle 1.5px at 50% 2%, rgba(227, 201, 143, 0.7) 99%, transparent);
  animation: deriva-motas 9s ease-in-out infinite alternate;
}

@keyframes deriva-motas {
  from { transform: translateY(6px); }
  to   { transform: translateY(-14px); }
}

/* Escenas de portada: marcos suaves para fotografias reales */
.escena {
  border-radius: 20px;
  outline: 1px solid rgba(201, 164, 95, 0.3);
  outline-offset: 6px;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.45), 0 0 26px rgba(201, 164, 95, 0.1);
}

.escena img {
  border-radius: 16px;
}

.ritual-collage {
  margin: 2.4rem auto 0;
  max-width: 900px;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(201, 164, 95, 0.35);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.45), 0 0 26px rgba(201, 164, 95, 0.1);
}

.ritual-collage img {
  width: 100%;
  display: block;
}

.carrusel-universo-visor {
  outline: 1px solid rgba(201, 164, 95, 0.26);
  outline-offset: 6px;
  animation: brillo-marco 9s ease-in-out infinite;
}

@media (prefers-reduced-motion: reduce) {
  .marco-imagen::before,
  .marco-imagen::after,
  .dos-columnas .columna-imagen img,
  .shin-panel .shin-foto.marco-imagen img,
  .carrusel-capa.activa,
  .carrusel-universo-visor {
    animation: none;
  }
}

/* ---------- Carrusel del héroe: brote de niebla pulverizada ---------- */
.heroe .contenedor {
  position: relative;
  z-index: 2;
}

.heroe .bajar {
  z-index: 2;
}

.carrusel {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.carrusel-capa {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform-origin: 50% 40%;
  opacity: 0;
  transform: scale(1.1);
  filter: blur(16px);
  transition: opacity 2s ease, filter 2s ease;
  will-change: opacity, transform, filter;
}

.carrusel-capa.activa {
  opacity: 1;
  filter: blur(0);
  animation: kenburns 26s ease-in-out forwards;
}

/* Vídeo de fondo del héroe (presentación del producto) */
.carrusel-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.78) saturate(1.05);
}

@keyframes kenburns {
  from { transform: scale(1.08); }
  to   { transform: scale(1.34); }
}

.carrusel-niebla {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  background:
    radial-gradient(42% 36% at 28% 58%, rgba(227, 201, 143, 0.30), transparent 70%),
    radial-gradient(38% 32% at 72% 38%, rgba(243, 238, 226, 0.24), transparent 70%),
    radial-gradient(30% 26% at 52% 68%, rgba(201, 164, 95, 0.22), transparent 75%);
  filter: blur(8px);
}

.carrusel-niebla.brote {
  animation: brote-niebla 2.1s ease-out;
}

@keyframes brote-niebla {
  0%   { opacity: 0; transform: scale(0.94); }
  35%  { opacity: 0.9; }
  100% { opacity: 0; transform: scale(1.16); }
}
/* ---------- Tienda ---------- */
.acciones-cabecera {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.carrito-boton {
  position: relative;
  display: grid;
  place-items: center;
  width: 2.3rem;
  height: 2.3rem;
  border: 1px solid rgba(201, 164, 95, 0.55);
  color: var(--oro);
  transition: background 0.3s ease;
}

.carrito-boton:hover {
  background: rgba(201, 164, 95, 0.14);
}

.carrito-boton svg {
  width: 1.05rem;
  height: 1.05rem;
}

.carrito-conteo {
  position: absolute;
  top: -0.45rem;
  right: -0.45rem;
  min-width: 1.1rem;
  height: 1.1rem;
  padding: 0 0.25rem;
  border-radius: 999px;
  background: var(--oro);
  color: var(--verde);
  font-size: 0.62rem;
  font-weight: 600;
  line-height: 1;
  display: grid;
  place-items: center;
  opacity: 0;
  transform: scale(0.5);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.carrito-conteo.visible {
  opacity: 1;
  transform: none;
}

.producto-rejilla {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr));
  gap: 1.6rem;
}

.producto {
  background: var(--verde-2);
  border: 1px solid rgba(201, 164, 95, 0.28);
  display: flex;
  flex-direction: column;
  text-align: center;
  transition: transform 0.35s ease, border-color 0.35s ease;
}

.producto:hover {
  transform: translateY(-6px);
  border-color: var(--oro);
}

.producto-imagen {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-bottom: 1px solid rgba(201, 164, 95, 0.28);
}

.producto-cuerpo {
  padding: 1.8rem 1.5rem 2rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.etiqueta-producto {
  font-size: 0.62rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--oro);
}

.producto h3 {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--crema);
  margin: 0.5rem 0 0.6rem;
}

.producto p {
  font-size: 0.95rem;
}

.producto .precio {
  font-family: var(--serif);
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--oro);
  margin-top: 1.1rem;
}

.producto .boton {
  margin-top: 1.4rem;
}

.producto .boton.anadido {
  background: var(--oro);
  color: var(--verde);
  border-color: var(--oro);
}

/* ---------- Carrito ---------- */
.carrito-item {
  display: grid;
  grid-template-columns: 5.5rem 1fr auto;
  gap: 1.3rem;
  align-items: center;
  padding: 1.4rem 0;
  border-bottom: 1px solid rgba(201, 164, 95, 0.22);
}

.carrito-item img,
.carrito-item video {
  width: 5.5rem;
  height: 5.5rem;
  object-fit: cover;
  border: 1px solid rgba(201, 164, 95, 0.4);
}

.carrito-item h3 {
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--crema);
}

.item-precio {
  font-size: 0.88rem;
  color: rgba(217, 212, 197, 0.75);
}

.item-acciones {
  display: flex;
  align-items: center;
  gap: 1.4rem;
}

.cantidad {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.cantidad span {
  min-width: 1.4rem;
  text-align: center;
  font-family: var(--serif);
  font-size: 1.2rem;
  color: var(--crema);
}

.cantidad button {
  width: 2rem;
  height: 2rem;
  border: 1px solid rgba(201, 164, 95, 0.5);
  background: none;
  color: var(--oro);
  font-size: 1rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.25s ease;
}

.cantidad button:hover {
  background: rgba(201, 164, 95, 0.14);
}

.quitar {
  background: none;
  border: none;
  color: var(--texto);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  opacity: 0.7;
  transition: opacity 0.25s ease, color 0.25s ease;
}

.quitar:hover {
  opacity: 1;
  color: var(--oro-claro);
}

.carrito-vacia {
  text-align: center;
  padding: 3.5rem 1rem;
  border: 1px dashed rgba(201, 164, 95, 0.4);
  font-family: var(--serif);
  font-size: 1.25rem;
  color: var(--crema);
}

.carrito-vacia a {
  display: inline-block;
  margin-top: 0.6rem;
}

.carrito-total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  margin-top: 2.2rem;
  padding-top: 1.6rem;
  border-top: 1px solid rgba(201, 164, 95, 0.3);
}

.carrito-total .importe {
  font-family: var(--serif);
  font-size: 2.1rem;
  font-weight: 600;
  color: var(--oro);
}

.carrito-nota {
  margin-top: 0.9rem;
  font-size: 0.92rem;
  color: rgba(217, 212, 197, 0.75);
}

.carrito-acciones {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}

@media (max-width: 560px) {
  .carrito-item {
    grid-template-columns: 4.2rem 1fr;
  }

  .carrito-item img,
  .carrito-item video {
    width: 4.2rem;
    height: 4.2rem;
  }

  .item-acciones {
    grid-column: 1 / -1;
    justify-content: space-between;
  }

  .carrito-total {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.3rem;
  }
}
/* ---------- Compra destacada ---------- */
.compra .lista-mistica {
  margin-top: 1.6rem;
}

.compra-precio {
  font-family: var(--serif);
  font-size: 2.2rem;
  font-weight: 600;
  color: var(--oro);
  margin: 1.4rem 0 1.6rem;
}

.compra-nota {
  margin-top: 1.3rem;
  font-size: 0.9rem;
  color: rgba(217, 212, 197, 0.75);
}
/* ---------- Pago del carrito ---------- */
.pago-panel {
  margin-top: 2.6rem;
}

.pago-panel .panel {
  text-align: left;
}

.pago-panel h3 {
  font-size: 1.8rem;
  color: var(--crema);
}

.pago-intro {
  font-size: 0.98rem;
  color: rgba(217, 212, 197, 0.8);
}

.metodos-pago {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.4rem;
  margin: 1.8rem 0;
}

.metodo {
  border: 1px solid rgba(201, 164, 95, 0.3);
  background: rgba(201, 164, 95, 0.05);
  padding: 1.6rem;
}

.metodo h4 {
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--oro);
  margin-bottom: 0.7rem;
}

.metodo-dato {
  font-family: var(--serif);
  font-size: 1.25rem;
  color: var(--crema);
}

.metodo p:not(.metodo-dato) {
  font-size: 0.88rem;
  margin-top: 0.5rem;
  color: rgba(217, 212, 197, 0.75);
}

.pago-formulario {
  max-width: none;
  display: grid;
  gap: 1.1rem;
}

.pago-formulario .boton {
  justify-self: start;
}
/* ---------- Pago Redsys + Bizum ---------- */
.pago-datos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem 1.2rem;
  margin-top: 1.2rem;
}

.pago-datos .campo--ancho {
  grid-column: 1 / -1;
}

.metodo-pago {
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
  border: 1px solid rgba(201, 164, 95, 0.28);
  padding: 1.1rem 1.2rem;
  cursor: pointer;
  margin-bottom: 0.9rem;
  transition: border-color 0.3s ease, background 0.3s ease;
}

.metodo-pago input {
  margin-top: 0.3rem;
  accent-color: var(--oro);
}

.metodo-pago:has(input:checked) {
  border-color: var(--oro);
  background: rgba(201, 164, 95, 0.06);
}

.metodo-pago h4 {
  font-family: var(--sans);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--oro);
  margin-bottom: 0.3rem;
}

.metodo-pago p {
  margin: 0;
  font-size: 0.92rem;
}

.pago-aviso-entorno {
  margin: 0.9rem 0 0;
  font-size: 0.82rem;
  color: rgba(217, 212, 197, 0.65);
}

/* Cupón de descuento en el checkout */
.cupon-zona {
  display: flex;
  gap: 0.7rem;
  align-items: stretch;
}

.cupon-zona input {
  flex: 1;
  min-width: 0;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.cupon-zona .boton {
  white-space: nowrap;
}

.carrito-linea[data-linea-descuento] span:last-child {
  color: var(--oro);
}

@media (max-width: 700px) {
  .pago-datos {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  .metodos-pago {
    grid-template-columns: 1fr;
  }

  .pago-formulario .boton {
    justify-self: stretch;
  }
}
/* ---------- Marco de la ficha de compra ---------- */
.compra-figura img {
  height: auto;
  aspect-ratio: 5 / 4;
  object-fit: cover;
  object-position: center 62%;
}

@media (max-width: 900px) {
  .compra-figura img {
    aspect-ratio: 4 / 3;
  }
}
/* ---------- Lineas de envio del carrito ---------- */
.carrito-lineas {
  display: grid;
  gap: 0.45rem;
  margin-top: 1.8rem;
}

.carrito-linea {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  font-size: 0.95rem;
  color: rgba(217, 212, 197, 0.85);
}

.linea-envio.gratis {
  color: var(--oro-claro);
  letter-spacing: 0.08em;
}

.carrito-resumen .carrito-total {
  margin-top: 1.2rem;
}

.carrito-envio-nota {
  margin-top: 0.8rem;
  font-size: 0.85rem;
  font-style: italic;
  color: rgba(217, 212, 197, 0.65);
}
/* ---------- Ficha de compra con imagen vertical ---------- */
.compra-figura.vertical img {
  aspect-ratio: 4 / 5;
  object-position: center;
}

/* ---------- Carrusel de imágenes y vídeos del producto ---------- */
/* Visor bajo el marco principal: la imagen o el vídeo activo */
.carrusel-producto-visor {
  position: relative;
}

.carrusel-producto-medio img,
.carrusel-producto-medio video {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 5 / 4;
  object-fit: cover;
  object-position: center 62%;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}

.carrusel-producto-medio video {
  aspect-ratio: 4 / 3;
  object-position: center;
  border: 1px solid rgba(201, 164, 95, 0.35);
}

@media (max-width: 900px) {
  .carrusel-producto-medio img {
    aspect-ratio: 4 / 3;
  }
}

.compra-figura.vertical .carrusel-producto-medio img,
.compra-figura.vertical .carrusel-producto-medio video {
  aspect-ratio: 4 / 5;
  object-position: center;
}

/* Flechas del carrusel */
.carrusel-producto-flecha {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  display: grid;
  place-items: center;
  width: 2.4rem;
  height: 2.4rem;
  padding: 0;
  border-radius: 50%;
  border: 1px solid rgba(201, 164, 95, 0.55);
  background: rgba(22, 38, 27, 0.78);
  color: var(--oro);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.carrusel-producto-flecha.anterior {
  left: 0.8rem;
}

.carrusel-producto-flecha.siguiente {
  right: 0.8rem;
}

.carrusel-producto-flecha:hover,
.carrusel-producto-flecha:focus-visible {
  background: var(--oro);
  border-color: var(--oro);
  color: var(--verde);
}

/* Tira de miniaturas debajo de la imagen principal */
.carrusel-producto-miniaturas {
  display: flex;
  gap: 0.6rem;
  margin-top: 0.9rem;
  overflow-x: auto;
  padding-bottom: 0.35rem;
  scrollbar-width: thin;
  scrollbar-color: rgba(201, 164, 95, 0.45) transparent;
}

.carrusel-producto-pulgar {
  position: relative;
  flex: 0 0 auto;
  width: 4.4rem;
  height: 3.4rem;
  padding: 0;
  border: 1px solid rgba(201, 164, 95, 0.35);
  background: none;
  cursor: pointer;
  opacity: 0.6;
  transition: opacity 0.3s ease, border-color 0.3s ease;
}

.carrusel-producto-pulgar img,
.carrusel-producto-pulgar video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.carrusel-producto-pulgar.activa {
  opacity: 1;
  border-color: var(--oro);
  box-shadow: 0 0 0 1px rgba(201, 164, 95, 0.45);
}

.carrusel-producto-play {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgba(22, 38, 27, 0.35);
  color: var(--oro-claro);
  font-size: 0.8rem;
  line-height: 1;
  pointer-events: none;
}

/* Esencia (cenital), Bálsamo y Dúo: producto centrado en el marco horizontal */
.compra-figura img[src*="esencia-meditacion"],
.compra-figura img[src*="perfume-solido"],
.compra-figura img[src*="duo-esencial"],
.compra-figura.vertical img[src*="duo-esencial"] {
  object-position: center 50%;
}

@media (max-width: 900px) {
  .compra-figura img[src*="esencia-meditacion"],
  .compra-figura img[src*="perfume-solido"],
  .compra-figura img[src*="duo-esencial"] {
    object-position: center 42%;
  }
}
/* ---------- Ficha destacada por URL directa (?producto=) ---------- */
.producto-destacado .compra-figura::after {
  content: "";
  position: absolute;
  inset: -1px;
  border: 1px solid rgba(201, 164, 95, 0.75);
  box-shadow: 0 0 0 1px rgba(201, 164, 95, 0.4), 0 0 34px rgba(201, 164, 95, 0.28);
  animation: brillo-destacado 2.4s ease-out 1 both;
  pointer-events: none;
}

@keyframes brillo-destacado {
  0% {
    box-shadow: 0 0 0 1px rgba(201, 164, 95, 0.9), 0 0 60px rgba(201, 164, 95, 0.5);
  }
  100% {
    box-shadow: 0 0 0 1px rgba(201, 164, 95, 0.4), 0 0 34px rgba(201, 164, 95, 0.28);
  }
}

.enlace-todos {
  text-align: center;
  margin: 0 0 2.4rem;
}

.enlace-todos a {
  color: var(--oro);
  font-size: 0.95rem;
  letter-spacing: 0.06em;
  text-decoration: none;
  border-bottom: 1px solid rgba(201, 164, 95, 0.45);
  transition: color 0.3s ease, border-color 0.3s ease;
}

.enlace-todos a:hover {
  color: var(--oro-claro);
  border-color: var(--oro-claro);
}

/* ---------- Música ambiente del Umbral ---------- */
.musica-iframe {
  position: fixed;
  left: -9999px;
  bottom: 0;
  width: 320px;
  height: 152px;
  pointer-events: none;
  border: 0;
}

.musica-boton {
  position: fixed;
  right: 18px;
  right: calc(18px + env(safe-area-inset-right));
  bottom: 18px;
  bottom: calc(18px + env(safe-area-inset-bottom));
  z-index: 60;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  padding: 0;
  border-radius: 50%;
  border: 1px solid rgba(201, 164, 95, 0.55);
  background: rgba(22, 38, 27, 0.9);
  color: var(--oro);
  cursor: pointer;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.45), inset 0 0 12px rgba(201, 164, 95, 0.12);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease, color 0.3s ease;
}

.musica-boton svg {
  width: 22px;
  height: 22px;
}

.musica-boton .icono-sonido {
  display: none;
}

.musica-boton[data-estado="sonando"] .icono-sonido {
  display: block;
}

.musica-boton[data-estado="sonando"] .icono-silencio {
  display: none;
}

.musica-boton:hover,
.musica-boton:focus-visible,
.musica-boton[data-estado="sonando"] {
  transform: scale(1.06);
  border-color: var(--oro);
  color: var(--oro-claro);
  box-shadow: 0 0 18px rgba(201, 164, 95, 0.35), inset 0 0 12px rgba(201, 164, 95, 0.16);
}

.musica-boton.cargando {
  animation: musica-pulso 1.6s ease-in-out infinite;
}

@keyframes musica-pulso {
  50% {
    box-shadow: 0 0 24px rgba(201, 164, 95, 0.5), inset 0 0 12px rgba(201, 164, 95, 0.2);
  }
}

@media (max-width: 720px) {
  .musica-boton {
    right: 14px;
    right: calc(14px + env(safe-area-inset-right));
    bottom: 14px;
    bottom: calc(14px + env(safe-area-inset-bottom));
    width: 44px;
    height: 44px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .musica-boton {
    transition: none;
  }

  .musica-boton.cargando {
    animation: none;
  }
}

/* ---------- Testimonios: Ecos del Umbral ---------- */
.rejilla-testimonios {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
  margin-top: 2.8rem;
}

.testimonio {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  border: 1px solid rgba(201, 164, 95, 0.28);
  background: rgba(201, 164, 95, 0.05);
  padding: 1.9rem 1.7rem;
  text-align: left;
}

.testimonio-estrellas {
  font-size: 1.02rem;
  letter-spacing: 0.18em;
  color: var(--oro);
}

.testimonio-estrellas .vacias {
  color: rgba(201, 164, 95, 0.28);
}

.testimonio-texto {
  flex: 1;
  margin: 0;
  font-family: var(--serif);
  font-size: 1.18rem;
  font-style: italic;
  line-height: 1.6;
  color: var(--crema);
}

.testimonio-autor {
  margin: 0;
  font-size: 0.82rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(217, 212, 197, 0.75);
}

@media (max-width: 900px) {
  .rejilla-testimonios {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 620px) {
  .rejilla-testimonios {
    grid-template-columns: 1fr;
  }
}

/* ---------- Campo trampa anti-spam del formulario ---------- */
.campo-trampa {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* ---------- Redes sociales del pie (solo si el panel las trae) ---------- */
.pie-redes {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.1rem 1.9rem;
  margin-top: 2.6rem;
  padding-top: 1.8rem;
  border-top: 1px solid rgba(201, 164, 95, 0.18);
}

.pie-redes a {
  font-size: 0.76rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--texto);
  opacity: 0.8;
  transition: color 0.25s ease, opacity 0.25s ease;
}

.pie-redes a:hover,
.pie-redes a:focus-visible {
  color: var(--oro);
  opacity: 1;
}

/* ---------- Redes sociales del pie (iconos) ---------- */
.pie-social {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2.4rem;
  padding-top: 2.2rem;
  border-top: 1px solid rgba(201, 164, 95, 0.22);
}

.pie-social a {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(201, 164, 95, 0.4);
  border-radius: 50%;
  color: var(--oro);
  transition: background 0.35s ease, color 0.35s ease, transform 0.35s ease;
}

.pie-social a:hover {
  background: var(--oro);
  color: var(--verde);
  transform: translateY(-3px);
}

.pie-social svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

/* Aceptación de suscripción al boletín en el checkout (pago.html) */
.campo-check {
  display: flex;
  align-items: flex-start;
  gap: .7rem;
  margin: 1.6rem 0 0;
  cursor: pointer;
  font-size: .92rem;
  line-height: 1.55;
  color: #3d4a41;
}
.campo-check input[type="checkbox"] {
  width: 1.1rem;
  height: 1.1rem;
  margin-top: .15rem;
  accent-color: #c9a45f;
  cursor: pointer;
  flex-shrink: 0;
}
.campo-check:hover { color: #16261b; }

/* ---------- El origen de un nombre ---------- */
.origen-hero .contenedor {
  max-width: 62rem;
  text-align: center;
}
.origen-sello {
  display: block;
  width: clamp(96px, 14vw, 140px);
  height: auto;
  margin: 0 auto 1.6rem;
  filter: drop-shadow(0 10px 26px rgba(0, 0, 0, 0.45));
}
.origen-marca {
  font-family: var(--serif);
  font-size: clamp(3.2rem, 10vw, 6.4rem);
  font-weight: 600;
  letter-spacing: 0.16em;
  text-indent: 0.16em;
  line-height: 1.05;
  color: var(--crema);
  margin: 0.6rem 0 0;
  text-shadow: 0 10px 34px rgba(0, 0, 0, 0.6);
}
.origen-cuerpo {
  max-width: 48rem;
  margin: 2.2rem auto 0;
  padding: clamp(1.6rem, 4vw, 2.8rem);
  background: rgba(11, 18, 13, 0.62);
  border: 1px solid rgba(201, 164, 95, 0.32);
  backdrop-filter: blur(2px);
}
.origen-cuerpo p {
  margin: 1.2rem auto 0;
  font-size: 1.06rem;
  line-height: 1.9;
  color: rgba(217, 212, 197, 0.94);
}
.origen-cuerpo p:first-of-type {
  margin-top: 0;
}
.origen-cuerpo .oro {
  font-size: 1.05em;
  letter-spacing: 0.1em;
}
.origen-divisor {
  color: var(--oro);
  font-size: 1.2rem;
  letter-spacing: 0.6em;
  text-indent: 0.6em;
  margin-top: 2rem !important;
}
.origen-cierre {
  font-family: var(--serif);
  font-size: clamp(1.3rem, 2.6vw, 1.55rem);
  line-height: 1.7;
  color: var(--crema);
  margin-top: 1.3rem !important;
}
.origen-cierre strong {
  color: var(--oro);
  font-weight: 600;
}

/* ---------- Portada La Alquimia (texto en columna) ---------- */
.texto-portada p {
  font-size: 1.15rem;
  line-height: 1.85;
}
.texto-portada .etiqueta {
  margin-bottom: 0.6rem;
}



/* ---------- Distribuidores: packs de alianza B2B ---------- */
.rejilla-2 {
  grid-template-columns: repeat(2, 1fr);
}

.packs-b2b {
  align-items: stretch;
}

.pack-b2b {
  position: relative;
  display: flex;
  flex-direction: column;
  text-align: left;
  background: var(--verde-2);
  border: 1px solid rgba(201, 164, 95, 0.32);
  padding: 2.6rem 2.2rem 2.2rem;
  transition: border-color 0.35s ease, transform 0.35s ease;
}

.pack-b2b:hover {
  border-color: var(--oro);
  transform: translateY(-4px);
}

.pack-destacado {
  border-color: var(--oro);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.32), 0 0 24px rgba(201, 164, 95, 0.12);
}

.pack-sello {
  position: absolute;
  top: -0.9rem;
  right: 1.6rem;
  background: var(--oro);
  color: var(--verde);
  font-family: var(--sans);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  padding: 0.35rem 0.9rem;
}

.pack-nombre {
  font-family: var(--serif);
  font-size: clamp(1.7rem, 3vw, 2.2rem);
  color: var(--crema);
  font-weight: 600;
  text-align: center;
  margin-bottom: 0.4rem;
}

.pack-etiqueta {
  text-align: center;
  font-size: 0.8rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--oro);
  margin-bottom: 1.4rem;
}

.pack-ideal {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.02rem;
  line-height: 1.6;
  color: var(--texto);
  text-align: center;
  margin-bottom: 1.8rem;
}

.pack-datos {
  border-top: 1px solid rgba(201, 164, 95, 0.35);
  margin-top: auto;
}

.pack-dato {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1.2rem;
  padding: 0.9rem 0;
  border-bottom: 1px dashed rgba(201, 164, 95, 0.3);
}

.pack-campo {
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--oro);
  white-space: nowrap;
}

.pack-valor {
  text-align: right;
  font-size: 0.98rem;
  color: var(--crema);
  line-height: 1.5;
}

.pack-valor small {
  display: block;
  font-size: 0.78rem;
  color: var(--texto);
}

.pack-cifra {
  font-family: var(--serif);
  font-size: 1.3rem;
  color: var(--oro-claro);
  white-space: nowrap;
}

.pack-cifra small {
  font-family: var(--sans);
  font-size: 0.75rem;
  letter-spacing: 0.04em;
}

.pack-argumento {
  margin: 1.6rem 0 0;
  padding: 1.1rem 1.3rem;
  border-left: 3px solid var(--oro);
  background: rgba(201, 164, 95, 0.08);
  font-family: var(--serif);
  font-style: italic;
  font-size: 0.98rem;
  line-height: 1.7;
  color: var(--crema);
}

.pack-argumento-titulo {
  display: block;
  font-family: var(--sans);
  font-style: normal;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--oro);
  margin-bottom: 0.5rem;
}

.texto-suave-distribuidor {
  font-size: 0.88rem;
  color: var(--texto);
  text-align: center;
}

.texto-suave-distribuidor a {
  color: var(--oro-claro);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.entradilla-distribuidor {
  max-width: 42rem;
  margin: 1rem auto 0;
  font-family: var(--serif);
  font-size: 1.15rem;
  line-height: 1.7;
  color: var(--texto);
}

/* ---------- Distribuidores: área privada ---------- */
.formulario-distribuidor {
  display: grid;
  gap: 1.3rem;
  text-align: left;
}

.formulario-distribuidor .campo label {
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-size: 0.75rem;
  color: var(--oro);
}

.formulario-distribuidor .campo input,
.formulario-distribuidor .campo textarea {
  background: rgba(243, 238, 226, 0.05);
  border: 1px solid rgba(201, 164, 95, 0.35);
  color: var(--crema);
  font-family: var(--sans);
  font-size: 1rem;
  padding: 0.9rem 1.1rem;
  transition: border-color 0.3s ease;
}

.formulario-distribuidor .campo input:focus,
.formulario-distribuidor .campo textarea:focus {
  outline: none;
  border-color: var(--oro);
}

.formulario-distribuidor .campo textarea {
  min-height: 8rem;
  resize: vertical;
}

.formulario-distribuidor .campo .campo-opcional {
  color: var(--texto);
  text-transform: none;
  letter-spacing: 0.05em;
}

#form-login-distribuidor {
  max-width: 26rem;
  margin-inline: auto;
}

#form-login-distribuidor .texto-suave-distribuidor {
  margin-top: 0.4rem;
}

.zona-privada {
  text-align: left;
  margin-top: 2.6rem;
  padding: 2.6rem 2.2rem;
}

.zona-privada-cabecera {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.4rem;
  flex-wrap: wrap;
  margin-bottom: 1.6rem;
}

.zona-privada-empresa {
  font-family: var(--serif);
  font-size: 1.7rem;
  color: var(--crema);
  font-weight: 600;
  margin-top: 0.4rem;
}

.zona-privada-acciones {
  display: flex;
  gap: 0.7rem;
  flex-wrap: wrap;
}

.boton-mini {
  padding: 0.55rem 1.1rem;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
}

.zona-privada-nota {
  font-size: 0.9rem;
  color: var(--texto);
  margin-bottom: 1.6rem;
}

.zona-privada-titulo {
  font-family: var(--serif);
  font-size: 1.35rem;
  color: var(--oro);
  font-weight: 600;
  margin-bottom: 0.4rem;
}

.cambio-clave {
  border: 1px dashed rgba(201, 164, 95, 0.35);
  padding: 1.4rem;
  margin-bottom: 1.8rem;
}

.zona-privada .packs-b2b {
  margin-bottom: 2.2rem;
}

.zona-privada .pack-b2b {
  padding: 2.2rem 1.8rem 1.8rem;
}

@media (max-width: 900px) {
  .rejilla-2.packs-b2b {
    grid-template-columns: 1fr;
  }

  .pack-dato {
    flex-direction: column;
    gap: 0.25rem;
  }

  .pack-valor {
    text-align: left;
  }

  .zona-privada {
    padding: 2rem 1.4rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .pack-b2b {
    transition: none;
  }
}

/* ---------- Desplegable Acceso (clientes y distribuidores) ---------- */
.navegacion .acceso-menu {
  position: relative;
}
.navegacion .acceso-boton {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  color: var(--texto);
  font: inherit;
  font-size: 0.74rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  white-space: nowrap;
  border-bottom: 1px solid transparent;
  transition: color 0.3s ease, border-color 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}
.navegacion .acceso-boton:hover,
.navegacion .acceso-menu.abierto .acceso-boton {
  color: var(--oro-claro);
  border-color: var(--oro);
}
.navegacion .acceso-boton .flecha {
  font-size: 0.7em;
  transition: transform 0.25s ease;
}
.navegacion .acceso-menu.abierto .acceso-boton .flecha {
  transform: rotate(180deg);
}
.navegacion .acceso-submenu {
  list-style: none;
  display: none;
  min-width: 15.5rem;
  padding: 0.5rem;
  background: rgba(15, 24, 17, 0.97);
  border: 1px solid rgba(201, 164, 95, 0.35);
  border-radius: 10px;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.4);
}
.navegacion .acceso-menu.abierto .acceso-submenu {
  display: block;
}
.navegacion .acceso-submenu a {
  display: block;
  padding: 0.6rem 0.8rem;
  border-bottom: none;
  border-radius: 6px;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  white-space: nowrap;
  color: var(--texto);
}
.navegacion .acceso-submenu a:hover {
  background: rgba(201, 164, 95, 0.14);
  color: var(--oro-claro);
  border-bottom: none;
}
@media (min-width: 1331px) {
  .navegacion .acceso-menu:hover .acceso-submenu {
    display: block;
  }
  .navegacion .acceso-submenu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    z-index: 70;
  }
}
@media (max-width: 1330px) {
  .navegacion .acceso-boton {
    font-size: 1.05rem;
    padding: 0.65rem 1.2rem;
    border-bottom: none;
  }
  .navegacion .acceso-menu.abierto .acceso-submenu {
    margin: 0.3rem auto 0;
    max-width: 20rem;
  }
  .navegacion .acceso-submenu a {
    font-size: 0.95rem;
  }
}
