/* =========================================================
   ILUMINA — BASE
========================================================= */

:root {
  --pink-bg: #fbe3ea;
  --pink-surface: #f7d1dc;
  --pink-light: #f3c0cf;
  --pink-mid: #e99db3;
  --pink-deep: #b94d72;

  --dark: #221a1e;

  --ink: #4a2f3a;
  --ink-soft: #7f5d6b;
  --line: #eebfcd;

  --font-sans: 'Inter', system-ui, sans-serif;
  --font-serif: 'Cormorant Garamond', Georgia, serif;

  --header-height: 72px;
}

* {
  box-sizing: border-box;
}

html {
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: var(--pink-bg);
}

body {
  width: 100%;
  height: 100%;
  margin: 0;
  overflow: hidden;
  background: var(--pink-bg);
  color: var(--ink);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

button,
input,
select,
textarea {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--pink-deep);
  outline-offset: 3px;
}

img {
  display: block;
  max-width: 100%;
}

#root {
  width: 100%;
  height: 100%;
  overflow: hidden;
}

/* =========================================================
   BOTONES
========================================================= */

.btn {
  position: relative;
  isolation: isolate;
  overflow: hidden;

  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;

  padding: 14px 26px;
  border: 1.5px solid var(--ink);
  border-radius: 999px;

  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  line-height: 1;

  cursor: pointer;
  user-select: none;

  transition:
    transform 0.2s ease,
    box-shadow 0.3s ease,
    background 0.3s ease,
    color 0.3s ease,
    border-color 0.3s ease;
}

.btn::after {
  content: '';
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(
    110deg,
    transparent 30%,
    rgba(255, 255, 255, 0.38) 50%,
    transparent 70%
  );
  transform: translateX(-130%);
  transition: transform 0.7s ease;
}

.btn:hover:not(:disabled)::after {
  transform: translateX(130%);
}

.btn:active:not(:disabled) {
  transform: translateY(0) scale(0.96);
}

.btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  box-shadow: none;
}

.btn-primary {
  background: var(--ink);
  color: #fff;
  box-shadow: 0 8px 20px rgba(74, 47, 58, 0.25);
}

.btn-primary:hover:not(:disabled) {
  background: var(--pink-deep);
  border-color: var(--pink-deep);
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(185, 77, 114, 0.4);
}

.btn-outline {
  background: rgba(255, 255, 255, 0.45);
  color: var(--ink);
}

.btn-outline:hover:not(:disabled) {
  background: var(--ink);
  color: #fff;
  transform: translateY(-2px);
}

.btn-sm {
  padding: 11px 18px;
  font-size: 11px;
}

.btn-block {
  width: 100%;
}

.btn-arrow {
  display: inline-block;
  font-size: 15px;
  transition: transform 0.3s ease;
}

.btn:hover .btn-arrow {
  transform: translateX(4px);
}

.btn-link {
  padding: 10px 0 0;
  border: 0;
  background: transparent;
  color: var(--ink);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-decoration: underline;
  text-underline-offset: 4px;
  cursor: pointer;
  transition: color 0.2s ease;
}

.btn-link:hover {
  color: var(--pink-deep);
}

/* =========================================================
   CONTADOR DE CANTIDAD
========================================================= */

.stepper {
  display: inline-flex;
  align-items: center;
  flex: none;

  border: 1.5px solid var(--ink);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.55);
  overflow: hidden;
}

.stepper button {
  width: 36px;
  height: 38px;
  border: 0;
  background: transparent;
  color: var(--ink);
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.stepper button:hover:not(:disabled) {
  background: var(--ink);
  color: #fff;
}

.stepper button:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.stepper output {
  min-width: 30px;
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.stepper--sm button {
  width: 28px;
  height: 28px;
  font-size: 15px;
}

.stepper--sm output {
  min-width: 24px;
  font-size: 12px;
}

/* =========================================================
   IMÁGENES SUAVES (placeholder + fade)
========================================================= */

.smooth {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    100deg,
    var(--pink-surface) 30%,
    var(--pink-light) 50%,
    var(--pink-surface) 70%
  );
  background-size: 220% 100%;
  animation: shimmer 1.4s linear infinite;
}

.smooth.is-loaded {
  animation: none;
  background: var(--pink-surface);
}

.smooth img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.7s ease, transform 0.85s cubic-bezier(0.22, 1, 0.36, 1);
}

.smooth.is-loaded img {
  opacity: 1;
}

@keyframes shimmer {
  from { background-position: 120% 0; }
  to { background-position: -120% 0; }
}

/* =========================================================
   NAVBAR
========================================================= */

.navbar {
  position: fixed;
  z-index: 50;
  top: 0;
  left: 0;
  right: 0;

  height: var(--header-height);
  padding: 0 clamp(20px, 4vw, 56px);

  display: flex;
  align-items: center;
  justify-content: space-between;

  background: rgba(251, 227, 234, 0.97);
  border-bottom: 0;

   opacity: 0;
  transform: translateY(-12px);
  pointer-events: none;
  animation: nav-in 0.9s 5.4s cubic-bezier(0.22, 1, 0.36, 1) both;
}

body:not(.intro-active) .navbar {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
  transition-delay: 0.3s; /* Pequeña pausa para que el hero respire */
}

@keyframes nav-in {
  from { opacity: 0; transform: translateY(-100%); }
  to { opacity: 1; transform: translateY(0); }
}

.nav-logo {
  border: 0;
  padding: 8px 0;
  background: transparent;
  color: var(--ink);

  font-size: 17px;
  font-weight: 500;
  letter-spacing: 0.28em;

  cursor: pointer;
}

.nav-logo span {
  color: var(--pink-deep);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 22px;
}

.nav-instagram {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ink);
  text-decoration: none;
  font-size: 11px;
  letter-spacing: .07em;
  transition: opacity .3s ease;
}

.nav-instagram:hover {
  opacity: .55;
}

.nav-instagram svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
}

.nav-cart {
  display: flex;
  align-items: center;
  gap: 10px;

  padding: 10px 18px;
  border: 1.5px solid var(--ink);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.5);

  color: var(--ink);
  font-size: 12px;
  font-weight: 500;

  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease;
}

.nav-cart:hover {
  background: var(--ink);
  color: #fff;
}

.nav-cart.is-bump {
  animation: cart-bump 0.6s ease;
}

@keyframes cart-bump {
  0% { transform: scale(1); }
  30% { transform: scale(1.14) rotate(-3deg); box-shadow: 0 0 0 6px rgba(255, 148, 86, 0.35); }
  60% { transform: scale(0.97); }
  100% { transform: scale(1); box-shadow: 0 0 0 0 transparent; }
}

