/* Les Délices de Yass - Restaurant desserts traditionnels sénégalais */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;600;700&family=Inter:wght@300;400;600&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Great+Vibes&family=Pacifico&display=swap');

/* Accessibilité : lien d'évitement (skip link) */
.skip-link {
    position: absolute;
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10000;
    padding: 12px 24px;
    background: var(--primary);
    color: #fff !important;
    font-weight: 600;
    border-radius: 6px;
    transition: top 0.3s ease;
}
.skip-link:focus {
    top: 16px;
    outline: 3px solid #000;
    outline-offset: 2px;
}

/* Cible du skip link */
#main-content {
    scroll-margin-top: 80px;
}
#main-content:focus {
    outline: none;
}

/* Focus visible pour clavier (accessibilité) */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

:root {
    /* Palette Noir / Blanc / Rouge - Les Délices YASS */
    --primary: #C41E3A;           /* Rouge accent (logo) */
    --accent: #C41E3A;            /* Rouge principal */
    --accent-light: #E53935;     /* Rouge clair - hover */
    --accent-dark: #8B0000;       /* Rouge foncé */
    --bg-main: #FFFFFF;           /* Blanc pur */
    --bg-soft: #F5F5F5;           /* Gris très clair - sections */
    --beige-warm: #EEEEEE;       /* Gris clair (remplace beige) */
    --beige-dark: #E0E0E0;       /* Gris bordure (remplace beige foncé) */

    /* Mappage existant */
    --bg-header: var(--bg-main);
    --text-header: #000000;
    --accent-hover: var(--accent-light);
    --bg-cta: var(--accent);
    --text-cta: #FFFFFF;
    --price-color: var(--accent);
    --card-hover-bg: var(--bg-soft);
    
    /* Backgrounds Catégories */
    --bg-clothing: var(--bg-soft);
    --bg-parfum: var(--bg-soft);
    
    /* Fonts - Typo luxe moderne */
    --font-heading: 'Cormorant Garamond', 'Playfair Display', serif;
    --font-body: 'Inter', 'Lato', sans-serif;
    /* Polices du logo Les Délices Yass */
    --font-brand-script: 'Great Vibes', cursive;   /* "Les Délices" - script élégant */
    --font-brand-brush: 'Pacifico', cursive;       /* "Yass" - brush bold */

    --border-radius-btn: 6px;
}

/* Base Styles - Premium */
* {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: #000000;
    background-color: #fefefe;
    /* Motif unique : losanges rose pâle en quinconce */
    background-image:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24'%3E%3Cpath d='M12 0L24 12L12 24L0 12Z' fill='rgba(255,240,245,0.9)'/%3E%3C/svg%3E"),
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24'%3E%3Cpath d='M12 0L24 12L12 24L0 12Z' fill='rgba(255,240,245,0.9)'/%3E%3C/svg%3E");
    background-size: 24px 24px;
    background-position: 0 0, 12px 12px;
    background-repeat: repeat;
    line-height: 1.7;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--text-header);
    font-weight: 700;
}

a {
    text-decoration: none;
    color: var(--text-header);
    transition: all 0.4s ease;
}

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

/* Ombre sur toutes les images */
img:not([src*="data:image"]):not(.navbar-toggler-icon):not(.navbar-logo) {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border-radius: 4px;
    max-width: 100%;
    height: auto;
}

/* Gestion des images manquantes */
img[src=""],
img:not([src]) {
    display: none;
}

/* Images de produits - toujours visibles */
.product-img-wrapper img,
.product-detail-image,
.category-img {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

/* Ombre claire pour les images dans les sections sombres */
footer img,
footer .product-img-wrapper img,
footer .category-img,
[class*="dark"] img,
.bg-dark img,
.navbar-dark img {
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.3) !important;
}

/* Logo du footer : pas d'ombre */
footer .footer-logo-img {
    box-shadow: none !important;
}

/* Cibler spécifiquement les images dans les sections avec fond sombre */
section[style*="background-color: #"] img,
section[style*="background-color:#"] img,
section[style*="background: #"] img,
section[style*="background:#"] img {
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.3) !important;
}

/* A. Header (Navigation) */
.navbar {
    background: #FFFFFF !important;
    padding: 5px 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-bottom: 1px solid rgba(238, 99, 99, 0.1);
    min-height: 65px;
    box-shadow: 0 2px 12px rgba(171, 169, 169, 0.06);
    will-change: transform, background-color;
}

.navbar.scrolled {
    padding: 12px 0;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.12);
}

/* Layout navbar : gauche (logo+titre) | centre (menu) | droite (icônes) */
.navbar-hero-layout .navbar-container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}
/* Sur desktop (lg+) : top-row transparent, menu à droite */
@media (min-width: 992px) {
    .navbar-hero-layout .navbar-top-row {
        display: contents;
    }
    .navbar-hero-layout .navbar-collapse-hero {
        flex: 1;
        display: flex;
        align-items: center;
        justify-content: flex-end;
        width: auto;
    }
    .navbar-hero-layout .navbar-nav-center {
        position: static;
        left: auto;
        transform: none;
        margin-right: 0.5rem;
    }
    .navbar-hero-layout .navbar-nav-right {
        margin-left: 0.5rem;
    }
}
.navbar-hero-layout .navbar-nav-center {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}
.navbar-hero-layout .navbar-brand-left {
    margin: 0;
    margin-right: 0 !important;
}
.navbar-hero-layout .navbar-nav-right {
    margin-left: 1rem;
}
.navbar-hero-layout .navbar-toggler {
    order: -1;
}

/* Navbar fixe : toujours en position fixed */
.navbar.navbar-hero-layout {
    position: fixed !important;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1030;
}

/* Page d'accueil : navbar fond blanc */
.home-page .navbar {
    background: #FFFFFF !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1) !important;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08) !important;
}
/* Après le hero : même blanc qu'au-dessus du hero (pas de changement d’aspect) */
.home-page .navbar.scrolled {
    background: #FFFFFF !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1) !important;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08) !important;
    padding: 5px 0 !important;
    opacity: 0.6;
}
.home-page .navbar.scrolled .nav-link {
    color: #000000 !important;
}
.home-page .navbar.scrolled .nav-link:hover {
    color: #C41E3A !important;
}
.home-page .navbar.scrolled .navbar-brand .nav-title-delices {
    color: #000000 !important;
}
.home-page .navbar.scrolled .navbar-brand .nav-title-yass {
    color: #C41E3A !important;
}
.home-page .navbar.scrolled .btn-cart,
.home-page .navbar.scrolled .btn-cart i,
.home-page .navbar.scrolled .btn-account,
.home-page .navbar.scrolled .btn-account i {
    color: #C41E3A !important;
}
.home-page .navbar.scrolled .btn-cart:hover,
.home-page .navbar.scrolled .btn-cart:hover i,
.home-page .navbar.scrolled .btn-account:hover,
.home-page .navbar.scrolled .btn-account:hover i {
    color: #8B0000 !important;
}
.home-page .navbar.scrolled .navbar-toggler {
    border-color: rgba(0, 0, 0, 0.25);
}
.home-page .navbar.scrolled .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%23000' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}
.home-page .navbar.scrolled .badge-cart {
    background: #fff !important;
    color: #C41E3A !important;
    border-color: #C41E3A !important;
}
.home-page .navbar .nav-link {
    color: #000000 !important;
    font-size: 0.8rem;
    letter-spacing: 0.12em;
}
.home-page .navbar .nav-link:hover {
    color: #C41E3A !important;
}
.home-page .navbar .nav-link::before {
    background: linear-gradient(90deg, transparent, #C41E3A, transparent);
}
.home-page .navbar .navbar-brand .nav-title-delices {
    color: #000000 !important;
}
.home-page .navbar .navbar-brand .nav-title-yass {
    color: #C41E3A !important;
}
.home-page .navbar .btn-cart,
.home-page .navbar .btn-cart i,
.home-page .navbar .btn-account,
.home-page .navbar .btn-account i {
    color: #C41E3A !important;
}
.home-page .navbar .btn-cart:hover,
.home-page .navbar .btn-cart:hover i,
.home-page .navbar .btn-account:hover,
.home-page .navbar .btn-account:hover i {
    color: #8B0000 !important;
}
.home-page .navbar .navbar-toggler {
    border-color: rgba(0, 0, 0, 0.25);
}
.home-page .navbar .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%23000' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}
.home-page .navbar .badge-cart {
    background: #fff !important;
    color: #C41E3A !important;
    border-color: #C41E3A !important;
}

/* Contenu sous la navbar fixe (pages autres qu'accueil) */
body:not(.home-page) {
    padding-top: 72px;
}

/* Hero : sous la navbar fixe sur l'accueil */
.home-page .hero-section {
    padding-top: 100px;
    min-height: 85vh;
}
.home-page .hero-header {
    top: 0;
}
.home-page .hero-section::after {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.55) 100%);
}

.navbar-brand {
    font-size: 22px;
    font-weight: 400;
    color: var(--primary) !important;
    text-transform: none;
    letter-spacing: 0;
    padding: 8px 0;
    margin: 0;
    margin-right: 80px !important;
    display: flex;
    align-items: center;
    gap: 4px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.navbar-brand-delices {
    color: #fefdfd !important;
    font-weight: 800;
}

.navbar-brand-yass {
    color: var(--accent) !important;
    font-weight: 800;
}

/* Titre navbar - polices du logo */
.navbar-brand .nav-title-delices {
    font-family: var(--font-brand-script) !important;
    color: #000000 !important;
    font-style: normal;
    font-weight: 400;
    letter-spacing: 0;
    font-size: 1.35em;
}
.navbar-brand .nav-title-yass {
    font-family: var(--font-brand-brush) !important;
    color: #C41E3A !important;
    font-style: normal;
    font-weight: 400;
    letter-spacing: 0;
}

.navbar-brand::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), rgba(196, 30, 58, 0.6));
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.navbar-brand:hover::after {
    width: 100%;
}

.navbar-brand:hover {
    transform: translateY(-1px);
}

.navbar-brand:hover .navbar-brand-delices {
    color: #000000 !important;
}

.navbar-brand:hover .navbar-brand-yass {
    color: var(--accent-dark) !important;
}

.navbar-logo {
    display: block;
    height: 45px;
    width: auto;
    object-fit: cover;
    object-position: center;
    max-width: 75px;
    border-radius: 6px;
    box-shadow: none !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.navbar-brand:hover .navbar-logo {
    transform: scale(1.05) rotate(1deg);
    filter: drop-shadow(0 4px 8px rgba(196, 30, 58, 0.25));
}

.nav-link {
    color: #000000 !important;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    position: relative;
    margin: 0 18px;
    padding: 12px 4px !important;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    box-shadow: none;
    border-radius: 6px;
}

/* Effet Hover: Soulignement doré animé */
.nav-link::before {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(90deg, transparent, #C41E3A, transparent);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    bottom: 0;
    left: 0;
    background-color: var(--bg-soft);
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-link:hover::before {
    width: 100%;
    opacity: 1;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link:hover {
    color: #C41E3A !important;
    transform: translateY(-2px);
}

.nav-link:focus,
.nav-link:focus-visible,
.nav-link.active {
    border: none;
    box-shadow: none;
    outline: none;
}

/* Icônes Header (sur fond blanc) : marron, espacement réduit */
.navbar-icons {
    gap: 0.35rem;
}
.navbar-icons .btn-favorite,
.navbar-icons .btn-cart,
.navbar-icons .btn-account {
    padding: 6px 8px;
}
.btn-cart,
.btn-favorite,
.btn-account {
    font-size: 1.25rem;
    min-width: 44px;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.btn-cart {
    color: #C41E3A !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 8px 12px;
    border-radius: 50%;
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-shadow: 0 1px 2px rgba(184, 134, 11, 0.2);
}

.btn-cart i,
.btn-cart .fa-shopping-bag,
.btn-cart .fa-shopping-cart,
.btn-cart .fas {
    color: #C41E3A !important;
}

/* Icône de recherche dans le navbar */
.search-icon-navbar {
    color: var(--primary) !important;
    font-size: 1.3rem !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 8px 12px;
    border-radius: 50%;
    position: relative;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    text-decoration: none !important;
    opacity: 1 !important;
    visibility: visible !important;
}

.search-icon-navbar i,
.search-icon-navbar .fa-search,
.search-icon-navbar .fas,
a.search-icon-navbar i,
a.search-icon-navbar .fa-search,
a.search-icon-navbar .fas,
a.text-reset.search-icon-navbar i,
a.text-reset.search-icon-navbar .fa-search,
a.text-reset.search-icon-navbar .fas {
    color: var(--primary) !important;
    opacity: 1 !important;
    visibility: visible !important;
    display: inline-block !important;
    font-size: 1.3rem !important;
}

.search-icon-navbar::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    width: 100%;
    height: 100%;
    background: rgba(196, 30, 58, 0.1);
    border-radius: 50%;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.search-icon-navbar:hover::before {
    transform: translate(-50%, -50%) scale(1.5);
}

.search-icon-navbar:hover {
    color: var(--accent) !important;
    transform: scale(1.1);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.search-icon-navbar:hover i,
.search-icon-navbar:hover .fa-search,
.search-icon-navbar:hover .fas {
    color: #C41E3A !important;
}

/* S'assurer que l'icône de recherche dans le navbar est visible */
.search-icon-btn .fa-search,
#searchIconBtn .fa-search,
#searchIconBtn i,
#searchIconBtn .fas,
.search-icon-btn i.fa-search {
    color: var(--primary) !important;
    opacity: 1 !important;
    visibility: visible !important;
    display: inline-block !important;
    font-size: 1.3rem !important;
}

.btn-cart::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    width: 100%;
    height: 100%;
    background: rgba(196, 30, 58, 0.1);
    border-radius: 50%;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Ne pas écraser le ::before de Font Awesome pour .fa-search */
.btn-cart .fa-search::before,
.search-icon-btn .fa-search::before,
#searchIconBtn .fa-search::before {
    /* Laisser Font Awesome gérer son propre ::before */
    content: inherit;
}

.btn-cart:hover::before {
    transform: translate(-50%, -50%) scale(1.5);
}

.btn-cart:hover,
.btn-cart:hover i,
.btn-cart:hover .fa-shopping-bag,
.btn-cart:hover .fa-shopping-cart {
    color: #8B0000 !important;
    transform: scale(1.1);
}

.fa-search:hover {
    color: var(--accent) !important;
}

/* Icône Favoris (cœur) */
.btn-favorite {
    color: #C41E3A !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 8px 12px;
    border-radius: 50%;
}
.btn-favorite:hover,
.btn-favorite:hover i {
    color: #8B0000 !important;
    transform: scale(1.1);
}
.badge-favorite {
    background: var(--bg-main) !important;
    color: #dc3545 !important;
    font-weight: 700;
    font-size: 0.7rem;
    padding: 4px 7px;
}

/* Icône Compte (créer un compte / mon compte) */
.btn-account {
    color: #C41E3A !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 8px 12px;
    border-radius: 50%;
}
.btn-account:hover,
.btn-account:hover i {
    color: #8B0000 !important;
    transform: scale(1.1);
}

/* Bouton Connexion / Mon compte (remplace l’icône utilisateur dans la navbar) */
.btn-connexion-nav {
    font-size: 0.85rem !important;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #fff !important;
    background: #C41E3A !important;
    border: 1.5px solid #C41E3A !important;
    border-radius: 6px;
    padding: 6px 12px !important;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none !important;
    transition: color 0.3s ease, background 0.3s ease, border-color 0.3s ease;
}
.btn-connexion-nav:hover {
    color: #fff !important;
    background: #8B0000 !important;
    border-color: #8B0000 !important;
}

/* Bouton Connexion sur la page d’accueil (navbar claire) */
.home-page .navbar .btn-connexion-nav {
    color: #fff !important;
    background: #8B0000 !important;
    border-color: #C41E3A !important;
}
.home-page .navbar .btn-connexion-nav:hover {
    color: #8B0000 !important;
    background: #fdfcfc !important;
    border-color: #8B0000 !important;
}
.home-page .navbar.scrolled .btn-connexion-nav {
    color: #fff !important;
    background: #C41E3A !important;
    border-color: #C41E3A !important;
}
.home-page .navbar.scrolled .btn-connexion-nav:hover {
    color: #fff !important;
    background: #8B0000 !important;
    border-color: #8B0000 !important;
}

/* Bouton cœur sur les fiches produits : masqué sur les listes (accueil, boutique, produits similaires) */
/* Section Spécialités : fond rouge clair (isolation pour masquer le motif body) */
#exclusivite.section-femme {
    background-color: #fff !important;
    position: relative;
    z-index: 2;
    isolation: isolate;
    padding-top: 40px !important;
    padding-bottom: 60px !important;
}
#exclusivite.section-femme::before {
    display: none !important;
}
#exclusivite .section-title h2 {
    color: var(--primary) !important;
    text-shadow: none;
}
#exclusivite .section-title p,
#exclusivite .text-center p {
    color: rgba(0, 0, 0, 0.75);
}
#exclusivite .btn-view-all {
    border-color: var(--accent);
    background-color: var(--accent);
    color: #fff !important;
}
#exclusivite .btn-view-all:hover {
    background-color: var(--accent-dark);
    color: #fff !important;
    border-color: var(--accent);
}

