/* HEADER */
.site-header {
    background: #fff;
    border-bottom: 1px solid #eee;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: background 0.3s ease, box-shadow 0.3s ease;
}

/* HEADER STICKY EFFECT */
.site-header.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.12);
}

.header-container {
    max-width: 1300px;
    margin: auto;
    padding: 18px 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* LOGO */
.logo img {
    height: 100px;
    transition: transform 0.3s ease;
}
.logo img:hover { transform: scale(1.05); }

/* NAVIGATION */
.main-nav ul {
    list-style: none;
    display: flex;
    gap: 35px;
    align-items: center;
}
.main-nav li { position: relative; }
.main-nav a {
    text-decoration: none;
    color: #1D418F;
    font-weight: 600;
    font-size: 17px;
    letter-spacing: 0.3px;
    position: relative;
    padding: 5px 0;
    transition: color .3s ease;
}
.main-nav a::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    height: 2px;
    width: 0;
    background: #e63946;
    transition: width 0.3s ease;
}
.main-nav a:hover { color: #e63946; }
.main-nav a:hover::after { width: 100%; }

/* MEGA MENU */
.has-megamenu .mega-menu {
    position: absolute;
    left: 0;
    top: 100%;
    width: 900px;
    background: #fff;
    padding: 25px;
    display: none;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    border-radius: 12px;
    box-shadow: 0 12px 25px rgba(0,0,0,0.12);
    animation: fadeIn 0.3s ease;
}
.has-megamenu:hover .mega-menu { display: grid; }

.mega-column h3 {
    font-size: 15px;
    margin-bottom: 12px;
    color: #e63946;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.article-item {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: #333;
    font-size: 14px;
    transition: transform 0.2s ease, color .2s ease;
    border-radius: 8px;
    padding: 5px;
}
.article-item img {
    width: 75px;
    height: 70px;
    object-fit: contain;
    border-radius: 8px;
    transition: transform 0.3s ease;
}
.article-item:hover { color: #e63946; background: #fafafa; transform: translateX(3px); }
.article-item:hover img { transform: scale(1.08); }

/* ===============================
   DROPDOWN DESKTOP – NIVEAU 1
================================ */
.has-dropdown > .dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.12);
    padding: 15px 0;
    min-width: 220px;
    display: none;
    z-index: 1100;
}

/* ===============================
   DROPDOWN DESKTOP – NIVEAU 2
   (SOUS-MENU DES SOUS-MENUS)
================================ */
/* SOUS-MENU CLASSIQUE (niveau 2) */
.has-submenu > .submenu {
    position: absolute;
    top: 0;
    left: calc(100% - 1px);
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.12);
    padding: 15px 0;
    min-width: 260px;
    display: none;
    z-index: 1200;
}
/* MEGA MENU EVENEMENTS – 2 COLONNES */
.has-submenu > .mega-menu-events {
    position: absolute;
    top: 0;
    left: calc(100% - 1px);
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 12px 25px rgba(0,0,0,0.15);
    padding: 25px;
    min-width: 600px;
    display: none;
    z-index: 1200;

    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 40px;
}
/* Colonnes événements */
.mega-menu-events .mega-column {
    display: flex;
    flex-direction: column;
}

.mega-menu-events .mega-column h3 {
    font-size: 16px;
    margin-bottom: 15px;
    color: #e63946;
    font-weight: 700;
    text-transform: uppercase;
}

/* Espacement entre les events */
.mega-menu-events .article-item {
    margin-bottom: 14px;
}

/* Dernier item sans marge */
.mega-menu-events .article-item:last-child {
    margin-bottom: 0;
}

/* ===============================
   ESPACEMENT DES LIENS
================================ */
.has-dropdown .dropdown li a,
.has-submenu .submenu li a {
    padding: 14px 28px;     /* + d’espace horizontal */
    line-height: 2.3;      /* respiration verticale */
    margin-bottom: 4px;    /* espace entre les items */
}

/* ===============================
   HOVER STABLE (CLICABLE)
================================ */
.has-dropdown:hover > .dropdown {
    display: block;
}

/* OUVERTURE STRICTE DES SOUS-MENUS */
.has-dropdown:hover > .dropdown {
    display: block;
}

/* Sous-menu niveau 2 classique (Dreals Care) */
.has-submenu:hover > .submenu {
    display: block;
}

/* Mega menu EVENEMENTS : uniquement quand on hover "Évènements" */
.has-submenu:hover > a + .mega-menu-events,
.has-submenu > .mega-menu-events:hover {
    display: grid;
}

/* Le parent doit porter le hover */
.has-submenu {
    position: relative;
}

/* Empêche l'ouverture automatique des mega menus */
.has-submenu > .mega-menu-events {
    display: none;
}

/* Zone tampon invisible pour éviter la perte de hover */
.has-submenu::after {
    content: "";
    position: absolute;
    top: 0;
    right: -20px;
    width: 20px;
    height: 100%;
    background: transparent;
}

/* =========================
   ICONES HEADER MODERNES
========================= */
.header-icons {
    display: flex;
    align-items: center;
    gap: 20px;
}

