.modal-checkout {
    width: 100%;
    height: 100%;
    position: absolute;
    background-color: rgba(0,0,0,0.4);
    z-index: 1100;
    display: flex;
    justify-content: center;
}
.container-modal-checkout {
    width: 96%;
    height: 16rem;
    background-color: rgba(230,230,230,1);
    margin-top: 13rem;
    border-radius: 0.2rem;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
}
.container-modal-checkout p {
    font-family: var(--font2);
    font-size: 1.1rem;
    color: rgba(0,0,0,0.8);
}




.container-general-carrito {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    margin-top: 1rem;
}
.container-productos-carrito {
    width: 96%;
    display: flex;
    flex-direction: column;
    background-color: white;
    border-radius: 0.2rem;
    padding: 0.5rem;
    gap: 0.5rem;
}
.box-carrito2 {
    width: 100%;
    padding: 0.5rem;
    border: 1px solid rgba(0,0,0,0.2);
    border-radius: 0.2rem;
    position: relative;
    display: flex;
    align-items: center;
}
.input-delete-cart {
    width: 1.2rem;
    height: 1.2rem;
    color: rgba(0,0,0,0.2);
    position: absolute;
    cursor: pointer;
    top: 1px;
    right: 1px;
}
.box-info-producto {
    width: 100%;
    display: flex;
    padding-right: 0.5rem;
    gap: 0.3rem;
}
.box-imagen-producto {
    width: 6rem;
    height: 5.5rem;
}
.box-imagen-producto img {
    width: 100%;
    height: 100%;
    object-fit: cover; 
    display: block;
}
.box-info-producto2 {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    padding-top: 0.5rem;
}
.label-nombre-producto {
    font-family: var(--font2);
    font-size: 0.8rem;
    font-weight: bold;
}
.box-precios-producto {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.precio-producto {
    font-family: var(--font2);
    font-size: 0.8rem;
    color: rgba(0,0,0,0.8);
}
.precio2-producto {
    font-family: var(--font2);
    font-size: 0.8rem;
    text-decoration: line-through;
    color: rgba(0,0,0,0.5);
}
.p-producto-agotado {
    font-family: var(--font2);
    font-size: 0.7rem;
    font-weight: bold;
    color: red;
}
.box-info-producto3 {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.5rem;
}
.box-cantidad-producto , .box-total-producto {
    width: 9rem;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 0.3rem;
}
.box-inputs-cantidad {
    width: 6rem;
    height: 2rem;
    border: 1px solid rgba(0,0,0,0.3);
    border-radius: 0.2rem;
    display: flex;
    padding: 0.5rem;
    justify-content: space-around;
}
.input-text-cantidad {
    width: 33%;
    text-align: center;
    font-family: var(--font2);
    outline: none;
    border: none;
    font-size: 0.8rem;
    color: rgba(0,0,0,0.5);
}
.input-cantidad {
    font-family: var(--font2);
    background-color: white;
    border: none;
    font-size: 0.9rem;
    cursor: pointer;
    color: rgba(0,0,0,0.5);
}
.unidades-producto {
    width: 100%;
    display: flex;
    justify-content: center;
    font-family: var(--font2);
    font-size: 0.7rem;
    font-weight: bold;
    color: rgba(0,0,0,0.5);
}
.box-total-producto {
    font-family: var(--font2);
    font-size: 0.9rem;
    color: rgba(0,0,0,0.7);
    font-weight: bold;
}
.container-info-carrito {
    width: 96%;
    background-color: white;
    border-radius: 0.2rem;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    position: sticky;
    z-index: 1000;
    top: 20px;
}
.input-cupon {
    width: 65%;
    border: 1px solid rgba(0,0,0,0.3);
    border-radius: 0.2rem;
    padding: 0.5rem 0.5rem;
    outline: none;
    font-family: var(--font2);
    color: rgba(0,0,0,0.7);
}
.input-aplicar-cupon {
    width: 30%;
    padding: 0.5rem 0rem;
    background-color: var(--rojo-secundario);
    font-family: var(--font2);
    font-weight: bold;
    color: rgba(255,255,255,1);
    border: none;
    border-radius: 0.2rem;
    cursor: pointer;
}
.container-spinner {
    width: 100%;
    display: flex;
    justify-content: center;
}
.box-info {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: var(--font2);
    font-size: 0.9rem;
}
.container-total {
    width: 100%;
    display: flex;
    justify-content: space-between;
    font-family: var(--font2);
    font-weight: bold;
    font-size: 1.2rem;
}
.container-info-carrito a {
    width: 100%;
}
.input-continuar {
    width: 100%;
    height: 2rem;
    font-family: var(--font2);
    font-size: 0.9rem;
    background-color: var(--rojo-secundario);
    color: white;
    border: none;
    border-radius: 0.2rem;
    cursor: pointer;
}

.container-no-carrito {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 2rem;
    gap: 0.3rem;
}
.inp-carrito2 {
    width: 5rem;
    height: 5rem;
    color: rgba(0,0,0,0.7);
}
.container-no-carrito p {
    font-family: var(--font2);
    font-size: 1.3rem;
    color: rgba(0,0,0,0.7);
}



/* CHECKOUT */
.container-detalles-pedido {
    width: 96%;
    display: flex;
    flex-direction: column;
    background-color: white;
    border-radius: 0.2rem;
    padding: 1rem;
}
.icono-atras {
    width: 1.2rem;
    height: 1.2rem;
    cursor: pointer;
    margin-bottom: 1rem;
}
.label-detalles-pedido {
    font-family: var(--font2);
    font-size: 1.1rem;
    font-weight: bold;
}
.container-inputs-detalles-pedido {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.box-detalles-pedido, .container-horarioss {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    position: relative;
}
.box-labels-checkout {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    margin-bottom: 0.2rem;;
}
.label-detalle-pedido2 {
    font-family: var(--font2);
    font-size: 0.8rem;
    font-weight: bold;
    margin-left: 0.2rem;
}
.p-campo-obligatorio {
    font-family: var(--font2);
    font-size: 0.7rem;
    font-weight: bold;
    color: var(--rojo-secundario);
}
.label-telefono, .label-email {
    margin-top: 0.5rem;
}
.input-nombre-cliente, .input-email-cliente, .input-telefono-cliente {
    width: 100%;
    height: 2.2rem;
    border: 1px solid rgba(0,0,0,0.2);
    border-radius: 0.2rem;
    background-color: white;
    text-align: left;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
    font-family: var(--font2);
    font-size: 0.8rem;
    color: rgba(0,0,0,0.7);
    outline: none;
}
.input-date-pedido {
    width: 100%;
    height: 2.2rem;
    border: 1px solid rgba(0,0,0,0.2);
    border-radius: 0.2rem;
    background-color: white;
    text-align: left;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
    font-family: var(--font2);
    font-size: 0.8rem;
    color: rgba(0,0,0,0.7);
    cursor: pointer;
    outline: none;
}
.flatpickr-calendar {
    width: 15rem;
    padding: 0.5rem;
}
.flatpickr-innerContainer {
    width: 100%;
}
.dayContainer {
    background-color: #e0e0e0; /* gris claro */
}
.flatpickr-day {
    background-color: white;
    font-weight: bold;
}
.flatpickr-day.today {
    border: none;
}
.flatpickr-day:hover, .flatpickr-day.today:hover {
    background-color: #569ff7;
    color: white;
}
.flatpickr-day.flatpickr-disabled, .flatpickr-day.disabled {
    color: rgba(0,0,0,0.3) !important;      
    cursor: not-allowed;
    opacity: 1 !important;
    background-color: #e0e0e0; /* gris claro */
}


.container-tipo-entrega, .container-direccion-entrega, .container-hora-entrega, .container-formas-de-pago {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}
.box-tipo-entrega, .box-direccion-entrega, .box-hora-entrega, .box-formas-de-pago {
    width: 100%;
    display: flex;
    gap: 0.5rem;
    border: 1px solid rgba(0,0,0,0.2);
    padding-left: 0.5rem;
    padding-right: 0.5rem;
    padding-top: 1rem;
    padding-bottom: 1rem;
    border-radius: 0.2rem;
    align-items: center;
    cursor: pointer;
}
.box-tipo-entrega input, .box-direccion-entrega input, .box-hora-entrega input, .box-formas-de-pago input {
    height: 0.8rem;
    width: 0.8rem;
    cursor: pointer;
    border: 1px solid rgba(0,0,0,0.5);
}
input[type="radio"] {
  accent-color: var(--rojo-base);
}
.box-tipo-entrega p, .box-direccion-entrega p, .box-hora-entrega p, .box-formas-de-pago p {
    font-family: var(--font2);
    font-size: 0.8rem;
    color: rgba(0,0,0,0.7);
}
.box-select {
    border: 1px solid var(--rojo-secundario);
    background-color: var(--rojo-rgba);
}
.container-nueva-direccion {
    width: 100%;
    border-radius: 0.2rem;
    display: flex;
    flex-direction: column;
    background-color: var(--white);
    gap: 1rem;
}
.container-nueva-direccion2 {
    width: 100%;
    border-radius: 0.2rem;
    display: flex;
    flex-direction: column;
    background-color: var(--white);
    gap: 1rem;
    padding: 1rem;
    border: 1px solid rgba(0,0,0,0.3);
}
.box-inputs-nueva-direccion {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}
.box-inputs-nueva-direccion label {
    font-family: var(--font2);
    font-size: 0.8rem;
    font-weight: bold;
    margin-left: 0.1rem;
}
.input-direccion {
    width: 100%;
    height: 2.2rem;
    border: 1px solid rgba(0,0,0,0.2);
    border-radius: 0.2rem;
    background-color: white;
    text-align: left;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
    font-family: var(--font2);
    font-size: 0.8rem;
    color: rgba(0,0,0,0.7);
    outline: none;
}
.box-mi-ubicacion {
    width: 12rem;
    display: flex;
    align-items: center;
    gap: 0.1rem;
    border-radius: 0.2rem;
    cursor: pointer;
    margin-top: 0.2rem;
}
.box-mi-ubicacion p {
    font-family: var(--font2);
    font-weight: bold;
    font-size: 0.8rem;
    color: var(--rojo-base);
    margin-top: 0.1rem;
}
.box-mapa {
    width: 100%;
    height: 20rem;
    background-color: white;
    border-radius: 0.2rem;
    border: 1px solid rgba(0,0,0,0.2);
    margin-top: 0.5rem;
}
.leaflet-control-attribution {
    display: none !important;
}
.modal-spinner {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.4);
    z-index: 1100;
    display: flex;
    justify-content: center;
    align-items: center;
}
.spinner-map {
    border: 12px solid rgba(255,255,255,0.9);
    border-top: 12px solid var(--rojo-base);
    border-radius: 50%;
    width: 4rem;
    height: 4rem;
    animation: spin 1s linear infinite;
    margin-top: 0.5rem;
    margin-left: 0.5rem;
}
.input-descripcion-direccion {
    width: 100%;
    height: 4rem;
    border: 1px solid rgba(0,0,0,0.2);
    border-radius: 0.2rem;
    background-color: white;
    text-align: left;
    padding: 0.5rem;
    font-family: var(--font2);
    font-size: 0.8rem;
    color: rgba(0,0,0,0.7);
    outline: none;
}
.text-pago {
    font-family: var(--font2);
    font-size: 0.8rem;
    margin-top: 0.1rem;
    margin-left: 0.1rem;
    color: rgba(0,0,0,0.8);
    font-weight: bold;
}
.input-continuar-pedido {
    width: 100%;
    height: 2rem;
    background-color: var(--rojo-secundario);
    font-family: var(--font2);
    font-size: 0.9rem;
    font-weight: bold;
    color: white;
    border: none;
    border-radius: 0.2rem;
    cursor: pointer;
}



@media (min-width: 480px) {

}
@media (min-width: 768px){
    .container-modal-checkout {
        width: 30rem;
    }
    .box-cantidad-producto , .box-total-producto {
        width: 15rem;
    }
    .input-delete-cart {
        top: 5px;
        right: 5px;
    }
    .input-continuar-pedido {
        width: 12rem;
    }
}
@media (min-width: 1024px) {
    .container-general-carrito {
        flex-direction: row;
        justify-content: center;
        align-items: flex-start;
    }
    .container-productos-carrito {
        width: 60%;
    }
    .container-info-carrito {
        width: 24rem;
    }
    .input-continuar {
        height: 2rem;
        font-family: var(--font2);
        font-size: 0.9rem;
        background-color: var(--rojo-secundario);
        color: white;
        border: none;
        border-radius: 0.2rem;
        cursor: pointer;
    }   
    .container-detalles-pedido {
        width: 60%;
    }
}
@media (min-width: 1400px){

}
@media (min-width: 1600px){

}






.hidd {
    display: none;
}