
* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

:root {
    --red: #fe2e21;
    --black: #424242;
    --gray:#d8d1c9;
    --white:#fbf7ef;
    --yellow: #FAC710;
    --pink: #FAD4D7;
    --transpink: #fad4d755;

}

html {
    scroll-behavior: smooth;
}
body{
    background-color: #f8f4ef74;
    background-image: 
    linear-gradient(90deg, #e1e1e1 0.2px, transparent 0.4px), /* petites lignes verticales */
    linear-gradient(180deg, #e1e1e1 0.2px, transparent 0.4px), /* petites lignes horizontales */
    linear-gradient(90deg, #dbdbdb 0.76px, transparent 0.2px), /* grandes lignes verticales */
    linear-gradient(180deg, #dbdbdb 0.76px, transparent 0.2px); /* grandes lignes horizontales */
    background-size: 20px 20px, 20px 20px, 100px 100px, 100px 100px;

    font-family: "Roboto", sans-serif;
    font-weight: 400;
    font-style: normal;

}



.clear:before, .clear:after {
    content: ' ';
    display: table;
}

.clear:after {
    clear:both;
}

ul, ol {
    list-style: none;
}

img {
    vertical-align: bottom;
    width: 100%;
}

a:link {
    text-decoration: none;
}


.bigwrap{
    max-width: 1600px;
    width: 100%;
    margin: 0 auto;
}
.wrap {
    max-width: 1440px;
    width:100%;
    margin: 0 auto;
    padding: 0 1rem;
}
.wrap2{
    max-width: 850px;
    width: 100%;
    margin: 0 auto;
    padding: 0 1rem;
}
.wrap3{
    max-width: 650px;
    width: 100%;
    margin: 0 auto;
    padding: 0 1rem;
}
.g-recaptcha {
    display: flex;
    justify-content: center; /* Centre horizontalement */
    align-items: center; /* Centre verticalement si nécessaire */
    transform: scale(0.85); /* Ajuste la taille (réduction à 85%) */
    transform-origin: center; /* Centre l'origine du redimensionnement */
    margin: 0 auto; /* Ajoute un centrage pour les environnements non flexbox */
}


.g-recaptcha iframe {
    max-width: 100%; /* S'assure que la case ne dépasse pas les limites */
    width: 100%;
}

.patrick-hand-regular {
    font-family: "Patrick Hand", serif;
    font-weight: 400;
    font-style: normal;
  }
  



/* Page de chargement */
#loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #ffffff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 9999; 
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

#loader .spinner {
    border: 5px solid var(--gray); 
    border-top: 5px solid var(--red);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 15s linear infinite;
}

#loader p {
    margin-top: 1rem;
    font-size: 1.2rem;
    color: #333;
}

/* Animation du spinner */
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Masquer le loader après le chargement */
.hidden {
    opacity: 0;
    visibility: hidden;
}



#google_translate_element {
    position: fixed; /* Fixe l'élément sur l'écran */
    top: 10px; /* Ajustez pour définir la hauteur */
    right: 10rem; /* Décale l'élément en dehors de l'écran */
    z-index: 1000; /* Place-le au-dessus des autres éléments */
    transform: translateX(60px); /* Ramène le sélecteur visible à l'écran */
    max-width: calc(100vw - 20px); /* Empêche le dépassement du sélecteur visible */
  }

  #google_translate_element img {
  width: 40px;
  }
  

  
  
  
  
  


/* HEADER */

#masthead {
    background-color: white;
    position: fixed;
    width: 100%;
    z-index: 100;
    box-shadow: rgba(67, 71, 85, 0.27) 0px 0px 0.25em,
                rgba(90, 125, 188, 0.05) 0px 0.25em 1em;
    padding-bottom: 1rem;
}

/* Conteneur principal */
#masthead .wrap {
    padding: 2rem 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative; 
}

/* Logo */
#masthead .logo img {
    width: 14rem;
}

#masthead .logo a {
    margin-left: 3rem;
    display: inline-block;
    transition: all 0.3s;
}

#masthead .logo a:hover {
    transform: scale(1.02);
}

/* Barre de recherche */
.search-bar {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-grow: 1; /* pour étendre la search bar */
}

.search-bar form {
    background-color: white;
    display: flex;
    border: 1px solid #ddd;
    border-radius: 10px;
    overflow: hidden;
    height: 35px;
    margin-bottom: 0.5rem;
}

.search-bar input {
    padding-left: 10px;
    border: none;
    outline: none;
    width: 250px;
    font-size: 16px;
}

.search-bar button {
    margin-top: -2px;
    background-color: white;
    border: none;
    padding: 8px;
    cursor: pointer;
}

.search-bar button i {
    margin-bottom: 1rem;
}



/* Les barres rouges (3 lignes) */
#masthead::before,
#masthead::after,
#masthead .third-line {
    content: "";
    display: block;
    height: 4.5px;
    background-color: var(--red);
    width: 100%;
    position: absolute;
    left: 0;
}

#masthead::before {
    bottom: 2rem; 
}
#masthead .third-line {
    bottom: 2.5rem;
}
#masthead::after {
    bottom: 3rem; 
}

/* =========================
     NAV NON CONNECTÉ (3 liens)
========================= */

#masthead nav {
    display: flex;
    align-items: center;
    position: relative;
}

/* Burger caché sur desktop (non connecté) */
.nav_res {
    display: none; 
    cursor: pointer;
    font-size: 1.5rem;
    margin-bottom: 0.3rem;
}

/* Menu horizontal sur desktop */
.nav {
    display: flex;
    margin: 0;
    padding: 0;
}

.nav li {
    list-style: none;
}

/* ================================
   NAV CONNECTÉ (burger .nav-logged)
   => Vertical, masqué par défaut
================================ */
.nav-logged {
    display: none;
    flex-direction: column;
    background-color: white;
    position: absolute;
    top: 4rem; 
    right: 0;
    gap: inherit;
    margin: 0;
    padding: 1rem;

    /* On force le menu à passer devant */
    z-index: 9999;
}

.nav-logged li {
    list-style: none;
    border-bottom: inset;
    border-color: #d8d1c947;
    text-align: center;
    margin: 0.5rem 0;
}

.nav-logged a {
    display: inline-block;
    width: 100%;
    padding: 0.5rem 1rem;
    border-radius: 10px;
    background-color: transparent;
    text-transform: uppercase;
    font-size: 1rem;
    font-weight: 500;
    color: var(--red);
    font-family: flama, sans-serif;
    transition: background-color 0.3s, transform 0.3s;
}

.nav-logged a:hover {
    text-shadow: 0px 3px 10px rgba(230, 57, 70, 0.5); /* Glow pour le hover */
}

/* Burger de la nav connectée (toujours visible) */
#burger-menu-logged {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background-color: #FAD4D7;
    padding: 0.6rem 1rem;
    border-radius: 5px;
    cursor: pointer;
    margin-bottom: 0.3rem;
    transition: background-color 0.3s, transform 0.3s;
}

#burger-menu-logged i {
    font-size: 1.2rem; /* Agrandit l’icône */
    color: var(--red);
}

#burger-menu-logged .menu-text {
    font-family: flama, sans-serif;
    font-size: 1rem;
    font-weight: 500;
    color: var(--red);
    text-transform: uppercase;
}

/* Effet hover sur le burger connecté */
#burger-menu-logged:hover {
    background-color: #ffcad0;
    transform: scale(1.01);
}

