    @import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,500;1,300;1,500&display=swap');
    :root{
        --orange:#da4c0a;
        --black:#1043a7;
        --light-color:#666;
        --box-shadow:0 .5rem 1rem rgba(0,0,0,.1);
        --border:2rem solid rgba(0,0,0,.1);
        --outline:.1rem solid rgba(0,0,0,.1);
        --outline-hover:.2rem solid var(--black);
    }
    /*
    *{
        font-family: 'Poppins', sans-serif;
        margin: 0;padding: 0;
        box-sizing: border-box;
        outline: none; border: none;
        text-decoration: none;
        text-transform: capitalize;
        transition: all .2s linear;
    }*/
    html{
        font-size: 50%;
        overflow-x: hidden;
        scroll-behavior: smooth;
        scroll-padding-top: 7rem;
    }
    body
    {
        font-family: 'Poppins', sans-serif;
        background: #eee;
        /*background-image: url(image/fond-bois.jpg);*/
        width: auto;
        height: 100%;
    }


    .header{
        position: fixed; /* ou fixed */
        top: 0;left: 0;right: 0;
        z-index: 100;
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 0.8rem 9%;
        background:#343a40;
        border-bottom: solid 3px;
        border-color: #1043a7;
        box-shadow: var(--box-shadow);
        transform: translateZ(0);
    }
    .header .logo{
        font-size: 2rem;
        text-decoration: none;
        color: var(--black);   
    }
    .header .logo strong{
        color: #1043a7;
        text-decoration: overline;
        font-weight: 800;
        letter-spacing: 3px;
    }
    .header .logo strong span{
        color: #da4c0a;
        text-decoration: overline;
    }
    .header .navbar a{
        font-size: 1.7rem;
        margin: 0 1rem;
        color: white;
        text-decoration : none;
    }
    .header .navbar a:hover{
        color: var(--black);
        text-decoration : none;
    }
    .header .navbar a:hover, a:active{
        color:var(--orange);
        text-decoration: none;
    }

    .header .icons div{
        height: 4.5rem;
        width: 4.5rem;
        line-height: 4.5rem;
        border-radius: .5rem;
        background: #eee;
        cursor: pointer;
        color: var(--black);
        font-size: 2rem;
        margin-right: .3rem;
        text-align: center;
    }
    .header .icons div:hover{
        background: var(--orange);
        color: #fff;
    }
    #menu-btn{
        display: none;
    }
    .btn{
        margin-top: 1rem;
        display: inline-block;
        padding: .8rem 3rem;
        font-size: 1.7rem;
        border-radius: .5rem;
        border: .2rem solid var(--black);
        color: var(--black);
        cursor: pointer;
    }
    .btn:hover{
        background: var(--orange);
        color: #fff;
    }
    .header .search-form{
        position: absolute;
        top: 110%;right: -110%;
        width: 50rem;
        height: 5rem;
        background: #fff;
        border-radius: .5rem;
        overflow: hidden;
        display: flex;
        align-items: center;
        box-shadow: var(--box-shadow);
    }
    .header .search-form.active{
    right: 2rem;
    transition: .4s linear;
    }
    .header .search-form input{
        height: 100%;
        width: 100%;
        background: none;
        text-transform: none;
        font-size: 1.5rem;
        color: var(--black);
        padding: 0 1rem;
    }
    .header .search-form label{
        font-size: 2.2rem;
        padding-right: 1.5rem;
        color: var(--black);
        cursor: pointer;
    }
    .header .search-form label:hover{
        color: var(--orange);
    }

    .header .shopping-cart{
        position: absolute;
        top: 110%; right: -110%;
        padding: 1rem;
        border-radius: .5rem;
        box-shadow: var(--box-shadow);
        width: 40rem;
        background: #fff;
    }
    .header .shopping-cart.active{
        right: 2rem;
        transition: .4s linear;
    }
    .header .shopping-cart .box{
        display: flex;
        align-self: center;
        gap: 1rem;
        position: relative;
        margin: 1rem 0;
    }
    .header .shopping-cart .box img{
        height: 10rem;
    }
    .header .shopping-cart .box .fa-trash{
        font-size: 2rem;
        position: absolute;
        top: 50%;right: 2rem;
        cursor: pointer;
        color: var(--light-color);
        transform: translateY(-50%);
    }
    .header .shopping-cart .box .fa-trash:hover{
        color: var(--orange);
    }
    .header .shopping-cart .box .content h3{
        color: var(--black);
        font-size: 1.7rem;
        padding-bottom: 1rem;
    }
    .header .shopping-cart .box .content span{
        color: var(--light-color);
        font-size: 1.6rem;
    }
    .header .shopping-cart .box .content .quantity{
        padding-left: 1rem;
    }
    .header .shopping-cart .total{
        font-size: 2.5rem;
        padding: 1rem 0;
        text-align: center;
        color: var(--black);
    }
    .header .shopping-cart .btn{
        display: block;
        text-align: center;
        margin: 1rem;
    }
    .header .login-form{
        position: absolute;
        top: 110%; right: -110%;
        width: 30rem;
        box-shadow: var(--box-shadow);
        padding: 2rem;
        border-radius: .5rem;
        background: #fff;
        text-align: center;
    }

    .header .login-form .input-login-form{
        width:90%;
        border-radius: 5px;
        border:none;
        border-bottom: 2px solid;
        border-color: orange; 
        padding: 12px;
        margin-top: 10px;
        display: flex;
    }

    .header .login-form .input-login-form:focus{
        border:none;
    }
    .header .login-form.active{
        right: 2rem;
        transition: .4s linear;
    }
    .header .login-form h3{
        font-size: 2.5rem;
        text-transform: uppercase;
        color: var(--black);
    }
    .header .login-form .box{
        width: 100%;
        margin: .7rem 0;
        background: #b3b3b3;
        border-radius: .5rem;
        padding: 1rem;
        font-size: 1.6rem;
        color: var(--black);
        text-transform: none;
    }
    .header .login-form p{
        font-size: 1.4rem;
        padding: .5rem 0;
        color: var(--light-color);
    }
    .header .login-form p a{
        color: var(--orange);
        text-decoration: underline;
    }

    .home{
        display: flex;
        align-items: center;
        justify-content: center;
        background: url(image/font1.jpg) no-repeat;
        background-position: center;
        background-size: cover;
        padding-top: 17rem;
        padding-bottom: 10rem;
    }
    .home .content{
        text-align: center;
        width: 60rem;
    }
    .home .content h3{
        color: #ffff;
        font-size: 3rem;
    }
    .home .content h3 span{
        color: var(--orange);
    }
    .home .content p{
        color: var(--light-color);
        font-size: 1.7rem;
        padding: 1rem 0;
        line-height: 1.8;
    }

    /*media query */

    @media(max-width:991px){
        html{
            font-size: 55%;
        }
        .header{
            padding: 2rem;
        }
        .section{
            padding: 2rem;
        }
    }
    @media(max-width:768px){
        #menu-btn{
            display: inline-block;
        }
        .header .search-form{
            width: 90%;
        }
        
        .header .navbar{
            position: absolute;
            margin: 0 10px;
            top: 110%;right: -110%;
            width: 35rem;
            box-shadow: var(--box-shadow);
            border-radius: .5rem;
            background:#343a40;
            border-bottom: solid 3px;
            border-color: #1043a7;
        }
        .header .navbar.active{
            right: 2rem;
            transition: .4s;
        }
        .header .navbar a{
            font-size: 2rem;
            margin: 3rem 3rem;
            display: block;
        }
        .header .navbar a:hover{
            color: var(--black);
            text-decoration : none;
        }
    }
    @media(max-width:450px){
        html{
            font-size: 50%;
        }
        .heading{
            font-size: 2.5rem;
        }
    }
     /* Styles pour le flou de l'arriï¿½re-plan */
