.resto .resto-img {
    height: 170px;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}
.resto .resto-img > .titre {
    /* width: 100%; */
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 5px;
    font-size: 2em;
    /* font-weight: bold; */
    padding: 10px;
    color: #444;
    background: rgba(255, 255, 255, 0.6);
    /* border-radius: 3px; */
    border: 1px solid #fff;
    /* border-bottom: 1px solid #fff; */
    text-shadow: 0 0 2px #fff , 0 0 4px #555;
    box-shadow: 0 0 10px 0 #888;
}
.resto .resto-img > div > span {
    display: flex;
}
.resto .adresse {
    position: relative;
    border-bottom: 1px solid #eee;
}
.resto .adresse > div {
    /* border: 1px dashed; */
    position: relative;
    display: flex;
    flex-wrap: nowrap;
    padding: 10px 15px;
    gap: 5px;
    overflow-x: auto;
}
.resto .adresse > div > span {
    white-space: nowrap;
}
.resto .cat {
    padding: 10px 15px;
    border-bottom: 1px solid #eee;
    font-weight: bold;
}
/*
.resto .resto-img img {
    position: relative;
    width: 100%;
    height: 200px;
    object-fit: cover;
}
*/
.multicart {
    position: relative;
    display: grid;
    grid-template-rows: auto 1fr;
    justify-items: center;
    width: 100%;
    height: 100%;
}

.multicart > div {
    position: relative;
    display: flex;
    justify-content: center;
    width: 100%;
}

.multicart .multicart-top-title {
    width: 100%;
    max-width: 600px;
}

.multicart .multicart-top {
    border-bottom: 1px solid #ddd;
}

.multicart .multicart-top-title > div {
    padding: 10px;
}

.multicart .multicart-bdy {
    position: relative;
    display: flex;
    width: 100%;
    max-width: 600px;
    height: 100%;
    padding: 10px;
    overflow-y: auto;
    scrollbar-gutter: stable;
    border-left: 1px solid #ddd;
    border-right: 1px solid #ddd;
    background: #f9f9f9;
}

.multicart .multicart-bdy-cnt {
    position: relative;
    display: grid;
    align-content: start;
    width: 100%;
    height: 100%;
    gap: 10px;
}

.multicart .panier a {
    position: relative;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 5px;
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 10px;
    text-decoration: none;
    color: unset;
    background: #fff;
}

.multicart .multicart-bdy-hgt {
    height: 10px;
}

.multicart .panier-vide {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}

.multicart .panier-vide a {
    position: relative;
    display: inline-block;
    text-align: center;
    width: 100%;
    max-width: 300px;
    text-decoration: none;
    padding: 10px;
    color: #fff;
    text-shadow: 1px 1px 1px #000;
    border-radius: 5px;
    background: #555;
}
/* 
.checkout-helper {
    border: 1px dashed;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
}

.checkout-helper-div {
    border: 1px dashed;
    width: 100%;
    height: 100%;
    max-width: 1100px;
}
*/

/* .checkout-bg {
    border: 1px dashed;
    position: fixed;
    width: 100%;
    height: 100%;
} */

.checkout {
    display: flex;
    justify-content: center;
    height: 100%;
}

.checkout .checkout-grid {
    /* position: relative; */
    display: grid;
    grid-template-columns: 1fr 40%;
    align-content: flex-start;
    gap: 10px;
    padding: 5px 10px;
    width: 100%;
    height: 100%;
    max-width: 1000px;
    border-left: 1px solid #ccc;
    border-right: 1px solid #ccc;
    background: #f9f9f9;
    transition: transform 0.45s,opacity 0.45s cubic-bezier(0.6, 0.08, 0, 0.98);
    overflow-y: auto;
    scrollbar-gutter: stable;
}

/* .checkout .checkout-grid > div {
    background: #f9f9f9;
} */

/* .checkout .checkout-grid > div:nth-child(1),
.checkout .checkout-grid > div:nth-child(3) {
    border-left: 1px solid #ccc;
}

.checkout .checkout-grid > div:nth-child(2),
.checkout .checkout-grid > div:nth-child(4) {
    border-right: 1px solid #ccc;
} */

.checkout .pdg5 {
    /* padding: 5px 10px; */
    padding: 5px 0;
}

.checkout .pdg10 {
    padding: 10px;
}

.checkout .card {
    position: relative;
    background: #fff;
    border: 1px solid #ccc;
    border-radius: 5px;
    overflow: hidden;
}

.checkout .ttr {
    font-weight: bold;
    border-bottom: 1px solid #ccc;
}

