/**
 *
 * You can write your CSS code here, DO NOT touch the default JavaScript file
 * because it will make it harder for you to update.
 * 
 */

/*# sourceMappingURL=custom.css.map */

p{
    margin: 0;
}

/* Pour Chrome, Safari, Edge, Opera */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Pour Firefox */
input[type=number] {
  -moz-appearance: textfield;
}


.modal-body .card{
    padding: 40px 20px;
    border: 1px solid #00063a;
    row-gap: 20px;
    text-align: center;
}

.navbar .nav-link.nav-link-user{
    text-align: center;
}

.section-buttons{
    margin: 20px 0;
    display: flex;
    align-items: center;
    justify-content: flex-end
}

.iziToast.iziToast-color-red{
    background: #fc544b !important;
    border-color: #fc544b !important;
}
.iziToast.iziToast-color-green{
    background: #47c363 !important;
    border-color: #47c363 !important;
}
.iziToast.iziToast-color-blue{
    background: #6777ef !important;
    border-color: #6777ef !important;
}

.ag-cell-value a{
    color:#0056b3;
    text-decoration: underline;
}

.ag-cell-value a.nounderline{
    text-decoration: none;
}

@media (max-width: 1024px){
    .main-content {
        padding-left: 15px;
        padding-right: 15px;
    }
}

@media (max-height: 640px) {

    .navbar-bg{
        height:70px;
    }

    .section-header,
    .section-title,
    .section-lead{
        display:none !important;
    }

    #btns,
    .section-buttons{
        margin: 0 0 10px 0 !important;
    }

    #myGrid{
        height: calc( 100vh - 140px ) !important;
    }
}

@media (max-width: 580px){
    .section-lead-hide{
        display: none;
    }
}

@media (max-width: 530px){
    #btns{
        justify-content: center !important;
        flex-wrap: wrap;
        grid-gap: 20px;
    }
}

nav{
    background-color: #fff;
    height: 70px; 
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    padding: 0 2%;
    position: sticky;
    top: 0;
    z-index: 999;
    border-bottom: 1px solid #e9e9fb;
}

nav>div:last-child{
    display: flex;
    align-items: center;
    justify-content: flex-end;
    column-gap: 15px;
}

#iw-company-desktop{
    display: block;
    color:#fff;
    margin-top: 5px;
}

.menu{
    background-color: #fff;
    height: 100px; 
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 12%;
    column-gap: 15px;
    -webkit-box-shadow: 0px 3px 5px -4px grey;
    box-shadow: 0px 3px 5px -4px grey;
}

.menu .wd200{
    width: 200px;
}

.menu div{
    display: flex;
    align-items: center;
    column-gap: 30px;
}

.menu a.nav-item{
    color: #000;
    font-weight: 600;
    font-size: 17px;
}

.menu a.nav-item.active{
    color: #2f3d7e;
}

.form-control{
    border-radius: 0;
}

.btn.btn-primary.btn-account{
    margin-top: 28px;
    width: 100%;
    border-radius: 0;
    padding: 8px 0px;
    font-size: 14px;
}

.btn.btn-secondary{
    border-radius: 0;
    border-color: #2f3d7e;
    color: #2f3d7e;
    background-color: #fff;
}

.btn.btn-secondary:hover{
    color: #fff;
    background-color: #2f3d7e !important;
}

.btn.btn-third{
    display: none;
    border-radius: 0;
    border-color: #e85f29;
    color: #fff;
    background-color: #e85f29;
}

.btn.btn-third:hover{
    color: #e85f29;
    border-color: #e85f29 !important;
    background-color: #fff !important;
}

.btn.btn-secondary.btn-filled{
    border-color: #2f3d7e;
    color: #fff;
    background-color: #2f3d7e;
    border-radius: 0;
    box-shadow: none;
    padding: 0.4rem 3rem;
}

.btn.btn-secondary.btn-filled:hover{
    color: #2f3d7e !important;
    background-color: #fff !important;
    border-color: #2f3d7e !important;
}

.btn.btn-secondary.btn-filled.btn-rounded{
    border-radius: 0;
    padding: 0.4rem 1.2rem;
}