/* LIENS ICONES */
.modern-icon {
    position: relative;
    font-size: 28px; /* 🔥 plus visible */
    color: #1D418F;

    width: 42px;
    height: 42px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;
    transition: 0.3s;

    background: rgba(0,0,0,0.03);
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

.modern-icon:hover {
    background: rgba(0,0,0,0.06);
    color: #e63946;
}

/* USERNAME */
.username {
    font-size: 14px;
    margin-left: 6px;
}

/* =========================
   PANIER BADGE FIX
========================= */
.cart-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* BADGE */
.cart-count {
    position: absolute;
     top: 2px;
    right: 2px;

    min-width: 16px;
    height: 16px;

    background: #e63946;
    color: white;

    font-size: 10px;
    font-weight: bold;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

/* =========================
   MOBILE FIX ICONES HEADER
========================= */
@media (max-width: 900px) {

    .modern-icon {
        width: 44px;
        height: 44px;
        font-size: 26px; /* 🔥 bien visible */
    }

    .header-icons {
        gap: 15px;
    }

    /* USERNAME (optionnel) */
    .username {
        display: none; /* 🔥 évite que ça casse le layout */
    }
}

@media (max-width: 900px) {

    .cart-count {
        top: -3px;
        right: -3px;

        min-width: 15px;
        height: 15px;

        font-size: 9px;
    }

}

@media (max-width: 900px) {

    .header-icons {
        display: flex;
        align-items: center;
        gap: 10px;
        flex: none; /* 🔥 IMPORTANT */
    }

    .header-search {
        max-width: 120px;
    }

    .modern-icon {
        width: 44px !important;
        height: 44px !important;
        font-size: 24px !important;
    }

    .cart-count {
        top: 1px;
        right: 1px;
        min-width: 14px;
        height: 14px;
        font-size: 9px;
    }

}

@media (max-width: 900px) {

    .modern-icon {
        background: rgba(0,0,0,0.04);
    }

}

.cart-count.bump {
    animation: bump 0.3s ease;
}

@keyframes bump {
    0% { transform: scale(1); }
    50% { transform: scale(1.3); }
    100% { transform: scale(1); }
}
/* FORCE ICONES */
.modern-icon {
    width: 48px !important;
    height: 48px !important;
    font-size: 26px !important;
}

/* CHAMP RECHERCHE */
.header-search { position: relative; display: flex; align-items: center; margin-right: 10px; top: 5px; }
.header-search input {
    padding: 10px 45px 10px 15px;
    border-radius: 0px;
    border: 1px solid #ccc;
    font-size: 15px;
    outline: none;
    transition: all 0.3s ease;
}
.header-search input:focus { border-color: #e63946; box-shadow: 0 0 8px rgba(230,57,70,0.3); }
.header-search button { position: absolute; right: 5px; border: none; background: transparent; cursor: pointer; font-size: 16px; color: #1D418F; }
.header-search button:hover { color: #e63946; }

/* BURGER MODERNE LMC */
.lmc-menu-btn {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
}
.lmc-menu-btn span {
    width: 26px;
    height: 3px;
    background: #1D418F;
    border-radius: 2px;
    transition: all 0.3s ease;
}
.lmc-menu-btn.active span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.lmc-menu-btn.active span:nth-child(2) { opacity: 0; }
.lmc-menu-btn.active span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }
.lmc-menu-btn.active span:nth-child(4) { display: none; }

/* IMAGE MENU : CACHÉE SUR DESKTOP */
.menu-image {
    display: none;
}

/* --- MOBILE --- */
@media (max-width: 900px) {
/* ==== ORGANISATION MOBILE ==== */
.header-container {
    display: flex;
    flex-wrap: wrap;         /* permet 2 lignes */
    justify-content: space-between;
    align-items: center;
}

/* Ligne 1 : logo à gauche, réseaux à droite */
.logo {
    order: 1;
    flex: 1;                 /* prend l’espace disponible */
}

.header-socials {
    order: 2;
    flex: 1;
    display: flex;           /* garde ton display flex actuel */
    justify-content: flex-end; 
}

/* Ligne 2 : recherche + compte à gauche, burger à droite */
.header-icons {
    order: 3;
    flex: 1;
}

.lmc-menu-btn {
    order: 4;
}


    /* ===== HEADER ICONS ===== */
    .header-icons {
        display: flex;
        flex-direction: row;
        gap: 10px;
        margin-bottom: -10px; /* espace avant le menu */
        align-items: center;
    }

    .header-search {
        flex: 1;
        max-width: 180px;  /* réduit la longueur du champ */
    }

    .header-search input {
        padding: 5px 5px 5px 10px; /* padding réduit pour mobile */
        font-size: 14px;
    }

    .header-search button {
        font-size: 14px;
        right: 5px;
    }

    .header-icons a {
        font-size: 20px;
        color: #1D418F;
    }

    /* ===== BURGER ===== */
    .lmc-menu-btn {
        display: flex;
        z-index: 1500;
    }

    /* ===== NAV ===== */
    .main-nav {
    position: fixed;
    inset: 0;
    background: #fff;

    transform: translateX(-100%);
    transition: transform .35s ease;

    padding: 100px 25px 30px;

    overflow-y: auto;

    width: 100%;
    height: 100dvh;

    z-index: 1400;

    display: flex;
    flex-direction: column;
}
body.menu-open {
    overflow: hidden;
}

    .main-nav.active {
        transform: translateX(0);
    }

    .main-nav ul {
        flex-direction: column;
        gap: 14px;
    }

    .main-nav li {
        width: 100%;
    }

    .main-nav a {
        font-size: 18px;
        padding: 12px 10px;       /* padding top/bottom = 12px, left/right = 10px */
        display: flex;             /* Flex pour aligner texte + triangle */
        justify-content: space-between;
        align-items: center;       /* centre verticalement le texte et le triangle */
    }

    /* ===== SOUS-MENUS ===== */
    .dropdown,
    .submenu,
    .mega-menu,
    .mega-menu-events {
        position: static !important;
        display: none;
        background: transparent;
        box-shadow: none;
        padding-left: 18px;
        margin-top: 6px;
    }

    .main-nav li.active > .dropdown,
    .main-nav li.active > .submenu,
    .main-nav li.active > .mega-menu,
    .main-nav li.active > .mega-menu-events {
        display: block;
        animation: fadeSlide .25s ease;
    }

    /* ===== MEGA EVENTS MOBILE ===== */
    .mega-menu-events {
        grid-template-columns: 1fr;
        row-gap: 25px;
        padding-left: 0;
    }

    .mega-menu-events .article-item {
        flex-direction: row;
    }

    .mega-menu-events img {
        width: 60px;
        height: 60px;
    }

    /* ===== IMAGE EN BAS DU MENU ===== */
    .menu-image {
        display: block;
        margin-top: 25px;
        text-align: center;
    }

    .menu-image img {
        max-width: 100%;
        height: auto;
        border-radius: 8px;
    }

    /* ===== TRIANGLES SOUS-MENU SUR MÊME LIGNE ===== */
    .has-dropdown > a,
    .has-submenu > a,
    .has-megamenu > a {
        display: flex;                 /* Flex pour aligner texte et triangle */
        justify-content: space-between; /* Texte à gauche, triangle à droite */
        align-items: center;           /* Centrer verticalement */
    }

    .has-dropdown > a::after,
.has-submenu > a::after,
.has-megamenu > a::after {
    content: ""; /* on vide le contenu pour ne rien afficher */
}


    .main-nav li.active > a::after {
        transform: rotate(180deg);
    }

    /* ===== ANIMATION ===== */
    @keyframes fadeSlide {
        from {
            opacity: 0;
            transform: translateY(-5px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
}

/* ==== ICONES RESEAUX HEADER COMME FOOTER ==== */
.header-socials {
    position: absolute;        /* angle supérieur droit */
    top: 20px;
    right: 30px;
    display: flex;
    gap: 15px;
    z-index: 2000;             /* au-dessus du menu */
}

.header-socials a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #1D418F;
    color: #fff;
    font-size: 18px;
    transition: background 0.3s ease, transform 0.3s ease;
}

.header-socials a:hover {
    background: #e63946;
    transform: translateY(-4px);
}

/* ===== RESPONSIVE MOBILE ===== */
@media (max-width: 900px) {

    .header-socials {
        position: static;
        margin-top: -2px;
        justify-content: center;
        width: 15%;
        gap: 5px;
    }

    .header-socials a {
        width: 36px;
        height: 25px;
        font-size: 14px;
    }
}
/* GRID PROMO */
.promo-menu {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px,1fr));
    gap: 20px;
    padding: 20px;
}

/* CARD */
.promo-card {
    display: block;
    text-decoration: none;
    color: black;
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    transition: 0.3s;
}

.promo-card:hover {
    transform: translateY(-5px);
}

.promo-image-wrapper img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

/* BADGE OBLIQUE */
.promo-image-wrapper {
    position: relative;
    overflow: hidden;
}

.promo-badge {
    position: absolute;
    top: 20px;
    left: -40px;
    background: red;
    color: white;
    padding: 6px 50px;
    font-size: 12px;
    font-weight: bold;
    transform: rotate(-45deg);
    box-shadow: 0 2px 5px rgba(0,0,0,0.3);
    letter-spacing: 1px;
}

/* TEXTE */
.promo-info {
    padding: 10px;
}

.promo-title {
    font-size: 14px;
    font-weight: 600;
}

/* PRIX */
.promo-prices {
    margin-top: 5px;
}

.old-price {
    text-decoration: line-through;
    color: #000;
    font-size: 15px;
    margin-right: 5px;
}

.new-price {
    color: red;
    font-weight: bold;
    font-size: 25px;
}

/* ---------------------------------------------- */

/* FOOTER */
.site-footer {
    background: linear-gradient(135deg, #003366, #001a33);
    color: #fff;
    padding: 60px 20px 20px;
    margin-top: 0px;
    font-family: 'Segoe UI', sans-serif;
}

.footer-top {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 40px;
    max-width: 1300px;
    margin: auto;
    text-align: left;
}

/* LOGO */
.footer-logo img {
    width: 150px;
    margin-bottom: 10px;
    transition: transform 0.3s ease;
}
.footer-logo img:hover {
    transform: scale(1.05);
}
.footer-logo p {
    font-size: 14px;
    color: #ddd;
}

/* TITRES DES COLONNES */
.site-footer h3 {
    font-size: 16px;
    margin-bottom: 15px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #fff;
}

/* LIENS */
.footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.footer-links ul li {
    margin-bottom: 10px;
}
.footer-links ul li a {
    color: #ddd;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease, transform 0.2s ease;
}
.footer-links ul li a:hover {
    color: #fff;
    transform: translateX(5px);
}

/* NEWSLETTER */
.footer-newsletter form {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}
.footer-newsletter input {
    padding: 10px;
    flex: 1;
    border-radius: 0px;
    border: none;
    outline: none;
    font-size: 14px;
    color: #1D418F;
}
.footer-newsletter button {
    padding: 10px 15px;
    border: none;
    background: #e63946;
    color: #fff;
    border-radius: 0px;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.2s ease;
}
.footer-newsletter button:hover {
    background: #c72f3a;
    transform: scale(1.05);
}

/* CONTACT */
.footer-contact p {
    font-size: 14px;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.footer-contact i {
    color: #e63946;
}
.footer-contact .map {
    margin-top: 10px;
    border-radius: 0px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}
.footer-contact iframe {
    width: 100%;
    height: 150px;
    border: none;
}

/* RÉSEAUX SOCIAUX */
.footer-socials .social-icons {
    display: flex;
    gap: 15px;
}
.footer-socials .social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    color: #fff;
    font-size: 18px;
    transition: background 0.3s ease, transform 0.3s ease;
}
.footer-socials .social-icons a:hover {
    background: #e63946;
    transform: translateY(-4px);
}

/* BAS DE PAGE */
.footer-bottom {
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.2);
    padding-top: 20px;
    margin-top: 30px;
}
.footer-bottom p {
    font-size: 13px;
    color: #ccc;
}

/* RESPONSIVE MOBILE */
@media(max-width: 768px) {
    .footer-top {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-logo img {
        margin: 0 auto 15px;
    }

    .footer-newsletter form {
        flex-direction: column;
    }

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

    .footer-contact p {
        justify-content: center;
    }

    .footer-socials .social-icons {
        justify-content: center;
    }

    .footer-contact .map iframe {
        height: 200px;
    }
}
.footer-logo p {
    font-family: 'Permanent Marker', cursive;
    font-size: 18px;
    letter-spacing: 2px;
    color: #fff;
}

/* LIENS LÉGAUX FOOTER */
.footer-legal {
    margin-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.2);
    padding-top: 20px;
}

.footer-legal-links ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    list-style: none;
    padding: 0;
    margin: 0 0 15px;
}

.footer-legal-links ul li a {
    color: #ccc;
    font-size: 13px;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-legal-links ul li a:hover {
    color: #fff;
}

/* lien MA+ Corporate */
.footer-bottom a {
    color: #ffcc00;
    text-decoration: none;
    font-weight: 600;
}

.footer-bottom a:hover {
    text-decoration: underline;
}

/* MOBILE */
@media(max-width: 768px) {
    .footer-legal-links ul {
        gap: 10px;
        text-align: center;
    }
}
/* ALIGNEMENT HORIZONTAL SUIVEZ-NOUS + ICONES + AVIS GOOGLE */
.footer-socials {
    display: flex;
    align-items: center;
    gap: 20px;
}


.footer-socials h3 {
    margin: 0;
    display: inline-flex;
    white-space: nowrap;
}


.footer-socials .social-icons {
    display: flex;
    gap: 15px;
}

.btn-google-review {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border-radius: 0px;
    background: rgb(41, 117, 67);
    color: #fff;
    font-size: 14px;
    text-decoration: none;
    transition: background 0.3s ease, transform 0.3s ease;
}
.btn-google-review {
    min-width: 280px;          /* allonge visuellement le bouton */
    justify-content: center;   /* centre icône + texte */
}
.btn-google-review:hover {
    background: #e63946;
    transform: translateY(-3px);
}
@media (max-width: 768px) {
    .footer-socials {
        flex-wrap: wrap;
        justify-content: center;
    }
}

/* -------------------- SLIDER -------------------- */
.slider {
    position: relative;
    width: 100%;
    height: 85vh; /* prend toute la hauteur de l’écran */
    overflow: hidden;
}

.slide {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity 1s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slide.active {
    opacity: 1;
    z-index: 1;
}

.slide-content {
    background: rgba(0,0,0,0.35);
    padding: 40px;
    border-radius: 0px;
    color: #fff;
    text-align: center;
    max-width: 700px;
    animation: slideFadeIn 1s ease forwards;
}

.slide-content h2 {
    font-size: 48px;
    margin-bottom: 15px;
    font-family: 'Permanent Marker', cursive;
    color: #e63946;
}

.slide-content p {
    font-size: 18px;
    margin-bottom: 25px;
    line-height: 1.5;
}

.btn-primary {
    background: #e63946;
    color: #fff;
    padding: 12px 28px;
    border-radius: 0px;
    text-decoration: none;
    font-weight: 600;
    transition: transform 0.3s ease, background 0.3s ease;
}

.btn-primary:hover {
    transform: scale(1.05);
    background: #1D418F;
}

@keyframes slideFadeIn {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Quand une slide devient active */
.slide-content {
    opacity: 0;
    transform: translateY(30px) scale(0.95);
    transition: all 0.8s ease;
}

.slide.active .slide-content.animate {
    opacity: 1;
    transform: translateY(0) scale(1);
    animation: glowText 1.2s ease forwards;
}

/* Effet glow sur le titre */
@keyframes glowText {
    0% { text-shadow: 0 0 5px #000; }
    50% { text-shadow: 0 0 20px #1D418F, 0 0 30px #e63946; }
    100% { text-shadow: 0 0 10px #000; }
}

/* Animation progressive des éléments */
.slide-content h2 {
    animation: slideInLeft 1s ease forwards;
    opacity: 0;
}
.slide-content p {
    animation: slideInRight 1.2s ease forwards;
    opacity: 0;
}
.slide-content .btn-primary {
    animation: fadeInUp 1.4s ease forwards;
    opacity: 0;
}

/* keyframes */
@keyframes slideInLeft {
    from { transform: translateX(-80px); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}
@keyframes slideInRight {
    from { transform: translateX(80px); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}
@keyframes fadeInUp {
    from { transform: translateY(40px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

/* ================= MOBILE SLIDER ================= */
@media (max-width: 768px) {

    .slider {
        height: 30vh; /* un peu plus grand pour mieux voir l'image */
    }

    .slide {
        background-size: contain;        /* 🔹 image entière visible */
        background-repeat: no-repeat;
        background-position: center center;
        background-color: transparent;  /* 🔹 fond propre si zones vides */
    }

    .slide-content {
        padding: 10px;
        max-width: 70%;                  /* 🔹 contenu plus lisible */
        background: rgba(0, 0, 0, 0.55);
        box-sizing: border-box;
    }

    .slide-content h2 {
        font-size: 20px;                 /* 🔹 ajusté pour mobile */
        margin: 0 0 5px 0;
    }

    .slide-content p {
        font-size: 14px;                 /* 🔹 texte lisible sur petit écran */
        margin: 0;
    }

    .btn-primary {
        padding: 8px 16px;               /* 🔹 bouton adapté mobile */
        font-size: 12px;
    }

}

/* =========================
   SECTION NOUVEAUTÉS
========================= */
.home-new {
    padding: 10px 20px;
    background: #fff;
}

.home-new .container {
    max-width: 1300px;
    margin: auto;
}

/* TITRE */
.section-title {
    font-size: 40px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 40px;
    color: #1D418F;
}

/* GRID PRODUITS */
.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

/* =========================
   CARD PRODUIT
========================= */
.product-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    transition: 0.3s;
    position: relative;
}

.product-card:hover {
    transform: translateY(-5px);
}

/* IMAGE */
.product-image {
    position: relative;
    width: 100%;
    height: 320px;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.4s;
}

/* IMAGE HOVER */
.img-hover {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
}

.product-card:hover .img-hover {
    opacity: 1;
}

.product-card:hover .img-main {
    opacity: 0;
}

/* Rend le lien bloc pour qu'il prenne toute la place */
.product-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

/* Empêche les boutons de déclencher le lien de la carte */
.product-actions-overlay {
    z-index: 10; /* Doit être au-dessus du lien */
}

/* Optionnel : petit effet au survol de la carte */
.product-card:hover {
    transform: translateY(-5px);
    transition: transform 0.3s ease;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

/* =========================
   BADGES
========================= */
.badge {
    position: absolute;
    top: 0px;
    padding: 6px 14px;
    font-size: 12px;
    font-weight: 600;
    color: white;
    z-index: 2;
}

/* NOUVEAU */
.badge.new {
    left: 5px;
    background: #053379;
    border-radius: 20px;
}

/* PROMO (OBLIQUE BAS GAUCHE PROPRE) */
.badge.promo {
    position: absolute;
    top: auto;
    bottom: 15px;     /* on remplace top */
    left: -75px;      /* on remplace right */

    width: 150px;
    padding: 15px 0;

    text-align: center;
    font-size: 11px;
    font-weight: bold;
    color: white;

    background: rgba(220, 38, 38, 0.9);
    backdrop-filter: blur(6px);

    transform: rotate(45deg);

    z-index: 3;
}

/* =========================
   ACTIONS FLOTTANTES
========================= */
.product-actions-overlay {
    position: absolute;
    top: 10px;
    right: 10px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    opacity: 0;
    transform: translateX(10px);
    transition: 0.3s;
}

.product-card:hover .product-actions-overlay {
    opacity: 1;
    transform: translateX(0);
}

/* BOUTONS */
.action-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    background: white;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
    cursor: pointer;
    font-size: 16px;
    transition: 0.3s;
}

.action-btn:hover {
    transform: scale(1.1);
}

/* LIKE */
.action-btn.like.active {
    background: #2563eb;
    color: white;
}

/* PANIER */
.action-btn.cart {
    background: #111;
    color: white;
}

.action-btn.cart:hover {
    background: #e11d48;
}

/* =========================
   INFOS PRODUIT
========================= */
.product-info {
    padding: 15px;
}

.product-info h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
}

/* PRIX */
.price {
    font-size: 20px;
    margin-bottom: 10px;
}

.price .old {
    text-decoration: line-through;
    color: #000;
    margin-right: 8px;
}

.price .new {
    color: #dc2626;
    font-weight: bold;
}

/* BOUTON */
.btn-product {
    display: inline-block;
    padding: 10px 14px;
    background: #111;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-size: 14px;
    transition: 0.3s;
}

.btn-product:hover {
    background: #e11d48;
}

/* =========================
   VOIR TOUS
========================= */
.view-all-wrapper {
    text-align: center;
    margin-top: 40px;
}

.btn-all {
    display: inline-block;
    padding: 12px 25px;
    background: #1D418F;
    color: white;
    border-radius: 0px;
    text-decoration: none;
    transition: 0.3s;
}

.btn-all:hover {
    background: #e11d48;
}

/* =========================
   RESPONSIVE
========================= */

/* TABLET */
@media (max-width: 1024px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .product-image {
        height: 260px;
    }
}

/* MOBILE */
@media (max-width: 600px) {

    .section-title {
        font-size: 24px;
    }

    .products-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .product-image {
        height: 250px;
    }

    .product-actions-overlay {
        opacity: 1;
        transform: none;
        flex-direction: row;
        bottom: 10px;
        top: auto;
        right: 10px;
    }

    .action-btn {
        width: 36px;
        height: 36px;
        font-size: 14px;
    }
}
@media (max-width: 600px) {
    .badge.promo {
        width: 120px;
        font-size: 11px;
        left: -60px;
        bottom: 15px;
    }
}

/* =========================
   SHARE MODAL MODERNE
========================= */

.share-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(6px);

    display: flex;
    align-items: center;
    justify-content: center;

    opacity: 0;
    visibility: hidden;
    transition: 0.3s;
    z-index: 9999;
}

.share-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* BOX */
.share-content {
    background: #fff;
    padding: 25px;
    border-radius: 16px;
    width: 90%;
    max-width: 420px;
    text-align: center;

    transform: translateY(20px);
    transition: 0.3s;
}

.share-overlay.active .share-content {
    transform: translateY(0);
}

/* TITRE */
.share-content h3 {
    margin-bottom: 20px;
    font-size: 18px;
}

/* BOUTONS */
.share-buttons {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

/* LIENS */
.share-buttons a {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    padding: 12px;
    border-radius: 12px;
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;

    background: #f3f4f6;
    color: #111;

    transition: 0.3s;
}

.share-buttons a i {
    font-size: 18px;
    margin-bottom: 5px;
}

/* HOVER */
.share-buttons a:hover {
    background: #1D418F;
    color: white;
}

/* CLOSE */
.close-share {
    position: absolute;
    top: 10px;
    right: 12px;
    border: none;
    background: none;
    font-size: 22px;
    cursor: pointer;
}

.variant-modal{
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.variant-modal.active{
    display: flex;
}

.variant-box{
    background: white;
    padding: 20px;
    width: 420px;
    border-radius: 12px;
    position: relative;
}

.close-modal{
    position: absolute;
    top: 10px;
    right: 15px;
    cursor: pointer;
    font-size: 22px;
}

.variant-section{
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin: 10px 0;
}

.variant-option{
    padding: 6px 12px;
    border: 1px solid #ccc;
    cursor: pointer;
    border-radius: 6px;
}

.variant-option.active{
    border: 2px solid black;
}

/* =========================
   SECTION COLLECTIONS
========================= */
.section-promos-gallery {
    padding: 80px 20px;
    background: #f9fafb;
}

.about-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    max-width: 1200px;
    margin: auto;
}

/* =========================
   SLIDER COLLECTION
========================= */
.collection-slider {
    position: relative;
    height: 600px;
    overflow: hidden;
    border-radius: 20px;
    background: white;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.collection-track {
    position: relative;
    height: 100%;
}

/* ITEM */
.collection-item {
    position: absolute;
    inset: 0;
    opacity: 0;
    transform: translateY(20px);
    transition: 0.5s ease;
    display: flex;
    flex-direction: column;
}

.collection-item.active {
    opacity: 1;
    transform: translateY(0);
}

/* IMAGE */
.collection-image {
    height: 55%;
    overflow: hidden;
}

.collection-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* INFOS */
.collection-info {
    padding: 20px;
}

/* NOM COLLECTION */
.collection-name {
    display: inline-block;
    font-size: 12px;
    background: #111;
    color: white;
    padding: 4px 10px;
    border-radius: 20px;
    margin-bottom: 10px;
}

/* TITRE */
.collection-info h3 {
    font-size: 18px;
    margin-bottom: 8px;
}

/* PRIX */
.collection-info .price {
    font-weight: bold;
    margin-bottom: 12px;
}

/* BOUTON */
.btn-view {
    display: inline-block;
    padding: 10px 16px;
    background: #111;
    color: white;
    border-radius: 8px;
    text-decoration: none;
    transition: 0.3s;
}

.btn-view:hover {
    background: #e11d48;
}

/* =========================
   VIDEO DROITE
========================= */
.about-visual {
    position: relative;
}

.about-video {
    width: 100%;
    height: 600px;
    object-fit: cover;
    border-radius: 20px;
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 900px) {

    .about-wrapper {
        grid-template-columns: 1fr;
    }

    .collection-slider {
        height: 350px;
    }

    .about-video {
        height: 300px;
    }
}

@media (max-width: 600px) {

    .collection-slider {
        height: 320px;
    }

    .collection-info h3 {
        font-size: 16px;
    }

    .collection-info {
        padding: 15px;
    }
}

.cart-count {
    background: #e11d48;
    color: white;
    font-size: 12px;
    padding: 2px 6px;
    border-radius: 50%;
    position: absolute;
    top: -8px;
    right: -8px;
    transition: 0.3s;
}

.cart-count.updated {
    transform: scale(1.3);
}

/* ================= BADGE BALLON BASKET - TEXTE 3 LIGNES ================= */
.basket-badge {
    display: flex;
    flex-direction: column; /* permet les 3 lignes */
    justify-content: center;
    align-items: center;
    text-align: center;

    font-weight: bold;
    font-size: 18px;       /* taille principale */
    line-height: 1.8em;    /* espacement entre lignes */
    text-decoration: none;
    color: #fff;

    /* animation pulse */
    animation: pulse 1.2s ease-in-out infinite;

    /* garde ton style de ballon existant */
    position: absolute;
    bottom: 70px;
    right: 120px;
    width: 130px;
    height: 130px;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, #122B61, #123fa2);
    box-shadow: 0 5px 15px rgba(0,0,0,0.4);
    z-index: 50;
}

/* Mobile */
@media (max-width: 768px) {
    .basket-badge {
        width: 60px;
        height: 60px;
        font-size: 10px;
        bottom: 50px;
        right: 50px;
        line-height: 1.5em;
        padding: 5px;
    }
}

/* Animation pulsation légère */
@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.12); }
}


/* ================= STORE ================= */
.store-container{
    display:flex;
    gap:30px;
    padding:30px;
    max-width:1400px;
    margin:auto;
}

/* IMPORTANT pour que la grille prenne toute la place */
.store-content{
    flex:1;
}

.filters{
    width:250px;
    background:#fff;
    padding:20px;
    border-radius:0px;
    box-shadow:0 5px 20px rgba(0,0,0,0.05);
}

.filter-group{
    margin-bottom:20px;
}

.filter-group label{
    font-weight:600;
    display:block;
    margin-bottom:10px;
}

.check{
    display:block;
    margin-bottom:5px;
    font-size:14px;
}

/* ================= GRID PRODUITS ================= */
.products-grid{
    display:grid;
    grid-template-columns: repeat(3, 1fr); /* 4 par ligne */
    gap:25px;
}

/* ================= CARTE PRODUIT ================= */
.product-card{
    background:#fff;
    border-radius:0px;
    overflow:hidden;
    box-shadow:0 5px 20px rgba(0,0,0,0.05);
    transition:0.3s;

    display:flex;
    flex-direction:column;
    height:100%;
}

.product-card:hover{
    transform:translateY(-5px);
}

.product-image{
    height:450px;
    overflow:hidden;
}

.product-image img{
    width:100%;
    height:100%;
    object-fit:cover;
}

.product-info{
    padding:15px;
    display:flex;
    flex-direction:column;
    justify-content:space-between;
    flex:1;
}

.price{
    font-weight:bold;
    color:#e60023;
}

.btn-product{
    display:block;
    margin-top:10px;
    text-align:center;
    background:#153271;
    color:#fff;
    padding:8px;
    border-radius:5px;
}

/* ================= PAGINATION ================= */
.pagination{
    margin-top:30px;
    text-align:center;
}

.pagination button{
    margin:3px;
    padding:6px 10px;
    border:none;
    background:#eee;
    cursor:pointer;
    border-radius:5px;
    transition:0.2s;
}

.pagination button:hover{
    background:#000;
    color:#fff;
}

/* ================= RESPONSIVE ================= */

/* Tablette large */
@media(max-width:1100px){
    .products-grid{
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Tablette */
@media(max-width:768px){
    .store-container{
        flex-direction:column;
    }

    .filters{
        width:100%;
    }

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

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

/* ACTIONS PRODUIT */
.product-image{
    position:relative;
}

.product-actions-overlay{
    position:absolute;
    top:10px;
    right:10px;
    display:flex;
    flex-direction:column;
    gap:8px;
    opacity:0;
    transform:translateY(-10px);
    transition:0.3s;
}

.product-card:hover .product-actions-overlay{
    opacity:1;
    transform:translateY(0);
}

.action-btn{
    background:white;
    border:none;
    width:35px;
    height:35px;
    border-radius:50%;
    cursor:pointer;
    box-shadow:0 3px 10px rgba(0,0,0,0.1);
    display:flex;
    align-items:center;
    justify-content:center;
    transition:0.3s;
}

.action-btn:hover{
    background:black;
    color:white;
}

/* BADGES */
.badge{
    position:absolute;
    left:10px;
    top:10px;
    padding:5px 8px;
    font-size:12px;
    border-radius:5px;
    color:white;
}

.badge.promo{
    background:#e11d48;
}

/* PRIX PROMO */
.price .old{
    text-decoration:line-through;
    color:#999;
    margin-right:5px;
}

.price .new{
    color:#e60023;
    font-weight:bold;
}

/* ================= STORE MEDIA SECTION ================= */
.store-media-container {
    max-width: 1200px;
    margin: 50px auto 0;
    padding: 0 20px;
}

.store-media-section {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

/* BLOCS égaux */
.store-gallery,
.store-youtube {
    flex: 1 1 48%;
}

/* TITRES */
.store-media-section h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #333;
}

/* === CADRE FIXE POUR LES 2 === */
.store-gallery .slider,
.store-youtube iframe {
    width: 100%;
    height: 400px; /* 🔥 même hauteur */
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

/* IMAGES SLIDER */
.store-gallery img {
    width: 100%;
    height: 400px;
    object-fit: cover; /* 🔥 effet pro */
}

/* SLICK FIX */
.slick-slide {
    display: flex !important;
    justify-content: center;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .store-media-section {
        flex-direction: column;
    }

    .store-gallery,
    .store-youtube {
        flex: 1 1 100%;
    }

    .store-gallery img,
    .store-youtube iframe {
        height: 250px;
    }
}

/* ================= ARTICLE MODERNE ================= */

.article-container{
    display:flex;
    gap:50px;
    margin:50px auto;
    max-width:1200px;      /* limite la largeur et centre */
    justify-content:center; /* centre horizontalement */
    align-items:flex-start;
    flex-wrap:wrap;         /* responsive sur petit écran */
}

.article-container .product-image {
    height: 700px;
    width: 600px;
}

.article-container #mainImage {
    width: 100%;
    height: 100%;
    object-fit: cover; /* ou contain selon rendu */
}

.article-main-image {
    position: relative;
}

.article-main-image .product-actions-overlay {
    position: absolute;
    top: 10px;
    right: 10px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 10;
}

.article-main-image .product-actions-overlay {
    opacity: 0;
    transition: 0.3s;
}

.article-main-image:hover .product-actions-overlay {
    opacity: 1;
}

.article-left, .article-right{
    background:#fff;
    padding:20px;
    border-radius:0px;
    box-shadow:0 4px 15px rgba(0,0,0,0.1);
}

.article-left img{
    width:100%;
    max-width:600px;
    height:auto;
    border-radius:0px;
    object-fit:cover;
}

.article-right{
    flex:1;
    min-width:300px;
}

.article-right h1{
    font-size:2.2rem;
    margin-bottom:10px;
    color: #1D418F;
}

.categorie{
    font-size:0.9rem;
    color:#666;
    margin-bottom:15px;
}

.description{
    margin-bottom:20px;
    line-height:1.6;
    color:#333;
}

.price-section .old{
    text-decoration:line-through;
    margin-right:10px;
    color:#999;
    font-weight:400;
}

.price-section .new{
    color:#e11d48;
    font-weight:700;
    font-size:1.5rem;
}

.badge.promo{
    background:#e11d48;
    color:white;
    padding:10px 20px;
    border-radius:5px;
    font-size:1.2rem;
    margin-left:15px;
}

.variant-group{
    margin-bottom:15px;
}

.variant-group p{
    margin-bottom:5px;
    font-weight:600;
}

.variant-group button{
    margin:3px 5px 3px 0;
    padding:8px 15px;
    cursor:pointer;
    border:none;
    border-radius:6px;
    background:#f0f0f0;
    transition:0.3s;
    font-weight:500;
}

.variant-group button.active{
    background:#333;
    color:white;
}

.variant-group button.disabled{
    background:#ccc;
    color:#666;
    cursor:not-allowed;
}

.quantity{
    display:flex;
    align-items:center;
    margin:20px 0;
}

.quantity button{
    width:30px;
    height:30px;
    border:none;
    background:#ddd;
    border-radius:0px;
    font-size:1.2rem;
    cursor:pointer;
    transition:0.2s;
}

.quantity button:hover{
    background:#ccc;
}

.quantity input{
    width:60px;
    text-align:center;
    margin:0 10px;
    border-radius:0px;
    border:1px solid #ccc;
    font-size:1rem;
}

#addToCart{
    padding:12px 25px;
    background:#153271;
    color:white;
    border:none;
    border-radius:0px;
    cursor:pointer;
    font-size:1.1rem;
    transition:0.3s;
}

#addToCart:hover{
    background:#e11d48;
}

.not-available{
    color:#e11d48;
    font-weight:600;
    margin-top:10px;
}

@media(max-width:900px){
    .article-container{
        flex-direction:column;
        align-items:center;
    }
    .article-left, .article-right{
        width:90%;
    }
}

.not-available {
    color: #e74c3c;
    font-size: 20px;
    margin-top: 10px;
    font-weight: 500;
}

.variant-group button {
    padding: 8px 12px;
    margin: 5px;
    border: 1px solid #ddd;
    background: #fff;
    cursor: pointer;
    transition: all 0.2s ease;
}

/* sélection */
.variant-group button.active {
    border-color: black;
    background: black;
    color: white;
}

/* désactivé */
.variant-group button.disabled {
    opacity: 0.3;
    cursor: not-allowed;
    text-decoration: line-through;
}

/* =========================
   CATEGORIES
========================= */

/* --- Correction Spécifique Catégories --- */

/* 1. Réduire l'espace global de la carte de catégorie */
.category-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    padding-bottom: 10px; /* Réduit l'espace en bas de la carte */
}

/* 2. FORCER l'image à rester visible (bloque l'effet de disparition) */
.category-card:hover .img-main {
    opacity: 1 !important;
    filter: none !important;
    transform: none !important;
}

/* 3. Réduire l'écart entre l'image et le titre */
.category-info {
    padding: 10px 15px !important; /* Réduit la marge interne */
    text-align: center;
}

.category-info h3 {
    margin: 0 0 5px 0 !important; /* Réduit l'espace sous le titre */
    font-size: 1.1rem;
}

.category-info .article-count {
    margin: 0 !important;
    font-size: 1.2rem;
    color: #e11d48;
}

/* Optionnel : Garder seulement le petit saut vers le haut */
.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* ===== SECTION AUTRES CATEGORIES (MODERNE) ===== */

.alt-categories {
    padding: 60px 20px;
    background: #fafafa;
}

.alt-categories-container {
    max-width: 1300px;
    margin: 0 auto;
}

.alt-categories-title {
    text-align: center;
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 40px;
}

/* GRID */
.alt-categories-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

/* CARD */
.alt-category-card {
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: 0px;
    height: 350px;
    text-decoration: none;
    color: white;
}

/* IMAGE */
.alt-category-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

/* OVERLAY */
.alt-category-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px;
    background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
    transition: all 0.3s ease;
}

.alt-category-overlay h3 {
    margin: 0;
    font-size: 20px;
    font-weight: 600;
}

.alt-category-overlay p {
    font-size: 13px;
    opacity: 0.85;
    margin-top: 5px;
}

/* HOVER */
.alt-category-card:hover img {
    transform: scale(1.1);
}

.alt-category-card:hover .alt-category-overlay {
    background: linear-gradient(to top, rgba(0,0,0,0.85), transparent);
}

/* ================= RESPONSIVE ================= */

/* Tablette */
@media (max-width: 1024px) {
    .alt-categories-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Mobile */
@media (max-width: 600px) {
    .alt-categories-grid {
        grid-template-columns: 1fr;
    }

    .alt-category-card {
        height: 220px;
    }

    .alt-categories-title {
        font-size: 22px;
    }
}

.alt-collections-suggest {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid rgba(0,0,0,0.08);
}

.alt-collections-suggest .alt-categories-title {
    text-align: center;
}

.promo-timer {
    font-size: 1.3rem;
    color: #e74c3c;
    margin-top: 5px;
    font-weight: 500;
}

.promo-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-bottom: 30px;
}

.promo-filters a {
    padding: 8px 16px;
    border-radius: 20px;
    background: #f1f1f1;
    text-decoration: none;
    color: #333;
    font-size: 0.9rem;
    transition: 0.3s;
}

.promo-filters a:hover {
    background: #153271;
    color: #fff;
}

.promo-filters a.active {
    background: #e74c3c;
    color: #fff;
}

/* =========================
   CONTACT (VERSION PROPRE)
========================= */

.contact-section {
    padding: 60px 20px;
    background: #f9f9f9;
}

.contact-container {
    max-width: 1100px;
    margin: auto;
}

.contact-title {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 10px;
}

.contact-subtitle {
    text-align: center;
    color: #777;
    margin-bottom: 40px;
}

/* GRID IMAGE + FORM */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    align-items: stretch;
}

/* IMAGE */
.contact-image {
    border-radius: 10px;
    overflow: hidden;
    height: 100%;
}

.contact-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* FORM */
.contact-form {
    background: #fff;
    padding: 25px;
    border-radius: 10px;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    font-size: 0.9rem;
    margin-bottom: 5px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 10px;
    border-radius: 6px;
    border: 1px solid #ddd;
}

/* BUTTON */
.btn-contact {
    width: 100%;
    padding: 12px;
    background: #000;
    color: #fff;
    border-radius: 6px;
    cursor: pointer;
    transition: 0.3s;
}

.btn-contact:hover {
    background: #e74c3c;
}

/* INFOS EN BAS (GRID MODERNE) */
.contact-info {
    margin-top: 40px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}

.info-box {
    background: #fff;
    padding: 20px;
    border-radius: 10px;
}

/* RESPONSIVE */
@media (max-width: 768px) {

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .contact-image {
        height: 250px;
    }

    .contact-info {
        grid-template-columns: 1fr 1fr;
    }
}
.contact-logo {
    text-align: center;
    margin-top: 20px;
    opacity: 0.7;
    transition: 0.3s;
}

.contact-logo img {
    width: 450px;
    max-width: 100%;
}

.contact-logo:hover {
    opacity: 1;
    transform: scale(1.05);
}
.contact-signature {
    font-size: 0.85rem;
    color: #777;
    margin-bottom: 5px;
}

/* ================= AUTH PAGE ================= */

.auth-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    max-width: 1000px;
    width: 100%;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

/* IMAGE */
.auth-image {
    height: 100%;
}

.auth-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* FORM */
.auth-box {
    padding: 40px;
}

/* INPUT */
.input-auth {
    width: 100%;
    padding: 12px;
    border-radius: 6px;
    border: 1px solid #ddd;
    transition: 0.3s;
}

.input-auth:focus {
    border-color: #e74c3c;
    outline: none;
}

/* BUTTON */
.btn-auth {
    width: 100%;
    padding: 12px;
    background: #000;
    color: #fff;
    border-radius: 6px;
    cursor: pointer;
    transition: 0.3s;
}

.btn-auth:hover {
    background: #e74c3c;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .auth-container {
        grid-template-columns: 1fr;
    }

    .auth-image {
        height: 200px;
    }

    .auth-box {
        padding: 25px;
    }
}

/* PASSWORD TOGGLE */

.password-field {
    position: relative;
}

.password-field input {
    padding-right: 40px;
}

.toggle-password {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: #777;
    transition: 0.3s;
}

.toggle-password:hover {
    color: #000;
}

.hint{
    font-size: 13px;
    color: #777;
    margin-top: 8px;
}

.cart-message {
    margin-top: 12px;
    padding: 10px 12px;
    border-radius: 6px;

    background: #e8f8ee;
    color: #1e7e34;
    border: 1px solid #b7e4c7;

    font-size: 14px;
    display: none;

    opacity: 0;
    transform: translateY(-5px);
    transition: all 0.25s ease;
}

.cart-message.show {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

/* ================= BACKDROP ================= */
.variant-modal {
    position: fixed;
    inset: 0;

    display: none;
    align-items: center;
    justify-content: center;

    background: rgba(0,0,0,0.55);
    backdrop-filter: blur(6px);

    z-index: 9999;
    padding: 20px;

    animation: fadeIn 0.25s ease;
}

/* animation ouverture */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* ================= BOX MODAL ================= */
.variant-box {
    background: #fff;
    width: 100%;
    max-width: 520px;

    max-height: 85vh;
    overflow-y: auto;

    border-radius: 16px;
    padding: 20px 20px 70px 20px; /* bottom space pour bouton sticky */

    box-shadow: 0 25px 80px rgba(0,0,0,0.35);

    position: relative;

    transform: scale(0.9);
    opacity: 0;

    animation: popIn 0.25s ease forwards;
}

@keyframes popIn {
    to {
        transform: scale(1);
        opacity: 1;
    }
}

/* ================= CLOSE BTN ================= */
.close-modal {
    position: absolute;
    top: 10px;
    right: 12px;

    font-size: 22px;
    cursor: pointer;
    color: #333;

    width: 34px;
    height: 34px;
    border-radius: 50%;

    display: flex;
    align-items: center;
    justify-content: center;

    transition: 0.2s;
}

.close-modal:hover {
    background: #f2f2f2;
}

/* ================= TITRE ================= */
.variant-box h2 {
    font-size: 18px;
    margin-bottom: 12px;
}

/* ================= GROUPES VARIANTES ================= */
.variant-group p {
    font-weight: 600;
    margin: 12px 0 6px;
}

.variant-group button {
    padding: 8px 10px;
    margin: 4px;

    border-radius: 8px;
    border: 1px solid #ddd;

    background: #f7f7f7;

    font-size: 13px;

    cursor: pointer;
    transition: 0.2s;
}

.variant-group button:hover {
    background: #000;
    color: #fff;
}

/* ================= IMAGE ================= */
#variantImageContainer img {
    width: 100%;
    max-height: 350px;
    object-fit: cover;

    border-radius: 12px;
    margin: 10px 0;
}

/* ================= INFO ================= */
.variant-info p {
    margin: 4px 0;
    font-size: 14px;
}

/* ================= BOUTON ADD TO CART (STICKY) ================= */
#addToCartBtn {
    position: sticky;
    bottom: 0;

    width: 100%;
    margin-top: 15px;
    padding: 14px;

    border: none;
    border-radius: 12px;

    background: linear-gradient(135deg, #111, #333);
    color: #fff;

    font-weight: 600;
    font-size: 15px;

    cursor: pointer;

    box-shadow: 0 -5px 25px rgba(0,0,0,0.1);

    transition: all 0.2s ease;
}

#addToCartBtn:hover {
    transform: translateY(-2px);
    background: linear-gradient(135deg, #000, #444);
}

#addToCartBtn:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
}

/* ================= MOBILE ================= */
@media (max-width: 768px) {

    .variant-box {
        max-width: 95%;
        max-height: 75vh;
        padding: 15px 15px 70px 15px;
        border-radius: 14px;
    }

    .variant-box h2 {
        font-size: 16px;
    }

    .variant-group button {
        font-size: 12px;
        padding: 7px 9px;
    }

    #variantImageContainer img {
        max-height: 200px;
    }

    #addToCartBtn {
        font-size: 14px;
        padding: 12px;
    }
}

/* ==================================================
   MODAL COOKIE + NEWSLETTER PREMIUM (TYPO CLEAN)
================================================== */

#cookieModal,
#newsletterModal{
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    top: auto;
    z-index: 99999;
    display: none;
    justify-content: center;
    align-items: flex-end;
    padding: 18px;
    background: rgba(0,0,0,0.35);
    backdrop-filter: blur(6px);
}

/* BOX */
#cookieModal > div,
#newsletterModal > div{
    width: 100%;
    max-width: 780px;
    background: #ffffff;
    border-radius: 18px 18px 0 0;
    padding: 22px 24px;
    box-shadow: 0 -15px 40px rgba(0,0,0,0.12);
    border-top: 3px solid #1D418F;
    font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial;
}

/* TITRES */
#cookieModal h2,
#newsletterModal h2{
    color: #1D418F;
    font-size: 22px;
    font-weight: 800;
    margin-bottom: 6px;
    letter-spacing: -0.2px;
}

/* SUBTITLE HEADER */
.cookie-header p,
.newsletter-subtitle{
    color: #666;
    font-size: 13.5px;
    line-height: 1.5;
    margin-bottom: 14px;
}

/* PARAGRAPHES */
#cookieModal p,
#newsletterModal p{
    color: #555;
    font-size: 13.8px;
    line-height: 1.65;
}