/* Section L'histoire : fond noir (isolation pour masquer le motif body) */
#histoire.section-femme.philosophy-section {
    background-color: #000 !important;
    position: relative;
    z-index: 2;
    isolation: isolate;
}
#histoire.section-femme::before {
    display: none !important;
}
#histoire .section-title h2 {
    color: #fff !important;
    text-shadow: none;
}
#histoire .philosophy-block-text,
#histoire .philosophy-block-text strong {
    color: rgba(255, 255, 255, 0.9);
}

.btn-favorite-card {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 10;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255,255,255,0.9);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    transition: all 0.25s ease;
    text-decoration: none;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
.btn-favorite-card:hover {
    background: #fff;
    transform: scale(1.1);
}
.btn-favorite-card:hover i {
    color: #e91e8c;
}
.btn-favorite-card.btn-favorite-active,
.btn-favorite-card.btn-favorite-active:hover,
.btn-favorite-card.btn-favorite-active:hover i {
    color: #e91e8c;
}
.btn-favorite-card i {
    pointer-events: none;
    color: var(--primary) !important;
}
.btn-favorite-card.btn-favorite-active i,
.btn-favorite-card.btn-favorite-active:hover i,
.btn-favorite-card:hover i {
    color: #e91e8c !important;
}

/* Bouton cœur favoris : masqué sur l'interface */
.btn-favorite-card {
    display: none !important;
}

.badge-cart {
    background: var(--bg-main) !important;
    color: var(--accent) !important;
    font-weight: 700;
    font-size: 0.7rem;
    padding: 4px 7px;
    border: 2px solid var(--primary);
    box-shadow: 0 2px 8px rgba(196, 30, 58, 0.25);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

/* Navbar Toggler (Mobile) */
.navbar-toggler {
    border: 1px solid rgba(0, 0, 0, 0.25);
    padding: 4px 8px;
    background-color: transparent;
    outline: none;
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 0.2rem rgba(255, 255, 255, 0.5);
}

.navbar-toggler:focus-visible {
    outline: 2px solid rgba(255, 255, 255, 0.8);
    outline-offset: 2px;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%23C41E3A' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
    width: 1.5em;
    height: 1.5em;
}

.navbar-toggler:hover {
    border-color: rgba(196, 30, 58, 0.6);
}

.navbar-toggler:active {
    border-color: var(--accent);
}

/* Dropdown Menu - Premium */
.dropdown-menu {
    background-color: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    margin-top: 10px;
    padding: 8px 0;
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.dropdown-menu.show {
    opacity: 1;
    transform: translateY(0);
}

.dropdown-item {
    color: var(--primary);
    padding: 12px 24px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-weight: 700;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
}

.dropdown-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 3px;
    height: 100%;
    background: linear-gradient(180deg, var(--accent), transparent);
    transform: translateX(-100%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.dropdown-item:hover::before {
    transform: translateX(0);
}

.dropdown-item:hover {
    background: linear-gradient(90deg, rgba(196, 30, 58, 0.08), transparent);
    color: var(--accent);
    padding-left: 30px;
}

/* B. Hero Section */
.hero-section {
    position: relative;
    padding: 100px 0 80px;
    min-height: 85vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    opacity: 1;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: url('../../images/FOND.mp4') center/cover no-repeat;
    background-attachment: fixed;
    animation: heroZoom 20s ease-in-out infinite alternate;
    will-change: transform;
}

@keyframes heroZoom {
    0% { transform: scale(1); }
    100% { transform: scale(1.05); }
}

.hero-section::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(135deg, rgba(139, 115, 108, 0.5), rgba(136, 111, 104, 0.55));
    z-index: 1;
}

/* Vidéo en arrière-plan de la hero (si définie en admin) */
.hero-section.hero-has-video .hero-video-bg {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}
.hero-section.hero-has-video .hero-video-bg video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.hero-section.hero-has-video::before {
    display: none;
}

/* En-tête hero : BIENVENUE / DAKAR */
.hero-header {
    position: absolute;
    top: 24px;
    left: 0;
    right: 0;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}
.hero-brand {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 600;
    color: #fff;
    letter-spacing: 0.15em;
}
.hero-location {
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 500;
    color: #fff;
    letter-spacing: 0.35em;
    text-transform: uppercase;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    padding: 0 20px;
    animation: fadeInUp 1s ease-out;
}

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

.hero-collection {
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 500;
    color: #fff;
    letter-spacing: 0.12em;
    margin-bottom: 16px;
    animation: fadeInUp 1s ease-out 0.1s both;
}

.hero-title-hero {
    font-size: clamp(2.5rem, 9vw, 4.5rem);
    font-weight: 400;
    line-height: 1.1;
    margin-bottom: 12px;
    text-shadow: 0 4px 24px rgba(0, 0, 0, 0.4);
    animation: fadeInUp 1s ease-out 0.2s both;
}
/* Hero : même écriture que le navbar (nav-title-delices / nav-title-yass), couleurs adaptées au fond sombre + léger glow */
.hero-section .hero-title-hero .nav-title-delices {
    font-family: var(--font-brand-script) !important;
    font-size: 0.9em;
    color: #fff !important;
    text-shadow: 0 0 20px rgba(135, 206, 250, 0.4), 0 0 40px rgba(135, 206, 250, 0.2);
}
.hero-section .hero-title-hero .nav-title-yass {
    font-family: var(--font-brand-brush) !important;
    font-size: 1em;
    color: #C41E3A !important;
    text-shadow: 0 0 20px rgba(196, 30, 58, 0.6), 0 0 40px rgba(196, 30, 58, 0.3);
}

.hero-tagline {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-style: italic;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 36px;
    animation: fadeInUp 1s ease-out 0.3s both;
}

/* Bouton unique DÉCOUVRIR - même rouge que "Yass" (rgba(201, 78, 78)) */
.btn-hero-discover {
    display: inline-block;
    background: rgba(201, 78, 78, 0.98) !important;
    color: #fff !important;
    border: 2px solid rgba(255,255,255,0.35) !important;
    padding: 14px 56px;
    min-width: 280px;
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    border-radius: 50px;
    text-decoration: none;
    transition: background 0.4s ease, color 0.4s ease, transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
    animation: fadeInUp 1s ease-out 0.4s both;
    box-shadow: 0 4px 20px rgba(201, 78, 78, 0.35);
}
.btn-hero-discover:hover {
    background: #fbfaf9 !important;
    color: #8B0000 !important;
    border-color: rgba(92, 50, 38, 0.4) !important;
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 8px 28px rgba(201, 78, 78, 0.4);
}
.btn-hero-discover:active {
    transform: translateY(-2px) scale(0.98);
    box-shadow: 0 4px 16px rgba(201, 78, 78, 0.2);
}

/* Compatibilité anciennes classes */
.hero-title {
    font-family: var(--font-heading);
    font-size: 4.5rem;
    color: #fcfcfc;
    margin-bottom: 25px;
    line-height: 1.1;
    font-weight: 700;
}
.hero-subtitle {
    font-family: var(--font-body);
    font-size: 1.3rem;
    color: rgba(251, 249, 249, 0.95);
    margin-bottom: 50px;
}

/* CTA Buttons - Style sénégalais chic (texte en blanc) */
.btn-custom, .btn-primary {
    background: linear-gradient(135deg, var(--accent), var(--accent-dark)) !important;
    color: #fff !important;
    border-radius: 50px !important;
    padding: 12px 30px;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    border: 2px solid transparent;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateZ(0);
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(196, 30, 58, 0.25);
    animation: fadeInUp 1s ease-out 0.6s both;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

/* Boutons pleine largeur pour les actions importantes */
.btn-custom.w-100,
button.btn-custom[type="submit"],
.product-detail-actions .btn-add-to-cart,
.card-body .btn-custom[href*="commande.php"],
.card-body .d-grid .btn-custom,
.card-body .d-grid a.btn-custom,
a.btn-custom[href*="commande.php"],
.d-grid .btn-custom {
    width: 100% !important;
    max-width: 100% !important;
    display: block !important;
}

/* Force d-grid à prendre toute la largeur */
.card-body .d-grid {
    width: 100% !important;
}

.btn-custom::before, .btn-primary::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-custom:hover::before, .btn-primary:hover::before {
    width: 300px;
    height: 300px;
}

.btn-custom:hover, .btn-primary:hover {
    background: var(--bg-soft) !important;
    color: var(--primary) !important;
    border-color: var(--accent);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 25px rgba(196, 30, 58, 0.3);
}

.btn-custom:active, .btn-primary:active {
    transform: translateY(-1px) scale(0.98);
    color: #000 !important;
}

/* Voir tous les produits (texte en blanc) */
.btn-view-all {
    background: var(--accent);
    color: #fff !important;
    border: 2px solid var(--accent);
    border-radius: 50px;
    padding: 12px 28px;
    font-family: var(--font-body);
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: all 0.3s ease;
    box-shadow: 0 4px 14px rgba(196, 30, 58, 0.2);
    display: inline-block;
}

.btn-view-all:hover {
    background: var(--bg-soft);
    color: var(--accent);
    border-color: var(--accent);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(196, 30, 58, 0.25);
}

.btn-secondary {
    background: linear-gradient(135deg, var(--accent), var(--accent-dark)) !important;
    border: 2px solid transparent !important;
    color: #fff !important;
    border-radius: 8px !important;
    padding: 12px 28px;
    font-family: var(--font-body);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 3px 12px rgba(196, 30, 58, 0.25);
}

.btn-secondary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-secondary:hover::before {
    left: 100%;
}

.btn-secondary:hover {
    background: linear-gradient(135deg, var(--primary), rgb(80, 78, 78)) !important;
    border-color: var(--primary) !important;
    color: #fff !important;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(68, 66, 66, 0.4);
}

.btn-secondary:active {
    transform: translateY(-1px);
}

/* Boutons Commander améliorés - Premium */
.btn-sm.btn-secondary,
.btn-sm.btn-primary {
    padding: 14px 20px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1px;
    width: 100%;
    margin-top: 15px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    white-space: nowrap;
    min-width: 140px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(196, 30, 58, 0.2);
}

.btn-sm.btn-secondary {
    background: linear-gradient(135deg, var(--accent), var(--accent-dark)) !important;
    border: 2px solid transparent !important;
    color: #fff !important;
}

.btn-sm.btn-secondary::before {
    content: '';
    position: absolute;
    top: 50%;
    left: -100%;
    width: 100%;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-50%);
    transition: left 0.5s cubic-bezier(0.4, 0, 0.2, 1), height 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-sm.btn-secondary:hover::before {
    left: 0;
    height: 100%;
}

.btn-sm.btn-secondary:hover {
    background: linear-gradient(135deg, var(--primary), #1a1a1a) !important;
    border-color: var(--primary) !important;
    color: #fff !important;
    transform: translateY(-3px);
    box-shadow: 0 6px 18px rgba(68, 66, 66, 0.35);
}

.btn-sm.btn-primary {
    background-color: var(--accent) !important;
    color: #f8f5f5 !important;
    border: 2px solid var(--accent) !important;
    border-radius: var(--border-radius-btn) !important;
}

.btn-sm.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background-color: var(--primary);
    transition: left 0.3s ease;
    z-index: -1;
}

.btn-sm.btn-primary:hover {
    border-color: var(--primary) !important;
    color: #fff !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(196, 30, 58, 0.3);
}

.btn-sm.btn-primary:hover::before {
    left: 0;
}

/* Bouton Commander standard (non btn-sm) */
.btn-secondary:not(.btn-sm) {
    padding: 12px 30px;
}

/* Amélioration des boutons dans les cartes produits */
.product-card .btn {
    margin-top: 15px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

/* Bouton panier avec fond doré */
a[title*="panier"],
a[title*="Ajouter au panier"],
a[href*="action_panier"] {
    background-color: var(--accent) !important;
    border-color: var(--accent) !important;
    color: #fff !important;
}

/* Style spécifique pour le bouton panier dans les cartes produits */
.product-card a[title*="panier"],
.product-card a[title*="Ajouter au panier"],
.product-card a[href*="action_panier"] {
    background-color: transparent !important;
    border-color: transparent !important;
    color: var(--accent) !important;
    min-width: 45px;
    padding: 10px 15px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--border-radius-btn);
    transition: all 0.3s ease;
}

.product-card a[title*="panier"]:hover,
.product-card a[title*="Ajouter au panier"]:hover,
.product-card a[href*="action_panier"]:hover {
    background-color: transparent !important;
    border-color: transparent !important;
    color: var(--accent) !important;
    transform: translateY(-2px);
    box-shadow: none;
}

/* Uniformisation des boutons Commander - Premium */
.product-card .btn-secondary,
.btn-secondary[href*="commande.php"],
a[href*="commande.php"].btn-secondary {
    background: linear-gradient(135deg, var(--accent), var(--accent-dark)) !important;
    border: 2px solid transparent !important;
    color: #fff !important;
    width: 100%;
    padding: 14px 20px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    border-radius: 8px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
    overflow: hidden;
    min-width: 140px;
    position: relative;
    box-shadow: 0 3px 12px rgba(196, 30, 58, 0.25);
}

.product-card .btn-secondary::before,
.btn-secondary[href*="commande.php"]::before,
a[href*="commande.php"].btn-secondary::before {
    content: '';
    position: absolute;
    top: 50%;
    left: -100%;
    width: 100%;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-50%);
    transition: left 0.5s cubic-bezier(0.4, 0, 0.2, 1), height 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Hover pour les boutons Commander - Premium */
.product-card .btn-secondary:hover::before,
.btn-secondary[href*="commande.php"]:hover::before,
a[href*="commande.php"].btn-secondary:hover::before {
    left: 0;
    height: 100%;
}

.product-card .btn-secondary:hover,
.btn-secondary[href*="commande.php"]:hover,
a[href*="commande.php"].btn-secondary:hover {
    background: linear-gradient(135deg, var(--primary), rgb(80, 78, 78)) !important;
    border-color: var(--primary) !important;
    color: #fff !important;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(68, 66, 66, 0.4);
}

.product-card .btn-secondary:focus,
.btn-secondary[href*="commande.php"]:focus,
a[href*="commande.php"].btn-secondary:focus {
    background-color: var(--accent) !important;
    border-color: var(--accent) !important;
    color: #fdfcfc !important;
    outline: none;
    box-shadow: 0 0 0 3px rgba(196, 30, 58, 0.2);
}

.product-card .btn-secondary:active,
.btn-secondary[href*="commande.php"]:active,
a[href*="commande.php"].btn-secondary:active {
    background-color: var(--primary) !important;
    border-color: var(--primary) !important;
    color: #fefdfd !important;
    transform: translateY(0);
    box-shadow: 0 2px 6px rgba(107, 98, 87, 0.2);
}

/* Category Cards (Nos Univers) - Premium */
.category-card {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    height: 380px;
    cursor: pointer;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.08);
    will-change: transform;
    margin-bottom: 30px;
    background-color: var(--bg-soft);
}

.category-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.3) 100%);
    z-index: 1;
    transition: opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.category-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.2);
}

