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

/* Variables de couleurs */
:root {
    --primary-color: black;       /* Noir profond pour les éléments principaux */
    --secondary-color: black;     /* Gris anthracite pour les accents */
    --accent-color: black;        /* Gris foncé pour les appels à l'action */
    --accent-color-hover: black;  /* Gris moyen pour les effets hover */
    --text-color: black;          /* Texte noir profond */
    --background-color: #FFFFFF;    /* Fond blanc */
    --white-color: #FFFFFF;
    --gray-color: black;          /* Gris clair */
    --light-gray-color: black;    /* Gris très clair */
    --very-light-gray-color: black; /* Gris pâle */
    --border-color: black;        /* Couleur des bordures */
    --lightest-gray-color: black; /* Gris le plus pâle */
    --font-family-primary: 'Poppins', sans-serif;
    --font-family-secondary: 'Inter', sans-serif;
}

/* ------------------ */
/* Styles généraux */
/* ------------------ */

body {
    font-family: var(--font-family-secondary);
    color: var(--text-color);
    background-color: var(--background-color);
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-family-primary);
    color: var(--secondary-color);
    margin-bottom: 15px;
}

p {
    margin-bottom: 15px;
    font-size: 16px;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s;
}

a:hover {
    color: var(--accent-color);
}

/* ------------------ */
/* Styles du header */
/* ------------------ */

header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
    padding: 0 20px;
    background-color: var(--white-color);
    position: sticky;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

.logo {
    max-height: 40px;
    width: auto;
}

.faq-question:hover{
background-color:white;
color:black}
.faq-question:active{
background-color:white;
color:black}
.menu {
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.menu-items {
    list-style: none;
    display: flex;
    align-items: center;
    margin: 0;
    padding: 0;
}

.menu-item {
    position: relative;
    margin: 0 10px;
}
.incol {
box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);padding:25px;
}

.menu a {
    color: var(--text-color);
    text-decoration: none;
    font-family: var(--font-family-primary);
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    padding: 10px;
    display: inline-block;
}

.menu a:hover {
    color: var(--accent-color);
}

/* Sous-menus */
.submenu-toggle {
    display: inline-block;
    margin-left: 5px;
    vertical-align: middle;
    width: 10px;
    height: 10px;
    background-image: url('data:image/svg+xml;charset=UTF8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 320 512"><path fill="black" d="M143 352.3l-136-136C-6.1 206.2-6.1 192 6.1 179.8s26.2-12.2 38.4 0l119.5 119.5L283.5 179.8c12.2-12.2 32-12.2 44.2 0s12.2 32 0 44.2l-136 136c-12.3 12.4-32.1 12.4-44.4.1z"/></svg>');
    background-size: contain;
    background-repeat: no-repeat;
    cursor: pointer;
}

.menu-item.has-submenu.open > .submenu-toggle {
    background-image: url('data:image/svg+xml;charset=UTF8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 320 512"><path fill="black" d="M177 159.7l136 136c12.2 12.2 12.2 32 0 44.2s-32 12.2-44.2 0L160 203.2 50.2 339.9c-12.2 12.2-32 12.2-44.2 0s-12.2-32 0-44.2l136-136c12.3-12.4 32.1-12.4 44.4 0z"/></svg>');
}

.submenu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--white-color);
    padding: 10px 0;
    min-width: 200px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    list-style: none;
}

.menu-item.has-submenu:hover .submenu,
.menu-item.has-submenu.open .submenu {
    display: block;
}

.submenu li {
    margin: 0;
}

.submenu a {
    color: var(--text-color);
    padding: 10px 20px;
    font-size: 14px;
    text-transform: none;
    display: block;
}

.submenu a:hover {
    background-color: var(--background-color);
    color: var(--accent-color);
}

/* Icône de recherche */
.search-icon {
    flex-shrink: 0;
    margin-left: 20px;
    cursor: pointer;
}

.search-icon svg {
    fill: var(--text-color);
    transition: fill 0.3s;
}

.search-icon:hover svg {
    fill: var(--accent-color);
}

/* Menu hamburger pour les écrans mobiles */
.hamburger-menu {
    display: none;
    cursor: pointer;
    margin-left: auto;
}

.hamburger-line {
    width: 25px;
    height: 3px;
    background-color: var(--text-color);
    margin: 4px 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

#menu-toggle {
    display: none;
}

#menu-toggle:checked + .hamburger-menu .hamburger-line:nth-child(2) {
    opacity: 0;
}

#menu-toggle:checked + .hamburger-menu .hamburger-line:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

#menu-toggle:checked + .hamburger-menu .hamburger-line:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ------------------ */
/* Responsive Styles */
/* ------------------ */