.btn.btn-secondary.btn-filled:hover{
    background-color: transparent !important;
}

.announce,
.announce .images{
    display: flex;
    justify-content: center;
    flex-direction: row;
    grid-gap: 40px;
    align-items: center;
}

.highlight{
    background-color: #f7ebf7;
    padding: 50px 12%;
}

.announce .images{
    grid-gap: 0;
}

.announce .images img{
    height: 300px;
    width: -webkit-fill-available;
    margin: 0 15px;
    background: #dedede;
    border-radius: 4px;
}

.announce .images img:last-child{
    margin-top: 30px;
}

.modal-title {
    color: #000;
    font-size: 24px;
}

section.section-background-image{
    padding: 1px 0 0 0;
    background-image: url(/assets/img/section.png);
    background-position: center;
    background-size: cover;
}

section .main-section{
    margin-top: 100px;
    background: rgb(23, 28, 53, 0.8);
    padding: 50px 10%;
}

section .main-page{
    background-color: #e9e9fb;
    padding: 30px 10%;
}

section .main-page .breadcrumb{
    background: transparent;
    display: flex;
    align-items: center;
    column-gap: 8px;
    padding: 0;
    margin: 0;
}

section h3{
    color: #fff;
    font-size: 30px;
}

section .main-section h3{
    margin-bottom: 30px;
}

section p{
    color: #fff;
}

section .main-page .breadcrumb p,
section .main-page .breadcrumb a{
    font-size: 16px;
    color: #2f3d7e !important;
}

section h3.secondary{
    color: #000;
}

section p.secondary{
    color: #2f3d7e;
}

.pre-footer{
    border: 0;
    background-color: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 100px 12% 40px 12%;
    flex-direction: row;
    flex-wrap: wrap;
    grid-gap: 30px;
}

.main-footer{
    border: 0;
    background-color: #fff;
    min-height: 200px;
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    padding: 130px 12% 70px 12%;
    grid-gap: 30px;
    flex-direction: row;
    flex-wrap: wrap;
    border-top:1px solid #ccc;
}

.main-footer div:first-child{
    display: flex;
    align-items: flex-start;
    column-gap: 15px;
    flex-direction: column;
    max-width: 350px;
}

.main-footer div:first-child p{
   color: #253D4E;
}

.main-footer div:last-child{
    display: flex;
    column-gap: 80px;
}

.main-footer .nav-links{
    display: flex;
    align-items: flex-start;
    column-gap: 30px;
    flex-direction: column;
}

.main-footer .nav-links h5{
    color: #253D4E;
    font-size: 18px;
    font-weight: 600;
}

.main-footer .nav-links a.nav-item{
    margin: 5px 0;
    color: #191C1F;
}

.main-footer .nav-links a.nav-item.active{
    color: #2f3d7e;
}

.copyright{
    border:0;
    border-top:1px solid #ccc;
    height: 75px; 
    display: flex !important;
    align-items: center;
    padding: 0 12%;
    column-gap: 15px;
}

.copyright p{
    color: #253D4E;
    font-size: 12px;
}

main{
    padding: 50px 10%;
}

