/*
    Fuente para la Web ////////////////////////////////////////////////////////////////////////////////////
*/

@import url('https://fonts.googleapis.com/css2?family=Rubik:wght@300&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Rubik:wght@600&display=swap');

/*
    Variables ////////////////////////////////////////////////////////////////////////////////////
*/

:root {
    --blanco: #f7f7f7;
    --amarillo: #FABD00;
    --rojo: #AD1519;
    --negro: #282828;
    --rojo_transp: rgb(173, 21, 25, .7);
    --amarillo_transp: rgb(250, 189, 0, .7);
    --sombra: rgba(0, 0, 0, .6);
}

/*
    Reseteo ////////////////////////////////////////////////////////////////////////////////////
*/

*, *::after, *::before {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/*
    Estilos Generales ////////////////////////////////////////////////////////////////////////////////////
*/

html, body {
    font-family: 'Rubik', sans-serif;
}

ul, li {
    list-style: none;
    margin: 0;
    padding: 0;
}

a {
    text-decoration: none;
}

img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

main {
    min-height: 80vh;
    background: var(--blanco);
}

/*
    Intro del Index //////////////////////////////////////////////////////////////////////////////////// 
*/

div#intro img {
    width: 100%;
    height: 80vh;
}

div#slogan {
    width: 100%;
    height: 100%;
    background: var(--rojo_transp);
    clip-path: polygon(60% 0, 100% 0%, 100% 100%, 40% 100%);
}

div#slogan div {
    position: absolute;
    top: 40%;
    right: 10%;
}

div#slogan div h1 {
    font-size: 5rem;
    font-weight: bold;
    color: var(--amarillo);
}

div#slogan div h2 {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--blanco);
    text-align: center;
}

/*
    Animación Portada Index H1 H2 ////////////////////////////////////////////////////////////////////////////////////
*/

div#slogan div h1, div#nuestros_productos h1 {
    opacity: 0;
    transform: translateX(-100%);
    transition: all 1.2s ease-out;
}

div#slogan div h2 {
    opacity: 0;
    transform: translateY(100%);
    transition: all 1.4s ease-out;
}

div#slogan div h1.visible, div#nuestros_productos h1.visible {
    opacity: 1;
    transform: translateX(0);
}

div#slogan div h2.visible {
    opacity: 1;
    transform: translatey(0);
}

/*
    Página principal ////////////////////////////////////////////////////////////////////////////////////
*/  

div#pagina_inicial h2, div#ubicacion h2 {
    font-size: 3rem;
    max-width: max-content;
    font-weight: 600;
}

div#pagina_inicial h2::after, div#ubicacion h2::after {
    content: "";
    margin: .05rem 0;
    display: block;
    width: 50%;
    height: 2px;
    background: linear-gradient(to right,
        var(--rojo) 0%,      /* Roja */
        var(--rojo) 25%,     /* Franja roja */
        var(--amarillo) 25%,     /* Amarilla */
        var(--amarillo) 75%,     /* Franja amarilla (doble ancho) */
        var(--rojo) 75%      /* Franja roja */
    );
}

/*
    Animación Página Principal H2 ////////////////////////////////////////////////////////////////////////////////////
*/

div#pagina_inicial h2, div#ubicacion h2 {
    opacity: 0;
    transform: translateY(-100%);
    transition: all 1.4s ease-out;
}

div#pagina_inicial h2.visible, div#ubicacion h2.visible {
    opacity: 1;
    transform: translatey(0);
}

/*
    Pagina Principal - Carrusel Productos ////////////////////////////////////////////////////////////////////////////////////
*/

.swiper { 
    margin: 40px auto;
    width: 1090px;
}

.swiper-slide {
    background: var(--negro);
    box-shadow: 0px 0px 5px var(--sombra);
    border-radius: 5px;
    text-align: center;
    /* height: 350px !important; */
    /* width: 255px !important; */
}

.swiper-slide img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 5px 5px 0px 0px;
}

.swiper-pagination {
    position:static !important;
}

.swiper-pagination-bullet-active {
    background: var(--rojo) !important;
}