@media (max-width: 768px) {
    header {
        padding: 0 20px;
        display: flex;
        align-items: center;
    }

    .logo {
        max-width: 100px;
        order: 1;
    }

    .search-icon {
        order: 3;
        margin-left: auto;
    }

    .hamburger-menu {
        display: block;
        order: 2;
        margin-left: auto;
    }

    .menu {
        display: none;
        position: fixed;
        top: 112px;
        left: 0;
        right: 0;
        width: 100%;
        background-color: var(--white-color);
        z-index: 999;
        border-top: 1px solid #eaeaea;
        box-sizing: border-box;
        margin: 0;
        padding-bottom: 20px;
    }

    #menu-toggle:checked ~ .menu {
        display: block;
    }

    .menu-items {
        flex-direction: column;
        align-items: flex-start;
        padding: 0;
        margin: 0;
        width: 100%;
        box-sizing: border-box;
    }

    .menu-item {
        width: 100%;
        margin: 0;
        position: relative;
        box-sizing: border-box;
    }

    .menu a {
        padding: 15px 20px;
        width: 100%;
        border-bottom: 1px solid #eaeaea;
        box-sizing: border-box;
    }

    .menu a:hover {
        background-color: #f5f5f5;
    }

    .submenu-toggle {
        position: absolute;
        right: 20px;
        top: 50%;
        transform: translateY(-50%);
        width: 20px;
        height: 20px;
        cursor: pointer;
    }

    .menu-item.has-submenu .submenu {
        display: none;
    }

    .menu-item.has-submenu.open .submenu {
        display: block;
        width: 100%;
    }

    .submenu {
        position: relative;
        background-color: #f9f9f9;
        padding: 0;
        width: 100%;
        box-sizing: border-box;
        margin: 0;
    }

    .submenu a {
        padding: 12px 20px;
        font-size: 14px;
        border-bottom: 1px solid #eaeaea;
        box-sizing: border-box;
        width: 100%;
    }

    .submenu a:hover {
        background-color: #eaeaea;
    }
}

/* ------------------ */
/* Styles pour le popup de recherche */
/* ------------------ */

.search-popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
}

.search-popup.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-popup-content {
    background-color: var(--white-color);
    padding: 20px;
    border-radius: 8px;
    position: relative;
    width: 90%;
    max-width: 400px;
}

.search-popup-close {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 24px;
    cursor: pointer;
}

.search-popup-content form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.search-popup-content input {
    padding: 10px;
    border: 1px solid #eaeaea;
    border-radius: 4px;
    font-size: 16px;
}

/* ------------------ */
/* Styles du footer */
/* ------------------ */

footer {
    background-color: var(--secondary-color);
    color: var(--white-color);
    padding: 40px 0;
    border-top: 1px solid #444;
}

.footer-sections {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    padding: 0 30px;
}

.footer-section {
    flex: 1 1 200px;
    margin-bottom: 20px;
}

.footer-section h3 {
    margin-bottom: 15px;
    font-weight: 600;
}

.footer-section ul {
    list-style: none;
	padding-top:20px;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: var(--white-color);
    font-size: 14px;
}

.footer-bottom {
    text-align: center;
    margin-top: 30px;
    font-size: 14px;
}

/* ------------------ */
/* Hero Section */
/* ------------------ */

.hero {
    background-image: url('/images/hero-pharmacie.jpg');
    background-size: cover;
    background-position: center;
    padding: 160px 20px;
    color: var(--white-color);
    text-align: center;
    position: relative;
    z-index: 1;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: -1;
}

