.video-wrapper {
    position: relative;
    cursor: pointer;
    overflow: hidden;
}

.video-thumbnail .overlay {
    /* background: rgba(0, 0, 0, 0.2); */
    opacity: 1;
    transition: background 0.3s ease;
    border-radius: 0.5rem;
    pointer-events: none;
}

.video-wrapper:hover .overlay {
    background: rgba(0, 0, 0, 0.6);
}

.banner-enlace {
    height: 300px;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.banner-enlace .overlay {
    opacity: 1;
    background-color: rgba(0, 0, 0, 0.3);
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: ease-out 0.3s;
}

.banner-enlace:hover .overlay {
    color: rgba(255, 255, 255, .65);
}
/* .banner-enlace:hover .card-title {
    visibility: hidden;
} */

.banner-enlace .card-title {
    visibility: visible;
    margin: 0;
    font-size: 1.25rem;
}

.banner-seccion {
    width: 100%;
    height: 120px;
    background-color: black;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
}

.banner-seccion h2 {
    margin: 0;
}

.portada-catalogo {
    height: 300px;
    margin-bottom: 1rem;
    width: auto;
    transition: 0.3s;
}

.portada-catalogo:hover {
    cursor: pointer;
    filter: brightness(0.8);
}

.cuidados-banner {
    height: 90px;
    background-color: #708090;
}

#fullscreen-video-overlay {
    display: none;
}

#fullscreen-video-overlay.active {
    display: flex !important;
}

.contenedor-recurso-color-acabados {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: start;
}

.contenedor-recurso-color-acabados img {
    max-width: 100%;
    min-height: 150px;
    aspect-ratio: 1/1;
    max-height: 150px;

    height: auto;
    display: block;
}

.recurso-imagen-cuadrada-acabado {
    width: 100%;
    height: 150px;
    object-fit: cover;
    aspect-ratio: 1 / 1;
}

/* Volver arriba */

.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    z-index: 999;
    transition: opacity 0.3s ease;
    opacity: 0.8;
}

.back-to-top:hover {
    opacity: 1;
}

html {
    scroll-behavior: smooth;
}

.centered-list {
    list-style-position: inside;
    text-align: center;
    padding-left: 0;
}

.z-999 {
    z-index: 999;
}