/* COOKIE ITEMS */
.cookie-item{
    margin: 10px 0;
}

.cookie-item strong{
    display: block;
    font-size: 13.5px;
    color: #111;
    margin-bottom: 2px;
}

.cookie-item span{
    font-size: 13px;
    color: #666;
}

/* NOTE */
.cookie-note,
.newsletter-note{
    font-size: 12.5px;
    color: #777;
    margin-top: 10px;
    line-height: 1.5;
}

/* ACTION BUTTONS */
.cookie-actions{
    display: flex;
    gap: 10px;
    margin-top: 14px;
}

.cookie-btn{
    flex: 1;
    padding: 11px 14px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 13.5px;
    cursor: pointer;
    border: none;
    transition: .2s ease;
}

.cookie-btn.primary{
    background: #1D418F;
    color: #fff;
}

.cookie-btn.primary:hover{
    background: #16336f;
}

.cookie-btn.secondary{
    background: #f2f4f7;
    color: #222;
}

/* LINKS */
.cookie-footer-links{
    display: flex;
    gap: 14px;
    margin-top: 12px;
}

.cookie-footer-links a{
    font-size: 12.5px;
    color: #1D418F;
    text-decoration: none;
}

.cookie-footer-links a:hover{
    text-decoration: underline;
}

/* NEWSLETTER FORM */
.newsletter-form{
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

.newsletter-form input{
    flex: 1;
    height: 44px;
    border-radius: 10px;
    border: 1px solid #ddd;
    padding: 0 12px;
    font-size: 13.5px;
    outline: none;
}

.newsletter-form button{
    padding: 0 16px;
    border-radius: 10px;
    background: #1D418F;
    color: #fff;
    font-weight: 600;
    border: none;
    cursor: pointer;
}

/* CLOSE BUTTON CLEAN */
.newsletter-close{
    position: absolute;
    top: 12px;
    right: 12px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: none;
    background: #f3f4f6;
    color: #1D418F;
    font-size: 16px;
    cursor: pointer;
    transition: .2s ease;

    display: flex;
    align-items: center;
    justify-content: center;

    z-index: 10;
}

.newsletter-close:hover{
    background: #1D418F;
    color: white;
    transform: rotate(90deg) scale(1.05);
}
.newsletter-box,
.cookie-box{
    position: relative;
}

/* MOBILE */
@media(max-width:600px){
    #cookieModal > div,
    #newsletterModal > div{
        padding: 18px;
        border-radius: 18px 18px 0 0;
    }

    .cookie-actions{
        flex-direction: column;
    }

    .newsletter-form{
        flex-direction: column;
    }

    .newsletter-form button{
        width: 100%;
        height: 44px;
    }
}

