/* ===================================================================
   LA SPLENDEUR — Feuille de style principale
   Identité : élégance féminine, bleu pastel + blanc + rose poudré,
   touches bordeaux et dorées, motifs floraux discrets, cadre géométrique
   inspiré du logo.
   =================================================================== */

:root {
    /* Palette de marque */
    --bleu-pastel: #AEC9D6;
    --bleu-pastel-clair: #E4F0F5;
    --bleu-fonce: #4C7688;
    --blanc: #FFFFFF;
    --creme: #FBF8F6;
    --rose-poudre: #F3D9DE;
    --rose-vif: #D96C86;
    --bordeaux: #7A2036;
    --or: #C9A15A;
    --or-clair: #E9D6AC;
    --texte-principal: #3A3335;
    --texte-clair: #6E6567;
    --bordure: #E7DCD9;
    --ombre: 0 10px 30px rgba(122, 32, 54, 0.08);
    --ombre-legere: 0 4px 14px rgba(76, 118, 136, 0.12);
    --rayon: 16px;
    --rayon-sm: 10px;

    --whatsapp: #25D366;
}

/* ---------- Réinitialisation & base ---------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }

body {
    margin: 0;
    font-family: 'Poppins', 'Segoe UI', sans-serif;
    color: var(--texte-principal);
    background: var(--creme);
    overflow-x: hidden;
    line-height: 1.6;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; margin: 0; padding: 0; }
button { font-family: inherit; cursor: pointer; }

.font-elegante {
    font-family: 'Playfair Display', 'Georgia', serif;
}

.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}

.overflow-guard { max-width: 100vw; overflow-x: hidden; }

/* Motif floral discret réutilisable en fond de section */
.motif-floral {
    position: relative;
}
.motif-floral::before,
.motif-floral::after {
    content: "";
    position: absolute;
    width: 140px;
    height: 140px;
    background: radial-gradient(circle, rgba(217,108,134,0.12) 0%, rgba(217,108,134,0) 70%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
}
.motif-floral::before { top: -40px; left: -40px; }
.motif-floral::after { bottom: -40px; right: -40px; }

/* ---------- Boutons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.3px;
    border: 2px solid transparent;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease;
    white-space: nowrap;
}
.btn:active { transform: scale(0.97); }

.btn-primaire {
    background: linear-gradient(135deg, var(--bordeaux), var(--rose-vif));
    color: var(--blanc);
    box-shadow: var(--ombre);
}
.btn-primaire:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(122,32,54,0.22); }

.btn-secondaire {
    background: transparent;
    border-color: var(--bleu-fonce);
    color: var(--bleu-fonce);
}
.btn-secondaire:hover { background: var(--bleu-fonce); color: var(--blanc); }

.btn-or {
    background: linear-gradient(135deg, var(--or), var(--or-clair));
    color: var(--texte-principal);
}

.btn-whatsapp {
    background: var(--whatsapp);
    color: var(--blanc);
}
.btn-whatsapp:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(37,211,102,0.35); }

.btn-bloc { width: 100%; }
.btn-sm { padding: 9px 18px; font-size: 0.82rem; }
.btn[disabled] { opacity: 0.55; cursor: not-allowed; transform: none !important; }

/* ---------- Header ---------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255,255,255,0.96);
    backdrop-filter: blur(6px);
    border-bottom: 1px solid var(--bordure);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 20px;
    gap: 16px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--bordeaux);
    flex-shrink: 0;
}
.logo img { height: 44px; width: 44px; border-radius: 50%; object-fit: cover; }
.logo .slogan-mini {
    display: none;
    font-family: 'Poppins', sans-serif;
    font-size: 0.62rem;
    font-weight: 400;
    color: var(--texte-clair);
    letter-spacing: 0.5px;
}

.nav-principale {
    display: none;
}

.nav-principale ul {
    display: flex;
    gap: 26px;
}

.nav-principale a {
    font-size: 0.92rem;
    font-weight: 500;
    color: var(--texte-principal);
    position: relative;
    padding: 6px 0;
}
.nav-principale a::after {
    content: "";
    position: absolute;
    left: 0; right: 0; bottom: 0;
    height: 2px;
    background: var(--bordeaux);
    transform: scaleX(0);
    transition: transform 0.25s ease;
}
.nav-principale a:hover::after,
.nav-principale a.actif::after { transform: scaleX(1); }
.nav-principale a.actif { color: var(--bordeaux); }

.header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.icone-action {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--bleu-pastel-clair);
    color: var(--bleu-fonce);
    transition: background 0.2s ease;
    flex-shrink: 0;
}
.icone-action:hover { background: var(--rose-poudre); color: var(--bordeaux); }

.badge-panier {
    position: absolute;
    top: -4px;
    right: -4px;
    background: var(--bordeaux);
    color: var(--blanc);
    font-size: 0.65rem;
    font-weight: 700;
    min-width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
}

.btn-whatsapp-header {
    display: none;
}

.burger {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 42px;
    height: 42px;
    border: none;
    background: var(--bleu-pastel-clair);
    border-radius: 50%;
    align-items: center;
}
.burger span {
    width: 20px;
    height: 2px;
    background: var(--bordeaux);
    transition: all 0.25s ease;
}
.burger.ouvert span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.ouvert span:nth-child(2) { opacity: 0; }
.burger.ouvert span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Menu mobile plein écran
   Remarque technique : le panneau est masqué avec "right: -100%" (et non un
   transform:translateX), car un transform appliqué à un élément "fixed" en
   pleine largeur est pris en compte dans le calcul de la largeur scrollable
   du document par certains moteurs — ce qui peut créer un débordement
   horizontal fantôme même si rien n'est visible à l'écran. */
.mobile-menu {
    position: fixed;
    top: 68px;
    right: -100%;
    bottom: 0;
    width: 100%;
    background: var(--blanc);
    transition: right 0.3s ease;
    z-index: 999;
    overflow-y: auto;
    padding: 24px 20px 100px;
}
.mobile-menu.ouvert { right: 0; }
.mobile-menu ul { display: flex; flex-direction: column; gap: 4px; }
.mobile-menu a {
    display: block;
    padding: 14px 10px;
    font-size: 1.05rem;
    font-weight: 500;
    border-bottom: 1px solid var(--bordure);
}
.mobile-menu .mm-whatsapp {
    margin-top: 20px;
}

.barre-recherche {
    position: fixed;
    top: 0; left: 0; right: 0;
    background: var(--blanc);
    padding: 16px 20px;
    box-shadow: var(--ombre);
    z-index: 1100;
    display: none;
    gap: 10px;
}
.barre-recherche.ouverte { display: flex; }
.barre-recherche input {
    flex: 1;
    padding: 12px 16px;
    border-radius: 50px;
    border: 1px solid var(--bordure);
    font-size: 1rem;
}
.barre-recherche button {
    background: none;
    border: none;
    font-size: 1.4rem;
    color: var(--bordeaux);
}

/* ---------- Hero ---------- */
.hero {
    position: relative;
    background: linear-gradient(160deg, var(--bleu-pastel-clair) 0%, var(--rose-poudre) 100%);
    padding: 56px 0 70px;
    overflow: hidden;
}
.hero::before {
    content: "";
    position: absolute;
    width: 320px; height: 320px;
    border: 2px solid rgba(201,161,90,0.35);
    transform: rotate(20deg);
    top: -80px; right: -100px;
    border-radius: 30% 70% 65% 35% / 40% 45% 55% 60%;
}
.hero::after {
    content: "🌹";
    position: absolute;
    font-size: 3rem;
    opacity: 0.25;
    bottom: 10px;
    left: 6%;
    transform: rotate(-15deg);
}
.hero-inner {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 32px;
    align-items: center;
    text-align: center;
}
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--blanc);
    padding: 8px 18px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--bordeaux);
    box-shadow: var(--ombre-legere);
}
.hero h1 {
    font-size: 2.4rem;
    margin: 0;
    color: var(--bordeaux);
    line-height: 1.15;
}
.hero .hero-slogan {
    font-size: 1.15rem;
    color: var(--texte-principal);
    max-width: 480px;
    margin: 0 auto;
}
.hero .hero-tagline {
    display: inline-block;
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-size: 1.05rem;
    color: var(--or);
    background: var(--blanc);
    padding: 6px 20px;
    border-radius: 50px;
    box-shadow: var(--ombre-legere);
}
.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    justify-content: center;
}
.hero-visuel {
    width: 100%;
    max-width: 480px;
    border-radius: var(--rayon);
    overflow: hidden;
    box-shadow: var(--ombre);
    border: 6px solid var(--blanc);
}