.nav a,
.nav-logged a {
    text-decoration: none;
    position: relative;
    display: inline-block; /* Nécessaire pour que l'effet s'applique correctement */
    padding: 0.1rem 1rem;
    margin-top: -0.2rem;
    margin-right: 0.6rem;
    color: rgb(40, 40, 40);
    font-weight: 500;
    overflow: hidden; /* Empêche l'effet de dépasser le texte */
    transition: color 0.4s ease; /* Animation fluide pour la couleur */
}

.nav a::before,
.nav-logged a::before {
    content: "";
    position: absolute;
    bottom: 0;
    left: -100%;
    width: 100%;
    height: 10%;
    background: var(--pink); /* Couleur de l'arrière-plan */
    z-index: -1; /* Place la bande derrière le texte */
    transition: left 0.4s ease; /* Animation fluide de déplacement */
    border-radius: 5px;
}



.nav a:hover::before,
.nav-logged a:hover::before {
    left: 0; /* Fait glisser la bande sous le texte */
}





/* =========================
   RESPONSIVE (≤ 768px)
========================= */
@media screen and (max-width: 768px) {
  
  #masthead .wrap {
    flex-wrap: wrap;
  }

  #masthead .logo img {
    width: 12rem;
  }

  .search-bar form {
  }

  /* On affiche le burger pour la nav non connectée sur mobile */
  .nav_res {
    display: block;
  }

  /* Menu non connecté en mode burger, masqué par défaut */
  .nav {
    width: max-content;
    display: none;
    flex-direction: column;
    background-color: white;
    position: absolute;
    top: 4rem; 
    right: 0;
    gap: inherit;
    z-index: 9999;
    margin-right: -1rem;

  }

  .nav li {
    border-bottom: inset;
    border-color: #d8d1c947;
    text-align: center;
    margin: 0.5rem 0;
  }

  .nav a {
    width: 100%;
    padding: 0.5rem 1rem;
    background-color: transparent;
  }
}
  


/*FOOTER*/

/* Style général pour le footer */
#colophon {
    background-color: white;
    /* background-color:#ece3d8; */
    padding: 20px 0;
    text-align: center;
    position: relative;
    z-index: 10;
}

.wrap {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.footer-center {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    color: var(--black);
    font-weight: 500;
}

.logo_footer a{
    color: var(--black);
}

.logo_footer img.logofoot{
    width: 180px;
    transition: all .3s;
}

.logo_footer img.logofoot:hover{
    transform: scale(1.02);
}

.logo_footer img.logocontact{
    width: 100px;
    text-align: center;
    padding-top: 0.5rem;
    padding-bottom: 1rem;
}


/* Alignement des éléments centraux */
.logo_footer {
    display: grid;
    text-align: center;
    margin: 0 30px;
}

/* Style pour les réseaux sociaux en texte à gauche */
.social-left {
    display: grid;
    gap: 5px;
    margin-top: 1rem;
}

.social-left a {
    font-size: 1.2rem;
    color: #333;
    text-decoration: none;
    transition: color 0.3s;
}

.social-left a:hover {
    color: #FAD4D7; 
}

/* Style pour les icônes des réseaux sociaux à droite */
.social-right {
    margin-top: 1rem;
    display: grid;
    gap: 5px;
}

.social-right a {
    font-size: 1.5rem;
    color: #333;
    text-decoration: none;
    transition: transform 0.3s;
}

.social-right a:hover {
    color: #FAD4D7;
    transform: scale(1.2); /* Agrandissement au survol */
}



@media (max-width: 992px) {
#colophon {
    padding: 20px 0;
    text-align: center;
    position: relative;
    z-index: 10;
}

.wrap {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.footer-center {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    color: var(--black);
    font-weight: 600;
}

.logo_footer a{
    color: var(--black);
}

.logo_footer img.logofoot{
    padding-bottom: 1rem;
    width: 180px;
}

.logo_footer img.logocontact{
    width: 100px;
    text-align: center;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}


/* Style pour les réseaux sociaux en texte à gauche */
.social-left {
    margin-left: 0.5rem;
    width: 20%;
    display: grid;
    gap: 5px;
}

.social-left a {
    font-size: 1rem;
    color: #333;
    text-decoration: none;
    transition: color 0.3s;
}

.social-left a:hover {
    color: #000000;
}

.social-right {
    width: 20%;
    display: grid;
    gap: 5px;
}

.social-right a {
    font-size: 1.7rem;
    color: #333;
    text-decoration: none;
    transition: transform 0.3s;
}

.social-right a:hover {
    color: #ff5757;
    transform: scale(1.2); /* Agrandissement au survol */
}


.footer-center {
   margin-right: 3.5rem;
}
}








/* Section Home */
#home {
    position: relative;
    padding-top: 5.8rem;
    /* background-image: url("../asset/image/back.jpg"); */
    background-position-y: center;
    background-size: cover; 
    text-align: center;
    color: #fff; 
}


 #home .wrap2 { 
     position: relative; 
     z-index: 2; 
 }  


 /* Séparateur */
#backcurv {
    background-color: var(--white);
}
.curved {
    position: relative;
    background: white;
    height: 40vh;
    border-bottom-left-radius: 80% 27%;
    border-bottom-right-radius: 80% 27%;
  }


/* Section À propos */
#about {
    position: relative;
    padding: 4rem 2rem 0rem 1.5rem;
    text-align: left;
    background-color: white;
    color: #333;
    overflow: hidden;
}

#about .shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
}

#about .circle {
    background-color: var(--transpink);
    border-radius: 100%;
    flex: 0 0 auto;
    height: var(--framer-aspect-ratio-supported, 130px);
    left: 14%;
    position: absolute;
    top: 20%;
    width: 130px;
    z-index: 1;
}

#about .containerabout {
    position: relative;
    z-index: 1;
    margin: 0 auto;
    text-align: left;
    padding-left: 2rem;
    margin-right: 15%;
    margin-left: 15%;
}

#about h2 {
    font-family: 'Pacifico', sans-serif !important;
    margin-top: 2%;
    font-size: 2.2rem;
    margin-bottom: 1rem;
    font-weight: 500;
    color: var(--red);
    text-align: left;
}

#about p {
    font-size: 1.2rem;
    line-height: 1.8;
    color: #555;
    text-align: left;
}

/* Responsive Design */
@media screen and (max-width: 768px) {
    #about {
        padding: 2rem 1rem;
    }
    #about .containerabout {
        margin-right: 0%;
        margin-left: 0%;
    }

    #about .circle {
        width: 10em; /* Taille adaptée aux petits écrans */
        height: 10em;
        top: 5%; /* Ajustement pour rester proche du texte */
        left: 2%; /* Collé au texte */
    }

    #about h2 {
        font-size: 1.8rem;
    }

    #about p {
        font-size: 1rem;
    }
}







/* Section Produits Populaires */

.products-list {
    display: grid;
    grid-template-columns: repeat(6, 1fr); /* Gardez 6 colonnes par défaut */
    grid-gap: 0; /* Aucune marge entre les éléments */
    margin: 0 auto;
}



/* Carrousel pour les publicités */

.carousel-item.active {
    position: relative;
    opacity: 1;
    transition: opacity 1s ease-in-out, transform 1s ease-in-out;
    z-index: 1;
}

