/* Style pour masquer les modals */

.tc-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
    z-index: 999;
    padding-top: 60px;
}
.tc-modal hr.modal-header-separator{
    margin-top: 5px;
    margin-bottom: 10px;
}
.tc-modal hr.modal-footer-separator{
    margin-top: 10px;
    margin-bottom: 10px;
}

.tc-modal-footer {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-end;
    gap: 15px;
}

.main-btn-modal {
    width: unset;
    margin: unset;
    font-size: 18px;
}

.tc-modal-footer-close {
    font-size: 18px;
    cursor: pointer;
    font-weight: bold;
}

.tc-modal-header {
    display: flex;
    width: 100%;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0;
}

.tc-modal-title {
    font-weight: bold;
    font-size: 20px;
    color: #0071bc;
}

.tc-modal-subtitle {
    font-size: 16px;
}

.tc-modal-content {
    padding: 0 20px 0 20px;
    border-radius: 5px;
    width: 90%;
    max-width: 600px;
    margin: auto;
    background-color: #fff;
    max-height: 80vh;
    overflow-x: auto;
    overflow-y: auto;
    border-top: 15px solid #FFF;
    border-bottom: 15px solid #FFF;
}

.tc-modal-content .form-group {
    margin-top: 15px;
}

.tc-modal-content .form-group .form-check-label {
    cursor: pointer;
}

.tc-modal-content .form-group textarea {
    width: 100%;
}

.tc-modal-content .form-group .form-control {
    display: block;
    width: 100%;
    height: 35px;
    padding: 6px 12px;
    font-size: 14px;
    line-height: 1.428571429;
    color: #555;
    vertical-align: middle;
    background-color: #ebebeb;
    background-image: none;
    border: 1px solid #ccc;
    border-radius: 4px;
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
    -webkit-transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
    transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
}

.tc-modal .form-group label {
    font-weight: 600;
    margin-bottom: 2px;
    font-size: 16px;
    color: #7C7C7C;
}

.tc-modal-close {
    float: right;
    font-size: 24px;
    cursor: pointer;
}


/* Style pour masquer les modals */
/* Form with pictograms  */
.form-group .input-with-badge i{
    padding: 10px;
    background-color: #F5F5F5;
    border-radius: 0 3px 3px 0;
    border: solid 1px #ccc;
    padding-bottom: 8px;
    color: #6C6C6C;
    left: 0;
    position: absolute;
    height: 100%;
}
.form-group .input-with-badge {
    position: relative;
}
.form-group .input-with-badge input{
    padding-left: 45px !important;
}
.tc-input-radio-group input[type="radio"] {
    width: 20px;
    height: 20px;
    margin-top: 0;
    cursor: pointer;
}
.tc-input-checkbox-group input[type="checkbox"] {
    width: 20px;
    height: 20px;
    transform: scale(1);
    margin-top: 0;
    cursor: pointer;
}
.tc-input-radio-group ,.tc-input-checkbox-group {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 5px;
}
.tc-multi-form-group {
    display: flex;
    width: 100%;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 20px;
}
.tc-multi-form-group .form-group{
    flex: 1;
}

/* FORM WITH PICTOGRAMS */

.cart-steps {
    display: flex;
    width: 100%;
    flex-direction: row;
    justify-content: space-around;
    max-width: 850px;
    margin: auto;
    margin-bottom: 25px;
}

.cart-steps .step-element {
    color: #BDBDBD;
    font-size: 18px;
    font-weight: bold;
    text-align: center;
}

.cart-steps .step-element .step-number {
    border: solid 1px #BDBDBD;
    width: 60px;
    height: 60px;
    margin: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    font-size: 29px;
}

.cart-steps .cart-steps-separator {
    display: block;
    flex: 2;
    height: 2px;
    background-color: #BDBDBD;
    margin-top: 30px;
}

.cart-steps .step-element.active {
    color: #0071bc;
    font-size: 18px;
    font-weight: bold;
    text-align: center;
}

.cart-steps .step-element.active .step-number {
    background-color: #0071bc;
    color: #fff;
    border: solid 1px #0071bc;
}

.cart-v2-content {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: stretch;
    gap: 30px;
    margin-bottom: 15px;
    margin-top: 15px;
    font-family: "Titillium Web", sans-serif;
}

.cart-v2-content .product-in-cart {
    flex: 2;
    margin-top: 10px;
}

.section#page-cart{
    overflow: unset;
}

#page-cart .header-separator {
    margin-bottom: 45px;
    margin-top: -25px;
}

.cart-v2-content .cart-recap-side {
    min-width: 390px;
    flex: 1;
    min-height: 645px;
}

.cart-v2-content .cart-recap .main-btn-details {
    margin-bottom: 20px;
    margin-top: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5px;
    font-size: 24px;
}

.cart-v2-content .cart-recap {
    background-color: #F8F8F8;
    padding: 10px 20px;
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 8px;
    box-shadow: #e1e1e1 0 0 10px 0px;
    border-radius: 4px;
    border: solid 1px #D7D7D7;
}

