/* -- Contenedor general -- */
#carrito-contenedor {
    width: 100vw;
    height: 100vh;
    position: relative;
}

#contenido-carrito {
    width: 100vw;
    margin: 0 auto;
    padding: 0;
    max-width: 1250px;
    font-family: 'Comfortaa', cursive;
    
    display: flex;
    flex-direction: row-reverse;
    flex-wrap: nowrap;
    align-content: space-between;
    
    box-sizing: border-box;
}

@supports (display: grid) {
    #contenido-carrito {
        width: 100vw;
        margin: 0 auto;
        padding: 0;
        max-width: var(--max-width);
        font-family: var(--comfortaa);

        display: grid;
        grid-template: 
            'checkout pedidos';
        grid-template-columns: 300px calc(100% - 300px);

        box-sizing: border-box;
    }
}

    @supports (-ms-ime-align:auto) { /* Este es solamente para Microsoft Edge */
        #contenido-carrito {
            width: 100vw;
            margin: 0 auto;
            padding: 0;
            max-width: 1250px;
            font-family: 'Comfortaa', cursive;

            display: flex;
            flex-direction: row-reverse;
            flex-wrap: nowrap;
            align-content: space-between;

            box-sizing: border-box;
        }
    }

/* -- ELEMENTOS DEL CHECKOUT -- */
#totalcheckout {
    width: 25%;
    margin-top: 150px;
    padding: 0;
    box-sizing: border-box;
}

@supports (display: grid) {
    #totalcheckout {
        width: auto;
        grid-area: checkout;
        margin-top: 150px;
        padding: 0;
        box-sizing: border-box;
    }
}

    @supports (-ms-ime-align:auto) { /* Este es solamente para Microsoft Edge */
        #totalcheckout {
            width: 25%;
            margin-top: 150px;
            padding: 0;
            box-sizing: border-box;
        }
    }

@media screen and (max-width: 1300px) { #totalcheckout { padding: 0 20px; } }
@media screen and (max-width: 865px) { #totalcheckout { padding: 0 20%; margin-bottom: 40px; } }
@media screen and (max-width: 550px) { #totalcheckout { padding: 0 10%; } }

    #direccion {
        display: flex;
        justify-content: center;
        align-items: center;
        text-align: center;
        padding: 5px 10px;
        color: #2a1410;
        text-shadow: 1px 1px white;
        background-color: #d4d94b;
        border-radius: 20px;
    }

#totalcheckout input {
    width: 100%;
    padding: 10px;
    margin: 10px 0;
    border: none;
    border-bottom: 2px solid #d4d94b;
    font-family: 'Comfortaa', cursive;
    font-size: 1em;
}

/* -- En esta sección no hay una especial para M.Edge porque no es necesaria -- */
@supports (display: grid) {
        #direccion {
            display: flex;
            justify-content: center;
            align-items: center;
            text-align: center;
            padding: 5px 10px;
            color: var(--cafe);
            text-shadow: 1px 1px var(--blanco);
            background-color: var(--verde);
            border-radius: 20px;
        }

    #totalcheckout input {
        width: 100%;
        padding: 10px;
        margin: 10px 0;
        border: none;
        border-bottom: 2px solid var(--verde);
        font-family: var(--comfortaa);
        font-size: 1em;
    }
}

#totalcheckout input:focus {
    outline: none;
}

#totalcheckout input[type="checkbox"], #totalcheckout input[type="radio"] {
    width: auto;
}

/* -- ELEMENTOS DEL CARRITO -- */
#carrito {
    width: 75%;
    display: flex;
    flex-direction: column;
}

#carrito-intro {
    width: 95%;
    height: 100px;
    margin: 20px auto 0 auto;
    padding: 10px;
    background-image: url(../imgs/habanero-club-card-add.gif);
    background-size: cover;
    background-position: center;
    border-radius: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2em;
    font-family: 'Anton', sans-serif;
    color: white;
    text-shadow: 1px 1px #a63919, 0px 0px 5px #a63919;
    text-transform: uppercase;
    line-height: 1.2em;
    text-align: center;
    box-sizing: border-box;
}