.swiper-slide .info-producto {
    height: 100px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.swiper-slide .nombre { 
    font-size: 17px;
    color: var(--blanco);
    font-weight: 600;
    text-transform: capitalize;
    letter-spacing: 1px;
}

.swiper-slide .precio { 
    font-size: 24px;
    color: var(--blanco);
    font-weight: 500;
    letter-spacing: 1px;
}

/*
    Página principal - Ubicación ////////////////////////////////////////////////////////////////////////////////////
*/

div#ubicacion div {
    margin-top: 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

div#ubicacion div iframe {
    width: 800px;
    height: 450px;
    border: 0;
    box-shadow: 0px 0px 8px var(--sombra);
    border-radius: 5px;
}


div#ubicacion div div#botones_reseñas {
    width: 50%;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    align-items: center;
    flex-direction: row;
}

div#ubicacion div div#botones_reseñas #ver_reseñas {
    background-color: var(--rojo);
    padding: 15px;
    color: var(--blanco);
    border-radius: 12px;
    font-size: 18px;
    font-weight: 600;
    box-shadow: 0px 0px 8px var(--sombra);
}

div#ubicacion div div#botones_reseñas #escribir_reseña {
    background-color: var(--negro);
    padding: 15px;
    color: var(--blanco);
    border-radius: 12px;
    font-size: 18px;
    font-weight: 600;
    box-shadow: 0px 0px 8px var(--sombra);
}

/*
    Productos ////////////////////////////////////////////////////////////////////////////////////
*/

div#nuestros_productos h1 {
    font-size: 5rem;
    font-weight: bold;
    color: var(--negro);
    padding: 25px 0;
}

div#nuestros_productos h1::after {
    content: "";
    margin: .05rem 0;
    display: block;
    width: 50%;
    height: 2px;
    background: linear-gradient(to right,
        var(--rojo) 0%,      /* Roja */
        var(--rojo) 25%,     /* Franja roja */
        var(--amarillo) 25%,     /* Amarilla */
        var(--amarillo) 75%,     /* Franja amarilla (doble ancho) */
        var(--rojo) 75%      /* Franja roja */
    );
}

.producto {
    background: var(--negro);
    overflow: hidden;
    box-shadow: 0px 0px 5px var(--sombra);
    border-radius: 5px;
    transition: all .3s linear;
    height: 360px;
    width: 255px;
}

.producto:hover {
    transform: scale(1.02);
}

.producto .img-producto {
    width: 100%;
    height: 250px;
}

.producto .info-producto {
    height: 110px;
    text-align: center;
    padding: 10px;
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-direction: column;
    z-index: 2;
}

.producto .info-producto h3 {
    font-size: 17px;
    color: var(--blanco);
    font-weight: 600;
    text-transform: capitalize;
    letter-spacing: 1px;
}

.producto .info-producto .precio {
    font-size: 24px;
    color: var(--blanco);
    font-weight: 500;
    letter-spacing: 1px;
}

/*
    Animación Página Productos ////////////////////////////////////////////////////////////////////////////////////
*/

div#productos a div {
    opacity: 0;
    /* transform: translateY(-100%); */
    animation: lineUP .9s ease-in-out forwards;
}

@keyframes lineUP {
    to {
        opacity: 1;
        /* transform: translateY(0); */
    }
    
}

/*
    Filtros Productos ////////////////////////////////////////////////////////////////////////////////////
*/

div#filtros ul {
    padding: 0;
}

h3#hamburguer_filtros .fa-bars {
    display: none;
}

div#filtros ul li {
    cursor: pointer;
    max-width: 75%;
    margin: 1rem 0;
    padding: 10px 15px;
    border: 1px solid var(--negro);
    color: var(--negro);
    border-radius: 5px;
    font-weight: bold;
    transition: all .3s linear;
    text-transform: capitalize;
}

div#filtros ul li.activo {
    /* background: var(--rojo_transp); */
    background: linear-gradient(to top,
        var(--rojo_transp) 0%,      /* Roja */
        var(--rojo_transp) 25%,     /* Franja roja */
        var(--amarillo_transp) 25%,     /* Amarilla */
        var(--amarillo_transp) 75%,     /* Franja amarilla (doble ancho) */
        var(--rojo_transp) 75%      /* Franja roja */
    );
    border-color: var(--rojo);
    box-shadow: 0px 0px 8px var(--sombra);
}