.hero h1 {
    font-size: 56px;
    margin-bottom: 20px;
    font-family: var(--font-family-primary);
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero p {
    font-size: 24px;
    margin-bottom: 30px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero .button {
    background-color: var(--accent-color);
    padding: 15px 30px;
    border-radius: 30px;
    font-size: 18px;
}

.hero .button:hover {
    background-color: #D84315;
}

/* ------------------ */
/* Grille des produits */
/* ------------------ */

.produits-vedettes {
    padding: 60px 30px;
    background-color: var(--white-color);
}

.produits-vedettes h2 {
    text-align: center;
    margin-bottom: 40px;
    font-family: var(--font-family-primary);
    font-size: 32px;
    color: var(--secondary-color);
}

.produits-liste {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.produit {
    flex: 1 1 calc(25% - 20px);
    box-sizing: border-box;
    padding: 20px;
    text-align: center;
        cursor: pointer;
    background-color: var(--white-color);
    border-radius: 8px; 
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    transition: transform 0.3s, box-shadow 0.3s;
    max-width: 250px;
}

.produit:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.produit img {
    max-width: 100%;
    height: 200px!important;
    object-fit: contain;
    margin-bottom: 15px;
    border-radius: 8px;
}

.produit h3 {
    font-size: 18px;
    margin-bottom: 10px;
    color: var(--text-color);
    font-weight: bold;
}

.produit p {
    color: var(--primary-color);
    font-weight: bold;
    margin-bottom: 15px;
    font-size: 16px;
}

.produit a {
    display: inline-block;
    padding: 10px 20px;
    background-color: var(--accent-color);
    color: var(--white-color);
    text-decoration: none;
    border-radius: 30px;
    font-weight: bold;
    transition: background-color 0.3s;
}

@media (max-width: 992px) {
    .produit {
        flex: 1 1 calc(33.333% - 20px);
    }
}

@media (max-width: 768px) {
    .produit {
        flex: 1 1 calc(50% - 20px);
    }
}

@media (max-width: 480px) {
    .produit {
        flex: 1 1 100%;
    }
}

/* ------------------ */
/* Section À Propos */
/* ------------------ */

.a-propos {
    padding: 80px 30px;
    text-align: center;
    background-color: var(--background-color);
}

.a-propos h2 {
    margin-bottom: 20px;
    font-family: var(--font-family-primary);
    font-size: 32px;
    color: var(--secondary-color);
}

.a-propos p {
    max-width: 800px;
    margin: 0 auto;
    font-size: 18px;
    color: var(--text-color);
    line-height: 1.8;
}

/* ------------------ */
/* Section Avis des Utilisateurs */
/* ------------------ */

.avis-utilisateurs {
    padding: 60px 30px;
    background-color: var(--background-color);
}

.avis-utilisateurs h2 {
    text-align: center;
    margin-bottom: 40px;
    font-family: var(--font-family-primary);
    font-size: 32px;
    color: var(--secondary-color);
}

.avis-carrousel {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.avis {
    background-color: var(--white-color);
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.avis p {
    font-size: 16px;
    color: var(--text-color);
    margin-bottom: 15px;
}

.avis strong {
    display: block;
    font-size: 18px;
    color: var(--secondary-color);
    margin-bottom: 10px;
}

.avis .stars {
    font-size: 20px;
    color: #FFD700;
}

.slick-slide {
    outline: none;
}

.slick-prev, .slick-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background-color: var(--white-color);
    border-radius: 50%;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
    color: var(--primary-color);
    display: flex !important;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 2;
}

.slick-prev {
    left: -60px;
}

.slick-next {
    right: -60px;
}

.slick-prev:before, .slick-next:before {
    content: '';
    display: block;
    width: 15px;
    height: 15px;
    background-size: contain;
}

.slick-prev:before {
    background-image: url('data:image/svg+xml;charset=UTF8,<svg xmlns="http://www.w3.org/2000/svg" fill="%23007EA7" viewBox="0 0 256 512"><path d="M31.7 239l194-194c12.5-12.5 32.8-12.5 45.3 0s12.5 32.8 0 45.3L109.3 256l161.7 161.7c12.5 12.5 12.5 32.8 0 45.3s-32.8 12.5-45.3 0l-194-194c-12.4-12.5-12.4-32.8.0-45.3z"/></svg>');
}

.slick-next:before {
    background-image: url('data:image/svg+xml;charset=UTF8,<svg xmlns="http://www.w3.org/2000/svg" fill="%23007EA7" viewBox="0 0 256 512"><path d="M224.3 239l-194-194c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3L146.7 256 14.0 417.7c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0l194-194c12.4-12.5 12.4-32.8 0-45.3z"/></svg>');
}

.slick-dots {
    position: absolute;
    bottom: -30px;
    width: 100%;
    text-align: center;
}

.slick-dots li {
    display: inline-block;
    margin: 0 5px;
}

.slick-dots li button {
    font-size: 0;
    line-height: 0;
    display: block;
    width: 10px;
    height: 10px;
    padding: 5px;
    cursor: pointer;
    border: none;
    outline: none;
    background: transparent;
}

.slick-dots li button:before {
    content: '';
    font-size: 0;
    line-height: 0;
    width: 10px;
    height: 10px;
    background-color: var(--gray-color);
    display: block;
    border-radius: 50%;
}

.slick-dots li.slick-active button:before {
    background-color: var(--primary-color);
}

/* ------------------ */
/* Section Abonnement Newsletter */
/* ------------------ */

.newsletter {
    background-color: var(--primary-color);
    color: var(--white-color);
    padding: 80px 20px;
    text-align: center;
}

.newsletter span {
    margin-bottom: 20px;
    font-family: var(--font-family-primary);
    font-size: 32px;
	color:white;
	    display: block;
    margin-block-start: 0.83em;
    margin-block-end: 0.83em;
    margin-inline-start: 0px;
    margin-inline-end: 0px;
    font-weight: bold;
    unicode-bidi: isolate;
}

.newsletter form {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    max-width: 600px;
    margin: 0 auto;
}

.newsletter input {
    padding: 15px;
    flex: 1;
    min-width: 250px;
    border: none;
    border-radius: 30px;
    outline: none;
    font-size: 16px;
}

.newsletter button {
    padding: 15px 30px;
    background-color: white;
    color: black;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    transition: background-color 0.3s;
}

.newsletter button:hover {
    background-color: white;
}

/* ------------------ */
/* Styles pour les boutons */
/* ------------------ */

button, .button {
    display: inline-block;
    background-color: var(--accent-color);
    color: var(--white-color);
    border: none;
    border-radius: 30px;
    cursor: pointer;
    text-decoration: none;
    font-family: var(--font-family-primary);
    font-weight: 600;
    transition: background-color 0.3s;
}


/* ------------------ */
/* Page produit détaillé */
/* ------------------ */

.produit-detail {
    display: flex;
    gap: 40px;
    padding: 60px 30px;
    flex-wrap: wrap;
    background-color: var(--white-color);
}

.galerie-photos {
    flex: 1 1 40%;
}

.image-principale img {
    width: 100%;
    max-height: 500px;
    object-fit: contain;
    border-radius: 8px;
    margin-bottom: 15px;
}

.miniatures {
    display: flex;
    gap: 10px;
}

.miniatures img {
    width: 70px;
    height: 70px;
    object-fit: cover;
    cursor: pointer;
    border: 2px solid transparent;
    border-radius: 8px;
    transition: border-color 0.3s;
}

.miniatures img:hover {
    border-color: var(--primary-color);
}

.infos-produit {
    flex: 1 1 50%;
}

.infos-produit h1 {
    margin-bottom: 20px;
    font-size: 32px;
    color: var(--secondary-color);
}

.infos-produit .categorie-produit {
    font-size: 16px;
    color: var(--gray-color);
    margin-bottom: 10px;
}

.infos-produit p {
    margin-bottom: 15px;
    font-size: 18px;
}

.infos-produit ul {
    list-style: none;
    padding: 0;
    margin-bottom: 20px;
}

.infos-produit ul li {
    margin-bottom: 10px;
    font-size: 16px;
    display: flex;
    align-items: center;
}

.infos-produit ul li::before {
    content: '✔';
    color: var(--primary-color);
    margin-right: 10px;
}

#btn-etre-rappele {
    padding: 15px 30px;
    background-color: var(--accent-color);
    color: var(--white-color);
    border: none;
    border-radius: 30px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s;
}

#btn-etre-rappele:hover {
    background-color: #D84315;
}

.description-produit {
    margin-top: 40px;
}

.description-produit h2 {
    margin-bottom: 15px;
    font-size: 24px;
    font-family: var(--font-family-primary);
    color: var(--secondary-color);
}

.description-produit p {
    font-size: 16px;
    color: var(--gray-color);
    line-height: 1.6;
}

/* ------------------ */
/* Popup */
/* ------------------ */

.popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    z-index: 999;
}

.popup-content {
    background: var(--white-color);
    margin: 10% auto;
    padding: 40px;
    width: 90%;
    max-width: 400px;
    position: relative;
    border-radius: 8px;
}

.popup-content .close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 24px;
    cursor: pointer;
    color: var(--gray-color);
}