/* ---------- Titres de section ---------- */
.section { padding: 60px 0; position: relative; }
.section-alt { background: var(--bleu-pastel-clair); }
.section-header {
    text-align: center;
    max-width: 620px;
    margin: 0 auto 36px;
}
.section-eyebrow {
    display: inline-block;
    color: var(--rose-vif);
    font-weight: 700;
    letter-spacing: 1px;
    font-size: 0.8rem;
    text-transform: uppercase;
    margin-bottom: 8px;
}
.section-header h2 {
    font-size: 1.85rem;
    color: var(--bordeaux);
    margin: 0 0 10px;
}
.section-header p {
    color: var(--texte-clair);
    margin: 0;
}

/* ---------- Grille produits & cartes ---------- */
.grille-produits {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.carte-produit {
    background: var(--blanc);
    border-radius: var(--rayon);
    overflow: hidden;
    box-shadow: var(--ombre-legere);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    animation: apparition 0.5s ease both;
}
.carte-produit:hover { transform: translateY(-6px); box-shadow: var(--ombre); }

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

.carte-produit-media {
    position: relative;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    background: var(--bleu-pastel-clair);
}
.carte-produit-media img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.carte-produit:hover .carte-produit-media img { transform: scale(1.06); }

.badges-produit {
    position: absolute;
    top: 10px; left: 10px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.badge {
    font-size: 0.68rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 50px;
    color: var(--blanc);
    letter-spacing: 0.3px;
}
.badge-nouveau { background: var(--bleu-fonce); }
.badge-promo { background: var(--bordeaux); }
.badge-rupture { background: #8a8a8a; }

.carte-produit-corps {
    padding: 14px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
}
.carte-produit-cat {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--rose-vif);
    font-weight: 600;
}
.carte-produit-nom {
    font-size: 0.98rem;
    font-weight: 600;
    color: var(--texte-principal);
    margin: 0;
    line-height: 1.3;
}
.carte-produit-options {
    font-size: 0.75rem;
    color: var(--texte-clair);
}
.carte-produit-prix {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-top: auto;
}
.prix-actuel { font-weight: 700; color: var(--bordeaux); font-size: 1.05rem; }
.prix-barre { text-decoration: line-through; color: var(--texte-clair); font-size: 0.85rem; }
.reduction-pct { color: var(--rose-vif); font-weight: 700; font-size: 0.8rem; }

.carte-produit-actions {
    display: flex;
    gap: 8px;
    margin-top: 6px;
}
.carte-produit-actions .btn { flex: 1; padding: 10px 8px; font-size: 0.78rem; }

/* ---------- Catégories ---------- */
.grille-categories {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}
.carte-categorie {
    position: relative;
    border-radius: var(--rayon);
    overflow: hidden;
    aspect-ratio: 1 / 1;
    box-shadow: var(--ombre-legere);
    transition: transform 0.3s ease;
}
.carte-categorie:hover { transform: translateY(-4px); }
.carte-categorie img {
    width: 100%; height: 100%; object-fit: cover;
}
.carte-categorie-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(122,32,54,0) 40%, rgba(58,18,27,0.75) 100%);
    display: flex;
    align-items: flex-end;
    padding: 14px;
}
.carte-categorie-overlay span {
    color: var(--blanc);
    font-weight: 600;
    font-size: 0.95rem;
}