div#filtros ul li:hover {
    border-color: var(--rojo);
    box-shadow: 0px 0px 8px var(--sombra);
}

div#filtros #busqueda_producto {
    border-color: var(--negro);
}

div#filtros #busqueda_producto:focus {
    box-shadow: 0px 0px 8px var(--amarillo);
}

/*
    Boton Subir Página ////////////////////////////////////////////////////////////////////////////////////
*/

/* Estilos del botón flotante */
#btnSubir {
    position: fixed;
    bottom: 80px;
    right: 80px;
    display: none; /* Oculto al inicio */
    z-index: 999;
    transition: all 0.3s ease;
}

#btnSubir .fa-circle-up {
    background: linear-gradient(to top,
        var(--rojo_transp) 0%,      /* Roja */
        var(--rojo_transp) 25%,     /* Franja roja */
        var(--amarillo_transp) 25%,     /* Amarilla */
        var(--amarillo_transp) 75%,     /* Franja amarilla (doble ancho) */
        var(--rojo_transp) 75%      /* Franja roja */
    );
    color: var(--negro);
    font-size: 60px;
    text-decoration: none;
    border-radius: 50%;
    box-shadow: 0px 0px 8px var(--negro);
}

#btnSubir:hover {
    transform: scale(1.1);
}

/*
    Producto Individual ////////////////////////////////////////////////////////////////////////////////////
*/

.img-zoom-lens {
    position: absolute;
    width: 100px;
    height: 100px;
}

.img-zoom-lens:hover {
    border: 1px solid var(--negro);
    background: var(--rojo_transp);
}

.img-zoom-result {
    visibility: hidden;
    border: 1px solid #d4d4d4;
    width: 400px;
    height: 400px;
    position: absolute;
    left: 105%;
    top: 0;
}

div#img_prod:hover .img-zoom-result {
    visibility: visible;
}

div#img-container {
    width: 500px;
}

div#img_prod {
    width: 500px;
    height: 500px;
    position: relative;
}

div#mini-img-prod img {
    cursor: pointer;
    width: 70px;
    height: 70px;
    border-width: 0px;
    transition: all 1.3s linear;
}

div#mini-img-prod img:hover {
    border: 1px solid var(--negro);
}

div#info h1 {
    font-size: 3rem;
    font-weight: bold;
    color: var(--negro);
}

span#stock::before {
    content: "";
    margin: 0 .5rem 0 0;
    display: inline-block;
    width: 15px;
    height: 15px;
    border-radius: 100%;
    background: green;
}

span#sin_stock::before {
    content: "";
    margin: 0 .5rem 0 0;
    display: inline-block;
    width: 15px;
    height: 15px;
    border-radius: 100%;
    background: red;
}

span#precio {
    font-size: 2.2rem;
    display: block;
}

a#solicitar_info {
    background-color: var(--negro);
    padding: 10px;
    /* border-radius: 12px; */
    color: var(--blanco);
    font-size: 18px;
    font-weight: 600;
    box-shadow: 0px 0px 8px var(--sombra);
    letter-spacing: 1px;
}

h3#descripcion_prod {
    max-width: max-content;
}

h3#descripcion_prod::after {
    content: "";
    margin: .05rem 0;
    display: block;
    width: 50%;
    height: 2px;
    background: var(--rojo);
}

.carta_prod_rel {
    background: var(--negro);
    overflow: hidden;
    box-shadow: 0px 0px 5px var(--sombra);
    border-radius: 5px;
    transition: all .3s linear;
    height: 365px;
    width: 255px;
}

.carta_prod_rel:hover {
    transform: scale(1.02);
}

.carta_prod_rel .img-carta_prod_rel {
    width: 100%;
    height: 250px;
}

.carta_prod_rel .info-carta_prod_rel {
    height: 100px;
    text-align: center;
    padding: 10px;
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-direction: column;
    z-index: 2;
}