.popup-content h2 {
    margin-bottom: 20px;
    font-family: var(--font-family-primary);
    font-size: 24px;
    color: var(--secondary-color);
}

.popup-content form input {
    width: 100%;
    padding: 15px;
    margin-bottom: 20px;
    border: 1px solid #E0E0E0;
    border-radius: 8px;
    outline: none;
    font-size: 16px;
}

.popup-content form button {
    width: 100%;
    padding: 15px;
    background-color: var(--accent-color);
    color: var(--white-color);
    border: none;
    border-radius: 30px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s;
}

.popup-content form button:hover {
    background-color: #D84315;
}

/* ------------------ */
/* Pagination */
/* ------------------ */

.pagination {
    text-align: center;
    margin: 40px 0;
}

.pagination a, .pagination span {
    display: inline-block;
    padding: 12px 20px;
    margin: 0 5px;
    background-color: var(--white-color);
    color: var(--text-color);
    text-decoration: none;
    border: 1px solid #E0E0E0;
    border-radius: 30px;
    transition: background-color 0.3s, color 0.3s;
}

.pagination a:hover {
    background-color: var(--primary-color);
    color: var(--white-color);
}

.pagination .current-page {
    background-color: var(--primary-color);
    color: var(--white-color);
    border-color: var(--primary-color);
}

/* ------------------ */
/* Responsive Styles */
/* ------------------ */

