/* Estilos específicos para la página de styleGLASS */

.hr-styleglass {
    background: transparent;
    border: none;
    border-top: 6px solid #0277bd;
    height: 0;
    margin: 6rem 0;
    width: 100%
}

@keyframes electricidad-styleglass {
    40% {
        filter: drop-shadow(0 0 6px #fff) drop-shadow(0 0 10px #0277bd) brightness(1.5)
    }

    50% {
        filter: drop-shadow(0 0 2px #0277bd) drop-shadow(0 0 6px #fff) brightness(1.2)
    }

    60% {
        filter: drop-shadow(0 0 8px #fff) drop-shadow(0 0 14px #0277bd) brightness(1.7)
    }

    70% {
        filter: drop-shadow(0 0 4px #0277bd) drop-shadow(0 0 8px #fff) brightness(1.3)
    }

    80% {
        filter: drop-shadow(0 0 6px #fff) drop-shadow(0 0 10px #0277bd) brightness(1.5)
    }

    90% {
        filter: drop-shadow(0 0 2px #0277bd) drop-shadow(0 0 6px #fff) brightness(1.2)
    }

    to {
        filter: drop-shadow(0 0 2px #fff) drop-shadow(0 0 6px #0277bd) brightness(1.2)
    }
}

.texto-electricidad-styleglass {
    animation: electricidad-styleglass .8s linear infinite;
    color: #0277bd !important;
    display: inline-block;
    font-weight: 700;
    text-shadow: 0 0 8px #0277bd, 0 0 2px #fff;
    will-change: filter
}

/* --- ENCABEZADO --- */
#encabezados-styleglass {
    background-color: #0277bd;
    border-bottom: 6px solid #01579b;
}

#encabezados-styleglass .contenido.encabezado-flex-responsive {
    padding-left: 0;
    padding-right: 0;
    margin-left: 0;
    margin-right: 0;
    width: 100%;
    max-width: 100vw;
}

#encabezados-styleglass .producto-header-flex {
    padding-left: 5%;
    padding-right: 5%;
}

#marca-styleglass {
    background-color: #0277bd !important;
}

#encabezados-styleglass h1 {
    font-size: 1.75rem;
    font-weight: 900;
    line-height: 1.2;
    color: #ffffff !important;
    text-shadow: none;
    margin-bottom: 1.5rem;
}

#encabezados-styleglass .caracteristicas-producto {
    background-color: #0277bd !important;
    line-height: 1.65;
}

#encabezados-styleglass .caracteristicas-producto strong {
    color: #ffffff;
}

#encabezados-styleglass .caracteristicas-producto p,
#encabezados-styleglass .contenido-producto p {
    color: #f9fafb !important;
    margin-bottom: 1.5%
}

#encabezados-styleglass .bi,
#encabezados-styleglass svg {
    color: #fff !important;
    margin-right: 6px;
    vertical-align: -0.125em;
    display: inline-block;
}

/* --- SECCIONES Y CONTENIDO --- */
.page-styleglass section h2,
.page-styleglass .jumbotron h2,
.page-styleglass .container-fluid h2 {
    font-size: 1.75rem;
    color: #0277bd;
    text-align: center;
    margin-top: 2rem;
    margin-bottom: 2rem;
}

/* Excepción para h2 con font-weight 900 */
.page-styleglass h2.fw-900 {
    font-weight: 900;
}

/* --- TARJETAS DE DETALLES --- */
.tarjeta-detalles-sin-borde {
    border: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    border-radius: 12px;
    overflow: visible;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background: #ffffff;
    padding: 1.5rem;
    padding-bottom: 2rem;
    margin-bottom: 3rem !important;
    min-height: auto;
    height: auto;
}

.tarjeta-detalles-sin-borde:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(74, 179, 244, 0.15);
}

.tarjeta-detalles-sin-borde .card-body {
    overflow: visible;
    white-space: normal;
    max-height: none;
    height: auto;
    padding: 0;
}

.tarjeta-detalles-sin-borde h3 {
    margin: 0 0 1rem 0;
    font-size: 1.3rem;
    font-weight: 700;
    color: #0277bd;
    border-bottom: 3px solid #0277bd;
    padding-bottom: 0.5rem;
}

.tarjeta-detalles-sin-borde p {
    margin: 0 0 1rem 0;
    line-height: 1.6;
    color: #333;
}

.tarjeta-detalles-sin-borde figure {
    margin: 0 0 1rem 0;
    overflow: hidden;
    border-radius: 8px;
}

.tarjeta-detalles-sin-borde figure img {
    width: 100%;
    height: auto;
    display: block;
}

.tarjetas-detalles-contenedor {
    margin-bottom: 6rem !important;
    padding-bottom: 3rem !important;
    clear: both;
    overflow: visible;
}

.tarjetas-detalles-contenedor .col {
    margin-bottom: 3rem !important;
}

.tarjetas-detalles-contenedor .row {
    margin-bottom: 2rem;
}

.gap-tarjetas-styleglass {
    gap: 2rem
}

/* --- ZONA DE DESCARGA --- */
.descarga-container {
    display: flex;
    gap: 1rem;
}

.descarga-container>div {
    flex: 1;
}

.btn-descarga {
    width: 100%;
    height: 100%;
}

.btn-descarga svg {
    margin-right: 8px;
    vertical-align: -0.125em;
}

/* --- ICONOS Y OTROS --- */
.page-styleglass svg.bi {
    vertical-align: -0.125em;
}

.ventajas-styleglass svg.bi,
.certificaciones-styleglass svg.bi {
    margin-right: 8px;
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .tarjeta-detalles-sin-borde {
        padding: 1.25rem;
        margin-bottom: 2rem !important;
    }

    .tarjeta-detalles-sin-borde h3 {
        font-size: 1.2rem;
    }

    .tarjetas-detalles-contenedor {
        margin-bottom: 4rem !important;
        padding-bottom: 2rem !important;
    }
}