.category-card:hover::before {
    opacity: 0.6;
}

.category-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    border-radius: 16px;
    will-change: transform;
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 0;
}

.category-card:hover .category-img {
    transform: scale(1.15);
}

.category-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.3), transparent);
    padding: 40px 25px 25px;
    color: #fff;
    text-align: center;
    z-index: 2;
    transform: translateY(0);
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.category-card:hover .category-overlay {
    transform: translateY(0);
}

.category-overlay h3 {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.category-card:hover .category-overlay h3 {
    transform: translateY(-5px);
}

.category-overlay p {
    font-family: var(--font-body);
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.9);
    margin: 0 0 20px 0;
    font-weight: 400;
    letter-spacing: 0.5px;
}

.category-btn-wrapper {
    margin-top: 15px;
    opacity: 1;
    transform: translateY(0);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.category-card:hover .category-btn-wrapper {
    opacity: 1;
    transform: translateY(0);
}

.btn-category {
    background: linear-gradient(135deg, var(--accent), var(--accent-dark)) !important;
    color: #fff !important;
    border: 2px solid transparent !important;
    border-radius: 50px !important;
    padding: 12px 30px;
    font-family: var(--font-body);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-size: 0.9rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(196, 30, 58, 0.3);
    display: inline-block;
    cursor: pointer;
}

.btn-category::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-category:hover::before {
    width: 300px;
    height: 300px;
}

.btn-category:hover {
    background: linear-gradient(135deg, #fff, #fff) !important;
    color: var(--accent) !important;
    border-color: var(--accent) !important;
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(196, 30, 58, 0.35);
}

.category-card a {
    text-decoration: none;
    display: block;
    width: 100%;
    height: 100%;
}

/* C. Fiches Produits (Grille) - Design Luxe */
.product-card {
    background-color: var(--bg-soft);
    border: none !important;
    border-radius: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    margin-bottom: 40px;
    padding: 0;
    display: flex;
    flex-direction: column;
    height: 100%;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    animation: fadeInUp 0.8s ease-out;
    position: relative;
    overflow: hidden;
    will-change: transform, box-shadow;
}

.product-card::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, rgba(196, 30, 58, 0.12), transparent);
    border-radius: 14px;
    opacity: 0;
    transition: opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: -1;
}

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

.product-card:hover {
    background-color: var(--bg-soft);
    transform: translateY(-5px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Animation fadeInUp pour les product-card */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Dimensions uniformes pour toutes les images produits (même longueur et largeur) */
.product-img-wrapper {
    position: relative;
    width: 100%;
    max-width: 100%;
    aspect-ratio: 1 / 1;
    padding-top: 0;
    margin-bottom: 0;
    overflow: hidden;
    background: var(--bg-soft);
    border-radius: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.product-card:hover .product-img-wrapper {
    border-radius: 0;
}

.product-img-wrapper img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 0;
    will-change: transform;
}

.product-card:hover .product-img-wrapper img {
    transform: scale(1.05);
}

.card-body {
    padding: 5px 5px 4px 5px;
    text-align: left;
    background: var(--bg-soft);
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

/* Wrapper pour le prix et les boutons - pousse vers le bas */
.product-card .card-body > .product-price,
.product-card .card-body > .mt-auto,
.product-card .card-body > .d-flex {
    margin-top: auto;
}

.product-title {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    margin-bottom: 2px;
    color: var(--primary) !important;
    font-weight: 700;
    line-height: 1.25;
    transition: color 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    letter-spacing: 0;
}

.product-card:hover .product-title {
    color: var(--accent) !important;
}

.product-category {
    font-family: var(--font-body);
    font-size: 0.75rem;
    color: #6b6b6b !important; /* Gris */
    margin-bottom: 0;
}
.product-category-parent {
    font-size: 0.7rem;
    color: #999 !important;
    margin-top: 0;
    margin-bottom: 2px;
    font-weight: 400;
    text-transform: capitalize;
}

.product-price {
    color: var(--accent) !important;
    font-family: var(--font-body);
    font-weight: 700 !important;
    font-size: 0.95rem;
    margin-bottom: 0 !important;
    margin-top: 0;
    padding-bottom: 0 !important;
    padding-top: 0;
    letter-spacing: 0;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
    display: inline-block;
    line-height: 1 !important;
}

/* Prix en promotion */
.product-price.promo-price {
    color: var(--accent) !important;
    font-weight: 700;
    white-space: nowrap;
}

.product-price-old {
    color: #9b9b9b !important; /* Gris clair */
    font-family: var(--font-body);
    font-weight: 400;
    font-size: 0.95rem;
    text-decoration: line-through;
    margin-right: 8px;
    letter-spacing: 0;
    white-space: nowrap;
}

/* Conteneur pour prix avec ancien et nouveau */
.product-price {
    line-height: 1 !important;
}

.product-price .product-price-old,
.product-price .product-price.promo-price {
    display: inline-block;
    vertical-align: baseline;
}

.product-card:hover .product-price {
    transform: scale(1.02);
}

/* Descriptions de produits - couleur foncée pour lisibilité (comme Bakhoor Dubai) */
.product-card .card-body p,
.product-card .text-muted,
.product-card .product-desc,
.product-card .small,
.product-card p:not(.product-price) {
    color: #4a4a4a !important; /* Gris foncé pour les descriptions - même couleur que Bakhoor Dubai */
    font-weight: 400;
}

.product-card .card-body p.text-muted,
.product-card .text-muted.small {
    color: #4a4a4a !important;
}

/* S'assurer que tous les textes dans les cartes produits sont foncés */
.product-card .card-body {
    color: #333333;
    padding: 8px 12px 6px 12px;
}

.product-card .card-body * {
    color: inherit;
}

.product-card .card-body .product-title {
    color: #333333 !important;
}

.product-card .card-body .product-price {
    color: var(--price-color) !important; /* Garder le prix en rose */
    font-weight: 700 !important;
}

/* Supprimer complètement l'espace en dessous des prix */
.product-card .card-body .product-price:last-child,
.product-card .card-body p.product-price:last-child {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
    line-height: 1 !important;
}

.product-card .card-body:has(.product-price:last-child) {
    padding-bottom: 4px !important;
}

/* Réduire encore plus l'espace pour tous les prix */
.product-card .card-body p.product-price {
    margin: 0 !important;
    padding: 0 !important;
    line-height: 1 !important;
}

/* D. Catégories Spécifiques - Luxe */
/* Vêtements : Fond blanc cassé */
.section-femme,  .section-maillot, .section-clothing {
    background-color: var(--bg-soft);
    padding: 100px 0;
    position: relative;
}
.section-homme {
    background-color: var(--bg-main);
    padding: 100px 0;
    position: relative;
}

/* Parfums & Encens : Artistique */
.section-parfum, .section-encens {
    background-color: var(--bg-main);
    padding: 100px 0;
    position: relative;
}

/* Support pour images de fond sur les sections */
.section-femme,
.section-homme,
.section-maillot,
.section-clothing,
.section-parfum,
.section-parfums,
.section-encens,
.section-accessoires,
.section-voiles,
.container.section-parfums,
.container.section-voiles {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

/* Overlay pour améliorer la lisibilité du contenu sur image de fond */
.section-femme::before,
.section-homme::before,
.section-maillot::before,
.section-clothing::before,
.section-parfum::before,
.section-parfums::before,
.section-encens::before,
.section-accessoires::before,
.section-voiles::before,
.container.section-parfums::before,
.container.section-voiles::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(248, 246, 244, 0.85);
    z-index: 0;
}

/* S'assurer que le contenu est au-dessus de l'overlay */
.section-femme > .container,
.section-homme > .container,
.section-maillot > .container,
.section-clothing > .container,
.section-parfum > .container,
.section-parfums > .container,
.section-encens > .container,
.section-accessoires > .container,
.section-voiles > .container,
.section-parfums.container,
.section-voiles.container {
    position: relative;
    z-index: 1;
}

/* Classes utilitaires pour ajouter des images de fond */
.section-bg-mode {
    background-color: #f9f9f9;
}

.section-bg-parfum {
    background-color: #fcfbfb;
}
.section-bg-encens {
    background-color: #fffdfe;}

.section-bg-accessoires {
    background-color: #faf9f9;}

/* Ajustement de l'opacité de l'overlay selon les sections avec images */
.section-bg-mode::before,
.section-bg-parfum::before,
.section-bg-encens::before,
.section-bg-accessoires::before {
    background-color: rgba(248, 246, 244, 0.75);
}

/* Overlay plus foncé si l'image de fond est très claire */
.section-femme.has-bg-image::before,
.section-homme.has-bg-image::before,
.section-parfum.has-bg-image::before,
.section-encens.has-bg-image::before {
    background-color: rgba(248, 246, 244, 0.9);
}

/* Effet artistique pour parfums (ombre portée douce) */
.section-parfum .product-card, .section-encens .product-card {
    box-shadow: 0 10px 30px rgba(74, 93, 78, 0.05); /* Ombre légère teintée Eucalyptus */
}

/* Titre de marque (style logo) */
.brand-title-delices-yass {
    text-align: center;
    font-weight: 700;
    letter-spacing: 0.15em;
    margin-bottom: 0.5rem;
    line-height: 1.2;
}
.brand-title-delices-yass .brand-delices {
    color: #b0b0b0;
    font-size: 0.85em;
    font-style: italic;
}
.brand-title-delices-yass .brand-yass {
    color: #C41E3A;
    font-size: 1em;
    text-transform: uppercase;
    letter-spacing: 0.2em;
}
.hero-section .brand-title-delices-yass.hero-brand-title {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
}
.hero-section .brand-title-delices-yass .brand-delices { color: rgba(255,255,255,0.9); }
.hero-section .brand-title-delices-yass .brand-yass { color: #C41E3A; }

.section-title {
    text-align: center;
}

.section-title h2 {
    font-size: 3.5rem;
    margin-bottom: 60px;
    color: var(--text-header);
    position: relative;
    display: inline-block;
    animation: float 4s ease-in-out infinite;
    font-weight: 700;
    letter-spacing: -1px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    
    /* Cadre chic - Beige / Marron */
    padding: 25px 50px;
    border: 2px solid rgba(196, 30, 58, 0.35);
    box-shadow: 
        inset 0 0 0 1px rgba(196, 30, 58, 0.2),
        0 0 0 2px rgba(0, 0, 0, 0.04),
        0 8px 32px rgba(196, 30, 58, 0.06);
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 20px;
}

/* Texte en noir pour les titres avec cadres (sauf page d'accueil) */
.section-title h2 {
    color: var(--primary) !important;
    text-shadow: 0 1px 3px rgba(255, 255, 255, 0.5);
}

/* Annuler les bordures sur la page d'accueil */
body.home-page .section-title h2,
body.home-page .story-title {
    padding: 0;
    border: none;
    box-shadow: none;
    background-color: transparent;
    color: var(--text-header) !important;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

/* Animation de flottement pour les titres de section */
@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-12px) rotate(0.5deg);
    }
}

/* Soulignement titre section */
/* Soulignement titre section - Réactivé sur la page d'accueil uniquement */
body.home-page .section-title h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
    margin: 10px auto 0;
    border-radius: 2px;
    animation: expand 1s ease-out 0.5s both;
}

/* Désactivé sur les autres pages (car on a les doubles bordures) */
.section-title h2::after {
    display: none;
}

@keyframes expand {
    from {
        width: 0;
        opacity: 0;
    }
    to {
        width: 60px;
        opacity: 1;
    }
}

/* Footer - Marron foncé #3D2914 - version compacte */
footer {
    background: #040404;
    color: #fff;
    padding: 36px 0 20px;
    position: relative;
    overflow: hidden;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(196, 30, 58, 0.4), transparent);
}

footer h5, footer a, footer p {
    color: rgba(255, 255, 255, 0.95);
    font-family: var(--font-body);
}

footer h5 {
    margin-bottom: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-size: 0.95rem;
    position: relative;
    display: inline-block;
    font-family: var(--font-heading);
}

footer h5 .navbar-brand-delices {
    color: #fff !important;
    font-weight: 800;
}

footer h5 .navbar-brand-yass {
    color: var(--accent-light) !important;
    font-weight: 800;
}

/* Titre footer - polices du logo */
footer h5 .footer-title-delices {
    font-family: var(--font-brand-script) !important;
    color: #ffffff !important;
    font-style: normal;
    font-weight: 400;
    letter-spacing: 0;
    font-size: 1.4em;
}
footer h5 .footer-title-yass {
    font-family: var(--font-brand-brush) !important;
    color: #C41E3A !important;
    font-style: normal;
    font-weight: 400;
    letter-spacing: 0;
}

/* Bloc marque footer */
footer h5.footer-brand {
    text-transform: none;
    letter-spacing: 0;
}
footer h5.footer-brand::after {
    display: none;
}
footer .footer-logo-wrap {
    display: inline-flex;
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid rgba(196, 30, 58, 0.4);
    margin-right: 10px;
}
footer .footer-logo-wrap .footer-logo-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    box-shadow: none !important;
}
footer .footer-brand-text {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    font-style: italic;
}

footer h5::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 32px;
    height: 2px;
    background: linear-gradient(90deg, var(--beige-dark), transparent);
}

