*{
    font-family: 'Montserrat', sans-serif!important;
}

table {
    width: 100%;
    border-collapse: collapse;
    background-color: rgba(246,246,246,255);
    position: relative;
}

th, td {
    padding: 5px;
    text-align: center;
}
td input {
    border-radius: 10px;
    border: none;
    box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
    padding: 10px 5px;
    width: 80%;
    max-width: 100px;
    margin-top: 5px!important;
    text-align: left;
}

table img{
    mix-blend-mode: multiply;
    width: 60%;
    max-width: 100px;
}

input[type="number"] {
    margin: 0 auto;
    width: 75%;
    text-align: center;
}

.product1 th, .product2 th {
    background-color: black;
    color: white;
    position: sticky!important;
    top: 0px;
    z-index: 1;
    padding: 10px;
}

.table-product1 > tbody > tr.product-table-tr:nth-child(odd){
    background-color: #e5e5e5;
}

.container {
    display: flex;
    width: 95vw;
    justify-content: center;
}

.thecontainer {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-top: 50px;
    margin-bottom: 50px;
}

.tableContainer{
    width: auto;
    min-width: 60vh;
}

#addToCart {
    padding-top: 10px;
    padding-bottom: 10px;
    margin-top: 5px;
    background-color: black;
    color: white;
    text-align: center;
    width: 100%;
    border: none;
}

#orderList {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
    overflow-y: scroll;
    margin-bottom: 20px;
    height: 70vh;
    padding: 15px;
    background-color: #F5F5F5;
    border-radius: 10px;
}

#orderList p {
    background-color: #f2f2f2;
    border: 1px solid black;
    padding: 5px;
    margin: 5px 0;
    border-radius: 10px;
    text-align: center;
}

.remove-item:hover{
    cursor: pointer;
}

#addToCart:hover {
    cursor: pointer;
}

#commanderButton {
    padding: 15px;
    border-radius: 10px;
    background-color: #000;
    border: 1px solid #000;
    color: #FFF;
    transition: all 0.2s ease-in-out;
    text-decoration: none;
    font-size: 14px;
}

#commanderButton:hover{
    background-color: #FFF;
    color: #000;
}

#validerBouton {
    padding: 15px;
    border-radius: 10px;
    background-color: #000;
    border: 1px solid #000;
    color: #FFF;
    transition: all 0.2s ease-in-out;
    text-decoration: none;
    font-size: 14px;
}

#validerBouton:hover{
    background-color: #FFF;
    color: #000;
}


.black-white {
    padding: 15px;
    border-radius: 10px;
    background-color: #000;
    border: 1px solid #000;
    color: #FFF;
    transition: all 0.2s ease-in-out;
    text-decoration: none;
    font-size: 14px;
}

.black-white:hover{
    transition: all 0.2s ease-in-out;
    background-color: #FFF;
    color: #000;
    cursor: pointer;
}

#empty-cart {
    padding: 15px;
    border-radius: 10px;
    background-color: #FFF;
    border: 1px solid #000;
    color: #000;
    transition: all 0.2s ease-in-out;
    text-decoration: none;
    font-size: 14px;
}

#empty-cart:hover{
    transition: all 0.2s ease-in-out;
    background-color: #000;
    color: #FFF;
    cursor: pointer;
}

.white-black{
    padding: 15px;
    border-radius: 10px;
    background-color: #FFF;
    border: 1px solid #000;
    color: #000;
    transition: all 0.2s ease-in-out;
    text-decoration: none;
    font-size: 14px;
}

.white-black:hover{
    transition: all 0.2s ease-in-out;
    background-color: #000;
    color: #FFF;
    cursor: pointer;
}

#add-to-cart{
    padding: 10px;
    border-radius: 10px;
    background-color: #000;
    border: 1px solid #000;
    color: #FFF;
    transition: all 0.2s ease-in-out;
    width: fit-content;
}

#add-to-cart:hover{
    transition: all 0.2s ease-in-out;
    background-color: #FFF;
    color: #000;
    cursor: pointer;
}

.hover-highlight {
    background-color: rgba(220,220,220,1);
}

.search-bar{
    margin-top: 25px;
    width: max-content;
    text-align: center;
}
#productlist {
    margin: 30px;
    width: 50%;
    text-align: center;
}
.product {
    background-color: blue;
    margin-left: 100px;
    margin-right: 100px;
    padding: 2px;
    background-color: rgba(246,246,246,255);
    border-radius: 7.5px;
    border: 1px solid black;
    margin-top: 10px;
}

