/* ==========================================================================
   LE COMPTOIR DES ESSENCES — SALA: EL SANTUARIO (HOJA EXCLUSIVA DESKTOP)
   Atmósfera: Lujo Oscuro / Seducción Alquímica / Código Masculino
   Calibración Quirúrgica: Logo en esquina superior derecha, frascos en mostrador
   y botón centrado en plano de mármol inferior.
   Media Target: (min-width: 769px)
   ========================================================================== */

:root {
    --gold-primary: #C5A059;
    --gold-bright: #D4AF37;
    --gold-dark: #8C6B1C;
    --gold-border: rgba(197, 160, 89, 0.45);
    
    --bg-dark: #0A0A0A;
    --text-pure-white: #FFFFFF;
    --text-cream: #F4F0EC;
    --text-muted: #A09B93;
    
    --font-title: 'Cinzel', serif;
    --font-sans: 'Montserrat', sans-serif;
    
    --transition-smooth: cubic-bezier(0.25, 1, 0.5, 1);
}

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

html, body {
    width: 100%;
    height: 100%;
    background-color: var(--bg-dark);
    overflow: hidden;
    font-family: var(--font-sans);
    -webkit-font-smoothing: antialiased;
}

.santuario-stage, #santuario-canvas, .stage-container {
    position: relative;
    width: 100vw;
    height: 100vh;
    background-color: var(--bg-dark);
    overflow: hidden;
}

.santuario-stage::before,
#santuario-canvas::before {
    content: '';
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background-image: url('../assets/backgrounds/el-santuario-bg.jpg');
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    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);
    }
}

/* ==========================================================================
   1. FRASCOS LATERALES (APOYO FÍSICO SOBRE LÍNEA DE MÁRMOL: 20% BOTTOM)
   ========================================================================== */

.spot-bottle {
    position: absolute;
    bottom: 20%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    cursor: pointer;
    z-index: 20;
    min-width: 90px;
    padding: 0 10px;
}

/* --- Frasco Izquierdo: Georges Mezotti - Base Track High Society --- */
#spot-left {
    position: absolute;
    left: 30%;
    bottom: 20%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    cursor: pointer;
    z-index: 20;
}

#spot-left .perfume-bottle {
    height: 140px;
    max-height: 17vh;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.6));
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1), filter 0.4s ease;
}

#spot-left:hover .perfume-bottle {
    transform: scale(1.08);
    filter: drop-shadow(0 0 20px rgba(212, 175, 55, 0.95)) brightness(1.08);
}

#spot-left .perfume-label {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(4px);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s ease, transform 0.35s cubic-bezier(0.25, 1, 0.5, 1);
    padding-top: 8px;
}

#spot-left:hover .perfume-label {
    opacity: 1;
    transform: translateX(-50%) translateY(8px);
}

#spot-left .fragrance-title {
    font-family: 'Cinzel', serif;
    font-size: 0.88rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: #F4F0EC;
    text-shadow: 
        0 0 10px rgba(212, 175, 55, 0.7),
        0 2px 5px rgba(0, 0, 0, 0.9);
}

#spot-left .brand-name {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.62rem;
    font-weight: 600;
    letter-spacing: 3px;
    color: #D4AF37;
    text-transform: uppercase;
    margin-top: 2px;
    text-shadow: 
        0 0 8px rgba(0, 0, 0, 0.8),
        0 1px 3px rgba(0, 0, 0, 0.9);
}

/* --- Frasco Derecho: Real Time - Tierra del Fuego --- */
#spot-right {
    position: absolute;
    left: 67%;
    bottom: 20%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    cursor: pointer;
    z-index: 20;
}

#spot-right .perfume-bottle {
    height: 140px;
    max-height: 17vh;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.6));
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1), filter 0.4s ease;
}

#spot-right:hover .perfume-bottle {
    transform: scale(1.08);
    filter: drop-shadow(0 0 20px rgba(212, 175, 55, 0.95)) brightness(1.08);
}

#spot-right .perfume-label {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(4px);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s ease, transform 0.35s cubic-bezier(0.25, 1, 0.5, 1);
    padding-top: 8px;
}

#spot-right:hover .perfume-label {
    opacity: 1;
    transform: translateX(-50%) translateY(8px);
}

#spot-right .fragrance-title {
    font-family: 'Cinzel', serif;
    font-size: 0.88rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: #F4F0EC;
    text-shadow: 
        0 0 10px rgba(212, 175, 55, 0.7),
        0 2px 5px rgba(0, 0, 0, 0.9);
}

#spot-right .brand-name {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.62rem;
    font-weight: 600;
    letter-spacing: 3px;
    color: #D4AF37;
    text-transform: uppercase;
    margin-top: 2px;
    text-shadow: 
        0 0 8px rgba(0, 0, 0, 0.8),
        0 1px 3px rgba(0, 0, 0, 0.9);
}

/* ==========================================================================
   2. LOGOTIPO MAESTRO (REUBICADO EN ESQUINA SUPERIOR DERECHA: TOP 35PX, RIGHT 45PX)
   ========================================================================== */

@keyframes logoBreatheDesktop {
    0%, 100% {
        transform: scale(1);
        filter: drop-shadow(0 0 12px rgba(212, 175, 55, 0.45));
    }
    50% {
        transform: scale(1.04);
        filter: drop-shadow(0 0 18px rgba(212, 175, 55, 0.75)) drop-shadow(0 0 6px rgba(255, 235, 170, 0.5));
    }
}