.carousel-item {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.product-item.carousel-item {
    background-color: white;
    position: relative;
    overflow: visible;
    z-index: 3;
    width: 100%; 
    max-width: none; 
    display: flex;
    justify-content: center; 
}

.product-item.carousel-item::before {
    content: "";
    position: absolute;
    top: 3px;
    right: 2px;
    bottom: 3px;
    left: 2px;
    outline: 6px dotted var(--red);
    pointer-events: none;
    box-sizing: border-box;
    z-index: 2000;
}



.containerpop.fade-in {
    position: relative;
    overflow: visible;
    z-index: 3;
    width: 100%; 
    max-width: none; 
    display: flex;
    justify-content: center; 
}


.static-ad {
    position: relative;
    overflow: visible;
    z-index: 3;
    width: 100%; 
    max-width: none; 
    display: flex;
    justify-content: center; 
}

.static-ad img{
    height: -webkit-fill-available;
    object-fit: cover;
  
}

/* .static-ad::before {
    content: "";
    position: absolute;
    top: 3px;
    right: 2px;
    bottom: 3px;
    left: 2px;
    outline: 6px dotted var(--red);
    pointer-events: none;
    box-sizing: border-box;
    z-index: 2000;
} */


.carousel-inner {
    width: 100%;
    max-width: 100%; 
    justify-content: center;
    align-items: center;
}

.carousel-item img {
    object-fit: cover;
    height: -webkit-fill-available;
}

.carousel-inner img {
    width: 100%;
    object-fit: cover;
}


#home-products {
    margin-top: 2.4rem;
    text-align: center;
}

.products-list {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    grid-gap: 0;
    margin: 0 auto;
}






/* Grid Styles */
.products-list {
    background-color: var(--white);
    border-top: 3.5px solid #dcdcdc;
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    grid-gap: 0; /* Removes gaps between grid items */
    margin: 0 auto;
}


@media (max-width: 768px) {
    .products-list {
        grid-template-columns: repeat(2, 1fr); /* Ajustez à 2 colonnes sur les écrans plus petits */
    }

    .products-list .product-card:nth-child(n+8) {
      display: none;
    }
  
    #home {
        padding-top: 5.4rem;
        
    }
    #about h2 {
        font-size: 1.8rem;
    }
    
    #about p {
        font-size: 0.9rem;
    }
    
}





.products-image span.brand{
    font-weight: bold;
}

.custom-hr2 {
    margin: 0;
    border: none;
    height: 1px;
    background-color: var(--gray);
    width: 100%;
    border-radius: 1px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Responsive Adjustments */


@media screen and (max-width: 768px) {
    #home-products {
        margin-top: 2rem;
    }
    .products-list {
        grid-template-columns: repeat(2, 1fr); /* Adjust to 2 columns on smaller screens */
    }

   
}

@media (max-width: 576px) {
    #home-products {
        margin-top: 4.4rem;
    }
}

@media (max-width: 400px) {
    #home-products {
        margin-top: 5rem;
    }
}






/* Section Téléchargez notre application */
#app-download {
    display: flex;
    justify-content: center;
    align-items: center;

}

.containerdown {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-radius: 5px;
    background-color: var(--white);
    gap: 2rem;
}

.containerdown img {
    margin-top: 2rem;
    margin-left: 5%;
    max-width: 25%;
    height: auto;
}

.containerdown div {
    flex: 1;
    text-align: left;
}

#app-download h2 {
    font-family: 'Pacifico', sans-serif !important;
    margin-top: 2%;
    font-size: 2.2rem;
    margin-bottom: 1rem;
    font-weight: 500;
    color: var(--red);
}

#app-download p {
    width: 80%;
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    color: var(--black);
}



.btn-download2:hover {
    background-color: rgb(212, 19, 19);
    color: #fff;
    transform: scale(1.02);
    transition: background-color 0.3s ease, transform 0.3s ease;
}

/* Effet de fade-in pour les sections au défilement */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Design */
@media (max-width: 768px) {
    .containerdown div {
        margin-top: -5rem;
        flex: 1;
        text-align: center;
        padding-bottom: 2rem;
    }
   
    .containerdown {
        flex-direction: column;
        text-align: center;
    }

    .containerdown img {
        margin-top: 1rem;
        max-width: 55%;
        margin-bottom: 1.5rem;
    }

    #app-download h2 {
        font-size: 2rem;
    }

    #app-download p {
        width: 100%;
        font-size: 1rem;
    }

    .btn-download {
        font-size: 1rem;
        padding: 0.6rem 1.2rem;
    }
}

@media (max-width: 480px) {
    #app-download h2 {
        font-size: 1.8rem;
    }

    #app-download p {
        font-size: 0.9rem;
    }

    .btn-download {
        font-size: 0.9rem;
        padding: 0.5rem 1rem;
    }
}




/* Section Nous Rejoindre */

#rejoindre {
    background-color: var(--white);
    padding: 1rem 0rem 4rem 0; /* Regroupe le padding top/bottom */
    color: var(--black);
    text-align: center; /* Centre le contenu */
}

.container-rejoindre {
    border-radius: 150px;
    border: 3px solid var(--pink);
    max-width: 90%; 
    margin: 0 auto;
    padding: 2rem 1rem;
    background-color: var(--transpink);
}

/* Titres et paragraphes */
.rejoindre-titre {
    font-family: 'Pacifico', sans-serif !important;
    font-size: 2.2rem;
    margin-bottom: 2rem;
    font-weight: 500;
    color: var(--red);
}

.rejoindre-description {
    font-size: 1.1rem;
    line-height: 1.6;
    max-width: 700px;
    margin: 0 auto 2rem auto; /* Centre et espace en bas */
}



@media (max-width: 768px) {
.container-rejoindre {
    border-radius: 50px;
    border: 3px solid var(--pink);
    max-width: 90%;
    margin: 0 auto;
    padding: 2rem 1rem;
    background-color: var(--transpink);
}

#rejoindre {
    padding: 1rem 0rem 3rem 0; /* Regroupe le padding top/bottom */

}

#rejoindre h2 {
    font-size: 1.8rem;
}

#rejoindre p {
    font-size: 0.9rem;
}

}







/*LOGIN / REGISTER*/

#regis {
    padding-top: 11rem;
    padding-bottom: 6rem;
    display: flex;
    flex-direction: column; 
    align-items: center; 
  }

  #login {
    padding-top: 11rem;
    padding-bottom: 6rem;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

.form {
    border: solid rgba(0, 0, 0, 0.339);
    padding: 3rem;
    display: flex;
    flex-direction: column;
    gap: 10px;
    background-color: #ffffff;
    border-radius: 5px;
    max-width: 100%;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);

  }
  
  span.span {
    color: #000000;
  }

  #regis h1, #login h1 {
    font-weight: 300;
    text-align: center;
    margin-bottom: 1em;
    color: var(--black);
    font-size: 1.8em;
  }
  
  .field {
    display: flex;
    align-items: center;
    gap: 0.5em;
    border-radius: 25px;
    padding: 0.6em;
    border: none;
    outline: none;
    color: white;
    background-color: #d6d1ca;
    box-shadow: inset 0.25px 0.25px 3px 0px rgb(1, 1, 0);
  }
  
  .input-icon {
    height: 1.3em;
    width: 1.3em;
    fill: rgb(48, 48, 48);
  }
  
  .input-field {
    background: none;
    border: none;
    outline: none;
    width: 100%;
    color: #404040;
  }
  
  .errors {
    color: red;
    font-size: 0.9em;
    margin-top: -10px;
    margin-bottom: 10px;
  }
  
  .form .btn {
    display: flex;
    justify-content: center;
    flex-direction: row;
    margin-top: 1.5em;
  }
  
  .button1 {
    padding: 0.5em 1em;
    border-radius: 5px;
    margin-right: 0.5em;
    border: none;
    outline: none;
    transition: .4s ease-in-out;
    background-color: #d6d1ca;
    color: rgb(0, 0, 0);
    cursor: pointer;
    text-decoration: none;
  }

  .button2 {
    margin-bottom: 1rem;
    padding: 0.6em 1.1em;
    font-size: 1rem;
    border-radius: 5px;
    margin-right: 0.5em;
    border: none;
    outline: none;
    transition: .4s ease-in-out;
    background-color: #d6d1ca;
    color: rgb(0, 0, 0);
    cursor: pointer;
    text-decoration: none;
    background-color: #d6d1ca;
    box-shadow: inset 0.25px 0.25px 3px 0px rgba(1, 1, 0, 0.223);
  }

  .button4 {
    margin-bottom: 1rem;
    padding: 0.6em 1.1em;
    font-size: 1rem;
    border-radius: 5px;
    margin-right: 0.5em;
    border: none;
    outline: none;
    transition: .4s ease-in-out;
    background-color: #d6d1ca;
    color: rgb(0, 0, 0);
    cursor: pointer;
    text-decoration: none;
    background-color: #d6d1ca;
    box-shadow: inset 0.25px 0.25px 3px 0px rgba(1, 1, 0, 0.223);
  }


  .button2:hover {
    box-shadow: inset 0.25px 0.25px 3px 0px rgb(1, 1, 0);
  }

  .button4:hover {
    box-shadow: inset 0.25px 0.25px 3px 0px rgb(1, 1, 0);
  }
  
  .button3 {
    color: #000000;
    margin-top: -1rem;
    display: block;
    text-align: center;
    padding: 0.5em;
    border-radius: 5px;
    border: none;
    outline: none;
    transition: .4s ease-in-out;
    text-decoration: none;
    padding-bottom: 2rem;
  }
  
  .button3:hover {
    text-decoration: underline;
  }