@media (max-width: 992px) {
    .produit {
        flex: 1 1 calc(33.333% - 20px);
    }

    .produit-detail {
        flex-direction: column;
    }

    .galerie-photos, .infos-produit {
        flex: 1 1 100%;
    }

    .footer-sections {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 768px) {
    .produit {
        flex: 1 1 calc(50% - 20px);
    }

    .newsletter form {
        flex-direction: column;
    }

    .newsletter input, .newsletter button {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .produit {
        flex: 1 1 100%;
    }

    .hero h1 {
        font-size: 32px;
    }

    .hero p {
        font-size: 18px;
    }
}

/* Menu hamburger pour les écrans mobiles */
.hamburger-menu {
    display: none;
    cursor: pointer;
    margin-left: auto;
}

.hamburger-line {
    width: 25px;
    height: 3px;
    background-color: black;
    margin: 4px 0;
    transition: transform 0.3s ease;
    display: block;
}

#menu-toggle {
    display: none;
}

/* Styles spécifiques aux écrans mobiles */
@media (max-width: 768px) {

    header {
        padding: 0 10px;
    }

    .hamburger-menu {
        display: block;
        order: 1;
    }

    .search-icon {
        order: 2;
        margin-right: 10px;
    }

    .logo-container {
        order: 3;
        flex-grow: 1;
        text-align: center;
    }

    .cart-icon {
        order: 4;
        margin-left: 10px;
    }

    .logo {
        max-width: 100px;
    }

    /* Ajustement du menu */
    .menu {
        display: none;
        position: fixed;
        left: 0;
        width: 100%;
        background-color: var(--white-color);
        z-index: 999;
        flex-direction: column;
    }

    #menu-toggle:checked + .hamburger-menu + .menu {
        display: flex;
    }

    .menu-items {
        flex-direction: column;
        width: 100%;
    }

    .menu-item {
        width: 100%;
    }

    .menu a {
        width: 100%;
        padding: 15px 20px;
        border-bottom: 1px solid #eaeaea;
    }

    .menu a:hover {
        background-color: #f5f5f5;
    }

    .submenu-toggle {
        position: absolute;
        right: 20px;
        top: 50%;
        transform: translateY(-50%);
        width: 20px;
        height: 20px;
        cursor: pointer;
    }

    .menu-item.has-submenu .submenu {
        display: none;
    }

    .menu-item.has-submenu.open .submenu {
        display: block;
        width: 100%;
    }

    .submenu {
        position: relative;
        background-color: #f9f9f9;
        padding: 0;
        width: 100%;
        box-sizing: border-box;
        margin: 0;
    }

    .submenu a {
        padding: 12px 20px;
        font-size: 12px;
        border-bottom: 1px solid #eaeaea;
        box-sizing: border-box;
        width: 100%;
    }

    .submenu a:hover {
        background-color: #eaeaea;
    }

    #menu-toggle:checked + .hamburger-menu .hamburger-line:nth-child(2) {
        opacity: 0;
    }

    #menu-toggle:checked + .hamburger-menu .hamburger-line:nth-child(1) {
        transform: rotate(-45deg) translate(-5px, 6px);
    }

    #menu-toggle:checked + .hamburger-menu .hamburger-line:nth-child(3) {
        transform: rotate(45deg) translate(-5px, -6px);
    }
}
.avis-utilisateurs {
    padding: 80px 20px;
    background-color: var(--background-color);
    position: relative;
}

.avis-utilisateurs h2 {
    text-align: center;
    margin-bottom: 60px;
    font-family: var(--font-family-primary);
    font-size: 36px;
    color: var(--secondary-color);
}

/* Section Avis des Utilisateurs */
.avis-utilisateurs {
    padding: 80px 20px;
    background-color: var(--background-color);
    position: relative;
}

.avis-utilisateurs h2 {
    text-align: center;
    margin-bottom: 60px;
    font-family: var(--font-family-primary);
    font-size: 36px;
    color: var(--secondary-color);
}

/* Carrousel */
.avis-carrousel {
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}