/* ---------- Promotions ---------- */
.bandeau-promo {
    background: linear-gradient(135deg, var(--bordeaux), #A13556);
    color: var(--blanc);
    border-radius: var(--rayon);
    padding: 22px;
    text-align: center;
    margin-bottom: 30px;
}
.bandeau-promo h3 { margin: 0 0 6px; font-size: 1.3rem; }
.bandeau-promo p { margin: 0; opacity: 0.9; }

/* ---------- À propos ---------- */
.apropos-bloc {
    display: flex;
    flex-direction: column;
    gap: 26px;
    align-items: center;
}
.apropos-texte { text-align: center; max-width: 560px; }
.apropos-texte h2 { color: var(--bordeaux); font-size: 1.8rem; }
.apropos-image {
    border-radius: var(--rayon);
    overflow: hidden;
    box-shadow: var(--ombre);
    border: 6px solid var(--blanc);
    max-width: 420px;
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
}
.valeurs-liste {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    width: 100%;
    max-width: 480px;
}
.valeur-item {
    background: var(--blanc);
    border-radius: var(--rayon-sm);
    padding: 16px;
    text-align: center;
    box-shadow: var(--ombre-legere);
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--bleu-fonce);
}
.valeur-item span { display: block; font-size: 1.6rem; margin-bottom: 6px; }