.loader-container {
    display: flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.08); /* Couleur de fond avec opacitï¿½ */
    backdrop-filter: blur(3px); /* Effet de flou */
    z-index: 9999;
}

/* Styles pour l'ï¿½lï¿½ment de chargement */
.loader {
    border: 5px solid #f3f3f3;
    border-top: 5px solid #3498db;
    border-radius: 50%;
    width:80px;
    height: 80px;
    animation: spin 1s linear infinite;
    position: absolute;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Style de la fenï¿½tre coulissante des catï¿½gories */
    .header .categorie-list {
        position: fixed;
        top: 0;
        left: -400px; /* Masquer le menu ï¿½ gauche au dï¿½but */
        width: 300px;
        height: 100%;
        background-color: #343a40;
        padding: 20px;
        border-right: 3px solid;
        border-color: #1043a7;
        box-shadow: 2px 0 5px rgba(0, 0, 0, 0.5);
        z-index: 1000;
        transition: left 0.3s ease; /* Transition pour l'animation */
    }

    .header .categorie-list h3 {
        top: 5px;
        font-size: 1.9rem;
        color: white;
        margin-bottom: 20px;
    }

    .header .categorie-list ul {
        list-style: none;
        padding: 0;
    }

    .header .categorie-list ul li {
        margin: 15px 0;
    }

    .header .categorie-list ul li a {
        color: white;
        text-decoration: none;
        font-size: 1.5rem;
    }



.header .categorie-list ul li a:hover {
    color: var(--orange);
}

.header .categorie-list .input-categorie{
    align-items: center;
    display: flex;
    padding: 5px 0px 5px 5px;
    color: white;
    cursor: pointer;
    border-bottom : 1px solid;
   
}
.header .categorie-list .input-categorie:hover{
    padding: 5px 0px 5px 5px;
    color: orange;
    box-shadow: 0px 1.5px 0px rgba(0, 0, 0, 0.5);
    cursor: pointer;
    /* background-color: rgba(158, 158, 158, 0.13); */
    border-bottom : 1px solid;
    
}
/* Bouton de fermeture */
.header .close-btn {
    font-size: 30px;
    color: white;
    cursor: pointer;
    position: absolute;
    top: 5px;
    right: 20px;
}

/* Quand le menu est actif */
.header .categorie-list.active {
    left: 0; /* Afficher le menu */
}


.category-icon {
    margin-right: 10px;
}

/* --- MODALE --- */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    }
    
    .modal-content {
    background: white;
    width: 60%;
    max-width: 600px;
    margin: 10% auto;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    position: relative;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.3);
    }
    
    .close-btn {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 20px;
    cursor: pointer;
    font-weight: bold;
    color:black;
    }
    
    /* --- STYLE DES CARDS --- */
    .sub-category-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
    }
    
    .sub-category-card {
    background: #f8f8f8;
    border-radius: 10px;
    padding: 15px;
    width: 120px;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    transition: transform 0.2s, background 0.2s;
    }
    
    .sub-category-card:hover {
    transform: scale(1.05);
    background: #e0e0e0;
    }
    
    .sub-category-card img {
  width: 100%;
  display: block;
  height: 50px;
    }
    
    .sub-category-card span {
  display: block;
  padding: 10px;
  font-weight: bold;
  color: #333;
}