.span a {
    color: #000000;
    text-decoration: underline;
}

.log_submit {
    text-align: center;
}
  
  @media screen and (max-width: 480px) {
    .form {
      padding: 1em;
    }
  }
  



/*MOT DE PASSE OUBLIE*/

#oublie{
    padding-top: 12rem;
    padding-bottom: 7rem;

}
#oublie .wrap3 .form_oublie{
    background-color: var(--gray);
    padding: 2rem 1rem;
    border-radius: 20px;
}
#oublie .wrap3 .form_oublie h1{
    text-align: center;
    padding-bottom: 2rem;
    color: var(--blanc);
    font-size: 2rem;
    text-shadow: 3px 3px 30px var(--noir);
}

#oublie .wrap3 .form_oublie form{
    display: flex;
    flex-direction: column;
    margin: 0 auto;
    gap: 2rem;
}
#oublie .wrap3 .form_oublie form .oublie{
    margin: 0 auto;
}
#oublie .wrap3 .form_oublie form .email_oublie{
    display: flex;
    flex-direction: column;
    gap: .5rem;
}
#oublie .wrap3 .form_oublie form .email_oublie span{
    color: var(--red);
}

#oublie .wrap3 .form_oublie form .oublie input{
    width: 25rem;
    display: inline-block;
    margin: 0 auto;
    border-radius: 10px;
    border: none;
}
#oublie .wrap3 .form_oublie form .oublie .email_css{
    padding: .7rem 3rem .7rem 1rem;
}

#oublie .wrap3 .form_oublie form .oublie .submit_css{
    padding: .7rem 2rem .7rem 2rem;
    text-transform: uppercase;
    cursor: pointer;
    background-color: var(--white);
    transition: all .3s;
}
#oublie .wrap3 .form_oublie form .oublie .submit_css:hover{
    transform: scale(1.05);
    opacity: .7;
}

/*MODIF MOT DE PASSE*/
#modif{
    padding-top: 15rem;
    background-color: var(--bleuback);
    padding-bottom: 7rem;

}
#modif .wrap3 .bloc_modif{
    background-color: var(--bleufonce);
    padding: 2rem 1rem;
    border-radius: 20px;
}
#modif .wrap3 .bloc_modif h1{
    text-align: center;
    padding-bottom: 2rem;
    color: var(--blanc);
    font-size: 2rem;
    text-shadow: 3px 3px 30px var(--noir);
}

#modif .wrap3 .bloc_modif form{
    display: flex;
    flex-direction: column;
    margin: 0 auto;
    gap: 2rem;
}
#modif .wrap3 .bloc_modif form .modif{
    margin: 0 auto;
}
#modif .wrap3 .bloc_modif form .pass{
    display: flex;
    flex-direction: column;
    gap: .5rem;
}
#modif .wrap3 .bloc_modif form .pass span{
    color: var(--red);
}
#modif .wrap3 .bloc_modif form .modif input{
    width: 25rem;
    display: inline-block;
    margin: 0 auto;
    border-radius: 10px;
    border: none;
}
#modif .wrap3 .bloc_modif form .modif .pass_css{
    padding: .7rem 3rem .7rem 1rem;
}

#modif .wrap3 .bloc_modif form .modif .submit_css{
    padding: .7rem 2rem .7rem 2rem;
    text-transform: uppercase;
    cursor: pointer;
    background-color: var(--bleublanc);
    transition: all .3s;
}
#modif .wrap3 .bloc_modif form .modif .submit_css:hover{
    transform: scale(1.05);
    opacity: .7;
}



/* PROFIL*/

.bjr h2 {

    font-family: 'Pacifico', sans-serif !important;
    font-size: 2.2rem;
    margin-bottom: 1rem;
    font-weight: 500;
    color: var(--red);
    text-align: center;

}

#allinfos {
    padding-top: 12rem;
    padding-bottom: 6rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
}

.bigwrap {
    font-size: 2rem;
    text-align: center;
}

.card {
    background-color: #f9f9f9; 
    border: 1px solid #e0e0e0;
    border-radius: 5px;
    width: 300px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1.5rem;
    text-align: center;
    transition-duration: 0.3s;
}

.card .icon {
    font-size: 3rem;
    color: var(--red);
    margin-bottom: 1rem;
}

.card .content h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--dark-gray);
}

.card .content p {
    font-size: 1rem;
    padding-bottom: 1rem;
    color: #555555;
}


.card .btn {
    font-size: 0.9rem;
    font-weight: 400;
    display: inline-block;
    padding: 0.70rem 1.5rem;
    background-color: var(--red);
    color: var(--white);
    text-transform: uppercase;
    border-radius: 35px;
    transition: background-color 0.3s, transform 0.3s;
    text-decoration: none;
}


.card .btn:hover {
    background-color: rgb(212, 19, 19);
    color: #fff;
    transform: scale(1.02);
    transition: background-color 0.3s ease, transform 0.3s ease;
}



@media (max-width: 768px) {
    .bigwrap {
        padding-top: 7rem;
    }

    .bjr h1 {
        font-size: 2.5rem;
    }

    .bjr h2 {
        font-size: 1.8rem;
    }

    #allinfos {
        padding: 1.5rem;
        gap: 1.5rem;
    }

    .card {
        width: 80%;
    }
}

@media (max-width: 480px) {


    #allinfos {
        padding-top: 4rem;
        flex-direction: column;
        align-items: center;
    }

    .card {
        width: 90%;
    }

    .card .icon {
        font-size: 2.5rem;
    }

    .card .content h3 {
        font-size: 1.3rem;
    }

    .card .content p {
        font-size: 0.9rem;
    }

    .card .btn {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }
}



 /*TARIFS*/

#tarifs {
    padding-top: 8rem;
    padding-bottom: 10rem;
    text-align: center;
}

#tarifs h1 {
        font-size: 3rem;
        padding-bottom: 2rem;
        color: var(--black);
}

#tarifs .container {
    max-width: 600px;
    margin: 0 auto;
    background-color: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

#tarif-form .form-group {
    margin-bottom: 1.5rem;
}