.checkout .coords-btm {
    /* display: flex; */
    /* justify-content: center; */
    /* align-items: center; */
    /* gap: 5px; */
    border-top: 1px solid #ccc;
}
/* 
.checkout .coords-btm a {
    display: flex;
    justify-content: center;
    padding: 3px;
} 
*/
.checkout .coords-btm > div {
    display: flex;
    justify-content: center;
    padding: 3px;
    cursor: pointer;
    user-select: none;
    -moz-user-select: none;
    -webkit-user-select: none;
}

/* 
.checkout .edit {
    position: absolute;
    top: 0;
    right: 0;
}

.checkout .edit a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 41px;
    height: 41px;
    border: 1px solid #059d05;
    background: #f9f9f9;
    border-radius: 0 5px 0 0;
    cursor: pointer;
    user-select: none;
    -moz-user-select: none;
    -webkit-user-select: none;
}
*/

.checkout .checkout-continue {
    display: flex;
    justify-content: center;
    padding: 10px 20px;
}

.checkout .checkout-btns {
    display: grid;
    grid-template-columns: auto auto;
}

.checkout .checkout-btns > div a {
    display: flex;
    justify-content: center;
    text-decoration: none;
    color: unset;
}

.checkout .checkout-btns > div:first-child a {
    border-right: 1px solid #ccc;
}

/* .checkout .checkout-cnt,
.checkout .checkout-cart {
    padding: 5px 0;
} */

.checkout .checkout-service-chx {
    display: grid;
    grid-template-columns: auto auto auto;
    width: 100%;
}

.checkout .checkout-service-chx > div:nth-child(2) {
    border-left: 1px solid #ccc;
    border-right: 1px solid #ccc;
}

.checkout .checkout-service-chx > div {
    display: flex;
    justify-content: center;
    cursor: pointer;
    user-select: none;
    -moz-user-select: none;
    -webkit-user-select: none;
}

.checkout .delai-chx > div {
    /* display: grid; */
    /* grid-template-columns: auto 1fr; */
    /* display: flex; */
    /* justify-content: flex-start; */
    cursor: pointer;
    user-select: none;
    -moz-user-select: none;
    -webkit-user-select: none;
}

.checkout .delai-chx > div > span:first-child {
    display: inline-block;
    min-width: 90px;
}

.checkout .delai-chx > div:first-child {
    border-bottom: 1px solid #ccc;
}

.checkout .coords-cnt {
    overflow: hidden;
    transition: height 0.45s cubic-bezier(0.6, 0.08, 0, 0.98);
}

.checkout .coords-cnt a {
    text-decoration: none;
    color: unset;
}

.checkout .empty-cart {
    display: grid;
    align-content: center;
    gap: 10px;
    font-weight: bold;
}

.checkout .empty-cart a {
    position: relative;
    display: inline-block;
    text-align: center;
    width: 100%;
    max-width: 300px;
    text-decoration: none;
    padding: 10px;
    color: #fff;
    text-shadow: 1px 1px 1px #000;
    border-radius: 5px;
    background: #555;
}

/* .checkout .checkout-cart-top {
    border-bottom: 1px solid #ccc;
} */

.checkout .checkout-cart-top > div {
    display: flex;
    justify-content: space-between;
}

.checkout .checkout-cart-btm  {
    border-top: 1px solid #ccc;
    overflow: hidden;
    transition: height 0.45s cubic-bezier(0.6, 0.08, 0, 0.98);
}

.checkout .checkout-cart-btm > div > div {
    display: flex;
    justify-content: space-between;
}

.checkout-cart-bdy {
    height: 0;
    overflow: hidden;
    transition: height 0.45s cubic-bezier(0.6, 0.08, 0, 0.98);
}

.checkout-cart-cnt .cart-extand {
    flex-grow: 1;
}

.checkout-cart-cnt > .cart-prd {
    border-top: 1px solid #ccc;
    /* border-bottom: 1px solid #ccc; */
}

.checkout-cart-cnt .cart-prd-ttr {
    display: flex;
    justify-content: space-between;
}

.checkout-cart-cnt .cart-prd-ttr > div {
    padding: 10px;
}

.checkout-cart-cnt .cart-prd-ttr > div:first-child {
    font-weight: bold;
}

.checkout-cart-cnt .cart-cmp-ttr {
    padding: 0 10px;
    color: #666;
}

.checkout-cart-cnt .cart-chx {
    margin-bottom: 5px;
}

.checkout-cart-cnt .cart-chx-flx {
    display: flex;
    justify-content: space-between;
}

.checkout-cart-cnt .cart-chx-flx > div {
    padding: 0 10px;
}

