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

@keyframes luxuryAuraPulse {
  0%, 100% {
    color: #0a0a0a;
    text-shadow: 0 0 8px rgba(212, 175, 55, 0.65), 0 1px 2px rgba(0, 0, 0, 0.25);
  }
  50% {
    color: #8c6b1c;
    text-shadow: 0 0 18px rgba(212, 175, 55, 1), 0 0 28px rgba(255, 215, 0, 0.85), 0 0 8px #ffffff;
  }
}

@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;
}

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

.pure-elegance-stage::before,
#pura-elegancia-canvas::before {
  content: '';
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background-image: url('../assets/backgrounds/pura-elegancia-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: pureEleganceFadeIn 0.25s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

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

/* ========================================================
   FRASCOS (CALIBRADOS + ZOOM & AURA DE PC)
   ======================================================== */
#spot-left {
  position: absolute !important;
  left: 28.5% !important;
  top: 38.5% !important;
  width: 109px !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-right {
  position: absolute !important;
  left: 69% !important;
  top: 35% !important;
  width: 97px !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.35));
  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: 102% !important;
}

#spot-right .spot-caption, #spot-right .spot-info, #spot-right .perfume-label {
  top: calc(102% + 38px) !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 NEGRITA 800 / NEGRO ROTUNDO / 9.5px */
.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: #000000 !important;
  -webkit-text-fill-color: #000000 !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 0 6px #FFFFFF, 0 1px 2px rgba(0, 0, 0, 0.4) !important;
}

/* MARCA: MONTSERRAT REGULAR (500) / OSCURO NATURAL / 7px */
.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: 7px !important;
  font-weight: 500 !important;
  letter-spacing: 1.2px !important;
  text-transform: uppercase !important;
  color: #222222 !important;
  -webkit-text-fill-color: #222222 !important;
  display: block !important;
  line-height: 1.15 !important;
  margin: 0 auto !important;
  text-align: center !important;
  text-shadow: 0 0 5px #FFFFFF !important;
}

/* ========================================================
   LOGOTIPO MAESTRO (CENTRADO ÓPTICO AL 56%)
   ======================================================== */
#spot-logo {
  position: absolute !important;
  left: 50% !important;
  top: 56% !important;
  width: 110px !important;
  transform: translate(-50%, -50%) !important;
  animation: logoBreatheClean 3.2s ease-in-out infinite !important;
  z-index: 10 !important;
}

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

/* ========================================================
   BOTÓN EXPLORAR COLECCIONES (ANCLADO AL MOSTRADOR / BOTTOM 25%)
   ======================================================== */
#spot-nav, .nav-wrapper {
  position: absolute !important;
  bottom: 25% !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;
  min-width: 190px !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
  padding: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  animation: luxuryAuraPulse 3s ease-in-out infinite !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: 700 !important;
  letter-spacing: 3.2px !important;
  text-transform: uppercase !important;
  line-height: 1.35 !important;
  display: block !important;
  color: inherit !important;
  text-shadow: inherit !important;
}

.btn-cincelado-line {
  display: none !important;
}

/* ========================================================
   CAJA DESPLEGABLE VALIDADA (COTA 63.5%)
   ======================================================== */
.modal-overlay {
  display: none !important;
}

.collections-modal, #collections-drawer, .collections-panel, .drawer-container, .boticario-floating-nav {
  position: absolute !important;
  top: 63.5% !important;
  bottom: auto !important;
  left: 50% !important;
  right: auto !important;
  transform: translate(-50%, -50%) translateY(10px) !important;
  width: 270px !important;
  max-width: 270px !important;
  background: rgba(255, 255, 255, 0.18) !important;
  -webkit-backdrop-filter: blur(18px) !important;
  backdrop-filter: blur(18px) !important;
  border: 1px solid rgba(212, 175, 55, 0.55) !important;
  border-radius: 8px !important;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.15), inset 0 0 12px rgba(255, 255, 255, 0.35) !important;
  padding: 12px 10px !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: translate(-50%, -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: 9px 12px !important;
  margin-bottom: 5px !important;
  border-radius: 5px !important;
  text-decoration: none !important;
  background: rgba(255, 255, 255, 0.2) !important;
  border: 1px solid rgba(212, 175, 55, 0.2) !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*="pura-elegancia"], .boticario-nav-item[href*="pura-elegancia"] {
  background: rgba(255, 255, 255, 0.95) !important;
  border: 1.5px solid #d4af37 !important;
  box-shadow: 0 4px 18px rgba(212, 175, 55, 0.45), 0 0 10px rgba(255, 255, 255, 0.9) !important;
}

.collection-item-title, .boticario-nav-title {
  font-family: 'Cinzel', serif !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  letter-spacing: 1.4px !important;
  color: #5c4a28 !important;
  text-transform: uppercase !important;
  display: block !important;
  margin-bottom: 2px !important;
}

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

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

.collection-item.active .collection-item-desc,
.boticario-nav-item.active .boticario-nav-desc {
  color: #1a1a1a !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;
}

/* ========================================================
   SUPRESIÓN DE SOMBRA OFF-CANVAS DEL CARRITO
   ======================================================== */
#maison-cart-drawer:not(.is-active) {
  box-shadow: none !important;
  visibility: hidden !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
   (DEBAJO DEL MOSTRADOR / BOTTOM 96px / CENTRADO)
   ======================================================== */
body[data-room="pura-elegancia"] #btn-consultar-boticario,
body[data-room="pura-elegancia"] .global-btn-consultar,
body[data-room="pura-elegancia"] .btn-consultar-boticario,
body.pura-elegancia #btn-consultar-boticario {
  top: auto !important;
  bottom: 96px !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="pura-elegancia"] #btn-consultar-boticario svg,
body[data-room="pura-elegancia"] .global-btn-consultar svg,
body[data-room="pura-elegancia"] .btn-consultar-boticario svg,
body.pura-elegancia #btn-consultar-boticario svg {
  margin-right: 0 !important;
}

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

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

/* ========================================================
   ELEVACIÓN DE MARQUESINA SUPERIOR EN MÓVIL
   (PURA ELEGANCIA / ESENCIAS ABSOLUTAS PARA LA MUJER)
   ======================================================== */
body[data-room="pura-elegancia"] .room-hero-title,
body.pura-elegancia .room-hero-title {
  top: 56px !important;
}