.carta_prod_rel .info-carta_prod_rel h3 {
    font-size: 17px;
    color: var(--blanco);
    font-weight: 600;
    text-transform: capitalize;
    letter-spacing: 1px;
}

.carta_prod_rel .info-carta_prod_rel .precio-carta_prod_rel {
    font-size: 24px;
    color: var(--blanco);
    font-weight: 500;
    letter-spacing: 1px;
}

/*
    Seccion Servicios ////////////////////////////////////////////////////////////////////////////////////
*/

/* div#nuestros_servicios h1 {
    font-size: 5rem;
    font-weight: bold;
    color: var(--negro);
    padding: 25px 0;
}

div#nuestros_servicios h1::after {
    content: "";
    margin: .05rem 0;
    display: block;
    width: 50%;
    height: 2px;
} */


/*
    Footer
*/

footer {
    background: var(--rojo);
    box-shadow: 0px 0px 8px var(--sombra);
}

/*
    Responsive ancho mínimo 1200px ////////////////////////////////////////////////////////////////////////////////////
*/

@media screen and (max-width: 1200px) {
    ul.nav-menu li.social a#telefono {
        font-size: 0;
    }

    ul.nav-menu li.social a#telefono .fa-phone-flip {
        font-size: 1.5rem;
    }

    div#slogan div h1 {
        font-size: 3rem;
    }

    div#slogan div h2 {
        font-size: 1rem;
    }

    .swiper {
        width: 90%;
    }

    .swiper-slide img {
        width: 100%;
        height: 250px;
        object-fit: cover;
        border-radius: 5px 5px 0px 0px;
    }

    .swiper-slide .info-producto {
        height: 100px;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .swiper-slide .nombre { 
        font-size: 15px;
        color: var(--blanco);
        font-weight: 600;
        text-transform: capitalize;
        letter-spacing: 1px;
    }

    .swiper-slide .precio { 
        font-size: 20px;
        color: var(--blanco);
        font-weight: 500;
        letter-spacing: 1px;
    }

    div#ubicacion div iframe {
        width: 600px;
        height: 350px;
    }

    div#ubicacion div div#botones_reseñas {
        width: 80%;
    }

    div#ubicacion div div#botones_reseñas #ver_reseñas {
        font-size: 15px;
    }

    div#ubicacion div div#botones_reseñas #escribir_reseña {
        font-size: 15px;
    }

    div#pagina_inicial h2, div#ubicacion h2 {
        font-size: 2.5rem;
    }

    div#nuestros_productos h1 {
        font-size: 3rem;
        padding: 15px 0;
    }

    .producto {
        height: 300px;
        width: 220px;
    }

    .producto .img-producto {
        height: 200px;
    }

    .producto .info-producto h3 {
        font-size: 15px;
    }

    .producto .info-producto .precio {
        font-size: 20px;
    }

    div#img-container {
        width: 100%;
        max-width: 400px;
    }

    div#img_prod {
        width: 100%;
        max-width: 400px;
        height: 400px;
    }

    .img-zoom-result {
        width: 300px;
        height: 300px;
        left: 105%;
        top: 0;
        right: 0;
    }

    div#mini-img-prod img {
        width: 50px;
        height: 50px;
    }

    div#info h1 {
        font-size: 2rem;
    }

    span#precio {
        font-size: 1.8rem;
    }

    a#solicitar_info {
        font-size: 16px;
        padding: 8px;
    }

    h3#descripcion_prod {
        font-size: 1.2rem;
    }

    h3#descripcion_prod::after {
        width: 30%;
    }

    .carta_prod_rel {
        height: 300px;
        width: 210px;
    }

    .carta_prod_rel .img-carta_prod_rel {
        height: 200px;
    }

    .carta_prod_rel .info-carta_prod_rel h3 {
        font-size: 15px;
    }

    .carta_prod_rel .info-carta_prod_rel .precio-carta_prod_rel {
        font-size: 20px;
    }

    /* Estilos del botón flotante */
    #btnSubir {
        bottom: 50px;
        right: 20px;
    }

    #btnSubir .fa-circle-up {
        font-size: 50px;
    }
}

/*
    Responsive ancho mínimo 992px ////////////////////////////////////////////////////////////////////////////////////
*/