.checkout-cart-cnt .cart-extra {
    display: flex;
    justify-content: space-between;
    gap: 5px;
}

.checkout-cart-cnt .cart-mnt {
    padding: 0 10px;
    color: #777;
}

.checkout-cart-cnt .cart-ttl-prd {
    display: grid;
    grid-template-columns: 33% auto 33%;
}

.checkout-cart-cnt .itm-qty {
    display: flex;
    justify-content: center;
    align-items: center;
    color: red;
    font-weight: bold;
    font-size: large;
}

.checkout-cart-cnt .itm-mnt {
    display: flex;
    justify-content: end;
    padding: 10px;
}

.checkout-cart-edit a {
    position: relative;
    display: flex;
    justify-content: center;
    padding: 3px;
    border-top: 1px solid #ccc;
}

.checkout-edit {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
}

.checkout-edit .checkout-grid {
    display: grid;
    grid-template-rows: auto 1fr auto;
    height: 100%;
}

/* .checkout-edit .checkout-grid > div {
    border: 1px dashed #ccc;
} */

.checkout-edit .checkout-edit-top {
    display: flex;
    justify-content: center;
    width: 100%;
    background-color: #fff;
    border-bottom: 1px solid #ccc;
    transform: translate3d(0, -105%, 0);
    transition: transform 0.45s cubic-bezier(0.6, 0.08, 0, 0.98);
}

.checkout-edit .checkout-edit-top-flex {
    display: flex;
    justify-content: space-between;
    width: 100%;
    max-width: 600px;
}

.checkout-edit .checkout-edit-top-ttr {
    display: flex;
    align-items: center;
    padding: 0 10px;
    font-weight: bold;
}

.checkout-edit .checkout-edit-top-close {
    font-size: 1.4em;
    font-weight: bold;
    padding: 6px 15px;
    cursor: pointer;
    user-select: none;
    -moz-user-select: none;
    -webkit-user-select: none;
}

.checkout-edit .checkout-edit-bdy {
    display: flex;
    justify-content: center;
    width: 100%;
    background: #fff;
    overflow: hidden;
    /* transform: scale(0.8); */
    transform: translate3d(0, 120%, 0);
    transition: transform 0.45s cubic-bezier(0.6, 0.08, 0, 0.98);
    /* opacity: 0; */
    /* transition: transform 0.45s,opacity 0.45s cubic-bezier(0.6, 0.08, 0, 0.98); */
}
/* ici */
.checkout-edit .checkout-edit-bdy-flex {
    /* border: 1px dashed #ccc; */
    width: 100%;
    max-width: 600px;
    background: #fff;
    border-left: 1px solid #ccc;
    border-right: 1px solid #ccc;
    background: #f9f9f9;
    overflow-y: auto;
    scrollbar-gutter: stable;
}

.checkout-edit .checkout-edit-btm {
    display: flex;
    justify-content: center;
    width: 100%;
    background-color: #fff;
    border-top: 1px solid #ccc;
    transform: translate3d(0, 105%, 0);
    transition: transform 0.45s cubic-bezier(0.6, 0.08, 0, 0.98);
}

.checkout-edit .checkout-edit-btm-flex {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 5px;
    padding: 5px;
    width: 100%;
    max-width: 600px;
}

.checkout-edit .checkout-edit-btm-flex > div {
    display: flex;
    align-items: center;
    font-weight: bold;
    border-radius: 5px;
}

.plan {
    position: relative;
}

.plan {
    display: grid;
    grid-template-rows: auto 1fr auto;
    height: 100%;
}

.plan > div {
    display: flex;
    justify-content: center;
}

.plan > div > div {
    width: 100%;
    max-width: 600px;
}
/* 
.plan > div:first-child {
    border-bottom: 1px solid #ccc;
}

.plan > div:last-child {
    border-top: 1px solid #ccc;
}

.plan > div:first-child > div > div,
.plan > div:last-child > div > div  {
    padding: 10px;
} 
*/
.plan .plan-bdy {
    height: 100%;
    overflow: hidden;
}
/* ici */
.plan .plan-bdy > div {
    height: 100%;
    /* border-left: 1px solid #ccc;
    border-right: 1px solid #ccc;
    background: #f9f9f9; */
    overflow-y: auto;
    scrollbar-gutter: stable;
}

.plan .plan-btm > div {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 5px;
    padding: 5px;
}

.plan .plan-btm > div > div {
    display: flex;
    justify-content: center;
    border-radius: 5px;
    border-left: 1px solid #ccc;
    border-right: 1px solid #ccc;
    cursor: pointer;
    user-select: none;
    -moz-user-select: none;
    -webkit-user-select: none;
}