/* Liens rapides en vertical */
footer .col-md-4 a {
    display: block;
    margin-bottom: 4px;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 3px 0;
    position: relative;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 400;
    font-size: 0.9rem;
}

footer a::before {
    content: '→';
    position: absolute;
    left: -20px;
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    color: var(--beige-dark);
}

footer a:hover::before {
    left: -15px;
    opacity: 1;
}

footer a:hover {
    color: var(--beige-dark);
    padding-left: 20px;
    transform: translateX(5px);
}

/* Bloc Suivez-nous : titre au-dessus, réseaux en dessous */
footer .footer-follow-title {
    font-size: 1rem;
    font-weight: 600;
    color: inherit;
    margin-top: 1rem;
    margin-bottom: 0.5rem;
}

footer .social-icons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 0;
}

footer .social-icons a {
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: #fff;
    font-size: 1rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: center;
    line-height: 1;
    position: relative;
}

.social-icons a i {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    margin: 0;
    padding: 0;
}

footer .social-icons a:hover {
    background: var(--beige-dark);
    transform: translateY(-3px) scale(1.08);
    box-shadow: 0 4px 14px rgba(196, 30, 58, 0.3);
    color: #8B0000 !important;
}

footer .social-icons a:active,
footer .social-icons a:focus {
    background: var(--beige-dark);
    color: #8B0000 !important;
    transform: translateY(-3px) scale(1.08);
    box-shadow: 0 4px 14px rgba(196, 30, 58, 0.3);
}

/* Page contact : Suivez-nous puis réseaux en dessous */
.follow-us-block {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}
.follow-us-block .social-icons {
    margin-top: 0.25rem;
}

footer .mb-4 {
    margin-bottom: 1rem !important;
}