.cart-icon {
  position: relative;
  width: 18px;
  height: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.cart-icon svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.cart-count {
  font-variant-numeric: tabular-nums;
}


/* =========================================================
   RECORRIDO HORIZONTAL
========================================================= */

.horizontal-viewport {
  position: fixed;
  z-index: 1;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;

  overflow-x: auto;
  overflow-y: hidden;

  background: var(--pink-bg);

  scroll-behavior: auto;
  overscroll-behavior-x: contain;
  overscroll-behavior-y: none;

  -webkit-overflow-scrolling: touch;
  touch-action: pan-x;
  scrollbar-width: none;
}

.horizontal-viewport::-webkit-scrollbar {
  display: none;
}

.horizontal-track {
  width: max-content;
  min-width: 100%;
  height: 100%;

  display: flex;
  align-items: stretch;
}

/* =========================================================
   HERO
========================================================= */

.hero-panel {
  position: relative;
  flex: 0 0 100vw;
  width: 100vw;
  height: 100%;
  min-width: 0;

  display: flex;
  flex-direction: column;
  justify-content: center;

  padding: clamp(24px, 5vw, 70px);
  overflow: hidden;

  background-color: var(--dark);
  animation: hero-dawn 1.8s 4.6s ease forwards;
}

@keyframes hero-dawn {
  from { background-color: var(--dark); }
  to { background-color: var(--pink-bg); }
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: auto;
}

.hero-brand {
  display: flex;
  align-items: flex-end;
  justify-content: center;

  max-width: 100%;
  white-space: nowrap;
  user-select: none;

  font-family: var(--font-serif);
  font-size: clamp(100px, 17vw, 210px);
  font-weight: 300;
  line-height: 0.8;
}

.hero-i {
  position: relative;
  display: inline-block;

  font-size: inherit;
  line-height: inherit;

  color: #5b4048;
  opacity: 0;

  animation:
    i-appear 0.9s 0.2s ease forwards,
    i-light 1.2s 1.2s ease forwards,
    i-settle 1.8s 4.6s ease forwards;
}

@keyframes i-appear {
  to { opacity: 1; }
}

@keyframes i-light {
  from { color: #5b4048; text-shadow: none; }
  40% {
    color: #fff3dc;
    text-shadow:
      0 0 40px rgba(255, 214, 150, 0.95),
      0 0 100px rgba(255, 160, 120, 0.55);
  }
  to {
    color: #ffe3c2;
    text-shadow:
      0 0 28px rgba(255, 200, 140, 0.7),
      0 0 70px rgba(255, 150, 120, 0.35);
  }
}

@keyframes i-settle {
  from {
    color: #ffe3c2;
    text-shadow:
      0 0 28px rgba(255, 200, 140, 0.7),
      0 0 70px rgba(255, 150, 120, 0.35);
  }
  to {
    color: var(--pink-deep);
    text-shadow: 0 0 0 transparent;
  }
}

.hero-i::before {
  content: '';
  position: absolute;
  z-index: -1;

  width: 200%;
  height: 170%;
  top: -35%;
  left: -50%;

  background: radial-gradient(
    ellipse,
    rgba(255, 170, 130, 0.38) 0%,
    rgba(255, 170, 130, 0.12) 40%,
    transparent 72%
  );

  filter: blur(16px);
  opacity: 0;

  animation: i-halo 4.8s 1.2s ease forwards;
}

@keyframes i-halo {
  0% { opacity: 0; transform: scale(0.4); }
  20% { opacity: 1; transform: scale(1.1); }
  70% { opacity: 0.8; transform: scale(1); }
  100% { opacity: 0; transform: scale(1); }
}

.hero-flame {
  position: absolute;
  left: 50%;
  top: 0.1em;
  width: 0.22em;
  height: 0.4em;
  transform: translate(-50%, -92%);
  pointer-events: none;
}

.hero-flame-inner {
  width: 100%;
  height: 100%;
  opacity: 0;
  transform: scale(0);
  transform-origin: 50% 100%;
  filter: drop-shadow(0 0 0.09em rgba(255, 170, 90, 0.95));

  animation: flame-life 3s 1.5s ease-in-out forwards;
}

.hero-flame-inner svg {
  width: 100%;
  height: 100%;
  display: block;
  transform-origin: 50% 100%;
  animation: flame-flicker 0.16s ease-in-out infinite alternate;
}

@keyframes flame-life {
  0% { opacity: 0; transform: scale(0); }
  12% { opacity: 1; transform: scale(1.15); }
  22% { transform: scale(1); }
  78% { opacity: 1; transform: scale(1); }
  90% { opacity: 0.9; transform: scale(0.55) translateY(4%); }
  100% { opacity: 0; transform: scale(0) translateY(-8%); }
}

@keyframes flame-flicker {
  from { transform: scale(1, 1) rotate(-2deg); }
  to { transform: scale(0.93, 1.08) rotate(2.5deg); }
}

.hero-smoke {
  position: absolute;
  left: 50%;
  top: 0.04em;
  width: 0.12em;
  height: 0.12em;
  margin-left: -0.06em;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.28);
  filter: blur(6px);
  opacity: 0;
  pointer-events: none;

  animation: smoke-rise 1.9s 4.2s ease-out forwards;
}

@keyframes smoke-rise {
  0% { opacity: 0; transform: translateY(0) scale(0.4); }
  25% { opacity: 0.5; }
  100% { opacity: 0; transform: translateY(-1.3em) scale(2.6); }
}

.hero-word-wrap {
  display: grid;
  grid-template-columns: 0fr;
  animation: word-expand 1.7s 4.6s cubic-bezier(0.65, 0, 0.25, 1) forwards;
}

@keyframes word-expand {
  to { grid-template-columns: 1fr; }
}

.hero-word {
  display: block;
  min-width: 0;
  overflow: hidden;

  padding: 0.15em 0.02em;
  margin: -0.15em 0;

  color: var(--ink);
  font-size: inherit;
  line-height: inherit;
  letter-spacing: 0.015em;
}

.hero-subtitle {
  margin-top: clamp(24px, 4vw, 42px);

  color: var(--ink-soft);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.34em;
  text-align: center;

  opacity: 0;
  animation: fade-up 1s 5.9s ease forwards;
}

@keyframes fade-up {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-footer {
  position: absolute;
  z-index: 2;
  right: clamp(24px, 4vw, 56px);
  bottom: clamp(24px, 4vw, 48px);
  left: clamp(24px, 4vw, 56px);

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;

  opacity: 0;
  animation: fade-up 1s 6.1s ease forwards;
}

.hero-caption {
  color: var(--ink-soft);
  font-size: 9px;
  letter-spacing: 0.22em;
  line-height: 1.7;
}

/* =========================================================
   PRESENTACIÓN DE COLECCIÓN
========================================================= */

.collection-intro {
  flex: 0 0 clamp(340px, 46vw, 650px);
  min-width: 0;
  height: 100%;

  display: flex;
  flex-direction: column;
  justify-content: center;

  padding: clamp(28px, 5vw, 76px);
  border-left: 1px solid var(--line);
  overflow: hidden;
}

.collection-eyebrow {
  margin-bottom: 20px;

  color: var(--pink-deep);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.24em;
}

.collection-title {
  max-width: 500px;
  margin: 0;

  color: var(--ink);
  font-family: var(--font-serif);
  font-size: clamp(48px, 6.5vw, 90px);
  font-weight: 300;
  line-height: 0.95;
}

.collection-title em {
  color: var(--pink-deep);
  font-weight: 300;
}

.collection-description {
  max-width: 330px;
  margin-top: 26px;

  color: var(--ink-soft);
  font-size: 12px;
  line-height: 1.9;
}

.collection-count {
  margin-top: 44px;
  padding-top: 18px;
  border-top: 1px solid var(--line);

  color: var(--ink-soft);
  font-size: 10px;
  letter-spacing: 0.16em;
}

.collection-count strong {
  color: var(--ink);
  font-weight: 600;
}

/* =========================================================
   TARJETAS DE PRODUCTOS
========================================================= */

.product-item {
  flex: 0 0 clamp(270px, 32vw, 440px);
  min-width: 0;
  height: 100%;

  display: flex;
  align-items: center;

  padding: clamp(18px, 2.5vw, 36px);
  border-left: 1px solid var(--line);

  contain: layout style;
}

.product-card {
  width: 100%;
  max-width: 440px;
  margin: auto;
}

.product-image {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: 0;

  aspect-ratio: 0.84;
  min-height: 200px;
  max-height: calc(100vh - var(--header-height) - 290px);
  max-height: calc(100svh - var(--header-height) - 290px);

  overflow: hidden;
  border-radius: 8px;
  background: var(--pink-surface);
  cursor: pointer;
}

.product-image:hover .smooth.is-loaded img {
  transform: scale(1.045);
}

.product-overlay {
  position: absolute;
  inset: 0;

  display: flex;
  align-items: flex-end;
  justify-content: flex-end;

  padding: 16px;

  background: linear-gradient(to top, rgba(74, 47, 58, 0.2), transparent 35%);

  opacity: 0;
  transition: opacity 0.35s ease;
}

.product-image:hover .product-overlay {
  opacity: 1;
}

.product-open {
  width: 42px;
  height: 42px;

  display: grid;
  place-items: center;

  border-radius: 50%;
  background: #fff;
  color: var(--ink);

  font-size: 19px;
  transform: translateY(8px);
  transition: transform 0.35s ease;
}

.product-image:hover .product-open {
  transform: translateY(0);
}

.product-info {
  padding: 16px 1px 0;
}

.product-category {
  margin: 0 0 6px;

  color: var(--pink-deep);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.product-name {
  margin: 0;

  color: var(--ink);
  font-family: var(--font-serif);
  font-size: clamp(21px, 2vw, 27px);
  font-weight: 400;
  line-height: 1.1;
}

.product-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;

  margin-top: 8px;

  color: var(--ink-soft);
  font-size: 11px;
}

.product-meta strong {
  color: var(--ink);
  font-size: 13px;
  font-weight: 600;
}

.product-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
}

/* =========================================================
   PANEL FINAL — CIERRE ROSA
========================================================= */

.end-panel {
  flex: 0 0 clamp(340px, 48vw, 650px);
  height: 100%;

  display: flex;
  flex-direction: column;
  justify-content: center;

  padding: clamp(28px, 5vw, 76px);
  border-left: 1px solid var(--line);
  overflow: hidden;
}

.end-panel.final-message {
  flex: 0 0 clamp(340px, 48vw, 650px);
  width: clamp(340px, 48vw, 650px);

  align-items: center;
  justify-content: center;

  padding: clamp(30px, 6vw, 90px);

  background: var(--pink-bg);
}

.final-message__copy {
  width: 100%;
  max-width: 460px;
}

.final-message__eyebrow {
  display: block;
  margin-bottom: 24px;

  color: var(--pink-deep);
  font-size: 10px;
  letter-spacing: .22em;
}

.final-message__title {
  margin: 0;

  color: var(--ink);
  font-family: var(--font-serif);
  font-size: clamp(52px, 6vw, 82px);
  font-weight: 300;
  line-height: .94;
  letter-spacing: -.035em;
}

.final-message__title em {
  color: var(--pink-deep);
  font-weight: 300;
}

.final-message__description {
  max-width: 360px;
  margin: 28px 0 32px;

  color: var(--ink-soft);
  font-size: 12px;
  line-height: 1.9;
}

.final-message__back {
  display: inline-flex;
  align-items: center;
  gap: 12px;

  padding: 0 0 7px;
  border: 0;
  border-bottom: 1px solid var(--line);

  background: transparent;
  color: var(--ink);

  font-size: 11px;
  letter-spacing: .06em;
  cursor: pointer;
  transition: color .3s ease, border-color .3s ease;
}

.final-message__back span {
  transition: transform .3s ease;
}

.final-message__back:hover {
  color: var(--pink-deep);
  border-color: var(--pink-deep);
}

.final-message__back:hover span {
  transform: translate(3px, -3px);
}

/* =========================================================
   PANEL DEL QUEMADOR (INCENSE GATEWAY)
========================================================= */

.incense-gateway {
  position: relative;
  isolation: isolate;

  flex: 0 0 clamp(300px, 42vw, 580px);
  width: clamp(300px, 42vw, 580px);
  height: 100%;

  display: grid;
  place-items: center;

  padding: clamp(20px, 4vw, 55px);

  overflow: hidden;
  border-left: 1px solid var(--line);

  background: var(--pink-bg);
}

.incense-gateway__object-area {
  position: relative;

  width: min(100%, 390px);
  aspect-ratio: 1;

  display: grid;
  place-items: center;
}

.incense-gateway__ambient-light {
  position: absolute;
  inset: 5%;

  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(190, 132, 70, .12),
    rgba(190, 132, 70, .045) 42%,
    transparent 72%
  );

  filter: blur(22px);
  animation: censer-ambient 6s ease-in-out infinite alternate;
  transition: opacity 1s ease, transform 1s ease;
}