.search-bar input {
    width: 30%;
    margin-bottom: 30px;
    border: none;
    padding: 10px;
    border-radius: 10px;
    background-color: rgba(246,246,246,255);
}

.search-bar-container {
    display: flex;
    width: 100%;
    flex-direction: column;
    align-items: center;
}


#recherche {
    width: 100%;
}

#stock_restant_p{
    color: rgba(43,201,217,255);
    padding: 0;
    margin: 0;
    text-align:right;
}

.add-to-cart-row{
    margin-top: 30px;
}

#add-to-cart{
    display: inline-block;
}

.success-container {
    text-align: center;
    margin-left: 50px;
    background-color: #dcfce7;
    width: max-content;
    border-radius: 50px;
    border: 1px solid #22c55e;
}

.success-message {
    color: #22c55e;
    font-weight: bold;
    font-size: 14px;
    text-align: center;
    padding: 10px 20px;
    display: flex;
    gap: 5px;
}

.error-container {
    text-align: center;
    margin-left: 50px;
    background-color: #fee2e2;
    width: max-content;
    border-radius: 50px;
    border: 1px solid #ef4444;
}

.error-message {
    color: #ef4444;
    font-weight: bold;
    font-size: 14px;
    text-align: center;
    padding: 10px 20px;
    display: flex;
    gap: 5px;
}

.order-group-title{
    font-weight: bold;
    cursor: pointer;
}

.order-item {
    padding: 5px;
    border-top: 1px #d3d3d3 solid;
}

.body-login{
    display: flex;
    justify-content: center;
    align-items: center;
}

.login{
    padding: 4em;
    box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
    border-radius: 15px;
    width: 50vh;
}