footer p {
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

footer .copyright {
    margin-top: 24px;
    padding-top: 16px;
    border-top: 1px solid rgba(196, 30, 58, 0.25);
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.8rem;
    text-align: center;
}

/* Utilities */
.text-eucalyptus { color: var(--text-header); }
.text-bronze { color: var(--accent-hover); }

/* Badges */
.badge {
    border-radius: 0;
    font-weight: 500;
    letter-spacing: 1px;
    padding: 6px 10px;
}
.badge-new { background-color: var(--text-header); color: #fff; }
.badge-promo { background-color: var(--accent-hover); color: #fff; }

/* Badges de statut dans les tableaux (Mon compte, etc.) : écriture noire lisible */
.table .badge.bg-primary,
.table .badge.bg-secondary,
.table .badge.bg-info,
.table .badge.bg-warning,
.table .badge.bg-success,
.table .badge.bg-danger {
    color: #000000 !important;
}
.table .badge.bg-primary { background-color: #e8e0d5 !important; }
.table .badge.bg-secondary { background-color: #e8e8e8 !important; }
.table .badge.bg-info { background-color: #e2f0f4 !important; }
.table .badge.bg-warning { background-color: #fff3cd !important; }
.table .badge.bg-success { background-color: #d4edda !important; }
.table .badge.bg-danger { background-color: #f8d7da !important; }

/* ============================================
   RESPONSIVE DESIGN - COMPLETE OVERHAUL
   ============================================ */

/* Tablet and Below (max-width: 991px) */
@media (max-width: 991px) {
    /* Navbar - Tablet */
    .navbar {
        padding: 10px 0;
        min-height: 60px;
        height: auto;
    }

    /* Menu burger marron (fond blanc) */
    .navbar-toggler {
        border-color: rgba(196, 30, 58, 0.4) !important;
    }
    .navbar-toggler-icon {
        background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%23C41E3A' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
    }
    
    .navbar .container-fluid {
        padding-left: 15px !important;
        padding-right: 15px !important;
    }
    
    .navbar-logo {
        height: 35px;
        max-width: 70px;
    }

    .navbar-brand {
        font-size: 16px;
        margin-right: 15px !important;
    }

    .navbar-brand-delices,
    .navbar-brand-yass {
        display: inline-block;
    }
    
    /* Mobile : barre du haut (burger | logo+titre | icônes) sur une seule ligne, même quand le menu est ouvert */
    .navbar-hero-layout .navbar-container {
        position: relative;
        flex-direction: column;
        flex-wrap: nowrap;
        align-items: stretch;
        min-height: 56px;
    }
    .navbar-hero-layout .navbar-top-row {
        display: flex;
        align-items: center;
        min-height: 56px;
        width: 100%;
        flex-shrink: 0;
        position: relative;
        z-index: 12;
    }
    .navbar-hero-layout .navbar-top-row .navbar-toggler {
        position: relative;
        z-index: 12;
        flex-shrink: 0;
        order: 1;
    }
    .navbar-hero-layout .navbar-top-row .navbar-brand-left {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        margin: 0 !important;
        z-index: 12;
        pointer-events: auto;
    }
    .navbar-hero-layout .navbar-top-row .navbar-mobile-right {
        position: relative;
        z-index: 12;
        flex-shrink: 0;
        order: 2;
        margin-left: auto;
        gap: 0.25rem;
    }
    .navbar-hero-layout .navbar-mobile-right .btn-cart,
    .navbar-hero-layout .navbar-mobile-right .btn-account {
        padding: 8px 10px;
        min-height: 44px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }
    /* Sur mobile : bouton Connexion uniquement dans le menu vertical (drawer), pas dans la barre du haut */
    .navbar-hero-layout .navbar-top-row .navbar-mobile-right .btn-connexion-nav {
        display: none !important;
    }
    .navbar-hero-layout .navbar-mobile-right .btn-cart {
        min-width: 44px;
    }
    
    /* Fond sombre (backdrop) quand le menu est ouvert */
    .navbar-mobile-backdrop {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.4);
        z-index: 1028;
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.3s ease;
    }
    .navbar-mobile-backdrop.show {
        opacity: 1;
        pointer-events: auto;
    }
    /* Menu mobile : panneau qui sort de la gauche (drawer) */
    .navbar-hero-layout .navbar-collapse-hero {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        bottom: 0 !important;
        width: 85% !important;
        max-width: 320px !important;
        height: 100vh !important;
        margin: 0 !important;
        padding: 80px 24px 24px !important;
        background: rgba(255, 255, 255, 0.98) !important;
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        z-index: 1029 !important;
        flex-direction: column !important;
        justify-content: flex-start !important;
        align-items: stretch !important;
        overflow-y: auto;
        box-shadow: 4px 0 24px rgba(0, 0, 0, 0.12);
        transform: translateX(-100%);
        transition: transform 0.3s ease;
        display: flex !important;
    }
    .navbar-hero-layout .navbar-collapse-hero.show {
        transform: translateX(0);
    }
    /* Bouton fermer (X) en haut à droite de l’overlay */
    .navbar-mobile-close {
        position: absolute !important;
        top: 20px !important;
        right: 20px !important;
        width: 48px !important;
        height: 48px !important;
        border: none !important;
        border-radius: 50% !important;
        background: rgba(196, 30, 58, 0.12) !important;
        color: #C41E3A !important;
        font-size: 1.4rem !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        cursor: pointer;
        transition: background 0.2s ease, color 0.2s ease;
        z-index: 10;
    }
    .navbar-mobile-close:hover {
        background: rgba(196, 30, 58, 0.2) !important;
        color: #8B0000 !important;
    }
    .navbar-hero-layout .navbar-nav-center {
        position: static !important;
        transform: none !important;
        margin: 0 !important;
        width: 100%;
        flex: 0 0 auto;
    }
    .navbar-hero-layout .navbar-collapse-hero .navbar-nav {
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        margin: 0 !important;
        padding: 0 !important;
        width: 100%;
        text-align: center;
    }
    .navbar-hero-layout .navbar-collapse-hero .nav-item {
        width: 100%;
        border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    }
    .navbar-hero-layout .navbar-collapse-hero .nav-item:last-child {
        border-bottom: none;
    }
    .navbar-hero-layout .navbar-collapse-hero .nav-link {
        display: block !important;
        padding: 18px 24px !important;
        margin: 0 !important;
        font-size: 1.1rem !important;
        font-weight: 600 !important;
        text-transform: uppercase !important;
        letter-spacing: 0.08em !important;
        color: #C41E3A !important;
        text-align: center !important;
        border: none !important;
        box-shadow: none !important;
    }
    .navbar-hero-layout .navbar-collapse-hero .nav-link:hover {
        color: #8B0000 !important;
        background: rgba(196, 30, 58, 0.06);
    }
    .navbar-hero-layout .navbar-collapse-hero .nav-link::before,
    .navbar-hero-layout .navbar-collapse-hero .nav-link::after {
        display: none !important;
    }
    /* Bouton Connexion dans le menu mobile (après Contact) */
    .navbar-hero-layout .navbar-collapse-hero .nav-item-connexion-mobile {
        padding: 16px 24px;
        border-bottom: none;
    }
    .navbar-hero-layout .navbar-collapse-hero .btn-connexion-mobile {
        display: block !important;
        width: 100%;
        text-align: center;
        padding: 12px 20px !important;
        font-size: 1rem !important;
        text-transform: uppercase !important;
        letter-spacing: 0.08em !important;
    }

    /* Réseaux sociaux en bas du menu mobile */
    .navbar-mobile-social {
        margin-top: auto;
        padding: 24px 24px 16px;
        border-top: 1px solid rgba(0, 0, 0, 0.08);
    }
    .navbar-mobile-social-label {
        display: block;
        font-size: 0.75rem;
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: 0.1em;
        color: rgba(0, 0, 0, 0.6);
        margin-top: 12px;
    }
    .navbar-mobile-social-icons {
        display: flex;
        flex-wrap: wrap;
        gap: 16px;
    }
    .navbar-mobile-social-icons a {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 44px;
        height: 44px;
        border-radius: 50%;
        background: rgba(196, 30, 58, 0.1);
        color: #C41E3A;
        font-size: 1.25rem;
        transition: background 0.2s ease, color 0.2s ease;
    }
    .navbar-mobile-social-icons a:hover {
        background: rgba(196, 30, 58, 0.2);
        color: #8B0000;
    }

    /* Pays et devise en bas du menu mobile */
    .navbar-mobile-locale {
        margin-top: auto;
        padding: 12px 24px 20px;
        font-size: 0.9rem;
    }
    .navbar-mobile-locale-country {
        color: #5c6b7a;
    }
    .navbar-mobile-locale-sep,
    .navbar-mobile-locale-currency {
        color: #4a5568;
    }

    .navbar-nav .d-flex {
        justify-content: center;
        margin-top: 15px;
    }

    .search-icon-navbar {
        margin-right: 15px !important;
    }

    .btn-cart {
        font-size: 1.1rem;
    }
    
    /* Hero Section - Tablet */
    .hero-section {
        min-height: 72vh;
        padding: 75px 20px 55px;
    }
    .home-page .hero-section {
        padding-top: 90px;
    }
    .hero-header {
        top: 16px;
    }
    .home-page .hero-header {
        top: 0;
    }
    .hero-brand {
        font-size: 1.25rem;
        letter-spacing: 0.1em;
    }
    .hero-location {
        font-size: 0.65rem;
        letter-spacing: 0.25em;
    }
    .hero-collection {
        font-size: 0.75rem;
        letter-spacing: 0.25em;
    }
    .hero-title-hero {
        font-size: clamp(2.2rem, 8vw, 4rem);
    }
    .hero-tagline {
        font-size: 1.1rem;
        margin-bottom: 28px;
    }
    .btn-hero-discover {
        padding: 12px 40px;
        min-width: 240px;
        font-size: 0.75rem;
        letter-spacing: 0.15em;
    }
    
    .hero-title {
        font-size: 2.5rem;
        margin-bottom: 20px;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 30px;
        max-width: 100%;
    }
    
    .section-title h2 {
        font-size: 2.2rem;
        margin-bottom: 35px;
    }

    /* Container adjustments */
    .container-fluid.px-5 {
        padding-left: 15px !important;
        padding-right: 15px !important;
    }

    .container {
        padding-left: 15px;
        padding-right: 15px;
    }
    
    /* Product Cards - Tablet */
    .product-card {
        margin-bottom: 25px;
    }
    
    .product-title {
        font-size: 1.2rem;
    }

    .product-price {
        font-size: 1.1rem;
    }
    
    /* Category Cards - Tablet */
    .category-card {
        height: 250px;
        margin-bottom: 25px;
    }

    .category-overlay h3 {
        font-size: 1.8rem;
    }

    .category-overlay p {
        font-size: 0.95rem;
    }

    /* Product Detail Page - Tablet */
    .product-detail-content {
        padding: 20px 0;
    }

    .product-detail-title {
        font-size: 2rem;
        margin-bottom: 15px;
    }

    .product-detail-price {
        font-size: 1.75rem;
    }

    .quantity-selector {
        margin: 15px 0;
    }

    /* Cart Table - Tablet */
    .table-responsive {
        font-size: 0.9rem;
    }

    .table th,
    .table td {
        padding: 12px 8px;
    }

    /* Forms - Tablet */
    .card-body {
        padding: 25px !important;
    }

.form-control {
        font-size: 0.95rem;
    }
}

/* Mobile (max-width: 768px) */
@media (max-width: 768px) {
    /* Navbar - Mobile */
    .navbar {
        padding: 8px 0;
        min-height: 55px;
    }

    .navbar-logo {
        height: 30px;
        max-width: 60px;
    }

    .navbar-brand {
        font-size: 14px;
    }

    .navbar-toggler {
        padding: 4px 6px;
        font-size: 1rem;
        border-color: rgba(196, 30, 58, 0.4) !important;
    }

    .navbar-toggler-icon {
        width: 1.2em;
        height: 1.2em;
        background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%23C41E3A' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
    }

    .search-icon-navbar {
        font-size: 1.1rem !important;
        padding: 6px 10px;
        margin-right: 10px !important;
    }

    .btn-cart {
        font-size: 1rem;
        padding: 6px 10px;
    }

    .badge-cart {
        font-size: 0.65rem;
        padding: 3px 6px;
    }

    /* Bouton Wave - mobile : prix sur une seule ligne, prix en noir */
    #wave_payment_btn_confirmation {
        white-space: nowrap !important;
        font-size: 13px !important;
        color: #000 !important;
    }
    #wave_payment_btn_confirmation i {
        color: #000 !important;
    }

    /* Hero Section - Mobile */
    .hero-section {
        min-height: 65vh;
        padding: 55px 15px 45px;
    }
    .home-page .hero-section {
        padding-top: 80px;
    }
    .home-page .hero-header {
        top: 0;
    }
    
    .hero-title {
        font-size: 1.8rem;
        line-height: 1.2;
        margin-bottom: 15px;
    }
    
    .hero-subtitle {
        font-size: 0.95rem;
        margin-bottom: 25px;
        line-height: 1.6;
    }
    
    .btn-custom, .btn-primary {
        padding: 12px 25px;
        font-size: 0.8rem;
        letter-spacing: 1px;
    }
    
    /* Section Titles - Mobile */
    .section-title {
        margin-bottom: 30px;
    }

    .section-title h2 {
        font-size: 1.8rem;
        margin-bottom: 25px;
        padding: 15px 25px;
        border-width: 3px;
        border-radius: 16px;
        box-shadow: 
            inset 0 0 0 2px rgba(255, 255, 255, 0.4),
            0 0 0 4px rgba(255, 255, 255, 0.3),
            0 0 0 7px rgba(255, 255, 255, 0.2),
            0 6px 24px rgba(0, 0, 0, 0.1);
    }
    
    .product-detail-title,
    .story-title {
        padding: 15px 25px;
        border-width: 3px;
        border-radius: 16px;
        box-shadow: 
            inset 0 0 0 2px rgba(255, 255, 255, 0.4),
            0 0 0 4px rgba(255, 255, 255, 0.3),
            0 0 0 7px rgba(255, 255, 255, 0.2),
            0 6px 24px rgba(0, 0, 0, 0.1);
    }

    /* Product Grid - Mobile */
    .row {
        margin-left: -10px;
        margin-right: -10px;
    }

    .row > * {
        padding-left: 10px;
        padding-right: 10px;
    }

    .product-card {
        margin-bottom: 20px;
    }

    .product-img-wrapper {
        width: 100%;
        aspect-ratio: 1 / 1;
        padding-top: 0;
    }

    .product-title {
        font-size: 1.1rem;
        margin-bottom: 8px;
    }

    .product-category {
        font-size: 0.85rem;
        margin-bottom: 8px;
    }
    
    .product-price {
        font-size: 1rem;
        font-weight: 600;
    }

    .product-price-old {
        font-size: 0.85rem;
    }

    .product-price.promo-price {
        font-size: 1.1rem;
    }
    
    /* Category Cards - Mobile */
    .category-card {
        height: 220px;
        margin-bottom: 20px;
    }

    .category-overlay {
        padding: 20px;
    }

    .category-overlay h3 {
        font-size: 1.5rem;
        margin-bottom: 8px;
    }

    .category-overlay p {
        font-size: 0.85rem;
        margin-bottom: 15px;
    }

    .category-btn-wrapper {
        opacity: 1 !important;
        transform: translateY(0) !important;
    }

    .btn-category {
        font-size: 0.8rem;
        padding: 8px 16px;
    }

    /* Product Detail Page - Mobile (même ratio carré) */
    .product-detail-image-wrapper {
        margin-bottom: 25px;
    }

    .product-detail-content {
        padding: 15px 0;
    }

    .product-detail-title {
        font-size: 1.6rem;
        margin-bottom: 12px;
    }

    .product-detail-category {
        font-size: 0.9rem;
        margin-bottom: 15px;
    }

    .product-detail-price-wrapper {
        margin-bottom: 15px;
    }

    .product-detail-price {
        font-size: 1.5rem;
    }

    .product-detail-price-old {
        font-size: 1.1rem;
    }

    .product-detail-stock {
        font-size: 0.9rem;
        margin-bottom: 15px;
    }

    .product-detail-quantity-wrapper {
        margin-bottom: 20px;
    }

    .quantity-label {
        font-size: 0.95rem;
        margin-bottom: 10px;
    }

    .quantity-selector {
        width: 100%;
        max-width: 200px;
    }

    .quantity-btn {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }

    .quantity-input {
        font-size: 1rem;
        width: 60px;
    }

    .btn-add-to-cart {
        width: 100%;
        padding: 14px 20px;
        font-size: 0.9rem;
        justify-content: center;
        margin-bottom: 15px;
    }

    .product-detail-description {
        font-size: 0.95rem;
        line-height: 1.7;
    }

    /* Cart Page - Mobile */
    .table-responsive {
        font-size: 0.85rem;
    }

    .table thead {
        display: none;
    }

    .table tbody tr {
        display: block;
        margin-bottom: 20px;
    border: 1px solid #ddd;
        border-radius: 8px;
        padding: 15px;
        background: var(--bg-soft);
    }

    .table tbody td {
        display: block;
        text-align: right;
        padding: 8px 0;
        border: none;
    }

    .table tbody td::before {
        content: attr(data-label) ": ";
        font-weight: bold;
        float: left;
        text-transform: uppercase;
        font-size: 0.75rem;
        color: #666;
    }

    .table tbody td:first-child {
        text-align: left;
        margin-bottom: 15px;
        padding-bottom: 15px;
        border-bottom: 1px solid #eee;
    }

    .table tbody td .d-flex {
        justify-content: flex-start;
    }

    .table tbody td img {
        width: 50px !important;
        height: 50px !important;
    }

    .cart-summary {
        margin-top: 30px;
    }

    /* Forms - Mobile */
    .card {
        margin-bottom: 20px;
    }

    .card-header {
        padding: 15px !important;
        font-size: 1rem;
    }

    .card-body {
        padding: 20px !important;
    }

    .form-label {
        font-size: 0.9rem;
        margin-bottom: 6px;
    }

    .form-control,
    .form-select {
        font-size: 0.9rem;
        padding: 10px 12px;
    }

    textarea.form-control {
        min-height: 100px;
    }

    .btn-lg {
        padding: 12px 20px;
        font-size: 0.9rem;
    }

    /* Contact Page - Mobile */
    .social-icons {
        font-size: 1.8rem !important;
    }

    .social-icons a {
        margin-right: 15px !important;
    }

    /* Footer - Mobile */
    footer {
        padding: 40px 0 20px;
        text-align: center;
    }

    footer .row > div {
        margin-bottom: 30px;
    }

    footer h5 {
        font-size: 1.1rem;
        margin-bottom: 15px;
    }

    footer p,
    footer li {
        font-size: 0.85rem;
    }

    /* Buttons - Mobile */
    .btn-view-all {
        padding: 10px 20px;
        font-size: 0.8rem;
    }

    .btn-outline-dark,
    .btn-outline-danger {
        font-size: 0.85rem;
        padding: 8px 15px;
    }

    /* Story Section - Mobile */
    .story-title {
        font-size: 1.8rem;
        margin-bottom: 20px;
    }

    .story-text {
        font-size: 0.95rem;
        line-height: 1.7;
        margin-bottom: 20px;
    }

    /* Command Page - Small Mobile */
    .card-header h5 {
        font-size: 1rem;
    }

    .table {
        font-size: 0.8rem;
    }

    .table th,
    .table td {
        padding: 8px 4px;
    }

    /* Confirmation Page - Small Mobile */
    .card.mx-auto {
        margin: 15px !important;
    }

    .display-4 {
        font-size: 2.5rem;
    }

    .fs-4 {
        font-size: 1.2rem !important;
    }

    /* Buttons - Small Mobile */
    .btn {
        font-size: 0.85rem;
        padding: 10px 18px;
    }

    .btn-lg {
        padding: 12px 20px;
        font-size: 0.9rem;
    }

    /* Container adjustments - Small Mobile */
    .container {
        padding-left: 10px;
        padding-right: 10px;
    }

    .container-fluid.px-5 {
        padding-left: 10px !important;
        padding-right: 10px !important;
    }

    /* Product Grid - Small Mobile */
    .col-md-3,
    .col-md-4,
    .col-md-6 {
        padding-left: 8px;
        padding-right: 8px;
    }

    /* Cart Summary - Small Mobile */
    .cart-summary .card-body {
        padding: 15px !important;
    }

    /* Form inputs - Small Mobile */
    .form-control,
    .form-select {
        font-size: 0.85rem;
        padding: 8px 10px;
    }

    /* Wave Payment Button - Small Mobile : tout le prix sur une même ligne, prix en noir */
    #wave_payment_btn_confirmation {
        font-size: 11px !important;
        padding: 10px 12px !important;
        white-space: nowrap !important;
        color: #000 !important;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    #wave_payment_btn_confirmation i {
        color: #000 !important;
    }

    #wave_payment_btn_confirmation img {
        width: 28px !important;
        height: 28px !important;
        margin-right: 6px !important;
        flex-shrink: 0;
    }
}

/* Extra Small Mobile (max-width: 400px) */
@media (max-width: 400px) {
    .hero-title {
        font-size: 1.3rem;
    }

    .section-title h2 {
        font-size: 1.5rem;
        padding: 12px 20px;
    }

    .product-title {
        font-size: 1rem;
    }

    .product-price {
        font-size: 0.95rem;
    }

    .btn-custom {
        padding: 10px 20px;
        font-size: 0.75rem;
    }

    .navbar-brand {
        font-size: 12px;
    }

    .container {
        padding-left: 8px;
        padding-right: 8px;
    }
}

/* Small Mobile (max-width: 576px) */
@media (max-width: 576px) {
    /* Navbar - Small Mobile */
    .navbar {
        padding: 6px 0;
        min-height: 50px;
    }

    .navbar-logo {
        height: 28px;
        max-width: 55px;
    }

    .navbar-brand {
        font-size: 13px;
        margin-right: 10px !important;
    }

    .navbar-brand-delices,
    .navbar-brand-yass {
        font-size: 13px;
    }

    .search-icon-navbar {
        font-size: 1rem !important;
        padding: 5px 8px;
        margin-right: 8px !important;
    }

    .btn-cart {
        font-size: 0.95rem;
        padding: 5px 8px;
    }

    /* Hero Section - Small Mobile */
    .hero-section {
        min-height: 70vh;
        padding: 50px 10px 40px;
    }
    .home-page .hero-section {
        padding-top: 75px;
    }
    .home-page .hero-header {
        top: 0;
    }
    
    .hero-title {
        font-size: 1.5rem;
        line-height: 1.3;
    }
    
    .hero-subtitle {
        font-size: 0.85rem;
        margin-bottom: 20px;
    }
    
    .btn-custom, .btn-primary {
        padding: 10px 20px;
        font-size: 0.75rem;
        width: 100%;
        max-width: 280px;
    }
    
    /* Section Titles - Small Mobile */
    .section-title h2 {
        font-size: 1.5rem;
        margin-bottom: 20px;
        padding: 12px 20px;
        border-width: 3px;
        border-radius: 14px;
        box-shadow: 
            inset 0 0 0 2px rgba(255, 255, 255, 0.4),
            0 0 0 4px rgba(255, 255, 255, 0.3),
            0 0 0 7px rgba(255, 255, 255, 0.2),
            0 4px 20px rgba(0, 0, 0, 0.1);
    }
    
    .product-detail-title,
    .story-title {
        padding: 12px 20px;
        border-width: 3px;
        border-radius: 14px;
        box-shadow: 
            inset 0 0 0 2px rgba(255, 255, 255, 0.4),
            0 0 0 4px rgba(255, 255, 255, 0.3),
            0 0 0 7px rgba(255, 255, 255, 0.2),
            0 4px 20px rgba(0, 0, 0, 0.1);
    }

    /* Product Cards - Small Mobile */
    .product-card {
        margin-bottom: 15px;
    }

    .product-img-wrapper {
        width: 100%;
        aspect-ratio: 1 / 1;
        padding-top: 0;
    }
    
    .product-title {
        font-size: 1rem;
    }

    .product-category {
        font-size: 0.8rem;
    }
    
    .product-price {
        font-size: 0.95rem;
    }

    .product-price-old {
        font-size: 0.8rem;
    }

    /* Category Cards - Small Mobile */
    .category-card {
        height: 200px;
    }

    .category-overlay h3 {
        font-size: 1.3rem;
    }

    .category-overlay p {
        font-size: 0.8rem;
    }

    .category-btn-wrapper {
        opacity: 1 !important;
        transform: translateY(0) !important;
    }

    /* Product Detail - Small Mobile */

    .product-detail-title {
        font-size: 1.4rem;
    }

    .product-detail-price {
        font-size: 1.3rem;
    }

    .quantity-selector {
        max-width: 180px;
    }

    /* Forms - Small Mobile */
    .card-body {
        padding: 15px !important;
    }

    .form-control {
        font-size: 0.85rem;
        padding: 8px 10px;
    }

    /* Footer - Small Mobile */
    footer {
        padding: 30px 0 15px;
    }

    footer h5 {
        font-size: 1rem;
    }

    footer p,
    footer li {
        font-size: 0.8rem;
    }

    /* Buttons - Small Mobile */
    .btn-view-all {
        padding: 8px 16px;
        font-size: 0.75rem;
    }

    /* Story Section - Small Mobile */
    .our-story-section {
        padding: 40px 0;
    }

    .story-image-wrapper {
        min-height: 220px;
        margin-bottom: 25px;
    }

    .story-image {
        min-height: 220px;
    }

    .story-title {
        font-size: 1.5rem;
    }

    .story-text {
        font-size: 0.9rem;
    }
}

/* Extra Small Mobile (max-width: 400px) */
@media (max-width: 400px) {
    .container,
    .container-fluid {
        padding-left: 10px;
        padding-right: 10px;
    }

    .hero-title {
        font-size: 1.3rem;
    }

    .section-title h2 {
        font-size: 1.3rem;
        padding: 10px 15px;
        border-width: 2px;
        border-radius: 12px;
        box-shadow: 
            inset 0 0 0 1px rgba(255, 255, 255, 0.4),
            0 0 0 3px rgba(255, 255, 255, 0.3),
            0 0 0 6px rgba(255, 255, 255, 0.2),
            0 3px 16px rgba(0, 0, 0, 0.1);
    }
    
    .product-detail-title,
    .story-title {
        padding: 10px 15px;
        border-width: 2px;
        border-radius: 12px;
        box-shadow: 
            inset 0 0 0 1px rgba(255, 255, 255, 0.4),
            0 0 0 3px rgba(255, 255, 255, 0.3),
            0 0 0 6px rgba(255, 255, 255, 0.2),
            0 3px 16px rgba(0, 0, 0, 0.1);
    }

    .product-card {
        margin-bottom: 12px;
    }

    .category-card {
        height: 180px;
    }

    .btn-custom {
        font-size: 0.7rem;
        padding: 8px 16px;
    }

    /* Navbar ultra-small */
    .navbar-logo {
        height: 25px;
        max-width: 50px;
    }

    .navbar-brand {
        font-size: 12px;
    }

    .search-icon-navbar {
        font-size: 0.9rem !important;
        padding: 4px 6px;
    }

    .btn-cart {
        font-size: 0.9rem;
    }
}

/* Landscape Mobile (max-width: 768px and orientation: landscape) */
@media (max-width: 768px) and (orientation: landscape) {
    .hero-section {
        min-height: 60vh;
        padding: 35px 15px;
    }

    .hero-title {
        font-size: 1.6rem;
    }

    .section-title h2 {
        font-size: 1.6rem;
    }

    .navbar {
        padding: 6px 0;
        min-height: 50px;
    }
}

/* Print Styles */
@media print {
    .navbar,
    .btn-custom,
    .btn-primary,
    .search-bar-container,
    footer {
        display: none;
    }

    body {
        font-size: 12pt;
        line-height: 1.5;
    }

    .product-card {
        break-inside: avoid;
        margin-bottom: 20px;
    }
}

/* Styles pour la page de commande - Padding et espacement */
.card {
    margin-bottom: 20px;
    background-color: var(--bg-soft);
    border: none;
}

.card-header {
    padding: 20px !important;
    color: var(--accent);
    background-color: var(--bg-main);
}

/* Card header avec fond sombre - texte en blanc */
.card-header.bg-dark,
.card-header.bg-dark h5,
.card-header.bg-dark h4,
.card-header.bg-dark h3,
.card-header.bg-dark h2,
.card-header.bg-dark h1 {
    color: #fff !important;
}

.card-body {
    padding: 30px !important;
    background-color: var(--bg-soft);
}

/* Tableau dans la page de commande */
.table {
    margin-bottom: 20px;
}

.table thead th {
    padding: 15px 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 2px solid #dee2e6;
}

.table tbody td {
    padding: 15px 10px;
    vertical-align: middle;
}

.table tbody tr {
    border-bottom: 1px solid #f0f0f0;
}

/* Formulaire de commande */
.form-label {
    margin-bottom: 8px;
    font-weight: 800;
    color: var(--text-header);
}

.form-control,
.form-select {
    padding: 12px 15px;
    margin-bottom: 5px;
    border-radius: var(--border-radius-btn);
    border: 1px solid rgba(255, 255, 255, 0.8);
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(255, 255, 255, 0.3);
}

.form-control:focus,
.form-select:focus {
    border-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 12px rgba(255, 255, 255, 0.4);
    outline: none;
}

.mb-3 {
    margin-bottom: 25px !important;
}

/* Espacement pour les lignes de récapitulatif */
.d-flex.justify-content-between {
    padding: 8px 0;
}

hr {
    margin: 20px 0;
    opacity: 0.3;
}

/* Garder les montants (ex. 350 000 FCFA) sur une seule ligne */
.table td[data-label="Prix"],
.table td[data-label="Total"],
.text-nowrap {
    white-space: nowrap;
}

/* Total en bleu sur la page de commande */
#total-pay {
    color: rgb(21, 96, 210) !important;
    font-weight: 700 !important;
}

/* Mettre en gras les prix dans les tableaux de commande et panier */
.table tbody td:nth-child(2),
.table tbody td:nth-child(4),
#subtotal,
#delivery-cost {
    font-weight: 700 !important;
}

/* Mettre en gras tous les montants dans les pages panier et commande */
.panier .table td,
.commande .table td {
    font-weight: 500;
}

.panier .table td:last-child,
.commande .table td:last-child {
    font-weight: 700 !important;
}

/* Section Notre Histoire */
.our-story-section {
    background-color: var(--bg-main);
    padding: 80px 0;
}

.story-image-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    min-height: 400px;
    background-color: var(--bg-soft);
}

.story-image {
    width: 100%;
    height: 100%;
    min-height: 400px;
    object-fit: cover;
    object-position: center;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.story-image-wrapper:hover .story-image {
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.story-title {
    font-family: var(--font-heading);
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 30px;
    font-weight: 700;
    letter-spacing: -0.5px;
    
    /* Cadre chic Beige / Marron */
    padding: 20px 40px;
    border: 2px solid rgba(196, 30, 58, 0.35);
    box-shadow: 
        inset 0 0 0 1px rgba(196, 30, 58, 0.2),
        0 0 0 2px rgba(0, 0, 0, 0.04),
        0 8px 32px rgba(196, 30, 58, 0.06);
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 18px;
    display: inline-block;
}

/* Texte en noir pour les titres avec cadres (sauf page d'accueil) */
.story-title {
    color: #000000 !important;
    text-shadow: 0 1px 3px rgba(255, 255, 255, 0.5);
}

.story-text {
    font-family: var(--font-body);
    font-size: 1.1rem;
    color: var(--primary);
    line-height: 1.8;
    margin-bottom: 25px;
    opacity: 0.85;
}

.story-divider {
    width: 80px;
    height: 2px;
    background: linear-gradient(90deg, var(--accent), transparent);
    margin-top: 30px;
}

/* Section Notre Philosophie */
.philosophy-section {
    background-color: var(--bg-soft);
    padding: 80px 0;
}

.philosophy-label {
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 400;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--primary);
    text-align: center;
    margin-bottom: 0.5rem;
}

.philosophy-slogan {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3.25rem);
    font-weight: 600;
    color: var(--primary);
    text-align: center;
    line-height: 1.3;
    margin-bottom: 3.5rem;
}

.philosophy-slogan em {
    font-style: italic;
    color: var(--primary);
    display: block;
    margin-top: 0.15em;
    padding-left: 0.5em;
}

.philosophy-columns {
    max-width: 900px;
    margin: 0 auto;
}

.philosophy-col {
    padding: 0 2rem;
}

.philosophy-col-divider {
    border-left: 1px solid var(--beige-dark);
}

.philosophy-block {
    padding: 1.75rem 0;
}

.philosophy-block-border {
    border-top: 1px solid var(--beige-dark);
}

.philosophy-block-title {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.75rem;
}

.philosophy-block-text {
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: #555;
    line-height: 1.7;
    margin: 0;
}

/* Responsive pour Notre Philosophie */
@media (max-width: 991px) {
    .philosophy-section {
        padding: 60px 0;
    }
    .philosophy-col-divider {
        border-left: none;
        border-top: 1px solid var(--beige-dark);
        padding-top: 0;
    }
    .philosophy-col {
        padding: 0 1rem;
    }
    .philosophy-block:first-child {
        padding-top: 0;
    }
}

@media (max-width: 576px) {
    .philosophy-section {
        padding: 50px 0;
    }
    .philosophy-slogan {
        font-size: 1.75rem;
        margin-bottom: 2.5rem;
    }
    .philosophy-block-title {
        font-size: 1.5rem;
    }
    .philosophy-block-text {
        font-size: 0.9rem;
    }
}

/* Responsive pour Notre Histoire */
@media (max-width: 991px) {
    .story-image-wrapper {
        min-height: 300px;
        margin-bottom: 40px;
    }
    
    .story-image {
        min-height: 300px;
    }
    
    .story-title {
        font-size: 2.5rem;
    }
    
    .story-text {
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .our-story-section {
        padding: 60px 0;
    }
    
    .story-image-wrapper {
        min-height: 250px;
    }
    
    .story-image {
        min-height: 250px;
    }
    
    .story-title {
        font-size: 2rem;
    }
}

/* Page de détail produit */
.product-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
    height: 100%;
}

.product-card-link:hover {
    text-decoration: none;
    color: inherit;
}

/* Image du produit en détail - mêmes proportions (carré) que les cartes */
.product-detail-image-wrapper {
    position: relative;
    background-color: var(--bg-soft);
    border-radius: 8px;
    overflow: hidden;
    aspect-ratio: 1 / 1;
    width: 100%;
}

.product-detail-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Galerie produit : miniatures */
.product-gallery-thumbs {
    margin-top: 0.5rem;
}
.product-gallery-thumb {
    background: none;
    cursor: pointer;
    opacity: 0.7;
    transition: opacity 0.2s, box-shadow 0.2s;
}
.product-gallery-thumb:hover,
.product-gallery-thumb.active {
    opacity: 1;
}
.product-gallery-thumb.active {
    box-shadow: 0 0 0 2px var(--primary);
}

/* Contenu du détail produit */
.product-detail-content {
    padding: 20px 0;
}

.product-detail-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: var(--primary);
    font-weight: 700;
    margin-bottom: 15px;
    line-height: 1.2;
    
    /* Cadre chic Beige / Marron */
    padding: 20px 40px;
    border: 2px solid rgba(196, 30, 58, 0.35);
    box-shadow: 
        inset 0 0 0 1px rgba(196, 30, 58, 0.2),
        0 0 0 2px rgba(0, 0, 0, 0.04),
        0 8px 32px rgba(196, 30, 58, 0.06);
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 18px;
    display: inline-block;
}