main.filters{
    padding-bottom: 0;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

main.filters .buttons{
    display: grid;
    grid-template-columns: 180px 10px 45px 45px;
    column-gap: 10px;
}

main.filters .select-filters{
    display: flex;
    column-gap: 15px;
    overflow-x: scroll;
    padding-bottom: 15px;
}

.header-flashs > div {
    display: none;
}

.type-of-vue{
    fill:#bbb;
    cursor: pointer;
}

.type-of-vue.active{
    fill:#2f3d7e;
}

.iw-main-products{
    position: relative;
    padding-left: 15%;
}

main.contents .sidebar-products{
    display: none;
    position: absolute;
    z-index: 999999;
    background: #fff;
    width: 100%;
    top: 0;
    left: 0;
    margin: 0;
    margin-top: -70px;
    border-radius: 0;    
    align-items:flex-start;
    height: 100vh;
}

main.contents{
    display: flex;
    flex-direction: row;
}
/* 
main.contents{
    display: grid;
    grid-template-columns: 220px 1fr;
    column-gap: 60px;
    padding-top: 10px;
} */

main.contents .sidebar-products h4{
    font-size: 22px;
    padding: 15px;
}

main.contents .sidebar-products a{
    font-size: 16px;
}

main.account.contents .sidebar{
    width: 300px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    border: 1px solid #ccc;
    padding: 15px 0;
    border-radius: 6px;
    height: fit-content;
}

main.account.contents h5{
    margin:0;
    padding: 15px 20px;
    font-weight: 300;
}

main.contents .sidebar a{
    padding: 6px 15px;
    color: #666666;
    text-decoration: none !important;
}

main.contents .sidebar-products .form-group{
    margin-bottom: 10px;
    font-size: 16px;
}

main.contents .sidebar a.account-links{
    padding: 15px 20px;
    font-size: 16px;
    width: 100%;
}

main.contents .sidebar a.account-links.active{
    background-color: #E9E9FD;
    border-left: 2px solid #2B3E82;
}

main.account.contents .main-center{
    border: 1px solid #ccc;
    padding: 15px 0;
    border-radius: 6px;
    height: fit-content;
    width: 100%;
}

main.account.contents .main-center h5{
    margin:0;
    padding: 15px 20px;
    font-weight: 300;
}

.main-center-row{
    display: flex;
    flex-direction: row;
    align-items: center;
    width: 100%;
    column-gap: 25px;
}

.main-center{
    display: flex;
    flex-direction: column;
    align-items: center;
}

form.search{
    padding: 0 0 0 13px;
    background: #f4f4f4;
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    flex-direction: row;
    border-radius: 0;
    overflow: hidden;
}

form.search input{
    border: 0;
    background: #f4f4f4;
    font-size: 13px;
    outline: none;
    margin-top: 3px;
    padding-left: 10px;
    width: 300px;
}

form.search button{
    margin-left: -25px;
    width: 50px !important;
}

form.search button svg{
    margin-left: -2px;
}

.filters-margin{
    margin-bottom: 100px;
}

.search-form-button-red-mode{
    background-color: rgb(234, 51, 45) !important;
    border-color: rgb(234, 51, 45) !important;
}

.btn.btn-secondary.btn-filled.search-form-button-red-mode:hover{
    color: rgb(234, 51, 45) !important;
    border-color: rgb(234, 51, 45) !important;
}

.product-card{
    display: flex;
    min-width: 235px;
    max-width: 360px;
    flex-direction: column;
    margin: 10px;
    box-shadow: 0px 3px 12px #bfbfbf;
    border-radius: 4px;
    background: #fff;
    position: relative;
    flex-grow: 2;
    flex: 1;
    justify-content: flex-end;
    user-select: none;
    text-decoration: none !important;
}

.product-card .description h6{
    min-height: 51px;
    font-size: 14px;
}

.product-card.always-visible{
    display:block !important;
    visibility: hidden !important;
    height: 0px !important;
    padding: 0 !important;
}

.product-card:hover,
.product-list:hover{
    box-shadow: 0px 1px 7px #2f3d7e;
    cursor: pointer;
}

.product-card img{
    height: 120px;
    max-width: 100%;
    margin-bottom: 10px;
    user-select: none;
    border-radius: 6px;
    /*max-height: 100px;*/
}

.product-card .description{
    padding: 10px;
}

.product-card  a{
    display: block;
    padding: 20px 10px 0 10px;
    text-decoration: none;
    color: inherit;
}

.product-card .buttons{
    display: flex;
    flex-direction: row;
    column-gap: 10px;
    align-items: center;
}

.buttons-add-to-cart svg,
.buttons-add-to-cart input,
.add-to-cart .add-to-cart svg{
    padding: 0 10px;
    border-radius: 50px;
    box-shadow: 0px 3px 12px #e9e9fb;
    cursor:pointer;
    fill: #2f3d7e;
    width: 37px !important;
    height: 37px !important;
    background-color: #e9e9fb;
}

.buttons-add-to-cart .form-control.add-cart-quantity[readonly]{
    background-color: #e9e9fb;
    color: #2f3d7e;
    user-select: none;
}

.buttons-add-to-cart input{
    text-align: center;
}

.buttons-add-to-cart svg:last-child{
    padding: 5px 10px 0px 10px;
}

.buttons-add-to-cart svg:hover,
.add-to-cart .add-to-cart svg:hover{
    background-color: #2f3d7e;
    cursor:pointer;
    fill:#fff;
}

.small-sidebar-filters{
    display: flex;
    border:1px solid #DBDBDB;
    border-radius:4px;
    background:#f7f8f9;
    width: 100%;
    padding:10px;
    align-items: center;
    column-gap:20px;
}

.product-list{
    display: grid;
    grid-template-columns: 1fr 120px 60px 300px;
    width: 100%;
    align-items: center;
    box-shadow: 0px 3px 12px #bfbfbf;
    padding: 15px;
    margin-bottom: 15px;
    column-gap: 15px;
    user-select: none;
    text-decoration: none !important;
}

.product-list .product-details{
    display: flex;
    align-items: center;
    column-gap: 25px;
    text-decoration: none !important;
}

.product-list .product-details label{
    font-size: 16px;
    font-weight: 700;
    margin: 0;
    cursor: pointer;
    color: #000;
}

.product-list .product-details p{
    color: #333;
    text-align: left;
    font-size: 12px;
}

.product-card p.product-amount{
    font-weight: 700;
    font-size: 17px;
    color: #2f3d7e;
}

.product-list p.product-amount{
    border-left: 1px solid #ccc;
    text-align: center;
    font-weight: 700;
    font-size: 17px;
    color: #2f3d7e;
}

.product-list .buttons{
    display: flex;
    align-items: center;
    column-gap: 10px;
    justify-content: flex-end;
}

.product-list .product-details p:last-child{
    line-height: 18px;
}

.account-orders{
    padding: 10px 15px;
    display: grid;
    grid-template-columns: 60px 100px 1fr 1fr;
    column-gap: 20px;
    width: 100%;
}

main.account.contents .main-center .account-orders h5 {
    margin: 0;
    padding: 10px;
    font-weight: 300;
    font-size: 14px;
    color: #666;
}

main.account.contents .main-center .account-orders label {
    margin: 0;
    padding: 10px;
    color: #333;
}

.account-orders .order-details{
    display: flex;
    align-items: center;
    column-gap: 25px;
}

.account-orders .order-buttons{
    display: grid;
    /*grid-template-columns: 43px 43px 43px 43px;*/
    grid-template-columns: 43px 43px;
    width: 100%;
    justify-content: end;
    align-items: center;
    grid-gap: 12px;
}

.order-cancel label{
    color: #cc0000 !important;
}

#search-mobile-button{
    display: none;
}

