/* ---------------------------------------- */
/* || SECCION DEL IMPORT */
/* *** */

@import url('./styles.css');
@import url('./styles-index/navbar.css');



/* ---------------------------------------- */
/* || SECCION DEL Mensaje */
/* *** */

.icono {
    display: none;
    cursor: pointer;
    color: #FEFEFE;
    font-size: 5rem;
}



.cuadro__pedido {
    width: 300px;
    height: 60%;

    background-color: rgb(240, 240, 240);

    position: fixed;
    top: 100px;
    right: 30px;

    z-index: 99999;

    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;

    display: flex;
    row-gap: 2vh;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}





.cuadro__pedido .cuadro__pedido--ocultar {
    background-color: rgb(221, 221, 221);
    width: 15%;
    height: 5%;
    text-align: center;

    margin-top: 10px;
    margin-bottom: auto;
    margin-right: auto;
    margin-left: 15px;

    box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 12px;
    cursor: pointer;

}

.cuadro__pedido .cuadro__pedido--chat {
    background-color: rgb(255, 255, 255);
    flex-grow: 1;
    width: 90%;
    height: 1fr;

    padding-top: 2 0px;
}

.cuadro__pedido--enviar {
    margin-bottom: 10px;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    cursor: pointer;

}

#chat--default {
    color: rgb(189, 189, 189);
}

.cuadro__pedido--enviar img {
    margin: auto 0;
}

.cuadro__pedido--enviar p {
    text-align: center;
    flex-grow: 1;
}


/* Cuadro mensaje responsive */

.cuadro__pedido-hidden {


    position: fixed;
    left: 0;
    bottom: -10px;
    height: 10%;
    width: 100%;

    outline: 2px solid rebeccapurple;

    background-color: white;
    z-index: 99999;

    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;

    display: flex;
    row-gap: 2vh;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    flex-wrap: nowrap;

}

.uncrouched {
    bottom: 0px;
    height: 40%;
}

.cuadro__pedido-hidden--btnocultar {
    color: white;
}

.cuadro__pedido-hidden--btnocultar p {
    cursor: pointer;
    font-size: 4vh;
    color: #e7bd00;
}

.cuadro__pedido-hidden--chat {
    background-color: #e2e2e2;
    width: 90%;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.cuadro__pedido-hidden--chat p {
    flex-basis: 100%;
    margin-bottom: 2vh;
}

.hidden {
    display: none;
}

/* ---------------------------------------- */
/* || SECCION DE tarjeta */
/* *** */

.tamales {
    margin-top: 5vh;
    /* display: flex;
    justify-content: center;
    column-gap: 4vw */

    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    column-gap: 2vw;
    row-gap: 2vh;
}

.tamales__tarjeta {
    height: 400px;
    width: 300px;
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
    justify-self: center;

    background-color: #fafafa;

    display: flex;
    flex-wrap: wrap;

    align-items: center;
    justify-content: center;
    gap: 5px;
}

.tamales h2 {
    margin-top: 4vh;
    font-size: clamp(2vh, 4vh, 5vh);
    grid-column: 1/-1;
}

.tamales__tarjeta figure {
    display: flex;
    justify-content: center;

    max-height: 150px;

    padding-top: 1vh;

    flex-basis: 100%;
}


.tamales__tarjeta figure img {
    max-width: 90%;
    max-height: 30%;
    object-fit: cover;
}




.tamales__tarjeta .tamales_tipo {
    font-size: 35px;
    flex-basis: 100%;
    text-align: center;
}

.tamales__tarjeta p {
    text-align: center;
}

.tamales__tarjeta .tamales__tarjeta--button {
    margin: 0 auto;
    padding: 5px;
    color: #fefefe;
    border-radius: 1vh;
}

.agregar {
    background-color: rgb(108, 179, 49);
    height: 12%;
    flex-basis: 70%;
}

.quitar {
    background-color: rgb(168, 70, 70);
    flex-basis: 40%;
}




/* ---------------------------------------- */
/* || SECCION DEL RESONSIVE - MEDIA QUERIES */
/* *** */

@media screen and (max-width: 990px) {
    #navmenu-principal {
        display: none;
    }

    .menu__lista {
        /* display: none; */
        position: fixed;
        top: 80px;

        height: 100vh;
        width: 80vw;

        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: space-around;

        transition: all 0.5s ease-in-out;

        /* fallback for old browsers */
        background: -webkit-linear-gradient(to right, #F37335, #FDC830);
        /* Chrome 10-25, Safari 5.1-6 */
        background: linear-gradient(to right, #F37335, #FDC830);
        /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */

    }

    .menu__lista li {
        list-style: none;
        color: #FEFEFE;
        font-size: 10vh;
        margin-left: 3ch;
        margin-right: 3ch;

        margin: auto;


        flex-basis: 1;

    }

    .menu__lista li a {
        list-style: none;
        color: #FEFEFE;
        font-size: 6vh;
        margin-left: 3ch;
        margin-right: 3ch;

        margin: auto;


        flex-basis: 1;
    }

    .menu__logo {
        max-height: 150px;
        display: flex;
        justify-content: center;
    }

    .icono {
        display: flex;


        cursor: pointer;
        color: #FEFEFE;
        font-size: 2rem;
    }
}