@keyframes censer-ambient {
  from { opacity: .45; transform: scale(.88); }
  to { opacity: 1; transform: scale(1.12); }
}

.incense-gateway__censer {
  position: relative;
  z-index: 3;

  display: grid;
  place-items: center;

  width: min(100%, 250px);
  aspect-ratio: 1;

  padding: 0;
  border: 0;
  background: transparent;

  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.incense-gateway__censer:focus-visible {
  outline: 2px solid rgba(185, 77, 114, .55);
  outline-offset: 5px;
  border-radius: 50%;
}

.incense-gateway__censer:disabled {
  cursor: default;
}

.incense-gateway__art {
  position: relative;
  z-index: 3;

  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;

  filter:
    drop-shadow(0 20px 22px rgba(74, 47, 58, .17))
    drop-shadow(0 0 18px rgba(202, 155, 91, .13));

  animation: censer-float 6s ease-in-out infinite;

  transition: filter 1.5s ease, transform 1.5s ease;
}

@keyframes censer-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-7px); }
}

.incense-gateway__aura {
  position: absolute;
  z-index: 1;

  width: 75%;
  height: 75%;

  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(239, 181, 104, .22),
    rgba(190, 132, 70, .08) 40%,
    transparent 72%
  );

  filter: blur(24px);
  animation: censer-aura 4.5s ease-in-out infinite alternate;
  transition: opacity 1s ease, transform 1s ease;
}

@keyframes censer-aura {
  from { opacity: .4; transform: scale(.85); }
  to { opacity: .9; transform: scale(1.15); }
}

.incense-gateway__smoke {
  position: absolute;
  z-index: 2;

  left: 50%;
  bottom: 57%;

  width: 30px;
  height: 100px;

  border-left: 2px solid rgba(150, 125, 119, .25);
  border-radius: 50%;
  filter: blur(7px);

  opacity: 0;
  pointer-events: none;

  animation: ambient-smoke 6s ease-in-out infinite;
}

.smoke-two {
  margin-left: 13px;
  animation-delay: 2s;
}

.smoke-three {
  margin-left: -16px;
  animation-delay: 4s;
}

@keyframes ambient-smoke {
  0% {
    opacity: 0;
    transform: translateY(20px) scale(.7) rotate(-10deg);
  }
  30% { opacity: .38; }
  100% {
    opacity: 0;
    transform: translateY(-90px) scale(1.5) rotate(14deg);
  }
}

.censer-smoke-path {
  fill: none;
  /* Color grisáceo cálido, mucho más visible sobre el fondo rosa */
  stroke: rgba(120, 110, 100, 0.55); 
  stroke-width: 4.5;
  stroke-linecap: round;
  /* Un blur un poco más amplio para que parezca gas */
  filter: blur(3px);
  stroke-dasharray: 180;
  stroke-dashoffset: 180;
  animation: censer-drift 6s ease-in-out infinite;
}

/* Hacemos que el segundo hilo de humo sea un poco más tenue para dar profundidad */
.smoke-path-two {
  stroke: rgba(120, 110, 100, 0.35);
  animation-delay: 2.8s;
}

