@import url('footer.css'); 
@import url('https://fonts.googleapis.com/css2?family=Barlow:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Rubik+Doodle+Shadow&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@500&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Lemon&display=swap');

:root{
    --categorias: #303634;
}

*{
    color: black;
    margin: 0;
    padding: 0;
    font-family: "Barlow", sans-serif;
    font-size: 22px;
    text-decoration: none;
    list-style: none;
}
body{
    max-width: 100%;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* HEADER */

header{
    display: flex;
    justify-content: space-around;
    align-items: center;
    width: 100%;
    padding: 0.8rem;
    border-bottom: solid 1px;

    .logo{ width: clamp(11rem, 2vw + 1rem, 12rem); }

    .articulos{
        position: relative;
        display: flex;
        gap: 1rem;

        p{ font-size: 0.7rem; padding: 0.6rem; position: relative; }
        .categoria::after, .categoria:hover::after{
            content: "";
            position: absolute;
            border: solid 0px;
            width: 0;
            bottom: 0;
            left: 50%;
            transform: translate(-50%, -50%);
            transition: all 0.25s linear;
        }
        .productos::after, .categoria:hover::after{
            border: solid 1px;
            width: 100%;
        }
        .productos, .categoria:hover{ font-weight: bold; }
        .fa-bars{ font-size: 1.3rem; }
    }
    .sidebar{
        position: fixed;
        top: 0;
        right: 0;
        height: 100vh;
        width: 180px;
        z-index: 999;
        background-color: rgba(255, 255, 255, 0.5);
        -webkit-backdrop-filter: blur(10px);
        backdrop-filter: blur(10px);
        box-shadow: -10px 0 10px rgba(0, 0, 0, 0.1);
        display: none;
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;

        p{ width: 100%; }
        a{ width: 100%; }
    }
}


.seccion-productos{
    position: relative;
    padding: 1rem 0 0.8rem 0;

    .productos_titulo{
        padding: 1.2rem 0.8rem;
        h1{
            text-shadow: 0 2px 10px rgba(255, 255, 255, 0.5);
            font-size: 2rem;
            background: linear-gradient(to right, lightblue, #B8E5C1, lightgreen);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            text-align: center;
            font-family: 'Rubik Doodle Shadow', system-ui;
        }
    }

    .slider__img{
        object-fit: fill;
        height: 80%;
        position: relative;
        border: solid 1px lightgray;
    }
    .slider__img:hover, .slider__img:active{
        transform: translateY(-8px);
        box-shadow: 0 0 0 5px #fff, 0 5px 20px gray;
        /* box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.3); */
    }

    .puntos{
        display: flex;
        gap: 1rem;
        justify-content: center;
        align-items: center;
        /* background-color: blue; */

        .punto1, .punto2{
            width: 1.1rem;
            height: 1.1rem;
            border-radius: 50%;
            cursor: pointer;
            margin: 0.8rem 0;
            background: rgba(150, 150, 150, 0.1);
            box-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
            transition: 0.3s;
            /* border: solid 2px lightgray; */
        }
        .punto1.activo{ width: 1.8rem; border-radius: 15px; transform: scale(1.05); background: white; }
        .punto2.activo{ width: 1.8rem; border-radius: 15px; transform: scale(1.05); background: white; }
        .punto1:hover, .punto2:hover{ background: white; }
    }
    .puntos1{ display: none; } /* Activar en móviles */

    .slider__btn{
        position: absolute;
        width: 40px;
        height: 40px;
        text-align: center;
        cursor: pointer;
        top: 55%;
        transform: translateY(-50%);
        font-size: 1.4rem;
        font-weight: bold;
        font-family: monospace;
        background: #e0e5ec;
        border: none;
        border-radius: 50%;
        color: #4a5568;
        box-shadow: 8px 8px 16px rgba(163, 177, 198, 0.6),
                    -8px -8px 16px rgba(255, 255, 255, 0.8);
        transition: all 0.3s ease;
    }
    .btn__left{ left: -10%; display: none; }
    .btn__right{ right: -10%; }
    .slider__btn:hover{ background-color: #fff; }
}

/* Productos */
    .container-slider{
        width: 800px;
        margin: auto;
        overflow: hidden;
        position: relative;
        /* padding-top: 3rem; */
    }
    .slider{
        display: flex;
        width: 550%; /* Multiplicar las "n" imágenes por 100 y dividirlo entre 2 */
        height: 400px;
        padding: 1rem 0 0 0;
        transition: 0.5s;
        /* margin-left: -50%; */
    }
    .slider__img{
        width: 90%;
        height: 75%;
        margin-left: 1rem;
        object-fit: cover;
        box-shadow: 0 0 0 5px #fff, 0 0 20px gray;
        cursor: pointer;
        border-radius: 15px;
        transition: all 0.3s ease-in-out;
    }
    .slider__section{ width: 100%; }
    .slider__img:hover{ transform: translateY(-8px); }
    .slider__info{
        display: flex;
        justify-content: center;
    }
    .slider__p{
        margin: 0.8rem 0;
        font-size: 0.8rem;
        text-align: center;
        width: 80%;
        display: flex;
        justify-content: center;
    }


@media (max-width: 400px){
    .seccion-productos{
        .productos_titulo{
            padding: 0.2rem 0;
            h1{ font-size: 1.6rem; }
        }
        .div-productos{
            display: flex;
            flex-direction: column;
            gap: 0.2rem;
        }

        .puntos1{
            gap: 0.5rem;
            /* margin: 0.8rem 0; */

            .punto1{ width: 0.8rem; height: 0.8rem; }
            .punto1.activo{ width: 1.4rem; border-radius: 15px; transform: scale(1.05); background: white; }
        }
        .puntos1{ display: flex; }
        .puntos2{ display: none; }
    }

    .container-slider{
        width: 250px;
        /* overflow-x: scroll; */

        .slider{
            width: 1100%; /* Multiplicar las "n" imágenes por 100 y dividirlo entre 2 */
            height: 400px;

            .slider__imagen{
                display: flex;
                justify-content: center;
                align-items: center;
                margin-left: -1rem;

                .slider__img{ width: 90%; height: 300px; }
            }
            .slider__p{ font-size: 0.8rem; }
        }
    }

    .seccion-productos{
        .slider__btn{
            width: 35px;
            height: 35px;
            font-size: 1.25rem;
        }
        .btn__left{ left: -5%; top: 90%; }
        .btn__right{ right: -5%; top: 90%; }
    }
}

@media (max-width: 600px){ /* celulares */
    html, body{ overflow-x: hidden; }
    .Nav_compu{ display: none; }

}

@media (min-width: 401px) and (max-width: 600px){
    .seccion-productos{
        .productos_titulo h1{ font-size: 1.8rem; }
    }

    .container-slider{
        width: 250px;

        .slider{
            width: 1100%; /* Multiplicar las "n" imágenes por 100 y dividirlo entre 2 */
            height: 400px;

            .slider__imagen{
                display: flex;
                justify-content: center;
                align-items: center;
                margin-left: -1rem;

                .slider__img{ width: 90%; height: 300px; }
            }
            .slider__p{ font-size: 0.8rem; }
        }
    }

    .seccion-productos{
        .slider__btn{
            width: 35px;
            height: 35px;
            font-size: 1.25rem;
        }
        .btn__left{ left: 0%; top: 90%; }
        .btn__right{ right: 0%; top: 90%; }
    }
}

@media (min-width: 601px) and (max-width: 800px){ /* tablets */
    html, body{ overflow-x: hidden; }
    .Nav_compu{ display: none; }

    .seccion-productos{
        .productos_titulo h1{ padding: 0; }
    }
    .container-slider{
        width: 400px;
        padding: 0;

        .slider{
            width: 1100%; /* Multiplicar las "n" imágenes por 100 y dividirlo entre 2 */
            height: 420px;

            .slider__imagen{
                display: flex;
                justify-content: center;
                align-items: center;
                margin-left: -1rem;

                .slider__img{ width: 80%; height: 350px; }
            }
            .slider__p{ font-size: 0.9rem; }
        }
    }

    .seccion-productos{
        .btn__left{ left: -15%; top: 55%; }
        .btn__right{ right: -15%; top: 55%; }
    }
}

@media (min-width: 801px) and (max-width: 900px){
    body, html{ overflow-x: hidden; }
    .Nav_compu{ display: none; }
    .barra{ display: block; }

    .container-slider{ width: 650px; }

    .seccion-productos{
        .btn__left{ left: -10%; top: 55%; }
        .btn__right{ right: -10%; top: 55%; }
    }
}

@media (min-width: 901px) and (max-width: 1001px) {
    body, html{ overflow-x: hidden; }
    .barra{ display: none; }

    .container-slider{ width: 700px; }

    .seccion-productos{
        .btn__left{ top: 55%; }
        .btn__right{ top: 55%; }
    }
}

@media (min-width: 1002px){
    body, html{ overflow-x: hidden; }
    .barra{ display: none; }


}