section.panier{
    padding-bottom: 50px;
}


.commandes{
    height: 100vh;
    width: 100%;
}
#cmd_form{
    height: 100vh;
    display: flex;
    /* overflow: unset;
    position: unset; */
    width: 100%;
}

.commandes .logo{
    padding: 20px 0 0 20px;
	width:150px;
	overflow:hidden;
	-o-transition: all 0.5s ease;
	-moz-transition: all 0.5s ease;
	-webkit-transition: all 0.5s ease;
	transition: all 0.5s ease;
    float: left;
}


.back-link{
    padding: 30px 30px 30px 0;
    justify-content: flex-end;
}
.back-link a{
    display: inline-flex;
    align-items: center;
    gap:10px;
    font-weight: 700;
}
.back-link a:hover{
    gap:20px;
}

.basket_content{
    overflow-y: auto;
    height: 100%;
}
.panier_content{
    padding: 50px;
}

/********* NAVIGATION *************/
.navigation{
    margin: 0 auto;
    justify-content: center;
    font-weight: 700;
    margin-bottom: 100px;
    gap: 20px;
}
.navigation li{
    width: 150px;
    height: 2px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.navigation li.number{
    position: relative;
    width: 50px;
    height: 50px;
}
.navigation li.number a{
    display: flex;
    width: 100%;
    height: 100%;
    color: #FFF;
    align-items: center;
    justify-content: center;
}
.navigation li strong{
    display: block;
    white-space: nowrap;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
}

/********* STEP 1 *************/
.article{
    margin-bottom: 30px;
    align-items: flex-start;
    position: relative;
}
.article.padding{
    padding-right: 50px;
}
.article .titre{
    width: 100%;
}
.article .img{
    width: 120px;
    height: 120px;
    flex-grow: 0;
    flex-shrink: 0;
    overflow: hidden;
}
.article .img img{
    object-fit: cover;
    width: 100%;
    height: 100%;
    font-size: 0;
}
.article .quantite{
    width: 120px;
    height: 120px;
    flex-grow: 0;
    flex-shrink: 0;
    justify-content: center;
}
.article .prix{
    width: 120px;
    height: 120px;
    flex-grow: 0;
    flex-shrink: 0;
    justify-content: flex-end;
    font-size: 1.7rem;
}
.article .broderie{
    margin-top:20px;
    padding: 20px;
}
.article .quantite .btn{
    padding: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.article .quantite strong{
    padding: 0 15px;
}
.article .delete{
    position: absolute;
    top: 0;
    right: 0;
    width: 30px;
    height: 120px;
    flex-grow: 0;
    flex-shrink: 0;
    justify-content: center;
}

/********* STEP 2 *************/
.info_connexion{
    margin-bottom: 30px;
}
.connexion{
    padding: 30px;
    height: 100%;
}
.sans_compte{
    padding: 20px 20px 0;
    height: 100%;
}
.infos_compte{
    padding: 20px 20px 0;
    justify-content: space-between;
    margin-bottom: 20px
}

#shipments .shipment_type{
    width: 100%;
    padding-bottom: 20px;
}
#shipments label{
    padding: 20px;
    background-color: transparent;
    border: 1px solid var(--tertiary);
    cursor: pointer;
    display: flex;
    gap: 10px;
	-o-transition: all 0.2s ease;
	-moz-transition: all 0.2s ease;
	-webkit-transition: all 0.2s ease;
	transition: all 0.2s ease;
    width: 100%;
    height: 100%;
}
#shipments input:checked + label{
    background-color: var(--tertiary);
    color: #FFF;
}
#shipments label strong{
    display: inline-block;
    font-size: 1.8rem;
    margin-bottom: 10px;
    justify-content: space-between;
    color: var(--tertiary);
    margin-right: 10px;
}
#shipments input:checked + label strong,
#shipments input:checked + label .material-symbols-outlined{
    color: #FFF;
}
#shipments label img{
    width: 40px;
}
#shipments label .material-symbols-outlined{
    font-size: 4rem;
    color:#000;
}
#shipments .douanes{
    justify-content: space-between;
    margin-bottom: 5px;
}



.carnet_adresses{
    padding: 20px;
    margin-bottom: 30px
}
.billing_same_shipment{
    padding: 20px;
    margin-bottom: 30px
}


.box_point_relais{
    padding:30px;
}
.popup_container{
    height: 90%;
}


/********* STEP 3 *************/
.liste_paiements .box_paiement{
    border: 1px solid #b2b2b2;
    margin-bottom: 15px;
    font-weight: 700;
    color: var(--tertiary);
}
.liste_paiements .box_paiement .choix_paiement{
    padding: 15px;
    cursor: pointer;
    -o-transition: all 0.2s ease;
	-moz-transition: all 0.2s ease;
	-webkit-transition: all 0.2s ease;
	transition: all 0.2s ease;
}
.liste_paiements .box_paiement .choix_paiement img{
    width: 30px;
}
.liste_paiements .box_paiement.active,
.liste_paiements .box_paiement:hover{
    background: #FFF;
    border-color: var(--tertiary);
}
.liste_paiements .box_paiement:last-child{
    margin-bottom: 0;
}
.liste_paiements .detail_paiement{
    padding: 15px;
    display: none;
}
.liste_paiements .box_paiement.active{
    cursor: default;
}

.kr-smart-form {
    width: 100% !important;
}
.kr-smart-form .row{
    display: flex;
    flex-direction: row !important;
    gap: 20px;
}
.kr-payment-button{
    background: var(--tertiary) !important;
    width: 100% !important;
    -webkit-border-radius: 50px !important;
    -moz-border-radius: 50px !important;
    border-radius: 50px !important;
}
.kr-smart-button,
.kr-smart-button .kr-method-info .kr-label{
    width: 100% !important;
    -webkit-border-radius: 50px !important;
    -moz-border-radius: 50px !important;
    border-radius: 50px !important;
}

