.em-our_products-info-title {
    font-family: Neon;
    font-style: normal;
    font-weight: 400;
    font-size: 18px;
    line-height: 36px;
    margin-bottom: 0;

}

.em-our_products-section .row {
    display: initial;
}

.em-our_products-item {
    padding: 0;
    padding-top: 10px;
    height: 500px;
}

.em-our_products-item.reducido {
    padding: 0;
    padding-top: 10px;
    height: 100% !important;
}

.em-our_products-item-container {
    width: 100%;
    margin: auto;
}

.em-container-vertical-middle .slick-em-content-vertical-middle a picture img {
    max-height: 400px;
    min-height: auto;
    width: 100%;
}

picture.img-our-products {
    position: relative;
}


picture.img-our-products img {
    max-height: 400px;
    height: 400px;
    width: 100%;
}

.em-our_products-section .slick-slider picture img {
    max-height: 400px;
    width: 100%;
}

.em-our_products-item-subcontainer {
    position: relative;
    display: table-cell !important;
    vertical-align: middle;
}

/* .em-our_products-item-info {
    display: none;
    position: absolute;
    height: 100%;
    width: calc(100% - 16px);
    width: 100%;
    bottom: 0px;
    padding: 22px 22px;
    background: rgba(var(--bg-color), 1);
} */

.em-our_products-item-info {
    display: none;
    z-index: 2;
    position: absolute;
    top: 23;
    height: 100%;

    /* width: calc(100% - 26px); */
    width: 100%;

    /* bottom: 5px; */

    /* margin-top: 1rem; */
    padding: 0 20px;

    /* background: rgb(33 72 182 / 60%); */
    background: rgb(var(--bg-color), .5);

    /* background-color: red; */
}

.em-our_products-item-container:hover .em-our_products-item-info {
    display: block;
}

.em-our_products-section .slick-track {
    display: block !important;
    margin: auto;
}

.em-our_products-item-info-title {
    font-family: 'Poppins Regular';
    font-size: 20px;
    line-height: 24px;
    color: #000;
    font-weight: 800;
}

.em-our_products-item-info-btn {
    display: block;
    font-family: 'Poppins Regular';
    font-style: normal;
    font-weight: 800;
    font-size: 15px;
    line-height: 15px;
    text-align: center;
    color: #000;
    border: 2px solid #000;
    bottom: 22px;
    padding: 13px;
    width: fit-content;
    margin: auto;
    margin-top: 15px;
}

.em-our_products-item-info-btn h3 {
    display: block;
    font-family: 'Poppins Regular';
    font-style: normal;
    font-weight: 800;
    font-size: 15px;
    line-height: 15px;
    text-align: center;
    color: #000;
    margin-bottom: 0;
}

.em-our_products-item-info-btn:hover {
    color: #000;
}

.em-our_products-item-container:hover .em-our_products-item-info-title{
    display: block;
}

.em-our_products-item-info-title {
    z-index: 2;
    display: none;
}

/* 2026-04-14 developer3: Efecto transicion entre imagenes */
.transition-opacity {
    transition: opacity 0.5s ease-in-out;
}

.object-fit-contain {
    object-fit: cover; /* Puedes usar 'cover' si la imagen debe llenar todo el cuadro sin bordes */
}

.img-swap-hover {
    display: none; /* Ocultamos la imagen hover por defecto */
    opacity: 0;
}

.img-swap-hover:hover {
    display: block; /* Mostramos la imagen hover al hacer hover */
}

/*
  Solo lo activamos si el dispositivo soporta hover (ratón).
  Esto evita el bug al tocar la pantalla en móviles.
*/
@media (hover: hover) and (pointer: fine) {
    /* 1. Ocultamos la imagen base (por si la imagen hover tiene partes transparentes) */
    .em-our_products-item:hover .img-swap-base {
        opacity: 0;
        display: none;
    }

    /* 2. Mostramos la imagen hover */
    .em-our_products-item:hover .img-swap-hover {
        opacity: 1;
        display: block;
    }
}


@media (width >= 768px) {
    picture.img-swap-base img.em-our_products-img {
        min-height: 0;
        margin-top: 0;
    }

    picture.img-swap-hover img.em-our_products-img {
        min-height: 0;
        margin-top: 0;
    }


    .em-our_products-item-container:hover .em-our_products-item-info{
        display: block;
    }


    .em-our_products-item-container {
        width: 65%;
        display: block !important;
        height: 100%;
    }

    .em-our_products-item {
        width: 50% !important;
        height: 368px;
        padding-right: 8px;
        padding-left: 8px;
    }

    .em-our_products-item:nth-child(3n) {
        width: 50% !important;
        margin-left: 25%;
    }

    /* .em-our_products-item-info {
        display: none;
        position: absolute;
        height: 100%;
        width: calc(100% - 16px);
        width: 100%;
        bottom: 0px;
        padding: 10px 22px;
        background: rgba(var(--bg-color), 0.6);
    } */

    .em-our_products-item-info-btn {
        display: none;
    }

    /* .em-our_products-item:hover .em-our_products-item-info {
        display: block
    } */
}

@media (width <= 640px) {
    .our-products-slider {
        margin-top: -70px;
    }
}


@media (width <= 768px) {
    .em-container-vertical-middle {
        display: flex !important;
        place-content: center center;
    }

    picture.img-swap-base {
        /* 1. Forzamos a que sea una caja estructural */
        display: block;

        /* 2. Centramos la caja del picture por si el width falla */
        margin: 0 auto;

        /* Tus reglas originales intactas */
        max-height: none;
        width: 100%;
        height: 85%;
        top: 0;
        position: relative;
    }

    .em-our_products-section .slick-slider img {
        max-height: none;
        width: 100%;
        height: 85%;
        object-fit: cover;

    }

    .em-our_products-item-container .em-our_products-item-info-title{
        display: none;
    }

    img.img-swap-base {
        max-height: none;
        width: 100%;
        height: 85%;
    }

    .our-products-slider {
        margin-top: -30px;
    }

    .em-our_products-item {
        padding: 0;
        padding-top: 10px;
        height: 400px;
    }
}


@media (width <= 1024px) {
    .em-our_products-section .slick-slider img {
        max-height: none;
        width: 100%;
        height: 85%;
    }

    .our-products-slider {
        margin-top: -30px;
    }
}

@media (width >= 1280px) and (width <= 1366px) {
    .em-our_products-item-container picture img.em-our_products-img {
        /* 1. Neutralizamos el desbordamiento de altura */
        min-height: auto;

        /* 2. Neutralizamos el margen negativo que lo saca de eje */
        margin-top: 0;

        /* 3. Restauramos la interactividad (clicks, hover de Angular) */
        pointer-events: auto;
        touch-action: auto;
        user-select: auto;

        /* 4. Reseteamos el contexto 3D innecesario aquí */
        backface-visibility: visible;
        perspective: none;
    }
}

@media (width >= 1920px) and (width <= 2560px) {
    .em-our_products-item-container picture img.em-our_products-img {
        min-height: auto;
        margin-top: -1rem;
        pointer-events: auto;
        touch-action: auto;
        user-select: auto;
        backface-visibility: visible;
        perspective: none;
        padding: 2rem;
    }
}


/*  */

/*  */