/* ---------- Contact ---------- */
.contact-carte {
    background: var(--blanc);
    border-radius: var(--rayon);
    box-shadow: var(--ombre);
    padding: 32px 24px;
    text-align: center;
    max-width: 520px;
    margin: 0 auto;
}
.contact-carte h3 { color: var(--bordeaux); margin-top: 0; }
.contact-ligne {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin: 10px 0;
    color: var(--texte-clair);
}

/* ---------- Footer ---------- */
.site-footer {
    background: #2C1620;
    color: #EADFE2;
    padding: 50px 0 24px;
    margin-top: 20px;
}
.footer-grille {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    margin-bottom: 30px;
}
.footer-logo { font-size: 1.4rem; color: var(--blanc); margin-bottom: 10px; }
.footer-col h4 {
    color: var(--or-clair);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    margin-bottom: 14px;
}
.footer-col ul li { margin-bottom: 8px; }
.footer-col a { color: #D9C7CC; font-size: 0.9rem; transition: color 0.2s; }
.footer-col a:hover { color: var(--or-clair); }
.footer-social { display: flex; gap: 12px; margin-top: 12px; }
.footer-social a {
    width: 36px; height: 36px;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
    display: flex; align-items: center; justify-content: center;
}
.footer-bas {
    border-top: 1px solid rgba(255,255,255,0.12);
    padding-top: 18px;
    text-align: center;
    font-size: 0.8rem;
    color: #B9A7AC;
}

/* ---------- Bouton WhatsApp flottant ---------- */
.whatsapp-flottant {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1200;
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--whatsapp);
    color: var(--blanc);
    padding: 12px 16px;
    border-radius: 50px;
    box-shadow: 0 10px 26px rgba(37,211,102,0.4);
    font-weight: 600;
    font-size: 0.85rem;
    animation: pulse-whatsapp 2.4s infinite;
}
.whatsapp-flottant .wf-texte { display: none; }
.whatsapp-flottant .wf-icone { font-size: 1.5rem; }
@keyframes pulse-whatsapp {
    0%, 100% { box-shadow: 0 10px 26px rgba(37,211,102,0.4); }
    50% { box-shadow: 0 10px 30px rgba(37,211,102,0.7); }
}

/* ---------- Fil d'ariane / page interne ---------- */
.page-entete {
    background: var(--bleu-pastel-clair);
    padding: 34px 0;
    text-align: center;
}
.page-entete h1 { color: var(--bordeaux); margin: 0 0 6px; font-size: 1.7rem; }
.fil-ariane { font-size: 0.85rem; color: var(--texte-clair); }
.fil-ariane a { color: var(--bleu-fonce); font-weight: 600; }

/* ---------- Boutique : filtres ---------- */
.boutique-layout {
    display: flex;
    flex-direction: column;
    gap: 24px;
}
.filtres-toggle-mobile {
    display: flex;
    gap: 10px;
}
.filtres-panel {
    display: none;
    background: var(--blanc);
    border-radius: var(--rayon);
    padding: 20px;
    box-shadow: var(--ombre-legere);
    height: fit-content;
}
.filtres-panel.ouvert { display: block; }
.filtre-groupe { margin-bottom: 22px; }
.filtre-groupe h4 {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    color: var(--bordeaux);
    margin-bottom: 10px;
}
.filtre-option {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.88rem;
    padding: 5px 0;
    color: var(--texte-principal);
}
.filtre-couleurs { display: flex; flex-wrap: wrap; gap: 8px; }
.pastille-couleur {
    width: 26px; height: 26px;
    border-radius: 50%;
    border: 2px solid var(--bordure);
    cursor: pointer;
}
.pastille-couleur.selectionnee { border-color: var(--bordeaux); box-shadow: 0 0 0 2px var(--rose-poudre); }
.range-prix { width: 100%; }

.boutique-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 18px;
    flex-wrap: wrap;
    gap: 10px;
}
.boutique-resultats { font-size: 0.85rem; color: var(--texte-clair); }
.select-tri {
    padding: 8px 14px;
    border-radius: 50px;
    border: 1px solid var(--bordure);
    background: var(--blanc);
}
.aucun-resultat {
    text-align: center;
    padding: 60px 20px;
    color: var(--texte-clair);
}