/* Texte en noir pour les titres avec cadres */
.product-detail-title {
    color: #000000 !important;
    text-shadow: 0 1px 3px rgba(255, 255, 255, 0.5);
}

.product-detail-category {
    font-family: var(--font-body);
    font-size: 1rem;
    color: #6b6b6b;
    margin-bottom: 25px;
    text-transform: capitalize;
}

/* Prix en détail */
.product-detail-price-wrapper {
    margin-bottom: 25px;
}

.product-detail-price {
    font-family: var(--font-body);
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent);
    display: inline-block;
}

.product-detail-price.promo-price {
    color: var(--accent);
    font-weight: 700;
}

.product-detail-price-old {
    font-family: var(--font-body);
    font-size: 1.5rem;
    color: #9b9b9b;
    text-decoration: line-through;
    margin-right: 15px;
    font-weight: 400;
}

/* Label "Description" entre le prix et le bloc description */
.product-detail-description-label {
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--primary);
}

/* Description produit (remplace l'affichage du stock) */
.product-detail-description {
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.7;
    color: var(--primary);
    margin-bottom: 30px;
    padding: 12px 15px;
    background-color: rgba(196, 30, 58, 0.06);
    border-radius: 6px;
    border-left: 3px solid var(--accent);
}

/* Stock (conservé pour compatibilité si réaffiché ailleurs) */
.product-detail-stock {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 30px;
    padding: 12px 15px;
    background-color: rgba(196, 30, 58, 0.08);
    border-radius: 6px;
    border-left: 3px solid var(--accent);
}