#tarif-form label {
    display: block;
    font-size: 1rem;
    color: var(--black);
    margin-bottom: 0.5rem;
}

#tarif-form select, 
#tarif-form input {
    width: 100%;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1rem;
    margin-bottom: 1rem;
}

#tarif-form input:focus,
#tarif-form select:focus {
    border-color: var(--red);
    box-shadow: 0 0 5px rgba(235, 0, 40, 0.3);
    outline: none;
}

#tarif-form .btn-submit {
    width: 100%;
    padding: 0.75rem;
    background-color: var(--red);
    color: var(--white);
    border: none;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    border-radius: 5px;
    transition: transform 0.3s ease;
}

#tarif-form .btn-submit:hover {
    transform: scale(1.05);
}



.manage-suppliers .btn-manage {
    display: inline-block;
    color: var(--black);
    transition: transform 0.3s ease;
    text-decoration: underline;
}

.manage-suppliers .btn-manage:hover {
    transform: scale(1.05);
}


/* Responsive */
@media (max-width: 768px) {
    #tarifs .container {
        padding: 1.5rem;
    }
}






/*DOCUMENTS*/

#alldocu {
    padding-top: 8rem;
    padding-bottom: 10rem;
}

.doc .docu h1 {
    text-align: center;
    font-size: 3rem;
    color: var(--black);
    padding-bottom: 2rem;
}
.container {
    padding-bottom: 1rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
}

.upload-section {
    height: 280px;
    background-color: #f9f9f9;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    padding: 2rem;
    width: 450px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.upload-section h2 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: #333333;
}

.upload-section form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.upload-section label {
    font-weight: bold;
    text-align: left;
}

.upload-section input[type="file"] {
    padding: 0.5rem;
    border: 1px solid #cccccc;
    border-radius: 5px;
    font-size: 1rem;
}

.upload-section .btn.upload-btn {
    padding: 0.75rem 1.5rem;
    background-color: var(--red);
    color: #ffffff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.upload-section .btn.upload-btn:hover {
    transform: scale(1.03);
}

.documents-section {
    background-color: #f9f9f9; 
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    padding: 2rem;
    width: 700px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.documents-section h2 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: #333333;
}

.document-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    max-height: 500px;
    overflow-y: auto; 
}

.document-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1rem;
    border: 1px solid #cccccc;
    border-radius: 5px;
    background-color: #ffffff;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.document-item:hover {
    background-color: #f1f1f1;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.document-info {
    flex-shrink: 0;
    text-align: center;
}

.document-info img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 5px;
}

.document-info i {
    font-size: 3rem;
    color: var(--red); 
}

.document-details {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.document-details p {
    font-size: 1rem;
}

.document-details .actions {
    display: flex;
    gap: 1rem;
}

.document-details .btn {
    padding: 0.5rem 1rem;
    background-color: gray;
    color: #ffffff;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease, transform 0.3s ease;
    font-weight: bold;
}

.document-details .btn.download-btn:hover {
    transform: scale(1.03);
}

.document-details .btn.delete-btn {
    background-color: var(--red);
}

.document-details .btn.delete-btn:hover {
    transform: scale(1.03);
}

.document-list::-webkit-scrollbar {
    width: 8px;
}

.document-list::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.document-list::-webkit-scrollbar-thumb {
    background: #cccccc;
    border-radius: 4px;
}

.document-list::-webkit-scrollbar-thumb:hover {
    background: #999999;
}

/* Style du bouton de retour */
.back-btn-container {
    display: flex;
    justify-content: flex-start;
    padding: 1rem;
    margin-bottom: 1rem;
}

.back-btn {
    margin-left: 8%;
    padding: 0.5rem 1rem;
    background-color: var(--red);
    color: var(--white);
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.back-btn:hover {
    color: var(--white);
    background-color: rgb(232, 0, 0);
    transform: scale(1.03);
}



@media (max-width: 968px) {
    .document-details .actions {
        display: contents;
        gap: 1rem;
    }
    .back-btn-container {
      margin-top: 2rem;
    }
    #alldocu .container {
        padding-bottom: 1rem;
        flex-direction: column;
        align-items: center;
    }

    .upload-section, .documents-section {
        width: 95%;
        padding: 1rem;
    }

    #alldocu {
        padding-top: 9rem;
        padding-bottom: 5rem;
    }

    .upload-section .btn.upload-btn {
        margin-top: 1rem;
    }
}

@media (max-width: 480px) {
    .doc .docu h1 {
        font-size: 2rem;
    }

    .upload-section h2, .documents-section h2 {
        font-size: 1.5rem;
    }

    .document-info img, .document-info i {
        width: 60px;
        height: 60px;
        font-size: 2.5rem;
    }

    .document-details p {
        font-size: 0.9rem;
    }

    .document-details .btn {
        padding: 0.4rem 0.8rem;
        font-size: 0.9rem;
    }
}




/* CATALOGUE */
.catalogue-page {
    display: flex;
    max-width: 100%;
    padding-top: 1rem;
}

span.numb {
    border-radius: 2px;
    background-color: var(--gray);
    padding: 0.15rem 0.3rem;
    font-size: 0.7rem;
}

.product-namee .brand {
    font-weight: bold;
}



/* Sidebar */
.sidebar {
    border-right: 1px solid rgba(0, 0, 0, .1);
    padding: 1rem;
    margin-top: 6rem;
    padding-top: 2rem;
    background-color: white;
    display: block;
    padding-left: 2rem;
    padding-right: 2rem;
}

#filters-sidebar.active {
    display: block;
}

.close-btn {
    cursor: pointer;
    font-size: 2rem;
}

.sidebar button {
    border-radius: 5px;
    margin-top: 1rem;
    padding: 0.2rem 1.4rem 0.2rem 1.4rem;
}

.sidebar h2 {
    font-size: 1.5rem;
    color: var(--red);
    margin-bottom: 1rem;
    margin-top: 2rem;
}

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

.sidebar ul li {
    margin-bottom: 1px;
}

.sidebar ul.subcategory-list li {
    margin-left: 2rem;
    border-bottom: 1px solid #e8e8e8;
    margin-top: 1rem;
}

.sidebar hr {
    margin-top: 0.8rem;
    margin-bottom: 0.8rem;
}

.sidebar ul li a {
    margin-left: 0.2rem;
    text-transform: uppercase; 
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 0.9rem;
}

.sidebar ul li a:hover {
    color: var(--red);
}

.category-header span {
    font-weight: bolder;
    font-size: 1.2rem;
    color: gray;
}

/* Filters Sidebar in Responsive */
#filters-sidebar {
    display: none;
    background-color: #fff;
    padding: 20px;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 90%;
    z-index: 999;
    overflow-y: auto;
}


.category-header {
    margin-left: 1rem;

}

/* Products Section */
#products {
    margin-top: 4rem;
    flex: 3.2;
    padding-left: 0;
}

.products-header {
    margin-top: 8rem;
    margin-right: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.products-header h1 {
    display: none;
    font-size: 2rem;
    color: var(--red);
}

.sort {
    display: flex;
    align-items: center;
}

.sort label {
    margin-right: 10px;
    font-weight: bold;
}

.sort select {
    background-color: white;
    padding: 5px 10px;
    border: 1px solid #ddd;
}

/* Catalogue Grid */
.catalogue-grid {
    margin-top: 4rem;
    width: 100%;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    grid-gap: 0; /* Supprime les écarts entre les cartes */
    padding-bottom: 3rem;
}

/* Carte Produit */
.product-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    background-color: var(--white);
    border: 1px solid #ddd;
    overflow: hidden;
    transition: box-shadow 0.3s ease, transform 0.4s ease;
    box-sizing: border-box;
    position: relative;
}