.avis-slide {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.avis {
    flex: 0 0 100%;
    max-width: 100%;
}

.avis-content {
    background-color: var(--white-color);
    padding: 40px;
    border-radius: 10px;
    box-sizing: border-box;
    text-align: center;
    margin: 0 10px;
}

.commentaire {
    font-size: 20px;
    color: var(--text-color);
    margin-bottom: 30px;
    line-height: 1.6;
    font-style: italic;
}

.nom-utilisateur {
    font-size: 18px;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.note .etoile {
    font-size: 24px;
    color: #FFD700;
    margin: 0 2px;
}

.note .etoile.vide {
    color: #ccc;
}

/* Flèches de navigation */
.nav-prev, .nav-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: var(--primary-color);
    color: var(--white-color);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    font-size: 24px;
    text-align: center;
    transition: background-color 0.3s;
    z-index: 2;
}

.nav-prev:hover, .nav-next:hover {
    background-color: var(--secondary-color);
}

.nav-prev {
    left: 10px;
}

.nav-next {
    right: 10px;
}

/* Points de navigation */
.points-navigation {
    text-align: center;
    margin-top: 30px;
}

.points-navigation .point {
    display: inline-block;
    width: 12px;
    height: 12px;
    background-color: var(--gray-color);
    border-radius: 50%;
    margin: 0 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.points-navigation .point.actif {
    background-color: var(--primary-color);
}

/* Responsive */
@media (max-width: 768px) {
    .nav-prev, .nav-next {
        width: 40px;
        height: 40px;
        font-size: 20px;
        line-height: 40px;
    }

    .nav-prev {
        left: 5px;
    }

    .nav-next {
        right: 5px;
    }

    .commentaire {
        font-size: 18px;
    }
}

@media (max-width: 480px) {
    .nav-prev, .nav-next {
        display: none;
    }

    .commentaire {
        font-size: 16px;
    }
}
.cart-icon {
    flex-shrink: 0;
    margin-left: 20px;
    cursor: pointer;
}

.cart-icon svg, .cart-icon i {
    fill: var(--text-color);
    color: var(--text-color);
    transition: color 0.3s;
}

.cart-icon:hover svg, .cart-icon:hover i {
    fill: var(--accent-color);
    color: var(--accent-color);
}
/* Conteneur du logo pour centrer */
.logo-container {
    text-align: center;
}

/* Réorganisation des éléments dans le header pour mobile */
@media (max-width: 768px) {
    header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 0 10px;
    }

    /* Ordre des éléments */
    .hamburger-menu {
        order: 1;
        margin-right: 10px;
    }

    .search-icon {
        order: 2;
        margin-right: 10px;
    }

    .cart-icon {
        order: 4;
        margin-left: 10px;
    }

    /* Centrer le logo */
    .logo-container {
        flex-grow: 1;
        text-align: center;
    }

    .logo {
        max-width: 100px;
    }
}
.cart-slider {
    position: fixed;
    top: 0;
    right: -100%; /* Caché à droite de l'écran */
    width: 80%;
    max-width: 400px;
    height: 100%;
    background-color: var(--white-color);
    box-shadow: -2px 0 5px rgba(0,0,0,0.5);
    transition: right 0.3s ease-in-out;
    z-index: 1000;
}

.cart-slider.active {
    right: 0; /* Affiche le slider en le faisant glisser */
}

.cart-slider-content {
    padding: 20px;
    position: relative;
    height: 100%;
    overflow-y: auto;
}

.cart-slider-close {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 24px;
    cursor: pointer;
}


/* Conteneur des icônes alignées à droite */
.icons-container {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.search-icon, .cart-icon {
    margin-left: 20px;
    cursor: pointer;
}

.search-icon svg, .cart-icon i {
    fill: var(--text-color);
    color: var(--text-color);
    transition: color 0.3s;
}

.search-icon:hover svg, .cart-icon:hover i {
    fill: var(--accent-color);
    color: var(--accent-color);
}

/* Menu hamburger (caché sur desktop) */
.hamburger-menu {
    display: none;
}

/* Styles pour les écrans mobiles */
@media (max-width: 768px) {
    header {
        padding: 0 10px;
        justify-content: space-between;
    }

    /* Logo centré */
    .logo-container {
        order: 2;
        flex-grow: 1;
        text-align: center;
    }

    /* Menu hamburger et icône de recherche à gauche */
    .hamburger-menu {
        display: block;
        order: 1;
        cursor: pointer;
    }

    .search-icon {
        order: 1;
        margin-right: 10px;
    }

    /* Icône de panier à droite */
    .icons-container {
        order: 3;
    }

    /* Menu caché par défaut sur mobile */
    .menu {
        display: none;
        position: fixed;
        left: 0;
        width: 100%;
        background-color: var(--white-color);
        z-index: 999;
        flex-direction: column;
    }

    /* Afficher le menu lorsque le menu-toggle est coché */
    #menu-toggle:checked + .hamburger-menu + .menu {
        display: flex;
    }

    .menu-items {
        flex-direction: column;
        align-items: flex-start;
        padding: 0;
        margin: 0;
        width: 100%;
        box-sizing: border-box;
    }

    .menu-item {
        width: 100%;
        margin: 0;
    }

    .menu a {
        width: 100%;
        padding: 15px 20px;
        border-bottom: 1px solid #eaeaea;
        box-sizing: border-box;
    }

    .menu a:hover {
        background-color: #f5f5f5;
    }
}

/* Styles pour le menu hamburger */
.hamburger-menu {
    display: none;
    cursor: pointer;
    margin-right: 10px;
}

.hamburger-line {
    width: 25px;
    height: 3px;
    background-color: var(--text-color);
    margin: 4px 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

#menu-toggle {
    display: none;
}

@media (max-width: 768px) {
    .hamburger-menu {
        display: block;
    }

    /* Animation du menu hamburger */
    #menu-toggle:checked + .hamburger-menu .hamburger-line:nth-child(2) {
        opacity: 0;
    }

    #menu-toggle:checked + .hamburger-menu .hamburger-line:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    #menu-toggle:checked + .hamburger-menu .hamburger-line:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }
}

.row {
    display: flex;
    flex-wrap: wrap;
    margin: 20px 0;
}

/* Styles pour les colonnes */
.col {
    padding: 15px;
}

@media (min-width: 992px) {
    .col-left,
    .col-right {
        flex: 0 0 25%;
        max-width: 25%;
    }
    .col-middle {
        flex: 0 0 50%;
        max-width: 50%;
    }
}

