/* ==== style.css ==== */
/* ============================================================
   Eclosion+ · Design System Premium — Santé & Pharmacie
   Police : DM Serif Display (titres) + Nunito (corps)
   Charte : chaque zone a son identité couleur propre
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=DM+Serif+Display:ital@0;1&family=Nunito:wght@300;400;500;600;700;800;900&display=swap');

/* ============================================================
   1 · TOKENS GLOBAUX
   ============================================================ */
:root {
    /* ── Vert Médical (santé, vitalité, nature) ── */
    --med-green:        #00875A;
    --med-green-dark:   #005C3D;
    --med-green-mid:    #00A86B;
    --med-green-light:  #C8F0DE;
    --med-green-soft:   #E8F9F2;
    --med-green-rgb:    0, 135, 90;

    /* ── Saphir Médical (confiance, autorité, sciences) ── */
    --pharma-blue:      #003566;
    --pharma-blue-dark: #001A3A;
    --pharma-blue-mid:  #1A5296;
    --pharma-blue-light:#D0E4FF;
    --pharma-blue-soft: #EBF3FF;
    --pharma-blue-rgb:  0, 53, 102;

    /* ── Cyan Santé (fraîcheur, clarté, hygiène) ── */
    --cyan-health:      #0096C7;
    --cyan-dark:        #005F7F;
    --cyan-light:       #CAF0F8;
    --cyan-soft:        #E8F8FD;
    --cyan-rgb:         0, 150, 199;

    /* ── Ambre Vitalité (énergie, CTA, urgence) ── */
    --amber-vita:       #F77F00;
    --amber-dark:       #B85C00;
    --amber-light:      #FFE0B2;
    --amber-soft:       #FFF5E6;
    --amber-rgb:        247, 127, 0;

    /* ── Corail Soin (douceur, beauté, bien-être) ── */
    --coral-care:       #E05263;
    --coral-dark:       #A8273A;
    --coral-light:      #FFD0D8;
    --coral-soft:       #FFF0F2;

    /* ── Lavande Organisation (filtres, structure) ── */
    --lavender-org:     #5C6BC0;
    --lavender-dark:    #3A4899;
    --lavender-light:   #E3E6FA;
    --lavender-soft:    #F4F5FE;

    /* ── Teal Équilibre (accent secondaire) ── */
    --teal-balance:     #00B4A0;
    --teal-dark:        #007A6E;
    --teal-light:       #B2EDE7;
    --teal-soft:        #E6FAF8;
    --teal-rgb:         0, 180, 160;

    /* ── Or Premium (prix, étoiles, accroche) ── */
    --gold-premium:     #D4A017;
    --gold-dark:        #9B7200;
    --gold-light:       #FFF0B2;
    --gold-soft:        #FFFAE8;

    /* ── Surfaces & typographie ── */
    --surface-base:     #F5F7FA;
    --surface-card:     #FFFFFF;
    --surface-muted:    #EEF2F7;
    --surface-deep:     #E3E9F0;

    --border:           #D8E2EC;
    --border-strong:    #BFD0E0;

    --text-primary:     #0D1B2A;
    --text-secondary:   #3A5068;
    --text-muted:       #6E8CA8;
    --text-inverse:     #FFFFFF;

    /* ── Dégradés identité ── */
    --grad-brand:       linear-gradient(135deg, var(--med-green) 0%, var(--teal-balance) 50%, var(--pharma-blue) 100%);
    --grad-hero:        linear-gradient(145deg, var(--pharma-blue-dark) 0%, var(--pharma-blue) 40%, var(--med-green-dark) 100%);
    --grad-topbar:      linear-gradient(90deg, var(--med-green-dark), var(--med-green-mid), var(--teal-balance));
    --grad-nav:         linear-gradient(90deg, var(--pharma-blue-dark) 0%, var(--pharma-blue) 60%, var(--pharma-blue-mid) 100%);
    --grad-cta:         linear-gradient(135deg, var(--amber-vita), #FF9A00);
    --grad-action:      linear-gradient(135deg, var(--med-green), var(--teal-balance));
    --grad-filter:      linear-gradient(135deg, var(--lavender-org), var(--pharma-blue-mid));
    --grad-footer:      linear-gradient(180deg, var(--pharma-blue-dark) 0%, #001A40 60%, #000D20 100%);
    --grad-gold:        linear-gradient(135deg, var(--gold-dark), var(--gold-premium), #F0C040);

    /* ── Ombres tonales ── */
    --shadow-xs:        0 1px 4px rgba(0,53,102,0.06);
    --shadow-sm:        0 3px 10px rgba(0,53,102,0.08);
    --shadow-md:        0 8px 28px rgba(0,53,102,0.12);
    --shadow-lg:        0 16px 48px rgba(0,53,102,0.16);
    --shadow-green:     0 8px 24px rgba(var(--med-green-rgb),0.28);
    --shadow-amber:     0 8px 24px rgba(var(--amber-rgb),0.30);
    --shadow-cyan:      0 8px 24px rgba(var(--cyan-rgb),0.28);

    /* ── Forme & transition ── */
    --r-sm:   8px;
    --r-md:   12px;
    --r-lg:   18px;
    --r-xl:   24px;
    --r-full: 9999px;
    --ease:   cubic-bezier(0.4, 0, 0.2, 1);
    --dur:    0.28s;
    --trans:  var(--dur) var(--ease);
}

/* ============================================================
   2 · RESET & BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; }

html { scroll-behavior: smooth; }

body {
    font-family: 'Nunito', sans-serif;
    color: var(--text-primary);
    background: var(--surface-base);
    overflow-x: hidden;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    font-size: 15px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}

main, .page-content { flex: 1; }

h1, h2, h3 {
    font-family: 'DM Serif Display', serif;
    font-weight: 400;
    color: var(--pharma-blue);
    line-height: 1.2;
}

h4, h5, h6 {
    font-family: 'Nunito', sans-serif;
    font-weight: 700;
    color: var(--pharma-blue);
}

a {
    color: var(--med-green);
    text-decoration: none;
    transition: color var(--trans);
}
a:hover { color: var(--pharma-blue); }

/* ============================================================
   3 · TOP BAR — Vert Médical
   ============================================================ */
.top-bar {
    background: var(--grad-topbar);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    padding: 0.45rem 0;
    position: relative;
    overflow: hidden;
}

.top-bar::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
}

.top-bar i {
    color: var(--gold-light) !important;
    filter: drop-shadow(0 0 4px rgba(212,160,23,0.5));
}

.top-bar .text-white-50 {
    color: rgba(255,255,255,0.75) !important;
}

/* ============================================================
   4 · HEADER / NAVBAR — Blanc + Saphir
   ============================================================ */
.main-header {
    position: sticky;
    top: 0;
    z-index: 1030;
    background: var(--surface-card);
    box-shadow: 0 2px 0 var(--border), var(--shadow-sm);
    transition: box-shadow var(--trans);
}

.main-header.header-scrolled {
    box-shadow: 0 4px 24px rgba(var(--pharma-blue-rgb),0.14);
}

/* ── Barre navigation milieu ── */
.navbar-middle {
    background: var(--surface-card) !important;
    color: var(--text-primary) !important;
    padding: 0.9rem 0 !important;
    border-bottom: 2px solid var(--border) !important;
}

/* ── Logo ── */
.logo-text-only { display: inline-block; line-height: 1; }

.logo-brand {
    font-family: 'DM Serif Display', serif;
    font-size: clamp(1.5rem, 3vw, 1.85rem);
    font-weight: 400;
    letter-spacing: -0.01em;
    background: var(--grad-brand);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.logo-brand .logo-plus {
    -webkit-text-fill-color: var(--amber-vita);
    color: var(--amber-vita);
    font-weight: 900;
    font-family: 'Nunito', sans-serif;
}

.navbar-middle .text-white { color: var(--text-primary) !important; }
.navbar-middle .text-muted { color: var(--text-muted) !important; }

/* ── Barre de recherche — Cyan ── */
.search-form .input-group {
    border-radius: var(--r-full);
    overflow: hidden;
    border: 2px solid var(--border-strong);
    transition: border-color var(--trans), box-shadow var(--trans);
    background: var(--surface-card);
}

.search-form .input-group:focus-within {
    border-color: var(--cyan-health);
    box-shadow: 0 0 0 4px rgba(var(--cyan-rgb),0.15);
}

.search-form .form-control {
    border: none !important;
    padding: 0.65rem 1.15rem;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-primary);
    background: transparent;
}

.search-form .form-control::placeholder {
    color: var(--text-muted);
    font-style: italic;
}

.search-form .btn-search {
    background: linear-gradient(135deg, var(--cyan-health), var(--teal-balance)) !important;
    border: none !important;
    color: var(--text-inverse) !important;
    padding: 0 1.35rem;
    font-weight: 700;
    border-radius: 0 var(--r-full) var(--r-full) 0;
    transition: opacity var(--trans), transform var(--trans);
}

.search-form .btn-search:hover {
    opacity: 0.9;
    transform: none;
}

/* ── Nav secondaire — Saphir ── */
.nav-secondary {
    background: var(--grad-nav) !important;
    padding: 0 !important;
    box-shadow: 0 3px 12px rgba(var(--pharma-blue-rgb),0.25);
}

.nav-secondary .container-fluid { padding: 0; }

.nav-secondary .hover-link {
    color: rgba(255,255,255,0.85) !important;
    white-space: nowrap;
    padding: 0.7rem 0.9rem;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    border-bottom: 3px solid transparent;
    transition: all var(--trans);
}

.nav-secondary .hover-link i {
    font-size: 0.8rem;
    opacity: 0.8;
}

.nav-secondary .hover-link:hover {
    color: #FFFFFF !important;
    border-bottom-color: var(--amber-vita);
    background: rgba(255,255,255,0.07);
}

.nav-secondary .hover-link.active {
    color: #FFFFFF !important;
    border-bottom-color: var(--teal-light);
    background: rgba(255,255,255,0.1);
}

/* Bouton rayons — Amber ── */
.nav-secondary .btn-rayons {
    background: var(--grad-cta) !important;
    border: none !important;
    font-weight: 800;
    font-size: 0.82rem;
    border-radius: var(--r-full);
    padding: 0.5rem 1.1rem;
    box-shadow: var(--shadow-amber);
    transition: transform var(--trans), box-shadow var(--trans);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin: 0.35rem 0;
}

.nav-secondary .btn-rayons:hover {
    transform: scale(1.04);
    box-shadow: 0 0 20px rgba(var(--amber-rgb),0.5);
}

/* ── Panier — identité propre ── */
.cart-link-header {
    position: relative !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--pharma-blue) !important;
    text-decoration: none;
    padding: 0.5rem;
    border-radius: var(--r-md);
    transition: background var(--trans);
}

.cart-link-header:hover {
    background: var(--pharma-blue-soft);
}

.cart-link-header i {
    font-size: 1.55rem;
    color: var(--pharma-blue);
}

#cart-count {
    background: var(--grad-cta) !important;
    color: var(--text-inverse) !important;
    border: 2px solid var(--surface-card) !important;
    font-size: 0.62rem;
    font-weight: 900;
    box-shadow: 0 2px 8px rgba(var(--amber-rgb),0.4);
    animation: cartPulse 2s ease infinite;
}

@keyframes cartPulse {
    0%, 100% { transform: scale(1); }
    50%       { transform: scale(1.12); }
}

/* ── Dropdown compte ── */
.dropdown-menu {
    border-radius: var(--r-lg);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    padding: 0.4rem;
}

.dropdown-item {
    border-radius: var(--r-sm);
    padding: 0.55rem 0.9rem;
    font-weight: 600;
    font-size: 0.88rem;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 0.6rem;
    transition: all var(--trans);
}

.dropdown-item i {
    width: 1.1rem;
    text-align: center;
    color: var(--teal-balance);
}

.dropdown-item:hover {
    background: var(--med-green-soft);
    color: var(--med-green-dark);
}

.dropdown-item:hover i {
    color: var(--med-green);
}

/* ============================================================
   5 · FORMULAIRES — Focus Cyan
   ============================================================ */
.form-control, .form-select {
    color: var(--text-primary);
    background-color: var(--surface-card);
    border: 1.5px solid var(--border);
    border-radius: var(--r-md);
    padding: 0.65rem 0.95rem;
    font-family: 'Nunito', sans-serif;
    font-weight: 500;
    font-size: 0.9rem;
    transition: border-color var(--trans), box-shadow var(--trans);
}

.form-control::placeholder { color: var(--text-muted); font-style: italic; }

.form-control:focus, .form-select:focus {
    color: var(--text-primary);
    background-color: var(--surface-card);
    border-color: var(--cyan-health);
    box-shadow: 0 0 0 3px rgba(var(--cyan-rgb), 0.18);
    outline: none;
}

/* ============================================================
   6 · BOUTONS — Palette différenciée
   ============================================================ */

/* ── Primaire Vert (action santé) ── */
.btn-success,
.btn-success:focus {
    background: var(--grad-action);
    border: none;
    color: var(--text-inverse);
    font-family: 'Nunito', sans-serif;
    font-weight: 800;
    font-size: 0.88rem;
    letter-spacing: 0.02em;
    border-radius: var(--r-full);
    padding: 0.6rem 1.5rem;
    transition: transform var(--trans), box-shadow var(--trans);
}

.btn-success:hover {
    background: linear-gradient(135deg, var(--med-green-mid), var(--teal-balance));
    color: var(--text-inverse);
    transform: translateY(-2px);
    box-shadow: var(--shadow-green);
}

/* ── CTA Amber (panier, achat, alerte) ── */
.btn-warning {
    background: var(--grad-cta) !important;
    border: none !important;
    color: var(--text-inverse) !important;
    font-weight: 800;
    border-radius: var(--r-full);
    padding: 0.6rem 1.5rem;
    transition: transform var(--trans), box-shadow var(--trans) !important;
}

.btn-warning:hover {
    transform: translateY(-2px) !important;
    box-shadow: var(--shadow-amber) !important;
    opacity: 1 !important;
}

/* ── Outline Saphir (action secondaire) ── */
.btn-outline-success {
    border: 2px solid var(--med-green);
    color: var(--med-green);
    background: transparent;
    border-radius: var(--r-full);
    font-weight: 700;
    padding: 0.55rem 1.35rem;
    transition: all var(--trans);
}

.btn-outline-success:hover {
    background: var(--grad-action);
    border-color: transparent;
    color: var(--text-inverse);
    transform: translateY(-2px);
    box-shadow: var(--shadow-green);
}

/* ── Bouton Saphir (navigation/info) ── */
.btn-primary {
    background: linear-gradient(135deg, var(--pharma-blue), var(--pharma-blue-mid)) !important;
    border: none !important;
    color: var(--text-inverse) !important;
    font-weight: 700;
    border-radius: var(--r-full);
    transition: transform var(--trans), box-shadow var(--trans);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(var(--pharma-blue-rgb),0.35) !important;
}

/* ── Bouton Cyan (recherche/filtre) ── */
.btn-info {
    background: linear-gradient(135deg, var(--cyan-health), var(--teal-balance)) !important;
    border: none !important;
    color: var(--text-inverse) !important;
    font-weight: 700;
    border-radius: var(--r-full);
    transition: all var(--trans);
}

.btn-info:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-cyan) !important;
}

/* ── Bouton Gradient générique ── */
.btn-gradient {
    background: var(--grad-action);
    color: var(--text-inverse);
    border: none;
    padding: 0.55rem 1.25rem;
    border-radius: var(--r-full);
    font-weight: 800;
    font-size: 0.88rem;
    cursor: pointer;
    transition: box-shadow var(--trans), transform var(--trans);
}

.btn-gradient:hover {
    box-shadow: var(--shadow-green);
    transform: translateY(-2px);
    color: var(--text-inverse);
}

/* ── Bouton Corail (favoris / suppression) ── */
.btn-danger {
    background: linear-gradient(135deg, var(--coral-care), #E8405A) !important;
    border: none !important;
    color: var(--text-inverse) !important;
    font-weight: 700;
    border-radius: var(--r-full);
    transition: all var(--trans);
}

.btn-danger:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(224,82,99,0.35) !important;
}

/* ============================================================
   7 · PAGE HERO — Saphir + Vert
   ============================================================ */
.page-hero {
    background: var(--grad-hero);
    color: var(--text-inverse);
    padding: clamp(2rem, 5vw, 3.5rem) 0;
    position: relative;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 85% 15%, rgba(var(--teal-rgb),0.3) 0%, transparent 50%),
        radial-gradient(ellipse at 15% 85%, rgba(var(--med-green-rgb),0.2) 0%, transparent 50%);
    pointer-events: none;
}

/* Motif croix médicale décoratif */
.page-hero::after {
    content: '✚';
    position: absolute;
    right: 6%;
    bottom: -30%;
    font-size: 18rem;
    opacity: 0.04;
    color: #fff;
    pointer-events: none;
    font-family: 'Nunito', sans-serif;
}

.page-hero .container { position: relative; z-index: 1; }

.page-hero h1 {
    color: var(--text-inverse);
    font-size: clamp(1.6rem, 4vw, 2.6rem);
    text-shadow: 0 2px 12px rgba(0,0,0,0.2);
}

.page-hero .lead {
    color: rgba(255,255,255,0.82);
    font-weight: 400;
    font-size: 1rem;
}

/* ============================================================
   8 · SECTION TITRE
   ============================================================ */
.section-title {
    text-align: center;
    margin-bottom: 2.75rem;
}

.section-title h2 {
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    color: var(--pharma-blue);
}

.section-title .divider {
    width: 64px;
    height: 4px;
    background: var(--grad-action);
    border-radius: var(--r-full);
    margin: 0.9rem auto;
    position: relative;
}

.section-title .divider::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%,-50%);
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--amber-vita);
    border: 2px solid var(--surface-base);
}

.section-title p { color: var(--text-muted); font-size: 0.95rem; }

/* ============================================================
   9 · CARTES PRODUITS — Blanc propre + bordure colorée
   ============================================================ */
.card {
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    background: var(--surface-card);
}

.product-card {
    position: relative;
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    background: var(--surface-card);
    overflow: hidden;
    transition: transform var(--trans), box-shadow var(--trans), border-color var(--trans);
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: var(--grad-action);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.35s var(--ease);
    z-index: 3;
}

.product-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(var(--med-green-rgb),0.25);
}

.product-card:hover::before {
    transform: scaleX(1);
}

.product-card .card-img-top {
    height: 220px;
    object-fit: cover;
    transition: transform 0.5s var(--ease);
}

.product-card:hover .card-img-top {
    transform: scale(1.04);
}

.product-card .card-body {
    padding: 1.1rem 1.1rem 1.25rem;
}

.product-card .card-title {
    font-family: 'Nunito', sans-serif;
    font-weight: 800;
    font-size: 0.95rem;
    color: var(--text-primary);
    margin-bottom: 0.3rem;
    line-height: 1.35;
}

.product-card .price-main {
    font-weight: 900;
    font-size: 1.15rem;
    color: var(--med-green-dark);
}

.product-card .price-old {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-decoration: line-through;
    margin-left: 0.35rem;
}

/* Rating étoiles — Or */
.product-card .stars { color: var(--gold-premium); font-size: 0.82rem; }

/* ============================================================
   10 · BADGES — Chaque type a sa propre couleur
   ============================================================ */

/* Nouveau — Vert Médical */
.product-badge.nouveau,
.badge-nouveau {
    background: linear-gradient(135deg, var(--med-green), var(--med-green-mid));
    color: var(--text-inverse);
    padding: 0.3rem 0.8rem;
    border-radius: var(--r-full);
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    box-shadow: 0 3px 10px rgba(var(--med-green-rgb),0.3);
}

/* Promo / Solde — Amber */
.product-badge.promo,
.badge-promo {
    background: linear-gradient(135deg, var(--amber-vita), #FF9A00);
    color: var(--text-inverse);
    padding: 0.3rem 0.8rem;
    border-radius: var(--r-full);
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    box-shadow: var(--shadow-amber);
}

/* Bestseller — Saphir */
.product-badge.bestseller,
.badge-bestseller {
    background: linear-gradient(135deg, var(--pharma-blue), var(--pharma-blue-mid));
    color: var(--text-inverse);
    padding: 0.3rem 0.8rem;
    border-radius: var(--r-full);
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

/* Bio / Certifié — Teal */
.product-badge.bio,
.badge-bio {
    background: linear-gradient(135deg, var(--teal-balance), var(--teal-dark));
    color: var(--text-inverse);
    padding: 0.3rem 0.8rem;
    border-radius: var(--r-full);
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    box-shadow: 0 3px 10px rgba(var(--teal-rgb),0.3);
}

/* Rupture — Corail */
.product-badge.rupture,
.badge-rupture {
    background: linear-gradient(135deg, var(--coral-care), #E8405A);
    color: var(--text-inverse);
    padding: 0.3rem 0.8rem;
    border-radius: var(--r-full);
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.product-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 2;
}

.detox-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 2;
    background: linear-gradient(135deg, var(--teal-balance), var(--teal-dark));
    color: var(--text-inverse);
    padding: 0.3rem 0.8rem;
    border-radius: var(--r-full);
    font-size: 0.68rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    box-shadow: 0 3px 10px rgba(var(--teal-rgb),0.3);
}

/* Bootstrap badges */
.badge.bg-success { background: var(--grad-action) !important; }
.badge.bg-warning { background: var(--grad-cta) !important; }
.badge.bg-info    { background: linear-gradient(135deg,var(--cyan-health),var(--teal-balance)) !important; }
.badge.bg-primary { background: linear-gradient(135deg,var(--pharma-blue),var(--pharma-blue-mid)) !important; }
.badge.bg-danger  { background: linear-gradient(135deg,var(--coral-care),#E8405A) !important; }

/* ============================================================
   11 · FILTRES BOUTIQUE
   ============================================================ */

/* ── Toolbar ── */
.shop-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1.1rem;
    border-bottom: 2px solid var(--border);
}

.shop-toolbar .results-badge {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--pharma-blue);
    background: var(--pharma-blue-soft);
    padding: 0.4rem 1rem;
    border-radius: var(--r-full);
    border: 1.5px solid var(--pharma-blue-light);
}

/* ── Chips mobiles — Lavande ── */
.shop-filters-bar {
    margin-bottom: 1.25rem;
    background: var(--surface-card);
    border: 1.5px solid var(--border);
    border-radius: var(--r-lg);
    padding: 0.85rem 0;
    box-shadow: var(--shadow-sm);
}

.shop-filters-bar__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 1rem 0.65rem;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-muted);
    border-bottom: 1px solid var(--border);
    margin-bottom: 0.65rem;
}

.shop-filters-bar__head i { color: var(--lavender-org); margin-right: 0.35rem; }

.filter-chips-scroll {
    display: flex;
    gap: 0.5rem;
    overflow-x: auto;
    padding: 0 1rem 0.25rem;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.filter-chips-scroll::-webkit-scrollbar { display: none; }

.filter-chip {
    flex: 0 0 auto;
    scroll-snap-align: start;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.45rem 1rem;
    border-radius: var(--r-full);
    font-size: 0.8rem;
    font-weight: 700;
    text-decoration: none;
    color: var(--text-secondary);
    background: var(--surface-muted);
    border: 1.5px solid var(--border);
    transition: all var(--trans);
    white-space: nowrap;
}

.filter-chip i { font-size: 0.72rem; opacity: 0.8; }

.filter-chip:hover {
    color: var(--lavender-dark);
    background: var(--lavender-soft);
    border-color: var(--lavender-light);
}

.filter-chip.active {
    color: var(--text-inverse);
    background: var(--grad-filter);
    border-color: transparent;
    box-shadow: 0 4px 12px rgba(92,107,192,0.3);
}

/* ── Panneau filtres desktop — Saphir/Lavande ── */
.filter-panel {
    background: var(--surface-card);
    border: 1.5px solid var(--border);
    border-radius: var(--r-xl);
    box-shadow: var(--shadow-md);
    position: sticky;
    top: calc(130px + 0.75rem);
    overflow: hidden;
}

.filter-panel__header {
    padding: 1.1rem 1.35rem;
    background: var(--grad-filter);
    color: var(--text-inverse);
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.filter-panel__header h5 {
    margin: 0;
    font-size: 0.95rem;
    font-weight: 800;
    color: var(--text-inverse);
    letter-spacing: 0.02em;
}

.filter-panel__header i { color: rgba(255,255,255,0.8); }

.filter-panel__body { padding: 1.1rem 1.2rem 1.35rem; }

.filter-panel__section {
    margin-bottom: 1.35rem;
}

.filter-panel__label {
    font-size: 0.68rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-muted);
    margin-bottom: 0.65rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.filter-panel__label::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--border);
}

.filter-panel .filter-nav {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.filter-panel .filter-nav a {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.6rem 0.85rem;
    border-radius: var(--r-md);
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text-secondary);
    text-decoration: none;
    transition: all var(--trans);
    border: 1.5px solid transparent;
}

.filter-panel .filter-nav a i {
    width: 1.2rem;
    text-align: center;
    color: var(--teal-balance);
    font-size: 0.85rem;
}

.filter-panel .filter-nav a:hover {
    background: var(--med-green-soft);
    color: var(--med-green-dark);
    border-color: rgba(var(--med-green-rgb),0.15);
}

.filter-panel .filter-nav a.active {
    background: var(--grad-action);
    color: var(--text-inverse);
    border-color: transparent;
    box-shadow: var(--shadow-green);
}

.filter-panel .filter-nav a.active i { color: rgba(255,255,255,0.85); }

.filter-panel .form-range { accent-color: var(--med-green); }

.filter-panel .form-check-input:checked {
    background-color: var(--med-green);
    border-color: var(--med-green);
}

.filter-panel .form-check-label {
    font-size: 0.88rem;
    color: var(--text-secondary);
    font-weight: 500;
}

/* Prix range output */
.price-range-display {
    font-size: 0.82rem;
    font-weight: 800;
    color: var(--med-green-dark);
    background: var(--med-green-soft);
    padding: 0.3rem 0.75rem;
    border-radius: var(--r-full);
    border: 1.5px solid var(--med-green-light);
    display: inline-block;
}

/* ============================================================
   12 · SIDEBAR / OFFCANVAS — Vert Forêt
   ============================================================ */
.offcanvas#categoriesSidebar .offcanvas-header {
    background: var(--grad-brand);
    border: none;
    padding: 1.25rem 1.5rem;
}

.offcanvas#categoriesSidebar .offcanvas-title {
    font-family: 'DM Serif Display', serif;
    font-size: 1.25rem;
    color: var(--text-inverse);
}

.offcanvas#categoriesSidebar .btn-close {
    filter: invert(1) brightness(2);
}

.offcanvas#categoriesSidebar .list-group-item {
    border: none;
    border-left: 3px solid transparent;
    padding: 0.85rem 1.35rem;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-secondary);
    transition: all var(--trans);
    background: transparent;
}

.offcanvas#categoriesSidebar .list-group-item i {
    color: var(--teal-balance);
    width: 22px;
    transition: color var(--trans);
}

.offcanvas#categoriesSidebar .list-group-item-action:hover {
    background: var(--med-green-soft);
    color: var(--med-green-dark);
    border-left-color: var(--med-green);
    padding-left: 1.65rem;
}

.offcanvas#categoriesSidebar .list-group-item-action:hover i {
    color: var(--med-green);
}

.offcanvas#categoriesSidebar .list-group-item.active {
    background: var(--grad-action);
    color: var(--text-inverse);
    border-left-color: transparent;
}

/* ============================================================
   13 · NAVIGATION BREADCRUMB
   ============================================================ */
.breadcrumb {
    background: transparent;
    padding: 0;
    margin: 0;
}

.breadcrumb-item a {
    color: var(--cyan-health);
    font-weight: 600;
    font-size: 0.85rem;
}

.breadcrumb-item a:hover { color: var(--pharma-blue); }

.breadcrumb-item.active {
    color: var(--text-muted);
    font-size: 0.85rem;
}

.breadcrumb-item + .breadcrumb-item::before {
    color: var(--text-muted);
}

/* ============================================================
   14 · PAGINATION — Saphir
   ============================================================ */
.pagination .page-link {
    color: var(--pharma-blue);
    border: 1.5px solid var(--border);
    border-radius: var(--r-md) !important;
    margin: 0 3px;
    font-weight: 700;
    padding: 0.5rem 0.85rem;
    transition: all var(--trans);
}

.pagination .page-link:hover {
    background: var(--pharma-blue-soft);
    border-color: var(--pharma-blue-light);
    color: var(--pharma-blue-dark);
}

.pagination .page-item.active .page-link {
    background: var(--grad-filter) !important;
    border-color: transparent !important;
    color: var(--text-inverse) !important;
    box-shadow: 0 4px 12px rgba(92,107,192,0.3);
}

/* ============================================================
   15 · FORMULAIRES AUTH — Vert Médical
   ============================================================ */
.auth-card {
    border-radius: var(--r-xl);
    border: 1.5px solid var(--border);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}

.auth-card .card-header {
    background: var(--grad-hero);
    padding: 2rem 1.5rem;
    text-align: center;
    border: none;
}

.auth-card .card-header h4 {
    color: var(--text-inverse);
    font-family: 'DM Serif Display', serif;
    font-size: 1.6rem;
}

.auth-card .card-body { padding: 2rem 2rem 2.25rem; }

.auth-card .input-group-text {
    background: var(--med-green-soft);
    border: 1.5px solid var(--border);
    border-right: none;
    color: var(--med-green);
    font-size: 1rem;
}

.auth-card .form-control {
    border-left: none;
    border-left-color: transparent;
}

/* ============================================================
   16 · TOAST — Vert Médical
   ============================================================ */
#eclosion-toast {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: linear-gradient(135deg, var(--med-green-dark), var(--teal-balance));
    color: var(--text-inverse);
    padding: 0.9rem 1.75rem;
    border-radius: var(--r-full);
    z-index: 9999;
    font-weight: 700;
    font-size: 0.9rem;
    box-shadow: var(--shadow-green);
    opacity: 0;
    transition: transform 0.4s var(--ease), opacity 0.4s ease;
    pointer-events: none;
    display: flex;
    align-items: center;
    gap: 0.65rem;
    white-space: nowrap;
}

#eclosion-toast::before {
    content: '✔';
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
}

#eclosion-toast.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

/* ============================================================
   17 · BOUTON RETOUR EN HAUT — Amber
   ============================================================ */
#back-to-top {
    position: fixed;
    bottom: 28px;
    right: 28px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--grad-cta);
    color: var(--text-inverse);
    border: 2px solid rgba(255,255,255,0.25);
    cursor: pointer;
    z-index: 1040;
    opacity: 0;
    visibility: hidden;
    transform: translateY(16px) scale(0.9);
    transition: opacity 0.3s, visibility 0.3s, transform 0.3s, box-shadow 0.3s;
    box-shadow: var(--shadow-amber);
    font-size: 1.1rem;
}

#back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

#back-to-top:hover {
    box-shadow: 0 0 28px rgba(var(--amber-rgb),0.55);
    transform: translateY(-3px) scale(1.05);
}

/* ============================================================
   18 · FOOTER — Midnight Navy
   ============================================================ */
.site-footer {
    background: var(--grad-footer) !important;
    color: rgba(255,255,255,0.75);
    margin-top: auto !important;
    padding-top: 3rem;
    border-top: 3px solid rgba(var(--med-green-rgb),0.3);
    position: relative;
    overflow: hidden;
}

.site-footer::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: var(--grad-brand);
}

.site-footer h5, .site-footer h6 {
    color: var(--text-inverse);
    font-family: 'Nunito', sans-serif;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    font-size: 0.82rem;
    margin-bottom: 1rem;
}

.site-footer a {
    color: rgba(255,255,255,0.65);
    font-size: 0.88rem;
    font-weight: 500;
    transition: color var(--trans), padding-left var(--trans);
    display: inline-block;
}

.site-footer a:hover {
    color: var(--teal-light) !important;
    padding-left: 4px;
}

.site-footer .text-success,
.site-footer i.text-success {
    color: var(--teal-light) !important;
}

.site-footer .footer-divider {
    border-color: rgba(255,255,255,0.08);
    margin: 2rem 0;
}

.site-footer .footer-bottom {
    background: rgba(0,0,0,0.2);
    padding: 1rem 0;
    font-size: 0.8rem;
    color: rgba(255,255,255,0.4);
}

/* Newsletter footer */
.site-footer .newsletter-input-group .form-control {
    background: rgba(255,255,255,0.1);
    border: 1.5px solid rgba(255,255,255,0.15);
    color: var(--text-inverse);
    border-radius: var(--r-full) 0 0 var(--r-full);
    padding: 0.65rem 1rem;
}

.site-footer .newsletter-input-group .form-control::placeholder {
    color: rgba(255,255,255,0.45);
}

.site-footer .newsletter-input-group .btn {
    border-radius: 0 var(--r-full) var(--r-full) 0;
    background: var(--grad-action);
    border: none;
    color: var(--text-inverse);
    font-weight: 800;
    padding: 0.65rem 1.25rem;
}

/* Badge réseaux sociaux */
.site-footer .social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.12);
    color: rgba(255,255,255,0.65) !important;
    font-size: 0.9rem;
    padding: 0;
    transition: all var(--trans);
}

.site-footer .social-links a:hover {
    background: var(--teal-balance);
    border-color: var(--teal-balance);
    color: var(--text-inverse) !important;
    transform: translateY(-3px);
    padding-left: 0;
}

/* ============================================================
   19 · ADMIN CARDS — Couleurs institutionnelles
   ============================================================ */
.card.bg-primary {
    background: linear-gradient(135deg, var(--pharma-blue), var(--pharma-blue-mid)) !important;
}

.card.bg-success {
    background: var(--grad-action) !important;
}

.card.bg-warning {
    background: var(--grad-cta) !important;
}

.card.bg-info {
    background: linear-gradient(135deg, var(--cyan-health), var(--teal-balance)) !important;
}

.card.bg-primary, .card.bg-success,
.card.bg-warning, .card.bg-info {
    border: none;
    border-radius: var(--r-lg);
    box-shadow: var(--shadow-md);
    transition: transform var(--trans), box-shadow var(--trans);
}

.card.bg-primary:hover, .card.bg-success:hover,
.card.bg-warning:hover, .card.bg-info:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

/* ============================================================
   20 · TEXTES UTILITAIRES
   ============================================================ */
.text-success      { color: var(--med-green) !important; }
.text-primary      { color: var(--pharma-blue) !important; }
.text-warning      { color: var(--amber-vita) !important; }
.text-info         { color: var(--cyan-health) !important; }
.text-danger       { color: var(--coral-care) !important; }
.text-teal         { color: var(--teal-balance) !important; }
.text-gold         { color: var(--gold-premium) !important; }

.bg-success-soft   { background: var(--med-green-soft); color: var(--med-green-dark); }
.bg-primary-soft   { background: var(--pharma-blue-soft); color: var(--pharma-blue-dark); }
.bg-warning-soft   { background: var(--amber-soft); color: var(--amber-dark); }
.bg-info-soft      { background: var(--cyan-soft); color: var(--cyan-dark); }
.bg-teal-soft      { background: var(--teal-soft); color: var(--teal-dark); }

/* ============================================================
   21 · ANIMATIONS
   ============================================================ */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal-left {
    opacity: 0;
    transform: translateX(-24px);
    transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}

.reveal-left.visible { opacity: 1; transform: translateX(0); }

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes shimmer {
    0%   { background-position: -200% 0; }
    100% { background-position:  200% 0; }
}

/* Skeleton loading */
.skeleton {
    background: linear-gradient(90deg, var(--surface-muted) 25%, var(--surface-deep) 50%, var(--surface-muted) 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    border-radius: var(--r-sm);
}

/* ============================================================
   22 · SCROLLBAR — Accent tonal
   ============================================================ */
::-webkit-scrollbar { width: 7px; height: 7px; }
::-webkit-scrollbar-track { background: var(--surface-muted); }
::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--med-green), var(--teal-balance));
    border-radius: var(--r-full);
}
::-webkit-scrollbar-thumb:hover { background: var(--pharma-blue); }

/* ============================================================
   23 · SÉLECTION TEXTE
   ============================================================ */
::selection {
    background: var(--med-green-light);
    color: var(--med-green-dark);
}

/* ============================================================
   24 · PAGE BOUTIQUE
   ============================================================ */
.shop-page-content {
    padding-top: 1.75rem;
    padding-bottom: 3rem;
}

/* ============================================================
   25 · RESPONSIVE
   ============================================================ */
@media (max-width: 991px) {
    .filter-panel { display: none; }

    .nav-secondary .hover-link {
        font-size: 0.76rem;
        padding: 0.65rem 0.6rem;
    }
}

@media (max-width: 768px) {
    .product-card .card-img-top { height: 180px; }
    .navbar-middle .dropdown-toggle .text-end { display: none; }
    .page-hero h1 { font-size: 1.45rem; }
    .page-hero::after { display: none; }

    .shop-toolbar {
        flex-direction: column;
        align-items: stretch;
    }

    .shop-toolbar .dropdown { width: 100%; }
    .shop-toolbar .dropdown .btn { width: 100%; }

    #back-to-top { bottom: 16px; right: 16px; width: 44px; height: 44px; }
}

@media (min-width: 992px) {
    .shop-filters-bar { display: none !important; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
}

/* ============================================================
    Helpers for formation placeholders and announcements
    ============================================================ */
.formation-thumb.placeholder { display:flex; flex-direction:column; align-items:center; justify-content:center; background:var(--surface-muted); color:var(--text-muted); border-radius:12px; padding:1rem; }
.formation-thumb.placeholder span { display:block; margin-top:0.35rem; font-size:0.9rem; }
.formation-thumb.placeholder.large { height:320px; }
.formation-thumb.placeholder.small { width:120px; height:80px; }
.formation-annonce { background:linear-gradient(90deg, rgba(255,255,255,0.6), rgba(245,247,250,0.6)); border-radius:8px; padding:0.45rem 0.6rem; }
.formation-detail-annonces .alert { margin-bottom:0.5rem; }

/* Sticky panels for product/formation details */
.formation-enroll-summary {
    position: sticky;
    top: 90px;
    align-self: flex-start;
    max-width: 360px;
}
.formation-enroll-summary .formation-enroll-cover img { width:100%; height:auto; border-radius:12px; }
.product-purchase-card {
    position: sticky;
    top: 90px;
    z-index: 30;
}

@media (max-width: 991.98px) {
    .formation-enroll-summary, .product-purchase-card { position: static; top: auto; }
}

/* Broken link marker from site checker */
.broken-link {
    outline: 2px solid rgba(192, 57, 43, 0.9);
    border-radius: 6px;
}

/* Formation hero improvements */
.formation-hero { position: relative; color: #fff; overflow: hidden; }
.formation-hero .hero-bg-slider { position: absolute; inset: 0; z-index: 0; }
.formation-hero .carousel-item img { width: 100%; height: 100%; object-fit: cover; filter: saturate(0.9) contrast(0.9); }
.formation-hero__content { position: relative; z-index: 3; max-width: 820px; padding: 60px 24px; }
.formation-hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(6,27,51,0.85) 0%, rgba(6,27,51,0.55) 45%, rgba(6,27,51,0.35) 100%); z-index:1; }
.formation-hero__stats { position: relative; z-index: 3; display:flex; flex-direction: column; gap:18px; }
.formation-hero__stats article { background: rgba(255,255,255,0.06); border-radius: 10px; padding: 18px; min-width: 240px; color: #fff; backdrop-filter: blur(6px); }
.formation-hero__stats article small { opacity: 0.8; }
.formation-search { margin-top:20px; display:flex; gap:10px; }
.formation-search input[type="search"] { flex:1; min-width: 0; padding: 16px 18px; border-radius:8px; border:0; }
.formation-search button { padding: 12px 20px; border-radius:8px; }

@media (max-width: 991.98px) {
    .formation-hero__content { padding: 36px 18px; }
    .formation-hero__stats { flex-direction: row; gap:8px; }
    .formation-hero__stats article { min-width: 0; flex:1; }
}
/* ==== solid-theme.css ==== */
/* Couche de compatibilite + finition premium.
   Ce fichier garde les anciens noms de variables utilises dans quelques pages,
   puis applique un theme solide, propre et responsive. */

:root {
    --blanc: var(--surface-card);
    --vert: var(--med-green);
    --vert-clair: var(--med-green-mid);
    --vert-doux: var(--med-green-light);
    --vert-rgb: var(--med-green-rgb);
    --bleu: var(--pharma-blue);
    --bleu-fonce: var(--pharma-blue-dark);
    --bleu-doux: var(--pharma-blue-mid);
    --bleu-rgb: var(--pharma-blue-rgb);
    --teal: var(--teal-balance);
    --or-clair: var(--gold-light);
    --accent: var(--amber-vita);
    --corail: var(--coral-care);
    --texte-muted: var(--text-muted);
    --rayon: var(--r-md);
    --rayon-lg: var(--r-lg);
    --ombre: var(--shadow-md);
    --ombre-lg: var(--shadow-lg);
    --fond-muted: var(--surface-muted);
    --fond-eleve: var(--surface-card);
    --bordure: var(--border);
    --gradient-brand: var(--grad-brand);
    --gradient-hero: var(--grad-hero);
    --gradient-top: var(--grad-topbar);
    --gradient-nav: var(--grad-nav);
    --gradient-accent: var(--grad-action);
}

/* ============================================================
   Header bleu fonce + boutique avec image locale
   ============================================================ */
.main-header {
    position: sticky;
    top: 0;
    isolation: isolate;
    overflow: visible;
    background:
        linear-gradient(135deg, rgba(2, 24, 48, 0.98), rgba(5, 49, 85, 0.96)),
        #031b33 !important;
    color: #fff;
    border-bottom: 1px solid rgba(125, 211, 252, 0.18);
    box-shadow: 0 18px 44px rgba(2, 8, 23, 0.24);
}

.main-header::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background:
        repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.055) 0 1px, transparent 1px 28px),
        linear-gradient(90deg, rgba(14, 165, 166, 0.18), transparent 32%, rgba(245, 158, 11, 0.12));
    opacity: 0.85;
}

.top-bar {
    background: rgba(1, 19, 38, 0.72) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.09);
}

.navbar-middle {
    background: transparent !important;
    border-bottom: 1px solid rgba(125, 211, 252, 0.14) !important;
}

.navbar-middle .text-muted,
.navbar-middle .dropdown-toggle small,
.navbar-middle .dropdown-toggle strong {
    color: rgba(255, 255, 255, 0.82) !important;
}

.logo-image-link {
    padding: 0.35rem 0.55rem;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 12px 30px rgba(2, 8, 23, 0.18);
}

.brand-logo-img {
    filter: none;
}

.search-form .input-group {
    border: 1px solid rgba(125, 211, 252, 0.35);
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 16px 34px rgba(2, 8, 23, 0.18) !important;
}

.search-form .form-select {
    background: #eef6ff !important;
    color: #0f2744 !important;
}

.header-quick-links a {
    color: rgba(255, 255, 255, 0.78);
}

.header-quick-links a:hover {
    color: #fff;
}

.header-whatsapp-link {
    background: rgba(37, 211, 102, 0.16);
    color: #dcfce7;
    border: 1px solid rgba(187, 247, 208, 0.28);
}

.cart-link-header,
.admin-notification-btn,
.mobile-menu-button,
.header-tools-toggle {
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    box-shadow: 0 12px 28px rgba(2, 8, 23, 0.18);
}

.cart-link-header:hover,
.admin-notification-btn:hover,
.mobile-menu-button:hover,
.header-tools-toggle:hover {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
}

.nav-secondary {
    background:
        linear-gradient(90deg, rgba(1, 22, 42, 0.98), rgba(6, 57, 97, 0.96), rgba(8, 76, 105, 0.94)) !important;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: none;
}

.nav-secondary .hover-link {
    color: rgba(255, 255, 255, 0.84) !important;
}

.nav-secondary .hover-link:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff !important;
}

.shop-hero {
    background:
        linear-gradient(90deg, rgba(1, 18, 36, 0.92) 0%, rgba(3, 37, 65, 0.82) 45%, rgba(3, 37, 65, 0.42) 100%),
        url('../img/home/shop-cover-unsplash.jpg') center right / cover no-repeat !important;
}

.shop-hero::before {
    background:
        repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.09) 0 1px, transparent 1px 42px),
        linear-gradient(180deg, rgba(14, 165, 166, 0.2), transparent 55%);
    mask-image: none;
    opacity: 0.52;
}

.shop-hero__copy {
    max-width: 720px;
    padding: clamp(1rem, 2vw, 1.35rem);
    border-radius: 8px;
    background: rgba(1, 18, 36, 0.42);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 22px 48px rgba(2, 8, 23, 0.18);
    backdrop-filter: blur(8px);
}

.shop-hero__visual {
    min-height: 390px;
}

.shop-hero__visual::before {
    content: '';
    position: absolute;
    inset: 4% 0 8% 8%;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 8px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.08)),
        url('../img/home/shop-cover-unsplash.jpg') center / cover no-repeat;
    box-shadow: 0 28px 70px rgba(2, 8, 23, 0.28);
}

.shop-floating-product {
    background: rgba(255, 255, 255, 0.9);
}

@media (max-width: 991px) {
    .main-header::before {
        background:
            repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0 1px, transparent 1px 22px),
            linear-gradient(90deg, rgba(14, 165, 166, 0.14), transparent);
    }

    .shop-hero {
        background:
            linear-gradient(180deg, rgba(1, 18, 36, 0.92), rgba(3, 37, 65, 0.72)),
            url('../img/home/shop-cover-unsplash.jpg') center / cover no-repeat !important;
    }
}

@media (max-width: 575px) {
    .logo-image-link {
        padding: 0.22rem 0.35rem;
    }

    .shop-hero__copy {
        padding: 1rem;
    }

    .shop-hero__visual::before {
        inset: 0;
    }
}

/* ============================================================
   VRAI DERNIER OVERRIDE - header compact logo
   ============================================================ */
:root {
    --logo-green: #007a3d;
    --logo-green-dark: #04552f;
    --logo-blue: #0b4ea2;
    --logo-blue-dark: #052f68;
    --logo-orange: #ff8a00;
    --logo-cyan: #00a8c8;
}

.main-header,
.page-accueil .main-header {
    background: linear-gradient(135deg, var(--logo-blue-dark) 0%, #063d61 46%, var(--logo-green-dark) 100%) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 26px rgba(2, 8, 23, 0.18);
}

.main-header::before,
.nav-secondary::before,
.nav-secondary::after {
    display: none !important;
    content: none !important;
    background: none !important;
}

.top-bar {
    background: rgba(3, 37, 65, 0.72) !important;
}

.navbar-middle {
    background: transparent !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.09) !important;
}

.logo-image-link {
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 8px 20px rgba(2, 8, 23, 0.15);
}

.nav-secondary {
    background: linear-gradient(90deg, #04264f 0%, #06436c 52%, var(--logo-green-dark) 100%) !important;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-secondary .btn-rayons,
.btn-warning {
    background: linear-gradient(135deg, var(--logo-orange), #ffae22) !important;
    color: #132033 !important;
}

.search-form .btn,
.search-form .btn-warning,
.btn-success,
.btn-primary {
    background: linear-gradient(135deg, var(--logo-green), var(--logo-cyan)) !important;
    border-color: transparent !important;
}

.search-form .input-group {
    border-color: rgba(0, 168, 200, 0.38);
    background: #fff;
}

@media (min-width: 992px) {
    .top-bar {
        padding-block: 0.22rem !important;
        font-size: 0.72rem;
    }

    .navbar-middle {
        padding-block: 0.42rem !important;
    }

    .brand-logo-img {
        width: clamp(112px, 8vw, 145px) !important;
        max-height: 42px !important;
    }

    .logo-image-link {
        padding: 0.18rem 0.34rem !important;
    }

    .search-form .input-group {
        min-height: 40px !important;
        border-width: 1px;
        box-shadow: 0 8px 18px rgba(2, 8, 23, 0.12) !important;
    }

    .search-form .form-select {
        flex: 0 0 112px !important;
        font-size: 0.78rem;
    }

    .search-form .form-control {
        padding: 0.42rem 0.85rem !important;
        font-size: 0.84rem;
    }

    .search-form .btn {
        min-width: 48px;
        padding-inline: 0.95rem !important;
    }

    .header-quick-links {
        margin-top: 0.28rem;
        gap: 0.55rem;
    }

    .header-quick-links a,
    .header-whatsapp-link {
        font-size: 0.7rem;
    }

    .header-whatsapp-link {
        min-height: 32px;
        padding-inline: 0.7rem;
    }

    .cart-link-header,
    .admin-notification-btn,
    .mobile-menu-button,
    .header-tools-toggle {
        width: 36px !important;
        height: 36px !important;
    }

    .navbar-middle .dropdown-toggle strong {
        font-size: 0.78rem;
    }

    .navbar-middle .dropdown-toggle small {
        font-size: 0.68rem;
    }

    .nav-secondary {
        min-height: 44px !important;
        padding-block: 0.18rem !important;
    }

    .nav-secondary .container-fluid {
        min-height: 38px !important;
    }

    .nav-secondary .btn-rayons {
        min-height: 34px !important;
        padding: 0.38rem 0.78rem !important;
        font-size: 0.72rem !important;
    }

    .nav-secondary .hover-link {
        min-height: 32px !important;
        padding: 0.34rem 0.58rem !important;
        font-size: 0.7rem !important;
        letter-spacing: 0.015em;
    }

    .nav-secondary .dropdown > .btn {
        min-height: 32px !important;
        padding: 0.28rem 0.62rem !important;
        font-size: 0.76rem;
    }
}

/* ============================================================
   Ajustement final header compact - couleurs du logo
   ============================================================ */
:root {
    --logo-green: #007a3d;
    --logo-green-dark: #04552f;
    --logo-blue: #0b4ea2;
    --logo-blue-dark: #052f68;
    --logo-orange: #ff8a00;
    --logo-cyan: #00a8c8;
}

.main-header,
.page-accueil .main-header {
    background: linear-gradient(135deg, #052f68 0%, #063d61 46%, #04552f 100%) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 26px rgba(2, 8, 23, 0.18);
}

.main-header::before,
.nav-secondary::before,
.nav-secondary::after {
    display: none !important;
    content: none !important;
    background: none !important;
}

.top-bar {
    background: rgba(3, 37, 65, 0.72) !important;
    font-size: 0.72rem;
}

.navbar-middle {
    background: transparent !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.09) !important;
}

.logo-image-link {
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 8px 20px rgba(2, 8, 23, 0.15);
}

.nav-secondary {
    background: linear-gradient(90deg, #04264f 0%, #06436c 52%, #04552f 100%) !important;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-secondary .btn-rayons,
.btn-warning {
    background: linear-gradient(135deg, var(--logo-orange), #ffae22) !important;
    color: #132033 !important;
}

.search-form .btn,
.search-form .btn-warning,
.btn-success,
.btn-primary {
    background: linear-gradient(135deg, var(--logo-green), var(--logo-cyan)) !important;
    border-color: transparent !important;
}

.search-form .input-group {
    border-color: rgba(0, 168, 200, 0.38);
    background: #fff;
}

@media (min-width: 992px) {
    .top-bar {
        padding-block: 0.22rem !important;
    }

    .navbar-middle {
        padding-block: 0.42rem !important;
    }

    .brand-logo-img {
        width: clamp(112px, 8vw, 145px);
        max-height: 42px;
    }

    .logo-image-link {
        padding: 0.18rem 0.34rem;
    }

    .search-form .input-group {
        min-height: 40px;
        border-width: 1px;
        box-shadow: 0 8px 18px rgba(2, 8, 23, 0.12) !important;
    }

    .search-form .form-select {
        flex: 0 0 112px;
        font-size: 0.78rem;
    }

    .search-form .form-control {
        padding: 0.42rem 0.85rem;
        font-size: 0.84rem;
    }

    .search-form .btn {
        min-width: 48px;
        padding-inline: 0.95rem !important;
    }

    .header-quick-links {
        margin-top: 0.28rem;
        gap: 0.55rem;
    }

    .header-quick-links a,
    .header-whatsapp-link {
        font-size: 0.7rem;
    }

    .header-whatsapp-link {
        min-height: 32px;
        padding-inline: 0.7rem;
    }

    .cart-link-header,
    .admin-notification-btn,
    .mobile-menu-button,
    .header-tools-toggle {
        width: 36px;
        height: 36px;
    }

    .navbar-middle .dropdown-toggle strong {
        font-size: 0.78rem;
    }

    .navbar-middle .dropdown-toggle small {
        font-size: 0.68rem;
    }

    .nav-secondary {
        min-height: 44px;
        padding-block: 0.18rem !important;
    }

    .nav-secondary .container-fluid {
        min-height: 38px;
    }

    .nav-secondary .btn-rayons {
        min-height: 34px;
        padding: 0.38rem 0.78rem !important;
        font-size: 0.72rem;
    }

    .nav-secondary .hover-link {
        min-height: 32px;
        padding: 0.34rem 0.58rem !important;
        font-size: 0.7rem;
        letter-spacing: 0.015em;
    }

    .nav-secondary .dropdown > .btn {
        min-height: 32px;
        padding: 0.28rem 0.62rem;
        font-size: 0.76rem;
    }
}

/* ============================================================
   Palette finale sans motifs + images locales modifiables
   ============================================================ */
:root {
    --ecl-navy: #051a2f;
    --ecl-navy-2: #08243f;
    --ecl-blue: #075985;
    --ecl-cyan: #0891b2;
    --ecl-gold: #ff9900;
    --ecl-gold-dark: #f77f00;
    --ecl-soft: #f4f8fb;
    --ecl-card: #ffffff;
    --ecl-border: #d7e3ef;
    --ecl-text: #102033;
    --ecl-shop-bg: url('../img/home/shop-cover-unsplash.jpg');
}

body {
    background: linear-gradient(180deg, #f8fbff 0, var(--ecl-soft) 420px, #eef3f8 100%);
    color: var(--ecl-text);
}

.main-header,
.page-accueil .main-header {
    background: linear-gradient(135deg, var(--ecl-navy), var(--ecl-navy-2) 55%, var(--ecl-blue)) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 16px 38px rgba(2, 8, 23, 0.2);
}

.main-header::before,
.nav-secondary::before,
.nav-secondary::after,
.shop-hero::before {
    display: none !important;
    content: none !important;
    background: none !important;
}

.top-bar {
    background: rgba(2, 16, 31, 0.72) !important;
}

.navbar-middle {
    background: transparent !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
}

.nav-secondary {
    min-height: 54px;
    background: linear-gradient(90deg, #04182c, #06345a 58%, #07536c) !important;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 24px rgba(2, 8, 23, 0.14);
}

.nav-secondary .btn-rayons {
    background: linear-gradient(135deg, var(--ecl-gold), var(--ecl-gold-dark)) !important;
    box-shadow: 0 10px 22px rgba(247, 127, 0, 0.22);
}

.nav-secondary .hover-link:hover,
.nav-secondary .hover-link.active {
    background: rgba(255, 255, 255, 0.11);
    border-color: rgba(125, 211, 252, 0.22);
}

.search-form .input-group {
    border-color: rgba(8, 145, 178, 0.38);
    background: #fff;
}

.search-form .btn,
.search-form .btn-warning {
    background: linear-gradient(135deg, var(--ecl-cyan), #06b6d4) !important;
}

.logo-image-link {
    background: rgba(255, 255, 255, 0.96);
}

.shop-hero {
    background:
        linear-gradient(90deg, rgba(5, 26, 47, 0.94), rgba(8, 36, 63, 0.78) 50%, rgba(8, 36, 63, 0.3)),
        var(--ecl-shop-bg) center right / cover no-repeat !important;
}

.shop-hero__visual::before {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.06)),
        var(--ecl-shop-bg) center / cover no-repeat;
}

.page-hero,
.info-hero {
    background: linear-gradient(135deg, var(--ecl-navy), var(--ecl-blue), var(--ecl-cyan)) !important;
}

.page-hero::before,
.page-hero::after,
.info-hero::before,
.info-hero::after {
    display: none !important;
    content: none !important;
}

.btn-success,
.btn-primary {
    background: linear-gradient(135deg, var(--ecl-blue), var(--ecl-cyan)) !important;
    border-color: transparent !important;
}

.btn-warning {
    background: linear-gradient(135deg, var(--ecl-gold), var(--ecl-gold-dark)) !important;
    border-color: transparent !important;
    color: #111827 !important;
}

.shop-page-content,
.market-section,
.category-showcase,
.shop-summary,
.shop-toolbar,
.shop-filters-bar,
.shop-product-card {
    border-color: var(--ecl-border);
}

@media (max-width: 991px) {
    .shop-hero {
        background:
            linear-gradient(180deg, rgba(5, 26, 47, 0.92), rgba(8, 36, 63, 0.68)),
            var(--ecl-shop-bg) center / cover no-repeat !important;
    }
}

/* Navigation premium compacte : motifs dans le header, jamais sur le carrousel */
.nav-secondary {
    position: relative;
    isolation: isolate;
    min-height: 58px;
    padding-block: 0.35rem !important;
    overflow: visible;
    background:
        linear-gradient(90deg, rgba(1, 18, 36, 0.98), rgba(5, 54, 92, 0.97) 48%, rgba(8, 88, 112, 0.94)) !important;
    border-top: 1px solid rgba(125, 211, 252, 0.16);
    border-bottom: 1px solid rgba(125, 211, 252, 0.18);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 10px 26px rgba(2, 8, 23, 0.16);
}

.nav-secondary::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background:
        linear-gradient(120deg, transparent 0 18%, rgba(255, 255, 255, 0.07) 18% 18.5%, transparent 18.5% 36%),
        radial-gradient(circle at 22% 20%, rgba(14, 165, 166, 0.24), transparent 28%),
        radial-gradient(circle at 74% 60%, rgba(245, 158, 11, 0.12), transparent 24%);
    background-size: 170px 100%, 100% 100%, 100% 100%;
    opacity: 0.95;
}

.nav-secondary::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 2px;
    pointer-events: none;
    background: linear-gradient(90deg, transparent, rgba(125, 211, 252, 0.72), rgba(245, 158, 11, 0.62), transparent);
}

.nav-secondary .container-fluid {
    position: relative;
    z-index: 1;
    min-height: 48px;
}

@media (min-width: 992px) {
    .nav-secondary .container-fluid {
        flex-wrap: nowrap !important;
        gap: 0.9rem !important;
    }

    .nav-secondary .container-fluid > .d-flex {
        flex: 1 1 auto;
        min-width: 0;
        gap: 0.45rem !important;
        overflow-x: auto;
        scrollbar-width: none;
    }

    .nav-secondary .container-fluid > .d-flex::-webkit-scrollbar {
        display: none;
    }

    .nav-secondary .container-fluid > .dropdown {
        flex: 0 0 auto;
    }
}

.nav-secondary .btn-rayons {
    min-height: 40px;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.58rem 1rem !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    border-radius: 999px !important;
    background: linear-gradient(135deg, #ff9f1a, #f77f00) !important;
    color: #fff !important;
    box-shadow: 0 12px 24px rgba(247, 127, 0, 0.24);
}

.nav-secondary .hover-link {
    min-height: 38px;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.56rem 0.82rem !important;
    border: 1px solid transparent;
    border-radius: 999px;
    color: rgba(255, 255, 255, 0.84) !important;
    font-size: 0.78rem;
    font-weight: 950;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    text-decoration: none;
    transition: background 0.18s ease, border-color 0.18s ease, transform 0.18s ease, color 0.18s ease;
}

.nav-secondary .hover-link i {
    color: rgba(186, 230, 253, 0.86);
}

.nav-secondary .hover-link:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(125, 211, 252, 0.28);
    color: #fff !important;
    transform: translateY(-1px);
}

.nav-secondary .dropdown > .btn {
    min-height: 38px;
    border: 1px solid rgba(255, 255, 255, 0.25) !important;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    font-weight: 900;
    box-shadow: 0 10px 22px rgba(2, 8, 23, 0.18);
}

.market-slider,
.market-slider .carousel-inner,
.market-slider .carousel-item {
    isolation: isolate;
}

.market-slider::before,
.market-slider::after {
    display: none !important;
}

body {
    background:
        linear-gradient(180deg, rgba(232, 249, 242, 0.78) 0, rgba(245, 247, 250, 0) 360px),
        var(--surface-base);
}

.main-header {
    backdrop-filter: blur(18px);
    background: rgba(255, 255, 255, 0.94);
}

.page-accueil .main-header {
    border-bottom: 1px solid rgba(191, 208, 224, 0.75);
    box-shadow: 0 16px 40px rgba(0, 53, 102, 0.08);
}

.navbar-middle .container-fluid,
.nav-secondary .container-fluid,
.top-bar .container-fluid {
    max-width: 1440px;
    margin-inline: auto;
}

.logo-brand {
    -webkit-text-fill-color: transparent !important;
}

.logo-image-link {
    display: inline-flex;
    align-items: center;
    max-width: 100%;
}

.brand-logo-img {
    display: block;
    width: clamp(142px, 15vw, 210px);
    max-width: 100%;
    height: auto;
    object-fit: contain;
}

.footer-logo-img {
    width: min(210px, 76vw);
    height: auto;
    object-fit: contain;
    border-radius: var(--r-sm);
}

.search-form .input-group {
    min-height: 48px;
}

.search-form .form-select {
    flex: 0 0 132px;
    border-radius: var(--r-full) 0 0 var(--r-full);
    background: var(--surface-muted) !important;
    border: 0 !important;
}

.search-form .btn,
.search-form .btn-warning {
    background: linear-gradient(135deg, var(--cyan-health), var(--teal-balance)) !important;
    border: 0 !important;
    color: var(--text-inverse) !important;
}

.header-quick-links {
    align-items: center;
    gap: 0.65rem;
    margin-top: 0.5rem;
}

.header-quick-links a,
.header-whatsapp-link {
    display: inline-flex;
    align-items: center;
    gap: 0.42rem;
    text-decoration: none;
    font-size: 0.76rem;
    font-weight: 900;
}

.header-quick-links a {
    color: var(--text-muted);
}

.header-quick-links a i {
    color: var(--teal-balance);
}

.header-whatsapp-link {
    min-height: 38px;
    padding: 0 0.85rem;
    border-radius: var(--r-full);
    background: rgba(37, 211, 102, 0.12);
    color: #087a3a;
    white-space: nowrap;
}

.nav-secondary {
    background: linear-gradient(90deg, #082642 0%, var(--pharma-blue) 55%, #0d5b74 100%) !important;
}

.nav-secondary .d-flex.overflow-auto {
    scrollbar-width: none;
}

.nav-secondary .d-flex.overflow-auto::-webkit-scrollbar {
    display: none;
}

.nav-secondary .btn-rayons {
    flex: 0 0 auto;
}

.header-actions {
    min-width: 0;
}

.mobile-menu-button {
    width: 42px;
    height: 42px;
    display: inline-grid;
    place-items: center;
    border: 0;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--pharma-blue), var(--teal-balance));
    color: #fff;
    box-shadow: var(--shadow-cyan);
}

.header-tools-toggle {
    width: 42px;
    height: 42px;
    display: inline-grid;
    place-items: center;
    border: 1px solid var(--border);
    border-radius: 50%;
    background: #fff;
    color: var(--pharma-blue);
    box-shadow: var(--shadow-xs);
}

@media (min-width: 768px) {
    .mobile-header-collapse.collapse {
        display: block !important;
        height: auto !important;
        visibility: visible !important;
    }
}

.mobile-main-menu {
    width: min(88vw, 370px);
    border: 0;
    border-radius: 24px 0 0 24px;
    background:
        linear-gradient(180deg, rgba(232, 249, 242, 0.92), rgba(255, 255, 255, 0.98)),
        var(--surface-card);
    box-shadow: -26px 0 60px rgba(0, 26, 58, 0.22);
}

.mobile-main-menu__head {
    align-items: center;
    padding: 1rem 1rem 0.75rem;
    border-bottom: 1px solid var(--border);
}

.mobile-main-menu__brand {
    display: inline-flex;
    align-items: center;
    max-width: calc(100% - 50px);
}

.mobile-menu-logo {
    width: 136px;
    max-height: 46px;
    object-fit: contain;
}

.mobile-main-menu__close {
    width: 38px;
    height: 38px;
    display: inline-grid;
    place-items: center;
    border: 0;
    border-radius: 50%;
    background: var(--surface-muted);
    color: var(--pharma-blue);
}

.mobile-main-menu__body {
    display: grid;
    gap: 0.9rem;
    padding: 1rem;
}

.mobile-menu-section {
    display: grid;
    gap: 0.5rem;
    padding: 0.8rem;
    border: 1px solid rgba(191, 208, 224, 0.78);
    border-radius: var(--r-lg);
    background: rgba(255, 255, 255, 0.78);
    box-shadow: var(--shadow-xs);
}

.mobile-menu-section--admin {
    background: linear-gradient(135deg, rgba(var(--pharma-blue-rgb), 0.08), rgba(var(--med-green-rgb), 0.08)), #fff;
}

.mobile-menu-section__title {
    color: var(--text-muted);
    font-size: 0.72rem;
    font-weight: 900;
    text-transform: uppercase;
}

.mobile-menu-link,
.mobile-menu-link--button {
    width: 100%;
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr) auto;
    align-items: center;
    gap: 0.7rem;
    padding: 0.48rem;
    border: 0;
    border-radius: var(--r-md);
    background: transparent;
    color: var(--text-primary);
    text-align: left;
    text-decoration: none;
    font-weight: 850;
    transition: transform var(--trans), background var(--trans), color var(--trans);
}

.mobile-menu-link i,
.mobile-menu-link--button i {
    width: 38px;
    height: 38px;
    display: inline-grid;
    place-items: center;
    border-radius: 50%;
    background: var(--pharma-blue-soft);
    color: var(--pharma-blue);
}

.mobile-menu-link:hover,
.mobile-menu-link--button:hover {
    transform: translateX(-2px);
    background: var(--med-green-soft);
    color: var(--med-green-dark);
}

.mobile-menu-link:hover i,
.mobile-menu-link--button:hover i {
    background: linear-gradient(135deg, var(--med-green), var(--teal-balance));
    color: #fff;
}

.mobile-menu-badge {
    min-width: 22px;
    height: 22px;
    display: inline-grid;
    place-items: center;
    padding: 0 0.35rem;
    border-radius: var(--r-full);
    background: var(--coral-care);
    color: #fff;
    font-style: normal;
    font-size: 0.72rem;
    font-weight: 900;
}

.mobile-menu-badge.is-empty {
    background: var(--text-muted);
}

.mobile-menu-cta {
    display: grid;
    gap: 0.55rem;
    padding: 0.2rem 0.1rem 0.6rem;
}

.offcanvas-backdrop.show {
    opacity: 0.55;
    background: #001a34;
    backdrop-filter: blur(5px);
}

.page-hero {
    background:
        linear-gradient(135deg, rgba(0, 180, 160, 0.22), rgba(247, 127, 0, 0.08)),
        var(--grad-hero);
}

.info-page {
    background:
        linear-gradient(180deg, rgba(232, 249, 242, 0.76), rgba(255, 255, 255, 0) 320px),
        var(--surface-base);
}

.info-hero {
    padding: clamp(2rem, 5vw, 4rem) 0 1.4rem;
}

.info-hero .container,
.info-content {
    max-width: 1120px;
}

.info-kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    color: var(--med-green);
    font-size: 0.75rem;
    font-weight: 950;
    text-transform: uppercase;
}

.info-hero h1 {
    max-width: 780px;
    margin: 0.45rem 0;
    color: var(--pharma-blue-dark);
    font-size: clamp(2rem, 5vw, 3.5rem);
}

.info-hero p {
    max-width: 720px;
    color: var(--text-secondary);
    font-size: 1.05rem;
}

.info-content {
    padding-bottom: clamp(2rem, 5vw, 4rem);
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.info-card {
    min-height: 100%;
    padding: 1.2rem;
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    background: rgba(255, 255, 255, 0.9);
    box-shadow: var(--shadow-sm);
}

.info-card > i {
    width: 44px;
    height: 44px;
    display: inline-grid;
    place-items: center;
    margin-bottom: 0.85rem;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--med-green), var(--teal-balance));
    color: #fff;
}

.info-card h2 {
    color: var(--pharma-blue-dark);
    font-size: 1.15rem;
    font-weight: 950;
}

.info-card p,
.info-card li {
    color: var(--text-secondary);
}

.breadcrumb-light a { color: var(--gold-light); }
.breadcrumb-light .active { color: rgba(255, 255, 255, 0.82); }

.shop-page-content,
.page-content {
    width: min(100% - 1.5rem, 1320px);
}

.card,
.filter-panel,
.product-gallery,
.auth-card {
    border-color: rgba(191, 208, 224, 0.82);
}

.product-card {
    isolation: isolate;
    min-height: 100%;
}

.product-card .card-img-top,
.product-card__placeholder,
.gallery-placeholder-sm {
    aspect-ratio: 4 / 3;
    height: auto !important;
    min-height: 170px;
}

.product-card .card-body {
    display: flex;
    flex-direction: column;
    min-height: 180px;
}

.product-card .card-text {
    flex: 1;
}

.product-card .btn {
    width: 42px;
    height: 42px;
    display: inline-grid;
    place-items: center;
    padding: 0;
    border-radius: 50%;
}

.detox-badge,
.badge-cat,
.badge-detox,
.product-badge.nouveau,
.product-badge.promo {
    color: var(--text-inverse);
    border: 1px solid rgba(255, 255, 255, 0.28);
    box-shadow: 0 8px 22px rgba(13, 27, 42, 0.16);
}

.detox-badge,
.badge-detox {
    background: linear-gradient(135deg, var(--med-green), var(--teal-balance));
}

.badge-cat {
    background: linear-gradient(135deg, var(--pharma-blue), var(--cyan-health));
}

.product-gallery {
    box-shadow: var(--shadow-md);
}

.gallery-main {
    aspect-ratio: 1 / 1;
}

.gallery-nav {
    transition: transform var(--trans), background var(--trans), color var(--trans);
}

.gallery-nav:hover {
    background: var(--pharma-blue);
    color: var(--text-inverse);
    transform: translateY(-50%) scale(1.05);
}

.product-detail-info {
    background: var(--surface-card);
    border: 1px solid var(--border);
    border-radius: var(--r-xl);
    box-shadow: var(--shadow-md);
    padding: clamp(1.25rem, 3vw, 2rem);
}

.qty-control {
    min-height: 48px;
    background: var(--surface-card);
}

.qty-btn {
    color: var(--pharma-blue);
    transition: background var(--trans), color var(--trans);
}

.qty-btn:hover {
    background: var(--pharma-blue);
    color: var(--text-inverse);
}

.btn-whatsapp {
    background: #25d366;
    color: #fff;
    border: none;
    border-radius: var(--r-full);
    font-weight: 800;
    padding: 0.8rem 1.25rem;
}

.site-footer {
    background:
        linear-gradient(180deg, rgba(0, 180, 160, 0.08), rgba(0, 13, 32, 0)),
        var(--grad-footer) !important;
}

.site-footer .text-muted {
    color: rgba(255, 255, 255, 0.64) !important;
}

.site-footer .input-group {
    border-radius: var(--r-full);
    overflow: hidden;
}

/* ============================================================
   Boutique premium
   ============================================================ */
.shop-hero {
    position: relative;
    overflow: hidden;
    color: var(--text-inverse);
    background:
        linear-gradient(135deg, rgba(0, 26, 58, 0.98), rgba(0, 92, 61, 0.92)),
        linear-gradient(45deg, var(--pharma-blue-dark), var(--med-green-dark));
}

.shop-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px),
        linear-gradient(180deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
    background-size: 46px 46px;
    mask-image: linear-gradient(90deg, #000 0, transparent 80%);
    opacity: 0.28;
}

.shop-hero__inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 0.72fr);
    gap: clamp(2rem, 5vw, 4.5rem);
    align-items: center;
    min-height: clamp(360px, 48vw, 520px);
    padding-block: clamp(3rem, 7vw, 5.5rem);
}

.shop-kicker,
.shop-toolbar__eyebrow,
.shop-summary__label {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    color: var(--teal-light);
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.shop-hero h1 {
    max-width: 740px;
    margin: 0.85rem 0 1rem;
    color: #fff;
    font-size: clamp(2rem, 4.6vw, 4.2rem);
    letter-spacing: 0;
}

.shop-hero p {
    max-width: 590px;
    color: rgba(255, 255, 255, 0.78);
    font-size: clamp(1rem, 1.45vw, 1.16rem);
}

.shop-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-top: 1.65rem;
}

.shop-hero__actions .btn {
    border-radius: var(--r-full);
    font-weight: 900;
    padding: 0.78rem 1.35rem;
}

.shop-hero__visual {
    position: relative;
    min-height: 360px;
}

.shop-floating-product {
    position: absolute;
    display: grid;
    place-items: center;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 24px 60px rgba(0, 13, 32, 0.32);
    backdrop-filter: blur(8px);
}

.shop-floating-product img,
.shop-floating-product span {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.shop-floating-product span {
    display: grid;
    place-items: center;
    color: var(--teal-light);
    font-size: 3rem;
}

.shop-floating-product--1 {
    width: 58%;
    aspect-ratio: 1 / 1;
    left: 8%;
    top: 8%;
    border-radius: 28px;
}

.shop-floating-product--2 {
    width: 38%;
    aspect-ratio: 4 / 5;
    right: 4%;
    top: 4%;
    border-radius: 20px;
}

.shop-floating-product--3 {
    width: 34%;
    aspect-ratio: 1 / 1;
    right: 18%;
    bottom: 7%;
    border-radius: 18px;
}

.shop-floating-product--4 {
    width: 28%;
    aspect-ratio: 1 / 1;
    left: 0;
    bottom: 4%;
    border-radius: 18px;
}

.shop-hero__badge {
    position: absolute;
    right: 0;
    bottom: 18%;
    display: grid;
    gap: 0.1rem;
    min-width: 132px;
    padding: 1rem 1.1rem;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: var(--r-lg);
    background: rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.78);
    box-shadow: 0 18px 42px rgba(0, 13, 32, 0.24);
    backdrop-filter: blur(10px);
}

.shop-hero__badge strong {
    color: #fff;
    font-size: 2rem;
    line-height: 1;
}

.shop-summary {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    margin: 1.2rem 0 1.5rem;
}

.shop-summary > div {
    padding: 1rem 1.15rem;
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    background: rgba(255, 255, 255, 0.78);
    box-shadow: var(--shadow-xs);
}

.shop-summary__label {
    color: var(--text-muted);
    font-size: 0.66rem;
}

.shop-summary strong {
    display: block;
    margin-top: 0.22rem;
    color: var(--pharma-blue);
    font-size: 1rem;
}

.shop-toolbar {
    align-items: center;
    padding: 1rem;
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    background: var(--surface-card);
    box-shadow: var(--shadow-sm);
}

.shop-toolbar__eyebrow {
    color: var(--med-green);
}

.shop-product-card {
    height: 100%;
    overflow: hidden;
    border: 1px solid rgba(191, 208, 224, 0.9);
    border-radius: var(--r-lg);
    background: var(--surface-card);
    box-shadow: var(--shadow-sm);
    transition: transform var(--trans), box-shadow var(--trans), border-color var(--trans);
}

.shop-product-card:hover {
    transform: translateY(-6px);
    border-color: rgba(var(--med-green-rgb), 0.32);
    box-shadow: var(--shadow-lg);
}

.shop-product-card__media {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: #fff;
}

.shop-product-card__image-link,
.shop-product-card__media img,
.shop-product-card__placeholder {
    display: block;
    width: 100%;
    height: 100%;
}

.shop-product-card__media img {
    object-fit: contain;
    padding: 0;
    opacity: 1;
    filter: none;
    transition: transform 0.55s var(--ease);
}

.shop-product-card:hover .shop-product-card__media img {
    transform: scale(1.025);
}

.shop-product-card__placeholder {
    display: grid;
    place-items: center;
    color: var(--med-green);
    font-size: 3.5rem;
}

.shop-product-card__badges {
    position: absolute;
    top: 0.8rem;
    left: 0.8rem;
    right: 0.8rem;
    z-index: 2;
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
}

.shop-product-card__badges .product-badge,
.shop-product-card__badges .detox-badge {
    position: static;
    inset: auto;
    display: inline-flex;
    align-items: center;
    gap: 0.32rem;
    width: auto;
    opacity: 1;
    backdrop-filter: none;
}

.shop-product-card__badges .product-badge.nouveau {
    background: linear-gradient(135deg, var(--med-green), var(--med-green-mid));
}

.shop-product-card__badges .detox-badge {
    background: linear-gradient(135deg, var(--teal-balance), var(--teal-dark));
}

.shop-product-card__status {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    min-height: 26px;
}

.shop-product-card__status .product-badge,
.shop-product-card__status .detox-badge {
    position: static;
    inset: auto;
    display: inline-flex;
    align-items: center;
    width: auto;
    opacity: 1;
    box-shadow: none;
}

.shop-product-card__body {
    display: flex;
    flex-direction: column;
    gap: 0.72rem;
    min-height: 210px;
    padding: 1rem;
}

.shop-product-card__meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    color: var(--text-muted);
    font-size: 0.76rem;
    font-weight: 800;
}

.shop-product-card__meta i {
    color: var(--gold-premium);
}

.shop-product-card h3 {
    margin: 0;
    font-family: 'Nunito', sans-serif;
    font-size: 1.02rem;
    font-weight: 900;
    line-height: 1.32;
}

.shop-product-card h3 a {
    color: var(--text-primary);
}

.shop-product-card h3 a:hover {
    color: var(--med-green-dark);
}

.shop-product-card p {
    flex: 1;
    margin: 0;
    color: var(--text-muted);
    font-size: 0.86rem;
    line-height: 1.55;
}

.shop-product-card__footer {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 0.75rem;
    padding-top: 0.35rem;
    border-top: 1px solid var(--border);
}

.shop-product-card__actions {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    flex: 0 0 auto;
}

.shop-product-card__detail {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    min-height: 42px;
    padding: 0 0.75rem;
    border: 1px solid var(--border);
    border-radius: var(--r-full);
    background: var(--surface-card);
    color: var(--pharma-blue);
    font-size: 0.76rem;
    font-weight: 900;
    white-space: nowrap;
    box-shadow: var(--shadow-xs);
}

.shop-product-card__detail:hover {
    background: var(--pharma-blue);
    color: #fff;
}

.shop-product-card__label {
    display: block;
    color: var(--text-muted);
    font-size: 0.68rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.shop-product-card__footer strong {
    color: var(--med-green-dark);
    font-size: 1.15rem;
    font-weight: 900;
}

.shop-product-card__footer .btn {
    width: 44px;
    height: 44px;
    display: inline-grid;
    place-items: center;
    flex: 0 0 44px;
    padding: 0;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--amber-vita), #ff9a00);
    color: #fff;
    box-shadow: var(--shadow-amber);
}

/* ============================================================
   Detail produit premium
   ============================================================ */
.product-detail-shell {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
    gap: clamp(1.25rem, 4vw, 2.5rem);
    align-items: start;
}

.product-detail-gallery-col {
    position: sticky;
    top: 150px;
}

.product-gallery--premium {
    border-radius: var(--r-xl);
    background: #fff;
}

.gallery-main {
    position: relative;
    overflow: hidden;
    background: #fff;
}

.gallery-slide {
    display: none;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
}

.gallery-slide.active {
    display: flex;
}

.gallery-slide img {
    width: 100%;
    height: 100%;
    max-height: min(72vh, 720px);
    object-fit: contain;
    image-rendering: auto;
    padding: clamp(0.8rem, 2vw, 1.4rem);
}

.shop-product-card__img {
    width: 100%;
    height: 100%;
    min-height: 220px;
    object-fit: contain;
    object-position: center;
    background: #fff;
}

.detail-top-hero__bg {
    object-fit: cover;
    object-position: center;
    filter: none;
}

.gallery-quality-badge {
    position: absolute;
    left: 1rem;
    bottom: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.48rem 0.78rem;
    border-radius: var(--r-full);
    background: rgba(255, 255, 255, 0.92);
    color: var(--med-green-dark);
    font-size: 0.76rem;
    font-weight: 900;
    box-shadow: var(--shadow-sm);
}

.gallery-nav {
    position: absolute;
    top: 50%;
    z-index: 3;
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.94);
    color: var(--pharma-blue);
    box-shadow: var(--shadow-sm);
}

.gallery-prev { left: 1rem; }
.gallery-next { right: 1rem; }

.gallery-thumbs {
    display: flex;
    gap: 0.65rem;
    overflow-x: auto;
    padding: 0.85rem;
    background: rgba(255, 255, 255, 0.62);
}

.gallery-thumb {
    flex: 0 0 74px;
    width: 74px;
    height: 74px;
    overflow: hidden;
    border: 2px solid transparent;
    border-radius: var(--r-md);
    background: var(--surface-card);
    cursor: pointer;
    transition: border-color var(--trans), transform var(--trans);
}

.gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-thumb.active,
.gallery-thumb:hover {
    border-color: var(--med-green);
    transform: translateY(-2px);
}

.gallery-placeholder {
    aspect-ratio: 1 / 1;
    display: grid;
    place-items: center;
    color: var(--text-muted);
    background: var(--surface-muted);
}

.gallery-placeholder i {
    color: var(--med-green);
    font-size: 4rem;
    opacity: 0.55;
}

.product-detail-info {
    position: relative;
    overflow: hidden;
}

.product-detail-info::before {
    content: '';
    position: absolute;
    inset: 0 0 auto 0;
    height: 5px;
    background: linear-gradient(90deg, var(--med-green), var(--cyan-health), var(--amber-vita));
}

.product-detail-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    margin-bottom: 0.9rem;
}

.product-detail-title {
    margin-bottom: 0.65rem;
    color: var(--pharma-blue-dark);
    font-size: clamp(1.85rem, 3vw, 2.8rem);
    letter-spacing: 0;
}

.product-rating-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.7rem;
    margin-bottom: 1.2rem;
    color: var(--gold-premium);
}

.product-rating-row small {
    color: var(--text-muted);
    font-weight: 800;
}

.product-price-panel {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem;
    border: 1px solid var(--med-green-light);
    border-radius: var(--r-lg);
    background: linear-gradient(135deg, var(--med-green-soft), #fff);
}

.product-price-label {
    display: block;
    color: var(--text-muted);
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.product-detail-price {
    margin: 0;
    color: var(--med-green-dark);
    font-size: clamp(1.7rem, 3vw, 2.35rem);
    font-weight: 900;
    line-height: 1.1;
}

.product-size-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.55rem 0.85rem;
    border-radius: var(--r-full);
    background: var(--surface-card);
    color: var(--pharma-blue);
    font-weight: 900;
    box-shadow: var(--shadow-xs);
}

.product-trust-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.65rem;
    margin: 1rem 0;
}

.product-trust-grid span {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    min-height: 52px;
    padding: 0.7rem;
    border: 1px solid var(--border);
    border-radius: var(--r-md);
    background: var(--surface-muted);
    color: var(--text-secondary);
    font-size: 0.78rem;
    font-weight: 900;
    line-height: 1.25;
}

.product-trust-grid i {
    color: var(--teal-balance);
}

.product-purchase-card {
    padding: 1rem;
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    background: var(--surface-card);
    box-shadow: var(--shadow-xs);
}

.product-purchase-card__title {
    color: var(--pharma-blue);
    font-weight: 900;
}

.product-purchase-card p {
    margin: 0.25rem 0 0.85rem;
    color: var(--text-muted);
    font-size: 0.88rem;
}

.product-detail-actions {
    display: flex;
    gap: 0.75rem;
    align-items: stretch;
}

.qty-control {
    flex: 0 0 auto;
    border-radius: var(--r-full);
}

.qty-control input {
    width: 56px;
    border: 0;
    text-align: center;
    color: var(--text-primary);
    font-weight: 900;
}

.qty-btn {
    width: 44px;
    border: 0;
    font-size: 1.1rem;
    font-weight: 900;
}

.stock-info {
    color: var(--med-green-dark);
    font-weight: 800;
}

.product-detail-tabs {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 1.5rem;
}

.product-detail-block {
    display: flex;
    gap: 0.9rem;
    padding: 1.15rem;
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    background: var(--surface-card);
    box-shadow: var(--shadow-xs);
}

.product-detail-block--accent {
    background: linear-gradient(135deg, var(--pharma-blue-soft), #fff);
}

.product-detail-block__icon {
    width: 42px;
    height: 42px;
    display: inline-grid;
    place-items: center;
    flex: 0 0 42px;
    border-radius: var(--r-md);
    background: var(--teal-soft);
    color: var(--teal-dark);
}

.product-detail-block h2 {
    margin-bottom: 0.35rem;
    color: var(--pharma-blue);
    font-family: 'Nunito', sans-serif;
    font-size: 0.98rem;
    font-weight: 900;
}

.product-detail-block p {
    margin: 0;
    color: var(--text-secondary);
    font-size: 0.92rem;
}

.similar-products {
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
}

.similar-products__head {
    margin-bottom: 1rem;
}

.similar-products__head span {
    color: var(--med-green);
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.similar-products__head h2 {
    margin: 0.2rem 0 0;
    font-size: clamp(1.5rem, 2.5vw, 2rem);
}

.similar-product-card {
    display: grid;
    grid-template-rows: auto 1fr;
    height: 100%;
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    background: var(--surface-card);
    color: var(--text-primary);
    box-shadow: var(--shadow-sm);
    transition: transform var(--trans), box-shadow var(--trans);
}

.similar-product-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.similar-product-card__image {
    aspect-ratio: 4 / 3;
    display: grid;
    place-items: center;
    background: #fff;
    color: var(--med-green);
    font-size: 2.4rem;
}

.similar-product-card__image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 0.35rem;
}

.similar-product-card__body {
    display: grid;
    gap: 0.45rem;
    padding: 0.9rem;
}

.similar-product-card__body strong {
    color: var(--text-primary);
    font-size: 0.95rem;
    line-height: 1.3;
}

.similar-product-card__body em {
    color: var(--med-green-dark);
    font-style: normal;
    font-weight: 900;
}

.product-image-placeholder {
    display: grid;
    width: 100%;
    height: 100%;
    min-height: 180px;
    place-items: center;
    color: var(--med-green);
    background:
        linear-gradient(135deg, rgba(var(--med-green-rgb), 0.12), rgba(var(--cyan-rgb), 0.12)),
        var(--surface-muted);
    font-size: 3rem;
}

.cart-item-image {
    width: 72px;
    height: 72px;
    object-fit: contain;
    background: var(--surface-muted);
    padding: 0.25rem;
}

/* ============================================================
   Admin premium
   ============================================================ */
.admin-area {
    background:
        linear-gradient(180deg, rgba(235, 243, 255, 0.95), rgba(245, 247, 250, 0.35) 360px),
        var(--surface-base);
}

.admin-area .container-fluid.py-4,
.admin-shell {
    max-width: 1480px;
    margin-inline: auto;
}

.admin-workspace-nav {
    position: sticky;
    top: 142px;
    display: grid;
    gap: 0.75rem;
    padding: 0.8rem;
    border: 1px solid var(--border);
    border-radius: var(--r-xl);
    background: rgba(255, 255, 255, 0.88);
    box-shadow: var(--shadow-sm);
}

.admin-workspace-brand {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.65rem;
    border-radius: var(--r-lg);
    background: linear-gradient(135deg, var(--pharma-blue-soft), var(--med-green-soft));
}

.admin-workspace-brand > span {
    width: 40px;
    height: 40px;
    display: inline-grid;
    place-items: center;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--pharma-blue), var(--teal-balance));
    color: #fff;
}

.admin-workspace-brand strong,
.admin-workspace-brand small {
    display: block;
}

.admin-workspace-brand strong {
    color: var(--pharma-blue-dark);
    font-weight: 950;
}

.admin-workspace-brand small {
    color: var(--text-muted);
    font-size: 0.72rem;
    font-weight: 800;
}

.admin-workspace-links,
.admin-workspace-tools {
    display: grid;
    gap: 0.42rem;
}

.admin-workspace-links a,
.admin-workspace-tools a {
    display: grid;
    grid-template-columns: 30px minmax(0, 1fr) auto;
    align-items: center;
    gap: 0.55rem;
    min-height: 42px;
    padding: 0.42rem 0.55rem;
    border-radius: var(--r-md);
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 900;
    transition: transform var(--trans), background var(--trans), color var(--trans);
}

.admin-workspace-links a:hover,
.admin-workspace-tools a:hover {
    transform: translateX(3px);
    background: var(--med-green-soft);
    color: var(--med-green-dark);
}

.admin-workspace-links a.active {
    background: linear-gradient(135deg, var(--pharma-blue), var(--teal-balance));
    color: #fff;
    box-shadow: var(--shadow-cyan);
}

.admin-workspace-links i,
.admin-workspace-tools i {
    width: 30px;
    text-align: center;
}

.admin-workspace-links em {
    min-width: 22px;
    height: 22px;
    display: inline-grid;
    place-items: center;
    padding: 0 0.35rem;
    border-radius: var(--r-full);
    background: var(--coral-care);
    color: #fff;
    font-style: normal;
    font-size: 0.72rem;
}

.admin-workspace-tools {
    padding-top: 0.55rem;
    border-top: 1px solid var(--border);
}

.admin-workspace-tools a {
    grid-template-columns: 30px 1fr;
    font-size: 0.82rem;
}

.admin-workspace-tools a.danger {
    color: #b91c1c;
}

.admin-sidebar,
.admin-area .list-group {
    position: sticky;
    top: 146px;
    gap: 0.45rem;
    padding: 0.65rem;
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    background: rgba(255, 255, 255, 0.84);
    box-shadow: var(--shadow-sm);
}

.admin-area .list-group-item {
    border: 0 !important;
    border-radius: var(--r-md) !important;
    color: var(--text-secondary);
    font-weight: 850;
    transition: transform var(--trans), background var(--trans), color var(--trans);
}

.admin-area .list-group-item:hover {
    transform: translateX(3px);
    background: var(--med-green-soft);
    color: var(--med-green-dark);
}

.admin-area .list-group-item.active,
.admin-area .list-group-item.bg-success {
    background: linear-gradient(135deg, var(--pharma-blue), var(--teal-balance)) !important;
    color: #fff !important;
    box-shadow: var(--shadow-cyan);
}

.admin-page-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding: 1.15rem;
    border: 1px solid var(--border);
    border-radius: var(--r-xl);
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(232, 249, 242, 0.78)),
        var(--surface-card);
    box-shadow: var(--shadow-sm);
}

.admin-page-head h1 {
    margin: 0.2rem 0 0.2rem;
    color: var(--pharma-blue-dark);
    font-size: clamp(1.6rem, 3vw, 2.35rem);
}

.admin-page-head p {
    margin: 0;
    color: var(--text-muted);
}

.admin-head-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
}

.admin-kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    color: var(--med-green);
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.admin-card,
.admin-area .card.shadow,
.admin-area .card.shadow-sm {
    border: 1px solid var(--border) !important;
    border-radius: var(--r-xl);
    box-shadow: var(--shadow-md) !important;
}

.admin-area .card-header {
    border-bottom: 1px solid var(--border);
}

.admin-area table {
    min-width: 780px;
}

.admin-area thead th {
    color: var(--text-muted);
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    white-space: nowrap;
}

.admin-area tbody tr {
    transition: background var(--trans), transform var(--trans);
}

.admin-area tbody tr:hover {
    background: var(--med-green-soft);
}

.admin-product-thumb,
.admin-image-missing {
    width: 56px;
    height: 56px;
    display: inline-grid;
    place-items: center;
    border-radius: var(--r-md);
}

.admin-product-thumb {
    object-fit: contain;
    padding: 0.2rem;
    background: var(--surface-muted);
}

.admin-image-missing {
    color: var(--med-green);
    background: var(--surface-muted);
    font-size: 1.25rem;
}

.admin-table-actions,
.admin-share-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.4rem;
}

.admin-table-actions .btn,
.share-btn {
    width: 36px;
    height: 36px;
    display: inline-grid;
    place-items: center;
    border: 0;
    border-radius: 50%;
    color: #fff;
    text-decoration: none;
    box-shadow: var(--shadow-xs);
    transition: transform var(--trans), box-shadow var(--trans);
}

.admin-table-actions .btn:hover,
.share-btn:hover {
    color: #fff;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.share-btn--whatsapp { background: #25d366; }
.share-btn--facebook { background: #1877f2; }
.share-btn--telegram { background: #229ed9; }
.share-btn--copy { background: linear-gradient(135deg, var(--pharma-blue), var(--teal-balance)); }

.admin-share-panel {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem;
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    background: linear-gradient(135deg, var(--pharma-blue-soft), #fff);
}

.admin-share-panel strong {
    display: block;
    max-width: 100%;
    color: var(--pharma-blue);
    font-size: 0.9rem;
    overflow-wrap: anywhere;
}

.admin-area .form-control,
.admin-area .form-select {
    min-height: 44px;
}

.admin-form-switch {
    min-height: 44px;
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.6rem 0.8rem;
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    background: var(--surface-muted);
}

.admin-area .modal-content {
    border: 0;
    border-radius: var(--r-xl);
    box-shadow: var(--shadow-lg);
}

.order-detail-trigger {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    border: 0;
    border-radius: var(--r-full);
    background: linear-gradient(135deg, var(--pharma-blue), var(--cyan-health)) !important;
    color: #fff !important;
    font-weight: 850;
    box-shadow: var(--shadow-xs);
}

.order-detail-modal {
    overflow: hidden;
    background: var(--surface-base);
}

.order-detail-modal__head {
    border: 0;
    background: linear-gradient(135deg, var(--pharma-blue-dark), var(--pharma-blue), var(--teal-balance));
    color: #fff;
}

.order-detail-modal__head .admin-kicker {
    color: rgba(206, 255, 238, 0.94);
}

.order-detail-loading {
    min-height: 220px;
    display: grid;
    place-items: center;
    gap: 0.8rem;
    color: var(--pharma-blue);
}

.order-detail-hero {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.85rem;
    margin-bottom: 1rem;
}

.order-detail-hero > div,
.order-detail-panel,
.order-items-panel {
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    background: rgba(255, 255, 255, 0.9);
    box-shadow: var(--shadow-xs);
}

.order-detail-hero > div {
    padding: 0.95rem;
}

.order-detail-hero span {
    display: block;
    color: var(--text-muted);
    font-size: 0.72rem;
    font-weight: 900;
    text-transform: uppercase;
}

.order-detail-hero strong {
    display: block;
    margin-top: 0.25rem;
    color: var(--pharma-blue-dark);
    font-size: 1.08rem;
}

.order-status-pill {
    display: inline-flex;
    align-items: center;
    margin-top: 0.28rem;
    padding: 0.35rem 0.65rem;
    border-radius: var(--r-full);
    color: #fff;
    font-style: normal;
    font-size: 0.78rem;
    font-weight: 900;
}

.order-status--pending { background: linear-gradient(135deg, #f59e0b, #f77f00); }
.order-status--confirmed { background: linear-gradient(135deg, var(--cyan-health), var(--pharma-blue)); }
.order-status--delivery { background: linear-gradient(135deg, #2563eb, var(--teal-balance)); }
.order-status--done { background: linear-gradient(135deg, var(--med-green), var(--teal-balance)); }
.order-status--cancelled { background: linear-gradient(135deg, #dc2626, #991b1b); }

.order-detail-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 0.85rem;
    margin-bottom: 1rem;
}

.order-detail-panel {
    padding: 1rem;
}

.order-detail-panel h6,
.order-items-panel h6 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0 0 0.75rem;
    color: var(--pharma-blue-dark);
    font-weight: 900;
}

.order-detail-panel p {
    margin: 0.4rem 0;
    color: var(--text-secondary);
}

.order-detail-panel p i {
    width: 18px;
    color: var(--med-green);
}

.order-items-panel {
    overflow: hidden;
}

.order-items-panel__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.9rem 1rem;
    border-bottom: 1px solid var(--border);
    background: linear-gradient(135deg, rgba(var(--pharma-blue-rgb), 0.08), rgba(var(--med-green-rgb), 0.08));
}

.order-items-panel__head h6 {
    margin: 0;
}

.order-items-panel__head span {
    color: var(--text-muted);
    font-size: 0.78rem;
    font-weight: 900;
}

.order-items-list {
    display: grid;
}

.order-item-row {
    display: grid;
    grid-template-columns: 64px minmax(0, 1fr) auto;
    align-items: center;
    gap: 0.85rem;
    padding: 0.85rem 1rem;
    border-bottom: 1px solid var(--border);
}

.order-item-row:last-child {
    border-bottom: 0;
}

.order-item-row__image,
.order-item-placeholder {
    width: 64px;
    height: 64px;
    display: grid;
    place-items: center;
    border-radius: var(--r-md);
    background: var(--surface-muted);
}

.order-item-row__image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 0.2rem;
}

.order-item-placeholder {
    color: var(--med-green);
    font-size: 1.35rem;
}

.order-item-row__main strong,
.order-item-row__main small {
    display: block;
}

.order-item-row__main strong {
    color: var(--text-primary);
    overflow-wrap: anywhere;
}

.order-item-row__main small {
    color: var(--text-muted);
}

.order-item-row__total {
    color: var(--med-green-dark);
    font-weight: 950;
    white-space: nowrap;
}

.order-detail-empty {
    padding: 1rem;
    color: var(--text-muted);
    text-align: center;
}

.admin-stat-card {
    min-height: 140px;
    overflow: hidden;
}

.admin-command-center {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.85rem;
}

.admin-command-card {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.95rem;
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    background: #fff;
    color: var(--text-primary);
    text-decoration: none;
    box-shadow: var(--shadow-xs);
    transition: transform var(--trans), box-shadow var(--trans);
}

.admin-command-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.admin-command-card > span {
    width: 44px;
    height: 44px;
    display: inline-grid;
    place-items: center;
    flex: 0 0 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--pharma-blue), var(--teal-balance));
    color: #fff;
}

.admin-command-card strong,
.admin-command-card small {
    display: block;
}

.admin-command-card strong {
    color: var(--pharma-blue-dark);
    font-size: 1.08rem;
}

.admin-command-card small {
    color: var(--text-muted);
    font-size: 0.78rem;
    font-weight: 800;
}

.admin-metric-card,
.admin-panel {
    border: 1px solid var(--border);
    border-radius: var(--r-xl);
    background: #fff;
    box-shadow: var(--shadow-sm);
}

.admin-metric-card {
    min-height: 132px;
    display: grid;
    align-content: space-between;
    gap: 0.45rem;
    padding: 1rem;
    overflow: hidden;
    color: #fff;
}

.admin-metric-card i {
    font-size: 1.4rem;
    opacity: 0.9;
}

.admin-metric-card span {
    font-size: 0.78rem;
    font-weight: 900;
    opacity: 0.9;
}

.admin-metric-card strong {
    font-size: clamp(1.35rem, 2vw, 1.9rem);
    line-height: 1.05;
    overflow-wrap: anywhere;
}

.metric-blue { background: linear-gradient(135deg, #0d47a1, var(--pharma-blue)); }
.metric-green { background: linear-gradient(135deg, var(--med-green), var(--teal-balance)); }
.metric-amber { background: linear-gradient(135deg, #f59e0b, #f77f00); }
.metric-cyan { background: linear-gradient(135deg, var(--cyan-health), var(--pharma-blue)); }

.admin-panel {
    height: 100%;
    padding: 1rem;
}

.admin-panel__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 0.85rem;
}

.admin-panel__head h2 {
    margin: 0;
    color: var(--pharma-blue-dark);
    font-size: 1rem;
    font-weight: 950;
}

.admin-panel__head a {
    color: var(--med-green);
    font-size: 0.82rem;
    font-weight: 900;
}

.admin-status-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 0.55rem;
}

.admin-status-tile {
    padding: 0.75rem;
    border-radius: var(--r-md);
    background: var(--surface-muted);
}

.admin-status-tile span,
.admin-status-tile strong {
    display: block;
}

.admin-status-tile span {
    color: var(--text-muted);
    font-size: 0.72rem;
    font-weight: 900;
}

.admin-status-tile strong {
    color: var(--pharma-blue-dark);
    font-size: 1.4rem;
}

.admin-alert-list {
    display: grid;
    gap: 0.5rem;
}

.admin-alert-list a,
.admin-empty-mini {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.68rem 0.75rem;
    border-radius: var(--r-md);
    background: var(--surface-muted);
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 850;
}

.admin-alert-list em {
    color: #b91c1c;
    font-style: normal;
    font-size: 0.78rem;
    white-space: nowrap;
}

.admin-empty-mini {
    color: var(--text-muted);
    justify-content: center;
}

.delivery-card {
    height: 100%;
    display: grid;
    gap: 0.9rem;
    padding: 1rem;
    border: 1px solid var(--border);
    border-radius: var(--r-xl);
    background: #fff;
    box-shadow: var(--shadow-sm);
}

.delivery-card__head {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr) auto;
    align-items: center;
    gap: 0.75rem;
}

.delivery-card__head > span {
    width: 44px;
    height: 44px;
    display: inline-grid;
    place-items: center;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--pharma-blue), var(--teal-balance));
    color: #fff;
}

.delivery-card__head strong,
.delivery-card__head small {
    display: block;
}

.delivery-card__head strong {
    color: var(--pharma-blue-dark);
    font-weight: 950;
}

.delivery-card__head small,
.delivery-card__body p {
    color: var(--text-muted);
}

.delivery-status {
    padding: 0.28rem 0.55rem;
    border-radius: var(--r-full);
    color: #fff;
    font-style: normal;
    font-size: 0.7rem;
    font-weight: 900;
}

.delivery-status--disponible { background: var(--med-green); }
.delivery-status--occupe { background: #f59e0b; }
.delivery-status--inactif { background: var(--text-muted); }

.delivery-card__body {
    display: grid;
    gap: 0.38rem;
}

.delivery-card__body p {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    margin: 0;
    font-size: 0.88rem;
    font-weight: 800;
}

.delivery-card__body i {
    width: 18px;
    color: var(--teal-balance);
}

.delivery-card__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
}

.delivery-card__actions form {
    display: inline-flex;
}

.delivery-assign-modal textarea {
    resize: vertical;
}

.admin-stat-card .card-body {
    position: relative;
    z-index: 1;
}

.admin-stat-card::after {
    content: '';
    position: absolute;
    right: -24px;
    bottom: -24px;
    width: 110px;
    height: 110px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.16);
}

/* ============================================================
   Categories, filtres et notifications
   ============================================================ */
.category-showcase {
    margin: 1.2rem 0 1.4rem;
    padding: 1rem;
    border: 1px solid var(--border);
    border-radius: var(--r-xl);
    background: rgba(255, 255, 255, 0.86);
    box-shadow: var(--shadow-sm);
}

.category-showcase__head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 0.9rem;
}

.category-showcase__actions {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
}

.category-showcase__head h2 {
    margin: 0.15rem 0 0;
    font-size: clamp(1.35rem, 2.3vw, 1.9rem);
}

.category-showcase__all {
    color: var(--med-green);
    font-weight: 900;
}

.section-collapse-toggle,
.shop-mobile-summary-toggle {
    border: 1px solid var(--border);
    border-radius: var(--r-full);
    background: #fff;
    color: var(--pharma-blue);
    box-shadow: var(--shadow-xs);
    font-weight: 900;
}

.section-collapse-toggle {
    min-width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    padding: 0 0.75rem;
}

.section-collapse-toggle em {
    color: var(--text-muted);
    font-style: normal;
    font-size: 0.72rem;
}

.section-collapse-toggle i,
.shop-mobile-summary-toggle > i {
    transition: transform var(--trans);
}

.section-collapse-toggle[aria-expanded="true"] i,
.shop-mobile-summary-toggle[aria-expanded="true"] > i {
    transform: rotate(180deg);
}

.shop-mobile-summary-toggle {
    width: 100%;
    display: none;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.75rem;
    padding: 0.78rem 0.95rem;
}

.shop-mobile-summary-toggle span {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
    gap: 0.75rem;
}

.category-tile,
.category-sidebar__item {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    min-height: 82px;
    padding: 0.85rem;
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    background: linear-gradient(135deg, #fff, var(--pharma-blue-soft));
    color: var(--text-primary);
    box-shadow: var(--shadow-xs);
    transition: transform var(--trans), box-shadow var(--trans), border-color var(--trans), background var(--trans);
}

.category-tile::after,
.category-sidebar__item::after {
    content: '';
    position: absolute;
    inset: auto -20px -34px auto;
    width: 92px;
    height: 92px;
    border-radius: 50%;
    background: rgba(var(--teal-rgb), 0.1);
}

.category-tile:hover,
.category-sidebar__item:hover,
.category-tile.active {
    transform: translateY(-3px);
    border-color: rgba(var(--med-green-rgb), 0.35);
    background: linear-gradient(135deg, var(--med-green-soft), #fff);
    box-shadow: var(--shadow-md);
}

.category-tile.active {
    outline: 2px solid rgba(var(--med-green-rgb), 0.16);
}

.category-tile__icon,
.category-sidebar__item span {
    width: 46px;
    height: 46px;
    display: inline-grid;
    place-items: center;
    flex: 0 0 46px;
    border-radius: 15px;
    background: linear-gradient(135deg, var(--med-green), var(--teal-balance));
    color: #fff;
    box-shadow: var(--shadow-green);
}

.category-tile__body,
.category-sidebar__item strong,
.category-sidebar__item small {
    position: relative;
    z-index: 1;
}

.category-tile__body strong,
.category-sidebar__item strong {
    display: block;
    color: var(--pharma-blue-dark);
    font-weight: 900;
    line-height: 1.18;
}

.category-tile__body small,
.category-sidebar__item small {
    display: block;
    margin-top: 0.15rem;
    color: var(--text-muted);
    font-size: 0.76rem;
    font-weight: 800;
}

.category-sidebar__head {
    background: var(--grad-brand) !important;
}

.category-sidebar__intro {
    color: var(--text-muted);
    font-weight: 700;
}

.category-sidebar__grid {
    display: grid;
    gap: 0.75rem;
}

.category-sidebar__item {
    text-decoration: none;
}

.filter-nav--modern a {
    justify-content: space-between;
}

.filter-nav--modern a span {
    flex: 1;
}

.filter-nav--modern a em {
    min-width: 28px;
    padding: 0.18rem 0.45rem;
    border-radius: var(--r-full);
    background: rgba(0, 53, 102, 0.08);
    color: inherit;
    font-style: normal;
    font-size: 0.72rem;
    text-align: center;
}

.filter-form,
.mobile-filter-form {
    display: grid;
    gap: 0.9rem;
}

.filter-range-control {
    display: grid;
    gap: 0.55rem;
    padding: 0.85rem;
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    background: linear-gradient(135deg, #fff, var(--med-green-soft));
}

.filter-range-control span {
    display: flex;
    justify-content: space-between;
    gap: 0.75rem;
    color: var(--text-muted);
    font-size: 0.8rem;
    font-weight: 900;
}

.filter-range-control strong {
    color: var(--med-green-dark);
    white-space: nowrap;
}

.filter-range-control input[type="range"] {
    accent-color: var(--med-green);
}

.filter-switch {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    cursor: pointer;
    color: var(--text-secondary);
    font-weight: 850;
}

.filter-switch input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.filter-switch span {
    width: 48px;
    height: 28px;
    position: relative;
    flex: 0 0 48px;
    border-radius: var(--r-full);
    background: var(--surface-deep);
    transition: background var(--trans);
}

.filter-switch span::after {
    content: '';
    position: absolute;
    top: 4px;
    left: 4px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #fff;
    box-shadow: var(--shadow-xs);
    transition: transform var(--trans);
}

.filter-switch input:checked + span {
    background: linear-gradient(135deg, var(--med-green), var(--teal-balance));
}

.filter-switch input:checked + span::after {
    transform: translateX(20px);
}

.filter-form__actions,
.mobile-filter-form__actions {
    display: grid;
    gap: 0.55rem;
}

.js-shop-filter-form.is-filtering {
    opacity: 0.72;
}

.shop-filters-bar--modern {
    border-radius: var(--r-xl);
}

.mobile-collapsible.collapsing {
    transition: height 0.24s var(--ease);
}

.cart-qty-control {
    width: max-content;
    max-width: 100%;
    display: inline-grid;
    grid-template-columns: 34px minmax(46px, 58px) 34px;
    align-items: center;
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: var(--r-full);
    background: #fff;
    box-shadow: var(--shadow-xs);
}

.cart-qty-control .cart-qty {
    width: 100%;
    min-height: 34px;
    padding: 0;
    border: 0;
    border-inline: 1px solid var(--border);
    border-radius: 0;
    background: transparent;
    text-align: center;
    font-weight: 900;
}

.cart-qty-btn {
    width: 34px;
    height: 34px;
    border: 0;
    background: var(--surface-muted);
    color: var(--pharma-blue);
    font-weight: 950;
    transition: background var(--trans), color var(--trans);
}

.cart-qty-btn:hover {
    background: linear-gradient(135deg, var(--med-green), var(--teal-balance));
    color: #fff;
}

.admin-notification-widget {
    position: relative;
}

.admin-notification-btn {
    position: relative;
    width: 42px;
    height: 42px;
    display: inline-grid;
    place-items: center;
    border: 1px solid var(--border);
    border-radius: 50%;
    background: var(--surface-card);
    color: var(--pharma-blue);
    box-shadow: var(--shadow-xs);
}

.admin-notification-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    min-width: 20px;
    height: 20px;
    display: inline-grid;
    place-items: center;
    padding: 0 0.32rem;
    border: 2px solid #fff;
    border-radius: var(--r-full);
    background: var(--coral-care);
    color: #fff;
    font-size: 0.68rem;
    font-weight: 900;
}

.admin-notification-badge.is-empty {
    background: var(--text-muted);
}

.admin-notification-menu {
    min-width: min(340px, calc(100vw - 1rem));
    padding: 0;
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
}

.admin-notification-menu__head,
.admin-notification-menu__link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.85rem 1rem;
}

.admin-notification-menu__head {
    background: linear-gradient(135deg, var(--pharma-blue), var(--teal-balance));
    color: #fff;
}

.admin-notification-menu__head span {
    font-size: 0.76rem;
    font-weight: 800;
    opacity: 0.88;
}

.admin-notification-list {
    max-height: 280px;
    overflow-y: auto;
}

.admin-notification-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.85rem 1rem;
    border-bottom: 1px solid var(--border);
    color: var(--text-primary);
}

.admin-notification-item:hover {
    background: var(--med-green-soft);
}

.admin-notification-item strong,
.admin-notification-item small {
    display: block;
}

.admin-notification-item small {
    color: var(--text-muted);
    font-size: 0.75rem;
}

.admin-notification-item em {
    color: var(--med-green-dark);
    font-style: normal;
    font-weight: 900;
    white-space: nowrap;
}

.admin-notification-empty {
    padding: 1rem;
    color: var(--text-muted);
    text-align: center;
}

.admin-notification-menu__link {
    color: var(--pharma-blue);
    font-weight: 900;
}

.welcome-pop {
    position: fixed;
    inset: 0;
    z-index: 9998;
    display: grid;
    place-items: center;
    padding: 1rem;
    background: rgba(0, 26, 58, 0.42);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
}

.welcome-pop.show {
    opacity: 1;
    pointer-events: auto;
}

.welcome-pop__card {
    position: relative;
    width: min(100%, 560px);
    max-height: min(92vh, 720px);
    padding: 0;
    overflow: hidden;
    border-radius: var(--r-xl);
    background: #fff;
    box-shadow: var(--shadow-lg);
    transform: translateY(18px) scale(0.98);
    transition: transform 0.25s var(--ease);
}

.welcome-pop.show .welcome-pop__card {
    transform: translateY(0) scale(1);
}

.welcome-pop__close {
    position: absolute;
    top: 0.8rem;
    right: 0.8rem;
    z-index: 2;
    width: 34px;
    height: 34px;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.92);
    color: var(--pharma-blue);
    box-shadow: var(--shadow-xs);
}

.welcome-pop__media {
    position: relative;
    aspect-ratio: 3 / 2;
    background: linear-gradient(135deg, var(--med-green-soft), var(--pharma-blue-soft));
}

.welcome-pop__media::after {
    content: '';
    position: absolute;
    inset: auto 0 0;
    height: 42%;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0), #fff);
}

.welcome-pop__media img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.welcome-pop__content {
    position: relative;
    margin-top: -2.1rem;
    padding: 0 1.45rem 1.45rem;
}

.welcome-pop__icon {
    width: 58px;
    height: 58px;
    display: inline-grid;
    place-items: center;
    border-radius: 18px;
    background: linear-gradient(135deg, var(--med-green), var(--teal-balance));
    color: #fff;
    box-shadow: var(--shadow-green);
}

.welcome-pop h2 {
    margin: 1rem 0 0.45rem;
    color: var(--pharma-blue-dark);
    font-size: 1.75rem;
}

.welcome-pop p {
    color: var(--text-secondary);
}

.welcome-pop__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    margin-top: 1rem;
}

.welcome-pop__enter {
    flex: 1 1 100%;
}

@media (max-width: 991px) {
    .navbar-middle {
        padding-block: 0.75rem !important;
    }

    .search-form .input-group {
        box-shadow: none !important;
    }

    .nav-secondary .container-fluid {
        justify-content: flex-start !important;
    }

    .page-hero {
        padding: 2rem 0;
    }

    .info-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .shop-hero__inner,
    .product-detail-shell {
        grid-template-columns: 1fr;
    }

    .shop-hero__visual {
        min-height: 280px;
    }

    .product-detail-gallery-col {
        position: static;
    }

    .product-detail-tabs {
        grid-template-columns: 1fr;
    }

    .product-trust-grid {
        grid-template-columns: 1fr;
    }

    .admin-sidebar,
    .admin-area .list-group,
    .admin-workspace-nav {
        position: static;
    }

    .admin-workspace-links {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .admin-workspace-brand,
    .admin-workspace-tools {
        display: none;
    }

    .admin-command-center {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .admin-status-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .admin-page-head,
    .admin-share-panel {
        align-items: stretch;
        flex-direction: column;
    }

    .order-detail-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 575px) {
    body {
        font-size: 14px;
    }

    .navbar-middle .container-fluid {
        padding-inline: 0.9rem !important;
    }

    .logo-brand {
        font-size: 1.45rem;
    }

    .brand-logo-img {
        width: auto !important;
        max-width: 120px !important;
        height: auto !important;
        max-height: 35px !important;
        object-fit: contain;
    }

    .header-actions {
        gap: 0.42rem !important;
    }

    .mobile-menu-button,
    .header-tools-toggle,
    .admin-notification-btn,
    .cart-link-header {
        width: 34px;
        height: 34px;
    }

    .mobile-main-menu {
        width: min(92vw, 340px);
        border-radius: 18px 0 0 18px;
    }

    .mobile-menu-logo {
        width: 96px;
        max-height: 34px;
    }

    .footer-logo-img {
        width: 150px;
    }

    .main-header .row {
        --bs-gutter-y: 0.28rem;
    }

    .navbar-middle {
        padding-block: 0.38rem !important;
    }

    .search-form .input-group {
        display: flex;
        flex-wrap: nowrap;
        min-height: 46px;
        border-radius: 16px;
        overflow: hidden;
    }

    .search-form .form-select {
        display: none !important;
    }

    .search-form .form-control {
        min-width: 0;
        flex: 1 1 auto;
        padding: 0.62rem 0.8rem;
        font-size: 0.82rem;
        border-radius: 0;
    }

    .search-form .btn {
        flex: 0 0 52px;
        width: 52px;
        min-width: 52px;
        padding: 0;
        border-radius: 0;
    }

    .nav-secondary .container-fluid {
        flex-wrap: nowrap !important;
        gap: 0.55rem !important;
        overflow-x: auto;
        scrollbar-width: none;
    }

    .nav-secondary .container-fluid::-webkit-scrollbar {
        display: none;
    }

    .nav-secondary .container-fluid > .d-flex {
        flex: 1 0 auto;
        gap: 0.55rem !important;
        min-width: 0;
    }

    .nav-secondary .container-fluid > .dropdown {
        display: none !important;
    }

    .nav-secondary .btn-rayons {
        padding: 0.45rem 0.8rem !important;
        font-size: 0.72rem;
    }

    .nav-secondary .hover-link {
        padding: 0.62rem 0.62rem;
        font-size: 0.72rem;
    }

    .shop-page-content,
    .page-content {
        width: min(100% - 1rem, 1320px);
    }

    .info-grid {
        grid-template-columns: 1fr;
    }

    #shop-products .row,
    .similar-products .row {
        --bs-gutter-x: 0.55rem;
        --bs-gutter-y: 0.75rem;
    }

    .shop-product-card {
        border-radius: 12px;
    }

    .shop-product-card:hover {
        transform: none;
    }

    .shop-product-card__media {
        aspect-ratio: 1 / 1;
    }

    .shop-product-card__media img {
        object-fit: contain;
    }

    .product-card .card-body {
        min-height: 164px;
        padding: 0.9rem;
    }

    .order-detail-modal .modal-body {
        padding: 0.85rem;
    }

    .order-detail-hero {
        grid-template-columns: 1fr;
        gap: 0.65rem;
    }

    .order-detail-hero > div,
    .order-detail-panel {
        padding: 0.8rem;
    }

    .order-items-panel__head {
        align-items: flex-start;
        flex-direction: column;
        gap: 0.25rem;
    }

    .order-item-row {
        grid-template-columns: 54px minmax(0, 1fr);
        gap: 0.65rem;
        padding: 0.75rem 0.85rem;
    }

    .order-item-row__image,
    .order-item-placeholder {
        width: 54px;
        height: 54px;
    }

    .order-item-row__total {
        grid-column: 2;
        white-space: normal;
    }

    .product-card .card-title {
        font-size: 0.88rem;
    }

    .product-detail-info {
        border-radius: var(--r-lg);
        padding: 1rem;
    }

    .product-detail-actions .btn {
        width: 100%;
    }

    .site-footer {
        text-align: center;
    }

    .site-footer .social-links {
        justify-content: center;
        display: flex;
    }

    .shop-hero__inner {
        min-height: auto;
        padding-block: 2.5rem;
    }

    .shop-hero__actions,
    .product-detail-actions {
        flex-direction: column;
    }

    .shop-hero__actions .btn,
    .product-detail-actions .btn {
        width: 100%;
    }

    .shop-hero__visual {
        min-height: 230px;
    }

    .shop-hero__badge {
        right: 0.5rem;
        bottom: 0.5rem;
    }

    .shop-summary {
        grid-template-columns: 1fr;
    }

    .category-showcase {
        margin-top: 0.9rem;
        padding: 0.75rem;
        border-radius: var(--r-lg);
    }

    .category-showcase__head {
        align-items: flex-start;
        margin-bottom: 0;
    }

    .category-showcase__actions {
        align-items: center;
    }

    .shop-mobile-summary-toggle {
        display: flex;
    }

    .mobile-collapsible.show {
        margin-top: 0.75rem;
    }

    .category-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.55rem;
    }

    .category-tile {
        min-height: 74px;
        padding: 0.65rem;
        border-radius: 14px;
    }

    .category-tile__icon {
        width: 38px;
        height: 38px;
        flex-basis: 38px;
        border-radius: 12px;
    }

    .category-tile__body strong {
        display: -webkit-box;
        overflow: hidden;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
        font-size: 0.78rem;
    }

    .category-tile__body small {
        font-size: 0.66rem;
    }

    .mobile-filter-form {
        padding: 0.75rem 0.85rem 0;
    }

    .shop-filters-bar__head {
        align-items: center;
    }

    .shop-toolbar {
        align-items: stretch;
        flex-direction: column;
        gap: 0.65rem;
        padding: 0.75rem;
    }

    .shop-toolbar__eyebrow {
        display: none;
    }

    .shop-toolbar h2 {
        font-size: 1rem;
    }

    .filter-range-control {
        padding: 0.72rem;
        border-radius: 14px;
    }

    .filter-range-control span {
        align-items: flex-start;
        flex-direction: column;
        gap: 0.2rem;
    }

    .shop-product-card__body {
        min-height: 0;
        gap: 0.35rem;
        padding: 0.48rem;
    }

    .shop-product-card__meta {
        font-size: 0.58rem;
        gap: 0.25rem;
    }

    .shop-product-card__meta span:first-child {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .shop-product-card__status {
        display: none;
    }

    .shop-product-card h3 {
        display: -webkit-box;
        min-height: 2.25em;
        overflow: hidden;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
        font-size: 0.74rem;
        line-height: 1.15;
    }

    .shop-product-card p {
        display: none;
    }

    .shop-product-card__footer {
        align-items: stretch;
        flex-direction: column;
        gap: 0.35rem;
        padding-top: 0.32rem;
    }

    .shop-product-card__label {
        display: none;
    }

    .shop-product-card__footer strong {
        display: block;
        font-size: 0.82rem;
        line-height: 1.05;
        white-space: nowrap;
    }

    .shop-product-card__actions {
        justify-content: space-between;
        gap: 0.3rem;
    }

    .shop-product-card__detail span {
        display: none;
    }

    .shop-product-card__detail,
    .shop-product-card__footer .btn {
        width: 32px;
        height: 32px;
        min-height: 32px;
        flex: 0 0 32px;
        padding: 0;
        justify-content: center;
        font-size: 0.72rem;
    }

    .similar-product-card {
        border-radius: 12px;
    }

    .similar-product-card__image {
        aspect-ratio: 1 / 1;
    }

    .similar-product-card__image img {
        padding: 0;
        object-fit: contain;
    }

    .similar-product-card__body {
        gap: 0.2rem;
        padding: 0.45rem;
    }

    .similar-product-card__body strong {
        display: -webkit-box;
        min-height: 2.2em;
        overflow: hidden;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
        font-size: 0.72rem;
        line-height: 1.12;
    }

    .similar-product-card__body em {
        font-size: 0.78rem;
        line-height: 1.05;
    }

    .product-price-panel {
        align-items: flex-start;
        flex-direction: column;
    }

    .qty-control {
        width: 100%;
        justify-content: center;
    }

    .cart-item {
        --bs-gutter-y: 0.65rem;
    }

    .cart-qty-control {
        grid-template-columns: 32px minmax(42px, 52px) 32px;
    }

    .cart-qty-btn {
        width: 32px;
        height: 32px;
    }

    .gallery-quality-badge {
        left: 0.75rem;
        bottom: 0.75rem;
    }

    .admin-sidebar,
    .admin-area .list-group {
        grid-template-columns: 1fr;
    }

    .admin-workspace-nav {
        padding: 0.55rem;
        border-radius: var(--r-lg);
    }

    .admin-workspace-links {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.35rem;
    }

    .admin-workspace-links a {
        grid-template-columns: 26px minmax(0, 1fr) auto;
        min-height: 38px;
        padding: 0.38rem;
        font-size: 0.78rem;
    }

    .admin-command-center,
    .admin-status-grid {
        grid-template-columns: 1fr;
    }

    .admin-command-card,
    .admin-panel {
        border-radius: var(--r-lg);
    }

    .admin-page-head {
        border-radius: var(--r-lg);
        padding: 1rem;
    }

    .admin-page-head .btn {
        width: 100%;
    }

    .admin-area .table-responsive {
        border-radius: var(--r-lg);
    }

    .admin-table-actions,
    .admin-share-actions {
        gap: 0.35rem;
    }

    .welcome-pop__card {
        border-radius: var(--r-lg);
    }

    .welcome-pop__media {
        aspect-ratio: 4 / 3;
    }

    .welcome-pop__content {
        margin-top: -1.5rem;
        padding: 0 1rem 1rem;
    }

    .welcome-pop__actions .btn {
        width: 100%;
    }
}

@media (max-width: 390px) {
    .brand-logo-img {
        width: auto !important;
        max-width: 90px !important;
        max-height: 30px !important;
    }

    .mobile-menu-logo {
        width: 86px;
        max-height: 30px;
    }

    .shop-product-card__detail {
        flex: 0 0 32px;
        justify-content: center;
    }
}

/* ============================================================
   Override final : header bleu fonce + boutique image locale
   ============================================================ */
.main-header,
.page-accueil .main-header {
    position: sticky;
    top: 0;
    isolation: isolate;
    overflow: visible;
    background:
        linear-gradient(135deg, rgba(2, 24, 48, 0.98), rgba(5, 49, 85, 0.96)),
        #031b33 !important;
    color: #fff;
    border-bottom: 1px solid rgba(125, 211, 252, 0.18);
    box-shadow: 0 18px 44px rgba(2, 8, 23, 0.24);
}

.main-header::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background:
        repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.055) 0 1px, transparent 1px 28px),
        linear-gradient(90deg, rgba(14, 165, 166, 0.18), transparent 32%, rgba(245, 158, 11, 0.12));
    opacity: 0.9;
}

.top-bar {
    background: rgba(1, 19, 38, 0.72) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.09);
}

.navbar-middle {
    background: transparent !important;
    border-bottom: 1px solid rgba(125, 211, 252, 0.14) !important;
}

.navbar-middle .text-muted,
.navbar-middle .dropdown-toggle small,
.navbar-middle .dropdown-toggle strong {
    color: rgba(255, 255, 255, 0.84) !important;
}

.logo-image-link {
    padding: 0.35rem 0.55rem;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 12px 30px rgba(2, 8, 23, 0.18);
}

.search-form .input-group {
    border: 1px solid rgba(125, 211, 252, 0.35);
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 16px 34px rgba(2, 8, 23, 0.18) !important;
}

.search-form .form-select {
    background: #eef6ff !important;
    color: #0f2744 !important;
}

.header-quick-links a {
    color: rgba(255, 255, 255, 0.78);
}

.header-quick-links a:hover {
    color: #fff;
}

.header-whatsapp-link {
    background: rgba(37, 211, 102, 0.16);
    color: #dcfce7;
    border: 1px solid rgba(187, 247, 208, 0.28);
}

.cart-link-header,
.admin-notification-btn,
.mobile-menu-button,
.header-tools-toggle {
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    box-shadow: 0 12px 28px rgba(2, 8, 23, 0.18);
}

.cart-link-header:hover,
.admin-notification-btn:hover,
.mobile-menu-button:hover,
.header-tools-toggle:hover {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
}

.nav-secondary {
    background:
        linear-gradient(90deg, rgba(1, 22, 42, 0.98), rgba(6, 57, 97, 0.96), rgba(8, 76, 105, 0.94)) !important;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: none;
}

.nav-secondary .hover-link {
    color: rgba(255, 255, 255, 0.84) !important;
}

.nav-secondary .hover-link:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff !important;
}

.shop-hero {
    background:
        linear-gradient(90deg, rgba(1, 18, 36, 0.94) 0%, rgba(3, 37, 65, 0.82) 46%, rgba(3, 37, 65, 0.35) 100%),
        url('../img/home/shop-cover-unsplash.jpg') center right / cover no-repeat !important;
}

.shop-hero::before {
    background:
        repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.09) 0 1px, transparent 1px 42px),
        linear-gradient(180deg, rgba(14, 165, 166, 0.2), transparent 55%);
    mask-image: none;
    opacity: 0.52;
}

.shop-hero__copy {
    max-width: 720px;
    padding: clamp(1rem, 2vw, 1.35rem);
    border-radius: 8px;
    background: rgba(1, 18, 36, 0.42);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 22px 48px rgba(2, 8, 23, 0.18);
    backdrop-filter: blur(8px);
}

.shop-hero__visual {
    min-height: 390px;
}

.shop-hero__visual::before {
    content: '';
    position: absolute;
    inset: 4% 0 8% 8%;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 8px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.08)),
        url('../img/home/shop-cover-unsplash.jpg') center / cover no-repeat;
    box-shadow: 0 28px 70px rgba(2, 8, 23, 0.28);
}

.shop-floating-product {
    background: rgba(255, 255, 255, 0.9);
}

@media (max-width: 991px) {
    .main-header::before {
        background:
            repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0 1px, transparent 1px 22px),
            linear-gradient(90deg, rgba(14, 165, 166, 0.14), transparent);
    }

    .shop-hero {
        background:
            linear-gradient(180deg, rgba(1, 18, 36, 0.92), rgba(3, 37, 65, 0.72)),
            url('../img/home/shop-cover-unsplash.jpg') center / cover no-repeat !important;
    }
}

@media (max-width: 575px) {
    .logo-image-link {
        padding: 0.22rem 0.35rem;
    }

    .shop-hero__copy {
        padding: 1rem;
    }

    .shop-hero__visual::before {
        inset: 0;
    }
}

/* ==== compact-header.css ==== */
/* Header final compact - palette marketplace type Amazon */
:root {
    --amazon-ink: #131921;
    --amazon-nav: #232f3e;
    --amazon-nav-soft: #37475a;
    --amazon-orange: #febd69;
    --amazon-orange-dark: #ff9900;
    --amazon-link: #ffffff;
    --amazon-muted: #d5dbdb;
    --amazon-search-border: #f3a847;
}

.main-header,
.page-accueil .main-header {
    background: var(--amazon-ink) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow: 0 8px 22px rgba(2, 8, 23, 0.22);
}

.main-header::before,
.nav-secondary::before,
.nav-secondary::after {
    display: none !important;
    content: none !important;
    background: none !important;
}

.top-bar {
    background: #0f141a !important;
    color: var(--amazon-muted) !important;
}

.navbar-middle {
    background: transparent !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06) !important;
}

.navbar-middle .text-muted,
.navbar-middle .dropdown-toggle small,
.navbar-middle .dropdown-toggle strong {
    color: var(--amazon-link) !important;
}

.logo-image-link {
    border: 1px solid transparent;
    border-radius: 8px;
    background: transparent;
    box-shadow: none;
    transition: border-color 0.18s ease;
}

.brand-logo-img,
.mobile-menu-logo {
    object-fit: contain;
    filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.22));
}

.logo-image-link:hover {
    border-color: rgba(255, 255, 255, 0.72);
}

.nav-secondary {
    background: var(--amazon-nav) !important;
    border-top: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.nav-secondary .btn-rayons,
.btn-warning {
    background: var(--amazon-orange-dark) !important;
    color: #111827 !important;
}

.search-form .btn,
.search-form .btn-warning {
    background: var(--amazon-orange) !important;
    color: #111827 !important;
    border-color: transparent !important;
}

.search-form .input-group {
    border-color: transparent;
    background: #fff;
}

.search-form .input-group:focus-within {
    border-color: var(--amazon-search-border);
    box-shadow: 0 0 0 3px rgba(243, 168, 71, 0.32) !important;
}

.search-form .form-select {
    background: #e6e6e6 !important;
    color: #111827 !important;
    border-right: 1px solid #d5d9d9 !important;
}

.header-quick-links a,
.header-whatsapp-link {
    color: var(--amazon-muted);
}

.header-quick-links a:hover,
.header-whatsapp-link:hover {
    color: #fff;
}

.header-whatsapp-link {
    background: transparent;
    border: 1px solid transparent;
}

.header-whatsapp-link:hover,
.cart-link-header:hover,
.admin-notification-btn:hover,
.mobile-menu-button:hover,
.header-tools-toggle:hover {
    border-color: rgba(255, 255, 255, 0.72);
    background: transparent;
}

.cart-link-header,
.admin-notification-btn,
.mobile-menu-button,
.header-tools-toggle {
    border: 1px solid transparent;
    background: transparent;
    color: #fff;
    box-shadow: none;
}

.cart-link-header i {
    color: #fff;
}

#cart-count,
.admin-notification-badge {
    background: var(--amazon-orange-dark) !important;
    color: #111827 !important;
}

.nav-secondary .hover-link {
    color: #fff !important;
    border-radius: 3px;
}

.nav-secondary .hover-link i {
    color: var(--amazon-muted);
}

.nav-secondary .hover-link:hover,
.nav-secondary .hover-link.active {
    background: transparent;
    border-color: rgba(255, 255, 255, 0.72);
}

.nav-secondary .btn-rayons {
    border-radius: 3px !important;
    box-shadow: none;
}

.nav-secondary .btn-rayons:hover {
    border-color: rgba(255, 255, 255, 0.72) !important;
}

.nav-secondary .dropdown > .btn {
    background: transparent;
    border-color: rgba(255, 255, 255, 0.42) !important;
    color: #fff;
    box-shadow: none;
}

.btn-success,
.btn-primary {
    background: var(--amazon-nav-soft) !important;
    border-color: transparent !important;
}

@media (min-width: 992px) {
    .top-bar {
        padding-block: 0.22rem !important;
        font-size: 0.72rem;
    }

    .navbar-middle {
        padding-block: 0.42rem !important;
    }

    .brand-logo-img {
        width: clamp(105px, 7.4vw, 132px) !important;
        max-height: 36px !important;
    }

    .logo-image-link {
        padding: 0.1rem 0.18rem !important;
    }

    .search-form .input-group {
        min-height: 40px !important;
        height: 40px !important;
        border-width: 1px;
        box-shadow: 0 8px 18px rgba(2, 8, 23, 0.12) !important;
    }

    .search-form .input-group.input-group-lg > .form-control,
    .search-form .input-group.input-group-lg > .form-select,
    .search-form .input-group.input-group-lg > .btn,
    .search-form .form-control,
    .search-form .form-select,
    .search-form .btn {
        min-height: 38px !important;
        height: 38px !important;
        line-height: 1.1 !important;
    }

    .search-form .form-select {
        flex: 0 0 112px !important;
        font-size: 0.78rem;
    }

    .search-form .form-control {
        padding: 0.42rem 0.85rem !important;
        font-size: 0.84rem;
    }

    .search-form .btn {
        min-width: 48px;
        padding-inline: 0.95rem !important;
    }

    .header-quick-links {
        margin-top: 0.28rem;
        gap: 0.55rem;
    }

    .header-quick-links a,
    .header-whatsapp-link {
        font-size: 0.7rem;
    }

    .header-whatsapp-link {
        min-height: 32px;
        padding-inline: 0.7rem;
    }

    .cart-link-header,
    .admin-notification-btn,
    .mobile-menu-button,
    .header-tools-toggle {
        width: 36px !important;
        height: 36px !important;
    }

    .navbar-middle .dropdown-toggle strong {
        font-size: 0.78rem;
    }

    .navbar-middle .dropdown-toggle small {
        font-size: 0.68rem;
    }

    .nav-secondary {
        min-height: 40px !important;
        padding-block: 0.12rem !important;
    }

    .nav-secondary .container-fluid {
        min-height: 36px !important;
    }

    .nav-secondary .d-flex.overflow-auto {
        padding-top: 0 !important;
        padding-bottom: 0 !important;
    }

    .nav-secondary .btn-rayons {
        min-height: 32px !important;
        padding: 0.32rem 0.72rem !important;
        font-size: 0.72rem !important;
    }

    .nav-secondary .hover-link {
        min-height: 30px !important;
        padding: 0.28rem 0.55rem !important;
        font-size: 0.7rem !important;
        letter-spacing: 0.015em;
    }

    .nav-secondary .dropdown > .btn {
        min-height: 32px !important;
        padding: 0.28rem 0.62rem !important;
        font-size: 0.76rem;
    }
}

@media (max-width: 575px) {
    .brand-logo-img {
        width: 88px !important;
        max-height: 30px !important;
    }

    .mobile-menu-logo {
        width: 92px !important;
        max-height: 32px !important;
    }
}

/* Boutique : barre defilante, categories et filtres plus professionnels */
.shop-marquee {
    overflow: hidden;
    border-top: 1px solid rgba(254, 189, 105, 0.32);
    border-bottom: 1px solid rgba(254, 189, 105, 0.32);
    background: linear-gradient(90deg, #131921, #232f3e);
    color: #fff;
}

.shop-marquee__track {
    width: max-content;
    display: flex;
    align-items: center;
    gap: 2rem;
    min-height: 42px;
    padding-inline: 1rem;
    animation: shopMarquee 28s linear infinite;
}

.shop-marquee__track span {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    white-space: nowrap;
    font-size: 0.84rem;
    font-weight: 900;
}

.shop-marquee__track i {
    color: #febd69;
}

@keyframes shopMarquee {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
    .shop-marquee__track {
        animation: none;
        flex-wrap: wrap;
        width: auto;
        justify-content: center;
        padding-block: 0.55rem;
    }
}

.category-showcase {
    border: 1px solid #d5d9d9 !important;
    border-radius: 8px !important;
    background: #fff !important;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08) !important;
}

.category-showcase__head {
    align-items: center;
}

.category-showcase .shop-kicker,
.shop-toolbar__eyebrow,
.shop-summary__label {
    color: #007185 !important;
}

.category-showcase__head h2,
.shop-toolbar h2 {
    color: #111827;
    font-family: 'Nunito', sans-serif;
    font-weight: 950;
    letter-spacing: 0;
}

.category-showcase__all {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    color: #007185 !important;
    font-weight: 950;
    text-decoration: none;
}

.category-showcase__all:hover {
    color: #c45500 !important;
}

.category-grid {
    gap: 0.75rem !important;
}

.category-tile {
    min-height: 78px !important;
    padding: 0.85rem !important;
    border: 1px solid #d5d9d9 !important;
    border-radius: 8px !important;
    background: linear-gradient(180deg, #fff, #f7fafa) !important;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.05);
}

.category-tile::after {
    display: none !important;
}

.category-tile:hover,
.category-tile.active {
    transform: translateY(-2px);
    border-color: #febd69 !important;
    background: #fff !important;
    box-shadow: 0 10px 22px rgba(15, 23, 42, 0.1);
}

.category-tile.active {
    outline: 2px solid rgba(254, 189, 105, 0.34) !important;
}

.category-tile__icon {
    width: 48px !important;
    height: 48px !important;
    flex-basis: 48px !important;
    border-radius: 8px !important;
    background: #232f3e !important;
    color: #fff !important;
    box-shadow: none !important;
}

.category-tile:nth-child(2) .category-tile__icon { background: #007185 !important; }
.category-tile:nth-child(3) .category-tile__icon { background: #008296 !important; }
.category-tile:nth-child(4) .category-tile__icon { background: #067d62 !important; }
.category-tile:nth-child(5) .category-tile__icon { background: #146eb4 !important; }
.category-tile:nth-child(6) .category-tile__icon { background: #c45500 !important; }

.category-tile__body strong {
    color: #111827 !important;
    font-weight: 950;
}

.category-tile__body small {
    color: #64748b !important;
    font-weight: 850;
}

.shop-summary {
    gap: 1rem;
}

.shop-summary > div {
    border: 1px solid #d5d9d9 !important;
    border-radius: 8px !important;
    background: #fff !important;
    box-shadow: 0 6px 16px rgba(15, 23, 42, 0.06) !important;
}

.shop-summary strong {
    color: #111827 !important;
}

.filter-panel {
    overflow: hidden;
    border: 1px solid #d5d9d9;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 8px 22px rgba(15, 23, 42, 0.08);
}

.filter-panel__header {
    background: #232f3e !important;
}

.filter-panel__header h5 {
    color: #fff;
    font-weight: 950;
}

.filter-panel__header i {
    color: #febd69;
}

.filter-panel__label {
    color: #64748b !important;
    font-size: 0.72rem;
    font-weight: 950;
    letter-spacing: 0.08em;
}

.filter-nav--modern a {
    border-radius: 8px;
    color: #243244;
}

.filter-nav--modern a i {
    width: 32px;
    height: 32px;
    display: inline-grid;
    place-items: center;
    border-radius: 8px;
    background: #eef2f7;
    color: #007185;
}

.filter-nav--modern a.active {
    background: #fff8ed !important;
    color: #111827 !important;
    box-shadow: inset 3px 0 0 #ff9900;
}

.filter-nav--modern a.active i {
    background: #ff9900;
    color: #111827;
}

.filter-nav--modern a em {
    background: #eef2f7;
    color: #111827;
}

.shop-toolbar {
    border: 1px solid #d5d9d9 !important;
    border-radius: 8px !important;
    background: #fff !important;
    box-shadow: 0 8px 22px rgba(15, 23, 42, 0.08) !important;
}

.results-badge {
    border: 1px solid #bfdbfe;
    background: #eff6ff !important;
    color: #1e3a8a !important;
}

.alert-info {
    border: 1px solid #bae6fd !important;
    border-radius: 8px;
    background: #ecfeff !important;
    color: #155e75 !important;
}

@media (max-width: 991px) {
    .shop-marquee__track {
        min-height: 38px;
        gap: 1.4rem;
    }

    .shop-marquee__track span {
        font-size: 0.76rem;
    }

    .category-tile {
        min-height: 72px !important;
    }
}

/* Harmonisation finale logo + admin logiciel */
:root {
    --eclosion-green: #00875a;
    --eclosion-green-dark: #005c3d;
    --eclosion-blue: #003566;
    --eclosion-blue-soft: #0f4f8f;
    --eclosion-amber: #ff9900;
    --eclosion-surface: #f3f6f9;
}

body {
    background: var(--eclosion-surface);
}

.btn-success {
    background: linear-gradient(135deg, var(--eclosion-green), #00a884) !important;
    border-color: transparent !important;
    color: #fff !important;
}

.btn-primary {
    background: linear-gradient(135deg, var(--eclosion-blue), var(--eclosion-blue-soft)) !important;
    border-color: transparent !important;
    color: #fff !important;
}

.admin-workspace-nav,
.admin-panel,
.admin-card,
.stock-control-panel {
    border-radius: 10px !important;
    border-color: #d6e1ec !important;
}

.admin-workspace-brand {
    background: linear-gradient(135deg, #e9f7f1, #e8f1ff) !important;
}

.admin-workspace-links a.active {
    background: linear-gradient(135deg, var(--eclosion-blue), var(--eclosion-green)) !important;
    box-shadow: 0 12px 24px rgba(0, 53, 102, 0.18) !important;
}

.admin-kicker {
    color: var(--eclosion-green) !important;
}

.stock-form .form-label,
.activity-filter-form .form-label {
    color: #52677d;
    font-size: 0.78rem;
    font-weight: 900;
}

.stock-table thead th,
.activity-filter-form {
    color: #172233;
}

.stock-count,
.stock-state {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    min-height: 28px;
    border-radius: 999px;
    padding-inline: 0.65rem;
    font-size: 0.78rem;
    font-weight: 950;
}

.stock-count--success,
.stock-state--success {
    background: #e8f7ef;
    color: #006b45;
}

.stock-count--warning,
.stock-state--warning {
    background: #fff4d8;
    color: #9a5a00;
}

.stock-count--danger,
.stock-state--danger {
    background: #ffe7e7;
    color: #b42318;
}

.stock-movement-list,
.activity-feed {
    display: grid;
    gap: 0.75rem;
}

.stock-movement,
.activity-item {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 0.8rem;
    padding: 0.85rem;
    border: 1px solid #dce6f0;
    border-radius: 10px;
    background: linear-gradient(180deg, #fff, #f8fbfd);
}

.stock-movement__icon,
.activity-item__icon {
    width: 42px;
    height: 42px;
    display: inline-grid;
    place-items: center;
    border-radius: 10px;
    background: #e8f1ff;
    color: var(--eclosion-blue);
}

.stock-movement strong,
.stock-movement small,
.activity-item strong,
.activity-item small {
    display: block;
}

.stock-movement small,
.activity-item small,
.activity-item p {
    margin: 0;
    color: #61758c;
}

.stock-movement em,
.activity-item em {
    color: #74869a;
    font-style: normal;
    font-size: 0.78rem;
    font-weight: 850;
    white-space: nowrap;
}

.activity-filter-form {
    display: grid;
    grid-template-columns: minmax(220px, 1fr) minmax(180px, 260px) auto auto;
    align-items: end;
    gap: 0.85rem;
}

.activity-item {
    align-items: start;
}

.activity-item__top {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
}

.activity-item__body p {
    margin-block: 0.28rem;
}

.cart-location-card {
    padding: 0.85rem;
    border: 1px solid #d9e4ef;
    border-radius: 10px;
    background: linear-gradient(180deg, #f8fbfd, #eef7ff);
}

.cart-location-card__head {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    margin-bottom: 0.7rem;
}

.cart-location-card__head i {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border-radius: 10px;
    background: #003566;
    color: #fff;
}

.cart-location-card__head strong,
.cart-location-card__head small,
.cart-location-status {
    display: block;
}

.cart-location-card__head small,
.cart-location-status {
    color: #61758c;
    font-size: 0.78rem;
    font-weight: 750;
}

.cart-location-status {
    margin-top: 0.5rem;
}

.erp-period {
    min-width: 160px;
}

.erp-panel {
    min-height: 100%;
}

.erp-chart {
    min-height: 260px;
    display: flex;
    align-items: end;
    gap: 0.5rem;
    padding: 1rem 0.4rem 0;
    border-radius: 10px;
    background: linear-gradient(180deg, #f8fbfd, #eef3f8);
    overflow-x: auto;
}

.erp-bar {
    min-width: 44px;
    height: 220px;
    display: grid;
    grid-template-rows: 1fr auto;
    align-items: end;
    gap: 0.5rem;
}

.erp-bar span {
    width: 100%;
    min-height: 10px;
    border-radius: 8px 8px 3px 3px;
    background: linear-gradient(180deg, #00875a, #003566);
    box-shadow: 0 8px 18px rgba(0, 53, 102, 0.18);
}

.erp-bar em {
    color: #61758c;
    font-style: normal;
    font-size: 0.72rem;
    font-weight: 850;
    text-align: center;
}

.erp-top-list,
.erp-delivery-list {
    display: grid;
    gap: 0.65rem;
}

.erp-top-list article,
.erp-delivery-list article {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 0.75rem;
    align-items: center;
    padding: 0.85rem;
    border: 1px solid #dce6f0;
    border-radius: 10px;
    background: linear-gradient(180deg, #fff, #f8fbfd);
}

.erp-top-list span,
.erp-top-list strong,
.erp-top-list em,
.erp-delivery-list strong,
.erp-delivery-list small {
    display: block;
}

.erp-top-list span,
.erp-delivery-list strong {
    color: #172233;
    font-weight: 950;
}

.erp-top-list em,
.erp-delivery-list small {
    color: #61758c;
    font-style: normal;
    font-size: 0.78rem;
    font-weight: 800;
}

.erp-top-list strong {
    color: #006b45;
}

.erp-delivery-actions {
    display: flex;
    gap: 0.4rem;
}

.erp-delivery-actions a {
    width: 36px;
    height: 36px;
    display: inline-grid;
    place-items: center;
    border-radius: 10px;
    background: #e8f1ff;
    color: #003566;
    text-decoration: none;
}

@media (max-width: 767px) {
    .activity-filter-form,
    .stock-movement,
    .activity-item,
    .erp-top-list article,
    .erp-delivery-list article {
        grid-template-columns: 1fr;
    }

    .stock-movement__icon,
    .activity-item__icon {
        width: 38px;
        height: 38px;
    }

    .activity-item__top {
        flex-direction: column;
        gap: 0.25rem;
    }
}

/* ==== home.css ==== */
/* Fichier: assets/css/home.css - Accueil marketplace */
.page-accueil .site-footer { margin-top: auto !important; }
.market-home {
    background:
        linear-gradient(180deg, #f6fbf9 0, #eaf4f8 360px, #f4f7fa 100%);
    color: var(--text-primary);
}

.market-shell,
.market-section,
.market-strip,
.market-quick-actions,
.market-cta,
.market-help {
    width: min(100% - 1.5rem, 1440px);
    margin-inline: auto;
}

.market-hero {
    padding: 1rem 0 0.75rem;
}

.market-shell {
    display: grid;
    grid-template-columns: 246px minmax(0, 1fr) 272px;
    gap: 1rem;
    align-items: stretch;
}

.market-rayons,
.market-side-deals,
.market-mini-card,
.market-quick-card,
.market-product-card,
.market-team-card,
.market-formation-card,
.market-section {
    border: 1px solid rgba(176, 192, 210, 0.85);
    background: #fff;
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.08);
}

.market-rayons {
    display: grid;
    align-content: start;
    gap: 0.42rem;
    padding: 1rem;
    border-radius: 8px;
    min-height: 100%;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 252, 250, 0.98)),
        #fff;
}

.market-rayons strong {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.35rem;
    color: var(--pharma-blue-dark);
    font-size: 0.9rem;
}

.market-rayons small {
    display: block;
    margin: -0.22rem 0 0.28rem;
    color: #6b7f95;
    font-size: 0.72rem;
    font-weight: 800;
}

.market-rayons a {
    display: grid;
    grid-template-columns: 24px minmax(0, 1fr) auto;
    align-items: center;
    gap: 0.45rem;
    min-height: 40px;
    padding: 0.45rem 0.55rem;
    border-radius: 6px;
    color: var(--text-secondary);
    font-size: 0.85rem;
    font-weight: 800;
    text-decoration: none;
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.market-rayons a:hover {
    background: #ecfdf5;
    color: #047857;
    box-shadow: inset 3px 0 0 #10b981;
    transform: translateX(3px);
}

.market-rayons span {
    color: var(--text-muted);
    font-size: 0.72rem;
}

.market-slider {
    min-height: 462px;
    overflow: hidden;
    border-radius: 8px;
    background: #071827;
    border: 1px solid rgba(176, 192, 210, 0.85);
    box-shadow: 0 20px 48px rgba(6, 27, 51, 0.15);
}

.market-slider .carousel-inner,
.market-slider .carousel-item {
    height: 100%;
    min-height: 462px;
}

.market-slider img {
    width: 100%;
    height: 100%;
    min-height: 462px;
    display: block;
    object-fit: cover;
    filter: saturate(1.04) contrast(1.02);
}

.market-slider .carousel-item::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background:
        linear-gradient(90deg, rgba(248, 250, 252, 0.98) 0%, rgba(248, 250, 252, 0.9) 36%, rgba(248, 250, 252, 0.36) 62%, rgba(5, 18, 34, 0.14) 100%),
        radial-gradient(circle at 76% 24%, rgba(16, 185, 129, 0.16), transparent 32%);
}

.market-slide-copy {
    position: absolute;
    z-index: 2;
    left: clamp(1rem, 4vw, 3rem);
    top: 50%;
    width: min(540px, calc(100% - 2rem));
    transform: translateY(-50%);
    color: var(--pharma-blue-dark);
}

.market-slide-kicker,
.market-section-head span,
.market-cta span {
    color: #f59e0b;
    font-size: 0.76rem;
    font-weight: 950;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.market-slide-copy h1 {
    margin: 0.45rem 0 0.6rem;
    font-size: 3.2rem;
    line-height: 1.04;
    font-weight: 950;
    letter-spacing: 0;
    text-wrap: balance;
}

.market-slide-copy p {
    max-width: 480px;
    color: #475569;
    font-size: 1rem;
    font-weight: 650;
}

.market-slide-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 0.42rem;
    margin: 0.95rem 0 1rem;
    max-width: 520px;
}

.market-slide-trust b {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    min-height: 32px;
    padding: 0.34rem 0.55rem;
    border: 1px solid rgba(4, 120, 87, 0.14);
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.74);
    color: #0f5132;
    font-size: 0.76rem;
    font-weight: 900;
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.06);
}

.market-slide-trust i {
    color: #047857;
    font-size: 0.78rem;
}

.page-accueil .market-slide-copy .market-slide-kicker {
    color: #047857 !important;
}

.market-slide-copy .btn {
    border: 0;
    border-radius: 8px;
    box-shadow: 0 14px 28px rgba(4, 120, 87, 0.2);
    color: #172554;
    font-weight: 950;
    padding-inline: 1.35rem;
}

.market-side-deals {
    display: grid;
    gap: 1rem;
    border: 0;
    background: transparent;
    box-shadow: none;
}

.market-mini-card {
    display: grid;
    align-content: start;
    gap: 0.6rem;
    padding: 1rem;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.market-mini-card--photo {
    padding: 0.75rem;
}

.market-mini-card__media {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 10;
    border-radius: 6px;
    background: #e2e8f0;
}

.market-mini-card__media img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.market-mini-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 36px rgba(15, 23, 42, 0.12);
}

.market-mini-card:hover .market-mini-card__media img {
    transform: scale(1.04);
}

.market-mini-card i {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #e0f2fe;
    color: #075985;
    font-size: 1.25rem;
}

.market-mini-card strong {
    color: var(--pharma-blue-dark);
    font-size: 1.05rem;
}

.market-mini-card span {
    color: var(--text-muted);
    font-size: 0.86rem;
}

.market-mini-card a {
    justify-self: start;
    color: var(--pharma-blue);
    font-weight: 900;
    text-decoration: none;
}

.market-mini-card--dark {
    background: linear-gradient(135deg, #062033, #047857) !important;
    border-color: rgba(255, 255, 255, 0.14) !important;
    color: #fff !important;
}

.market-mini-card--dark strong,
.market-mini-card--dark a {
    color: #fff !important;
}

.market-mini-card--dark span {
    color: rgba(255, 255, 255, 0.82) !important;
}

.market-mini-card--dark i {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
}

.market-mini-card--dark .market-mini-card__media {
    border: 1px solid rgba(255, 255, 255, 0.14);
}

.page-accueil .market-side-deals .market-mini-card {
    border-radius: 8px !important;
}

.page-accueil .market-side-deals .market-mini-card--dark {
    background: linear-gradient(135deg, #062033, #047857) !important;
    border-color: rgba(255, 255, 255, 0.14) !important;
    color: #fff !important;
}

.market-quick-actions {
    display: grid;
    grid-template-columns: 1.28fr 0.9fr 0.82fr;
    gap: 0.85rem;
    padding: 0.25rem 0 0.85rem;
}

.market-quick-card {
    display: grid;
    align-content: start;
    gap: 0.75rem;
    min-height: 178px;
    padding: 1rem;
    border-radius: 8px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(248, 252, 250, 0.99)),
        #fff;
}

.market-quick-card--order {
    background:
        linear-gradient(135deg, rgba(236, 253, 245, 0.96), rgba(255, 255, 255, 0.98)),
        #fff;
}

.market-quick-card__head {
    display: flex;
    align-items: center;
    gap: 0.72rem;
    min-width: 0;
}

.market-quick-card__head > i {
    width: 42px;
    height: 42px;
    display: grid;
    flex: 0 0 42px;
    place-items: center;
    border-radius: 8px;
    background: #ecfdf5;
    color: #047857;
    font-size: 1.15rem;
}

.market-quick-card__head span {
    display: block;
    color: #047857;
    font-size: 0.7rem;
    font-weight: 950;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.market-quick-card__head strong {
    display: block;
    color: var(--pharma-blue-dark);
    font-size: 1.02rem;
    line-height: 1.2;
}

.market-quick-form {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.74fr) minmax(0, 0.8fr) auto;
    gap: 0.48rem;
    align-items: stretch;
}

.market-quick-form--tracking {
    grid-template-columns: minmax(0, 1fr) auto;
}

.market-quick-card--order .market-quick-form {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.market-quick-card--order .market-quick-form .btn {
    grid-column: 1 / -1;
}

.market-quick-form .form-control,
.market-quick-form .btn {
    min-height: 44px;
    border-radius: 8px;
    font-weight: 850;
}

.market-quick-form .form-control {
    border-color: rgba(15, 23, 42, 0.12);
    background: #fff;
    color: #0f172a;
}

.market-quick-form .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    white-space: nowrap;
}

.market-quick-note {
    color: #64748b;
    font-size: 0.78rem;
    font-weight: 750;
}

.market-shortcut-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.45rem;
}

.market-shortcut-grid a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    min-height: 44px;
    padding: 0.52rem 0.58rem;
    border: 1px solid rgba(4, 120, 87, 0.13);
    border-radius: 8px;
    background: #f8fafc;
    color: #0f5132;
    font-size: 0.82rem;
    font-weight: 900;
    text-decoration: none;
    transition: background 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}

.market-shortcut-grid a:hover {
    background: #ecfdf5;
    border-color: rgba(4, 120, 87, 0.32);
    transform: translateY(-2px);
}

.market-shortcut-grid i {
    width: 26px;
    height: 26px;
    display: grid;
    flex: 0 0 26px;
    place-items: center;
    border-radius: 6px;
    background: #dcfce7;
    color: #047857;
}

html.theme-dark .market-quick-card {
    background: rgba(11, 31, 54, 0.88);
    border-color: rgba(255, 255, 255, 0.09);
    color: #edf6ff;
}

html.theme-dark .market-quick-card__head strong {
    color: #f8fbff;
}

html.theme-dark .market-quick-note {
    color: #a7b8ca;
}

html.theme-dark .market-shortcut-grid a,
html.theme-dark .market-quick-form .form-control {
    background: rgba(15, 42, 66, 0.92);
    border-color: rgba(255, 255, 255, 0.1);
    color: #edf6ff;
}

.market-strip {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 0.75rem;
    padding: 0.65rem 0 1rem;
}

.market-strip a {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    min-height: 58px;
    padding: 0.8rem;
    border-radius: 8px;
    background: #fff;
    color: var(--text-primary);
    font-weight: 900;
    text-decoration: none;
    box-shadow: 0 6px 18px rgba(0, 38, 80, 0.06);
    transition: transform 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
}

.market-strip a:hover {
    color: var(--pharma-blue);
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.11);
}

.market-strip i {
    color: #0891b2;
    font-size: 1.2rem;
}

.market-section {
    margin-block: 1rem;
    padding: clamp(1rem, 2vw, 1.35rem);
    border-radius: 8px;
    overflow: hidden;
}

.reveal {
    opacity: 0;
    transform: translateY(14px);
    transition: opacity 0.45s ease, transform 0.45s ease;
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.market-section-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}

.market-section-head h2 {
    margin: 0.15rem 0 0;
    color: var(--pharma-blue-dark);
    font-size: clamp(1.35rem, 2.5vw, 2rem);
    font-weight: 950;
}

.market-section-head > a,
.market-section-head p {
    color: var(--text-muted);
    font-weight: 850;
}

.market-section-head > a {
    text-decoration: none;
    white-space: nowrap;
}

.market-new-section {
    background:
        linear-gradient(135deg, rgba(236, 253, 245, 0.92), rgba(239, 246, 255, 0.95)),
        #ffffff;
}

.market-new-grid {
    display: grid;
    grid-template-columns: 1.15fr repeat(2, minmax(0, 1fr));
    grid-template-rows: auto auto; /* les lignes s'adaptent au contenu, pas à la lead */
    gap: 0.85rem;
    align-items: stretch;
}

.market-new-card {
    display: grid;
    grid-template-columns: 112px minmax(0, 1fr);
    min-height: 156px;
    overflow: hidden;
    border: 1px solid rgba(14, 165, 166, 0.18);
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.07);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.market-new-card:hover {
    transform: translateY(-2px);
    border-color: rgba(14, 165, 166, 0.36);
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.12);
}

.market-new-card--lead {
    grid-row: span 2;
    grid-template-columns: 1fr;
    grid-template-rows: auto 1fr; /* image fixe, body prend le reste */
}

.market-new-card__media {
    display: grid;
    min-height: 0; /* ne plus étirer la grille parente */
    place-items: center;
    background: linear-gradient(145deg, #f8fafc, #e6f7f3);
    color: var(--med-green);
    text-decoration: none;
    overflow: hidden;
}

.market-new-card--lead .market-new-card__media {
    height: 230px;       /* hauteur fixe, ne gonfle plus */
    max-height: 230px;
    min-height: 0;
}

.market-new-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;   /* cover évite l'étirement vertical */
    object-position: center;
    padding: 0;          /* supprime le padding qui agrandissait l'espace */
}

.market-new-card__media span {
    display: inline-grid;
    width: 54px;
    height: 54px;
    place-items: center;
    border-radius: 14px;
    background: #ffffff;
    color: #008060;
    font-size: 1.4rem;
}

.market-new-card__body {
    display: grid;
    align-content: center;
    gap: 0.45rem;
    padding: 0.8rem;
}

.market-new-card__body small {
    color: #008060;
    font-size: 0.72rem;
    font-weight: 950;
    text-transform: uppercase;
}

.market-new-card h3 {
    margin: 0;
    color: var(--text-primary);
    font-size: 0.98rem;
    font-weight: 950;
    line-height: 1.15;
}

.market-new-card h3 a,
.market-new-card__body div a,
.market-new-card--empty a {
    color: inherit;
    text-decoration: none;
}

.market-new-card p {
    margin: 0;
    color: var(--text-muted);
    font-size: 0.82rem;
    font-weight: 750;
    line-height: 1.4;
}

.market-new-card__body div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.6rem;
    margin-top: 0.2rem;
}

.market-new-card__body strong {
    color: #075985;
    font-weight: 950;
}

.market-new-card__body div a,
.market-new-card--empty a {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    padding: 0.25rem 0.6rem;
    border-radius: 999px;
    background: #0b7a4b;
    color: #ffffff;
    font-size: 0.78rem;
    font-weight: 900;
}

.market-new-card--empty {
    grid-column: 1 / -1;
    display: grid;
    place-items: center;
    gap: 0.5rem;
    min-height: 180px;
    padding: 1.25rem;
    text-align: center;
}

.market-new-card--empty > span {
    display: inline-grid;
    width: 56px;
    height: 56px;
    place-items: center;
    border-radius: 16px;
    background: #e9f8ef;
    color: #008060;
    font-size: 1.4rem;
}

.market-product-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.9rem;
}

.market-product-card {
    overflow: hidden;
    border-radius: 8px;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.market-product-card:hover {
    transform: translateY(-3px);
    border-color: rgba(14, 165, 166, 0.38);
    box-shadow: 0 16px 38px rgba(15, 23, 42, 0.14);
}

.market-product-card__image {
    aspect-ratio: 1 / 1;
    display: grid;
    place-items: center;
    background: linear-gradient(145deg, #f8fafc, #eef7ff);
    color: var(--med-green);
    text-decoration: none;
}

.market-product-card__image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 0.6rem;
    transition: transform 0.25s ease;
}

.market-product-card:hover .market-product-card__image img {
    transform: scale(1.04);
}

.market-product-card:focus-within,
.market-team-card:focus-within,
.market-formation-card:focus-within {
    outline: 3px solid rgba(255, 153, 0, 0.35);
    outline-offset: 3px;
}

.market-product-card__image span {
    font-size: 2.4rem;
}

.market-product-card__body {
    display: grid;
    gap: 0.45rem;
    padding: 0.85rem;
}

.market-product-card__body small {
    color: var(--text-muted);
    font-weight: 800;
}

.market-product-card h3 {
    min-height: 2.5em;
    margin: 0;
    font-size: 0.96rem;
    line-height: 1.25;
}

.market-product-card h3 a {
    color: var(--text-primary);
    text-decoration: none;
}

.market-rating {
    display: flex;
    align-items: center;
    gap: 0.14rem;
    color: #f59e0b;
    font-size: 0.78rem;
}

.market-rating span {
    margin-left: 0.25rem;
    color: var(--text-muted);
    font-weight: 900;
}

.market-product-card__foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.6rem;
}

.market-product-card__foot strong {
    color: #075985;
    font-size: 1.05rem;
}

.market-product-card__foot .btn {
    width: 38px;
    height: 38px;
    display: inline-grid;
    place-items: center;
    padding: 0;
    border-radius: 50%;
    background: linear-gradient(135deg, #ff9900, #f77f00);
    color: #fff;
    border: 0;
}

.market-product-card.image-failed .market-product-card__image,
.market-team-card.image-failed,
.market-slider .image-failed {
    background: linear-gradient(135deg, #f8fafc, #e0f2fe);
}

.market-team-section {
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(238, 247, 255, 0.96)),
        #fff;
}

.market-team-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 0.9rem;
}

.market-team-card {
    overflow: hidden;
    border-radius: 8px;
    background: #fff;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.market-team-card:hover {
    transform: translateY(-4px);
    border-color: rgba(14, 165, 166, 0.42);
    box-shadow: 0 18px 42px rgba(15, 23, 42, 0.14);
}

.market-team-card figure {
    position: relative;
    margin: 0;
    background: linear-gradient(145deg, #f8fafc, #e0f2fe);
}

.market-team-card img {
    width: 100%;
    aspect-ratio: 4 / 3;
    display: block;
    object-fit: cover;
}

.market-team-card__body {
    display: grid;
    gap: 0.34rem;
    padding: 0.85rem;
}

.market-team-card__body small {
    color: #0891b2;
    font-size: 0.7rem;
    font-weight: 950;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.market-team-card strong {
    color: var(--pharma-blue-dark);
    font-size: 0.92rem;
    line-height: 1.2;
}

.market-team-card span {
    color: var(--text-muted);
    font-size: 0.78rem;
    font-weight: 850;
}

.market-team-card p {
    min-height: 3.4em;
    margin: 0;
    color: #64748b;
    font-size: 0.76rem;
    line-height: 1.45;
}

.market-team-card a {
    justify-self: start;
    color: var(--pharma-blue);
    font-size: 0.78rem;
    font-weight: 950;
    text-decoration: none;
}

.market-formation-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.9rem;
}

.market-formation-card {
    display: grid;
    gap: 0.65rem;
    padding: 1rem;
    border-radius: 8px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.market-formation-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 38px rgba(15, 23, 42, 0.12);
}

.market-formation-card > i {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--pharma-blue-soft);
    color: var(--pharma-blue);
}

.market-formation-card small {
    color: var(--text-muted);
    font-weight: 850;
}

.market-formation-card h3 {
    margin: 0;
    color: var(--pharma-blue-dark);
    font-size: 1.1rem;
}

.market-formation-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.market-formation-card div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
}

.market-formation-card a {
    color: var(--med-green);
    font-weight: 950;
    text-decoration: none;
}

.market-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-block: 1rem 0;
    padding: clamp(1.2rem, 3vw, 2rem);
    border-radius: 8px 8px 0 0;
    background: linear-gradient(135deg, #051a2f, #075985, #0891b2);
    color: #fff;
}

.market-cta h2 {
    margin: 0.2rem 0 0;
    max-width: 720px;
    font-size: clamp(1.4rem, 3vw, 2.35rem);
}

.market-help {
    position: relative;
    display: grid;
    grid-template-columns: minmax(240px, 0.85fr) minmax(320px, 1.2fr) minmax(280px, 0.9fr);
    gap: 1rem;
    align-items: stretch;
    margin-block: 1rem 0;
    padding: clamp(1rem, 2.4vw, 1.6rem);
    overflow: hidden;
    border: 1px solid rgba(0, 53, 102, 0.18);
    border-radius: 8px 8px 0 0;
    background:
        linear-gradient(135deg, rgba(5, 26, 47, 0.98), rgba(0, 53, 102, 0.95) 52%, rgba(0, 135, 90, 0.9)),
        #051a2f;
    color: #fff;
    box-shadow: 0 20px 48px rgba(0, 28, 58, 0.2);
}

.market-help::before {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.055) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
    background-size: 34px 34px;
    mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0.88), transparent 78%);
}

.market-help > * {
    position: relative;
    z-index: 1;
}

.market-help__intro {
    display: grid;
    align-content: center;
    gap: 0.75rem;
}

.market-help__intro span:first-child {
    color: #ffbd69;
    font-size: 0.76rem;
    font-weight: 950;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.market-help__intro h2 {
    margin: 0;
    font-size: clamp(1.55rem, 3vw, 2.6rem);
    line-height: 1.06;
    font-weight: 950;
}

.market-help__intro p {
    margin: 0;
    color: rgba(255, 255, 255, 0.78);
    font-weight: 750;
}

.market-help__trust {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    margin-top: 0.2rem;
}

.market-help__trust span {
    display: inline-flex;
    align-items: center;
    gap: 0.42rem;
    padding: 0.42rem 0.58rem;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    font-size: 0.76rem;
    font-weight: 850;
}

.market-help__options {
    display: grid;
    gap: 0.72rem;
}

.market-help-option {
    display: grid;
    grid-template-columns: 46px minmax(0, 1fr);
    gap: 0.72rem;
    align-items: center;
    width: 100%;
    min-height: 82px;
    padding: 0.78rem;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    text-align: left;
    transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.market-help-option:hover,
.market-help-option:focus-visible,
.market-help-option.active {
    transform: translateY(-2px);
    border-color: rgba(255, 189, 105, 0.78);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.16);
}

.market-help-option i {
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    border-radius: 8px;
    background: #ffbd69;
    color: #111827;
}

.market-help-option strong,
.market-help-option small {
    display: block;
}

.market-help-option strong {
    font-size: 0.98rem;
    font-weight: 950;
}

.market-help-option small {
    margin-top: 0.16rem;
    color: rgba(255, 255, 255, 0.74);
    font-size: 0.78rem;
    line-height: 1.35;
}

.market-help__panel {
    display: grid;
    align-content: start;
    gap: 0.85rem;
    padding: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(10px);
}

.market-help__panel-head {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.market-help__panel-head > i {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    border-radius: 8px;
    background: #16a34a;
    color: #fff;
    font-size: 1.4rem;
}

.market-help__panel-head small,
.market-help__panel-head strong {
    display: block;
}

.market-help__panel-head small {
    color: rgba(255, 255, 255, 0.68);
    font-weight: 850;
}

.market-help__panel-head strong {
    font-size: 1.08rem;
    font-weight: 950;
}

.market-help__panel p {
    margin: 0;
    color: rgba(255, 255, 255, 0.78);
}

.market-help__message {
    padding: 0.85rem;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.92);
    color: #172233;
    font-size: 0.88rem;
    font-weight: 750;
    line-height: 1.55;
}

.market-help__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.market-help__actions .btn {
    border-radius: 8px;
    font-weight: 950;
}

.market-help__faq {
    display: grid;
    gap: 0.5rem;
}

.market-help__faq details {
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 8px;
    background: rgba(0, 0, 0, 0.12);
}

.market-help__faq summary {
    cursor: pointer;
    padding: 0.7rem 0.78rem;
    font-weight: 900;
}

.market-help__faq p {
    padding: 0 0.78rem 0.78rem;
    font-size: 0.84rem;
}

@media (max-width: 1199px) {
    .market-shell {
        grid-template-columns: 210px minmax(0, 1fr);
    }

    .market-slide-copy h1 {
        font-size: 2.55rem;
    }

    .market-side-deals {
        grid-column: 1 / -1;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .market-mini-card__media {
        aspect-ratio: 21 / 8;
    }

    .market-quick-actions {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .market-quick-card--links {
        grid-column: 1 / -1;
        min-height: auto;
    }

    .market-shortcut-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .market-product-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .market-new-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .market-new-card--lead {
        grid-column: 1 / -1;
        grid-row: auto;
    }

    .market-team-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    .market-home {
        background: #eef3f8;
    }

    .market-hero {
        padding-top: 0.55rem;
    }

    .market-shell {
        width: min(100% - 0.8rem, 1440px);
        grid-template-columns: 1fr;
        gap: 0.65rem;
    }

    .market-rayons {
        display: none;
    }

    .market-slider,
    .market-slider .carousel-inner,
    .market-slider .carousel-item,
    .market-slider img {
        min-height: 380px;
    }

    .market-slider .carousel-item::after {
        background:
            linear-gradient(180deg, rgba(5, 18, 34, 0.04) 0%, rgba(5, 18, 34, 0.28) 42%, rgba(5, 18, 34, 0.84) 100%),
            linear-gradient(90deg, rgba(5, 18, 34, 0.36), transparent 55%);
    }

    .market-slide-copy {
        left: 1rem;
        top: auto;
        bottom: 1.8rem;
        transform: none;
        width: min(92%, 440px);
        color: #fff;
    }

    .market-slide-copy h1 {
        font-size: 1.9rem;
    }

    .market-slide-copy p {
        font-size: 0.9rem;
        color: rgba(255, 255, 255, 0.86);
    }

    .page-accueil .market-slide-copy .market-slide-kicker {
        color: #fbbf24 !important;
    }

    .market-slide-trust {
        gap: 0.32rem;
        margin: 0.75rem 0 0.85rem;
    }

    .market-slide-trust b {
        background: rgba(255, 255, 255, 0.14);
        border-color: rgba(255, 255, 255, 0.16);
        color: #fff;
        box-shadow: none;
    }

    .market-slide-trust i {
        color: #86efac;
    }

    .market-side-deals,
    .market-strip,
    .market-new-grid,
    .market-formation-grid {
        grid-template-columns: 1fr 1fr;
    }

    .market-product-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 0.55rem;
    }

    .market-strip {
        width: min(100% - 0.8rem, 1440px);
        overflow-x: auto;
        display: flex;
        padding-bottom: 0.7rem;
    }

    .market-strip a {
        flex: 0 0 170px;
    }

    .market-section,
    .market-quick-actions,
    .market-cta,
    .market-help {
        width: min(100% - 0.8rem, 1440px);
        border-radius: 8px;
    }

    .market-quick-actions {
        grid-template-columns: 1fr;
    }

    .market-quick-card {
        min-height: auto;
    }

    .market-quick-form,
    .market-quick-card--order .market-quick-form,
    .market-quick-form--tracking {
        grid-template-columns: 1fr;
    }

    .market-shortcut-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .market-section-head,
    .market-cta,
    .market-help {
        align-items: stretch;
        flex-direction: column;
    }

    .market-help {
        display: grid;
        grid-template-columns: 1fr;
    }

    .market-team-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 430px) {
    .market-slider,
    .market-slider .carousel-inner,
    .market-slider .carousel-item,
    .market-slider img {
        min-height: 410px;
    }

    .market-slide-trust b:nth-child(3) {
        display: none;
    }

    .market-side-deals,
    .market-new-grid,
    .market-formation-grid {
        grid-template-columns: 1fr;
    }

    .market-new-card,
    .market-new-card--lead {
        grid-template-columns: 96px minmax(0, 1fr);
        min-height: 136px;
    }

    .market-new-card--lead .market-new-card__media {
        min-height: 100%;
    }

    .market-new-card__body {
        padding: 0.65rem;
    }

    .market-new-card p {
        display: none;
    }

    .market-new-card h3 {
        font-size: 0.86rem;
    }

    .market-new-card__body small {
        font-size: 0.64rem;
    }

    .market-new-card__body strong {
        font-size: 0.76rem;
    }

    .market-product-card__body {
        padding: 0.5rem;
        gap: 0.28rem;
    }

    .market-product-card__body small,
    .market-rating span {
        display: none;
    }

    .market-product-card h3 {
        min-height: 2.4em;
        font-size: 0.72rem;
    }

    .market-rating {
        font-size: 0.58rem;
    }

    .market-product-card__foot strong {
        font-size: 0.72rem;
        line-height: 1.15;
    }

    .market-product-card__foot .btn {
        width: 28px;
        height: 28px;
        font-size: 0.72rem;
    }

    .market-team-card__body {
        padding: 0.65rem;
    }

    .market-team-card p,
    .market-team-card a {
        display: none;
    }

    .market-team-card img {
        aspect-ratio: 1 / 1;
    }

    .market-help {
        padding: 0.9rem;
    }

    .market-help-option {
        grid-template-columns: 38px minmax(0, 1fr);
        min-height: 72px;
    }

    .market-help-option i,
    .market-help__panel-head > i {
        width: 38px;
        height: 38px;
    }

    .market-help__actions .btn {
        width: 100%;
    }
}

/* Accueil compact : images cadrees et cartes stables */
.page-accueil .market-hero {
    padding-top: .65rem;
}

.page-accueil .market-shell {
    grid-template-columns: 230px minmax(0, 1fr) 252px;
    gap: .8rem;
    align-items: start;
}

.page-accueil .market-rayons {
    min-height: auto !important;
    align-self: start;
}

.page-accueil .market-slider,
.page-accueil .market-slider .carousel-inner,
.page-accueil .market-slider .carousel-item,
.page-accueil .market-slider img {
    min-height: 390px;
    height: 390px;
}

.page-accueil .market-slider img,
.page-accueil .market-mini-card__media img,
.page-accueil .market-product-card__image img,
.page-accueil .market-team-card img,
.page-accueil .market-formation-card__media img {
    max-width: 100%;
    object-fit: cover;
    object-position: center;
}

/* Carte nouveauté : image contenue sans gonfler la carte */
.page-accueil .market-new-card__media img {
    max-width: 100%;
    object-fit: contain;
    object-position: center;
    padding: 0.5rem;
}

.page-accueil .market-new-card__media {
    height: 160px;
    max-height: 160px;
    min-height: 0;
}

.page-accueil .market-new-card--lead .market-new-card__media {
    height: 230px;
    max-height: 230px;
}

.page-accueil .market-slide-copy {
    width: min(500px, calc(100% - 2rem));
}

.page-accueil .market-slide-copy h1 {
    font-size: clamp(2.15rem, 3.1vw, 2.85rem);
}

.page-accueil .market-side-deals {
    grid-auto-rows: 1fr;
    gap: .8rem;
    height: 390px;
    align-self: start;
}

.page-accueil .market-mini-card {
    min-height: 0;
    gap: .32rem;
    padding: .6rem;
}

.page-accueil .market-mini-card__media {
    height: 84px;
    max-height: 84px;
    aspect-ratio: auto;
}

.page-accueil .market-mini-card i {
    width: 30px;
    height: 30px;
    font-size: .86rem;
}

.page-accueil .market-mini-card strong {
    font-size: .9rem;
    line-height: 1.15;
}

.page-accueil .market-mini-card span {
    font-size: .74rem;
    line-height: 1.35;
}

.page-accueil .market-mini-card a {
    font-size: .8rem;
}

.page-accueil .market-product-card__image {
    aspect-ratio: 4 / 3;
    max-height: 190px;
    overflow: hidden;
}

@media (max-width: 1199px) {
    .page-accueil .market-shell {
        grid-template-columns: 210px minmax(0, 1fr);
    }

    .page-accueil .market-side-deals {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .page-accueil .market-mini-card__media {
        height: 108px;
        max-height: 108px;
    }
}

@media (max-width: 767px) {
    .page-accueil .market-shell {
        grid-template-columns: 1fr;
    }

    .page-accueil .market-slider,
    .page-accueil .market-slider .carousel-inner,
    .page-accueil .market-slider .carousel-item,
    .page-accueil .market-slider img {
        min-height: 340px;
        height: 340px;
    }

    .page-accueil .market-side-deals {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        height: auto;
    }

    .page-accueil .market-mini-card__media {
        height: 105px;
        max-height: 105px;
    }

    .page-accueil .market-slide-copy h1 {
        font-size: 1.75rem;
    }
}

@media (max-width: 430px) {
    .page-accueil .market-slider,
    .page-accueil .market-slider .carousel-inner,
    .page-accueil .market-slider .carousel-item,
    .page-accueil .market-slider img {
        min-height: 330px;
        height: 330px;
    }

    .page-accueil .market-side-deals {
        grid-template-columns: 1fr;
    }

    .page-accueil .market-mini-card {
        grid-template-columns: 104px minmax(0, 1fr);
        align-items: center;
    }

    .page-accueil .market-mini-card__media {
        grid-row: span 4;
        height: 104px;
        max-height: 104px;
    }
}
/* Allegement accueil : cartes laterales retirees, le slider prend la place */
@media (min-width: 1200px) {
    .page-accueil .market-shell,
    .market-shell {
        grid-template-columns: 230px minmax(0, 1fr);
    }
}

/* Bloc d'aide simplifie (un seul appel a l'action) */
.market-help-simple {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem 2rem;
    margin: 2rem auto;
    padding: 1.6rem 1.8rem;
    border-radius: 14px;
    background: #f1f8f3;
    border: 1px solid #d5eadb;
}
.market-help-simple h2 { margin: 0 0 .35rem; font-size: 1.45rem; }
.market-help-simple p { margin: 0; color: #4b5b52; max-width: 52ch; }
.market-help-simple__actions { display: flex; flex-wrap: wrap; gap: .6rem; }
@media (max-width: 575px) {
    .market-help-simple { padding: 1.2rem; }
    .market-help-simple__actions .btn { flex: 1 1 100%; }
}
html.theme-dark .market-help-simple { background: #13241a; border-color: #24402e; }
html.theme-dark .market-help-simple p { color: #b8c7bd; }

/* Correction : la regle ".market-formation-card div { display:flex }" alignait
   le contenu des cartes de formation en colonnes serrees */
.market-formation-card .market-formation-card__body { display: grid; }

/* ===== Présentation d'Eclosion+ sur l'accueil ===== */
.home-intro {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr);
    gap: 1.5rem 2.5rem;
    align-items: center;
    margin: 1.5rem auto;
    padding: 2rem;
    border-radius: 16px;
    background: #fff;
    border: 1px solid #e3ebe6;
}
.home-intro__eyebrow { margin: 0 0 .4rem; color: #107c41; font-size: .76rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.home-intro h2 { margin: 0 0 .6rem; font-size: clamp(1.4rem, 2.4vw, 1.9rem); line-height: 1.2; }
.home-intro__text > p { margin: 0 0 1rem; color: #4f5f55; line-height: 1.65; }
.home-intro__stats { display: flex; flex-wrap: wrap; gap: .4rem 1.4rem; margin: 0 0 1rem; padding: 0; list-style: none; color: #4f5f55; font-size: .95rem; }
.home-intro__stats strong { color: #0d6025; font-size: 1.35rem; font-weight: 800; }
.home-intro__more { font-weight: 700; color: #0d6025; text-decoration: none; }
.home-intro__more:hover { text-decoration: underline; }
.home-intro__poles { display: grid; gap: .75rem; }
.home-intro__poles a {
    display: grid;
    gap: .2rem;
    padding: 1rem 1.2rem;
    border-radius: 12px;
    border: 1px solid #e3ebe6;
    border-left: 4px solid #0d6025;
    background: #f6faf7;
    color: inherit;
    text-decoration: none;
    transition: background .15s ease, border-color .15s ease;
}
.home-intro__poles a:hover { background: #ecf6ef; border-color: #b9dcc4; border-left-color: #0d6025; }
.home-intro__poles strong { font-size: 1.02rem; }
.home-intro__poles span { color: #55645b; font-size: .92rem; line-height: 1.5; }
html.theme-dark .home-intro { background: #0f1b14; border-color: #26392d; }
html.theme-dark .home-intro__text > p, html.theme-dark .home-intro__stats, html.theme-dark .home-intro__poles span { color: #a9b8ae; }
html.theme-dark .home-intro__stats strong, html.theme-dark .home-intro__more, html.theme-dark .home-intro__eyebrow { color: #6fd39a; }
html.theme-dark .home-intro__poles a { background: #122119; border-color: #26392d; border-left-color: #2f9e5a; }
@media (max-width: 991px) {
    .home-intro { grid-template-columns: 1fr; padding: 1.4rem; }
}

/* ==== premium-app.css ==== */
/* Premium app layer - Eclosion+ */
:root {
    --premium-emerald: #00875a;
    --premium-emerald-2: #00a976;
    --premium-navy: #061b33;
    --premium-navy-2: #0b315d;
    --premium-ink: #0f1f2f;
    --premium-muted: #62748a;
    --premium-soft: #f4f8fb;
    --premium-card: rgba(255, 255, 255, 0.88);
    --premium-line: rgba(15, 31, 47, 0.1);
    --premium-shadow: 0 16px 38px rgba(6, 27, 51, 0.12);
    --premium-shadow-soft: 0 8px 22px rgba(6, 27, 51, 0.08);
    --premium-glass: rgba(255, 255, 255, 0.72);
    --premium-gradient: linear-gradient(135deg, var(--premium-navy), var(--premium-navy-2) 52%, var(--premium-emerald));
    --premium-action: linear-gradient(135deg, var(--premium-emerald), var(--premium-emerald-2));
    --premium-radius: 8px;
    --premium-ease: cubic-bezier(0.2, 0.8, 0.2, 1);
}

html {
    background: var(--premium-soft);
}

body {
    min-height: 100vh;
    font-family: "Nunito", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--premium-ink);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(244, 248, 251, 0.96)),
        repeating-linear-gradient(135deg, rgba(0, 135, 90, 0.035) 0 1px, transparent 1px 20px),
        var(--premium-soft);
    transition: background 0.28s var(--premium-ease), color 0.28s var(--premium-ease);
}

body.eclosion-site:not(.admin-area) {
    display: flex;
    flex-direction: column;
}

body::selection {
    background: rgba(0, 135, 90, 0.18);
}

a,
button,
.btn,
.card,
.shop-product-card,
.market-product-card,
.category-tile,
.filter-chip,
.mobile-menu-link {
    transition:
        transform 0.22s var(--premium-ease),
        box-shadow 0.22s var(--premium-ease),
        background 0.22s var(--premium-ease),
        border-color 0.22s var(--premium-ease),
        color 0.22s var(--premium-ease);
}

.main-header {
    position: sticky !important;
    top: 0;
    z-index: 1040;
    background: rgba(6, 27, 51, 0.94) !important;
    backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
}

.top-bar {
    background: rgba(3, 13, 25, 0.92) !important;
}

.nav-secondary {
    background: linear-gradient(90deg, #081f3a, #0b315d) !important;
}

.navbar-middle {
    background:
        radial-gradient(circle at 15% 20%, rgba(0, 135, 90, 0.14), transparent 28%),
        rgba(6, 27, 51, 0.88) !important;
}

.logo-image-link {
    border-radius: 8px;
}

.brand-logo-img {
    filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.22));
}

.search-form .input-group {
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.18) !important;
    border-radius: 999px !important;
    background: rgba(255, 255, 255, 0.96) !important;
    box-shadow: 0 16px 34px rgba(0, 0, 0, 0.16) !important;
}

.search-form .btn,
.search-form .btn-warning {
    background: var(--premium-action) !important;
    color: #fff !important;
}

.premium-theme-toggle,
.mobile-menu-button,
.header-tools-toggle,
.cart-link-header,
.admin-notification-btn {
    width: 40px;
    height: 40px;
    display: inline-grid;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    box-shadow: none;
}

.premium-theme-toggle:hover,
.mobile-menu-button:hover,
.header-tools-toggle:hover,
.cart-link-header:hover,
.admin-notification-btn:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.15);
}

body.premium-menu-open .mobile-menu-button i {
    transform: rotate(90deg) scale(0.92);
}

.mobile-menu-button i,
.premium-theme-toggle i {
    transition: transform 0.22s var(--premium-ease);
}

.btn {
    border-radius: 999px;
    font-weight: 900;
}

.btn-success,
.btn-primary {
    background: var(--premium-action) !important;
    border-color: transparent !important;
    color: #fff !important;
    box-shadow: 0 12px 24px rgba(0, 135, 90, 0.22);
}

.btn-success:hover,
.btn-primary:hover,
.btn-warning:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 32px rgba(0, 135, 90, 0.28);
}

.btn-outline-primary,
.btn-outline-success,
.btn-outline-secondary,
.btn-outline-dark {
    border-color: rgba(0, 53, 102, 0.18);
    color: var(--premium-navy);
    background: rgba(255, 255, 255, 0.7);
}

.card,
.admin-panel,
.admin-card,
.auth-card,
.filter-panel,
.shop-toolbar,
.category-showcase,
.market-section,
.market-mini-card,
.market-product-card,
.market-team-card,
.market-formation-card,
.delivery-card,
.stock-control-panel {
    border: 1px solid var(--premium-line) !important;
    border-radius: var(--premium-radius) !important;
    background: var(--premium-card) !important;
    box-shadow: var(--premium-shadow-soft) !important;
    backdrop-filter: blur(14px);
}

.card:hover,
.shop-product-card:hover,
.market-product-card:hover,
.market-team-card:hover,
.market-formation-card:hover,
.category-tile:hover {
    transform: translateY(-4px);
    box-shadow: var(--premium-shadow) !important;
}

.shop-product-card,
.product-card,
.similar-product-card,
.market-product-card {
    border: 1px solid rgba(255, 255, 255, 0.66) !important;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.84), rgba(255, 255, 255, 0.68)),
        rgba(255, 255, 255, 0.74) !important;
}

.shop-product-card__media,
.product-card .card-img-top,
.market-product-card__image,
.similar-product-card__image {
    background:
        linear-gradient(135deg, rgba(0, 135, 90, 0.08), rgba(11, 49, 93, 0.08)),
        #f8fbfd !important;
}

.category-tile,
.filter-chip,
.shop-summary > div {
    border-radius: var(--premium-radius) !important;
    background: var(--premium-glass) !important;
    backdrop-filter: blur(12px);
}

.category-tile__icon,
.filter-nav--modern a i,
.market-strip i {
    background: var(--premium-gradient) !important;
    color: #fff !important;
}

.filter-panel__header,
.admin-page-head--software,
.order-detail-modal__head {
    background: var(--premium-gradient) !important;
}

.filter-panel__header,
.category-showcase__head {
    position: relative;
}

.premium-collapse-toggle {
    width: 34px;
    height: 34px;
    display: inline-grid;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    color: inherit;
}

.category-showcase__head .premium-collapse-toggle {
    color: var(--premium-navy);
    border-color: rgba(6, 27, 51, 0.12);
    background: rgba(6, 27, 51, 0.05);
}

.filter-panel.is-collapsed .filter-panel__body,
.category-showcase.is-collapsed .category-grid {
    display: none !important;
}

.shop-filters-bar--modern,
.shop-marquee {
    background: linear-gradient(90deg, var(--premium-navy), var(--premium-navy-2)) !important;
}

#eclosion-toast {
    min-width: min(92vw, 360px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 8px !important;
    background: rgba(6, 27, 51, 0.94) !important;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.24) !important;
    backdrop-filter: blur(16px);
}

.admin-notification-menu,
.dropdown-menu {
    border: 1px solid rgba(15, 31, 47, 0.1) !important;
    border-radius: 8px !important;
    box-shadow: 0 18px 42px rgba(6, 27, 51, 0.16) !important;
}

.mobile-main-menu {
    width: min(92vw, 380px) !important;
    border: 0;
    border-radius: 8px 0 0 8px !important;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(244, 248, 251, 0.96)),
        #fff !important;
    box-shadow: -20px 0 60px rgba(0, 0, 0, 0.24);
}

.mobile-main-menu__head {
    background: var(--premium-gradient) !important;
}

.mobile-menu-link {
    border-radius: 8px !important;
    background: rgba(6, 27, 51, 0.04);
}

.mobile-menu-link:hover,
.mobile-menu-link:focus-visible {
    transform: translateX(4px);
    background: rgba(0, 135, 90, 0.12);
}

.offcanvas-backdrop.show {
    opacity: 1 !important;
    background: rgba(2, 8, 23, 0.56) !important;
    backdrop-filter: blur(8px);
}

.premium-floating-actions {
    position: fixed;
    right: max(1rem, env(safe-area-inset-right));
    bottom: max(1rem, env(safe-area-inset-bottom));
    z-index: 1045;
    display: grid;
    gap: 0.65rem;
}

.premium-fab {
    width: 52px;
    height: 52px;
    display: inline-grid;
    place-items: center;
    border: 0;
    border-radius: 999px;
    color: #fff;
    text-decoration: none;
    background: var(--premium-gradient);
    box-shadow: 0 16px 34px rgba(6, 27, 51, 0.24);
}

.premium-fab:hover {
    transform: translateY(-3px) scale(1.03);
    color: #fff;
}

.premium-fab--whatsapp {
    background: linear-gradient(135deg, #0fbf6a, #00875a);
}

.premium-fab--theme {
    display: none;
    background: rgba(6, 27, 51, 0.86);
    backdrop-filter: blur(12px);
}

.premium-chat-panel {
    position: fixed;
    right: max(1rem, env(safe-area-inset-right));
    bottom: calc(max(1rem, env(safe-area-inset-bottom)) + 4.25rem);
    z-index: 1046;
    width: min(92vw, 370px);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 24px 60px rgba(6, 27, 51, 0.28);
    backdrop-filter: blur(18px);
    transform: translateY(18px) scale(0.96);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.22s var(--premium-ease), transform 0.22s var(--premium-ease);
}

.premium-chat-panel.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0) scale(1);
}

.premium-chat-panel__head {
    display: flex;
    align-items: start;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem;
    background: var(--premium-gradient);
    color: #fff;
}

.premium-chat-panel__head span,
.premium-chat-panel__head strong {
    display: block;
}

.premium-chat-panel__head span {
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.78rem;
    font-weight: 850;
}

.premium-chat-panel__head strong {
    font-size: 1rem;
    font-weight: 950;
}

.premium-chat-panel__head button {
    width: 34px;
    height: 34px;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
    color: #fff;
}

.premium-chat-panel__body {
    display: grid;
    gap: 0.75rem;
    padding: 1rem;
}

.premium-chat-message {
    padding: 0.78rem;
    border-radius: 8px;
    background: #eef6f1;
    color: var(--premium-ink);
    font-weight: 750;
}

.premium-chat-quick {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
}

.premium-chat-quick button {
    border: 1px solid rgba(0, 135, 90, 0.18);
    border-radius: 999px;
    background: #fff;
    color: var(--premium-emerald);
    padding: 0.45rem 0.68rem;
    font-weight: 900;
}

.premium-chat-input {
    width: 100%;
    resize: none;
    border: 1px solid rgba(15, 31, 47, 0.12);
    border-radius: 8px;
    padding: 0.75rem;
    outline: none;
}

.premium-chat-input:focus {
    border-color: rgba(0, 135, 90, 0.45);
    box-shadow: 0 0 0 4px rgba(0, 135, 90, 0.12);
}

.premium-chat-panel__foot {
    padding: 0 1rem 1rem;
}

.premium-chat-panel__foot .btn {
    width: 100%;
}

body.is-page-loading::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    z-index: 2000;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--premium-emerald), transparent);
    animation: premiumLoader 0.9s linear infinite;
}

.premium-skeleton {
    position: relative;
    overflow: hidden;
    color: transparent !important;
    background: #e8eef4 !important;
    border-radius: 8px;
}

.premium-skeleton::after {
    content: '';
    position: absolute;
    inset: 0;
    transform: translateX(-100%);
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.55), transparent);
    animation: premiumShimmer 1.2s infinite;
}

@keyframes premiumLoader {
    from { transform: translateX(-100%); }
    to { transform: translateX(100%); }
}

@keyframes premiumShimmer {
    to { transform: translateX(100%); }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
    }
}

html.theme-dark {
    color-scheme: dark;
}

html.theme-dark body {
    color: #edf6ff;
    background:
        linear-gradient(180deg, rgba(5, 18, 34, 0.98), rgba(7, 25, 47, 0.98)),
        repeating-linear-gradient(135deg, rgba(0, 135, 90, 0.06) 0 1px, transparent 1px 20px),
        #051222;
}

html.theme-dark .card,
html.theme-dark .admin-panel,
html.theme-dark .admin-card,
html.theme-dark .auth-card,
html.theme-dark .filter-panel,
html.theme-dark .shop-toolbar,
html.theme-dark .category-showcase,
html.theme-dark .market-section,
html.theme-dark .market-mini-card,
html.theme-dark .market-product-card,
html.theme-dark .market-team-card,
html.theme-dark .market-formation-card,
html.theme-dark .delivery-card,
html.theme-dark .shop-product-card,
html.theme-dark .product-card,
html.theme-dark .similar-product-card {
    border-color: rgba(255, 255, 255, 0.09) !important;
    background: rgba(11, 31, 54, 0.82) !important;
    color: #edf6ff !important;
}

html.theme-dark .text-muted,
html.theme-dark p,
html.theme-dark small,
html.theme-dark .shop-product-card p,
html.theme-dark .market-section-head > a,
html.theme-dark .market-section-head p {
    color: #a7b8ca !important;
}

html.theme-dark h1,
html.theme-dark h2,
html.theme-dark h3,
html.theme-dark h4,
html.theme-dark h5,
html.theme-dark h6,
html.theme-dark strong,
html.theme-dark .shop-product-card h3 a,
html.theme-dark .market-product-card h3 a,
html.theme-dark .market-team-card strong,
html.theme-dark .market-formation-card h3 {
    color: #f8fbff !important;
}

html.theme-dark .form-control,
html.theme-dark .form-select,
html.theme-dark textarea,
html.theme-dark input {
    background-color: rgba(255, 255, 255, 0.08) !important;
    border-color: rgba(255, 255, 255, 0.14) !important;
    color: #f8fbff !important;
}

html.theme-dark .dropdown-menu,
html.theme-dark .premium-chat-panel,
html.theme-dark .mobile-main-menu {
    background: rgba(8, 25, 45, 0.96) !important;
    color: #f8fbff !important;
}

html.theme-dark .premium-chat-message,
html.theme-dark .premium-chat-quick button,
html.theme-dark .premium-chat-input,
html.theme-dark .category-tile,
html.theme-dark .filter-chip,
html.theme-dark .shop-summary > div {
    background: rgba(255, 255, 255, 0.08) !important;
    color: #f8fbff !important;
}

html.theme-dark .site-footer {
    background: linear-gradient(180deg, #04101f, #020914) !important;
}

html.theme-dark .premium-theme-toggle i,
html.theme-dark .premium-fab--theme i,
html.theme-dark [data-theme-toggle] i {
    transform: rotate(-16deg);
}

@media (max-width: 767px) {
    body {
        font-size: 14px;
        padding-bottom: calc(4.5rem + env(safe-area-inset-bottom));
    }

    .main-header {
        box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
    }

    .navbar-middle {
        padding-block: 0.34rem !important;
    }

    .premium-theme-toggle {
        display: none;
    }

    .premium-fab--theme {
        display: inline-grid;
    }

    .premium-floating-actions {
        right: max(0.75rem, env(safe-area-inset-right));
        bottom: max(0.75rem, env(safe-area-inset-bottom));
    }

    .premium-fab {
        width: 48px;
        height: 48px;
    }

    .premium-chat-panel {
        left: 0.65rem;
        right: 0.65rem;
        bottom: calc(max(0.75rem, env(safe-area-inset-bottom)) + 4rem);
        width: auto;
    }

    .shop-product-card,
    .market-product-card,
    .similar-product-card,
    .product-card {
        border-radius: 8px !important;
    }

    .filter-panel {
        position: static;
    }
}

/* ==== pro-flat-theme.css ==== */
/* Eclosion+ pro flat theme - couleurs sobres et formes plus carrees */
:root {
    --pro-navy: #071f3a;
    --pro-navy-2: #0b2d52;
    --pro-emerald: #00875a;
    --pro-emerald-2: #0a9b6a;
    --pro-bg: #f5f7fa;
    --pro-surface: #ffffff;
    --pro-surface-2: #f8fafc;
    --pro-border: #d9e2ec;
    --pro-text: #102033;
    --pro-muted: #62748a;
    --pro-radius: 6px;
    --pro-radius-sm: 4px;
    --pro-shadow: 0 10px 24px rgba(7, 31, 58, 0.08);
    --pro-shadow-soft: 0 4px 14px rgba(7, 31, 58, 0.06);
}

/* Correction alignement + palette vert Excel professionnelle */
:root {
    --excel-green: #107c41;
    --excel-green-dark: #0b5f31;
    --excel-green-soft: #e8f3ed;
    --excel-green-line: #b9d8c7;
}

.nav-secondary .container-fluid > div:first-child {
    align-items: stretch !important;
    gap: 0.55rem !important;
}

.nav-secondary .hover-link,
.nav-secondary a.hover-link,
.nav-secondary .btn-rayons {
    min-height: 38px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.4rem !important;
    padding: 0.45rem 0.8rem !important;
    border: 1px solid transparent !important;
    border-radius: 4px !important;
    line-height: 1 !important;
    white-space: nowrap !important;
    transform: none !important;
}

.nav-secondary .hover-link:hover,
.nav-secondary a.hover-link:hover {
    background: var(--excel-green-soft) !important;
    border-color: var(--excel-green-line) !important;
    color: var(--excel-green-dark) !important;
}

.nav-secondary .btn-rayons {
    background: var(--excel-green) !important;
    border-color: var(--excel-green) !important;
    color: #fff !important;
    box-shadow: none !important;
}

.nav-secondary .btn-rayons:hover {
    background: var(--excel-green-dark) !important;
    border-color: var(--excel-green-dark) !important;
}

.nav-secondary i {
    width: 24px !important;
    height: 24px !important;
    min-width: 24px !important;
    border-radius: 4px !important;
    font-size: 0.78rem !important;
}

.btn-success,
.btn-primary,
.btn-warning,
.search-form .btn,
.search-form .btn-warning,
.premium-chat-send,
.premium-fab,
.cart-link-header #cart-count,
.cart-link-header .badge,
.admin-notification-badge,
.mobile-menu-badge,
.js-admin-pending-badge {
    background: var(--excel-green) !important;
    border-color: var(--excel-green) !important;
    color: #fff !important;
    box-shadow: none !important;
}

.btn-success:hover,
.btn-primary:hover,
.btn-warning:hover,
.search-form .btn:hover,
.premium-chat-send:hover,
.premium-fab:hover {
    background: var(--excel-green-dark) !important;
    border-color: var(--excel-green-dark) !important;
}

.cart-link-header #cart-count,
.cart-link-header .badge {
    border-color: #fff !important;
}

.admin-area {
    --pro-admin-orange: var(--excel-green);
    --pro-admin-orange-dark: var(--excel-green-dark);
    --pro-admin-orange-soft: var(--excel-green-soft);
    --pro-admin-orange-shadow: rgba(16, 124, 65, 0.18);
    --pro-admin-blue: #0f2f4a;
    --pro-admin-blue-soft: #eef5f1;
    --pro-admin-border: #cbdcd4;
}

.admin-area .admin-workspace-nav,
.admin-area .admin-panel,
.admin-area .admin-card,
.admin-area .admin-page-head,
.admin-area .admin-page-head--software,
.admin-area .admin-command-card,
.admin-area .admin-metric-card,
.admin-area .admin-status-tile,
.admin-area .admin-feature-tile,
.admin-area .card,
.admin-area .modal-content,
.admin-area .form-control,
.admin-area .form-select,
.admin-area .btn,
.admin-area .admin-table-actions .btn,
.admin-area .admin-share-actions .share-btn {
    border-radius: 3px !important;
}

.admin-area .admin-workspace-links,
.admin-area .admin-workspace-tools {
    display: grid !important;
    gap: 0.35rem !important;
}

.admin-area .admin-workspace-links a,
.admin-area .admin-workspace-tools a {
    min-height: 42px !important;
    display: grid !important;
    grid-template-columns: 34px minmax(0, 1fr) auto !important;
    align-items: center !important;
    gap: 0.65rem !important;
    padding: 0.35rem 0.55rem !important;
    border-radius: 3px !important;
    line-height: 1.1 !important;
    transform: none !important;
}

.admin-area .admin-workspace-links a span,
.admin-area .admin-workspace-tools a span {
    min-width: 0 !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
}

.admin-area .admin-workspace-links i,
.admin-area .admin-workspace-tools i,
.admin-area .admin-workspace-brand > span {
    width: 32px !important;
    height: 32px !important;
    min-width: 32px !important;
    border-radius: 3px !important;
}

.admin-area .admin-workspace-links a:hover,
.admin-area .admin-workspace-tools a:hover {
    background: var(--excel-green-soft) !important;
    border-color: var(--excel-green-line) !important;
    color: var(--excel-green-dark) !important;
}

.admin-area .admin-workspace-links a.active {
    background: var(--excel-green-dark) !important;
    border-color: var(--excel-green-dark) !important;
    color: #fff !important;
}

.admin-area .admin-workspace-links a.active i {
    background: rgba(255, 255, 255, 0.14) !important;
    border-color: rgba(255, 255, 255, 0.28) !important;
    color: #fff !important;
}

.admin-area .admin-page-head,
.admin-area .admin-page-head--software,
.admin-area .admin-product-stat,
.admin-area .admin-share-panel,
.admin-area .admin-product-editor,
.admin-area .admin-product-form-intro,
.admin-area .admin-icon-preview,
.admin-area .erp-control-card {
    border-left-color: var(--excel-green) !important;
}

.admin-area .admin-products-table tbody tr:hover,
.admin-area .table-hover tbody tr:hover {
    background: #f3faf6 !important;
}

.admin-area .admin-stock-badge--low,
.admin-area .stock-category-row > span,
.admin-area .admin-icon-preview > span,
.admin-area .admin-products-card__tools span,
.admin-area .erp-control-card > span {
    background: var(--excel-green-soft) !important;
    color: var(--excel-green-dark) !important;
    border-color: var(--excel-green-line) !important;
}

.admin-area .admin-kicker,
.admin-area .admin-kicker i,
.admin-area .admin-image-missing,
.admin-area .admin-product-form-intro i {
    color: var(--excel-green-dark) !important;
}

.admin-area .btn-success,
.admin-area .btn-primary,
.admin-area .btn-warning,
.admin-area .admin-table-actions .btn-primary,
.admin-area .admin-table-actions .btn-success {
    background: var(--excel-green) !important;
    border-color: var(--excel-green) !important;
    color: #fff !important;
}

.admin-area .btn-success:hover,
.admin-area .btn-primary:hover,
.admin-area .btn-warning:hover,
.admin-area .admin-table-actions .btn-primary:hover,
.admin-area .admin-table-actions .btn-success:hover {
    background: var(--excel-green-dark) !important;
    border-color: var(--excel-green-dark) !important;
    color: #fff !important;
}

@media (max-width: 767px) {
    .nav-secondary .container-fluid > div:first-child {
        gap: 0.4rem !important;
    }

    .nav-secondary .hover-link,
    .nav-secondary a.hover-link,
    .nav-secondary .btn-rayons {
        min-height: 36px !important;
        padding: 0.42rem 0.65rem !important;
    }
}

/* Final admin scroll lock: garde le logiciel stable sur desktop */
@media (min-width: 992px) {
    .admin-area {
        overflow: hidden !important;
    }

    .admin-area .admin-shell {
        height: calc(100dvh - 136px) !important;
        overflow: hidden !important;
        padding-bottom: 0 !important;
    }

    .admin-area .admin-shell > .row {
        height: 100% !important;
        min-height: 0 !important;
    }

    .admin-area .admin-shell > .row > [class*="col-md-3"],
    .admin-area .admin-shell > .row > [class*="col-lg-2"] {
        height: 100% !important;
        min-height: 0 !important;
        overflow: hidden !important;
    }

    .admin-area .admin-workspace-nav {
        position: sticky !important;
        top: 0 !important;
        height: 100% !important;
        max-height: 100% !important;
        overflow-y: auto !important;
        overscroll-behavior: contain !important;
    }

    .admin-area .admin-shell > .row > [class*="col-md-9"],
    .admin-area .admin-shell > .row > [class*="col-lg-10"] {
        height: 100% !important;
        max-height: 100% !important;
        min-height: 0 !important;
        overflow-y: auto !important;
        overflow-x: hidden !important;
        overscroll-behavior: contain !important;
        padding-right: 0.85rem !important;
    }
}

/* Final admin scroll lock: garde le logiciel stable sur desktop */
@media (min-width: 992px) {
    .admin-area {
        overflow: hidden !important;
    }

    .admin-area .admin-shell {
        height: calc(100dvh - 136px) !important;
        overflow: hidden !important;
        padding-bottom: 0 !important;
    }

    .admin-area .admin-shell > .row {
        height: 100% !important;
        min-height: 0 !important;
    }

    .admin-area .admin-shell > .row > [class*="col-md-3"],
    .admin-area .admin-shell > .row > [class*="col-lg-2"] {
        height: 100% !important;
        min-height: 0 !important;
        overflow: hidden !important;
    }

    .admin-area .admin-workspace-nav {
        position: sticky !important;
        top: 0 !important;
        height: 100% !important;
        max-height: 100% !important;
        overflow-y: auto !important;
        overscroll-behavior: contain !important;
    }

    .admin-area .admin-shell > .row > [class*="col-md-9"],
    .admin-area .admin-shell > .row > [class*="col-lg-10"] {
        height: 100% !important;
        max-height: 100% !important;
        min-height: 0 !important;
        overflow-y: auto !important;
        overflow-x: hidden !important;
        overscroll-behavior: contain !important;
        padding-right: 0.85rem !important;
    }
}

/* Admin ERP: zones de defilement propres pour eviter les debordements */
.admin-area .admin-shell {
    min-height: 0 !important;
}

.admin-area .admin-shell > .row > [class*="col-md-9"],
.admin-area .admin-shell > .row > [class*="col-lg-10"] {
    max-height: calc(100dvh - 168px) !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    padding-right: 0.75rem !important;
    scrollbar-width: thin !important;
}

.admin-area .admin-workspace-nav,
.admin-area .admin-workspace-links {
    scrollbar-width: thin !important;
}

.admin-area .admin-panel .table-responsive {
    max-height: min(68vh, 720px) !important;
    overflow: auto !important;
    border-radius: 12px !important;
}

.admin-area .admin-panel .table-responsive thead th {
    position: sticky !important;
    top: 0 !important;
    z-index: 3 !important;
}

.erp-export-grid {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 1rem !important;
}

.erp-export-grid article {
    display: grid !important;
    gap: 0.45rem !important;
    min-height: 138px !important;
    padding: 1rem !important;
    border: 1px solid #d7e2ef !important;
    border-radius: 14px !important;
    background: #fff !important;
    box-shadow: 0 14px 32px rgba(15, 23, 42, 0.08) !important;
}

.erp-export-grid i {
    width: 38px !important;
    height: 38px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 10px !important;
    color: #0b2545 !important;
    background: #fff4e6 !important;
}

.erp-export-grid strong {
    color: #0b2545 !important;
    font-weight: 900 !important;
}

.erp-export-grid small {
    color: #64748b !important;
    line-height: 1.5 !important;
}

@media (max-width: 991.98px) {
    .admin-area .admin-shell > .row > [class*="col-md-9"],
    .admin-area .admin-shell > .row > [class*="col-lg-10"] {
        max-height: none !important;
        overflow: visible !important;
        padding-right: 0 !important;
    }

    .erp-export-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}

@media (max-width: 575.98px) {
    .erp-export-grid {
        grid-template-columns: 1fr !important;
    }
}

/* Livraison terrain : stock embarque, remises et suivi */
.delivery-ops-grid {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 0.85rem !important;
}

.delivery-mini-form {
    display: grid !important;
    gap: 0.55rem !important;
    padding: 0.85rem !important;
    border: 1px solid var(--pro-border) !important;
    border-radius: 6px !important;
    background: #fff !important;
}

.delivery-mini-form strong {
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.45rem !important;
    color: var(--pro-navy) !important;
}

.delivery-ops-lists {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 0.85rem !important;
}

.delivery-ops-lists > div {
    border: 1px solid var(--pro-border) !important;
    border-radius: 6px !important;
    background: #f8fafc !important;
    padding: 0.85rem !important;
}

.delivery-ops-lists h3 {
    margin: 0 0 0.65rem !important;
    font-size: 0.92rem !important;
    color: var(--pro-navy) !important;
}

.delivery-ops-lists article {
    display: grid !important;
    grid-template-columns: 34px minmax(0, 1fr) auto !important;
    align-items: center !important;
    gap: 0.55rem !important;
    padding: 0.5rem 0 !important;
    border-top: 1px solid #e2e8f0 !important;
}

.delivery-ops-lists article:first-of-type {
    border-top: 0 !important;
}

.delivery-ops-lists article span {
    width: 32px !important;
    height: 32px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 6px !important;
    background: var(--excel-green-soft) !important;
    color: var(--excel-green-dark) !important;
}

.delivery-ops-lists article strong,
.delivery-ops-lists article small {
    display: block !important;
}

.delivery-ops-lists article em {
    font-style: normal !important;
    font-weight: 900 !important;
    color: var(--excel-green-dark) !important;
}

.tracking-hero,
.tracking-board,
.tracking-timeline {
    border: 1px solid var(--pro-border) !important;
    border-radius: 8px !important;
    background: #fff !important;
    box-shadow: var(--pro-shadow-soft) !important;
    padding: 1rem !important;
}

.tracking-hero h1 {
    color: var(--pro-navy) !important;
    margin: 0.35rem 0 !important;
}

.tracking-search {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto !important;
    gap: 0.65rem !important;
    margin-top: 1rem !important;
}

.tracking-board {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 0.75rem !important;
}

.tracking-card {
    border: 1px solid #e2e8f0 !important;
    border-radius: 6px !important;
    padding: 0.85rem !important;
    background: #f8fafc !important;
}

.tracking-card span,
.tracking-card small {
    display: block !important;
    color: var(--pro-muted) !important;
}

.tracking-card strong {
    display: block !important;
    color: var(--pro-navy) !important;
}

.tracking-card--main {
    background: var(--pro-navy) !important;
    color: #fff !important;
}

.tracking-card--main strong,
.tracking-card--main span,
.tracking-card--main small {
    color: #fff !important;
}

.tracking-card--main em {
    display: inline-flex !important;
    margin-top: 0.5rem !important;
    padding: 0.25rem 0.55rem !important;
    border-radius: 999px !important;
    background: var(--excel-green) !important;
    color: #fff !important;
    font-style: normal !important;
    font-weight: 900 !important;
}

.tracking-timeline h2 {
    font-size: 1rem !important;
    color: var(--pro-navy) !important;
}

.tracking-timeline article {
    display: grid !important;
    grid-template-columns: 34px minmax(0, 1fr) !important;
    gap: 0.6rem !important;
    padding: 0.7rem 0 !important;
    border-top: 1px solid #e2e8f0 !important;
}

.tracking-timeline article span {
    color: var(--excel-green-dark) !important;
}

@media (max-width: 991px) {
    .delivery-ops-grid,
    .delivery-ops-lists,
    .tracking-board {
        grid-template-columns: 1fr !important;
    }
}

@media (max-width: 575px) {
    .tracking-search {
        grid-template-columns: 1fr !important;
    }
}

/* Harmonisation finale admin + header/footer compacts */
.admin-area .admin-shell {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
}

.admin-area .admin-shell > .row {
    align-items: flex-start !important;
}

.admin-area .admin-shell > .row > .col-md-3,
.admin-area .admin-shell > .row > .col-lg-2 {
    flex: 0 0 230px !important;
    width: 230px !important;
    max-width: 230px !important;
}

.admin-area .admin-shell > .row > .col-md-9,
.admin-area .admin-shell > .row > .col-lg-10 {
    flex: 1 1 0 !important;
    width: calc(100% - 230px) !important;
    max-width: calc(100% - 230px) !important;
    min-width: 0 !important;
}

.admin-area .admin-workspace-nav {
    position: sticky !important;
    top: 92px !important;
}

.admin-area .admin-products-card,
.admin-area .admin-products-table {
    width: 100% !important;
}

.admin-area .admin-products-card .table-responsive {
    overflow-x: auto !important;
}

.main-header .header-quick-links {
    flex-wrap: wrap !important;
    gap: 0.35rem !important;
}

.main-header .header-quick-links a {
    min-height: 30px !important;
    padding: 0.32rem 0.55rem !important;
    font-size: 0.76rem !important;
}

.site-footer--compact {
    padding-top: 1.4rem !important;
    padding-bottom: 0.7rem !important;
}

.site-footer--compact .row {
    row-gap: 0.85rem !important;
}

.site-footer--compact .footer-logo-img {
    max-height: 44px !important;
}

.site-footer--compact p,
.site-footer--compact li,
.site-footer--compact small {
    margin-bottom: 0.35rem !important;
}

.site-footer--compact h6 {
    margin-bottom: 0.55rem !important;
    font-size: 0.8rem !important;
}

.site-footer--compact hr {
    margin: 0.8rem 0 0.45rem !important;
}

.eclosion-location-actions {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 0.65rem !important;
    margin-top: 1rem !important;
}

.eclosion-location-grid {
    display: grid !important;
    grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr) !important;
    gap: 1rem !important;
}

.eclosion-location-map,
.eclosion-location-card,
.cart-map-preview {
    border: 1px solid var(--pro-border) !important;
    border-radius: 8px !important;
    background: #fff !important;
    box-shadow: var(--pro-shadow-soft) !important;
    overflow: hidden !important;
}

.eclosion-location-map iframe,
.cart-map-preview iframe {
    width: 100% !important;
    border: 0 !important;
    display: block !important;
}

.eclosion-location-map iframe {
    min-height: 430px !important;
}

.cart-map-preview iframe {
    height: 170px !important;
}

.eclosion-location-card {
    padding: 1rem !important;
}

.eclosion-location-card > span {
    width: 42px !important;
    height: 42px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 8px !important;
    background: var(--excel-green-soft) !important;
    color: var(--excel-green-dark) !important;
}

.eclosion-location-card h2 {
    margin-top: 0.75rem !important;
    color: var(--pro-navy) !important;
}

.eclosion-location-card ul {
    list-style: none !important;
    padding: 0 !important;
    margin: 1rem 0 0 !important;
    display: grid !important;
    gap: 0.55rem !important;
}

.eclosion-location-card li {
    display: flex !important;
    align-items: center !important;
    gap: 0.5rem !important;
    color: var(--pro-text) !important;
}

.eclosion-location-card li i {
    color: var(--excel-green-dark) !important;
}

@media (max-width: 991px) {
    .admin-area .admin-shell > .row > .col-md-3,
    .admin-area .admin-shell > .row > .col-lg-2,
    .admin-area .admin-shell > .row > .col-md-9,
    .admin-area .admin-shell > .row > .col-lg-10 {
        flex: 0 0 100% !important;
        width: 100% !important;
        max-width: 100% !important;
    }

    .admin-area .admin-workspace-nav {
        position: relative !important;
        top: auto !important;
    }

    .eclosion-location-grid {
        grid-template-columns: 1fr !important;
    }
}

@media (max-width: 767px) {
    .site-footer--compact {
        padding-top: 1rem !important;
    }

    .site-footer--compact .row > div:not(:first-child):not(:last-child) {
        display: none !important;
    }

    .eclosion-location-map iframe {
        min-height: 300px !important;
    }
}

/* Boutique + livraison geolocalisee */
.shop-hero {
    background: #071f3a !important;
    color: #fff !important;
    padding: 2rem 0 1.4rem !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
}

.shop-hero__inner {
    display: grid !important;
    grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr) !important;
    align-items: center !important;
    gap: 1.5rem !important;
}

.shop-hero h1 {
    color: #fff !important;
    max-width: 680px !important;
    font-size: clamp(1.75rem, 4vw, 3.1rem) !important;
    line-height: 1.05 !important;
    margin: 0.45rem 0 0.7rem !important;
}

.shop-hero p {
    color: #d9e6ef !important;
    max-width: 620px !important;
    margin-bottom: 1rem !important;
}

.shop-kicker {
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.45rem !important;
    color: #9be2bf !important;
    font-weight: 900 !important;
    letter-spacing: 0 !important;
    text-transform: uppercase !important;
    font-size: 0.78rem !important;
}

.shop-hero__actions {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 0.65rem !important;
}

.shop-hero__visual {
    min-height: 280px !important;
    position: relative !important;
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 0.75rem !important;
}

.shop-floating-product {
    border: 1px solid rgba(255, 255, 255, 0.14) !important;
    border-radius: 8px !important;
    overflow: hidden !important;
    background: #fff !important;
    box-shadow: 0 16px 30px rgba(0, 0, 0, 0.18) !important;
}

.shop-floating-product img,
.shop-floating-product span {
    width: 100% !important;
    height: 100% !important;
    min-height: 128px !important;
    object-fit: cover !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: var(--excel-green-dark) !important;
    background: #f7fbf9 !important;
}

.shop-hero__badge {
    position: absolute !important;
    right: 0.9rem !important;
    bottom: 0.9rem !important;
    display: grid !important;
    place-items: center !important;
    min-width: 86px !important;
    padding: 0.55rem 0.75rem !important;
    border-radius: 8px !important;
    background: #fff !important;
    color: var(--pro-navy) !important;
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.16) !important;
}

.shop-hero__badge strong {
    color: var(--excel-green-dark) !important;
    font-size: 1.35rem !important;
}

.shop-marquee {
    border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-bottom: 1px solid #d9e2ec !important;
}

.shop-service-strip {
    padding: 0.25rem !important;
}

.shop-service-strip a,
.shop-service-strip button,
.shop-zone-strip,
.cart-location-card {
    border-color: #cfdde8 !important;
    box-shadow: 0 8px 22px rgba(7, 31, 58, 0.06) !important;
}

.shop-zone-strip {
    background: #fff !important;
}

.shop-zone-strip strong {
    color: var(--pro-navy) !important;
}

.shop-zone-strip span:first-of-type {
    background: var(--excel-green-soft) !important;
    color: var(--excel-green-dark) !important;
    border-color: var(--excel-green-line) !important;
}

.shop-product-card {
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        border-color 0.2s ease !important;
}

.shop-product-card__media img {
    filter: none !important;
}

.delivery-company-mini {
    display: flex !important;
    align-items: center !important;
    gap: 0.6rem !important;
    margin: 0.75rem 0 !important;
    padding: 0.65rem !important;
    border: 1px solid #d9e7df !important;
    border-radius: 6px !important;
    background: #f7fbf9 !important;
}

.delivery-company-mini > i {
    width: 34px !important;
    height: 34px !important;
    min-width: 34px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 6px !important;
    background: var(--excel-green-soft) !important;
    color: var(--excel-green-dark) !important;
}

.delivery-company-mini span {
    min-width: 0 !important;
}

.delivery-company-mini strong,
.delivery-company-mini small {
    display: block !important;
}

.delivery-company-mini strong {
    color: var(--pro-navy) !important;
    font-size: 0.86rem !important;
}

.delivery-company-mini small {
    color: var(--pro-muted) !important;
    font-size: 0.76rem !important;
}

.delivery-company-mini a {
    margin-left: auto !important;
    padding: 0.35rem 0.55rem !important;
    border-radius: 4px !important;
    border: 1px solid var(--excel-green-line) !important;
    color: var(--excel-green-dark) !important;
    background: #fff !important;
    text-decoration: none !important;
    font-weight: 900 !important;
    font-size: 0.78rem !important;
}

@media (max-width: 767px) {
    .shop-hero {
        padding: 1.25rem 0 1rem !important;
    }

    .shop-hero__inner {
        grid-template-columns: 1fr !important;
        gap: 1rem !important;
    }

    .shop-hero__visual {
        min-height: 190px !important;
        gap: 0.5rem !important;
    }

    .shop-floating-product:nth-child(n + 3) {
        display: none !important;
    }

    .shop-floating-product img,
    .shop-floating-product span {
        min-height: 150px !important;
    }

    .shop-hero__badge {
        right: 0.55rem !important;
        bottom: 0.55rem !important;
        min-width: 72px !important;
        padding: 0.45rem 0.55rem !important;
    }

    .delivery-company-mini {
        align-items: flex-start !important;
    }
}

/* Fix final du decalage vertical dans la barre de navigation */
.nav-secondary .container-fluid > div:first-child {
    align-items: center !important;
}

.nav-secondary .hover-link,
.nav-secondary a.hover-link,
.nav-secondary .btn-rayons {
    align-self: center !important;
    flex: 0 0 auto !important;
}

.nav-secondary .btn-rayons.btn-sm {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

/* Boutique premium + vrai chat */
.shop-service-strip,
.shop-zone-strip {
    width: min(100% - 1.5rem, 1320px) !important;
    margin: 1rem auto 0 !important;
}

.shop-service-strip {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 0.75rem !important;
}

.shop-service-strip a,
.shop-service-strip button {
    min-height: 78px !important;
    display: flex !important;
    align-items: center !important;
    gap: 0.75rem !important;
    padding: 0.85rem !important;
    border: 1px solid #d7e7de !important;
    border-radius: 6px !important;
    background: #fff !important;
    color: #102033 !important;
    text-align: left !important;
    text-decoration: none !important;
    box-shadow: 0 10px 24px rgba(7, 31, 58, 0.07) !important;
}

.shop-service-strip a:hover,
.shop-service-strip button:hover {
    border-color: var(--excel-green-line) !important;
    background: #f6fbf8 !important;
    transform: translateY(-2px) !important;
}

.shop-service-strip i,
.shop-zone-strip i {
    width: 38px !important;
    height: 38px !important;
    min-width: 38px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 6px !important;
    background: var(--excel-green-soft) !important;
    color: var(--excel-green-dark) !important;
}

.shop-service-strip strong,
.shop-service-strip small {
    display: block !important;
}

.shop-service-strip small {
    color: #60758a !important;
    font-size: 0.82rem !important;
}

.shop-zone-strip {
    display: flex !important;
    align-items: center !important;
    gap: 0.6rem !important;
    overflow-x: auto !important;
    padding: 0.7rem !important;
    border: 1px solid #d7e7de !important;
    border-radius: 6px !important;
    background: #f8fcfa !important;
}

.shop-zone-strip strong,
.shop-zone-strip span,
.shop-zone-map {
    white-space: nowrap !important;
}

.shop-zone-strip span,
.shop-zone-map {
    padding: 0.35rem 0.65rem !important;
    border-radius: 999px !important;
    background: #fff !important;
    border: 1px solid var(--excel-green-line) !important;
    color: var(--excel-green-dark) !important;
    font-weight: 800 !important;
    font-size: 0.82rem !important;
}

.shop-zone-map {
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.35rem !important;
    text-decoration: none !important;
    color: var(--pro-navy) !important;
    border-color: #cfdde8 !important;
}

.shop-product-card {
    position: relative !important;
    overflow: hidden !important;
    border-radius: 8px !important;
    border: 1px solid #dbe8e1 !important;
    background: #fff !important;
    box-shadow: 0 12px 28px rgba(7, 31, 58, 0.08) !important;
}

.shop-product-card__media {
    position: relative !important;
    aspect-ratio: 1 / 0.82 !important;
    overflow: hidden !important;
    background: #f5faf7 !important;
}

.shop-product-card__media img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    transform: scale(1.01) !important;
}

.shop-product-card:hover .shop-product-card__media img {
    transform: scale(1.055) !important;
}

.shop-product-card__overlay {
    position: absolute !important;
    top: 0.55rem !important;
    left: 0.55rem !important;
    right: 0.55rem !important;
    z-index: 2 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 0.4rem !important;
    pointer-events: none !important;
}

.shop-stock-pill {
    min-height: 26px !important;
    display: inline-flex !important;
    align-items: center !important;
    padding: 0.25rem 0.55rem !important;
    border-radius: 999px !important;
    background: #fff !important;
    color: #102033 !important;
    font-size: 0.72rem !important;
    font-weight: 900 !important;
    box-shadow: 0 8px 18px rgba(7, 31, 58, 0.12) !important;
}

.shop-stock-pill--ok {
    color: #107c41 !important;
}
.shop-stock-pill--low {
    color: #b45309 !important;
}
.shop-stock-pill--out {
    color: #b42318 !important;
}

.shop-card-help {
    width: 30px !important;
    height: 30px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    border: 0 !important;
    border-radius: 999px !important;
    background: var(--excel-green) !important;
    color: #fff !important;
    pointer-events: auto !important;
}

.shop-product-card__body {
    padding: 0.85rem !important;
}

.shop-product-card__delivery {
    display: block !important;
    margin-top: 0.15rem !important;
    color: #60758a !important;
    font-size: 0.76rem !important;
    font-weight: 800 !important;
}

.shop-product-card__detail {
    border-radius: 4px !important;
}

.premium-chat-panel__head {
    gap: 0.5rem !important;
}

.premium-chat-panel__head [data-chat-clear],
.premium-chat-panel__head [data-chat-close] {
    width: 34px !important;
    height: 34px !important;
    flex: 0 0 34px !important;
}

.premium-chat-message {
    display: grid !important;
    gap: 0.2rem !important;
}

.premium-chat-message > span {
    white-space: pre-line !important;
}

.premium-chat-time {
    justify-self: end !important;
    color: #8392a3 !important;
    font-size: 0.68rem !important;
    font-weight: 800 !important;
}

.premium-chat-message--agent .premium-chat-time {
    justify-self: start !important;
}

@media (max-width: 991px) {
    .shop-service-strip {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}

@media (max-width: 767px) {
    .shop-service-strip {
        grid-template-columns: 1fr !important;
        gap: 0.55rem !important;
    }

    .shop-service-strip a,
    .shop-service-strip button {
        min-height: 62px !important;
        padding: 0.65rem !important;
    }

    .shop-service-strip i {
        width: 32px !important;
        height: 32px !important;
        min-width: 32px !important;
    }

    .shop-zone-strip {
        margin-top: 0.65rem !important;
    }

    .shop-product-card__body {
        padding: 0.55rem !important;
    }

    .shop-product-card__overlay {
        top: 0.35rem !important;
        left: 0.35rem !important;
        right: 0.35rem !important;
    }

    .shop-stock-pill {
        min-height: 22px !important;
        padding: 0.18rem 0.4rem !important;
        font-size: 0.64rem !important;
    }

    .shop-card-help {
        width: 26px !important;
        height: 26px !important;
        font-size: 0.72rem !important;
    }

    .shop-product-card__delivery,
    .shop-product-card__meta,
    .shop-product-card p {
        display: none !important;
    }
}

/* ERP SaaS + zones livraison */
.admin-area .erp-saas-toolbar {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 1rem !important;
    padding: 0.95rem 1rem !important;
    background: #fff !important;
    border: 1px solid var(--pro-admin-border) !important;
    border-left: 4px solid var(--excel-green) !important;
    border-radius: 3px !important;
    box-shadow: 0 8px 18px rgba(11, 31, 58, 0.07) !important;
}

.admin-area .erp-saas-toolbar strong,
.admin-area .erp-module-card strong,
.admin-area .erp-ai-list strong {
    color: var(--pro-admin-navy) !important;
}

.admin-area .erp-saas-toolbar span,
.admin-area .erp-module-card small {
    display: block !important;
    color: #60758a !important;
}

.admin-area .erp-saas-toolbar > div:last-child {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 0.5rem !important;
}

.admin-area .erp-module-grid {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 0.8rem !important;
}

.admin-area .erp-module-card {
    display: grid !important;
    grid-template-columns: 42px minmax(0, 1fr) auto !important;
    align-items: center !important;
    gap: 0.75rem !important;
    min-height: 92px !important;
    padding: 0.9rem !important;
    background: #fff !important;
    border: 1px solid var(--pro-admin-border) !important;
    border-radius: 3px !important;
    text-decoration: none !important;
    color: var(--pro-admin-navy) !important;
    box-shadow: 0 8px 18px rgba(11, 31, 58, 0.06) !important;
}

.admin-area .erp-module-card:hover {
    border-color: var(--excel-green-line) !important;
    background: #f9fffb !important;
}

.admin-area .erp-module-card > span,
.admin-area .erp-ai-list i {
    width: 42px !important;
    height: 42px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 3px !important;
    background: var(--excel-green-soft) !important;
    color: var(--excel-green-dark) !important;
    border: 1px solid var(--excel-green-line) !important;
}

.admin-area .erp-module-card em {
    font-style: normal !important;
    padding: 0.35rem 0.55rem !important;
    border-radius: 3px !important;
    background: #f3f8fc !important;
    color: var(--pro-admin-navy) !important;
    font-size: 0.78rem !important;
    font-weight: 800 !important;
    white-space: nowrap !important;
}

.admin-area .erp-intel-grid {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
    gap: 1rem !important;
}

.admin-area .erp-ai-list,
.admin-area .erp-zone-list {
    display: grid !important;
    gap: 0.65rem !important;
}

.admin-area .erp-ai-list article,
.admin-area .erp-zone-list article {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 0.75rem !important;
    padding: 0.75rem !important;
    background: #f8fbfd !important;
    border: 1px solid var(--pro-admin-border) !important;
    border-radius: 3px !important;
}

.admin-area .erp-ai-list article {
    justify-content: flex-start !important;
}

.admin-area .erp-pipeline {
    display: grid !important;
    grid-template-columns: repeat(6, minmax(0, 1fr)) !important;
    gap: 0.5rem !important;
}

.admin-area .erp-pipeline span {
    min-height: 74px !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.25rem !important;
    background: #f8fbfd !important;
    border: 1px solid var(--pro-admin-border) !important;
    border-radius: 3px !important;
}

.admin-area .erp-pipeline strong {
    color: var(--excel-green-dark) !important;
    font-size: 1.35rem !important;
}

.admin-area .erp-pipeline small,
.admin-area .erp-zone-list small {
    color: #60758a !important;
}

.admin-area .erp-zone-list em {
    font-style: normal !important;
    font-weight: 800 !important;
    color: var(--excel-green-dark) !important;
}

.admin-area .erp-analytics-grid {
    display: grid !important;
    grid-template-columns: minmax(0, 1.45fr) minmax(280px, 0.75fr) minmax(
            280px,
            0.75fr
        ) !important;
    gap: 1rem !important;
}

.admin-area .erp-chart-card {
    overflow: hidden !important;
}

.admin-area .erp-chart-card--wide {
    min-height: 360px !important;
}

.admin-area .erp-line-chart {
    padding: 1rem !important;
}

.admin-area .erp-line-chart svg {
    width: 100% !important;
    height: 260px !important;
    display: block !important;
}

.admin-area .erp-line-chart svg line {
    stroke: #d7e3ec !important;
    stroke-width: 1 !important;
}

.admin-area .erp-line-chart svg polyline {
    fill: none !important;
    stroke: var(--excel-green) !important;
    stroke-width: 4 !important;
    stroke-linecap: round !important;
    stroke-linejoin: round !important;
    filter: drop-shadow(0 8px 12px rgba(16, 124, 65, 0.16)) !important;
}

.admin-area .erp-line-chart svg circle {
    fill: #fff !important;
    stroke: var(--excel-green) !important;
    stroke-width: 3 !important;
}

.admin-area .erp-chart-labels {
    display: flex !important;
    justify-content: space-between !important;
    gap: 0.5rem !important;
    color: #60758a !important;
    font-size: 0.78rem !important;
    font-weight: 700 !important;
}

.admin-area .erp-donut-wrap {
    display: grid !important;
    grid-template-columns: 150px minmax(0, 1fr) !important;
    align-items: center !important;
    gap: 1rem !important;
    padding: 1rem !important;
}

.admin-area .erp-donut {
    width: 150px !important;
    height: 150px !important;
    border-radius: 50% !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    background: conic-gradient(var(--donut)) !important;
    position: relative !important;
    overflow: hidden !important;
}

.admin-area .erp-donut::after {
    content: "" !important;
    position: absolute !important;
    inset: 28px !important;
    border-radius: 50% !important;
    background: #fff !important;
    border: 1px solid var(--pro-admin-border) !important;
}

.admin-area .erp-donut strong,
.admin-area .erp-donut small {
    position: relative !important;
    z-index: 1 !important;
    color: var(--pro-admin-navy) !important;
}

.admin-area .erp-donut strong {
    font-size: 1.45rem !important;
    line-height: 1 !important;
}

.admin-area .erp-chart-legend {
    display: grid !important;
    gap: 0.5rem !important;
}

.admin-area .erp-chart-legend span {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 0.5rem !important;
    padding: 0.45rem 0.55rem !important;
    border: 1px solid var(--pro-admin-border) !important;
    border-radius: 3px !important;
    color: var(--pro-admin-navy) !important;
    font-weight: 700 !important;
    font-size: 0.82rem !important;
}

.admin-area .erp-chart-legend i {
    width: 10px !important;
    height: 10px !important;
    border-radius: 2px !important;
    flex: 0 0 10px !important;
}

.admin-area .erp-stock-chart {
    display: grid !important;
    gap: 0.8rem !important;
    padding: 1rem !important;
}

.admin-area .erp-stock-chart article {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto !important;
    gap: 0.4rem 0.75rem !important;
    align-items: center !important;
}

.admin-area .erp-stock-chart strong,
.admin-area .erp-stock-chart em {
    color: var(--pro-admin-navy) !important;
    font-style: normal !important;
    font-weight: 900 !important;
}

.admin-area .erp-stock-chart span {
    display: block !important;
    color: #60758a !important;
    font-size: 0.82rem !important;
}

.admin-area .erp-stock-chart p {
    grid-column: 1 / -1 !important;
    height: 10px !important;
    margin: 0 !important;
    overflow: hidden !important;
    background: #edf3f7 !important;
    border-radius: 999px !important;
}

.admin-area .erp-stock-chart p span {
    height: 100% !important;
    border-radius: inherit !important;
}

.admin-area .delivery-zone-form {
    display: grid !important;
    grid-template-columns: repeat(5, minmax(120px, 1fr)) auto !important;
    gap: 0.55rem !important;
    align-items: start !important;
    padding: 0.85rem !important;
    background: #f8fbfd !important;
    border: 1px solid var(--pro-admin-border) !important;
    border-radius: 3px !important;
}

.admin-area .delivery-zone-form textarea {
    grid-column: span 3 !important;
}

.cart-location-card {
    overflow: hidden !important;
}

.cart-location-card .form-select,
.cart-location-card .form-control,
.cart-location-card .btn {
    min-height: 42px !important;
    border-radius: 4px !important;
    font-size: 0.92rem !important;
}

.cart-location-card textarea.form-control {
    min-height: 64px !important;
    resize: vertical !important;
}

.cart-location-status {
    max-width: 100% !important;
    overflow-wrap: anywhere !important;
}

@media (max-width: 1199px) {
    .admin-area .erp-module-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }

    .admin-area .erp-analytics-grid {
        grid-template-columns: 1fr !important;
    }

    .admin-area .delivery-zone-form {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}

@media (max-width: 767px) {
    .admin-area .erp-saas-toolbar,
    .admin-area .erp-saas-toolbar > div:last-child {
        align-items: stretch !important;
        flex-direction: column !important;
    }

    .admin-area .erp-module-grid,
    .admin-area .erp-intel-grid,
    .admin-area .delivery-zone-form {
        grid-template-columns: 1fr !important;
    }

    .admin-area .erp-module-card {
        grid-template-columns: 38px minmax(0, 1fr) !important;
    }

    .admin-area .erp-module-card em {
        grid-column: 2 !important;
        justify-self: start !important;
    }

    .admin-area .erp-pipeline {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }

    .admin-area .erp-donut-wrap {
        grid-template-columns: 1fr !important;
        justify-items: center !important;
    }

    .admin-area .delivery-zone-form textarea {
        grid-column: auto !important;
    }

    .cart-location-card {
        padding: 0.85rem !important;
    }

    .cart-location-card__head {
        align-items: flex-start !important;
        gap: 0.65rem !important;
    }

    .cart-location-card__head small,
    .cart-location-status,
    .cart-location-card .form-select,
    .cart-location-card .form-control {
        font-size: 0.86rem !important;
    }

    .cart-location-card .form-select {
        text-overflow: ellipsis !important;
    }
}

body {
    color: var(--pro-text);
    background: var(--pro-bg) !important;
}

.main-header,
.page-accueil .main-header {
    background: var(--pro-navy) !important;
    box-shadow: 0 6px 18px rgba(7, 31, 58, 0.18) !important;
}

.navbar-middle {
    background: var(--pro-navy) !important;
}

.top-bar {
    background: #06182d !important;
}

.nav-secondary,
.shop-marquee,
.shop-filters-bar--modern {
    background: var(--pro-navy-2) !important;
}

.btn-rayons,
.btn-warning,
.search-form .btn,
.search-form .btn-warning,
.market-product-card__foot .btn,
.shop-product-card__footer .btn,
.nav-secondary .btn-rayons {
    background: var(--pro-emerald) !important;
    color: #fff !important;
    border-color: var(--pro-emerald) !important;
    box-shadow: none !important;
}

.btn-success,
.btn-primary,
.premium-fab,
.category-tile__icon,
.filter-nav--modern a.active i {
    background: var(--pro-emerald) !important;
    border-color: var(--pro-emerald) !important;
    color: #fff !important;
    box-shadow: none !important;
}

.btn-outline-primary,
.btn-outline-success,
.btn-outline-secondary,
.btn-outline-dark {
    border-color: var(--pro-border) !important;
    color: var(--pro-navy) !important;
    background: #fff !important;
    box-shadow: none !important;
}

.btn,
.form-control,
.form-select,
.input-group,
.dropdown-menu,
.modal-content,
.offcanvas,
.admin-workspace-nav,
.admin-panel,
.admin-card,
.card,
.auth-card,
.filter-panel,
.shop-toolbar,
.category-showcase,
.category-tile,
.shop-summary > div,
.shop-product-card,
.product-card,
.similar-product-card,
.market-section,
.market-mini-card,
.market-product-card,
.market-team-card,
.market-formation-card,
.delivery-card,
.stock-control-panel,
.premium-chat-panel,
.premium-chat-message,
.premium-chat-input,
.premium-fab,
.cart-location-card,
.erp-top-list article,
.erp-delivery-list article,
.stock-movement,
.activity-item {
    border-radius: var(--pro-radius) !important;
}

.card,
.admin-panel,
.admin-card,
.auth-card,
.filter-panel,
.shop-toolbar,
.category-showcase,
.category-tile,
.shop-summary > div,
.shop-product-card,
.product-card,
.similar-product-card,
.market-section,
.market-mini-card,
.market-product-card,
.market-team-card,
.market-formation-card,
.delivery-card,
.stock-control-panel,
.cart-location-card,
.erp-top-list article,
.erp-delivery-list article,
.stock-movement,
.activity-item {
    border: 1px solid var(--pro-border) !important;
    background: var(--pro-surface) !important;
    box-shadow: var(--pro-shadow-soft) !important;
    backdrop-filter: none !important;
}

.card:hover,
.shop-product-card:hover,
.product-card:hover,
.similar-product-card:hover,
.market-product-card:hover,
.market-team-card:hover,
.market-formation-card:hover,
.category-tile:hover {
    transform: translateY(-2px) !important;
    box-shadow: var(--pro-shadow) !important;
    border-color: #bfd0dd !important;
}

.admin-area {
    background: var(--pro-bg) !important;
}

.admin-page-head,
.admin-page-head--software {
    border: 1px solid var(--pro-border) !important;
    border-radius: var(--pro-radius) !important;
    background: var(--pro-surface) !important;
    color: var(--pro-text) !important;
    box-shadow: var(--pro-shadow-soft) !important;
}

.admin-page-head h1,
.admin-page-head h2,
.admin-page-head p,
.admin-page-head--software h1,
.admin-page-head--software p {
    color: var(--pro-text) !important;
}

.admin-kicker,
.category-showcase .shop-kicker,
.shop-toolbar__eyebrow,
.shop-summary__label,
.market-section-head span,
.market-slide-copy span {
    color: var(--pro-emerald) !important;
}

.admin-workspace-brand {
    border: 1px solid var(--pro-border) !important;
    background: var(--pro-surface-2) !important;
}

.admin-workspace-brand > span,
.admin-workspace-links a.active,
.admin-workspace-links a:hover,
.admin-command-card span,
.admin-metric-card i,
.delivery-card__head > span,
.stock-movement__icon,
.activity-item__icon,
.erp-delivery-actions a,
.cart-location-card__head i,
.premium-chat-panel__head,
.filter-panel__header,
.order-detail-modal__head {
    background: var(--pro-navy) !important;
    color: #fff !important;
    box-shadow: none !important;
}

.admin-workspace-links a,
.admin-workspace-tools a {
    border-radius: var(--pro-radius-sm) !important;
}

.admin-workspace-links a:hover {
    transform: none !important;
    background: #eef4f8 !important;
    color: var(--pro-navy) !important;
}

.admin-workspace-links a.active {
    background: var(--pro-navy) !important;
    color: #fff !important;
}

.admin-command-card,
.admin-metric-card,
.admin-status-tile {
    border: 1px solid var(--pro-border) !important;
    border-radius: var(--pro-radius) !important;
    background: #fff !important;
    box-shadow: var(--pro-shadow-soft) !important;
}

.metric-blue,
.metric-green,
.metric-amber,
.metric-cyan,
.market-cta,
.market-help {
    background: var(--pro-navy) !important;
    color: #fff !important;
}

.shop-product-card__media,
.market-product-card__image,
.product-card .card-img-top,
.similar-product-card__image,
.category-tile {
    background: var(--pro-surface-2) !important;
}

.shop-product-card h3 a,
.market-product-card h3 a,
.product-card .card-title,
.category-tile__body strong,
.admin-panel__head h2,
.market-section-head h2 {
    color: var(--pro-text) !important;
}

.shop-product-card__footer strong,
.market-product-card__foot strong,
.price-main,
.similar-product-card__body em,
.erp-top-list strong {
    color: var(--pro-emerald) !important;
}

.filter-panel__header h5,
.filter-panel__header i {
    color: #fff !important;
}

.filter-nav--modern a.active {
    background: #edf7f2 !important;
    color: var(--pro-text) !important;
    box-shadow: inset 3px 0 0 var(--pro-emerald) !important;
}

.search-form .input-group {
    border-radius: var(--pro-radius) !important;
    border-color: var(--pro-border) !important;
    box-shadow: none !important;
}

.premium-floating-actions {
    gap: 0.55rem !important;
}

.premium-fab {
    width: 50px !important;
    height: 50px !important;
}

.premium-fab--theme {
    background: var(--pro-navy) !important;
}

.premium-fab--whatsapp {
    background: var(--pro-emerald) !important;
}

.premium-chat-panel__head {
    border-radius: var(--pro-radius) var(--pro-radius) 0 0 !important;
}

.mobile-main-menu {
    border-radius: var(--pro-radius) 0 0 var(--pro-radius) !important;
    background: #fff !important;
}

.mobile-main-menu__head {
    background: var(--pro-navy) !important;
}

.mobile-menu-link {
    background: #f3f6f9 !important;
    color: var(--pro-text) !important;
}

.mobile-menu-link:hover,
.mobile-menu-link:focus-visible {
    background: #e8f2ed !important;
    color: var(--pro-navy) !important;
}

#eclosion-toast,
.admin-notification-menu {
    border-radius: var(--pro-radius) !important;
    background: var(--pro-navy) !important;
    box-shadow: var(--pro-shadow) !important;
}

.admin-notification-menu * {
    color: #fff;
}

html.theme-dark body {
    background: #081827 !important;
    color: #edf5f8 !important;
}

html.theme-dark .card,
html.theme-dark .admin-panel,
html.theme-dark .admin-card,
html.theme-dark .auth-card,
html.theme-dark .filter-panel,
html.theme-dark .shop-toolbar,
html.theme-dark .category-showcase,
html.theme-dark .category-tile,
html.theme-dark .shop-summary > div,
html.theme-dark .shop-product-card,
html.theme-dark .product-card,
html.theme-dark .similar-product-card,
html.theme-dark .market-section,
html.theme-dark .market-mini-card,
html.theme-dark .market-product-card,
html.theme-dark .market-team-card,
html.theme-dark .market-formation-card,
html.theme-dark .delivery-card,
html.theme-dark .stock-control-panel,
html.theme-dark .premium-chat-panel,
html.theme-dark .cart-location-card,
html.theme-dark .erp-top-list article,
html.theme-dark .erp-delivery-list article,
html.theme-dark .stock-movement,
html.theme-dark .activity-item {
    border-color: rgba(255, 255, 255, 0.11) !important;
    background: #0c2238 !important;
    color: #edf5f8 !important;
}

html.theme-dark .admin-page-head,
html.theme-dark .admin-page-head--software,
html.theme-dark .admin-command-card,
html.theme-dark .admin-metric-card,
html.theme-dark .admin-status-tile {
    border-color: rgba(255, 255, 255, 0.11) !important;
    background: #0c2238 !important;
}

html.theme-dark .mobile-main-menu,
html.theme-dark .dropdown-menu {
    background: #0c2238 !important;
}

html.theme-dark .mobile-menu-link,
html.theme-dark .premium-chat-message,
html.theme-dark .premium-chat-input,
html.theme-dark .premium-chat-quick button {
    background: #102b46 !important;
    color: #edf5f8 !important;
}

@media (max-width: 767px) {
    .main-header {
        border-radius: 0 !important;
    }

    .premium-fab {
        width: 48px !important;
        height: 48px !important;
    }
}

/* Stabilisation layout admin + gestion membres */
.admin-area .admin-shell > .row {
    align-items: flex-start !important;
}

.admin-area .admin-shell > .row > [class*="col-md-3"],
.admin-area .admin-shell > .row > [class*="col-lg-2"] {
    align-self: flex-start !important;
}

.admin-area .admin-workspace-nav {
    position: sticky !important;
    top: 0.85rem !important;
    height: auto !important;
    max-height: calc(100vh - 1.7rem) !important;
    overflow-y: auto !important;
}

.admin-area .admin-product-editor {
    overflow: hidden !important;
    margin-bottom: 1rem !important;
}

.admin-area .admin-product-editor .card-body {
    background: #fff !important;
}

.admin-area .admin-members-card {
    overflow: hidden !important;
}

.admin-area .admin-rights-pills {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 0.35rem !important;
    max-width: 520px !important;
}

.admin-area .admin-rights-pills span {
    display: inline-flex !important;
    align-items: center !important;
    min-height: 26px !important;
    padding: 0.25rem 0.55rem !important;
    border-radius: 999px !important;
    background: var(--pro-admin-orange-soft) !important;
    border: 1px solid #ffd8a8 !important;
    color: var(--pro-admin-navy) !important;
    font-size: 0.76rem !important;
    font-weight: 800 !important;
}

.admin-area .admin-rights-grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 0.7rem !important;
}

.admin-area .admin-right-check {
    display: grid !important;
    grid-template-columns: 22px 34px 1fr !important;
    align-items: center !important;
    gap: 0.6rem !important;
    min-height: 54px !important;
    padding: 0.7rem !important;
    background: #f8fbfd !important;
    border: 1px solid var(--pro-admin-border) !important;
    border-radius: 4px !important;
    color: var(--pro-admin-navy) !important;
    cursor: pointer !important;
}

.admin-area .admin-right-check input {
    width: 18px !important;
    height: 18px !important;
    accent-color: var(--pro-admin-orange) !important;
}

.admin-area .admin-right-check > span {
    width: 34px !important;
    height: 34px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 6px !important;
    background: var(--pro-admin-blue-soft) !important;
    color: var(--pro-admin-navy) !important;
    border: 1px solid rgba(11, 31, 58, 0.12) !important;
}

.admin-area .admin-right-check strong {
    color: var(--pro-admin-navy) !important;
    font-size: 0.88rem !important;
}

.admin-area .admin-right-check:has(input:checked) {
    background: var(--pro-admin-orange-soft) !important;
    border-color: #ffd8a8 !important;
}

.admin-area .admin-right-check:has(input:checked) > span {
    background: var(--pro-admin-orange) !important;
    border-color: var(--pro-admin-orange) !important;
    color: #fff !important;
}

@media (max-width: 991px) {
    .admin-area .admin-workspace-nav {
        position: relative !important;
        top: auto !important;
        max-height: none !important;
    }
}

@media (max-width: 767px) {
    .admin-area .admin-rights-grid {
        grid-template-columns: 1fr !important;
    }
}

/* Orange admin plus premium + gestion categories */
.admin-area {
    --pro-admin-orange: #ff8a1f;
    --pro-admin-orange-dark: #d96b00;
    --pro-admin-orange-soft: #fff0df;
    --pro-admin-orange-shadow: rgba(255, 138, 31, 0.28);
}

.admin-area .btn-success,
.admin-area .btn-primary,
.admin-area .btn-warning,
.admin-area .admin-table-actions .btn-primary,
.admin-area .admin-table-actions .btn-success,
.admin-area .admin-workspace-brand > span,
.admin-area .admin-workspace-links a.active i,
.admin-area .admin-feature-tile:hover i,
.admin-area .admin-command-card:hover span,
.admin-area .admin-metric-card:hover i {
    background: var(--pro-admin-orange) !important;
    border-color: var(--pro-admin-orange) !important;
    box-shadow: 0 10px 22px var(--pro-admin-orange-shadow) !important;
}

.admin-area .btn-success:hover,
.admin-area .btn-primary:hover,
.admin-area .btn-warning:hover,
.admin-area .admin-table-actions .btn-primary:hover,
.admin-area .admin-table-actions .btn-success:hover {
    background: var(--pro-admin-orange-dark) !important;
    border-color: var(--pro-admin-orange-dark) !important;
    box-shadow: 0 12px 26px rgba(217, 107, 0, 0.3) !important;
}

.admin-area .admin-page-head,
.admin-area .admin-product-stat,
.admin-area .admin-share-panel,
.admin-area .admin-product-form-intro {
    border-left-color: var(--pro-admin-orange) !important;
    box-shadow:
        0 12px 26px rgba(11, 31, 58, 0.08),
        0 5px 14px rgba(255, 138, 31, 0.08) !important;
}

.admin-area .admin-kicker,
.admin-area .admin-kicker i,
.admin-area .admin-image-missing,
.admin-area .admin-product-form-intro i {
    color: var(--pro-admin-orange-dark) !important;
}

.admin-area .admin-category-title {
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.75rem !important;
}

.admin-area .admin-category-title i {
    width: 36px !important;
    height: 36px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 7px !important;
    background: var(--pro-admin-orange-soft) !important;
    color: var(--pro-admin-orange-dark) !important;
    border: 1px solid rgba(255, 138, 31, 0.28) !important;
    box-shadow: 0 8px 18px rgba(255, 138, 31, 0.12) !important;
}

.admin-area .admin-categories-card {
    overflow: hidden !important;
}

.admin-area .admin-category-icon-help {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 0.45rem !important;
}

.admin-area .admin-category-icon-help button {
    min-height: 36px !important;
    padding: 0.35rem 0.65rem !important;
    border-radius: 999px !important;
    border: 1px solid rgba(255, 138, 31, 0.28) !important;
    background: var(--pro-admin-orange-soft) !important;
    color: var(--pro-admin-navy) !important;
    font-weight: 800 !important;
    font-size: 0.82rem !important;
}

.admin-area .admin-category-icon-help button:hover {
    background: var(--pro-admin-orange) !important;
    color: #fff !important;
    box-shadow: 0 8px 18px var(--pro-admin-orange-shadow) !important;
}

.admin-area .admin-category-icon-help button i {
    color: inherit !important;
    margin-right: 0.25rem !important;
}

/* ERP avance */
.admin-area .erp-control-grid {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 0.85rem !important;
}

.admin-area .erp-control-card {
    display: grid !important;
    grid-template-columns: 42px 1fr !important;
    align-items: center !important;
    gap: 0.75rem !important;
    min-height: 86px !important;
    padding: 1rem !important;
    background: #fff !important;
    border: 1px solid var(--pro-admin-border) !important;
    border-left: 4px solid var(--pro-admin-orange) !important;
    border-radius: 4px !important;
    box-shadow:
        0 12px 24px rgba(11, 31, 58, 0.08),
        0 7px 18px rgba(255, 138, 31, 0.1) !important;
}

.admin-area .erp-control-card > span {
    width: 38px !important;
    height: 38px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 7px !important;
    background: var(--pro-admin-orange-soft) !important;
    color: var(--pro-admin-orange-dark) !important;
    border: 1px solid rgba(255, 138, 31, 0.28) !important;
}

.admin-area .erp-control-card small {
    display: block !important;
    color: #60758a !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    font-size: 0.72rem !important;
}

.admin-area .erp-control-card strong {
    color: var(--pro-admin-navy) !important;
    font-size: 1.02rem !important;
}

.admin-area .erp-status-list,
.admin-area .erp-risk-list,
.admin-area .erp-activity-strip {
    display: grid !important;
    gap: 0.65rem !important;
}

.admin-area .erp-status-list article,
.admin-area .erp-risk-list article,
.admin-area .erp-activity-strip article {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 1rem !important;
    padding: 0.8rem !important;
    background: #f8fbfd !important;
    border: 1px solid var(--pro-admin-border) !important;
    border-radius: 4px !important;
}

.admin-area .erp-status-list article span,
.admin-area .erp-risk-list article strong,
.admin-area .erp-activity-strip article strong {
    color: var(--pro-admin-navy) !important;
    font-weight: 800 !important;
}

.admin-area .erp-status-list article strong {
    min-width: 34px !important;
    text-align: center !important;
    color: var(--pro-admin-orange-dark) !important;
    font-size: 1.05rem !important;
}

.admin-area .erp-status-list article em,
.admin-area .erp-risk-list article small,
.admin-area .erp-activity-strip article small {
    color: #60758a !important;
    font-style: normal !important;
    font-size: 0.82rem !important;
}

.admin-area .erp-activity-strip article {
    justify-content: flex-start !important;
}

.admin-area .erp-activity-strip article i {
    width: 34px !important;
    height: 34px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex: 0 0 34px !important;
    border-radius: 6px !important;
    background: var(--pro-admin-orange-soft) !important;
    color: var(--pro-admin-orange-dark) !important;
}

@media (max-width: 1199px) {
    .admin-area .erp-control-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}

@media (max-width: 767px) {
    .admin-area .erp-control-grid {
        grid-template-columns: 1fr !important;
    }

    .admin-area .erp-status-list article,
    .admin-area .erp-risk-list article {
        align-items: flex-start !important;
        flex-direction: column !important;
    }
}

/* Header blanc professionnel + assistant fonctionnel */
:root {
    --pro-header-white: #ffffff;
    --pro-header-soft: #f7fafc;
    --pro-header-line: #dbe5ee;
}

.main-header,
.page-accueil .main-header {
    background: var(--pro-header-white) !important;
    color: var(--pro-text) !important;
    border-bottom: 1px solid var(--pro-header-line) !important;
    box-shadow: 0 8px 24px rgba(7, 31, 58, 0.08) !important;
}

.main-header::before,
.page-accueil .main-header::before {
    display: none !important;
}

.top-bar {
    background: var(--pro-header-soft) !important;
    color: var(--pro-muted) !important;
    border-bottom: 1px solid var(--pro-header-line) !important;
}

.top-bar .text-white,
.top-bar strong,
.top-bar i {
    color: var(--pro-navy) !important;
}

.navbar-middle {
    background: var(--pro-header-white) !important;
    border-bottom: 1px solid var(--pro-header-line) !important;
}

.logo-image-link,
.mobile-main-menu__brand,
.footer-logo-link {
    background: #fff !important;
    border: 1px solid rgba(217, 226, 236, 0.9) !important;
    border-radius: 8px !important;
    box-shadow: 0 8px 20px rgba(7, 31, 58, 0.08) !important;
}

.logo-image-link {
    padding: 0.35rem 0.55rem !important;
    min-height: 48px !important;
}

.brand-logo-img {
    width: clamp(116px, 12vw, 158px) !important;
    height: auto !important;
    max-height: 42px !important;
    object-fit: contain !important;
}

.mobile-menu-logo {
    width: 120px !important;
    max-height: 38px !important;
    object-fit: contain !important;
}

.footer-logo-img {
    max-width: 150px !important;
    background: #fff !important;
    border-radius: 8px !important;
    padding: 0.25rem 0.45rem !important;
}

.nav-secondary {
    background: var(--pro-header-white) !important;
    color: var(--pro-text) !important;
    border-bottom: 1px solid var(--pro-header-line) !important;
    box-shadow: none !important;
}

.nav-secondary .hover-link,
.nav-secondary a,
.navbar-middle .dropdown-toggle strong,
.navbar-middle .dropdown-toggle small,
.navbar-middle .text-muted {
    color: var(--pro-text) !important;
}

.nav-secondary .hover-link:hover,
.header-quick-links a:hover,
.navbar-middle a:hover {
    color: var(--pro-emerald) !important;
}

.header-quick-links a,
.header-whatsapp-link {
    color: var(--pro-navy) !important;
    background: #f3f7fa !important;
    border: 1px solid var(--pro-header-line) !important;
}

.header-whatsapp-link:hover {
    background: #e9f7f1 !important;
    color: var(--pro-emerald) !important;
}

.mobile-menu-button,
.header-tools-toggle,
.premium-theme-toggle,
.cart-link-header,
.admin-notification-btn {
    background: #fff !important;
    color: var(--pro-navy) !important;
    border: 1px solid var(--pro-header-line) !important;
    box-shadow: 0 6px 16px rgba(7, 31, 58, 0.08) !important;
}

.mobile-menu-button:hover,
.header-tools-toggle:hover,
.premium-theme-toggle:hover,
.cart-link-header:hover,
.admin-notification-btn:hover {
    background: var(--pro-navy) !important;
    color: #fff !important;
}

.search-form .input-group {
    background: #fff !important;
    border: 1px solid #bed0df !important;
    border-radius: 8px !important;
    overflow: hidden !important;
}

.search-form .form-control,
.search-form .form-select {
    background: #fff !important;
    color: var(--pro-text) !important;
}

.search-form .btn,
.search-form .btn-warning {
    background: var(--pro-navy) !important;
    border-color: var(--pro-navy) !important;
}

.premium-chat-panel {
    border: 1px solid var(--pro-border) !important;
    border-radius: 10px !important;
    overflow: hidden !important;
    background: #fff !important;
    box-shadow: 0 18px 42px rgba(7, 31, 58, 0.18) !important;
}

.premium-chat-panel__head {
    display: flex !important;
    align-items: center !important;
    gap: 0.75rem !important;
    background: #fff !important;
    color: var(--pro-text) !important;
    border-bottom: 1px solid var(--pro-border) !important;
}

.premium-chat-panel__head span,
.premium-chat-panel__head strong {
    color: var(--pro-text) !important;
}

.premium-chat-avatar {
    width: 42px !important;
    height: 42px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex: 0 0 42px !important;
    border-radius: 8px !important;
    background: var(--pro-emerald) !important;
    color: #fff !important;
}

.premium-chat-panel__head button {
    margin-left: auto !important;
    background: #f3f7fa !important;
    color: var(--pro-navy) !important;
    border: 1px solid var(--pro-border) !important;
}

.premium-chat-message {
    max-width: 88% !important;
    border: 1px solid var(--pro-border) !important;
    background: #f7fafc !important;
    color: var(--pro-text) !important;
    box-shadow: none !important;
}

.premium-chat-message--user {
    margin-left: auto !important;
    background: #e8f7f1 !important;
    border-color: #bfe6d8 !important;
}

.premium-chat-quick {
    gap: 0.45rem !important;
}

.premium-chat-quick button {
    border: 1px solid #cddce8 !important;
    background: #fff !important;
    color: var(--pro-navy) !important;
    border-radius: 999px !important;
}

.premium-chat-quick button:hover {
    background: var(--pro-emerald) !important;
    color: #fff !important;
}

.premium-chat-input {
    min-height: 88px !important;
    border: 1px solid #cddce8 !important;
    background: #fff !important;
    color: var(--pro-text) !important;
}

.premium-chat-hint {
    display: block !important;
    color: var(--pro-muted) !important;
    margin-top: 0.4rem !important;
}

.premium-chat-send {
    width: 100% !important;
    border-radius: 8px !important;
    background: var(--pro-emerald) !important;
}

@media (max-width: 767px) {
    .navbar-middle {
        padding-top: 0.75rem !important;
        padding-bottom: 0.75rem !important;
    }

    .logo-image-link {
        min-height: 40px !important;
        padding: 0.25rem 0.4rem !important;
    }

    .brand-logo-img {
        width: 104px !important;
        max-height: 32px !important;
    }

    .mobile-main-menu__head {
        background: #fff !important;
        border-bottom: 1px solid var(--pro-border) !important;
    }

    .mobile-main-menu__close {
        color: var(--pro-navy) !important;
        background: #f3f7fa !important;
    }

    .premium-chat-panel {
        left: 0.75rem !important;
        right: 0.75rem !important;
        width: auto !important;
        max-width: none !important;
    }
}

/* Icônes vert fonce unies + header mieux espace */
:root {
    --pro-deep-green: #064e3b;
    --pro-deep-green-2: #0b5f46;
    --pro-green-soft: #e8f5ef;
}

.navbar-middle .container-fluid,
.navbar-middle .row {
    overflow: visible !important;
}

.logo-image-link {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin-right: 0.75rem !important;
    flex-shrink: 0 !important;
}

.brand-logo-img {
    display: block !important;
    flex-shrink: 0 !important;
}

.navbar-middle .row > [class*="col-"]:first-child {
    width: auto !important;
    flex: 0 0 auto !important;
    padding-right: 0.85rem !important;
}

.navbar-middle .row > .col-12.col-md {
    min-width: 260px !important;
}

.main-header.header-scrolled .logo-image-link,
.main-header.is-scrolled .logo-image-link {
    transform: none !important;
}

.category-tile__icon,
.premium-fab,
.mobile-menu-link i,
.header-quick-links a i,
.header-whatsapp-link i,
.nav-secondary i,
.admin-command-card span,
.admin-metric-card i,
.delivery-card__head > span,
.stock-movement__icon,
.activity-item__icon,
.erp-delivery-actions a,
.cart-location-card__head i,
.product-detail-block__icon,
.welcome-pop__icon,
.premium-chat-avatar,
.filter-panel__header i {
    background: var(--pro-deep-green) !important;
    background-image: none !important;
    color: #fff !important;
    border-color: var(--pro-deep-green) !important;
    box-shadow: none !important;
}

.mobile-menu-link i,
.header-quick-links a i,
.nav-secondary i {
    width: 1.85rem !important;
    height: 1.85rem !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 6px !important;
    font-size: 0.86rem !important;
}

.btn-success,
.btn-primary,
.btn-rayons,
.search-form .btn,
.search-form .btn-warning,
.premium-chat-send,
.premium-fab--chat,
.premium-fab--whatsapp {
    background: var(--pro-deep-green) !important;
    background-image: none !important;
    border-color: var(--pro-deep-green) !important;
    color: #fff !important;
}

.btn-success:hover,
.btn-primary:hover,
.btn-rayons:hover,
.premium-chat-send:hover,
.premium-fab:hover {
    background: var(--pro-deep-green-2) !important;
    border-color: var(--pro-deep-green-2) !important;
}

.premium-chat-thread {
    display: flex !important;
    flex-direction: column !important;
    gap: 0.55rem !important;
}

.premium-chat-panel__body {
    max-height: min(58vh, 430px) !important;
    overflow-y: auto !important;
}

.premium-chat-send:disabled {
    cursor: not-allowed !important;
    opacity: 0.58 !important;
    background: #8aa39a !important;
    border-color: #8aa39a !important;
}

.premium-chat-message--agent {
    border-left: 3px solid var(--pro-deep-green) !important;
}

.premium-chat-message--user {
    background: var(--pro-green-soft) !important;
    border-color: #b9decf !important;
    border-right: 3px solid var(--pro-deep-green) !important;
}

.premium-chat-message--typing {
    width: fit-content !important;
    max-width: 70% !important;
    color: #60758a !important;
    font-style: italic !important;
    background: #f3f8f6 !important;
}

.premium-chat-suggestions {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 0.4rem !important;
    margin-top: -0.15rem !important;
}

.premium-chat-suggestions button {
    border: 1px solid #b9decf !important;
    border-radius: 999px !important;
    background: #fff !important;
    color: var(--pro-deep-green) !important;
    padding: 0.35rem 0.65rem !important;
    font-size: 0.78rem !important;
    font-weight: 800 !important;
}

.premium-chat-suggestions button:hover {
    background: var(--pro-deep-green) !important;
    color: #fff !important;
}

.premium-chat-quick button {
    color: var(--pro-deep-green) !important;
    border-color: #b9decf !important;
}

.premium-chat-quick button:hover {
    background: var(--pro-deep-green) !important;
    border-color: var(--pro-deep-green) !important;
    color: #fff !important;
}

@media (max-width: 767px) {
    .logo-image-link {
        margin-right: 0 !important;
    }

    .navbar-middle .row > [class*="col-"]:first-child {
        padding-right: 0.45rem !important;
    }

    .navbar-middle .row > .col-12.col-md {
        min-width: 100% !important;
    }
}

/* Finition premium : icones fines, contraste corrige, admin bleu logiciel */
:root {
    --pro-ink: #0c1824;
    --pro-icon-green: #07543f;
    --pro-admin-blue: #155e9f;
    --pro-admin-blue-soft: #eaf3fb;
    --pro-admin-border: #cbddec;
}

.main-header .text-white,
.nav-secondary .text-white,
.navbar-middle .text-white,
.top-bar.text-white,
.top-bar .text-white,
.dropdown-menu .text-white,
.card-header.bg-white,
.bg-white {
    color: var(--pro-ink) !important;
}

.btn-rayons.text-white,
.btn-success.text-white,
.btn-primary.text-white,
.modal-header.text-white,
.filter-panel__header,
.filter-panel__header h5,
.order-detail-modal__head,
.order-detail-modal__head * {
    color: #fff !important;
}

.dropdown-menu,
.admin-notification-menu,
.mobile-main-menu,
.premium-chat-panel {
    color: var(--pro-ink) !important;
}

.dropdown-item,
.dropdown-item span,
.dropdown-item small,
.admin-notification-item,
.admin-notification-item strong,
.admin-notification-item small,
.admin-notification-empty {
    color: var(--pro-ink) !important;
}

.dropdown-item:hover,
.dropdown-item:focus {
    color: var(--pro-icon-green) !important;
    background: #eff7f3 !important;
}

.category-tile__icon,
.filter-nav--modern a i,
.filter-panel .filter-nav a i,
.mobile-menu-link i,
.header-quick-links a i,
.header-whatsapp-link i,
.nav-secondary i,
.dropdown-item i,
.premium-chat-avatar,
.cart-location-card__head i,
.product-detail-block__icon,
.welcome-pop__icon {
    width: 34px !important;
    height: 34px !important;
    min-width: 34px !important;
    border-radius: 7px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: transparent !important;
    background-image: none !important;
    color: var(--pro-icon-green) !important;
    border: 1px solid rgba(7, 84, 63, 0.22) !important;
    box-shadow: none !important;
    font-size: 0.9rem !important;
    padding: 0 !important;
    box-sizing: border-box !important;
    flex: 0 0 34px !important;
}

.category-tile__icon {
    max-width: 34px !important;
}

.category-tile:hover .category-tile__icon,
.filter-nav--modern a:hover i,
.mobile-menu-link:hover i,
.header-quick-links a:hover i,
.dropdown-item:hover i {
    background: #edf8f3 !important;
    color: var(--pro-icon-green) !important;
    border-color: rgba(7, 84, 63, 0.32) !important;
}

.category-tile__icon i,
.filter-nav--modern a i,
.mobile-menu-link i,
.header-quick-links a i,
.dropdown-item i {
    line-height: 1 !important;
}

.premium-fab {
    width: 44px !important;
    height: 44px !important;
    border-radius: 10px !important;
    background: rgba(255, 255, 255, 0.96) !important;
    background-image: none !important;
    color: var(--pro-icon-green) !important;
    border: 1px solid rgba(7, 84, 63, 0.22) !important;
    box-shadow: 0 10px 24px rgba(12, 24, 36, 0.12) !important;
}

.premium-fab i {
    color: var(--pro-icon-green) !important;
    font-size: 1rem !important;
}

.premium-fab:hover {
    background: var(--pro-icon-green) !important;
    color: #fff !important;
    border-color: var(--pro-icon-green) !important;
}

.premium-fab:hover i {
    color: #fff !important;
}

.cart-link-header {
    position: relative !important;
    width: 46px !important;
    height: 46px !important;
    border-radius: 12px !important;
    background: #0c1824 !important;
    border: 1px solid #0c1824 !important;
    color: #fff !important;
    box-shadow: 0 10px 22px rgba(12, 24, 36, 0.16) !important;
}

.cart-link-header i {
    color: #fff !important;
    font-size: 1.08rem !important;
}

.cart-link-header:hover {
    background: var(--pro-icon-green) !important;
    border-color: var(--pro-icon-green) !important;
    color: #fff !important;
}

.cart-link-header #cart-count,
.cart-link-header .badge {
    min-width: 20px !important;
    height: 20px !important;
    padding: 0 0.35rem !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: #ff8a00 !important;
    color: #fff !important;
    border: 2px solid #fff !important;
    font-size: 0.72rem !important;
    box-shadow: 0 5px 12px rgba(255, 138, 0, 0.28) !important;
}

.admin-workspace-nav,
.admin-panel,
.admin-card,
.admin-page-head,
.admin-page-head--software,
.admin-command-card,
.admin-metric-card,
.admin-status-tile,
.admin-feature-tile {
    border-radius: 4px !important;
}

.admin-workspace-nav {
    background: #ffffff !important;
    border: 1px solid var(--pro-admin-border) !important;
    box-shadow: 0 8px 20px rgba(21, 94, 159, 0.08) !important;
}

.admin-workspace-brand {
    background: var(--pro-admin-blue-soft) !important;
    border-color: var(--pro-admin-border) !important;
    border-radius: 4px !important;
}

.admin-workspace-brand > span,
.admin-workspace-links i,
.admin-workspace-tools i,
.admin-feature-tile i,
.admin-command-card span,
.admin-metric-card i,
.delivery-card__head > span,
.stock-movement__icon,
.activity-item__icon,
.erp-delivery-actions a {
    width: 34px !important;
    height: 34px !important;
    min-width: 34px !important;
    border-radius: 6px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: var(--pro-admin-blue-soft) !important;
    background-image: none !important;
    color: var(--pro-admin-blue) !important;
    border: 1px solid rgba(21, 94, 159, 0.18) !important;
    box-shadow: none !important;
    font-size: 0.9rem !important;
}

.admin-workspace-links a,
.admin-workspace-tools a {
    color: #17324d !important;
    background: transparent !important;
    border: 1px solid transparent !important;
    border-radius: 4px !important;
}

.admin-workspace-links a:hover,
.admin-workspace-tools a:hover {
    background: #f3f8fc !important;
    color: var(--pro-admin-blue) !important;
    border-color: var(--pro-admin-border) !important;
}

.admin-workspace-links a.active {
    background: var(--pro-admin-blue) !important;
    color: #fff !important;
    border-color: var(--pro-admin-blue) !important;
}

.admin-workspace-links a.active i {
    background: rgba(255, 255, 255, 0.14) !important;
    color: #fff !important;
    border-color: rgba(255, 255, 255, 0.24) !important;
}

.admin-workspace-brand strong,
.admin-panel__head h2,
.admin-card h5,
.admin-feature-tile strong,
.admin-command-card strong,
.admin-metric-card strong {
    color: #102033 !important;
}

.admin-workspace-brand small,
.admin-feature-tile small,
.admin-command-card small,
.admin-metric-card span {
    color: #5e7285 !important;
}

.admin-feature-grid {
    display: grid !important;
    grid-template-columns: repeat(6, minmax(0, 1fr)) !important;
    gap: 0.75rem !important;
}

.admin-feature-tile {
    display: grid !important;
    gap: 0.35rem !important;
    align-content: start !important;
    min-height: 118px !important;
    padding: 1rem !important;
    text-decoration: none !important;
    background: #fff !important;
    border: 1px solid var(--pro-admin-border) !important;
    box-shadow: 0 6px 16px rgba(21, 94, 159, 0.07) !important;
    transition:
        transform 0.18s ease,
        border-color 0.18s ease,
        box-shadow 0.18s ease !important;
}

.admin-feature-tile:hover {
    transform: translateY(-2px) !important;
    border-color: rgba(21, 94, 159, 0.42) !important;
    box-shadow: 0 12px 24px rgba(21, 94, 159, 0.12) !important;
}

.admin-page-head,
.admin-panel,
.admin-card,
.admin-command-card,
.admin-metric-card {
    background: #fff !important;
    border: 1px solid var(--pro-admin-border) !important;
    box-shadow: 0 6px 18px rgba(21, 94, 159, 0.07) !important;
}

.metric-blue,
.metric-green,
.metric-amber,
.metric-cyan {
    background: #fff !important;
    color: #102033 !important;
}

.admin-metric-card span,
.admin-metric-card strong {
    color: #102033 !important;
}

.admin-kicker,
.admin-kicker i {
    color: var(--pro-admin-blue) !important;
}

.admin-notification-menu {
    background: #fff !important;
    border: 1px solid var(--pro-admin-border) !important;
}

.admin-notification-menu__head,
.admin-notification-menu__link {
    background: var(--pro-admin-blue) !important;
    color: #fff !important;
}

.admin-notification-menu__head *,
.admin-notification-menu__link {
    color: #fff !important;
}

@media (max-width: 1199px) {
    .admin-feature-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    }
}

@media (max-width: 767px) {
    .category-tile__icon,
    .filter-nav--modern a i,
    .mobile-menu-link i,
    .header-quick-links a i,
    .nav-secondary i,
    .dropdown-item i,
    .admin-workspace-links i,
    .admin-feature-tile i {
        width: 30px !important;
        height: 30px !important;
        min-width: 30px !important;
        font-size: 0.82rem !important;
    }

    .premium-fab {
        width: 42px !important;
        height: 42px !important;
    }

    .cart-link-header {
        width: 42px !important;
        height: 42px !important;
        border-radius: 10px !important;
    }

    .admin-feature-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 0.65rem !important;
    }

    .admin-feature-tile {
        min-height: 104px !important;
        padding: 0.85rem !important;
    }
}

/* Admin orange + bleu fonce, sans degrade */
.admin-area {
    --pro-admin-navy: #0b1f3a;
    --pro-admin-navy-2: #12365d;
    --pro-admin-orange: #f28c28;
    --pro-admin-orange-dark: #d97706;
    --pro-admin-orange-soft: #fff4e6;
    --pro-admin-blue-soft: #eef5fb;
    --pro-admin-border: #d4e0eb;
    --grad-brand: #0b1f3a;
    background: #f4f7fb !important;
    background-image: none !important;
}

.admin-area *,
.admin-area *::before,
.admin-area *::after {
    background-image: none !important;
}

.admin-area .admin-page-head,
.admin-area .admin-page-head--software {
    background: #fff !important;
    border: 1px solid var(--pro-admin-border) !important;
    border-left: 4px solid var(--pro-admin-orange) !important;
    color: var(--pro-admin-navy) !important;
    box-shadow: 0 10px 22px rgba(11, 31, 58, 0.08) !important;
}

.admin-area .admin-page-head h1,
.admin-area .admin-page-head h2,
.admin-area .admin-page-head p,
.admin-area .admin-page-head--software h1,
.admin-area .admin-page-head--software p {
    color: var(--pro-admin-navy) !important;
}

.admin-area .admin-kicker,
.admin-area .admin-kicker i {
    color: var(--pro-admin-orange) !important;
}

.admin-area .admin-workspace-nav {
    background: #fff !important;
    border: 1px solid var(--pro-admin-border) !important;
    border-top: 4px solid var(--pro-admin-navy) !important;
    box-shadow: 0 10px 24px rgba(11, 31, 58, 0.08) !important;
}

.admin-area .admin-workspace-brand {
    background: var(--pro-admin-navy) !important;
    border-color: var(--pro-admin-navy) !important;
    color: #fff !important;
}

.admin-area .admin-workspace-brand strong,
.admin-area .admin-workspace-brand small {
    color: #fff !important;
}

.admin-area .admin-workspace-brand > span {
    background: var(--pro-admin-orange) !important;
    border-color: var(--pro-admin-orange) !important;
    color: #fff !important;
}

.admin-area .admin-workspace-links a,
.admin-area .admin-workspace-tools a {
    color: var(--pro-admin-navy) !important;
    background: transparent !important;
    border: 1px solid transparent !important;
}

.admin-area .admin-workspace-links a:hover,
.admin-area .admin-workspace-tools a:hover {
    color: var(--pro-admin-navy) !important;
    background: var(--pro-admin-orange-soft) !important;
    border-color: rgba(242, 140, 40, 0.28) !important;
}

.admin-area .admin-workspace-links a.active {
    background: var(--pro-admin-navy) !important;
    border-color: var(--pro-admin-navy) !important;
    color: #fff !important;
}

.admin-area .admin-workspace-links i,
.admin-area .admin-workspace-tools i,
.admin-area .admin-feature-tile i,
.admin-area .admin-command-card span,
.admin-area .admin-metric-card i,
.admin-area .delivery-card__head > span,
.admin-area .stock-movement__icon,
.admin-area .activity-item__icon,
.admin-area .erp-delivery-actions a {
    background: var(--pro-admin-blue-soft) !important;
    border: 1px solid rgba(11, 31, 58, 0.14) !important;
    color: var(--pro-admin-navy) !important;
}

.admin-area .admin-workspace-links a.active i,
.admin-area .admin-feature-tile:hover i,
.admin-area .admin-command-card:hover span,
.admin-area .admin-metric-card:hover i {
    background: var(--pro-admin-orange) !important;
    border-color: var(--pro-admin-orange) !important;
    color: #fff !important;
}

.admin-area .admin-feature-tile,
.admin-area .admin-command-card,
.admin-area .admin-metric-card,
.admin-area .admin-panel,
.admin-area .admin-card,
.admin-area .admin-status-tile,
.admin-area .card,
.admin-area .stock-control-panel,
.admin-area .delivery-card,
.admin-area .activity-item,
.admin-area .stock-movement {
    background: #fff !important;
    border: 1px solid var(--pro-admin-border) !important;
    border-radius: 4px !important;
    color: var(--pro-admin-navy) !important;
    box-shadow: 0 8px 18px rgba(11, 31, 58, 0.07) !important;
}

.admin-area .admin-feature-tile:hover,
.admin-area .admin-command-card:hover,
.admin-area .admin-metric-card:hover,
.admin-area .admin-panel:hover,
.admin-area .admin-card:hover {
    border-color: rgba(242, 140, 40, 0.48) !important;
    box-shadow: 0 12px 26px rgba(11, 31, 58, 0.1) !important;
}

.admin-area .admin-feature-tile strong,
.admin-area .admin-command-card strong,
.admin-area .admin-metric-card strong,
.admin-area .admin-panel__head h2,
.admin-area .admin-card h5,
.admin-area table,
.admin-area th,
.admin-area td {
    color: var(--pro-admin-navy) !important;
}

.admin-area .admin-feature-tile small,
.admin-area .admin-command-card small,
.admin-area .admin-metric-card span,
.admin-area .text-muted {
    color: #60758a !important;
}

.admin-area .admin-panel__head,
.admin-area .card-header,
.admin-area thead th {
    background: #f8fbfd !important;
    color: var(--pro-admin-navy) !important;
    border-color: var(--pro-admin-border) !important;
}

.admin-area .metric-blue,
.admin-area .metric-green,
.admin-area .metric-amber,
.admin-area .metric-cyan {
    background: #fff !important;
    border-top: 3px solid var(--pro-admin-orange) !important;
}

.admin-area .btn-success,
.admin-area .btn-primary,
.admin-area .btn-warning {
    background: var(--pro-admin-orange) !important;
    border-color: var(--pro-admin-orange) !important;
    color: #fff !important;
}

.admin-area .btn-success:hover,
.admin-area .btn-primary:hover,
.admin-area .btn-warning:hover {
    background: var(--pro-admin-orange-dark) !important;
    border-color: var(--pro-admin-orange-dark) !important;
    color: #fff !important;
}

.admin-area .btn-outline-primary,
.admin-area .btn-outline-success,
.admin-area .btn-outline-secondary {
    background: #fff !important;
    border-color: var(--pro-admin-navy) !important;
    color: var(--pro-admin-navy) !important;
}

.admin-area .btn-outline-primary:hover,
.admin-area .btn-outline-success:hover,
.admin-area .btn-outline-secondary:hover {
    background: var(--pro-admin-navy) !important;
    border-color: var(--pro-admin-navy) !important;
    color: #fff !important;
}

.admin-area .modal-header,
.admin-area .order-detail-modal__head,
.admin-area .filter-panel__header {
    background: var(--pro-admin-navy) !important;
    color: #fff !important;
    border-color: var(--pro-admin-navy) !important;
}

.admin-area .modal-header *,
.admin-area .order-detail-modal__head *,
.admin-area .filter-panel__header * {
    color: #fff !important;
}

.admin-area .admin-notification-menu {
    background: #fff !important;
    border: 1px solid var(--pro-admin-border) !important;
}

.admin-area .admin-notification-menu__head,
.admin-area .admin-notification-menu__link {
    background: var(--pro-admin-navy) !important;
    color: #fff !important;
}

.admin-area .admin-notification-badge,
.admin-area .mobile-menu-badge,
.admin-area .js-admin-pending-badge {
    background: var(--pro-admin-orange) !important;
    color: #fff !important;
}

/* Gestion produits : interface catalogue professionnelle */
.admin-area .admin-product-stats {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 0.85rem !important;
}

.admin-area .admin-product-stat {
    display: grid !important;
    grid-template-columns: 38px 1fr auto !important;
    align-items: center !important;
    gap: 0.7rem !important;
    min-height: 76px !important;
    padding: 0.95rem !important;
    background: #fff !important;
    border: 1px solid var(--pro-admin-border) !important;
    border-left: 4px solid var(--pro-admin-orange) !important;
    border-radius: 4px !important;
    box-shadow: 0 8px 18px rgba(11, 31, 58, 0.07) !important;
}

.admin-area .admin-product-stat i {
    width: 34px !important;
    height: 34px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 6px !important;
    background: var(--pro-admin-blue-soft) !important;
    color: var(--pro-admin-navy) !important;
    border: 1px solid rgba(11, 31, 58, 0.12) !important;
}

.admin-area .admin-product-stat span {
    color: #60758a !important;
    font-size: 0.82rem !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
}

.admin-area .admin-product-stat strong {
    color: var(--pro-admin-navy) !important;
    font-size: 1.35rem !important;
}

.admin-area .admin-products-card {
    overflow: hidden !important;
}

.admin-area .admin-products-card__head {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 1rem !important;
    padding: 1rem 1.1rem !important;
    background: #fff !important;
    border-bottom: 1px solid var(--pro-admin-border) !important;
}

.admin-area .admin-products-card__head h2 {
    margin: 0 !important;
    color: var(--pro-admin-navy) !important;
    font-size: 1.15rem !important;
    font-weight: 800 !important;
}

.admin-area .admin-products-card__tools span {
    display: inline-flex !important;
    align-items: center !important;
    min-height: 32px !important;
    padding: 0.35rem 0.7rem !important;
    border-radius: 999px !important;
    background: var(--pro-admin-orange-soft) !important;
    color: var(--pro-admin-navy) !important;
    font-weight: 800 !important;
    font-size: 0.82rem !important;
}

.admin-area .admin-products-table {
    min-width: 860px !important;
}

.admin-area .admin-products-table thead th {
    padding: 0.82rem 1rem !important;
    background: #f8fbfd !important;
    color: var(--pro-admin-navy) !important;
    font-size: 0.76rem !important;
    letter-spacing: 0 !important;
    text-transform: uppercase !important;
}

.admin-area .admin-products-table tbody td {
    padding: 0.9rem 1rem !important;
    vertical-align: middle !important;
}

.admin-area .admin-products-table tbody tr:hover {
    background: #fffaf3 !important;
}

.admin-area .admin-product-name {
    display: block !important;
    color: var(--pro-admin-navy) !important;
    font-size: 0.98rem !important;
}

.admin-area .admin-product-thumb,
.admin-area .admin-image-missing {
    width: 58px !important;
    height: 58px !important;
    border-radius: 4px !important;
    border: 1px solid var(--pro-admin-border) !important;
    background: #f8fbfd !important;
    object-fit: cover !important;
}

.admin-area .admin-image-missing {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: var(--pro-admin-orange) !important;
}

.admin-area .admin-stock-badge {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: 38px !important;
    height: 28px !important;
    padding: 0 0.6rem !important;
    border-radius: 999px !important;
    font-size: 0.8rem !important;
    font-weight: 800 !important;
    border: 1px solid transparent !important;
}

.admin-area .admin-stock-badge--ok {
    background: #eaf7ee !important;
    color: #126433 !important;
    border-color: #bee5ca !important;
}

.admin-area .admin-stock-badge--low {
    background: var(--pro-admin-orange-soft) !important;
    color: var(--pro-admin-orange-dark) !important;
    border-color: #ffd8a8 !important;
}

.admin-area .admin-stock-badge--out {
    background: #fff1f1 !important;
    color: #b42318 !important;
    border-color: #ffd0d0 !important;
}

.admin-area .admin-table-actions {
    display: flex !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    gap: 0.35rem !important;
}

.admin-area .admin-table-actions .btn,
.admin-area .admin-share-actions .share-btn,
.admin-area .admin-table-actions .share-btn {
    width: 34px !important;
    height: 34px !important;
    padding: 0 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 6px !important;
    border: 1px solid var(--pro-admin-border) !important;
    background: #fff !important;
    color: var(--pro-admin-navy) !important;
    text-decoration: none !important;
    box-shadow: none !important;
}

.admin-area .admin-table-actions .btn-primary,
.admin-area .admin-table-actions .btn-success {
    background: var(--pro-admin-orange) !important;
    border-color: var(--pro-admin-orange) !important;
    color: #fff !important;
}

.admin-area .admin-table-actions .btn-danger {
    background: #fff1f1 !important;
    border-color: #ffd0d0 !important;
    color: #b42318 !important;
}

.admin-area .admin-table-actions .btn:hover,
.admin-area .admin-share-actions .share-btn:hover,
.admin-area .admin-table-actions .share-btn:hover {
    background: var(--pro-admin-navy) !important;
    border-color: var(--pro-admin-navy) !important;
    color: #fff !important;
}

.admin-area .admin-share-panel {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 1rem !important;
    padding: 0.95rem !important;
    background: #f8fbfd !important;
    border: 1px solid var(--pro-admin-border) !important;
    border-left: 4px solid var(--pro-admin-orange) !important;
    border-radius: 4px !important;
}

.admin-area .admin-share-panel strong {
    display: block !important;
    max-width: min(680px, 68vw) !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
    color: var(--pro-admin-navy) !important;
}

.admin-area .admin-product-editor {
    border-left: 4px solid var(--pro-admin-orange) !important;
}

.admin-area .admin-product-editor__head {
    background: var(--pro-admin-navy) !important;
    color: #fff !important;
    border-color: var(--pro-admin-navy) !important;
}

.admin-area .admin-product-modal-dialog {
    max-width: min(1040px, calc(100vw - 1.5rem)) !important;
    margin-top: 1.25rem !important;
    margin-bottom: 1.25rem !important;
}

.admin-area .admin-product-modal {
    max-height: calc(100vh - 2.5rem) !important;
    border: 1px solid var(--pro-admin-border) !important;
    border-radius: 6px !important;
    overflow: hidden !important;
}

.admin-area .admin-product-modal .modal-header {
    flex: 0 0 auto !important;
    background: var(--pro-admin-navy) !important;
}

.admin-area .admin-product-modal form {
    display: flex !important;
    flex-direction: column !important;
    min-height: 0 !important;
}

.admin-area .admin-product-modal .modal-body {
    max-height: calc(100vh - 210px) !important;
    overflow-y: auto !important;
    padding: 1.1rem !important;
    background: #fff !important;
}

.admin-area .admin-product-modal .modal-footer {
    position: sticky !important;
    bottom: 0 !important;
    z-index: 2 !important;
    flex: 0 0 auto !important;
    background: #fff !important;
    border-top: 1px solid var(--pro-admin-border) !important;
    box-shadow: 0 -8px 18px rgba(11, 31, 58, 0.06) !important;
}

.admin-area .admin-product-form-intro {
    display: flex !important;
    align-items: flex-start !important;
    gap: 0.75rem !important;
    margin-bottom: 1rem !important;
    padding: 0.9rem !important;
    border: 1px solid #ffd8a8 !important;
    border-left: 4px solid var(--pro-admin-orange) !important;
    border-radius: 4px !important;
    background: var(--pro-admin-orange-soft) !important;
    color: var(--pro-admin-navy) !important;
}

.admin-area .admin-product-form-intro i {
    color: var(--pro-admin-orange-dark) !important;
    margin-top: 0.15rem !important;
}

.admin-area .admin-product-form-intro strong,
.admin-area .admin-product-form-intro small {
    display: block !important;
    color: var(--pro-admin-navy) !important;
}

.admin-area .admin-product-form-intro small {
    color: #60758a !important;
}

.admin-area .admin-head-actions {
    display: flex !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    gap: 0.65rem !important;
}

.admin-area .stock-kpi-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr)) !important;
}

.admin-area .stock-ops-grid {
    display: grid !important;
    grid-template-columns: minmax(320px, 0.8fr) minmax(420px, 1.2fr) !important;
    gap: 1rem !important;
}

.admin-area .stock-category-list {
    display: grid !important;
    gap: 0.65rem !important;
}

.admin-area .stock-category-row {
    display: grid !important;
    grid-template-columns: 42px 1fr auto !important;
    align-items: center !important;
    gap: 0.75rem !important;
    padding: 0.8rem !important;
    border: 1px solid var(--pro-admin-border) !important;
    border-radius: 6px !important;
    background: #fff !important;
}

.admin-area .stock-category-row > span,
.admin-area .admin-icon-preview > span {
    width: 42px !important;
    height: 42px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 6px !important;
    background: var(--pro-admin-orange-soft) !important;
    color: var(--pro-admin-orange-dark) !important;
}

.admin-area .stock-category-row strong,
.admin-area .admin-icon-preview strong {
    display: block !important;
    color: var(--pro-admin-navy) !important;
}

.admin-area .stock-category-row small,
.admin-area .admin-icon-preview small {
    display: block !important;
    color: #60758a !important;
}

.admin-area .stock-category-row em {
    font-style: normal !important;
    font-weight: 800 !important;
    color: var(--pro-admin-navy) !important;
    white-space: nowrap !important;
}

.admin-area .stock-filter-head {
    align-items: flex-start !important;
    gap: 1rem !important;
}

.admin-area .stock-filter-form,
.admin-area .stock-quick-toolbar {
    display: flex !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    gap: 0.55rem !important;
}

.admin-area .stock-filter-form .form-control,
.admin-area .stock-filter-form .form-select {
    width: auto !important;
    min-width: 170px !important;
}

.admin-area .stock-filter-form .stock-threshold-input {
    min-width: 82px !important;
    width: 82px !important;
}

.admin-area .stock-quick-toolbar {
    padding: 0.85rem !important;
    background: #f8fbfd !important;
    border-top: 1px solid var(--pro-admin-border) !important;
    border-bottom: 1px solid var(--pro-admin-border) !important;
}

.admin-area .stock-quick-toolbar .form-control {
    max-width: 260px !important;
}

.admin-area .stock-inline-input {
    width: 92px !important;
    text-align: center !important;
    font-weight: 800 !important;
    border-color: var(--pro-admin-border) !important;
}

.admin-area .stock-rayon-chip {
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.45rem !important;
    color: #34495f !important;
    font-weight: 700 !important;
}

.admin-area .stock-movement__icon--in {
    background: #eaf7ee !important;
    color: #126433 !important;
}

.admin-area .stock-movement__icon--out {
    background: #fff1f1 !important;
    color: #b42318 !important;
}

.admin-area .admin-icon-preview {
    display: flex !important;
    align-items: center !important;
    gap: 0.75rem !important;
    padding: 0.85rem !important;
    border: 1px solid var(--pro-admin-border) !important;
    border-left: 4px solid var(--pro-admin-orange) !important;
    border-radius: 4px !important;
    background: #f8fbfd !important;
}

.admin-area .admin-form-switch {
    min-height: 44px !important;
    display: flex !important;
    align-items: center !important;
    gap: 0.5rem !important;
    width: 100% !important;
    padding: 0.5rem 0.75rem 0.5rem 2.75rem !important;
    background: #f8fbfd !important;
    border: 1px solid var(--pro-admin-border) !important;
    border-radius: 4px !important;
}

@media (max-width: 991px) {
    .admin-area .admin-product-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }

    .admin-area .stock-kpi-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }

    .admin-area .stock-ops-grid {
        grid-template-columns: 1fr !important;
    }

    .admin-area .stock-filter-head {
        flex-direction: column !important;
    }
}

@media (max-width: 767px) {
    .admin-area .admin-product-stats {
        grid-template-columns: 1fr !important;
    }

    .admin-area .admin-product-stat {
        grid-template-columns: 34px 1fr auto !important;
    }

    .admin-area .admin-products-card__head,
    .admin-area .admin-share-panel {
        align-items: flex-start !important;
        flex-direction: column !important;
    }

    .admin-area .admin-share-panel strong {
        max-width: 100% !important;
    }

    .admin-area .admin-product-modal-dialog {
        margin: 0.5rem !important;
        max-width: calc(100vw - 1rem) !important;
    }

    .admin-area .admin-product-modal {
        max-height: calc(100vh - 1rem) !important;
    }

    .admin-area .admin-product-modal .modal-body {
        max-height: calc(100vh - 178px) !important;
        padding: 0.9rem !important;
    }

    .admin-area .stock-kpi-grid {
        grid-template-columns: 1fr !important;
    }

    .admin-area .stock-filter-form,
    .admin-area .stock-quick-toolbar,
    .admin-area .admin-head-actions {
        width: 100% !important;
    }

    .admin-area .stock-filter-form .form-control,
    .admin-area .stock-filter-form .form-select,
    .admin-area .stock-filter-form .btn,
    .admin-area .stock-quick-toolbar .form-control,
    .admin-area .stock-quick-toolbar .btn,
    .admin-area .admin-head-actions .btn {
        width: 100% !important;
        max-width: none !important;
    }

    .admin-area .stock-category-row {
        grid-template-columns: 38px 1fr !important;
    }

    .admin-area .stock-category-row em {
        grid-column: 2 !important;
    }
}

/* Final override: alignement menu + vert Excel, prioritaire */
:root {
    --excel-green: #107c41;
    --excel-green-dark: #0b5f31;
    --excel-green-soft: #e8f3ed;
    --excel-green-line: #b9d8c7;
}

.nav-secondary .container-fluid > div:first-child {
    align-items: stretch !important;
    gap: 0.55rem !important;
}

.nav-secondary .hover-link,
.nav-secondary a.hover-link,
.nav-secondary .btn-rayons {
    min-height: 38px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.4rem !important;
    padding: 0.45rem 0.8rem !important;
    border: 1px solid transparent !important;
    border-radius: 4px !important;
    line-height: 1 !important;
    white-space: nowrap !important;
    transform: none !important;
}

.nav-secondary .hover-link:hover,
.nav-secondary a.hover-link:hover {
    background: var(--excel-green-soft) !important;
    border-color: var(--excel-green-line) !important;
    color: var(--excel-green-dark) !important;
}

.nav-secondary .btn-rayons,
.btn-success,
.btn-primary,
.btn-warning,
.search-form .btn,
.search-form .btn-warning,
.premium-chat-send,
.premium-fab,
.cart-link-header #cart-count,
.cart-link-header .badge,
.admin-notification-badge,
.mobile-menu-badge,
.js-admin-pending-badge {
    background: var(--excel-green) !important;
    background-image: none !important;
    border-color: var(--excel-green) !important;
    color: #fff !important;
    box-shadow: none !important;
}

.nav-secondary .btn-rayons:hover,
.btn-success:hover,
.btn-primary:hover,
.btn-warning:hover,
.search-form .btn:hover,
.premium-chat-send:hover,
.premium-fab:hover {
    background: var(--excel-green-dark) !important;
    border-color: var(--excel-green-dark) !important;
}

.nav-secondary i {
    width: 24px !important;
    height: 24px !important;
    min-width: 24px !important;
    border-radius: 4px !important;
    font-size: 0.78rem !important;
}

.admin-area {
    --pro-admin-orange: var(--excel-green);
    --pro-admin-orange-dark: var(--excel-green-dark);
    --pro-admin-orange-soft: var(--excel-green-soft);
    --pro-admin-orange-shadow: rgba(16, 124, 65, 0.18);
    --pro-admin-blue: #0f2f4a;
    --pro-admin-blue-soft: #eef5f1;
    --pro-admin-border: #cbdcd4;
}

.admin-area .admin-workspace-nav,
.admin-area .admin-panel,
.admin-area .admin-card,
.admin-area .admin-page-head,
.admin-area .admin-page-head--software,
.admin-area .admin-command-card,
.admin-area .admin-metric-card,
.admin-area .admin-status-tile,
.admin-area .admin-feature-tile,
.admin-area .card,
.admin-area .modal-content,
.admin-area .form-control,
.admin-area .form-select,
.admin-area .btn,
.admin-area .admin-table-actions .btn,
.admin-area .admin-share-actions .share-btn {
    border-radius: 3px !important;
}

.admin-area .admin-workspace-links,
.admin-area .admin-workspace-tools {
    display: grid !important;
    gap: 0.35rem !important;
}

.admin-area .admin-workspace-links a,
.admin-area .admin-workspace-tools a {
    min-height: 42px !important;
    display: grid !important;
    grid-template-columns: 34px minmax(0, 1fr) auto !important;
    align-items: center !important;
    gap: 0.65rem !important;
    padding: 0.35rem 0.55rem !important;
    border-radius: 3px !important;
    line-height: 1.1 !important;
    transform: none !important;
}

.admin-area .admin-workspace-links a span,
.admin-area .admin-workspace-tools a span {
    min-width: 0 !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
}

.admin-area .admin-workspace-links i,
.admin-area .admin-workspace-tools i,
.admin-area .admin-workspace-brand > span {
    width: 32px !important;
    height: 32px !important;
    min-width: 32px !important;
    border-radius: 3px !important;
}

.admin-area .admin-workspace-links a:hover,
.admin-area .admin-workspace-tools a:hover {
    background: var(--excel-green-soft) !important;
    border-color: var(--excel-green-line) !important;
    color: var(--excel-green-dark) !important;
}

.admin-area .admin-workspace-links a.active {
    background: var(--excel-green-dark) !important;
    border-color: var(--excel-green-dark) !important;
    color: #fff !important;
}

.admin-area .admin-workspace-links a.active i {
    background: rgba(255, 255, 255, 0.14) !important;
    border-color: rgba(255, 255, 255, 0.28) !important;
    color: #fff !important;
}

.admin-area .admin-page-head,
.admin-area .admin-page-head--software,
.admin-area .admin-product-stat,
.admin-area .admin-share-panel,
.admin-area .admin-product-editor,
.admin-area .admin-product-form-intro,
.admin-area .admin-icon-preview,
.admin-area .erp-control-card {
    border-left-color: var(--excel-green) !important;
}

.admin-area .admin-products-table tbody tr:hover,
.admin-area .table-hover tbody tr:hover {
    background: #f3faf6 !important;
}

.admin-area .admin-stock-badge--low,
.admin-area .stock-category-row > span,
.admin-area .admin-icon-preview > span,
.admin-area .admin-products-card__tools span,
.admin-area .erp-control-card > span {
    background: var(--excel-green-soft) !important;
    color: var(--excel-green-dark) !important;
    border-color: var(--excel-green-line) !important;
}

.admin-area .admin-kicker,
.admin-area .admin-kicker i,
.admin-area .admin-image-missing,
.admin-area .admin-product-form-intro i {
    color: var(--excel-green-dark) !important;
}

.admin-area .btn-success,
.admin-area .btn-primary,
.admin-area .btn-warning,
.admin-area .admin-table-actions .btn-primary,
.admin-area .admin-table-actions .btn-success {
    background: var(--excel-green) !important;
    border-color: var(--excel-green) !important;
    color: #fff !important;
}

.admin-area .btn-success:hover,
.admin-area .btn-primary:hover,
.admin-area .btn-warning:hover,
.admin-area .admin-table-actions .btn-primary:hover,
.admin-area .admin-table-actions .btn-success:hover {
    background: var(--excel-green-dark) !important;
    border-color: var(--excel-green-dark) !important;
    color: #fff !important;
}

@media (max-width: 767px) {
    .nav-secondary .container-fluid > div:first-child {
        gap: 0.4rem !important;
    }

    .nav-secondary .hover-link,
    .nav-secondary a.hover-link,
    .nav-secondary .btn-rayons {
        min-height: 36px !important;
        padding: 0.42rem 0.65rem !important;
    }
}

/* ==== site-fixes.css ==== */
/* Correctifs globaux UI + mode sombre + formations */
html:not(.theme-dark) .bg-white .text-white:not(.btn):not(.badge),
html:not(.theme-dark) .card-header.bg-white .text-white:not(.btn):not(.badge),
html:not(.theme-dark) .modal-body.bg-white .text-white:not(.btn):not(.badge) {
    color: #0b2545 !important;
}

html.theme-dark body,
html.theme-dark .page-content {
    background: #071827 !important;
    color: #ecf6f8 !important;
}

.page-content {
    margin: 0 auto;
}

html.theme-dark .bg-white,
html.theme-dark .bg-light,
html.theme-dark .card-header.bg-white,
html.theme-dark .modal-body,
html.theme-dark .modal-footer,
html.theme-dark .table,
html.theme-dark .list-group-item,
html.theme-dark .formation-card-pro,
html.theme-dark .formation-detail-card,
html.theme-dark .formation-buy-panel,
html.theme-dark .formation-similar-card,
html.theme-dark .formation-filter-bar,
html.theme-dark .formation-learner-card {
    background: #0d253c !important;
    color: #ecf6f8 !important;
    border-color: rgba(255, 255, 255, 0.12) !important;
}

html.theme-dark .text-dark,
html.theme-dark .text-body,
html.theme-dark .dropdown-item,
html.theme-dark .card-title,
html.theme-dark .table,
html.theme-dark .table td,
html.theme-dark .table th,
html.theme-dark label,
html.theme-dark h1,
html.theme-dark h2,
html.theme-dark h3,
html.theme-dark h4,
html.theme-dark h5,
html.theme-dark h6,
html.theme-dark strong {
    color: #f4fbff !important;
}

html.theme-dark .text-muted,
html.theme-dark small,
html.theme-dark p,
html.theme-dark .card-text,
html.theme-dark .form-text,
html.theme-dark .formation-card-pro p,
html.theme-dark .formation-detail-card p,
html.theme-dark .formation-learner-card small {
    color: #aec6d8 !important;
}

html.theme-dark .form-control,
html.theme-dark .form-select,
html.theme-dark textarea,
html.theme-dark input,
html.theme-dark select {
    background-color: #102b46 !important;
    border-color: rgba(255, 255, 255, 0.18) !important;
    color: #f4fbff !important;
}

html.theme-dark .form-control::placeholder,
html.theme-dark textarea::placeholder,
html.theme-dark input::placeholder {
    color: #8fb0c7 !important;
}

.eclosion-loader {
    position: fixed;
    inset: 0;
    z-index: 3000;
    pointer-events: none;
}

.eclosion-loader__bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #047857, #0ea5e9, #f59e0b);
    box-shadow: 0 0 18px rgba(14, 165, 233, .45);
    opacity: 0;
}

.eclosion-loader.is-loading .eclosion-loader__bar {
    opacity: 1;
    animation: eclosionLoaderBar 1.05s ease-in-out infinite;
}

/* Admin sidebar compacte : affiche plus d'elements avec moins de scroll */
.admin-area .admin-workspace-nav {
    gap: .38rem !important;
    padding: .5rem !important;
}

.admin-area .admin-workspace-brand {
    grid-template-columns: 32px minmax(0, 1fr) auto !important;
    gap: .5rem !important;
    padding: .48rem !important;
}

.admin-area .admin-workspace-brand > span {
    width: 32px !important;
    height: 32px !important;
}

.admin-area .admin-workspace-brand strong {
    font-size: .86rem !important;
}

.admin-area .admin-workspace-brand small {
    font-size: .64rem !important;
}

.admin-area .admin-workspace-brand em {
    padding: .18rem .36rem !important;
    font-size: .58rem !important;
}

.admin-area .admin-workspace-current {
    padding: .42rem .52rem !important;
}

.admin-area .admin-workspace-current span,
.admin-area .admin-workspace-section {
    font-size: .58rem !important;
}

.admin-area .admin-workspace-current strong {
    font-size: .76rem !important;
}

.admin-area .admin-workspace-section {
    margin: .28rem .18rem .02rem !important;
}

.admin-area .admin-workspace-links {
    gap: .08rem !important;
}

.admin-area .admin-workspace-links a,
.admin-area .admin-workspace-tools a {
    min-height: 31px !important;
    grid-template-columns: 25px minmax(0, 1fr) auto !important;
    gap: .38rem !important;
    padding: .22rem .34rem !important;
    font-size: .76rem !important;
}

.admin-area .admin-workspace-links i,
.admin-area .admin-workspace-tools i {
    width: 25px !important;
    height: 25px !important;
    border-radius: 7px !important;
    font-size: .76rem !important;
}

.admin-area .admin-workspace-links em {
    min-width: 18px !important;
    height: 18px !important;
    font-size: .58rem !important;
}

.admin-area .admin-workspace-tools {
    gap: .14rem !important;
    padding-top: .34rem !important;
}

/* Boutique : rayons et resume plus compacts, style logiciel */
.shop-page-content {
    padding-top: .55rem !important;
}

.shop-page-content .breadcrumb {
    margin-bottom: .45rem !important;
    font-size: .82rem;
}

.category-showcase {
    margin: .45rem 0 .65rem !important;
    padding: .55rem .65rem !important;
    border-radius: 8px !important;
    background: #fff !important;
    box-shadow: 0 10px 26px rgba(15, 23, 42, .055) !important;
}

.category-showcase__head {
    align-items: center !important;
    margin-bottom: .42rem !important;
}

.category-showcase .shop-kicker {
    font-size: .64rem !important;
    letter-spacing: .06em !important;
}

.category-showcase__head h2 {
    margin-top: .08rem !important;
    font-size: 1.08rem !important;
    line-height: 1.15 !important;
}

.category-showcase .category-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)) !important;
    gap: .45rem !important;
}

.category-showcase .category-tile {
    min-height: 46px !important;
    padding: .38rem .5rem !important;
    border-radius: 7px !important;
    border-color: #d9e6ef !important;
    background: #f9fbfd !important;
    box-shadow: none !important;
    transform: none !important;
}

.category-showcase .category-tile::after {
    display: none !important;
}

.category-showcase .category-tile:hover,
.category-showcase .category-tile.active {
    border-color: #0a8f68 !important;
    background: #eefbf5 !important;
}

.category-showcase .category-tile__icon {
    width: 28px !important;
    height: 28px !important;
    flex: 0 0 28px !important;
    border-radius: 7px !important;
    font-size: .82rem !important;
}

.category-showcase .category-tile__body strong {
    font-size: .8rem !important;
    line-height: 1.15 !important;
}

.category-showcase .category-tile__body small {
    margin-top: .08rem !important;
    font-size: .64rem !important;
}

.shop-summary {
    gap: .65rem !important;
    margin-bottom: .65rem !important;
}

.shop-summary > div {
    min-height: 56px !important;
    padding: .5rem .65rem !important;
    border-radius: 8px !important;
    background: #fff !important;
    box-shadow: 0 10px 24px rgba(15, 23, 42, .05) !important;
}

.shop-summary__label {
    font-size: .64rem !important;
    letter-spacing: .06em !important;
}

.shop-summary strong {
    margin-top: .18rem !important;
    font-size: .86rem !important;
    line-height: 1.2 !important;
}

@media (max-width: 991.98px) {
    .category-showcase {
        padding: .65rem !important;
    }

    .category-showcase .category-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }

    .shop-summary {
        grid-template-columns: 1fr !important;
    }
}

@media (max-width: 575.98px) {
    .category-showcase__head h2 {
        font-size: 1.08rem !important;
    }

    .category-showcase .category-grid {
        grid-template-columns: 1fr !important;
    }
}

.eclosion-loader__pill {
    position: fixed;
    left: 50%;
    bottom: 28px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 44px;
    padding: 0 18px;
    border: 1px solid rgba(9, 55, 90, .14);
    border-radius: 999px;
    background: rgba(255, 255, 255, .94);
    color: #052b45;
    font-weight: 950;
    box-shadow: 0 18px 44px rgba(6, 27, 51, .22);
    opacity: 0;
    transform: translate(-50%, 12px);
    transition: opacity .18s ease, transform .18s ease;
}

.eclosion-loader.is-long .eclosion-loader__pill {
    opacity: 1;
    transform: translate(-50%, 0);
}

.eclosion-loader__pill span {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 3px solid rgba(4, 120, 87, .18);
    border-top-color: #047857;
    animation: eclosionLoaderSpin .75s linear infinite;
}

@keyframes eclosionLoaderBar {
    0% { width: 0; left: 0; }
    45% { width: 72%; left: 0; }
    100% { width: 18%; left: 100%; }
}

@keyframes eclosionLoaderSpin {
    to { transform: rotate(360deg); }
}

html.theme-dark .eclosion-loader__pill {
    background: rgba(14, 23, 36, .96);
    border-color: rgba(148, 163, 184, .24);
    color: #e5eef8;
}

.btn.is-busy,
button.is-busy {
    position: relative;
    cursor: progress !important;
    opacity: .88;
}

.btn.is-busy::after,
button.is-busy::after {
    content: '';
    width: 14px;
    height: 14px;
    margin-left: .45rem;
    display: inline-block;
    vertical-align: -2px;
    border: 2px solid currentColor;
    border-right-color: transparent;
    border-radius: 50%;
    animation: eclosionLoaderSpin .7s linear infinite;
}

.ux-image-loading {
    opacity: 0;
    filter: blur(8px) saturate(.9);
}

.ux-image-ready {
    opacity: 1;
    filter: none;
    transition: opacity .28s ease, filter .28s ease;
}

body.is-page-loading::after {
    height: 2px !important;
    opacity: .78 !important;
    background: linear-gradient(90deg, transparent, #0a8f68, #0ea5e9, transparent) !important;
}

[data-pjax-shell] {
    min-height: 40vh;
    transition: opacity .22s ease, transform .22s ease, filter .22s ease;
}

[data-pjax-shell].pjax-loading {
    opacity: .9;
    transform: translateY(1px);
    filter: saturate(.98);
    pointer-events: none;
}

[data-pjax-shell].pjax-loading::after {
    content: none;
}

html.theme-dark [data-pjax-shell].pjax-loading::after {
    background: #0e1724;
    border-color: rgba(148, 163, 184, .24);
    color: #e5eef8;
}

body.admin-area [data-pjax-shell].pjax-loading::after {
    content: "Chargement admin...";
    background: #052b45;
    color: #ffffff;
    border-color: rgba(255, 255, 255, .18);
}

/* Fenetre contextuelle connexion / creation compte */
.auth-context-modal .modal-dialog {
    max-width: min(760px, calc(100vw - 24px));
}

.auth-context-modal .modal-content {
    position: relative;
    overflow: hidden;
    border: 0;
    border-radius: 18px;
    background: #ffffff;
    box-shadow: 0 24px 70px rgba(6, 27, 51, .26);
}

.auth-context-close {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 5;
    width: 34px;
    height: 34px;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, .9);
    color: #052b45;
}

.auth-context-grid {
    display: grid;
    grid-template-columns: .72fr 1.28fr;
    min-height: auto;
}

.auth-context-side {
    display: grid;
    align-content: center;
    padding: 24px;
    background: #052b45;
    color: #ffffff;
}

.auth-context-side img {
    width: 112px;
    max-height: 40px;
    object-fit: contain;
    padding: 7px 10px;
    border-radius: 12px;
    background: #ffffff;
}

.auth-context-side .auth-security-visual--modal {
    width: 86px;
    max-height: 86px;
    margin-top: 16px;
    padding: 0;
    border-radius: 50%;
    background: transparent;
    opacity: .95;
}

.auth-context-side span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 18px;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .12);
    color: #b7f7dc;
    font-weight: 900;
    text-transform: uppercase;
    font-size: .7rem;
}

.auth-context-side h2 {
    margin: 14px 0 8px;
    color: #ffffff;
    font-size: clamp(1.25rem, 2vw, 1.7rem);
    line-height: 1.08;
    font-weight: 950;
}

.auth-context-side p {
    margin: 0;
    color: #cfe0ee;
    font-size: .86rem;
    line-height: 1.45;
}

.auth-welcome-picture {
    position: relative;
    z-index: 1;
    display: block;
    width: 100%;
    margin: 0 0 18px;
}

.auth-welcome-visual {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 10.6;
    object-fit: contain;
    border-radius: 18px;
    background: #f4fbef;
    box-shadow: 0 18px 40px rgba(2, 18, 34, .18);
}

.auth-premium-aside .auth-welcome-picture {
    max-width: 560px;
    margin-bottom: 20px;
}

.auth-context-side {
    border-right: 1px solid rgba(9, 55, 90, .10);
    background:
        linear-gradient(180deg, rgba(246, 251, 239, .96), rgba(255, 255, 255, .98)),
        #f6fbef;
    color: #052b45;
}

.auth-context-side .auth-welcome-picture--modal {
    margin: 0 0 12px;
}

.auth-context-side .auth-welcome-visual--modal {
    width: 100% !important;
    max-width: none !important;
    max-height: none !important;
    aspect-ratio: 16 / 10.6 !important;
    padding: 0 !important;
    border-radius: 14px !important;
    object-fit: contain !important;
    background: #f4fbef !important;
    box-shadow: 0 14px 32px rgba(6, 27, 51, .12) !important;
}

.auth-context-side span {
    background: #e7f8ef;
    color: #047857;
}

.auth-context-side h2 {
    color: #052b45;
}

.auth-context-side p {
    color: #526b83;
}

.auth-context-panel {
    padding: 24px;
}

.auth-context-tabs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
    padding: 5px;
    margin-bottom: 12px;
    border-radius: 13px;
    background: #f1f5f9;
}

.auth-context-tabs button {
    min-height: 38px;
    border: 0;
    border-radius: 10px;
    background: transparent;
    color: #475569;
    font-weight: 950;
}

.auth-context-brief {
    display: flex;
    align-items: center;
    gap: .65rem;
    margin-bottom: 12px;
    padding: .72rem .8rem;
    border: 1px solid rgba(4, 120, 87, .14);
    border-radius: 13px;
    background: #f0fdf4;
}

.auth-context-brief > i {
    display: inline-grid;
    flex: 0 0 36px;
    width: 36px;
    height: 36px;
    place-items: center;
    border-radius: 10px;
    background: #047857;
    color: #ffffff;
}

.auth-context-brief span {
    display: grid;
    min-width: 0;
}

.auth-context-brief strong {
    color: #052b45;
    font-size: .92rem;
    font-weight: 950;
    line-height: 1.1;
}

.auth-context-brief small {
    color: #60758a;
    font-size: .76rem;
    font-weight: 800;
}

.auth-context-tabs button.active {
    background: #ffffff;
    color: #047857;
    box-shadow: 0 8px 20px rgba(6, 27, 51, .08);
}

.auth-context-message {
    margin-bottom: 12px;
    padding: 10px 12px;
    border-radius: 12px;
    font-weight: 850;
}

.auth-context-message.is-error {
    background: #fff1f2;
    color: #9f1239;
    border: 1px solid #fecdd3;
}

.auth-context-message.is-success {
    background: #ecfdf5;
    color: #047857;
    border: 1px solid #a7f3d0;
}

.auth-context-form {
    display: none;
    gap: 9px;
}

.auth-context-form.active {
    display: grid;
}

.auth-context-form label {
    display: grid;
    gap: 5px;
    color: #334155;
    font-weight: 900;
    font-size: .84rem;
}

.auth-context-form label span {
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr);
    align-items: center;
    min-height: 44px;
    border: 1px solid rgba(9, 55, 90, .14);
    border-radius: 12px;
    background: #f8fafc;
}

.auth-context-form i {
    color: #047857;
    text-align: center;
}

.auth-context-form input {
    border: 0;
    outline: 0;
    background: transparent;
    color: #052b45;
    font-weight: 750;
}

.auth-context-submit {
    min-height: 44px;
    border: 0;
    border-radius: 12px;
    background: #047857;
    color: #ffffff;
    font-weight: 950;
}

.auth-context-submit:hover {
    background: #065f46;
    color: #ffffff;
}

.auth-google-btn {
    position: relative;
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr) 34px;
    align-items: center;
    justify-content: stretch;
    gap: .82rem;
    width: 100%;
    min-height: 64px;
    margin-bottom: .42rem;
    padding: .55rem .72rem;
    overflow: hidden;
    border: 1px solid rgba(9, 55, 90, .12);
    border-radius: 16px;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, .96), rgba(248, 252, 255, .98)),
        #ffffff;
    color: #102033;
    text-align: left;
    box-shadow: 0 14px 32px rgba(6, 27, 51, .10);
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease, background .18s ease;
}

.auth-google-btn::after {
    content: "";
    position: absolute;
    inset: auto -32px -42px auto;
    width: 104px;
    height: 104px;
    border-radius: 50%;
    background: rgba(66, 133, 244, .08);
    pointer-events: none;
}

.auth-google-mark {
    position: relative;
    z-index: 1;
    display: inline-grid;
    width: 48px;
    height: 48px;
    place-items: center;
    border-radius: 14px;
    background: conic-gradient(from -45deg, #4285f4 0 25%, #34a853 0 50%, #fbbc05 0 75%, #ea4335 0 100%);
    box-shadow: 0 12px 24px rgba(66, 133, 244, .20);
}

.auth-google-mark span {
    display: inline-grid;
    width: 34px;
    height: 34px;
    place-items: center;
    border-radius: 50%;
    background: #ffffff;
    color: #1a73e8;
    font-family: Arial, sans-serif;
    font-size: 1.18rem;
    font-weight: 950;
    line-height: 1;
}

.auth-google-copy {
    position: relative;
    z-index: 1;
    display: grid;
    gap: .16rem;
    min-width: 0;
}

.auth-google-copy strong {
    color: #102033;
    font-size: .98rem;
    font-weight: 950;
    line-height: 1.1;
}

.auth-google-copy small {
    color: #6b7d90;
    font-size: .76rem;
    font-weight: 850;
    line-height: 1.2;
    white-space: normal;
}

.auth-google-arrow {
    position: relative;
    z-index: 1;
    display: inline-grid;
    width: 32px;
    height: 32px;
    place-items: center;
    border-radius: 999px;
    background: #eef6ff;
    color: #1a73e8 !important;
    font-size: .82rem;
    transition: transform .18s ease, background .18s ease;
}

.auth-google-btn:hover {
    transform: translateY(-1px);
    border-color: rgba(66, 133, 244, .30);
    background: #ffffff;
    color: #052b45;
    box-shadow: 0 18px 42px rgba(6, 27, 51, .14);
}

.auth-google-btn:hover .auth-google-arrow {
    transform: translateX(2px);
    background: #dbeafe;
}

.auth-google-btn--modal {
    margin: 2px 0 0;
    min-height: 58px;
    grid-template-columns: 42px minmax(0, 1fr) 30px;
    border-radius: 14px;
    box-shadow: 0 10px 22px rgba(6, 27, 51, .07);
}

.auth-google-btn--modal .auth-google-mark {
    width: 42px;
    height: 42px;
    border-radius: 12px;
}

.auth-google-btn--modal .auth-google-mark span {
    width: 30px;
    height: 30px;
    font-size: 1.04rem;
}

.auth-google-btn--modal .auth-google-copy strong {
    font-size: .9rem;
}

.auth-google-btn--modal .auth-google-copy small {
    font-size: .69rem;
}

.auth-google-context {
    display: flex;
    align-items: flex-start;
    gap: .42rem;
    margin: 0 0 .85rem;
    color: #60758a;
    font-size: .78rem;
    font-weight: 800;
    line-height: 1.35;
}

.auth-google-context i {
    margin-top: .15rem;
    color: #1a73e8;
}

.auth-google-context--modal {
    margin: .42rem 0 .7rem;
    font-size: .7rem;
}

@media (max-width: 420px) {
    .auth-google-btn {
        grid-template-columns: 42px minmax(0, 1fr) 28px;
        min-height: 58px;
        gap: .62rem;
        padding: .5rem .58rem;
    }

    .auth-google-mark {
        width: 42px;
        height: 42px;
        border-radius: 12px;
    }

    .auth-google-mark span {
        width: 30px;
        height: 30px;
        font-size: 1.04rem;
    }

    .auth-google-copy strong {
        font-size: .88rem;
    }

    .auth-google-copy small {
        font-size: .68rem;
    }

    .auth-google-arrow {
        width: 28px;
        height: 28px;
    }
}

.auth-divider {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 10px;
    margin: 2px 0 12px;
    color: #64748b;
    font-size: .82rem;
    font-weight: 900;
    text-transform: uppercase;
}

.auth-divider::before,
.auth-divider::after {
    content: "";
    height: 1px;
    background: rgba(9, 55, 90, .14);
}

html.theme-dark .auth-context-modal .modal-content {
    background: #0e1724;
}

html.theme-dark .auth-context-tabs,
html.theme-dark .auth-context-form label span,
html.theme-dark .auth-context-brief {
    background: #101d2e;
    border-color: rgba(148, 163, 184, .22);
}

html.theme-dark .auth-context-form label,
html.theme-dark .auth-context-form input {
    color: #e5eef8;
}

html.theme-dark .auth-context-brief strong {
    color: #f7fbff;
}

html.theme-dark .auth-context-brief small {
    color: #a9bbcc;
}

html.theme-dark .auth-google-btn {
    background: linear-gradient(135deg, #111c2b, #0f1a29);
    border-color: rgba(255, 255, 255, .14);
    color: #e5edf5;
    box-shadow: 0 14px 34px rgba(0, 0, 0, .26);
}

html.theme-dark .auth-google-btn:hover {
    background: #172538;
    color: #ffffff;
}

html.theme-dark .auth-google-copy strong {
    color: #f7fbff;
}

html.theme-dark .auth-google-copy small,
html.theme-dark .auth-google-context {
    color: #a9bbcc;
}

html.theme-dark .auth-google-arrow {
    background: rgba(66, 133, 244, .18);
    color: #93c5fd !important;
}

html.theme-dark .auth-divider {
    color: #9fb1c8;
}

html.theme-dark .auth-divider::before,
html.theme-dark .auth-divider::after {
    background: rgba(255, 255, 255, .14);
}

/* Rayons: panneau catalogue plus lisible */
#categoriesSidebar {
    --rayon-ink: #05223d;
    --rayon-muted: #647c96;
    --rayon-line: #dbe8f3;
    width: min(410px, 100vw);
    z-index: 1045 !important;  /* Au-dessus du backdrop (1040) mais sous le menu mobile (10100) */
}

#categoriesSidebar .offcanvas-header.category-sidebar__head {
    min-height: 78px;
    padding: 1.1rem 1.25rem;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    background: linear-gradient(135deg, #008c69 0%, #00a884 52%, #075a75 100%) !important;
}

#categoriesSidebar .offcanvas-header.category-sidebar__head > div {
    min-width: 0;
}

#categoriesSidebar .category-sidebar__kicker {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    margin-bottom: .18rem;
    color: rgba(255, 255, 255, .82);
    font-size: .76rem;
    font-weight: 950;
    letter-spacing: 0;
    text-transform: uppercase;
}

#categoriesSidebar .offcanvas-title {
    margin: 0;
    color: #ffffff;
    font-size: 1.35rem;
    font-weight: 950;
    line-height: 1;
}

#categoriesSidebar .btn-close {
    flex: 0 0 42px;
    width: 42px;
    height: 42px;
    margin: 0;
    border-radius: 999px;
    background-color: rgba(255, 255, 255, .14);
    background-size: 14px;
    opacity: 1;
    box-shadow: none;
}

#categoriesSidebar .btn-close:hover,
#categoriesSidebar .btn-close:focus-visible {
    background-color: rgba(255, 255, 255, .22);
}

#categoriesSidebar .category-sidebar {
    padding: 1.05rem 1rem 1.35rem;
    background: linear-gradient(180deg, #ffffff 0%, #f7fbfe 100%);
}

#categoriesSidebar .category-sidebar__intro {
    margin: 0 0 .85rem;
    color: #5f7893;
    font-size: .95rem;
    font-weight: 850;
    line-height: 1.55;
}

#categoriesSidebar .category-sidebar__stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: .55rem;
    margin-bottom: .85rem;
}

#categoriesSidebar .category-sidebar__stats span {
    display: grid;
    gap: .1rem;
    min-height: 58px;
    align-content: center;
    padding: .65rem;
    border: 1px solid var(--rayon-line);
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 8px 20px rgba(6, 27, 51, .045);
}

#categoriesSidebar .category-sidebar__stats strong {
    color: #007a5c;
    font-size: 1.08rem;
    font-weight: 950;
    line-height: 1;
}

#categoriesSidebar .category-sidebar__stats small {
    color: var(--rayon-muted);
    font-size: .72rem;
    font-weight: 900;
}

#categoriesSidebar .category-sidebar__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: .6rem;
}

#categoriesSidebar .category-sidebar__item {
    display: grid;
    grid-template-columns: 50px minmax(0, 1fr) 42px;
    align-items: center;
    gap: .85rem;
    min-height: 74px;
    padding: .78rem .86rem;
    border: 1px solid var(--rayon-line);
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 10px 24px rgba(6, 27, 51, .06);
    color: var(--rayon-ink);
    text-decoration: none;
    overflow: hidden;
}

#categoriesSidebar .category-sidebar__item::after {
    width: 76px;
    height: 76px;
    inset: auto -34px -34px auto;
    background: rgba(0, 168, 132, .08);
    pointer-events: none;
}

#categoriesSidebar .category-sidebar__item:hover {
    transform: translateY(-2px);
    border-color: rgba(0, 168, 132, .34);
    background: #fafffd;
}

#categoriesSidebar .category-sidebar__icon {
    width: 46px;
    height: 46px;
    display: inline-grid;
    place-items: center;
    flex: none;
    border-radius: 8px;
    background: #00a884;
    color: #ffffff;
    box-shadow: 0 12px 22px rgba(0, 168, 132, .18);
}

#categoriesSidebar .category-sidebar__icon i {
    font-size: 1rem;
    line-height: 1;
}

#categoriesSidebar .category-sidebar__copy {
    position: relative;
    z-index: 1;
    display: block;
    width: auto;
    height: auto;
    min-height: 0;
    min-width: 0;
    flex: 1 1 auto;
    padding: 0;
    border-radius: 0;
    background: transparent;
    color: inherit;
    box-shadow: none;
}

#categoriesSidebar .category-sidebar__copy strong {
    display: block;
    color: var(--rayon-ink);
    font-size: .94rem;
    font-weight: 950;
    line-height: 1.16;
    white-space: normal;
    overflow-wrap: anywhere;
}

#categoriesSidebar .category-sidebar__copy small {
    display: block;
    margin-top: .2rem;
    color: var(--rayon-muted);
    font-size: .74rem;
    font-weight: 850;
    line-height: 1.15;
    white-space: normal;
}

#categoriesSidebar .category-sidebar__item em {
    position: relative;
    z-index: 1;
    display: inline-grid;
    place-items: center;
    width: 34px;
    min-width: 34px;
    min-height: 30px;
    padding: .15rem .38rem;
    border-radius: 999px;
    background: #edf8f5;
    color: #007a5c;
    font-size: .76rem;
    font-style: normal;
    font-weight: 950;
    text-align: center;
}

#categoriesSidebar .category-sidebar__item:focus-visible {
    outline: 3px solid rgba(0, 168, 132, .24);
    outline-offset: 2px;
}

/* ── Transitions fluides ── */
#categoriesSidebar .category-sidebar__item {
    transition: transform .18s ease, border-color .18s ease, background .18s ease, box-shadow .18s ease;
}

/* ── Apparition progressive des items ── */
#categoriesSidebar .category-sidebar__item:nth-child(1) { animation: rayonFadeIn .22s ease both; }
#categoriesSidebar .category-sidebar__item:nth-child(2) { animation: rayonFadeIn .28s ease both; }
#categoriesSidebar .category-sidebar__item:nth-child(3) { animation: rayonFadeIn .34s ease both; }
#categoriesSidebar .category-sidebar__item:nth-child(4) { animation: rayonFadeIn .40s ease both; }
#categoriesSidebar .category-sidebar__item:nth-child(n+5) { animation: rayonFadeIn .46s ease both; }

@keyframes rayonFadeIn {
    from { opacity: 0; transform: translateY(8px); }
    to   { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
    #categoriesSidebar .category-sidebar__item { animation: none !important; }
}

/* ── Icone animee au survol ── */
#categoriesSidebar .category-sidebar__icon {
    transition: transform .18s ease, box-shadow .18s ease;
}
#categoriesSidebar .category-sidebar__item:hover .category-sidebar__icon {
    transform: scale(1.08);
    box-shadow: 0 14px 28px rgba(0, 168, 132, .28);
}

/* ── Badge compteur amliore ── */
#categoriesSidebar .category-sidebar__item em {
    border: 1px solid rgba(0, 122, 92, .14);
    transition: background .18s ease, color .18s ease;
}
#categoriesSidebar .category-sidebar__item:hover em {
    background: #00a884;
    color: #fff;
    border-color: transparent;
}

/* ── Stat "Produits" mise en avant ── */
#categoriesSidebar .category-sidebar__stats span:first-child {
    border-color: rgba(0, 122, 92, .18);
    background: linear-gradient(135deg, #fff, #f0fdf4);
}
#categoriesSidebar .category-sidebar__stats span:first-child strong {
    color: #007a5c;
}

html.theme-dark #categoriesSidebar .category-sidebar {
    background: #0e1724;
}

html.theme-dark #categoriesSidebar .category-sidebar__intro,
html.theme-dark #categoriesSidebar .category-sidebar__copy small,
html.theme-dark #categoriesSidebar .category-sidebar__stats small {
    color: #9fb1c8;
}

html.theme-dark #categoriesSidebar .category-sidebar__item,
html.theme-dark #categoriesSidebar .category-sidebar__stats span {
    background: #111c2b;
    border-color: rgba(255, 255, 255, .12);
}

html.theme-dark #categoriesSidebar .category-sidebar__copy strong {
    color: #f4f8fb;
}

html.theme-dark #categoriesSidebar .category-sidebar__item:hover {
    background: #132236;
}

@media (max-width: 420px) {
    #categoriesSidebar .offcanvas-header.category-sidebar__head {
        padding: 1rem;
    }

    #categoriesSidebar .category-sidebar {
        padding: .95rem .85rem 1.2rem;
    }

    #categoriesSidebar .category-sidebar__intro {
        font-size: .88rem;
        line-height: 1.45;
    }

    #categoriesSidebar .category-sidebar__stats {
        gap: .45rem;
    }

    #categoriesSidebar .category-sidebar__stats span {
        min-height: 56px;
        padding: .55rem .42rem;
    }

    #categoriesSidebar .category-sidebar__stats strong {
        font-size: 1rem;
    }

    #categoriesSidebar .category-sidebar__stats small {
        font-size: .66rem;
    }

    #categoriesSidebar .category-sidebar__item {
        grid-template-columns: 46px minmax(0, 1fr) 34px;
        gap: .72rem;
        min-height: 72px;
        padding: .72rem .74rem;
    }

    #categoriesSidebar .category-sidebar__icon {
        width: 46px;
        height: 46px;
    }

    #categoriesSidebar .category-sidebar__copy strong {
        font-size: .9rem;
        line-height: 1.12;
    }

    #categoriesSidebar .category-sidebar__copy small {
        font-size: .7rem;
    }

    #categoriesSidebar .category-sidebar__item em {
        width: 30px;
        min-width: 30px;
        min-height: 28px;
        padding: .12rem .3rem;
        font-size: .72rem;
    }
}

/* Rayons du haut: bouton compact, clair, stable */
.nav-secondary .btn-rayons {
    display: inline-grid !important;
    grid-template-columns: 30px auto minmax(26px, auto);
    align-items: center;
    gap: .48rem;
    min-height: 40px;
    padding: .28rem .48rem .28rem .36rem !important;
    border: 1px solid rgba(255, 255, 255, .22) !important;
    border-radius: 8px !important;
    background: linear-gradient(135deg, #f5a623, #ffbf47) !important;
    color: #102033 !important;
    font-weight: 950;
    box-shadow: 0 8px 18px rgba(0, 0, 0, .14) !important;
    white-space: nowrap;
}

.nav-secondary .btn-rayons__icon {
    display: inline-grid;
    width: 30px;
    height: 30px;
    place-items: center;
    border-radius: 7px;
    background: rgba(255, 255, 255, .72);
    color: #075a47;
}

.nav-secondary .btn-rayons__label {
    line-height: 1;
}

.nav-secondary .btn-rayons__count {
    display: inline-grid;
    min-width: 26px;
    height: 26px;
    place-items: center;
    padding: 0 .4rem;
    border-radius: 999px;
    background: #102033;
    color: #ffffff;
    font-size: .74rem;
    font-style: normal;
    font-weight: 950;
}

.nav-secondary .btn-rayons:hover,
.nav-secondary .btn-rayons:focus-visible {
    transform: translateY(-1px);
    background: linear-gradient(135deg, #ffb238, #ffd06d) !important;
}

.site-footer .footer-admin-tools {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: .55rem;
    margin: 1rem 0 .15rem;
}

.site-footer .footer-admin-tools a {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    min-height: 34px;
    padding: .38rem .72rem;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 999px;
    background: rgba(255, 255, 255, .06);
    color: #dbeafe;
    font-size: .82rem;
    font-weight: 900;
    text-decoration: none;
}

.site-footer .footer-admin-tools a:hover {
    background: rgba(255, 255, 255, .12);
    color: #ffffff;
}

/* Analyse site / Supabase */
.admin-area .analysis-status-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 1rem;
}

.admin-area .analysis-status-grid article,
.admin-area .analysis-panel {
    border: 1px solid #dce7ef;
    border-radius: 10px;
    background: #ffffff;
    box-shadow: 0 14px 34px rgba(11, 37, 69, .07);
}

.admin-area .analysis-status-grid article {
    display: grid;
    gap: .5rem;
    min-height: 150px;
    padding: 1.1rem;
}

.admin-area .analysis-status-grid article > span {
    display: inline-grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border-radius: 9px;
    background: #eef6ff;
    color: #0b4a7a;
}

.admin-area .analysis-status-grid strong {
    color: #0b2545;
    font-size: 1rem;
    font-weight: 950;
}

.admin-area .analysis-status-grid small {
    color: #60758a;
    font-weight: 800;
}

.admin-area .analysis-badge {
    display: inline-flex;
    width: max-content;
    align-items: center;
    min-height: 28px;
    padding: .22rem .58rem;
    border-radius: 999px;
    font-size: .76rem;
    font-weight: 950;
}

.admin-area .analysis-badge.is-ok {
    background: #e9f8ef;
    color: #107c41;
}

.admin-area .analysis-badge.is-bad {
    background: #fff1f2;
    color: #b42318;
}

.admin-area .analysis-alert {
    border-radius: 10px;
    font-weight: 750;
}

.admin-area .analysis-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.admin-area .analysis-panel--wide {
    grid-column: 1 / -1;
}

.admin-area .analysis-panel {
    padding: 1rem;
}

.admin-area .analysis-list,
.admin-area .analysis-checks,
.admin-area .analysis-table-list,
.admin-area .analysis-bottom-grid {
    display: grid;
    gap: .65rem;
}

.admin-area .analysis-list article,
.admin-area .analysis-checks article,
.admin-area .analysis-table-list article,
.admin-area .analysis-bottom-grid article {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .8rem;
    padding: .78rem .85rem;
    border: 1px solid #e2ebf2;
    border-radius: 8px;
    background: #f8fbfd;
}

.admin-area .analysis-list strong,
.admin-area .analysis-checks strong,
.admin-area .analysis-table-list strong,
.admin-area .analysis-bottom-grid strong {
    color: #0b2545;
    font-weight: 950;
}

.admin-area .analysis-list span,
.admin-area .analysis-table-list span,
.admin-area .analysis-checks small,
.admin-area .analysis-bottom-grid small {
    color: #60758a;
    font-weight: 800;
    overflow-wrap: anywhere;
}

.admin-area .analysis-checks article {
    justify-content: flex-start;
}

.admin-area .analysis-checks article > div {
    flex: 1;
    min-width: 0;
}

.admin-area .analysis-checks i {
    color: #0a8f68;
}

.admin-area .analysis-bottom-panel {
    background:
        linear-gradient(135deg, rgba(8, 143, 104, .08), rgba(11, 74, 122, .08)),
        #ffffff;
}

.admin-area .analysis-bottom-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.admin-area .analysis-bottom-grid article {
    justify-content: flex-start;
    min-height: 74px;
}

.admin-area .analysis-bottom-grid article > div {
    flex: 1;
    min-width: 0;
}

.admin-area .analysis-bottom-grid i {
    color: #0a8f68;
}

.admin-area .analysis-bottom-grid article.is-missing {
    border-color: rgba(180, 35, 24, .25);
    background: #fff8f8;
}

.admin-area .analysis-bottom-grid article.is-missing i {
    color: #b42318;
}

.admin-area .analysis-log {
    min-height: 280px;
    max-height: 420px;
    overflow: auto;
    margin: 0;
    padding: 1rem;
    border: 1px solid #e2ebf2;
    border-radius: 8px;
    background: #091827;
    color: #c9f5df;
    font-size: .82rem;
    white-space: pre-wrap;
}

html.theme-dark .admin-area .analysis-status-grid article,
html.theme-dark .admin-area .analysis-panel {
    background: #111c2b;
    border-color: rgba(255, 255, 255, .12);
}

html.theme-dark .admin-area .analysis-list article,
html.theme-dark .admin-area .analysis-checks article,
html.theme-dark .admin-area .analysis-table-list article,
html.theme-dark .admin-area .analysis-bottom-grid article {
    background: #0f1a29;
    border-color: rgba(255, 255, 255, .10);
}

html.theme-dark .admin-area .analysis-status-grid strong,
html.theme-dark .admin-area .analysis-list strong,
html.theme-dark .admin-area .analysis-checks strong,
html.theme-dark .admin-area .analysis-table-list strong,
html.theme-dark .admin-area .analysis-bottom-grid strong {
    color: #f4f8fb;
}

html.theme-dark .admin-area .analysis-bottom-panel {
    background:
        linear-gradient(135deg, rgba(20, 184, 166, .12), rgba(56, 189, 248, .10)),
        #111c2b;
}

html.theme-dark .admin-area .analysis-bottom-grid article.is-missing {
    background: rgba(180, 35, 24, .14);
    border-color: rgba(248, 113, 113, .28);
}

@media (max-width: 991.98px) {
    .admin-area .analysis-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767.98px) {
    .admin-area .analysis-bottom-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767.98px) {
    .auth-context-grid {
        grid-template-columns: 1fr;
    }

    .auth-context-side {
        padding: 18px;
        min-height: auto;
    }

    .auth-context-side .auth-security-visual--modal {
        display: none;
    }

    .auth-context-side .auth-welcome-picture--modal {
        margin-bottom: 10px;
    }

    .auth-context-side .auth-welcome-visual--modal {
        aspect-ratio: 16 / 8.5 !important;
    }

    .auth-context-side span {
        margin-top: 12px;
    }

    .auth-context-side h2 {
        margin-bottom: 4px;
        font-size: 1.2rem;
    }

    .auth-context-side p {
        display: none;
    }

    .auth-context-panel {
        padding: 18px;
    }
}

/* Auth premium */
.auth-premium-page {
    min-height: calc(100vh - 120px);
    display: grid;
    place-items: center;
    padding: clamp(28px, 5vw, 64px) 16px;
    background:
        radial-gradient(circle at 20% 10%, rgba(4, 120, 87, .12), transparent 30%),
        radial-gradient(circle at 90% 15%, rgba(9, 55, 90, .12), transparent 32%),
        linear-gradient(180deg, #f8fafc 0%, #eef5f7 100%);
}

.auth-premium-shell {
    width: min(1120px, 100%);
    display: grid;
    grid-template-columns: minmax(280px, .9fr) minmax(360px, 1fr);
    gap: 22px;
    align-items: stretch;
}

.auth-premium-aside,
.auth-premium-card {
    border: 1px solid rgba(9, 55, 90, .12);
    border-radius: 24px;
    box-shadow: 0 24px 70px rgba(6, 27, 51, .14);
}

.auth-premium-aside {
    position: relative;
    overflow: hidden;
    padding: clamp(24px, 4vw, 38px);
    background: #052b45;
    color: #ffffff;
}

.auth-premium-aside::after {
    content: "";
    position: absolute;
    inset: auto -10% -20% 20%;
    height: 220px;
    background: rgba(4, 120, 87, .22);
    border-radius: 50%;
}

.auth-premium-logo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 154px;
    height: 58px;
    margin-bottom: 30px;
    border-radius: 18px;
    background: #ffffff;
    box-shadow: 0 14px 32px rgba(0, 0, 0, .18);
}

.auth-premium-logo img {
    max-width: 128px;
    max-height: 42px;
    object-fit: contain;
}

.auth-premium-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .12);
    color: #b7f7dc;
    font-size: .78rem;
    font-weight: 950;
    text-transform: uppercase;
}

.auth-premium-aside h1 {
    position: relative;
    z-index: 1;
    margin: 18px 0 12px;
    color: #ffffff;
    font-size: clamp(2rem, 4vw, 3.25rem);
    line-height: 1.02;
    font-weight: 950;
}

.auth-premium-aside p {
    position: relative;
    z-index: 1;
    max-width: 520px;
    color: #cfe0ee;
    font-size: 1.02rem;
}

.auth-premium-benefits {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 10px;
    margin-top: 28px;
}

.auth-premium-benefits span {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    width: fit-content;
    padding: 10px 12px;
    border-radius: 14px;
    background: rgba(255, 255, 255, .1);
    color: #ffffff;
    font-weight: 800;
}

.auth-premium-benefits i {
    color: #7ee0b2;
}

.auth-premium-card {
    padding: clamp(22px, 4vw, 36px);
    background: rgba(255, 255, 255, .94);
    backdrop-filter: blur(16px);
}

.auth-premium-card__head {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 22px;
}

.auth-premium-card__head > span {
    width: 54px;
    height: 54px;
    display: grid;
    place-items: center;
    border-radius: 18px;
    background: #ecfdf5;
    color: #047857;
    font-size: 1.25rem;
}

.auth-premium-card__head h2 {
    margin: 0;
    color: #052b45;
    font-size: clamp(1.65rem, 3vw, 2.25rem);
    font-weight: 950;
}

.auth-premium-card__head p {
    margin: 2px 0 0;
    color: #64748b;
}

.auth-premium-form {
    display: grid;
    gap: 14px;
}

.auth-premium-form--grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.auth-field--wide {
    grid-column: 1 / -1;
}

.auth-field {
    display: grid;
    gap: 7px;
}

.auth-field > span,
.auth-check {
    color: #334155;
    font-size: .88rem;
    font-weight: 900;
}

.auth-field > div {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr);
    align-items: center;
    min-height: 52px;
    border: 1px solid rgba(9, 55, 90, .14);
    border-radius: 16px;
    background: #f8fafc;
    transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}

.auth-field > div:focus-within {
    border-color: #047857;
    background: #ffffff;
    box-shadow: 0 0 0 4px rgba(4, 120, 87, .12);
}

.auth-field i {
    color: #047857;
    text-align: center;
}

.auth-field input {
    width: 100%;
    border: 0;
    outline: 0;
    background: transparent;
    color: #052b45;
    font-weight: 700;
}

.auth-field input::placeholder {
    color: #94a3b8;
}

.auth-form-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.auth-check {
    display: inline-flex;
    align-items: center;
    gap: 9px;
}

.auth-check input {
    width: 18px;
    height: 18px;
    accent-color: #047857;
}

.auth-check a,
.auth-muted-link,
.auth-switch-box a {
    color: #047857;
    font-weight: 950;
    text-decoration: none;
}

.auth-submit-btn {
    min-height: 52px;
    border: 0;
    border-radius: 16px;
    background: #047857;
    color: #ffffff;
    font-weight: 950;
    box-shadow: 0 16px 30px rgba(4, 120, 87, .22);
}

.auth-submit-btn:hover {
    background: #065f46;
    color: #ffffff;
    transform: translateY(-1px);
}

.auth-switch-box {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
    padding-top: 18px;
    border-top: 1px solid rgba(9, 55, 90, .1);
    color: #64748b;
}

.auth-alert {
    border-radius: 14px;
    font-weight: 800;
}

html.theme-dark .auth-premium-page {
    background: linear-gradient(180deg, #061321 0%, #0b1724 100%);
}

html.theme-dark .auth-premium-card {
    background: rgba(14, 23, 36, .96);
    border-color: rgba(148, 163, 184, .22);
}

html.theme-dark .auth-premium-card__head h2,
html.theme-dark .auth-field input {
    color: #e5eef8;
}

html.theme-dark .auth-premium-card__head p,
html.theme-dark .auth-switch-box {
    color: #a7b7c9;
}

html.theme-dark .auth-field > div {
    background: #101d2e;
    border-color: rgba(148, 163, 184, .22);
}

/* Produit detail : produits similaires plus premium */
.similar-products {
    margin-top: 2.75rem !important;
    padding: 1.25rem !important;
    border: 1px solid #d9e5ee !important;
    border-radius: 16px !important;
    background: #f8fbfd !important;
    box-shadow: 0 16px 36px rgba(6, 27, 51, .07) !important;
}

.similar-products__head {
    display: flex !important;
    align-items: end !important;
    justify-content: space-between !important;
    gap: 1rem !important;
    margin-bottom: 1rem !important;
}

.similar-products__head span {
    display: inline-flex !important;
    align-items: center !important;
    gap: .4rem !important;
    color: #0b7a4b !important;
    font-size: .75rem !important;
    font-weight: 950 !important;
    letter-spacing: 0 !important;
    text-transform: uppercase !important;
}

.similar-products__head span::before {
    content: "\f06c";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
}

.similar-products__head h2 {
    margin: .2rem 0 0 !important;
    color: #06243f !important;
    font-size: clamp(1.25rem, 2vw, 1.75rem) !important;
    font-weight: 950 !important;
}

.similar-products__head a {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: .45rem .8rem;
    border: 1px solid #bdd5e5;
    border-radius: 999px;
    background: #fff;
    color: #06365f;
    font-size: .82rem;
    font-weight: 900;
    text-decoration: none;
}

.similar-products__actions {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
}

.similar-scroll-btn {
    display: inline-grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border: 1px solid #bdd5e5;
    border-radius: 50%;
    background: #fff;
    color: #06365f;
    box-shadow: 0 8px 18px rgba(6, 27, 51, .08);
    transition: transform .18s ease, border-color .18s ease, background .18s ease;
}

.similar-scroll-btn:hover {
    transform: translateY(-2px);
    border-color: #0b7a4b;
    background: #ecfdf5;
    color: #0b7a4b;
}

.similar-products__rail {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 260px;
    gap: 1rem;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scroll-snap-type: inline mandatory;
    scroll-padding-inline: .25rem;
    padding: .25rem .15rem .75rem;
    scrollbar-width: thin;
    scrollbar-color: #9fc9b8 transparent;
}

.similar-products__rail::-webkit-scrollbar {
    height: 8px;
}

.similar-products__rail::-webkit-scrollbar-thumb {
    border-radius: 999px;
    background: #9fc9b8;
}

.similar-product-card {
    position: relative !important;
    display: grid !important;
    grid-template-rows: 152px 154px !important;
    width: 260px !important;
    height: 306px !important;
    min-height: 306px !important;
    overflow: hidden !important;
    border: 1px solid #d9e5ee !important;
    border-radius: 14px !important;
    background: #fff !important;
    box-shadow: 0 10px 24px rgba(6, 27, 51, .07) !important;
    text-decoration: none !important;
    scroll-snap-align: start;
    animation: similarFloatUp 4.8s ease-in-out infinite;
}

.similar-product-card:nth-child(even) {
    animation-name: similarFloatDown;
    animation-delay: .35s;
}

.similar-product-card:nth-child(3n) {
    animation-delay: .7s;
}

.similar-product-card:hover {
    transform: translateY(-3px) !important;
    border-color: #a9d4c0 !important;
    box-shadow: 0 18px 34px rgba(6, 27, 51, .11) !important;
    animation-play-state: paused;
}

.similar-product-card__image {
    aspect-ratio: auto !important;
    width: 100% !important;
    height: 152px !important;
    min-height: 0 !important;
    background: #f3f8f5 !important;
    color: #0b7a4b !important;
}

.similar-product-card__image img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    padding: 0 !important;
}

.similar-product-card__body {
    display: grid !important;
    grid-template-rows: auto 1fr auto !important;
    align-content: stretch !important;
    gap: .45rem !important;
    padding: .85rem !important;
    background: #fff !important;
}

.similar-product-card__body strong {
    display: -webkit-box !important;
    min-height: 40px !important;
    overflow: hidden !important;
    color: #06243f !important;
    font-size: .92rem !important;
    font-weight: 950 !important;
    line-height: 1.35 !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
}

.similar-product-card__body small {
    display: -webkit-box !important;
    min-height: 38px !important;
    overflow: hidden !important;
    color: #60758d !important;
    font-size: .76rem !important;
    font-weight: 800 !important;
    line-height: 1.35 !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
}

.similar-product-card__body em {
    justify-self: start !important;
    padding: .35rem .65rem !important;
    border-radius: 999px !important;
    background: #ecfdf5 !important;
    color: #0b7a4b !important;
    font-size: .9rem !important;
    font-style: normal !important;
    font-weight: 950 !important;
}

html.theme-dark .similar-products,
html.theme-dark .similar-product-card,
html.theme-dark .similar-products__head a {
    background: #0d253c !important;
    border-color: rgba(255, 255, 255, .14) !important;
}

html.theme-dark .similar-products__head h2,
html.theme-dark .similar-product-card__body strong,
html.theme-dark .similar-products__head a {
    color: #f4fbff !important;
}

html.theme-dark .similar-scroll-btn {
    background: #102b46 !important;
    border-color: rgba(255, 255, 255, .16) !important;
    color: #f4fbff !important;
}

html.theme-dark .similar-product-card__image {
    background: #102b46 !important;
}

html.theme-dark .similar-product-card__body {
    background: #0d253c !important;
}

@media (max-width: 575.98px) {
    .similar-products {
        padding: .85rem !important;
    }

    .similar-products__head {
        align-items: flex-start !important;
        flex-direction: column !important;
    }

    .similar-products__actions {
        width: 100%;
    }

    .similar-products__actions a {
        margin-left: auto;
    }

    .similar-products__rail {
        grid-auto-columns: 178px;
        gap: .75rem;
    }

    .similar-product-card {
        grid-template-rows: 106px 142px !important;
        width: 178px !important;
        height: 248px !important;
        min-height: 248px !important;
        border-radius: 12px !important;
    }

    .similar-product-card__image {
        height: 106px !important;
    }

    .similar-product-card__body {
        padding: .65rem !important;
    }

    .similar-product-card__body strong {
        min-height: 38px !important;
        font-size: .8rem !important;
    }

    .similar-product-card__body small {
        min-height: 34px !important;
        font-size: .7rem !important;
    }

    .similar-product-card__body em {
        padding: .28rem .5rem !important;
        font-size: .78rem !important;
    }
}

@keyframes similarFloatUp {
    0%, 100% {
        translate: 0 0;
    }
    50% {
        translate: 0 -8px;
    }
}

@keyframes similarFloatDown {
    0%, 100% {
        translate: 0 0;
    }
    50% {
        translate: 0 8px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .similar-product-card {
        animation: none !important;
    }
}

/* Page detail commande client + commentaires */
.order-detail-page {
    color: #06243f;
}

.order-detail-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 1rem;
    align-items: end;
    padding: 1.25rem;
    margin-bottom: 1.25rem;
    border: 1px solid #d9e5ee;
    border-radius: 16px;
    background: #f8fbfd;
    box-shadow: 0 16px 36px rgba(6, 27, 51, .07);
}

.order-back-link,
.order-kicker {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    color: #0b7a4b;
    font-size: .82rem;
    font-weight: 900;
    text-decoration: none;
}

.order-kicker {
    display: flex;
    margin-top: .8rem;
    text-transform: uppercase;
}

.order-detail-hero h1 {
    margin: .2rem 0;
    color: #06243f;
    font-weight: 950;
}

.order-detail-hero p {
    margin: 0;
    color: #60758d;
}

.order-detail-hero aside {
    min-width: 190px;
    padding: 1rem;
    border-radius: 14px;
    background: #fff;
    border: 1px solid #dce8f0;
}

.order-detail-hero aside small,
.order-detail-hero aside strong,
.order-detail-hero aside span {
    display: block;
}

.order-detail-hero aside strong {
    color: #0b7a4b;
    font-size: 1.35rem;
}

.order-detail-hero aside span {
    margin-top: .4rem;
    color: #06365f;
    font-weight: 900;
}

.order-detail-grid,
.order-comment-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(280px, .75fr);
    gap: 1rem;
}

.order-detail-panel {
    padding: 1rem;
    border: 1px solid #d9e5ee;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 12px 28px rgba(6, 27, 51, .06);
}

.order-detail-panel__head {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
    padding-bottom: .75rem;
    border-bottom: 1px solid #edf3f7;
}

.order-detail-panel__head h2 {
    margin: 0;
    color: #06243f;
    font-size: 1.05rem;
    font-weight: 950;
}

.order-detail-panel__head span {
    color: #60758d;
    font-size: .82rem;
    font-weight: 800;
}

.order-item-list,
.order-comment-list {
    display: grid;
    gap: .75rem;
}

.order-item-card {
    display: grid;
    grid-template-columns: 58px minmax(0, 1fr) auto;
    gap: .75rem;
    align-items: center;
    padding: .75rem;
    border: 1px solid #e1ebf2;
    border-radius: 12px;
    background: #f8fbfd;
}

.order-item-card > span {
    display: grid;
    place-items: center;
    width: 58px;
    height: 58px;
    overflow: hidden;
    border-radius: 12px;
    background: #ecfdf5;
    color: #0b7a4b;
}

.order-item-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.order-item-card strong,
.order-item-card small,
.order-item-card em {
    display: block;
}

.order-item-card em {
    color: #0b7a4b;
    font-style: normal;
    font-weight: 950;
}

.order-info-list {
    display: grid;
    gap: .65rem;
}

.order-info-list p {
    display: grid;
    grid-template-columns: 28px minmax(0, .65fr) minmax(0, 1fr);
    gap: .55rem;
    align-items: start;
    margin: 0;
    padding: .65rem;
    border-radius: 10px;
    background: #f8fbfd;
}

.order-info-list i {
    color: #0b7a4b;
}

.order-info-list span {
    color: #60758d;
    font-size: .8rem;
    font-weight: 900;
}

.order-info-list strong {
    color: #06243f;
    font-size: .86rem;
}

.order-comment-form {
    display: grid;
    gap: .75rem;
}

.order-comment-form textarea {
    resize: vertical;
    min-height: 130px;
}

.order-comment-form .btn {
    justify-self: start;
}

.order-comment-list article,
.order-comment-admin {
    display: grid;
    gap: .45rem;
    padding: .85rem;
    border: 1px solid #dce8f0;
    border-radius: 12px;
    background: #f8fbfd;
}

.order-comment-list article div,
.order-comment-admin div {
    display: flex;
    justify-content: space-between;
    gap: .75rem;
}

.order-comment-list article em,
.order-comment-admin em {
    justify-self: start;
    padding: .25rem .55rem;
    border-radius: 999px;
    background: #ecfdf5;
    color: #0b7a4b;
    font-style: normal;
    font-weight: 950;
}

.order-comment-list article p,
.order-comment-admin p {
    margin: 0;
    color: #253f58;
}

.order-comment-admin-list {
    display: grid;
    gap: .7rem;
}

/* Admin commandes: tableau commentaires clients */
.order-comments-board {
    border: 1px solid rgba(10, 58, 92, 0.12);
    border-radius: 16px;
    overflow: hidden;
}

.order-comments-board .admin-section-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 18px;
}

.order-comments-board .admin-section-head h2 {
    margin: 4px 0 6px;
    color: #052b45;
    font-size: clamp(1.25rem, 2vw, 1.75rem);
    font-weight: 900;
}

.order-comments-board .admin-section-head p {
    margin: 0;
    color: #64748b;
    max-width: 720px;
}

.order-comments-filters {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 10px;
    min-width: min(100%, 460px);
}

.order-comments-filters .form-select {
    width: 155px;
    border-radius: 12px;
    border-color: rgba(10, 58, 92, 0.18);
    font-weight: 700;
}

.order-comments-stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 18px;
}

.order-comments-stats article {
    background: #f8fafc;
    border: 1px solid rgba(10, 58, 92, 0.1);
    border-radius: 14px;
    padding: 14px 16px;
}

.order-comments-stats span {
    display: block;
    color: #64748b;
    font-size: .78rem;
    font-weight: 800;
    text-transform: uppercase;
}

.order-comments-stats strong {
    display: block;
    margin-top: 4px;
    color: #052b45;
    font-size: 1.4rem;
    font-weight: 950;
}

.order-comments-table-wrap {
    border: 1px solid rgba(10, 58, 92, 0.1);
    border-radius: 14px;
    max-height: 520px;
    overflow: auto;
}

.order-comments-table {
    min-width: 1120px;
    margin: 0;
}

.order-comments-table thead th {
    position: sticky;
    top: 0;
    z-index: 2;
    background: #052b45;
    color: #ffffff;
    border: 0;
    font-size: .78rem;
    letter-spacing: .02em;
    text-transform: uppercase;
}

.order-comments-table tbody td {
    border-color: rgba(10, 58, 92, 0.1);
    color: #06243a;
    vertical-align: top;
}

.order-comments-products {
    max-width: 220px;
    color: #475569;
    font-size: .92rem;
}

.order-comment-text {
    min-width: 260px;
    max-width: 420px;
    line-height: 1.55;
}

.order-rating-pill,
.order-comment-status {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    border-radius: 999px;
    padding: 7px 10px;
    font-size: .82rem;
    font-weight: 900;
    white-space: nowrap;
}

.order-rating-pill {
    color: #92400e;
    background: #fffbeb;
    border: 1px solid #fde68a;
}

.order-rating-pill i {
    color: #f59e0b;
}

.order-comment-status.is-visible {
    color: #047857;
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
}

.order-comment-status.is-hidden {
    color: #9f1239;
    background: #fff1f2;
    border: 1px solid #fecdd3;
}

.comment-muted-row {
    opacity: .72;
}

.order-comments-empty {
    min-height: 180px;
    display: grid;
    place-items: center;
    text-align: center;
    gap: 6px;
    color: #64748b;
}

.order-comments-empty i {
    width: 54px;
    height: 54px;
    display: inline-grid;
    place-items: center;
    border-radius: 16px;
    color: #047857;
    background: #ecfdf5;
    font-size: 1.4rem;
}

.order-comments-empty strong {
    color: #052b45;
    font-size: 1.05rem;
}

/* Commentaires clients sur fiche produit */
.product-comments-section {
    margin-top: 28px;
    padding: clamp(18px, 3vw, 28px);
    border: 1px solid rgba(10, 58, 92, .12);
    border-radius: 18px;
    background: #ffffff;
    box-shadow: 0 18px 44px rgba(10, 58, 92, .08);
}

.product-comments-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 18px;
}

.product-comments-head span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #047857;
    font-size: .8rem;
    font-weight: 950;
    text-transform: uppercase;
}

.product-comments-head h2 {
    margin: 6px 0;
    color: #052b45;
    font-size: clamp(1.45rem, 2.4vw, 2.15rem);
    font-weight: 950;
}

.product-comments-head p {
    margin: 0;
    max-width: 720px;
    color: #64748b;
}

.product-comments-head aside {
    min-width: 128px;
    padding: 12px 16px;
    border-radius: 16px;
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
    text-align: center;
}

.product-comments-head aside strong {
    display: block;
    color: #047857;
    font-size: 1.45rem;
    font-weight: 950;
}

.product-comments-head aside small {
    color: #35536d;
    font-weight: 800;
}

.product-comments-grid {
    display: grid;
    grid-template-columns: minmax(280px, 380px) minmax(0, 1fr);
    gap: 18px;
    align-items: start;
}

.product-comment-form,
.product-comment-card,
.product-comments-empty {
    border: 1px solid rgba(10, 58, 92, .12);
    border-radius: 16px;
    background: #f8fafc;
}

.product-comment-form {
    display: grid;
    gap: 12px;
    padding: 16px;
}

.product-comment-form h3 {
    margin: 0;
    color: #052b45;
    font-size: 1.05rem;
    font-weight: 950;
}

.product-comment-form .form-select,
.product-comment-form .form-control {
    border-radius: 12px;
    border-color: rgba(10, 58, 92, .16);
}

.product-comment-form textarea {
    min-height: 132px;
    resize: vertical;
}

.product-comments-list {
    display: grid;
    gap: 12px;
    max-height: 560px;
    overflow: auto;
    padding-right: 4px;
}

.product-comment-card {
    display: grid;
    gap: 8px;
    padding: 16px;
}

.product-comment-card div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.product-comment-card strong {
    color: #052b45;
    font-weight: 950;
}

.product-comment-card small {
    color: #64748b;
    font-weight: 700;
}

.product-comment-card em {
    justify-self: start;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    border-radius: 999px;
    background: #fffbeb;
    color: #92400e;
    border: 1px solid #fde68a;
    font-style: normal;
    font-weight: 950;
}

.product-comment-card em i {
    color: #f59e0b;
}

.product-comment-card p {
    margin: 0;
    color: #253f58;
    line-height: 1.65;
}

.product-comments-empty {
    min-height: 220px;
    display: grid;
    place-items: center;
    text-align: center;
    gap: 8px;
    color: #64748b;
    padding: 24px;
}

.product-comments-empty i {
    width: 58px;
    height: 58px;
    display: grid;
    place-items: center;
    border-radius: 18px;
    background: #ecfdf5;
    color: #047857;
    font-size: 1.45rem;
}

.product-comments-empty strong {
    color: #052b45;
    font-size: 1.05rem;
}

.product-comments-section--social {
    margin-top: 22px;
}

.product-comments-social-layout {
    display: grid;
    gap: 14px;
}

.product-comment-form--facebook {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr);
    align-items: start;
    gap: 10px;
    padding: 14px;
    background: #ffffff;
    border-color: rgba(10, 58, 92, .1);
    box-shadow: 0 10px 26px rgba(10, 58, 92, .06);
}

.product-comment-avatar {
    width: 42px;
    height: 42px;
    display: inline-grid;
    place-items: center;
    flex: 0 0 42px;
    border-radius: 999px;
    background: #e9eef5;
    color: #052b45;
    font-size: 1rem;
}

.product-comment-compose {
    display: grid;
    gap: 10px;
}

.product-comment-form--facebook textarea {
    min-height: 46px;
    border: 0;
    border-radius: 22px;
    background: #f0f2f5;
    padding: 12px 16px;
    resize: vertical;
}

.product-comment-form--facebook textarea:focus {
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(4, 120, 87, .14);
}

.product-comment-login {
    display: block;
    padding: 12px 16px;
    border-radius: 999px;
    background: #f0f2f5;
    color: #52616f;
    font-weight: 800;
    text-decoration: none;
}

.product-comment-login:hover {
    color: #047857;
    background: #ecfdf5;
}

.product-comment-compose__bar {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
}

.product-comment-compose__bar .form-select {
    width: 110px;
    border-radius: 999px;
    background-color: #f8fafc;
    font-weight: 800;
}

.product-comment-compose__bar .btn {
    border-radius: 999px;
    font-weight: 900;
}

.product-comments-list--facebook {
    max-height: none;
    padding-right: 0;
}

.product-comment-card--facebook {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 0;
    border: 0;
    background: transparent;
}

.product-comment-bubble {
    min-width: 0;
}

.product-comment-bubble > div {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    max-width: 100%;
    padding: 10px 14px;
    border-radius: 18px;
    background: #f0f2f5;
}

.product-comment-bubble strong {
    color: #052b45;
    font-size: .92rem;
    font-weight: 950;
}

.product-comment-bubble em {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-left: 2px;
    color: #92400e;
    font-size: .78rem;
    font-style: normal;
    font-weight: 900;
}

.product-comment-bubble em i {
    color: #f59e0b;
}

.product-comment-bubble p {
    width: 100%;
    margin: 5px 0 0;
    color: #1f2937;
    line-height: 1.5;
}

.product-comment-bubble small {
    display: block;
    margin: 4px 0 0 14px;
    color: #64748b;
    font-size: .78rem;
    font-weight: 700;
}

html.theme-dark .product-comment-form--facebook {
    background: #0e1724;
}

html.theme-dark .product-comment-avatar,
html.theme-dark .product-comment-form--facebook textarea,
html.theme-dark .product-comment-login,
html.theme-dark .product-comment-bubble > div {
    background: #162235;
    color: #dbeafe;
}

html.theme-dark .product-comment-bubble p,
html.theme-dark .product-comment-bubble strong {
    color: #e5eef8;
}

html.theme-dark .product-comment-bubble small {
    color: #a7b7c9;
}

/* Boutique: pagination AJAX sans recharger toute la page */
#shop-products-dynamic,
.shop-page-content {
    position: relative;
    transition: opacity .2s ease, transform .2s ease, filter .2s ease;
}

#shop-products-dynamic.shop-products-loading,
.shop-page-content.shop-products-loading {
    opacity: .56;
    transform: translateY(6px);
    filter: saturate(.9);
    pointer-events: none;
}

.shop-page-content.shop-products-loading::after,
#shop-products-dynamic.shop-products-loading::after {
    content: "Chargement des produits...";
    position: absolute;
    inset: 74px auto auto 50%;
    z-index: 20;
    transform: translateX(-50%);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 18px;
    border: 1px solid rgba(9, 55, 90, .16);
    border-radius: 999px;
    background: #ffffff;
    color: #052b45;
    font-weight: 900;
    box-shadow: 0 18px 40px rgba(6, 27, 51, .16);
}

.shop-pagination-nav .pagination {
    gap: 10px;
}

.shop-pagination-nav .page-link {
    min-width: 48px;
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #c9ddec;
    border-radius: 14px !important;
    background: #ffffff;
    color: #052b45;
    font-weight: 950;
    box-shadow: 0 10px 22px rgba(6, 27, 51, .06);
    transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}

.shop-pagination-nav .page-link:hover {
    transform: translateY(-2px);
    background: #ecfdf5;
    color: #047857;
    box-shadow: 0 14px 28px rgba(4, 120, 87, .14);
}

.shop-pagination-nav .page-item.active .page-link {
    border-color: #1f5aa6;
    background: #1f5aa6;
    color: #ffffff;
    box-shadow: 0 14px 28px rgba(31, 90, 166, .24);
}

.shop-service-toggle {
    width: calc(100% - 24px);
    margin: 12px auto 0;
    min-height: 48px;
    display: none;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    border: 1px solid rgba(9, 55, 90, .14);
    border-radius: 14px;
    background: #ffffff;
    color: #052b45;
    font-weight: 950;
    box-shadow: 0 10px 24px rgba(6, 27, 51, .08);
}

.shop-service-toggle span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.shop-service-toggle[aria-expanded="true"] > i {
    transform: rotate(180deg);
}

.shop-service-toggle > i {
    transition: transform .18s ease;
}

html.theme-dark .shop-service-toggle {
    background: #0e1724;
    border-color: rgba(148, 163, 184, .22);
    color: #e5eef8;
}

html.theme-dark #shop-products-dynamic.shop-products-loading::after,
html.theme-dark .shop-pagination-nav .page-link {
    background: #0e1724;
    border-color: rgba(148, 163, 184, .22);
    color: #e5eef8;
}

html.theme-dark .product-comments-section {
    background: #0b1320;
    border-color: rgba(148, 163, 184, .22);
}

html.theme-dark .product-comment-form,
html.theme-dark .product-comment-card,
html.theme-dark .product-comments-empty {
    background: #0e1724;
    border-color: rgba(148, 163, 184, .22);
}

html.theme-dark .product-comments-head h2,
html.theme-dark .product-comment-form h3,
html.theme-dark .product-comment-card strong,
html.theme-dark .product-comments-empty strong {
    color: #e5eef8;
}

html.theme-dark .product-comments-head p,
html.theme-dark .product-comment-card p,
html.theme-dark .product-comment-card small,
html.theme-dark .product-comments-empty {
    color: #a7b7c9;
}

html.theme-dark .order-comments-board .admin-section-head h2,
html.theme-dark .order-comments-stats strong,
html.theme-dark .order-comments-empty strong {
    color: #e5eef8;
}

html.theme-dark .order-comments-board .admin-section-head p,
html.theme-dark .order-comments-products,
html.theme-dark .order-comments-empty {
    color: #a7b7c9;
}

html.theme-dark .order-comments-stats article,
html.theme-dark .order-comments-table-wrap {
    background: #0e1724;
    border-color: rgba(148, 163, 184, 0.22);
}

html.theme-dark .order-comments-table tbody td {
    color: #dbeafe;
    border-color: rgba(148, 163, 184, 0.18);
}

html.theme-dark .order-comments-table thead th {
    background: #111827;
}

@media (max-width: 991.98px) {
    .auth-premium-shell {
        grid-template-columns: 1fr;
    }

    .auth-premium-aside {
        min-height: auto;
    }

    .auth-premium-aside h1 {
        font-size: 2rem;
    }

    .auth-premium-form--grid {
        grid-template-columns: 1fr;
    }

    .auth-form-row,
    .auth-switch-box {
        align-items: flex-start;
        flex-direction: column;
    }

    .order-detail-hero,
    .order-detail-grid,
    .order-comment-grid {
        grid-template-columns: 1fr;
    }

    .order-comments-board .admin-section-head {
        display: block;
    }

    .order-comments-filters {
        justify-content: flex-start;
        margin-top: 14px;
    }

    .order-comments-filters .form-select,
    .order-comments-filters .btn {
        width: 100%;
    }

    .order-comments-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .product-comments-head,
    .product-comments-grid {
        grid-template-columns: 1fr;
        display: grid;
    }

    .product-comments-head aside {
        width: 100%;
    }

    .product-comment-form--facebook {
        grid-template-columns: 38px minmax(0, 1fr);
    }

    .product-comment-avatar {
        width: 38px;
        height: 38px;
        flex-basis: 38px;
    }

    .product-comment-compose__bar {
        align-items: stretch;
        flex-direction: column;
    }

    .product-comment-compose__bar .form-select,
    .product-comment-compose__bar .btn {
        width: 100%;
    }
}

@media (max-width: 991.98px) {
    .shop-service-toggle {
        display: flex;
    }

    .shop-service-strip.mobile-collapsible:not(.show) {
        display: none !important;
    }

    .shop-service-strip.mobile-collapsible.show {
        display: grid !important;
    }
}

@media (max-width: 575.98px) {
    .order-detail-hero,
    .order-detail-panel {
        padding: .85rem;
    }

    .order-item-card {
        grid-template-columns: 48px minmax(0, 1fr);
    }

    .order-item-card em {
        grid-column: 2;
    }

    .order-info-list p {
        grid-template-columns: 24px minmax(0, 1fr);
    }

    .order-info-list strong {
        grid-column: 2;
    }
}

/* Chat client plus elegant et interactif */
.premium-chat-panel {
    width: min(420px, calc(100vw - 24px)) !important;
    overflow: hidden !important;
    border: 1px solid rgba(10, 80, 65, .18) !important;
    border-radius: 22px !important;
    background: #ffffff !important;
    box-shadow: 0 28px 70px rgba(6, 27, 51, .24) !important;
}

.premium-chat-panel__head {
    position: relative !important;
    gap: .85rem !important;
    padding: 1rem !important;
    background: #06243f !important;
    color: #fff !important;
}

.premium-chat-panel__head::after {
    content: "";
    position: absolute;
    inset: auto 1rem 0 1rem;
    height: 1px;
    background: rgba(255, 255, 255, .16);
}

.premium-chat-avatar {
    width: 44px !important;
    height: 44px !important;
    border-radius: 14px !important;
    background: #0b7a4b !important;
    color: #fff !important;
    box-shadow: 0 10px 22px rgba(11, 122, 75, .28) !important;
}

.premium-chat-panel__head span,
.premium-chat-panel__head strong {
    color: #fff !important;
}

.premium-chat-panel__head div > span {
    display: block !important;
    opacity: .78 !important;
    font-size: .76rem !important;
    font-weight: 900 !important;
    text-transform: uppercase !important;
}

.premium-chat-panel__head div > strong {
    display: block !important;
    font-size: .98rem !important;
    font-weight: 950 !important;
}

.premium-chat-panel__head button {
    width: 34px !important;
    height: 34px !important;
    border: 1px solid rgba(255, 255, 255, .18) !important;
    border-radius: 10px !important;
    background: rgba(255, 255, 255, .08) !important;
    color: #fff !important;
}

.premium-chat-panel__body {
    max-height: min(62vh, 560px) !important;
    padding: 1rem !important;
    background:
        linear-gradient(rgba(248, 251, 253, .96), rgba(248, 251, 253, .96)),
        radial-gradient(circle at 10px 10px, rgba(11, 122, 75, .08) 1px, transparent 1px) !important;
    background-size: auto, 22px 22px !important;
}

.premium-chat-thread {
    display: grid !important;
    gap: .65rem !important;
}

.premium-chat-message {
    width: fit-content !important;
    max-width: 88% !important;
    border: 1px solid #dbe8ef !important;
    border-radius: 16px 16px 16px 5px !important;
    background: #fff !important;
    color: #12314a !important;
    box-shadow: 0 8px 22px rgba(6, 27, 51, .07) !important;
}

.premium-chat-message--user {
    justify-self: end !important;
    border-color: #bce2ce !important;
    border-radius: 16px 16px 5px 16px !important;
    background: #eaf8f0 !important;
}

.premium-chat-quick {
    display: flex !important;
    gap: .45rem !important;
    overflow-x: auto !important;
    padding-bottom: .25rem !important;
    scrollbar-width: none !important;
}

.premium-chat-quick::-webkit-scrollbar {
    display: none;
}

.premium-chat-quick button {
    flex: 0 0 auto !important;
    border: 1px solid #cfe0eb !important;
    border-radius: 999px !important;
    background: #fff !important;
    color: #06365f !important;
    font-size: .78rem !important;
    font-weight: 900 !important;
}

.premium-chat-quick button:hover {
    border-color: #0b7a4b !important;
    background: #ecfdf5 !important;
    color: #0b7a4b !important;
}

.premium-chat-input {
    min-height: 92px !important;
    border-radius: 14px !important;
    background: #fff !important;
    box-shadow: inset 0 0 0 1px #d7e5ee !important;
}

.premium-chat-panel__foot {
    padding: .85rem 1rem 1rem !important;
    background: #fff !important;
}

.premium-chat-send {
    min-height: 44px !important;
    border-radius: 12px !important;
    background: #0b7a4b !important;
    border-color: #0b7a4b !important;
    font-weight: 950 !important;
}

html.theme-dark .premium-chat-panel,
html.theme-dark .premium-chat-panel__foot,
html.theme-dark .premium-chat-input,
html.theme-dark .premium-chat-quick button {
    background: #0d253c !important;
    border-color: rgba(255, 255, 255, .14) !important;
}

html.theme-dark .premium-chat-panel__body {
    background: #091c2e !important;
}

html.theme-dark .premium-chat-message {
    background: #102b46 !important;
    color: #f4fbff !important;
}

html.theme-dark .premium-chat-message--user {
    background: #103b32 !important;
}

@media (max-width: 575.98px) {
    .premium-chat-panel {
        right: 8px !important;
        left: 8px !important;
        bottom: 116px !important;
        width: auto !important;
        border-radius: 18px !important;
    }

    .premium-chat-panel__body {
        max-height: 58vh !important;
    }
}

/* Chat IA : version mobile plus petite */
@media (max-width: 575.98px) {
    .premium-chat-panel {
        left: auto !important;
        right: 10px !important;
        bottom: 72px !important;
        width: min(330px, calc(100vw - 20px)) !important;
        max-height: 64vh !important;
        border-radius: 14px !important;
    }

    .premium-chat-panel__head {
        grid-template-columns: 36px minmax(0, 1fr) 30px 30px !important;
        gap: .48rem !important;
        padding: .58rem .66rem !important;
    }

    .premium-chat-avatar {
        width: 36px !important;
        height: 36px !important;
        border-radius: 10px !important;
        font-size: .82rem !important;
    }

    .premium-chat-panel__head div > span {
        font-size: .62rem !important;
        line-height: 1.05 !important;
    }

    .premium-chat-panel__head div > strong {
        font-size: .78rem !important;
        line-height: 1.12 !important;
    }

    .premium-chat-panel__head div > small {
        margin-top: .1rem !important;
        font-size: .62rem !important;
    }

    .premium-chat-panel__head button {
        width: 30px !important;
        height: 30px !important;
        border-radius: 9px !important;
        font-size: .78rem !important;
    }

    .premium-chat-panel__body {
        max-height: calc(64vh - 132px) !important;
        padding: .58rem .62rem !important;
    }

    .premium-chat-thread {
        gap: .42rem !important;
    }

    .premium-chat-message {
        max-width: 88% !important;
        padding: .5rem .58rem !important;
        border-radius: 12px 12px 12px 4px !important;
        font-size: .82rem !important;
        line-height: 1.35 !important;
    }

    .premium-chat-message--user {
        border-radius: 12px 12px 4px 12px !important;
    }

    .premium-chat-time {
        font-size: .58rem !important;
    }

    .premium-chat-answer {
        gap: .24rem !important;
    }

    .premium-chat-answer strong,
    .premium-chat-answer p {
        font-size: .82rem !important;
        line-height: 1.35 !important;
    }

    .premium-chat-thinking {
        min-width: min(250px, 86%) !important;
    }

    .premium-chat-thinking__head > i {
        width: 24px !important;
        height: 24px !important;
        border-radius: 8px !important;
        font-size: .72rem !important;
    }

    .premium-chat-thinking__head strong {
        font-size: .75rem !important;
    }

    .premium-chat-thinking__steps {
        margin-top: .38rem !important;
        font-size: .66rem !important;
    }

    .premium-chat-quick {
        gap: .35rem !important;
        margin-top: .48rem !important;
        padding-bottom: .12rem !important;
    }

    .premium-chat-quick button,
    .premium-chat-suggestions button {
        min-height: 30px !important;
        padding: .32rem .5rem !important;
        border-radius: 8px !important;
        font-size: .68rem !important;
        gap: .25rem !important;
    }

    .premium-chat-input {
        min-height: 58px !important;
        margin-top: .48rem !important;
        border-radius: 10px !important;
        font-size: .82rem !important;
        padding: .5rem .58rem !important;
    }

    .premium-chat-hint {
        display: none !important;
    }

    .premium-chat-panel__foot {
        padding: .48rem .62rem .62rem !important;
    }

    .premium-chat-send {
        min-height: 38px !important;
        border-radius: 10px !important;
        font-size: .78rem !important;
    }
}

@media (max-width: 390px) {
    .premium-chat-panel {
        right: 8px !important;
        width: min(305px, calc(100vw - 16px)) !important;
        max-height: 60vh !important;
    }

    .premium-chat-panel__body {
        max-height: calc(60vh - 124px) !important;
    }

    .premium-chat-message {
        font-size: .78rem !important;
        padding: .44rem .52rem !important;
    }
}

/* Fiche produit : blocs retractables sur mobile */
.product-mobile-accordion__toggle,
.product-detail-block__head {
    display: none;
}

.product-mobile-accordion__body {
    display: contents;
}

.product-detail-block--collapsible {
    gap: .95rem !important;
}

.product-detail-block__head {
    width: 100%;
    border: 0;
    background: transparent;
    color: inherit;
    text-align: left;
}

.product-detail-block__head h2 {
    margin: 0 !important;
}

@media (max-width: 767.98px) {
    .product-trust-grid.product-mobile-accordion,
    .product-detail-highlights.product-mobile-accordion {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: .55rem !important;
        padding: .72rem !important;
        border: 1px solid #d8e6ef !important;
        border-radius: 14px !important;
        background: #ffffff !important;
        box-shadow: 0 8px 22px rgba(6, 27, 51, .06) !important;
    }

    .product-mobile-accordion__toggle,
    .product-detail-block__head {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        gap: .7rem !important;
        min-height: 38px !important;
        padding: 0 !important;
        font-weight: 950 !important;
        color: #082b4c !important;
    }

    .product-mobile-accordion__toggle {
        border: 0 !important;
        background: transparent !important;
    }

    .product-mobile-accordion__toggle span,
    .product-detail-block__head span {
        display: inline-flex !important;
        align-items: center !important;
        gap: .55rem !important;
    }

    .product-mobile-accordion__toggle i,
    .product-detail-block__head > i {
        color: #087a4a !important;
        transition: transform .2s ease !important;
    }

    .product-mobile-accordion__body {
        display: grid !important;
        gap: .55rem !important;
        overflow: hidden !important;
        max-height: 480px !important;
        opacity: 1 !important;
        transition: max-height .26s ease, opacity .2s ease, margin .2s ease !important;
    }

    .product-mobile-accordion.is-collapsed .product-mobile-accordion__body,
    .product-detail-block--collapsible.is-collapsed .product-mobile-accordion__body {
        max-height: 0 !important;
        opacity: 0 !important;
        margin: 0 !important;
    }

    .product-mobile-accordion.is-collapsed .product-mobile-accordion__toggle > i,
    .product-detail-block--collapsible.is-collapsed .product-detail-block__head > i {
        transform: rotate(0deg) !important;
    }

    .product-trust-grid .product-mobile-accordion__body span,
    .product-detail-highlights .product-mobile-accordion__body article {
        margin: 0 !important;
    }

    .product-detail-block--collapsible {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: .55rem !important;
        padding: .88rem !important;
    }

    .product-detail-block--collapsible > .product-detail-block__icon {
        display: none !important;
    }

    .product-detail-block__head .product-detail-block__icon {
        display: inline-grid !important;
        flex: 0 0 36px !important;
        width: 36px !important;
        height: 36px !important;
    }

    .product-detail-block__head h2 {
        flex: 1 !important;
        font-size: 1rem !important;
    }
}

html.theme-dark .product-trust-grid.product-mobile-accordion,
html.theme-dark .product-detail-highlights.product-mobile-accordion {
    background: #102840 !important;
    border-color: rgba(255, 255, 255, .12) !important;
}

html.theme-dark .product-mobile-accordion__toggle,
html.theme-dark .product-detail-block__head {
    color: #f7fbff !important;
}

/* Mobile produit : accordions plus compacts et mieux alignes */
@media (max-width: 767.98px) {
    .product-detail-info {
        gap: .72rem !important;
    }

    .product-detail-content-col {
        min-width: 0 !important;
    }

    .product-trust-grid.product-mobile-accordion,
    .product-detail-highlights.product-mobile-accordion,
    .product-detail-block--collapsible {
        width: 100% !important;
        min-height: 58px !important;
        margin: .55rem 0 !important;
        padding: .62rem .72rem !important;
        border-radius: 12px !important;
        align-content: center !important;
    }

    .product-detail-tabs {
        gap: .7rem !important;
        margin-top: .8rem !important;
    }

    .product-mobile-accordion__toggle,
    .product-detail-block__head {
        min-height: 34px !important;
        width: 100% !important;
        gap: .55rem !important;
        line-height: 1.15 !important;
    }

    .product-mobile-accordion__toggle > span,
    .product-detail-block__head > span {
        flex: 1 1 auto !important;
        min-width: 0 !important;
    }

    .product-mobile-accordion__toggle > span {
        color: #082b4c !important;
        font-size: .9rem !important;
    }

    .product-mobile-accordion__toggle > span > i,
    .product-detail-block__head .product-detail-block__icon {
        display: inline-grid !important;
        place-items: center !important;
        flex: 0 0 34px !important;
        width: 34px !important;
        height: 34px !important;
        border: 1px solid #cfe2ec !important;
        border-radius: 9px !important;
        background: #f7fbfc !important;
        color: #087a4a !important;
        font-size: .86rem !important;
    }

    .product-mobile-accordion__toggle > i,
    .product-detail-block__head > i {
        flex: 0 0 28px !important;
        width: 28px !important;
        height: 28px !important;
        display: inline-grid !important;
        place-items: center !important;
        margin-left: auto !important;
        font-size: .82rem !important;
    }

    .product-detail-block__head h2 {
        min-width: 0 !important;
        font-size: .98rem !important;
        line-height: 1.15 !important;
    }

    .product-detail-block--collapsible .product-mobile-accordion__body {
        padding: .12rem 0 0 2.55rem !important;
    }

    .product-trust-grid.product-mobile-accordion.is-collapsed,
    .product-detail-highlights.product-mobile-accordion.is-collapsed,
    .product-detail-block--collapsible.is-collapsed {
        min-height: 54px !important;
        padding-block: .5rem !important;
    }

    .product-detail-block--collapsible.is-collapsed .product-mobile-accordion__body {
        padding-top: 0 !important;
    }

    .product-detail-block--collapsible p {
        margin: 0 !important;
        font-size: .92rem !important;
        line-height: 1.55 !important;
    }

    .product-trust-grid .product-mobile-accordion__body span,
    .product-detail-highlights .product-mobile-accordion__body article {
        min-height: 46px !important;
        padding: .62rem !important;
        border-radius: 10px !important;
    }
}

@media (max-width: 420px) {
    .product-trust-grid.product-mobile-accordion,
    .product-detail-highlights.product-mobile-accordion,
    .product-detail-block--collapsible {
        min-height: 54px !important;
        padding: .55rem .62rem !important;
    }

    .product-mobile-accordion__toggle > span > i,
    .product-detail-block__head .product-detail-block__icon {
        flex-basis: 32px !important;
        width: 32px !important;
        height: 32px !important;
    }
}

/* Version tres compacte demandee sur mobile */
@media (max-width: 767.98px) {
    .product-trust-grid.product-mobile-accordion,
    .product-detail-highlights.product-mobile-accordion,
    .product-detail-block--collapsible {
        min-height: 44px !important;
        margin: .38rem 0 !important;
        padding: .42rem .55rem !important;
        border-radius: 10px !important;
    }

    .product-trust-grid.product-mobile-accordion.is-collapsed,
    .product-detail-highlights.product-mobile-accordion.is-collapsed,
    .product-detail-block--collapsible.is-collapsed {
        min-height: 42px !important;
        padding-block: .36rem !important;
    }

    .product-mobile-accordion__toggle,
    .product-detail-block__head {
        min-height: 28px !important;
        gap: .42rem !important;
    }

    .product-mobile-accordion__toggle > span {
        gap: .42rem !important;
        font-size: .78rem !important;
    }

    .product-mobile-accordion__toggle > span > i,
    .product-detail-block__head .product-detail-block__icon {
        flex-basis: 27px !important;
        width: 27px !important;
        height: 27px !important;
        border-radius: 7px !important;
        font-size: .72rem !important;
    }

    .product-detail-block__head h2 {
        font-size: .88rem !important;
    }

    .product-mobile-accordion__toggle > i,
    .product-detail-block__head > i {
        flex-basis: 22px !important;
        width: 22px !important;
        height: 22px !important;
        font-size: .7rem !important;
    }

    .product-detail-tabs {
        gap: .48rem !important;
        margin-top: .55rem !important;
    }

    .product-detail-block--collapsible .product-mobile-accordion__body {
        padding-left: 2.05rem !important;
    }

    .product-detail-block--collapsible p {
        font-size: .84rem !important;
        line-height: 1.42 !important;
    }

    .product-trust-grid .product-mobile-accordion__body span,
    .product-detail-highlights .product-mobile-accordion__body article {
        min-height: 38px !important;
        padding: .45rem !important;
        border-radius: 8px !important;
        font-size: .76rem !important;
    }
}

@media (max-width: 420px) {
    .product-trust-grid.product-mobile-accordion,
    .product-detail-highlights.product-mobile-accordion,
    .product-detail-block--collapsible {
        min-height: 40px !important;
        padding: .34rem .48rem !important;
    }

    .product-trust-grid.product-mobile-accordion.is-collapsed,
    .product-detail-highlights.product-mobile-accordion.is-collapsed,
    .product-detail-block--collapsible.is-collapsed {
        min-height: 38px !important;
    }
}

/* Securite : visuel confiance dans les espaces connexion */
.auth-security-visual {
    width: min(210px, 72%) !important;
    aspect-ratio: 1 !important;
    object-fit: cover !important;
    border-radius: 50% !important;
    margin: .6rem 0 .9rem !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: 0 18px 36px rgba(2, 18, 34, .16) !important;
}

.auth-security-visual--modal {
    width: min(150px, 62%) !important;
    border-radius: 50% !important;
    margin: .35rem 0 .65rem !important;
}

@media (max-width: 767.98px) {
    .auth-security-visual {
        width: 96px !important;
        border-radius: 50% !important;
        margin: .35rem auto .55rem !important;
    }
}

/* Pages confiance : a propos, aide, livraison, retours, conditions */
.trust-page {
    background: #f5f8fb;
    color: #08233f;
    padding-bottom: 3rem;
}

.trust-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(260px, 360px);
    gap: 1.2rem;
    align-items: stretch;
    padding: clamp(1.2rem, 3vw, 2.6rem);
    margin: 0 auto 1.4rem;
    max-width: 1240px;
}

.trust-hero > div,
.trust-hero-card,
.trust-section,
.trust-story,
.trust-text-panel,
.terms-summary {
    border: 1px solid #dce7ef;
    border-radius: 16px;
    background: #ffffff;
    box-shadow: 0 16px 38px rgba(8, 35, 63, .08);
}

.trust-hero > div {
    padding: clamp(1.1rem, 3vw, 2rem);
}

.trust-kicker,
.trust-section-head span {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    color: #087a4a;
    font-size: .78rem;
    font-weight: 950;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.trust-hero h1 {
    max-width: 820px;
    margin: .75rem 0 .75rem;
    color: #08233f;
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 950;
    line-height: 1.03;
}

.trust-hero p,
.trust-story p,
.trust-text-panel p {
    color: #516b83;
    font-size: 1rem;
    line-height: 1.75;
}

.trust-actions {
    display: flex;
    flex-wrap: wrap;
    gap: .65rem;
    margin-top: 1.1rem;
}

.trust-actions .btn {
    border-radius: 10px;
    font-weight: 900;
}

.trust-hero-card {
    display: grid;
    align-content: center;
    gap: .65rem;
    padding: 1.2rem;
}

.trust-hero-card > i {
    display: inline-grid;
    place-items: center;
    width: 54px;
    height: 54px;
    border-radius: 14px;
    background: #e9f8f0;
    color: #087a4a;
    font-size: 1.4rem;
}

.trust-hero-card img {
    width: 92px;
    height: 92px;
    object-fit: contain;
    border-radius: 50%;
}

.trust-hero-card strong {
    color: #08233f;
    font-size: 1.05rem;
    font-weight: 950;
}

.trust-hero-card span {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    color: #516b83;
    font-weight: 800;
}

.trust-section,
.trust-story,
.trust-text-panel,
.terms-layout {
    max-width: 1180px;
    margin: 1rem auto;
}

.trust-section,
.trust-story,
.trust-text-panel {
    padding: clamp(1rem, 2.4vw, 1.6rem);
}

.trust-section-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}

.trust-section-head h2,
.trust-story h2,
.trust-text-panel h2 {
    margin: .2rem 0 0;
    color: #08233f;
    font-size: clamp(1.35rem, 2.3vw, 2.1rem);
    font-weight: 950;
}

.trust-card-grid,
.trust-steps,
.trust-numbers {
    display: grid;
    gap: .9rem;
}

.trust-card-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    max-width: 1180px;
    margin: 1rem auto;
}

.trust-card,
.trust-link-card,
.trust-steps article,
.trust-numbers article {
    border: 1px solid #dce7ef;
    border-radius: 14px;
    background: #ffffff;
    padding: 1rem;
    box-shadow: 0 12px 28px rgba(8, 35, 63, .06);
}

.trust-card > i,
.trust-link-card > i {
    display: inline-grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 11px;
    background: #e9f8f0;
    color: #087a4a;
}

.trust-card h3,
.trust-link-card strong {
    display: block;
    margin: .7rem 0 .35rem;
    color: #08233f;
    font-size: 1.02rem;
    font-weight: 950;
}

.trust-card p,
.trust-link-card span,
.trust-steps p {
    margin: 0;
    color: #5b738a;
    line-height: 1.6;
}

.trust-link-card {
    text-decoration: none;
    transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.trust-link-card:hover {
    transform: translateY(-3px);
    border-color: #9ed8bd;
    box-shadow: 0 18px 34px rgba(8, 122, 74, .12);
}

.trust-steps {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.trust-steps article span,
.trust-text-panel > span {
    display: inline-grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border-radius: 9px;
    background: #08233f;
    color: #fff;
    font-weight: 950;
}

.trust-steps strong {
    display: block;
    margin: .7rem 0 .35rem;
    color: #08233f;
    font-weight: 950;
}

.trust-story {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(240px, .7fr);
    gap: 1rem;
}

.trust-numbers {
    grid-template-columns: 1fr;
}

.trust-numbers strong {
    display: block;
    color: #087a4a;
    font-size: 1.55rem;
    font-weight: 950;
}

.terms-layout {
    display: grid;
    grid-template-columns: 260px minmax(0, 1fr);
    gap: 1rem;
}

.terms-summary {
    position: sticky;
    top: 88px;
    align-self: start;
    display: grid;
    gap: .4rem;
    padding: 1rem;
}

.terms-summary strong {
    color: #08233f;
    font-weight: 950;
}

.terms-summary a {
    display: inline-flex;
    gap: .45rem;
    align-items: center;
    color: #516b83;
    text-decoration: none;
    font-weight: 850;
    padding: .45rem .5rem;
    border-radius: 8px;
}

.terms-summary a:hover {
    background: #e9f8f0;
    color: #087a4a;
}

.terms-list {
    display: grid;
    gap: .8rem;
}

html.theme-dark .trust-page {
    background: #081827;
}

html.theme-dark .trust-hero > div,
html.theme-dark .trust-hero-card,
html.theme-dark .trust-section,
html.theme-dark .trust-story,
html.theme-dark .trust-text-panel,
html.theme-dark .terms-summary,
html.theme-dark .trust-card,
html.theme-dark .trust-link-card,
html.theme-dark .trust-steps article,
html.theme-dark .trust-numbers article {
    background: #102840;
    border-color: rgba(255, 255, 255, .12);
}

html.theme-dark .trust-hero h1,
html.theme-dark .trust-hero-card strong,
html.theme-dark .trust-section-head h2,
html.theme-dark .trust-story h2,
html.theme-dark .trust-text-panel h2,
html.theme-dark .trust-card h3,
html.theme-dark .trust-link-card strong,
html.theme-dark .trust-steps strong,
html.theme-dark .terms-summary strong {
    color: #f8fbff;
}

html.theme-dark .trust-hero p,
html.theme-dark .trust-story p,
html.theme-dark .trust-text-panel p,
html.theme-dark .trust-card p,
html.theme-dark .trust-link-card span,
html.theme-dark .trust-steps p,
html.theme-dark .trust-hero-card span,
html.theme-dark .terms-summary a {
    color: #c4d5e4;
}

@media (max-width: 991.98px) {
    .trust-hero,
    .trust-story,
    .terms-layout {
        grid-template-columns: 1fr;
    }

    .trust-card-grid,
    .trust-steps {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .terms-summary {
        position: static;
    }
}

@media (max-width: 575.98px) {
    .trust-page {
        padding-bottom: 1.5rem;
    }

    .trust-hero {
        gap: .75rem;
        padding: .75rem;
        margin-bottom: .7rem;
    }

    .trust-hero > div,
    .trust-hero-card,
    .trust-section,
    .trust-story,
    .trust-text-panel,
    .terms-summary,
    .trust-card,
    .trust-link-card,
    .trust-steps article {
        border-radius: 12px;
        padding: .85rem;
    }

    .trust-hero h1 {
        font-size: 1.65rem;
    }

    .trust-hero p,
    .trust-story p,
    .trust-text-panel p {
        font-size: .9rem;
        line-height: 1.55;
    }

    .trust-card-grid,
    .trust-steps {
        grid-template-columns: 1fr;
        gap: .6rem;
        margin: .7rem;
    }

    .trust-section,
    .trust-story,
    .trust-text-panel,
    .terms-layout {
        margin: .7rem;
    }

    .trust-actions .btn {
        width: 100%;
    }
}

html.theme-dark .btn-outline-dark,
html.theme-dark .btn-outline-secondary {
    color: #f4fbff !important;
    border-color: rgba(255, 255, 255, 0.28) !important;
}

html.theme-dark .alert-info,
html.theme-dark .alert-light,
html.theme-dark .alert-warning {
    background: #12314f !important;
    color: #f4fbff !important;
    border-color: rgba(255, 255, 255, 0.14) !important;
}

html.theme-dark .dropdown-menu .dropdown-item:hover,
html.theme-dark .dropdown-menu .dropdown-item:focus {
    background: #153653 !important;
    color: #fff !important;
}

.formation-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(260px, 390px);
    gap: 1.25rem;
    align-items: stretch;
    margin: 0;
    padding: clamp(1.2rem, 2vw, 2rem);
    background: #0b2545;
    color: #fff;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.formation-hero__content {
    display: grid;
    align-content: center;
    gap: 0.8rem;
    max-width: 840px;
}

.formation-hero__content > span,
.formation-section-head span,
.formation-detail-card > span {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    width: fit-content;
    color: #92e4c1;
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0;
    text-transform: uppercase;
}

.formation-hero h1,
.formation-detail-hero h1 {
    margin: 0;
    color: #fff;
    font-size: clamp(2rem, 4vw, 4.4rem);
    font-weight: 900;
    line-height: 1.02;
}

.formation-hero p,
.formation-detail-hero__content p {
    max-width: 660px;
    margin: 0;
    color: rgba(255, 255, 255, 0.78);
    font-size: 1rem;
    line-height: 1.7;
}

.formation-search {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr) auto;
    align-items: center;
    max-width: 720px;
    min-height: 58px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 8px;
    background: #fff;
    overflow: hidden;
}

.formation-search i {
    color: #0f8a5f;
    text-align: center;
}

.formation-search input {
    width: 100%;
    border: 0;
    outline: 0;
    color: #0b2545;
    font-weight: 700;
}

.formation-search button {
    height: 100%;
    border: 0;
    padding: 0 1.2rem;
    background: #0f8a5f;
    color: #fff;
    font-weight: 900;
}

.formation-hero__stats {
    display: grid;
    gap: 0.75rem;
}

.formation-hero__stats article {
    display: grid;
    align-content: center;
    min-height: 112px;
    padding: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.08);
}

.formation-hero__stats strong {
    color: #fff;
    font-size: 1.8rem;
    font-weight: 900;
}

.formation-hero__stats small {
    color: rgba(255, 255, 255, 0.72);
    font-weight: 800;
}

.formation-filter-bar {
    display: flex;
    gap: 0.6rem;
    margin-bottom: 1rem;
    overflow-x: auto;
    padding: 0.75rem;
    border: 1px solid #dce7ef;
    border-radius: 10px;
    background: #fff;
}

.formation-filter-bar a {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    min-height: 42px;
    padding: 0.5rem 0.85rem;
    border: 1px solid #dce7ef;
    border-radius: 8px;
    color: #0b2545;
    text-decoration: none;
    white-space: nowrap;
    font-weight: 900;
}

.formation-filter-bar a.active,
.formation-filter-bar a:hover {
    background: #0f8a5f;
    border-color: #0f8a5f;
    color: #fff;
}

.formation-filter-bar em {
    min-width: 24px;
    padding: 0.08rem 0.35rem;
    border-radius: 999px;
    background: rgba(15, 138, 95, 0.12);
    color: inherit;
    text-align: center;
    font-style: normal;
    font-size: 0.78rem;
}

.formation-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.formation-card-pro {
    display: flex;
    flex-direction: column;
    min-height: 100%;
    border: 1px solid #dce7ef;
    border-radius: 12px;
    background: #fff;
    overflow: hidden;
    box-shadow: 0 18px 38px rgba(11, 37, 69, 0.08);
}

.formation-card-pro__media {
    position: relative;
    display: block;
    aspect-ratio: 16 / 10;
    background: #eaf4ef;
    overflow: hidden;
}

.formation-card-pro__media img,
.formation-detail-hero__media img,
.formation-similar-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.formation-card-pro__media > span,
.formation-detail-hero__media > span,
.formation-similar-card > span {
    width: 100%;
    height: 100%;
    display: grid;
    place-items: center;
    color: #0f8a5f;
    font-size: 3rem;
}

.formation-card-pro__media em {
    position: absolute;
    left: 0.75rem;
    bottom: 0.75rem;
    padding: 0.38rem 0.65rem;
    border-radius: 999px;
    background: rgba(11, 37, 69, 0.86);
    color: #fff;
    font-size: 0.75rem;
    font-style: normal;
    font-weight: 900;
}

.formation-card-pro__body {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 0.75rem;
    padding: 1rem;
}

.formation-card-pro__meta,
.formation-detail-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.formation-card-pro__meta span,
.formation-detail-meta span {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    color: #51708a;
    font-size: 0.78rem;
    font-weight: 800;
}

.formation-card-pro h2 {
    margin: 0;
    font-size: 1.08rem;
    line-height: 1.35;
}

.formation-card-pro h2 a {
    color: #0b2545;
    text-decoration: none;
}

.formation-card-pro p {
    margin: 0;
    color: #60758a;
    line-height: 1.55;
}

.formation-card-pro__foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-top: auto;
    padding-top: 0.85rem;
    border-top: 1px solid #edf2f7;
}

.formation-card-pro__foot strong {
    color: #0f8a5f;
    font-size: 1.05rem;
    font-weight: 900;
}

.formation-card-pro__foot div {
    display: flex;
    gap: 0.45rem;
}

.formation-empty {
    display: grid;
    place-items: center;
    gap: 0.65rem;
    min-height: 300px;
    border: 1px dashed #cbd5e1;
    border-radius: 12px;
    background: #fff;
    text-align: center;
}

.formation-empty-pro,
.support-form-section,
.faq-pro-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
    gap: 1rem;
    align-items: stretch;
}

.formation-empty-pro {
    padding: clamp(1rem, 2vw, 1.4rem);
    border: 1px solid #dce7ef;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 18px 38px rgba(11, 37, 69, 0.08);
}

.formation-empty-pro > div:first-child {
    display: grid;
    align-content: center;
    gap: 0.8rem;
}

.formation-empty-pro span,
.support-kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    width: fit-content;
    color: #0f8a5f;
    font-size: 0.78rem;
    font-weight: 900;
    text-transform: uppercase;
}

.formation-empty-pro h2,
.support-form-copy h2 {
    margin: 0;
    color: #0b2545;
    font-weight: 900;
}

.formation-empty-pro p,
.support-form-copy p {
    max-width: 680px;
    margin: 0;
    color: #60758a;
    line-height: 1.7;
}

.formation-empty-actions,
.support-hero__actions,
.support-mini-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
}

.formation-empty-modules {
    display: grid;
    gap: 0.65rem;
}

.formation-empty-modules article {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 0.6rem;
    align-items: center;
    padding: 0.85rem;
    border: 1px solid #dce7ef;
    border-radius: 10px;
    background: #f8fbfd;
}

.formation-empty-modules i,
.support-card > i,
.support-status-card > span,
.faq-pro-nav a i {
    width: 42px;
    height: 42px;
    display: inline-grid;
    place-items: center;
    border-radius: 10px;
    background: #e8f3ed;
    color: #0f8a5f;
}

.formation-empty-modules strong {
    color: #0b2545;
}

.formation-empty-modules small {
    color: #60758a;
}

.support-page {
    padding: clamp(1rem, 2vw, 1.4rem);
    background: #f5f8fb;
}

.support-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(260px, 360px);
    gap: 1rem;
    align-items: stretch;
    margin-bottom: 1rem;
    padding: clamp(1rem, 2vw, 1.5rem);
    border-radius: 14px;
    background: #0b2545;
    color: #fff;
}

.support-hero h1 {
    margin: 0.35rem 0;
    color: #fff;
    font-size: clamp(2rem, 4vw, 4rem);
    font-weight: 900;
    line-height: 1.05;
}

.support-hero p {
    max-width: 760px;
    color: rgba(255, 255, 255, 0.76);
    line-height: 1.7;
}

.support-status-card,
.support-card,
.support-form,
.support-form-copy,
.faq-pro-nav,
.faq-pro-section {
    border: 1px solid #dce7ef;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 16px 36px rgba(11, 37, 69, 0.08);
}

.support-status-card {
    display: grid;
    align-content: center;
    gap: 0.45rem;
    padding: 1rem;
}

.support-status-card strong {
    color: #0b2545;
    font-size: 1.2rem;
}

.support-status-card small {
    color: #60758a;
    font-weight: 800;
}

.support-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    margin-bottom: 1rem;
}

.support-card {
    display: grid;
    gap: 0.65rem;
    padding: 1rem;
}

.support-card h2 {
    margin: 0;
    color: #0b2545;
    font-size: 1.15rem;
    font-weight: 900;
}

.support-card p {
    margin: 0;
    color: #60758a;
    line-height: 1.6;
}

.support-card a {
    color: #0f8a5f;
    font-weight: 900;
    text-decoration: none;
}

.support-card--primary {
    border-color: #0f8a5f;
}

.support-form-section {
    grid-template-columns: 0.8fr 1.2fr;
}

.support-form-copy,
.support-form {
    padding: 1rem;
}

.support-mini-list span {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.4rem 0.6rem;
    border-radius: 999px;
    background: #e8f3ed;
    color: #0b5f31;
    font-weight: 900;
    font-size: 0.82rem;
}

.faq-pro-layout {
    grid-template-columns: minmax(230px, 280px) minmax(0, 1fr);
    align-items: start;
}

.faq-pro-nav {
    position: sticky;
    top: 1rem;
    display: grid;
    gap: 0.55rem;
    padding: 1rem;
}

.faq-pro-nav strong {
    color: #0b2545;
    font-weight: 900;
}

.faq-pro-nav a {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    color: #0b2545;
    text-decoration: none;
    font-weight: 900;
}

.faq-pro-nav a i {
    width: 30px;
    height: 30px;
    min-width: 30px;
    font-size: 0.8rem;
}

.faq-contact-link {
    margin-top: 0.5rem;
    padding-top: 0.75rem;
    border-top: 1px solid #e5edf5;
    color: #0f8a5f !important;
}

.faq-pro-list {
    display: grid;
    gap: 1rem;
}

.faq-pro-section {
    padding: 1rem;
}

.faq-pro-section details {
    border-top: 1px solid #e5edf5;
}

.faq-pro-section details:first-of-type {
    border-top: 0;
}

.faq-pro-section summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.9rem 0;
    cursor: pointer;
    color: #0b2545;
    font-weight: 900;
    list-style: none;
}

.faq-pro-section summary::-webkit-details-marker {
    display: none;
}

.faq-pro-section details[open] summary i {
    transform: rotate(180deg);
}

.faq-pro-section p {
    margin: 0;
    padding: 0 0 1rem;
    color: #60758a;
    line-height: 1.7;
}

.formation-empty i {
    color: #0f8a5f;
    font-size: 2.4rem;
}

.formation-detail-page {
    padding: clamp(1rem, 2vw, 1.5rem);
    background: #f5f8fb;
}

.formation-detail-hero {
    display: grid;
    grid-template-columns: minmax(260px, 480px) minmax(0, 1fr) minmax(280px, 360px);
    gap: 1.2rem;
    align-items: stretch;
}

.formation-detail-hero__media {
    min-height: 420px;
    border-radius: 14px;
    background: #eaf4ef;
    overflow: hidden;
}

.formation-detail-hero__content {
    display: grid;
    align-content: center;
    gap: 1rem;
    padding: 1.2rem;
    border-radius: 14px;
    background: #0b2545;
}

.formation-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    width: fit-content;
    padding: 0.4rem 0.7rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.1);
    color: #92e4c1;
    font-weight: 900;
}

.formation-buy-panel {
    position: sticky;
    top: 1rem;
    display: grid;
    align-content: start;
    gap: 0.75rem;
    height: fit-content;
    padding: 1rem;
    border: 1px solid #dce7ef;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 20px 40px rgba(11, 37, 69, 0.1);
}

.formation-buy-panel small {
    color: #60758a;
    font-weight: 800;
}

.formation-buy-panel > strong {
    color: #0f8a5f;
    font-size: 2rem;
    font-weight: 900;
}

.formation-access-note {
    display: flex;
    gap: 0.5rem;
    padding: 0.75rem;
    border-radius: 8px;
    background: #edf8f3;
    color: #0b5f31;
    font-weight: 800;
}

.formation-detail-grid,
.formation-similar {
    margin-top: 1.2rem;
}

.formation-detail-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr 1fr;
    gap: 1rem;
}

.formation-detail-card {
    padding: 1rem;
    border: 1px solid #dce7ef;
    border-radius: 12px;
    background: #fff;
}

.formation-detail-card h2 {
    margin: 0.45rem 0 0.65rem;
    color: #0b2545;
    font-size: 1.2rem;
    font-weight: 900;
}

.formation-detail-card ul {
    display: grid;
    gap: 0.55rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.formation-detail-card li {
    display: flex;
    gap: 0.55rem;
    color: #435f78;
}

.formation-detail-card li i {
    color: #0f8a5f;
    margin-top: 0.2rem;
}

.formation-section-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    margin-bottom: 0.8rem;
}

.formation-section-head h2 {
    margin: 0;
    color: #0b2545;
    font-weight: 900;
}

.formation-similar-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.formation-similar-card {
    display: grid;
    gap: 0.45rem;
    padding: 0.75rem;
    border: 1px solid #dce7ef;
    border-radius: 12px;
    background: #fff;
    color: #0b2545;
    text-decoration: none;
}

.formation-similar-card img,
.formation-similar-card > span {
    aspect-ratio: 16 / 9;
    border-radius: 8px;
    background: #eaf4ef;
    overflow: hidden;
}

.formation-similar-card strong {
    color: #0b2545;
}

.formation-similar-card small {
    color: #60758a;
}

.formation-similar-card em {
    color: #0f8a5f;
    font-style: normal;
    font-weight: 900;
}

.formation-registration-section {
    margin-top: 1.2rem;
    padding: 1rem;
    border: 1px solid #dce7ef;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 18px 38px rgba(11, 37, 69, 0.08);
}

.formation-registration-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
    gap: 1rem;
    align-items: start;
}

.formation-registration-form {
    min-width: 0;
}

.formation-registration-summary {
    position: sticky;
    top: 1rem;
    display: grid;
    gap: 0.65rem;
    padding: 1rem;
    border: 1px solid #dce7ef;
    border-radius: 12px;
    background: #f8fbfd;
}

.formation-registration-summary > span {
    width: 44px;
    height: 44px;
    display: inline-grid;
    place-items: center;
    border-radius: 10px;
    background: #e8f3ed;
    color: #0f8a5f;
}

.formation-registration-summary h3 {
    margin: 0;
    color: #0b2545;
    font-size: 1.2rem;
    font-weight: 900;
}

.formation-registration-summary p,
.formation-registration-summary small {
    margin: 0;
    color: #60758a;
    line-height: 1.6;
}

.formation-registration-summary strong {
    color: #0f8a5f;
    font-size: 1.4rem;
    font-weight: 900;
}

.formation-registration-code {
    padding: 0.75rem;
    border: 1px dashed #0f8a5f;
    border-radius: 10px;
    background: #e8f3ed;
    color: #0b5f31;
    font-size: 1.25rem;
    font-weight: 900;
    text-align: center;
    letter-spacing: 0;
}

.formation-enroll-page {
    padding: clamp(0.9rem, 2vw, 1.4rem);
    background: #f5f8fb;
}

.formation-enroll-hero {
    display: grid;
    gap: 1rem;
    margin-bottom: 1rem;
    padding: clamp(1rem, 2.2vw, 1.6rem);
    border-radius: 14px;
    background: #0b2545;
    color: #fff;
}

.formation-enroll-back {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    width: fit-content;
    color: #92e4c1;
    text-decoration: none;
    font-weight: 900;
}

.formation-enroll-hero h1 {
    max-width: 860px;
    margin: 0.35rem 0;
    color: #fff;
    font-size: clamp(2rem, 4vw, 4.2rem);
    font-weight: 900;
    line-height: 1.05;
}

.formation-enroll-hero p {
    max-width: 760px;
    margin: 0;
    color: rgba(255, 255, 255, 0.76);
    line-height: 1.7;
}

.formation-enroll-layout {
    display: grid;
    grid-template-columns: minmax(280px, 390px) minmax(0, 1fr);
    gap: 1rem;
    align-items: start;
}

.formation-enroll-summary,
.formation-enroll-card {
    border: 1px solid #dce7ef;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 18px 38px rgba(11, 37, 69, 0.08);
    overflow: hidden;
}

.formation-enroll-summary {
    position: sticky;
    top: 1rem;
}

.formation-enroll-cover {
    aspect-ratio: 16 / 11;
    background: #eaf4ef;
}

.formation-enroll-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.formation-enroll-cover span {
    width: 100%;
    height: 100%;
    display: grid;
    place-items: center;
    color: #0f8a5f;
    font-size: 3rem;
}

.formation-enroll-summary__body,
.formation-enroll-card {
    padding: 1rem;
}

.formation-enroll-card {
    position: relative;
}

.formation-enroll-card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 5px;
    background: #0f8a5f;
}

.formation-enroll-summary__body {
    display: grid;
    gap: 0.65rem;
}

.formation-enroll-summary__body small {
    color: #0f8a5f;
    font-weight: 900;
}

.formation-enroll-summary__body h2 {
    margin: 0;
    color: #0b2545;
    font-size: 1.35rem;
    font-weight: 900;
}

.formation-enroll-summary__body > strong {
    color: #0f8a5f;
    font-size: 1.55rem;
    font-weight: 900;
}

.formation-enroll-steps {
    display: grid;
    gap: 0.65rem;
    padding: 1rem;
    border-top: 1px solid #e5edf5;
    background: #f8fbfd;
}

.formation-enroll-steps article {
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 0.6rem;
    align-items: center;
}

.formation-enroll-steps article > span {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border-radius: 9px;
    background: #0f8a5f;
    color: #fff;
    font-weight: 900;
}

.formation-enroll-steps strong {
    color: #0b2545;
}

.formation-enroll-steps small {
    color: #60758a;
}

.formation-form-group-title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 1rem 0 0.65rem;
    color: #0b2545;
    font-weight: 900;
}

.formation-form-progress {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.5rem;
    margin: 0.75rem 0 1rem;
}

.formation-form-progress span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    min-height: 38px;
    padding: 0.4rem 0.5rem;
    border: 1px solid #dce7ef;
    border-radius: 999px;
    background: #f8fbfd;
    color: #60758a;
    font-size: 0.78rem;
    font-weight: 900;
    white-space: nowrap;
}

.formation-form-progress span.active {
    border-color: #0f8a5f;
    background: #e8f3ed;
    color: #0b5f31;
}

.formation-form-panel {
    padding: 1rem;
    border: 1px solid #e1e9f0;
    border-radius: 14px;
    background: #fbfdfe;
}

.formation-form-panel + .formation-form-panel {
    margin-top: 0.85rem;
}

.formation-registration-form--page .form-label {
    color: #0b2545;
    font-weight: 900;
    font-size: 0.82rem;
}

.formation-registration-form--page .form-control,
.formation-registration-form--page .form-select {
    min-height: 48px;
    border-radius: 10px;
    border-color: #d6e2eb;
    background: #fff;
    font-weight: 700;
}

.formation-registration-form--page textarea.form-control {
    min-height: 118px;
}

.formation-registration-form--page .form-control:focus,
.formation-registration-form--page .form-select:focus {
    border-color: #0f8a5f;
    box-shadow: 0 0 0 0.18rem rgba(15, 138, 95, 0.14);
}

.formation-form-group-title:first-of-type {
    margin-top: 0;
}

.formation-form-group-title i {
    color: #0f8a5f;
}

.formation-enroll-actions,
.formation-enroll-cta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1rem;
}

.formation-enroll-result {
    display: flex;
    gap: 0.8rem;
    align-items: center;
    margin-top: 1rem;
    padding: 1rem;
    border: 1px solid #a9dec5;
    border-radius: 12px;
    background: #e8f3ed;
}

.formation-enroll-result > span {
    width: 46px;
    height: 46px;
    min-width: 46px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #0f8a5f;
    color: #fff;
}

.formation-enroll-result small {
    color: #0b5f31;
    font-weight: 900;
}

.formation-enroll-result strong {
    display: block;
    color: #0b2545;
    font-size: 1.5rem;
    font-weight: 900;
}

.formation-enroll-result p {
    margin: 0;
    color: #435f78;
}

.formation-enroll-cta {
    justify-content: space-between;
    padding: 1rem;
    border: 1px solid #dce7ef;
    border-radius: 12px;
    background: #f8fbfd;
}

.formation-enroll-cta__icon {
    width: 54px;
    height: 54px;
    min-width: 54px;
    display: inline-grid;
    place-items: center;
    border-radius: 14px;
    background: #0f8a5f;
    color: #fff;
    font-size: 1.25rem;
}

.formation-enroll-cta h3 {
    margin: 0 0 0.25rem;
    color: #0b2545;
    font-weight: 900;
}

.formation-enroll-cta p {
    max-width: 720px;
    margin: 0;
    color: #60758a;
    line-height: 1.6;
}

/* Detail produit et formation : finitions premium */
.detail-top-hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    min-height: 310px;
    padding: 3.2rem 0 2.4rem;
    background: #061b33;
}

.detail-top-hero__bg {
    position: absolute;
    inset: 0;
    z-index: -2;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    filter: saturate(1.06);
    transform: scale(1.02);
}

.detail-top-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        linear-gradient(90deg, rgba(3, 18, 35, .94) 0%, rgba(4, 30, 55, .82) 45%, rgba(5, 38, 55, .46) 100%),
        linear-gradient(180deg, rgba(3, 18, 35, .28), rgba(3, 18, 35, .72));
}

.detail-top-hero__inner {
    position: relative;
    z-index: 1;
}

.detail-breadcrumb {
    display: inline-flex;
    max-width: 100%;
    margin-bottom: 1.4rem;
    padding: .72rem .9rem;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 12px;
    background: rgba(255, 255, 255, .1);
    backdrop-filter: blur(12px);
}

.detail-breadcrumb .breadcrumb {
    row-gap: .25rem;
}

.detail-breadcrumb .breadcrumb-item,
.detail-breadcrumb .breadcrumb-item a {
    color: rgba(255, 255, 255, .88);
    font-weight: 800;
    text-decoration: none;
}

.detail-breadcrumb .breadcrumb-item.active {
    max-width: min(54vw, 520px);
    overflow: hidden;
    color: #fff;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.detail-breadcrumb .breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255, 255, 255, .55);
}

.detail-top-hero__content {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(250px, 330px);
    gap: 1.5rem;
    align-items: end;
}

.detail-top-hero__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    width: fit-content;
    margin-bottom: .9rem;
    padding: .55rem .78rem;
    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: 999px;
    background: rgba(255, 255, 255, .13);
    color: #fff;
    font-size: .78rem;
    font-weight: 900;
    text-transform: uppercase;
    backdrop-filter: blur(10px);
}

.detail-top-hero h1 {
    max-width: 860px;
    margin: 0;
    color: #fff;
    font-size: clamp(2rem, 4vw, 4rem);
    font-weight: 950;
    line-height: 1.02;
}

.detail-top-hero p {
    max-width: 720px;
    margin: .9rem 0 0;
    color: rgba(255, 255, 255, .84);
    font-size: clamp(.98rem, 1.5vw, 1.15rem);
    line-height: 1.65;
}

.detail-top-hero__panel {
    display: grid;
    gap: .34rem;
    padding: 1.1rem;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 16px;
    background: rgba(255, 255, 255, .13);
    color: #fff;
    box-shadow: 0 20px 45px rgba(0, 0, 0, .2);
    backdrop-filter: blur(14px);
}

.detail-top-hero__panel small {
    color: rgba(255, 255, 255, .72);
    font-size: .74rem;
    font-weight: 900;
    letter-spacing: .05em;
    text-transform: uppercase;
}

.detail-top-hero__panel strong {
    color: #ffb347;
    font-size: 1.85rem;
    font-weight: 950;
}

.detail-top-hero__panel span {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    color: rgba(255, 255, 255, .88);
    font-weight: 800;
}

.product-detail-shell,
.formation-detail-hero {
    position: relative;
}

.product-detail-shell {
    padding: clamp(0.75rem, 1.5vw, 1.1rem);
    border: 1px solid #dce7ef;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 20px 46px rgba(11, 37, 69, 0.09);
}

.product-gallery--premium .gallery-main,
.formation-detail-hero__media {
    border: 1px solid #dce7ef;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.65), 0 16px 32px rgba(11, 37, 69, 0.08);
}

.product-detail-info,
.formation-detail-hero__content,
.formation-buy-panel {
    border-radius: 16px;
}

.product-detail-info {
    display: grid;
    gap: 0.85rem;
    padding: clamp(1rem, 1.8vw, 1.35rem);
    border: 1px solid #dce7ef;
    background: #fbfdfe;
}

.product-detail-title {
    letter-spacing: 0;
    line-height: 1.05;
}

.product-premium-badge {
    background: #e8f3ed !important;
    color: #0b5f31 !important;
    border: 1px solid #b9d8c7;
}

.product-detail-highlights {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.55rem;
}

.product-detail-highlights article {
    display: grid;
    gap: 0.15rem;
    padding: 0.75rem;
    border: 1px solid #dce7ef;
    border-radius: 12px;
    background: #fff;
}

.product-detail-highlights i {
    color: #0f8a5f;
}

.product-detail-highlights strong {
    color: #0b2545;
    font-size: 0.9rem;
}

.product-detail-highlights small {
    color: #60758a;
    font-size: 0.76rem;
    font-weight: 800;
}

.product-purchase-card {
    border-radius: 16px !important;
    border: 1px solid #dce7ef !important;
    box-shadow: 0 16px 34px rgba(11, 37, 69, 0.08);
}

.product-detail-tabs {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.product-detail-block {
    margin: 0 !important;
    border-radius: 16px !important;
}

.formation-detail-hero {
    border-radius: 18px;
    padding: clamp(0.65rem, 1.4vw, 1rem);
    border: 1px solid #dce7ef;
    background: #fff;
    box-shadow: 0 20px 46px rgba(11, 37, 69, 0.09);
}

.formation-detail-hero__content {
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.07);
}

.formation-buy-panel {
    border-top: 5px solid #0f8a5f;
}

.formation-admin-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
    gap: 1rem;
}

.formation-cell {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    min-width: 260px;
}

.formation-cell span {
    display: grid;
    gap: 0.15rem;
}

.formation-cell small {
    color: #60758a;
}

.formation-pill,
.formation-state {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 0.25rem 0.55rem;
    border-radius: 999px;
    background: #e8f3ed;
    color: #0b5f31;
    font-weight: 900;
    font-size: 0.78rem;
}

.formation-learner-list {
    display: grid;
    gap: 0.65rem;
    max-height: min(68vh, 720px);
    overflow-y: auto;
    padding-right: 0.25rem;
}

.formation-learner-card {
    display: grid;
    grid-template-columns: minmax(220px, 1fr) auto auto auto auto;
    gap: 0.65rem;
    align-items: center;
    padding: 0.75rem;
    border: 1px solid #dce7ef;
    border-radius: 10px;
    background: #fff;
}

.formation-learner-card__main {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    min-width: 0;
}

.formation-learner-card__main div {
    display: grid;
    gap: 0.08rem;
    min-width: 0;
}

.formation-learner-card__main strong,
.formation-learner-card__main small {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.formation-avatar {
    width: 42px;
    height: 42px;
    min-width: 42px;
    display: inline-grid;
    place-items: center;
    border-radius: 8px;
    background: #e8f3ed;
    color: #0b5f31;
}

.formation-money {
    display: grid;
    gap: 0.05rem;
    text-align: right;
}

.formation-money strong {
    color: #0f8a5f;
}

.formation-state--success {
    background: #e8f3ed;
    color: #0b5f31;
}

.formation-state--warning {
    background: #fff4e6;
    color: #995c00;
}

.formation-state--danger {
    background: #feecec;
    color: #a31515;
}

@media (max-width: 1199.98px) {
    .formation-grid,
    .formation-similar-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .formation-detail-hero,
    .formation-detail-grid,
    .formation-registration-layout,
    .formation-enroll-layout,
    .formation-admin-grid {
        grid-template-columns: 1fr;
    }

    .formation-buy-panel {
        position: static;
    }

    .formation-registration-summary {
        position: static;
    }

    .formation-enroll-summary {
        position: static;
    }
}

@media (max-width: 767.98px) {
    .detail-top-hero {
        min-height: auto;
        padding: 1.7rem 0 1.45rem;
    }

    .detail-top-hero__content {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .detail-breadcrumb {
        width: 100%;
        margin-bottom: 1rem;
        padding: .62rem .72rem;
    }

    .detail-breadcrumb .breadcrumb-item.active {
        max-width: 52vw;
    }

    .detail-top-hero__panel {
        border-radius: 12px;
        padding: .9rem;
    }

    .detail-top-hero__panel strong {
        font-size: 1.35rem;
    }

    .formation-hero {
        grid-template-columns: 1fr;
        padding: 1rem;
    }

    .formation-search {
        grid-template-columns: 38px minmax(0, 1fr);
    }

    .formation-search button {
        grid-column: 1 / -1;
        min-height: 44px;
    }

    .formation-grid,
    .formation-similar-grid {
        grid-template-columns: 1fr;
    }

    .formation-detail-page {
        padding: 0.75rem;
    }

    .formation-detail-hero__media {
        min-height: 260px;
    }

    .formation-learner-card {
        grid-template-columns: 1fr;
        align-items: stretch;
    }

    .formation-money {
        text-align: left;
    }

    .formation-enroll-actions .btn,
    .formation-enroll-cta .btn {
        width: 100%;
    }

    .formation-form-progress,
    .product-detail-highlights,
    .product-detail-tabs {
        grid-template-columns: 1fr;
    }

    .formation-form-progress span {
        justify-content: flex-start;
        border-radius: 10px;
    }

    .formation-empty-pro,
    .support-hero,
    .support-grid,
    .support-form-section,
    .faq-pro-layout {
        grid-template-columns: 1fr;
    }

    .faq-pro-nav {
        position: static;
    }
}

.admin-area .manual-delivery-panel {
    border-radius: 14px !important;
}

.admin-area .manual-delivery-form {
    display: grid;
    gap: .9rem;
}

.admin-area .manual-delivery-form__main,
.admin-area .manual-delivery-form__money {
    display: grid;
    gap: .75rem;
}

.admin-area .manual-delivery-form__main {
    grid-template-columns: 1.1fr 1.1fr 1.3fr 1fr 1.4fr .8fr;
}

.admin-area .manual-delivery-form__money {
    grid-template-columns: .7fr 1fr 1fr 1.1fr;
}

.admin-area .manual-delivery-form .form-control,
.admin-area .manual-delivery-form .form-select {
    min-height: 44px;
    border-radius: 10px;
    background: #fff;
}

.admin-area .manual-delivery-extra {
    border: 1px solid #dce8f0;
    border-radius: 12px;
    background: #f8fbfd;
}

.admin-area .manual-delivery-extra summary {
    cursor: pointer;
    padding: .75rem .95rem;
    color: #06365f;
    font-weight: 900;
}

.admin-area .manual-delivery-extra > div {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: .75rem;
    padding: 0 .95rem .95rem;
}

.admin-area .manual-delivery-extra textarea {
    grid-column: span 2;
}

.admin-area .manual-delivery-submit {
    justify-self: start;
    min-height: 44px;
    border-radius: 10px !important;
}

@media (max-width: 1199.98px) {
    .admin-area .manual-delivery-form__main {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .admin-area .manual-delivery-form__money,
    .admin-area .manual-delivery-extra > div {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767.98px) {
    .admin-area .manual-delivery-form__main,
    .admin-area .manual-delivery-form__money,
    .admin-area .manual-delivery-extra > div {
        grid-template-columns: 1fr;
    }

    .admin-area .manual-delivery-extra textarea,
    .admin-area .manual-delivery-submit {
        grid-column: auto;
        width: 100%;
    }
}

/* Chat interne admin */
.admin-area .admin-chat-layout {
    display: grid;
    grid-template-columns: minmax(240px, 300px) minmax(0, 1fr);
    gap: 1rem;
    min-height: 680px;
}

.admin-area .admin-chat-side,
.admin-area .admin-chat-board {
    background: #fff;
    border: 1px solid #d9e5ee;
    border-radius: 12px;
    box-shadow: 0 14px 34px rgba(6, 27, 51, .08);
    overflow: hidden;
}

.admin-area .admin-chat-side {
    padding: 1rem;
}

.admin-area .admin-chat-side__head,
.admin-area .admin-chat-board__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding-bottom: .9rem;
    border-bottom: 1px solid #e6eef5;
}

.admin-area .admin-chat-side__head strong,
.admin-area .admin-chat-board__top strong {
    color: #06243f;
    font-size: 1.05rem;
}

.admin-area .admin-chat-side__head span,
.admin-area .admin-chat-board__top small,
.admin-area .admin-chat-board__top span {
    color: #60758d;
    font-size: .82rem;
}

.admin-area .admin-chat-member {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr) auto;
    align-items: center;
    gap: .75rem;
    padding: .85rem .15rem;
    border-bottom: 1px solid #edf3f7;
}

.admin-area .admin-chat-member > span {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #0b7a4b;
    color: #fff;
    font-weight: 800;
}

.admin-area .admin-chat-member.is-me > span {
    background: #06365f;
}

.admin-area .admin-chat-member strong,
.admin-area .admin-chat-member small {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.admin-area .admin-chat-member strong {
    color: #082846;
}

.admin-area .admin-chat-member small,
.admin-area .admin-chat-member em {
    color: #6c7f93;
    font-size: .78rem;
    font-style: normal;
}

.admin-area .admin-chat-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: .5rem;
    margin-top: 1rem;
}

.admin-area .admin-chat-stats article {
    padding: .75rem .5rem;
    border: 1px solid #e1ebf2;
    border-radius: 10px;
    background: #f8fbfd;
    text-align: center;
}

.admin-area .admin-chat-stats strong,
.admin-area .admin-chat-stats small {
    display: block;
}

.admin-area .admin-chat-stats strong {
    color: #06365f;
}

.admin-area .admin-chat-stats small {
    color: #60758d;
    font-size: .75rem;
}

.admin-area .admin-chat-board {
    display: grid;
    grid-template-rows: auto minmax(320px, 1fr) auto;
}

.admin-area .admin-chat-board__top {
    padding: 1rem 1.15rem;
}

.admin-area .admin-chat-board__top span {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    padding: .4rem .7rem;
    border-radius: 999px;
    background: #ecfdf5;
    color: #0b7a4b;
    font-weight: 800;
}

.admin-area .admin-chat-thread {
    display: flex;
    flex-direction: column;
    gap: .8rem;
    padding: 1rem;
    max-height: 520px;
    overflow: auto;
    background:
        linear-gradient(rgba(255,255,255,.9), rgba(255,255,255,.9)),
        radial-gradient(circle at 12px 12px, rgba(6, 54, 95, .08) 1px, transparent 1px);
    background-size: auto, 22px 22px;
}

.admin-area .admin-chat-bubble {
    width: min(78%, 620px);
    padding: .9rem 1rem;
    border-radius: 14px 14px 14px 4px;
    background: #fff;
    border: 1px solid #dce8f0;
    box-shadow: 0 8px 22px rgba(6, 27, 51, .08);
}

.admin-area .admin-chat-bubble.is-mine {
    align-self: flex-end;
    border-radius: 14px 14px 4px 14px;
    background: #e7f7ef;
    border-color: #b7e2cd;
}

.admin-area .admin-chat-bubble.is-note {
    background: #f7fbff;
    border-color: #bed8ec;
}

.admin-area .admin-chat-bubble.is-urgent {
    background: #fff4ea;
    border-color: #ffc48f;
}

.admin-area .admin-chat-bubble__meta,
.admin-area .admin-chat-bubble footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
}

.admin-area .admin-chat-bubble__meta strong {
    color: #06243f;
}

.admin-area .admin-chat-bubble__meta span,
.admin-area .admin-chat-bubble footer small {
    color: #687d91;
    font-size: .78rem;
}

.admin-area .admin-chat-bubble p {
    margin: .55rem 0;
    color: #102c45;
    line-height: 1.55;
}

.admin-area .admin-chat-bubble footer em {
    padding: .25rem .55rem;
    border-radius: 999px;
    background: #06365f;
    color: #fff;
    font-size: .72rem;
    font-style: normal;
    font-weight: 800;
}

.admin-area .admin-chat-empty {
    margin: auto;
    display: grid;
    gap: .35rem;
    place-items: center;
    text-align: center;
    color: #60758d;
}

.admin-area .admin-chat-empty i {
    font-size: 2rem;
    color: #0b7a4b;
}

.admin-area .admin-chat-composer {
    padding: 1rem;
    border-top: 1px solid #e4edf4;
    background: #fff;
}

.admin-area .admin-chat-composer__controls {
    display: grid;
    grid-template-columns: 1fr 180px;
    gap: .75rem;
    margin-bottom: .75rem;
}

.admin-area .admin-chat-composer__box {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 52px;
    gap: .75rem;
    align-items: stretch;
}

.admin-area .admin-chat-composer textarea {
    resize: none;
    border-radius: 12px;
}

.admin-area .admin-chat-composer .btn {
    border-radius: 50%;
    width: 52px;
    height: 52px;
    align-self: end;
}

@media (max-width: 991.98px) {
    .admin-area .admin-chat-layout {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .admin-area .admin-chat-thread {
        max-height: 60vh;
    }
}

@media (max-width: 575.98px) {
    .admin-area .admin-chat-bubble {
        width: 92%;
    }

    .admin-area .admin-chat-composer__controls,
    .admin-area .admin-chat-composer__box {
        grid-template-columns: 1fr;
    }

    .admin-area .admin-chat-composer .btn {
        width: 100%;
        border-radius: 10px;
    }
}

/* Boutons flottants plus discrets */
.premium-floating-actions {
    right: 12px !important;
    bottom: 82px !important;
    gap: 8px !important;
    z-index: 1040 !important;
}

.premium-fab {
    width: 38px !important;
    height: 38px !important;
    min-width: 38px !important;
    border-radius: 11px !important;
    font-size: .95rem !important;
    box-shadow: 0 8px 18px rgba(6, 27, 51, .18) !important;
}

.premium-fab i {
    font-size: .95rem !important;
}

.premium-fab--whatsapp,
.premium-fab--chat {
    background: #0b7a4b !important;
    color: #fff !important;
}

.premium-fab--theme {
    background: #fff !important;
    color: #06365f !important;
    border: 1px solid #d9e5ee !important;
}

.premium-fab:hover {
    transform: translateY(-2px) !important;
}

@media (max-width: 575.98px) {
    .premium-floating-actions {
        right: 8px !important;
        bottom: 74px !important;
        gap: 7px !important;
    }

    .premium-fab {
        width: 34px !important;
        height: 34px !important;
        min-width: 34px !important;
        border-radius: 10px !important;
        font-size: .85rem !important;
    }

    .premium-fab i {
        font-size: .85rem !important;
    }
}

/* Gestion livreurs plus fluide et professionnelle */
.admin-area .delivery-control-strip {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: .85rem;
}

.admin-area .delivery-control-strip article {
    display: flex;
    align-items: center;
    gap: .8rem;
    padding: 1rem;
    min-height: 92px;
    background: #fff;
    border: 1px solid #d9e5ee;
    border-radius: 12px;
    box-shadow: 0 10px 24px rgba(6, 27, 51, .06);
}

.admin-area .delivery-control-strip span {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    border-radius: 10px;
    background: #eef7f2;
    color: #0b7a4b;
}

.admin-area .delivery-control-strip strong,
.admin-area .delivery-control-strip small {
    display: block;
}

.admin-area .delivery-control-strip strong {
    color: #06243f;
    font-size: 1.25rem;
    line-height: 1.1;
}

.admin-area .delivery-control-strip small {
    color: #60758d;
    font-size: .78rem;
    font-weight: 800;
    text-transform: uppercase;
}

.admin-area .delivery-card {
    position: relative;
    height: 100%;
    border: 1px solid #d9e5ee !important;
    border-radius: 14px !important;
    background: #fff !important;
    box-shadow: 0 14px 30px rgba(6, 27, 51, .07) !important;
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.admin-area .delivery-card:hover {
    transform: translateY(-3px);
    border-color: #b8d7c9 !important;
    box-shadow: 0 18px 36px rgba(6, 27, 51, .11) !important;
}

.admin-area .delivery-card__head {
    display: grid !important;
    grid-template-columns: 46px minmax(0, 1fr) auto;
    align-items: center;
    gap: .75rem;
    padding-bottom: .85rem;
    border-bottom: 1px solid #edf3f7;
}

.admin-area .delivery-card__head > span {
    width: 46px !important;
    height: 46px !important;
    border-radius: 12px !important;
    background: #06365f !important;
    color: #fff !important;
}

.admin-area .delivery-card__head strong {
    color: #06243f;
    font-size: 1.03rem;
}

.admin-area .delivery-card__head small {
    color: #60758d;
}

.admin-area .delivery-status {
    border-radius: 999px !important;
    padding: .35rem .65rem !important;
    font-size: .72rem !important;
    font-weight: 900 !important;
    letter-spacing: 0 !important;
}

.admin-area .delivery-status--disponible {
    background: #e7f7ef !important;
    color: #0b7a4b !important;
}

.admin-area .delivery-status--occupe {
    background: #fff4e5 !important;
    color: #a45a00 !important;
}

.admin-area .delivery-status--inactif {
    background: #eef2f6 !important;
    color: #60758d !important;
}

.admin-area .delivery-card__body {
    grid-template-columns: 1fr !important;
    gap: .45rem !important;
    padding-top: .9rem;
}

.admin-area .delivery-card__body p {
    display: flex;
    align-items: center;
    gap: .55rem;
    min-height: 30px;
    padding: .35rem .5rem;
    border-radius: 9px;
    background: #f8fbfd;
    color: #253f58;
}

.admin-area .delivery-card__body i {
    width: 22px;
    color: #0b7a4b !important;
    text-align: center;
}

.admin-area .delivery-card__actions {
    display: flex !important;
    flex-wrap: wrap;
    gap: .45rem !important;
    padding-top: .9rem;
    border-top: 1px solid #edf3f7;
}

.admin-area .delivery-card__actions .btn {
    border-radius: 9px !important;
    font-size: .78rem !important;
    font-weight: 800 !important;
    padding: .42rem .6rem !important;
}

.admin-area .delivery-card__actions .btn i {
    margin-right: .25rem;
}

.admin-area .delivery-card__actions .btn:has(i:only-child) i {
    margin-right: 0;
}

.admin-area .delivery-ops-panel,
.admin-area .offsite-sale-panel,
.admin-area .delivery-zones-panel {
    border-radius: 14px !important;
    border: 1px solid #d9e5ee !important;
    box-shadow: 0 14px 30px rgba(6, 27, 51, .06) !important;
}

.admin-area .delivery-mini-form {
    border-radius: 12px !important;
    border: 1px solid #dce8f0 !important;
    background: #fff !important;
    box-shadow: none !important;
}

.admin-area .delivery-mini-form strong {
    color: #06243f !important;
}

.admin-area .delivery-ops-lists > div {
    border-radius: 12px !important;
    border: 1px solid #dce8f0 !important;
    box-shadow: none !important;
}

@media (max-width: 1199.98px) {
    .admin-area .delivery-control-strip {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 767.98px) {
    .admin-area .delivery-control-strip {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .admin-area .delivery-card__head {
        grid-template-columns: 42px minmax(0, 1fr);
    }

    .admin-area .delivery-status {
        grid-column: 1 / -1;
        justify-self: start;
    }
}

@media (max-width: 480px) {
    .admin-area .delivery-control-strip {
        grid-template-columns: 1fr;
    }
}

.admin-area .delivery-mission-panel {
    border-radius: 14px !important;
    border: 1px solid #d9e5ee !important;
    box-shadow: 0 14px 30px rgba(6, 27, 51, .06) !important;
}

.admin-area .delivery-mission-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.admin-area .delivery-mission-grid > div {
    display: grid;
    align-content: start;
    gap: .75rem;
    padding: 1rem;
    border: 1px solid #dce8f0;
    border-radius: 12px;
    background: #f8fbfd;
}

.admin-area .delivery-mission-grid h3 {
    display: flex;
    align-items: center;
    gap: .5rem;
    margin: 0 0 .15rem;
    color: #06243f;
    font-size: .98rem;
    font-weight: 900;
}

.admin-area .delivery-mission-grid h3 i {
    color: #0b7a4b;
}

.admin-area .delivery-mission-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(128px, auto);
    gap: .85rem;
    align-items: center;
    padding: .85rem;
    border: 1px solid #dce8f0;
    border-radius: 11px;
    background: #fff;
    box-shadow: 0 8px 20px rgba(6, 27, 51, .05);
}

.admin-area .delivery-mission-card.is-late {
    border-color: #ffc48f;
    background: #fffaf5;
}

.admin-area .delivery-mission-card strong,
.admin-area .delivery-mission-card small,
.admin-area .delivery-mission-card span,
.admin-area .delivery-mission-card em,
.admin-area .delivery-mission-card b {
    display: block;
}

.admin-area .delivery-mission-card strong {
    color: #06243f;
    font-weight: 950;
}

.admin-area .delivery-mission-card small {
    color: #60758d;
    font-size: .78rem;
}

.admin-area .delivery-mission-card aside {
    display: grid;
    justify-items: end;
    gap: .2rem;
    text-align: right;
}

.admin-area .delivery-mission-card span {
    color: #253f58;
    font-size: .78rem;
    font-weight: 900;
}

.admin-area .delivery-mission-card em {
    color: #06365f;
    font-size: 1rem;
    font-style: normal;
    font-weight: 950;
}

.admin-area .delivery-mission-card b {
    padding: .25rem .55rem;
    border-radius: 999px;
    background: #ecfdf5;
    color: #0b7a4b;
    font-size: .7rem;
    font-weight: 950;
}

.admin-area .delivery-mission-card.is-late b {
    background: #fff0df;
    color: #a45a00;
}

.admin-area .delivery-movement-row--prise span {
    background: #ecfdf5 !important;
    color: #0b7a4b !important;
}

.admin-area .delivery-movement-row--retour span {
    background: #eef6ff !important;
    color: #06365f !important;
}

.admin-area .delivery-movement-row--vente span {
    background: #fff4e5 !important;
    color: #a45a00 !important;
}

@media (max-width: 991.98px) {
    .admin-area .delivery-mission-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 575.98px) {
    .admin-area .delivery-mission-card {
        grid-template-columns: 1fr;
    }

    .admin-area .delivery-mission-card aside {
        justify-items: start;
        text-align: left;
    }
}

/* ERP : acces clair a toutes les fonctions */
.admin-area .erp-function-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 1.15rem;
    border: 1px solid #d9e5ee;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 10px 24px rgba(6, 27, 51, .06);
}

.admin-area .erp-function-head span {
    display: block;
    color: #0b7a4b;
    font-size: .76rem;
    font-weight: 950;
    text-transform: uppercase;
}

.admin-area .erp-function-head h2 {
    margin: .15rem 0 0;
    color: #06243f;
    font-size: 1.25rem;
    font-weight: 950;
}

.admin-area .erp-function-head small {
    color: #60758d;
    font-weight: 800;
}

.admin-area .erp-module-grid--full {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
}

.admin-area .erp-module-grid--full .erp-module-card {
    min-height: 118px;
    border-radius: 12px !important;
}

@media (max-width: 1199.98px) {
    .admin-area .erp-module-grid--full {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}

@media (max-width: 767.98px) {
    .admin-area .erp-function-head {
        align-items: flex-start;
        flex-direction: column;
    }

    .admin-area .erp-module-grid--full {
        grid-template-columns: 1fr !important;
    }
}

/* Carrousels images locales : boutique + formations */
.shop-hero,
.formation-hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    background: #061b33 !important;
}

.shop-hero::before,
.shop-hero::after,
.formation-hero::before,
.formation-hero::after {
    display: none !important;
}

.hero-bg-slider {
    position: absolute;
    inset: 0;
    z-index: -2;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.hero-bg-slider .carousel-inner,
.hero-bg-slider .carousel-item,
.hero-bg-slider img {
    width: 100%;
    height: 100%;
}

.hero-bg-slider img {
    display: block;
    object-fit: cover;
    object-position: center;
}

.shop-hero > .container,
.formation-hero__content,
.formation-hero__stats {
    position: relative;
    z-index: 2;
}

.shop-hero__visual::before,
.shop-hero__visual::after {
    display: none !important;
}

.shop-hero-product-carousel {
    position: relative;
    z-index: 2;
    width: min(100%, 560px);
    margin-left: auto;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .35);
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 24px 60px rgba(0, 0, 0, .22);
}

.shop-hero-product-carousel .carousel-inner,
.shop-hero-product-carousel .carousel-item {
    border-radius: inherit;
}

.shop-hero-product-carousel .carousel-item {
    position: relative;
    min-height: 320px;
    color: inherit;
    text-decoration: none;
}

.shop-hero-product-carousel img {
    display: block;
    width: 100%;
    height: 320px;
    object-fit: cover;
    background: #f5f8f7;
}

.shop-hero-product-carousel__info {
    position: absolute;
    left: 14px;
    right: 14px;
    bottom: 14px;
    display: grid;
    gap: 2px;
    width: fit-content;
    max-width: calc(100% - 28px);
    padding: .72rem .82rem;
    border: 1px solid rgba(255, 255, 255, .62);
    border-radius: 10px;
    background: rgba(255, 255, 255, .92);
    box-shadow: 0 12px 30px rgba(5, 25, 43, .18);
    backdrop-filter: blur(10px);
}

.shop-hero-product-carousel__info small {
    color: #008060;
    font-size: .68rem;
    font-weight: 900;
    text-transform: uppercase;
}

.shop-hero-product-carousel__info strong {
    color: #061b33;
    font-size: .98rem;
    font-weight: 900;
    line-height: 1.1;
}

.shop-hero-product-carousel__info em {
    color: #ff8a00;
    font-size: .84rem;
    font-style: normal;
    font-weight: 900;
}

.shop-hero-product-carousel .carousel-indicators {
    right: 12px;
    bottom: 12px;
    left: auto;
    justify-content: flex-end;
    width: auto;
    margin: 0;
    gap: 5px;
}

.shop-hero-product-carousel .carousel-indicators [data-bs-target] {
    width: 8px;
    height: 8px;
    margin: 0;
    border: 0;
    border-radius: 999px;
    background: rgba(6, 27, 51, .35);
    opacity: 1;
}

.shop-hero-product-carousel .carousel-indicators .active {
    width: 22px;
    background: #ff9900;
}

.shop-hero::after,
.formation-hero::after {
    content: "";
    display: block !important;
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        linear-gradient(90deg, rgba(3, 20, 38, .92) 0%, rgba(4, 36, 55, .78) 42%, rgba(4, 30, 43, .48) 100%),
        linear-gradient(180deg, rgba(3, 20, 38, .35), rgba(3, 20, 38, .68));
    pointer-events: none;
}

.shop-hero .shop-kicker,
.formation-hero__content > span {
    width: fit-content;
    border: 1px solid rgba(255, 255, 255, .28);
    background: rgba(255, 255, 255, .14);
    color: #fff;
    backdrop-filter: blur(10px);
}

.shop-hero h1,
.shop-hero p,
.formation-hero h1,
.formation-hero p {
    color: #fff !important;
    text-shadow: 0 12px 30px rgba(0, 0, 0, .32);
}

.formation-hero__stats article {
    border: 1px solid rgba(255, 255, 255, .2);
    background: rgba(255, 255, 255, .14);
    color: #fff;
    backdrop-filter: blur(12px);
}

.formation-hero__stats article strong,
.formation-hero__stats article small {
    color: #fff;
}

.local-image-slider {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(10, 36, 60, .1);
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 20px 55px rgba(8, 25, 44, .16);
}

.local-image-slider .carousel-inner,
.local-image-slider .carousel-item {
    min-height: 100%;
    border-radius: inherit;
}

.local-image-slider .carousel-item {
    position: relative;
    text-decoration: none;
}

.local-image-slider img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 320px;
    object-fit: cover;
    background: #f6faf8;
    transform: scale(1.01);
}

.local-image-slider__caption {
    position: absolute;
    left: 18px;
    right: 18px;
    bottom: 18px;
    display: inline-flex;
    width: fit-content;
    max-width: calc(100% - 36px);
    flex-direction: column;
    gap: 3px;
    padding: .75rem .9rem;
    border: 1px solid rgba(255, 255, 255, .5);
    border-radius: 16px;
    background: rgba(255, 255, 255, .92);
    box-shadow: 0 14px 32px rgba(2, 24, 43, .16);
    color: #05213b;
    backdrop-filter: blur(10px);
}

.local-image-slider__caption small {
    color: #007a55;
    font-size: .72rem;
    font-weight: 900;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.local-image-slider__caption strong {
    color: #061b33;
    font-size: clamp(.95rem, 1.4vw, 1.15rem);
    font-weight: 900;
    line-height: 1.15;
}

.local-image-slider .carousel-control-prev,
.local-image-slider .carousel-control-next {
    width: 48px;
    height: 48px;
    top: 50%;
    margin: 0 12px;
    border: 1px solid rgba(255, 255, 255, .72);
    border-radius: 50%;
    background: rgba(6, 27, 51, .72);
    box-shadow: 0 12px 28px rgba(2, 24, 43, .18);
    opacity: 1;
    transform: translateY(-50%);
}

.local-image-slider .carousel-control-prev-icon,
.local-image-slider .carousel-control-next-icon {
    width: 1.15rem;
    height: 1.15rem;
}

.local-image-slider .carousel-indicators {
    right: 18px;
    bottom: 18px;
    left: auto;
    z-index: 3;
    justify-content: flex-end;
    width: auto;
    margin: 0;
    gap: 6px;
}

.local-image-slider .carousel-indicators [data-bs-target] {
    width: 9px;
    height: 9px;
    margin: 0;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, .75);
    opacity: 1;
}

.local-image-slider .carousel-indicators .active {
    width: 24px;
    background: #ff9900;
}

.shop-hero__visual .shop-local-slider {
    width: min(100%, 520px);
    height: 365px;
    margin-left: auto;
}

.shop-hero__visual .shop-local-slider img {
    min-height: 365px;
}

.formation-local-slider-wrap {
    max-width: 1320px;
    margin: 0 auto 1.5rem;
}

.formation-local-slider {
    min-height: 330px;
}

.formation-local-slider img {
    min-height: 330px;
    max-height: 420px;
}

html.theme-dark .local-image-slider {
    border-color: rgba(255, 255, 255, .12);
    background: #071827;
    box-shadow: 0 22px 55px rgba(0, 0, 0, .32);
}

html.theme-dark .local-image-slider__caption {
    border-color: rgba(255, 255, 255, .16);
    background: rgba(6, 27, 51, .9);
}

html.theme-dark .local-image-slider__caption strong {
    color: #f7fbff;
}

@media (max-width: 991.98px) {
    .shop-hero-product-carousel {
        width: 100%;
        margin: 1rem 0 0;
    }

    .shop-hero-product-carousel .carousel-item,
    .shop-hero-product-carousel img {
        min-height: 280px;
        height: 280px;
    }

    .shop-hero__visual .shop-local-slider {
        width: 100%;
        height: 310px;
        margin: 1rem 0 0;
    }

    .shop-hero__visual .shop-local-slider img,
    .local-image-slider img,
    .formation-local-slider img {
        min-height: 300px;
    }
}

@media (max-width: 575.98px) {
    .shop-hero-product-carousel {
        border-radius: 10px;
    }

    .shop-hero-product-carousel .carousel-item,
    .shop-hero-product-carousel img {
        min-height: 210px;
        height: 210px;
    }

    .shop-hero-product-carousel__info {
        left: 10px;
        right: 10px;
        bottom: 10px;
        max-width: calc(100% - 20px);
        padding: .58rem .66rem;
    }

    .shop-hero-product-carousel__info strong {
        font-size: .85rem;
    }

    .local-image-slider {
        border-radius: 16px;
    }

    .shop-hero__visual .shop-local-slider,
    .formation-local-slider {
        height: 230px;
        min-height: 230px;
    }

    .shop-hero__visual .shop-local-slider img,
    .local-image-slider img,
    .formation-local-slider img {
        min-height: 230px;
        max-height: 250px;
    }

    .local-image-slider__caption {
        left: 12px;
        right: 12px;
        bottom: 12px;
        max-width: calc(100% - 24px);
        padding: .62rem .72rem;
        border-radius: 12px;
    }

    .local-image-slider .carousel-control-prev,
    .local-image-slider .carousel-control-next {
        width: 38px;
        height: 38px;
        margin: 0 8px;
    }

    .local-image-slider .carousel-indicators {
        right: 12px;
        bottom: 10px;
    }
}

/* Admin livraison : ventes hors site */
.tracking-live-map {
    padding: 1rem;
    border: 1px solid #dce7ef;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 18px 42px rgba(11, 37, 69, .08);
}

.gallery-slide__hint {
    position: absolute;
    left: 16px;
    bottom: 16px;
    z-index: 3;
    padding: .48rem .65rem;
    border: 1px solid rgba(255,255,255,.7);
    border-radius: 999px;
    background: rgba(255,255,255,.9);
    color: #0b2545;
    font-size: .74rem;
    font-weight: 900;
    box-shadow: 0 10px 24px rgba(11,37,69,.14);
    backdrop-filter: blur(10px);
}

.courier-orders-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
    margin-top: 1rem;
}

.courier-orders-summary {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.courier-orders-summary article {
    display: flex;
    align-items: center;
    gap: .75rem;
    padding: 1rem;
    border: 1px solid #dce7ef;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 16px 36px rgba(11,37,69,.07);
}

.courier-orders-summary i {
    display: inline-grid;
    width: 44px;
    height: 44px;
    place-items: center;
    border-radius: 12px;
    background: #eef6ff;
    color: #0b4a7a;
}

.courier-orders-summary strong,
.courier-orders-summary small {
    display: block;
}

.courier-orders-summary strong {
    color: #061b33;
    font-size: 1.25rem;
    font-weight: 950;
}

.courier-orders-summary small {
    color: #60758a;
    font-weight: 800;
}

.courier-order-list {
    display: grid;
    gap: 1rem;
    margin-top: 1rem;
}

.courier-order-card {
    padding: 1rem;
    border: 1px solid #dce7ef;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 18px 42px rgba(11,37,69,.08);
}

.courier-order-card__head,
.courier-order-card__grid,
.courier-order-card__actions {
    display: grid;
    gap: .85rem;
}

.courier-order-card__head {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: start;
    padding-bottom: .85rem;
    border-bottom: 1px solid #edf2f6;
}

.courier-order-card__head span,
.courier-order-card__grid span {
    display: block;
    color: #60758a;
    font-size: .74rem;
    font-weight: 900;
    text-transform: uppercase;
}

.courier-order-card__head strong,
.courier-order-card__grid strong {
    display: block;
    color: #061b33;
    font-weight: 950;
}

.courier-order-card__head small,
.courier-order-card__grid small {
    color: #60758a;
}

.courier-order-card__head em {
    padding: .45rem .65rem;
    border-radius: 999px;
    background: #e8f3ed;
    color: #0b5f31;
    font-style: normal;
    font-weight: 900;
}

.courier-order-card__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    padding: .95rem 0;
}

.courier-order-card__actions {
    display: flex;
    flex-wrap: wrap;
    gap: .55rem;
}

@media (max-width: 767.98px) {
    .courier-orders-summary,
    .courier-order-card__head,
    .courier-order-card__grid {
        grid-template-columns: 1fr;
    }
}

.tracking-live-map__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: .85rem;
}

.tracking-live-map__head span {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    color: #008060;
    font-size: .78rem;
    font-weight: 900;
    text-transform: uppercase;
}

.tracking-live-map__head h2 {
    margin: .25rem 0 0;
    color: #061b33;
    font-weight: 950;
}

.tracking-live-map__head em {
    padding: .42rem .65rem;
    border-radius: 999px;
    background: #eef6ff;
    color: #0b4a7a;
    font-size: .78rem;
    font-style: normal;
    font-weight: 900;
}

.tracking-live-map__frame {
    position: relative;
    min-height: 360px;
    overflow: hidden;
    border: 1px solid #dce7ef;
    border-radius: 14px;
    background: #f7fbfd;
}

.tracking-live-map__frame iframe {
    display: block;
    width: 100%;
    height: 360px;
    border: 0;
}

.tracking-live-map__empty {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    align-content: center;
    gap: .35rem;
    padding: 1.25rem;
    text-align: center;
    background: #f7fbfd;
    color: #60758a;
}

.tracking-live-map__empty i {
    color: #008060;
    font-size: 2rem;
}

.tracking-live-map__empty strong {
    color: #061b33;
    font-size: 1.1rem;
}

.tracking-live-map__meta {
    display: flex;
    flex-wrap: wrap;
    gap: .65rem;
    margin-top: .85rem;
}

.tracking-live-map__meta span {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    padding: .55rem .75rem;
    border: 1px solid #dce7ef;
    border-radius: 999px;
    background: #fbfdfe;
    color: #0b2545;
    font-weight: 900;
}

html.theme-dark .tracking-live-map,
html.theme-dark .tracking-live-map__meta span {
    border-color: rgba(255,255,255,.12);
    background: #071827;
}

html.theme-dark .tracking-live-map__head h2,
html.theme-dark .tracking-live-map__meta span,
html.theme-dark .tracking-live-map__empty strong {
    color: #f7fbff;
}

@media (max-width: 767.98px) {
    .tracking-live-map__head {
        display: grid;
    }

    .tracking-live-map__frame,
    .tracking-live-map__frame iframe {
        min-height: 290px;
        height: 290px;
    }
}

.admin-area .offsite-sales-strip {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
    margin-top: .35rem;
}

.admin-area .offsite-sales-strip article {
    display: flex;
    align-items: center;
    gap: .75rem;
    padding: 1rem;
    border: 1px solid #dce7ef;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 14px 30px rgba(11, 37, 69, .07);
}

.admin-area .offsite-sales-strip span {
    display: inline-grid;
    flex: 0 0 42px;
    width: 42px;
    height: 42px;
    place-items: center;
    border-radius: 9px;
    background: #eef6ff;
    color: #0b4a7a;
}

.admin-area .offsite-sales-strip strong,
.admin-area .offsite-sales-strip small {
    display: block;
}

.admin-area .offsite-sales-strip strong {
    color: #0b2545;
    font-size: 1.12rem;
    font-weight: 950;
}

.admin-area .offsite-sales-strip small {
    color: #60758a;
    font-weight: 800;
}

.admin-area .offsite-sale-form {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
    align-items: start;
}

.admin-area .offsite-sale-panel .admin-panel__head {
    margin-bottom: 1.1rem;
}

.admin-area .offsite-sale-form .form-control,
.admin-area .offsite-sale-form .form-select {
    min-height: 46px;
    border-radius: 10px;
}

.admin-area .offsite-sale-form textarea.form-control {
    min-height: 88px;
    resize: vertical;
}

.admin-area .offsite-sale-form textarea,
.admin-area .offsite-sale-form button[type="submit"] {
    grid-column: span 2;
}

.admin-area .offsite-sale-form button[type="submit"] {
    min-height: 48px;
    justify-self: start;
    padding-inline: 1.2rem;
}

.admin-area .offsite-status-form {
    display: grid;
    grid-template-columns: minmax(105px, 1fr) minmax(105px, 1fr) auto;
    gap: .55rem;
    align-items: center;
    min-width: 285px;
}

.admin-area .offsite-status-form .form-select {
    min-height: 36px;
}

.admin-area .admin-panel .table td,
.admin-area .admin-panel .table th {
    padding-top: .9rem;
    padding-bottom: .9rem;
    vertical-align: middle;
}

.admin-area .admin-table-actions {
    gap: .45rem;
}

.admin-area .delivery-ops-grid {
    gap: 1rem;
}

.admin-area .delivery-zones-panel {
    position: relative;
    z-index: 1;
    overflow: hidden !important;
    margin-bottom: 2rem !important;
    padding-bottom: 1.1rem;
}

.admin-area .delivery-zones-panel .table-responsive {
    display: block;
    max-height: 360px !important;
    overflow: auto !important;
    margin-top: 1rem !important;
    padding-bottom: .5rem;
    border: 1px solid #dce7ef;
    border-radius: 10px;
    background: #fff;
}

.admin-area .delivery-zones-panel .table {
    margin-bottom: 0;
}

.admin-area .delivery-zones-panel .table thead th {
    position: sticky;
    top: 0;
    z-index: 2;
    background: #f8fbfd;
}

.admin-area .delivery-ops-panel {
    position: relative;
    z-index: 1;
    clear: both;
    display: flow-root;
    margin-top: 2rem !important;
    margin-bottom: 2rem !important;
    background: #fff;
    overflow: visible !important;
}

.admin-area .delivery-ops-panel .admin-panel__head {
    margin-bottom: 1rem;
}

.admin-area .delivery-ops-panel .delivery-zone-form {
    position: relative;
    z-index: 1;
    margin-bottom: 1rem !important;
}

.admin-area .delivery-ops-panel .delivery-zone-table-wrap {
    position: relative;
    z-index: 1;
    display: block;
    max-height: 330px !important;
    overflow: auto !important;
    margin-top: 1rem !important;
    margin-bottom: .25rem !important;
    padding-bottom: .5rem;
    border: 1px solid #dce7ef;
    border-radius: 12px;
    background: #fff;
    box-shadow: inset 0 -10px 16px rgba(6, 27, 51, .035);
}

.admin-area .delivery-ops-panel .delivery-zone-table-wrap .table {
    min-width: 760px;
    margin-bottom: 0;
}

.admin-area .delivery-ops-panel .delivery-zone-table-wrap thead th {
    position: sticky;
    top: 0;
    z-index: 2;
    background: #f8fbfd;
}

.admin-area .delivery-ops-panel + .admin-panel {
    position: relative;
    z-index: 0;
    clear: both;
    margin-top: 2rem !important;
}

.admin-area .delivery-mini-form {
    gap: .75rem;
    padding: 1rem;
}

.admin-area .delivery-ops-lists {
    gap: 1rem;
}

.admin-area .delivery-card {
    margin-bottom: .35rem;
}

.admin-area .delivery-card__body {
    display: grid;
    gap: .35rem;
}

.admin-area .delivery-card__body p {
    margin-bottom: 0;
}

@media (max-width: 1199.98px) {
    .admin-area .offsite-sales-strip,
    .admin-area .offsite-sale-form {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767.98px) {
    .admin-area .offsite-sales-strip,
    .admin-area .offsite-sale-form,
    .admin-area .offsite-status-form {
        grid-template-columns: 1fr;
    }

    .admin-area .offsite-sale-form textarea,
    .admin-area .offsite-sale-form button[type="submit"] {
        grid-column: auto;
        width: 100%;
        justify-self: stretch;
    }
}

/* Correction finale header : eviter blanc sur blanc au survol */
.main-header .header-quick-links a:hover,
.main-header .header-quick-links a:focus-visible,
.main-header .header-whatsapp-link:hover,
.main-header .header-whatsapp-link:focus-visible,
.main-header .cart-link-header:hover,
.main-header .cart-link-header:focus-visible,
.main-header .admin-notification-btn:hover,
.main-header .admin-notification-btn:focus-visible,
.main-header .mobile-menu-button:hover,
.main-header .mobile-menu-button:focus-visible,
.main-header .header-tools-toggle:hover,
.main-header .header-tools-toggle:focus-visible,
.main-header .premium-theme-toggle:hover,
.main-header .premium-theme-toggle:focus-visible,
.main-header .dropdown > .dropdown-toggle:hover,
.main-header .dropdown > .dropdown-toggle:focus-visible,
.nav-secondary .hover-link:hover,
.nav-secondary .hover-link:focus-visible,
.nav-secondary .hover-link.active {
    background: #0b2545 !important;
    color: #ffffff !important;
    border-color: rgba(255, 255, 255, .35) !important;
    box-shadow: 0 10px 22px rgba(6, 27, 51, .18) !important;
}

.main-header .header-quick-links a:hover *,
.main-header .header-whatsapp-link:hover *,
.main-header .cart-link-header:hover *,
.main-header .admin-notification-btn:hover *,
.main-header .mobile-menu-button:hover *,
.main-header .header-tools-toggle:hover *,
.main-header .premium-theme-toggle:hover *,
.main-header .dropdown > .dropdown-toggle:hover *,
.nav-secondary .hover-link:hover *,
.nav-secondary .hover-link.active * {
    color: #ffffff !important;
}

.main-header .dropdown-menu .dropdown-item:hover,
.main-header .dropdown-menu .dropdown-item:focus {
    background: #eef6ff !important;
    color: #0b2545 !important;
}

.main-header .dropdown-menu .dropdown-item:hover i,
.main-header .dropdown-menu .dropdown-item:focus i {
    color: #0b7a4b !important;
}

/* Chat IA premium : panneau plus intelligent et lisible */
.premium-chat-panel {
    width: min(460px, calc(100vw - 24px)) !important;
    border-radius: 18px !important;
    border: 1px solid rgba(9, 44, 76, .14) !important;
    box-shadow: 0 28px 80px rgba(6, 27, 51, .26) !important;
}

.premium-chat-panel__head {
    display: grid !important;
    grid-template-columns: 46px minmax(0, 1fr) 36px 36px !important;
    align-items: center !important;
    background: #071f38 !important;
    color: #ffffff !important;
}

.premium-chat-avatar {
    width: 46px !important;
    height: 46px !important;
    border-radius: 14px !important;
    background: #ffffff !important;
    color: #087a4a !important;
    box-shadow: inset 0 0 0 1px rgba(8, 122, 74, .14), 0 10px 28px rgba(0, 0, 0, .22) !important;
}

.premium-chat-panel__head div > small {
    display: inline-flex !important;
    align-items: center !important;
    gap: .35rem !important;
    margin-top: .18rem !important;
    color: #bdebd4 !important;
    font-size: .72rem !important;
    font-weight: 850 !important;
}

.premium-chat-panel__head div > small i {
    color: #25d366 !important;
    font-size: .45rem !important;
    filter: drop-shadow(0 0 6px rgba(37, 211, 102, .75));
}

.premium-chat-panel__body {
    background: #f7fafc !important;
}

.premium-chat-message {
    padding: .72rem .82rem !important;
    line-height: 1.45 !important;
}

.premium-chat-message--agent {
    border-color: #d6e7ef !important;
    background: #ffffff !important;
}

.premium-chat-message--user {
    border-color: #0b7a4b !important;
    background: #0b7a4b !important;
    color: #ffffff !important;
}

.premium-chat-message--user .premium-chat-time {
    color: rgba(255, 255, 255, .72) !important;
}

.premium-chat-answer {
    display: grid !important;
    gap: .38rem !important;
}

.premium-chat-answer strong {
    color: #071f38 !important;
    font-weight: 950 !important;
}

.premium-chat-answer p {
    margin: 0 !important;
    color: #38536a !important;
}

.premium-chat-thinking {
    min-width: min(310px, 86%) !important;
    border-color: #cfe6f0 !important;
    background: #ffffff !important;
}

.premium-chat-thinking__head {
    display: flex !important;
    align-items: center !important;
    gap: .55rem !important;
    color: #071f38 !important;
}

.premium-chat-thinking__head > i {
    display: inline-grid !important;
    place-items: center !important;
    width: 30px !important;
    height: 30px !important;
    border-radius: 10px !important;
    background: #e9f8f0 !important;
    color: #087a4a !important;
}

.premium-chat-thinking__head strong {
    flex: 1 !important;
    font-size: .86rem !important;
    font-weight: 950 !important;
}

.premium-chat-thinking__head span {
    display: inline-flex !important;
    gap: .22rem !important;
}

.premium-chat-thinking__head span i {
    width: 6px !important;
    height: 6px !important;
    border-radius: 50% !important;
    background: #087a4a !important;
    animation: eclosionChatDot 1s infinite ease-in-out;
}

.premium-chat-thinking__head span i:nth-child(2) {
    animation-delay: .15s;
}

.premium-chat-thinking__head span i:nth-child(3) {
    animation-delay: .3s;
}

.premium-chat-thinking__steps {
    display: grid !important;
    gap: .28rem !important;
    margin: .55rem 0 0 !important;
    padding: 0 !important;
    list-style: none !important;
    color: #7890a5 !important;
    font-size: .76rem !important;
    font-weight: 800 !important;
}

.premium-chat-thinking__steps li {
    display: flex !important;
    align-items: center !important;
    gap: .4rem !important;
}

.premium-chat-thinking__steps li::before {
    content: "";
    width: 6px !important;
    height: 6px !important;
    border-radius: 50% !important;
    background: #c9d7e1 !important;
}

.premium-chat-thinking__steps li.is-active {
    color: #087a4a !important;
}

.premium-chat-thinking__steps li.is-active::before {
    background: #087a4a !important;
    box-shadow: 0 0 0 5px rgba(8, 122, 74, .12);
}

.premium-chat-quick {
    margin-top: .8rem !important;
}

.premium-chat-quick button,
.premium-chat-suggestions button {
    display: inline-flex !important;
    align-items: center !important;
    gap: .35rem !important;
    border-radius: 10px !important;
    box-shadow: 0 8px 18px rgba(6, 27, 51, .06) !important;
}

.premium-chat-input {
    margin-top: .75rem !important;
    border: 1px solid #d6e5ee !important;
    box-shadow: none !important;
    resize: none !important;
}

.premium-chat-input:focus {
    border-color: #087a4a !important;
    box-shadow: 0 0 0 4px rgba(8, 122, 74, .12) !important;
}

.premium-chat-send {
    background: #087a4a !important;
    border-color: #087a4a !important;
}

html.theme-dark .premium-chat-panel {
    background: #09192b !important;
    border-color: rgba(255, 255, 255, .12) !important;
}

html.theme-dark .premium-chat-panel__body,
html.theme-dark .premium-chat-panel__foot {
    background: #09192b !important;
}

html.theme-dark .premium-chat-message--agent,
html.theme-dark .premium-chat-thinking {
    background: #102840 !important;
    border-color: rgba(255, 255, 255, .12) !important;
}

html.theme-dark .premium-chat-answer strong,
html.theme-dark .premium-chat-thinking__head {
    color: #f8fbff !important;
}

html.theme-dark .premium-chat-answer p {
    color: #c4d5e4 !important;
}

@keyframes eclosionChatDot {
    0%, 80%, 100% { transform: translateY(0); opacity: .35; }
    40% { transform: translateY(-4px); opacity: 1; }
}

@media (max-width: 575.98px) {
    .premium-chat-panel {
        right: 8px !important;
        left: 8px !important;
        bottom: 92px !important;
        width: auto !important;
        max-height: calc(100vh - 112px) !important;
    }

    .premium-chat-panel__head {
        grid-template-columns: 42px minmax(0, 1fr) 34px 34px !important;
        padding: .8rem !important;
    }

    .premium-chat-panel__body {
        max-height: calc(100vh - 270px) !important;
        padding: .8rem !important;
    }

    .premium-chat-avatar {
        width: 42px !important;
        height: 42px !important;
    }
}
/* Mode nuit robuste : surfaces, formulaires et tableaux restent lisibles partout */
html.theme-dark {
    color-scheme: dark;
}

html.theme-dark body,
html.theme-dark .main-content,
html.theme-dark .admin-shell,
html.theme-dark .container,
html.theme-dark .container-fluid {
    color: #eef6fb !important;
}

html.theme-dark .card,
html.theme-dark .modal-content,
html.theme-dark .list-group-item,
html.theme-dark .table,
html.theme-dark .table-responsive,
html.theme-dark .admin-panel,
html.theme-dark .admin-card,
html.theme-dark .admin-page-head,
html.theme-dark .admin-command-card,
html.theme-dark .admin-metric-card,
html.theme-dark .stock-control-panel,
html.theme-dark .offsite-sale-panel,
html.theme-dark .product-detail-block,
html.theme-dark .cart-summary,
html.theme-dark .cart-item,
html.theme-dark .auth-card,
html.theme-dark .dropdown-menu {
    background-color: #0d2238 !important;
    color: #eef6fb !important;
    border-color: rgba(255, 255, 255, 0.14) !important;
}

html.theme-dark h1,
html.theme-dark h2,
html.theme-dark h3,
html.theme-dark h4,
html.theme-dark h5,
html.theme-dark h6,
html.theme-dark strong,
html.theme-dark label,
html.theme-dark .form-label,
html.theme-dark .table th,
html.theme-dark .table td,
html.theme-dark .dropdown-item,
html.theme-dark .admin-panel__head h2,
html.theme-dark .admin-page-head h1 {
    color: #f7fbff !important;
}

html.theme-dark p,
html.theme-dark small,
html.theme-dark .text-muted,
html.theme-dark .admin-page-head p,
html.theme-dark .admin-panel__head span,
html.theme-dark .form-text {
    color: #c9d9e6 !important;
}

html.theme-dark .form-control,
html.theme-dark .form-select,
html.theme-dark textarea,
html.theme-dark input,
html.theme-dark select {
    background-color: #102b46 !important;
    color: #f7fbff !important;
    border-color: rgba(255, 255, 255, 0.2) !important;
}

html.theme-dark .form-control::placeholder,
html.theme-dark textarea::placeholder,
html.theme-dark input::placeholder {
    color: #93a8ba !important;
}

html.theme-dark .bg-light,
html.theme-dark .text-bg-light {
    background-color: #102b46 !important;
    color: #f7fbff !important;
}

html.theme-dark .text-dark,
html.theme-dark .dropdown-item.text-dark {
    color: #f7fbff !important;
}

html.theme-dark .table > :not(caption) > * > * {
    background-color: transparent !important;
    color: #eef6fb !important;
    border-color: rgba(255, 255, 255, 0.12) !important;
}

html.theme-dark .table-hover > tbody > tr:hover > * {
    background-color: #153653 !important;
}

.enterprise-stock-hint {
    grid-column: 1 / -1;
    padding: .72rem .9rem;
    border: 1px solid rgba(13, 110, 253, .16);
    border-radius: 8px;
    background: rgba(13, 110, 253, .07);
    color: #24415f;
    font-weight: 800;
}

.enterprise-stock-hint.is-danger {
    border-color: rgba(220, 53, 69, .25);
    background: rgba(220, 53, 69, .08);
    color: #9f1d2b;
}

html.theme-dark .enterprise-stock-hint {
    background: rgba(46, 160, 255, .13);
    color: #d8ecff !important;
    border-color: rgba(170, 213, 255, .22);
}

html.theme-dark .enterprise-stock-hint.is-danger {
    background: rgba(255, 91, 111, .15);
    color: #ffd5db !important;
    border-color: rgba(255, 146, 160, .32);
}

html.theme-dark .market-new-section,
html.theme-dark .market-new-card {
    background: #0d2238 !important;
    border-color: rgba(255, 255, 255, 0.14) !important;
}

html.theme-dark .market-new-card__media {
    background: #102b46 !important;
}

html.theme-dark .market-new-card h3,
html.theme-dark .market-new-card h3 a,
html.theme-dark .market-new-card__body strong {
    color: #f7fbff !important;
}

html.theme-dark .market-new-card p {
    color: #c9d9e6 !important;
}

/* Admin header + navigation professionnelle */
.admin-area .top-bar {
    display: none !important;
}

.admin-area .main-header {
    border-bottom: 1px solid rgba(15, 47, 74, .12) !important;
    background: rgba(255, 255, 255, .98) !important;
    box-shadow: 0 8px 24px rgba(6, 27, 51, .07) !important;
}

.admin-area .navbar-middle {
    padding-top: .62rem !important;
    padding-bottom: .62rem !important;
}

.admin-area .nav-secondary {
    border-top: 1px solid rgba(15, 47, 74, .08) !important;
    background: #0b1f35 !important;
}

.admin-area .nav-secondary .hover-link,
.admin-area .nav-secondary .btn-rayons {
    min-height: 34px !important;
    border-color: rgba(255, 255, 255, .12) !important;
    background: rgba(255, 255, 255, .06) !important;
    color: rgba(255, 255, 255, .88) !important;
}

.admin-area .nav-secondary .dropdown .btn {
    border-color: rgba(255, 255, 255, .2) !important;
    background: #fff !important;
    color: #0b1f35 !important;
    font-weight: 900 !important;
}

.admin-area .header-quick-links a {
    border-color: #dbe7ef !important;
    background: #f7fbfd !important;
}

.admin-area .admin-workspace-nav {
    gap: .7rem !important;
    padding: .72rem !important;
    border: 1px solid #d6e3ea !important;
    background: #f8fbfd !important;
    box-shadow: 0 16px 38px rgba(6, 27, 51, .08) !important;
}

.admin-area .admin-workspace-brand {
    display: grid !important;
    grid-template-columns: 36px minmax(0, 1fr) auto !important;
    align-items: center !important;
    gap: .65rem !important;
    padding: .72rem !important;
    border: 1px solid #d8e8e0 !important;
    background: linear-gradient(135deg, #ffffff, #eef8f2) !important;
}

.admin-area .admin-workspace-brand > span {
    width: 36px !important;
    height: 36px !important;
    border-radius: 8px !important;
    background: #107c41 !important;
    color: #fff !important;
}

.admin-area .admin-workspace-brand > span.admin-workspace-logo {
    overflow: hidden !important;
    background: #ffffff !important;
    border: 1px solid #d8e8e0 !important;
}

.admin-area .admin-workspace-brand > span.admin-workspace-logo img {
    width: 100% !important;
    height: 100% !important;
    display: block !important;
    object-fit: contain !important;
    padding: 3px !important;
}

.admin-area .admin-workspace-brand strong {
    color: #09233b !important;
    font-size: .95rem !important;
    line-height: 1 !important;
}

.admin-area .admin-workspace-brand small {
    color: #64788c !important;
    font-size: .72rem !important;
    font-weight: 850 !important;
}

.admin-area .admin-workspace-brand em {
    padding: .24rem .44rem;
    border-radius: 999px;
    background: #e8f5ee;
    color: #107c41;
    font-size: .66rem;
    font-style: normal;
    font-weight: 950;
    letter-spacing: .02em;
}

.admin-area .admin-workspace-current {
    display: grid;
    gap: .1rem;
    padding: .62rem .72rem;
    border: 1px solid #d9e6ee;
    border-left: 3px solid #107c41;
    border-radius: 8px;
    background: #fff;
}

.admin-area .admin-workspace-current span,
.admin-area .admin-workspace-section {
    color: #6a7e91;
    font-size: .66rem;
    font-weight: 950;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.admin-area .admin-workspace-current strong {
    color: #09233b;
    font-size: .86rem;
    font-weight: 950;
    line-height: 1.15;
}

.admin-area .admin-workspace-section {
    display: block;
    margin: .45rem .2rem .08rem;
}

.admin-area .admin-workspace-links {
    gap: .18rem !important;
}

.admin-area .admin-workspace-links a,
.admin-area .admin-workspace-tools a {
    min-height: 38px !important;
    grid-template-columns: 30px minmax(0, 1fr) auto !important;
    gap: .55rem !important;
    padding: .36rem .48rem !important;
    border: 1px solid transparent !important;
    border-radius: 8px !important;
    color: #243f58 !important;
    font-size: .84rem !important;
    font-weight: 900 !important;
}

.admin-area .admin-workspace-links i,
.admin-area .admin-workspace-tools i {
    width: 30px !important;
    height: 30px !important;
    display: inline-grid !important;
    place-items: center !important;
    border-radius: 8px !important;
    background: #edf4f8 !important;
    color: #0f2f4a !important;
}

.admin-area .admin-workspace-links a:hover,
.admin-area .admin-workspace-tools a:hover {
    border-color: #cfe5da !important;
    background: #f0faf5 !important;
    color: #107c41 !important;
    transform: none !important;
}

.admin-area .admin-workspace-links a:hover i,
.admin-area .admin-workspace-tools a:hover i {
    background: #e4f4eb !important;
    color: #107c41 !important;
}

.admin-area .admin-workspace-links a.active {
    border-color: #107c41 !important;
    background: #107c41 !important;
    color: #fff !important;
    box-shadow: 0 10px 22px rgba(16, 124, 65, .22) !important;
}

.admin-area .admin-workspace-links a.active i {
    background: rgba(255, 255, 255, .16) !important;
    color: #fff !important;
}

.admin-area .admin-workspace-links em {
    min-width: 22px !important;
    height: 22px !important;
    border-radius: 999px !important;
    background: #ffedd5 !important;
    color: #9a4d00 !important;
    font-size: .68rem !important;
    font-weight: 950 !important;
}

.admin-area .admin-workspace-tools {
    gap: .28rem !important;
    padding-top: .6rem !important;
    border-top: 1px solid #d9e6ee !important;
}

.admin-area .admin-workspace-tools a {
    background: #fff !important;
    border-color: #dde8ef !important;
}

.admin-area .admin-workspace-tools a.danger {
    color: #b42318 !important;
}

@media (max-width: 991.98px) {
    .admin-area .admin-workspace-nav {
        margin-bottom: 1rem;
    }

    .admin-area .admin-workspace-links {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .admin-area .admin-workspace-section,
    .admin-area .admin-workspace-current {
        grid-column: 1 / -1;
    }
}

@media (max-width: 575.98px) {
    .admin-area .admin-workspace-links {
        grid-template-columns: 1fr;
    }
}

/* Menu compte / administration */
.main-header .account-menu {
    width: min(330px, calc(100vw - 20px));
    max-height: min(680px, calc(100dvh - 92px));
    overflow-y: auto;
    padding: .55rem;
    border: 1px solid #dbe7ef !important;
    border-radius: 10px !important;
    background: rgba(255, 255, 255, .98) !important;
    box-shadow: 0 24px 60px rgba(6, 27, 51, .18) !important;
    scrollbar-width: thin;
}

.main-header .account-menu__head {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr) auto;
    align-items: center;
    gap: .65rem;
    padding: .75rem;
    border: 1px solid #e1ebf2;
    border-radius: 9px;
    background: #f7fbfd;
}

.main-header .account-menu__avatar {
    width: 42px;
    height: 42px;
    display: inline-grid;
    place-items: center;
    border-radius: 9px;
    background: #e8f5ee;
    color: #107c41;
}

.main-header .account-menu__head strong,
.main-header .account-menu__head small {
    display: block;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.main-header .account-menu__head strong {
    color: #09233b;
    font-size: .98rem;
    font-weight: 950;
}

.main-header .account-menu__head small {
    color: #6a7e91;
    font-size: .76rem;
    font-weight: 750;
}

.main-header .account-menu__head em {
    align-self: start;
    padding: .24rem .45rem;
    border-radius: 999px;
    background: #e8f5ee;
    color: #107c41;
    font-size: .68rem;
    font-style: normal;
    font-weight: 950;
}

.main-header .account-menu__section {
    margin: .62rem .25rem .25rem;
    color: #708497;
    font-size: .68rem;
    font-weight: 950;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.main-header .account-menu__link {
    min-height: 40px;
    display: grid !important;
    grid-template-columns: 34px minmax(0, 1fr) auto;
    align-items: center;
    gap: .65rem;
    margin: .12rem 0;
    padding: .28rem .45rem !important;
    border: 1px solid transparent;
    border-radius: 8px !important;
    color: #142b43 !important;
    font-size: .88rem;
    font-weight: 850;
}

.main-header .account-menu__link i {
    width: 34px !important;
    height: 34px !important;
    display: inline-grid !important;
    place-items: center !important;
    border: 1px solid #d4e6de !important;
    border-radius: 8px !important;
    background: #f8fcfa !important;
    color: #107c41 !important;
}

.main-header .account-menu__link:hover,
.main-header .account-menu__link:focus {
    border-color: #cfe5da !important;
    background: #eef8f3 !important;
    color: #107c41 !important;
}

.main-header .account-menu__admin-link {
    min-height: 38px;
}

.main-header .account-menu__badge {
    min-width: 22px;
    height: 22px;
    display: inline-grid;
    place-items: center;
    padding: 0 .35rem;
    border-radius: 999px;
    background: #107c41;
    color: #fff;
    font-size: .7rem;
    font-weight: 950;
}

.main-header .account-menu .dropdown-divider {
    display: none;
}

.main-header .account-menu .text-danger,
.main-header .account-menu__logout {
    min-height: 40px;
    display: grid !important;
    grid-template-columns: 34px minmax(0, 1fr);
    align-items: center;
    gap: .65rem;
    margin-top: .55rem;
    padding: .28rem .45rem !important;
    border-top: 1px solid #e5edf2;
    border-radius: 8px !important;
    color: #b42318 !important;
}

.main-header .account-menu .text-danger i,
.main-header .account-menu__logout i {
    border-color: #ffd8d3 !important;
    background: #fff3f1 !important;
    color: #b42318 !important;
}

html.theme-dark .main-header .account-menu {
    border-color: rgba(255, 255, 255, .14) !important;
    background: #0d2238 !important;
}

html.theme-dark .main-header .account-menu__head,
html.theme-dark .main-header .account-menu__link {
    border-color: rgba(255, 255, 255, .12);
    background: rgba(255, 255, 255, .04);
}

html.theme-dark .main-header .account-menu__head strong,
html.theme-dark .main-header .account-menu__link {
    color: #f7fbff !important;
}

html.theme-dark .main-header .account-menu__head small,
html.theme-dark .main-header .account-menu__section {
    color: #b8c7d8;
}

/* Popups contextuels plus propres */
.welcome-pop {
    z-index: 10080 !important;
    padding: 1rem !important;
    background: rgba(6, 27, 51, .58) !important;
    backdrop-filter: blur(10px);
}

.welcome-pop__card {
    width: min(100%, 640px) !important;
    border: 1px solid rgba(255, 255, 255, .72);
    border-radius: 14px !important;
    box-shadow: 0 28px 80px rgba(6, 27, 51, .28) !important;
}

.welcome-pop__close {
    top: .75rem !important;
    right: .75rem !important;
    z-index: 5 !important;
    display: inline-grid !important;
    place-items: center !important;
    border: 1px solid rgba(8, 38, 64, .1) !important;
    border-radius: 10px !important;
    background: rgba(255, 255, 255, .94) !important;
    color: #09233b !important;
}

.welcome-pop__close:hover,
.welcome-pop__close:focus-visible {
    background: #107c41 !important;
    color: #fff !important;
}

.welcome-pop__media {
    aspect-ratio: 16 / 9 !important;
}

.welcome-pop__content {
    display: grid;
    gap: .55rem;
    margin-top: -1.7rem !important;
    padding: 0 1.35rem 1.35rem !important;
}

.welcome-pop__icon {
    width: 52px !important;
    height: 52px !important;
    border-radius: 12px !important;
    background: #107c41 !important;
}

.welcome-pop h2 {
    margin: .35rem 0 0 !important;
    color: #09233b !important;
    font-size: clamp(1.35rem, 3vw, 1.9rem) !important;
    line-height: 1.1 !important;
}

.welcome-pop p {
    max-width: 54ch;
    margin: 0 !important;
    color: #52687d !important;
}

.welcome-pop__actions {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .55rem !important;
    margin-top: .35rem !important;
}

.welcome-pop__actions .btn {
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 9px !important;
    font-weight: 900;
}

.welcome-pop__enter {
    grid-column: 1 / -1;
}

.auth-context-modal .modal-dialog {
    width: min(960px, calc(100vw - 22px));
}

.auth-context-modal .modal-content {
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .6) !important;
    border-radius: 14px !important;
    box-shadow: 0 28px 90px rgba(6, 27, 51, .28) !important;
}

.auth-context-close {
    top: 14px !important;
    right: 14px !important;
    z-index: 12 !important;
    width: 40px !important;
    height: 40px !important;
    display: inline-grid !important;
    place-items: center !important;
    border: 1px solid rgba(8, 38, 64, .1) !important;
    border-radius: 10px !important;
    background: rgba(255, 255, 255, .94) !important;
    color: #09233b !important;
}

.auth-context-close:hover,
.auth-context-close:focus-visible {
    background: #107c41 !important;
    color: #fff !important;
}

.auth-context-side {
    min-height: 100%;
    background: #09233b !important;
}

.auth-context-panel {
    background: #fff !important;
}

.auth-context-tabs {
    border-radius: 10px !important;
    background: #eef5f1 !important;
}

.auth-context-tabs button {
    border-radius: 8px !important;
}

.auth-context-tabs button.active {
    background: #107c41 !important;
    color: #fff !important;
}

.auth-context-submit,
.auth-google-btn--modal {
    border-radius: 9px !important;
}

@media (max-width: 767.98px) {
    .welcome-pop__actions {
        grid-template-columns: 1fr;
    }

    .auth-context-grid {
        grid-template-columns: 1fr !important;
    }

    .auth-context-side {
        min-height: auto;
        padding: 1rem !important;
    }
}

/* Header/mobile links: keep controls tappable and URLs visually separated */
.main-header a,
.main-header button,
.mobile-main-menu a,
.mobile-main-menu button {
    touch-action: manipulation;
}

.header-actions {
    min-width: 0;
    flex-wrap: nowrap !important;
}

.main-header .header-actions > .dropdown > .dropdown-toggle {
    width: auto;
    min-width: 42px;
    min-height: 42px;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    padding: 0 .65rem;
    border: 1px solid rgba(7, 31, 58, .12);
    border-radius: 10px;
    background: #fff;
    color: #0b2545 !important;
    box-shadow: 0 6px 16px rgba(7, 31, 58, .08);
}

.main-header .header-actions > .dropdown > .dropdown-toggle::after {
    display: none;
}

.mobile-main-menu.offcanvas {
    z-index: 10100 !important;
}

/* Backdrop : valeur Bootstrap standard — le menu mobile gère son propre z-index */
.offcanvas-backdrop {
    z-index: 1040 !important;
}

.mobile-main-menu__body,
.mobile-menu-section {
    display: grid;
    gap: .55rem;
}

.mobile-menu-link {
    position: relative;
    z-index: 1;
    width: 100%;
    min-height: 46px;
    display: flex !important;
    align-items: center;
    gap: .75rem;
    padding: .62rem .75rem !important;
    border: 1px solid rgba(9, 44, 76, .1) !important;
    text-decoration: none !important;
}

.mobile-menu-link span {
    min-width: 0;
    overflow-wrap: anywhere;
    line-height: 1.2;
}

.mobile-menu-link--button {
    text-align: left;
}

@media (max-width: 767.98px) {
    .navbar-middle .row {
        display: flex !important;
        flex-wrap: wrap !important;
        align-items: center !important;
        row-gap: .55rem !important;
    }

    .navbar-middle .row > [class*="col-"]:first-child {
        width: auto !important;
        max-width: 38% !important;
        flex: 0 0 auto !important;
        padding-right: .35rem !important;
    }

    .navbar-middle .header-actions {
        width: auto !important;
        max-width: none !important;
        flex: 1 1 0 !important;
        justify-content: flex-end !important;
        gap: .32rem !important;
        padding-left: .25rem !important;
    }

    .main-header .mobile-menu-button,
    .main-header .header-tools-toggle,
    .main-header .premium-theme-toggle,
    .main-header .admin-notification-btn,
    .main-header .cart-link-header,
    .main-header .header-actions > .dropdown > .dropdown-toggle {
        width: 38px !important;
        height: 38px !important;
        min-width: 38px !important;
        border-radius: 9px !important;
        flex: 0 0 38px !important;
    }

    .main-header .header-actions > .dropdown > .dropdown-toggle i {
        font-size: 1.15rem !important;
    }

    .main-header .cart-link-header #cart-count,
    .main-header .cart-link-header .badge,
    .main-header .admin-notification-badge {
        min-width: 18px !important;
        height: 18px !important;
        font-size: .66rem !important;
    }

    .nav-secondary.mobile-header-collapse.show {
        display: block !important;
    }

    .nav-secondary .container-fluid {
        align-items: stretch !important;
    }

    .nav-secondary .d-flex.overflow-auto {
        width: 100%;
        gap: .45rem !important;
        scroll-padding-inline: .75rem;
    }

    .nav-secondary .hover-link,
    .nav-secondary .btn-rayons {
        flex: 0 0 auto;
        min-height: 36px !important;
        white-space: nowrap;
    }
}

@media (max-width: 575.98px) {
    .main-header .premium-theme-toggle {
        display: none !important;
    }

    .brand-logo-img {
        width: 96px !important;
        max-height: 31px !important;
    }

    .logo-image-link {
        margin-right: .15rem !important;
    }
}

/* Connexion: parcours plus clair, Google direct et formulaires mobiles propres */
.auth-premium-page {
    min-height: calc(100vh - 96px);
    padding: clamp(1rem, 2vw, 2rem) 1rem 3rem !important;
    background:
        linear-gradient(180deg, #f7fafc 0%, #edf4f8 100%) !important;
}

.auth-premium-shell {
    width: min(1120px, 100%) !important;
    display: grid !important;
    grid-template-columns: minmax(280px, .92fr) minmax(340px, 1.08fr) !important;
    gap: clamp(1rem, 2vw, 1.4rem) !important;
    align-items: stretch !important;
    margin: 0 auto !important;
}

.auth-premium-aside,
.auth-premium-card {
    border-radius: 8px !important;
    box-shadow: 0 16px 38px rgba(9, 35, 59, .12) !important;
}

.auth-premium-aside {
    position: relative !important;
    overflow: hidden !important;
    min-height: 620px !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-end !important;
    padding: clamp(1.2rem, 2vw, 1.8rem) !important;
    background: #0b2545 !important;
    color: #fff !important;
}

.auth-premium-aside .auth-welcome-picture {
    position: absolute !important;
    inset: 0 !important;
    z-index: 0 !important;
    margin: 0 !important;
}

.auth-premium-aside .auth-welcome-picture::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(11, 37, 69, .12), rgba(11, 37, 69, .9));
}

.auth-premium-aside .auth-welcome-visual {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
}

.auth-premium-logo,
.auth-premium-kicker,
.auth-premium-aside h1,
.auth-premium-aside p,
.auth-premium-benefits {
    position: relative !important;
    z-index: 1 !important;
}

.auth-premium-logo {
    align-self: flex-start !important;
    margin-bottom: auto !important;
    background: rgba(255, 255, 255, .96) !important;
}

.auth-premium-kicker {
    width: fit-content !important;
    margin-top: 1.5rem !important;
    border-radius: 8px !important;
    background: rgba(255, 255, 255, .14) !important;
    border: 1px solid rgba(255, 255, 255, .22) !important;
    color: #fff !important;
}

.auth-premium-aside h1 {
    max-width: 12ch !important;
    color: #fff !important;
    font-size: clamp(2rem, 4vw, 3.25rem) !important;
    line-height: 1 !important;
}

.auth-premium-aside p {
    max-width: 42ch !important;
    color: rgba(255, 255, 255, .82) !important;
}

.auth-premium-benefits {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: .55rem !important;
}

.auth-premium-benefits span {
    min-height: 36px !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: .45rem !important;
    border-radius: 8px !important;
    background: rgba(255, 255, 255, .12) !important;
    border: 1px solid rgba(255, 255, 255, .18) !important;
    color: #fff !important;
}

.auth-premium-card {
    align-self: center !important;
    padding: clamp(1rem, 2vw, 1.6rem) !important;
    background: rgba(255, 255, 255, .98) !important;
    border: 1px solid #dbe7ef !important;
}

.auth-premium-card__head {
    align-items: center !important;
    padding-bottom: 1rem !important;
    margin-bottom: 1rem !important;
    border-bottom: 1px solid #e4edf4 !important;
}

.auth-premium-card__head > span {
    width: 46px !important;
    height: 46px !important;
    min-width: 46px !important;
    border-radius: 8px !important;
    background: #0b2545 !important;
    color: #fff !important;
}

.auth-premium-card__head h2 {
    margin: 0 !important;
    color: #0c1824 !important;
    font-size: clamp(1.35rem, 2.5vw, 1.8rem) !important;
    line-height: 1.1 !important;
}

.auth-premium-card__head p {
    margin: .15rem 0 0 !important;
    color: #5f7183 !important;
}

.auth-google-btn {
    min-height: 58px !important;
    width: 100% !important;
    display: grid !important;
    grid-template-columns: 42px 1fr auto !important;
    align-items: center !important;
    gap: .75rem !important;
    padding: .62rem .75rem !important;
    border-radius: 8px !important;
    background: #fff !important;
    color: #102033 !important;
    border: 1px solid #ccdbe8 !important;
    box-shadow: 0 10px 22px rgba(15, 40, 65, .08) !important;
}

.auth-google-btn:hover,
.auth-google-btn:focus-visible {
    transform: translateY(-1px) !important;
    border-color: #0b7a4b !important;
    box-shadow: 0 16px 28px rgba(15, 40, 65, .12) !important;
}

.auth-google-mark {
    width: 42px !important;
    height: 42px !important;
    border-radius: 8px !important;
    background: #f6f8fb !important;
    border: 1px solid #e0e8ef !important;
}

.auth-google-copy strong,
.auth-google-copy small {
    display: block !important;
    text-align: left !important;
}

.auth-google-copy strong {
    color: #102033 !important;
    font-size: .98rem !important;
}

.auth-google-copy small,
.auth-google-context {
    color: #66798b !important;
}

.auth-google-arrow {
    color: #0b7a4b !important;
}

.auth-premium-form,
.auth-premium-form--grid {
    display: grid !important;
    gap: .85rem !important;
}

.auth-field > div,
.auth-context-form label span {
    position: relative !important;
    min-height: 48px !important;
    border-radius: 8px !important;
    border: 1px solid #cddbe7 !important;
    background: #fff !important;
}

.auth-field > div:focus-within,
.auth-context-form label span:focus-within {
    border-color: #0b7a4b !important;
    box-shadow: 0 0 0 3px rgba(11, 122, 75, .13) !important;
}

.auth-field input,
.auth-context-form input {
    min-height: 46px !important;
    color: #102033 !important;
}

.auth-field input[type="password"],
.auth-field input[type="text"][name*="password"],
.auth-context-form input[type="password"],
.auth-context-form input[type="text"][name*="password"] {
    padding-right: 3rem !important;
}

.auth-password-toggle {
    position: absolute !important;
    right: .35rem !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    width: 36px !important;
    height: 36px !important;
    display: inline-grid !important;
    place-items: center !important;
    border: 0 !important;
    border-radius: 8px !important;
    background: #eef5f1 !important;
    color: #0b7a4b !important;
    box-shadow: none !important;
    z-index: 2 !important;
}

.auth-password-toggle:hover,
.auth-password-toggle:focus-visible {
    background: #0b7a4b !important;
    color: #fff !important;
}

.auth-context-form label {
    position: relative !important;
}

.auth-password-toggle--modal {
    right: .4rem !important;
    top: auto !important;
    bottom: .42rem !important;
    transform: none !important;
}

.auth-submit-btn,
.auth-context-submit,
.auth-secondary-btn {
    min-height: 48px !important;
    border-radius: 8px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: .45rem !important;
}

.auth-submit-btn,
.auth-context-submit {
    background: #0b7a4b !important;
    border-color: #0b7a4b !important;
    color: #fff !important;
}

.auth-secondary-btn {
    background: #eef4f8 !important;
    border: 1px solid #d5e2eb !important;
    color: #0b2545 !important;
}

.auth-form-row,
.auth-switch-box {
    align-items: center !important;
    gap: .75rem !important;
}

.auth-alert,
.auth-context-message {
    border-radius: 8px !important;
    border-width: 1px !important;
}

.auth-google-callback__shell {
    grid-template-columns: minmax(280px, 560px) !important;
    justify-content: center !important;
}

.auth-google-callback__card {
    text-align: left !important;
}

.auth-google-loader {
    display: flex;
    gap: .35rem;
    margin: .35rem 0 1rem;
}

.auth-google-loader span {
    width: 9px;
    height: 9px;
    border-radius: 999px;
    background: #0b7a4b;
    animation: authGooglePulse 1s infinite ease-in-out;
}

.auth-google-loader span:nth-child(2) {
    animation-delay: .13s;
}

.auth-google-loader span:nth-child(3) {
    animation-delay: .26s;
}

.auth-google-callback__actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: .65rem;
    margin-top: .85rem;
}

@keyframes authGooglePulse {
    0%, 80%, 100% { opacity: .28; transform: scale(.88); }
    40% { opacity: 1; transform: scale(1); }
}

@media (max-width: 991.98px) {
    .auth-premium-shell {
        grid-template-columns: 1fr !important;
    }

    .auth-premium-aside {
        min-height: 280px !important;
    }

    .auth-premium-aside h1 {
        max-width: 16ch !important;
    }
}

@media (max-width: 575.98px) {
    .auth-premium-page {
        padding: .75rem .75rem 2rem !important;
    }

    .auth-premium-aside {
        min-height: 210px !important;
        padding: 1rem !important;
    }

    .auth-premium-logo {
        min-height: 38px !important;
    }

    .auth-premium-aside h1 {
        font-size: 1.7rem !important;
    }

    .auth-premium-aside p,
    .auth-premium-benefits {
        display: none !important;
    }

    .auth-premium-card {
        padding: 1rem !important;
    }

    .auth-premium-form--grid {
        grid-template-columns: 1fr !important;
    }

    .auth-field--wide {
        grid-column: auto !important;
    }

    .auth-google-btn {
        grid-template-columns: 38px 1fr !important;
    }

    .auth-google-arrow {
        display: none !important;
    }

    .auth-google-callback__actions {
        grid-template-columns: 1fr;
    }
}
.admin-notification-sound {
    width: calc(100% - 24px);
    margin: 10px 12px;
    border: 1px solid rgba(22, 163, 74, .28);
    border-radius: 8px;
    background: rgba(22, 163, 74, .08);
    color: #14532d;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 9px 12px;
    font-weight: 800;
    font-size: 13px;
}

.admin-notification-sound:hover,
.admin-notification-sound:focus-visible,
.admin-notification-sound.is-active {
    background: #16a34a;
    border-color: #16a34a;
    color: #fff;
}

.orders-page {
    --orders-border: rgba(15, 118, 110, .14);
}

.orders-page-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 18px;
}

.orders-page-head h1 {
    margin: 6px 0;
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    font-weight: 900;
    color: #12372a;
}

.orders-page-head p {
    margin: 0;
    color: #64748b;
}

.orders-stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 18px;
}

.orders-stats article {
    border: 1px solid var(--orders-border);
    border-radius: 8px;
    background: #fff;
    padding: 16px;
    display: grid;
    gap: 4px;
    box-shadow: 0 10px 26px rgba(15, 23, 42, .06);
}

.orders-stats i {
    color: #16a34a;
    font-size: 20px;
}

.orders-stats strong {
    color: #0f2f24;
    font-size: 22px;
    font-weight: 900;
}

.orders-stats span {
    color: #64748b;
    font-size: 13px;
    font-weight: 700;
}

.orders-table-wrap {
    border: 1px solid var(--orders-border);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 14px 34px rgba(15, 23, 42, .07);
}

.orders-table {
    margin-bottom: 0;
}

.orders-table thead th {
    color: #0f2f24;
    font-weight: 900;
    border-bottom-color: var(--orders-border);
}

.orders-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

.orders-actions .btn {
    border-radius: 7px;
    font-weight: 800;
}

.orders-empty {
    min-height: 260px;
    border: 1px dashed rgba(22, 163, 74, .35);
    border-radius: 8px;
    background: linear-gradient(180deg, rgba(240, 253, 244, .78), #fff);
    display: grid;
    place-items: center;
    align-content: center;
    gap: 10px;
    text-align: center;
    padding: 32px 16px;
}

.orders-empty i {
    font-size: 42px;
    color: #16a34a;
}

.orders-empty strong {
    font-size: 20px;
    color: #12372a;
}

.orders-empty span {
    color: #64748b;
}

@media (max-width: 768px) {
    .orders-page-head {
        align-items: stretch;
        flex-direction: column;
    }

    .orders-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 480px) {
    .orders-stats {
        grid-template-columns: 1fr;
    }

    .orders-actions .btn {
        width: 100%;
    }
}

/* Accueil + formations : visuels business plus professionnels et dimensions fixes */
.page-accueil .market-team-section {
    background:
        linear-gradient(135deg, rgba(255, 255, 255, .98), rgba(241, 248, 252, .98)),
        #fff !important;
}

.page-accueil .market-team-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 1rem !important;
}

.page-accueil .market-team-card {
    display: grid !important;
    grid-template-columns: minmax(168px, 40%) minmax(0, 1fr) !important;
    min-height: 238px;
    overflow: hidden;
    border: 1px solid rgba(15, 23, 42, .1) !important;
    background: #fff !important;
    box-shadow: 0 16px 36px rgba(11, 37, 69, .08) !important;
}

.page-accueil .market-team-card figure {
    position: relative;
    height: 100%;
    min-height: 238px;
    margin: 0;
    background: #e8f0f5;
}

.page-accueil .market-team-card figure::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 46%, rgba(3, 20, 38, .42));
    pointer-events: none;
}

.page-accueil .market-team-card img {
    width: 100%;
    height: 100% !important;
    aspect-ratio: auto !important;
    object-fit: cover;
    object-position: center;
    display: block;
}

.page-accueil .market-team-card figcaption {
    position: absolute;
    right: 12px;
    bottom: 12px;
    z-index: 2;
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, .45);
    border-radius: 8px;
    background: rgba(255, 255, 255, .92);
    color: #047857;
    box-shadow: 0 10px 24px rgba(2, 8, 23, .18);
}

.page-accueil .market-team-card__body {
    align-content: center;
    gap: .45rem;
    padding: 1rem 1.05rem !important;
}

.page-accueil .market-team-card__body small {
    color: #047857 !important;
    font-size: .7rem;
    letter-spacing: .08em;
}

.page-accueil .market-team-card strong {
    font-size: 1rem;
}

.page-accueil .market-team-card p {
    min-height: 0 !important;
    font-size: .82rem;
}

.page-accueil .market-team-card a {
    display: inline-flex;
    width: fit-content;
    min-height: 34px;
    align-items: center;
    padding: .34rem .72rem;
    border: 1px solid rgba(4, 120, 87, .18);
    border-radius: 8px;
    background: #ecfdf5;
    color: #047857 !important;
}

.page-accueil .market-team-card__actions {
    display: flex;
    flex-wrap: wrap;
    gap: .45rem;
    margin-top: .15rem;
}

.page-accueil .market-team-card__action {
    gap: .38rem;
    text-decoration: none;
    font-size: .78rem;
    font-weight: 900;
}

.page-accueil .market-team-card__action--whatsapp {
    border-color: rgba(21, 128, 61, .22) !important;
    background: #dcfce7 !important;
    color: #166534 !important;
}

.page-accueil .market-formation-grid {
    align-items: stretch;
}

.page-accueil .market-formation-card {
    display: flex !important;
    flex-direction: column;
    gap: 0 !important;
    padding: 0 !important;
    overflow: hidden;
    border: 1px solid rgba(15, 23, 42, .1) !important;
    background: #fff !important;
}

.market-formation-card__media {
    position: relative;
    display: block;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #e8f0f5;
    color: inherit;
    text-decoration: none;
}

.market-formation-card__media img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center;
    transition: transform .35s ease;
}

.market-formation-card:hover .market-formation-card__media img {
    transform: scale(1.04);
}

.market-formation-card__media span {
    position: absolute;
    left: 12px;
    bottom: 12px;
    display: inline-flex;
    align-items: center;
    gap: .42rem;
    max-width: calc(100% - 24px);
    min-height: 34px;
    padding: .34rem .62rem;
    border-radius: 8px;
    background: rgba(6, 27, 51, .88);
    color: #fff;
    font-size: .74rem;
    font-weight: 900;
}

.market-formation-card__body {
    display: grid;
    flex: 1;
    gap: .55rem;
    padding: .95rem;
}

.market-formation-card__body small {
    color: #047857;
    font-size: .72rem;
    font-weight: 950;
    text-transform: uppercase;
}

.market-formation-card__body h3 {
    margin: 0;
    color: #061b33;
    font-size: 1.02rem;
    line-height: 1.24;
}

.market-formation-card__body p {
    margin: 0;
    color: #64748b;
    font-size: .86rem;
    line-height: 1.48;
}

.market-formation-card__tags,
.formation-card-pro__tags {
    display: flex;
    flex-wrap: wrap;
    gap: .34rem;
}

.market-formation-card__tags span,
.formation-card-pro__tags span {
    display: inline-flex;
    align-items: center;
    min-height: 26px;
    padding: .18rem .48rem;
    border-radius: 7px;
    background: #f0fdf4;
    color: #047857;
    font-size: .72rem;
    font-weight: 850;
}

.market-formation-card__foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .7rem;
    margin-top: auto;
    padding: .85rem .95rem;
    border-top: 1px solid rgba(15, 23, 42, .08);
}

.market-formation-card__foot strong {
    color: #047857;
    font-weight: 950;
}

.market-formation-card__foot a {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: .34rem .7rem;
    border-radius: 8px;
    background: #047857;
    color: #fff;
    font-weight: 900;
    text-decoration: none;
}

.formation-hero {
    min-height: clamp(430px, 46vw, 560px);
}

.formation-hero .hero-bg-slider img {
    object-fit: cover !important;
    object-position: center !important;
}

.formation-track-showcase {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: .9rem;
    margin-bottom: 1rem;
}

.formation-track-card {
    position: relative;
    display: grid;
    min-height: 310px;
    overflow: hidden;
    border: 1px solid rgba(15, 23, 42, .1);
    border-radius: 8px;
    color: #fff;
    text-decoration: none;
    background: #061b33;
    box-shadow: 0 16px 34px rgba(11, 37, 69, .11);
}

.formation-track-card img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transform: scale(1.01);
    transition: transform .35s ease;
}

.formation-track-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(3, 20, 38, .08), rgba(3, 20, 38, .82)),
        linear-gradient(90deg, rgba(3, 20, 38, .7), rgba(3, 20, 38, .12));
}

.formation-track-card:hover img {
    transform: scale(1.06);
}

.formation-track-card > div {
    position: relative;
    z-index: 1;
    display: grid;
    align-content: end;
    gap: .5rem;
    min-height: 100%;
    padding: 1rem;
}

.formation-track-card span {
    display: inline-flex;
    width: fit-content;
    align-items: center;
    gap: .42rem;
    min-height: 32px;
    padding: .28rem .58rem;
    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: 8px;
    background: rgba(255, 255, 255, .14);
    color: #fff;
    font-size: .72rem;
    font-weight: 950;
    text-transform: uppercase;
    backdrop-filter: blur(8px);
}

.formation-track-card h2 {
    margin: 0;
    color: #fff;
    font-size: 1.16rem;
    line-height: 1.12;
}

.formation-track-card p {
    margin: 0;
    color: rgba(255, 255, 255, .82);
    font-size: .84rem;
    line-height: 1.42;
}

.formation-track-card ul {
    display: flex;
    flex-wrap: wrap;
    gap: .34rem;
    margin: .1rem 0 0;
    padding: 0;
    list-style: none;
}

.formation-track-card li {
    min-height: 24px;
    padding: .16rem .42rem;
    border-radius: 7px;
    background: rgba(255, 255, 255, .16);
    color: #fff;
    font-size: .7rem;
    font-weight: 850;
}

.formation-card-pro__media {
    aspect-ratio: 16 / 10 !important;
}

.formation-card-pro__media em {
    display: inline-flex !important;
    align-items: center;
    gap: .4rem;
    border-radius: 8px !important;
}

.formation-card-pro__media img,
.formation-detail-hero__media img,
.formation-similar-card img {
    width: 100%;
    height: 100%;
    object-fit: cover !important;
    object-position: center !important;
}

.formation-detail-hero__media {
    aspect-ratio: 16 / 10;
    min-height: 0 !important;
}

.formation-similar-card img,
.formation-similar-card > span {
    aspect-ratio: 16 / 10;
    height: auto !important;
}

html.theme-dark .formation-track-card,
html.theme-dark .page-accueil .market-team-card,
html.theme-dark .page-accueil .market-formation-card {
    border-color: rgba(255, 255, 255, .09) !important;
}

@media (max-width: 1199px) {
    .page-accueil .market-team-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }

    .formation-track-showcase {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 700px) {
    .page-accueil .market-team-grid,
    .formation-track-showcase {
        grid-template-columns: 1fr !important;
    }

    .page-accueil .market-team-card {
        grid-template-columns: 1fr !important;
    }

    .page-accueil .market-team-card figure {
        min-height: 210px;
    }

    .page-accueil .market-team-card p {
        display: block !important;
    }

    .page-accueil .market-team-card a {
        display: inline-flex !important;
    }

    .formation-track-card {
        min-height: 250px;
    }
}

/* Admin : modification des visuels accueil */
.home-visuals-admin {
    display: grid;
    gap: 1rem;
}

.home-visuals-admin__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.home-visuals-admin__grid--quick {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.home-visual-card {
    display: grid;
    grid-template-columns: 220px minmax(0, 1fr);
    gap: 1rem;
    align-items: stretch;
    min-height: 220px;
    padding: .85rem;
    border: 1px solid rgba(15, 23, 42, .1);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 12px 28px rgba(11, 37, 69, .07);
}

.home-visual-card--team {
    grid-template-columns: 1fr;
}

.home-visual-card img {
    width: 100%;
    height: 100%;
    min-height: 190px;
    aspect-ratio: 16 / 10;
    display: block;
    object-fit: cover;
    border-radius: 8px;
    background: #e8f0f5;
}

.home-visual-card--team img {
    height: auto;
}

.home-visual-card > div {
    display: grid;
    align-content: center;
    gap: .65rem;
    min-width: 0;
}

.home-visual-card span {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    width: fit-content;
    color: #047857;
    font-size: .76rem;
    font-weight: 950;
    text-transform: uppercase;
}

.home-visual-card strong {
    color: #061b33;
    font-size: 1rem;
}

.home-visual-card p {
    margin: 0;
    color: #64748b;
    font-size: .88rem;
}

.home-visual-card label {
    display: grid;
    gap: .35rem;
    color: #334155;
    font-size: .82rem;
    font-weight: 850;
}

.home-visual-card .form-control {
    min-height: 42px;
    border-radius: 8px;
}

.admin-sticky-actions {
    position: sticky;
    bottom: 0;
    z-index: 20;
    display: flex;
    flex-wrap: wrap;
    gap: .65rem;
    padding: .85rem;
    border: 1px solid rgba(15, 23, 42, .1);
    border-radius: 8px;
    background: rgba(255, 255, 255, .96);
    box-shadow: 0 -10px 28px rgba(15, 23, 42, .08);
    backdrop-filter: blur(10px);
}

html.theme-dark .home-visual-card,
html.theme-dark .admin-sticky-actions {
    border-color: rgba(255, 255, 255, .1);
    background: rgba(11, 31, 54, .9);
    color: #edf6ff;
}

html.theme-dark .home-visual-card strong,
html.theme-dark .home-visual-card label {
    color: #edf6ff;
}

/* Admin : equipe affichee sur l'accueil */
.team-admin-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: .85rem;
    margin-bottom: 1rem;
}

.team-admin-stats article {
    display: flex;
    align-items: center;
    gap: .75rem;
    min-height: 86px;
    padding: .9rem;
    border: 1px solid rgba(15, 23, 42, .09);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 12px 28px rgba(11, 37, 69, .06);
}

.team-admin-stats span {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 8px;
    background: #eef6ff;
    color: #0369a1;
}

.team-admin-stats strong {
    display: block;
    color: #061b33;
    font-size: 1.35rem;
    line-height: 1;
}

.team-admin-stats small {
    color: #64748b;
    font-weight: 800;
}

.team-admin-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(360px, 420px);
    gap: 1rem;
    align-items: start;
}

.team-admin-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .9rem;
}

.team-admin-card {
    display: grid;
    grid-template-columns: 140px minmax(0, 1fr);
    min-height: 210px;
    overflow: hidden;
    border: 1px solid rgba(15, 23, 42, .09);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 14px 30px rgba(11, 37, 69, .07);
}

.team-admin-card--inactive {
    opacity: .68;
}

.team-admin-card img {
    width: 100%;
    height: 100%;
    min-height: 210px;
    object-fit: cover;
    background: #e8f0f5;
}

.team-admin-card > div {
    display: grid;
    align-content: center;
    gap: .38rem;
    padding: .85rem;
    min-width: 0;
}

.team-admin-card span {
    color: #047857;
    font-size: .7rem;
    font-weight: 950;
    letter-spacing: .07em;
    text-transform: uppercase;
}

.team-admin-card strong {
    color: #061b33;
    font-size: 1rem;
}

.team-admin-card small {
    color: #6b86a5;
    font-weight: 850;
}

.team-admin-card p {
    margin: 0;
    color: #64748b;
    font-size: .82rem;
    line-height: 1.45;
}

.team-admin-card__contacts,
.team-admin-card__actions {
    display: flex;
    flex-wrap: wrap;
    gap: .45rem;
    align-items: center;
}

.team-admin-card__contacts a,
.team-admin-card__contacts em {
    display: inline-flex;
    align-items: center;
    gap: .32rem;
    min-height: 28px;
    padding: .18rem .48rem;
    border-radius: 8px;
    background: #f0fdf4;
    color: #047857;
    font-size: .72rem;
    font-style: normal;
    font-weight: 900;
    text-decoration: none;
}

.team-admin-card__contacts em {
    background: #fff7ed;
    color: #c2410c;
}

.team-admin-card__actions form {
    margin: 0;
}

.team-admin-form-panel {
    position: sticky;
    top: 82px;
}

.team-admin-form {
    display: grid;
    gap: 1rem;
}

.team-admin-preview {
    display: grid;
    grid-template-columns: 118px minmax(0, 1fr);
    gap: .85rem;
    align-items: center;
    padding: .75rem;
    border: 1px solid rgba(15, 23, 42, .08);
    border-radius: 8px;
    background: linear-gradient(135deg, #f8fbff, #f0fdf4);
}

.team-admin-preview img {
    width: 118px;
    height: 118px;
    object-fit: cover;
    border-radius: 8px;
    background: #e8f0f5;
}

.team-admin-preview span {
    display: inline-flex;
    width: fit-content;
    min-height: 28px;
    align-items: center;
    padding: .18rem .48rem;
    border-radius: 8px;
    background: #dcfce7;
    color: #166534;
    font-size: .72rem;
    font-weight: 950;
    text-transform: uppercase;
}

.team-admin-preview strong {
    display: block;
    margin-top: .45rem;
    color: #061b33;
    font-size: 1.15rem;
}

.team-admin-preview small {
    color: #64748b;
    font-weight: 850;
}

.team-admin-form .form-control {
    min-height: 42px;
    border-radius: 8px;
}

.team-admin-switch {
    display: flex;
    gap: .55rem;
    align-items: center;
    width: fit-content;
    min-height: 42px;
    padding: .4rem .65rem;
    border: 1px solid rgba(4, 120, 87, .18);
    border-radius: 8px;
    background: #ecfdf5;
    color: #047857;
    font-weight: 900;
}

.team-admin-switch input {
    width: 18px;
    height: 18px;
    accent-color: #047857;
}

html.theme-dark .team-admin-stats article,
html.theme-dark .team-admin-card,
html.theme-dark .team-admin-preview {
    border-color: rgba(255, 255, 255, .1);
    background: rgba(11, 31, 54, .9);
}

html.theme-dark .team-admin-stats strong,
html.theme-dark .team-admin-card strong,
html.theme-dark .team-admin-preview strong {
    color: #edf6ff;
}

@media (max-width: 1199px) {
    .home-visuals-admin__grid,
    .home-visuals-admin__grid--quick {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .home-visual-card {
        grid-template-columns: 1fr;
    }

    .team-admin-layout {
        grid-template-columns: 1fr;
    }

    .team-admin-form-panel {
        position: static;
    }
}

@media (max-width: 700px) {
    .home-visuals-admin__grid,
    .home-visuals-admin__grid--quick {
        grid-template-columns: 1fr;
    }

    .team-admin-stats,
    .team-admin-grid {
        grid-template-columns: 1fr;
    }

    .team-admin-card,
    .team-admin-preview {
        grid-template-columns: 1fr;
    }

    .team-admin-card img,
    .team-admin-preview img {
        width: 100%;
        height: auto;
        aspect-ratio: 16 / 10;
    }

    .admin-sticky-actions .btn {
        width: 100%;
    }
}

/* Accueil : assistance WhatsApp plus professionnelle */
.page-accueil .market-help {
    grid-template-columns: minmax(250px, .86fr) minmax(360px, 1.08fr) minmax(320px, .9fr) !important;
    gap: clamp(.85rem, 1.6vw, 1.2rem) !important;
    align-items: stretch !important;
    border: 1px solid rgba(15, 23, 42, .09) !important;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, .98), rgba(240, 253, 250, .96)),
        #fff !important;
    color: #061b33 !important;
    box-shadow: 0 20px 52px rgba(11, 37, 69, .1) !important;
}

.page-accueil .market-help::before {
    background:
        radial-gradient(circle at 18% 15%, rgba(4, 120, 87, .1), transparent 28%),
        linear-gradient(rgba(15, 23, 42, .035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(15, 23, 42, .03) 1px, transparent 1px) !important;
    background-size: auto, 38px 38px, 38px 38px !important;
    mask-image: none !important;
}

.page-accueil .market-help__intro {
    padding: .25rem;
}

.page-accueil .market-help__intro span:first-child {
    color: #047857 !important;
}

.page-accueil .market-help__intro h2 {
    max-width: 410px;
    color: #061b33 !important;
    font-size: clamp(1.55rem, 2.6vw, 2.25rem) !important;
    line-height: 1.08 !important;
}

.page-accueil .market-help__intro p {
    max-width: 420px;
    color: #58708b !important;
}

.page-accueil .market-help__trust span {
    border-color: rgba(4, 120, 87, .16) !important;
    background: #ecfdf5 !important;
    color: #075f46 !important;
}

.page-accueil .market-help__service-note {
    display: grid;
    grid-template-columns: 40px minmax(0, 1fr);
    gap: .45rem .65rem;
    align-items: center;
    margin-top: .35rem;
    padding: .75rem;
    border: 1px solid rgba(4, 120, 87, .14);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 12px 26px rgba(11, 37, 69, .06);
}

.page-accueil .market-help__service-note i {
    grid-row: span 2;
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    border-radius: 8px;
    background: #047857;
    color: #fff;
}

.page-accueil .market-help__service-note strong {
    color: #061b33;
    font-weight: 950;
}

.page-accueil .market-help__service-note small {
    color: #64748b;
    font-weight: 750;
    line-height: 1.35;
}

.page-accueil .market-help__options {
    align-content: center;
}

.page-accueil .market-help-option {
    min-height: 92px !important;
    border-color: rgba(15, 23, 42, .1) !important;
    background: rgba(255, 255, 255, .92) !important;
    color: #061b33 !important;
    box-shadow: 0 12px 28px rgba(11, 37, 69, .06);
}

.page-accueil .market-help-option:hover,
.page-accueil .market-help-option:focus-visible,
.page-accueil .market-help-option.active {
    transform: translateY(-2px);
    border-color: rgba(4, 120, 87, .42) !important;
    background: #fff !important;
    box-shadow: 0 18px 36px rgba(4, 120, 87, .12) !important;
}

.page-accueil .market-help-option i {
    background: #f59e0b !important;
    color: #061b33 !important;
    box-shadow: inset 0 -10px 18px rgba(255, 255, 255, .18);
}

.page-accueil .market-help-option.active i {
    background: #047857 !important;
    color: #fff !important;
}

.page-accueil .market-help-option strong {
    color: #061b33 !important;
}

.page-accueil .market-help-option small {
    color: #64748b !important;
}

.page-accueil .market-help__panel {
    border-color: rgba(6, 27, 51, .12) !important;
    background:
        linear-gradient(135deg, #061b33, #0f3f5e 58%, #047857),
        #061b33 !important;
    color: #fff !important;
    box-shadow: 0 18px 40px rgba(6, 27, 51, .18);
}

.page-accueil .market-help__panel-head > i {
    background: #16a34a !important;
}

.page-accueil .market-help__meta {
    display: flex;
    flex-wrap: wrap;
    gap: .45rem;
}

.page-accueil .market-help__meta span {
    display: inline-flex;
    align-items: center;
    gap: .34rem;
    min-height: 28px;
    padding: .22rem .52rem;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 8px;
    background: rgba(255, 255, 255, .1);
    color: rgba(255, 255, 255, .9);
    font-size: .72rem;
    font-weight: 900;
}

.page-accueil .market-help__message {
    border: 1px solid rgba(255, 255, 255, .22);
    background: rgba(255, 255, 255, .95) !important;
}

.page-accueil .market-help__faq details {
    background: rgba(255, 255, 255, .08) !important;
}

@media (max-width: 1199px) {
    .page-accueil .market-help {
        grid-template-columns: 1fr 1fr !important;
    }

    .page-accueil .market-help__panel {
        grid-column: 1 / -1;
    }
}

@media (max-width: 700px) {
    .page-accueil .market-help {
        grid-template-columns: 1fr !important;
        padding: .9rem !important;
    }

    .page-accueil .market-help-option {
        min-height: 82px !important;
    }
}

/* Localisation : vrai partage GPS client */
.eclosion-location-hero {
    overflow: hidden;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, .98), rgba(240, 253, 250, .95)),
        #fff !important;
}

.eclosion-location-hero p {
    max-width: 760px;
    color: #64748b;
}

.eclosion-location-stack {
    display: grid;
    gap: 1rem;
}

.eclosion-location-card--client {
    border-color: rgba(4, 120, 87, .18) !important;
    background: linear-gradient(135deg, #fff, #f0fdf4) !important;
}

.eclosion-location-card--client p {
    color: #64748b;
}

.eclosion-location-result {
    display: grid;
    gap: .7rem;
    margin-top: .85rem;
    padding: .75rem;
    border: 1px solid rgba(4, 120, 87, .14);
    border-radius: 8px;
    background: #fff;
}

.eclosion-location-result strong {
    color: #061b33;
    font-size: .9rem;
    overflow-wrap: anywhere;
}

.eclosion-location-result__actions {
    display: flex;
    flex-wrap: wrap;
    gap: .45rem;
}

.eclosion-location-result__actions .btn {
    border-radius: 8px;
    font-weight: 850;
}

.eclosion-location-map--client iframe {
    min-height: 300px !important;
}

html.theme-dark .eclosion-location-hero,
html.theme-dark .eclosion-location-card--client,
html.theme-dark .eclosion-location-result {
    border-color: rgba(255, 255, 255, .1) !important;
    background: rgba(11, 31, 54, .92) !important;
}

html.theme-dark .eclosion-location-result strong {
    color: #edf6ff;
}
/* Boutique : hero logiciel, plus dense et operationnel */
.shop-hero {
    min-height: 500px !important;
    padding: clamp(1.6rem, 3.2vw, 2.6rem) 0 !important;
    background: #061b33 !important;
}

.shop-hero::after {
    background:
        linear-gradient(90deg, rgba(3, 18, 34, .96) 0%, rgba(5, 30, 50, .9) 48%, rgba(5, 36, 54, .72) 100%) !important;
}

.shop-hero__inner {
    display: grid !important;
    grid-template-columns: minmax(390px, .78fr) minmax(560px, 1.22fr) !important;
    align-items: center !important;
    gap: clamp(1rem, 2vw, 1.8rem) !important;
}

.shop-hero__copy {
    max-width: none !important;
    padding: 1.25rem !important;
    border: 1px solid rgba(255, 255, 255, .13);
    border-radius: 8px;
    background: rgba(1, 14, 27, .36);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06);
}

.shop-hero h1 {
    max-width: 720px;
    margin-bottom: .65rem !important;
    font-size: clamp(2.2rem, 3.5vw, 3.45rem) !important;
    line-height: 1.02 !important;
}

.shop-hero p {
    max-width: 680px !important;
    margin-bottom: .9rem !important;
    font-size: clamp(1rem, 1.2vw, 1.12rem) !important;
}

.shop-hero-search {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr) auto;
    align-items: center;
    max-width: 680px;
    min-height: 54px;
    margin: 1.1rem 0 .85rem;
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 8px;
    background: #ffffff;
    overflow: hidden;
    box-shadow: 0 18px 36px rgba(0, 0, 0, .18);
}

.shop-hero-search > i {
    color: #047857;
    text-align: center;
}

.shop-hero-search input {
    min-width: 0;
    height: 54px;
    border: 0;
    outline: 0;
    color: #061b33;
    font-weight: 850;
}

.shop-hero-search button {
    align-self: stretch;
    border: 0;
    padding: 0 1rem;
    background: #047857;
    color: #fff;
    font-weight: 950;
}

.shop-hero-metrics {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: .7rem;
    max-width: 680px;
    margin-bottom: 1rem;
}

.shop-hero-metrics span,
.shop-hero-ops span {
    display: grid;
    gap: .12rem;
    padding: .72rem .82rem;
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 8px;
    background: rgba(255, 255, 255, .08);
}

.shop-hero-metrics strong {
    color: #fff;
    font-size: 1.18rem;
    font-weight: 950;
}

.shop-hero-metrics small {
    color: rgba(225, 239, 250, .78);
    font-size: .72rem;
    font-weight: 850;
    text-transform: uppercase;
}

.shop-hero__visual {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 92px !important;
    gap: .65rem !important;
    align-items: center !important;
}

.shop-hero-console {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: .58rem .75rem;
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 8px;
    background: rgba(255, 255, 255, .08);
}

.shop-hero-console span,
.shop-hero-console em,
.shop-hero-ops span {
    color: rgba(225, 239, 250, .82);
    font-size: .75rem;
    font-style: normal;
    font-weight: 850;
}

.shop-hero-console strong {
    display: block;
    color: #fff;
    font-size: 1rem;
    font-weight: 950;
}

.shop-hero-console em i {
    color: #22c55e;
    font-size: .55rem;
}

.shop-hero-product-carousel {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    border-radius: 8px !important;
    overflow: hidden !important;
    border: 1px solid rgba(255, 255, 255, .16) !important;
    background: rgba(255, 255, 255, .08) !important;
    box-shadow: 0 22px 48px rgba(0, 0, 0, .22) !important;
}

.shop-hero-product-carousel .carousel-item,
.shop-hero-product-carousel img {
    min-height: 340px !important;
    height: 340px !important;
}

.shop-hero-product-carousel .carousel-item {
    position: relative;
}

.shop-hero-product-carousel img {
    width: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
    filter: saturate(1.04) contrast(1.02) !important;
}

.shop-hero-product-carousel__info {
    right: .8rem !important;
    bottom: .8rem !important;
    left: .8rem !important;
    width: auto !important;
    border-radius: 8px !important;
    background: rgba(6, 27, 51, .86) !important;
    backdrop-filter: blur(10px) !important;
}

.shop-hero__badge {
    position: static !important;
    display: grid !important;
    place-items: center !important;
    width: 78px !important;
    height: 78px !important;
    border-radius: 8px !important;
    background: #fff !important;
    box-shadow: 0 18px 34px rgba(0, 0, 0, .18) !important;
}

.shop-hero__badge strong {
    color: #047857 !important;
    font-size: 1.28rem !important;
}

.shop-hero__badge span {
    color: #1f3348 !important;
    font-size: .72rem !important;
    font-weight: 850;
}

.shop-hero-ops {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: .55rem;
}

.shop-hero-ops span {
    display: flex;
    align-items: center;
    gap: .45rem;
}

.shop-hero-ops i {
    color: #f59e0b;
}

/* Vente entreprise : interface de caisse professionnelle */
.admin-area .enterprise-page-head {
    align-items: stretch !important;
    background:
        linear-gradient(135deg, #ffffff, #f6fbff),
        #fff !important;
}

.enterprise-head-actions {
    display: flex;
    align-items: center;
    gap: .65rem;
}

.enterprise-workflow {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: .75rem;
}

.enterprise-workflow article {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    gap: .65rem;
    align-items: center;
    padding: .85rem;
    border: 1px solid #dce7ef;
    border-radius: 8px;
    background: #fff;
}

.enterprise-workflow i {
    grid-row: span 2;
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 8px;
    background: #ecfdf5;
    color: #047857;
}

.enterprise-workflow strong,
.enterprise-workflow small {
    display: block;
}

.enterprise-workflow strong {
    color: #061b33;
    font-weight: 950;
}

.enterprise-workflow small {
    color: #64748b;
    font-weight: 800;
}

.admin-area .enterprise-sale-card,
.admin-area .enterprise-stock-card,
.admin-area .enterprise-history-panel {
    border-radius: 8px !important;
    box-shadow: 0 16px 34px rgba(11, 37, 69, .08) !important;
}

.admin-area .offsite-sale-panel .admin-panel__head h2 {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
}

.enterprise-field {
    display: grid;
    gap: .35rem;
    margin: 0;
}

.enterprise-field > span {
    color: #40566d;
    font-size: .76rem;
    font-weight: 900;
    text-transform: uppercase;
}

.enterprise-field--wide,
.enterprise-total-field {
    grid-column: span 2;
}

.enterprise-total-field input {
    border-color: rgba(4, 120, 87, .22) !important;
    background: #ecfdf5 !important;
    color: #065f46 !important;
    font-weight: 950 !important;
}

.enterprise-stock-note {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr);
    gap: .65rem;
    align-items: center;
    padding: .78rem .9rem;
    border: 1px solid rgba(14, 116, 144, .2);
    border-radius: 8px;
    background: #ecfeff;
    color: #164e63;
    font-weight: 800;
}

.enterprise-stock-note i {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border-radius: 8px;
    background: #0891b2;
    color: #fff;
}

.enterprise-history-panel .table thead th {
    position: sticky;
    top: 0;
    z-index: 1;
    background: #f8fbfd;
    color: #40566d;
    font-size: .74rem;
    font-weight: 950;
    text-transform: uppercase;
}

html.theme-dark .enterprise-workflow article,
html.theme-dark .admin-area .enterprise-page-head {
    background: #0d2238 !important;
    border-color: rgba(255, 255, 255, .14) !important;
}

html.theme-dark .enterprise-workflow strong,
html.theme-dark .enterprise-field > span {
    color: #f7fbff !important;
}

html.theme-dark .enterprise-workflow small {
    color: #c9d9e6 !important;
}

html.theme-dark .enterprise-stock-note {
    background: rgba(8, 145, 178, .13);
    color: #d8f6ff;
    border-color: rgba(125, 211, 252, .25);
}

@media (max-width: 1199.98px) {
    .shop-hero__inner {
        grid-template-columns: 1fr !important;
    }

    .enterprise-workflow {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767.98px) {
    .shop-hero {
        min-height: auto !important;
    }

    .shop-hero__copy {
        padding: 1rem !important;
    }

    .shop-hero-search,
    .shop-hero__visual,
    .shop-hero-metrics,
    .shop-hero-ops,
    .enterprise-workflow {
        grid-template-columns: 1fr !important;
    }

    .shop-hero-search {
        display: flex;
        flex-wrap: wrap;
        padding: .6rem;
    }

    .shop-hero-search input,
    .shop-hero-search button {
        width: 100%;
    }

    .shop-hero__badge {
        width: 100% !important;
        height: auto !important;
        min-height: 64px;
    }

    .enterprise-head-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .enterprise-field--wide,
    .enterprise-total-field {
        grid-column: auto;
    }
}

/* Logo : affichage sur mobile et dans le menu latéral */
@media (max-width: 767.98px) {
    .header-brand-col .logo-link {
        display: inline-flex !important;
        align-items: center;
    }

    .mobile-main-menu__brand .mobile-menu-logo {
        max-height: 42px;
        width: auto;
    }
}

/* Export ERP/CSV : empêcher footer/statusbar de remonter en haut du document */
body.erp-export-document {
    display: block !important;
    min-height: auto !important;
    padding: 0 !important;
}

body.erp-export-document .site-footer,
body.erp-export-document .admin-app-statusbar,
body.erp-export-document footer {
    display: none !important;
    position: static !important;
    order: unset !important;
}

body.admin-area.admin-export-preview .admin-app-statusbar {
    position: fixed;
    bottom: 0;
    top: auto;
}

/* ============================================================
   Layout public : footer collé en bas (sticky footer)
   ============================================================ */
html, body {
    min-height: 100% !important;
}

body.eclosion-site:not(.admin-area) {
    display: flex !important;
    flex-direction: column !important;
    min-height: 100vh !important;
}

body.eclosion-site:not(.admin-area) > .main-header {
    flex: 0 0 auto;
    order: 1;
    width: 100%;
}

body.eclosion-site:not(.admin-area) > main#eclosion-page-shell {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    order: 2;
    width: 100%;
    min-height: 0;
}

body.eclosion-site:not(.admin-area) > .site-footer {
    flex: 0 0 auto;
    order: 10;
    width: 100%;
    margin-top: auto !important;
}

body.eclosion-site:not(.admin-area) > .premium-floating-actions,
body.eclosion-site:not(.admin-area) > .premium-chat-panel,
body.eclosion-site:not(.admin-area) > .offcanvas,
body.eclosion-site:not(.admin-area) > #market-global-loader,
body.eclosion-site:not(.admin-area) > .eclosion-loader,
body.eclosion-site:not(.admin-area) > .auth-context-modal {
    order: 20;
}

body.eclosion-site:not(.admin-area) > main#eclosion-page-shell > * {
    flex: 1 1 auto;
    min-height: 0;
}

.admin-area .order-detail-map iframe {
    width: 100%;
    min-height: 220px;
    border: 0;
    border-radius: 12px;
}

.detail-top-hero--product {
    position: relative;
    overflow: hidden;
    min-height: clamp(220px, 32vw, 360px);
}

.detail-top-hero__bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    filter: none;
    opacity: 0.42;
}

.detail-top-hero--product .detail-top-hero__inner {
    position: relative;
    z-index: 1;
}

.shop-product-card__img {
    object-fit: contain !important;
    object-position: center;
    background: #fff;
}

/* Mobile product grid : deux cards par ligne pour le catalogue */
@media (max-width: 575.98px) {
    .shop-page-content .row.g-3 > .col-6,
    .shop-page-content .row.g-3 > .col-sm-6 {
        flex: 0 0 50%;
        max-width: 50%;
    }

    .shop-product-card {
        min-height: 100%;
    }
}

/* Commandes : meilleure responsivité et gestion du défilement mobile */
.orders-table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.orders-table th,
.orders-table td {
    white-space: nowrap;
}

@media (max-width: 768px) {
    .orders-table {
        min-width: 680px;
    }
}

/* Localisation : mise en page plus lisible sur mobile */
.eclosion-location-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: minmax(0, 1.5fr) minmax(260px, 1fr);
    align-items: start;
}

@media (max-width: 992px) {
    .eclosion-location-grid {
        grid-template-columns: 1fr;
    }
}

.eclosion-location-map iframe,
.eclosion-location-map--client iframe {
    width: 100%;
    border-radius: 14px;
    min-height: 320px;
}
/* Boutique epuree : un titre simple a la place du grand bandeau */
.shop-title { margin: .25rem 0 1.25rem; }
.shop-title h1 { margin: 0 0 .25rem; font-size: clamp(1.5rem, 2.4vw, 2rem); }
.shop-title p { margin: 0; color: #5d6b63; }
html.theme-dark .shop-title p { color: #b8c7bd; }
/* Fiche produit : bandeau reduit au fil d'Ariane (titre et prix sont dans la fiche) */
.detail-top-hero--compact { min-height: 0 !important; padding: .9rem 0 !important; }
.detail-top-hero--compact .detail-top-hero__bg { display: none; }

/* ==== icons-epure.css ==== */
/* ============================================================
   ICONES EPUREES — Eclosion+
   Une seule regle centrale pour tout le site et l'admin :
   on masque les icones purement decoratives placees devant
   un texte qui se suffit a lui-meme (titres, libelles, en-tetes
   de tableau, elements de menu deroulant, petites etiquettes).
   Les icones seules (boutons sans texte, menu admin replie,
   panier, recherche, fermeture...) ne sont PAS touchees.
   Pour garder une icone malgre tout : ajouter la classe "keep-icon".
   ============================================================ */

/* 1. Icones decoratives a masquer */
h1 > i[class*="fa-"]:not(.keep-icon),
h2 > i[class*="fa-"]:not(.keep-icon),
h3 > i[class*="fa-"]:not(.keep-icon),
h4 > i[class*="fa-"]:not(.keep-icon),
h5 > i[class*="fa-"]:not(.keep-icon),
h6 > i[class*="fa-"]:not(.keep-icon),
.card-title > i[class*="fa-"]:not(.keep-icon),
.card-header > i[class*="fa-"]:not(.keep-icon),
.modal-title > i[class*="fa-"]:not(.keep-icon),
th > i[class*="fa-"]:not(.keep-icon),
label > i[class*="fa-"]:not(.keep-icon),
.form-label > i[class*="fa-"]:not(.keep-icon),
.dropdown-item > i[class*="fa-"]:not(.keep-icon),
.dropdown-header > i[class*="fa-"]:not(.keep-icon),
.nav-tabs .nav-link > i[class*="fa-"]:not(.keep-icon),
.market-section-head span > i[class*="fa-"]:not(.keep-icon),
small > i.fa-star:not(.keep-icon) {
    display: none !important;
}

/* 2. Harmonisation des icones restantes : meme alignement, meme gouttiere */
i.fas, i.fab, i.far, i.fa-solid, i.fa-regular, i.fa-brands {
    vertical-align: -0.125em;
    line-height: 1;
}
.btn > i[class*="fa-"]:first-child:not(:only-child) {
    margin-right: 0.45em;
}
.btn > i[class*="fa-"].me-1:first-child:not(:only-child),
.btn > i[class*="fa-"].me-2:first-child:not(:only-child) {
    margin-right: 0.45em !important;
}