.product-card:hover {
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transform: scale(1.01);
}

/* Prix du produit */
.product-price {
    font-family: "Open Sans", serif;  
    background-color: #F9C710;
    color: #D0371B;
    font-weight: bolder;
    font-size: 1.2rem;
    padding: 0.1rem 0.6rem;
    text-align: center;
    display: inline-block;
    position: absolute;
    left: 50%; 
    transform: translateX(-50%);
    z-index: 2;
}

/* Conteneur pour l'image du produit */
.product-image {
    width: 55%;
    margin: 3rem auto 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex: 1;

}

.product-image img {
    margin-left: 15%;
    margin-right: 15%;
    width: 100%;
    height: auto;
    object-fit: contain;
}


/* Nom du produit */
.product-name {
    line-height: 20px;
    font-family: "Open Sans", serif;   
    margin-left: 8%;
    margin-right: 8%;
    font-size: 1rem;
    color: var(--black);
    text-align: center;
    margin-top: 8px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    height: 4rem;
}

.product-namee {
    line-height: 20px;
    font-family: "Open Sans", serif;   
    margin-left: 6%;
    margin-right: 6%;
    font-size: 1rem;
    color: var(--black);
    text-align: center;
    margin-top: 8px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    height: 4rem;
}

.product-name .brand {
    font-weight: bold;
}

/* Carrousel pour les publicités */
.ad-carousel {
    width: 100%;
    height: auto;
    overflow: hidden;
}

.product-card .carousel-item {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.product-card .carousel-item img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

/* Bouton du menu des filtres */
.filter-menu-btn button {
    margin-right: 4rem;
    margin-bottom: 1rem;
    border: none;
    padding: 0.4rem 1.2rem;
    background-color: var(--red);
    color: #ffffff;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.filter-menu-btn button:hover {
    background-color: rgb(232, 0, 0);
    transform: scale(1.03);
}

.product-card.carousel-item {
    background-color: white;
    position: relative;
    overflow: visible;
    z-index: 3;
    width: 100%; /* Assure que le carrousel occupe toute la largeur de sa cellule */
    max-width: none; /* Annule le max-width s'il est hérité */
    display: flex;
    justify-content: center; /* Centre le contenu à l'intérieur */
}


.product-card.carousel-item::before {
    content: "";
    position: absolute;
    top: 3px;
    right: 2px;
    bottom: 3px;
    left: 2px;
    outline: 6px dotted var(--red);
    pointer-events: none;
    box-sizing: border-box;
    z-index: 2000;
}

/* Exemple de style pour le bouton "Filtrer" (Mode de Vie) */
.sidebar form button[type="submit"] {
    /* Dimensions & apparence */
    display: inline-block;
    padding: 0.30rem 1.5rem;
    margin-top: 0.5rem;
    border: none;
    border-radius: 3px;
    font-weight: bold;
    
    /* Couleurs */
    background-color: var(--red); 
    color: var(--white);              
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.sidebar form button[type="submit"]:hover {
    background-color: rgb(212, 19, 19);
    color: #fff;
    transform: scale(1.02);
    transition: background-color 0.3s ease, transform 0.3s ease;
}



.btn-download2 {
    font-weight: 500;
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background-color: var(--red);
    color: var(--white);
    text-transform: uppercase;
    border-radius: 35px;
    transition: background-color 0.3s, transform 0.3s;
    text-decoration: none;
}


.btn-download2:hover {
    background-color: rgb(212, 19, 19);
    color: #fff;
    transform: scale(1.02);
    transition: background-color 0.3s ease, transform 0.3s ease;
}



/* ==========================
   PAGINATION
   ========================== */

   .pagination {
    display: flex;                /* Place les éléments sur une même ligne */
    flex-wrap: wrap;              /* Passe à la ligne si trop d'éléments */
    justify-content: center;      /* Centre horizontalement */
    gap: 0.5rem;                  /* Espace entre les liens */
    margin: 2rem auto;            /* Marge en haut et en bas */
  }
  
  /* Styles communs pour les liens, la page active et les ellipses */
  .pagination a,
  .pagination strong,
  .pagination .dots {
    display: inline-block;
    padding: 0.4rem 0.8rem;
    text-decoration: none;
    border: 1px solid #ddd;
    border-radius: 3px;
    color: #333;
    background-color: #f6f6f6;
    font-size: 0.9rem;
    transition: background-color 0.3s ease, color 0.3s ease;
  }
  
  /* Au survol, on grise légèrement (uniquement pour les liens cliquables) */
  .pagination a:hover {
    background-color: #e0e0e0;
  }
  
  /* Page active (balise <strong>) */
  .pagination strong {
    background-color: var(--red); /* Ou #e60000 si vous n’utilisez pas de variable CSS */
    color: #fff;
    border-color: var(--red);
    font-weight: 600;
  }
  
  /* Points de suspension encadrés */
  .pagination .dots {
    cursor: default; /* Indique que ce n’est pas cliquable */
    /* Vous pouvez ajouter d’autres styles spécifiques si besoin */
  }
  

/* Responsive Adjustments */
@media (max-width: 1200px) {
    .catalogue-grid {
        margin-top: 0rem;
    }
    .products-header {
        margin-top: 4rem;
    }
}

@media (max-width: 768px) {
    #products {
        margin-top: 6rem;
      
    }
    .product-image img {
        margin-top: 0.5rem;
    }
    .sidebar {
        display: none;
    }

    .product-price {
        font-size: 1.1rem;
        padding: 0.1rem 0.6rem;
        text-align: center;
        display: inline-block;
        position: absolute;
        top: 15px;
        left: 50%;
        transform: translateX(-50%);
        z-index: 2;
    }
    .product-name {
        margin-left: 4%;
        margin-right: 4%;
        width: 92%;
        font-size: 1rem;
        margin-top: 0.5rem;
    }
    .catalogue-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 450px) {
    .product-image img {
        margin-top: 0rem;
        width: 85%;
    }
    .product-price {
        font-size: 1rem;
        padding: 0.1rem 0.6rem;
        text-align: center;
        display: inline-block;
        position: absolute;
        top: 10px;
        left: 50%;
        transform: translateX(-50%);
        z-index: 2;
    }
    .product-name {
        line-height: 15px;
        margin-left: 4%;
        margin-right: 4%;
        width: 92%;
        font-size: 0.75rem;
        margin-top: 0.1rem;
        height: 2.8rem;
    }
    .catalogue-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Sidebar reste visible sur les grands écrans */
@media screen and (min-width: 1269px) {
    .sidebar {
        display: block;
        width: 22%;
    }
    #products {
        flex: 2.5;
    }
    #filters-sidebar .close-btn {
        display: none;
    }
    #filters-sidebar {
        display: none;
    }
    .filter-menu-btn {
        display: none;
    }
}




/* PRODUCT PRODUIT */
#product-detailsall {
    padding-top: 11rem;
    padding-bottom: 4rem;
}

#product-detailsall .lienscat {
    padding: 1rem;
    color: rgb(0, 0, 0);
    font-size: 0.9rem;
}

#product-detailsall .lienscat a {
    color: rgb(155, 155, 155);
}

#product-detailsall .product-details {
    margin: 0 auto;
    width: 90%;
    max-width: 1000px;
    background-color: white;
    border-radius: 5px;
    padding: 2rem;
}