.content-login{
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.img-login{
    margin-left: auto;
    margin-right: auto;
}

.stroke-login{
    font-size: 35px;
    color: #FFF!important;
    text-align: center;
    font-family: 'Barlow', sans-serif!important;
    -webkit-text-stroke: 1px #000;
    letter-spacing: 2pt;
    margin: 0;
    line-height: 0.8;
    margin-top: 20px;
}

.titre-login{
    font-size: 16px;
    font-weight: bold;
    margin-top: 20px;
    margin-bottom: 20px;
}

.texte-login{
    font-size: 12px;
    text-align: center;
    margin-top: 20px;
    margin-bottom: 20px;
}

.input{
    padding: 10px;
    border-radius: 5px;
    border: 1px solid #000;
}

.input-btn{
    padding: 10px;
    border-radius: 5px;
    background-color: #000;
    border: 1px solid #000;
    color: #FFF;
    transition: all 0.2s ease-in-out;
    font-size: 14px;
    text-decoration: none;
}

.input-btn:hover{
    transition: all 0.2s ease-in-out;
    background-color: #FFF;
    color: #000;
    cursor: pointer;
}

.popup-panier{
    position: fixed;
    right: 0;
    top: 0;
    height: -webkit-fill-available;
    width: 50vh;
    padding: 2em;
    box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
    background-color: #FFF;
    z-index: 99;
    display: none;
}

.titre-panier{
    font-size: 20px;
    font-weight: bold;
}

.content-panier{
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.close{
    position: absolute;
    top: 15px;
    right: 15px;
    cursor: pointer;
}

.logo-panier{
    position: absolute;
    right: 50px;
    top: 30px;
    cursor: pointer;
}
.nb-products {
    position: absolute;
    right: 50px;
    top: 30px;
    background-color: #51d5db;
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    font-size: 10px;
    text-align: center;
    line-height: 20px;
    font-weight: bold;
    transform: translate(50%, -50%);
    z-index: 2;
}

.btn-panier{
    display: flex;
    gap: 10px;
    margin-top: auto;
}

#orderForm{
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.logo-eldera-abso{
    position: absolute;
    left: 30px;
    top: 20px;
}

.select2-container--default .select2-selection--single{
    border: 2px solid #000!important;
    border-radius: 50px!important;
    padding: 10px;
    height: auto!important;
    font-size: 18px;
    background-color: #F5F5F5!important;
}

.select2-container--default .select2-selection--single .select2-selection__rendered{
    height: auto;
}

.select2-container--default .select2-selection--single .select2-selection__arrow{
    height: 100%!important;
}

.stroke-order{
    font-size: 35px;
    color: #FFF!important;
    text-align: center;
    font-family: 'Barlow', sans-serif!important;
    -webkit-text-stroke: 1px #000;
    letter-spacing: 2pt;
    line-height: 0.8;
    margin-bottom: 30px;
}

.div-validation{
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.content-valid1{
    width: 75vh;
    display: flex;
    flex-direction: column;
    gap: 10px;
    background-color: #F5F5F5;
    border-radius: 15px;
    padding: 20px;
}

.content-valid1 h2, p{
    margin: 0;
}

.content-valid2{
    width: 75vh;
    display: flex;
    flex-direction: column;
    gap: 10px;
    background-color: #F5F5F5;
    border-radius: 15px;
    padding: 20px;
}


.content-valid2 h2, p{
    margin: 0;
}

.content-commentaire{
    width: 75vh;
    display: flex;
    flex-direction: column;
    gap: 10px;
    background-color: #F5F5F5;
    border-radius: 15px;
    padding: 20px;
}
.content-commentaire label{
    display: block;
    font-size: 1.2em;
    font-weight: bold;
}
.content-commentaire textarea {
    border-radius: 10px;

}


.content-valid3{
    width: 75vh;
    display: flex;
    flex-direction: column;
    gap: 10px;
    background-color: #F5F5F5;
    border-radius: 15px;
    padding: 20px;
    margin-bottom: 3em;
}

.div-radio{
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.body-success{
    height: 100vh;
    /*background-image: url('../img/8201-large_default.webp');
    background-repeat: no-repeat;
    background-size: 600px;
    background-position: center;*/
    overflow-y: hidden;
    background-color: #FFF;
    margin: 0;
}

.div-success{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    background-color: #ffffff00;
    gap: 20px;
}

.content-success{
    padding: 20px;
    border-radius: 15px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.img-merci{
    margin-left: auto;
    margin-right: auto;
}

.titre-merci{
    font-size: 130px;
    color: #FFF!important;
    text-align: center;
    font-family: 'Barlow', sans-serif!important;
    -webkit-text-stroke: 1px #000;
    letter-spacing: 2pt;
    margin: 0;
}

.order-group-title .arrow:before {
    content: "\2BC8";
    left: -5px;
    position: relative;
    font-size: 0.8em;
}

.add-comment-btn {
    border: 1px solid #00dbdd;
    color: #00dbdd;
    border-radius: 15px;
    padding: 2px 5px;
    display: inline-block;
    cursor: pointer;
    font-weight: bold;
    margin-bottom: 7.5px;
}

.add-comment-btn:hover {
    background-color: #00dbdd;
    color: #FFFFFF;
    border-color: #00dbdd;
}

.comment-container {
    display: flex;
    align-items: center; /* Aligner verticalement les éléments au centre */
    gap: 10px; /* Ajouter un peu d'espace entre les éléments */
}

.comment-input {
    flex-grow: 1;
    border: none;
    box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
    border-radius: 10px;
    height: 2em;
    padding-left: 10px;;
}

.save_comment_button {
    color: #51D5DB;
    border: 1px solid #51D5DB;
    border-radius: 30px;
    padding: 5px 10px;
    background-color: #FFF;
}
.save_comment_button:hover {
    color: white;
    background-color: #51D5DB;
}

.delete_comment_button {
    color: #51D5DB;
    border: 1px solid #51D5DB;
    border-radius: 30px;
    padding: 5px 10px;
    background-color: #FFF;
    text-align: center;
}
.delete_comment_button:hover {
    color: white;
    background-color: #51D5DB;
}

.del-edit-cart{
    display: inline-block;
    float: right;
    z-index: 1000;
}

.edit-cart:hover, .delete-cart-product:hover, .delete-cart-variation:hover{
    cursor: pointer;
}

.tooltipHover{
    position: relative;
}

.toolTip{
    visibility: hidden;
    width: 300px;
    background-color: #FFF;
    border: 1px solid #000;
    color: #000;
    text-align: center;
    padding: 5px 10px;
    border-radius: 8px;
    position: absolute;
    z-index: 1;
    font-size: 12px;
    top: -5px;
    left: -340px;
    opacity: 0;
    transition: .2s all ease;
    transition-delay: .2s;
    box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
}

.tooltipHover:hover .toolTip{
    left: -330px;
    visibility: visible;
    opacity: 1;
    transition: .2s all ease;
}

.change-account-button {
    justify-content: center;
    display: flex;
}

.disconnect{
    text-decoration: underline;
    color: #51d5db;
    font-weight: bold;
}
.nb_products{
    color: #51d5db;
    font-weight: bold;
    font-size: 0.75em;
}

.product-item-delivery{
    margin-top: 1em;
}

#shipping_address_select{
    padding: 0.5em;
    border-radius: 0.6em;
    width: 60%;
    font-size: 1.0rem;
}