@media screen and (max-width: 992px) {
    ul.nav-menu li a{
        font-size: 1.2rem;
    }

    ul.nav-menu li.social a#telefono .fa-phone-flip {
        font-size: 1.2rem;
    }

    .swiper {
        width: 100%;
    }

    div#ubicacion div iframe {
        width: 500px;
        height: 300px;
    }

    div#pagina_inicial h2, div#ubicacion h2 {
        font-size: 2rem;
        text-align: center;
    }

    div#filtros_categoria_responsive {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: start;
        display: flex;
        margin-bottom: 30px;
    }

    div#filtros_categoria_responsive li {
        height: fit-content;
        margin: .2rem !important;
    }

    div#nuestros_productos h1 {
        font-size: 2.5rem;
        padding: 10px 0;
        /* text-align: center; */
    }

    div#productos_responsive {
        flex-direction: column;
    }

    div#productos {
        justify-content: center !important;
    }

    .producto {
        height: 300px;
        width: 200px;
    }

    .producto .img-producto {
        height: 200px;
    }

    .producto .info-producto h3 {
        font-size: 15px;
    }

    .producto .info-producto .precio {
        font-size: 20px;
    }

    div#img-container {
        width: 100%;
        max-width: 350px;
    }

    div#img_prod {
        width: 100%;
        max-width: 350px;
        height: 350px;
    }

    .img-zoom-result {
        width: 250px;
        height: 250px;
        left: 105%;
        top: 0;
        right: 0;
    }

    div#mini-img-prod img {
        width: 50px;
        height: 50px;
    }

    div#info h1 {
        font-size: 1.8rem;
    }

    span#precio {
        font-size: 1.6rem;
    }

    a#solicitar_info {
        font-size: 14px;
        padding: 6px;
    }
    h3#descripcion_prod {
        font-size: 1rem;
    }
    h3#descripcion_prod::after {
        width: 30%;
    }
    .carta_prod_rel {
        height: 250px;
        width: 155px;
    }
    .carta_prod_rel .img-carta_prod_rel {
        height: 150px;
    }
    .carta_prod_rel .info-carta_prod_rel h3 {
        font-size: 13px;
    }
    .carta_prod_rel .info-carta_prod_rel .precio-carta_prod_rel {
        font-size: 18px;
    }
    /* Estilos del botón flotante */
    #btnSubir {
        bottom: 50px;
        right: 20px;
    }
    #btnSubir .fa-circle-up {
        font-size: 40px;
    }
}

/*
    Responsive ancho mínimo 768px ////////////////////////////////////////////////////////////////////////////////////
*/