.plan .plan-btm > div > div:last-child {
    border-left: 0;
}

.plan .plan-cnt {
    display: flex;
    flex-wrap: wrap;
    align-content: flex-start;
    gap: 10px;
    padding: 10px;
}

.plan .plan-groupe {
    width: 100%;
    border: 1px solid #ccc;
    background: #fff;
    border-radius: 5px;
    overflow: hidden;
    cursor: pointer;
    user-select: none;
    -moz-user-select: none;
    -webkit-user-select: none;
}

.plan .plan-groupe > div {
    font-weight: bold;
    padding: 10px;
}
/*
.plan-bdy-line {
    position: absolute;
    width: 100%;
    max-width: 600px;
    height: 1px;
    background: #ccc;
}
*/
.btn-alert {
    display: flex;
    justify-content: center;
    padding: 10px 20px;
}

.btn-alert > div {
    position: relative;
    display: inline-block;
    text-align: center;
    width: 100%;
    max-width: 300px;
    text-decoration: none;
    padding: 10px;
    color: #fff;
    text-shadow: 1px 1px 1px #000;
    border-radius: 5px;
    background: #d9534f;
    cursor: pointer;
    user-select: none;
    -moz-user-select: none;
    -webkit-user-select: none;
}

.paiement {
    border: 1px dashed #ccc;
    display: grid;
    justify-items: center;
    width: 100%;
    height: 100%;
}

.paiement-cnt {
    border: 1px dashed #ccc;
    width: 100%;
    height: 100%;
    max-width: 500px;
}

.paiement-btn {
    border-radius: 5px;
}

.paiement-cnt .empty-cart {
    display: grid;
    justify-items: center;
    align-content: center;
    width: 100%;
    height: 100%;
    gap: 15px;
    padding: 20px;
    font-weight: bold;
}

.paiement-cnt .empty-cart > div {
    display: flex;
    justify-content: center;
    width: 100%;
    /* text-align: center; */
}

.paiement-cnt .empty-cart a {
    position: relative;
    display: inline-block;
    text-align: center;
    width: 100%;
    max-width: 300px;
    text-decoration: none;
    padding: 10px;
    color: #fff;
    text-shadow: 1px 1px 1px #000;
    border-radius: 5px;
    background: #555;
}

.checkout .stripe-cnt {
    min-height: 50px;
}
/* 
.checkout-pay1,.checkout-pay2 {
    pointer-events: none;
}

.checkout-pay1 .checkout-pay-txt,
.checkout-pay2 .checkout-pay-txt {
    opacity: 0;
}

.checkout-pay1 .spinner-container-btn,
.checkout-pay2 .spinner-container-btn {
    opacity: 1;
} 
*/
@media (max-width: 1000px) {
    .checkout .checkout-grid {
        border-left: 0;
        border-right: 0;
    }
}

@media (max-width: 768px) {
    .checkout .checkout-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }
    .checkout .checkout-grid > div {
        border: 0 !important;
    }
    .checkout-pay1 {
        display: none;
    }
    .checkout-pay2 {
        display: block;
    }
}

@media (min-width: 769px) {
    .checkout-pay1 {
        display: block;
    }
    .checkout-pay2 {
        display: none;
    }
}

@media (max-width: 600px) {
    /* ici */
    /* .plan .plan-bdy > div {
        border-left: 0;
        border-right: 0;
    } */
    .checkout-edit .checkout-edit-bdy-flex {
        border-left: 0;
        border-right: 0;
    }
    .plan-btm .plan-cancel {
        border-left: 0 !important;
    }
    .plan-btm .plan-save {
        border-right: 0 !important;
    }
}

@media (max-width: 320px) {
    .multicart .panier a > div {
        width: 100%;
    }
    .checkout .checkout-btns {
        grid-template-columns: 1fr;
    }
    .checkout .checkout-btns > div:first-child a {
        border-right: 0;
        border-bottom: 1px solid #ccc;
    }
    .checkout .checkout-service-chx {
        grid-template-columns: 1fr;
    }
    .checkout .checkout-service-chx > div:nth-child(2) {
        border-left: 0;
        border-right: 0;
        border-top: 1px solid #ccc;
        border-bottom: 1px solid #ccc;
    }
}

@media (max-width: 250px) {
    .plan .plan-btm > div {
        grid-template-columns: 1fr;
    }
    .plan-btm > div > div {
        width: 100%;
        border:0 !important;
    }
    .plan-btm > div > div:first-child {
        border-bottom: 1px solid #ccc !important;
    }
}