@keyframes censer-drift {
  0% { stroke-dashoffset: 180; opacity: 0; }
  35% { opacity: .6; }
  100% { stroke-dashoffset: 0; opacity: 0; }
}

.censer-ember {
  transform-origin: center;
  animation: ember-pulse 3s ease-in-out infinite;
}

@keyframes ember-pulse {
  0%, 100% { opacity: .65; }
  50% { opacity: 1; }
}

/* Estado de activación del quemador */

.incense-gateway.is-activating .incense-gateway__art {
  filter:
    brightness(1.55)
    drop-shadow(0 0 45px rgba(255, 194, 113, .9))
    drop-shadow(0 20px 25px rgba(74, 47, 58, .2));
  transform: scale(1.12);
}

.incense-gateway.is-activating .incense-gateway__aura {
  opacity: 1;
  transform: scale(1.5);
}

.incense-gateway.is-activating .incense-gateway__ambient-light {
  opacity: 1;
  transform: scale(1.4);
}

/* =========================================================
   TRANSICIÓN CEREMONIAL (VELO VERDE + NUBES + MANDALA)
========================================================= */

.incense-transition {
  position: fixed;
  z-index: 100000;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  visibility: hidden;
  isolation: isolate;
}

.incense-transition.is-activating {
  visibility: visible;
}

.incense-transition__veil {
  position: absolute;
  inset: 0;

  background:
    radial-gradient(
      ellipse at 50% 50%,
      rgba(164, 132, 76, .22),
      transparent 65%
    ),
    radial-gradient(
      ellipse at 20% 80%,
      rgba(95, 112, 82, .18),
      transparent 55%
    ),
    repeating-linear-gradient(
      135deg,
      rgba(202, 183, 139, .02) 0 1px,
      transparent 1px 8px
    ),
    linear-gradient(
      135deg,
      #1a2419 0%,
      #253229 50%,
      #141d17 100%
    );

  opacity: 0;
  transform: scale(1.12);
  transition:
    opacity 4s ease,
    transform 5s cubic-bezier(.4, 0, .2, 1);
}


.incense-transition.is-activating .incense-transition__veil {
  opacity: 1;
  transform: scale(1);
}

.incense-transition__cloud {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  pointer-events: none;

  background: radial-gradient(
    circle,
    rgba(190, 196, 164, .35) 0%,
    rgba(160, 175, 140, .18) 40%,
    transparent 72%
  );

  opacity: 0;
  transform: scale(0.6);
  transition:
    opacity 3.5s ease,
    transform 7s cubic-bezier(.2, .7, .2, 1);
}

.cloud-1 {
  width: 46vmax;
  height: 46vmax;
  left: -12%;
  top: -14%;
  transition-delay: .4s;
}

.cloud-2 {
  width: 38vmax;
  height: 38vmax;
  right: -14%;
  top: 6%;
  transition-delay: .9s;
}

.cloud-3 {
  width: 34vmax;
  height: 34vmax;
  left: 18%;
  bottom: -18%;
  transition-delay: 1.4s;
}

.cloud-4 {
  width: 26vmax;
  height: 26vmax;
  right: 12%;
  bottom: 2%;
  transition-delay: 1.9s;
}

.cloud-5 {
  width: 22vmax;
  height: 22vmax;
  left: 42%;
  top: 38%;
  transition-delay: 2.4s;
}

.incense-transition.is-activating .incense-transition__cloud {
  opacity: .85;
  transform: scale(1.15);
}

.incense-transition__mandala {
  position: absolute;
  top: 50%;
  left: 50%;

  width: min(72vmin, 620px);
  aspect-ratio: 1;
  border-radius: 50%;

  opacity: 0;
  transform: translate(-50%, -50%) scale(0.55) rotate(0deg);

  background:
    repeating-radial-gradient(
      circle,
      transparent 0 18px,
      rgba(202, 180, 132, .25) 19px 20px,
      transparent 21px 37px
    ),
    repeating-conic-gradient(
      from 0deg,
      transparent 0deg 14deg,
      rgba(202, 180, 132, .2) 14.3deg 14.8deg,
      transparent 15deg 30deg
    );

  -webkit-mask-image: radial-gradient(
    circle,
    transparent 0%,
    black 12%,
    black 78%,
    transparent 100%
  );
  mask-image: radial-gradient(
    circle,
    transparent 0%,
    black 12%,
    black 78%,
    transparent 100%
  );

  transition:
    opacity 3s ease 1s,
    transform 6s cubic-bezier(.2, .7, .2, 1) 1s;
}

.incense-transition__mandala > span {
  position: absolute;
  top: 50%;
  left: 50%;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  border: 1px solid rgba(202, 180, 132, .35);
}

.incense-transition__mandala > span:nth-child(1) {
  width: 62%;
  height: 62%;
}

.incense-transition__mandala > span:nth-child(2) {
  width: 42%;
  height: 42%;
  border-width: 2px;
}

.incense-transition__mandala > span:nth-child(3) {
  width: 18%;
  height: 18%;
  border: 0;
  background: radial-gradient(
    circle,
    rgba(255, 220, 160, .55) 0%,
    rgba(255, 200, 130, .2) 45%,
    transparent 72%
  );
}

.incense-transition.is-activating .incense-transition__mandala {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1) rotate(180deg);
}

/* =========================================================
   OVERLAY GENÉRICO
========================================================= */

.overlay {
  position: fixed;
  z-index: 80;
  inset: 0;

  background: rgba(55, 30, 41, 0.45);

  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0s 0.3s;
}

.overlay.is-open {
  opacity: 1;
  visibility: visible;
  transition-delay: 0s;
}

/* =========================================================
   CARRITO
========================================================= */

.cart-drawer {
  position: fixed;
  z-index: 91;
  top: 0;
  right: 0;
  bottom: 0;

  width: min(440px, 100%);
  max-width: 100%;

  display: flex;
  flex-direction: column;

  background: var(--pink-bg);

  transform: translateX(102%);
  visibility: hidden;
  transition:
    transform 0.5s cubic-bezier(0.76, 0, 0.24, 1),
    visibility 0s 0.5s;

  will-change: transform;
}

.cart-drawer.is-open {
  transform: translateX(0);
  visibility: visible;
  transition-delay: 0s;
}

.cart-header {
  min-height: 76px;
  padding: 20px 24px;

  display: flex;
  align-items: center;
  justify-content: space-between;

  border-bottom: 1px solid var(--line);
}

.cart-header h2 {
  margin: 0;

  color: var(--ink);
  font-family: var(--font-serif);
  font-size: 26px;
  font-weight: 400;
}

.cart-close {
  width: 38px;
  height: 38px;

  border: 1.5px solid var(--ink);
  border-radius: 50%;
  background: #fff;
  color: var(--ink);
  font-size: 22px;
  line-height: 1;

  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease;
}

.cart-close:hover {
  background: var(--ink);
  color: #fff;
}

.cart-body {
  flex: 1;
  min-height: 0;

  padding: 24px;
  overflow-y: auto;
}

.cart-empty {
  padding: 70px 10px;

  color: var(--ink-soft);
  font-family: var(--font-serif);
  font-size: 19px;
  font-style: italic;
  text-align: center;
}

.cart-list {
  display: flex;
  flex-direction: column;
  gap: 22px;

  padding: 0;
  margin: 0;
  list-style: none;
}

.cart-item {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
}

.cart-item-image {
  position: relative;
  width: 76px;
  height: 86px;

  overflow: hidden;
  border-radius: 6px;
  background: var(--pink-surface);
}