.cart{
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    font-size: 18px;
    height: fit-content;
    width: 100%;
}

.cart label{
    font-size: 16px;
    font-weight: 700;
}

textarea{
    width:100%;
    min-height: 200px;
    max-height: 200px;
    padding: 15px;
    font-size: 16px;
    border-color: #e4e6fc;
}

.cart .resume{
    padding: 20px 0 0 0;
    width: 100%;
    border-radius: 4px;
}

.cart .amount{
    color: #191C1F;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 16px;
}

.cart .checkbox{
    width: 100%;
    font-size: 13px;
    display: flex;
    column-gap: 10px;
    color: #fff;
}

.cart-orders{
    display: grid;
    grid-template-columns: 1fr 160px 90px 90px 160px 130px 45px;
    width: 100%;
    padding-bottom: 25px;
    margin-top: 25px;
    align-items: center;
}

.cart h4,
.cart-orders h4{
    font-size: 20px;
}

.cart-orders h4:nth-child(n+2),
.cart-orders p:nth-child(n+2){
    text-align: center;
}

.cart-orders .cart-details{
    display: flex;
    align-items: center;
    column-gap: 25px;
}

.cart-orders .cart-details label{
    font-size: 16px;
    font-weight: 700;
    margin: 0;
}

.cart-orders .cart-details p{
    color: grey;
    text-align: left;
    font-size: 14px;;
}

/* .cart-orders .cart-details p:last-child{
    line-height: 18px;
} */