@media screen and (max-width: 768px) {
    div#slogan {
        clip-path: polygon(50% 0, 100% 0%, 100% 100%, 0% 100%);

    }

    div#slogan div h1 {
        font-size: 2.5rem;
    }

    div#slogan div h2 {
        font-size: .9rem;
        padding: 0 1rem;
    }

    .swiper {
        width: 80%;
    }

    .swiper-slide img {
        height: 200px;
    }

    .swiper-slide .nombre { 
        font-size: 14px;
    }

    .swiper-slide .precio { 
        font-size: 18px;
    }

    div#ubicacion div iframe {
        max-width: 400px;
        height: 250px;
    }

    div#ubicacion div div#botones_reseñas {
        width: 100%;
        flex-direction: column;
    }

    div#ubicacion div div#botones_reseñas #ver_reseñas, #escribir_reseña {
        margin: .5rem 0;
        width: 70%;
        text-align: center;
    }

    div#pagina_inicial h2, div#ubicacion h2 {
        font-size: 1.8rem;
    }

    div#filtros_categoria_responsive {
        flex-direction: row;
        justify-content: start;
    }

    div#filtros_categoria_responsive li {
        width: fit-content;
        text-align: center;
        margin: 0.2rem !important;
        font-size: 15px;
    }

    div#nuestros_productos h1 {
        font-size: 2rem;
        padding: 10px 0;
        text-align: left;
    }

    div#productos_responsive {
        flex-direction: column;
        align-items: center;
    }

    div#productos {
        justify-content: center !important;
    }

    .producto {
        height: 290px;
        width: 180px;
        margin: 1rem 0;
    }

    .producto .img-producto {
        height: 180px;
    }

    .producto .info-producto h3 {
        font-size: 14px;
    }

    .producto .info-producto .precio {
        font-size: 18px;
    }

    div#img-container {
        width: fit-content;
    }

    div#img_prod {
        width: 250px;
        height: 250px;
    }

    .img-zoom-result {
        width: 130px;
        height: 130px;
        left: 105%;
        top: 0;
        right: 0;
    }

    div#mini-img-prod img {
        width: 40px;
        height: 40px;
    }

    div#info h1 {
        font-size: 1.4rem;
    }

    span#stock {
        font-size: 18px !important;
    }

    span#stock::before {
        width: 13px;
        height: 13px;
    }

    span#sin_stock {
        font-size: 18px !important;
    }

    span#sin_stock::before {
        width: 13px;
        height: 13px;
    }

    span#precio {
        font-size: 1.4rem;
    }

    a#solicitar_info {
        font-size: 12px;
        padding: 5px;
    }

    h3#descripcion_prod {
        font-size: .9rem;
    }

    h3#descripcion_prod::after {
        width: 30%;
    }

    div#productos_relacionados div {
        justify-content: center !important;
    }

    .carta_prod_rel {
        height: 220px;
        width: 140px;
    }

    .carta_prod_rel .img-carta_prod_rel {
        height: 120px;
    }

    .carta_prod_rel .info-carta_prod_rel h3 {
        font-size: 12px;
    }

    .carta_prod_rel .info-carta_prod_rel .precio-carta_prod_rel {
        font-size: 16px;
    }

    /* Estilos del botón flotante */
    #btnSubir {
        bottom: 50px;
        right: 20px;
    }
    #btnSubir .fa-circle-up {
        font-size: 40px;
    }
}

/*
    Responsive ancho mínimo 650px para la imagen de index.php ////////////////////////////////////////////////////////////////////////////////////
*/

@media screen and (max-width: 650px) {
    div#intro img {
        height: 60vh;
    }
}

/*
    Responsive ancho mínimo 480px ////////////////////////////////////////////////////////////////////////////////////
*/