/********* RECAP 1 *************/
.recap{
    padding: 0;
    /* height: 100vh; */
    height: 100%;
    overflow-y: auto;
    display: flex;
}
.recap .recap_content{
    padding: 50px;
    width: 100%;
    display: flex;
    align-items: center;
}
.recap .recap_content .recap_contenu{
    width: 100%;
}
.recap .recap_content .total_ttc,
.recap .recap_content .total_articles,
.recap .recap_content .total_remise,
.recap .recap_content .total_code_promo{
    width: 100%;
    justify-content: space-between;
}
.recap .recap_content .btn{
    width: 100%;
    justify-content: center;
}


/********* RECAP 2 *************/

.form_code_promo{
    padding: 20px;
    margin-bottom: 30px;
}
.form_code_promo .code_promo{
    position: relative;
    width: 100%;
    max-width: 300px;
}
.form_code_promo .delete_code_promo{
    display: inline-flex;
    align-items: center;
}
.form_code_promo .code_promo a.submit_code_promo{
    position: absolute;
    display: flex;
    align-items: center;
    top: 0;
    right: 0;
    height: 100%;
    padding-right: 10px;
}

.livraison,
.douanes{
    justify-content: space-between;
}

#point_relais_result{
    padding: 20px 10px 0 10px;
}
#point_relais_result input{
    display: none;
}
#point_relais_result .lignepr{
    margin-bottom: 20px;
}
#point_relais_result label{
    cursor: pointer;
    padding: 10px;
    border: 2px dashed #FFF;
    width: 100%;
}
#point_relais_result label:hover{
    border: 2px dashed #b2b2b2;
}
#point_relais_result input:checked + label{
    border: 2px solid var(--tertiary);
}
#point_relais_result label .dpdrelais_info{
    width: 100%;
}
#point_relais_result label .dpdrelais_distance{
    white-space: nowrap;
}
#point_relais_result .expand_dpdrelais_hours {
    padding: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 5px 0;
}
#point_relais_result .dpdrelais_hours{
    padding: 10px;
    margin-left: 55px;
}
.popup_container{
    position: relative;
}
/* .form_point_relais .btn_content{
    position: fixed;
    bottom: 0;
    left: 0;
    padding: 0 0 20px;
    width: 100%;
    background: #FFF;
} */
.recap_contenu .form_switch{
    margin-bottom: 30px;
}
.recap_contenu .form_switch td{
    padding: 0;
}
.recap_contenu .form_switch h3{
    font-size: 1.4rem;
    font-weight: normal;
    text-transform: none;
}

/***********************************************/
/******************* QUERIES *******************/
/***********************************************/

@media screen and (max-width: 1280px){
    h2 {
      font-size: 2.2rem;
    }
    h4{
      font-size: 1.6rem;
    }
    .panier_content{
        padding: 50px 0px;
    }
    .recap .recap_content{
        padding: 50px 30px;
    }
    .article{
        display: block;
    }
    .article > .row:first-child{
        width: 100%;
    }
    .article > .row:nth-child(2){
        width: 100%;
        padding-left: 140px;
        justify-content: space-between;
    }
    .article .prix,
    .article .quantite{
        height: auto;
    }
    .article .info a{
        float: right;
    }


    .info_connexion{
        flex-direction: column;
    }
    .info_connexion > .col{
        width: 100%;
    }

    .shipment_type .details{
        display: none;
    }

    .commandes > .col,
    #billing_address > .col,
    #form_adresse_livraison > .col{
        width: 100%;
    }
    .box_point_relais{
        margin-bottom: 20px;
    }
}

@media screen and (max-width: 1024px){
    .navigation li{
        width: 80px;
    }
}

@media screen and (max-width: 768px){
    .navigation{
        display: flex;
    }
    .commandes,
    #cmd_form {
        display: block;
        height: auto;
    }
    .recap {
        height: auto;
    }
    .recap .recap_content {
        height: auto;
        position: static;
        /* top: 0;
        display: flex;
        align-items: center; */
    }
    .recap_contenu .row,
    .article .row{
        display: flex;
    }
    .commandes .logo{
        width: 150px;
        padding: 10px 0 0 10px;
    }
    #shipments .shipment_type{
        padding-bottom: 20px;
    }
    .back-link:last-child{
        display: none;
    }
    .article .prix{
        width: auto;
    }
    #liste_articles .text-right{
        text-align: right;
    }
}
@media screen and (max-width: 450px){
    .back-link {
        padding-right: 0;
    }
    .panier_content{
        padding: 0;
    }

    .navigation {
        display: flex;
        flex-direction: column;
        align-items:flex-start !important;
        margin-bottom: 20px;
    }
    .navigation li {
        display: none;
        width: 2px;
        height: 30px;
    }
    .navigation li.number {
        display: inline-flex;
    }
    .navigation li strong{
        display: block;
        white-space: nowrap;
        position: absolute;
        /* top: unset(); */
        left: 100%;
        top: 50%;
        transform: translateY(-50%);
        padding-left: 10px;
    }

    .article .img {
        width: 80px;
        height: 80px;
    }
    .article > .row:nth-child(2){
        display: block;
        width: 100%;
        padding-left: 100px;
    }
    .article .quantite{
        padding:10px 0;
    }
    .article .quantite,
    .article .qte{
        width: 100%;
    }
    .article .qte .btn{
        width: 100%;
    }

}