/* Bloc produit principal */
#product-detailsall .product-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    margin: 0 auto;
    border: 1px solid #ddd;
    border-radius: 10px;
    overflow: hidden;
    transition: box-shadow 0.3s ease, transform 0.4s ease;
    box-sizing: border-box;
    position: relative;
}

#product-detailsall .product-card:hover {
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transform: scale(1.01);
}

/* Prix */
#product-detailsall .product-price {
    background-color: #F9C710;
    color: #D0371B;
    font-weight: bold;
    font-size: 1.8rem; 
    padding: 0.2rem 1rem; 
    text-align: center;
    display: inline-block;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

/* Conteneur image */
#product-detailsall .product-image {
    width: 65%; 
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

#product-detailsall .product-image img {
    margin-top: 10%;
    margin-bottom: 10%;
    width: 80%;
    height: auto;
    object-fit: contain;
    border-radius: 5px;
}

/* Nom du produit */
#product-detailsall .product-name {
    margin-top: -1rem;
    height: 4rem;
    font-size: 1.3rem;
    font-weight: normal;
    color: #000;
    text-align: center;
    line-height: 1.4;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

#product-detailsall .product-name .brand {
    font-weight: bold;
    text-transform: uppercase; 
}

.combotitle {
    margin-top: 2rem;
}

.related-products {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 20px;
}

.related-products h2.combotitle {
    font-family: 'Pacifico', sans-serif !important;
    font-size: 2.2rem;
    margin-top: 2rem;
    font-weight: 500;
    color: var(--red);
    margin-bottom: -1rem;
}




.thumbnail-images {
    margin-top: 4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: nowrap;
    position: relative;
}

.product-combo-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative; /* Nécessaire pour positionner les flèches */
}

.product-wrapper {
    position: relative;
    text-align: center;
    margin: 0;
    padding: 0;
}

.product-wrapper img {
    border: 1px solid #ddd;
    background-color: var(--white);
    width: 120px;
    height: 120px;
    object-fit: cover;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    padding: 0.5rem;
}

/* Flèches positionnées au-dessus des produits */
.arrow-container {
    position: absolute;
    top: -8%; /* Centré verticalement par rapport aux produits */
    left: 100%; /* Aligné à droite du produit actuel */
    transform: translate(-50%, -50%); /* Centrage exact */
    z-index: 10; /* Place les flèches au-dessus des produits */
    overflow: visible;
}

.arrow-svg {
    display: block;
    stroke: var(--red);
    stroke-width: 10;
    fill: none;
    width: 60px;
    height: 30px;
    stroke-linecap: round;
    stroke-linejoin: round;
    animation: draw-arrow 5s ease-in-out infinite; /* Animation fluide et plus lente */
}

/* Animation pour dessiner la flèche progressivement */
@keyframes draw-arrow {
    0% {
        stroke-dasharray: 0, 100; /* Invisible au début */
        stroke-dashoffset: 100; /* Ligne complètement masquée */
    }
    100% {
        stroke-dasharray: 100, 0; /* Ligne entièrement visible */
        stroke-dashoffset: 0;
    }
}



.recipe-link {
    margin-top: 2rem;
    font-weight: 500;
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background-color: var(--red);
    color: var(--white);
    text-transform: uppercase;
    border-radius: 35px;
    transition: background-color 0.3s, transform 0.3s;
    text-decoration: none;
}


.recipe-link:hover {
    background-color: rgb(212, 19, 19);
    color: #fff;
    transform: scale(1.02);
    transition: background-color 0.3s ease, transform 0.3s ease;
}


.product-description h2 {
    font-size: 1.3rem;
    color: #b30f0f;
    margin-bottom: 10px;
    font-weight: bold;
}

.product-description p {
    font-size: 0.5rem;
    line-height: 1.5;
    color: #333;
    margin-bottom: 15px;
}

.product-description {
    margin-top: 2rem;
}





/* Responsive Design */
@media (max-width: 1100px) {
    #product-detailsall .product-card {
        width: 95%; /* Plus de largeur pour s'adapter à des écrans moyens */
    }

    #product-detailsall .product-price {
        font-size: 1.2rem;
    }

    #product-detailsall .product-name {
        font-size: 1rem;
    }
}

@media (max-width: 768px) {
    .product-wrapper img {
        width: 110px;
        height: 110px;
    }
    .tab-content h1{

        font-size: 1.8rem;
    }
    #product-detailsall .product-image img {
        margin-top: 0;
        width: 100%;
    }
    #product-detailsall .product-details {
        width: 95%;
    }

    #product-detailsall .product-card {
        width: 100%;
        max-width: 320px; /* Limite maximale réduite */
    }

    #product-detailsall .product-price {
        font-size: 1.1rem;
        top: 5px; /* Réduction de l'espace par rapport au haut */
    }

    #product-detailsall .product-name {
        font-size: 0.95rem;
        height: 3rem;
    }
}

@media (max-width: 480px) {
    #product-detailsall .product-card {
        width: 100%;
    }

    #product-detailsall .product-price {
        margin-top: 5px;
        font-size: 1.1rem;
    }

    #product-detailsall .product-name {
        font-size: 0.9rem;
        height: 2.5rem;
    }
}






/*CONTACT*/

/* Réduit la taille du texte dans le formulaire de contact */

.contact_form label {
    font-size: 0.8em;
}

.consent {
    display: flex;
    align-items: center;
}

.consent input[type="checkbox"] {
    margin-right: 0.5em;
}


#contact{
    padding-top: 16rem;
    padding-bottom: 10rem;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 80vh; 
}

.contact_form {
    background-color: #ffffff;
    padding: 40px;
    max-width: 500px;
    width: 100%;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1); 
    border-radius: 8px;
}

.contact_form h1 {
    font-family: 'Pacifico', sans-serif !important;
    font-size: 2.2rem;
    margin-top: 1rem;
    margin-bottom: 2rem;
    font-weight: 500;
    color: var(--red);
    text-align: center;
}

.contact_form form {
    display: flex;
    flex-direction: column;
}

.contact_form .log_input {
    margin-bottom: 20px;
}

.contact_form .log_input input,
.contact_form .log_input textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 1em;
}

.contact_form .log_input textarea {
    resize: vertical;
    min-height: 100px;
}

.contact_form .log_input input::placeholder,
.contact_form .log_input textarea::placeholder {
    color: #999;
}


.contact_form .submit {
    text-align: center;
    margin-top: 1rem;
}


.contact_form .submit input[type="submit"] {
    font-weight: 500;
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background-color: var(--red);
    color: var(--white);
    text-transform: uppercase;
    border-radius: 35px;
    transition: background-color 0.3s, transform 0.3s;
    text-decoration: none;
    border: none;
}

.contact_form .submit input[type="submit"]:hover {
    background-color: rgb(212, 19, 19);
    color: #fff;
    transform: scale(1.02);
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.error {
    color: #e74c3c;
    font-size: 0.9em;
    margin-top: 5px;
}

@media (max-width: 768px) {

.contact_form {
    margin-left: 5%;
    margin-right: 5%;
    padding: 25px;
}

#contact {
    padding-top: 14rem;
    padding-bottom: 4rem;
}

}



/*MENTIONS*/

#mentions {
    padding-top: 12rem;
    padding-bottom: 4rem;
}

#mentions .title {
    text-align: center;
    margin-bottom: 40px;
}

#mentions .title h2 {
    font-size: 2.5em;
    color: #333;
}

#mentions .wrap4 {
    background-color: var(--white);
    border-radius: 35px;
    padding: 1rem 6rem 2rem 6rem;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
    color: var(--black);
}

#mentions h3 {
    font-size: 1.8em;
    color: #222;
    margin-top: 30px;
}