@media screen and (max-width: 480px) {
    div#slogan div h1 {
        font-size: 2rem;
    }

    div#slogan div h2 {
        font-size: .8rem;
        padding: 0 .5rem;
    }

    .swiper {
        width: 100%;
    }

    .swiper-slide img {
        height: 180px;
    }

    .swiper-slide .nombre { 
        font-size: 12px;
    }

    .swiper-slide .precio { 
        font-size: 16px;
    }

    div#ubicacion div iframe {
        max-width: 300px;
        height: 200px;
    }

    div#ubicacion div div#botones_reseñas #ver_reseñas, #escribir_reseña {
        font-size: 14px;
        width: 90%;
    }

    div#pagina_inicial h2, div#ubicacion h2 {
        font-size: 1.5rem;
    }

    h3#hamburguer_filtros .fa-bars {
        display: inline;
    }

    h3#hamburguer_filtros {
        margin: auto;
        text-align: center;
        margin-bottom: 20px;
        /* max-width: fit-content; */
        border-radius: 5px;
        padding: 10px;
        font-weight: bold;
        /* border: 1px solid var(--negro); */
        box-shadow: 0px 0px 8px var(--sombra);
        background: linear-gradient(to top,
            var(--rojo_transp) 0%,      /* Roja */
            var(--rojo_transp) 25%,     /* Franja roja */
            var(--amarillo_transp) 25%,     /* Amarilla */
            var(--amarillo_transp) 75%,     /* Franja amarilla (doble ancho) */
            var(--rojo_transp) 75%      /* Franja roja */
        );
    }

    div#filtros_categoria_responsive {
        padding-bottom: 10px;
        border-bottom: 2px solid transparent;
        border-image: linear-gradient(to right, var(--rojo), var(--amarillo), var(--rojo));
        border-image-slice: 1;
        justify-content: center;
        display:none;
    }

    div#filtros_categoria_responsive.filtros_active {
        display:flex;
    }

    div#filtros_categoria_responsive li {
        max-width: 150px !important;
        height: fit-content;
        font-size: 13px;
    }

    div#nuestros_productos h1 {
        font-size: 1.6rem;
        padding: 10px 0;
        text-align: left;
    }

    div#productos {
        gap: 1rem !important;
    }

    .producto {
        height: 250px;
        width: 150px;
        margin: .5rem 0;
    }

    .producto .img-producto {
        height: 150px;
    }

    .producto .info-producto h3 {
        font-size: 12px;
    }

    .producto .info-producto .precio {
        font-size: 16px;
    }
    
    div#img-container img {
        height: 300px;
        width: 300px;
    }

    div#img-container {
        height: 300px;
        width: 300px;
    }

    div#producto-container {
        flex-direction: column;
        align-items: center;
        gap: 1rem !important;
    }

    div#img_prod {
        width: 150px;
        height: 150px;
        transition: opacity 1s ease;
    }

    .overlay {
        position: fixed;
        inset: 0;
        background: var(--sombra);
        opacity: 0;
        pointer-events: none;
        z-index: 998;
    }

    .overlay.active {
        opacity: 1;
        pointer-events: all;
    }

    .zoom {
        position: fixed;
        top: 40%;
        left: 15%;
        transform: translate(-50%, -50%) scale(1.4);
        z-index: 999;
        transition: transform 1s ease;
    }

    .img-zoom-result {
        display: none;
    }

    .img-zoom-lens {
        display: none;
    }

    div#mini-img-prod img {
        display: none;
    }

    div#info h1 {
        font-size: 1.4rem;
    }

    span#stock {
        font-size: 14px !important;
    }

    span#stock::before {
        width: 10px;
        height: 10px;
    }

    span#sin_stock {
        font-size: 14px !important;
    }

    span#sin_stock::before {
        width: 10px;
        height: 10px;
    }

    span#precio {
        font-size: 1.3rem;
    }

    small {
        font-size: 11px;
    }

    a#solicitar_info {
        font-size: 18px;
        padding: 5px 10px;
    }

    h3#descripcion_prod {
        font-size: .8rem;
    }

    h3#descripcion_prod::after {
        width: 30%;
    }

    .carta_prod_rel {
        height: 230px;
        width: 130px;
    }

    .carta_prod_rel .img-carta_prod_rel {
        height: 140px;
    }

    .carta_prod_rel .info-carta_prod_rel h3 {
        font-size: 11px;
    }

    .carta_prod_rel .info-carta_prod_rel .precio-carta_prod_rel {
        font-size: 14px;
    }

    /* Estilos del botón flotante */
    #btnSubir {
        bottom: 50px;
        right: 20px;
    }
    
    #btnSubir .fa-circle-up {
        font-size: 35px;
    }
}

/*
    Responsive ancho mínimo 355px ////////////////////////////////////////////////////////////////////////////////////
*/