/* ---------- Page produit ---------- */
.produit-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
}
.galerie-principale {
    border-radius: var(--rayon);
    overflow: hidden;
    box-shadow: var(--ombre-legere);
    aspect-ratio: 3/4;
    background: var(--bleu-pastel-clair);
}
.galerie-principale img { width: 100%; height: 100%; object-fit: cover; }
.galerie-miniatures {
    display: flex;
    gap: 10px;
    margin-top: 12px;
    overflow-x: auto;
    padding-bottom: 4px;
}
.galerie-miniatures img {
    width: 70px; height: 70px;
    object-fit: cover;
    border-radius: var(--rayon-sm);
    border: 2px solid transparent;
    cursor: pointer;
    flex-shrink: 0;
}
.galerie-miniatures img.actif { border-color: var(--bordeaux); }

.produit-info h1 { color: var(--texte-principal); font-size: 1.6rem; margin: 6px 0; }
.produit-prix-bloc { display: flex; align-items: baseline; gap: 12px; margin: 14px 0; }
.produit-prix-bloc .prix-actuel { font-size: 1.6rem; }
.produit-disponibilite { font-size: 0.85rem; font-weight: 600; margin-bottom: 16px; }
.dispo-oui { color: #2E7D32; }
.dispo-non { color: var(--bordeaux); }

.selecteur-groupe { margin-bottom: 20px; }
.selecteur-groupe label {
    display: block;
    font-weight: 600;
    font-size: 0.85rem;
    margin-bottom: 8px;
    color: var(--texte-principal);
}
.options-taille { display: flex; flex-wrap: wrap; gap: 8px; }
.option-taille {
    border: 1px solid var(--bordure);
    background: var(--blanc);
    padding: 8px 16px;
    border-radius: var(--rayon-sm);
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}
.option-taille.selectionne, .option-taille:hover { border-color: var(--bordeaux); color: var(--bordeaux); background: var(--rose-poudre); }

.options-couleur { display: flex; flex-wrap: wrap; gap: 10px; }
.option-couleur {
    width: 34px; height: 34px;
    border-radius: 50%;
    border: 2px solid var(--bordure);
    cursor: pointer;
    position: relative;
}
.option-couleur.selectionne { border-color: var(--bordeaux); box-shadow: 0 0 0 2px var(--rose-poudre); }

.selecteur-quantite {
    display: inline-flex;
    align-items: center;
    border: 1px solid var(--bordure);
    border-radius: 50px;
    overflow: hidden;
}
.selecteur-quantite button {
    width: 42px; height: 42px;
    background: var(--bleu-pastel-clair);
    border: none;
    font-size: 1.1rem;
    color: var(--bordeaux);
}
.selecteur-quantite input {
    width: 50px;
    text-align: center;
    border: none;
    font-weight: 700;
    font-size: 1rem;
}

.produit-actions { display: flex; flex-direction: column; gap: 10px; margin-top: 20px; }
.note-livraison {
    margin-top: 18px;
    background: var(--bleu-pastel-clair);
    border-radius: var(--rayon-sm);
    padding: 12px 16px;
    font-size: 0.82rem;
    color: var(--bleu-fonce);
}
.produit-description { margin-top: 28px; }
.produit-description h3 { color: var(--bordeaux); font-size: 1.1rem; }

/* ---------- Panier ---------- */
.panier-vide { text-align: center; padding: 60px 20px; }
.panier-vide .icone-vide { font-size: 3.5rem; margin-bottom: 16px; }
.panier-table { display: flex; flex-direction: column; gap: 14px; }
.ligne-panier {
    display: grid;
    grid-template-columns: 70px 1fr;
    gap: 14px;
    background: var(--blanc);
    border-radius: var(--rayon-sm);
    padding: 14px;
    box-shadow: var(--ombre-legere);
    align-items: center;
}
.ligne-panier img { width: 70px; height: 70px; object-fit: cover; border-radius: 10px; }
.ligne-panier-nom { font-weight: 600; margin: 0 0 4px; }
.ligne-panier-options { font-size: 0.78rem; color: var(--texte-clair); margin-bottom: 8px; }
.ligne-panier-bas { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
.ligne-panier-prix { font-weight: 700; color: var(--bordeaux); }
.lien-supprimer { color: var(--texte-clair); font-size: 0.8rem; text-decoration: underline; }
.lien-supprimer:hover { color: var(--bordeaux); }

.recap-panier {
    background: var(--blanc);
    border-radius: var(--rayon);
    box-shadow: var(--ombre);
    padding: 22px;
    margin-top: 24px;
}
.recap-ligne { display: flex; justify-content: space-between; margin-bottom: 10px; font-size: 0.92rem; }
.recap-total { font-size: 1.2rem; font-weight: 700; color: var(--bordeaux); border-top: 1px solid var(--bordure); padding-top: 12px; margin-top: 6px; }

/* ---------- Formulaire commande ---------- */
.form-commande { display: flex; flex-direction: column; gap: 16px; }
.champ-groupe { display: flex; flex-direction: column; gap: 6px; }
.champ-groupe label { font-size: 0.85rem; font-weight: 600; }
.champ-groupe input,
.champ-groupe textarea,
.champ-groupe select {
    padding: 12px 14px;
    border-radius: var(--rayon-sm);
    border: 1px solid var(--bordure);
    font-family: inherit;
    font-size: 0.95rem;
    width: 100%;
}
.champ-groupe input:focus,
.champ-groupe textarea:focus { outline: none; border-color: var(--bordeaux); }
.champ-erreur { color: var(--bordeaux); font-size: 0.78rem; display: none; }

.modal-overlay {
    position: fixed; inset: 0;
    background: rgba(58,18,27,0.55);
    display: none;
    align-items: flex-end;
    justify-content: center;
    z-index: 1300;
}
.modal-overlay.ouvert { display: flex; }
.modal-box {
    background: var(--blanc);
    width: 100%;
    max-width: 520px;
    border-radius: 24px 24px 0 0;
    padding: 26px 22px 30px;
    max-height: 90vh;
    overflow-y: auto;
    animation: monte-modal 0.3s ease;
}
@keyframes monte-modal { from { transform: translateY(40px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
.modal-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.modal-header h3 { color: var(--bordeaux); margin: 0; }
.modal-fermer { background: none; border: none; font-size: 1.4rem; color: var(--texte-clair); }

/* ---------- Notification toast ---------- */
.toast {
    position: fixed;
    bottom: 90px;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    background: var(--bordeaux);
    color: var(--blanc);
    padding: 12px 22px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    box-shadow: var(--ombre);
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
    z-index: 1400;
    max-width: 90vw;
    text-align: center;
}
.toast.visible { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ---------- Utilitaires ---------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.skeleton {
    background: linear-gradient(90deg, #eee 25%, #f5f5f5 50%, #eee 75%);
    background-size: 200% 100%;
    animation: skeleton-anim 1.4s infinite;
}
@keyframes skeleton-anim { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }

/* ===================================================================
   RESPONSIVE — mobile-first, points de rupture testés :
   320 / 375 / 390 / 414 / 768 / 1024 / 1366 / 1920
   =================================================================== */

@media (min-width: 560px) {
    .grille-produits { grid-template-columns: repeat(3, 1fr); }
    .grille-categories { grid-template-columns: repeat(3, 1fr); }
    .valeurs-liste { grid-template-columns: repeat(4, 1fr); }
    .footer-grille { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 768px) {
    .hero h1 { font-size: 3rem; }
    .hero-inner { flex-direction: row; text-align: left; align-items: center; }
    .hero-texte { flex: 1; }
    .hero-texte .hero-slogan { margin: 0; }
    .hero-actions { justify-content: flex-start; }
    .hero-visuel { flex: 1; }

    .apropos-bloc { flex-direction: row; text-align: left; }
    .apropos-texte { text-align: left; }

    .produit-layout { grid-template-columns: 1fr 1fr; align-items: start; }

    .boutique-layout { flex-direction: row; }
    .filtres-panel { display: block; width: 260px; flex-shrink: 0; position: sticky; top: 90px; }
    .filtres-toggle-mobile { display: none; }
    .boutique-contenu { flex: 1; }

    .ligne-panier { grid-template-columns: 90px 1fr; }
    .ligne-panier img { width: 90px; height: 90px; }

    .whatsapp-flottant .wf-texte { display: block; }

    .panier-grille { grid-template-columns: 2fr 1fr !important; align-items: start; }
    .recap-panier { position: sticky; top: 90px; }
}

@media (min-width: 900px) {
    .nav-principale { display: block; }
    .burger { display: none; }
    .logo .slogan-mini { display: block; }
    .btn-whatsapp-header { display: inline-flex; }
    .grille-produits { grid-template-columns: repeat(4, 1fr); }
    .grille-categories { grid-template-columns: repeat(5, 1fr); }
    .footer-grille { grid-template-columns: 2fr 1fr 1fr 1.4fr; }
    .modal-overlay { align-items: center; }
    .modal-box { border-radius: 24px; }
}

@media (min-width: 1200px) {
    .hero h1 { font-size: 3.4rem; }
    .section { padding: 80px 0; }
}