#carrito-intro-2 {
    width: 95%;
    height: 100px;
    margin: 0 auto 20px auto;
    padding: 10px;
    background-image: url(../imgs/habanero-club-card-add.gif);
    background-size: cover;
    background-position: center;
    border-radius: 20px;
    display: none;
    justify-content: center;
    align-items: center;
    font-size: 2em;
    font-family: 'Anton', sans-serif;
    color: white;
    text-shadow: 1px 1px #a63919, 0px 0px 5px #a63919;
    text-transform: uppercase;
    line-height: 1.2em;
    text-align: center;
    box-sizing: border-box;
} @media screen and (max-width: 300px) { #carrito-intro-2 { height: auto; } }

#carrito-titulo {
    width: 95%;
    height: auto;
    margin: 10px auto 0 auto;
    padding: 10px;
    display: none;
    justify-content: center;
    align-items: center;
    font-size: 2em;
    font-family: 'Comfortaa', cursive;
    color: #2a1410;
    text-shadow: 1px 1px #f15a22;
    text-align: center;
}

@supports (display: grid) {
    #carrito {
        width: auto;
        grid-area: pedidos;
        display: flex;
        flex-direction: column;
    }

    #carrito-intro {
        width: 95%;
        height: 100px;
        margin: 20px auto 0 auto;
        padding: 10px;
        background-image: url(../imgs/habanero-club-card-add.gif);
        background-size: cover;
        background-position: center;
        border-radius: 20px;
        display: flex;
        justify-content: center;
        align-items: center;
        font-size: 2em;
        font-family: var(--tipo1);
        color: var(--blanco);
        text-shadow: 1px 1px var(--naranja-oscuro), 0px 0px 5px var(--naranja-oscuro);
        text-transform: uppercase;
        line-height: 1.2em;
        text-align: center;
        box-sizing: border-box;
    }

    #carrito-intro-2 {
        width: 95%;
        height: 100px;
        margin: 0 auto 20px auto;
        padding: 10px;
        background-image: url(../imgs/habanero-club-card-add.gif);
        background-size: cover;
        background-position: center;
        border-radius: 20px;
        display: none;
        justify-content: center;
        align-items: center;
        font-size: 2em;
        font-family: var(--tipo1);
        color: var(--blanco);
        text-shadow: 1px 1px var(--naranja-oscuro), 0px 0px 5px var(--naranja-oscuro);
        text-transform: uppercase;
        line-height: 1.2em;
        text-align: center;
        box-sizing: border-box;
    } @media screen and (max-width: 300px) { #carrito-intro-2 { height: auto; } }

    #carrito-titulo {
        width: 95%;
        height: auto;
        margin: 10px auto 0 auto;
        padding: 10px;
        display: none;
        justify-content: center;
        align-items: center;
        font-size: 2em;
        font-family: var(--comfortaa);
        color: var(--cafe);
        text-shadow: 1px 1px var(--naranja);
        text-align: center;
    }
}

    @supports (-ms-ime-align:auto) { /* Este es solamente para Microsoft Edge */
        #carrito {
            width: 75%;
            display: flex;
            flex-direction: column;
        }

        #carrito-intro {
            width: 95%;
            height: 100px;
            margin: 20px auto 0 auto;
            padding: 10px;
            background-image: url(../imgs/habanero-club-card-add.gif);
            background-size: cover;
            background-position: center;
            border-radius: 20px;
            display: flex;
            justify-content: center;
            align-items: center;
            font-size: 2em;
            font-family: 'Anton', sans-serif;
            color: white;
            text-shadow: 1px 1px #a63919, 0px 0px 5px #a63919;
            text-transform: uppercase;
            line-height: 1.2em;
            text-align: center;
            box-sizing: border-box;
        }

        #carrito-intro-2 {
            width: 95%;
            height: 100px;
            margin: 0 auto 20px auto;
            padding: 10px;
            background-image: url(../imgs/habanero-club-card-add.gif);
            background-size: cover;
            background-position: center;
            border-radius: 20px;
            display: none;
            justify-content: center;
            align-items: center;
            font-size: 2em;
            font-family: 'Anton', sans-serif;
            color: white;
            text-shadow: 1px 1px #a63919, 0px 0px 5px #a63919;
            text-transform: uppercase;
            line-height: 1.2em;
            text-align: center;
            box-sizing: border-box;
        } @media screen and (max-width: 300px) { #carrito-intro-2 { height: auto; } }

        #carrito-titulo {
            width: 95%;
            height: auto;
            margin: 10px auto 0 auto;
            padding: 10px;
            display: none;
            justify-content: center;
            align-items: center;
            font-size: 2em;
            font-family: 'Comfortaa', cursive;
            color: #2a1410;
            text-shadow: 1px 1px #f15a22;
            text-align: center;
        }
    }