.product-detail-stock i {
    color: var(--accent);
    font-size: 1.2rem;
}

.product-detail-stock span {
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--primary);
    font-weight: 600;
}

/* Sélecteur de quantité */
.product-detail-quantity-wrapper {
    margin-bottom: 30px;
}

.quantity-label {
    display: block;
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 10px;
}

.quantity-selector {
    display: flex;
    align-items: center;
    gap: 0;
    width: fit-content;
}

.quantity-btn {
    background-color: var(--primary);
    color: #ffffff;
    border: none;
    width: 45px;
    height: 45px;
    font-size: 1.2rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 6px 0 0 6px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.quantity-btn:last-of-type {
    border-radius: 0 6px 6px 0;
}

.quantity-btn:hover {
    background-color: var(--accent);
    transform: scale(1.05);
}

.quantity-input {
    width: 70px;
    height: 45px;
    text-align: center;
    border: 2px solid var(--primary);
    border-left: none;
    border-right: none;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary);
    appearance: textfield;
    -moz-appearance: textfield;
}

.quantity-input::-webkit-outer-spin-button,
.quantity-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Bouton Ajouter au panier */
.product-detail-actions {
    margin-top: 30px;
}

.btn-add-to-cart {
    background-color: var(--accent);
    color: #ffffff;
    border: 2px solid var(--accent);
    padding: 15px 40px;
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    transition: background-color 0.35s ease, color 0.35s ease, border-color 0.35s ease, transform 0.35s ease, box-shadow 0.35s ease;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(196, 30, 58, 0.25);
    width: 100%;
}

.btn-add-to-cart:hover {
    background-color: var(--primary);
    border-color: var(--accent);
    color: var(--beige-dark);
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 8px 28px rgba(196, 30, 58, 0.3);
}
.btn-add-to-cart:hover i {
    color: var(--accent);
    transform: scale(1.08);
}

/* État actif (clic) - même logique que le bouton DÉCOUVRIR */
.btn-add-to-cart:active {
    transform: translateY(-2px) scale(0.98);
    box-shadow: 0 4px 16px rgba(196, 30, 58, 0.25);
}
.btn-add-to-cart:active:hover {
    background-color: var(--primary);
    border-color: var(--accent);
    color: var(--accent);
}

.btn-add-to-cart i {
    font-size: 1.1rem;
    transition: color 0.35s ease, transform 0.35s ease;
}

.btn-add-to-cart:active i {
    transform: scale(1.05);
}

/* Section Produits similaires */
.similar-products-section {
    margin-top: 80px;
    padding-top: 60px;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.similar-products-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: var(--primary);
    font-weight: 700;
    text-align: center;
    margin-bottom: 50px;
}

/* Boutons fixes en mobile */
@media (max-width: 768px) {
    /* Bouton Ajouter au panier - page produit */
    .product-detail-actions {
        position: fixed !important;
        bottom: 0 !important;
        left: 0 !important;
        right: 0 !important;
        z-index: 1000 !important;
        background-color: #fff !important;
        padding: 15px !important;
        border: 3px solid transparent !important;
        border-radius: 15px 15px 0 0 !important;
        box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15) !important;
        margin: 0 !important;
    }
    
    .product-detail-actions .btn-add-to-cart {
        width: 100% !important;
        margin: 0 !important;
        padding: 15px !important;
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
    }
    
    /* Bouton Passer la commande - page panier */
    .card-body .d-grid a.btn-custom[href*="commande.php"],
    .card-body .d-grid .btn-custom {
        position: fixed !important;
        bottom: 0 !important;
        left: 0 !important;
        right: 0 !important;
        z-index: 1000 !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        padding: 15px !important;
        border: 3px solid transparent !important;
        border-radius: 15px 15px 0 0 !important;
        box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15) !important;
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
    }
    
    /* Bouton Confirmer la commande - page commande */
    .card form button.btn-custom[type="submit"],
    form button.btn-custom[type="submit"] {
        position: fixed !important;
        bottom: 0 !important;
        left: 0 !important;
        right: 0 !important;
        z-index: 1000 !important;
        width: 100% !important;
        margin: 0 !important;
        padding: 15px !important;
        border: 3px solid transparent !important;
        border-radius: 15px 15px 0 0 !important;
        box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15) !important;
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
    }
    
    /* Ajouter du padding en bas du body pour éviter que le contenu soit caché */
    body {
        padding-bottom: 80px !important;
    }
    
    /* Padding supplémentaire pour les pages spécifiques */
    .product-detail-content {
        padding-bottom: 100px !important;
    }
    
    /* Padding pour la carte du résumé de commande dans panier.php */
    .card-body {
        padding-bottom: 100px !important;
    }
    
    /* Padding pour le formulaire de commande */
    .card form,
    form {
        padding-bottom: 80px !important;
    }
}

/* Responsive pour la page produit */
@media (max-width: 991px) {
    .product-detail-title {
        font-size: 2rem;
    }
    
    .product-detail-price {
        font-size: 1.75rem;
    }
    
    .product-detail-image-wrapper {
        margin-bottom: 30px;
    }
}

@media (max-width: 576px) {
    .product-detail-title {
        font-size: 1.75rem;
    }
    
    .product-detail-price {
        font-size: 1.5rem;
    }
    
    .product-detail-price-old {
        font-size: 1.2rem;
    }
    
    .btn-add-to-cart {
        width: 100%;
        justify-content: center;
        padding: 15px 20px;
    }
    
    .similar-products-title {
        font-size: 2rem;
    }
}

/* Barre de recherche */
/* Icône de recherche - Utiliser les mêmes styles que .btn-cart */
.search-icon-btn {
    color: var(--accent) !important;
    font-size: 1.3rem !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 8px 12px;
    border-radius: 50%;
    position: relative;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    text-shadow: 0 1px 2px rgba(184, 134, 11, 0.2);
    text-decoration: none !important;
    opacity: 1 !important;
    visibility: visible !important;
}

.search-icon-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    width: 100%;
    height: 100%;
    background: rgba(250, 146, 173, 0.1);
    border-radius: 50%;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.search-icon-btn:hover::before {
    transform: translate(-50%, -50%) scale(1.5);
}

.search-icon-btn:hover {
    color: var(--accent) !important;
    transform: scale(1.1);
    text-shadow: 0 2px 4px rgba(184, 134, 11, 0.3);
}

/* Forcer la couleur blanche sur l'icône - Styles très spécifiques */
.search-icon-btn i,
.search-icon-btn .fa-search,
.search-icon-btn .fas,
.search-icon-btn .fas.fa-search,
a.search-icon-btn i,
a.search-icon-btn .fa-search,
a.search-icon-btn .fas,
a.search-icon-btn .fas.fa-search,
#searchIconBtn i,
#searchIconBtn .fa-search,
#searchIconBtn .fas,
#searchIconBtn .fas.fa-search,
#searchIconBtn.search-icon-navbar i,
#searchIconBtn.search-icon-navbar .fa-search,
#searchIconBtn.search-icon-navbar .fas {
    color: #C41E3A !important;
    opacity: 1 !important;
    visibility: visible !important;
    display: inline-block !important;
    font-size: 1.3rem !important;
    font-style: normal !important;
    font-weight: 900 !important;
}

.search-icon-btn:hover i,
.search-icon-btn:hover .fa-search,
.search-icon-btn:hover .fas,
.search-icon-btn:hover .fas.fa-search,
a.search-icon-btn:hover i,
a.search-icon-btn:hover .fa-search,
a.search-icon-btn:hover .fas,
a.search-icon-btn:hover .fas.fa-search,
#searchIconBtn:hover i,
#searchIconBtn:hover .fa-search,
#searchIconBtn:hover .fas,
.search-icon-navbar:hover i,
.search-icon-navbar:hover .fa-search,
.search-icon-navbar:hover .fas {
    color: #C41E3A !important;
}

/* Override Bootstrap text-reset - Très spécifique */
a.text-reset.search-icon-btn,
a.text-reset.search-icon-btn i,
a.text-reset.search-icon-btn .fa-search,
a.text-reset.search-icon-btn .fas,
a.text-reset.search-icon-btn .fas.fa-search,
#searchIconBtn,
#searchIconBtn.text-reset,
#searchIconBtn.text-reset i,
#searchIconBtn.search-icon-navbar,
#searchIconBtn.search-icon-navbar i {
    color: #C41E3A !important;
    opacity: 1 !important;
    visibility: visible !important;
}

/* S'assurer que Font Awesome s'affiche correctement */
.search-icon-btn .fas::before,
.search-icon-btn .fa-search::before,
#searchIconBtn .fas::before,
#searchIconBtn .fa-search::before {
    display: inline-block;
    font-style: normal;
    font-variant: normal;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
}

.search-icon-btn:hover {
    color: var(--accent) !important;
    transform: scale(1.1);
}

.search-icon-btn:hover i {
    color: var(--accent) !important;
}

.search-bar-container {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #C41E3A 0%, #8B0000 100%);
    z-index: 9999;
    padding: 12px 0;
    transform: translateY(-100%);
    transition: transform 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.search-bar-container.active {
    transform: translateY(0);
}

.search-bar-wrapper {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 15px;
}

.search-input {
    flex: 1;
    padding: 10px 15px;
    font-size: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.9);
    border-radius: 6px;
    background-color: rgba(248, 246, 244, 0.95);
    color: var(--primary);
    font-family: var(--font-body);
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(255, 255, 255, 0.4);
}

.search-input:focus {
    outline: none;
    border-color: rgba(255, 255, 255, 0.95);
    background-color: var(--bg-soft);
    box-shadow: 0 2px 12px rgba(255, 255, 255, 0.5);
}

.search-input::placeholder {
    color: #9b9b9b;
}

.search-close-btn {
    background-color: transparent;
    border: none;
    color: #F5F5F5;
    font-size: 1.3rem;
    cursor: pointer;
    padding: 8px;
    transition: all 0.3s ease;
    border-radius: 50%;
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-close-btn:hover {
    background-color: rgba(196, 30, 58, 0.2);
    color: var(--beige-dark);
    transform: rotate(90deg);
}

.search-results {
    max-width: 800px;
    margin: 15px auto 0;
    max-height: 400px;
    overflow-y: auto;
    background-color: var(--bg-soft);
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.search-results-list {
    padding: 10px;
}

.search-result-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    text-decoration: none;
    color: inherit;
    border-bottom: 1px solid #f0f0f0;
    transition: all 0.3s ease;
}

.search-result-item:last-child {
    border-bottom: none;
}

.search-result-item:hover {
    background-color: var(--bg-soft);
    transform: translateX(5px);
}

.search-result-image {
    width: 60px;
    height: 60px;
    flex-shrink: 0;
    border-radius: 6px;
    overflow: hidden;
    background-color: var(--bg-soft);
}

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

.search-result-info {
    flex: 1;
    min-width: 0;
}

.search-result-title {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 5px;
}

.search-result-category {
    font-size: 0.85rem;
    color: #6b6b6b;
    margin-bottom: 8px;
    text-transform: capitalize;
}

.search-result-price {
    margin: 0;
    font-weight: 700;
}

.search-result-price .old-price {
    color: #9b9b9b;
    text-decoration: line-through;
    margin-right: 10px;
    font-size: 0.9rem;
    font-weight: 400;
}

.search-result-price .current-price {
    color: var(--accent);
    font-size: 1.1rem;
}

.search-loading,
.search-no-results,
.search-error {
    padding: 30px;
    text-align: center;
    color: var(--primary);
    font-family: var(--font-body);
}

.search-loading {
    color: var(--accent);
}

.search-no-results {
    color: #6b6b6b;
}

.search-error {
    color: #d32f2f;
}

/* Scrollbar pour les résultats de recherche */
.search-results::-webkit-scrollbar {
    width: 8px;
}

.search-results::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.search-results::-webkit-scrollbar-thumb {
    background: var(--accent);
    border-radius: 4px;
}

.search-results::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
}

/* Responsive pour la barre de recherche */
@media (max-width: 768px) {
    .search-bar-container {
        padding: 15px 0;
    }

    .search-bar-wrapper {
        padding: 0 15px;
        flex-direction: column;
    }
    
    .search-input {
        font-size: 0.95rem;
        padding: 12px 15px;
        width: 100%;
        margin-bottom: 10px;
    }

    .search-close-btn {
        align-self: flex-end;
        margin-top: 10px;
    }
    
    .search-results {
        max-height: 60vh;
        padding: 10px 15px;
    }
    
    .search-result-item {
        padding: 10px;
        flex-direction: column;
    }
    
    .search-result-image {
        width: 80px;
        height: 80px;
        margin-right: 0;
        margin-bottom: 10px;
    }

    .search-result-info {
        text-align: center;
        width: 100%;
    }
    
    .search-result-title {
        font-size: 0.95rem;
        margin-bottom: 5px;
    }

    .search-result-category {
        font-size: 0.8rem;
    }

    .search-result-price {
        font-size: 0.9rem;
    }
}

