/* --- 1. Variables Globales --- */
:root {
    --lens-darkness: 0; /* Inicia completamente transparente */
}

/* --- 2. Efecto Fotocromático sobre tu código actual --- */
.static-banner-image {
    position: relative;
    overflow: hidden; 
}

/* El pseudo-elemento actúa como la mica del lente */
.static-banner-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Tono gris oscuro/ligeramente ámbar típico de lentes */
    background-color: rgba(35, 35, 38, 1); 
    opacity: var(--lens-darkness);
    transition: opacity 0.1s ease-out; /* Transición suave */
    pointer-events: none; /* Para que los clics pasen al botón debajo */
    z-index: 1;
}

/* Aseguramos que el texto y botón de tu banner queden por encima del lente oscuro */
.static-banner-content {
    position: relative;
    z-index: 2;
}

/* --- 3. Estilos Elegantes para el Slider --- */
.photochromic-control {
    width: 100%;
    max-width: 350px;
    margin: 30px auto;
    text-align: center;
    font-family: inherit;
}

.photochromic-control label {
    display: block;
    margin-bottom: 12px;
    font-size: 12px;
    color: #333;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-weight: 600;
}

.elegant-slider {
    -webkit-appearance: none;
    width: 100%;
    height: 2px;
    background: #d1d1d1;
    outline: none;
    border-radius: 2px;
}

/* Botón arrastrable (Thumb) */
.elegant-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #1a1a1a;
    cursor: grab;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
    transition: transform 0.2s ease, background 0.2s ease;
}

.elegant-slider::-webkit-slider-thumb:active {
    cursor: grabbing;
    transform: scale(1.1);
    background: #000;
}