.cart-orders > p,
.cart-orders a{
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

.loading-line {
    position: relative;
    overflow: hidden;
}
  
.loading-line::after {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.7); /* Couleur de surbrillance */
    animation: highlight 1.5s infinite; /* Durée de l'animation */
}

@keyframes highlight {
    0% {
        left: -100%;
    }
    100% {
        left: 100%;
    }
}

.main-products{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-start;
    width: 100%;
}

.announce-products{
    padding: 20px;
    background: #ddd;
    width: 100%;
    margin: 0 0 20px 0;
    border-radius: 4px;
}

.announce-products p{
    color: #7fb500;
}

.sidebar-products .form-group{
    padding: 0 15px;
    display: flex;
    column-gap: 5px;
    align-items: center;
}

.sidebar-products .form-group > label{
    font-weight: unset;
    color: #000;
    font-size: 16px;
    letter-spacing: 0;
    margin: 0;
    cursor: pointer;
}

.main-contact{
    display: grid;
    grid-template-columns: 300px 1fr 300px;
    column-gap: 40px;
    margin: 50px 12%;
    box-shadow: 0px 3px 12px #bfbfbf;
}

.main-contact form>div{
    display: flex;
    column-gap: 10px;
    align-items: center;
}

#iw-contact-form-smartphone{
    display: none;
}

section .section-contact{
    background: rgba(23, 28, 53,0.7);
    padding: 50px 12%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    font-size: 16px;
    position: relative;
}

section .section-contact img{
    position: absolute;
    top: 20px;
    right: 20px;
}

main.cart.contents{
    display: grid;
    grid-template-columns: 1fr 340px;
    column-gap: 50px;
    width: 100%;
    padding-top: 30px;
}

main.account.contents{
    padding-top: 30px;
    grid-gap: 30px;
}

main.cart.contents .main-center{
    align-items: flex-start;
    width: 100%;
    border: 1px solid #ccc;
    border-radius: 6px;
}

main.cart.contents .cart-orders{
    padding: 20px;  
}

main.cart.contents .cart-orders h4{
    font-weight: 100;
    color: #475156;
    font-size: 12px;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin: 0;
}

main.main-products.filters{
    flex-direction: row;
    flex-wrap: wrap;
    grid-gap: 10px;
}

.account-orders .order-buttons .iw-button-account-order-smartphone {
    display: block;
    width: fit-content;
    padding: 7px 12px;
    border-radius: 50px !important;
}

main.favorites.contents{
    grid-template-columns: 1fr;
}

main.favorites.contents .announce-products{
    height: auto;
}

#product-modal{
    z-index: 99999999;
}

#product-modal .modal-dialog {
    max-width: 70% !important;
}

#product-modal .modal-body{
    display: grid;
    grid-template-columns: 40% 1fr;
    grid-gap: 40px;
}

#product-modal .modal-body>div:first-child{
    text-align: center;
}

#product-modal .modal-body img{
    width: 100%;
    padding: 20px;
}

#product-modal .modal-body .description{
    min-width: 400px;
}

.add-to-cart{
    display: flex;
}

#search-form-smartphone{
    display: none;
    margin: 20px;
    margin-bottom: 0;
}

#search-form-smartphone input{
    width: calc(100% - 29px);
}

.add-to-cart .btn-add-to-cart,
.add-to-cart .btn-add-to-cart:hover,
.btn.btn-add-to-cart:not(.btn-social):not(.btn-social-icon):hover,
.btn.btn-add-to-cart:not(.btn-social):not(.btn-social-icon):active,
.btn.btn-add-to-cart:not(.btn-social):not(.btn-social-icon):focus{
    padding: 0.3rem 0.8rem !important;
    border: 1px solid #e4e6fc;
    border-radius: 0;
    border-right: 0;
    border-color: #e4e6fc !important;
}

.add-to-cart input{
    width: 100px !important;
    text-align: center;
    border: 1px solid #e4e6fc;
    border-radius: 0;
    border-right: 0;
    padding-left: 30px !important;
}

.add-cart-hidden{
    display: none;
}

.filters-close{
    position: absolute;
    right: 20px;
    top: 20px;
}

.filters-validation{
    display: block;
    margin: 50px 0;
}