.cart-item-name {
  margin: 0;
  color: var(--ink);
  font-size: 12px;
  font-weight: 600;
}

.cart-item-price {
  margin: 4px 0 0;
  color: var(--pink-deep);
  font-size: 11px;
  font-weight: 500;
}

.cart-item .stepper {
  margin-top: 10px;
}

.remove-item {
  padding: 6px 4px;
  border: 0;
  background: transparent;
  color: var(--ink);
  font-size: 11px;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
  transition: color 0.2s ease;
}

.remove-item:hover {
  color: var(--pink-deep);
}

.cart-footer {
  padding: 22px 24px;
  border-top: 1px solid var(--line);
}

.cart-subtotal {
  display: flex;
  align-items: center;
  justify-content: space-between;

  margin-bottom: 6px;

  color: var(--ink-soft);
  font-size: 12px;
}

.cart-subtotal strong {
  color: var(--ink);
  font-size: 16px;
  font-weight: 600;
}

.cart-note {
  margin: 0 0 16px;
  color: var(--ink-soft);
  font-size: 11px;
}

/* =========================================================
   CHECKOUT
========================================================= */

.checkout {
  position: fixed;
  z-index: 101;
  top: 50%;
  left: 50%;

  width: min(980px, 94vw);
  max-height: 92vh;
  max-height: 92svh;

  display: flex;

  border-radius: 22px;
  background: var(--pink-bg);
  box-shadow: 0 30px 80px rgba(74, 47, 58, 0.4);
  overflow: hidden;

  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, -46%) scale(0.97);
  transition:
    opacity 0.35s ease,
    transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    visibility 0s 0.45s;
}

.checkout.is-open {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, -50%) scale(1);
  transition-delay: 0s;
}

.checkout-grid {
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
}

.checkout-form,
.checkout-summary {
  min-width: 0;
  max-height: 92vh;
  max-height: 92svh;
  padding: 34px;
  overflow-y: auto;
}

.checkout-summary {
  display: flex;
  flex-direction: column;
  background: var(--pink-surface);
}

.checkout h2 {
  margin: 0 0 6px;
  color: var(--ink);
  font-family: var(--font-serif);
  font-size: 32px;
  font-weight: 400;
}

.checkout h3 {
  margin: 0 0 14px;
  color: var(--ink);
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 400;
}

.checkout-lead {
  margin: 0 0 22px;
  color: var(--ink-soft);
  font-size: 12px;
  line-height: 1.7;
}

.checkout-close {
  position: absolute;
  z-index: 3;
  top: 20px;
  right: 22px;

  width: 42px;
  height: 42px;

  display: grid;
  place-items: center;

  border: 1.5px solid var(--ink);
  border-radius: 50%;

  background: #fff;
  color: var(--ink);
  font-size: 22px;
  line-height: 1;

  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.checkout-close:hover {
  background: var(--ink);
  color: #fff;
  transform: rotate(90deg);
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 14px;
}

.field label {
  color: var(--ink);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.05em;
}

.field label em {
  color: var(--ink-soft);
  font-style: normal;
  font-weight: 400;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 12px 14px;

  border: 1.5px solid var(--line);
  border-radius: 12px;
  background: #fff8fa;

  color: var(--ink);
  font-size: 14px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.field textarea {
  min-height: 70px;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--pink-deep);
  box-shadow: 0 0 0 3px rgba(185, 77, 114, 0.18);
}

.field.has-error input,
.field.has-error select {
  border-color: #c0392b;
}

.field-error {
  margin: 0;
  color: #b0332a;
  font-size: 11px;
}

.geo-box {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;

  margin-bottom: 8px;
  padding: 16px;

  border: 1.5px dashed var(--pink-mid);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.45);
}

.geo-box strong {
  font-size: 12px;
}

.geo-box em {
  color: var(--ink-soft);
  font-size: 11px;
  font-style: normal;
}

.geo-box p {
  margin: 4px 0 0;
  color: var(--ink-soft);
  font-size: 11px;
  line-height: 1.6;
}

.geo-ok {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px 14px;
  font-size: 12px;
  color: #2f6b45;
  font-weight: 500;
}

.geo-ok a {
  color: var(--ink);
  text-underline-offset: 3px;
}

.geo-ok .btn-link {
  padding: 0;
}

.summary-list {
  display: flex;
  flex-direction: column;
  gap: 12px;

  margin: 0 0 18px;
  padding: 0;
  list-style: none;
}

.summary-item {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 12px;
  line-height: 1.5;
}

.summary-item span:last-child {
  white-space: nowrap;
  font-weight: 500;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-top: 1px solid var(--pink-mid);
  font-size: 12px;
  color: var(--ink-soft);
}

.summary-row span:last-child {
  color: var(--ink);
  font-weight: 500;
}

.summary-total {
  color: var(--ink);
  font-size: 15px;
  font-weight: 600;
}

.summary-total span:last-child {
  font-size: 17px;
}

.checkout-summary .btn {
  margin-top: 16px;
  padding: 16px 20px;
}

.checkout-fineprint {
  margin: 12px 0 0;
  color: var(--ink-soft);
  font-size: 10.5px;
  line-height: 1.6;
}

.checkout-fineprint strong {
  display: block;
  color: var(--ink);
  font-size: 11px;
  margin-bottom: 2px;
}

.checkout-fineprint p {
  margin: 0;
}

/* =========================================================
   CHISPAS / FUEGO AL AÑADIR
========================================================= */