#mentions p {
    font-size: 1em;
    margin-top: 15px;
}

@media screen and (max-width: 768px) {
    #mentions .title h2 {
        font-size: 2em;
    }
    #mentions .wrap4 {
        padding: 1rem 2rem 2rem 2rem;
    }

    #mentions .wrap {
        padding: 0 15px;
    }
}



/*BANNI*/
#ban{
    padding: 16rem 1rem;
}
#ban h1{
    text-align: center;
    font-size: 3.5rem;
    color: var(--blanc);
    padding-bottom: 2rem;
}
#ban p{
    text-align: center;

    font-size: 1.5rem;
}
#ban a{
    display: inline-block;
    transition: all .3s;
}
#ban a:hover{
    transform: scale(1.03);
}



/*RECIPE*/

#recipe-detailsall {
    padding-top: 11rem;
    padding-bottom: 4rem;
}


#recipe-detailsall h1{
font-family: 'Pacifico', sans-serif !important;
font-size: 2.2rem;
font-weight: 500;
color: var(--red);
margin-bottom: 1rem;
}

.lienscat {
    margin-bottom: 2rem;
    padding: 1rem;
    color: rgb(109, 109, 109);
    font-size: 0.9rem;
}


.lienscat a {
    color: rgb(155, 155, 155);
    text-decoration: none;
    text-transform: uppercase;
}

.lienscat a.catmin {
    text-transform: lowercase;
}

#product-detailsall .lienscat span.arrow {
    font-weight: bold;
    font-size: 1.2rem;
    margin-left: 0.3rem;
    margin-right: 0.3rem;
    color: #999;
 }

 #product-detailsall .lienscat span.prodname {
    font-weight: bold;
    
 }

/* Main Recipe Container */
.recipe-details {
    margin: 0 auto;
    width: 90%;
    max-width: 1000px;
    background-color: var(--white);
    border: 2px solid #ccc;
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

/* Container for image and details */
.container {
    display: flex;
    gap: 3rem;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 2rem;
}

/* Left Column: Recipe Image */
.left-column {
    flex: 1;
    text-align: center;
}

.tabs {
    margin-right: 55%;
    text-align: center;
    background-color: rgb(226, 224, 214);
}



.main-recipe-image img {
    background-color: white;
    width: 80%;
    height: auto;
    border-radius: 10px;
    margin-bottom: 1.5rem;
}



/* Right Column: Recipe Details */
.right-column {
    flex: 1;
    max-width: 100%;
    text-align: left;
}
.right-column h1{
    font-size: 2.1rem;
    font-weight: 400;
}

.right-column .tab-content p {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1rem;
    /* background-color: #e7e5e29b; */
    /* padding: 2rem; */
    border-radius: 5px;
}

/* Produits nécessaires */
.related-productts {
    border-radius: 150px;
    border: 3px solid var(--pink);
    max-width: 90%;
    margin: 0 auto;
    padding: 1rem 1rem;
    background-color: var(--transpink);
    margin-bottom: 2rem;
}

.related-productts h2 {
    text-align: center;
    font-family: 'Pacifico', sans-serif !important;
    font-size: 1.8rem;
    font-weight: 500;
    color: var(--black);
    margin-bottom: 2rem;
}

/* Produits list */
.productts-list {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-right: 10%;
    margin-left: 10%;
}

.productt-item {
    border-radius: 5px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 1rem;
    max-width: 240px;
}

.productt-item:hover {
    box-shadow: 0 5px 14px rgba(0, 0, 0, 0.1);

}

/* Product Images */
.productt-item img {
    object-fit: cover;
    transition: transform 0.3s ease;
}



/* Product Name */
.productt-item strong {
    width: 93%;
    margin-top: -4rem;
    font-size: 1rem;
    margin-bottom: 1rem;
    font-weight: 400;
    text-align: center;
    line-height: 1.2;
}

.productt-item span.brand {
    font-weight: bold;
}

/* Divider */
.productt-item .divider {
    width: 60%;
    height: 1px;
    background: #ddd;
    margin: 1rem 0;
}

/* Product Link */

.productt-item a {
    font-weight: 500;
    display: inline-block;
    padding: 0.50rem 1.5rem;
    background-color: var(--white);
    color: #ffffff;
    border-radius: 5px;
    transition: background-color 0.3s, transform 0.3s;
    text-decoration: none;
}
.productt-item a:hover {
    transform: scale(1.02);
    transition: background-color 0.3s ease, transform 0.3s ease;
}


@media screen and (max-width: 900px) {
    .right-column {
        margin-top: 2rem;
    }
    .right-column h1 {
        font-size: 1.8rem;
        font-weight: 400;
    }
    .productts-list {
        flex-wrap: wrap;
    }
    .related-productts {
        border-radius: 20px;
      
    }
    .recipe-details {
        margin: 0 auto;
        width: 95%;
        max-width: 1000px;
        background-color: var(--white);
        border: 2px solid #ccc;
        border-radius: 10px;
        padding: 0rem;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    }
    .container {
        display: block;
        gap: 1rem;
        flex-wrap: wrap;
        justify-content: center;
        margin-bottom: 2rem;
    }
    
}



/* RECIPES */

#recipes {
    padding-top: 11rem;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    min-height: 100vh;
}

.recipe-sec {
    background-color: var(--white);
    text-align: center;
    margin-bottom: 4rem;
    width: 90%;
    max-width: 1200px;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.recipe-list {
    margin-top: 3rem;
    background-color: var(--white);
    text-align: center;
    margin-bottom: 4rem;
    width: 100%;
    max-width: 1200px;
    
}

.recipe-sec h1 {
    font-family: 'Pacifico', sans-serif !important;
    margin-top: 2%;
    font-size: 2.2rem;
    margin-bottom: 1rem;
    font-weight: 500;
    color: var(--red);
    text-align: center;
}

/* Grid layout for recipe items */
.recipe-list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

/* Styling for each recipe item */
.recipe-item {
    border: 3px solid var(--pink);
    background-color: var(--transpink);
    width: 250px;
    border-radius: 5px;
    padding: 1rem 0rem 1rem 0rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
}

.recipe-item:hover {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

/* Title styling above the image */
.recipe-item h2 {
    padding-bottom: 0.5rem;
    font-size: 1.2rem;
    color: var(--black);
    margin: 0;
    line-height: 1.2;
    text-align: center;
    max-height: 2.5rem;
    overflow: hidden;
}

/* Image styling with fixed height and object fit */
.recipe-item img {
    margin-bottom: 1rem;
    width: 100%;
    max-width: 200px;
    height: 160px; /* Fixed height for uniformity */
    object-fit: cover; /* Ensures images are cropped to fill the space */
    border-radius: 5px;
    transition: transform 0.3s ease;
}

/* Button styling */
.recipe-item a {
    font-weight: 600;
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background-color: var(--red);
    color: #ffffff;
    border-radius: 5px;
    transition: background-color 0.3s, transform 0.3s;
    text-decoration: none;
    margin-top: auto;
}

.recipe-item a:hover {
    background-color: rgb(212, 19, 19);
    transform: scale(1.05);
}

/* Responsive Adjustments */
@media (max-width: 1200px) {
    .recipe-list {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 992px) {
    .recipe-list {
        grid-template-columns: repeat(2, 1fr);
    }
    .recipe-list h1 {
        font-size: 2rem;
       
    }
}

@media (max-width: 600px) {
    .recipe-list {
        grid-template-columns: 1fr;
    }

    .recipe-item h2 {
        font-size: 1rem;
    }

    .recipe-item a {
        font-size: 0.9rem;
        padding: 0.4rem 1rem;
    }
}