#allpedidos {
    margin: 0;
    padding: 30px;
    
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-content: space-between;
    
    box-sizing: border-box;
}

@supports (display: grid) {
    #allpedidos {
        margin: 0;
        padding: 30px;

        display: grid;
        grid-template-columns: repeat(4, 1fr);
        grid-template-rows: 300px;
        grid-gap: 10px;

        box-sizing: border-box;
    }
}

    @supports (-ms-ime-align:auto) { /* Este es solamente para Microsoft Edge */
        #allpedidos {
            margin: 0;
            padding: 30px;

            display: flex;
            flex-direction: row;
            flex-wrap: wrap;
            align-content: space-between;

            box-sizing: border-box;
        }
    }

@media screen and (max-width: 950px) { #allpedidos { grid-template-columns: repeat(3, 1fr); min-height: none; } }
@media screen and (max-width: 610px) { #allpedidos { grid-template-columns: repeat(2, 1fr); } }
@media screen and (max-width: 400px) { #allpedidos { grid-template-columns: repeat(1, 1fr); padding: 10px 50px; } }
@media screen and (max-width: 290px) { #allpedidos { grid-template-columns: repeat(1, 1fr); padding: 10px 20px; } }

.pedido {
    width: 24%;
    margin: .5%;
    height: 300px;
    padding: 10px;
    background-color: #2a1410;
    color: white;
    border-radius: 16px;
    box-sizing: border-box;
    position: relative;
} 

    .mealseleccionado {
        width: 100%;
        height: 70px;
        margin-bottom: 5px;
        border-radius: 10px;
    }

    .preciodelpedido {
        padding: 5px;
        color: #d4d94b;
        font-family: 'Comfortaa', cursive;
        font-size: 1.5em;
        text-align: center;
        box-sizing: border-box;
    } 

    .mainfood-pedido {
        color: white;
        display: block;
        margin-bottom: -35px;
    }

    .filling-pedido {
        font-size: .4em;
        color: white;
        text-transform: uppercase;
    }

    .options {
        width: 100%;
        height: 40px;
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: center;
        position: absolute;
        bottom: 10px;
        left: 0;
    } .options label, .options a {
        width: 35px;
        height: 35px;
        margin: 5px;
        border-radius: 50%;
        display: flex;
        justify-content: center;
        align-items: center;
        color: white;
        background-color: #f15a22;
        cursor: pointer;
        text-decoration: none;
    } .options label:hover, .options a:hover {
        background-color: #d4d94b;
        color: #2a1410;
    }

#pedido-extra {
    width: 24%;
    margin: .5%;
    height: 300px;
    border: 2px dashed #d4d94b;
    border-radius: 16px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2.5em;
    cursor: pointer;
    color: #d4d94b;
}

@supports (display: grid) {
    .pedido {
        width: auto;
        margin: 0;
        height: 300px;
        padding: 10px;
        background-color: var(--cafe);
        color: var(--blanco);
        border-radius: 16px;
        box-sizing: border-box;
        position: relative;
    } 

        .mealseleccionado {
            width: 100%;
            height: 70px;
            margin-bottom: 5px;
            border-radius: 10px;
        }

        .preciodelpedido {
            padding: 5px;
            color: var(--verde);
            font-family: var(--comfortaa);
            font-size: 1.5em;
            text-align: center;
            box-sizing: border-box;
        } 

        .mainfood-pedido {
            color: var(--blanco);
            display: block;
            margin-bottom: -35px;
        }

        .filling-pedido {
            font-size: .4em;
            color: var(--blanco);
            text-transform: uppercase;
        }

        .options {
            width: 100%;
            height: 40px;
            display: flex;
            flex-direction: row;
            justify-content: center;
            align-items: center;
            position: absolute;
            bottom: 10px;
            left: 0;
        } .options label, .options a {
            width: 35px;
            height: 35px;
            margin: 5px;
            border-radius: 50%;
            display: flex;
            justify-content: center;
            align-items: center;
            color: var(--blanco);
            background-color: var(--naranja);
            cursor: pointer;
            text-decoration: none;
        } .options label:hover, .options a:hover {
            background-color: var(--verde);
            color: var(--cafe);
        }

    #pedido-extra {
        width: auto;
        margin: 0;
        height: 300px;
        border: 2px dashed var(--verde);
        border-radius: 16px;
        display: flex;
        justify-content: center;
        align-items: center;
        font-size: 2.5em;
        cursor: pointer;
        color: var(--verde);
    }
}

    @supports (-ms-ime-align:auto) { /* Este es solamente para Microsoft Edge */
        .pedido {
            width: 24%;
            margin: .5%;
            height: 300px;
            padding: 10px;
            background-color: #2a1410;
            color: white;
            border-radius: 16px;
            box-sizing: border-box;
            position: relative;
        } 

            .mealseleccionado {
                width: 100%;
                height: 70px;
                margin-bottom: 5px;
                border-radius: 10px;
            }

            .preciodelpedido {
                padding: 5px;
                color: #d4d94b;
                font-family: 'Comfortaa', cursive;
                font-size: 1.5em;
                text-align: center;
                box-sizing: border-box;
            } 

            .mainfood-pedido {
                color: white;
                display: block;
                margin-bottom: -35px;
            }

            .filling-pedido {
                font-size: .4em;
                color: white;
                text-transform: uppercase;
            }

            .options {
                width: 100%;
                height: 40px;
                display: flex;
                flex-direction: row;
                justify-content: center;
                align-items: center;
                position: absolute;
                bottom: 10px;
                left: 0;
            } .options label, .options a {
                width: 35px;
                height: 35px;
                margin: 5px;
                border-radius: 50%;
                display: flex;
                justify-content: center;
                align-items: center;
                color: white;
                background-color: #f15a22;
                cursor: pointer;
                text-decoration: none;
            } .options label:hover, .options a:hover {
                background-color: #d4d94b;
                color: #2a1410;
            }

        #pedido-extra {
            width: 24%;
            margin: .5%;
            height: 300px;
            border: 2px dashed #d4d94b;
            border-radius: 16px;
            display: flex;
            justify-content: center;
            align-items: center;
            font-size: 2.5em;
            cursor: pointer;
            color: #d4d94b;
        }
    }

/* -- BOTÓN PAGAR -- */
#pagar-online, #pagar-delivery {
    width: 100%;
    max-width: 350px;
    height: auto;
    padding: 20px;
    margin: 20px 0;
    font-family: 'Comfortaa', cursive;
    background-color: #2a1410;
    border-radius: 20px;
    color: #d4d94b;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    cursor: pointer;
} #pagar-online:hover, #pagar-delivery:hover {
    color: white;
} .pointereventyes { pointer-events: all; } .pointereventnone { pointer-events: none; }

