/* ==========================================================================
   LE COMPTOIR DES ESSENCES — SALA: EL SANTUARIO (HOJA EXCLUSIVA MOBILE)
   Leyes Técnicas Inviolables:
   1. Prefijo -webkit-backdrop-filter antes de backdrop-filter.
   2. Cartelas de ancho fijo (95px) con centrado axial al 50%.
   3. Contraste tipográfico macizo (#000000, font-weight: 800).
   4. Fondo vertical nativo desacoplado (1080x2340).
   Media Target: (max-width: 768px)
   ========================================================================== */

/* ========================================================
   ANIMACIONES CLONADAS DIRECTAS DE PC
   ======================================================== */
@keyframes logoBreatheCorner {
  0%, 100% {
    transform: scale(1);
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.4));
  }
  50% {
    transform: scale(1.05);
    filter: drop-shadow(0 4px 14px rgba(212, 175, 55, 0.85)) drop-shadow(0 0 8px rgba(255, 235, 170, 0.6));
  }
}

@keyframes luxuryAuraPulse {
  0%, 100% {
    color: #F4F0EC;
    text-shadow: 
      0 0 8px rgba(212, 175, 55, 0.6),
      0 0 16px rgba(212, 175, 55, 0.35),
      0 2px 4px rgba(0, 0, 0, 0.85);
  }
  50% {
    color: #D4AF37;
    text-shadow: 
      0 0 14px rgba(212, 175, 55, 1),
      0 0 28px rgba(255, 215, 0, 0.75),
      0 2px 6px rgba(0, 0, 0, 0.95);
  }
}

@keyframes lineAuraPulse {
  0%, 100% {
    width: 55%;
    box-shadow: 0 0 6px rgba(212, 175, 55, 0.4);
  }
  50% {
    width: 85%;
    box-shadow: 0 0 14px rgba(212, 175, 55, 1);
  }
}

@keyframes pcBottleAura {
  0%, 100% {
    filter: drop-shadow(0 0 12px rgba(212, 175, 55, 0.85)) drop-shadow(0 0 24px rgba(255, 215, 0, 0.5));
  }
  50% {
    filter: drop-shadow(0 0 20px rgba(212, 175, 55, 1)) drop-shadow(0 0 36px rgba(255, 225, 120, 0.85)) drop-shadow(0 0 10px #ffffff);
  }
}

/* ========================================================
   ESTRUCTURA GENERAL MÓVIL (GPU NATIVA)
   ======================================================== */
html, body {
  width: 100vw !important;
  height: 100vh !important;
  height: 100dvh !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
  background: #000 !important;
}

#santuario-canvas, .santuario-stage, .stage-container {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  height: 100dvh !important;
  background-color: #000 !important;
  background-image: none !important;
  overflow: hidden !important;
}

.santuario-stage::before,
#santuario-canvas::before {
  content: '';
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background-image: url('../assets/backgrounds/el-santuario-bg-mobile.jpg') !important;
  background-size: cover !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
  z-index: 0;
  pointer-events: none;
  animation: santuarioFadeIn 0.25s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

@keyframes santuarioFadeIn {
  from {
    opacity: 0.85;
    transform: scale(1.005);
  }
  to {
    opacity: 1;
    transform: scale(1.0);
  }
}

/* ========================================================
   FRASCOS (CALIBRADOS + ZOOM & AURA DE PC)
   ======================================================== */
/* Frasco Izquierdo: Base Track (Elevación a cota 68.2%) */
#spot-left {
  position: absolute !important;
  left: 14.5% !important;
  top: 68.2% !important;
  width: 102px !important;
  transform: translate(-50%, -50%) scale(1) !important;
  z-index: 25 !important;
  cursor: pointer !important;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

/* Frasco Derecho: Tierra del Fuego (Elevación a cota 68.2%) */
#spot-right {
  position: absolute !important;
  left: 85.5% !important;
  top: 68.2% !important;
  width: 102px !important;
  transform: translate(-50%, -50%) scale(1) !important;
  z-index: 25 !important;
  cursor: pointer !important;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

