.container-checkout {
    display: grid;
    font-family: 'Work Sans', serif;
    grid-template-columns: 1.5fr 1fr;
    grid-template-areas:
        "bread bread"
        "detail cart";
    overflow: hidden;
    padding: 15px;
    gap: 15px;
}

.container-checkout-detail {
    grid-area: detail;
    display: grid;
    flex-direction: column;
    text-align: left;
    grid-template-areas:
        "delivery"
        "promos"
        "typePayment"
        "note"
        "containerButtonPay";
    row-gap: 20px;
}
.container-checkout-cart{
    grid-area: cart;
    display: flex;
    flex-direction: column;
}

.container-checkout-delivery{
    display: flex;
    flex-direction: column;
    grid-area: delivery;
    flex-wrap: nowrap;
    height: 100%;
    align-items: stretch;
    justify-content: space-evenly;
}
.button-checkout-payment{
    display: flex !important;
    flex-direction: row-reverse;
    align-items: center;
    gap: 12px;
    padding: 20px !important;
    justify-content: space-between;
}
.button-checkout-delivery{
    display: flex !important;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 30px;
    padding: 20px !important;
}
.root-button-delivery{
    display: flex;
    width: 100%;
    flex-direction: row;
    justify-content: space-between;
    white-space: normal;
}
.header-div{
    font-weight: bold;
    text-align: center;
}
.container-text-button{
    display: flex;
    flex-direction: row;
    gap: 20px;
    justify-content: flex-start;
    align-items: center;
}

.bread-checkout {
    grid-area: bread;
    display: flex;
}
.button-checkout-cart{
    display: none !important;
    grid-area: buttonCart;
}

.input-checkout{
    box-shadow: -1px 1px 8px 0 #676262ad !important;
}
.item-delivery{
    color: black !important;
    background-color: #f3e9e9 !important;
    border-radius: 2px !important;
    gap: 10px;
    box-shadow: -3px 2px 3px 0px #e1d5d5;
    padding: 22px !important;
    width: 100%;
    font-weight: bold;
    display: flex;
    align-items: center;
    flex-direction: row;
    flex-wrap: nowrap;
}
.incomplete-delivery{
    background-color: #d73c3c !important;
    color: #ffffff !important;
    font-weight: bold;
    text-transform: initial !important;
    border: 0px !important;
    box-shadow: -1px 1px 6px 0px #d73c3c;
}

@media screen and (max-width: 700px)  {

    .container-checkout {
        display: grid;
        font-family: 'Work Sans', serif;
        grid-template-columns: 1fr;
        grid-template-areas:
        "bread "
        "buttonCart "
        "cart"
        "detail ";
        overflow: hidden;
        padding: 15px;
        gap: 15px;
    }
    .button-checkout-cart{
        display: flex !important;
        grid-area: buttonCart;
        align-items: center;
        gap: 15px;
        justify-content: center;
        flex-direction: row-reverse;
    }
    .container-checkout-cart{
        grid-area: cart;
        display: none !important;
    }
    .container-checkout-cart.active{
        grid-area: cart;
        display: block !important;
    }
    .container-promos {
        display: grid;
        flex-wrap: nowrap;
        width: 100%;
        height: 100%;
        grid-template-columns: 1fr;
        grid-template-rows: 1fr 1fr;
        grid-template-areas: "detail"
                             "cart";
        padding: 15px;
        gap: 15px;
    }
}
.container-items-promos {
    display: flex;
    margin-bottom: 25px;
    flex-direction: column;
    row-gap: 20px;
    padding: 20px;
    align-items: center;
    max-height: 300px;
}

.item-selected {
    margin: 0px !important;
    padding: 9px !important;
    box-shadow: -1px 1px 3px 1px #e1d5d5 !important;
    background-color: #fdfdfd !important;
    display: flex !important;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    gap: 0px !important;
}
.container-items-promos-checkout {
    display: flex;
    margin-bottom: 25px;
    flex-direction: column;
    row-gap: 20px;
    padding: 20px;
    align-items: stretch;
    max-height: 300px;
}
.container-typePayment {
    display: flex;
    flex-direction: column;
    row-gap: 10px;
    grid-area: typePayment;
}

.container-delivery {
    display: flex;
    flex-direction: column;
    justify-content: left;
}

/*
INICIO CSS DETAIL CHECKOUT
*/
.detail-order{
    grid-area: detail;
    padding: 15px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 30px;
}
.cart-order{
    grid-area: cart;
    width: 100%;
}
.container-payment-detail{
    display: flex;
    gap: 20px;
    flex-direction: row;
}
.description-checkout{
    gap: 6px;
    display: flex;
    flex-direction: column;
}
.container-upload-order{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}