/* ================== SECTION AVIS ================== */
.article-reviews {
    padding: 50px 0;
    background: transparent;
    font-family: "Segoe UI", Roboto, sans-serif;
}

.article-reviews .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.article-reviews .section-title {
    font-size: 2rem;
    margin-bottom: 25px;
    text-align: center;
    font-weight: 600;
}

.article-reviews > p {
    text-align: center;
    font-size: 1rem;
    margin-bottom: 30px;
}

/* Grille des avis */
.article-reviews .reviews-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

/* Carte d’un avis */
.article-reviews .review-item {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s, box-shadow 0.3s;
}

.article-reviews .review-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.08);
}

.article-reviews .review-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.article-reviews .review-photo {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid #ccc;
}

.article-reviews .review-header strong {
    font-size: 1rem;
}

.article-reviews .review-note {
    margin-left: auto;
    color: #f1c40f;
    font-weight: bold;
    font-size: 1.1rem;
}

.article-reviews .review-text {
    font-size: 0.95rem;
    margin-bottom: 10px;
    line-height: 1.5;
}

.article-reviews small {
    font-size: 0.8rem;
    color: #777;
}

/* ================= FORMULAIRE AVIS ================= */
.article-reviews .review-form-container {
    margin-top: 50px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    padding: 30px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    transition: transform 0.3s, box-shadow 0.3s;
}