#spot-left img, #spot-right img, #spot-left .perfume-bottle, #spot-right .perfume-bottle {
  width: 100% !important;
  height: auto !important;
  display: block !important;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.5));
  transition: filter 0.35s ease !important;
}

#spot-left.spot-active, #spot-right.spot-active,
.spot-active#spot-left, .spot-active#spot-right {
  transform: translate(-50%, -50%) scale(1.12) !important;
  z-index: 35 !important;
}

#spot-left.spot-active img, #spot-right.spot-active img,
.spot-active#spot-left img, .spot-active#spot-right img,
#spot-left.spot-active .perfume-bottle, #spot-right.spot-active .perfume-bottle,
.spot-active#spot-left .perfume-bottle, .spot-active#spot-right .perfume-bottle {
  animation: pcBottleAura 3s ease-in-out infinite !important;
}

/* ========================================================
   CARTELAS TÁCTILES: EJE CENTRAL PERFECTO (ANCHO 95px)
   ======================================================== */
.spot-caption, .spot-info, .perfume-label {
  position: absolute !important;
  left: 50% !important;
  transform: translateX(-50%) translateY(4px) !important;
  width: 95px !important;
  max-width: 95px !important;
  text-align: center !important;
  opacity: 0 !important;
  visibility: hidden !important;
  transition: opacity 0.3s ease, transform 0.3s ease !important;
  pointer-events: none !important;
  z-index: 30 !important;
  display: block !important;
}

#spot-left .spot-caption, #spot-left .spot-info, #spot-left .perfume-label {
  top: 104% !important;
}

#spot-right .spot-caption, #spot-right .spot-info, #spot-right .perfume-label {
  top: 104% !important;
}

#spot-left.spot-active .spot-caption, #spot-left.spot-active .spot-info, #spot-left.spot-active .perfume-label,
#spot-right.spot-active .spot-caption, #spot-right.spot-active .spot-info, #spot-right.spot-active .perfume-label,
.spot-active#spot-left .spot-caption, .spot-active#spot-left .perfume-label,
.spot-active#spot-right .spot-caption, .spot-active#spot-right .perfume-label {
  opacity: 1 !important;
  visibility: visible !important;
  transform: translateX(-50%) translateY(0) !important;
  pointer-events: auto !important;
}

.spot-caption *, .perfume-label *,
#spot-left .spot-caption *, #spot-right .spot-caption *,
#spot-left .perfume-label *, #spot-right .perfume-label * {
  opacity: 1 !important;
  text-align: center !important;
  display: block !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

/* TÍTULO PERFUME: CINZEL 800 / BLANCO PURO / HALO ÁUREO DE CONTRASTE */
.fragrance-title, .perfume-title, .spot-title,
#spot-left .fragrance-title, #spot-right .fragrance-title,
#spot-left .perfume-title, #spot-right .perfume-title,
#spot-left h3, #spot-right h3, 
#spot-left strong, #spot-right strong,
.spot-caption .title, .spot-info .title {
  font-family: 'Cinzel', serif !important;
  font-size: 9.5px !important;
  font-weight: 800 !important;
  letter-spacing: 0.8px !important;
  text-transform: uppercase !important;
  color: #FFFFFF !important;
  -webkit-text-fill-color: #FFFFFF !important;
  line-height: 1.25 !important;
  display: block !important;
  margin: 0 auto 2px auto !important;
  text-align: center !important;
  white-space: normal !important;
  word-break: normal !important;
  overflow-wrap: normal !important;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.9), 0 0 10px rgba(212, 175, 55, 0.6) !important;
}

/* MARCA: MONTSERRAT REGULAR (600) / ORO DE LUJO / LEGIBILIDAD MÁXIMA */
.brand-name, .brand-title, .spot-brand,
#spot-left .brand-name, #spot-right .brand-name,
#spot-left .brand-title, #spot-right .brand-title,
#spot-left p, #spot-right p, 
#spot-left span.brand-name, #spot-right span.brand-name,
.spot-caption .brand, .spot-info .brand {
  font-family: 'Montserrat', sans-serif !important;
  font-size: 7.5px !important;
  font-weight: 600 !important;
  letter-spacing: 1.2px !important;
  text-transform: uppercase !important;
  color: #D4AF37 !important;
  -webkit-text-fill-color: #D4AF37 !important;
  display: block !important;
  line-height: 1.15 !important;
  margin: 0 auto !important;
  text-align: center !important;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.9) !important;
}