.tags{
    display: flex;
    flex-direction: column;
    row-gap: 5px;
    position: absolute;
    top: 10px;
    left: 10px;
}

tag{
    border-radius: 12px 2px;
    font-size: 10px;
    padding: 0px 10px;
    height: 17px;
    line-height: 17px;
    color: #fff;
    background: #2f3d7e 0% 0% no-repeat padding-box;
    width: max-content;
}

tag.type-promo::before{
    content:"PROMO";
}

tag.type-bio::before{
    content:"BIO";
}

tag.type-season::before{
    content:"SAISON";
}

tag.type-psycho::before{
    content:"PSY";
}

tag.type-superpsycho::before{
    content:"S.PSY";
}

tag.type-permanent::before{
    content:"P";
}

tag.type-top::before{
    content: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="14" height="14" fill="rgb(219, 23, 130)" class="bi bi-tags-fill" viewBox="0 0 16 16"><path d="M2 2a1 1 0 0 1 1-1h4.586a1 1 0 0 1 .707.293l7 7a1 1 0 0 1 0 1.414l-4.586 4.586a1 1 0 0 1-1.414 0l-7-7A1 1 0 0 1 2 6.586V2zm3.5 4a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3z"/><path d="M1.293 7.793A1 1 0 0 1 1 7.086V2a1 1 0 0 0-1 1v4.586a1 1 0 0 0 .293.707l7 7a1 1 0 0 0 1.414 0l.043-.043-7.457-7.457z"/></svg>');
    line-height: 25px;
}

tag.type-top::after{
    content: " TOP VENTE";
}

tag.type-promo{
    background: #2f3d7e 0% 0% no-repeat padding-box;
}

tag.type-bio{
    background: #80B500 0% 0% no-repeat padding-box;
}

tag.type-psycho{
    background: #2f3d7e 0% 0% no-repeat padding-box;
}

tag.type-superpsycho{
    background: #FF0019 0% 0% no-repeat padding-box;
}

tag.type-permanent{
    background: #d4be30 0% 0% no-repeat padding-box;
}

tag.type-season{
    background: #171C35 0% 0% no-repeat padding-box;
}

tag.type-top{
    color: #2f3d7e;
    background: #fff 0% 0% no-repeat padding-box;
}

.form-control.add-cart-quantity{
    font-size: 14px !important;
    width: calc( 100% - 130px) !important;
    min-width: 60px !important;
}

.main-page-section-breadcrumb{
    padding: 30px 2% !important;
}

#hello-user{
    color:#fff;
    margin-top: 5px;
}

#cart-count{
    background: #2f3d7e;
    color: #fff;
    padding: 2px 6px 0px 6px;
    border-radius: 50px;
    font-size: 9px;
    cursor: default;
    position: absolute;
    right: -10px;
    top: -5px;
}

.nav-smartphone{
    display: none;
}

h6{
    font-weight: 200;
}

#back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #2f3d7e;
    color: #ffffff;
    border: none;
    border-radius: 50px;
    width: 50px;
    cursor: pointer;
    height: 50px;
    display: none;
    z-index: 99;
}

#cart-amount{
    display: none;
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 99999;
    background: #2f3d7e;
    color: #fff;
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 14px;
    cursor: default;
}

#forms-search{
    display: flex;
    align-items: center;
    grid-gap: 10px;
}
#form-search-close{
    display: none;
}
#login-form-smartphone{
    padding: 0 20% !important;
    width: 100%;
}

.iw-filters-desktop{
    display: block !important;
}
.iw-filters-desktop .sidebar-products{
    display: block !important;
}

.iw-filters-smartphone{
    display: none !important;
}
.iw-filters-smartphone .sidebar-products{
    display: none !important;
}

.products{
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: auto;
    grid-auto-rows: unset;
}

