/* ================================================================
   GALERÍA PRINCIPAL (RECTÁNGULO CURVO)
   ================================================================ */

.main-stage-container {
    position: relative;
    height: 550px;
    width: 100%;
    border-radius: 3rem; 
    /* CRÍTICO: Corta la imagen para que respete la curva de los bordes */
    overflow: hidden; 
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(212, 175, 55, 0.3);
}

.slide-strip {
    display: flex;
    height: 100%;
    width: 100%;
    transition: transform 0.7s cubic-bezier(0.87, 0, 0.13, 1);
}

.slide {
    flex-shrink: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

/* Sombreado inferior para legibilidad del texto */
.slide::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, transparent 40%);
    z-index: 15;
}

.main-stage-full-img {
    width: 100%;
    height: 100%;
    /* Llena todo el rectángulo curvo */
    object-fit: cover; 
    object-position: center;
    padding: 0; 
    transition: transform 0.5s ease;
    z-index: 10;
}

.reveal-content {
    position: absolute;
    bottom: 40px;
    left: 40px;
    z-index: 20;
    padding: 20px 30px;
    border-radius: 2rem;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    border-left: 5px solid #D4AF37;
    pointer-events: none;
}

/* BOTONES NAVEGACIÓN */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 40;
    width: 4rem;
    height: 4rem;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.carousel-btn:hover {
    background: #D4AF37;
    color: #000000;
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.4);
}

#prev-slide { left: 20px; }
#next-slide { right: 20px; }

/* ================================================================
   CUADRÍCULA DE INVENTARIO (MINIATURAS)
   ================================================================ */

.thumbnails-grid {
    display: grid;
    /* Ajuste responsivo de columnas */
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    gap: 1.5rem;
    margin-top: 4rem;
    padding-bottom: 2.5rem;
}

.thumbnail {
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.thumbnail .thumb-frame {
    width: 100%;
    aspect-ratio: 1 / 1;
    background: white;
    border-radius: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 2px solid transparent;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.thumbnail img {
    width: 85%;
    height: 85%;
    object-fit: contain;
    transition: transform 0.4s ease;
}

/* Interacciones de Miniaturas */
.thumbnail:hover .thumb-frame {
    transform: translateY(-8px) scale(1.05);
    border-color: rgba(212, 175, 55, 0.5);
    box-shadow: 0 15px 30px rgba(212, 175, 55, 0.2);
}

.thumbnail.active .thumb-frame {
    border-color: #D4AF37;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.3);
}

.thumb-title {
    margin-top: 1rem;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    text-align: center;
    color: #ffffff;
    max-width: 120px;
    line-height: 1.2;
    transition: color 0.3s;
}

.thumbnail.active .thumb-title, 
.thumbnail:hover .thumb-title {
    color: #D4AF37;
}

/* ================================================================
   BOTÓN DE COTIZACIÓN "LUXURY GOLD"
   ================================================================ */

.cotizar-btn {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    background: linear-gradient(135deg, #D4AF37 0%, #B8860B 100%);
    color: #000000;
    padding: 1.2rem 3rem;
    border-radius: 9999px;
    font-size: 0.85rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 25px rgba(212, 175, 55, 0.3);
    border: none;
}

.cotizar-btn:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 20px 40px rgba(212, 175, 55, 0.5);
    background: #ffffff; /* Cambio a fondo blanco en hover para destacar */
    color: #D4AF37;
}

.cotizar-btn span:first-child {
    font-size: 1.2rem;
}

.whatsapp-float {
    position: fixed;
    bottom: 32px;
    right: 32px;
    width: 64px;
    height: 64px;
    background-color: #25D366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
    transition: transform 0.3s ease;
    z-index: 100;
    text-decoration: none;
}

.whatsapp-float:hover {
    transform: scale(1.1);
}