@supports (display: grid) {
    #pagar-online, #pagar-delivery {
        width: 100%;
        max-width: 350px;
        height: auto;
        padding: 20px;
        margin: 20px 0;
        font-family: var(--comfortaa);
        background-color: var(--cafe);
        border-radius: 20px;
        color: var(--verde);
        display: flex;
        justify-content: center;
        align-items: center;
        text-decoration: none;
        cursor: pointer;
    }
    
    #pagar-online:hover, #pagar-delivery:hover {
        color: var(--blanco);
    } .pointereventyes { pointer-events: all; } .pointereventnone { pointer-events: none; }
}

/* -- Esta sección es para los pedidos detallados -- */
.pedido-detallado-ventana {
    display: none;
} .pedido-detallado-ventana:target {
    width: 100vw;
    height: 100vh;
    background-color: rgba(212, 217, 75, .8); /*--VERDE--*/
    display: flex;
    justify-content: center;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
}

.pedido-detallado-contenedor {
    width: 95vw;
    max-width: 300px;
    height: auto;
    padding: 10px;
    background-color: #2a1410;
    border-radius: 15px;
    color: #d4d94b;
    font-size: .8em;
}

.pedido-platillo {
    display: block;
    width: 100%;
    height: auto;
    text-align: center;
    color: white;
    font-size: 2em;
    margin-bottom: 10px;
}

.pedido-opcion {
    display: block;
    color: white;
    margin-top: 15px;
}

.pedido-precio {
    display: block;
    width: 100%;
    height: auto;
    text-align: center;
    font-size: 2em;
    margin-top: 20px;
} .pedido-precio::first-line {
    color: white;
    font-size: .7em;
}

.pedido-extras {
    color: white;
    padding: 5px;
    margin-bottom: 5px;
    background-color: #f15a22;
    border-radius: 3px;
}

.pedido-postres {
    color: #2a1410;
    padding: 5px;
    margin-bottom: 5px;
    background-color: #d4d94b;
    border-radius: 3px;
}