.spark-layer {
  position: fixed;
  z-index: 140;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.spark-burst {
  position: absolute;
  width: 0;
  height: 0;
}

.spark {
  position: absolute;
  left: 0;
  top: 0;

  width: var(--size);
  height: var(--size);
  margin: calc(var(--size) / -2) 0 0 calc(var(--size) / -2);

  border-radius: 50%;
  opacity: 0;

  animation: spark-fly var(--dur) var(--delay) cubic-bezier(0.12, 0.7, 0.3, 1) forwards;
}

.spark--0 { background: #ffe08a; box-shadow: 0 0 8px 2px rgba(255, 210, 120, 0.9); }
.spark--1 { background: #ff9d4d; box-shadow: 0 0 8px 2px rgba(255, 140, 60, 0.85); }
.spark--2 { background: #ff7fa3; box-shadow: 0 0 8px 2px rgba(255, 110, 150, 0.85); }

@keyframes spark-fly {
  0% { opacity: 0; transform: translate(0, 0) scale(0.4); }
  12% { opacity: 1; }
  100% { opacity: 0; transform: translate(var(--dx), var(--dy)) scale(0.1); }
}

.burst-flame {
  position: absolute;
  left: -15px;
  top: -42px;
  width: 30px;
  height: 44px;

  transform-origin: 50% 100%;
  filter: drop-shadow(0 0 8px rgba(255, 160, 80, 0.9));
  animation: burst-flame 0.95s ease-out forwards;
}

.burst-flame svg {
  width: 100%;
  height: 100%;
  display: block;
}

@keyframes burst-flame {
  0% { opacity: 0; transform: scale(0.2); }
  25% { opacity: 1; transform: scale(1.2); }
  60% { opacity: 1; transform: translateY(-14px) scale(1); }
  100% { opacity: 0; transform: translateY(-46px) scale(0.3); }
}

/* =========================================================
   TOAST
========================================================= */

.toast-container {
  position: fixed;
  z-index: 130;
  bottom: 24px;
  left: 50%;

  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;

  width: max-content;
  max-width: calc(100vw - 32px);

  transform: translateX(-50%);
  pointer-events: none;
}

.toast {
  padding: 13px 22px;
  border-radius: 999px;

  background: var(--ink);
  color: #fff;

  font-size: 12px;
  text-align: center;

  box-shadow: 0 8px 30px rgba(74, 47, 58, 0.25);

  animation: toast-in 0.35s ease both;
}

@keyframes toast-in {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

/* =========================================================
   ELEMENTOS NAVIDEÑOS — ORNAMENTOS Y MUÉRDAGO
   (los que caen con il-holiday-layer usan estilos inline)
========================================================= */

.il-ornament {
  filter: drop-shadow(1px 3px 3px rgba(40, 20, 15, .18));
}

.il-ornament-ball {
  fill: #a8423f;
  stroke: #85302e;
  stroke-width: 1;
}

.il-ornament-highlight {
  fill: rgba(255, 255, 255, .45);
}

.il-ornament-cap {
  fill: #c4a66b;
  stroke: #947544;
  stroke-width: .7;
}

.il-mistletoe-leaf {
  fill: #829477;
  stroke: #5e7455;
  stroke-width: 0.8;
}

.il-mistletoe-vein {
  fill: none;
  stroke: #c0c9a9;
  stroke-width: 0.8;
  opacity: 0.8;
}

.il-mistletoe-berry {
  fill: #f5eee0;
  stroke: #d7cbb5;
  stroke-width: 0.7;
}

/* =========================================================
   MUÑECO DE NIEVE
========================================================= */

.christmas-snowman {
  position: fixed;
  right: 0;
  bottom: 4vh;

  width: 220px;
  z-index: 8;

  pointer-events: none;
  opacity: 0;
  transform: translateX(100%);

  transition:
    transform 1.2s cubic-bezier(.22, 1, .36, 1),
    opacity 0.8s ease;
}

.christmas-snowman img {
  display: block;
  width: 100%;
  height: auto;
}

.christmas-snowman.is-visible {
  opacity: 1;
  transform: translateX(15%);
  animation: snowman-peek 3s ease-in-out 1.2s infinite;
}

@keyframes snowman-peek {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -8px; }
}

/* =========================================================
   DETALLE DE PRODUCTO — PANTALLA COMPLETA
========================================================= */

.detail-fullscreen {
  position: fixed;
  inset: 0;
  z-index: 120;
  width: 100%;
  height: 100%;
  height: 100dvh;
  overflow-y: auto;
  overflow-x: hidden;
  background: var(--detail-bg);
  color: var(--detail-text);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: scale(1.025);
  transition:
    opacity .75s ease,
    visibility .75s ease,
    transform 1s cubic-bezier(.2, .7, .2, 1),
    background .7s ease;
  isolation: isolate;
}

.detail-fullscreen.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: scale(1);
}

.detail-fullscreen::before {
  content: "";
  position: fixed;
  z-index: 10;
  inset: -20%;
  pointer-events: none;
  background:
    radial-gradient(
      ellipse at 50% 50%,
      rgba(255, 255, 255, .98) 0%,
      rgba(255, 255, 255, .85) 22%,
      rgba(255, 255, 255, .35) 52%,
      transparent 75%
    );
  opacity: 0;
  transform: scale(.45);
}

.detail-fullscreen.is-open::before {
  animation: detailFogIn 1.05s cubic-bezier(.2, .7, .2, 1) both;
}

@keyframes detailFogIn {
  0% { opacity: 1; transform: scale(.45); }
  45% { opacity: .9; transform: scale(1.1); }
  100% { opacity: 0; transform: scale(1.8); }
}

.detail-atmosphere {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(
      ellipse at 15% 20%,
      rgba(255, 255, 255, .48),
      transparent 45%
    ),
    radial-gradient(
      ellipse at 90% 80%,
      rgba(255, 255, 255, .24),
      transparent 45%
    );
}

.detail-back {
  position: fixed;
  z-index: 20;
  top: 30px;
  left: 34px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 11px 15px;
  border: 1px solid rgba(50, 40, 35, .14);
  border-radius: 40px;
  background: rgba(255, 255, 255, .35);
  color: var(--detail-text);
  font-family: inherit;
  font-size: 11px;
  letter-spacing: .06em;
  cursor: pointer;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition:
    background .3s ease,
    transform .3s ease,
    border-color .3s ease;
}

.detail-back:hover {
  background: rgba(255, 255, 255, .75);
  border-color: rgba(50, 40, 35, .25);
  transform: translateX(-3px);
}

.detail-back span:first-child {
  font-size: 17px;
}

.detail-fullscreen-inner {
  position: relative;
  z-index: 1;
  width: min(1320px, 100%);
  min-height: 100%;
  margin: 0 auto;
  padding: 100px 7% 65px;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(350px, .95fr);
  align-items: center;
  gap: clamp(45px, 8vw, 120px);
}

.detail-fullscreen-image {
  position: relative;
  width: 100%;
  height: min(70vh, 720px);
  min-height: 430px;
  overflow: hidden;
  background: var(--detail-surface);
  border-radius: 3px;
  box-shadow: 0 30px 90px rgba(40, 30, 25, .09);
  opacity: 0;
  transform: translateY(25px);
  transition:
    opacity .8s ease .2s,
    transform 1s cubic-bezier(.2, .7, .2, 1) .2s;
}

.detail-fullscreen.is-open .detail-fullscreen-image {
  opacity: 1;
  transform: translateY(0);
}

.detail-fullscreen-image .smooth,
.detail-fullscreen-image img {
  width: 100%;
  height: 100%;
}

.detail-fullscreen-image img {
  object-fit: cover;
}

.detail-image-caption {
  position: absolute;
  left: 24px;
  bottom: 22px;
  color: white;
  font-size: 9px;
  letter-spacing: .17em;
  text-shadow: 0 1px 8px rgba(0, 0, 0, .35);
}

.detail-fullscreen-content {
  width: 100%;
  max-width: 490px;
  padding: 20px 0;
  opacity: 0;
  transform: translateY(25px);
  transition:
    opacity .8s ease .35s,
    transform 1s cubic-bezier(.2, .7, .2, 1) .35s;
}

.detail-fullscreen.is-open .detail-fullscreen-content {
  opacity: 1;
  transform: translateY(0);
}

.detail-fullscreen .detail-eyebrow {
  color: var(--detail-accent);
  font-size: 10px;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.detail-fullscreen .detail-name {
  margin: 15px 0 18px;
  color: var(--detail-text);
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(48px, 6vw, 78px);
  font-weight: 400;
  line-height: .98;
}

.detail-fullscreen .detail-description {
  max-width: 420px;
  color: var(--detail-muted);
  font-size: 13px;
  line-height: 1.9;
}

/* Specs */

.detail-fullscreen-specs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px 30px;
  margin: 38px 0;
  padding: 27px 0;
  border-top: 1px solid rgba(50, 40, 35, .14);
  border-bottom: 1px solid rgba(50, 40, 35, .14);
}

.detail-fullscreen .detail-spec {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.detail-fullscreen .detail-spec span {
  color: var(--detail-muted);
  font-size: 9px;
  letter-spacing: .12em;
}

.detail-fullscreen .detail-spec strong {
  color: var(--detail-text);
  font-size: 12px;
  font-weight: 500;
}

.detail-fullscreen .detail-spec--promo {
  grid-column: 1 / -1;

  display: flex;
  flex-direction: column;
  gap: 6px;

  padding: 14px 0 0;
  border-top: 1px solid var(--detail-accent);
}

.detail-fullscreen .detail-spec--promo span {
  color: var(--detail-accent);
  font-size: 9px;
  letter-spacing: .12em;
}

.detail-fullscreen .detail-spec--promo strong {
  color: var(--detail-accent);
  font-size: 13px;
  font-weight: 500;
}

/* Compra */

.detail-fullscreen-buy {
  margin-top: 15px;
}

.detail-fullscreen .detail-price-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.detail-fullscreen .detail-price {
  color: var(--detail-text);
  font-family: "Cormorant Garamond", serif;
  font-size: 35px;
}

.detail-fullscreen .detail-unit {
  color: var(--detail-muted);
  font-size: 11px;
}

.detail-fullscreen .detail-buy-actions {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-top: 15px;
}

.detail-fullscreen .detail-add-button {
  flex: 1;
  background: var(--detail-accent);
  border-color: var(--detail-accent);
  color: white;
}

.detail-fullscreen .detail-add-button:hover {
  filter: brightness(.92);
}

/* Navegación entre productos */

.detail-fullscreen .detail-navigation {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 35px;
  padding-top: 20px;
  border-top: 1px solid rgba(50, 40, 35, .12);
}

.detail-fullscreen .detail-navigation button {
  border: 0;
  padding: 8px 0;
  background: transparent;
  color: var(--detail-muted);
  font-family: inherit;
  font-size: 11px;
  cursor: pointer;
  transition: color .3s ease;
}

.detail-fullscreen .detail-navigation button:hover {
  color: var(--detail-accent);
}

/* Galería */

.detail-gallery-arrow {
  position: absolute;
  z-index: 5;
  top: 50%;
  transform: translateY(-50%);

  width: 44px;
  height: 44px;

  display: flex;
  align-items: center;
  justify-content: center;

  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 50%;

  background: rgba(255, 255, 255, 0.55);
  color: #453326;

  font-size: 22px;
  font-family: inherit;

  cursor: pointer;

  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);

  transition:
    background 0.3s ease,
    transform 0.3s ease,
    opacity 0.3s ease;
}

.detail-gallery-prev { left: 22px; }
.detail-gallery-next { right: 22px; }

.detail-gallery-arrow:hover {
  background: rgba(255, 255, 255, 0.9);
}

.detail-gallery-prev:hover {
  transform: translateY(-50%) scale(1.08);
}

.detail-gallery-next:hover {
  transform: translateY(-50%) scale(1.08);
}

.detail-gallery-indicators {
  position: absolute;
  z-index: 5;

  bottom: 27px;
  left: 50%;
  transform: translateX(-50%);

  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.detail-gallery-dot {
  width: 7px;
  height: 7px;

  padding: 0;
  border: none;
  border-radius: 20px;

  background: rgba(255, 255, 255, 0.55);

  cursor: pointer;

  transition:
    width 0.35s ease,
    background 0.35s ease,
    transform 0.35s ease;
}

.detail-gallery-dot.is-active {
  width: 23px;
  background: #fff;
}

.detail-gallery-counter {
  position: absolute;
  z-index: 5;

  right: 24px;
  bottom: 25px;

  color: #fff;

  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.14em;

  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.3);
}

/* =========================================================
   RESPONSIVE — TABLET
========================================================= */

@media (max-width: 900px) {
  .collection-intro { flex-basis: 42vw; }
  .product-item { flex-basis: 42vw; }

  .detail-fullscreen-inner {
    gap: 35px;
    padding-left: 5%;
    padding-right: 5%;
  }

  .detail-fullscreen-image {
    height: 60vh;
    min-height: 380px;
  }

  .detail-fullscreen .detail-name {
    font-size: 58px;
  }

  .checkout-form,
  .checkout-summary { padding: 26px; }
}

/* =========================================================
   RESPONSIVE — MÓVIL
========================================================= */

@media (max-width: 650px) {
  :root { --header-height: 62px; }

  .navbar { padding: 0 19px; }

  .nav-logo {
    font-size: 15px;
    letter-spacing: 0.22em;
  }

  .nav-actions { gap: 15px; }

  .nav-instagram span { display: none; }

  .nav-cart {
    padding: 8px 14px;
    font-size: 11px;
  }

  .hero-panel {
    flex-basis: 100vw;
    width: 100vw;
    padding: 22px;
  }

  .hero-brand { font-size: clamp(66px, 17vw, 112px); }

  .hero-subtitle {
    max-width: 260px;
    font-size: 8px;
    letter-spacing: 0.24em;
    line-height: 1.8;
  }

  .hero-footer {
    right: 20px;
    bottom: 22px;
    left: 20px;

    align-items: flex-end;
    gap: 14px;
  }

  .hero-caption {
    max-width: 145px;
    font-size: 8px;
    letter-spacing: 0.13em;
  }

  .hero-cta {
    flex-shrink: 0;
    padding: 13px 16px;
    gap: 8px;
    font-size: 11px;
  }

  .collection-intro {
    flex-basis: 78vw;
    padding: 28px;
  }

  .collection-title { font-size: clamp(48px, 12vw, 68px); }

  .collection-description {
    max-width: 270px;
    font-size: 11px;
  }

  .product-item {
    flex-basis: 78vw;
    padding: 18px;
  }

  .product-image {
    aspect-ratio: 0.88;
    max-height: calc(100vh - var(--header-height) - 250px);
    max-height: calc(100svh - var(--header-height) - 250px);
  }

  .product-name { font-size: 23px; }

  .product-overlay {
    opacity: 1;
    background: transparent;
    padding: 12px;
  }

  .product-open {
    width: 36px;
    height: 36px;
    transform: none;
  }

  .end-panel {
    flex-basis: 78vw;
    padding: 28px;
  }

  .end-panel.final-message {
    flex-basis: 88vw;
    width: 88vw;
    padding: 24px;
  }

  .final-message__title { font-size: clamp(46px, 11vw, 60px); }

  .final-message__description {
    max-width: 280px;
    margin: 16px 0 18px;
    font-size: 10px;
  }

  .incense-gateway {
    flex-basis: 88vw;
    width: 88vw;
    padding: 22px 18px;
  }

  .incense-gateway__object-area {
    width: min(100%, 310px);
  }

  .incense-gateway__censer {
    width: min(100%, 280px);
  }

  .cart-header { padding: 18px 20px; }
  .cart-body { padding: 20px; }
  .cart-footer { padding: 18px 20px; }

  .checkout {
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    height: 100svh;
    max-height: none;
    border-radius: 0;
    transform: translateY(4%);
  }

  .checkout.is-open { transform: none; }

  .checkout-grid {
    display: block;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .checkout-form,
  .checkout-summary {
    max-height: none;
    overflow: visible;
    padding: 24px 20px;
  }

  .checkout-close {
    top: 12px;
    right: 12px;
  }

  .checkout h2 {
    font-size: 28px;
    padding-right: 44px;
  }

  .field-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .field input,
  .field select,
  .field textarea { font-size: 16px; }

  /* Detalle */

  .detail-back {
    top: 16px;
    left: 16px;
    padding: 9px 12px;
    font-size: 10px;
  }

  .detail-fullscreen-inner {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 30px;
    padding: 75px 20px 45px;
  }

  .detail-fullscreen-image {
    width: 100%;
    height: 43vh;
    min-height: 280px;
    max-height: 440px;
  }

  .detail-fullscreen-content {
    max-width: none;
    padding: 0 2px;
  }

  .detail-fullscreen .detail-name { font-size: 53px; }

  .detail-fullscreen .detail-description { font-size: 12px; }

  .detail-fullscreen-specs {
    gap: 20px 14px;
    margin: 28px 0;
    padding: 22px 0;
  }

  .detail-fullscreen .detail-buy-actions { gap: 10px; }

  .detail-fullscreen .detail-add-button {
    padding-left: 13px;
    padding-right: 13px;
    font-size: 11px;
  }

  .detail-fullscreen .detail-navigation {
    margin-top: 25px;
  }

  .detail-gallery-arrow {
    width: 37px;
    height: 37px;
    font-size: 19px;
  }

  .detail-gallery-prev { left: 13px; }
  .detail-gallery-next { right: 13px; }

  .detail-gallery-indicators {
    bottom: 19px;
    gap: 7px;
  }

  .detail-gallery-dot {
    width: 6px;
    height: 6px;
  }

  .detail-gallery-dot.is-active { width: 19px; }

  .detail-gallery-counter {
    right: 15px;
    bottom: 17px;
    font-size: 9px;
  }

  .christmas-snowman {
    width: 180px;
    bottom: 3vh;
  }

  .christmas-snowman.is-visible {
    transform: translateX(15%) !important;
  }
}

@media (max-width: 390px) {
  .incense-gateway {
    padding: 22px 18px;
  }

  .incense-gateway__object-area {
    width: min(100%, 260px);
  }
}

/* =========================================================
   PANTALLAS BAJAS
========================================================= */

@media (max-height: 560px) and (min-width: 651px) {
  .hero-brand { font-size: clamp(70px, 12vw, 130px); }
  .hero-subtitle { margin-top: 18px; }

  .collection-intro {
    padding-top: 24px;
    padding-bottom: 24px;
  }

  .collection-description { margin-top: 14px; }
  .collection-count { margin-top: 20px; }

  .product-item {
    padding-top: 14px;
    padding-bottom: 14px;
  }

  .product-image {
    max-height: calc(100vh - var(--header-height) - 200px);
  }
}

/* =========================================================
   ACCESIBILIDAD — MOVIMIENTO REDUCIDO
========================================================= */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-delay: 0s !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .hero-flame,
  .hero-smoke {
    display: none;
  }

  .incense-gateway__art,
  .incense-gateway__aura,
  .incense-gateway__ambient-light,
  .incense-gateway__smoke,
  .censer-ember,
  .censer-smoke-path {
    animation: none !important;
  }

  .incense-transition__veil,
  .incense-transition__cloud,
  .incense-transition__mandala {
    transition-duration: 0.01ms !important;
  }

  .detail-fullscreen,
  .detail-fullscreen *,
  .detail-fullscreen::before {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }

  .christmas-snowman {
    display: none;
    animation: none;
    transition: none;
  }
}

/* =========================================================
   TRANSICIÓN ENTRE PÁGINAS — VELO UNIFICADO
========================================================= */

body::before {
  content: "";
  position: fixed;
  z-index: 9999;
  inset: 0;
  pointer-events: none;
  background: #25271d;
  opacity: 0;
  transition: opacity 700ms cubic-bezier(.4, 0, .2, 1);
}

body.is-leaving::before {
  opacity: 1;
}

body.is-arriving::before {
  opacity: 1;
  transition: none;
}

body.is-arriving.is-revealed::before {
  opacity: 0;
  transition: opacity 1s cubic-bezier(.4, 0, .2, 1);
}

/* Cuando se llega desde Esencia, saltar toda la intro */
body.skip-intro .hero-panel,
body.skip-intro .hero-i,
body.skip-intro .hero-i::before,
body.skip-intro .hero-flame-inner,
body.skip-intro .hero-word-wrap,
body.skip-intro .hero-subtitle,
body.skip-intro .hero-footer,
body.skip-intro .navbar {
  animation-duration: 0.001ms !important;
  animation-delay: 0s !important;
}

body.skip-intro .hero-smoke {
  display: none;
}

/* =========================================================
   TRANSICIÓN DEL INCIENSO (PÁGINA 1)
========================================================= */

.incense-transition {
  position: fixed;
  z-index: 100000;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  visibility: hidden;
  isolation: isolate;
}

.incense-transition.is-activating {
  visibility: visible;
}

/* El fondo sólido que tapa la página */
.incense-transition__veil {
  position: absolute;
  inset: 0;
  background: #0a1410; /* Mismo color exacto que la Página 2 */
  opacity: 0;
  transform: scale(1.12);
  transition: opacity 4s ease, transform 5s cubic-bezier(.4, 0, .2, 1);
}

.incense-transition.is-activating .incense-transition__veil {
  opacity: 1;
  transform: scale(1);
}

/* Las nubes que aparecen */
.incense-transition__cloud {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  pointer-events: none;
  background: radial-gradient(circle, rgba(190, 196, 164, .35) 0%, rgba(160, 175, 140, .18) 40%, transparent 72%);
  opacity: 0;
  transform: scale(0.6);
  transition: opacity 3.5s ease, transform 7s cubic-bezier(.2, .7, .2, 1);
}

.cloud-1 { width: 46vmax; height: 46vmax; left: -12%; top: -14%; transition-delay: .4s; }
.cloud-2 { width: 38vmax; height: 38vmax; right: -14%; top: 6%; transition-delay: .9s; }
.cloud-3 { width: 34vmax; height: 34vmax; left: 18%; bottom: -18%; transition-delay: 1.4s; }
.cloud-4 { width: 26vmax; height: 26vmax; right: 12%; bottom: 2%; transition-delay: 1.9s; }
.cloud-5 { width: 22vmax; height: 22vmax; left: 42%; top: 38%; transition-delay: 2.4s; }

.incense-transition.is-activating .incense-transition__cloud {
  opacity: .85;
  transform: scale(1.15);
}

/* El mandala central (la animación suave de 6 segundos) */
.incense-transition__mandala {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(72vmin, 620px);
  aspect-ratio: 1;
  border-radius: 50%;
  opacity: 0;
  
  /* Arranca en 0deg, escala 0.55 y transparente */
  transform: translate(-50%, -50%) scale(0.55) rotate(0deg);
  
  background:
    repeating-radial-gradient(circle, transparent 0 18px, rgba(202, 180, 132, .25) 19px 20px, transparent 21px 37px),
    repeating-conic-gradient(from 0deg, transparent 0deg 14deg, rgba(202, 180, 132, .2) 14.3deg 14.8deg, transparent 15deg 30deg);
  -webkit-mask-image: radial-gradient(circle, transparent 0%, black 12%, black 78%, transparent 100%);
  mask-image: radial-gradient(circle, transparent 0%, black 12%, black 78%, transparent 100%);
  
  /* Gira durante 6s empezando al segundo 1 */
  transition: opacity 3s ease 1s, transform 6s cubic-bezier(.2, .7, .2, 1) 1s;
}

.incense-transition__mandala > span {
  position: absolute;
  top: 50%;
  left: 50%;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  border: 1px solid rgba(202, 180, 132, .35);
}

.incense-transition__mandala > span:nth-child(1) { width: 62%; height: 62%; }
.incense-transition__mandala > span:nth-child(2) { width: 42%; height: 42%; border-width: 2px; }
.incense-transition__mandala > span:nth-child(3) { width: 18%; height: 18%; border: 0; background: radial-gradient(circle, rgba(255, 220, 160, .55) 0%, rgba(255, 200, 130, .2) 45%, transparent 72%); }

/* Termina de girar a los 7s justo en 180deg, listo para empalmar con la Pág 2 */
.incense-transition.is-activating .incense-transition__mandala {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1) rotate(180deg);
}

/* A los 5.5s, las nubes se desvanecen y el velo se vuelve 100% sólido */
body.incense-fading-out .incense-transition__cloud {
  opacity: 0 !important;
  transition: opacity 1.5s ease !important;
}

body.incense-fading-out .incense-transition__veil {
  background: #0a1410 !important;
  transition: background 1.5s ease !important;
}