.login-form {
        max-width: 400px;
        margin: 0 auto;
        text-align: center;
    }
    
    .account-type-selector {
        display: flex;
        justify-content: space-around;
        margin: 20px 0;
    }
    
    .account-option {
        cursor: pointer;
        padding: 15px;
        border-radius: 8px;
        transition: all 0.3s ease;
        width: 40%;
    }
    
    .account-option:hover {
        background-color: #f0f0f0;
        transform: translateY(-5px);
    }
    
    .account-icon {
        font-size: 4rem;
        margin-bottom: 10px;
        color: #3498db;
    }
    
    .account-links {
        margin-top: 20px;
        font-size: 0.9rem;
    }
    
    .account-links a {
        color: #3498db;
        text-decoration: none;
    }
    
    /* Styles pour le sï¿½lecteur de devise */
    .currency-selector {
        margin-right: 1rem;
    }
    
    .currency-selector select {
        background: #eee;
        color: var(--black);
        border: none;
        border-radius: .5rem;
        padding: 0.8rem 1rem;
        font-size: 1.4rem;
        cursor: pointer;
        outline: none;
        height: 4.5rem;
    }
    
    .currency-selector select:hover {
        background: var(--orange);
        color: #fff;
    }

/* Media queries pour le responsive */
@media(max-width:768px){
    .currency-selector {
        display: none; /* Cacher sur mobile pour ï¿½conomiser l'espace */
    }
}
/* Conteneur sous le menu */
.search-container {
    width: 100%;
    background: #fff;
    padding: 8px 0;
    display: flex;
    justify-content: center;
    border-bottom: 1px solid #eee;
}

/* Style de la barre de recherche */
.search-bar {
    display: flex;
    width: 70%;
    max-width: 750px;
    background: white;
    border-radius: 6px;
    overflow: hidden;
    border-bottom: 2px solid #da4c0a;
    height: 42px;
}

/* Catï¿½gories */
.search-bar select {
    background: #f3f3f3;
    border: none;
    padding: 0 10px;
    font-size: 14px;
    cursor: pointer;
}

/* Champ texte */
.search-bar input {
    flex: 1;
    border: none;
    padding: 0 15px;
    font-size: 15px;
}

.search-bar input:focus {
    outline: none;
}

/* Bouton loupe */
.search-bar button {
    width: 50px;
    background-color: #da4c0a;
    border: none;
    cursor: pointer;
}

.search-bar button i {
    color: white;
    font-size: 18px;
}

/* Responsive */
@media screen and (max-width: 991px) {
    .search-container {
        margin-top: 20px;
    }
}

@media screen and (max-width: 768px) {
    .search-bar {
        width: 90%;
    }
    
    .search-bar select {
        display: none; /* Optionnel pour aï¿½rer sur mobile */
    }
}