#panier-page-v2 .share-cart-btns {
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    gap: 15px;
    margin-bottom: -5px;
    margin-top: -30px;
    font-family: "Titillium Web", sans-serif;
}
#panier-page-v2 .share-cart-btns i{
    margin-right: 5px;
}

#panier-page-v2 .send-cart-btn,
#panier-page-v2 .print-cart-btn {
    background-color: unset;
    border: unset;
    color: #0071bc;
    text-decoration: underline;
    font-size: 16px;
}

.cart-v2-content .cart-recap-container {
    position: sticky;
    top: 0;
    z-index: 999;
    padding-top: 10px;
    background-color: #fff;
    margin-bottom: 25px;
}

.cart-v2-content .cart-recap .recap-element {
    display: flex;
    justify-content: space-between;
    font-size: 18px;
}

.cart-v2-content .cart-recap .recap-element.bold-element.ttl-ttc {
    color: #0071bc;
    font-size: 23px;
    border-top: solid #d9d9d9 1px;
    padding-top: 10px;
}

.cart-v2-content .cart-recap .port-note {
    margin-top: -8px;
    color: #767676;
}

.cart-v2-content .cart-recap .port-note .part1 {
    display: block;
}

.cart-v2-content .cart-recap .recap-element.bold-element {
    font-weight: bold;
}

.cart-v2-content .cart-recap-side .paiement-bloc-badge-recap {
    border: solid 1px #cfcfcf;
    border-radius: 5px;
    margin-top: -5px;
    text-align: center;
    /* position: relative; */
    margin-bottom: 16px;
}

.cart-v2-content .cart-recap-title {
    text-align: center;
    font-size: 20px;
    font-weight: bold;
    margin-top: 10px;
    margin-bottom: 10px;
}
.cart-v2-content .update_qty_msg {
    display: none;
    color: green;
    font-size: 15px;
    font-weight: bold;
}
.cart-v2-content .update_qty_msg.success {
    display: block;
    color: green;
}
.cart-v2-content .update_qty_msg.danger {
    display: block;
    color: red;
}


.cart-v2-content .paiement-bloc-badge-title {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #ffffff;
    font-size: 17px;
    font-weight: bold;
    color: #515151;
    padding: 0 15px;
    white-space: nowrap;
}

.cart-v2-content .paiement-bloc-badge-recap .part1 {
    display: flex;
    width: 80%;
    flex-direction: row;
    justify-content: space-around;
    margin: auto;
    margin-top: 25px;
    flex: 1;
}

.cart-v2-content .contact-support {
    text-align: center;
    font-size: 18px;
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: center;
    gap: 5px;
    /* position: sticky; */
    /* top: 405px; */
}

.cart-v2-content .contact-support i {
    font-size: 22px;
    color: #8cc63f;
    margin-right: 5px;
}

.cart-v2-content .paiement-bloc-badge-recap .part2 {
    display: flex;
    width: 80%;
    flex-direction: row;
    justify-content: space-around;
    margin: auto;
    margin-top: 15px;
    flex: 1;
    margin-bottom: 15px;
}

.cart-v2-content .product-in-cart .product-bloc {
    border: solid 1px #cfcfcf;
    background-color: #fff;
    border-radius: 4px;
    margin-bottom: 25px;
    padding: 15px;
    transition: box-shadow 0.2s ease-in;
}

.cart-v2-content .product-in-cart .product-bloc:hover {
    /* background-color: #f7f7f7; */
    /* border: solid 1px #b2b2b2; */
    box-shadow: #f3f3f3 0 0 1px 3px;
}

.cart-v2-content .product-in-cart .product-content-body {
    display: flex;
    width: 100%;
    flex-direction: row;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 15px;
}