@media (max-width: 991px) {
    .col {
        flex: 0 0 100%;
        max-width: 100%;
    }
header > *, main > *, footer > * {
    margin: 0 auto;
    padding: 0 10px!important; /* Optionnel : ajoute un espacement latéral sur les petits écrans */
}
.produits-liste {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px; /* Espace entre les produits */
}

}

/* Styles pour la colonne de gauche (Formulaire de vérification) */
.col-left span {
    margin-bottom: 10px;
        display: block;
    font-size: 1.2em;
    color:black;
    margin-block-start: 0.83em;
    margin-block-end: 0.83em;
    margin-inline-start: 0px;
    margin-inline-end: 0px;
    text-align:center;
    font-weight: bold;
    unicode-bidi: isolate;
}

.col-left p {
    margin-bottom: 20px;
}

.col-left form {
    display: flex;
    flex-direction: column;
}

.col-left label {
    margin-bottom: 5px;
}

.col-left input[type="text"] {
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #ccc;
}

.col-left button {
    padding: 10px;
    color: #fff;
    border: none;
    cursor: pointer;
}


@media (min-width: 992px) {
    .produit {
        flex: 0 0 23%;
        max-width: 23%;
        margin: 1%;
    }
}

.produit img {
    max-width: 100%;
    height: auto;
}

.produit h2 {
    margin: 10px 0;
}

.produit .categorie-produit {
    color: #888;
    font-size: 0.9em;
}

.produit p {
    margin: 5px 0;
}

.produit a {
    display: inline-block;
    margin-top: 10px;
    padding: 10px 15px;

    color: #fff;
    text-decoration: none;
    border-radius: 5px;
}

/* Styles pour la colonne de droite (Étapes pour effectuer un achat) */
.col-right span {
    margin-bottom: 20px;
        display: block;
        color:black;
    font-size: 1.2em;
    text-align:center;
    margin-block-start: 0.83em;
    margin-block-end: 0.83em;
    margin-inline-start: 0px;
    margin-inline-end: 0px;
    font-weight: bold;
    unicode-bidi: isolate;
}

.achat-etapes {
    list-style: none;
    padding: 0;
}

.achat-etapes li {
    margin-bottom: 20px;
    display: flex;
    align-items: center;
}

.achat-etapes img {
    max-width: 50px;
    margin-right: 15px;
}

.achat-etapes p {
    margin: 0;
}

/* Styles pour la FAQ en accordéon */
.faq {
    margin-top: 40px;
}

.faq span {
    margin-bottom: 20px;
    text-align: center;
    display: block;
    font-size: 1.5em;
    margin-block-start: 0.83em;
    margin-block-end: 0.83em;
    margin-inline-start: 0px;
    margin-inline-end: 0px;
    font-weight: bold;
    unicode-bidi: isolate;
}
}

.faq-item {
    margin-bottom: 10px;
margin-right: 1%;
margin-left: 1%;}

.faq-question {
    width: 100%;
    padding: 15px;
    background-color: #f1f1f1;
    border: none;
    text-align: left;
    font-size: 1.1em;
    cursor: pointer;
    outline: none;
}

.faq-answer {
    display: none;
    padding: 15px;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-top: none;
}

.faq-question.active {
    background-color: white;
}