@media screen and (max-width: 870px){
    .products {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 675px){

    .products {
        column-gap: 0px;
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 450px){
    .products {
        /* grid-template-columns: 1fr;
        grid-template-columns: 1fr 1fr; */
    zoom: 0.85;
    }
}





@media screen and (max-width: 1400px){
    
    .menu,
    .copyright{
        padding: 0 8%;
    }

    .highlight,
    main,
    section .section-contact{
        padding: 50px 8%;
    }
    .section .main-page{
        padding-left: 8%;
        padding-right: 8%;
    }
    .main-contact{
        margin: 50px 8%;
    }
}

@media screen and (max-width: 1200px){
    
    .menu,
    .copyright{
        padding: 0 6%;
    }

    .highlight,
    section .main-section,
    main,
    section .section-contact{
        padding: 50px 6%;
    }
    .section .main-page{
        padding-left: 6%;
        padding-right: 6%;
    }
    .main-contact{
        margin: 50px 6%;
        grid-template-columns: 1fr 300px;
    }

    #iw-contact-form-web{
        display: none;
    }
    #iw-contact-form-smartphone{
        display: block;
    }

    .account-orders .order-buttons{
        grid-template-columns: 43px 43px;
    }
}


@media screen and (max-width: 1140px){

    main.contents .sidebar-products,
    .announce-products{
        display: none;
        
    }
    main.contents .sidebar-products{
        position: absolute;
        z-index: 9999;
        background: #fff;
        width: 100%;
        top: 0;
        left: 0;
        margin: 0;
        border-radius: 0;    
    }
    #iw-company-desktop{
        display:none;
    }
    main.contents{
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
    }
    .main-products {
        justify-content: flex-start;
    }
    main.account.contents .sidebar{
        width: 100%;
    }
    main.cart.contents{
        display: flex;
        row-gap: 30px;
    }
}

@media screen and (max-width: 960px){

    .announce .images img{
        height: 200px;
        width: -webkit-fill-available;
    }
    .header-flashs {
        display: none;
    }
    .iw-main-products{
        padding-left: 0;
    }
    .nav-smartphone{
        display: block;
    }
    #product-modal .modal-dialog{
        max-width: 90% !important;
    }
}

@media screen and (max-width: 870px){
    
    .menu,
    .copyright{
        padding: 0 5%;
    }

    .highlight,
    section .main-section,
    main,
    section .section-contact{
        padding: 50px 3%;
    }
    .section .main-page{
        padding-left: 5%;
        padding-right: 5%;
    }
    .main-contact{
        margin: 50px 5%;
    }

    main.filters .buttons{
        position: relative;
        width: 100%;
    }
    #iw-company-desktop{
        display:none;
    }

    main.account.contents {
        justify-content: center;
    }
    /* main.account.contents .sidebar{
        flex-direction: row;
        justify-content: space-around;
        margin-bottom: 50px;
    }
    main.account.contents .sidebar>div{
        display: none;
    } */
    main.cart.contents .cart h4{
        display: none;
    }

    .main-contact{
        display: flex;
        flex-direction: column-reverse;
    }

    .type-of-vue{
        display: none;
    }

    .iw-filters-desktop{
        display: none !important;;
    }
    .iw-filters-desktop .sidebar-products{
        display: none !important;
    }
    
    .iw-filters-smartphone{
        display: block !important;;
    }
    .iw-filters-smartphone .sidebar-products{
        display: block !important;
    }
    #span-search-change-mode{
        display: none;
    }
}

@media screen and (max-width: 830px){
    #search-form{
        margin-left: -10%;
    }
}

@media screen and (max-width: 780px){

    .announce{
        flex-wrap: wrap;
    }
    main.main-products.filters{
        flex-direction: row;
        flex-wrap: wrap;
        grid-gap: 10px;
    }
    .cart-orders-to-hide{
        display: none !important;
    }
    .cart-orders{
        grid-template-columns: 1fr 90px 90px 160px 130px;
    }
    .cart-orders .cart-details>div:first-child {
        display: none;
    }
}

@media screen and (max-width: 740px){
    #search-form input{
        width: 200px;
    }
}