@supports (display: grid) {
    .pedido-detallado-contenedor {
        width: 95vw;
        max-width: 300px;
        height: auto;
        padding: 10px;
        background-color: var(--cafe);
        border-radius: 15px;
        color: var(--verde);
        font-size: .8em;
    }

    .pedido-platillo {
        display: block;
        width: 100%;
        height: auto;
        text-align: center;
        color: var(--blanco);
        font-size: 2em;
        margin-bottom: 10px;
    }

    .pedido-opcion {
        display: block;
        color: var(--blanco);
        margin-top: 15px;
    }

    .pedido-precio {
        display: block;
        width: 100%;
        height: auto;
        text-align: center;
        font-size: 2em;
        margin-top: 20px;
    } .pedido-precio::first-line {
        color: var(--blanco);
        font-size: .7em;
    }

    .pedido-extras {
        color: var(--blanco);
        padding: 5px;
        margin-bottom: 5px;
        background-color: var(--naranja);
        border-radius: 3px;
    }

    .pedido-postres {
        color: var(--cafe);
        padding: 5px;
        margin-bottom: 5px;
        background-color: var(--verde);
        border-radius: 3px;
    }
}

/* -- -- -- -- -- Esta sección es para el mensaje de redireccionamiento -- -- -- -- -- */
#redireccionando {
    width: 100vw;
    height: 100vh;
    background-color: var(--verde);
    font-family: var(--comfortaa);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2em;
    
    position: fixed;
    top: 0;
    left: 0;
} #redireccionando div {
    width: 90vw;
    max-width: 500px;
    height: auto;
    text-align: center;
    padding: 10px;
    box-sizing: border-box;
    text-shadow: 2px 2px var(--blanco);
}

/* -- -- -- -- -- -- -- -- -- -- -- -- - -- -- -- -- -- -- -- -- -- -- -- -- */
/* -- -- -- -- -- -- CLASES PARA LOS ELEMENTOS DEL CARRITO -- -- -- -- -- -- */
/* -- -- -- -- -- -- -- -- -- -- -- -- - -- -- -- -- -- -- -- -- -- -- -- -- */
.fondoposition {
    background-position: center;
    background-size: cover;
}

.Burrito { background-image: url(../imgs/resume_order/opciones_seccion_1_1_selected.jpg); }
.Chile-con-carne { background-image: url(../imgs/resume_order/opciones_seccion_1_2_selected.jpg); }
.Quesadillas { background-image: url(../imgs/resume_order/opciones_seccion_1_3_selected.jpg); }
.Bowls-Salad { background-image: url(../imgs/resume_order/opciones_seccion_1_4_selected.jpg); }
.Enchiladas { background-image: url(../imgs/resume_order/opciones_seccion_1_5_selected.jpg); }
.Tostada-Tacos { background-image: url(../imgs/resume_order/opciones_seccion_1_6_selected.jpg); }
.Flautas { background-image: url(../imgs/resume_order/opciones_seccion_1_7_selected.jpg); }
.Tacos { background-image: url(../imgs/resume_order/opciones_seccion_1_8_selected.jpg); }



/* -- -- -- -- -- -- -- -- -- -- -- -- - - -- -- -- -- -- -- -- -- -- -- -- -- -- */
/* -- -- -- -- -- -- CLASES PARA el cuadrado de metodos de pago -- -- -- -- -- -- */
/* -- -- -- -- -- -- -- -- -- -- -- -- - - -- -- -- -- -- -- -- -- -- -- -- -- -- */
#metodos-de-pago {
    width: 100%;
    padding: 20px;
    border: 2px solid var(--naranja);
    border-radius: 10px;
}

.metodos-de-pago-option {
    font-size: .75em;
    display: flex;
    flex-direction: row;
    align-items: center;
} .metodos-de-pago-option span {
    display: inline-block;
    width: 90%;
    padding: 5px 10px;
}


/* -- -- -- -- -- -- -- -- -- -- -- - -- -- -- -- -- -- -- -- -- -- */
/* -- -- -- -- -- -- AQUÍ COMIENZA EL RRESPONSIVE -- -- -- -- -- -- */
/* -- -- -- -- -- -- -- -- -- -- -- - -- -- -- -- -- -- -- -- -- -- */
@media screen and (max-width: 865px) { 
    #contenido-carrito { 
        grid-template: 
            'pedidos' 'checkout';
        grid-template-columns: 100%;
    } 
    
    #carrito-titulo {
        display: flex;
    }
    
    #carrito-intro {
        display: none;
    }
    
    #carrito-intro-2 {
        display: flex;
    }
    
    #carrito {
        margin-top: 150px;
    }
    
    #totalcheckout {
        margin-top: 10px;
    }
}