.article-reviews .review-form-container:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

.article-reviews .review-form-container h3 {
    text-align: center;
    margin-bottom: 25px;
    font-size: 1.5rem;
    font-weight: 600;
    color: #333;
    border-bottom: 2px solid #e74c3c;
    display: inline-block;
    padding-bottom: 5px;
}

.article-reviews form label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
    color: #555;
}

.article-reviews form input,
.article-reviews form textarea {
    width: 100%;
    padding: 12px 15px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    transition: border 0.3s, box-shadow 0.3s;
}

.article-reviews form input:focus,
.article-reviews form textarea:focus {
    border-color: #e74c3c;
    box-shadow: 0 0 8px rgba(231,76,60,0.2);
    outline: none;
}

.article-reviews form button {
    width: 100%;
    padding: 12px 20px;
    background-color: #e74c3c;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 1.05rem;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s, transform 0.2s;
}

.article-reviews form button:hover {
    background-color: #c0392b;
    transform: translateY(-2px);
}

/* ================= NOTE ÉTOILES ================= */
.star-rating {
    display: flex;          /* enlever row-reverse */
    gap: 5px;               /* espace entre les étoiles */
    font-size: 2rem;
    justify-content: center;
    margin-bottom: 20px;
}

.star-rating input {
    display: none;
}