@media (max-width: 576px) {
    .search-bar-wrapper {
        padding: 0 10px;
    }
    
    .search-input {
        font-size: 0.9rem;
        padding: 10px 12px;
    }

    .search-result-item {
        padding: 8px;
    }
    
    .search-result-image {
        width: 60px;
        height: 60px;
    }
    
    .search-result-title {
        font-size: 0.85rem;
    }

    .search-result-category {
        font-size: 0.75rem;
    }

    .search-result-price {
        font-size: 0.85rem;
    }
}

/* Notifications Toast */
.toast-container {
    margin-top: 80px; /* Espace sous la navbar */
}

.toast {
    min-width: 400px;
    max-width: 500px;
    height: 250px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    border-radius: 8px;
    font-family: var(--font-body);
}

.toast.show {
    opacity: 1;
}

.toast-header {
    padding: 16px 20px;
    font-weight: 600;
    font-size: 1.05rem;
}

.toast-body {
    padding: 16px 20px;
    font-size: 1rem;
}

.toast-body p {
    margin-bottom: 16px;
    line-height: 1.6;
    font-size: 1.05rem;
}

/* Toast succès : cohérent avec la charte (marron chocolat + beige) */
.toast.bg-success {
    background: linear-gradient(135deg, #C41E3A, #8B0000) !important;
    border-left: 4px solid var(--beige-dark) !important;
    color: #fff;
}

.toast.bg-success .toast-header {
    background-color: var(--primary) !important;
    color: #C41E3A !important;
}

.toast.bg-danger {
    background-color: #6B2A14 !important;
    border-left: 4px solid var(--beige-dark) !important;
    color: #fff;
}

.toast .btn-close {
    opacity: 0.8;
}

.toast .btn-close:hover {
    opacity: 1;
}

/* Bouton principal toast (Voir le panier) : beige/marron */
.toast.bg-success .btn-light {
    background-color: var(--beige-dark) !important;
    color: #C41E3A !important;
    border: none;
    font-weight: 500;
    padding: 10px 16px;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.toast.bg-success .btn-light:hover {
    background-color: #C41E3A !important;
    color: #C41E3A !important;
    transform: translateY(-1px);
}

/* Bouton secondaire toast (Continuer) : contour or */
.toast.bg-success .btn-outline-light {
    border: 1px solid var(--beige-dark);
    color: var(--beige-dark);
    font-weight: 500;
    padding: 10px 16px;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.toast.bg-success .btn-outline-light:hover {
    background-color: rgba(196, 30, 58, 0.2);
    border-color: #C41E3A;
    color: #C41E3A;
    transform: translateY(-1px);
}

.toast .d-flex.gap-2 {
    gap: 12px;
}

/* Animation d'entrée pour les toasts */
@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.toast.show {
    animation: slideInRight 0.3s ease-out;
}

/* Responsive pour les toasts */
@media (max-width: 576px) {
    .toast-container {
        left: 10px !important;
        right: 10px !important;
        padding: 10px !important;
    }
    
    .toast {
        min-width: auto;
        max-width: 100%;
        width: 100%;
    }
}

/* Réduire l'espace en haut pour toutes les pages avec pt-2 pb-5 mt-0 */
.container.pt-2.pb-5.mt-0 {
    margin-top: 0 !important;
    padding-top: 10px !important;
}

.container.pt-2.pb-5.mt-0 .section-title {
    margin-top: 0;
    margin-bottom: 25px;
}

.container.pt-2.pb-5.mt-0 .section-title h2 {
    margin-bottom: 15px;
}

/* Exception pour la section "Nos Univers" sur la page d'accueil */
body.home-page section.container.py-5 {
    padding-top: 2rem !important;
    padding-bottom: 2rem !important;
}

body.home-page section.container.py-5 .section-title {
    margin-bottom: 1.25rem;
}

body.home-page section.container.py-5 .section-title h2 {
    margin-bottom: 0.5rem;
}

/* Assurer que les champs de code promo sont bien éditables */
#promoCode,
#promoCodePanier,
input#promoCode,
input#promoCodePanier,
.form-control#promoCode,
.form-control#promoCodePanier {
    pointer-events: auto !important;
    user-select: text !important;
    -webkit-user-select: text !important;
    -moz-user-select: text !important;
    -ms-user-select: text !important;
    background-color: #fff !important;
    color: #000 !important;
    cursor: text !important;
    -webkit-touch-callout: default !important;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0.1) !important;
}

#promoCode:focus,
#promoCodePanier:focus,
input#promoCode:focus,
input#promoCodePanier:focus,
.form-control#promoCode:focus,
.form-control#promoCodePanier:focus {
    outline: none !important;
    border: 1px solid rgba(255, 255, 255, 0.9) !important;
    box-shadow: 0 2px 8px rgba(255, 255, 255, 0.4) !important;
    background-color: #fff !important;
}

/* Fix pour la modal de code promo - s'assurer qu'elle est interactive */
.modal#promoCodeModal {
    z-index: 1055 !important;
}

.modal#promoCodeModal.show {
    display: block !important;
}

.modal#promoCodeModal .modal-dialog {
    z-index: 1056 !important;
    pointer-events: none !important;
}

.modal#promoCodeModal .modal-content {
    z-index: 1057 !important;
    pointer-events: auto !important;
    position: relative;
}

.modal#promoCodeModal .modal-header,
.modal#promoCodeModal .modal-body,
.modal#promoCodeModal form,
.modal#promoCodeModal input,
.modal#promoCodeModal button,
.modal#promoCodeModal .btn-close,
.modal#promoCodeModal label {
    pointer-events: auto !important;
    position: relative;
}

.modal#promoCodeModal .btn-close {
    cursor: pointer !important;
    z-index: 1058 !important;
}

/* Le backdrop doit être en dessous de la modal et permettre les clics sur la modal */
.modal-backdrop {
    z-index: 1050 !important;
    pointer-events: auto !important;
}

.modal-backdrop.show {
    opacity: 0.5 !important;
}

/* S'assurer qu'aucun autre élément ne bloque */
body.modal-open {
    overflow: hidden;
    padding-right: 0 !important;
}

/* Empêcher les overlays de bloquer */
.search-bar-container {
    z-index: 1030 !important;
}

.whatsapp-float {
    z-index: 1020 !important;
}

/* ============================================
   Les Délices de Yass
   ============================================ */

/* 1. Motif géométrique très discret (évite qu'il apparaisse sur les sections à fond plein) */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(30deg, rgba(196, 30, 58, 0.02) 12%, transparent 12.5%, transparent 87%, rgba(196, 30, 58, 0.02) 87.5%),
        linear-gradient(150deg, rgba(196, 30, 58, 0.02) 12%, transparent 12.5%, transparent 87%, rgba(196, 30, 58, 0.02) 87.5%);
    background-size: 80px 140px;
    background-position: 0 0, 40px 70px;
    pointer-events: none;
    z-index: 0;
    opacity: 0.8;
}
body > * { position: relative; z-index: 1; }

/* Sections avec fond beige : motif un peu plus visible */
.section-femme, .section-parfum, .our-story-section, .philosophy-section,
body.home-page section.container.py-5 {
    position: relative;
}
body.home-page section.container.py-5::before,
.our-story-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image: radial-gradient(circle at 20% 30%, rgba(196, 30, 58, 0.04) 0%, transparent 50%),
                     radial-gradient(circle at 80% 70%, rgba(196, 30, 58, 0.15) 0%, transparent 40%);
    pointer-events: none;
    z-index: 0;
}
body.home-page section.container.py-5 .row,
body.home-page section.container.py-5 .section-title,
.our-story-section .container { position: relative; z-index: 1; }

/* 2. Hero plus percutant : titre avec animation d'entrée marquée */
.hero-title-hero {
    animation: heroTitleIn 1.2s cubic-bezier(0.22, 1, 0.36, 1) forwards;
    letter-spacing: 0.02em;
}
@keyframes heroTitleIn {
    0% {
        opacity: 0;
        transform: scale(0.92) translateY(40px);
        letter-spacing: 0.2em;
    }
    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
        letter-spacing: 0.02em;
    }
}

/* Bouton DÉCOUVRIR signature : même couleur que "Yass" + double bordure + léger glow */
.btn-hero-discover {
    position: relative;
    overflow: visible;
    border: 2px solid rgba(255,255,255,0.6) !important;
    box-shadow: 0 4px 24px rgba(201, 78, 78, 0.4), 0 0 0 1px rgba(255,255,255,0.2) inset !important;
    animation: heroBtnIn 1s cubic-bezier(0.22, 1, 0.36, 1) 0.4s both;
    transition: background 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease, transform 0.4s ease !important;
}
.btn-hero-discover:hover {
    background: #fbfaf9 !important;
    border-color: rgba(255,255,255,0.5) !important;
    box-shadow: 0 8px 32px rgba(201, 78, 78, 0.5), 0 0 20px rgba(201, 78, 78, 0.3), 0 0 0 1px rgba(255,255,255,0.3) inset !important;
    color: #8B0000;
}
@keyframes heroBtnIn {
    0% {
        opacity: 0;
        transform: translateY(25px) scale(0.96);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* 3. Titres de section : apparition au scroll */
.section-title.reveal-on-scroll h2,
.section-title h2.reveal-on-scroll {
    transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1), transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}
.section-title.reveal-on-scroll:not(.revealed) h2,
.section-title:not(.revealed) h2.reveal-on-scroll {
    opacity: 0;
    transform: translateY(28px);
}
.section-title.revealed h2,
.section-title.revealed h2.reveal-on-scroll {
    opacity: 1;
    transform: translateY(0);
}

/* Cartes produits section accueil : grande image, nom en majuscules, prix en dessous */
.home-products-section .product-card-home {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}
.home-products-section .product-card-home .product-img-wrapper {
    aspect-ratio: 1 / 1;
    border-radius: 10px 10px 0 0;
    overflow: hidden;
}
/* Même dimensions que le reste du site */
.home-products-section .product-card-home .product-img-wrapper img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}
.home-products-section .product-card-home .card-body {
    background: #fff;
    padding: 16px 18px 20px;
    text-align: left;
}
.home-products-section .product-card-home .product-title {
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #000 !important;
    margin-bottom: 8px;
    line-height: 1.3;
}
.home-products-section .product-card-home:hover .product-title {
    color: #000 !important;
}
.home-products-section .product-card-home .product-price {
    color: #000 !important;
    font-weight: 500;
    font-size: 0.95rem;
}
.home-products-section .product-card-home .product-price-old {
    color: #999 !important;
    font-weight: 400;
}
.home-products-section .product-card-home .product-price.promo-price {
    color: #000 !important;
    font-weight: 600;
}
.home-products-section .product-card-home:hover {
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.12);
    transform: translateY(-4px);
}
.home-products-section .product-card-home:hover .product-img-wrapper img {
    transform: scale(1.03);
}

/* 4. Cartes produits très voyantes : hover fort + ombre colorée */
.product-card {
    border-radius: 12px;
    transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.45s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.3s ease;
}
.product-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 20px 50px rgba(196, 30, 58, 0.18), 0 8px 24px rgba(0,0,0,0.1) !important;
}
.product-card:hover .product-img-wrapper img {
    transform: scale(1.08);
}
.product-card .product-img-wrapper {
    border-radius: 12px 12px 0 0;
    overflow: hidden;
}
.product-card .card-body {
    border-radius: 0 0 12px 12px;
}

/* Badge "Nouveau" / "Promo" plus visible sur les cartes */
.product-card .badge-new,
.product-card .badge-promo {
    font-weight: 700;
    letter-spacing: 0.08em;
    padding: 6px 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

/* 5. Cartes catégories (Nos Univers) : hover encore plus marqué */
.category-card {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(196, 30, 58, 0.12);
    transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.5s ease;
}
.category-card:hover {
    transform: translateY(-14px) scale(1.03);
    box-shadow: 0 24px 56px rgba(196, 30, 58, 0.22), 0 12px 28px rgba(0,0,0,0.12) !important;
}
.category-card:hover .category-img {
    transform: scale(1.12);
}
.category-overlay h3 {
    text-shadow: 0 3px 20px rgba(0,0,0,0.5);
}

/* Navbar fond blanc : fine ligne marron sous la barre */
.navbar::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(196, 30, 58, 0.35), transparent);
    opacity: 1;
}

/* 7. Boutons CTA : reflet au survol */
.btn-custom, .btn-primary, .btn-add-to-cart {
    position: relative;
    overflow: hidden;
}
.btn-custom:hover, .btn-primary:hover, .btn-add-to-cart:hover {
    box-shadow: 0 8px 28px rgba(196, 30, 58, 0.35) !important;
}

/* Page Connexion – logo, formulaire */
.connexion-form-logo {
    width: 80px;
    height: auto;
    display: block;
    background: #ffffff;
}
.connexion-card {
    border-radius: 12px;
    max-width: 400px;
    margin: 0 auto;
    background: #f8f7f7 !important;
}
.connexion-card .connexion-input {
    border: 1px solid #dbdbdb;
    border-radius: 8px;
    background: #ffffff;
    padding: 10px 14px;
}
.connexion-card .connexion-input:focus {
    border-color: #a8a8a8;
    background: #fff;
    box-shadow: none;
}
.connexion-card .connexion-password-wrap {
    position: relative;
}
.connexion-card .connexion-password-wrap .connexion-input {
    padding-right: 2.75rem;
}
.connexion-card .connexion-toggle-pwd {
    position: absolute;
    right: 0.5rem;
    top: 50%;
    transform: translateY(-50%);
    padding: 0.35rem 0.5rem;
    color: #666 !important;
    text-decoration: none !important;
    border: none;
    background: transparent;
}
.connexion-card .connexion-toggle-pwd:hover {
    color: #C41E3A !important;
}
.connexion-card .connexion-btn {
    background: #C41E3A;
    color: #ffffff;
    border: 1px solid #C41E3A;
    border-radius: 8px;
    font-weight: 600;
    padding: 10px;
}
.connexion-card .connexion-btn:hover {
    background: #8B0000;
    color: #ffffff;
    border-color: #8B0000;
}
.connexion-card p a:hover {
    text-decoration: underline !important;
}