@media screen and (max-width: 640px){
    #search-form{
        margin: 0;
    }
    #search-form input{
        width: 300px;
    }
    .menu{
        justify-content: center;
    }
    #forms-search{
        display: none;
    }
    #search-form,
    #search-form-ean{
        position: absolute;
        top: 0;
        left: 0;
        padding: 15px 5%;
        background: #fff;
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        z-index: 99;
    }
    form.search input{
        height: 38.8px;
        margin: 0;
    }
    #form-search-change-mode{
        position: absolute;
        right: 20px;
        top: 26px;
        z-index: 100;
    }
    #form-search-close{
        display: block;
        position: absolute;
        left: 15px;
        top: 26px;
        z-index: 100;
    }
    #search-form-smartphone,
    #search-mobile-button{
        display: block;
    }
    #product-modal .modal-body{
        display: flex;
        flex-direction: column;
    }

    #product-modal .modal-body img{
        width: 200px;
    }

    #product-modal .modal-body .description{
        min-width: unset;
    }
    .account-orders-td-hide{
        display: none;
    }
    .account-orders{
        grid-template-columns: 50px 1fr 1fr;
        column-gap: 10px;
    }
    .main-page-section-breadcrumb{
        padding: 30px 0;
        display: flex;
        justify-content: center;
    }   
    h4{
        font-size: 18px;
        margin: 0;
    }
    .cart-orders h4{
        font-size: 14px;
    } 
    .cart-orders{
        zoom: 0.8;
        grid-template-columns: 1fr 80px 80px 160px 110px;
    }
    .cart-orders.iw-details-data {
        grid-template-columns: 200px 80px 80px 80px 110px;
    }
    .form-control.search-data{
        zoom: 0.9;;
    }
}

@media screen and (max-width: 540px){
    #hello-user,
    #product-modal .modal-body .add-to-cart .add-cart-plus span{
        display: none;
    }
    #product-modal .modal-body .add-to-cart {
        justify-content: center;
    }
    #product-modal .modal-dialog {
        max-width: 100% !important;
    }  
    .pre-footer{
        padding: 100px 4% 40px 4%;
    }
    .main-footer{
        padding: 130px 4% 70px 4%;
    }
    .form-control.add-cart-quantity{
        min-width: 45px !important;
    }
}

@media screen and (max-width: 450px){
    
    .menu,
    .copyright{
        padding: 0 2%;
    }

    .highlight,
    section .main-section,
    main,
    section .section-contact{
        padding: 50px 2%;
    }
    .section .main-page{
        padding-left: 2%;
        padding-right: 2%;
    }
    .main-contact{
        margin: 50px 2%;
    }

    main.contents .sidebar a.account-links {
        font-size: 14px;
    }

    .announce .images{
        flex-wrap: wrap;
    }

    .main-products {
        zoom: 0.7;
    }

    .menu a.nav-item.nav-item-category{
        display: none;
    }

    main.cart.contents .main-center{
        zoom: 0.75;
    }
    form.search input{
        width: 250px !important;
    }
}

@media screen and (max-width: 425px){

    .cart-orders-425{
        grid-template-columns: 200px 80px 80px 160px 110px;
        width: max-content;
    }

    #header-nav-on-smartphone{
        margin-left: -15%;
    }
}

/* Infobulles personnalisées */
.tooltip-container {
    position: relative;
    display: inline-block;
}

.tooltip-text {
    display: none;
    background-color: #5cc9ca;
    color: #fff;
    text-align: center;
    padding: 8px 12px;
    border-radius: 6px;
    position: absolute;
    z-index: 9999;
    top: 50%;
    right: 100%;
    transform: translateY(-50%);
    margin-right: 10px;
    white-space: nowrap;
    font-size: 13px;
    font-weight: 400;
    pointer-events: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.tooltip-text::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 100%;
    margin-top: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: transparent transparent transparent #5cc9ca;
}

.tooltip-container:hover .tooltip-text {
    display: block;
}

/* Pour les liens avec tooltips */
a.tooltip-container {
    text-decoration: none;
}

/* Pour les boutons avec tooltips */
button.tooltip-container {
    position: relative;
}

/* Infobulle en dessous */
.tooltip-bottom .tooltip-text {
    top: 100%;
    right: auto;
    left: 50%;
    transform: translateX(-50%);
    margin-top: 10px;
    margin-right: 0;
}

.tooltip-bottom .tooltip-text::after {
    top: auto;
    bottom: 100%;
    left: 50%;
    margin-left: -5px;
    margin-top: 0;
    border-color: transparent transparent #5cc9ca transparent;
}