.star-rating label {
    cursor: pointer;
    color: #ddd;            /* couleur par défaut */
    transition: color 0.2s;
}

.star-rating input:checked ~ label,
.star-rating label:hover,
.star-rating label:hover ~ label {
    color: currentColor; /* on va changer via JS */
}

/* Message d’erreur ou succès */
#reviewMessage {
    text-align: center;
    margin-top: 15px;
    font-weight: 500;
    color: #27ae60;
}

/* Responsive */
@media (max-width: 768px) {
    .article-reviews .reviews-list {
        grid-template-columns: 1fr;
    }
}

.live-widget{
    position: fixed;
    right: 20px;
    bottom: 20px;
    background: #dc2626;
    color: #fff;
    padding: 12px 18px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 14px;
    text-decoration: none;
    box-shadow: 0 10px 25px rgba(0,0,0,0.25);
    z-index: 99999;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: 0.3s ease;
}

.live-widget:hover{
    background:#b91c1c;
    transform: translateY(-3px);
}

.live-dot{
    width:10px;
    height:10px;
    border-radius:50%;
    background:#22c55e;
    animation:pulseLive 1.2s infinite;
}

@keyframes pulseLive{
    0%{transform:scale(1);opacity:1;}
    50%{transform:scale(1.5);opacity:.5;}
    100%{transform:scale(1);opacity:1;}
}