/* ========================================================
   LOGOTIPO MAESTRO (ESQUINA SUPERIOR DERECHA: 96PX)
   ======================================================== */
#spot-logo {
  position: absolute !important;
  top: 20px !important;
  right: 20px !important;
  left: auto !important;
  width: 96px !important;
  transform: none !important;
  transform-origin: top right !important;
  animation: logoBreatheCorner 3.2s ease-in-out infinite !important;
  z-index: 20 !important;
}

#spot-logo img, #spot-logo .gold-emblem {
  width: 100% !important;
  height: auto !important;
  display: block !important;
}

/* ========================================================
   BOTÓN EXPLORAR COLECCIONES (JUSTO DEBAJO DE LAS MANOS / BOTTOM 20%)
   ======================================================== */
#spot-nav, .nav-wrapper {
  position: absolute !important;
  bottom: 20% !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  width: auto !important;
  z-index: 35 !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
}

#btn-explore, .explore-btn, .nav-collections-btn, .collections-trigger, .btn-cincelado {
  position: relative !important;
  bottom: auto !important;
  left: auto !important;
  transform: none !important;
  width: auto !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
  padding: 4px 8px !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  animation: none !important;
}

#btn-explore .btn-line, .explore-btn .btn-line, #btn-explore .btn-cincelado-text, .btn-cincelado .btn-cincelado-text {
  font-family: 'Cinzel', serif !important;
  font-size: 14px !important;
  font-weight: 800 !important;
  letter-spacing: 3.5px !important;
  text-transform: uppercase !important;
  line-height: 1.25 !important;
  text-align: center !important;
  display: block !important;
  animation: luxuryAuraPulse 3s ease-in-out infinite !important;
  transition: all 0.35s ease !important;
}

.btn-cincelado-line {
  display: block !important;
  height: 1.5px !important;
  background: linear-gradient(90deg, transparent 0%, #D4AF37 50%, transparent 100%) !important;
  margin-top: 4px !important;
  animation: lineAuraPulse 3s ease-in-out infinite !important;
  transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1) !important;
}

/* ========================================================
   CAJA DESPLEGABLE CALIBRADA (NIVEL PECHO / ALTA LEGIBILIDAD)
   ======================================================== */
.modal-overlay {
  display: none !important;
}

.collections-modal, #collections-drawer, .collections-panel, .drawer-container, .boticario-floating-nav {
  position: absolute !important;
  top: auto !important;
  bottom: 130px !important;
  left: 50% !important;
  right: auto !important;
  transform: translateX(-50%) translateY(10px) !important;
  width: 195px !important;
  max-width: 195px !important;
  background: rgba(12, 12, 12, 0.70) !important;
  -webkit-backdrop-filter: blur(20px) !important;
  backdrop-filter: blur(20px) !important;
  border: 1px solid rgba(212, 175, 55, 0.6) !important;
  border-radius: 8px !important;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.75), inset 0 0 14px rgba(212, 175, 55, 0.3) !important;
  padding: 9px 8px !important;
  box-sizing: border-box !important;
  z-index: 45 !important;
  opacity: 0 !important;
  visibility: hidden !important;
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease !important;
  pointer-events: none !important;
}

.collections-modal.is-open, #collections-drawer.is-open, .collections-panel.active, .drawer-container.open, .boticario-floating-nav.is-open {
  opacity: 1 !important;
  visibility: visible !important;
  transform: translateX(-50%) translateY(0) !important;
  pointer-events: auto !important;
}

.collections-modal-header, .drawer-title, .boticario-nav-header {
  display: none !important;
}