#spot-logo {
    position: absolute;
    top: 35px;
    right: 45px;
    left: auto;
    bottom: auto;
    transform: none;
    z-index: 30;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

#spot-logo .gold-emblem {
    width: 125px;
    height: auto;
    filter: drop-shadow(0 0 12px rgba(212, 175, 55, 0.45));
    animation: logoBreatheDesktop 3.6s ease-in-out infinite;
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1), filter 0.4s ease;
}

#spot-logo:hover .gold-emblem {
    animation-play-state: paused;
    transform: scale(1.08);
    filter: drop-shadow(0 0 24px rgba(212, 175, 55, 0.95)) brightness(1.08);
}

/* ==========================================================================
   3. BOTÓN CINCELADO EN EL MOSTRADOR (CALIBRADO A BOTTOM 5.5% SOBRE MÁRMOL)
   ========================================================================== */

#spot-nav {
    position: absolute;
    left: 50%;
    bottom: 5.5%;
    transform: translateX(-50%);
    z-index: 45;
    display: flex;
    flex-direction: column;
    align-items: center;
}

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

.btn-cincelado {
    background: transparent;
    border: none;
    padding: 4px 8px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

.btn-cincelado-text {
    font-family: 'Cinzel', serif;
    font-size: 0.74rem;
    font-weight: 800;
    line-height: 1.25;
    letter-spacing: 3.5px;
    text-align: center;
    animation: luxuryAuraPulse 3s ease-in-out infinite;
    transition: all 0.35s ease;
}

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

.btn-cincelado:hover .btn-cincelado-text {
    animation: none;
    color: #D4AF37;
    letter-spacing: 4px;
    text-shadow: 0 0 16px rgba(212, 175, 55, 1);
}

.btn-cincelado:hover .btn-cincelado-line {
    animation: none;
    width: 100%;
    box-shadow: 0 0 14px rgba(212, 175, 55, 1);
}

/* ==========================================================================
   4. MENÚ FLOTANTE FLANCO IZQUIERDO: COMPACTO (230PX) GLASSMORPHIC OSCURO
   ========================================================================== */

.boticario-floating-nav {
    position: fixed;
    left: 4.5%;
    right: auto;
    bottom: 21%;
    width: 230px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    z-index: 50;
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: opacity 0.35s ease, transform 0.35s cubic-bezier(0.25, 1, 0.5, 1), visibility 0.35s ease;
}

.boticario-floating-nav.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Cabecera Flotante */
.boticario-nav-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 4px 10px 4px;
    border-bottom: 1.5px solid transparent;
    background: linear-gradient(90deg, transparent 0%, rgba(212, 175, 55, 0.6) 50%, transparent 100%);
    background-size: 100% 1.5px;
    background-position: bottom;
    background-repeat: no-repeat;
    margin-bottom: 8px;
}

.boticario-eyebrow {
    font-family: 'Cinzel', serif;
    font-size: 0.74rem;
    font-weight: 800;
    line-height: 1.25;
    letter-spacing: 3.5px;
    text-align: left;
    color: #D4AF37;
    animation: luxuryAuraPulse 3s ease-in-out infinite;
    display: inline-block;
}

.btn-close-boticario {
    background: transparent;
    border: none;
    font-size: 1.1rem;
    font-weight: 400;
    color: #D4AF37;
    cursor: pointer;
    padding: 2px 6px;
    transition: color 0.3s ease, transform 0.3s ease;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.8);
}

.btn-close-boticario:hover {
    color: #FFFFFF;
    transform: rotate(90deg) scale(1.1);
}

/* Fila de Sala */
.boticario-nav-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 8px 12px;
    text-decoration: none;
    border: 1px solid transparent;
    border-radius: 2px;
    background: rgba(10, 10, 10, 0.45);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    transition: all 0.3s ease;
}

/* Estado Hover */
.boticario-nav-item:hover {
    background: rgba(20, 20, 20, 0.75);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(212, 175, 55, 0.45);
    padding-left: 16px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

/* Estado Activo: El Santuario */
.boticario-nav-item.active {
    background: rgba(25, 22, 18, 0.88);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    border: 1px solid #D4AF37;
    padding-left: 16px;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.5), inset 0 0 8px rgba(212, 175, 55, 0.25);
}

/* Títulos de Salas */
.boticario-nav-title {
    font-family: 'Cinzel', serif;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 2.2px;
    color: #F4F0EC;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
    transition: color 0.3s ease, text-shadow 0.3s ease;
}

.boticario-nav-item:hover .boticario-nav-title,
.boticario-nav-item.active .boticario-nav-title {
    color: #D4AF37; 
    text-shadow: 0 0 10px rgba(212, 175, 55, 0.6);
}

/* Lemas en 2 Líneas */
.boticario-nav-desc {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.68rem;
    font-weight: 500;
    font-style: italic;
    line-height: 1.35;
    letter-spacing: 0.6px;
    color: #A09B93;
    margin-top: 4px;
    transition: color 0.3s ease;
}

.boticario-nav-item:hover .boticario-nav-desc,
.boticario-nav-item.active .boticario-nav-desc {
    color: #E2DDD5;
}

/* 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;
}
