/* ==========================================================================
   LE COMPTOIR DES ESSENCES — SALA II: PURA ELEGANCIA (HOJA EXCLUSIVA DESKTOP)
   Commit de Validación Base: d812342 (Hito 2.1 PC Santificado y Blindado)
   Media Target: (min-width: 769px)
   ========================================================================== */

:root {
    --gold-primary: #C5A059;
    --gold-bright: #D4AF37;
    --gold-border: rgba(197, 160, 89, 0.45);
    
    --text-pure-black: #111111;
    --text-charcoal: #2A2A2A;
    --text-muted: #555555;
    
    --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: #FAFAFA;
    overflow: hidden;
    font-family: var(--font-sans);
    -webkit-font-smoothing: antialiased;
}

.pure-elegance-stage, #pura-elegancia-canvas {
    position: relative;
    width: 100vw;
    height: 100vh;
    background-color: #FAFAFA;
    overflow: hidden;
}

.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.jpg');
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    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);
    }
}

/* ==========================================================================
   1. FRASCOS LATERALES (APOYO FÍSICO A 44.6% BOTTOM)
   ========================================================================== */

.spot-bottle {
    position: absolute;
    bottom: 44.4%;
    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: Linn Young (Fijación Definitiva: 44.4%) --- */
#spot-left {
    position: absolute;
    left: 27.2%;
    bottom: 44.4%;
    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: 115px;
    max-height: 14vh;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.22));
    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 18px rgba(212, 175, 55, 0.85)) brightness(1.06);
}

#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: #0E0E0E;
    text-shadow: 
        0 0 12px #FFFFFF,
        0 0 20px #FFFFFF,
        0 2px 4px rgba(0, 0, 0, 0.45);
}

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

/* --- Frasco Derecho: Omerta (Fijación Definitiva: 44.4%) --- */
#spot-right {
    position: absolute;
    left: 72.8%;
    bottom: 44.4%;
    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: 115px;
    max-height: 14vh;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.22));
    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 18px rgba(212, 175, 55, 0.85)) brightness(1.06);
}

#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: #0E0E0E;
    text-shadow: 
        0 0 12px #FFFFFF,
        0 0 20px #FFFFFF,
        0 2px 4px rgba(0, 0, 0, 0.45);
}

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

/* ==========================================================================
   LOGOTIPO CENTRAL (CENTRO GEOMÉTRICO EXACTO A 38.0% BOTTOM)
   ========================================================================== */

#spot-logo {
    position: absolute;
    left: 50%;
    bottom: 38.0%;
    transform: translate(-50%, 50%);
    z-index: 30;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

#spot-logo .gold-emblem {
    width: 96px;
    height: auto;
    filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.22));
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1), filter 0.4s ease;
}

#spot-logo:hover .gold-emblem {
    transform: scale(1.08);
    filter: drop-shadow(0 0 22px rgba(212, 175, 55, 0.9));
}

/* ==========================================================================
   BOTÓN CINCELADO EN EL MOSTRADOR (COTA 20.5%)
   ========================================================================== */

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

@keyframes luxuryAuraPulse {
    0%, 100% {
        color: #0A0A0A;
        text-shadow: 
            0 0 10px #FFFFFF,
            0 0 18px #FFFFFF,
            0 0 28px rgba(212, 175, 55, 0.45),
            0 2px 4px rgba(0, 0, 0, 0.55);
    }
    50% {
        color: #8C6B1C;
        text-shadow: 
            0 0 16px #FFFFFF,
            0 0 26px rgba(212, 175, 55, 0.95),
            0 0 38px rgba(212, 175, 55, 0.75),
            0 2px 5px rgba(0, 0, 0, 0.65);
    }
}

@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: #9A7422;
    letter-spacing: 4px;
}

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

/* ==========================================================================
   MENÚ FLOTANTE FLANCO IZQUIERDO: LUMINOSO, COMPACTO (230PX) Y HOMOGÉNEO
   ========================================================================== */

.boticario-floating-nav {
    position: fixed;
    left: 4.5%;
    right: auto;
    bottom: 12%;
    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 Homologada con el Botón Central */
.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;
}

/* "COLECCIONES" con el Mismo Efecto, Fuerza y Animación que "EXPLORAR COLECCIONES" */
.boticario-eyebrow {
    font-family: 'Cinzel', serif;
    font-size: 0.74rem;
    font-weight: 800;
    line-height: 1.25;
    letter-spacing: 3.5px;
    text-align: left;
    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: #8C6B1C;
    cursor: pointer;
    padding: 2px 6px;
    transition: color 0.3s ease, transform 0.3s ease;
    text-shadow: 0 0 10px #FFFFFF;
}

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

/* Fila de Sala: Reposo */
.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: transparent;
    transition: all 0.3s ease;
}

/* Estado Hover: Luminoso (Alabastro) para Sala Mujer */
.boticario-nav-item:hover {
    background: rgba(255, 255, 255, 0.85);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(212, 175, 55, 0.45);
    padding-left: 16px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

/* Estado Activo: Luminoso y Áureo */
.boticario-nav-item.active {
    background: rgba(255, 255, 255, 0.92);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    border: 1px solid #D4AF37;
    padding-left: 16px;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.12), inset 0 0 8px rgba(212, 175, 55, 0.15);
}

/* Títulos de Salas: Color Homogéneo */
.boticario-nav-title {
    font-family: 'Cinzel', serif;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 2.2px;
    color: #0A0A0A;
    text-shadow: 
        0 0 10px #FFFFFF,
        0 0 18px #FFFFFF,
        0 1px 2px rgba(0, 0, 0, 0.15);
    transition: color 0.3s ease, text-shadow 0.3s ease;
}

/* Títulos en Hover/Activo: Mismo tono dorado para todos */
.boticario-nav-item:hover .boticario-nav-title,
.boticario-nav-item.active .boticario-nav-title {
    color: #9A7422; 
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

/* 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: #333333;
    margin-top: 4px;
    text-shadow: 
        0 0 8px #FFFFFF,
        0 0 14px #FFFFFF;
    transition: color 0.3s ease;
}

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

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