@media screen and (max-width: 355px) {
    div#intro img {
        height: 40vh;
    }

    div#slogan div h1 {
        font-size: 1.5rem;
    }

    div#slogan div h2 {
        font-size: .7rem;
        padding: 0 .3rem;
    }

    .swiper {
        width: 100%;
    }

    .swiper-slide img {
        height: 140px;
    }

    .swiper-slide .nombre { 
        font-size: 10px;
    }

    .swiper-slide .precio { 
        font-size: 14px;
    }

    div#ubicacion div iframe {
        max-width: 250px;
        height: 150px;
    }

    div#ubicacion div div#botones_reseñas #ver_reseñas, #escribir_reseña {
        font-size: 12px !important;
    }

    div#pagina_inicial h2, div#ubicacion h2 {
        font-size: 1.2rem;
    }

    div#filtros_categoria_responsive li {
        font-size: 12px;
        padding: 6px 8px;
    }

    div#nuestros_productos h1 {
        font-size: 1.2rem;
        padding: 10px 0;
        text-align: left;
    }

    div#productos {
        gap: .5rem !important;
    }

    .producto {
        height: 225px;
        width: 120px;
        margin: .5rem 0;
    }

    .producto .img-producto {
        height: 140px;
    }

    .producto .info-producto h3 {
        font-size: 10px;
    }

    .producto .info-producto .precio {
        font-size: 14px;
    }

    div#img-container {
        width: 240px;
        height: 240px;
    }

    div#img-container img {
        width: 240px;
        height: 240px;
    }

    div#img_prod {
        width: 150px;
        height: 150px;
    }

    .zoom {
        top: 30%;
        left: 28%;
        transform: translate(-50%, -50%) scale(1.2);
        z-index: 999;
    }

    .img-zoom-result {
        display: none;
    }

    .img-zoom-lens {
        display: none;
    }

    div#mini-img-prod img {
        display: none;
    }

    div#info h1 {
        font-size: 1.2rem;
    }

    span#stock {
        font-size: 12px !important;
    }

    span#stock::before {
        width: 8px;
        height: 8px;
    }

    span#sin_stock {
        font-size: 12px !important;
    }

    span#sin_stock::before {
        width: 8px;
        height: 8px;
    }

    span#precio {
        font-size: 1.2rem;
    }

    a#solicitar_info {
        font-size: 15px;
        padding: 5px 10px;
    }

    h3#descripcion_prod {
        font-size: .7rem;
    }

    h3#descripcion_prod::after {
        width: 30%;
    }

    .carta_prod_rel {
        height: 210px;
        width: 120px;
    }

    .carta_prod_rel .img-carta_prod_rel {
        height: 120px;
    }

    .carta_prod_rel .info-carta_prod_rel h3 {
        font-size: 10px;
    }

    .carta_prod_rel .info-carta_prod_rel .precio-carta_prod_rel {
        font-size: 12px;
    }

    /* Estilos del botón flotante */
    #btnSubir {
        bottom: 50px;
        right: 20px;
    }
    #btnSubir .fa-circle-up {
        font-size: 30px;
    }
}

/*
    Navegación ////////////////////////////////////////////////////////////////////////////////////
*/

/* ==== Header fijo ==== */
.header-fijo {
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9999; /* siempre por encima */
    background: var(--rojo); /* importante para que no sea transparente */
    box-shadow: 0px 0px 8px var(--sombra);
}

/* ==== Ajustes de la navegación ==== */
.menu_navegacion {
    display: flex;
    justify-content: start;
    align-items: center;
    padding: .5rem 1rem;
    position: relative;
}

.nav-header {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 15%;
}

.nav-menu {
    display: flex;
    justify-content: start;
    width: 85%;
    gap: 1rem;
}

.nav-menu li.social {
    margin-left:auto ;
}

.nav-menu li a {
    margin: 0rem .4rem;
    font-size: 1.5rem;
    text-transform: uppercase;
    color: var(--blanco);
    transition: all .2s ease-in-out;
}

.nav-menu li:not(.social) {
    transition: all .2s ease-in-out;
    font-weight: bold;
}

.nav-menu li:not(.social):hover {
    transform: scale(1.15);
}

.logo img {
    height: 100px;
}

/* Botón hamburguesa */
.hamburger {
    font-size: 1.5rem;
    background: none;
    border: none;
    cursor: pointer;
    display: none; /* oculto en escritorio */
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
    .logo img {
        height: 75px;
    }

    .nav-menu li.social {
        margin-left:0 ;
    }

    .nav-header {
        display: flex;
        width: 100%;
        justify-content: space-between;
    }

    .hamburger i{
        color: var(--blanco);
        font-size: 2rem;
    }

    .hamburger {
        display: block;
    }

    .nav-menu {
        position: fixed;
        top: -100%; /* oculto fuera de la pantalla */
        left: 0;
        width: 100%;
        height: fit-content; /* ocupa toda la altura */
        background: var(--rojo);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding: 1rem 0;
        margin: 0;
        gap: 1rem;
        transition: top 0.4s ease-in-out;
        z-index: 10000;
        display: flex;
        box-shadow: 0px 8px 8px var(--sombra);
    }

    .nav-menu.active {
        top: 90px
    }

    .nav-menu li {
        margin: .5rem 0;
    }

    .social {
        display: flex;
        align-items: center;
        gap: 1rem;
    }
}