.collection-item, .drawer-item, .boticario-nav-item {
  display: block !important;
  padding: 8px 10px !important;
  margin-bottom: 5px !important;
  border-radius: 5px !important;
  text-decoration: none !important;
  background: rgba(255, 255, 255, 0.14) !important;
  border: 1px solid rgba(212, 175, 55, 0.25) !important;
  transition: all 0.25s ease !important;
  text-align: left !important;
}

.collection-item:last-child, .drawer-item:last-child, .boticario-nav-item:last-child {
  margin-bottom: 0 !important;
}

.collection-item.active, .drawer-item.active, .boticario-nav-item.active, .collection-item[href*="el-santuario"], .boticario-nav-item[href*="el-santuario"] {
  background: rgba(22, 18, 14, 0.95) !important;
  border: 1.5px solid #d4af37 !important;
  box-shadow: 0 4px 18px rgba(212, 175, 55, 0.5), 0 0 10px rgba(212, 175, 55, 0.35) !important;
}

.collection-item-title, .boticario-nav-title {
  font-family: 'Cinzel', serif !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  letter-spacing: 1.2px !important;
  color: #FFFFFF !important;
  text-transform: uppercase !important;
  display: block !important;
  margin-bottom: 2px !important;
  line-height: 1.25 !important;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8) !important;
}

.collection-item.active .collection-item-title,
.boticario-nav-item.active .boticario-nav-title {
  color: #D4AF37 !important;
}

.collection-item-desc, .boticario-nav-desc {
  font-family: 'Montserrat', sans-serif !important;
  font-size: 9.5px !important;
  font-weight: 500 !important;
  font-style: italic !important;
  letter-spacing: 0.3px !important;
  text-transform: none !important;
  color: #CFCBC4 !important;
  display: block !important;
  line-height: 1.25 !important;
}

.collection-item.active .collection-item-desc,
.boticario-nav-item.active .boticario-nav-desc {
  color: #FFFFFF !important;
  font-weight: 600 !important;
}

/* Retorno Total Garantizado al Boticario */
.logo-home-link, 
#brand-emblem, 
#spot-logo, 
.trastienda-logo-link {
  cursor: pointer !important;
  pointer-events: auto !important;
  z-index: 9999 !important;
}

/* ========================================================
   OCULTACIÓN EXCLUSIVA DE FRASCOS EN VERSIÓN MÓVIL
   ======================================================== */
.spot-bottle,
#spot-left,
#spot-right {
  display: none !important;
}

/* ========================================================
   UBICACIÓN MÓVIL DEL BOTÓN CONSULTAR AL BOTICARIO
   (JUSTO DEBAJO DE EXPLORAR COLECCIONES / CENTRADO / ANCHO CALIBRADO 176px)
   ======================================================== */
body[data-room="el-santuario"] #btn-consultar-boticario,
body[data-room="el-santuario"] .global-btn-consultar,
body[data-room="el-santuario"] .btn-consultar-boticario {
  top: auto !important;
  bottom: calc(20% - 68px) !important;
  left: 50% !important;
  right: auto !important;
  transform: translateX(-50%) !important;
  width: 176px !important;
  padding: 0 12px !important;
  justify-content: center !important;
  gap: 10px !important;
}

body[data-room="el-santuario"] #btn-consultar-boticario svg,
body[data-room="el-santuario"] .global-btn-consultar svg,
body[data-room="el-santuario"] .btn-consultar-boticario svg {
  margin-right: 0 !important;
}

body[data-room="el-santuario"] #btn-consultar-boticario span,
body[data-room="el-santuario"] .global-btn-consultar span,
body[data-room="el-santuario"] .btn-consultar-boticario span {
  line-height: 1.5 !important;
  letter-spacing: 2.6px !important;
  word-spacing: 3px !important;
}

body[data-room="el-santuario"] #btn-consultar-boticario:hover,
body[data-room="el-santuario"] .global-btn-consultar:hover,
body[data-room="el-santuario"] .btn-consultar-boticario:hover {
  transform: translateX(-50%) translateY(-1px) !important;
}