/* Styles pour rendre la page responsive */
@media (max-width: 767px) {
    .col {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .produit {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .achat-etapes li {
        flex-direction: column;
    }

    .achat-etapes img {
        margin-bottom: 10px;
    }
}
/* Styles pour la section Hero */
.hero {
    position: relative;
    background-image: url('images/hero-background.jpg');
    background-size: cover;
    background-position: center;
    color: #fff;
    padding: 100px 20px;
    text-align: center;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5); /* Overlay pour assombrir l'image de fond */
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 3em;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.5em;
    margin-bottom: 30px;
}

.hero-button {
    padding: 15px 30px;
    background-color: white;
    color: black;
    text-decoration: none;
    font-size: 1.2em;
    border-radius: 5px;
}

.hero-button:hover {
    background-color: white;
}
header > *, main > *, footer > * {
    margin: 0 auto;
    padding: 0 30px; /* Optionnel : ajoute un espacement latéral sur les petits écrans */
}
/* Styles pour la FAQ */
.faq {
    margin-top: 40px;
}

.faq span {
    text-align: center;
    font-size: 32px;
    font-family: var(--font-family-primary);
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.faq-item {
    background-color: var(--white-color);
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin-bottom: 15px;
    overflow: hidden;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    font-size: 18px;
    font-family: var(--font-family-secondary);
    font-weight: 600;
    color: var(--text-color);
    background-color: var(--white-color);
    cursor: pointer;
    border: none;
    outline: none;
    width: 100%;
    transition: background-color 0.3s;
}

.faq-question::after {
    content: "+";
    font-size: 24px;
    font-weight: bold;
    color: var(--primary-color);
    transition: transform 0.3s;
}

.faq-answer {
    padding: 20px;
    font-size: 16px;
    line-height: 1.6;
    color: var(--gray-color);
    display: none;
    background-color: var(--white-color);
}

.faq-question.active::after {
    transform: rotate(45deg); /* Changement de l'icône en "-" */
}


.faq-question.active + .faq-answer {
    display: block;
}
@media (max-width: 768px) {
    .row {
        flex-direction: column;
    }

    .col-left {
        order: 3;
    }

    .col-middle {
        order: 1;
    }

    .col-right {
        order: 2;
    }
}
.col-left .incol,
.col-right .incol {
    position: -webkit-sticky; /* Compatibilité avec Safari */
    position: sticky;
    top: 90px; /* Distance depuis le haut de la fenêtre */

}
.top-banner {
    background-color: #000;
    color: #fff;
    width: 100%;
    box-sizing: border-box;
}

.banner-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px; /* Largeur maximale pour centrer le contenu */
    margin: 0 auto;
    padding: 10px 20px;
}

.banner-item {
    font-family: "Oswald", sans-serif;
    font-size: 14px;
    text-transform: uppercase;
}

.left-item {
    text-align: left;
}

.center-item {
    text-align: center;
}

.right-item {
    text-align: right;
}
@media (max-width: 768px) {
    /* Bannière supérieure */
    .banner-item.center-item,
    .banner-item.right-item {
        display: none;
    }
    .banner-content {
        justify-content: center;
    }
    .banner-item.left-item {
        text-align: center;
        width: 100%;
    }}
    .top-banner .banner-item.left-item {
    color: white;
    -webkit-text-fill-color: white; /* Pour forcer la couleur sur les navigateurs WebKit */
}
/* ------------------ */
/* Styles du footer */
/* ------------------ */

footer {
    background-color: #000; /* Fond noir */
    color: #fff; /* Texte blanc */
    padding: 40px 20px;
}

.footer-sections {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    max-width: 1200px; /* Largeur maximale pour centrer le contenu */
    margin: 0 auto; /* Centrer horizontalement */
    padding: 0 20px;
}

.footer-section {
    flex: 1 1 200px;
    margin-bottom: 20px;
}

.footer-section span {
    margin-bottom: 15px;
    font-weight: 600;
    font-size: 18px;
    border-bottom: 2px solid #fff; /* Ligne sous le titre */
    padding-bottom: 5px;
}

.footer-section ul {
    list-style: none;
    padding-top: 20px;
    margin: 0;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: #fff; /* Liens en blanc */
    font-size: 14px;
    transition: color 0.3s;
}

.footer-bottom {
    text-align: center;
    margin-top: 30px;
    font-size: 14px;
    border-top: 1px solid #444; /* Ligne supérieure */
    padding-top: 20px;
}

/* ------------------ */
/* Responsive Styles */
/* ------------------ */

@media (max-width: 768px) {
    footer {
        padding: 30px 10px;
    }

    .footer-sections {
        flex-direction: column;
        align-items: center;
        padding: 0 10px;
    }

    .footer-section {
        flex: 1 1 100%;
        max-width: 300px;
        text-align: center;
    }

    .footer-section span {
        font-size: 20px;
    }

    .footer-section ul li a {
        font-size: 16px;
    }

    .footer-bottom {
        margin-top: 20px;
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    footer {
        padding: 20px 5px;
    }

    .footer-section span {
        font-size: 18px;
    }

    .footer-section ul li a {
        font-size: 14px;
    }

    .footer-bottom {
        font-size: 14px;
    }
}
@media only screen and (max-width: 768px) {
    .achat-etapes img {
        max-width: 100px;
    }
}
/* Overlay Styles */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Noir semi-transparent */
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: 999; /* Juste en dessous du panier (z-index: 1000) */
}

.overlay.active {
    opacity: 1;
    visibility: visible;
}
.search-icon svg, .cart-icon i{
        Font-size: 20px !important;
    }/* Style pour le compteur de panier */
.cart-count {
    background-color: black;
    color: white;
    border-radius: 50%;
    padding: 2px 6px;
    font-size: 12px;
}

/* Style pour les éléments du panier */
.cart-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 10px 0;
}

.cart-item p {
    margin: 0;
    font-size: 16px;
}

/* Style pour le bouton "Commander" */
.checkout-button {
    background-color: black;
    color: white;
    border: none;
    padding: 10px 20px;
    margin-top: 20px;
    cursor: pointer;
    font-size: 16px;
    font-family: 'Poppins', sans-serif;
    width: 100%;
    text-align: center;
}

.checkout-button:hover {
    background-color: #333;
}
.remove-from-cart{
    padding:10px;
}.cart-item img {
max-width:50px;
    border-radius:8px;
}.produits-liste {
  flex-wrap: wrap;
}

.produit {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 20px;
  box-sizing: border-box;
}
.buttonii {margin-bottom:20px; width:100%;}