.cart-v2-content .product-in-cart .product-photo {
    width: 180px;
    height: 180px;
    border: solid 1px #bdbdbd;
    border-radius: 4px;
    background-color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cart-v2-content .product-in-cart .product-photo img {
    max-width: 100%;
    max-height: 100%;
}

.cart-v2-content .product-in-cart .product-content {
    flex: 2;
}

.cart-v2-content .product-in-cart .product-content-details {
    position: relative;
    padding-right: 165px;
}

.cart-v2-content .product-in-cart .product-quantity-total {
    position: absolute;
    right: 0;
    top: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-right: 15px;
}

.cart-v2-content .product-in-cart .product-total-price {
    font-weight: bold;
    font-size: 18px;
    margin-top: 10px;
}

.cart-v2-content .product-in-cart .product-quantity {
    display: flex;
    width: 140px;
    gap: 10px;
}

.cart-v2-content .product-in-cart .product-quantity .quantity-btn:hover {
    border: 1px solid #d9d9d9;
    background-color: #e9e9e9;
}

.cart-v2-content .product-in-cart .product-quantity input {
    text-align: center;
    font-size: 15px;
    font-family: "Titillium Web", sans-serif;
    padding: 6px 3px;
}

.cart-v2-content .product-in-cart .product-short-desc {
    padding-left: 18px;
    font-size: 15px;
}

.cart-v2-content .product-in-cart .product-add-comment {
    font-size: 15px;
    text-decoration: underline;
    color: #0071bc;
    cursor: pointer;
    background-color: unset;
    border: unset;
    padding-left: 0;
}

.cart-v2-content .product-in-cart .product-comment-input {
    display: flex;
    gap: 5px;
    display: none;
    align-items: center;
}

.cart-v2-content .product-comment-input .cancel-comment {
    font-size: 20px;
    color: #ff0000;
    cursor: pointer;
}
.cart-v2-content .product-comment-input .validate-comment {
    font-size: 20px;
    color: #008000;
    cursor: pointer;
    margin: 0 5px;
}
.cart-v2-content .product-comment-input .edit-comment {
    font-size: 15px;
    cursor: pointer;
    padding-right: 5px;
}
.cart-v2-content .comment-preview {
    color: #3b3b3b;
    padding: 5px;
    padding-left: 0px;
    font-size: 15px;
}
.cart-v2-content .comment-preview .edit-comment{
    color: #0071bc;
}

.cart-v2-content .product-in-cart .product-comment-input input {
    font-size: 15px;
    padding: 5px;
    border-radius: 4px;
    border: solid 1px #767676;
    background-color: #fff;
}

.cart-v2-content .product-in-cart .product-short-desc li::marker {
    color: #8cc63f;
}

.cart-v2-content .product-in-cart .product-title {
    font-size: 18px;
    font-weight: 600;
    color: #333333;
    margin-bottom: 10px;
    width: 100%;
    display: block;
}

.cart-v2-content .product-in-cart .product-content-footer {
    display: flex;
    justify-content: space-between;
    border-top: solid 1px #e9e9e9;
    padding-top: 11px;
    margin-top: 15px;
    font-size: 16px;
    font-weight: 600;
}

.cart-v2-content .product-unit-price {
    font-size: 15px;
    margin-bottom: 5px;
}

.cart-v2-content .product-in-cart .left-side {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 5px;
}

.cart-v2-content .product-in-cart .product-content-footer .delete {
    color: #ff0000;
    font-size: 18px;
}

.cart-v2-content .cart-recap-v2 {
    background-color: #F8F8F8;
    padding: 10px;
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 7px;
    position: static;
    top: unset;
    bottom: unset;
    z-index: unset;
    margin-bottom: 15px;
    box-shadow: #e1e1e1 0 0 5px 0px;
    border-radius: 4px;
    border: solid 1px #D7D7D7;
}

.cart-v2-content .cart-recap-side-v2 {
    min-width: 380px;
    flex: 1;
    height: 100%;
    position: sticky;
    top: 0;
    margin-bottom: 15px;
}

.cart-v2-content .loader {
    border: 7px solid #f3f3f3;
    border-top: 7px solid #0171bc;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    animation: spin 2s ease-out infinite;
    position: static;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    margin-top: 5px;
    display: none;
}

#panier-page-v2 .form-group.delivery-location {
    display: flex;
    flex-direction: column;
    gap: 5px;
    width: 100%;
}

#panier-page-v2 .delivery-location-choices-part1 {
    display: flex;
    gap: 25px;
}

#panier-page-v2 .delivery-location-choices-part1 label {
    font-weight: normal;
}

#panier-page-v2 .select-country {
    position: relative;
    /* Permet de positionner le dropdown en relatif à ce conteneur */
}
#panier-page-v2 #etranger-zone {
    width: 50%;
}
#panier-page-v2 .select2-container--default .select2-selection--single:before {
    content: '\f7a2';
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    top: 50%;
    transform: translateY(-50%);
    font-size: 14px;
    padding: 6px 10px;
    background-color: #F5F5F5;
    border-radius: 0 3px 3px 0;
    border: solid 1px #ccc;
    padding-bottom: 7px;
    color: #6C6C6C;
    left: 0;
    position: absolute;
    
}

#panier-page-v2 .select2-container--default .select2-selection--single {
    height: 35px;    
}
#panier-page-v2 .select2-container--default .select2-selection--single .select2-selection__rendered {
    height: 35px;  
    line-height: 34px;
    padding-left: 45px;  
}

#panier-page-v2 .select2-container {
    width: 100% !important; 
}
#panier-page-v2 .product-bloc.product-error {
    border: solid 2px #ff0000;
}

#panier-page-v2 .product-bloc .product-error-msg {
    border: solid 2px #ebccd1;
    color: #a94442;
    color: #ff0000;
    background-color: #f2dede;
    padding: 10px 10px;
    margin-top: 11px;
    font-size: 17px;
    line-height: 23px;
    border-radius: 4px;
}

#panier-page-v2 .product-bloc .product-error-msg i{
    color: #ff0000;
}

