/* ==========================================================================
   maboutik — modern.css
   Fichier de modernisation cosmétique non-destructif.
   Chargé APRÈS style.css pour surcharger uniquement les éléments visuels.
   Ne touche pas à la logique métier ; ne renomme aucune classe.
   ========================================================================== */


/* --------------------------------------------------------------------------
   1. Design tokens (variables CSS)
   -------------------------------------------------------------------------- */
:root {
    /* Couleurs maboutik (issues de params/vars.php) */
    --mb-primary:        #13a6c2;
    --mb-primary-dark:   #0e8aa1;
    --mb-primary-light:  #4fc3da;
    --mb-primary-soft:   rgba(19, 166, 194, 0.08);
    --mb-dark:           #263238;
    --mb-bg:             #f3f8fa;
    --mb-surface:        #ffffff;
    --mb-surface-2:      #f8fafc;
    --mb-border:         #e6eef2;
    --mb-border-strong:  #cfd8dd;
    --mb-text:           #283038;
    --mb-text-muted:     #5b6770;
    --mb-text-soft:      #8a96a0;
    --mb-success:        #10ce78;
    --mb-warning:        #FFB613;
    --mb-danger:         #ff2913;
    --mb-yellow:         #edb738;

    /* Espacements (échelle 4px) */
    --mb-space-1: 0.25rem;
    --mb-space-2: 0.5rem;
    --mb-space-3: 0.75rem;
    --mb-space-4: 1rem;
    --mb-space-5: 1.5rem;
    --mb-space-6: 2rem;
    --mb-space-7: 3rem;

    /* Rayons */
    --mb-radius-sm: 6px;
    --mb-radius:    10px;
    --mb-radius-lg: 16px;
    --mb-radius-xl: 24px;

    /* Ombres */
    --mb-shadow-xs: 0 1px 2px rgba(15, 23, 42, 0.04);
    --mb-shadow-sm: 0 2px 4px rgba(15, 23, 42, 0.06), 0 1px 2px rgba(15, 23, 42, 0.04);
    --mb-shadow:    0 4px 12px rgba(15, 23, 42, 0.08), 0 2px 4px rgba(15, 23, 42, 0.04);
    --mb-shadow-md: 0 10px 24px rgba(15, 23, 42, 0.10), 0 4px 8px rgba(15, 23, 42, 0.06);
    --mb-shadow-lg: 0 20px 40px rgba(15, 23, 42, 0.12);

    /* Transitions */
    --mb-ease:        cubic-bezier(.4, 0, .2, 1);
    --mb-transition:  150ms var(--mb-ease);
    --mb-transition-slow: 300ms var(--mb-ease);

    /* Layout */
    --mb-sidebar-width: 240px;
}

/* --------------------------------------------------------------------------
   2. Reset doux & rendu typographique
   -------------------------------------------------------------------------- */
html {
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    color: var(--mb-text);
    background-color: var(--mb-bg);
}

/* Lien par défaut plus sobre, soulignement au hover */
a {
    color: var(--mb-primary);
    transition: color var(--mb-transition);
}
a:hover {
    color: var(--mb-primary-dark);
}

/* Focus visible accessible — anneau couleur primaire */
:focus-visible {
    outline: 2px solid var(--mb-primary);
    outline-offset: 2px;
    border-radius: 4px;
}
button:focus-visible,
.btn:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
a:focus-visible {
    outline: 2px solid var(--mb-primary);
    outline-offset: 2px;
}

/* Sélection texte aux couleurs maboutik */
::selection {
    background-color: var(--mb-primary);
    color: #fff;
}

/* --------------------------------------------------------------------------
   3. Typographie harmonisée
   -------------------------------------------------------------------------- */
body, html {
    font-family: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-size: 14px;
    line-height: 1.55;
}
h1, h2, h3, h4, h5, h6, .font-primary {
    font-family: "Poppins", system-ui, sans-serif;
    color: var(--mb-dark);
    line-height: 1.25;
    letter-spacing: -0.01em;
}
h1 { font-weight: 600; }
h2 { font-weight: 500; }
h3 { font-weight: 500; }
h4 { font-weight: 400; }
h5, h6 { font-weight: 400; }

/* Améliorations spécifiques home */
#homeBox h1 { font-size: clamp(24px, 3vw, 34px); font-weight: 600; line-height: 1.2; letter-spacing: -0.02em; }
#homeBox h2 { font-size: clamp(18px, 2vw, 22px); font-weight: 500; }

/* --------------------------------------------------------------------------
   4. Boutons (Bootstrap btn-*) modernisés
   Note : !important pour battre les styles inline omniprésents dans le code.
   -------------------------------------------------------------------------- */
.btn {
    border-radius: var(--mb-radius-sm) !important;
    font-weight: 500 !important;
    letter-spacing: 0.01em;
    padding: 0.5rem 1rem;
    transition: background-color var(--mb-transition),
                border-color var(--mb-transition),
                color var(--mb-transition),
                transform var(--mb-transition),
                box-shadow var(--mb-transition) !important;
    box-shadow: var(--mb-shadow-xs);
}
.btn:hover { transform: translateY(-1px); box-shadow: var(--mb-shadow-sm); }
.btn:active { transform: translateY(0); box-shadow: var(--mb-shadow-xs); }

.btn-primary,
.btn-info {
    background-color: var(--mb-primary);
    border-color: var(--mb-primary);
    color: #fff;
}
.btn-primary:hover,
.btn-info:hover {
    background-color: var(--mb-primary-dark);
    border-color: var(--mb-primary-dark);
    color: #fff;
}

.btn-outline-primary {
    color: var(--mb-primary);
    border-color: var(--mb-primary);
    background-color: transparent;
}
.btn-outline-primary:hover {
    background-color: var(--mb-primary);
    border-color: var(--mb-primary);
    color: #fff;
}

.btn-success { background-color: var(--mb-success); border-color: var(--mb-success); }
.btn-warning { background-color: var(--mb-warning); border-color: var(--mb-warning); color: #fff; }
.btn-danger  { background-color: var(--mb-danger);  border-color: var(--mb-danger); }

/* Boutons "ghost" très utilisés sur le site (input-group-text avec onclick) */
.input-group-text[onclick] {
    cursor: pointer;
    transition: filter var(--mb-transition), transform var(--mb-transition);
}
.input-group-text[onclick]:hover {
    filter: brightness(1.05);
    transform: translateY(-1px);
}

/* --------------------------------------------------------------------------
   5. Formulaires
   -------------------------------------------------------------------------- */
.form-control,
.form-select,
input[type="text"],
input[type="email"],
input[type="password"],
input[type="number"],
input[type="search"],
input[type="tel"],
input[type="url"],
input[type="date"],
input[type="time"],
textarea,
select {
    border-radius: var(--mb-radius-sm) !important;
    border: 1px solid var(--mb-border-strong) !important;
    background-color: var(--mb-surface);
    color: var(--mb-text);
    padding: 0.5rem 0.75rem;
    transition: border-color var(--mb-transition), box-shadow var(--mb-transition);
}

.form-control:focus,
.form-select:focus,
input:focus,
textarea:focus,
select:focus {
    border-color: var(--mb-primary) !important;
    box-shadow: 0 0 0 3px var(--mb-primary-soft) !important;
    outline: none;
}

.form-control:disabled,
.form-select:disabled,
input:disabled,
textarea:disabled {
    background-color: var(--mb-surface-2);
    color: var(--mb-text-muted);
    cursor: not-allowed;
}

label,
.form-label {
    color: var(--mb-text-muted);
    font-weight: 500;
    font-size: 0.85em;
    margin-bottom: 0.35rem;
}

/* Input group sans collision visuelle */
.input-group > .form-control,
.input-group > .form-select {
    border-color: var(--mb-border-strong);
}

/* Trumbowyg (éditeur riche) */
.trumbowyg-box,
.trumbowyg-editor {
    border-radius: var(--mb-radius-sm) !important;
    border-color: var(--mb-border-strong) !important;
}
/* Cache la textarea originale doublonnée que Trumbowyg garde en backup
   (sinon on voit le textarea vide en-dessous de l'éditeur, séparé par une ligne) */
.trumbowyg-box .trumbowyg-textarea,
.trumbowyg-box textarea.TextFormating,
.trumbowyg-box > textarea {
    display: none !important;
    height: 0 !important;
    min-height: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    visibility: hidden !important;
}
/* Hauteur confortable pour l'éditeur (équivalent à 8-10 lignes) */
.trumbowyg-box {
    min-height: 240px !important;
    height: auto !important;
}
.trumbowyg-box .trumbowyg-editor {
    min-height: 200px !important;
    padding: 12px 14px !important;
    font-size: 14px !important;
    line-height: 1.5 !important;
}

/* --------------------------------------------------------------------------
   6. Header & Navigation — refonte moderne
   -------------------------------------------------------------------------- */
.mb-header {
    position: sticky;
    top: 0;
    z-index: 1001;
    height: 88px;
    background-color: #ffffff;
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.06);
    transition: background-color 200ms var(--mb-ease), box-shadow 200ms var(--mb-ease);
}
.mb-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    height: 100%;
    padding: 0 1.25rem;
    max-width: 1600px;
    margin: 0 auto;
}

/* Marque / Logo */
.mb-header__brand {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    text-decoration: none;
    color: var(--mb-dark);
    font-weight: 600;
    flex-shrink: 0;
}
.mb-header__brand:hover { color: var(--mb-primary); }
.mb-header__logo {
    height: 56px;
    width: auto;
    max-height: calc(100% - 6px);
    display: block;
}
.mb-header__brand-img {
    height: 38px;
    width: 38px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--mb-primary);
}
.mb-header__brand-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 10px;
    color: #fff;
    font-size: 18px;
}
.mb-header__brand-text {
    font-size: 14px;
    font-weight: 500;
    letter-spacing: -0.01em;
    max-width: 220px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.mb-header__brand-initial {
    font-weight: 800;
    text-transform: uppercase;
}

/* Actions à droite */
.mb-header__actions {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    flex-wrap: nowrap;
}

/* Navigation principale */
.mb-header__nav {
    display: flex;
    align-items: center;
    gap: 0.15rem;
}

/* Liens nav modernes — version "pill" plus marquée */
.mb-nav-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.55rem 1.1rem;
    color: var(--mb-text);
    font-size: 0.92em;
    font-weight: 600;
    text-decoration: none;
    border-radius: 999px;
    background-color: transparent;
    border: 1px solid transparent;
    transition: color 200ms var(--mb-ease), background-color 200ms var(--mb-ease), border-color 200ms var(--mb-ease), transform 200ms var(--mb-ease), box-shadow 200ms var(--mb-ease);
}
.mb-nav-link i {
    font-size: 1.02em;
    opacity: 0.95;
    transition: transform 200ms var(--mb-ease);
}
.mb-nav-link:hover {
    color: var(--mb-primary-dark);
    background-color: var(--mb-primary-soft);
    border-color: color-mix(in srgb, var(--mb-primary) 25%, transparent);
    text-decoration: none;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(19, 166, 194, 0.12);
}
.mb-nav-link:hover i {
    transform: scale(1.1);
}
.mb-nav-link:focus-visible {
    outline: 2px solid var(--mb-primary);
    outline-offset: 2px;
}
.mb-nav-link.active {
    color: #fff;
    background-color: var(--mb-primary);
    border-color: var(--mb-primary);
    box-shadow: 0 4px 12px rgba(19, 166, 194, 0.25);
}
.mb-nav-link.active i { opacity: 1; }
.mb-nav-link.active::after {
    content: none;
}
.mb-nav-link--user {
    color: var(--mb-primary-dark) !important;
    background-color: var(--mb-primary-soft);
    border-color: color-mix(in srgb, var(--mb-primary) 30%, transparent) !important;
    border-radius: 999px;
    padding: 0.45rem 1.05rem;
}
.mb-nav-link--user:hover {
    background-color: color-mix(in srgb, var(--mb-primary-soft) 60%, var(--mb-primary) 12%);
}

/* Boutons icône (panier, notif, déconnexion) */
.mb-header__icon-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: var(--mb-text);
    background-color: transparent;
    text-decoration: none;
    transition: background-color 180ms var(--mb-ease), color 180ms var(--mb-ease), transform 180ms var(--mb-ease);
}
.mb-header__icon-btn i { font-size: 18px; }
.mb-header__icon-btn:hover {
    background-color: var(--mb-primary-soft);
    color: var(--mb-primary);
    transform: scale(1.05);
}
.mb-header__icon-btn.active {
    color: var(--mb-primary);
    background-color: var(--mb-primary-soft);
}

/* Pastille badge sur icône */
.mb-header__badge {
    position: absolute;
    top: 2px;
    right: 2px;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    border-radius: 999px;
    background-color: var(--mb-danger);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    line-height: 18px;
    text-align: center;
    border: 2px solid #fff;
}
.mb-header__badge--alert { background-color: var(--mb-warning); }
.mb-header__notif {
    position: relative;
    width: 32px;
    height: 32px;
    margin-right: 4px;
}
.mb-header__notif span {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: var(--mb-danger);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
}

/* Bouton CTA "Créer ma page" */
.mb-btn-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.55rem 1.1rem;
    background: linear-gradient(135deg, var(--mb-cta-color, var(--mb-primary)), color-mix(in srgb, var(--mb-cta-color, var(--mb-primary)) 75%, black));
    color: #fff;
    font-weight: 600;
    font-size: 0.92em;
    border-radius: 999px;
    text-decoration: none;
    box-shadow: 0 6px 16px rgba(19, 166, 194, 0.35);
    transition: transform 200ms var(--mb-ease), box-shadow 200ms var(--mb-ease), filter 200ms var(--mb-ease);
}
.mb-btn-cta:hover {
    color: #fff;
    transform: translateY(-2px);
    filter: brightness(1.05);
    box-shadow: 0 10px 24px rgba(19, 166, 194, 0.45);
    text-decoration: none;
}
.mb-btn-cta:active {
    transform: translateY(0);
    box-shadow: 0 4px 10px rgba(19, 166, 194, 0.3);
}

/* Décale le contenu sous le header fixe (le header fait 94px). */
#main { margin-top: 0 !important; }

/* Responsive du header */
@media (max-width: 991.98px) {
    .mb-header__inner { padding: 0 0.85rem; gap: 0.5rem; }
    .mb-header__brand-text { max-width: 140px; font-size: 13px; }
    .mb-btn-cta { padding: 0.5rem 0.85rem; font-size: 0.85em; }
}
@media (max-width: 575.98px) {
    .mb-header__brand-text { display: none; }
    .mb-btn-cta i { display: none; }
}

/* --------------------------------------------------------------------------
   7. Sidebar admin (gauche) — desktop & mobile
   -------------------------------------------------------------------------- */

/* Sidebar refonte — voir section 7bis en bas pour le detail des classes BEM .mb-side-nav */
.nav-menuVerticale,
.nav-menuVerticale ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

/* Toggle hamburger : intégré au footerNavbar.php (bouton "Menu") — l'ancien FAB
   flottant est désactivé pour ne plus chevaucher le menu du bas. */
.mb-sidebar-toggle {
    display: none !important;
}
@media (max-width: 991.98px) {
    /* Cache la sidebar par défaut, l'affiche en overlay quand .mb-sidebar-open */
    .mb-sidebar {
        display: none !important;
    }
    body.mb-sidebar-open .mb-sidebar {
        display: block !important;
        position: fixed;
        top: 0 !important;
        left: 0;
        bottom: 0;
        width: 84%;
        max-width: 320px;
        background-color: var(--mb-surface);
        z-index: 1040;
        overflow-y: auto;
        padding: 0 !important;
        margin: 0 !important;
        box-shadow: var(--mb-shadow-lg);
        animation: mb-slide-in 200ms var(--mb-ease);
        border-right: 0 !important;
    }
    body.mb-sidebar-open .mb-sidebar .mb-sidebar-inner {
        position: relative !important;
        padding: 14px 10px 24px !important;
        top: 0 !important;
        margin: 0 !important;
    }
    body.mb-sidebar-open::after {
        content: "";
        position: fixed;
        inset: 0;
        background-color: rgba(15, 23, 42, 0.45);
        z-index: 1030;
        animation: mb-fade-in 200ms var(--mb-ease);
    }
    /* La classe .pc historique cache certains éléments uniquement en mobile.
       Dans le panneau ouvert, on les ré-affiche pour que tout soit visible. */
    body.mb-sidebar-open .mb-sidebar .pc {
        display: block !important;
    }
}

@keyframes mb-slide-in {
    from { transform: translateX(-100%); }
    to   { transform: translateX(0); }
}
@keyframes mb-fade-in {
    from { opacity: 0; }
    to   { opacity: 1; }
}

/* --------------------------------------------------------------------------
   8. Cartes — refonte moderne (mb-card) + héritage .icon-box
   -------------------------------------------------------------------------- */
.mb-card-wrapper {
    padding: 0.6rem;
    display: flex;
}
.mb-card {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
    background-color: var(--mb-surface);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--mb-shadow-sm);
    transition: transform 280ms var(--mb-ease), box-shadow 280ms var(--mb-ease);
    border-bottom: 4px solid var(--mb-card-accent, var(--mb-primary));
}
.mb-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--mb-shadow-md);
}
.mb-card__link {
    display: flex;
    flex-direction: column;
    flex: 1;
    color: var(--mb-text);
    text-decoration: none;
}
.mb-card__link:hover { color: var(--mb-text); text-decoration: none; }

/* Image : effet zoom doux au survol */
.mb-card__media {
    position: relative;
    overflow: hidden;
    background-color: var(--mb-surface-2);
    aspect-ratio: 16 / 9;
}
.mb-card__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 500ms var(--mb-ease);
    will-change: transform;
}
.mb-card:hover .mb-card__img {
    transform: scale(1.06);
}

/* Bouton favoris en overlay haut-droite */
.mb-card__fav {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 5;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 0;
    background-color: rgba(255, 255, 255, 0.95);
    color: #888;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    box-shadow: var(--mb-shadow-sm);
    cursor: pointer;
    transition: transform 180ms var(--mb-ease), color 180ms var(--mb-ease), background-color 180ms var(--mb-ease);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.mb-card__fav:hover {
    transform: scale(1.1);
    color: var(--mb-danger);
    background-color: #fff;
}
.mb-card__fav.is-active {
    color: #fff;
    background-color: #D8559F;
}

/* Corps de la carte */
.mb-card__body {
    padding: 1rem 1.1rem 0.9rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}
.mb-card__title {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--mb-dark);
    line-height: 1.3;
    letter-spacing: -0.01em;
    /* Force 1 ligne avec ellipsis */
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.mb-card__meta {
    font-size: 0.82rem;
    color: var(--mb-text-muted);
    display: flex;
    align-items: center;
    gap: 0.4rem;
}
.mb-card__location i { color: var(--mb-primary); }
.mb-card__zip { color: var(--mb-text-soft); }

.mb-card__owner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.4rem;
    margin-top: 0.3rem;
    font-size: 0.78rem;
    color: var(--mb-text-muted);
}
.mb-card__owner b { color: var(--mb-dark); font-weight: 600; }

/* Badge "Professionnel / Particulier / Association" */
.mb-card__badge {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 3px 9px;
    background-color: var(--mb-primary-soft);
    color: var(--mb-primary-dark);
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 500;
    line-height: 1.6;
}
.mb-card__badge--particulier { background-color: rgba(237, 183, 56, 0.12); color: #b08010; }
.mb-card__badge--association { background-color: rgba(216, 85, 159, 0.12); color: #a02c70; }
.mb-card__badge--professionnel { background-color: rgba(16, 206, 120, 0.12); color: #0a8b50; }
.mb-card__badge-check { color: #10ce78; }
.mb-card__badge-verified { font-weight: 600; }

/* Bandeau compteurs (admin) */
.mb-card__counters {
    padding: 0.6rem 1.1rem;
    border-top: 1px solid var(--mb-border);
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
}

/* Bandeau catégories */
.mb-card__categories {
    padding: 0.6rem 1.1rem;
    border-top: 1px solid var(--mb-border);
    font-size: 0.78rem;
    color: var(--mb-text-muted);
    line-height: 1.4;
}

.mb-card__action {
    padding: 0 1.1rem 1.1rem;
}

/* --------------------------------------------------------------------------
   8.b Cartes ANNONCE / produit (annonceBloc.php / annonceBlocSmall.php)
   Cible les classes legacy: .formAdmin > .boxBlocImage + .icon-box.annonceBloc
   -------------------------------------------------------------------------- */

/* Wrapper de carte annonce */
.formAdmin.boxZoom,
[class*="col-"]:has(> .formAdmin > .boxBlocImage) {
    transition: transform 280ms var(--mb-ease);
}

/* Conteneur image + overlays */
.boxBlocImage {
    position: relative !important;
    background-color: var(--mb-surface-2) !important;
    border-radius: 14px 14px 0 0 !important;
    overflow: hidden !important;
    aspect-ratio: 4 / 3 !important;
    box-shadow: 0 2px 4px rgba(15,23,42,0.06);
}
.boxBlocImage > a {
    display: block;
    width: 100%;
    height: 100%;
}
.boxBlocImage picture {
    display: block;
    width: 100%;
    height: 100%;
}
.boxBlocImage .imgBloc,
.imgBloc {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    transition: transform 500ms var(--mb-ease);
    will-change: transform;
}
.formAdmin:hover .boxBlocImage .imgBloc,
.boxBlocImage:hover .imgBloc {
    transform: scale(1.06);
}

/* Bandeau "nouveauté" / "promo" en coin supérieur gauche */
.boxBlocImage .bandeau {
    position: absolute !important;
    z-index: 4;
    pointer-events: none;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2));
}

/* Bouton favori en haut-droite (le code legacy le pose en btnBloc absolute) */
.btnBloc {
    position: absolute !important;
    z-index: 5;
}
[id^="favAnnonce"].btnBloc,
.btnBloc.fav,
[id^="fav"].btn-light.btnBloc {
    width: 36px !important;
    height: 36px !important;
    border-radius: 50% !important;
    background-color: rgba(255,255,255,0.95) !important;
    border: 0 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-shadow: var(--mb-shadow-sm);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    transition: transform 180ms var(--mb-ease), background-color 180ms var(--mb-ease);
    padding: 0 !important;
}
[id^="favAnnonce"].btnBloc:hover,
[id^="fav"].btn-light.btnBloc:hover {
    transform: scale(1.1);
    background-color: #fff !important;
}

/* Lien vers la boutique (en bas-gauche) */
.boxBlocImage > a > .btnBloc {
    background-color: rgba(255, 255, 255, 0.95) !important;
    color: var(--mb-dark) !important;
    border-radius: 999px !important;
    border: 0 !important;
    padding: 4px 10px !important;
    font-size: 11px !important;
    font-weight: 500 !important;
    box-shadow: var(--mb-shadow-sm);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    max-width: 180px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Indicateur nb de photos (coin bas-droit) */
.btn-dark.btnBloc {
    background-color: rgba(0,0,0,0.7) !important;
    color: #fff !important;
    border: 0 !important;
    border-radius: 999px !important;
    padding: 3px 9px !important;
    font-size: 11px !important;
    font-weight: 600 !important;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

/* Bloc texte sous l'image */
.icon-box.annonceBloc {
    background-color: var(--mb-surface) !important;
    padding: 1rem 1.1rem !important;
    border-radius: 0 0 14px 14px !important;
    box-shadow: 0 2px 4px rgba(15,23,42,0.06);
    border-top: 1px solid var(--mb-border);
}

/* Wrapper visuel de la carte = boxBlocImage + annonceBloc */
.formAdmin > .boxBlocImage,
.formAdmin > .icon-box.annonceBloc {
    box-sizing: border-box;
}
.formAdmin {
    transition: transform 280ms var(--mb-ease);
}
.formAdmin.boxZoom:hover {
    transform: translateY(-4px);
}
.formAdmin.boxZoom:hover .boxBlocImage,
.formAdmin.boxZoom:hover .icon-box.annonceBloc {
    box-shadow: var(--mb-shadow-md);
}

/* Titre + description */
.titleAnnonceBloc h2 {
    font-size: 0.95rem !important;
    font-weight: 600 !important;
    color: var(--mb-dark) !important;
    margin: 0 0 0.3rem !important;
    line-height: 1.3 !important;
    letter-spacing: -0.01em !important;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    min-height: 2.6em;
}
.titleAnnonceBloc h4 {
    font-size: 0.78rem !important;
    color: var(--mb-text-muted) !important;
    margin: 0 !important;
    font-weight: 400 !important;
    line-height: 1.5 !important;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    min-height: 2.4em;
}

/* Bloc prix — refonte forte */
.icon-box.annonceBloc h5 {
    margin-top: 0.6rem !important;
    margin-bottom: 0.4rem !important;
}
.icon-box.annonceBloc h5 > span {
    display: inline-flex !important;
    align-items: baseline !important;
    gap: 0.4rem !important;
    border: 0 !important;
    border-radius: 8px !important;
    padding: 4px 10px !important;
    background-color: var(--mb-primary-soft) !important;
    color: var(--mb-primary-dark) !important;
    font-size: 1rem !important;
    font-weight: 600 !important;
    letter-spacing: -0.01em;
}
.icon-box.annonceBloc h5 > span b {
    font-size: 1.1rem !important;
    font-weight: 700 !important;
    color: var(--mb-dark) !important;
}
/* Promo : prix barré + nouveau prix en jaune intense */
.icon-box.annonceBloc h5 > span[style*="background-color:#f1c53b"],
.icon-box.annonceBloc h5 > span[style*="background-color: #f1c53b"] {
    background-color: #fef3c7 !important;
    color: #92400e !important;
}
.icon-box.annonceBloc h5 > span font[style*="line-through"] {
    text-decoration: line-through !important;
    color: var(--mb-text-soft) !important;
    font-size: 0.78rem !important;
}

/* Frais de port */
.icon-box.annonceBloc h5 + h5 {
    margin-top: 0.2rem !important;
}
.icon-box.annonceBloc h5 + h5 span {
    color: var(--mb-text-soft) !important;
    font-size: 0.74rem !important;
}

/* Tags taille / stock */
.icon-box.annonceBloc span[id^][style*="border-radius:5px"] {
    background-color: var(--mb-surface-2) !important;
    border: 1px solid var(--mb-border-strong) !important;
    border-radius: 6px !important;
    color: var(--mb-text) !important;
    padding: 3px 8px !important;
    font-size: 0.72rem !important;
    margin: 2px !important;
}
.icon-box.annonceBloc span[id^][style*="background-color:#13a6c2"] {
    background-color: var(--mb-primary) !important;
    border-color: var(--mb-primary) !important;
    color: #fff !important;
}

/* Bloc d'action admin (Modifier / Supprimer) — visuellement intégré dans la carte */
.formAdmin > div[style*="background-color:#eeeeee"] {
    background-color: #fff !important;
    border-radius: 0 0 14px 14px !important;
    padding: 12px 12px 14px !important;
    border-top: 1px solid #eef2f5 !important;
    margin-top: 0 !important;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.04);
}
/* La carte titre/info au-dessus perd ses coins arrondis bas pour rejoindre la barre d'actions */
.formAdmin > .icon-box.annonceBloc:has(+ div[style*="background-color:#eeeeee"]) {
    border-bottom-left-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
    margin-bottom: 0 !important;
    border-bottom: 0 !important;
}
/* Fallback pour navigateurs sans :has() — applique toujours coins droits si on est dans une page admin */
body.page-adminActu .formAdmin > .icon-box.annonceBloc,
body.page-adminAnnonce .formAdmin > .icon-box.annonceBloc,
body.page-adminFavoris .formAdmin > .icon-box.annonceBloc,
body.page-adminActus .formAdmin > .icon-box.annonceBloc,
body.page-adminAnnonces .formAdmin > .icon-box.annonceBloc,
body.page-adminAlbums .formAdmin > .icon-box.annonceBloc,
body.page-adminFiles .formAdmin > .icon-box.annonceBloc {
    border-bottom-left-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
    margin-bottom: 0 !important;
}
.btnAdminSmall {
    border-radius: 8px !important;
    padding: 0.45rem 1rem !important;
    font-size: 0.82rem !important;
    font-weight: 600 !important;
    margin: 2px 3px;
}

/* Compatibilité legacy : si certaines pages utilisent encore .icon-box pur */
.icon-box {
    box-shadow: var(--mb-shadow-sm) !important;
    transition: transform 220ms var(--mb-ease),
                box-shadow 220ms var(--mb-ease) !important;
    overflow: hidden;
}
.icon-box:hover {
    transform: translateY(-4px);
    box-shadow: var(--mb-shadow-md) !important;
}

/* Zoom doux sur l'image de la carte boutik au survol */
.icon-box .imgBlocBoutik,
.icon-box img {
    transition: transform 400ms var(--mb-ease);
    will-change: transform;
}
.icon-box:hover .imgBlocBoutik,
.icon-box:hover img {
    transform: scale(1.04);
}

/* Wrapper de carte (.formAdmin.boxZoom) reçoit aussi les états hover */
.boxZoom {
    transition: transform 220ms var(--mb-ease);
}

/* Badges catégorie utilisés sur les cartes */
.iconCat {
    display: inline-block;
    padding: 3px 9px !important;
    border-radius: 999px !important;
    font-size: 11px !important;
    font-weight: 500;
    margin: 2px 3px;
    background-color: var(--mb-primary-soft) !important;
    color: var(--mb-primary-dark) !important;
    line-height: 1.4;
}

/* Bouton "favoris" en haut-droite des cartes */
.icon-box .btn-light.btn-sm[role="button"] {
    width: 36px;
    height: 36px;
    border-radius: 50% !important;
    background-color: rgba(255,255,255,0.95) !important;
    box-shadow: var(--mb-shadow-sm);
    border: 0 !important;
    transition: transform var(--mb-transition), background-color var(--mb-transition);
}
.icon-box .btn-light.btn-sm[role="button"]:hover {
    transform: scale(1.08);
    background-color: #fff !important;
}

.boxBlocImage {
    border-radius: var(--mb-radius);
    overflow: hidden;
    background-color: var(--mb-surface-2);
}

/* --------------------------------------------------------------------------
   9. Tableaux admin
   -------------------------------------------------------------------------- */
.table {
    border-collapse: separate;
    border-spacing: 0;
    background-color: var(--mb-surface);
    border-radius: var(--mb-radius-sm);
    overflow: hidden;
    box-shadow: var(--mb-shadow-xs);
}
.table thead th {
    background-color: var(--mb-surface-2);
    color: var(--mb-text-muted);
    font-weight: 600;
    font-size: 0.85em;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    border-bottom: 1px solid var(--mb-border);
    padding: 0.65rem 0.75rem;
}
.table tbody td {
    padding: 0.65rem 0.75rem;
    border-bottom: 1px solid var(--mb-border);
    vertical-align: middle;
}
.table tbody tr:last-child td {
    border-bottom: 0;
}
.table tbody tr:hover {
    background-color: var(--mb-primary-soft);
}

/* Wrapper responsive auto sur les tableaux des pages admin */
@media (max-width: 991.98px) {
    .table-responsive,
    .dataTables_wrapper > .row > div > .table,
    .formAdmin .table {
        display: block;
        width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
}

/* DataTables search/length input cohérence */
.dataTables_filter input,
.dataTables_length select {
    border-radius: var(--mb-radius-sm);
    border: 1px solid var(--mb-border-strong);
    padding: 0.4rem 0.6rem;
    margin-left: 6px;
}
.dataTables_paginate .paginate_button {
    border-radius: var(--mb-radius-sm) !important;
    margin: 0 2px;
}
.dataTables_paginate .paginate_button.current {
    background: var(--mb-primary) !important;
    color: #fff !important;
    border-color: var(--mb-primary) !important;
}

/* --------------------------------------------------------------------------
   10. Alerts & badges
   -------------------------------------------------------------------------- */
.alert {
    border-radius: var(--mb-radius-sm);
    border: 1px solid transparent;
    padding: 0.85rem 1rem;
    box-shadow: var(--mb-shadow-xs);
}
.alert-warning { background: #fff8e6; border-color: #ffe5a3; color: #7a5800; }
.alert-success { background: #e6faf1; border-color: #a3e8c5; color: #0a6b3d; }
.alert-danger  { background: #fde8e6; border-color: #f6b8b1; color: #7a1a10; }
.alert-info    { background: #e7f6fa; border-color: #a8dee8; color: #0a5d6e; }

.badge {
    border-radius: 999px;
    font-weight: 500;
    padding: 0.3em 0.65em;
    letter-spacing: 0.02em;
}

/* Notifications cartouches déjà présentes dans le code (.notificationMessage2, etc.) */
.notificationMessage2 {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    border-radius: 999px;
    background-color: var(--mb-danger);
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    line-height: 1;
    margin-left: 6px;
}

/* --------------------------------------------------------------------------
   11. Footer — refonte moderne
   -------------------------------------------------------------------------- */
.mb-footer {
    background: linear-gradient(180deg, #2c3a45 0%, #1a242c 100%);
    color: #c8d2da;
    padding: 3.5rem 0 1rem;
    margin-top: 0;
    position: relative;
}
/* Quand le bandeau EMIPROD précède le footer, supprimer toute marge entre les deux */
.emiprod-bandeau + .mb-footer {
    margin-top: 0;
}
.emiprod-bandeau { margin-bottom: 0; }
/* Page home : le #main ne doit pas ajouter de padding en bas qui creuserait l'espace */
body.page-home #main,
body:not([class*="page-"]) #main {
    padding-bottom: 0 !important;
}
.mb-footer::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--mb-primary), var(--mb-warning), var(--mb-primary));
}
.mb-footer__container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Newsletter */
.mb-footer__newsletter {
    text-align: center;
    max-width: 580px;
    margin: 0 auto 3rem;
    padding-bottom: 2.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.mb-footer__newsletter-title {
    color: #fff;
    font-size: 1.3rem;
    font-weight: 600;
    margin: 0 0 0.4rem;
}
.mb-footer__newsletter-text {
    color: #95a3ad;
    font-size: 0.9rem;
    margin: 0 0 1.2rem;
}
.mb-footer__newsletter-form {
    display: flex;
    background-color: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 999px;
    padding: 4px;
    transition: border-color 200ms var(--mb-ease), box-shadow 200ms var(--mb-ease);
}
.mb-footer__newsletter-form:focus-within {
    border-color: var(--mb-primary);
    box-shadow: 0 0 0 4px rgba(19, 166, 194, 0.15);
}
.mb-footer__newsletter-form .form-control,
.mb-footer__newsletter-form input {
    flex: 1;
    background-color: transparent !important;
    border: 0 !important;
    color: #fff !important;
    padding: 0.6rem 1rem !important;
    box-shadow: none !important;
    min-width: 0;
}
.mb-footer__newsletter-form input::placeholder { color: #768591; }
.mb-footer__newsletter-form input:focus {
    background-color: transparent !important;
    box-shadow: none !important;
}
.mb-footer__newsletter-btn {
    background: linear-gradient(135deg, var(--mb-primary), var(--mb-primary-dark));
    color: #fff;
    border: 0;
    border-radius: 999px;
    padding: 0.55rem 1.2rem;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    box-shadow: 0 4px 12px rgba(19, 166, 194, 0.4);
    transition: transform 200ms var(--mb-ease), box-shadow 200ms var(--mb-ease);
    flex-shrink: 0;
}
.mb-footer__newsletter-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(19, 166, 194, 0.55);
}
.mb-footer__newsletter-feedback {
    margin-top: 0.6rem;
    color: var(--mb-warning);
    font-size: 0.8rem;
    min-height: 18px;
}

/* Grille des colonnes */
.mb-footer__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 2.5rem;
}
.mb-footer__col {}
.mb-footer__heading {
    color: #fff;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 600;
    margin: 0 0 1rem;
    padding-bottom: 0.65rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
}
.mb-footer__heading::after {
    content: "";
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 28px;
    height: 2px;
    background-color: var(--mb-primary);
}
.mb-footer__list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.mb-footer__list li { margin-bottom: 0.45rem; }
.mb-footer__list a {
    color: #95a3ad;
    text-decoration: none;
    font-size: 0.86rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: color 180ms var(--mb-ease), padding-left 180ms var(--mb-ease);
}
.mb-footer__list a:hover {
    color: var(--mb-primary-light);
    padding-left: 4px;
    text-decoration: none;
}
.mb-footer__list i {
    color: var(--mb-primary);
    width: 14px;
    font-size: 0.85em;
    opacity: 0.8;
}

/* Réseaux sociaux */
.mb-footer__social {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    padding: 1.5rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    margin-bottom: 1.5rem;
}
.mb-footer__social a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(255, 255, 255, 0.06);
    color: #c8d2da;
    font-size: 18px;
    transition: background-color 200ms var(--mb-ease), color 200ms var(--mb-ease), transform 200ms var(--mb-ease);
}
.mb-footer__social a:hover {
    background-color: var(--mb-primary);
    color: #fff;
    transform: translateY(-3px);
    text-decoration: none;
}

/* Bas de footer */
.mb-footer__bottom {
    text-align: center;
    color: #768591;
    font-size: 0.78rem;
}
.mb-footer__bottom a {
    color: #c8d2da;
    text-decoration: none;
}
.mb-footer__bottom a:hover { color: var(--mb-primary-light); }

/* Spacer pour les pages admin (footer absent) */
.mb-footer-spacer { height: 40px; }

/* Mini-footer page boutik */
.mb-boutik-footer {
    text-align: center;
    background-color: var(--mb-boutik-color, #000);
    color: #fff;
    padding: 1rem 1rem 6rem;
    font-size: 0.78rem;
    line-height: 1.6;
}
.mb-boutik-footer__title {
    font-size: 0.9rem;
    margin-bottom: 0.3rem;
}
.mb-boutik-footer__title b { font-weight: 600; }
.mb-boutik-footer__title span { opacity: 0.8; }
.mb-boutik-footer__meta { opacity: 0.85; }
.mb-boutik-footer__meta a,
.mb-boutik-footer__legal a {
    color: #fff;
    text-decoration: none;
    border-bottom: 1px dotted rgba(255,255,255,0.4);
    transition: border-bottom-color 180ms var(--mb-ease);
}
.mb-boutik-footer__meta a:hover,
.mb-boutik-footer__legal a:hover {
    border-bottom-color: rgba(255,255,255,1);
}
.mb-boutik-footer__legal {
    margin-top: 0.4rem;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0 0.85rem;
}

/* ====== Icône à côté du titre de section (visible partout) ====== */
.mb-footer__heading-text {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.mb-footer__heading-icon {
    color: var(--mb-primary);
    font-size: 0.9em;
    opacity: 0.9;
}

/* ====== Accordéon footer (<details>) — base desktop & cross-platform ====== */
/* On masque la flèche native du <summary> (varie selon les navigateurs)
   pour pouvoir utiliser notre propre chevron Font Awesome. */
.mb-footer__col[open] > summary,
.mb-footer__col > summary {
    list-style: none;
    cursor: pointer;
}
.mb-footer__col > summary::-webkit-details-marker { display: none; }
.mb-footer__col > summary::marker { display: none; content: ""; }

/* Le summary remplace l'ancien <h3> — on lui rend les mêmes propriétés visuelles */
.mb-footer__col > summary.mb-footer__heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    user-select: none;
}
/* Chevron : caché sur desktop, visible sur mobile (où il rotate selon [open]) */
.mb-footer__chevron {
    color: rgba(255,255,255,0.5);
    font-size: 12px;
    transition: transform 220ms ease;
}
@media (min-width: 768px) {
    /* Desktop : pas d'accordéon, tout visible, chevron caché, summary non-cliquable */
    .mb-footer__col > summary { cursor: default; pointer-events: none; }
    .mb-footer__chevron { display: none; }
    .mb-footer__col > .mb-footer__list { display: block !important; }
}

/* Responsive footer mobile + tablette */
@media (max-width: 767.98px) {
    .mb-footer { padding: 2.5rem 0 1rem; }
    .mb-footer__newsletter-form { flex-direction: column; padding: 8px; gap: 8px; border-radius: 16px; }
    .mb-footer__newsletter-form .form-control { text-align: center; }
    .mb-footer__newsletter-btn { width: 100%; justify-content: center; border-radius: 12px; }

    /* Accordéon visible : chevron pivote quand ouvert */
    .mb-footer__col[open] > summary .mb-footer__chevron { transform: rotate(-180deg); }

    /* Tap target plus grand sur le titre cliquable */
    .mb-footer__col > summary.mb-footer__heading {
        padding: 14px 4px;
        margin: 0;
        border-bottom: 1px solid rgba(255,255,255,0.08);
    }
    .mb-footer__col > summary.mb-footer__heading::after { bottom: -1px; }

    /* Animation douce à l'ouverture/fermeture */
    .mb-footer__col > .mb-footer__list {
        animation: mbFooterSlide 240ms ease;
        padding: 8px 4px 12px;
    }
    @keyframes mbFooterSlide {
        from { opacity: 0; transform: translateY(-4px); }
        to   { opacity: 1; transform: translateY(0); }
    }

    /* Tap target des liens : grosse zone cliquable pour éviter les ratés */
    .mb-footer__list li { margin-bottom: 0; }
    .mb-footer__list a {
        display: flex;
        padding: 10px 4px;
        font-size: 0.95rem;
        border-bottom: 1px solid rgba(255,255,255,0.04);
    }
    .mb-footer__list a:hover { padding-left: 8px; }

    /* Grid passe en une colonne pleine largeur sur mobile (au lieu de auto-fit qui
       pouvait laisser des trous avec les accordéons collapsibles) */
    .mb-footer__grid {
        display: flex;
        flex-direction: column;
        gap: 0;
        margin-bottom: 1.5rem;
    }
    .mb-footer__col {
        padding: 6px 0;
        border-radius: 0;
    }

    /* Colonnes "Dernières boutiks/annonces" fermées par défaut sur mobile pour
       économiser la place. L'utilisateur les ouvre s'il le souhaite. */
    .mb-footer__col--collapsed-mobile:not([open]) > .mb-footer__list { display: none; }
}

/* Petite optimisation : sur les très petits écrans, encore plus compact */
@media (max-width: 380px) {
    .mb-footer__container { padding-left: 14px; padding-right: 14px; }
    .mb-footer__list a { padding: 9px 2px; font-size: 0.9rem; }
    .mb-footer__social { gap: 0.6rem; }
    .mb-footer__social a {
        width: 38px; height: 38px;
        display: inline-flex; align-items: center; justify-content: center;
        font-size: 1rem;
    }
}

/* --------------------------------------------------------------------------
   12. Modal & dropdown raffinés
   -------------------------------------------------------------------------- */
.modal-content {
    border-radius: var(--mb-radius-lg);
    border: 0;
    box-shadow: var(--mb-shadow-lg);
}
.modal-header {
    border-bottom: 1px solid var(--mb-border);
    padding: 1rem 1.25rem;
}
.modal-footer {
    border-top: 1px solid var(--mb-border);
}
.dropdown-menu {
    border-radius: var(--mb-radius-sm);
    border: 1px solid var(--mb-border);
    box-shadow: var(--mb-shadow-md);
}
.dropdown-item {
    padding: 0.5rem 1rem;
    transition: background-color var(--mb-transition);
}
.dropdown-item:hover {
    background-color: var(--mb-primary-soft);
    color: var(--mb-primary-dark);
}

/* --------------------------------------------------------------------------
   13. Utilitaires modernes
   -------------------------------------------------------------------------- */
.shadow-soft  { box-shadow: var(--mb-shadow-sm) !important; }
.shadow-mid   { box-shadow: var(--mb-shadow) !important; }
.rounded-xl   { border-radius: var(--mb-radius-lg) !important; }
.rounded-2xl  { border-radius: var(--mb-radius-xl) !important; }
.bg-soft      { background-color: var(--mb-surface-2) !important; }
.text-muted-2 { color: var(--mb-text-muted) !important; }

/* --------------------------------------------------------------------------
   14. Lazy-loading images (sera utilisé via attribut HTML)
   -------------------------------------------------------------------------- */
img { max-width: 100%; height: auto; }

/* --------------------------------------------------------------------------
   15. Back-to-top moderne
   -------------------------------------------------------------------------- */
.back-to-top {
    /* Positionne le bouton AU-DESSUS du menu du bas (footerNavbar) sur mobile,
       et dans le coin classique sur desktop (où le menu du bas n'apparaît pas). */
    position: fixed !important;
    right: 14px !important;
    bottom: 76px !important;
    width: 44px;
    height: 44px;
    background-color: var(--mb-primary) !important;
    color: #fff !important;
    border-radius: 50%;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    box-shadow: var(--mb-shadow-md);
    transition: background-color var(--mb-transition), transform var(--mb-transition);
    z-index: 1015;
}
@media (min-width: 992px) {
    /* Desktop : pas de menu du bas, on remet le bouton au ras du coin. */
    .back-to-top { bottom: 18px !important; }
}
}
.back-to-top:hover {
    background-color: var(--mb-primary-dark) !important;
    transform: translateY(-2px);
}

/* --------------------------------------------------------------------------
   16. Cookie banner & accept
   -------------------------------------------------------------------------- */
#cookieBox,
.cookie-banner {
    border-radius: var(--mb-radius-lg);
    box-shadow: var(--mb-shadow-lg);
}

/* --------------------------------------------------------------------------
   17. Mobile : ajustements généraux
   -------------------------------------------------------------------------- */
@media (max-width: 575.98px) {
    body { font-size: 13.5px; }
    .container-fluid { padding-left: 0.85rem; padding-right: 0.85rem; }
    .btn { padding: 0.55rem 0.95rem; }
    /* Champs plus accessibles (>= 44px de hauteur — Apple HIG) */
    .form-control,
    .form-select,
    input[type="text"],
    input[type="email"],
    input[type="password"],
    input[type="number"],
    input[type="search"],
    input[type="tel"],
    select,
    textarea {
        font-size: 16px; /* évite le zoom auto iOS sur focus */
        min-height: 44px;
    }
}

/* --------------------------------------------------------------------------
   17.05. Bandeaux de section (Les pages à la une / Les annonces à la une)
   -------------------------------------------------------------------------- */
.mb-section {
    padding: 3rem 0;
    background-color: var(--mb-bg);
}
.mb-section--boutiks { background-color: rgba(19, 166, 194, 0.05); }
.mb-section--annonces { background-color: var(--mb-bg); }

/* Grid "Les pages à la une" : 3 colonnes desktop / 2 colonnes mobile, 6 cards max,
   les 2 dernières cards masquées en mobile pour ne montrer que 4 cards (2×2). */
.mb-pages-une-grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
    margin: 0 !important;
}
.mb-pages-une-grid > .mb-card-wrapper,
.mb-pages-une-grid > [class*="col-"] {
    width: 100% !important;
    max-width: 100% !important;
    flex: unset !important;
    padding: 0 !important;
    margin: 0 !important;
}
@media (max-width: 991.98px) {
    .mb-pages-une-grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
    .mb-pages-une-grid > *:nth-child(n+5) { display: none !important; }
}
@media (max-width: 480px) {
    .mb-pages-une-grid { gap: 0.75rem; }
}

.mb-section__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2rem;
    padding: 0;
}
.mb-section__title {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    font-size: clamp(1.2rem, 2.4vw, 1.6rem);
    font-weight: 600;
    color: var(--mb-dark);
    margin: 0;
    letter-spacing: -0.01em;
}
.mb-section__title-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--mb-primary), var(--mb-primary-dark));
    color: #fff;
    font-size: 18px;
    box-shadow: 0 6px 14px rgba(19, 166, 194, 0.35);
    flex-shrink: 0;
}
.mb-section__title-icon--accent {
    background: linear-gradient(135deg, var(--mb-warning), #FF8A00);
    box-shadow: 0 6px 14px rgba(255, 138, 0, 0.35);
}
.mb-section__title-accent {
    color: var(--mb-primary);
    font-weight: 700;
}
.mb-section__title-accent--orange {
    color: #FF8A00;
}
.mb-section__title-count {
    color: var(--mb-primary);
    font-weight: 800;
    font-size: 1.6em;
    margin-right: 0.3rem;
}

.mb-section__cta {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.55rem 1.1rem;
    background: linear-gradient(135deg, var(--mb-primary), var(--mb-primary-dark));
    color: #fff;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.88rem;
    text-decoration: none;
    box-shadow: 0 6px 14px rgba(19, 166, 194, 0.35);
    transition: transform 200ms var(--mb-ease), box-shadow 200ms var(--mb-ease), filter 200ms var(--mb-ease);
}
.mb-section__cta:hover {
    transform: translateY(-2px);
    color: #fff;
    text-decoration: none;
    filter: brightness(1.05);
    box-shadow: 0 10px 24px rgba(19, 166, 194, 0.5);
}
.mb-section__cta--accent {
    background: linear-gradient(135deg, var(--mb-warning), #FF8A00);
    box-shadow: 0 6px 14px rgba(255, 138, 0, 0.35);
}
.mb-section__cta--accent:hover {
    box-shadow: 0 10px 24px rgba(255, 138, 0, 0.5);
}

@media (max-width: 575.98px) {
    .mb-section__header { flex-direction: column; align-items: flex-start; gap: 0.6rem; }
    .mb-section__title-icon { width: 36px; height: 36px; font-size: 14px; }
}

/* --------------------------------------------------------------------------
   17.06. Bandeau AVIS (homeAvis.php) — grid de 4 cards modernes
   -------------------------------------------------------------------------- */
.mb-avis-section {
    background: linear-gradient(135deg, var(--mb-primary), var(--mb-primary-dark));
    padding: 4rem 0 5rem;
    position: relative;
    overflow: hidden;
}
.mb-avis-section::before,
.mb-avis-section::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    opacity: 0.15;
}
.mb-avis-section::before {
    width: 320px; height: 320px;
    background: radial-gradient(circle, #fff 0%, transparent 70%);
    top: -120px; left: -80px;
}
.mb-avis-section::after {
    width: 420px; height: 420px;
    background: radial-gradient(circle, var(--mb-warning) 0%, transparent 70%);
    bottom: -180px; right: -120px;
}

/* Header de la section : titre + CTA "Donnez le votre" alignés */
.mb-avis-section__header {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2.5rem;
}
.mb-avis-section__title {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    color: #fff;
    font-size: clamp(1.2rem, 2.5vw, 1.6rem);
    font-weight: 700;
    margin: 0;
    letter-spacing: -0.01em;
}
.mb-avis-section__title i {
    background-color: rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(8px);
    border-radius: 12px;
    padding: 8px 12px;
    font-size: 1.05em;
}
.mb-avis-section__title-soft {
    font-weight: 300;
    opacity: 0.9;
}

/* Grid de 4 cards d'avis */
.mb-avis-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
}

.mb-avis-card {
    background-color: #fff;
    border-radius: 18px;
    padding: 1.5rem;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
    transition: transform 250ms var(--mb-ease), box-shadow 250ms var(--mb-ease);
    display: flex;
    flex-direction: column;
}
.mb-avis-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 44px rgba(0, 0, 0, 0.25);
}
.mb-avis-card__header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}
.mb-avis-card__avatar {
    width: 64px;
    height: 64px;
    flex-shrink: 0;
    border-radius: 50%;
    overflow: hidden;
    background-color: var(--mb-surface-2);
    border: 3px solid var(--mb-primary-soft);
}
.mb-avis-card__avatar .imgMessProfil,
.mb-avis-card__avatar img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
    border-radius: 50%;
    float: none !important;
}
.mb-avis-card__id { flex: 1; }
.mb-avis-card__author {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--mb-dark);
    margin: 0 0 0.2rem;
    letter-spacing: -0.01em;
}
.mb-avis-card__stars {
    display: flex;
    gap: 2px;
    color: #d8dde2;
    font-size: 0.95rem;
}
.mb-avis-card__stars .is-on { color: #f2a611; }

.mb-avis-card__message {
    position: relative;
    color: var(--mb-text);
    font-size: 0.95rem;
    line-height: 1.55;
    margin: 0;
    padding-left: 0.4rem;
}
.mb-avis-card__quote {
    color: var(--mb-primary-soft);
    font-size: 1.4rem;
    margin-right: 0.4rem;
    vertical-align: -2px;
}

/* Bouton "Donnez le vôtre" en header */
.mb-avis-section__cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #fff !important;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    background-color: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    padding: 0.55rem 1.25rem;
    border-radius: 999px;
    transition: background-color 200ms var(--mb-ease), transform 200ms var(--mb-ease);
}
.mb-avis-section__cta:hover {
    background-color: rgba(255, 255, 255, 0.22);
    transform: translateY(-2px);
    color: #fff !important;
    text-decoration: none;
}

@media (max-width: 1199.98px) {
    .mb-avis-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 575.98px) {
    .mb-avis-section { padding: 2.5rem 0 3rem; }
    .mb-avis-grid { grid-template-columns: 1fr; gap: 1rem; }
    .mb-avis-card { padding: 1.25rem; }
    .mb-avis-card__avatar { width: 52px; height: 52px; }
}

/* --------------------------------------------------------------------------
   17.1. Page d'annonce / produit (page-annonceInfo) — boost moderne
   Cible les classes legacy utilisées dans annonceInfo.php sans réécriture PHP.
   -------------------------------------------------------------------------- */
body.page-annonceInfo,
body.page-boutikInfo {
    background-color: var(--mb-bg);
}

/* Fil d'ariane */
body.page-annonceInfo .breadcrumb,
body.page-boutikInfo .breadcrumb {
    background-color: transparent !important;
    padding: 0.85rem 0 !important;
    margin-bottom: 0.5rem !important;
    font-size: 0.85rem !important;
    border-radius: 0 !important;
}
body.page-annonceInfo .breadcrumb a,
body.page-boutikInfo .breadcrumb a {
    color: var(--mb-text-muted) !important;
    text-decoration: none;
    transition: color 180ms var(--mb-ease);
}
body.page-annonceInfo .breadcrumb a:hover,
body.page-boutikInfo .breadcrumb a:hover {
    color: var(--mb-primary) !important;
}
body.page-annonceInfo .breadcrumb-item.active,
body.page-boutikInfo .breadcrumb-item.active {
    color: var(--mb-primary) !important;
    font-weight: 600;
}

/* Titre principal h1 */
body.page-annonceInfo h1 {
    font-size: clamp(1.5rem, 3vw, 2rem) !important;
    font-weight: 700 !important;
    color: var(--mb-dark) !important;
    margin: 0.5rem 0 0.6rem !important;
    line-height: 1.2 !important;
    letter-spacing: -0.02em !important;
}

/* Galerie image */
body.page-annonceInfo .imgInfoBoutik,
body.page-annonceInfo img[class*="boxBlocImage"],
body.page-annonceInfo .imgBlocBoutik {
    border-radius: 16px !important;
    box-shadow: var(--mb-shadow);
}

/* Boutons "Ajouter au panier" / "Envoyer un message" — gros et visibles */
body.page-annonceInfo .btn-info,
body.page-annonceInfo .btn-primary {
    padding: 0.85rem 1.5rem !important;
    font-size: 1rem !important;
    font-weight: 600 !important;
    border-radius: 10px !important;
    box-shadow: 0 6px 16px rgba(19, 166, 194, 0.35) !important;
    background: linear-gradient(135deg, var(--mb-primary), var(--mb-primary-dark)) !important;
    border: 0 !important;
    transition: transform 180ms var(--mb-ease), box-shadow 180ms var(--mb-ease) !important;
}
body.page-annonceInfo .btn-info:hover,
body.page-annonceInfo .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(19, 166, 194, 0.5) !important;
}

/* Bouton "Retour" en overlay sur l'image */
body.page-annonceInfo a[href*="annonces"],
body.page-annonceInfo button[onclick*="back"] {
    /* Si présents en overlay sur image */
}

/* Bloc prix */
body.page-annonceInfo .priceAnnonce,
body.page-annonceInfo h3:has(+ .priceAnnonce),
body.page-annonceInfo span[class*="textMess"] {
    background: linear-gradient(135deg, var(--mb-warning), #ffa826) !important;
    color: #fff !important;
    padding: 0.4rem 1rem !important;
    border-radius: 12px !important;
    font-size: 1.15rem !important;
    font-weight: 700 !important;
    border: 0 !important;
    display: inline-block !important;
    box-shadow: 0 4px 12px rgba(255, 138, 0, 0.3);
}

/* Description */
body.page-annonceInfo .description,
body.page-annonceInfo .info_more {
    background-color: var(--mb-surface) !important;
    border-radius: 12px;
    padding: 1.25rem 1.5rem !important;
    box-shadow: var(--mb-shadow-xs);
    line-height: 1.6;
    color: var(--mb-text);
}

/* Sidebar boutik dans page annonce */
body.page-annonceInfo .info-box,
body.page-annonceInfo div[class*="border:1px solid"] {
    background-color: var(--mb-surface) !important;
    border: 0 !important;
    border-radius: 16px !important;
    box-shadow: var(--mb-shadow-sm) !important;
    padding: 1.25rem !important;
}

/* Coordonnées */
body.page-annonceInfo .coordonees,
body.page-annonceInfo .contact-detail {
    background-color: var(--mb-surface);
    border-radius: 12px;
    padding: 1rem;
    box-shadow: var(--mb-shadow-xs);
}

/* --------------------------------------------------------------------------
   17.15. Page boutik (page-boutikInfo) — boost moderne
   -------------------------------------------------------------------------- */

/* Header / banniere de la boutique */
body.page-boutikInfo .imgBgBoutik {
    border-radius: 18px !important;
    overflow: hidden !important;
    box-shadow: var(--mb-shadow-md);
    margin-bottom: 1.5rem !important;
}

/* Image profil de la boutique (ronde) */
body.page-boutikInfo .imgPageBoutikProfil {
    border-radius: 50% !important;
    box-shadow: var(--mb-shadow-md);
    border: 4px solid #fff !important;
    transition: transform 350ms var(--mb-ease);
}
body.page-boutikInfo .imgPageBoutikProfil:hover {
    transform: scale(1.05);
}

/* Titre boutique */
body.page-boutikInfo h1 {
    font-size: clamp(1.6rem, 3.5vw, 2.4rem) !important;
    font-weight: 700 !important;
    color: var(--mb-dark) !important;
    letter-spacing: -0.02em !important;
    margin: 0 0 0.6rem !important;
}

/* Bouton Boutik confirmé / vérifié */
body.page-boutikInfo span[class*="confirme"],
body.page-boutikInfo .badge-pro {
    background-color: var(--mb-primary-soft) !important;
    color: var(--mb-primary-dark) !important;
    border-radius: 999px !important;
    padding: 4px 12px !important;
    font-size: 0.78rem !important;
    font-weight: 500 !important;
}

/* Menu de navigation interne (Annonces / Actus / Albums / etc.) */
body.page-boutikInfo .menuBoutikInfo,
body.page-boutikInfo .menuBoutik {
    background-color: var(--mb-surface) !important;
    border-radius: 14px !important;
    padding: 0.6rem !important;
    margin: 1rem 0 !important;
    box-shadow: var(--mb-shadow-xs);
    display: flex;
    gap: 0.4rem;
    flex-wrap: wrap;
    justify-content: center;
}
body.page-boutikInfo .menuBoutikInfo a,
body.page-boutikInfo .menuBoutik a {
    padding: 0.55rem 1rem !important;
    border-radius: 10px !important;
    color: var(--mb-text-muted) !important;
    text-decoration: none !important;
    font-weight: 500 !important;
    font-size: 0.92rem !important;
    transition: background-color 180ms var(--mb-ease), color 180ms var(--mb-ease);
}
body.page-boutikInfo .menuBoutikInfo a:hover,
body.page-boutikInfo .menuBoutik a:hover,
body.page-boutikInfo .menuBoutikInfo a.active,
body.page-boutikInfo .menuBoutik a.active {
    background-color: var(--mb-primary-soft) !important;
    color: var(--mb-primary-dark) !important;
}

/* Cartes "horaires", "coordonnées", etc. */
body.page-boutikInfo .horaireBox,
body.page-boutikInfo .info-box {
    background-color: var(--mb-surface) !important;
    border-radius: 14px !important;
    padding: 1.2rem !important;
    box-shadow: var(--mb-shadow-sm) !important;
    border: 0 !important;
}

/* Liens sociaux */
body.page-boutikInfo a[href*="facebook"],
body.page-boutikInfo a[href*="instagram"],
body.page-boutikInfo a[href*="linkedin"],
body.page-boutikInfo a[href*="youtube"] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background-color: var(--mb-surface-2);
    color: var(--mb-text-muted) !important;
    transition: background-color 180ms var(--mb-ease), color 180ms var(--mb-ease), transform 180ms var(--mb-ease);
    margin: 2px;
}
body.page-boutikInfo a[href*="facebook"]:hover,
body.page-boutikInfo a[href*="instagram"]:hover,
body.page-boutikInfo a[href*="linkedin"]:hover,
body.page-boutikInfo a[href*="youtube"]:hover {
    background-color: var(--mb-primary);
    color: #fff !important;
    transform: translateY(-2px);
}

/* --------------------------------------------------------------------------
   17.2. Catégories home (homeCategorie.php) — refonte moderne
   -------------------------------------------------------------------------- */
.mb-categories {
    padding: 4rem 0 5rem;
    background-color: var(--mb-bg);
}
.mb-categories__header {
    text-align: center;
    margin-bottom: 3rem;
}
.mb-categories__title {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 700;
    color: var(--mb-dark);
    margin: 0 0 0.6rem;
    letter-spacing: -0.02em;
}
.mb-categories__subtitle {
    color: var(--mb-text-muted);
    font-size: 1rem;
    margin: 0;
}

.mb-categories__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.25rem;
}

.mb-category {
    position: relative;
    display: block;
    aspect-ratio: 4 / 3;
    border-radius: 18px;
    overflow: hidden;
    text-decoration: none;
    box-shadow: var(--mb-shadow-sm);
    transition: transform 350ms var(--mb-ease), box-shadow 350ms var(--mb-ease);
}
.mb-category:hover {
    transform: translateY(-6px);
    box-shadow: var(--mb-shadow-lg);
    text-decoration: none;
}
.mb-category__media,
.mb-category__media picture {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
}
.mb-category__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 700ms var(--mb-ease), filter 350ms var(--mb-ease);
    will-change: transform;
}
.mb-category:hover .mb-category__img {
    transform: scale(1.08);
}
.mb-category__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.0) 0%, rgba(0, 0, 0, 0.35) 50%, rgba(0, 0, 0, 0.85) 100%);
    transition: background 350ms var(--mb-ease);
}
.mb-category:hover .mb-category__overlay {
    background: linear-gradient(180deg, rgba(19, 166, 194, 0.15) 0%, rgba(19, 166, 194, 0.45) 50%, rgba(0, 0, 0, 0.85) 100%);
}
.mb-category__content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.5rem 1.4rem;
    color: #fff;
    z-index: 2;
}
.mb-category__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background-color: rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #fff;
    font-size: 18px;
    margin-bottom: 0.85rem;
    transition: background-color 250ms var(--mb-ease), transform 250ms var(--mb-ease);
}
.mb-category:hover .mb-category__icon {
    background-color: var(--mb-primary);
    border-color: var(--mb-primary);
    transform: scale(1.05);
}
.mb-category__label {
    font-size: 1.25rem;
    font-weight: 600;
    color: #fff;
    margin: 0 0 0.4rem;
    letter-spacing: -0.01em;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
}
.mb-category__cta {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.85);
    transition: gap 250ms var(--mb-ease), color 250ms var(--mb-ease);
}
.mb-category:hover .mb-category__cta {
    gap: 0.7rem;
    color: #fff;
}
.mb-category__cta i {
    font-size: 0.75em;
    transition: transform 250ms var(--mb-ease);
}
.mb-category:hover .mb-category__cta i {
    transform: translateX(2px);
}

@media (max-width: 575.98px) {
    .mb-categories__grid { grid-template-columns: repeat(2, 1fr); gap: 0.75rem; }
    .mb-category { aspect-ratio: 1 / 1; }
    .mb-category__icon { width: 36px; height: 36px; font-size: 14px; margin-bottom: 0.6rem; }
    .mb-category__label { font-size: 1rem; }
    .mb-category__cta { font-size: 0.72rem; }
    .mb-category__content { padding: 1rem; }
}

/* ==========================================================================
   PAGE BOUTIK V3 — Refonte mobile-first complète
   ========================================================================== */

/* On masque les anciennes versions de la card identity (pour éviter doublons) */
body.page-boutikInfo .mb-boutik-hero,
body.page-boutikInfo .mb-boutik-hero__identity,
body.page-boutikInfo .mb-boutik-identity-wrap,
body.page-boutikInfo .mb-boutik-identity { display: none !important; }
body.page-boutikInfo > .boutik-hero ~ .mb-boutik-hero,
body.page-boutikInfo > .boutik-identity-wrap ~ .mb-boutik-identity-wrap { display: none !important; }

body.page-boutikInfo {
    background-color: var(--mb-bg) !important;
    --boutik-color: var(--mb-primary);
}

/* ---------- HERO ---------- */
.boutik-hero {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
    background-color: var(--mb-dark);
    /* Compense le margin-top du #main pour que le hero commence en haut de page */
    margin-top: 0;
}
.boutik-hero__bg {
    position: absolute;
    inset: 0;
}
.boutik-hero__bg picture,
.boutik-hero__bg img,
.boutik-hero__bg img.imgBgBoutik,
body.page-boutikInfo .boutik-hero__bg img,
body.page-boutikInfo .boutik-hero__bg img.imgBgBoutik {
    width: 100% !important;
    height: 100% !important;
    max-height: none !important;
    min-height: 0 !important;
    object-fit: cover !important;
    object-position: center center !important;
    padding: 0 !important;
    margin: 0 !important;
    border-radius: 0 !important;
    display: block !important;
}
.boutik-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.25) 0%, rgba(0,0,0,0.55) 100%);
    pointer-events: none;
    z-index: 1;
}

/* Topbar */
.boutik-hero__topbar {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    padding: 14px 14px;
    pointer-events: none;
}
.boutik-hero__topbar > * { pointer-events: auto; }

.boutik-hero__back {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    background-color: rgba(255,255,255,0.18);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.25);
    border-radius: 999px;
    color: #fff !important;
    font-size: 0.85rem;
    font-weight: 500;
    text-decoration: none;
    transition: background-color 200ms var(--mb-ease);
}
.boutik-hero__back:hover { background-color: rgba(255,255,255,0.30); color:#fff !important; text-decoration: none; }

/* Bandeau "Aperçu visiteur" affiché en haut de la boutik quand l'owner est en mode visiteur */
.mb-boutik-preview-bar {
    background: linear-gradient(135deg, #e8a619 0%, #c78d12 100%);
    color: #fff;
    padding: 10px 16px;
    box-shadow: 0 2px 8px rgba(15,23,42,0.15);
}
.mb-boutik-preview-bar__inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    font-size: 13px;
    font-weight: 600;
    max-width: 1400px;
    margin: 0 auto;
}
.mb-boutik-preview-bar__inner i { font-size: 16px; }
.mb-boutik-preview-bar__inner b { font-weight: 800; }
.mb-boutik-preview-bar__exit {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 12px;
    background: #fff;
    color: #9a6a00 !important;
    border-radius: 999px;
    font-weight: 700;
    text-decoration: none !important;
    transition: filter 180ms ease;
    font-size: 12.5px;
}
.mb-boutik-preview-bar__exit:hover { filter: brightness(0.96); }
@media (max-width: 640px) {
    .mb-boutik-preview-bar__inner { font-size: 11.5px; gap: 8px; }
    .mb-boutik-preview-bar__inner span { display: none; }
}

/* Variante warning pour le bouton hero (retour en mode éditeur) */
.boutik-hero__action-btn--warning {
    background-color: rgba(232, 166, 25, 0.85) !important;
    border-color: rgba(255,255,255,0.45) !important;
}
.boutik-hero__action-btn--warning:hover {
    background-color: rgba(232, 166, 25, 1) !important;
}

/* Badge de statut de la page (owner only) — au centre du topbar */
.boutik-hero__status {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 16px;
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 700;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.30);
    color: #fff;
    text-shadow: 0 1px 2px rgba(0,0,0,0.25);
    box-shadow: 0 2px 8px rgba(15,23,42,0.18);
    white-space: nowrap;
    align-self: flex-start;
}
.boutik-hero__status i { font-size: 13px; }
/* Variante cliquable (toggle online/offline) */
.boutik-hero__status--toggle {
    cursor: pointer;
    transition: transform 180ms ease, filter 180ms ease, box-shadow 180ms ease;
}
.boutik-hero__status--toggle:hover {
    transform: translateY(-1px);
    filter: brightness(1.08);
    box-shadow: 0 4px 14px rgba(15,23,42,0.25);
}
.boutik-hero__status--toggle i { font-size: 16px; }
.boutik-hero__status--online {
    background-color: rgba(29,138,62,0.85);
    border-color: rgba(255,255,255,0.45);
}
.boutik-hero__status--offline {
    background-color: rgba(74,85,96,0.85);
}
.boutik-hero__status--pending {
    background-color: rgba(232,166,25,0.92);
    border-color: rgba(255,255,255,0.45);
}
.boutik-hero__status--refused {
    background-color: rgba(212,67,67,0.92);
}
/* Variante "Demander la publication" — call-to-action principal pour l'owner
   quand la page est encore en brouillon. Bleu primary pour appeler à l'action. */
.boutik-hero__status--request {
    background-color: rgba(19,166,194,0.92);
    border-color: rgba(255,255,255,0.55);
    font-weight: 700;
}
@media (max-width: 640px) {
    .boutik-hero__status {
        font-size: 0.7rem;
        padding: 5px 10px;
        max-width: 50vw;
        white-space: normal;
        line-height: 1.2;
        gap: 5px;
    }
    .boutik-hero__status i { font-size: 12px; }
}

.boutik-hero__actions { display: flex; gap: 8px; }
.boutik-hero__action-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background-color: rgba(255,255,255,0.18);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.25);
    color: #fff !important;
    font-size: 15px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 200ms var(--mb-ease), background-color 200ms var(--mb-ease);
    text-decoration: none;
    padding: 0;
}
.boutik-hero__action-btn:hover {
    background-color: rgba(255,255,255,0.30);
    transform: scale(1.08);
    color: #fff !important;
    text-decoration: none;
}
.boutik-hero__action-btn--primary {
    background-color: var(--boutik-color) !important;
    border-color: transparent !important;
}
/* Variante texte + icône (Mode visiteur / Mode éditeur) */
.boutik-hero__action-btn--wide {
    width: auto !important;
    min-width: auto !important;
    height: 38px;
    border-radius: 999px !important;
    padding: 0 16px !important;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
    flex-shrink: 0;
}
.boutik-hero__action-btn--wide i { font-size: 13px; }
.boutik-hero__action-btn--wide span { white-space: nowrap; }
@media (max-width: 767px) {
    /* Sur mobile, le bouton "Mode visiteur" redevient un cercle icône-seule */
    .boutik-hero__action-btn--wide {
        width: 38px !important;
        padding: 0 !important;
        border-radius: 50% !important;
    }
    .boutik-hero__action-btn--wide span { display: none; }
}

/* ---------- IDENTITY CARD (chevauche) ---------- */
.boutik-identity-wrap {
    width: 100%;
    max-width: 1320px;
    margin: -50px auto 0;
    padding: 0 12px;
    position: relative;
    z-index: 5;
}
.boutik-identity {
    background-color: #fff;
    border-radius: 18px;
    box-shadow: 0 18px 50px rgba(15, 23, 42, 0.12), 0 6px 16px rgba(15, 23, 42, 0.06);
    padding: 18px 18px 20px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    align-items: center;
    text-align: center;
}

/* Avatar */
.boutik-identity__avatar {
    position: relative;
    width: 88px;
    height: 88px;
    margin-top: -56px;
    border-radius: 50%;
    background-color: #fff;
    flex-shrink: 0;
}
.boutik-identity__avatar picture,
.boutik-identity__img {
    display: block;
    width: 88px !important;
    height: 88px !important;
    border-radius: 50% !important;
    object-fit: cover !important;
    border: 4px solid #fff !important;
    box-shadow: 0 6px 18px rgba(0,0,0,0.15) !important;
    background-color: #fff !important;
    margin: 0 !important;
    padding: 0 !important;
    outline: none !important;
}
.boutik-identity__avatar-edit {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background-color: var(--boutik-color);
    color: #fff;
    border: 2px solid #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    cursor: pointer;
    z-index: 2;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

/* Bloc info */
.boutik-identity__main {
    width: 100%;
}
.boutik-identity__name {
    font-size: 1.4rem !important;
    font-weight: 700 !important;
    color: var(--mb-dark) !important;
    margin: 0 0 6px !important;
    line-height: 1.2 !important;
    letter-spacing: -0.01em;
    -webkit-text-fill-color: var(--mb-dark) !important;
    background: none !important;
    text-shadow: none !important;
    opacity: 1 !important;
}

.boutik-identity__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 6px 8px;
    color: var(--mb-text-muted);
    font-size: 0.85rem;
}
.boutik-identity__loc i { color: var(--boutik-color); margin-right: 2px; }
.boutik-identity__zip { color: var(--mb-text-soft); }
.boutik-identity__sep { color: var(--mb-text-soft); }
.boutik-identity__by b { color: var(--mb-dark); font-weight: 600; }

.boutik-identity__badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 10px;
    background-color: rgba(16, 206, 120, 0.13);
    color: #0a8b50;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 600;
}
.boutik-identity__badge--verified i { font-size: 0.85em; color: #0a8b50; }
.boutik-identity__badge--soft {
    background-color: var(--mb-primary-soft);
    color: var(--mb-primary-dark);
}

/* Tagline (sous-titre + catégories) — DANS la card */
.boutik-identity__tagline {
    width: 100%;
    margin-top: 4px;
    padding-top: 12px;
    border-top: 1px solid var(--mb-border);
    text-align: center;
}
.boutik-identity__tagline-title {
    display: block;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--mb-dark);
    margin-bottom: 4px;
    letter-spacing: -0.01em;
}
.boutik-identity__tagline-text {
    display: block;
    font-size: 0.82rem;
    color: var(--mb-text-muted);
    line-height: 1.5;
}

/* CTAs */
.boutik-identity__cta {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
}
.boutik-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 11px 20px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.92rem;
    text-decoration: none;
    cursor: pointer;
    border: 0;
    transition: transform 180ms var(--mb-ease), filter 180ms var(--mb-ease), box-shadow 180ms var(--mb-ease);
}
.boutik-btn--primary {
    background-color: var(--boutik-color);
    color: #fff;
    box-shadow: 0 6px 16px rgba(19, 166, 194, 0.32);
}
.boutik-btn--primary:hover {
    transform: translateY(-2px);
    color: #fff;
    text-decoration: none;
    filter: brightness(1.05);
    box-shadow: 0 10px 22px rgba(19, 166, 194, 0.42);
}
.boutik-btn--ghost {
    background-color: transparent;
    color: var(--mb-text-muted);
    border: 1px solid var(--mb-border-strong);
}
.boutik-btn--ghost:hover {
    background-color: var(--mb-surface-2);
    color: var(--mb-dark);
    text-decoration: none;
}

/* ---------- TABLET ≥ 640px ---------- */
@media (min-width: 640px) {
    .boutik-hero { height: 240px; }
    .boutik-hero__back { padding: 9px 16px; font-size: 0.9rem; }
    .boutik-hero__action-btn { width: 42px; height: 42px; font-size: 16px; }

    .boutik-identity-wrap { padding: 0 24px; margin-top: -60px; }
    .boutik-identity {
        flex-direction: row;
        align-items: center;
        text-align: left;
        flex-wrap: nowrap;
        padding: 22px 24px;
        gap: 22px;
    }
    .boutik-identity__avatar { margin-top: -64px; width: 96px; height: 96px; }
    .boutik-identity__img,
    .boutik-identity__avatar picture { width: 96px !important; height: 96px !important; }
    .boutik-identity__main { flex: 1 1 auto; min-width: 0; }
    .boutik-identity__name { font-size: 1.6rem !important; }
    .boutik-identity__meta { justify-content: flex-start; }
    .boutik-identity__tagline { text-align: left; }
    .boutik-identity__cta { flex-direction: row; flex-wrap: wrap; width: auto; flex-shrink: 0; }
    .boutik-btn { padding: 10px 20px; }
}

/* ---------- DESKTOP ≥ 992px ---------- */
@media (min-width: 992px) {
    .boutik-hero { height: 300px; }

    .boutik-identity-wrap { padding: 0 32px; max-width: 1400px; }
    .boutik-identity {
        padding: 26px 32px;
        gap: 28px;
    }
    .boutik-identity__avatar { width: 110px; height: 110px; margin-top: -70px; }
    .boutik-identity__img,
    .boutik-identity__avatar picture { width: 110px !important; height: 110px !important; }
    .boutik-identity__name { font-size: 1.85rem !important; }
    .boutik-identity__meta { font-size: 0.92rem; gap: 8px 12px; }
    .boutik-btn { padding: 12px 24px; font-size: 0.95rem; }
}

/* ---------- LARGE ≥ 1280px ---------- */
@media (min-width: 1280px) {
    .boutik-hero { height: 340px; }
}

/* ---------- CONTENU SOUS L'IDENTITY ---------- */
/* Applique aussi aux pages annonceInfo et actuInfo qui partagent le layout boutik */
body.page-boutikInfo .mb-boutik-content,
body.page-annonceInfo .mb-boutik-content,
body.page-actuInfo .mb-boutik-content {
    padding: 28px 12px 56px;
    max-width: 1400px;
    margin: 0 auto;
}
@media (min-width: 768px) {
    body.page-boutikInfo .mb-boutik-content,
    body.page-annonceInfo .mb-boutik-content,
    body.page-actuInfo .mb-boutik-content { padding-left: 24px; padding-right: 24px; }
}
@media (min-width: 1280px) {
    body.page-boutikInfo .mb-boutik-content,
    body.page-annonceInfo .mb-boutik-content,
    body.page-actuInfo .mb-boutik-content { padding-left: 32px; padding-right: 32px; }
}

body.page-boutikInfo .mb-boutik-content > .container,
body.page-annonceInfo .mb-boutik-content > .container,
body.page-actuInfo .mb-boutik-content > .container {
    max-width: 100% !important;
    padding: 0 !important;
}

/* Variante "alerte" du wrapper boutik-content : même largeur que le contenu
   mais avec un padding vertical réduit (pas besoin de 56px en bas pour un bandeau). */
body.page-boutikInfo .mb-boutik-content--alert,
body.page-annonceInfo .mb-boutik-content--alert,
body.page-actuInfo .mb-boutik-content--alert {
    padding-top: 18px !important;
    padding-bottom: 0 !important;
}

/* Bandeau d'alerte (page refusée, abonnement expiré, etc.) — aligné sur la
   grille de cards .mb-boutik-card, même radius / shadow / largeur. */
.mb-boutik-alert {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 18px 20px;
    background: #fff;
    border-radius: 16px;
    box-shadow: var(--mb-shadow-sm, 0 2px 8px rgba(15,42,50,0.06));
    border: 1px solid #e6eef2;
    border-left: 4px solid #c0203a;
    margin-bottom: 4px;
}
.mb-boutik-alert__icon {
    flex-shrink: 0;
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: rgba(230,57,70,0.10);
    color: #c0203a;
    font-size: 18px;
}
.mb-boutik-alert__body {
    flex: 1 1 auto;
    min-width: 0;
}
.mb-boutik-alert__title {
    font-size: 15px;
    font-weight: 800;
    color: #1f2a32;
    line-height: 1.3;
    margin-bottom: 4px;
}
.mb-boutik-alert__text {
    margin: 0;
    font-size: 13.5px;
    color: #4a5560;
    line-height: 1.6;
}
.mb-boutik-alert__text a {
    color: #0e8fa8;
    font-weight: 700;
    text-decoration: underline;
}
.mb-boutik-alert__btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 10px;
    padding: 9px 18px;
    border-radius: 10px;
    background: linear-gradient(135deg, #13a6c2 0%, #0e8fa8 100%);
    color: #fff !important;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none !important;
    transition: transform .15s ease, box-shadow .15s ease;
    box-shadow: 0 4px 12px rgba(19,166,194,0.30);
}
.mb-boutik-alert__btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(19,166,194,0.42);
}

/* Variantes par sévérité */
.mb-boutik-alert--refused {
    border-left-color: #c0203a;
}
.mb-boutik-alert--refused .mb-boutik-alert__icon {
    background: rgba(230,57,70,0.10);
    color: #c0203a;
}
.mb-boutik-alert--expired {
    border-left-color: #b46100;
}
.mb-boutik-alert--expired .mb-boutik-alert__icon {
    background: rgba(232,166,25,0.16);
    color: #b46100;
}

@media (max-width: 575.98px) {
    .mb-boutik-alert { padding: 14px 16px; gap: 12px; }
    .mb-boutik-alert__icon { width: 36px; height: 36px; font-size: 16px; }
    .mb-boutik-alert__title { font-size: 14px; }
    .mb-boutik-alert__text { font-size: 13px; }
}

/* Cards section */
body.page-boutikInfo .mb-boutik-card {
    background-color: #fff;
    border-radius: 16px;
    padding: 22px;
    box-shadow: var(--mb-shadow-sm);
    margin-bottom: 20px;
}
body.page-boutikInfo .mb-boutik-card__title {
    font-size: 1.2rem !important;
    font-weight: 700 !important;
    color: var(--mb-dark) !important;
    margin: 0 0 14px !important;
    letter-spacing: -0.01em;
    display: flex;
    align-items: center;
    gap: 10px;
}
body.page-boutikInfo .mb-boutik-card__title i { color: var(--boutik-color); }

/* Contenu utilisateur (info_more) : pas d'éléments en position absolute qui chevauchent */
body.page-boutikInfo .mb-boutik-card__text {
    position: relative;
    overflow: visible;
    word-wrap: break-word;
    line-height: 1.6;
    color: var(--mb-text);
}
body.page-boutikInfo .mb-boutik-card__text * {
    position: static !important;
    max-width: 100% !important;
}
body.page-boutikInfo .mb-boutik-card__text img {
    max-width: 100% !important;
    height: auto !important;
}
body.page-boutikInfo .mb-boutik-show-more {
    display: inline-block;
    margin-top: 8px;
    background: transparent;
    border: 0;
    color: var(--boutik-color);
    padding: 0;
    cursor: pointer;
    text-decoration: underline;
    font-size: 0.88rem;
}

/* ---------- TOOLBAR ANNONCES (compteur + actions) ---------- */
.mb-annonces-toolbar {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 0 0 16px;
    margin-bottom: 16px;
    border-bottom: 1px solid var(--mb-border);
}
.mb-annonces-toolbar__count {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--mb-dark);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    letter-spacing: -0.01em;
}
.mb-annonces-toolbar__count i { color: var(--boutik-color, var(--mb-primary)); font-size: 0.95em; }
.mb-annonces-toolbar__count b { color: var(--boutik-color, var(--mb-primary)); font-weight: 800; font-size: 1.25em; }
.mb-annonces-toolbar__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}
.mb-annonces-toolbar__btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    background-color: #fff;
    border: 1px solid var(--mb-border-strong);
    border-radius: 10px;
    color: var(--mb-text);
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 180ms var(--mb-ease);
}
.mb-annonces-toolbar__btn:hover { background-color: var(--mb-primary-soft); border-color: var(--mb-primary); color: var(--mb-primary-dark); }
.mb-annonces-toolbar__btn b { color: var(--mb-dark); font-weight: 600; }
.mb-annonces-toolbar__btn--icon { padding: 8px 10px; }

@media (max-width: 575.98px) {
    .mb-annonces-toolbar__btn { flex: 1 1 calc(50% - 4px); justify-content: center; font-size: 0.8rem; padding: 8px 10px; }
    .mb-annonces-toolbar__btn--icon { flex: 0 0 auto; }
}

/* ---------- ANCIEN CSS LEGACY À NEUTRALISER ---------- */
body.page-boutikInfo .menuBoutikInfo { display: none !important; }
/* .mb-boutik-tabs reste visible (nouveau menu Accueil/Annonces/Actus/...) */
body.page-boutikInfo .container:empty,
body.page-boutikInfo > section.services:empty { display: none !important; }
body.page-boutikInfo .menuBoutik { height: auto !important; min-height: 0 !important; }

/* Force le logo header à rester correct */
body.page-boutikInfo .mb-header__logo { height: 56px !important; width: auto !important; }

/* Force toutes les images de contenu à rester dans leurs limites */
body.page-boutikInfo .mb-boutik-content img { max-width: 100%; height: auto; }

/* Neutralise les borders colorés legacy qui peuvent créer des barres violettes traversantes */
body.page-boutikInfo .boxBoutikInfo,
body.page-boutikInfo .icon-box.boxBoutikInfo,
body.page-boutikInfo .icon-box.boxMaboutik {
    border-top: 0 !important;
    border: 0 !important;
}

/* Augmente le padding-bottom de la card identity pour qu'elle englobe son contenu */
.boutik-identity { padding-bottom: 24px !important; }
.boutik-identity__main { padding-bottom: 4px; }

/* Empêche la card identity de "flotter" en absolute par erreur */
.boutik-identity-wrap { position: relative; }
.boutik-identity { position: relative; }

/* Force le containment du texte user (cas info_more avec position absolute interne) */
body.page-boutikInfo .mb-boutik-card__text,
body.page-boutikInfo .mb-boutik-card__text * {
    position: relative !important;
    float: none !important;
    transform: none !important;
}
body.page-boutikInfo .mb-boutik-card__text > * {
    margin: 0 0 8px;
}
body.page-boutikInfo .mb-boutik-card__text br + br { display: none; } /* évite les doubles sauts */

/* Cache la sidebar legacy boutikDetail.php si elle s'affiche en double */
body.page-boutikInfo .col-12.col-sm-12.col-md-12.col-xl-4 > .row > .boxMaboutik { display: none !important; }

/* ==========================================================================
   FIN PAGE BOUTIK V3
   ========================================================================== */

/* (Bloc legacy ci-dessous neutralisé par les règles V3 ci-haut) */

body.page-boutikInfo { background-color: var(--mb-bg) !important; }

/* --- HERO bandeau --- */
body.page-boutikInfo .mb-boutik-hero {
    position: relative;
    height: clamp(320px, 42vw, 480px);
    overflow: hidden;
    background-color: var(--mb-dark);
    margin-bottom: 0;
    padding-bottom: 80px; /* la card identity chevauche dans cette zone */
}
body.page-boutikInfo .mb-boutik-hero__media,
body.page-boutikInfo .mb-boutik-hero__media picture {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}
body.page-boutikInfo .mb-boutik-hero__img,
body.page-boutikInfo .imgBgBoutik {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center;
    display: block;
}
body.page-boutikInfo .mb-boutik-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.20) 0%, rgba(0,0,0,0.55) 100%);
    z-index: 1;
}

/* --- TOPBAR (Retour / icônes) --- */
body.page-boutikInfo .mb-boutik-hero__topbar {
    position: relative;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    max-width: 100%;
}
body.page-boutikInfo .mb-boutik-hero__back {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background-color: rgba(255,255,255,0.18);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.25);
    border-radius: 999px;
    color: #fff !important;
    font-weight: 500;
    font-size: 0.88rem;
    text-decoration: none;
    transition: background-color 200ms var(--mb-ease);
}
body.page-boutikInfo .mb-boutik-hero__back:hover {
    background-color: rgba(255,255,255,0.30);
    color: #fff !important;
    text-decoration: none;
}
body.page-boutikInfo .mb-boutik-hero__top-actions {
    display: flex;
    gap: 8px;
}
body.page-boutikInfo .mb-boutik-hero__icon,
body.page-boutikInfo .mb-boutik-hero__btn-perso {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255,255,255,0.18);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.25);
    color: #fff !important;
    font-size: 16px;
    cursor: pointer;
    transition: transform 200ms var(--mb-ease), background-color 200ms var(--mb-ease);
    text-decoration: none;
}
body.page-boutikInfo .mb-boutik-hero__icon:hover,
body.page-boutikInfo .mb-boutik-hero__btn-perso:hover {
    background-color: rgba(255,255,255,0.30);
    transform: scale(1.08);
    color: #fff !important;
    text-decoration: none;
}
body.page-boutikInfo .mb-boutik-hero__btn-perso {
    width: auto;
    padding: 0 16px;
    border-radius: 999px;
    gap: 6px;
    background-color: var(--mb-boutik-color, var(--mb-primary)) !important;
    border-color: transparent !important;
    font-weight: 500;
    font-size: 0.88rem;
}

/* --- Cache l'ancien centre du hero (titre redondant) --- */
body.page-boutikInfo .mb-boutik-hero__center { display: none !important; }

/* --- BLOC IDENTITÉ qui chevauche le bas du hero --- */
body.page-boutikInfo .mb-boutik-hero__identity,
body.page-boutikInfo .bandeauBoutik {
    position: relative;
    z-index: 5;
    margin: -70px auto 0;
    max-width: 1100px;
    width: calc(100% - 32px);
    background-color: #fff;
    border-radius: 20px;
    padding: 24px 28px;
    box-shadow: 0 12px 40px rgba(15, 23, 42, 0.14);
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}

/* Avatar wrap */
body.page-boutikInfo .mb-boutik-hero__avatar-wrap {
    position: relative;
    flex-shrink: 0;
    width: 110px;
    height: 110px;
    margin-top: -60px;
}
body.page-boutikInfo .mb-boutik-hero__avatar-wrap picture {
    display: block;
    width: 100%;
    height: 100%;
}
body.page-boutikInfo .mb-boutik-hero__avatar,
body.page-boutikInfo .imgPageBoutikProfil {
    width: 110px !important;
    height: 110px !important;
    border-radius: 50% !important;
    object-fit: cover !important;
    border: 5px solid #fff !important;
    background-color: #fff !important;
    box-shadow: 0 6px 20px rgba(0,0,0,0.15) !important;
    display: block !important;
    position: relative !important;
    margin: 0 !important;
    padding: 0 !important;
    outline: none !important;
}
body.page-boutikInfo .mb-boutik-hero__avatar-edit {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: var(--mb-boutik-color, var(--mb-primary));
    color: #fff !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    cursor: pointer;
    z-index: 2;
}

/* Bloc info (nom + meta) */
body.page-boutikInfo .mb-boutik-hero__info {
    flex: 1 1 auto;
    min-width: 220px;
}
body.page-boutikInfo .mb-boutik-hero__name,
body.page-boutikInfo .mb-boutik-hero__identity .titleBoutik,
body.page-boutikInfo .bandeauBoutik h1.titleBoutik {
    font-size: clamp(1.4rem, 2.2vw, 1.9rem) !important;
    font-weight: 700 !important;
    color: var(--mb-dark) !important;
    margin: 0 0 6px 0 !important;
    line-height: 1.2 !important;
    letter-spacing: -0.01em !important;
    text-shadow: none !important;
    -webkit-text-fill-color: var(--mb-dark) !important;
    background: none !important;
    -webkit-background-clip: initial !important;
    background-clip: initial !important;
    opacity: 1 !important;
}
body.page-boutikInfo .mb-boutik-hero__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 14px;
    color: var(--mb-text-muted);
    font-size: 0.88rem;
    align-items: center;
}
body.page-boutikInfo .mb-boutik-hero__meta i { color: var(--mb-boutik-color, var(--mb-primary)); margin-right: 3px; }
body.page-boutikInfo .mb-boutik-hero__meta-by b { color: var(--mb-dark); font-weight: 600; }
body.page-boutikInfo .mb-boutik-hero__verified {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 10px;
    background-color: rgba(16, 206, 120, 0.12);
    color: #0a8b50;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 600;
}
body.page-boutikInfo .mb-boutik-hero__verified i { color: #0a8b50; margin: 0; }
body.page-boutikInfo .mb-boutik-hero__verified--soft {
    background-color: var(--mb-primary-soft);
    color: var(--mb-primary-dark);
}

/* CTA droite */
body.page-boutikInfo .mb-boutik-hero__cta-row {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}
body.page-boutikInfo .mb-boutik-hero__btn-contact,
body.page-boutikInfo .mb-boutik-hero__btn-bg {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 22px;
    background-color: var(--mb-boutik-color, var(--mb-primary)) !important;
    color: #fff !important;
    border: 0 !important;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    cursor: pointer;
    box-shadow: 0 6px 16px rgba(19, 166, 194, 0.35);
    transition: transform 200ms var(--mb-ease), filter 200ms var(--mb-ease);
}
body.page-boutikInfo .mb-boutik-hero__btn-contact:hover,
body.page-boutikInfo .mb-boutik-hero__btn-bg:hover {
    transform: translateY(-2px);
    filter: brightness(1.05);
    color: #fff !important;
    text-decoration: none;
}
body.page-boutikInfo .mb-boutik-hero__help-link {
    color: var(--mb-text-muted);
    font-size: 0.78rem;
    text-decoration: underline;
    cursor: pointer;
}

/* === RESPONSIVE complet === */
@media (max-width: 991.98px) {
    body.page-boutikInfo .mb-boutik-hero { height: clamp(260px, 38vw, 360px); padding-bottom: 90px; }
    body.page-boutikInfo .mb-boutik-hero__identity,
    body.page-boutikInfo .bandeauBoutik {
        margin-top: -80px;
        padding: 20px 22px 18px;
    }
    body.page-boutikInfo .container,
    body.page-boutikInfo .mb-boutik-content > .container {
        padding-left: 16px !important;
        padding-right: 16px !important;
    }
    .mb-annonces-toolbar__count { font-size: 1.05rem; }
}

@media (max-width: 767.98px) {
    body.page-boutikInfo .mb-boutik-hero { height: clamp(220px, 50vw, 300px); padding-bottom: 80px; }
    body.page-boutikInfo .mb-boutik-hero__topbar { padding: 12px 14px; }
    body.page-boutikInfo .mb-boutik-hero__back span,
    body.page-boutikInfo .mb-boutik-hero__back { font-size: 0.82rem; padding: 6px 12px; }
    body.page-boutikInfo .mb-boutik-hero__icon { width: 36px; height: 36px; font-size: 14px; }

    body.page-boutikInfo .mb-boutik-hero__identity,
    body.page-boutikInfo .bandeauBoutik {
        flex-direction: column;
        text-align: center;
        padding: 16px 16px 18px;
        margin-top: -60px;
        gap: 14px;
    }
    body.page-boutikInfo .mb-boutik-hero__avatar-wrap { margin: -55px auto 0; width: 90px; height: 90px; }
    body.page-boutikInfo .mb-boutik-hero__avatar,
    body.page-boutikInfo .imgPageBoutikProfil { width: 90px !important; height: 90px !important; border-width: 4px !important; }

    body.page-boutikInfo .mb-boutik-hero__info { width: 100%; }
    body.page-boutikInfo .mb-boutik-hero__name,
    body.page-boutikInfo .mb-boutik-hero__identity .titleBoutik { font-size: 1.4rem !important; }
    body.page-boutikInfo .mb-boutik-hero__meta {
        justify-content: center;
        font-size: 0.82rem;
        flex-direction: column;
        gap: 4px;
    }
    body.page-boutikInfo .mb-boutik-hero__cta-row {
        width: 100%;
        justify-content: center;
        flex-direction: column;
        gap: 8px;
    }
    body.page-boutikInfo .mb-boutik-hero__btn-contact,
    body.page-boutikInfo .mb-boutik-hero__btn-bg {
        width: 100%;
        justify-content: center;
        padding: 10px 16px;
        font-size: 0.92rem;
    }

    body.page-boutikInfo .mb-boutik-hero__identity .titreBandeauBoutik,
    body.page-boutikInfo .mb-boutik-hero__identity .textBandeauBoutik {
        text-align: center;
        font-size: 0.85rem;
    }

    /* Toolbar annonces : actions sur 2 lignes */
    .mb-annonces-toolbar__actions { gap: 6px; }
    .mb-annonces-toolbar__btn {
        flex: 1 1 calc(50% - 6px);
        justify-content: center;
        font-size: 0.78rem;
        padding: 8px 10px;
    }
    .mb-annonces-toolbar__btn--icon { flex: 0 0 auto; }

    /* Cards annonces : 2 par ligne en mobile */
    body.page-boutikInfo .formAdmin { padding: 4px !important; }

    /* Cache la sidebar boutikDetail si elle existe */
    body.page-boutikInfo .col-xl-4.boxMaboutik { margin-top: 16px; }
}

@media (max-width: 480px) {
    body.page-boutikInfo .mb-boutik-hero__back {
        font-size: 0;
        width: 36px;
        height: 36px;
        padding: 0;
        justify-content: center;
    }
    body.page-boutikInfo .mb-boutik-hero__back i { font-size: 14px; }
    body.page-boutikInfo .container,
    body.page-boutikInfo .mb-boutik-content > .container {
        padding-left: 12px !important;
        padding-right: 12px !important;
    }
}

/* Le nouveau menu .mb-boutik-tabs reste visible sur boutikInfo
   (ancien commentaire "masqués (sections empilées à la place)" obsolète). */

/* boutikMenuAdmin (alerte abo expiré / hors ligne) — marge minimale si vide */
body.page-boutikInfo > section.services:empty,
body.page-boutikInfo .container:empty { display: none !important; }

/* --- PLEINE LARGEUR sur la page boutik --- */
body.page-boutikInfo .container,
body.page-boutikInfo .mb-boutik-content > .container {
    max-width: 100% !important;
    padding-left: 24px !important;
    padding-right: 24px !important;
}
body.page-boutikInfo .mb-boutik-hero__identity,
body.page-boutikInfo .bandeauBoutik {
    max-width: 100% !important;
    width: calc(100% - 32px) !important;
}

/* --- Card identity : englobe les sous-textes (info_bref, niveaux catégories) --- */
body.page-boutikInfo .mb-boutik-hero__identity,
body.page-boutikInfo .bandeauBoutik {
    flex-wrap: wrap !important;
    padding-bottom: 16px !important;
}
/* Le titreBandeauBoutik / textBandeauBoutik (sous-titre + categories) se met sous le bandeau */
body.page-boutikInfo .mb-boutik-hero__identity .titreBandeauBoutik,
body.page-boutikInfo .mb-boutik-hero__identity .textBandeauBoutik,
body.page-boutikInfo .bandeauBoutik .titreBandeauBoutik,
body.page-boutikInfo .bandeauBoutik .textBandeauBoutik,
body.page-boutikInfo .mb-boutik-identity__tagline {
    flex: 0 0 100%;
    width: 100%;
    margin: 12px 0 0;
    padding: 12px 0 0;
    border-top: 1px solid var(--mb-border);
    color: var(--mb-text);
    font-size: 0.92rem;
}

/* --- Toolbar annonces (compteur + filtres) --- */
.mb-annonces-toolbar {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 16px 0 20px;
    border-bottom: 1px solid var(--mb-border);
    margin-bottom: 16px;
}
.mb-annonces-toolbar__count {
    margin: 0;
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--mb-dark);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    letter-spacing: -0.01em;
}
.mb-annonces-toolbar__count i {
    color: var(--mb-boutik-color, var(--mb-primary));
    font-size: 0.95em;
}
.mb-annonces-toolbar__count b {
    color: var(--mb-boutik-color, var(--mb-primary));
    font-weight: 800;
    font-size: 1.25em;
}
.mb-annonces-toolbar__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}
.mb-annonces-toolbar__btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    background-color: #fff;
    border: 1px solid var(--mb-border-strong);
    border-radius: 10px;
    color: var(--mb-text);
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 180ms var(--mb-ease);
}
.mb-annonces-toolbar__btn:hover {
    background-color: var(--mb-primary-soft);
    border-color: var(--mb-primary);
    color: var(--mb-primary-dark);
}
.mb-annonces-toolbar__btn b { color: var(--mb-dark); font-weight: 600; }
.mb-annonces-toolbar__btn--icon { padding: 8px 10px; }
.mb-annonces-toolbar .dropdown { position: relative; }

/* --- Sections empilées (toutes les sections affichent leur contenu) --- */
body.page-boutikInfo .mb-boutik-content { padding: 24px 0 56px; }
body.page-boutikInfo .mb-boutik-section { padding-bottom: 28px; }

/* Compense le padding-bottom du hero pour ne pas avoir un trou trop grand sous l'identité */
body.page-boutikInfo .mb-boutik-hero { padding-bottom: 100px; }
body.page-boutikInfo .mb-boutik-hero__identity,
body.page-boutikInfo .bandeauBoutik {
    margin-top: -90px;
}
body.page-boutikInfo .mb-boutik-tabs > .container {
    display: flex;
    gap: 4px;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    padding: 8px 16px;
    scrollbar-width: none;
}
body.page-boutikInfo .mb-boutik-tabs > .container::-webkit-scrollbar { display: none; }
body.page-boutikInfo .mb-boutik-tab,
body.page-boutikInfo .mb-boutik-tab.menuBoutik {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    padding: 10px 18px !important;
    height: auto !important;
    min-height: 0 !important;
    border-radius: 10px !important;
    color: var(--mb-text-muted) !important;
    font-weight: 500 !important;
    font-size: 0.9rem !important;
    text-decoration: none !important;
    white-space: nowrap !important;
    background-color: transparent !important;
    transition: background-color 180ms var(--mb-ease), color 180ms var(--mb-ease);
    line-height: 1.3 !important;
}
body.page-boutikInfo .mb-boutik-tab:hover {
    background-color: var(--mb-primary-soft);
    color: var(--mb-primary-dark) !important;
    text-decoration: none;
}
body.page-boutikInfo .mb-boutik-tab.is-active,
body.page-boutikInfo .mb-boutik-tab.menuBoutik.is-active {
    background-color: var(--mb-boutik-color, var(--mb-primary)) !important;
    color: #fff !important;
}

/* --- CONTENU --- */
body.page-boutikInfo .mb-boutik-content { padding: 32px 0 56px; }
body.page-boutikInfo .mb-boutik-section {
    padding: 0 0 24px;
    background: transparent !important;
    margin: 0 !important;
}
body.page-boutikInfo .mb-boutik-presentation {
    background-color: #fff;
    border-radius: 16px;
    padding: 28px;
    box-shadow: var(--mb-shadow-sm);
    color: var(--mb-text);
    line-height: 1.65;
    position: relative;
}
body.page-boutikInfo .mb-boutik-presentation__title {
    font-size: 1.35rem !important;
    font-weight: 700 !important;
    color: var(--mb-dark) !important;
    margin: 0 0 14px !important;
    letter-spacing: -0.01em;
}
body.page-boutikInfo .mb-boutik-presentation__text {
    color: var(--mb-text);
    line-height: 1.65;
    font-size: 0.95rem;
}
body.page-boutikInfo .mb-boutik-presentation__text b,
body.page-boutikInfo .mb-boutik-presentation__text strong { color: var(--mb-dark); }

body.page-boutikInfo .mb-boutik-show-more {
    margin-top: 8px;
    background: transparent;
    border: 0;
    color: var(--mb-boutik-color, var(--mb-primary)) !important;
    padding: 4px 0;
    font-size: 0.88rem;
    text-decoration: underline;
    cursor: pointer;
}

/* Empty state owner */
body.page-boutikInfo .mb-boutik-presentation--empty {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 22px 24px;
    border: 2px dashed var(--mb-border-strong);
    border-radius: 16px;
    color: var(--mb-text-muted);
    text-decoration: none;
    background: transparent;
    transition: border-color 200ms var(--mb-ease), background-color 200ms var(--mb-ease);
}
body.page-boutikInfo .mb-boutik-presentation--empty:hover {
    border-color: var(--mb-primary);
    background-color: var(--mb-primary-soft);
    text-decoration: none;
}
body.page-boutikInfo .mb-boutik-presentation--empty i { font-size: 1.5rem; color: var(--mb-primary); }

body.page-boutikInfo .mb-boutik-edit-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: var(--mb-text-muted) !important;
    font-size: 0.82rem;
    text-decoration: none;
    padding: 4px 10px;
    background-color: var(--mb-surface-2);
    border-radius: 6px;
    transition: background-color 180ms var(--mb-ease);
    margin-bottom: 8px;
}
body.page-boutikInfo .mb-boutik-edit-link:hover {
    background-color: var(--mb-primary-soft);
    color: var(--mb-primary-dark) !important;
    text-decoration: none;
}

/* --- Forcer images du CONTENU (pas header / footer / sidebar admin) --- */
body.page-boutikInfo .mb-boutik-content img,
body.page-boutikInfo .mb-boutik-section img,
body.page-boutikInfo .mb-boutik-presentation img { max-width: 100%; height: auto; }

/* Garde le logo du header à sa taille fixe peu importe la page */
body.page-boutikInfo .mb-header__logo { height: 56px !important; width: auto !important; }

/* Annonces sous la page boutik : déjà stylées par .icon-box / .annonceBloc */

/* --------------------------------------------------------------------------
   17.25. Page CONTACT — refonte moderne
   -------------------------------------------------------------------------- */
body.page-contact #main { background-color: var(--mb-bg, #f7f9fb); }

.mb-contact-hero {
    padding: 56px 16px 40px;
    background: linear-gradient(135deg, var(--mb-primary), var(--mb-primary-dark));
    color: #fff;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.mb-contact-hero::before {
    content: '';
    position: absolute;
    top: -120px; right: -80px;
    width: 320px; height: 320px;
    background: radial-gradient(circle, rgba(255,255,255,0.18) 0%, transparent 70%);
    pointer-events: none;
}
.mb-contact-hero::after {
    content: '';
    position: absolute;
    bottom: -180px; left: -120px;
    width: 420px; height: 420px;
    background: radial-gradient(circle, rgba(255,182,19,0.18) 0%, transparent 70%);
    pointer-events: none;
}
.mb-contact-hero__inner {
    position: relative;
    z-index: 1;
    max-width: 720px;
    margin: 0 auto;
}
.mb-contact-hero__eyebrow {
    display: inline-block;
    padding: 5px 14px;
    background-color: rgba(255,255,255,0.18);
    border: 1px solid rgba(255,255,255,0.25);
    border-radius: 999px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: 14px;
    color: #fff;
}
.mb-contact-hero__title {
    font-size: clamp(24px, 3.4vw, 36px);
    font-weight: 700;
    margin: 0 0 10px;
    color: #fff !important;
    line-height: 1.2;
    letter-spacing: -0.02em;
    text-shadow: 0 2px 8px rgba(0,0,0,0.2);
}
.mb-contact-hero__lead {
    font-size: 15px;
    color: rgba(255,255,255,0.9);
    margin: 0;
    line-height: 1.55;
}

.mb-contact-body {
    padding: 48px 0 80px;
}
.mb-contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 28px;
    align-items: start;
}

/* Colonne gauche — infos */
.mb-contact-info {
    background: linear-gradient(160deg, var(--mb-primary-soft), #fff 60%);
    border: 1px solid rgba(19, 166, 194, 0.14);
    border-radius: 22px;
    padding: 28px;
    box-shadow: var(--mb-shadow-sm);
    position: sticky;
    top: 110px;
}
.mb-contact-info__title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--mb-dark);
    margin: 0 0 6px;
    letter-spacing: -0.01em;
}
.mb-contact-info__lead {
    color: var(--mb-text-muted);
    font-size: 0.92rem;
    margin: 0 0 24px;
}
.mb-contact-info__list {
    list-style: none;
    padding: 0;
    margin: 0 0 24px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.mb-contact-info__item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}
.mb-contact-info__icon {
    flex-shrink: 0;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--mb-primary), var(--mb-primary-dark));
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    box-shadow: 0 4px 12px rgba(19, 166, 194, 0.3);
}
.mb-contact-info__label {
    display: block;
    font-size: 0.74rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--mb-text-muted);
    font-weight: 600;
    margin-bottom: 2px;
}
.mb-contact-info__value {
    color: var(--mb-dark);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 180ms var(--mb-ease);
}
a.mb-contact-info__value:hover {
    color: var(--mb-primary);
    text-decoration: none;
}
.mb-contact-info__value i {
    margin-left: 4px;
    font-size: 0.78em;
    transition: transform 180ms var(--mb-ease);
}
a.mb-contact-info__value:hover i { transform: translateX(2px); }

/* Réseaux sociaux */
.mb-contact-info__socials {
    display: flex;
    gap: 8px;
    padding-top: 18px;
    border-top: 1px solid rgba(15, 23, 42, 0.08);
}
.mb-contact-info__socials a {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background-color: var(--mb-surface-2);
    color: var(--mb-text-muted);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    transition: background-color 200ms var(--mb-ease), color 200ms var(--mb-ease), transform 200ms var(--mb-ease);
}
.mb-contact-info__socials a:hover {
    background-color: var(--mb-primary);
    color: #fff;
    transform: translateY(-2px);
}

/* Colonne droite — formulaire */
.mb-contact-card {
    background-color: #fff;
    border-radius: 22px;
    padding: 32px;
    box-shadow: var(--mb-shadow);
}
.mb-contact-card__title {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--mb-dark);
    margin: 0 0 6px;
    letter-spacing: -0.01em;
}
.mb-contact-card__lead {
    color: var(--mb-text-muted);
    font-size: 0.9rem;
    margin: 0 0 24px;
}
.mb-contact-required { color: var(--mb-danger); font-weight: 700; }

.mb-contact-form { display: flex; flex-direction: column; gap: 16px; }
.mb-contact-form__row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
.mb-form-field__input-wrap--textarea {
    align-items: stretch;
}
.mb-form-field__input--textarea {
    min-height: 140px;
    padding: 0.85rem 1rem !important;
    resize: vertical;
}
.mb-form-field__input--select {
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path d='M6 8L0 0h12z' fill='%2390a0aa'/></svg>");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 36px !important;
}

.mb-contact-form__footer {
    margin-top: 8px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.mb-contact-form__notice {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.78rem;
    color: var(--mb-text-muted);
    margin: 0;
    text-align: center;
    justify-content: center;
}
.mb-contact-form__notice i { color: var(--mb-success); }

/* invalid-feedback custom */
.mb-contact-form .invalid-feedback {
    display: block;
    color: var(--mb-danger);
    font-size: 0.78rem;
    margin-top: 4px;
    min-height: 0;
}
.mb-contact-form .was-validated input:invalid,
.mb-contact-form .was-validated textarea:invalid,
.mb-contact-form .was-validated select:invalid {
    border-color: var(--mb-danger) !important;
}

/* Responsive */
@media (max-width: 991.98px) {
    .mb-contact-grid { grid-template-columns: 1fr; }
    .mb-contact-info { position: static; }
}
@media (max-width: 575.98px) {
    .mb-contact-hero { padding: 40px 16px 32px; }
    .mb-contact-body { padding: 32px 0 56px; }
    .mb-contact-card { padding: 22px; border-radius: 18px; }
    .mb-contact-info { padding: 22px; border-radius: 18px; }
    .mb-contact-form__row { grid-template-columns: 1fr; gap: 12px; }
}

/* --------------------------------------------------------------------------
   17.3. Pages auth (login, créer compte) — refonte moderne
   -------------------------------------------------------------------------- */
.mb-auth-section {
    padding: 3rem 0 4rem;
    background-color: var(--mb-bg);
    min-height: calc(100vh - 88px);
}
.mb-auth-card {
    width: 100%;
    background-color: #fff;
    border-radius: 20px;
    padding: 2.5rem 2rem;
    box-shadow: var(--mb-shadow);
    display: flex;
    flex-direction: column;
}
.mb-auth-card--accent {
    background: linear-gradient(180deg, var(--mb-primary-soft) 0%, #fff 60%);
    border: 1px solid rgba(19, 166, 194, 0.15);
}
.mb-auth-card__header {
    text-align: center;
    margin-bottom: 1.5rem;
}
.mb-auth-card__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--mb-primary), var(--mb-primary-dark));
    color: #fff;
    font-size: 26px;
    margin-bottom: 1rem;
    box-shadow: 0 8px 20px rgba(19, 166, 194, 0.4);
}
.mb-auth-card__icon--accent {
    background: linear-gradient(135deg, var(--mb-warning), #FF8A00);
    box-shadow: 0 8px 20px rgba(255, 138, 0, 0.4);
}
.mb-auth-card__title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--mb-dark);
    margin: 0 0 0.4rem;
    letter-spacing: -0.01em;
}
.mb-auth-card__subtitle {
    color: var(--mb-text-muted);
    font-size: 0.9rem;
    margin: 0;
}

/* Formulaire */
.mb-auth-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.mb-form-field {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}
.mb-form-field__label {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--mb-text-muted);
    letter-spacing: 0.01em;
}
.mb-form-field__input-wrap {
    position: relative;
    display: flex;
    align-items: center;
}
.mb-form-field__icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--mb-text-soft);
    pointer-events: none;
    z-index: 2;
    font-size: 14px;
}
.mb-form-field__input,
.mb-form-field__input-wrap input,
.mb-form-field__input-wrap select,
.mb-form-field__input-wrap textarea {
    flex: 1;
    width: 100%;
    height: 48px;
    min-height: 48px;
    border: 1.5px solid var(--mb-border-strong) !important;
    border-radius: 12px !important;
    background-color: var(--mb-surface) !important;
    color: var(--mb-text) !important;
    padding: 0.7rem 1rem 0.7rem 3.2rem !important;
    font-size: 0.95rem !important;
    line-height: 1.4 !important;
    transition: border-color 180ms var(--mb-ease), box-shadow 180ms var(--mb-ease);
    box-shadow: none !important;
    box-sizing: border-box !important;
    text-indent: 0 !important;
}
.mb-form-field__input-wrap textarea {
    height: auto;
    min-height: 110px;
    padding-top: 0.85rem !important;
    padding-bottom: 0.85rem !important;
}
/* Select : padding droit augmente + fleche personnalisee (appearance:none pour
   garantir que le padding s'applique sur tous les navigateurs/OS) */
.mb-form-field__input-wrap select {
    padding: 0.85rem 2.5rem 0.85rem 3.2rem !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    appearance: none !important;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23607080' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'></polyline></svg>") !important;
    background-position: right 14px center !important;
    background-repeat: no-repeat !important;
    background-size: 12px 12px !important;
    cursor: pointer;
    color: #1f2a32 !important;
    -webkit-text-fill-color: #1f2a32 !important;
    font-size: 0.95rem !important;
    font-family: inherit !important;
    line-height: 1.4 !important;
    height: auto !important;
    min-height: 48px;
    text-indent: 0 !important;
    text-shadow: none !important;
    opacity: 1 !important;
}
.mb-form-field__input-wrap select option {
    color: #1f2a32;
    background: #fff;
    font-size: 14px;
    padding: 6px 10px;
}
/* Input disabled (champ Ville en attente) : texte plus contraste */
.mb-form-field__input-wrap input[disabled],
.mb-form-field__input-wrap select[disabled] {
    background-color: #f5fafc !important;
    color: var(--mb-text, #36454f) !important;
    cursor: not-allowed;
    opacity: 1 !important;
    -webkit-text-fill-color: var(--mb-text, #36454f) !important;
}
/* Quand un input est wrappe dans #listCity (ou tout span enfant), le wrapper doit s'etendre proprement */
.mb-form-field__input-wrap > span {
    flex: 1;
    display: flex;
    width: 100%;
}
/* Etat valid / invalid : preserve le padding gauche pour l'icone +
   bord coloré visible pour que l'utilisateur sache quel champ corriger */
.mb-form-field__input-wrap input.is-valid,
.mb-form-field__input-wrap input.is-invalid,
.mb-form-field__input-wrap select.is-valid,
.mb-form-field__input-wrap select.is-invalid {
    padding-left: 3.2rem !important;
}
.mb-form-field__input-wrap input.is-invalid,
.mb-form-field__input-wrap select.is-invalid,
.mb-form-field__input-wrap textarea.is-invalid {
    border-color: #d44343 !important;
    box-shadow: 0 0 0 3px rgba(212,67,67,0.12) !important;
}
.mb-form-field__input-wrap input.is-valid,
.mb-form-field__input-wrap select.is-valid,
.mb-form-field__input-wrap textarea.is-valid {
    border-color: #1d8a3e !important;
}
/* invalid-feedback : message rouge masque par defaut, ne s'affiche que si
   le champ associe est marque comme invalid (via JS qui ajoute .is-invalid)
   ou si le formulaire a ete soumis (Bootstrap .was-validated). */
.mb-form-field .invalid-feedback {
    color: #d44343;
    font-size: 0.82rem;
    margin-top: 4px;
    padding-left: 4px;
    display: none;
}
.mb-form-field__input-wrap:has(input.is-invalid) ~ .invalid-feedback,
.mb-form-field__input-wrap:has(select.is-invalid) ~ .invalid-feedback,
.mb-form-field__input-wrap:has(textarea.is-invalid) ~ .invalid-feedback {
    display: block !important;
}
/* Apres submit (.was-validated), affiche les messages pour les champs HTML5 invalides */
.was-validated .mb-form-field__input-wrap:has(input:invalid) ~ .invalid-feedback,
.was-validated .mb-form-field__input-wrap:has(select:invalid) ~ .invalid-feedback,
.was-validated .mb-form-field__input-wrap:has(textarea:invalid) ~ .invalid-feedback {
    display: block !important;
}
/* Cache la pastille check/cross Bootstrap (.is-valid/.is-invalid background) :
   on garde uniquement le liseré coloré comme indicateur, pour ne pas
   chevaucher l'eye-icon (mb-form-field__toggle) sur les champs password. */
.mb-form-field__input-wrap input.is-valid,
.mb-form-field__input-wrap input.is-invalid {
    background-image: none !important;
    padding-right: 1rem !important;
}
/* Select valid/invalid : garde l'espace pour la fleche native a droite */
.mb-form-field__input-wrap select.is-valid,
.mb-form-field__input-wrap select.is-invalid {
    background-image: none !important;
    padding-right: 2.5rem !important;
}
/* Quand un toggle (eye) est present, garde de la place pour lui a droite */
.mb-form-field__input-wrap:has(.mb-form-field__toggle) input,
.mb-form-field__input-wrap:has(.mb-form-field__toggle) input.is-valid,
.mb-form-field__input-wrap:has(.mb-form-field__toggle) input.is-invalid {
    padding-right: 3rem !important;
}
.mb-form-field__input:focus {
    border-color: var(--mb-primary) !important;
    box-shadow: 0 0 0 4px var(--mb-primary-soft) !important;
    outline: none;
}
.mb-form-field__toggle {
    position: absolute;
    right: 8px;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    border: 0;
    background: transparent;
    color: var(--mb-text-muted);
    cursor: pointer;
    transition: background-color 180ms var(--mb-ease);
}
.mb-form-field__toggle:hover {
    background-color: var(--mb-surface-2);
    color: var(--mb-primary);
}

.mb-form-checkbox {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.88rem;
    color: var(--mb-text-muted);
    cursor: pointer;
    margin: 0.25rem 0 0.25rem;
}
.mb-form-checkbox input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--mb-primary);
    cursor: pointer;
}

/* Bouton primary refonte */
.mb-btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.85rem 1.6rem;
    background: linear-gradient(135deg, var(--mb-primary), var(--mb-primary-dark));
    color: #fff;
    font-weight: 600;
    font-size: 0.95rem;
    border: 0;
    border-radius: 12px;
    cursor: pointer;
    text-decoration: none;
    box-shadow: 0 6px 16px rgba(19, 166, 194, 0.4);
    transition: transform 180ms var(--mb-ease), box-shadow 180ms var(--mb-ease), filter 180ms var(--mb-ease);
}
.mb-btn-primary:hover {
    transform: translateY(-2px);
    color: #fff;
    text-decoration: none;
    filter: brightness(1.05);
    box-shadow: 0 10px 24px rgba(19, 166, 194, 0.5);
}
.mb-btn-primary:active { transform: translateY(0); }
.mb-btn-primary--block { width: 100%; }
.mb-btn-primary--accent {
    background: linear-gradient(135deg, var(--mb-warning), #FF8A00);
    box-shadow: 0 6px 16px rgba(255, 138, 0, 0.45);
}
.mb-btn-primary--accent:hover {
    box-shadow: 0 10px 24px rgba(255, 138, 0, 0.55);
}

/* Séparateur "ou" */
.mb-auth-card__separator {
    text-align: center;
    color: var(--mb-text-soft);
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin: 1rem 0;
    position: relative;
}
.mb-auth-card__separator::before,
.mb-auth-card__separator::after {
    content: "";
    position: absolute;
    top: 50%;
    width: calc(50% - 30px);
    height: 1px;
    background-color: var(--mb-border);
}
.mb-auth-card__separator::before { left: 0; }
.mb-auth-card__separator::after  { right: 0; }

/* Liens texte */
.mb-auth-card__links {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
}
.mb-link-btn {
    background: none;
    border: 0;
    color: var(--mb-primary);
    font-size: 0.88rem;
    cursor: pointer;
    padding: 0.4rem 0.8rem;
    border-radius: 6px;
    text-decoration: none;
    transition: background-color 180ms var(--mb-ease);
}
.mb-link-btn:hover {
    background-color: var(--mb-primary-soft);
    color: var(--mb-primary-dark);
    text-decoration: none;
}

/* Features dans la carte d'incitation */
.mb-auth-card__content {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}
.mb-auth-feature__title {
    color: var(--mb-dark);
    font-size: 0.95rem;
    font-weight: 600;
    margin: 0 0 0.55rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}
.mb-auth-feature__title i { color: var(--mb-primary); font-size: 0.9em; }
.mb-auth-feature__list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}
.mb-auth-feature__list li {
    font-size: 0.85rem;
    color: var(--mb-text);
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    line-height: 1.5;
}
.mb-auth-feature__list i {
    color: var(--mb-success);
    margin-top: 4px;
    font-size: 0.85em;
    flex-shrink: 0;
}

@media (max-width: 575.98px) {
    .mb-auth-card { padding: 1.75rem 1.25rem; }
    .mb-auth-card__title { font-size: 1.25rem; }
}

/* --------------------------------------------------------------------------
   17.4. Page de recherche — refonte moderne
   -------------------------------------------------------------------------- */
.mb-search-hero {
    position: relative;
    overflow: hidden;
    color: #fff;
    margin-top: 0;
    padding: 7rem 1rem 3rem;
}
.mb-search-hero__bg {
    position: absolute;
    inset: 0;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    z-index: 1;
}
.mb-search-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.6), rgba(0,0,0,0.75));
    z-index: 2;
}
.mb-search-hero__content {
    position: relative;
    z-index: 3;
    max-width: 760px;
    margin: 0 auto;
    text-align: center;
}
.mb-search-hero__cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.55rem 1.4rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--mb-primary), var(--mb-primary-dark));
    color: #fff;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    box-shadow: 0 6px 20px rgba(19, 166, 194, 0.45);
    transition: transform 200ms var(--mb-ease), box-shadow 200ms var(--mb-ease);
}
.mb-search-hero__cta:hover {
    transform: translateY(-2px);
    color: #fff;
    text-decoration: none;
    box-shadow: 0 10px 28px rgba(19, 166, 194, 0.6);
}
.mb-search-hero__tagline {
    font-size: 0.92rem;
    font-weight: 300;
    margin: 0 0 1.25rem;
    opacity: 0.95;
}
.mb-search-hero__tagline strong { font-weight: 700; }
.mb-search-hero__flag {
    width: 18px;
    height: auto;
    vertical-align: middle;
    margin-left: 4px;
    border-radius: 2px;
}

/* Barre de recherche */
.mb-search-bar {
    display: flex;
    align-items: center;
    background-color: #fff;
    border-radius: 999px;
    padding: 6px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
    transition: transform 220ms var(--mb-ease), box-shadow 220ms var(--mb-ease);
}
.mb-search-bar:focus-within {
    transform: translateY(-2px);
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.4);
}
.mb-search-bar__btn-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 0;
    background-color: transparent;
    color: var(--mb-text-muted);
    font-size: 18px;
    cursor: pointer;
    flex-shrink: 0;
}
.mb-search-bar__input {
    flex: 1;
    border: 0;
    outline: 0;
    background: transparent;
    color: var(--mb-dark);
    font-size: 1rem;
    padding: 0 0.5rem;
    min-width: 0;
}
.mb-search-bar__input::placeholder { color: var(--mb-text-soft); }
.mb-search-bar__btn {
    background: linear-gradient(135deg, var(--mb-primary), var(--mb-primary-dark));
    color: #fff;
    border: 0;
    border-radius: 999px;
    padding: 0.7rem 1.6rem;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(19, 166, 194, 0.45);
    transition: transform 180ms var(--mb-ease), box-shadow 180ms var(--mb-ease);
    flex-shrink: 0;
}
.mb-search-bar__btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(19, 166, 194, 0.55);
}

/* Suggestions */
.mb-search-suggestions {
    margin-top: 1rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 0.4rem 0.6rem;
    font-size: 0.85rem;
}
.mb-search-suggestions__label { opacity: 0.7; }
.linkSugestSearch {
    display: inline-block;
    padding: 4px 12px;
    background-color: rgba(255, 255, 255, 0.12);
    color: #fff !important;
    border-radius: 999px;
    text-decoration: none;
    transition: background-color 180ms var(--mb-ease);
    border: 1px solid rgba(255, 255, 255, 0.2);
}
.linkSugestSearch:hover {
    background-color: rgba(255, 255, 255, 0.25);
    color: #fff !important;
    text-decoration: none;
}

.mb-search-suggestions-box {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    z-index: 500;
    width: 100%;
    max-width: 760px;
}

/* Bouton "Effacer la recherche" */
.mb-search-clear {
    margin-top: 1.5rem;
    background-color: rgba(255, 255, 255, 0.12);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 999px;
    padding: 0.4rem 1rem;
    font-size: 0.85rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    transition: background-color 180ms var(--mb-ease);
}
.mb-search-clear:hover { background-color: rgba(255, 255, 255, 0.22); }

/* Résultats */
.mb-search-results { padding: 2rem 0 1rem; }
.mb-search-results__title {
    font-size: 1.15rem;
    font-weight: 400;
    color: var(--mb-text);
    margin: 0;
    line-height: 1.5;
}
.mb-search-results__count {
    color: var(--mb-primary);
    font-weight: 700;
    font-size: 1.5rem;
}
.mb-search-results__query {
    font-weight: 700;
    color: var(--mb-dark);
}
.mb-search-results__hint {
    font-size: 0.85rem;
    color: var(--mb-text-muted);
    margin: 0.4rem 0 0;
}
.mb-search-results__empty {
    text-align: center;
    padding: 3rem 1rem;
    color: var(--mb-text-muted);
}
.mb-search-results__empty i {
    font-size: 3rem;
    color: var(--mb-text-soft);
    margin-bottom: 1rem;
    display: block;
}
.mb-search-results__empty h2 { color: var(--mb-text); margin: 0 0 0.4rem; font-size: 1.2rem; }

@media (max-width: 575.98px) {
    .mb-search-bar { flex-direction: column; gap: 4px; padding: 8px; border-radius: 16px; }
    .mb-search-bar__input { width: 100%; padding: 0.5rem 0.75rem; text-align: center; }
    .mb-search-bar__btn { width: 100%; }
}

/* --------------------------------------------------------------------------
   17.5. Hero (homeBandeau) — refonte moderne
   -------------------------------------------------------------------------- */
.mb-hero {
    position: relative;
    overflow: hidden;
    color: #fff;
    border-bottom: 6px solid var(--mb-primary);
    margin-top: 0; /* compense le margin-top de #main pour pleine hauteur */
}

.mb-hero__carousel,
.mb-hero__carousel-inner,
.mb-hero__carousel .carousel-item {
    height: 100%;
}
.mb-hero__carousel {
    position: absolute;
    inset: 0;
    z-index: 1;
}
.mb-hero__slide {
    height: 100%;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.mb-hero__overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    background: linear-gradient(180deg, rgba(0,0,0,0.45) 0%, rgba(0,0,0,0.65) 60%, rgba(0,0,0,0.75) 100%);
}

.mb-hero__content {
    position: relative;
    z-index: 3;
    min-height: clamp(560px, 75vh, 780px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6rem 1.25rem 4rem;
    text-align: center;
}
.mb-hero__inner {
    max-width: 920px;
    width: 100%;
}

.mb-hero__logo {
    width: 240px;
    max-width: 60%;
    height: auto;
    margin-bottom: 1.5rem;
    filter: drop-shadow(0 4px 20px rgba(0, 0, 0, 0.3));
    animation: mb-fade-up 600ms var(--mb-ease) both;
}
.mb-hero__tagline {
    font-size: clamp(1rem, 2.2vw, 1.4rem);
    font-weight: 300;
    margin: 0 0 0.4rem;
    line-height: 1.4;
    animation: mb-fade-up 600ms var(--mb-ease) 100ms both;
}
.mb-hero__tagline b { font-weight: 700; }
.mb-hero__tagline-pill {
    display: inline-block;
    padding: 2px 10px;
    background-color: #fff;
    color: var(--mb-dark);
    border-radius: 999px;
    font-weight: 800;
    font-size: 0.9em;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-right: 4px;
    vertical-align: middle;
}
.mb-hero__flag {
    width: 24px;
    height: auto;
    vertical-align: middle;
    margin-left: 4px;
    border-radius: 3px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.3);
}
.mb-hero__sub {
    font-size: 0.85rem;
    opacity: 0.85;
    margin: 0 0 2rem;
    animation: mb-fade-up 600ms var(--mb-ease) 200ms both;
}

.mb-hero__cta-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, var(--mb-warning), #FF8A00);
    color: #fff;
    padding: 0.6rem 1.4rem;
    border-radius: 999px;
    font-weight: 700;
    font-size: 1.05rem;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    box-shadow: 0 8px 24px rgba(255, 138, 0, 0.5);
    margin-bottom: 1.5rem;
    animation: mb-fade-up 600ms var(--mb-ease) 300ms both;
}
.mb-hero__cta-pill strong { font-weight: 800; }

.mb-hero__bullets {
    list-style: none;
    padding: 0;
    margin: 0 0 2.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
    font-size: 1rem;
    animation: mb-fade-up 600ms var(--mb-ease) 400ms both;
}
.mb-hero__bullets li {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}
.mb-hero__bullets i { color: var(--mb-primary); font-size: 1.05em; }

.mb-hero__quickactions {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    max-width: 720px;
    margin: 0 auto 2rem;
    animation: mb-fade-up 600ms var(--mb-ease) 500ms both;
}

.mb-quickaction {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.65rem;
    padding: 1.25rem 0.75rem;
    background-color: rgba(255, 255, 255, 0.08);
    border: 1.5px solid rgba(255, 255, 255, 0.25);
    border-radius: 16px;
    color: #fff;
    text-decoration: none;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: transform 220ms var(--mb-ease), background-color 220ms var(--mb-ease), border-color 220ms var(--mb-ease), box-shadow 220ms var(--mb-ease);
}
.mb-quickaction:hover {
    transform: translateY(-4px);
    background-color: rgba(255, 255, 255, 0.18);
    border-color: rgba(255, 255, 255, 0.6);
    color: #fff;
    text-decoration: none;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
}
.mb-quickaction--featured {
    background: linear-gradient(135deg, rgba(255, 182, 19, 0.3), rgba(255, 138, 0, 0.4));
    border-color: rgba(255, 182, 19, 0.6);
}
.mb-quickaction--featured:hover {
    background: linear-gradient(135deg, rgba(255, 182, 19, 0.5), rgba(255, 138, 0, 0.6));
}
.mb-quickaction__icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.15);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: var(--mb-warning);
}
.mb-quickaction--featured .mb-quickaction__icon { color: #fff; background-color: rgba(255,255,255,0.25); }
.mb-quickaction__label {
    font-size: 0.92rem;
    line-height: 1.25;
    text-align: center;
    font-weight: 500;
}

.mb-hero__hashtags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.4rem 0.6rem;
    margin-top: 1rem;
    animation: mb-fade-up 600ms var(--mb-ease) 600ms both;
}
.mb-hero__hashtags span {
    font-size: 0.78rem;
    opacity: 0.75;
    padding: 2px 8px;
    background-color: rgba(255, 255, 255, 0.08);
    border-radius: 999px;
    transition: background-color 180ms var(--mb-ease), opacity 180ms var(--mb-ease);
}
.mb-hero__hashtags span:hover { background-color: rgba(255, 255, 255, 0.18); opacity: 1; }

@media (max-width: 768px) {
    .mb-hero__quickactions { grid-template-columns: repeat(2, 1fr); }
    .mb-hero__content { min-height: 80vh; padding: 5rem 1rem 3rem; }
    .mb-hero__bullets { font-size: 0.92rem; }
}
@media (max-width: 480px) {
    .mb-quickaction { padding: 0.9rem 0.4rem; }
    .mb-quickaction__icon { width: 44px; height: 44px; font-size: 18px; }
    .mb-quickaction__label { font-size: 0.82rem; }
}

/* --------------------------------------------------------------------------
   18. Print
   -------------------------------------------------------------------------- */
@media print {
    .mb-sidebar-toggle,
    #header,
    .footer,
    .back-to-top,
    .nav-menuVerticale {
        display: none !important;
    }
}

/* --------------------------------------------------------------------------
   19. Effets visuels évidents (boost contre styles inline)
   -------------------------------------------------------------------------- */

/* Searchbar de la home — ombre profonde */
.input-group:has(#searchBar),
.input-group:has(input[name="searchBar"]) {
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.18);
    border-radius: 999px;
    overflow: hidden;
    transition: box-shadow 250ms var(--mb-ease), transform 250ms var(--mb-ease);
}
.input-group:has(#searchBar):hover,
.input-group:has(#searchBar):focus-within,
.input-group:has(input[name="searchBar"]):focus-within {
    box-shadow: 0 16px 50px rgba(0, 0, 0, 0.28);
    transform: translateY(-1px);
}
#searchBar {
    border: 0 !important;
    box-shadow: none !important;
}
#searchBar:focus {
    box-shadow: none !important;
}

/* Bouton "+ En voir plus" et autres boutons d'action principaux */
.btn-info,
.btn[style*="background-color:#13a6c2"],
.btn[style*="background-color:#FF2913"],
.btn-danger,
.btn-warning {
    background-image: linear-gradient(180deg, rgba(255,255,255,0.08), rgba(0,0,0,0.05));
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.12), inset 0 1px 0 rgba(255,255,255,0.2) !important;
    text-shadow: 0 1px 0 rgba(0,0,0,0.06);
    transition: transform 180ms var(--mb-ease), box-shadow 180ms var(--mb-ease), filter 180ms var(--mb-ease) !important;
}
.btn-info:hover,
.btn-danger:hover,
.btn-warning:hover {
    transform: translateY(-2px);
    filter: brightness(1.06);
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.18) !important;
}
.btn-info:active,
.btn-danger:active,
.btn-warning:active {
    transform: translateY(0);
    box-shadow: 0 2px 6px rgba(15, 23, 42, 0.12) !important;
}

/* Header — fond avec glassmorphism + ombre douce, surcharge styles inline */
#header.fixed-top {
    background-color: rgba(255, 255, 255, 0.92) !important;
    backdrop-filter: saturate(160%) blur(10px);
    -webkit-backdrop-filter: saturate(160%) blur(10px);
    box-shadow: 0 1px 0 rgba(15, 23, 42, 0.06), 0 8px 24px rgba(15, 23, 42, 0.06) !important;
    border-bottom: 0 !important;
}

/* Liens de navigation principale du header */
.nav-menu > ul > li > a {
    position: relative;
    color: var(--mb-dark) !important;
    font-weight: 400 !important;
}
.nav-menu > ul > li > a::after {
    content: "";
    position: absolute;
    left: 12px;
    right: 12px;
    bottom: 4px;
    height: 2px;
    background-color: var(--mb-primary);
    border-radius: 2px;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 220ms var(--mb-ease);
}
.nav-menu > ul > li > a:hover::after,
.nav-menu > ul > li.active > a::after {
    transform: scaleX(1);
}
.nav-menu > ul > li > a:hover {
    color: var(--mb-primary) !important;
}

/* "Créer ma page" bouton CTA dans le header (s'il a une classe spécifique) */
.nav-menu .ctaCreer,
a[href*="creation"] .btn,
a.btn-cta {
    background: linear-gradient(135deg, var(--mb-primary), var(--mb-primary-dark)) !important;
    color: #fff !important;
    border: 0 !important;
    box-shadow: 0 6px 16px rgba(19, 166, 194, 0.35);
    transition: transform 200ms var(--mb-ease), box-shadow 200ms var(--mb-ease);
}

/* Section "Les pages à la une" — titre plus présent */
section.services h1,
section.services h2,
section.services > h3,
.containerBoutik > h2,
.containerBoutik > h3 {
    font-weight: 600 !important;
    color: var(--mb-dark);
    margin-bottom: 1.25rem;
}

/* Le wrapper de carte boutik — le hover lifte tout le bloc */
.formAdmin.boxZoom {
    transition: transform 280ms var(--mb-ease);
}
.formAdmin.boxZoom:hover {
    transform: translateY(-3px);
}

/* Span "Professionnel / vérifié" plus moderne */
.icon-box span[style*="border-radius:6px"] {
    background-color: var(--mb-primary-soft) !important;
    color: var(--mb-primary-dark) !important;
    border: 0 !important;
    font-weight: 500 !important;
    padding: 3px 8px !important;
    border-radius: 999px !important;
}

/* Animation discrète au chargement des cartes */
@keyframes mb-fade-up {
    from { opacity: 0; transform: translateY(8px); }
    to   { opacity: 1; transform: translateY(0); }
}
.icon-box {
    animation: mb-fade-up 350ms var(--mb-ease) both;
}

/* Délai en cascade pour que les cartes apparaissent l'une après l'autre */
.row > [class*="col-"]:nth-child(1) .icon-box { animation-delay: 0ms; }
.row > [class*="col-"]:nth-child(2) .icon-box { animation-delay: 60ms; }
.row > [class*="col-"]:nth-child(3) .icon-box { animation-delay: 120ms; }
.row > [class*="col-"]:nth-child(4) .icon-box { animation-delay: 180ms; }
.row > [class*="col-"]:nth-child(5) .icon-box { animation-delay: 240ms; }
.row > [class*="col-"]:nth-child(6) .icon-box { animation-delay: 300ms; }

/* Respect du prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {
    .icon-box,
    .icon-box img,
    .formAdmin.boxZoom {
        animation: none !important;
        transition: none !important;
    }
}

/* ==========================================================================
   X. Refonte UI — Hamburger + Drawer mobile, pages exemples/faq/help/tarif
   ========================================================================== */

/* --- Bouton hamburger --- */
.mb-header__burger {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    padding: 0;
    margin-left: 0.4rem;
    background: transparent;
    border: 1px solid transparent;
    border-radius: 12px;
    cursor: pointer;
    transition: background-color 180ms var(--mb-ease), border-color 180ms var(--mb-ease);
    flex-shrink: 0;
}
.mb-header__burger:hover {
    background-color: var(--mb-primary-soft);
    border-color: color-mix(in srgb, var(--mb-primary) 20%, transparent);
}
.mb-header__burger:focus-visible {
    outline: 2px solid var(--mb-primary);
    outline-offset: 2px;
}
.mb-header__burger span {
    display: block;
    width: 22px;
    height: 2px;
    background-color: var(--mb-dark);
    border-radius: 2px;
    transition: transform 250ms var(--mb-ease), opacity 200ms var(--mb-ease);
    transform-origin: center;
}
.mb-header__burger.is-active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.mb-header__burger.is-active span:nth-child(2) { opacity: 0; }
.mb-header__burger.is-active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* --- Overlay --- */
.mb-nav-drawer-overlay {
    position: fixed;
    inset: 0;
    background-color: rgba(15, 30, 45, 0.45);
    backdrop-filter: blur(2px);
    opacity: 0;
    transition: opacity 250ms var(--mb-ease);
    z-index: 1040;
}
.mb-nav-drawer-overlay.is-visible { opacity: 1; }
body.mb-nav-drawer-open { overflow: hidden; }

/* --- Drawer --- */
.mb-nav-drawer {
    position: fixed;
    top: 0;
    left: 0;
    width: min(86vw, 340px);
    height: 100vh;
    background-color: #fff;
    box-shadow: 4px 0 28px rgba(0, 0, 0, 0.18);
    transform: translateX(-105%);
    transition: transform 280ms var(--mb-ease);
    z-index: 1050;
    display: flex;
    flex-direction: column;
}
.mb-nav-drawer.is-open { transform: translateX(0); }
.mb-nav-drawer__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 18px;
    border-bottom: 1px solid var(--mb-bg, #f3f4f6);
}
.mb-nav-drawer__brand img {
    height: 36px;
    width: auto;
}
.mb-nav-drawer__close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 0;
    background: var(--mb-bg, #f3f4f6);
    color: var(--mb-dark);
    cursor: pointer;
    font-size: 16px;
    transition: background-color 180ms var(--mb-ease), color 180ms var(--mb-ease);
}
.mb-nav-drawer__close:hover {
    background-color: var(--mb-primary-soft);
    color: var(--mb-primary-dark);
}
.mb-nav-drawer__nav {
    display: flex;
    flex-direction: column;
    padding: 12px 12px 28px;
    overflow-y: auto;
    flex: 1;
}
.mb-nav-drawer__link {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 13px 14px;
    margin: 2px 0;
    color: var(--mb-dark) !important;
    font-weight: 500;
    text-decoration: none !important;
    border-radius: 12px;
    background-color: transparent;
    transition: background-color 180ms var(--mb-ease), color 180ms var(--mb-ease), transform 180ms var(--mb-ease);
}
.mb-nav-drawer__link > i:first-child {
    width: 22px;
    text-align: center;
    color: var(--mb-primary);
    font-size: 16px;
}
.mb-nav-drawer__link span {
    flex: 1;
    font-size: 15px;
}
.mb-nav-drawer__chev {
    color: rgba(0, 0, 0, 0.25);
    font-size: 12px;
}
.mb-nav-drawer__link:hover {
    background-color: var(--mb-primary-soft);
    color: var(--mb-primary-dark) !important;
}
.mb-nav-drawer__link.is-active {
    background-color: var(--mb-primary);
    color: #fff !important;
}
.mb-nav-drawer__link.is-active > i:first-child,
.mb-nav-drawer__link.is-active .mb-nav-drawer__chev { color: rgba(255,255,255,0.85); }
.mb-nav-drawer__link--danger {
    color: #c03b3b !important;
}
.mb-nav-drawer__link--danger > i:first-child { color: #c03b3b; }
.mb-nav-drawer__link--danger:hover {
    background-color: rgba(192, 59, 59, 0.08);
    color: #c03b3b !important;
}
.mb-nav-drawer__sep {
    border: 0;
    border-top: 1px solid var(--mb-bg, #f3f4f6);
    margin: 12px 6px;
}
.mb-nav-drawer__badge {
    background-color: var(--mb-danger, #dc3545);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    border-radius: 999px;
    padding: 2px 8px;
    margin-right: 4px;
}
.mb-nav-drawer__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    padding: 13px 18px;
    margin: 14px 6px 4px;
    background: linear-gradient(135deg, var(--mb-primary), var(--mb-primary-dark));
    color: #fff !important;
    font-weight: 600;
    border-radius: 14px;
    text-decoration: none !important;
    box-shadow: 0 8px 18px rgba(19, 166, 194, 0.35);
}
.mb-nav-drawer__cta:hover { filter: brightness(1.05); }

/* --- Page Exemples --- */
body.page-exemples #main { background-color: var(--mb-bg, #f7f9fb); }

.mb-examples-hero {
    position: relative;
    padding: 56px 16px 48px;
    background: linear-gradient(135deg, #0a1e2e 0%, #0f2d42 50%, #0b3a4a 100%);
    color: #fff;
    text-align: center;
    overflow: hidden;
}
.mb-examples-hero::before {
    content: '';
    position: absolute;
    top: -120px; right: -80px;
    width: 460px; height: 460px;
    background: radial-gradient(circle, rgba(19,166,194,0.18) 0%, transparent 65%);
    pointer-events: none;
}
.mb-examples-hero__inner {
    position: relative;
    max-width: 760px;
    margin: 0 auto;
    z-index: 1;
}
.mb-examples-hero__eyebrow {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 999px;
    background: rgba(19,166,194,0.2);
    border: 1px solid rgba(19,166,194,0.4);
    color: var(--mb-primary);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .12em;
    margin-bottom: 14px;
}
.mb-examples-hero__title {
    font-size: clamp(22px, 3.4vw, 32px);
    font-weight: 700;
    margin: 0 0 12px;
    color: #fff;
    line-height: 1.25;
}
.mb-examples-hero__lead {
    font-size: 14px;
    color: rgba(255,255,255,0.7);
    margin: 0 auto 18px;
    max-width: 580px;
    line-height: 1.6;
}
.mb-examples-hero__cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 12px 22px;
    background-color: var(--mb-primary);
    color: #fff !important;
    border-radius: 999px;
    font-weight: 600;
    text-decoration: none !important;
    box-shadow: 0 8px 22px rgba(19, 166, 194, 0.4);
    transition: transform 180ms var(--mb-ease), filter 180ms var(--mb-ease);
}
.mb-examples-hero__cta:hover { transform: translateY(-2px); filter: brightness(1.05); }

.mb-examples { padding: 40px 0 72px; }
.mb-examples__grid { row-gap: 24px; }
.mb-examples__col { display: flex; }

.mb-example-card {
    display: flex;
    flex-direction: column;
    width: 100%;
    background-color: #fff;
    border-radius: 18px;
    overflow: hidden;
    text-decoration: none !important;
    color: var(--mb-text) !important;
    box-shadow: 0 1px 4px rgba(0,0,0,0.04), 0 6px 18px rgba(0,0,0,0.06);
    transition: transform 240ms var(--mb-ease), box-shadow 240ms var(--mb-ease);
}
.mb-example-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.06), 0 14px 32px rgba(19,166,194,0.18);
}
.mb-example-card__head {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    color: #fff;
    font-weight: 500;
    font-size: 14px;
}
.mb-example-card__head i { font-size: 14px; }
.mb-example-card__media {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background-color: var(--mb-bg, #f3f4f6);
}
.mb-example-card__media picture,
.mb-example-card__media img {
    display: block;
    width: 100%;
    height: 100%;
}
.mb-example-card__media img {
    object-fit: cover;
    transition: transform 380ms var(--mb-ease);
}
.mb-example-card:hover .mb-example-card__media img {
    transform: scale(1.04);
}
.mb-example-card__overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 14px;
    background: linear-gradient(to top, rgba(0,0,0,0.55) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 240ms var(--mb-ease);
}
.mb-example-card:hover .mb-example-card__overlay { opacity: 1; }
.mb-example-card__overlay span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 14px;
    border-radius: 999px;
    background: rgba(255,255,255,0.96);
    color: var(--mb-primary-dark);
    font-size: 12px;
    font-weight: 600;
}

/* --- Page FAQ --- */
body.page-faq #main { background-color: var(--mb-bg, #f7f9fb); }

.mb-faq-hero {
    padding: 48px 16px 36px;
    background: linear-gradient(135deg, var(--mb-primary), var(--mb-primary-dark));
    color: #fff;
    text-align: center;
}
.mb-faq-hero__inner { max-width: 720px; margin: 0 auto; }
.mb-faq-hero__eyebrow {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 999px;
    background: rgba(255,255,255,0.18);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .12em;
    margin-bottom: 12px;
}
.mb-faq-hero__title { font-size: clamp(22px, 3vw, 32px); font-weight: 700; margin: 0 0 8px; color: #fff; }
.mb-faq-hero__lead { font-size: 14px; color: rgba(255,255,255,0.85); margin: 0; }

.mb-faq { padding: 36px 0 64px; }
.mb-faq__list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-width: 880px;
    margin: 0 auto;
}
.mb-faq__item {
    background-color: #fff;
    border: 1px solid var(--mb-bg, #f0f2f5);
    border-radius: 14px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.03);
    overflow: hidden;
    transition: box-shadow 200ms var(--mb-ease), border-color 200ms var(--mb-ease);
}
.mb-faq__item[open] {
    border-color: color-mix(in srgb, var(--mb-primary) 35%, transparent);
    box-shadow: 0 6px 22px rgba(19, 166, 194, 0.12);
}
.mb-faq__question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 16px 20px;
    cursor: pointer;
    list-style: none;
    color: var(--mb-dark);
    font-weight: 600;
    font-size: 15px;
    transition: background-color 180ms var(--mb-ease);
}
.mb-faq__question::-webkit-details-marker { display: none; }
.mb-faq__question:hover { background-color: var(--mb-primary-soft); }
.mb-faq__question-text { flex: 1; }
.mb-faq__chevron {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background-color: var(--mb-primary-soft);
    color: var(--mb-primary-dark);
    transition: transform 220ms var(--mb-ease), background-color 200ms var(--mb-ease);
    flex-shrink: 0;
}
.mb-faq__item[open] .mb-faq__chevron {
    transform: rotate(180deg);
    background-color: var(--mb-primary);
    color: #fff;
}
.mb-faq__answer {
    padding: 4px 20px 20px;
    color: var(--mb-text);
    font-size: 14px;
    line-height: 1.7;
}
.mb-faq__answer p { margin-bottom: 0.5em; }

.mb-faq__contact {
    display: flex;
    align-items: center;
    gap: 18px;
    max-width: 880px;
    margin: 28px auto 0;
    padding: 22px 24px;
    background: linear-gradient(135deg, #fff, var(--mb-primary-soft));
    border: 1px solid color-mix(in srgb, var(--mb-primary) 22%, transparent);
    border-radius: 18px;
    box-shadow: 0 6px 22px rgba(19,166,194,0.1);
}
.mb-faq__contact-icon {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background-color: var(--mb-primary);
    color: #fff;
    font-size: 22px;
}
.mb-faq__contact-body { flex: 1; }
.mb-faq__contact-title { margin: 0 0 4px; font-size: 16px; font-weight: 700; color: var(--mb-dark); }
.mb-faq__contact-text { margin: 0 0 10px; font-size: 13px; color: var(--mb-text); }
.mb-faq__contact-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 9px 18px;
    background-color: var(--mb-primary);
    color: #fff !important;
    border-radius: 999px;
    font-weight: 600;
    font-size: 13px;
    text-decoration: none !important;
    transition: filter 180ms var(--mb-ease), transform 180ms var(--mb-ease);
}
.mb-faq__contact-cta:hover { filter: brightness(1.05); transform: translateY(-1px); }

@media (max-width: 575.98px) {
    .mb-faq__contact { flex-direction: column; text-align: center; }
}

/* --- Page How it works (help) --- */
body.page-help #main { background-color: var(--mb-bg, #f7f9fb); }

.mb-hiw-hero {
    padding: 56px 16px 48px;
    background: linear-gradient(135deg, #0a1e2e 0%, #0f2d42 50%, #0b3a4a 100%);
    color: #fff;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.mb-hiw-hero::before {
    content: '';
    position: absolute;
    top: -100px; left: -80px;
    width: 380px; height: 380px;
    background: radial-gradient(circle, rgba(19,166,194,0.2) 0%, transparent 65%);
    pointer-events: none;
}
.mb-hiw-hero__inner { position: relative; max-width: 760px; margin: 0 auto; z-index: 1; }
.mb-hiw-hero__eyebrow {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 999px;
    background: rgba(19,166,194,0.2);
    border: 1px solid rgba(19,166,194,0.4);
    color: var(--mb-primary);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .12em;
    margin-bottom: 12px;
}
.mb-hiw-hero__title { font-size: clamp(22px, 3.4vw, 34px); font-weight: 700; margin: 0 0 10px; color: #fff; line-height: 1.25; }
.mb-hiw-hero__title span { color: var(--mb-primary); }
.mb-hiw-hero__lead { font-size: 14px; color: rgba(255,255,255,0.7); margin: 0; }

.mb-hiw-why { padding: 48px 0; background-color: #fff; }
.mb-hiw-why__row { row-gap: 24px; }
.mb-hiw-why__col { display: flex; }
.mb-hiw-feature {
    width: 100%;
    background-color: #fff;
    border: 1px solid var(--mb-bg, #f0f2f5);
    border-radius: 18px;
    padding: 22px;
    text-align: center;
    box-shadow: 0 1px 3px rgba(0,0,0,0.03);
    transition: transform 220ms var(--mb-ease), box-shadow 220ms var(--mb-ease);
}
.mb-hiw-feature:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}
.mb-hiw-feature__img {
    width: 100%;
    max-width: 260px;
    margin: 0 auto 14px;
    border-radius: 12px;
    display: block;
}
.mb-hiw-feature__title { font-size: 18px; font-weight: 700; color: var(--mb-dark); margin: 0 0 8px; }
.mb-hiw-feature__text { font-size: 14px; color: var(--mb-text); line-height: 1.6; margin: 0; }

.mb-hiw-timeline {
    padding: 56px 0;
    background: linear-gradient(180deg, var(--mb-primary-soft) 0%, transparent 100%);
}
.mb-hiw-timeline__title {
    text-align: center;
    font-size: clamp(20px, 2.6vw, 28px);
    font-weight: 700;
    color: var(--mb-dark);
    margin: 0 0 6px;
}
.mb-hiw-timeline__title strong { color: var(--mb-primary); }
.mb-hiw-timeline__sub { text-align: center; font-size: 14px; color: var(--mb-text); margin: 0 0 36px; }

.mb-hiw-steps {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    position: relative;
}
.mb-hiw-steps::before {
    content: '';
    position: absolute;
    top: 38px;
    left: 12.5%;
    right: 12.5%;
    height: 2px;
    background: repeating-linear-gradient(90deg, var(--mb-primary) 0 8px, transparent 8px 16px);
    opacity: 0.35;
    z-index: 0;
}
.mb-hiw-step {
    position: relative;
    background-color: #fff;
    border-radius: 18px;
    padding: 22px 18px 18px;
    text-align: center;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04), 0 8px 24px rgba(19,166,194,0.08);
    transition: transform 220ms var(--mb-ease), box-shadow 220ms var(--mb-ease);
    z-index: 1;
}
.mb-hiw-step:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.06), 0 16px 32px rgba(19,166,194,0.18);
}
.mb-hiw-step__index {
    width: 56px;
    height: 56px;
    margin: -44px auto 12px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--mb-primary), var(--mb-primary-dark));
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 18px rgba(19, 166, 194, 0.4);
    border: 4px solid #fff;
}
.mb-hiw-step__index span { font-size: 22px; font-weight: 800; }
.mb-hiw-step__icon {
    width: 44px;
    height: 44px;
    margin: 0 auto 10px;
    border-radius: 12px;
    background-color: var(--mb-primary-soft);
    color: var(--mb-primary-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}
.mb-hiw-step__title { font-size: 16px; font-weight: 700; color: var(--mb-dark); margin: 0 0 6px; }
.mb-hiw-step__text { font-size: 13px; color: var(--mb-text); line-height: 1.55; margin: 0 0 12px; }
.mb-hiw-step__link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 600;
    color: var(--mb-primary-dark) !important;
    text-decoration: none !important;
}
.mb-hiw-step__link:hover { text-decoration: underline !important; }

@media (max-width: 991.98px) {
    .mb-hiw-steps { grid-template-columns: repeat(2, 1fr); }
    .mb-hiw-steps::before { display: none; }
}
@media (max-width: 575.98px) {
    .mb-hiw-steps { grid-template-columns: 1fr; }
}

.mb-hiw-video { padding: 48px 0; background-color: #fff; }
.mb-hiw-video__title {
    text-align: center;
    font-size: clamp(18px, 2.2vw, 24px);
    font-weight: 700;
    color: var(--mb-dark);
    margin: 0 0 24px;
}
.mb-hiw-video__title span { color: var(--mb-primary); font-weight: 600; }
.mb-hiw-video__frame {
    position: relative;
    aspect-ratio: 16 / 9;
    width: 100%;
    max-width: 920px;
    margin: 0 auto;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 16px 40px rgba(0,0,0,0.12);
}
.mb-hiw-video__frame iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.mb-hiw-interface { padding: 48px 0; background-color: var(--mb-bg, #f7f9fb); }
.mb-hiw-interface__title {
    text-align: center;
    font-size: clamp(18px, 2.2vw, 24px);
    font-weight: 700;
    color: var(--mb-dark);
    margin: 0 0 24px;
}
.mb-hiw-interface__title strong { color: var(--mb-primary); }
.mb-hiw-interface__grid { row-gap: 20px; }
.mb-hiw-interface__col { display: flex; }
.mb-hiw-interface__card {
    width: 100%;
    background-color: #fff;
    padding: 14px;
    border-radius: 16px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04), 0 6px 18px rgba(0,0,0,0.06);
    transition: transform 220ms var(--mb-ease);
}
.mb-hiw-interface__card:hover { transform: translateY(-3px); }
.mb-hiw-interface__card img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    display: block;
}

.mb-hiw-faqlink { padding: 48px 0; background-color: #fff; }
.mb-hiw-faqlink__card {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 22px 26px;
    background: linear-gradient(135deg, var(--mb-primary), var(--mb-primary-dark));
    color: #fff !important;
    border-radius: 18px;
    text-decoration: none !important;
    box-shadow: 0 12px 32px rgba(19, 166, 194, 0.25);
    transition: transform 220ms var(--mb-ease), box-shadow 220ms var(--mb-ease);
}
.mb-hiw-faqlink__card:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 40px rgba(19, 166, 194, 0.4);
}
.mb-hiw-faqlink__icon {
    width: 56px;
    height: 56px;
    background: rgba(255,255,255,0.2);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: #fff;
    flex-shrink: 0;
}
.mb-hiw-faqlink__body { flex: 1; display: flex; flex-direction: column; }
.mb-hiw-faqlink__eyebrow { font-size: 12px; font-weight: 600; opacity: 0.8; letter-spacing: 0.08em; text-transform: uppercase; }
.mb-hiw-faqlink__title { font-size: 18px; font-weight: 700; }
.mb-hiw-faqlink__arrow { font-size: 18px; opacity: 0.85; }

.mb-hiw-recap { padding: 48px 0 72px; background-color: var(--mb-bg, #f7f9fb); }
.mb-hiw-recap__row { row-gap: 24px; }
.mb-hiw-recap__col { display: flex; }
.mb-hiw-recap__card {
    width: 100%;
    background-color: #fff;
    border-radius: 22px;
    padding: 26px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04), 0 10px 28px rgba(0,0,0,0.06);
    text-align: center;
    display: flex;
    flex-direction: column;
}
.mb-hiw-recap__title {
    margin: 0 0 14px;
    padding: 10px 14px;
    background: linear-gradient(135deg, var(--mb-primary), var(--mb-primary-dark));
    color: #fff;
    border-radius: 14px;
    font-size: 17px;
    font-weight: 700;
}
.mb-hiw-recap__img {
    width: 100%;
    max-width: 320px;
    margin: 0 auto 16px;
    border-radius: 12px;
}
.mb-hiw-recap__list {
    list-style: none;
    padding: 0;
    margin: 6px 0 18px;
    text-align: left;
    font-size: 14px;
    color: var(--mb-dark);
    line-height: 1.7;
}
.mb-hiw-recap__list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 4px;
}
.mb-hiw-recap__list i {
    color: #2ea043;
    font-size: 14px;
    margin-top: 4px;
    flex-shrink: 0;
}
.mb-hiw-recap__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    align-self: center;
    margin-top: auto;
    padding: 11px 22px;
    background-color: var(--mb-primary);
    color: #fff !important;
    border-radius: 999px;
    font-weight: 600;
    text-decoration: none !important;
    transition: filter 180ms var(--mb-ease), transform 180ms var(--mb-ease);
}
.mb-hiw-recap__cta:hover { filter: brightness(1.05); transform: translateY(-1px); }
.mb-hiw-recap__cta--ghost {
    background-color: transparent;
    color: var(--mb-primary-dark) !important;
    border: 2px solid var(--mb-primary);
}
.mb-hiw-recap__cta--ghost:hover { background-color: var(--mb-primary-soft); }

/* --- Page Tarif (formules) --- */
body.page-tarif #main { background-color: var(--mb-bg, #f7f9fb); }

.mb-tarif-hero {
    padding: 56px 16px 40px;
    background: linear-gradient(135deg, #0a1e2e 0%, #0f2d42 50%, #0b3a4a 100%);
    color: #fff;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.mb-tarif-hero::before {
    content: '';
    position: absolute;
    top: -120px; right: -90px;
    width: 480px; height: 480px;
    background: radial-gradient(circle, rgba(19,166,194,0.2) 0%, transparent 65%);
    pointer-events: none;
}
.mb-tarif-hero__inner { position: relative; max-width: 760px; margin: 0 auto; z-index: 1; }
.mb-tarif-hero__eyebrow {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 999px;
    background: rgba(19,166,194,0.2);
    border: 1px solid rgba(19,166,194,0.4);
    color: var(--mb-primary);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .12em;
    margin-bottom: 12px;
}
.mb-tarif-hero__title { font-size: clamp(22px, 3.4vw, 34px) !important; font-weight: 700 !important; margin: 0 0 10px !important; color: #fff !important; line-height: 1.25 !important; text-shadow: 0 2px 6px rgba(0,0,0,0.25); }
.mb-tarif-hero__title strong { color: var(--mb-primary-light) !important; font-weight: 800 !important; }
.mb-tarif-hero__lead { font-size: 14px; color: rgba(255,255,255,0.85) !important; margin: 0; line-height: 1.6; }
.mb-tarif-hero__lead strong { color: #fff !important; font-weight: 700; }

.mb-tarif-cards { padding: 44px 0 64px; }
.mb-tarif-cards__row { row-gap: 28px; align-items: stretch; }
.mb-tarif-cards__col { display: flex; }

.mb-tarif-card {
    width: 100%;
    background-color: #fff;
    border-radius: 22px;
    padding: 28px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04), 0 12px 30px rgba(0,0,0,0.07);
    display: flex;
    flex-direction: column;
    transition: transform 220ms var(--mb-ease), box-shadow 220ms var(--mb-ease);
    text-decoration: none !important;
    color: var(--mb-text);
}
.mb-tarif-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.06), 0 20px 44px rgba(19,166,194,0.18);
}
.mb-tarif-card.is-current { outline: 2px solid var(--mb-primary); outline-offset: -2px; }
.mb-tarif-card__head { text-align: center; margin-bottom: 18px; }
.mb-tarif-card__badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 999px;
    background: var(--mb-primary-soft);
    color: var(--mb-primary-dark);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .1em;
    margin-bottom: 12px;
}
.mb-tarif-card__badge--gold {
    background: linear-gradient(135deg, #ffb400, #ff8c00);
    color: #1a0a00;
}
.mb-tarif-card__badge--xl {
    display: inline-block;
    padding: 14px 32px;
    font-size: 22px;
    font-weight: 900;
    letter-spacing: 0.08em;
    background: linear-gradient(135deg, var(--mb-primary, #13a6c2) 0%, #0e8fa8 100%);
    color: #fff;
    border-radius: 999px;
    box-shadow: 0 8px 24px rgba(19,166,194,0.35);
    margin-bottom: 18px;
    text-transform: uppercase;
    text-shadow: 0 1px 2px rgba(0,0,0,0.10);
    animation: mb-pulse 2.4s ease-in-out infinite;
}
@keyframes mb-pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.04); }
}
@media (max-width: 640px) {
    .mb-tarif-card__badge--xl { font-size: 18px; padding: 11px 26px; }
}
.mb-tarif-card__title { margin: 0 0 4px; font-size: 22px; font-weight: 800; color: var(--mb-dark); line-height: 1.25; }
.mb-tarif-card__title--light,
.mb-tarif-card__title--light .mb-tarif-card__name { color: #fff !important; text-shadow: 0 2px 6px rgba(0,0,0,0.35); }
.mb-tarif-card__emiprod-desc { color: rgba(255,255,255,0.9) !important; }
.mb-tarif-card__features--light li { color: rgba(255,255,255,0.95) !important; }
.mb-tarif-card__features--light li i { color: var(--mb-warning) !important; }
.mb-tarif-card__name { font-weight: 700; }
.mb-tarif-card__current {
    display: inline-block;
    margin: 4px 0 8px;
    padding: 4px 10px;
    border-radius: 999px;
    background-color: var(--mb-primary);
    color: #fff;
    font-size: 12px;
    font-weight: 600;
}
.mb-tarif-card__price { margin: 8px 0 12px; }
.mb-tarif-card__amount { font-size: 38px; font-weight: 800; color: var(--mb-dark); line-height: 1; }
.mb-tarif-card__per { font-size: 13px; color: var(--mb-text); margin-left: 4px; }
.mb-tarif-card__example {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 4px;
    padding: 6px 14px;
    background-color: var(--mb-bg, #f3f4f6);
    border-radius: 999px;
    color: var(--mb-dark) !important;
    font-size: 12px;
    font-weight: 500;
    text-decoration: none !important;
    transition: background-color 180ms var(--mb-ease);
}
.mb-tarif-card__example:hover { background-color: var(--mb-primary-soft); color: var(--mb-primary-dark) !important; }

.mb-tarif-card__features {
    list-style: none;
    padding: 0;
    margin: 0 0 22px;
    text-align: left;
    font-size: 14px;
    line-height: 1.65;
    flex: 1;
}
.mb-tarif-card__features li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 4px 0;
    color: var(--mb-dark);
}
.mb-tarif-card__features i {
    color: #2ea043;
    margin-top: 4px;
    flex-shrink: 0;
}

.mb-tarif-card__footer {
    text-align: center;
    margin-top: auto;
}
.mb-tarif-card__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    padding: 13px 22px;
    background-color: var(--mb-primary);
    color: #fff !important;
    border-radius: 14px;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none !important;
    border: 0;
    cursor: pointer;
    transition: filter 180ms var(--mb-ease), transform 180ms var(--mb-ease), box-shadow 180ms var(--mb-ease);
    box-shadow: 0 6px 18px rgba(19, 166, 194, 0.3);
}
.mb-tarif-card__cta:hover { filter: brightness(1.05); transform: translateY(-1px); box-shadow: 0 10px 24px rgba(19,166,194,0.4); }
.mb-tarif-card__cta.is-disabled {
    background-color: #cbd2d8;
    color: #fff !important;
    box-shadow: none;
    pointer-events: none;
}
/* CTA "Vous avez déjà une page" : ton discret + check vert, cliquable vers myaccount */
.mb-tarif-card__cta--owned {
    background-color: #e7f7ec !important;
    color: #146b2c !important;
    box-shadow: 0 2px 6px rgba(20,107,44,0.10) !important;
    border: 1px solid #bfe7c9 !important;
}
.mb-tarif-card__cta--owned:hover {
    background-color: #d9f0e1 !important;
    filter: none;
    box-shadow: 0 4px 12px rgba(20,107,44,0.18) !important;
    color: #0d4d1f !important;
}
.mb-tarif-card__cta--owned i { color: #1d8a3e; }
.mb-tarif-card__cta--gold {
    background: linear-gradient(135deg, #ffb400, #ff8c00);
    color: #1a0a00 !important;
    box-shadow: 0 8px 22px rgba(255, 180, 0, 0.4);
}

/* Card EMIPROD (sombre) */
.mb-tarif-card--emiprod {
    background: linear-gradient(135deg, #0a1e2e 0%, #0f2d42 50%, #0b3a4a 100%);
    color: rgba(255,255,255,0.75);
    position: relative;
    overflow: hidden;
}
.mb-tarif-card--emiprod::before {
    content: '';
    position: absolute;
    top: -90px; right: -70px;
    width: 320px; height: 320px;
    background: radial-gradient(circle, rgba(255,180,0,0.1) 0%, transparent 65%);
    pointer-events: none;
}
.mb-tarif-card--emiprod > * { position: relative; z-index: 1; }
.mb-tarif-card--emiprod:hover { box-shadow: 0 20px 44px rgba(0,0,0,0.35); }
.mb-tarif-card__emiprod-logo {
    display: inline-block;
    background: rgba(19,166,194,0.18);
    border: 1px solid rgba(19,166,194,0.4);
    border-radius: 8px;
    padding: 4px 10px;
    font-size: 13px;
    color: var(--mb-primary);
    margin-bottom: 10px;
    font-weight: 700;
}
.mb-tarif-card__emiprod-desc { color: rgba(255,255,255,0.65); font-size: 13px; line-height: 1.7; margin: 8px 0 0; }
.mb-tarif-card__features--light li { color: rgba(255,255,255,0.85); }
.mb-tarif-card__features--light i { color: var(--mb-primary); }

.mb-tarif-info {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    max-width: 760px;
    margin: 36px auto 0;
    padding: 18px 22px;
    background-color: #fff;
    border: 1px solid var(--mb-bg, #f0f2f5);
    border-radius: 14px;
    color: var(--mb-text);
    font-size: 13px;
    line-height: 1.6;
}
.mb-tarif-info > i {
    color: var(--mb-primary);
    font-size: 18px;
    margin-top: 2px;
    flex-shrink: 0;
}
.mb-tarif-info p { margin: 0 0 6px; }
.mb-tarif-info ul { padding-left: 18px; margin: 0 0 6px; }
.mb-tarif-info__small { font-size: 11px; color: rgba(0,0,0,0.45); margin: 6px 0 0; }

/* ==========================================================================
   18. Refonte page produit/annonce (annonceInfo) — wrappers .mb-annonce-*
   ========================================================================== */
.mb-annonce-page {
    padding: 1.5rem 0 3rem;
    background-color: var(--mb-bg);
}
.mb-annonce-alert {
    padding: 0.75rem 0;
}
.mb-annonce-alert__inner {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: linear-gradient(135deg, #fff1f1, #fff7e6);
    border: 1px solid rgba(255, 0, 0, 0.15);
    border-left: 4px solid #d33;
    color: #842029;
    border-radius: var(--mb-radius);
    padding: 0.85rem 1.1rem;
    font-size: 0.92rem;
    flex-wrap: wrap;
}
.mb-annonce-alert__inner i { color: #d33; font-size: 1.1rem; }
.mb-annonce-alert__inner .btn { margin-left: auto; }

.mb-annonce-card {
    background-color: var(--mb-surface);
    border-radius: var(--mb-radius-lg);
    box-shadow: var(--mb-shadow-sm);
    overflow: hidden;
}

.mb-annonce-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 1rem;
    border-bottom: 1px solid var(--mb-border);
}
.mb-annonce-back {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.4rem 0.8rem;
    border-radius: 8px;
    background-color: var(--mb-surface-2, #f4f7fa);
    color: var(--mb-text);
    font-size: 0.88rem;
    font-weight: 500;
    text-decoration: none;
    transition: background-color 180ms var(--mb-ease);
}
.mb-annonce-back:hover {
    background-color: var(--mb-primary-soft);
    color: var(--mb-primary-dark);
    text-decoration: none;
}
.mb-annonce-actions {
    display: inline-flex;
    gap: 0.4rem;
}
.mb-annonce-iconbtn {
    width: 38px; height: 38px;
    border-radius: 10px;
    background-color: var(--mb-surface-2, #f4f7fa);
    color: var(--mb-text-muted);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border: 1px solid var(--mb-border);
    transition: all 180ms var(--mb-ease);
}
.mb-annonce-iconbtn:hover {
    transform: translateY(-1px);
    box-shadow: var(--mb-shadow-xs);
    color: var(--mb-primary);
}
.mb-annonce-iconbtn.is-active {
    color: #e63946;
    background-color: rgba(230, 57, 70, 0.08);
    border-color: rgba(230, 57, 70, 0.2);
}
.mb-annonce-iconbtn--share {
    color: #fff;
}
.mb-annonce-iconbtn--share:hover {
    color: #fff;
    filter: brightness(1.08);
}

/* Galerie */
.mb-annonce-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 8px;
    padding: 12px;
    position: relative;
}
.mb-annonce-gallery__main {
    grid-column: 1 / -1;
    height: 420px;
    border-radius: var(--mb-radius);
    overflow: hidden;
}
.mb-annonce-gallery__main img,
.mb-annonce-gallery__item img,
.mb-annonce-gallery__empty img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--mb-radius);
    display: block;
}
.mb-annonce-gallery__item {
    height: 280px;
    border-radius: var(--mb-radius);
    overflow: hidden;
    cursor: zoom-in;
    transition: transform 200ms var(--mb-ease);
}
.mb-annonce-gallery__item:hover { transform: scale(1.01); }
.mb-annonce-gallery__empty {
    grid-column: 1 / -1;
    height: 320px;
    background-color: var(--mb-surface-2, #f4f7fa);
    border-radius: var(--mb-radius);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}
.mb-annonce-gallery__empty img { object-fit: contain; opacity: 0.5; }
.mb-annonce-gallery__more {
    position: absolute;
    bottom: 24px;
    right: 24px;
    background-color: rgba(0,0,0,0.7);
    color: #fff;
    padding: 0.45rem 0.9rem;
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    backdrop-filter: blur(6px);
    z-index: 5;
    pointer-events: none;
}

.mb-annonce-prevnext {
    display: flex;
    justify-content: space-between;
    padding: 0.4rem 1rem 0.6rem;
    gap: 0.5rem;
}
.mb-annonce-prevnext__btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.45rem 0.9rem;
    border: 1px solid;
    border-radius: 8px;
    background-color: #fff;
    font-size: 0.85rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 180ms var(--mb-ease);
}
.mb-annonce-prevnext__btn:hover { transform: translateX(-2px); text-decoration: none; }
.mb-annonce-prevnext__btn--next:hover { transform: translateX(2px); }
.mb-annonce-prevnext__btn--next { margin-left: auto; }

.mb-annonce-info {
    padding: 1.2rem 1.5rem 1.6rem;
}
.mb-annonce-title {
    font-size: clamp(1.4rem, 2.5vw, 1.9rem) !important;
    font-weight: 700 !important;
    color: var(--mb-dark) !important;
    margin: 0 0 0.4rem !important;
    line-height: 1.25 !important;
    letter-spacing: -0.01em !important;
}
.mb-annonce-cat {
    font-size: 0.85rem;
    color: var(--mb-text-muted);
    margin-bottom: 1rem;
}
.mb-annonce-cat i { color: var(--mb-primary); margin-right: 0.25rem; }

.mb-annonce-pricerow {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 0.6rem;
    flex-wrap: wrap;
}
.mb-annonce-price {
    background: linear-gradient(135deg, var(--mb-warning), #ffa826) !important;
    color: #fff !important;
    padding: 0.45rem 1rem !important;
    border-radius: 12px !important;
    font-size: 1.1rem !important;
    font-weight: 700 !important;
    border: 0 !important;
    display: inline-flex;
    align-items: baseline;
    gap: 0.4rem;
    box-shadow: 0 4px 12px rgba(255, 138, 0, 0.3);
}
.mb-annonce-price strong { font-size: 1.25rem; font-weight: 800; }
.mb-annonce-price__old {
    font-size: 0.85rem;
    text-decoration: line-through;
    opacity: 0.7;
    font-weight: 500;
}
.mb-annonce-price__label {
    font-size: 0.8rem;
    font-weight: 500;
    opacity: 0.92;
}
.mb-annonce-price--devis {
    background: linear-gradient(135deg, var(--mb-primary), var(--mb-primary-dark)) !important;
    box-shadow: 0 4px 12px rgba(19, 166, 194, 0.3);
}
.mb-annonce-price small { font-size: 0.75rem; font-weight: 400; opacity: 0.85; }
.mb-annonce-promo-badge {
    background-color: #e63946;
    color: #fff;
    padding: 0.35rem 0.7rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
.mb-annonce-port {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--mb-text-muted);
    font-size: 0.88rem;
    margin: 0.25rem 0 1rem;
}
.mb-annonce-port i { color: var(--mb-primary); }

.mb-annonce-section {
    margin-top: 1.2rem;
    padding-top: 1.2rem;
    border-top: 1px solid var(--mb-border);
}
.mb-annonce-section__title {
    font-size: 0.95rem !important;
    font-weight: 700 !important;
    color: var(--mb-dark) !important;
    margin: 0 0 0.6rem !important;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}
.mb-annonce-section__title i { color: var(--mb-primary); }
.mb-annonce-description {
    color: var(--mb-text);
    line-height: 1.65;
    font-size: 0.95rem;
}
.mb-annonce-select {
    border: 1.5px solid var(--mb-border-strong) !important;
    border-radius: 10px !important;
    padding: 0.6rem 0.9rem !important;
    font-size: 0.92rem !important;
    background-color: var(--mb-surface) !important;
    transition: border-color 180ms var(--mb-ease);
    max-width: 360px;
}
.mb-annonce-select:focus {
    border-color: var(--mb-primary) !important;
    box-shadow: 0 0 0 3px var(--mb-primary-soft) !important;
    outline: none;
}
.mb-annonce-stock {
    margin-top: 0.6rem;
    padding: 0.5rem 0.9rem;
    background-color: var(--mb-primary-soft);
    color: var(--mb-primary-dark);
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.88rem;
    font-weight: 500;
}

.mb-annonce-cta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-top: 1.4rem;
    padding-top: 1.2rem;
    border-top: 1px solid var(--mb-border);
}
.mb-annonce-cta {
    flex: 1 1 200px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.85rem 1.3rem;
    border: 0;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: transform 180ms var(--mb-ease), box-shadow 180ms var(--mb-ease), filter 180ms var(--mb-ease);
}
.mb-annonce-cta--primary {
    background: linear-gradient(135deg, var(--mb-warning), #ff9c00);
    color: #fff;
    box-shadow: 0 6px 16px rgba(255, 138, 0, 0.4);
}
.mb-annonce-cta--primary:hover {
    color: #fff;
    text-decoration: none;
    transform: translateY(-2px);
    filter: brightness(1.05);
    box-shadow: 0 10px 24px rgba(255, 138, 0, 0.5);
}
.mb-annonce-cta--secondary {
    background-color: var(--mb-primary);
    color: #fff;
    box-shadow: 0 4px 12px rgba(19, 166, 194, 0.3);
}
.mb-annonce-cta--secondary:hover {
    color: #fff;
    text-decoration: none;
    transform: translateY(-2px);
    filter: brightness(1.05);
}

.mb-annonce-footer {
    margin-top: 1.2rem;
    padding-top: 1.2rem;
    border-top: 1px solid var(--mb-border);
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: space-between;
    align-items: flex-start;
}
.mb-annonce-avis {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}
.mb-annonce-avis__cta {
    color: var(--mb-primary);
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    text-decoration: none;
}
.mb-annonce-avis__cta:hover { text-decoration: underline; color: var(--mb-primary-dark); }
.mb-annonce-stars {
    display: inline-flex;
    align-items: center;
    gap: 0.2rem;
}
.mb-annonce-stars i {
    font-size: 0.95rem;
    color: var(--mb-border-strong);
}
.mb-annonce-stars i.is-active { color: #f2a611; }
.mb-annonce-stars__count {
    margin-left: 0.5rem;
    font-size: 0.82rem;
    color: var(--mb-text-muted);
    cursor: pointer;
}
.mb-annonce-share-row {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    flex-wrap: wrap;
}
.mb-annonce-signal {
    color: var(--mb-text-muted);
    font-size: 0.82rem;
    cursor: pointer;
    text-decoration: none;
}
.mb-annonce-signal:hover { color: #d33; }

/* Section "propose aussi" */
.mb-annonce-related {
    background-color: var(--mb-surface-2, #f4f7fa);
    padding: 2rem 0;
    margin-top: 1.5rem;
}
.mb-annonce-related__title {
    font-size: 1.2rem !important;
    font-weight: 700 !important;
    color: var(--mb-dark) !important;
    margin: 0 0 1.2rem !important;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.mb-annonce-related__title i { color: var(--mb-primary); }
.mb-annonce-related__title span { font-weight: 400; color: var(--mb-text-muted); }
.mb-annonce-related__item { padding: 8px; }

/* Admin block */
.mb-annonce-admin {
    padding: 1rem 0;
}
.mb-annonce-admin__inner {
    background-color: rgba(255, 0, 0, 0.04);
    border: 1px solid rgba(255, 0, 0, 0.15);
    border-radius: var(--mb-radius);
    padding: 1rem 1.25rem;
}
.mb-annonce-admin__inner h3 {
    margin: 0 0 0.8rem;
    font-size: 0.95rem;
    color: #d33;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}
.mb-annonce-admin__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

@media (max-width: 767.98px) {
    .mb-annonce-gallery__main { height: 280px; }
    .mb-annonce-gallery__item { height: 200px; }
    .mb-annonce-toolbar { padding: 0.6rem 0.8rem; }
    .mb-annonce-info { padding: 1rem; }
    .mb-annonce-cta { flex: 1 1 100%; }
}

/* ==========================================================================
   19. Refonte page boutik (boutikInfo) — wrappers .mb-boutik-*
   Redesign v2 : hero compact + identity card + onglets sticky + sidebar
   ========================================================================== */

/* ===== HERO COMPACT ===== */
.mb-boutik-hero {
    position: relative;
    margin: 0;
    padding: 0;
    background-color: var(--mb-dark);
}
.mb-boutik-hero__media {
    position: relative;
    width: 100%;
    height: 280px;
    overflow: hidden;
}
.mb-boutik-hero__media .mb-boutik-hero__img,
.mb-boutik-hero__media img.imgBgBoutik {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
    display: block;
    border-radius: 0 !important;
    box-shadow: none !important;
    margin: 0 !important;
}
.mb-boutik-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.05) 0%, rgba(0,0,0,0.35) 60%, rgba(0,0,0,0.7) 100%);
    pointer-events: none;
}
.mb-boutik-hero__topbar {
    position: absolute;
    top: 16px;
    left: 0; right: 0;
    z-index: 4;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    pointer-events: none;
}
.mb-boutik-hero__topbar > * { pointer-events: auto; }
.mb-boutik-hero__back {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.5rem 0.95rem;
    background-color: rgba(255,255,255,0.15);
    color: #fff;
    border-radius: 999px;
    font-size: 0.88rem;
    font-weight: 500;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
    text-decoration: none;
    transition: all 180ms var(--mb-ease);
}
.mb-boutik-hero__back:hover {
    background-color: rgba(255,255,255,0.28);
    color: #fff;
    text-decoration: none;
    transform: translateY(-1px);
}
.mb-boutik-hero__back i { font-size: 0.95rem; }
.mb-boutik-hero__top-actions {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
    justify-content: flex-end;
}
.mb-boutik-hero__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px; height: 42px;
    border-radius: 50%;
    background-color: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.2);
    color: #fff;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    cursor: pointer;
    transition: all 180ms var(--mb-ease);
    text-decoration: none;
}
.mb-boutik-hero__icon:hover {
    background-color: rgba(255,255,255,0.28);
    transform: translateY(-2px);
    color: #fff;
    box-shadow: 0 6px 16px rgba(0,0,0,0.25);
}
.mb-boutik-hero__icon i { font-size: 16px; }
.mb-boutik-hero__icon--accent {
    border: 1px solid rgba(255,255,255,0.4);
}

/* ===== BLOC IDENTITÉ (chevauche le hero) ===== */
.mb-boutik-identity-wrap {
    position: relative;
    z-index: 5;
    margin-top: -60px;
    padding-bottom: 0;
}
.mb-boutik-identity {
    background-color: var(--mb-surface);
    border-radius: 20px;
    box-shadow: 0 12px 40px rgba(0,0,0,0.12), 0 4px 12px rgba(0,0,0,0.06);
    padding: 1.5rem 1.75rem 1.5rem 1.75rem;
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    flex-wrap: wrap;
    border: 1px solid rgba(0,0,0,0.04);
    margin: 0;
}
.mb-boutik-identity__avatar-wrap {
    position: relative;
    flex-shrink: 0;
    margin-top: -60px;
}
.mb-boutik-identity__avatar.imgPageBoutikProfil {
    width: 110px !important;
    height: 110px !important;
    object-fit: cover !important;
    border: 5px solid var(--mb-surface) !important;
    border-radius: 50% !important;
    box-shadow: 0 8px 24px rgba(0,0,0,0.18) !important;
    background-color: #fff;
    display: block;
}
.mb-boutik-identity__avatar-edit {
    position: absolute;
    bottom: 4px; right: 4px;
    width: 34px; height: 34px;
    background-color: var(--mb-boutik-color, var(--mb-primary));
    color: #fff;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    cursor: pointer;
    transition: transform 180ms var(--mb-ease);
    z-index: 2;
    border: 2px solid var(--mb-surface);
}
.mb-boutik-identity__avatar-edit:hover { transform: scale(1.1); color: #fff; }
.mb-boutik-identity__avatar-edit i { font-size: 13px; }

.mb-boutik-identity__info {
    flex: 1 1 280px;
    min-width: 220px;
}
.mb-boutik-identity__name.titleBoutik {
    color: var(--mb-dark) !important;
    font-size: clamp(1.5rem, 2.6vw, 2.1rem) !important;
    font-weight: 800 !important;
    margin: 0 0 0.4rem !important;
    letter-spacing: -0.02em;
    line-height: 1.15;
    text-shadow: none;
}
.mb-boutik-identity__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1rem;
    color: var(--mb-text-muted);
    font-size: 0.92rem;
    align-items: center;
    margin-bottom: 0.5rem;
}
.mb-boutik-identity__loc i { color: var(--mb-boutik-color, var(--mb-primary)); margin-right: 0.3rem; }
.mb-boutik-identity__by { color: var(--mb-text-muted); font-weight: 400; }
.mb-boutik-identity__by b { color: var(--mb-text); font-weight: 600; }
.mb-boutik-identity__verified {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    background-color: rgba(40, 167, 69, 0.12);
    color: #1f7a3a;
    padding: 0.22rem 0.7rem;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 700;
    border: 1px solid rgba(40, 167, 69, 0.2);
}
.mb-boutik-identity__verified--soft {
    background-color: var(--mb-primary-soft);
    color: var(--mb-primary-dark);
    border-color: rgba(19,166,194,0.2);
}
.mb-boutik-identity__tagline {
    margin-top: 0.7rem;
    padding-top: 0.7rem;
    border-top: 1px dashed var(--mb-border);
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}
.mb-boutik-identity__tagline-title.titreBandeauBoutik {
    color: var(--mb-dark) !important;
    font-size: 1.05rem !important;
    font-weight: 700 !important;
    margin: 0 !important;
    text-shadow: none;
    line-height: 1.3;
}
.mb-boutik-identity__tagline-text.textBandeauBoutik {
    color: var(--mb-text-muted) !important;
    font-size: 0.9rem !important;
    font-weight: 400 !important;
    margin: 0 !important;
    text-shadow: none;
    line-height: 1.5;
}

.mb-boutik-identity__cta-row {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
    flex-shrink: 0;
    margin-left: auto;
}
.mb-boutik-identity__btn {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.78rem 1.35rem;
    border-radius: 12px;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 180ms var(--mb-ease);
    white-space: nowrap;
}
.mb-boutik-identity__btn--primary {
    box-shadow: 0 6px 18px rgba(0,0,0,0.12);
}
.mb-boutik-identity__btn--primary:hover {
    transform: translateY(-2px);
    text-decoration: none;
    filter: brightness(1.08);
    box-shadow: 0 10px 24px rgba(0,0,0,0.18);
}
.mb-boutik-identity__btn--secondary {
    background-color: transparent;
    border: 2px solid var(--mb-boutik-color, var(--mb-primary));
    color: var(--mb-boutik-color, var(--mb-primary));
}
.mb-boutik-identity__btn--secondary:hover {
    background-color: var(--mb-boutik-color, var(--mb-primary));
    color: #fff;
    text-decoration: none;
    transform: translateY(-2px);
}
.mb-boutik-identity__btn--ghost {
    background-color: var(--mb-bg);
    color: var(--mb-text);
    border: 2px solid var(--mb-border);
}
.mb-boutik-identity__btn--ghost:hover {
    background-color: var(--mb-primary-soft);
    color: var(--mb-primary-dark);
    border-color: var(--mb-primary);
    text-decoration: none;
    transform: translateY(-2px);
}
.mb-boutik-identity__help-link {
    color: var(--mb-text-muted);
    font-size: 0.78rem;
    text-decoration: underline;
    cursor: pointer;
    align-self: center;
}
.mb-boutik-identity__help-link:hover { color: var(--mb-primary); }

/* ===== ONGLETS STICKY ===== */
.mb-boutik-tabs {
    background-color: var(--mb-surface);
    border-bottom: 2px solid var(--mb-boutik-color, var(--mb-primary));
    position: sticky;
    top: 88px;
    z-index: 50;
    box-shadow: 0 2px 12px rgba(0,0,0,0.05);
    margin-top: 1.25rem;
}
.mb-boutik-tabs .container {
    display: flex;
    gap: 0.4rem;
    overflow-x: auto;
    padding: 0.6rem 0.75rem;
    flex-wrap: nowrap;
    scrollbar-width: thin;
    -webkit-overflow-scrolling: touch;
}
.mb-boutik-tab,
.mb-boutik-tab.menuBoutik {
    display: inline-flex !important;
    align-items: center;
    gap: 0.45rem;
    padding: 0.6rem 1.1rem !important;
    border-radius: 999px !important;
    color: var(--mb-text-muted) !important;
    text-decoration: none !important;
    font-weight: 600 !important;
    font-size: 0.92rem !important;
    white-space: nowrap;
    flex-shrink: 0;
    transition: all 180ms var(--mb-ease);
    border-bottom: 0 !important;
    background-color: transparent;
}
.mb-boutik-tab:hover,
.mb-boutik-tab.menuBoutik:hover {
    background-color: var(--mb-primary-soft);
    color: var(--mb-primary-dark) !important;
    text-decoration: none;
}
.mb-boutik-tab.is-active,
.mb-boutik-tab.menuBoutik.is-active {
    background-color: var(--mb-boutik-color, var(--mb-primary));
    color: #fff !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}
.mb-boutik-tab i { font-size: 0.9rem; }

/* ===== CONTENU PRINCIPAL ===== */
.mb-boutik-content {
    padding: 1.75rem 0 2.5rem;
    background-color: var(--mb-bg);
}
.mb-boutik-layout {
    --bs-gutter-x: 1.5rem;
    /* Neutralise la marge négative Bootstrap pour que les colonnes restent dans le
       container — l'alignement visuel du content row matche alors exactement
       celui de la carte identité au-dessus. La gouttière entre colonnes est
       conservée via le padding des cols (gérée par BS via --bs-gutter-x). */
    margin-left: 0 !important;
    margin-right: 0 !important;
}
.mb-boutik-layout > [class*="col-"] {
    /* Première col : pas de padding gauche, dernière col : pas de padding droit
       (on ne veut pas de marge intérieure aux bords du container) */
}
.mb-boutik-layout > [class*="col-"]:first-child {
    padding-left: 0 !important;
}
.mb-boutik-layout > [class*="col-"]:last-child {
    padding-right: 0 !important;
}
.mb-boutik-main { display: flex; flex-direction: column; gap: 1rem; }
.mb-boutik-section { padding: 0; margin: 0; }
.mb-boutik-section.services { padding: 0; margin: 0 !important; }

/* Card générique */
.mb-boutik-card {
    position: relative;
    background-color: var(--mb-surface);
    border-radius: 18px;
    padding: 1.6rem 1.75rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04), 0 1px 3px rgba(0,0,0,0.03);
    border: 1px solid rgba(0,0,0,0.04);
    transition: box-shadow 200ms var(--mb-ease);
}
.mb-boutik-card:hover {
    box-shadow: 0 6px 20px rgba(0,0,0,0.08), 0 2px 6px rgba(0,0,0,0.04);
}
.mb-boutik-card__head {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    padding-bottom: 0.8rem;
    border-bottom: 1px solid var(--mb-border);
}
.mb-boutik-card__title {
    font-size: 1.2rem !important;
    font-weight: 700 !important;
    color: var(--mb-dark) !important;
    margin: 0 !important;
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    line-height: 1.3;
    letter-spacing: -0.01em;
    flex: 1;
}
.mb-boutik-card__title i { color: var(--mb-boutik-color, var(--mb-primary)); font-size: 1.1rem; }
.mb-boutik-card__title span { color: var(--mb-boutik-color, var(--mb-primary)); }
.mb-boutik-card__title--sm { font-size: 1.02rem !important; }
.mb-boutik-card__lead {
    color: var(--mb-text-muted);
    font-size: 0.95rem;
    line-height: 1.5;
    margin: 0 0 1rem;
}
.mb-boutik-card__text {
    color: var(--mb-text);
    line-height: 1.65;
    font-size: 0.95rem;
    margin: 0;
}
.mb-boutik-card--empty {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    padding: 1.5rem 1.75rem;
    background-color: var(--mb-bg);
    border: 2px dashed var(--mb-border-strong);
    border-radius: 18px;
    color: var(--mb-text-muted);
    text-decoration: none;
    transition: all 180ms var(--mb-ease);
}
.mb-boutik-card--empty:hover {
    background-color: var(--mb-primary-soft);
    color: var(--mb-primary-dark);
    text-decoration: none;
    border-color: var(--mb-primary);
}
.mb-boutik-card--empty i { font-size: 1.7rem; color: var(--mb-primary); flex-shrink: 0; }

/* Présentation : conserve l'accent de la couleur boutik */
.mb-boutik-presentation {
    border-top: 4px solid var(--mb-boutik-color, var(--mb-primary));
}
.mb-boutik-presentation .mb-boutik-card__title {
    margin-bottom: 0.85rem !important;
    padding-bottom: 0;
    border-bottom: 0;
}
.mb-boutik-show-more {
    display: inline-block;
    margin-top: 0.6rem;
    color: var(--mb-boutik-color, var(--mb-primary));
    font-weight: 700;
    font-size: 0.88rem;
    cursor: pointer;
    background: transparent;
    border: 0;
    padding: 0.4rem 0.8rem;
    border-radius: 8px;
    transition: background-color 180ms var(--mb-ease);
}
.mb-boutik-show-more:hover { background-color: var(--mb-primary-soft); }

/* Edit links (owner) */
.mb-boutik-edit-link {
    position: absolute;
    top: 0.8rem;
    right: 0.9rem;
    background-color: #d33;
    color: #fff;
    padding: 0.28rem 0.7rem;
    border-radius: 8px;
    font-size: 0.74rem;
    font-weight: 700;
    text-decoration: none;
    z-index: 5;
    box-shadow: 0 2px 6px rgba(211,51,51,0.25);
    transition: all 180ms var(--mb-ease);
}
.mb-boutik-edit-link:hover {
    color: #fff;
    text-decoration: none;
    filter: brightness(1.1);
    transform: translateY(-1px);
}
.mb-boutik-edit-link--top { top: -2.2rem; right: 0.5rem; }
.mb-boutik-edit-link--inline { position: static; margin-left: auto; }

/* Blocs catégories */
.mb-boutik-blocs > [class*="col-"] { padding: 6px; }
.mb-boutik-bloc {
    min-height: 180px !important;
    border-radius: 14px !important;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    box-shadow: var(--mb-shadow-sm);
    transition: transform 200ms var(--mb-ease), box-shadow 200ms var(--mb-ease);
}
.mb-boutik-bloc:hover {
    transform: translateY(-3px);
    box-shadow: var(--mb-shadow-md);
}
.mb-boutik-bloc__inner {
    min-height: 180px;
    background-color: rgba(0,0,0,0.35);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Mode édition inline (boutik info, owner) */
.mb-boutik-bloc--editable {
    position: relative;
    cursor: default;
}
.mb-boutik-bloc--editable .mb-boutik-bloc__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(15,23,42,0.20) 0%, rgba(15,23,42,0.55) 100%);
    border-radius: 14px;
    pointer-events: none;
}
.mb-boutik-bloc--editable .mb-boutik-bloc__top {
    position: absolute;
    top: 10px;
    left: 10px;
    right: 10px;
    display: flex;
    justify-content: space-between;
    gap: 6px;
    z-index: 2;
}
.mb-boutik-bloc--editable .mb-boutik-bloc__bottom {
    position: absolute;
    bottom: 10px;
    left: 10px;
    right: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 6px;
    z-index: 2;
}
.mb-boutik-bloc--editable .mb-myblocs__bloc-title {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    text-align: center;
    z-index: 2;
    padding: 0 16px;
}

/* Controls toolbar au-dessus des blocs */
.mb-boutik-blocs-controls {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}
.mb-boutik-blocs-toggle {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 14px;
    border-radius: 999px;
    font-size: 12.5px;
    font-weight: 700;
    cursor: pointer;
    border: 0;
    line-height: 1;
    transition: filter 180ms ease;
}
.mb-boutik-blocs-toggle i { font-size: 16px; }
.mb-boutik-blocs-toggle.is-on { background: #e1f7e8; color: #146b2c; }
.mb-boutik-blocs-toggle.is-off { background: #fdecec; color: #c54545; }
.mb-boutik-blocs-toggle:hover { filter: brightness(0.96); }
.mb-boutik-blocs-add {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    border-radius: 10px;
    background: var(--mb-primary, #13a6c2);
    color: #fff;
    font-size: 12.5px;
    font-weight: 700;
    cursor: pointer;
    border: 0;
    line-height: 1;
    transition: filter 180ms ease, transform 180ms ease;
}
.mb-boutik-blocs-add:hover { filter: brightness(1.08); transform: translateY(-1px); }

/* Empty state pour blocs (owner sans bloc) */
.mb-boutik-blocs-empty {
    padding: 32px 24px;
    text-align: center;
    color: #607080;
}
.mb-boutik-blocs-empty i {
    font-size: 36px;
    color: var(--mb-primary, #13a6c2);
    margin-bottom: 12px;
    display: block;
}
.mb-boutik-blocs-empty p {
    font-size: 14px;
    color: #4a5560;
    margin: 0 0 16px;
}

.mb-boutik-search-bar { margin-bottom: 1rem; }

/* Section partage en bas */
.mb-boutik-footer-share { margin-top: 0.5rem; }
.mb-boutik-card--share {
    text-align: center;
    background: linear-gradient(135deg, var(--mb-surface) 0%, var(--mb-bg) 100%);
    border: 1px solid var(--mb-border);
}
.mb-boutik-card--share .mb-boutik-card__title {
    justify-content: center;
    text-align: center;
}
.mb-boutik-card--share .mb-boutik-card__title i { color: #e25555; }
.mb-boutik-share-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.6rem;
    margin: 1rem 0 0.5rem;
}
.mb-boutik-share-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.65rem 1.15rem;
    border-radius: 10px;
    font-size: 0.92rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    background-color: var(--mb-surface);
    border: 1px solid var(--mb-border);
    color: var(--mb-text);
    transition: all 180ms var(--mb-ease);
}
.mb-boutik-share-btn:hover {
    transform: translateY(-2px);
    text-decoration: none;
    border-color: var(--mb-primary);
    color: var(--mb-primary);
    box-shadow: 0 6px 14px rgba(0,0,0,0.06);
}
.mb-boutik-share-btn--primary {
    border-color: transparent !important;
}
.mb-boutik-share-btn--primary:hover {
    filter: brightness(1.08);
    color: #fff !important;
}
.mb-boutik-fb-share { text-align: center; padding-top: 0.8rem; }

/* ===== SIDEBAR ===== */
.mb-boutik-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.mb-boutik-side-card {
    padding: 1.3rem 1.4rem;
}
.mb-boutik-side-card .mb-boutik-card__head {
    margin-bottom: 0.85rem;
    padding-bottom: 0.65rem;
}

/* Liste d'infos (sidebar) */
.mb-boutik-info-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
}
.mb-boutik-info-list__item {
    display: flex;
    align-items: flex-start;
    gap: 0.7rem;
    padding: 0.45rem 0;
    font-size: 0.92rem;
    line-height: 1.45;
    color: var(--mb-text);
}
.mb-boutik-info-list__icon {
    flex-shrink: 0;
    width: 36px; height: 36px;
    border-radius: 10px;
    background-color: var(--mb-primary-soft);
    color: var(--mb-boutik-color, var(--mb-primary));
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
}
.mb-boutik-info-list__text {
    flex: 1;
    min-width: 0;
    word-break: break-word;
    align-self: center;
}
.mb-boutik-info-list__link {
    flex: 1;
    min-width: 0;
    word-break: break-word;
    color: var(--mb-text);
    text-decoration: none;
    cursor: pointer;
    align-self: center;
    transition: color 180ms var(--mb-ease);
}
.mb-boutik-info-list__link:hover { color: var(--mb-boutik-color, var(--mb-primary)); text-decoration: none; }

/* Horaires */
.mb-boutik-hours {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}
.mb-boutik-hours__row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0.7rem;
    border-radius: 8px;
    font-size: 0.9rem;
    transition: background-color 180ms var(--mb-ease);
}
.mb-boutik-hours__row:nth-child(odd) { background-color: var(--mb-bg); }
.mb-boutik-hours__row:hover { background-color: var(--mb-primary-soft); }
.mb-boutik-hours__day { font-weight: 600; color: var(--mb-text); }
.mb-boutik-hours__hours { color: var(--mb-text-muted); font-weight: 500; }
.mb-boutik-hours__row--closed .mb-boutik-hours__hours {
    color: #c44;
    font-style: italic;
    font-weight: 500;
}

/* Modalités (paiement, livraison) */
.mb-boutik-side-card__row {
    padding: 0.5rem 0;
    font-size: 0.88rem;
}
.mb-boutik-side-card__row + .mb-boutik-side-card__row {
    border-top: 1px solid var(--mb-border);
    margin-top: 0.5rem;
    padding-top: 0.85rem;
}
.mb-boutik-side-card__row b {
    display: block;
    color: var(--mb-dark);
    font-weight: 700;
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
}
.mb-boutik-side-card__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}
.mb-boutik-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.3rem 0.7rem;
    background-color: var(--mb-bg);
    border: 1px solid var(--mb-border);
    border-radius: 999px;
    font-size: 0.82rem;
    color: var(--mb-text);
    font-weight: 500;
}
.mb-boutik-chip i { color: var(--mb-boutik-color, var(--mb-primary)); font-size: 0.85rem; }

/* Réseaux sociaux dans sidebar */
.mb-boutik-side-card .mb-boutik-social {
    text-align: center;
    padding: 0.4rem 0 0.2rem;
    border-top: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    justify-content: center;
}
.mb-boutik-side-card .mb-boutik-social a {
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px; height: 44px;
    border-radius: 12px;
    background-color: var(--mb-bg);
    transition: all 180ms var(--mb-ease);
}
.mb-boutik-side-card .mb-boutik-social a:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 14px rgba(0,0,0,0.08);
}
.mb-boutik-side-card .mb-boutik-social i { font-size: 26px; }

/* Card Pro */
.mb-boutik-card-pro {
    background-color: var(--mb-surface);
    color: var(--mb-text);
    border-radius: 18px;
    padding: 1.3rem 1.4rem;
    border-top: 4px solid;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.mb-boutik-card-pro__row {
    font-size: 0.88rem;
    color: var(--mb-text);
    padding: 0.55rem 0;
    border-bottom: 1px solid var(--mb-border);
    line-height: 1.5;
}
.mb-boutik-card-pro__row:last-child { border-bottom: 0; }
.mb-boutik-card-pro__row b { color: var(--mb-dark); font-weight: 700; margin-right: 0.3rem; }
.mb-boutik-verified-inline {
    color: #28a745;
    font-weight: 700;
    font-size: 0.82rem;
}
.mb-boutik-map { padding-top: 10px; border-radius: 12px; overflow: hidden; }

/* Sidebar : flux normal sur tous les écrans (pas de scroll interne) */
@media (min-width: 992px) {
    .mb-boutik-sidebar {
        align-self: flex-start;
        padding-right: 0.25rem;
    }
}

/* Bouton CTA en tête de sidebar — gros et bien visible */
.boutik-sidebar-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 14px 20px;
    margin-bottom: 16px;
    border-radius: 14px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    cursor: pointer;
    border: 0;
    box-shadow: 0 8px 20px rgba(19, 166, 194, 0.3);
    transition: transform 200ms var(--mb-ease), box-shadow 200ms var(--mb-ease), filter 200ms var(--mb-ease);
}
.boutik-sidebar-cta:hover {
    transform: translateY(-2px);
    text-decoration: none;
    filter: brightness(1.05);
    box-shadow: 0 12px 26px rgba(19, 166, 194, 0.45);
}
.boutik-sidebar-cta i { font-size: 1.05em; }

/* Responsive */
@media (max-width: 991.98px) {
    .mb-boutik-identity__cta-row {
        margin-left: 0;
        width: 100%;
        justify-content: flex-start;
        margin-top: 0.4rem;
    }
}

@media (max-width: 767.98px) {
    .mb-boutik-hero__media { height: 200px; }
    .mb-boutik-hero__back span { display: none; }
    .mb-boutik-hero__back { padding: 0.5rem 0.7rem; }
    .mb-boutik-hero__icon { width: 38px; height: 38px; }
    .mb-boutik-identity-wrap { margin-top: -50px; padding: 0 0.75rem; }
    .mb-boutik-identity {
        padding: 1.1rem 1.1rem 1.25rem;
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 0.85rem;
    }
    .mb-boutik-identity__avatar-wrap { margin-top: -55px; }
    .mb-boutik-identity__avatar.imgPageBoutikProfil { width: 95px !important; height: 95px !important; }
    .mb-boutik-identity__info { flex: 1 1 100%; min-width: 100%; }
    .mb-boutik-identity__meta { justify-content: center; }
    .mb-boutik-identity__tagline { text-align: center; align-items: center; }
    .mb-boutik-identity__cta-row {
        margin-left: 0;
        width: 100%;
        justify-content: center;
    }
    .mb-boutik-identity__btn { flex: 1 1 auto; justify-content: center; min-width: 0; }
    .mb-boutik-tabs { top: 60px; }
    .mb-boutik-tabs .container { padding: 0.5rem 0.5rem; }
    .mb-boutik-card { padding: 1.2rem 1.1rem; border-radius: 14px; }
    .mb-boutik-card__title { font-size: 1.1rem !important; }
    .mb-boutik-content { padding: 1.25rem 0 2rem; }
}

@media (max-width: 480px) {
    .mb-boutik-identity__name.titleBoutik { font-size: 1.4rem !important; }
}

/* =========================================================
   SIDEBAR ADMIN — refonte moderne (.mb-side-nav)
   ========================================================= */

/* Conteneur global de la sidebar */
.mb-sidebar {
    background: linear-gradient(180deg, #ffffff 0%, #f5fafc 100%);
    border-right: 1px solid var(--mb-border);
    padding: 0 !important;
    margin: 0 !important;
}
.mb-sidebar .mb-side-nav__brand {
    margin-top: 0 !important;
}
.mb-sidebar .mb-sidebar-inner > :first-child {
    margin-top: 0 !important;
}
/* Annule tout gutter Bootstrap qui ajouterait un margin-top a la sidebar */
.row > .mb-sidebar { margin-top: 0 !important; padding-top: 0 !important; }
.mb-sidebar .mb-sidebar-inner {
    position: sticky;
    top: 88px; /* hauteur du header */
    max-height: calc(100vh - 88px);
    overflow-y: auto;
    overflow-x: hidden;
    padding: 0 10px 24px;
    scrollbar-width: thin;
    scrollbar-color: rgba(19,166,194,0.35) transparent;
}
.mb-sidebar .mb-sidebar-inner::-webkit-scrollbar { width: 6px; }
.mb-sidebar .mb-sidebar-inner::-webkit-scrollbar-thumb {
    background: rgba(19,166,194,0.35);
    border-radius: 999px;
}
.mb-sidebar .mb-sidebar-inner::-webkit-scrollbar-track { background: transparent; }

/* Bloc profil en haut */
.mb-side-nav__brand {
    margin-bottom: 14px;
    padding: 14px 12px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--mb-primary) 0%, #0e8fa8 100%);
    color: #fff;
    box-shadow: 0 6px 18px rgba(19,166,194,0.25);
    position: relative;
    overflow: hidden;
}
.mb-side-nav__brand::after {
    content: "";
    position: absolute;
    inset: -40% -20% auto auto;
    width: 140px;
    height: 140px;
    background: radial-gradient(circle, rgba(255,255,255,0.18) 0%, rgba(255,255,255,0) 65%);
    pointer-events: none;
}
.mb-side-nav__profile {
    display: flex;
    align-items: center;
    gap: 12px;
    position: relative;
    z-index: 1;
}
.mb-side-nav__avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(255,255,255,0.7);
    background: rgba(255,255,255,0.18);
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 18px;
    color: #fff;
    text-transform: uppercase;
}
.mb-side-nav__avatar--initial { background: rgba(255,255,255,0.2); }
.mb-side-nav__profile-text { min-width: 0; flex: 1; }
.mb-side-nav__profile-name {
    font-weight: 700;
    font-size: 14px;
    line-height: 1.2;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: #fff;
}
.mb-side-nav__profile-role {
    font-size: 11px;
    font-weight: 500;
    opacity: 0.9;
    margin-top: 2px;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 5px;
}

/* Conteneur menu */
.mb-side-nav {
    display: block;
    list-style: none;
    margin: 0;
    padding: 0;
    font-size: 13.5px;
    line-height: 1.3;
}
.mb-side-nav__section {
    margin-bottom: 14px;
}
.mb-side-nav__section--logout {
    margin-top: 8px;
    padding-top: 14px;
    border-top: 1px solid var(--mb-border);
}
.mb-side-nav__heading {
    font-size: 10.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #607080;
    padding: 0 12px 6px;
    opacity: 0.85;
}
.mb-side-nav__list {
    list-style: none;
    margin: 0;
    padding: 0;
}
.mb-side-nav__list li { padding: 0; margin: 0; }

.mb-side-nav__link {
    display: flex !important;
    align-items: center;
    gap: 12px;
    padding: 9px 12px;
    margin: 2px 0;
    border-radius: 10px;
    color: #36454f !important;
    text-decoration: none !important;
    font-weight: 500;
    transition: background-color 180ms var(--mb-ease, ease), color 180ms var(--mb-ease, ease), transform 180ms var(--mb-ease, ease);
    position: relative;
    line-height: 1.25;
}
.mb-side-nav__link:hover,
.mb-side-nav__link:focus {
    background-color: rgba(19,166,194,0.08);
    color: var(--mb-primary-dark, #0d8aa3) !important;
    text-decoration: none !important;
}
.mb-side-nav__link.is-active {
    background-color: rgba(19,166,194,0.12);
    color: var(--mb-primary-dark, #0d8aa3) !important;
    font-weight: 700;
}
.mb-side-nav__link.is-active::before {
    content: "";
    position: absolute;
    left: 0;
    top: 8px;
    bottom: 8px;
    width: 3px;
    background: var(--mb-primary, #13a6c2);
    border-radius: 0 3px 3px 0;
}

.mb-side-nav__icon {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #eef5f8;
    color: var(--mb-primary, #13a6c2);
    font-size: 13px;
    flex-shrink: 0;
    transition: background-color 180ms var(--mb-ease, ease), color 180ms var(--mb-ease, ease);
}
.mb-side-nav__link:hover .mb-side-nav__icon,
.mb-side-nav__link.is-active .mb-side-nav__icon {
    background: var(--mb-primary, #13a6c2);
    color: #fff;
}
.mb-side-nav__icon--accent { background: #fdecec; color: #e44c4c; }
.mb-side-nav__icon--warning { background: #fff5dc; color: #e8a619; }
.mb-side-nav__link:hover .mb-side-nav__icon--accent,
.mb-side-nav__link.is-active .mb-side-nav__icon--accent {
    background: #e44c4c; color: #fff;
}
.mb-side-nav__link:hover .mb-side-nav__icon--warning,
.mb-side-nav__link.is-active .mb-side-nav__icon--warning {
    background: #e8a619; color: #fff;
}

.mb-side-nav__label {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.mb-side-nav__badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 20px;
    height: 20px;
    padding: 0 6px;
    border-radius: 10px;
    background: #e44c4c;
    color: #fff !important;
    font-size: 11px;
    font-weight: 700;
    line-height: 1;
    flex-shrink: 0;
    box-shadow: 0 0 0 2px rgba(228,76,76,0.18);
}

/* CTA "Créer ma page" dans la sidebar */
.mb-side-nav__link.mb-side-nav__link--cta,
.mb-side-nav__link.mb-side-nav__link--cta.is-active {
    background: linear-gradient(135deg, var(--mb-primary, #13a6c2) 0%, #0e8fa8 100%) !important;
    color: #ffffff !important;
    font-weight: 800;
    box-shadow: 0 4px 14px rgba(19,166,194,0.30);
    text-shadow: 0 1px 2px rgba(0,0,0,0.18);
}
.mb-side-nav__link.mb-side-nav__link--cta .mb-side-nav__label,
.mb-side-nav__link.mb-side-nav__link--cta.is-active .mb-side-nav__label {
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
}
.mb-side-nav__link.mb-side-nav__link--cta:hover {
    background: linear-gradient(135deg, #0e8fa8 0%, var(--mb-primary, #13a6c2) 100%) !important;
    color: #ffffff !important;
    transform: translateY(-1px);
}
.mb-side-nav__link.mb-side-nav__link--cta .mb-side-nav__icon,
.mb-side-nav__link.mb-side-nav__link--cta.is-active .mb-side-nav__icon {
    background: rgba(255,255,255,0.28) !important;
    color: #ffffff !important;
}
/* Annule le pseudo-element bleu de .is-active sur le CTA */
.mb-side-nav__link.mb-side-nav__link--cta.is-active::before {
    display: none !important;
}

/* Lien deconnexion */
.mb-side-nav__link--danger { color: #b03a3a !important; }
.mb-side-nav__link--danger:hover {
    background-color: rgba(228,76,76,0.10);
    color: #8a2929 !important;
}
.mb-side-nav__link--danger .mb-side-nav__icon {
    background: #fdecec; color: #e44c4c;
}
.mb-side-nav__link--danger:hover .mb-side-nav__icon {
    background: #e44c4c; color: #fff;
}

/* Compatibilite : neutralise les anciens styles inline color:black */
.mb-side-nav .mb-side-nav__link[style*="color:black"],
.mb-side-nav .mb-side-nav__link[style*="color: black"] { color: #36454f !important; }

/* Mobile : la sidebar passe en drawer (deja gere par la section 7) */
@media (max-width: 991.98px) {
    .mb-sidebar .mb-sidebar-inner {
        position: relative;
        top: 0;
        max-height: none;
        padding: 14px 10px 80px;
    }
    .mb-side-nav__brand { margin-top: 4px; }
}

/* =========================================================
   ADMIN DASHBOARD — refonte (page myaccount admin)
   ========================================================= */

/* Hero / bandeau d'accueil */
.mb-admin-hero {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin: 0 0 28px;
    padding: 26px 30px;
    border-radius: 18px;
    background: linear-gradient(135deg, #0e8fa8 0%, #13a6c2 60%, #2bc4d6 100%);
    color: #fff;
    box-shadow: 0 18px 40px rgba(19,166,194,0.20);
    position: relative;
    overflow: hidden;
}
.mb-admin-hero::before {
    content: "";
    position: absolute;
    inset: -40% -10% auto auto;
    width: 320px;
    height: 320px;
    background: radial-gradient(circle, rgba(255,255,255,0.18) 0%, rgba(255,255,255,0) 65%);
    pointer-events: none;
}
.mb-admin-hero__greeting { position: relative; z-index: 1; }
.mb-admin-hero__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 700;
    background: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.30);
    padding: 5px 12px;
    border-radius: 999px;
    color: #fff;
}
.mb-admin-hero__title {
    font-size: clamp(1.6rem, 2.4vw, 2.1rem);
    font-weight: 800;
    margin: 10px 0 4px;
    line-height: 1.15;
    color: #fff;
}
.mb-admin-hero__lead {
    font-size: 14px;
    margin: 0;
    opacity: 0.95;
    color: #fff;
}
.mb-admin-hero__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    position: relative;
    z-index: 1;
    max-width: 540px;
    justify-content: flex-end;
}
.mb-admin-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 13px;
    border-radius: 999px;
    background: rgba(255,255,255,0.18);
    color: #fff !important;
    font-size: 12.5px;
    font-weight: 600;
    border: 1px solid rgba(255,255,255,0.32);
    text-decoration: none !important;
    transition: background 180ms ease, transform 180ms ease;
}
.mb-admin-chip:hover {
    background: rgba(255,255,255,0.28);
    color: #fff !important;
    transform: translateY(-1px);
    text-decoration: none !important;
}
.mb-admin-chip--warn {
    background: rgba(255,182,19,0.95);
    border-color: rgba(255,182,19,0.95);
    color: #4a3000 !important;
}
.mb-admin-chip--warn:hover {
    background: #fff;
    color: #4a3000 !important;
}

/* Section title */
.mb-admin-section__title {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 12px 0 16px;
    font-size: 1.05rem;
    font-weight: 700;
    color: #36454f;
}
.mb-admin-section__title i {
    color: var(--mb-primary, #13a6c2);
    background: #eef5f8;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
}

/* Wrapper pour padding harmonieux */
.mb-admin-card-wrap {
    padding: 8px;
    display: flex;
}

/* KPI principaux (4 cards de tete) */
.mb-admin-kpi {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 22px 22px 20px;
    background: #fff;
    border-radius: 16px;
    border: 1px solid #e5edf2;
    text-decoration: none !important;
    color: #36454f !important;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
    transition: transform 220ms var(--mb-ease, ease), box-shadow 220ms var(--mb-ease, ease), border-color 220ms ease;
    position: relative;
    overflow: hidden;
    min-height: 200px;
}
.mb-admin-kpi::before {
    content: "";
    position: absolute;
    left: 0; top: 0; bottom: 0;
    width: 4px;
    background: var(--mb-primary, #13a6c2);
    border-radius: 4px 0 0 4px;
}
.mb-admin-kpi:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.10);
    border-color: rgba(19,166,194,0.30);
    color: #36454f !important;
    text-decoration: none !important;
}
.mb-admin-kpi__icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: #eef5f8;
    color: var(--mb-primary, #13a6c2);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 19px;
}
.mb-admin-kpi__value {
    font-size: 2.2rem;
    font-weight: 800;
    line-height: 1.05;
    color: #1f2a32;
}
.mb-admin-kpi__label {
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #607080;
}
.mb-admin-kpi__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: auto;
    padding-top: 8px;
}
.mb-admin-kpi__pill {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 9px;
    border-radius: 999px;
    font-size: 11.5px;
    font-weight: 700;
    background: #f1f5f8;
    color: #4a5560;
}
.mb-admin-kpi__pill--ok      { background: #e1f7e8; color: #1d8a3e; }
.mb-admin-kpi__pill--warn    { background: #fff5dc; color: #9a6a00; }
.mb-admin-kpi__pill--danger  { background: #fde7e7; color: #b03a3a; }
.mb-admin-kpi__pill--mute    { background: #f1f5f8; color: #607080; }

/* Variantes coloration KPI (liserez de gauche) */
.mb-admin-kpi--primary::before { background: #13a6c2; }
.mb-admin-kpi--info::before    { background: #5b8dec; }
.mb-admin-kpi--success::before { background: #1d8a3e; }
.mb-admin-kpi--accent::before  { background: #e8a619; }
.mb-admin-kpi--info .mb-admin-kpi__icon    { background: #e7eefe; color: #3b6fd1; }
.mb-admin-kpi--success .mb-admin-kpi__icon { background: #e1f7e8; color: #1d8a3e; }
.mb-admin-kpi--accent .mb-admin-kpi__icon  { background: #fff5dc; color: #9a6a00; }

/* Cards secondaires (Actus / Albums / Fichiers / Avis) */
.mb-admin-card {
    flex: 1;
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 16px;
    border: 1px solid #e5edf2;
    padding: 18px 18px 16px;
    text-decoration: none !important;
    color: #36454f !important;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
    transition: transform 220ms var(--mb-ease, ease), box-shadow 220ms var(--mb-ease, ease), border-color 220ms ease;
    min-height: 200px;
}
.mb-admin-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.10);
    border-color: rgba(19,166,194,0.30);
    color: #36454f !important;
    text-decoration: none !important;
}
.mb-admin-card__head {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
}
.mb-admin-card__icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: #eef5f8;
    color: var(--mb-primary, #13a6c2);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    flex-shrink: 0;
}
.mb-admin-card__icon--warning { background: #fff5dc; color: #e8a619; }
.mb-admin-card__head-text { flex: 1; min-width: 0; display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.mb-admin-card__title {
    font-size: 1rem;
    font-weight: 700;
    margin: 0;
    color: #1f2a32;
}
.mb-admin-card__count {
    font-size: 1.5rem;
    font-weight: 800;
    color: #1f2a32;
    line-height: 1;
}
.mb-admin-card__stats {
    list-style: none;
    margin: 0;
    padding: 8px 0 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 6px 12px;
}
.mb-admin-card__stat {
    display: flex;
    align-items: baseline;
    gap: 6px;
    font-size: 12.5px;
    color: #4a5560;
    position: relative;
    padding-left: 12px;
}
.mb-admin-card__stat::before {
    content: "";
    position: absolute;
    left: 0; top: 6px;
    width: 6px; height: 6px;
    border-radius: 50%;
    background: #adb8c2;
}
.mb-admin-card__stat--ok::before     { background: #1d8a3e; }
.mb-admin-card__stat--warn::before   { background: #e8a619; }
.mb-admin-card__stat--danger::before { background: #d44343; }
.mb-admin-card__stat--mute::before   { background: #adb8c2; }
.mb-admin-card__stat-value { font-weight: 800; color: #1f2a32; }
.mb-admin-card__stat-label { font-size: 11.5px; color: #607080; }

/* Cards d'action rapide */
.mb-admin-action {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 18px;
    background: #fff;
    border-radius: 16px;
    border: 1px solid #e5edf2;
    text-decoration: none !important;
    color: #36454f !important;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
    transition: transform 220ms var(--mb-ease, ease), box-shadow 220ms var(--mb-ease, ease), border-color 220ms ease;
    min-height: 90px;
}
.mb-admin-action:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.10);
    border-color: rgba(19,166,194,0.30);
    color: #36454f !important;
    text-decoration: none !important;
}
.mb-admin-action__icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    background: #eef5f8;
    color: var(--mb-primary, #13a6c2);
    flex-shrink: 0;
}
.mb-admin-action__icon--info    { background: #e7eefe; color: #3b6fd1; }
.mb-admin-action__icon--accent  { background: #fde7e7; color: #d44343; }
.mb-admin-action__icon--warning { background: #fff5dc; color: #9a6a00; }
.mb-admin-action__body {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.mb-admin-action__title {
    font-size: 14.5px;
    font-weight: 700;
    color: #1f2a32;
}
.mb-admin-action__desc {
    font-size: 12.5px;
    color: #607080;
    line-height: 1.35;
}
.mb-admin-action__arrow {
    color: #adb8c2;
    transition: transform 200ms ease, color 200ms ease;
}
.mb-admin-action:hover .mb-admin-action__arrow {
    color: var(--mb-primary, #13a6c2);
    transform: translateX(3px);
}

/* Responsive : passes en pile sur mobile */
@media (max-width: 768px) {
    .mb-admin-hero { padding: 20px 22px; }
    .mb-admin-hero__chips { justify-content: flex-start; }
    .mb-admin-kpi { padding: 18px 18px 16px; min-height: 0; }
    .mb-admin-kpi__value { font-size: 1.8rem; }
    .mb-admin-card { min-height: 0; }
    .mb-admin-card__stats { grid-template-columns: 1fr; }
}

/* =========================================================
   ADMIN PAGES (listing) — toolbar, hero, cards modernes
   Cible : adminAbonnements, adminUsers, adminBoutiks,
           adminAnnonces, adminActus, adminAlbums, adminFiles, adminAvis
   ========================================================= */

/* Page hero : titre + compteur + bouton retour */
.mb-adminp {
    padding: 18px 0 50px;
}
.mb-adminp__head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 18px;
}
.mb-adminp__back {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    height: 40px;
    padding: 0 16px;
    line-height: 1;
    border-radius: 999px;
    background: #fff;
    border: 1px solid #d8e1e7;
    color: #36454f !important;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none !important;
    transition: background 180ms ease, border-color 180ms ease, transform 180ms ease;
}
.mb-adminp__back:hover {
    background: #eef5f8;
    border-color: var(--mb-primary, #13a6c2);
    color: var(--mb-primary-dark, #0d8aa3) !important;
    transform: translateX(-2px);
    text-decoration: none !important;
}
.mb-adminp__title-block {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
    line-height: 1;
}
.mb-adminp__title {
    font-size: 1.15rem !important;
    font-weight: 800 !important;
    color: #1f2a32 !important;
    margin: 0 !important;
    padding: 0 !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 12px;
    height: 40px !important;
    line-height: 1 !important;
    overflow: visible;
}
.mb-adminp__title i {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--mb-primary, #13a6c2) 0%, #0e8fa8 100%);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    flex-shrink: 0;
    line-height: 1;
}
@media (min-width: 992px) {
    .mb-adminp__title { font-size: 1.3rem !important; }
}
.mb-adminp__count {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 40px;
    padding: 0 14px;
    line-height: 1;
    border-radius: 999px;
    background: #eef5f8;
    color: #0d8aa3;
    font-weight: 700;
    font-size: 12.5px;
    border: 1px solid rgba(19,166,194,0.18);
    white-space: nowrap;
}
.mb-adminp__count b { color: #1f2a32; }

/* Sous-titre de page (sous la barre Retour/Enregistrer) */
.mb-adminp__subtitle {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    margin: 4px 0 14px !important;
    font-size: 1.15rem !important;
    font-weight: 800 !important;
    color: #1f2a32 !important;
    line-height: 1.2 !important;
}
.mb-adminp__subtitle i {
    width: 36px !important;
    height: 36px !important;
    border-radius: 10px !important;
    background: linear-gradient(135deg, var(--mb-primary, #13a6c2) 0%, #0e8fa8 100%) !important;
    color: #fff !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 15px !important;
    flex-shrink: 0 !important;
    font-weight: 400 !important;
}

/* Hint sticky centré sous le header (modération etc.) */
.mb-adminp__sticky-hint {
    position: sticky;
    top: 100px;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin: 0 auto 18px;
    max-width: 720px;
    padding: 10px 18px;
    border-radius: 12px;
    background: #fff5dc;
    border: 1px solid #ffe9a6;
    color: #6e4d00;
    font-size: 13px;
    font-weight: 500;
    box-shadow: 0 4px 14px rgba(15,23,42,0.08);
    text-align: center;
}
.mb-adminp__sticky-hint i { color: #e8a619; flex-shrink: 0; }
.mb-adminp__sticky-hint--danger {
    background: #fdecec;
    border-color: #f2c5c5;
    color: #7d1f1f;
}
.mb-adminp__sticky-hint--danger i { color: #d44343; }
@media (max-width: 640px) {
    .mb-adminp__sticky-hint { font-size: 12px; padding: 8px 12px; }
}

/* Toolbar : recherche + filtres */
.mb-adminp__toolbar {
    background: #fff;
    border: 1px solid #e5edf2;
    border-radius: 16px;
    padding: 14px 16px;
    margin-bottom: 18px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    box-shadow: 0 2px 8px rgba(15,23,42,0.04);
}
.mb-adminp__toolbar form {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    width: 100%;
    margin: 0;
}
.mb-adminp__search {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    background: #f5fafc;
    border: 1px solid #d8e1e7;
    border-radius: 10px;
    padding: 0 4px 0 12px;
    height: 38px;
    transition: border-color 180ms ease, background 180ms ease;
}
.mb-adminp__search:focus-within {
    border-color: var(--mb-primary, #13a6c2);
    background: #fff;
}
.mb-adminp__search i { color: #607080; font-size: 13px; margin-right: 8px; }
.mb-adminp__search input {
    border: 0 !important;
    background: transparent !important;
    outline: none !important;
    box-shadow: none !important;
    width: 200px;
    height: 100%;
    font-size: 13px !important;
    color: #1f2a32;
}
.mb-adminp__search input::placeholder { color: #98a4ae; }
.mb-adminp__search-btn {
    background: var(--mb-primary, #13a6c2) !important;
    border: 0 !important;
    color: #fff !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    padding: 6px 14px !important;
    border-radius: 8px !important;
    height: 30px;
    cursor: pointer;
    transition: background 180ms ease;
}
.mb-adminp__search-btn:hover { background: #0e8fa8 !important; }

.mb-adminp__select {
    width: auto !important;
    min-width: 170px;
    height: 38px;
    background: #f5fafc !important;
    border: 1px solid #d8e1e7 !important;
    border-radius: 10px !important;
    font-size: 13px !important;
    color: #1f2a32 !important;
    padding: 0 32px 0 12px !important;
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23607080' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'></polyline></svg>") !important;
    background-position: right 12px center !important;
    background-repeat: no-repeat !important;
    transition: border-color 180ms ease, background-color 180ms ease;
}
.mb-adminp__select:focus {
    border-color: var(--mb-primary, #13a6c2) !important;
    background-color: #fff !important;
    outline: none !important;
}
.mb-adminp__clear {
    margin-left: auto;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 38px;
    padding: 0 14px;
    border-radius: 10px;
    background: #fff5dc !important;
    color: #9a6a00 !important;
    border: 1px solid #ffe9a6;
    font-size: 12px !important;
    font-weight: 700;
    text-decoration: none !important;
    transition: background 180ms ease;
}
.mb-adminp__clear:hover {
    background: #ffe9a6 !important;
    color: #6e4d00 !important;
    text-decoration: none !important;
}

/* Listing : wrapper */
.mb-adminp__results-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin: 8px 0 14px;
    color: #4a5560;
    font-size: 13px;
}
.mb-adminp__empty {
    background: #fff;
    border: 1px dashed #d8e1e7;
    border-radius: 16px;
    padding: 40px 20px;
    text-align: center;
    color: #607080;
    font-size: 14px;
}
.mb-adminp__empty i { font-size: 26px; color: #adb8c2; display: block; margin-bottom: 8px; }

/* Row qui n'a pas de margin négatif gauche/droite — pour que les blocs
   restent alignés avec le header (bouton Retour, titre). Bootstrap .row
   utilise par défaut margin: -15px qui les sort du container. */
.mb-adminp .mb-adminp__row {
    margin-left: 0;
    margin-right: 0;
}

/* =========================================================
   Modal dynamique Maboutik (remplace alert/confirm natifs)
   ========================================================= */
.mb-modal-dyn {
    position: fixed;
    inset: 0;
    z-index: 100000;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    opacity: 0;
    transition: opacity 200ms ease;
    padding: 20px;
}
.mb-modal-dyn.is-open {
    pointer-events: auto;
    opacity: 1;
}
.mb-modal-dyn__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}
.mb-modal-dyn__dialog {
    position: relative;
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 20px 60px rgba(15, 23, 42, 0.35);
    width: 100%;
    max-width: 460px;
    padding: 32px 28px 24px;
    text-align: center;
    transform: scale(0.92);
    transition: transform 220ms cubic-bezier(0.34, 1.56, 0.64, 1);
}
.mb-modal-dyn.is-open .mb-modal-dyn__dialog {
    transform: scale(1);
}
.mb-modal-dyn__icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    color: #fff;
    font-size: 28px;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.18);
}
.mb-modal-dyn__title {
    font-size: 1.15rem;
    font-weight: 800;
    color: #1f2a32;
    margin: 0 0 10px;
    line-height: 1.3;
}
.mb-modal-dyn__body {
    font-size: 0.92rem;
    color: #4a5560;
    line-height: 1.55;
    margin-bottom: 22px;
    text-align: left;
}
.mb-modal-dyn__list {
    list-style: none;
    padding: 0;
    margin: 14px 0 0;
}
.mb-modal-dyn__list li {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    background: #fdecec;
    border-radius: 8px;
    color: #7d1f1f;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 6px;
}
.mb-modal-dyn__list li i { color: #d44343; font-size: 0.9rem; flex-shrink: 0; }
.mb-modal-dyn__actions {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}
.mb-modal-dyn__btn {
    padding: 10px 24px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 0.9rem;
    cursor: pointer;
    border: 0;
    transition: transform 150ms ease, filter 150ms ease, background 150ms ease;
    min-width: 100px;
}
.mb-modal-dyn__btn--primary {
    background: var(--mb-primary, #13a6c2);
    color: #fff;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.15);
}
.mb-modal-dyn__btn--primary:hover {
    filter: brightness(1.08);
    transform: translateY(-1px);
}
.mb-modal-dyn__btn--ghost {
    background: #eef2f5;
    color: #4a5560;
}
.mb-modal-dyn__btn--ghost:hover {
    background: #d8e1e7;
}

/* Badge "owner" affiché sur le boutik info quand on visite sa propre page */
.mb-owner-badge {
    display: inline-flex !important;
    align-items: center;
    gap: 4px;
    padding: 4px 10px !important;
    border-radius: 8px !important;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    box-shadow: 0 2px 6px rgba(15,23,42,0.18);
    border: 0 !important;
}
.mb-owner-badge i { font-size: 10px; }

/* =========================================================
   BOUTIK INFO — Refonte propre des blocs annonces/actus
   sur la page de la boutik visitée
   ========================================================= */

/* Anti-overlay : modal-backdrop orphelin (sans modal .show dans le body) → caché.
   Garantit qu'un modal qui ne s'est pas refermé proprement n'assombrit pas la page. */
body:not(:has(.modal.show)) .modal-backdrop { display: none !important; }
body.page-boutikInfo .formAdmin::before,
body.page-boutikInfo .formAdmin::after,
body.page-boutikInfo .boxBlocImage::after { content: none !important; }

/* Wrapper du bloc */
body.page-boutikInfo .formAdmin {
    background: transparent !important;
}
body.page-boutikInfo .formAdmin > .boxBlocImage {
    border-radius: 14px 14px 0 0 !important;
    aspect-ratio: 4 / 3 !important;
    overflow: hidden !important;
    background: #f5fafc !important;
}
body.page-boutikInfo .formAdmin > .icon-box.annonceBloc {
    background: #fff !important;
    border-radius: 0 0 14px 14px !important;
    padding: 12px 14px 14px !important;
    border: 1px solid #e5edf2 !important;
    border-top: 0 !important;
    box-shadow: 0 2px 10px rgba(15,23,42,0.04);
    min-height: 0 !important;
}
body.page-boutikInfo .formAdmin:hover > .icon-box.annonceBloc,
body.page-boutikInfo .formAdmin:hover > .boxBlocImage {
    box-shadow: 0 8px 22px rgba(15,23,42,0.08) !important;
    border-color: rgba(19,166,194,0.18) !important;
}

/* Titre de l'annonce/actu */
body.page-boutikInfo .titleAnnonceBloc h2 {
    font-size: 0.95rem !important;
    font-weight: 800 !important;
    color: #1f2a32 !important;
    margin: 0 0 4px !important;
    line-height: 1.3 !important;
    min-height: 0 !important;
}
body.page-boutikInfo .titleAnnonceBloc h4 {
    font-size: 0.78rem !important;
    color: #788694 !important;
    font-weight: 400 !important;
    margin: 0 !important;
    line-height: 1.4 !important;
}

/* Pastille de prix : style moderne sans bordure jaune épaisse */
body.page-boutikInfo .icon-box.annonceBloc h5 {
    margin: 8px 0 0 !important;
}
body.page-boutikInfo .icon-box.annonceBloc h5 > span:first-child {
    display: inline-flex !important;
    align-items: center !important;
    padding: 5px 12px !important;
    border-radius: 999px !important;
    border: 0 !important;
    background: #eef5f8 !important;
    color: var(--mb-primary-dark, #0d8aa3) !important;
    font-weight: 700 !important;
    font-size: 0.85rem !important;
    box-shadow: none !important;
}
/* Si prix promo (pricenew) : couleur orange "promo" */
body.page-boutikInfo .icon-box.annonceBloc h5 > span[style*="f1c53b"] {
    background: #fff5dc !important;
    color: #9a6a00 !important;
}
body.page-boutikInfo .icon-box.annonceBloc h5 > span[style*="f1c53b"] font {
    color: #c7ad0c !important;
    text-decoration: line-through !important;
    font-size: 0.72rem !important;
    margin-right: 4px;
}

/* Badge date actualité */
body.page-boutikInfo .icon-box.annonceBloc h5 > span.textMess2 {
    background: var(--mb-boutik-color, var(--mb-primary, #13a6c2)) !important;
    color: #fff !important;
    border: 0 !important;
    padding: 5px 12px !important;
    border-radius: 999px !important;
    font-size: 0.78rem !important;
    font-weight: 600 !important;
}

/* Badge "owner" repositionné proprement sur la vignette */
body.page-boutikInfo .formAdmin .mb-owner-badge {
    z-index: 6;
    text-shadow: 0 1px 2px rgba(0,0,0,0.2);
}

/* Bouton "modifier" de l'owner — pill avec icône, hover plus marqué */
body.page-boutikInfo .formAdmin a.btnBloc[href^="editannonce"],
body.page-boutikInfo .formAdmin a.btnBloc[href^="editactu"],
body.page-boutikInfo .formAdmin a.btnBloc[href^="editalbum"] {
    width: 30px !important;
    height: 30px !important;
    padding: 0 !important;
    border-radius: 50% !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: rgba(15,23,42,0.7) !important;
    color: #fff !important;
    border: 0 !important;
    z-index: 6;
    transition: background 180ms ease, transform 180ms ease;
    text-decoration: none !important;
}
body.page-boutikInfo .formAdmin a.btnBloc[href^="editannonce"]:hover,
body.page-boutikInfo .formAdmin a.btnBloc[href^="editactu"]:hover,
body.page-boutikInfo .formAdmin a.btnBloc[href^="editalbum"]:hover {
    background: var(--mb-primary, #13a6c2) !important;
    transform: scale(1.08);
}

/* Cards admin (réutilisation des .icon-box.icon-box-cyan dans .formAdmin) */
.formAdmin .icon-box.icon-box-cyan {
    background: #fff !important;
    border-radius: 16px !important;
    border: 1px solid #e5edf2 !important;
    box-shadow: 0 2px 10px rgba(15,23,42,0.05) !important;
    padding: 18px 18px 16px !important;
    margin: 0 0 14px 0 !important;
    position: relative;
    overflow: hidden;
    transition: box-shadow 220ms ease, border-color 220ms ease, transform 220ms ease;
}
.formAdmin .icon-box.icon-box-cyan:hover {
    box-shadow: 0 8px 24px rgba(15,23,42,0.10) !important;
    border-color: rgba(19,166,194,0.25) !important;
}
/* Bordure colorée à gauche selon état (issue de l'inline border:3px solid ...) */
.formAdmin .icon-box.icon-box-cyan[style*="border:3px solid red"],
.formAdmin .icon-box.icon-box-cyan[style*="border: 3px solid red"],
.formAdmin .icon-box.icon-box-cyan[style*="border:3px solid #bb1939"] {
    border-left: 4px solid #d44343 !important;
}
.formAdmin .icon-box.icon-box-cyan[style*="border:3px solid orange"],
.formAdmin .icon-box.icon-box-cyan[style*="border: 3px solid orange"] {
    border-left: 4px solid #e8a619 !important;
}
.formAdmin .icon-box.icon-box-cyan[style*="border:3px solid green"],
.formAdmin .icon-box.icon-box-cyan[style*="border:3px solid #118720"] {
    border-left: 4px solid #1d8a3e !important;
}
.formAdmin .icon-box.icon-box-cyan[style*="border:3px solid black"] {
    border-left: 4px solid #1f2a32 !important;
}

/* Boutons d'action des cards admin */
.formAdmin .btnAdminLarge {
    display: block;
    width: 100%;
    margin: 4px 0;
    padding: 8px 12px !important;
    border-radius: 10px !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    border: 0 !important;
    text-align: center;
    transition: transform 180ms ease, box-shadow 180ms ease, filter 180ms ease;
}
.formAdmin .btnAdminLarge:hover {
    transform: translateY(-1px);
    filter: brightness(1.06);
    box-shadow: 0 4px 12px rgba(15,23,42,0.12);
}

/* Avatars dans les cards admin */
.formAdmin .imgUserProfilEdit {
    width: 78px;
    height: 78px;
    border-radius: 50%;
    background-size: cover;
    background-position: center;
    object-fit: cover;
    margin: 0 auto 8px;
    display: block;
    box-shadow: 0 2px 8px rgba(15,23,42,0.08);
}

/* Mobile : cartes admin */
@media (max-width: 768px) {
    /* Retour à gauche + Enregistrer à droite restent sur la même ligne */
    .mb-adminp__head {
        flex-direction: row;
        align-items: center;
        flex-wrap: nowrap;
        gap: 8px;
    }
    .mb-adminp__head .mb-adminp__back {
        flex-shrink: 1;
        min-width: 0;
        padding: 0 12px;
        font-size: 12px;
    }
    .mb-adminp__head > .btn {
        flex-shrink: 0;
        padding: 8px 14px !important;
        font-size: 13px !important;
    }
    /* Si "Retour sans enregistrer" est trop long → masque le mot "sans enregistrer" */
    .mb-adminp__back { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 50%; }

    .mb-adminp__toolbar form { gap: 8px; }
    .mb-adminp__select, .mb-adminp__search { width: 100%; min-width: 0; }
    .mb-adminp__search input { width: 100%; }
    .mb-adminp__clear { margin-left: 0; width: 100%; justify-content: center; }
    .formAdmin .icon-box.icon-box-cyan { padding: 14px !important; }
}

/* =========================================================
   PAGE BOUTIK — IDENTITY V5 (.bk-id*) — design propre, no legacy
   Mobile-first. Avatar centre au top sur mobile, a gauche en desktop.
   Aucune classe ne partage de selecteur avec le legacy CSS.
   ========================================================= */

/* Alignement strict : la carte identité et le contenu en dessous doivent avoir
   exactement la même largeur effective à chaque breakpoint. On force les valeurs
   via !important pour neutraliser toute règle plus spécifique en aval. */
.bk-id-wrap,
body.page-boutikInfo .mb-boutik-content,
body.page-annonceInfo .mb-boutik-content,
body.page-actuInfo .mb-boutik-content,
body.page-albumInfo .mb-boutik-content {
    box-sizing: border-box !important;
    width: 100% !important;
    max-width: 1400px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 12px !important;
    padding-right: 12px !important;
}
@media (min-width: 768px) {
    .bk-id-wrap,
    body.page-boutikInfo .mb-boutik-content,
    body.page-annonceInfo .mb-boutik-content,
    body.page-actuInfo .mb-boutik-content,
    body.page-albumInfo .mb-boutik-content {
        padding-left: 24px !important;
        padding-right: 24px !important;
    }
}
@media (min-width: 1280px) {
    .bk-id-wrap,
    body.page-boutikInfo .mb-boutik-content,
    body.page-annonceInfo .mb-boutik-content,
    body.page-actuInfo .mb-boutik-content,
    body.page-albumInfo .mb-boutik-content {
        padding-left: 32px !important;
        padding-right: 32px !important;
    }
}
/* Spécificités héritées de bk-id-wrap qui n'ont rien à voir avec la largeur */
.bk-id-wrap {
    margin-top: -48px;
    position: relative;
    z-index: 5;
}

.bk-id {
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 18px 50px rgba(15, 23, 42, 0.12), 0 6px 16px rgba(15, 23, 42, 0.06);
    padding: 60px 20px 22px;
    text-align: center;
    position: relative;
}

/* Avatar : positionne au top, mathematiquement centre */
.bk-id__avatar {
    position: absolute;
    top: -48px;
    left: 50%;
    transform: translateX(-50%);
    width: 96px;
    height: 96px;
    z-index: 2;
}
.bk-id__avatar picture { display: block; width: 100%; height: 100%; }
.bk-id__avatar-img {
    display: block;
    width: 96px;
    height: 96px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #fff;
    box-shadow: 0 6px 18px rgba(0,0,0,0.15);
    background: #fff;
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
.bk-id__avatar-edit {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--bk-color, #13a6c2);
    color: #fff;
    border: 2px solid #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    cursor: pointer;
    z-index: 3;
    box-shadow: 0 3px 10px rgba(0,0,0,0.2);
}

/* Body : nom + meta + cta */
.bk-id__body {
    width: 100%;
}

.bk-id__name {
    margin: 0 0 12px;
    padding: 0;
    font-size: 1.45rem;
    font-weight: 800;
    color: #1f2a32;
    line-height: 1.2;
    letter-spacing: -0.01em;
    text-align: center;
    overflow-wrap: break-word;
    word-wrap: break-word;
}

.bk-id__meta {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 6px 8px;
    text-align: center;
}

.bk-id__chip {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 11px;
    background: #f1f5f8;
    color: #4a5560;
    border-radius: 999px;
    font-size: 12.5px;
    font-weight: 500;
    line-height: 1.2;
    white-space: nowrap;
}
.bk-id__chip i { color: var(--bk-color, #13a6c2); font-size: 11px; }
.bk-id__chip b { color: #1f2a32; font-weight: 700; }
.bk-id__chip-zip { color: #98a4ae; }

.bk-id__chip--verified {
    background: rgba(16, 206, 120, 0.13);
    color: #0a8b50;
}
.bk-id__chip--verified i { color: #0a8b50; }

.bk-id__chip--soft {
    background: rgba(19,166,194,0.12);
    color: #0d8aa3;
}

/* Tagline (title_home + text_home) integree dans la card identite */
.bk-id__tagline {
    width: 100%;
    margin-top: 4px;
    padding-top: 14px;
    border-top: 1px solid #eef2f5;
    text-align: center;
}
.bk-id__tagline-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--mb-dark, #1f2a32);
    line-height: 1.3;
    margin-bottom: 4px;
}
.bk-id__tagline-text {
    font-size: 0.92rem;
    color: var(--mb-text, #36454f);
    line-height: 1.55;
}
.bk-id__tagline-title *, .bk-id__tagline-text * {
    position: static !important;
    float: none !important;
    transform: none !important;
    max-width: 100%;
}
@media (min-width: 992px) {
    .bk-id__tagline { text-align: left; }
}

/* CTA owner */
.bk-id__cta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid #eef2f5;
}
.bk-id__btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 9px 16px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 13px;
    text-decoration: none !important;
    border: 0;
    cursor: pointer;
    transition: transform 180ms ease, filter 180ms ease, box-shadow 180ms ease;
}
.bk-id__btn--primary {
    background: var(--bk-color, #13a6c2);
    color: #fff !important;
    box-shadow: 0 4px 12px rgba(19,166,194,0.25);
}
.bk-id__btn--primary:hover { transform: translateY(-1px); filter: brightness(1.06); }
.bk-id__btn--ghost {
    background: #fff;
    color: #36454f !important;
    border: 1px solid #d8e1e7;
}
.bk-id__btn--ghost:hover { background: #eef5f8; border-color: var(--bk-color, #13a6c2); }

/* ----- DESKTOP : >= 992px -> avatar a gauche, infos a droite ----- */
@media (min-width: 992px) {
    .bk-id-wrap { padding: 0 24px; margin-top: -56px; max-width: 1400px; }
}
@media (min-width: 1280px) {
    /* Aligne le bandeau identite avec le bloc .mb-boutik-content qui passe a 32px de padding */
    .bk-id-wrap { padding: 0 32px !important; }
}
@media (min-width: 992px) {
    .bk-id {
        display: grid;
        grid-template-columns: auto 1fr;
        gap: 28px;
        align-items: center;
        text-align: left;
        padding: 24px 30px;
    }
    .bk-id__avatar {
        position: relative;
        top: 0;
        left: 0;
        transform: none;
        margin-top: -56px;
        width: 120px;
        height: 120px;
        grid-column: 1;
        align-self: center;
    }
    .bk-id__avatar-img { width: 120px; height: 120px; border-width: 5px; }
    .bk-id__body { grid-column: 2; text-align: left; }
    .bk-id__name { text-align: left; font-size: 1.85rem; margin: 0 0 10px; }
    .bk-id__meta { justify-content: flex-start; text-align: left; }
    .bk-id__cta { justify-content: flex-start; margin-top: 14px; padding-top: 14px; }
}

/* =========================================================
   PAGE BOUTIK — V5 RESET : reecrit completement le bandeau
   identite en mobile-first. Tout le CSS legacy est neutralise
   en utilisant la specificite (body.page-boutikInfo + classes BEM).
   ========================================================= */

/* RESET total du bandeau identite quel que soit le viewport */
body.page-boutikInfo .boutik-identity-wrap {
    width: 100% !important;
    max-width: 1320px !important;
    margin: -50px auto 0 !important;
    padding: 0 12px !important;
    position: relative !important;
    z-index: 5 !important;
}
body.page-boutikInfo .boutik-identity {
    display: block !important;
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 64px 20px 22px !important;
    background: #fff !important;
    border-radius: 18px !important;
    box-shadow: 0 18px 50px rgba(15, 23, 42, 0.12), 0 6px 16px rgba(15, 23, 42, 0.06) !important;
    text-align: center !important;
    position: relative !important;
    box-sizing: border-box !important;
    flex: none !important;
    flex-wrap: nowrap !important;
}

/* Avatar : positionne en absolute au top center du bandeau */
body.page-boutikInfo .boutik-identity__avatar {
    position: absolute !important;
    top: -50px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    width: 96px !important;
    height: 96px !important;
    margin: 0 !important;
    flex: none !important;
    z-index: 2;
}
body.page-boutikInfo .boutik-identity__avatar picture,
body.page-boutikInfo .boutik-identity__img,
body.page-boutikInfo .imgPageBoutikProfil {
    display: block !important;
    width: 96px !important;
    height: 96px !important;
    border-radius: 50% !important;
    object-fit: cover !important;
    border: 4px solid #fff !important;
    box-shadow: 0 6px 18px rgba(0,0,0,0.15) !important;
    background: #fff !important;
    margin: 0 !important;
    padding: 0 !important;
    box-sizing: border-box !important;
}

/* Bloc info : flow normal, centre */
body.page-boutikInfo .boutik-identity__main {
    display: block !important;
    width: 100% !important;
    flex: none !important;
    text-align: center !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow-wrap: break-word;
}

/* Titre */
body.page-boutikInfo .boutik-identity__name,
body.page-boutikInfo .boutik-identity__name.titleBoutik,
body.page-boutikInfo h1.boutik-identity__name {
    display: block !important;
    width: 100% !important;
    text-align: center !important;
    font-size: 1.4rem !important;
    font-weight: 700 !important;
    color: var(--mb-dark, #1f2a32) !important;
    margin: 0 0 8px !important;
    padding: 0 !important;
    line-height: 1.2 !important;
    -webkit-text-fill-color: var(--mb-dark, #1f2a32) !important;
    background: none !important;
    text-shadow: none !important;
    opacity: 1 !important;
}

/* Meta : ligne centree, items inline-flex */
body.page-boutikInfo .boutik-identity__meta {
    display: block !important;
    width: 100% !important;
    text-align: center !important;
    font-size: 0.85rem !important;
    color: var(--mb-text-muted, #607080) !important;
    line-height: 1.9 !important;
    margin: 0 !important;
    padding: 0 !important;
    flex: none !important;
    justify-content: center !important;
}
body.page-boutikInfo .boutik-identity__meta > * {
    display: inline-flex !important;
    align-items: center !important;
    vertical-align: middle !important;
    margin: 0 4px !important;
    float: none !important;
    position: static !important;
}
body.page-boutikInfo .boutik-identity__loc i {
    color: var(--boutik-color, var(--mb-primary, #13a6c2)) !important;
    margin-right: 4px !important;
}
body.page-boutikInfo .boutik-identity__sep { color: #adb8c2 !important; }
body.page-boutikInfo .boutik-identity__by b { color: var(--mb-dark, #1f2a32) !important; font-weight: 700 !important; }

/* Badge Pro */
body.page-boutikInfo .boutik-identity__badge {
    display: inline-flex !important;
    align-items: center !important;
    gap: 4px !important;
    padding: 3px 10px !important;
    border-radius: 999px !important;
    font-size: 0.75rem !important;
    font-weight: 600 !important;
    margin: 4px 4px 0 !important;
    vertical-align: middle !important;
}
body.page-boutikInfo .boutik-identity__badge--verified {
    background: rgba(16, 206, 120, 0.13) !important;
    color: #0a8b50 !important;
}
body.page-boutikInfo .boutik-identity__badge--soft {
    background: rgba(19,166,194,0.12) !important;
    color: #0d8aa3 !important;
}

/* Layout desktop : avatar a gauche, infos a droite (≥ 992px) */
@media (min-width: 992px) {
    body.page-boutikInfo .boutik-identity {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        align-items: center !important;
        text-align: left !important;
        gap: 24px !important;
        padding: 24px 28px !important;
    }
    body.page-boutikInfo .boutik-identity__avatar {
        position: relative !important;
        top: 0 !important;
        left: 0 !important;
        transform: none !important;
        margin-top: -64px !important;
        width: 110px !important;
        height: 110px !important;
        flex-shrink: 0 !important;
    }
    body.page-boutikInfo .boutik-identity__avatar picture,
    body.page-boutikInfo .boutik-identity__img,
    body.page-boutikInfo .imgPageBoutikProfil {
        width: 110px !important;
        height: 110px !important;
    }
    body.page-boutikInfo .boutik-identity__main {
        flex: 1 1 auto !important;
        text-align: left !important;
    }
    body.page-boutikInfo .boutik-identity__name {
        text-align: left !important;
        font-size: 1.85rem !important;
    }
    body.page-boutikInfo .boutik-identity__meta {
        text-align: left !important;
        line-height: 1.6 !important;
    }
}

/* =========================================================
   PAGE BOUTIK — neutralisation des regles legacy bandeauBoutik
   et stabilisation du layout identite (avatar + main) [legacy V4]
   ========================================================= */
body.page-boutikInfo .boutik-identity {
    display: flex !important;
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    box-sizing: border-box;
}
body.page-boutikInfo .boutik-identity__main {
    flex: 1 1 auto !important;
    min-width: 0 !important;
    overflow-wrap: break-word;
    word-wrap: break-word;
}
body.page-boutikInfo .boutik-identity__name {
    overflow-wrap: break-word;
    word-wrap: break-word;
    hyphens: auto;
}

/* Hero plus haut sur mobile + overlay tres doux pour voir l'image */
@media (max-width: 991.98px) {
    body.page-boutikInfo .boutik-hero {
        height: 220px !important;
        margin-top: 0 !important;
    }
    body.page-boutikInfo .boutik-hero__bg img,
    body.page-boutikInfo .boutik-hero__bg picture {
        object-fit: cover !important;
        object-position: center 35% !important;
    }
    body.page-boutikInfo .boutik-hero::after {
        background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.15) 70%, rgba(0,0,0,0.35) 100%) !important;
    }
    /* La card identite remonte plus pour reduire la zone vide entre image et card */
    body.page-boutikInfo .bk-id-wrap {
        margin-top: -36px !important;
    }
}

/* Mobile + tablette : avatar parfaitement centre au-dessus du nom */
@media (max-width: 991.98px) {
    body.page-boutikInfo .boutik-identity {
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
        gap: 10px;
        padding: 18px 16px 22px !important;
    }
    body.page-boutikInfo .boutik-identity__avatar {
        margin: -56px auto 0 !important;
        align-self: center !important;
        width: 92px !important;
        height: 92px !important;
        flex-shrink: 0 !important;
    }
    body.page-boutikInfo .boutik-identity__avatar picture,
    body.page-boutikInfo .boutik-identity__img {
        width: 92px !important;
        height: 92px !important;
        box-sizing: border-box !important;
    }
    body.page-boutikInfo .boutik-identity__main {
        text-align: center !important;
        width: 100% !important;
        flex: 0 0 100% !important;
    }
    body.page-boutikInfo .boutik-identity__main h1.boutik-identity__name,
    body.page-boutikInfo .boutik-identity__main .boutik-identity__name {
        text-align: center !important;
        width: 100% !important;
        display: block !important;
    }
    body.page-boutikInfo .boutik-identity__main .boutik-identity__meta {
        display: block !important;
        text-align: center !important;
        width: 100% !important;
        line-height: 1.8;
    }
    body.page-boutikInfo .boutik-identity__main .boutik-identity__meta > * {
        display: inline-block !important;
        vertical-align: middle;
        margin: 0 4px !important;
    }
    body.page-boutikInfo .boutik-identity__main .boutik-identity__meta .boutik-identity__badge {
        margin-top: 4px !important;
    }
}

/* Cache le bouton burger sidebar admin sur les pages publiques boutik */
body.page-boutikInfo .mb-sidebar-toggle,
body.page-home .mb-sidebar-toggle,
body.page-search .mb-sidebar-toggle,
body.page-annonce .mb-sidebar-toggle,
body.page-actu .mb-sidebar-toggle,
body.page-album .mb-sidebar-toggle,
body.page-album_detail .mb-sidebar-toggle,
body.page-avis .mb-sidebar-toggle,
body.page-contact .mb-sidebar-toggle,
body.page-faq .mb-sidebar-toggle,
body.page-help .mb-sidebar-toggle,
body.page-tarif .mb-sidebar-toggle,
body.page-exemples .mb-sidebar-toggle,
body.page-mentionLegale .mb-sidebar-toggle,
body.page-recommandation .mb-sidebar-toggle,
body.page-login .mb-sidebar-toggle,
body.page-createAccount .mb-sidebar-toggle {
    display: none !important;
}

/* =========================================================
   PAGE BOUTIK — Tagline (sous-titre + accroche) en card dédiée
   placée entre l'identité et le contenu principal.
   ========================================================= */
.boutik-tagline-wrap {
    width: 100%;
    max-width: 1320px;
    margin: 18px auto 0;
    padding: 0 12px;
}
.boutik-tagline {
    background: #fff;
    border-radius: 16px;
    border: 1px solid var(--mb-border, #e5edf2);
    border-left: 4px solid var(--boutik-color, var(--mb-primary, #13a6c2));
    padding: 18px 24px;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.05);
    text-align: center;
}
.boutik-tagline__title {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--mb-dark, #1f2a32);
    line-height: 1.3;
    margin: 0 0 6px;
}
.boutik-tagline__text {
    font-size: 0.95rem;
    color: var(--mb-text, #36454f);
    line-height: 1.55;
    margin: 0;
}
.boutik-tagline__title:empty,
.boutik-tagline__text:empty { display: none; }

/* Empêche tout HTML user (Trumbowyg) de bouger la mise en page */
.boutik-tagline__title *,
.boutik-tagline__text * {
    position: static !important;
    float: none !important;
    transform: none !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    max-width: 100%;
}

@media (min-width: 640px) {
    .boutik-tagline-wrap { padding: 0 24px; margin-top: 22px; }
    .boutik-tagline { padding: 22px 28px; text-align: left; }
}
@media (min-width: 992px) {
    .boutik-tagline-wrap { padding: 0 32px; max-width: 1400px; }
}

/* Card À propos — neutralise tout débordement de HTML user */
body.page-boutikInfo .mb-boutik-presentation { position: relative; overflow: hidden; }
body.page-boutikInfo .mb-boutik-card__title { position: relative; z-index: 1; }
body.page-boutikInfo .mb-boutik-card__text,
body.page-boutikInfo .mb-boutik-card__text * {
    position: relative !important;
    float: none !important;
    transform: none !important;
    z-index: 1;
    line-height: 1.6;
}
body.page-boutikInfo .mb-boutik-card__text {
    word-wrap: break-word;
    overflow-wrap: break-word;
}

/* (Onglets .mb-adminp__tab — voir bloc unifié plus bas, section ADMIN EMAIL) */
.mb-adminp__hint {
    background: #fff5dc;
    border-left: 3px solid #e8a619;
    padding: 10px 14px;
    border-radius: 8px;
    color: #6e4d00;
    font-size: 13px;
    margin-bottom: 14px;
}

/* Variante "à action / en attente" pour mb-adminp__count */
.mb-adminp__count--warn {
    background: #fff5dc !important;
    color: #9a6a00 !important;
    border-color: #ffe9a6 !important;
}
.mb-adminp__count--warn b { color: #6e4d00 !important; }

/* =========================================================
   MY AVIS — liste compacte de mes avis publiés
   ========================================================= */
.mb-myavis-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}
@media (min-width: 768px) { .mb-myavis-list { grid-template-columns: repeat(2, 1fr); } }

.mb-myavis-card {
    background: #fff;
    border: 1px solid #e5edf2;
    border-radius: 16px;
    padding: 16px;
    box-shadow: 0 2px 10px rgba(15,23,42,0.04);
    transition: box-shadow 200ms ease, border-color 200ms ease, transform 200ms ease;
}
.mb-myavis-card:hover {
    box-shadow: 0 8px 22px rgba(15,23,42,0.08);
    border-color: rgba(19,166,194,0.22);
    transform: translateY(-2px);
}
.mb-myavis-card__head {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
}
.mb-myavis-card__avatar-wrap { flex-shrink: 0; }
.mb-myavis-card__avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    cursor: pointer;
    border: 2px solid #fff;
    box-shadow: 0 2px 6px rgba(15,23,42,0.08);
    transition: transform 200ms ease;
}
.mb-myavis-card__avatar:hover { transform: scale(1.06); }
.mb-myavis-card__head-main {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.mb-myavis-card__name {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 6px;
    line-height: 1.2;
}
.mb-myavis-card__pseudo {
    font-size: 14px;
    font-weight: 800;
    color: #1f2a32;
}
.mb-myavis-card__date {
    font-size: 11.5px;
    font-weight: 400;
    color: #788694;
}
.mb-myavis-card__stars {
    display: inline-flex;
    gap: 2px;
}
.mb-myavis-card__stars i { font-size: 13px; color: #d8e1e7; }
.mb-myavis-card__stars i.is-on { color: #f2a611; }
.mb-myavis-card__delete {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: #fff;
    color: #d44343;
    border: 1px solid #f2c5c5;
    cursor: pointer;
    font-size: 13px;
    transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}
.mb-myavis-card__delete:hover {
    background: #d44343;
    color: #fff;
    transform: scale(1.06);
}
.mb-myavis-card__target {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
    background: #f5fafc;
    border: 1px solid #e5edf2;
    border-radius: 10px;
    padding: 8px 12px;
    margin: 0 0 10px;
    font-size: 12.5px;
    color: #4a5560;
}
.mb-myavis-card__target i { color: var(--mb-primary, #13a6c2); }
.mb-myavis-card__target a { color: var(--mb-primary-dark, #0d8aa3); text-decoration: none; }
.mb-myavis-card__target a:hover { text-decoration: underline; }
.mb-myavis-card__target--platform {
    background: #eef5f8;
    border-color: rgba(19,166,194,0.22);
}
.mb-myavis-card__target--platform b { color: var(--mb-primary-dark, #0d8aa3); }
.mb-myavis-card__message {
    font-size: 13.5px;
    font-weight: 400;
    color: #36454f;
    line-height: 1.5;
    white-space: pre-wrap;
    word-wrap: break-word;
}

/* =========================================================
   MYFILES — Boîte d'ajout repliable + cards fichiers
   ========================================================= */
.mb-myfiles__addbox {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 350ms ease, opacity 250ms ease, margin 250ms ease;
    margin-bottom: 0;
}
.mb-myfiles__addbox.is-open {
    max-height: 2000px;
    opacity: 1;
    margin-bottom: 18px;
}

.mb-file-card {
    background: #fff;
    border: 1px solid #e5edf2;
    border-radius: 16px;
    box-shadow: 0 2px 10px rgba(15,23,42,0.04);
    padding: 0;
    overflow: hidden;
    transition: box-shadow 200ms ease, transform 200ms ease, border-color 200ms ease;
    /* Hauteur naturelle (comme adminActu) : pas de stretch */
}
.mb-file-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(15,23,42,0.08);
    border-color: rgba(19,166,194,0.22);
}
.mb-file-card__head {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px 16px 12px;
}
.mb-file-card__icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: linear-gradient(135deg, #eef5f8 0%, #d5e9f0 100%);
    color: var(--mb-primary, #13a6c2);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}
.mb-file-card__head-info {
    flex: 1;
    min-width: 0;
}
.mb-file-card__title {
    font-size: 1rem;
    font-weight: 800;
    color: #1f2a32;
    margin: 0 0 4px;
    line-height: 1.3;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.mb-file-card__meta {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    font-size: 11.5px;
    color: #788694;
    font-weight: 500;
}
.mb-file-card__meta i {
    color: var(--mb-primary, #13a6c2);
    margin-right: 4px;
    font-size: 10px;
}
.mb-file-card__badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 10px;
    border-radius: 999px;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    white-space: nowrap;
    box-shadow: 0 2px 6px rgba(15,23,42,0.15);
    flex-shrink: 0;
}
.mb-file-card__badge i { font-size: 10px; }
.mb-file-card__desc {
    padding: 0 16px 12px;
    margin: 0;
    font-size: 13px;
    color: #4a5560;
    line-height: 1.5;
}
.mb-file-card__view {
    display: flex;
    gap: 8px;
    padding: 0 16px 14px;
}
.mb-file-card__view-btn,
.mb-file-card__download-btn {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 9px 14px;
    border-radius: 10px;
    font-size: 12.5px;
    font-weight: 700;
    line-height: 1;
    text-decoration: none !important;
    transition: filter 180ms ease, transform 180ms ease;
    height: 38px;
}
.mb-file-card__view-btn { background: #eef5f8; color: var(--mb-primary-dark, #0d8aa3) !important; }
.mb-file-card__view-btn:hover { background: #d8e9ef; transform: translateY(-1px); }
.mb-file-card__download-btn { background: var(--mb-primary, #13a6c2); color: #fff !important; }
.mb-file-card__download-btn:hover { filter: brightness(1.08); transform: translateY(-1px); }
.mb-file-card__view-btn i,
.mb-file-card__download-btn i { font-size: 12px; line-height: 1; }

.mb-file-card__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    padding: 12px 16px 14px;
    border-top: 1px solid #eef2f5;
    background: #fafcfd;
    margin-top: auto;
}

/* =========================================================
   MYALBUMS — Card album refondue
   ========================================================= */
.mb-album-card {
    background: #fff;
    border: 1px solid #e5edf2;
    border-radius: 16px;
    box-shadow: 0 2px 10px rgba(15,23,42,0.04);
    overflow: hidden;
    transition: box-shadow 200ms ease, transform 200ms ease, border-color 200ms ease;
    /* Hauteur naturelle (comme adminActu) : pas de stretch ni de flex-column
       qui poussait les boutons tout en bas d'une carte étirée. */
}
.mb-album-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(15,23,42,0.08);
    border-color: rgba(19,166,194,0.22);
}
.mb-album-card__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
    padding: 14px 16px 10px;
}
.mb-album-card__head-info { flex: 1; min-width: 0; }
.mb-album-card__title {
    font-size: 1rem;
    font-weight: 800;
    color: #1f2a32;
    margin: 0 0 4px;
    line-height: 1.3;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.mb-album-card__meta {
    font-size: 12px;
    color: #788694;
    font-weight: 500;
}
.mb-album-card__meta i { color: var(--mb-primary, #13a6c2); margin-right: 4px; }
.mb-album-card__badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 10px;
    border-radius: 999px;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    white-space: nowrap;
    box-shadow: 0 2px 6px rgba(15,23,42,0.15);
    flex-shrink: 0;
}
.mb-album-card__badge i { font-size: 10px; }
.mb-album-card__desc {
    padding: 0 16px 12px;
    margin: 0;
    font-size: 13px;
    color: #4a5560;
    line-height: 1.5;
}
.mb-album-card__grid {
    display: grid;
    gap: 4px;
    background: #f5fafc;
    aspect-ratio: 16 / 10;
    min-height: 240px;
    max-height: 360px;
}
/* Sur grand écran : grille plus haute pour des photos plus grandes */
@media (min-width: 1200px) {
    .mb-album-card__grid { min-height: 280px; }
}
/* 1 photo : pleine largeur */
.mb-album-card__grid--1 {
    grid-template-columns: 1fr;
    grid-template-rows: 1fr;
}
/* 2 photos : 2 colonnes égales */
.mb-album-card__grid--2 {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr;
}
/* 3 photos : 1 grande à gauche + 2 empilées à droite */
.mb-album-card__grid--3 {
    grid-template-columns: 2fr 1fr;
    grid-template-rows: 1fr 1fr;
}
.mb-album-card__grid--3 .mb-album-card__photo:nth-child(1) { grid-row: span 2; }
/* 4 photos : 1 grande à gauche pleine hauteur + 3 empilées à droite */
.mb-album-card__grid--4 {
    grid-template-columns: 2fr 1fr;
    grid-template-rows: repeat(3, 1fr);
}
.mb-album-card__grid--4 .mb-album-card__photo:nth-child(1) { grid-row: span 3; }
/* 5+ photos : 1 grande à gauche pleine hauteur + 4 empilées à droite (la 5ème = "+N") */
.mb-album-card__grid--5 {
    grid-template-columns: 2fr 1fr;
    grid-template-rows: repeat(4, 1fr);
}
.mb-album-card__grid--5 .mb-album-card__photo:nth-child(1) { grid-row: span 4; }
.mb-album-card__photo {
    position: relative;
    overflow: hidden;
    background: #eef2f5;
    min-height: 0;
    min-width: 0;
}
.mb-album-card__photo picture {
    display: block;
    width: 100%;
    height: 100%;
    line-height: 0;
}
.mb-album-card__photo img {
    display: block;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    transition: transform 400ms ease;
    cursor: pointer;
}
.mb-album-card__photo:hover img { transform: scale(1.04); }
.mb-album-card__photo--more img { filter: brightness(0.55); }
.mb-album-card__photo-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 800;
    font-size: 1.6rem;
    pointer-events: none;
    text-shadow: 0 2px 6px rgba(0,0,0,0.45);
}
.mb-album-card__empty {
    padding: 30px 20px;
    text-align: center;
    color: #788694;
    background: #f5fafc;
    font-size: 13px;
}
.mb-album-card__empty i { font-size: 22px; color: #adb8c2; margin-right: 6px; }
.mb-album-card__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    padding: 12px 16px 14px;
    border-top: 1px solid #eef2f5;
    background: #fafcfd;
    /* Pas de margin-top:auto : la carte garde sa hauteur naturelle, le footer
       suit immédiatement le contenu (comme adminActu). */
}
.mb-album-card__refused-info {
    flex-basis: 100%;
    font-size: 11.5px;
    color: #7d1f1f;
    background: #fdecec;
    padding: 6px 10px;
    border-radius: 6px;
    margin-bottom: 4px;
}

/* Boutons d'action de la card album — text bien centré verticalement */
.mb-album-card__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 9px 16px;
    border-radius: 10px;
    border: 0;
    font-size: 13px;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
    color: #fff !important;
    transition: filter 180ms ease, transform 180ms ease;
    flex: 1 1 0;
    min-width: 0;
    height: 38px;
    max-height: 38px;
}
.mb-album-card__btn i { font-size: 12px; line-height: 1; }
.mb-album-card__btn:hover { filter: brightness(1.08); transform: translateY(-1px); }
.mb-album-card__btn--primary { background: var(--mb-primary, #13a6c2); }
.mb-album-card__btn--success { background: #1d8a3e; }
.mb-album-card__btn--warning { background: #e8a619; }
.mb-album-card__btn--danger  { background: #d44343; }

/* Fix global : alignement vertical des textes dans les boutons admin */
.btnAdminSmall,
.btnAdminLarge {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    line-height: 1 !important;
    gap: 6px;
}
.btnAdminSmall i,
.btnAdminLarge i { line-height: 1; }

/* =========================================================
   MYBLOCS — Gestion des catégories page d'accueil (refonte)
   ========================================================= */

/* Intro (quand aucun bloc créé) */
.mb-myblocs__intro {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    background: #fff;
    border: 1px solid #e5edf2;
    border-radius: 16px;
    padding: 28px;
    box-shadow: 0 2px 10px rgba(15,23,42,0.05);
    align-items: center;
    margin-bottom: 18px;
}
@media (max-width: 768px) { .mb-myblocs__intro { grid-template-columns: 1fr; gap: 18px; padding: 20px; } }
.mb-myblocs__intro-text h3 {
    font-size: 1.15rem;
    font-weight: 800;
    color: #1f2a32;
    margin: 0 0 12px;
}
.mb-myblocs__intro-text p {
    color: #4a5560;
    font-size: 0.92rem;
    line-height: 1.55;
    margin: 0 0 18px;
}

/* Aperçu démo de blocs */
.mb-myblocs__preview-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 6px;
}
.mb-myblocs__preview-tile {
    background: linear-gradient(135deg, #cfd8e2, #aab4be);
    color: #fff;
    font-weight: 700;
    font-size: 0.85rem;
    height: 70px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 6px rgba(15,23,42,0.10);
}
.mb-myblocs__preview-tile--12 { grid-column: span 12; height: 90px; font-size: 1rem; }
.mb-myblocs__preview-tile--6  { grid-column: span 6; }
.mb-myblocs__preview-tile--4  { grid-column: span 4; }

/* Toolbar avec toggle on/off */
.mb-myblocs__toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 14px;
    padding: 14px 16px;
    background: #fff;
    border: 1px solid #e5edf2;
    border-radius: 14px;
}
.mb-myblocs__toggle {
    display: flex;
    align-items: center;
    gap: 12px;
}
.mb-myblocs__toggle-label {
    font-size: 0.88rem;
    font-weight: 600;
    color: #36454f;
}
.mb-myblocs__toggle-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 14px;
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 700;
    cursor: pointer;
    border: 0;
    transition: background 180ms ease, transform 180ms ease;
}
.mb-myblocs__toggle-btn i { font-size: 16px; }
.mb-myblocs__toggle-btn.is-on { background: #e1f7e8; color: #146b2c; }
.mb-myblocs__toggle-btn.is-on:hover { background: #d3edd6; }
.mb-myblocs__toggle-btn.is-off { background: #fdecec; color: #c54545; }
.mb-myblocs__toggle-btn.is-off:hover { background: #f8d6d6; }
.mb-myblocs__toolbar-actions { display: flex; gap: 8px; align-items: center; }

/* Grille des blocs (12 colonnes Bootstrap-like) */
.mb-myblocs__grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 10px;
    margin-top: 14px;
}
.mb-myblocs__cell { display: block; }
.mb-myblocs__cell--12 { grid-column: span 12; }
.mb-myblocs__cell--6  { grid-column: span 6; }
.mb-myblocs__cell--4  { grid-column: span 4; }
.mb-myblocs__cell--3  { grid-column: span 3; }
@media (max-width: 768px) {
    .mb-myblocs__cell--3 { grid-column: span 6; }
}
@media (max-width: 480px) {
    .mb-myblocs__cell--4,
    .mb-myblocs__cell--3 { grid-column: span 12; }
}

/* Bloc individuel */
.mb-myblocs__bloc {
    position: relative;
    border-radius: 14px;
    min-height: 220px;
    background-size: cover !important;
    background-position: center !important;
    overflow: hidden;
    box-shadow: 0 4px 14px rgba(15,23,42,0.10);
    transition: transform 180ms ease, box-shadow 180ms ease;
}
.mb-myblocs__cell--12 .mb-myblocs__bloc { min-height: 180px; }
.mb-myblocs__bloc:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(15,23,42,0.16); }
.mb-myblocs__bloc-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(15,23,42,0.20) 0%, rgba(15,23,42,0.55) 100%);
    pointer-events: none;
}
.mb-myblocs__bloc-top {
    position: absolute;
    top: 10px;
    left: 10px;
    right: 10px;
    display: flex;
    justify-content: space-between;
    gap: 6px;
    z-index: 2;
}
.mb-myblocs__bloc-bottom {
    position: absolute;
    bottom: 10px;
    left: 10px;
    right: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 6px;
    z-index: 2;
}
.mb-myblocs__bloc-title {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    text-align: center;
    z-index: 2;
    padding: 0 16px;
}
.mb-myblocs__title-editable {
    color: #fff;
    text-shadow: 0 2px 8px rgba(0,0,0,0.55);
    cursor: text;
    padding: 6px 12px;
    border-radius: 8px;
    outline: 2px solid transparent;
    outline-offset: 2px;
    transition: background 180ms ease, outline-color 180ms ease;
}
.mb-myblocs__title-editable:focus {
    background: rgba(255,255,255,0.18);
    outline-color: rgba(255,255,255,0.6);
}
.mb-myblocs__save-title {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 6px 12px;
    background: #1d8a3e;
    color: #fff;
    border: 0;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 700;
    margin-bottom: 8px;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(29,138,62,0.40);
}

/* Chips boutons (Image / Lien / Trier / Supprimer) */
.mb-myblocs__chip {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(255,255,255,0.95);
    color: #1f2a32;
    border: 0;
    font-size: 0.72rem;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(0,0,0,0.20);
    transition: transform 180ms ease, background 180ms ease;
    white-space: nowrap;
}
.mb-myblocs__chip:hover { transform: scale(1.05); }
.mb-myblocs__chip i { font-size: 11px; }
.mb-myblocs__chip--ok { background: #1d8a3e; color: #fff; }
.mb-myblocs__chip--warn { background: #e8a619; color: #fff; }
.mb-myblocs__chip--neutral { background: rgba(255,255,255,0.95); color: #1f2a32; }
.mb-myblocs__chip--danger { background: #d44343; color: #fff; }
.mb-myblocs__chip--danger:hover { background: #b03a3a; }

/* Select de taille */
.mb-myblocs__size-select {
    border-radius: 999px;
    background: rgba(255,255,255,0.95);
    border: 0;
    padding: 5px 10px;
    font-size: 0.72rem;
    font-weight: 700;
    color: #1f2a32;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(0,0,0,0.20);
    appearance: auto;
    max-width: 130px;
}

/* =========================================================
   THEIRFAVORIS — groupes par utilisateur
   ========================================================= */
.mb-theirfav-group {
    background: #fff;
    border: 1px solid #e5edf2;
    border-radius: 16px;
    padding: 14px;
    margin-bottom: 14px;
    box-shadow: 0 2px 10px rgba(15,23,42,0.04);
}
.mb-theirfav-group__head {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 4px 6px 12px;
    margin-bottom: 8px;
    border-bottom: 1px solid #eef2f5;
}
.mb-theirfav-group__avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
    cursor: pointer;
    border: 2px solid #fff;
    box-shadow: 0 2px 6px rgba(15,23,42,0.08);
    transition: transform 200ms ease;
    flex-shrink: 0;
}
.mb-theirfav-group__avatar:hover { transform: scale(1.06); }
.mb-theirfav-group__main {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
    line-height: 1.2;
}
.mb-theirfav-group__label {
    font-size: 11.5px;
    color: #788694;
    font-weight: 400;
}
.mb-theirfav-group__pseudo {
    font-size: 14px;
    font-weight: 800;
    color: #1f2a32;
}
.mb-theirfav-group__count {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 999px;
    background: #fbe9e9;
    color: #c54545;
    font-size: 12.5px;
    font-weight: 700;
}
.mb-theirfav-group__count i { font-size: 11px; }

/* mb-adminp__empty refonte : centrage + image */
.mb-adminp__empty img,
.mb-adminp__empty picture { display: inline-block; }
.mb-adminp__empty h2 {
    font-size: 1.05rem;
    font-weight: 800;
    color: #1f2a32;
    margin: 0;
}
.mb-adminp__empty p { margin: 6px 0 14px; }
.mb-adminp__empty .btn { border-radius: 999px; padding: 8px 18px; font-weight: 700; }

/* =========================================================
   FORM CARD — section blanche pour formulaires admin
   (editAccount, adminEmail, adminMessage repondre, etc.)
   ========================================================= */
.mb-form-card {
    background: #fff;
    border: 1px solid #e5edf2;
    border-radius: 16px;
    box-shadow: 0 2px 10px rgba(15,23,42,0.05);
    margin-bottom: 16px;
    overflow: hidden;
}

/* =========================================================
   CREATE pages (createAnnonce/createActu/createAlbum)
   Cards : .mb-createp__card / __head / __body / __icon / __title
   ========================================================= */
.mb-createp__card {
    background: #fff;
    border: 1px solid #e5edf2;
    border-radius: 16px;
    box-shadow: 0 2px 10px rgba(15,23,42,0.05);
    margin-bottom: 16px;
    overflow: hidden;
}
.mb-createp__card-head {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 20px 12px;
    border-bottom: 1px solid #eef2f5;
}
.mb-createp__card-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    background: #eef5f8;
    color: var(--mb-primary, #13a6c2);
    flex-shrink: 0;
}
.mb-createp__card-icon--info    { background: #e7eefe; color: #3b6fd1; }
.mb-createp__card-icon--success { background: #e1f7e8; color: #1d8a3e; }
.mb-createp__card-icon--warning { background: #fff5dc; color: #9a6a00; }
.mb-createp__card-icon--primary { background: #eef5f8; color: var(--mb-primary, #13a6c2); }
.mb-createp__card-title {
    font-size: 1rem !important;
    font-weight: 800 !important;
    color: #1f2a32 !important;
    margin: 0 !important;
    line-height: 1.2;
}
.mb-createp__card-lead {
    font-size: 12.5px;
    color: #788694;
    margin: 4px 0 0;
    line-height: 1.35;
}
.mb-createp__card-body { padding: 16px 20px 18px; }
.mb-createp__card-body .row { margin-left: -8px; margin-right: -8px; }
.mb-createp__card-body .mb-field { padding: 0 8px 14px; }

/* Dropzone harmonisée */
.mb-createp__dropzone {
    border-radius: 14px !important;
    border: 2px dashed #c8d2dc !important;
    background: #f8fbfd !important;
    min-height: 180px !important;
    padding: 24px !important;
    text-align: center;
    font-size: 14px;
    font-weight: 500;
    color: #607080;
    transition: border-color 200ms ease, background 200ms ease;
}
.mb-createp__dropzone:hover,
.mb-createp__dropzone.dz-drag-hover {
    border-color: var(--mb-primary, #13a6c2) !important;
    background: #eef5f8 !important;
}

/* Bibliothèque */
.mb-createp__biblio {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.mb-createp__biblio-img {
    height: 100px;
    border-radius: 10px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: transform 180ms ease, border-color 180ms ease;
}
.mb-createp__biblio-img:hover { transform: scale(1.04); border-color: var(--mb-primary, #13a6c2); }
.mb-createp__biblio-img.fileBiblioSelect { border-color: #1d8a3e; }

/* Bouton enregistrer en bas */
.mb-createp__bottom-save {
    text-align: center;
    padding: 14px 0 24px;
}
.mb-createp__save {
    padding: 12px 28px !important;
    font-size: 15px !important;
    border-radius: 12px !important;
    font-weight: 700 !important;
}
.mb-createp__save[disabled] { opacity: 0.55; cursor: not-allowed; }

/* Champ select dans card body : remettre une apparence native */
.mb-createp__card-body select.mb-field__input { appearance: auto; }

/* Bloc interne (size selector) sous le row des nivs */
.mb-createp__inner-block {
    margin-top: 10px;
    padding: 16px;
    background: #f5fafc;
    border: 1px solid #e5edf2;
    border-radius: 12px;
}

/* Chips de tailles (S/M/L/XL ou pointures) */
.mb-createp__sizes {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.mb-createp__size-chip {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 16px;
    min-width: 48px;
    border-radius: 10px;
    background: #fff;
    border: 1px solid #d8e1e7;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    color: #36454f;
    margin: 0;
    transition: border-color 180ms ease, background 180ms ease, color 180ms ease;
}
.mb-createp__size-chip input { position: absolute; opacity: 0; pointer-events: none; }
.mb-createp__size-chip:hover { border-color: var(--mb-primary, #13a6c2); color: var(--mb-primary-dark, #0d8aa3); }
.mb-createp__size-chip:has(input:checked) {
    background: var(--mb-primary, #13a6c2);
    border-color: var(--mb-primary, #13a6c2);
    color: #fff;
    box-shadow: 0 4px 10px rgba(19,166,194,0.30);
}

.mb-form-card__head {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px 20px 14px;
    border-bottom: 1px solid #eef2f5;
}
.mb-form-card__icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: #eef5f8;
    color: var(--mb-primary, #13a6c2);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 17px;
    flex-shrink: 0;
}
.mb-form-card__icon--info    { background: #e7eefe; color: #3b6fd1; }
.mb-form-card__icon--success { background: #e1f7e8; color: #1d8a3e; }
.mb-form-card__icon--warning { background: #fff5dc; color: #9a6a00; }
.mb-form-card__icon--accent  { background: #fde7e7; color: #d44343; }
.mb-form-card__title {
    font-size: 1rem !important;
    font-weight: 700 !important;
    color: #1f2a32 !important;
    margin: 0 !important;
    line-height: 1.2 !important;
}
.mb-form-card__lead {
    margin: 4px 0 0 !important;
    font-size: 12.5px;
    color: #607080;
    line-height: 1.4;
}
.mb-form-card__body { padding: 18px 20px 20px; }
.mb-form-card__actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    padding-top: 14px;
    margin-top: 14px;
    border-top: 1px solid #eef2f5;
}

/* =========================================================
   PAGE editAccount — largeur alignée sur editBoutik
   ========================================================= */
.mb-editaccount {
    width: 100%;
    padding: 18px 12px 50px;
}
@media (min-width: 768px) { .mb-editaccount { padding-left: 24px; padding-right: 24px; } }
@media (min-width: 1280px) { .mb-editaccount { padding-left: 32px; padding-right: 32px; } }
.mb-editaccount .container-fluid { padding-left: 0; padding-right: 0; }

/* Champs de formulaire BEM */
.mb-field { padding: 0 8px 14px; }
.mb-field__label {
    display: block;
    font-size: 12.5px !important;
    font-weight: 700 !important;
    color: #36454f !important;
    margin: 0 0 6px !important;
    line-height: 1.2 !important;
    text-transform: none !important;
}
.mb-field__label-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 6px;
}
.mb-field__required { color: #d44343; }
.mb-field__optional { color: #98a4ae; font-weight: 400; font-size: 11px; }
.mb-field__input {
    height: 42px;
    border-radius: 10px !important;
    border: 1px solid #d8e1e7 !important;
    background: #fff !important;
    font-size: 14px !important;
    color: #1f2a32 !important;
    padding: 0 14px !important;
    width: 100%;
    transition: border-color 180ms ease, box-shadow 180ms ease;
}
.mb-field__input:focus {
    border-color: var(--mb-primary, #13a6c2) !important;
    outline: none !important;
    box-shadow: 0 0 0 3px rgba(19,166,194,0.12) !important;
}
.mb-field__input--textarea {
    height: auto !important;
    padding: 12px 14px !important;
    resize: vertical;
    min-height: 120px;
}
select.mb-field__input { appearance: auto; }
.mb-field__counter {
    text-align: right;
    font-size: 11.5px;
    color: #607080;
    margin-top: 4px;
}
.mb-field__smiley {
    background: transparent !important;
    padding: 4px !important;
    color: var(--mb-primary, #13a6c2) !important;
    cursor: pointer;
}
.mb-field__input-wrap {
    position: relative;
    display: flex;
    align-items: center;
}
.mb-field__icon-suffix {
    position: absolute;
    right: 14px;
    color: #607080;
    cursor: pointer;
    transition: color 180ms ease;
}
.mb-field__icon-suffix:hover { color: var(--mb-primary, #13a6c2); }

/* invalid-feedback : message masqué par défaut, n'apparaît que si le champ
   est marqué .is-invalid (par JS) ou via HTML5 :invalid après submit. */
.mb-field .invalid-feedback {
    display: none;
    color: #d44343;
    font-size: 12px;
    font-weight: 600;
    margin-top: 4px;
}
.mb-field:has(input.is-invalid) .invalid-feedback,
.mb-field:has(select.is-invalid) .invalid-feedback,
.mb-field:has(textarea.is-invalid) .invalid-feedback { display: block; }
.was-validated .mb-field:has(input:invalid) .invalid-feedback,
.was-validated .mb-field:has(select:invalid) .invalid-feedback,
.was-validated .mb-field:has(textarea:invalid) .invalid-feedback { display: block; }
/* Message lié à un check Ajax (#checkEmailMess, #checkPseudoMess, #checkPwdMess)
   : afficher tant qu'il contient du texte (rempli par JS) */
.mb-field .invalid-feedback[id]:not(:empty) { display: block; }

/* Inline form (email diffusion) */
.mb-inline-form {
    display: flex;
    gap: 8px;
    align-items: stretch;
    flex-wrap: wrap;
}
.mb-inline-form .form-control {
    height: 42px;
    border-radius: 10px;
    border: 1px solid #d8e1e7;
    flex: 1 1 240px;
    min-width: 0;
}

/* Checkboxes custom */
.mb-checks {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 4px 0;
}
.mb-check {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    user-select: none;
    margin: 0;
    padding: 6px 0;
}
.mb-check input { position: absolute; opacity: 0; pointer-events: none; }
.mb-check__box {
    width: 20px; height: 20px;
    border: 2px solid #d8e1e7;
    border-radius: 6px;
    background: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background 180ms ease, border-color 180ms ease;
    flex-shrink: 0;
}
.mb-check__box::after {
    content: "";
    width: 11px; height: 6px;
    border-left: 2px solid #fff;
    border-bottom: 2px solid #fff;
    transform: rotate(-45deg) translate(1px, -1px);
    opacity: 0;
}
.mb-check input:checked + .mb-check__box {
    background: var(--mb-primary, #13a6c2);
    border-color: var(--mb-primary, #13a6c2);
}
.mb-check input:checked + .mb-check__box::after { opacity: 1; }
.mb-check__label { font-size: 13.5px; color: #36454f; }

/* Boutons primaires/ghost */
.mb-btn-primary {
    background: linear-gradient(135deg, var(--mb-primary, #13a6c2) 0%, #0e8fa8 100%) !important;
    color: #fff !important;
    border: 0 !important;
    font-weight: 700 !important;
    font-size: 13px !important;
    padding: 10px 18px !important;
    border-radius: 10px !important;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    box-shadow: 0 4px 12px rgba(19,166,194,0.25);
    transition: transform 180ms ease, box-shadow 180ms ease, filter 180ms ease;
    cursor: pointer;
}
.mb-btn-primary:hover {
    color: #fff !important;
    transform: translateY(-1px);
    filter: brightness(1.05);
    box-shadow: 0 6px 18px rgba(19,166,194,0.35);
}
.mb-btn-ghost {
    background: #fff !important;
    color: #36454f !important;
    border: 1px solid #d8e1e7 !important;
    font-weight: 600 !important;
    font-size: 13px !important;
    padding: 10px 18px !important;
    border-radius: 10px !important;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    transition: background 180ms ease, border-color 180ms ease, transform 180ms ease;
    cursor: pointer;
}
.mb-btn-ghost:hover {
    background: #eef5f8 !important;
    border-color: var(--mb-primary, #13a6c2) !important;
    color: var(--mb-primary-dark, #0d8aa3) !important;
    transform: translateY(-1px);
    text-decoration: none !important;
}

/* Photo de profil */
.mb-profile-photo {
    width: 110px !important;
    height: 110px !important;
    border-radius: 50% !important;
    object-fit: cover;
    margin: 0 auto !important;
    display: block !important;
}

/* Liste des règles de mot de passe */
.mb-pwd-rules {
    list-style: none;
    margin: 12px 0 0;
    padding: 0;
    font-size: 12.5px;
    color: #4a5560;
}
.mb-pwd-rules li {
    padding: 3px 0;
    display: flex;
    align-items: center;
    gap: 8px;
}
.mb-pwd-rules li i {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #eef2f5;
    color: #98a4ae;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 9px;
    flex-shrink: 0;
}
.mb-pwd-rules li i[id^="check"].is-valid {
    background: #e1f7e8;
    color: #1d8a3e;
}

/* =========================================================
   MESSAGERIE — liste de conversations (.mb-conv-*)
   ========================================================= */
.mb-conv-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    background: #fff;
    border: 1px solid #e5edf2;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(15,23,42,0.05);
}
.mb-conv-item {
    display: flex;
    align-items: stretch;
    border-bottom: 1px solid #eef2f5;
    transition: background 180ms ease;
    position: relative;
}
.mb-conv-item:last-child { border-bottom: 0; }
.mb-conv-item:hover { background: #f5fafc; }
.mb-conv-item.is-unread { background: linear-gradient(90deg, rgba(19,166,194,0.08) 0%, rgba(255,255,255,0) 70%); }

.mb-conv-item__link {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 18px;
    flex: 1;
    color: #36454f !important;
    text-decoration: none !important;
}
.mb-conv-item__link:hover { color: #36454f !important; text-decoration: none !important; }
.mb-conv-item__avatar-wrap { position: relative; flex-shrink: 0; }
.mb-conv-item__avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 2px 6px rgba(15,23,42,0.10);
}
.mb-conv-item__dot {
    position: absolute;
    top: -2px;
    right: -2px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #d44343;
    border: 2px solid #fff;
    box-shadow: 0 0 0 2px rgba(228,76,76,0.18);
}
.mb-conv-item__body { flex: 1; min-width: 0; }
.mb-conv-item__author {
    font-weight: 700;
    font-size: 14px;
    color: #1f2a32;
    margin-bottom: 2px;
}
.mb-conv-item.is-unread .mb-conv-item__author { color: #0d8aa3; }
.mb-conv-item__preview {
    font-size: 13px;
    color: #607080;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.mb-conv-item__from-you { font-weight: 700; color: #36454f; }
.mb-conv-item__delete {
    background: transparent;
    border: 0;
    width: 44px;
    color: #adb8c2;
    cursor: pointer;
    transition: color 180ms ease, background 180ms ease;
    flex-shrink: 0;
}
.mb-conv-item__delete:hover { color: #d44343; background: #fdecec; }

/* =========================================================
   MESSAGERIE — vue conversation (.mb-chat__*)
   ========================================================= */
.mb-chat {
    display: flex;
    flex-direction: column;
    gap: 12px;
    background: linear-gradient(180deg, #f5fafc 0%, #fff 100%);
    border: 1px solid #e5edf2;
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 18px;
    box-shadow: 0 2px 10px rgba(15,23,42,0.05);
}
.mb-chat__row {
    display: flex;
    flex-direction: column;
    max-width: 85%;
}
.mb-chat__row--mine { align-self: flex-end; align-items: flex-end; }
.mb-chat__row--other { align-self: flex-start; align-items: flex-start; }
.mb-chat__author {
    font-size: 12px;
    color: #607080;
    margin-bottom: 4px;
    padding: 0 4px;
}
.mb-chat__author b { color: #1f2a32; font-weight: 700; }
.mb-chat__date { color: #98a4ae; font-weight: 400; }
.mb-chat__bubble {
    padding: 10px 14px;
    border-radius: 14px;
    font-size: 14px;
    line-height: 1.5;
    box-shadow: 0 2px 6px rgba(15,23,42,0.06);
    word-wrap: break-word;
}
.mb-chat__row--mine .mb-chat__bubble {
    background: linear-gradient(135deg, var(--mb-primary, #13a6c2) 0%, #0e8fa8 100%);
    color: #fff;
    border-bottom-right-radius: 4px;
}
.mb-chat__row--other .mb-chat__bubble {
    background: #fff;
    color: #1f2a32;
    border: 1px solid #e5edf2;
    border-bottom-left-radius: 4px;
}
.mb-chat__seen {
    font-size: 11px;
    color: #98a4ae;
    margin-top: 4px;
    padding: 0 6px;
}

/* Pieces jointes (annonce/actu/commande) dans le chat */
.mb-chat__attachment {
    background: #fff;
    border: 1px solid #e5edf2;
    border-radius: 12px;
    padding: 12px;
    margin-bottom: 6px;
    max-width: 100%;
    width: 280px;
    box-shadow: 0 2px 8px rgba(15,23,42,0.06);
}
.mb-chat__attachment-title {
    font-weight: 700;
    font-size: 14px;
    color: #1f2a32;
    margin-bottom: 4px;
}
.mb-chat__attachment-cat { font-size: 11.5px; color: #607080; margin-bottom: 6px; }
.mb-chat__attachment-price {
    display: inline-block;
    background: #eef5f8;
    color: #0d8aa3;
    padding: 4px 10px;
    border-radius: 8px;
    font-size: 13px;
    margin-bottom: 8px;
}
.mb-chat__attachment-thumb {
    height: 110px;
    border-radius: 10px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    margin-bottom: 8px;
}
.mb-chat__attachment-cta {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 12px !important;
    padding: 6px 12px !important;
}
.mb-chat__attachment--order { background: #fff5dc; border-color: #ffe9a6; }
.mb-chat__attachment--order .mb-chat__attachment-title a {
    color: #9a6a00;
    text-decoration: underline;
}

@media (max-width: 768px) {
    .mb-chat__row { max-width: 95%; }
    .mb-chat__attachment { width: 100%; }
    .mb-conv-item__link { padding: 12px 14px; gap: 10px; }
    .mb-conv-item__avatar { width: 42px; height: 42px; }
    .mb-form-card__head { padding: 14px; }
    .mb-form-card__body { padding: 14px; }
}

/* =========================================================
   FIX SUPERPOSITION AVATAR/LABEL — pages adminFiles & adminAlbums
   Les blocs fileBloc.php / albumBloc.php utilisent .imgBlocProfil
   et un span btnBloc en position absolute (left:50px, top:0px).
   Avec mes nouvelles cards admin (padding 18px), ces elements
   chevauchaient le titre. On les repositionne proprement.
   ========================================================= */
body.page-adminFiles .formAdmin .icon-box.icon-box-cyan,
body.page-adminAlbums .formAdmin .icon-box.icon-box-cyan {
    padding-top: 64px !important;
    position: relative !important;
    overflow: visible !important;
}

body.page-adminFiles .formAdmin .icon-box.icon-box-cyan .imgBlocProfil,
body.page-adminAlbums .formAdmin .icon-box.icon-box-cyan .imgBlocProfil {
    position: absolute !important;
    top: 12px !important;
    left: 14px !important;
    width: 44px !important;
    height: 44px !important;
    margin: 0 !important;
    border-radius: 50% !important;
    z-index: 5;
}

body.page-adminFiles .formAdmin .icon-box.icon-box-cyan > span.btnBloc[style*="left:50px"],
body.page-adminAlbums .formAdmin .icon-box.icon-box-cyan > span.btnBloc[style*="left:50px"],
body.page-adminFiles .formAdmin .icon-box.icon-box-cyan span.btn-light.btnBloc[style*="left:50px"],
body.page-adminAlbums .formAdmin .icon-box.icon-box-cyan span.btn-light.btnBloc[style*="left:50px"] {
    position: absolute !important;
    left: 68px !important;
    top: 20px !important;
    font-size: 11px !important;
    background: #fff !important;
    color: #36454f !important;
    border: 1px solid #d8e1e7 !important;
    border-radius: 999px !important;
    padding: 4px 10px !important;
    box-shadow: 0 2px 6px rgba(15,23,42,0.06);
    z-index: 6;
    height: auto !important;
    line-height: 1.2 !important;
}

/* Le span etat (en ligne / hors ligne) reste en position relative dans son span absolu */
body.page-adminFiles .formAdmin .icon-box.icon-box-cyan span[style*="position:absolute"][style*="right:165px"] {
    top: 20px !important;
}

/* =========================================================
   Cards d'avis (page adminAvis)
   ========================================================= */
.mb-avis-card {
    background: #fff;
    border: 1px solid #e5edf2;
    border-radius: 16px;
    padding: 18px 18px 16px;
    margin-bottom: 12px;
    box-shadow: 0 2px 10px rgba(15,23,42,0.05);
    transition: box-shadow 220ms ease, border-color 220ms ease;
}
.mb-avis-card:hover {
    box-shadow: 0 8px 24px rgba(15,23,42,0.10);
    border-color: rgba(19,166,194,0.25);
}
.mb-avis-card__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 12px;
}
.mb-avis-card__profile {
    display: flex;
    align-items: center;
    gap: 12px;
}
.mb-avis-card__avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #fff;
    box-shadow: 0 2px 8px rgba(15,23,42,0.10);
}
.mb-avis-card__meta { display: flex; flex-direction: column; }
.mb-avis-card__author { font-weight: 700; color: #1f2a32; font-size: 14px; }
.mb-avis-card__date { font-size: 12px; color: #607080; }
.mb-avis-card__actions {
    display: flex;
    align-items: center;
    gap: 8px;
}
.mb-avis-card__toggle {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 999px;
    color: #fff !important;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    border: 0;
    transition: filter 180ms ease, transform 180ms ease;
}
.mb-avis-card__toggle:hover { filter: brightness(1.08); transform: translateY(-1px); }
.mb-avis-card__delete {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: #fdecec;
    color: #d44343 !important;
    cursor: pointer;
    border: 0;
    transition: background 180ms ease, transform 180ms ease;
}
.mb-avis-card__delete:hover { background: #d44343; color: #fff !important; transform: translateY(-1px); }
.mb-avis-card__source {
    font-size: 12.5px;
    color: #4a5560;
    margin-bottom: 8px;
}
.mb-avis-card__source a { color: var(--mb-primary, #13a6c2); font-weight: 600; }
.mb-avis-card__source--platform { color: #3b6fd1; font-weight: 600; }
.mb-avis-card__rating {
    display: flex;
    gap: 2px;
    margin-bottom: 10px;
}
.mb-avis-card__star { color: #d8e1e7; font-size: 15px; }
.mb-avis-card__star.is-on { color: #f2a611; }
.mb-avis-card__message {
    font-size: 14px;
    line-height: 1.55;
    color: #36454f;
    background: #f5fafc;
    border-radius: 10px;
    padding: 12px 14px;
}

/* =========================================================
   PAGE ANNONCE — Bandeau admin sticky directement sous le header
   ========================================================= */
.mb-annonce-adminbar {
    /* Tout en haut, directement après la barre de navigation maboutik,
       sans marge ni offset qui créerait un trou avec le bandeau visiteur. */
    position: relative;
    top: 0;
    margin: 0;
    z-index: 80;
    background: linear-gradient(135deg, #fff8e1 0%, #fff5dc 100%);
    border-top: 1px solid #ffe9a6;
    border-bottom: 1px solid #ffe9a6;
    box-shadow: 0 4px 14px rgba(154, 106, 0, 0.10);
    padding: 10px 0;
}
/* Quand l'adminbar est presente, le hero ne doit plus glisser sous le header */
.mb-annonce-adminbar + section.boutik-hero,
.mb-annonce-adminbar ~ section.boutik-hero {
    margin-top: 0 !important;
}
.mb-annonce-adminbar__inner {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
    justify-content: space-between;
}
.mb-annonce-adminbar__title {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13.5px;
    font-weight: 700;
    color: #6e4d00;
}
.mb-annonce-adminbar__title i {
    background: #fff;
    border-radius: 8px;
    padding: 6px 8px;
    color: #9a6a00;
    font-size: 13px;
    border: 1px solid #ffe9a6;
}
.mb-annonce-adminbar__state {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 999px;
    background: #fff;
    color: #9a6a00;
    font-weight: 700;
    font-size: 12.5px;
    border: 1px solid #ffe9a6;
}
.mb-annonce-adminbar__state i { font-size: 11px; }
.mb-annonce-adminbar__state--online {
    background: #e1f7e8;
    color: #146b2c;
    border-color: rgba(29,138,62,0.30);
}
.mb-annonce-adminbar__state--offline {
    background: #eef2f5;
    color: #4a5560;
    border-color: #d8e1e7;
}
.mb-annonce-adminbar__state--pending {
    background: #fff5dc;
    color: #9a6a00;
    border-color: #ffe9a6;
}
.mb-annonce-adminbar__state--refused {
    background: #fdecec;
    color: #c54545;
    border-color: #f2c5c5;
}
.mb-annonce-adminbar__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    align-items: center;
}
.mb-adminbar-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    border-radius: 10px;
    font-size: 12.5px;
    font-weight: 700;
    border: 0;
    cursor: pointer;
    text-decoration: none !important;
    transition: transform 180ms ease, filter 180ms ease, box-shadow 180ms ease;
    color: #fff !important;
}
.mb-adminbar-btn:hover { transform: translateY(-1px); filter: brightness(1.06); box-shadow: 0 4px 10px rgba(15,23,42,0.12); }
.mb-adminbar-btn--info    { background: #3b6fd1; }
.mb-adminbar-btn--success { background: #1d8a3e; }
.mb-adminbar-btn--warning { background: #e8a619; color: #4a3000 !important; }
.mb-adminbar-btn--danger  { background: #d44343; }

@media (max-width: 768px) {
    .mb-annonce-adminbar { position: relative; top: 0; padding: 8px 0; }
    .mb-annonce-adminbar__inner { gap: 8px; }
    .mb-adminbar-btn { padding: 7px 11px; font-size: 11.5px; }
    .mb-adminbar-btn span { display: none; } /* mobile : icones seules */
    .mb-adminbar-btn { padding: 8px 10px; }
}

/* =========================================================
   PAGE ANNONCE/ACTU — Carrousel "propose aussi" modernise
   (.mb-related — grille responsive de cards produit)
   ========================================================= */
.mb-related {
    padding: 36px 0 48px;
    background: linear-gradient(180deg, #f5fafc 0%, #fff 100%);
    border-top: 1px solid var(--mb-border, #e5edf2);
    margin-top: 24px;
}
/* Variante "inline" : la section s'insère DANS la colonne principale
   (sous la carte annonce/actu), pas en pleine largeur sous la page.
   Pas de fond / pas de border-top / padding réduit. */
.mb-related--inline {
    padding: 22px 0 8px;
    background: transparent;
    border-top: none;
    margin-top: 18px;
}
.mb-related--inline .mb-related__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
}
@media (min-width: 576px) {
    .mb-related--inline .mb-related__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 768px) {
    .mb-related--inline .mb-related__grid { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 1200px) {
    .mb-related--inline .mb-related__grid { grid-template-columns: repeat(3, 1fr); gap: 14px; }
}
.mb-related__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 20px;
}
.mb-related__title {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0;
    font-size: 1.15rem;
    font-weight: 700;
    color: #1f2a32;
}
.mb-related__title > i {
    width: 38px;
    height: 38px;
    background: linear-gradient(135deg, var(--mb-boutik-color, var(--mb-primary, #13a6c2)) 0%, #0e8fa8 100%);
    color: #fff;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    flex-shrink: 0;
}
.mb-related__title-eyebrow {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 500;
    color: #607080;
}
.mb-related__shop-name {
    color: var(--mb-boutik-color, var(--mb-primary, #13a6c2)) !important;
    font-weight: 800;
    text-decoration: none !important;
    transition: color 180ms ease;
}
.mb-related__shop-name:hover { filter: brightness(0.85); }
.mb-related__see-all {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border-radius: 10px;
    background: var(--mb-boutik-color, var(--mb-primary, #13a6c2));
    color: #fff !important;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none !important;
    transition: filter 180ms ease, transform 180ms ease;
}
.mb-related__see-all:hover { filter: brightness(1.08); transform: translateX(2px); }

.mb-related__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
}
@media (min-width: 576px) { .mb-related__grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 768px) { .mb-related__grid { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 1200px) { .mb-related__grid { grid-template-columns: repeat(4, 1fr); gap: 18px; } }

.mb-related__card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid var(--mb-border, #e5edf2);
    box-shadow: 0 2px 8px rgba(15,23,42,0.05);
    text-decoration: none !important;
    color: #36454f !important;
    transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}
.mb-related__card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(15,23,42,0.10);
    border-color: rgba(19,166,194,0.30);
    color: #36454f !important;
}
.mb-related__card.is-current {
    border-color: var(--mb-boutik-color, var(--mb-primary, #13a6c2));
    box-shadow: 0 0 0 2px rgba(19,166,194,0.20);
}
.mb-related__media {
    position: relative;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: #f5fafc;
}
.mb-related__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 350ms ease;
}
.mb-related__card:hover .mb-related__img { transform: scale(1.05); }
.mb-related__badge {
    position: absolute;
    top: 8px;
    left: 8px;
    padding: 3px 8px;
    border-radius: 999px;
    font-size: 10.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #fff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.10);
}
.mb-related__badge--new   { background: #1d8a3e; }
.mb-related__badge--promo { background: #d44343; }
.mb-related__body {
    padding: 12px 14px 14px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex: 1;
}
.mb-related__name {
    font-size: 13.5px;
    font-weight: 600;
    color: #1f2a32;
    line-height: 1.35;
    margin: 0;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}
.mb-related__price {
    font-size: 1rem;
    font-weight: 800;
    color: var(--mb-boutik-color, var(--mb-primary, #13a6c2));
    margin-top: auto;
    padding-top: 4px;
}

/* =========================================================
   Welcome card pour nouvelle boutik
   ========================================================= */
.mb-myacc-card--welcome {
    background: linear-gradient(135deg, #ffffff 0%, #f5fafc 100%);
    border-color: rgba(19,166,194,0.20);
    overflow: hidden;
}
.mb-myacc-welcome {
    padding: 32px 28px;
    text-align: center;
}
.mb-myacc-welcome__icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 16px;
    border-radius: 20px;
    background: linear-gradient(135deg, var(--mb-primary, #13a6c2) 0%, #0e8fa8 100%);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    box-shadow: 0 12px 28px rgba(19,166,194,0.30);
}
.mb-myacc-welcome__title {
    margin: 0 0 8px !important;
    font-size: 1.4rem !important;
    font-weight: 800 !important;
    color: #1f2a32 !important;
    line-height: 1.25 !important;
}
.mb-myacc-welcome__lead {
    margin: 0 auto 18px;
    max-width: 540px;
    font-size: 14px;
    color: #4a5560;
    line-height: 1.6;
}
.mb-myacc-welcome__lead b { color: var(--mb-primary-dark, #0d8aa3); }
.mb-myacc-welcome__actions {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 18px;
}
/* Barre de progression de completion (welcome card etat=0) */
.mb-myacc-welcome__progress {
    margin: 6px auto 18px;
    max-width: 460px;
    text-align: left;
}
.mb-myacc-welcome__progress-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 12.5px;
    font-weight: 700;
    color: #4a5560;
    margin-bottom: 6px;
}
.mb-myacc-welcome__progress-head i { margin-right: 6px; color: var(--mb-primary, #13a6c2); }
.mb-myacc-welcome__progress-pct {
    color: var(--mb-primary-dark, #0d8aa3);
    font-weight: 800;
}
.mb-myacc-welcome__progress-bar {
    height: 8px;
    background: #eef2f5;
    border-radius: 999px;
    overflow: hidden;
}
.mb-myacc-welcome__progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--mb-primary, #13a6c2) 0%, #0e8fa8 100%);
    border-radius: 999px;
    transition: width 400ms ease;
}
.mb-myacc-welcome__progress-fill.is-full {
    background: linear-gradient(90deg, #1d8a3e 0%, #146b2c 100%);
}
.mb-myacc-welcome__steps {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
    padding-top: 22px;
    border-top: 1px solid #eef2f5;
}
.mb-myacc-welcome__step {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    background: #fff;
    border: 1px solid #e5edf2;
    border-radius: 999px;
    font-size: 12.5px;
    font-weight: 600;
    color: #4a5560;
}
.mb-myacc-welcome__step span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--mb-primary, #13a6c2) 0%, #0e8fa8 100%);
    color: #fff;
    font-weight: 800;
    font-size: 11px;
}
@media (max-width: 640px) {
    .mb-myacc-welcome { padding: 22px 18px; }
    .mb-myacc-welcome__title { font-size: 1.15rem !important; }
    .mb-myacc-welcome__steps { flex-direction: column; align-items: stretch; }
    .mb-myacc-welcome__step { justify-content: center; }
}

/* =========================================================
   PAGE MYACCOUNT user (refonte) — .mb-myacc-*
   ========================================================= */

/* Hero d'accueil */
.mb-myacc-hero {
    background: linear-gradient(135deg, var(--mb-primary, #13a6c2) 0%, #0e8fa8 100%);
    border-radius: 18px;
    padding: 24px 28px;
    color: #fff;
    box-shadow: 0 14px 32px rgba(19,166,194,0.20);
    margin-bottom: 18px;
    position: relative;
    overflow: hidden;
}
.mb-myacc-hero::after {
    content: "";
    position: absolute;
    inset: -40% -10% auto auto;
    width: 320px;
    height: 320px;
    background: radial-gradient(circle, rgba(255,255,255,0.18) 0%, rgba(255,255,255,0) 65%);
    pointer-events: none;
}
.mb-myacc-hero__inner {
    display: flex;
    align-items: center;
    gap: 22px;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}
.mb-myacc-hero__avatar {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid rgba(255,255,255,0.6);
    background: rgba(255,255,255,0.18);
    flex-shrink: 0;
}
.mb-myacc-hero__main {
    flex: 1 1 320px;
    min-width: 0;
}
.mb-myacc-hero__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-weight: 700;
    background: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.30);
    padding: 4px 11px;
    border-radius: 999px;
    color: #fff;
}
.mb-myacc-hero__title {
    font-size: clamp(1.4rem, 2.2vw, 1.85rem) !important;
    font-weight: 800 !important;
    margin: 8px 0 4px !important;
    line-height: 1.15 !important;
    color: #ffffff !important;
}
.mb-myacc-hero__lead {
    font-size: 14px !important;
    margin: 0 !important;
    opacity: 0.95 !important;
    color: #ffffff !important;
}
.mb-myacc-hero__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.mb-myacc-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 13px;
    border-radius: 999px;
    background: rgba(255,255,255,0.18);
    color: #fff !important;
    font-size: 12.5px;
    font-weight: 600;
    border: 1px solid rgba(255,255,255,0.32);
    text-decoration: none !important;
    transition: background 180ms ease, transform 180ms ease;
}
.mb-myacc-chip:hover { background: rgba(255,255,255,0.28); transform: translateY(-1px); }
.mb-myacc-chip--warn {
    background: rgba(255,182,19,0.95);
    border-color: rgba(255,182,19,0.95);
    color: #4a3000 !important;
}
.mb-myacc-chip--warn:hover { background: #fff; color: #4a3000 !important; }

/* Card générique */
.mb-myacc-card {
    background: #fff;
    border: 1px solid #e5edf2;
    border-radius: 16px;
    box-shadow: 0 2px 10px rgba(15,23,42,0.05);
    margin-bottom: 16px;
    overflow: hidden;
}
.mb-myacc-card__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 18px 20px 14px;
    border-bottom: 1px solid #eef2f5;
    flex-wrap: wrap;
}
.mb-myacc-card__head-left {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
    min-width: 0;
}
.mb-myacc-card__icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: #eef5f8;
    color: var(--mb-primary, #13a6c2);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    flex-shrink: 0;
}
.mb-myacc-card__icon--primary { background: linear-gradient(135deg, var(--mb-primary, #13a6c2), #0e8fa8); color: #fff; }
.mb-myacc-card__icon--info    { background: #e7eefe; color: #3b6fd1; }
.mb-myacc-card__icon--success { background: #e1f7e8; color: #1d8a3e; }
.mb-myacc-card__icon--warning { background: #fff5dc; color: #9a6a00; }
.mb-myacc-card__icon--accent  { background: #fde7e7; color: #d44343; }
.mb-myacc-card__title {
    font-size: 1rem !important;
    font-weight: 700 !important;
    margin: 0 !important;
    color: #1f2a32 !important;
    line-height: 1.2 !important;
}
.mb-myacc-card__sub {
    font-size: 12.5px;
    color: #607080;
    display: block;
    margin-top: 2px;
}
.mb-myacc-card__actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    padding: 14px 20px 4px;
}
.mb-myacc-card__quicklinks {
    display: flex;
    gap: 16px;
    padding: 8px 20px 16px;
    flex-wrap: wrap;
}
.mb-myacc-quicklink {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #4a5560 !important;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none !important;
    transition: color 180ms ease;
}
.mb-myacc-quicklink:hover { color: var(--mb-primary-dark, #0d8aa3) !important; }
.mb-myacc-card__link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin: 12px 20px 18px;
    padding: 8px 14px;
    background: #eef5f8;
    color: var(--mb-primary-dark, #0d8aa3) !important;
    font-size: 13px;
    font-weight: 600;
    border-radius: 8px;
    text-decoration: none !important;
    transition: background 180ms ease;
}
.mb-myacc-card__link:hover { background: rgba(19,166,194,0.18); }

/* Status badge online/offline */
.mb-myacc-status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 11px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
}
.mb-myacc-status__dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}
.mb-myacc-status--ok  { background: #e1f7e8; color: #1d8a3e; }
.mb-myacc-status--ok  .mb-myacc-status__dot { background: #1d8a3e; box-shadow: 0 0 0 3px rgba(29,138,62,0.18); }
.mb-myacc-status--off { background: #fdecec; color: #b03a3a; }
.mb-myacc-status--off .mb-myacc-status__dot { background: #b03a3a; }

/* Shop preview banner */
.mb-myacc-shop-preview {
    display: block;
    position: relative;
    height: 180px;
    overflow: hidden;
    text-decoration: none !important;
}
.mb-myacc-shop-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 350ms ease;
}
.mb-myacc-shop-preview:hover img { transform: scale(1.05); }
.mb-myacc-shop-preview__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0) 50%, rgba(0,0,0,0.55) 100%);
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    padding: 14px;
}
.mb-myacc-shop-preview__overlay span {
    background: rgba(255,255,255,0.95);
    color: #1f2a32;
    padding: 8px 14px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(0,0,0,0.18);
}

/* Stats rapides de la page boutik */
.mb-myacc-shop-stats {
    display: flex;
    gap: 12px;
    padding: 14px 20px 6px;
    flex-wrap: wrap;
}
.mb-myacc-shop-stat {
    flex: 1 1 110px;
    padding: 12px 14px;
    background: #f5fafc;
    border-radius: 10px;
    text-align: center;
}
.mb-myacc-shop-stat i { color: var(--mb-primary, #13a6c2); font-size: 16px; }
.mb-myacc-shop-stat__value {
    display: block;
    font-size: 1.4rem;
    font-weight: 800;
    color: #1f2a32;
    line-height: 1.1;
    margin-top: 4px;
}
.mb-myacc-shop-stat__label {
    display: block;
    font-size: 11px;
    color: #607080;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    font-weight: 600;
    margin-top: 2px;
}

/* Boutons d'action */
.mb-myacc-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 10px 18px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 13.5px;
    border: 0;
    cursor: pointer;
    text-decoration: none !important;
    transition: transform 180ms ease, filter 180ms ease, box-shadow 180ms ease;
}
.mb-myacc-btn:hover { transform: translateY(-1px); filter: brightness(1.06); }
.mb-myacc-btn--primary {
    background: linear-gradient(135deg, var(--mb-primary, #13a6c2), #0e8fa8);
    color: #fff !important;
    box-shadow: 0 4px 12px rgba(19,166,194,0.25);
}
.mb-myacc-btn--ghost { background: #fff; color: #36454f !important; border: 1px solid #d8e1e7; }
.mb-myacc-btn--ghost:hover { background: #eef5f8; border-color: var(--mb-primary, #13a6c2); }
.mb-myacc-btn--success { background: #1d8a3e; color: #fff !important; }
.mb-myacc-btn--warning { background: #e8a619; color: #4a3000 !important; }

/* Alerte abonnement/etat */
.mb-myacc-alert {
    display: flex;
    gap: 14px;
    padding: 18px 22px;
    border-radius: 14px;
    margin-bottom: 16px;
    align-items: flex-start;
}
.mb-myacc-alert__icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}
.mb-myacc-alert__body { flex: 1; }
.mb-myacc-alert__title {
    margin: 0 0 6px !important;
    font-size: 1rem !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
}
.mb-myacc-alert__body p { margin: 0 0 10px; font-size: 13.5px; line-height: 1.5; }
.mb-myacc-alert__cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 13px;
    text-decoration: none !important;
}
.mb-myacc-alert--danger { background: #fdecec; border-left: 4px solid #d44343; }
.mb-myacc-alert--danger .mb-myacc-alert__icon { background: #f9dada; color: #d44343; }
.mb-myacc-alert--danger .mb-myacc-alert__title { color: #8a2929; }
.mb-myacc-alert--danger .mb-myacc-alert__body p { color: #6a3a3a; }
.mb-myacc-alert--danger .mb-myacc-alert__cta { background: #d44343; color: #fff !important; }
.mb-myacc-alert--danger .mb-myacc-alert__cta:hover { background: #b03a3a; }
.mb-myacc-alert--warning { background: #fff5dc; border-left: 4px solid #e8a619; }
.mb-myacc-alert--warning .mb-myacc-alert__icon { background: #ffe9a6; color: #9a6a00; }
.mb-myacc-alert--warning .mb-myacc-alert__title { color: #6e4d00; }
.mb-myacc-alert--warning .mb-myacc-alert__body p { color: #6e5a30; }
.mb-myacc-alert--warning .mb-myacc-alert__cta { background: #e8a619; color: #4a3000 !important; }

/* Checklist completion */
.mb-myacc-progress-badge {
    background: linear-gradient(135deg, var(--mb-primary, #13a6c2), #0e8fa8);
    color: #fff;
    padding: 6px 14px;
    border-radius: 999px;
    font-weight: 800;
    font-size: 14px;
    flex-shrink: 0;
}
.mb-myacc-progress {
    height: 6px;
    background: #eef2f5;
    border-radius: 999px;
    margin: 0 20px 16px;
    overflow: hidden;
}
.mb-myacc-progress__bar {
    height: 100%;
    background: linear-gradient(90deg, var(--mb-primary, #13a6c2), #0e8fa8);
    border-radius: 999px;
    transition: width 400ms ease;
}
.mb-myacc-checklist {
    list-style: none;
    margin: 0;
    padding: 0 20px 18px;
}
.mb-myacc-checklist__item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    font-size: 13.5px;
    color: #4a5560;
    border-bottom: 1px solid #f5f8fa;
}
.mb-myacc-checklist__item:last-child { border-bottom: 0; }
.mb-myacc-checklist__item i { font-size: 16px; color: #adb8c2; }
.mb-myacc-checklist__item.is-done { color: #1f2a32; }
.mb-myacc-checklist__item.is-done i { color: #1d8a3e; }

/* Tiles de contenu (annonces, actus, photos, fichiers) — refonte V3 */
.mb-myacc-content-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 16px 20px 18px;
}
@media (min-width: 560px) { .mb-myacc-content-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1200px) { .mb-myacc-content-grid { grid-template-columns: repeat(2, 1fr); } }

.mb-myacc-tile {
    position: relative;
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid #e5edf2;
    border-radius: 14px;
    overflow: hidden;
    transition: transform 200ms ease, box-shadow 200ms ease, border-color 200ms ease;
}
.mb-myacc-tile:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 24px rgba(15,23,42,0.08);
    border-color: rgba(19,166,194,0.30);
}
.mb-myacc-tile__link {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 16px 14px;
    text-decoration: none !important;
    color: #1f2a32 !important;
    flex: 1;
}
.mb-myacc-tile__icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
    background: #eef5f8;
    color: var(--mb-primary, #13a6c2);
    transition: transform 200ms ease;
}
.mb-myacc-tile:hover .mb-myacc-tile__icon { transform: scale(1.08) rotate(-3deg); }
.mb-myacc-tile__body {
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex: 1;
    min-width: 0;
}
.mb-myacc-tile__label {
    font-size: 15px;
    font-weight: 800;
    color: #1f2a32;
    line-height: 1.2;
}
.mb-myacc-tile__desc {
    font-size: 12px;
    font-weight: 400;
    color: #788694;
    line-height: 1.3;
}
.mb-myacc-tile__count {
    min-width: 38px;
    height: 38px;
    padding: 0 10px;
    border-radius: 999px;
    background: #f5fafc;
    color: #1f2a32;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 800;
    line-height: 1;
    border: 1px solid #e5edf2;
    flex-shrink: 0;
}
.mb-myacc-tile__add {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 8px 12px;
    margin: 0 12px 12px;
    border-radius: 10px;
    font-size: 12.5px;
    font-weight: 700;
    color: #fff !important;
    background: var(--mb-primary, #13a6c2);
    text-decoration: none !important;
    transition: background 180ms ease, transform 180ms ease;
}
.mb-myacc-tile__add:hover { background: #0e8fa8; transform: translateY(-1px); text-decoration: none !important; }
.mb-myacc-tile__add i { font-size: 11px; }

/* Variations couleur par type */
.mb-myacc-tile--primary .mb-myacc-tile__icon { background: #eef5f8; color: var(--mb-primary, #13a6c2); }
.mb-myacc-tile--primary .mb-myacc-tile__count { background: #eef5f8; color: var(--mb-primary-dark, #0d8aa3); border-color: rgba(19,166,194,0.22); }
.mb-myacc-tile--primary .mb-myacc-tile__add { background: var(--mb-primary, #13a6c2); }
.mb-myacc-tile--primary .mb-myacc-tile__add:hover { background: #0e8fa8; }

.mb-myacc-tile--info .mb-myacc-tile__icon { background: #e7eefe; color: #3b6fd1; }
.mb-myacc-tile--info .mb-myacc-tile__count { background: #e7eefe; color: #2a52a8; border-color: rgba(59,111,209,0.20); }
.mb-myacc-tile--info .mb-myacc-tile__add { background: #3b6fd1; }
.mb-myacc-tile--info .mb-myacc-tile__add:hover { background: #2a52a8; }

.mb-myacc-tile--success .mb-myacc-tile__icon { background: #e1f7e8; color: #1d8a3e; }
.mb-myacc-tile--success .mb-myacc-tile__count { background: #e1f7e8; color: #146b2c; border-color: rgba(29,138,62,0.22); }
.mb-myacc-tile--success .mb-myacc-tile__add { background: #1d8a3e; }
.mb-myacc-tile--success .mb-myacc-tile__add:hover { background: #146b2c; }

.mb-myacc-tile--warning .mb-myacc-tile__icon { background: #fff5dc; color: #9a6a00; }
.mb-myacc-tile--warning .mb-myacc-tile__count { background: #fff5dc; color: #7a5400; border-color: rgba(232,166,25,0.30); }
.mb-myacc-tile--warning .mb-myacc-tile__add { background: #e8a619; }
.mb-myacc-tile--warning .mb-myacc-tile__add:hover { background: #b88313; }

/* CTA création de page (gros bloc) */
.mb-myacc-cta-create {
    display: flex;
    align-items: center;
    gap: 22px;
    padding: 22px 26px;
    background: linear-gradient(135deg, #eef5f8 0%, #fff 100%);
    border: 1px solid #d8e1e7;
    border-radius: 18px;
    text-decoration: none !important;
    color: #1f2a32 !important;
    box-shadow: 0 2px 10px rgba(15,23,42,0.05);
    transition: transform 220ms ease, box-shadow 220ms ease;
    overflow: hidden;
    flex-wrap: wrap;
    margin-bottom: 16px;
}
.mb-myacc-cta-create:hover { transform: translateY(-3px); box-shadow: 0 14px 32px rgba(15,23,42,0.10); }
.mb-myacc-cta-create__icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--mb-primary, #13a6c2), #0e8fa8);
    color: #fff;
    border-radius: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    flex-shrink: 0;
    box-shadow: 0 6px 14px rgba(19,166,194,0.30);
}
.mb-myacc-cta-create__body { flex: 1 1 280px; min-width: 0; }
.mb-myacc-cta-create__body h2 {
    font-size: 1.3rem !important;
    font-weight: 800 !important;
    margin: 0 0 6px !important;
    color: #1f2a32 !important;
}
.mb-myacc-cta-create__body p {
    font-size: 14px;
    color: #607080;
    margin: 0 0 12px;
    line-height: 1.5;
}
.mb-myacc-cta-create__btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 20px;
    background: #1f2a32;
    color: #fff;
    border-radius: 10px;
    font-weight: 700;
    font-size: 13.5px;
    box-shadow: 0 4px 12px rgba(31,42,50,0.30);
    transition: background .15s ease, transform .15s ease, box-shadow .15s ease;
}
.mb-myacc-cta-create__btn:hover {
    background: #0d1419;
    color: #fff;
    text-decoration: none;
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(31,42,50,0.40);
}
.mb-myacc-cta-create__img {
    width: 160px;
    height: 110px;
    object-fit: cover;
    border-radius: 12px;
    flex-shrink: 0;
}

/* Profil compact (sidebar droite) */
.mb-myacc-card--profile { overflow: visible; }
.mb-myacc-profile {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 18px 20px 14px;
    background: linear-gradient(135deg, var(--mb-primary, #13a6c2) 0%, #0e8fa8 100%);
    color: #fff;
}
.mb-myacc-profile__avatar {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(255,255,255,0.6);
    background: #fff;
    flex-shrink: 0;
}
.mb-myacc-profile__name {
    margin: 0;
    font-size: 14.5px;
    font-weight: 700;
    color: #fff !important;
    line-height: 1.2;
}
.mb-myacc-profile__pseudo {
    font-size: 12px;
    color: rgba(255,255,255,0.85);
}
.mb-myacc-profile__menu {
    list-style: none;
    margin: 0;
    padding: 8px 0;
}
.mb-myacc-profile__menu li { margin: 0; }
.mb-myacc-profile__menu a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    color: #36454f !important;
    font-size: 13.5px;
    font-weight: 500;
    text-decoration: none !important;
    transition: background 180ms ease, color 180ms ease;
    cursor: pointer;
}
.mb-myacc-profile__menu a:hover { background: #eef5f8; color: var(--mb-primary-dark, #0d8aa3) !important; }
.mb-myacc-profile__menu i {
    width: 18px;
    color: var(--mb-primary, #13a6c2);
    font-size: 13px;
}

/* Stats grid (sidebar droite) - 3 colonnes pour densifier sur 2 lignes */
.mb-myacc-stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
    padding: 12px 14px 14px;
}
.mb-myacc-stat {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 8px 8px;
    background: #f5fafc;
    border-radius: 8px;
    text-decoration: none !important;
    color: #36454f !important;
    transition: background 180ms ease, transform 180ms ease;
    text-align: center;
    align-items: center;
}
.mb-myacc-stat:hover { background: #eef5f8; transform: translateY(-1px); }
.mb-myacc-stat i {
    font-size: 13px;
    color: var(--mb-primary, #13a6c2);
}
.mb-myacc-stat__value {
    font-size: 1.05rem;
    font-weight: 800;
    color: #1f2a32;
    line-height: 1.1;
}
.mb-myacc-stat__label {
    font-size: 10.5px;
    color: #607080;
    line-height: 1.25;
    font-weight: 600;
}
.mb-myacc-stat__label b { display: inline; }
@media (max-width: 480px) {
    .mb-myacc-stats-grid { grid-template-columns: repeat(2, 1fr); }
}
.mb-myacc-stat__label b { color: var(--mb-primary-dark, #0d8aa3); font-weight: 800; }

/* Liste aide & support */
.mb-myacc-help-list {
    list-style: none;
    margin: 0;
    padding: 8px 0 12px;
}
.mb-myacc-help-list li { margin: 0; }
.mb-myacc-help-list a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    color: #4a5560 !important;
    font-size: 13.5px;
    text-decoration: none !important;
    transition: background 180ms ease, color 180ms ease;
    cursor: pointer;
}
.mb-myacc-help-list a:hover { background: #eef5f8; color: var(--mb-primary-dark, #0d8aa3) !important; }
.mb-myacc-help-list i { width: 18px; color: var(--mb-primary, #13a6c2); font-size: 13px; }
.mb-myacc-help-list__danger { color: #b03a3a !important; }
.mb-myacc-help-list__danger i { color: #b03a3a !important; }
.mb-myacc-help-list__danger:hover { background: #fdecec !important; color: #8a2929 !important; }

/* Hide cache l'ancien avisClient/vendreSurMaboutik s'il etait affiche */
body.page-adminMenu #avisClient,
body.page-adminMenu #vendreSurMaboutik { display: none !important; }

/* Fix de l'espace vide sous le bloc identité de la sidebar admin
   (le brand profile box laissait un padding-bottom inutile) */
body.page-adminMenu .mb-side-nav__brand { margin-bottom: 8px; }

@media (max-width: 768px) {
    .mb-myacc-hero { padding: 22px 22px; border-radius: 18px; }
    .mb-myacc-hero__inner { gap: 14px; }
    .mb-myacc-hero__avatar { width: 64px; height: 64px; }
    .mb-myacc-hero__title { font-size: 1.4rem !important; }
    .mb-myacc-hero__lead { font-size: 0.95rem; }

    /* Cards plus respirantes sur mobile */
    .mb-myacc-card { border-radius: 16px; margin-bottom: 14px; }
    .mb-myacc-card__head { padding: 16px 18px 14px; gap: 12px; }
    .mb-myacc-card__icon { width: 44px; height: 44px; font-size: 17px; }
    .mb-myacc-card__title { font-size: 1.05rem !important; }
    .mb-myacc-card__sub { font-size: 12.5px; }
    .mb-myacc-card__actions { padding: 14px 18px 4px; }

    /* Profil + menu liens plus gros */
    .mb-myacc-profile { padding: 18px 20px 14px; gap: 14px; }
    .mb-myacc-profile__avatar { width: 64px !important; height: 64px !important; }
    .mb-myacc-profile__name { font-size: 1.05rem !important; }
    .mb-myacc-profile__pseudo { font-size: 13px; }
    .mb-myacc-profile__menu a {
        padding: 13px 22px;
        font-size: 15px;
        gap: 14px;
    }
    .mb-myacc-profile__menu i { font-size: 18px !important; width: 22px; }

    /* Stats : grille 2 colonnes, pavés plus grands */
    .mb-myacc-stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
        padding: 14px 16px 16px;
    }
    .mb-myacc-stat {
        padding: 14px 10px;
        gap: 4px;
        border-radius: 12px;
    }
    .mb-myacc-stat i { font-size: 18px; margin-bottom: 4px; }
    .mb-myacc-stat__value { font-size: 1.4rem; }
    .mb-myacc-stat__label { font-size: 12px; }

    /* Aide & support plus gros */
    .mb-myacc-help-list a {
        padding: 13px 22px;
        font-size: 15px;
        gap: 14px;
    }
    .mb-myacc-help-list i { font-size: 18px !important; width: 22px; }

    .mb-myacc-cta-create__img { width: 100%; height: 160px; }
}

@media (max-width: 480px) {
    .mb-myacc-hero { padding: 20px 18px; }
    .mb-myacc-hero__title { font-size: 1.25rem !important; }
    .mb-myacc-card__head { padding: 14px 16px 12px; }
    .mb-myacc-profile__menu a,
    .mb-myacc-help-list a { padding: 12px 18px; font-size: 14.5px; }
    .mb-myacc-stat { padding: 12px 8px; }
    .mb-myacc-stat__value { font-size: 1.25rem; }
}

/* =========================================================
   PAGE CREATION DIRECTE (.mb-createpage) — une seule étape
   ========================================================= */
.mb-createpage {
    padding: 50px 0 70px;
    background: linear-gradient(180deg, #f5fafc 0%, #fff 100%);
    min-height: 70vh;
}
.mb-createpage__head {
    text-align: center;
    margin-bottom: 30px;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
}
.mb-createpage__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 16px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--mb-primary, #13a6c2) 0%, #0e8fa8 100%);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    box-shadow: 0 4px 12px rgba(19,166,194,0.25);
}
.mb-createpage__title {
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    font-weight: 800;
    color: #1f2a32;
    margin: 16px 0 10px;
    line-height: 1.1;
}
.mb-createpage__lead {
    font-size: 15px;
    color: #607080;
    margin: 0;
    line-height: 1.6;
}
.mb-createpage__lead b { color: #1f2a32; font-weight: 700; }

.mb-createpage__card {
    max-width: 560px;
    margin: 0 auto;
    background: #fff;
    border: 1px solid #e5edf2;
    border-radius: 20px;
    box-shadow: 0 18px 50px rgba(15,23,42,0.08);
    padding: 32px 30px;
}

.mb-createpage__field { display: block; margin-bottom: 16px; }
.mb-createpage__field-label {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: #36454f;
    margin-bottom: 8px;
}
.mb-createpage__field-input-wrap { position: relative; display: flex; align-items: center; }
.mb-createpage__field-icon {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--mb-primary, #13a6c2);
    font-size: 16px;
    pointer-events: none;
    z-index: 2;
}
.mb-createpage__field-input {
    width: 100%;
    height: 56px;
    border: 2px solid #d8e1e7 !important;
    border-radius: 14px !important;
    background: #fff !important;
    color: #1f2a32 !important;
    padding: 0 18px !important;
    font-size: 15px !important;
    font-weight: 600;
    transition: border-color 180ms ease, box-shadow 180ms ease;
    box-sizing: border-box !important;
}
.mb-createpage__field-input:focus {
    border-color: var(--mb-primary, #13a6c2) !important;
    box-shadow: 0 0 0 4px rgba(19,166,194,0.12) !important;
    outline: none !important;
}
.mb-createpage__field-counter {
    text-align: right;
    font-size: 11px;
    color: #98a4ae;
    margin-top: 6px;
}
.mb-createpage__field .invalid-feedback {
    display: none;
    color: #d44343;
    font-size: 12.5px;
    margin-top: 6px;
}
.mb-createpage__field .invalid-feedback:not(:empty) { display: block; }

.mb-createpage__hint {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 14px 16px;
    border-radius: 12px;
    background: #f5fafc;
    border-left: 3px solid var(--mb-primary, #13a6c2);
    font-size: 13px;
    color: #4a5560;
    line-height: 1.55;
    margin-bottom: 20px;
}
.mb-createpage__hint i { color: var(--mb-primary, #13a6c2); margin-top: 2px; flex-shrink: 0; }

.mb-createpage__error {
    padding: 12px 16px;
    border-radius: 10px;
    background: #fdecec;
    border-left: 3px solid #d44343;
    color: #8a2929;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 14px;
}
.mb-createpage__error i { margin-right: 6px; }

.mb-createpage__btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 16px 24px;
    background: linear-gradient(135deg, var(--mb-primary, #13a6c2) 0%, #0e8fa8 100%);
    color: #fff !important;
    font-size: 16px;
    font-weight: 800;
    border: 0;
    border-radius: 14px;
    cursor: pointer;
    box-shadow: 0 8px 24px rgba(19,166,194,0.35);
    transition: transform 180ms ease, filter 180ms ease, box-shadow 180ms ease;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}
.mb-createpage__btn:hover:not(:disabled) {
    transform: translateY(-2px);
    filter: brightness(1.06);
    box-shadow: 0 14px 32px rgba(19,166,194,0.45);
}
.mb-createpage__btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}
.mb-createpage__btn i { font-size: 16px; }

.mb-createpage__features {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
    margin-top: 22px;
    padding-top: 22px;
    border-top: 1px solid #eef2f5;
}
@media (min-width: 540px) { .mb-createpage__features { grid-template-columns: 1fr 1fr; } }
.mb-createpage__feature {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #4a5560;
}
.mb-createpage__feature i {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #e1f7e8;
    color: #1d8a3e;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    flex-shrink: 0;
}

@media (max-width: 540px) {
    .mb-createpage { padding: 30px 0 50px; }
    .mb-createpage__card { padding: 24px 20px; border-radius: 16px; }
    .mb-createpage__field-input { height: 50px; }
    .mb-createpage__btn { padding: 14px 20px; font-size: 14px; }
}

/* =========================================================
   PAGE CREATEABO — Parcours de création (3 étapes) [ancienne version, conservée pour compat]
   ========================================================= */
.mb-createabo {
    padding: 40px 0 60px;
    background: linear-gradient(180deg, #f5fafc 0%, #fff 100%);
    min-height: 70vh;
}
.mb-createabo__head {
    text-align: center;
    margin-bottom: 32px;
}
.mb-createabo__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 14px;
    border-radius: 999px;
    background: rgba(19,166,194,0.12);
    color: var(--mb-primary-dark, #0d8aa3);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}
.mb-createabo__title {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 800;
    color: #1f2a32;
    margin: 12px 0 8px;
    line-height: 1.15;
}
.mb-createabo__lead {
    font-size: 15px;
    color: #607080;
    margin: 0 auto;
    max-width: 540px;
    line-height: 1.55;
}

/* Stepper visuel */
.mb-stepper {
    display: flex;
    align-items: center;
    justify-content: center;
    list-style: none;
    margin: 0 auto 32px;
    padding: 0;
    max-width: 720px;
}
.mb-stepper__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    flex: 0 0 auto;
    transition: all 220ms ease;
}
.mb-stepper__bar {
    flex: 1 1 auto;
    height: 3px;
    background: #e5edf2;
    border-radius: 999px;
    margin: 0 8px;
    transition: background 300ms ease;
    align-self: flex-start;
    margin-top: 24px;
}
.mb-stepper__dot {
    position: relative;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: #fff;
    border: 2px solid #e5edf2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 18px;
    color: #98a4ae;
    transition: all 280ms ease;
    box-shadow: 0 2px 8px rgba(15,23,42,0.05);
}
.mb-stepper__num { transition: opacity 200ms ease; }
.mb-stepper__check {
    position: absolute;
    opacity: 0;
    transition: opacity 200ms ease;
    color: #fff;
    font-size: 18px;
}
.mb-stepper__label {
    font-size: 13px;
    font-weight: 600;
    color: #607080;
    text-align: center;
    transition: color 200ms ease;
    max-width: 110px;
    line-height: 1.3;
}

/* États du stepper */
.mb-stepper__item.is-active .mb-stepper__dot {
    background: linear-gradient(135deg, var(--mb-primary, #13a6c2), #0e8fa8);
    border-color: var(--mb-primary, #13a6c2);
    color: #fff;
    box-shadow: 0 6px 18px rgba(19,166,194,0.32);
    transform: scale(1.05);
}
.mb-stepper__item.is-active .mb-stepper__label {
    color: var(--mb-primary-dark, #0d8aa3);
    font-weight: 700;
}
.mb-stepper__item.is-done .mb-stepper__dot {
    background: #1d8a3e;
    border-color: #1d8a3e;
}
.mb-stepper__item.is-done .mb-stepper__num { opacity: 0; }
.mb-stepper__item.is-done .mb-stepper__check { opacity: 1; }
.mb-stepper__item.is-done + .mb-stepper__bar { background: #1d8a3e; }

/* Card étape */
.mb-createabo__carousel {
    max-width: 720px;
    margin: 0 auto;
}
.mb-createabo__card {
    background: #fff;
    border: 1px solid #e5edf2;
    border-radius: 18px;
    box-shadow: 0 8px 28px rgba(15,23,42,0.06);
    overflow: hidden;
}
.mb-createabo__card-head {
    display: flex;
    gap: 14px;
    padding: 22px 26px 18px;
    border-bottom: 1px solid #eef2f5;
    background: linear-gradient(180deg, #fafbfc 0%, #fff 100%);
}
.mb-createabo__card-icon {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--mb-primary, #13a6c2), #0e8fa8);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}
.mb-createabo__card-icon--info    { background: linear-gradient(135deg, #5b8dec, #3b6fd1); }
.mb-createabo__card-icon--success { background: linear-gradient(135deg, #2bb05e, #1d8a3e); }
.mb-createabo__card-title {
    margin: 0 !important;
    font-size: 1.1rem !important;
    font-weight: 700 !important;
    color: #1f2a32 !important;
    line-height: 1.3 !important;
}
.mb-createabo__card-sub {
    margin: 4px 0 0;
    font-size: 13px;
    color: #607080;
    line-height: 1.55;
}
.mb-createabo__card-sub a {
    color: var(--mb-primary-dark, #0d8aa3);
    font-weight: 600;
    text-decoration: none;
}
.mb-createabo__card-sub a:hover { text-decoration: underline; }

.mb-createabo__card-body { padding: 24px 26px 18px; }

/* Champs */
.mb-createabo__field { display: block; margin-bottom: 16px; }
.mb-createabo__field-label {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: #36454f;
    margin-bottom: 6px;
}
.mb-createabo__field-input-wrap {
    position: relative;
    display: flex;
    align-items: center;
}
.mb-createabo__field-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--mb-primary, #13a6c2);
    font-size: 14px;
    pointer-events: none;
    z-index: 2;
}
.mb-createabo__field-input {
    width: 100%;
    height: 48px;
    border: 1.5px solid #d8e1e7 !important;
    border-radius: 12px !important;
    background: #fff !important;
    color: #1f2a32 !important;
    padding: 0 14px 0 44px !important;
    font-size: 14px !important;
    transition: border-color 180ms ease, box-shadow 180ms ease;
    box-sizing: border-box !important;
}
.mb-createabo__field-input:focus {
    border-color: var(--mb-primary, #13a6c2) !important;
    box-shadow: 0 0 0 3px rgba(19,166,194,0.12) !important;
    outline: none !important;
}
.mb-createabo__field-input-wrap select.mb-createabo__field-input {
    -webkit-appearance: none;
    appearance: none;
    padding-right: 36px !important;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23607080' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'></polyline></svg>") !important;
    background-position: right 14px center !important;
    background-repeat: no-repeat !important;
    background-size: 12px 12px !important;
    cursor: pointer;
}
.mb-createabo__field-counter {
    text-align: right;
    font-size: 11px;
    color: #98a4ae;
    margin-top: 4px;
}
.mb-createabo__field .invalid-feedback {
    display: none;
    color: #d44343;
    font-size: 12px;
    margin-top: 6px;
    padding-left: 4px;
}
.mb-createabo__field .invalid-feedback:not(:empty) { display: block; }

/* Hint info box */
.mb-createabo__hint {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    padding: 12px 14px;
    border-radius: 10px;
    background: #f5fafc;
    border-left: 3px solid var(--mb-primary, #13a6c2);
    font-size: 13px;
    color: #4a5560;
    line-height: 1.55;
    margin-top: 12px;
}
.mb-createabo__hint i { color: var(--mb-primary, #13a6c2); margin-top: 2px; flex-shrink: 0; }
.mb-createabo__hint--accent {
    background: #fff5dc;
    border-left-color: #e8a619;
    color: #6e4d00;
}
.mb-createabo__hint--accent i { color: #e8a619; }

/* Footer actions de la card */
.mb-createabo__card-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding: 18px 26px 22px;
    border-top: 1px solid #eef2f5;
    background: #fafbfc;
}
.mb-createabo__btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 22px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 14px;
    border: 0;
    cursor: pointer;
    text-decoration: none !important;
    transition: transform 180ms ease, filter 180ms ease, box-shadow 180ms ease;
}
.mb-createabo__btn:hover { transform: translateY(-1px); filter: brightness(1.06); }
.mb-createabo__btn--primary {
    background: linear-gradient(135deg, var(--mb-primary, #13a6c2), #0e8fa8);
    color: #fff !important;
    box-shadow: 0 4px 14px rgba(19,166,194,0.30);
}
.mb-createabo__btn--ghost {
    background: #fff;
    color: #4a5560 !important;
    border: 1px solid #d8e1e7;
}
.mb-createabo__btn--ghost:hover { background: #eef5f8; border-color: var(--mb-primary, #13a6c2); }

/* Récap */
.mb-createabo__recap {
    font-size: 14px;
    color: #36454f;
    line-height: 1.6;
}

/* Mobile : stepper compact */
@media (max-width: 640px) {
    .mb-createabo { padding: 24px 0 40px; }
    .mb-createabo__head { margin-bottom: 22px; }
    .mb-stepper { gap: 0; margin-bottom: 22px; }
    .mb-stepper__bar { margin: 24px 4px 0; min-width: 16px; }
    .mb-stepper__dot { width: 40px; height: 40px; font-size: 14px; }
    .mb-stepper__check { font-size: 14px; }
    .mb-stepper__label { font-size: 11px; max-width: 80px; }
    .mb-createabo__card-head { padding: 18px 18px 14px; gap: 10px; }
    .mb-createabo__card-icon { width: 40px; height: 40px; font-size: 16px; }
    .mb-createabo__card-title { font-size: 1rem !important; }
    .mb-createabo__card-body { padding: 18px 18px 14px; }
    .mb-createabo__card-actions { padding: 14px 18px 18px; }
    .mb-createabo__btn { padding: 10px 16px; font-size: 13px; }
}

/* =========================================================
   MODAL Partager (refonte propre)
   ========================================================= */
.mb-share-modal { z-index: 1000000; }
.mb-share-modal__content {
    border: 0 !important;
    border-radius: 16px !important;
    box-shadow: 0 20px 60px rgba(15,23,42,0.25) !important;
    overflow: hidden;
}
.mb-share-modal__header {
    background: linear-gradient(135deg, var(--mb-primary, #13a6c2) 0%, #0e8fa8 100%);
    border-bottom: 0 !important;
    padding: 18px 22px !important;
    color: #fff;
}
.mb-share-modal__title {
    display: flex !important;
    align-items: center;
    gap: 10px;
    margin: 0 !important;
    font-size: 1.05rem !important;
    font-weight: 700 !important;
    color: #fff !important;
}
.mb-share-modal__title i {
    background: rgba(255,255,255,0.20);
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}
.mb-share-modal__close {
    color: #fff !important;
    opacity: 0.85 !important;
    text-shadow: none !important;
    font-size: 1.6rem !important;
    line-height: 1 !important;
}
.mb-share-modal__close:hover { opacity: 1 !important; color: #fff !important; }

.mb-share-modal__body {
    padding: 22px !important;
}
.mb-share-modal__label {
    display: block;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #607080;
    margin-bottom: 6px;
}
.mb-share-modal__input {
    width: 100%;
    height: 44px;
    padding: 0 14px;
    background: #f5fafc;
    border: 1px solid #d8e1e7;
    border-radius: 10px;
    color: #1f2a32;
    font-size: 13.5px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, monospace;
    box-sizing: border-box;
    transition: border-color 180ms ease;
    margin-bottom: 18px;
}
.mb-share-modal__input:focus {
    border-color: var(--mb-primary, #13a6c2);
    outline: none;
}

.mb-share-modal__actions {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}
@media (min-width: 540px) {
    .mb-share-modal__actions { grid-template-columns: repeat(4, 1fr); }
}
.mb-share-modal__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 11px 16px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    border: 0;
    text-decoration: none !important;
    color: #fff !important;
    transition: transform 180ms ease, filter 180ms ease, box-shadow 180ms ease;
    line-height: 1.2;
    white-space: nowrap;
}
.mb-share-modal__btn:hover { transform: translateY(-2px); filter: brightness(1.06); }
.mb-share-modal__btn i { font-size: 14px; flex-shrink: 0; }
.mb-share-modal__btn--primary {
    background: linear-gradient(135deg, var(--mb-primary, #13a6c2), #0e8fa8);
    box-shadow: 0 4px 12px rgba(19,166,194,0.30);
    grid-column: 1 / -1;
}
.mb-share-modal__btn--fb       { background: #1877f2; box-shadow: 0 4px 12px rgba(24,119,242,0.25); }
.mb-share-modal__btn--twitter  { background: #000000; box-shadow: 0 4px 12px rgba(0,0,0,0.20); }
.mb-share-modal__btn--whatsapp { background: #25d366; box-shadow: 0 4px 12px rgba(37,211,102,0.25); }
.mb-share-modal__btn--email    { background: #6b7280; box-shadow: 0 4px 12px rgba(107,114,128,0.20); }
.mb-share-modal__btn--ghost {
    background: #fff;
    color: #4a5560 !important;
    border: 1px solid #d8e1e7;
}
.mb-share-modal__btn--ghost:hover { background: #eef5f8; }

.mb-share-modal__footer {
    border-top: 1px solid #eef2f5 !important;
    padding: 14px 22px !important;
}

@media (max-width: 540px) {
    .mb-share-modal__body { padding: 18px !important; }
    .mb-share-modal__actions { grid-template-columns: 1fr; gap: 8px; }
    .mb-share-modal__btn--primary { grid-column: auto; }
    .mb-share-modal__btn { padding: 10px 14px; font-size: 12.5px; }
}

/* =========================================================
   Mod bar discrete sur la page boutik en attente (admin only)
   ========================================================= */
.mb-boutik-mod-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
    background: linear-gradient(135deg, #fff5dc 0%, #ffe9a6 100%);
    border: 1px solid #ffe9a6;
    border-left: 4px solid #e8a619;
    padding: 10px 16px;
    border-radius: 10px;
    margin: 14px auto;
    max-width: 1320px;
}
.mb-boutik-mod-bar__label {
    font-size: 13px;
    font-weight: 700;
    color: #6e4d00;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.mb-boutik-mod-bar__accept {
    background: #1d8a3e;
    color: #fff;
    border: 0;
    padding: 7px 16px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: filter 180ms ease;
}
.mb-boutik-mod-bar__accept:hover { filter: brightness(1.08); }

/* =========================================================
   BOUTIK — Tuiles "Ajouter" sous le bandeau (annonce/actu/photo/fichier)
   Aligne sa largeur sur .mb-boutik-content (1400px max + paddings responsives).
   ========================================================= */
.mb-boutik-quickadd {
    max-width: 1400px;
    margin: 0 auto;
    padding: 18px 12px 4px;
}
@media (min-width: 768px) {
    .mb-boutik-quickadd { padding-left: 24px; padding-right: 24px; }
}
@media (min-width: 1280px) {
    .mb-boutik-quickadd { padding-left: 32px; padding-right: 32px; }
}
.mb-boutik-quickadd__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}
@media (min-width: 768px) { .mb-boutik-quickadd__grid { grid-template-columns: repeat(4, 1fr); } }

.mb-boutik-quickadd__tile {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 18px 14px 16px;
    background: #fff;
    border: 1px solid #e5edf2;
    border-radius: 16px;
    text-decoration: none !important;
    color: #1f2a32 !important;
    box-shadow: 0 2px 10px rgba(15,23,42,0.05);
    transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
    overflow: hidden;
    cursor: pointer;
}
.mb-boutik-quickadd__tile::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: var(--mb-primary, #13a6c2);
    transition: height 220ms ease;
}
.mb-boutik-quickadd__tile:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 28px rgba(15,23,42,0.10);
    border-color: rgba(19,166,194,0.30);
    text-decoration: none !important;
    color: #1f2a32 !important;
}
.mb-boutik-quickadd__tile:hover::before { height: 6px; }

.mb-boutik-quickadd__icon {
    width: 54px;
    height: 54px;
    border-radius: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    background: #eef5f8;
    color: var(--mb-primary, #13a6c2);
    transition: transform 220ms ease, background 220ms ease;
}
.mb-boutik-quickadd__tile:hover .mb-boutik-quickadd__icon {
    transform: scale(1.08) rotate(-4deg);
}
.mb-boutik-quickadd__label {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    color: #98a4ae;
    margin-top: 4px;
}
.mb-boutik-quickadd__type {
    font-size: 16px;
    font-weight: 800;
    color: #1f2a32;
    line-height: 1.1;
}
.mb-boutik-quickadd__plus {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--mb-primary, #13a6c2);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    box-shadow: 0 4px 10px rgba(19,166,194,0.35);
    transition: transform 200ms ease, box-shadow 200ms ease;
}
.mb-boutik-quickadd__tile:hover .mb-boutik-quickadd__plus {
    transform: scale(1.15);
    box-shadow: 0 6px 14px rgba(19,166,194,0.45);
}

/* Variations couleur par type */
.mb-boutik-quickadd__tile--primary::before { background: var(--mb-primary, #13a6c2); }
.mb-boutik-quickadd__tile--primary .mb-boutik-quickadd__icon { background: #eef5f8; color: var(--mb-primary, #13a6c2); }
.mb-boutik-quickadd__tile--primary .mb-boutik-quickadd__plus { background: var(--mb-primary, #13a6c2); box-shadow: 0 4px 10px rgba(19,166,194,0.35); }

.mb-boutik-quickadd__tile--info::before { background: #3b6fd1; }
.mb-boutik-quickadd__tile--info .mb-boutik-quickadd__icon { background: #e7eefe; color: #3b6fd1; }
.mb-boutik-quickadd__tile--info .mb-boutik-quickadd__plus { background: #3b6fd1; box-shadow: 0 4px 10px rgba(59,111,209,0.35); }

.mb-boutik-quickadd__tile--success::before { background: #1d8a3e; }
.mb-boutik-quickadd__tile--success .mb-boutik-quickadd__icon { background: #e1f7e8; color: #1d8a3e; }
.mb-boutik-quickadd__tile--success .mb-boutik-quickadd__plus { background: #1d8a3e; box-shadow: 0 4px 10px rgba(29,138,62,0.35); }

.mb-boutik-quickadd__tile--warning::before { background: #e8a619; }
.mb-boutik-quickadd__tile--warning .mb-boutik-quickadd__icon { background: #fff5dc; color: #9a6a00; }
.mb-boutik-quickadd__tile--warning .mb-boutik-quickadd__plus { background: #e8a619; box-shadow: 0 4px 10px rgba(232,166,25,0.45); }

/* Mobile : tuiles 2 colonnes, plus compactes */
@media (max-width: 767px) {
    .mb-boutik-quickadd { padding: 12px 0 16px; }
    .mb-boutik-quickadd__tile { padding: 14px 10px 12px; }
    .mb-boutik-quickadd__icon { width: 44px; height: 44px; font-size: 18px; border-radius: 12px; }
    .mb-boutik-quickadd__type { font-size: 14px; }
    .mb-boutik-quickadd__plus { width: 22px; height: 22px; font-size: 10px; top: 8px; right: 8px; }
}

/* =========================================================
   EDIT BOUTIK — Progress bar de completion + toggle publication sidebar
   ========================================================= */

/* Progress bar dans editBoutik */
.mb-editboutik__progress-card {
    background: #fff;
    border: 1px solid #e5edf2;
    border-radius: 14px;
    padding: 16px 20px;
    margin-bottom: 16px;
    box-shadow: 0 2px 8px rgba(15,23,42,0.04);
}
.mb-editboutik__progress-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 10px;
}
.mb-editboutik__progress-info { flex: 1; min-width: 0; }
.mb-editboutik__progress-label {
    font-size: 13.5px;
    font-weight: 700;
    color: #1f2a32;
}
.mb-editboutik__progress-sub {
    font-size: 12.5px;
    color: #607080;
    margin-top: 2px;
    line-height: 1.4;
}
.mb-editboutik__progress-sub b { color: #1f2a32; }
.mb-editboutik__progress-badge {
    background: linear-gradient(135deg, var(--mb-primary, #13a6c2), #0e8fa8);
    color: #fff;
    font-weight: 800;
    font-size: 16px;
    padding: 8px 16px;
    border-radius: 999px;
    box-shadow: 0 3px 10px rgba(19,166,194,0.30);
    flex-shrink: 0;
}
.mb-editboutik__progress-bar {
    height: 8px;
    background: #eef2f5;
    border-radius: 999px;
    overflow: hidden;
}
.mb-editboutik__progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--mb-primary, #13a6c2), #0e8fa8);
    border-radius: 999px;
    transition: width 400ms ease;
}
.mb-editboutik__progress-fill.is-full {
    background: linear-gradient(90deg, #1d8a3e, #2bb05e);
}
.mb-editboutik__progress-missing {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px dashed #e5edf2;
    font-size: 12px;
    color: #607080;
    line-height: 1.6;
}
.mb-editboutik__progress-missing i { color: #e8a619; margin-right: 4px; }
.mb-editboutik__progress-missing span {
    display: inline-block;
    background: #fff5dc;
    color: #9a6a00;
    padding: 2px 10px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 11.5px;
    margin: 2px;
}

/* Toggle publication dans la sidebar gauche */
.mb-side-nav__section--publish {
    padding: 0 6px 8px;
    margin-bottom: 6px;
}
.mb-side-nav__publish {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 11px 14px;
    border-radius: 10px;
    border: 0;
    color: #fff !important;
    font-weight: 700;
    font-size: 13px;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    transition: filter 180ms ease, transform 180ms ease;
}
.mb-side-nav__publish:hover { filter: brightness(1.08); transform: translateY(-1px); }
.mb-side-nav__publish-dot {
    width: 8px; height: 8px; border-radius: 50%;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(255,255,255,0.32);
    flex-shrink: 0;
}
.mb-side-nav__publish-label {
    flex: 1;
    text-align: left;
    color: #fff !important;
    -webkit-text-fill-color: #fff !important;
    text-shadow: 0 1px 2px rgba(0,0,0,0.18);
}
.mb-side-nav__publish i { font-size: 18px; }
.mb-side-nav__publish.is-online .mb-side-nav__publish-dot { animation: mb-publish-pulse 1.6s ease-in-out infinite; }
@keyframes mb-publish-pulse {
    0%,100% { box-shadow: 0 0 0 3px rgba(255,255,255,0.32); }
    50%     { box-shadow: 0 0 0 6px rgba(255,255,255,0.10); }
}
.mb-side-nav__publish-hint {
    margin-top: 6px;
    padding: 6px 10px;
    font-size: 11.5px;
    color: #6e4d00;
    background: #fff5dc;
    border-radius: 8px;
    text-align: center;
    line-height: 1.4;
}
.mb-side-nav__publish-hint i { color: #e8a619; margin-right: 3px; }

@media (max-width: 768px) {
    .mb-editboutik__progress-header { flex-direction: column; align-items: flex-start; gap: 8px; }
    .mb-editboutik__progress-badge { align-self: flex-end; }
}

/* =========================================================
   Fix scrollbars du menu mobile bas (footerNavbar)
   - height:50px + padding:10px/30px en border-box = contenu ecrase => scroll vertical
   - .row Bootstrap (-15px margins) + padding:10px = overflow horizontal
   ========================================================= */
.mobile {
    box-sizing: border-box !important;
    height: auto !important;
    min-height: 64px;
    padding: 8px 6px calc(env(safe-area-inset-bottom, 0px) + 8px) !important;
    overflow: hidden !important;
    max-width: 100%;
    left: 0;
    right: 0;
}
.mobile > .row {
    margin-left: 0 !important;
    margin-right: 0 !important;
    width: 100%;
    align-items: center;
}
.mobile > .row > [class*="col-"] {
    padding-left: 4px !important;
    padding-right: 4px !important;
}
.mobile a {
    display: block;
    line-height: 1.15;
}
/* Securise tout le body pour eviter les scrollbars horizontales */
@media (max-width: 991.98px) {
    html, body { overflow-x: hidden; }
}

/* =========================================================
   PAGE EDIT BOUTIK V2 - .mb-editboutik-*
   Refonte moderne du formulaire de personnalisation de page.
   Mobile-first, breakpoints a 768px et 992px.
   ========================================================= */
.mb-editboutik {
    /* Padding aligné sur .mb-adminp (18px 0 50px) + .container-fluid (0.85rem)
       pour avoir exactement la même boîte que les autres pages admin. */
    padding: 18px 0.85rem 50px;
    background: linear-gradient(180deg, #f5fafc 0%, #ffffff 100%);
    min-height: 70vh;
    width: 100%;
}
.mb-editboutik__form {
    width: 100%;
}
.mb-editboutik .container { max-width: 100% !important; padding-left: 0 !important; padding-right: 0 !important; }

/* ---------- Barre d'action sticky ---------- */
.mb-editboutik__bar {
    position: sticky;
    top: 60px;
    z-index: 1000;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 16px;
    margin: 0 0 22px;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: saturate(160%) blur(8px);
    -webkit-backdrop-filter: saturate(160%) blur(8px);
    border: 1px solid #e5edf2;
    border-radius: 14px;
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.06);
}
.mb-editboutik__bar-left,
.mb-editboutik__bar-right {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}
.mb-editboutik__back {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 9px 14px;
    border-radius: 10px;
    background: #ffffff;
    color: #1f2a32 !important;
    border: 1px solid #e5edf2;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none !important;
    transition: background 180ms ease, border-color 180ms ease, transform 180ms ease;
    cursor: pointer;
}
.mb-editboutik__back:hover {
    background: #f5fafc;
    border-color: var(--mb-primary, #13a6c2);
    transform: translateY(-1px);
}
.mb-editboutik__back i { font-size: 12px; }

.mb-editboutik__badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 14px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--mb-primary, #13a6c2) 0%, #0e8fa8 100%);
    color: #fff;
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: 0.02em;
    box-shadow: 0 4px 12px rgba(19, 166, 194, 0.25);
}
.mb-editboutik__badge i { font-size: 11px; }

.mb-editboutik__toggle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 14px;
    border-radius: 999px;
    color: #fff !important;
    font-size: 13px;
    font-weight: 700;
    border: 0;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.18);
    transition: filter 180ms ease, transform 180ms ease;
    line-height: 1.2;
}
.mb-editboutik__toggle:hover { filter: brightness(1.06); transform: translateY(-1px); color: #fff !important; }
.mb-editboutik__toggle i { font-size: 12px; }

.mb-editboutik__save {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--mb-primary, #13a6c2) 0%, #0e8fa8 100%);
    color: #fff !important;
    font-size: 13.5px;
    font-weight: 800;
    border: 0;
    cursor: pointer;
    box-shadow: 0 6px 18px rgba(19, 166, 194, 0.32);
    transition: transform 180ms ease, filter 180ms ease, box-shadow 180ms ease;
    text-decoration: none !important;
}
.mb-editboutik__save:hover {
    transform: translateY(-2px);
    filter: brightness(1.06);
    box-shadow: 0 10px 26px rgba(19, 166, 194, 0.40);
    color: #fff !important;
}
.mb-editboutik__save i { font-size: 13px; }

/* ---------- Carte thematique ---------- */
.mb-editboutik__card {
    background: #ffffff;
    border: 1px solid #e5edf2;
    border-radius: 16px;
    box-shadow: 0 2px 10px rgba(15, 23, 42, 0.05);
    margin-bottom: 18px;
    overflow: hidden;
}
.mb-editboutik__card-head {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 18px 22px 4px;
}
.mb-editboutik__card-head > div { flex: 1 1 auto; min-width: 0; }
.mb-editboutik__card-title {
    font-size: 1.1rem !important;
    font-weight: 800 !important;
    color: #1f2a32 !important;
    margin: 0 0 4px !important;
    line-height: 1.25;
}
.mb-editboutik__card-lead {
    margin: 0;
    font-size: 13px;
    color: #607080;
    line-height: 1.5;
}
.mb-editboutik__card-body {
    padding: 14px 22px 22px;
}

/* Pastille icone */
.mb-editboutik__pill {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 17px;
    flex-shrink: 0;
    box-shadow: 0 4px 10px rgba(15, 23, 42, 0.08);
}
.mb-editboutik__pill--turquoise { background: #e5f6fa; color: var(--mb-primary, #13a6c2); }
.mb-editboutik__pill--purple    { background: #efe7fb; color: #6b3dd2; }
.mb-editboutik__pill--orange    { background: #ffeede; color: #c77000; }
.mb-editboutik__pill--blue      { background: #e7eefe; color: #3b6fd1; }
.mb-editboutik__pill--green     { background: #e1f7e8; color: #1d8a3e; }
.mb-editboutik__pill--pink      { background: #fde7f0; color: #c43b7a; }
.mb-editboutik__pill--yellow    { background: #fff5dc; color: #9a6a00; }

/* ---------- Champs / inputs ---------- */
.mb-editboutik__field { margin-bottom: 16px; }
.mb-editboutik__field--show { display: block; }
.mb-editboutik__label {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: #36454f;
    margin-bottom: 6px;
}
.mb-editboutik__label-icon { color: var(--mb-primary, #13a6c2); margin-right: 4px; }
.mb-editboutik__req { color: #d44343; font-weight: 800; margin-left: 2px; }
.mb-editboutik__help {
    color: var(--mb-primary, #13a6c2);
    font-size: 12px;
    font-weight: 500;
    margin-left: 6px;
    cursor: pointer;
}

.mb-editboutik__input {
    width: 100%;
    min-height: 44px;
    height: 44px;
    border: 1.5px solid #e5edf2 !important;
    border-radius: 10px !important;
    background: #ffffff !important;
    color: #1f2a32 !important;
    padding: 0 14px !important;
    font-size: 14px !important;
    font-weight: 500;
    transition: border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
    box-sizing: border-box !important;
}
.mb-editboutik__input:focus {
    border-color: var(--mb-primary, #13a6c2) !important;
    box-shadow: 0 0 0 4px rgba(19, 166, 194, 0.12) !important;
    outline: none !important;
}
select.mb-editboutik__input {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><path fill='%23607080' d='M8 11L3 6h10z'/></svg>") !important;
    background-repeat: no-repeat !important;
    background-position: right 14px center !important;
    padding-right: 36px !important;
}

.mb-editboutik__textarea {
    width: 100%;
    min-height: 160px;
    border: 1.5px solid #e5edf2 !important;
    border-radius: 12px !important;
    background: #ffffff !important;
    color: #1f2a32 !important;
    padding: 12px 14px !important;
    font-size: 14px !important;
    line-height: 1.55;
    transition: border-color 180ms ease, box-shadow 180ms ease;
    box-sizing: border-box !important;
    resize: vertical;
}
.mb-editboutik__textarea:focus {
    border-color: var(--mb-primary, #13a6c2) !important;
    box-shadow: 0 0 0 4px rgba(19, 166, 194, 0.12) !important;
    outline: none !important;
}

.mb-editboutik__counter {
    text-align: right;
    font-size: 11px;
    color: #98a4ae;
    margin-top: 4px;
}
.mb-editboutik__field .invalid-feedback {
    display: none;
    color: #d44343;
    font-size: 12px;
    font-weight: 600;
    margin-top: 4px;
}
/* N'afficher le message que si l'input/select/textarea est marqué invalide
   par JS (.is-invalid) ou en HTML5 :invalid après submit (.was-validated). */
.mb-editboutik__field:has(input.is-invalid) .invalid-feedback,
.mb-editboutik__field:has(select.is-invalid) .invalid-feedback,
.mb-editboutik__field:has(textarea.is-invalid) .invalid-feedback { display: block; }
.was-validated .mb-editboutik__field:has(input:invalid) .invalid-feedback,
.was-validated .mb-editboutik__field:has(select:invalid) .invalid-feedback,
.was-validated .mb-editboutik__field:has(textarea:invalid) .invalid-feedback { display: block; }

.mb-editboutik__warning {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    padding: 10px 12px;
    background: #fff5dc;
    color: #7a5300;
    border-left: 3px solid #e8a619;
    border-radius: 10px;
    font-size: 12.5px;
    line-height: 1.5;
    margin-bottom: 8px;
}
.mb-editboutik__warning i { color: #c79100; margin-top: 2px; flex-shrink: 0; }

.mb-editboutik__legal {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 12px 14px;
    margin-top: 10px;
    background: #f5fafc;
    border-left: 3px solid var(--mb-primary, #13a6c2);
    border-radius: 10px;
    font-size: 12px;
    color: #4a5560;
    line-height: 1.55;
}
.mb-editboutik__legal i { color: var(--mb-primary, #13a6c2); margin-top: 2px; flex-shrink: 0; }

.mb-editboutik__sep {
    border: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, #e5edf2, transparent);
    margin: 18px 0;
}

.mb-editboutik__notice {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 14px 16px;
    background: #fdecec;
    border-left: 3px solid #d44343;
    border-radius: 10px;
    color: #8a2929;
    font-size: 13px;
    line-height: 1.55;
    margin-bottom: 18px;
}
.mb-editboutik__notice i { color: #d44343; margin-top: 2px; flex-shrink: 0; font-size: 16px; }
.mb-editboutik__notice strong { display: block; margin-bottom: 4px; font-size: 14px; }
.mb-editboutik__notice-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 8px;
    padding: 7px 13px;
    background: var(--mb-primary, #13a6c2);
    color: #fff !important;
    border-radius: 8px;
    font-size: 12.5px;
    font-weight: 700;
    text-decoration: none !important;
    box-shadow: 0 4px 12px rgba(19, 166, 194, 0.30);
}
.mb-editboutik__notice-btn:hover { filter: brightness(1.06); }

/* ---------- Visuels (apparence) ---------- */
.mb-editboutik__visuals { row-gap: 18px; }
.mb-editboutik__visual {
    background: #f5fafc;
    border: 1px solid #e5edf2;
    border-radius: 14px;
    padding: 16px;
    text-align: center;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}
.mb-editboutik__visual-title {
    margin: 0 0 4px !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    color: #1f2a32 !important;
}
.mb-editboutik__color-wrap input {
    width: 150px;
    height: 111px;
    border: 0;
    border-radius: 10px;
    cursor: pointer;
}
.mb-editboutik__bg-preview { display: block; width: 100%; }
.mb-editboutik__bg-img {
    width: 100%;
    max-width: 240px;
    height: 110px;
    object-fit: cover;
    border-radius: 10px;
    border: 3px solid #ffffff;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.10);
}
.mb-editboutik__avatar-preview { display: block; }
.mb-editboutik__avatar-img {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #ffffff;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.10);
}
.mb-editboutik__hidden-file { display: none; }
.mb-editboutik__icon-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    border-radius: 10px;
    background: #ffffff;
    color: #1f2a32 !important;
    border: 1px solid #d8e1e7;
    font-size: 12.5px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none !important;
    transition: background 180ms ease, border-color 180ms ease, transform 180ms ease;
}
.mb-editboutik__icon-btn:hover {
    background: #eef5f8;
    border-color: var(--mb-primary, #13a6c2);
    color: var(--mb-primary-dark, #0e8aa1) !important;
}
.mb-editboutik__hint-link {
    font-size: 11.5px;
    color: var(--mb-primary, #13a6c2) !important;
    font-weight: 600;
    cursor: pointer;
    text-decoration: underline !important;
}

/* ---------- Horaires + Checkboxes ---------- */
.mb-editboutik__check {
    display: inline-flex !important;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #36454f;
    font-weight: 500;
    cursor: pointer;
    margin: 0 0 10px;
    padding-left: 0 !important;
    position: relative;
}
.mb-editboutik__check input[type="checkbox"],
.mb-editboutik__check input.form-check-input {
    width: 18px !important;
    height: 18px !important;
    min-width: 18px;
    accent-color: var(--mb-primary, #13a6c2);
    margin: 0 !important;
    position: static !important;
    flex-shrink: 0;
    float: none !important;
}
.mb-editboutik__check span {
    line-height: 1.3;
    flex: 1;
    min-width: 0;
}

.mb-editboutik__check-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.mb-editboutik__check-list .mb-editboutik__check { margin: 0; }

.mb-editboutik__horaire-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 10px;
}
.mb-editboutik__horaire-row {
    display: grid;
    grid-template-columns: 110px 1fr;
    gap: 12px;
    align-items: center;
    padding: 8px 12px;
    background: #f5fafc;
    border-radius: 10px;
}
.mb-editboutik__horaire-row--head {
    background: transparent;
    padding: 2px 12px;
}
.mb-editboutik__horaire-day {
    font-weight: 700;
    font-size: 13px;
    color: #1f2a32;
}
.mb-editboutik__horaire-example {
    font-size: 12px;
    color: #607080;
    font-style: italic;
}
.mb-editboutik__horaire-input { display: flex; flex-direction: column; gap: 2px; }
.mb-editboutik__horaire-hint {
    font-size: 10.5px;
    color: #98a4ae;
    text-align: right;
}

/* ---------- Hashtags ---------- */
.mb-editboutik__hashtag-add {
    display: flex;
    align-items: stretch;
    gap: 8px;
    max-width: 420px;
    margin-bottom: 6px;
}
.mb-editboutik__hashtag-add .mb-editboutik__input { flex: 1; }
.mb-editboutik__hashtag-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 0 16px;
    background: var(--mb-primary, #13a6c2);
    color: #fff !important;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(19, 166, 194, 0.25);
    transition: filter 180ms ease, transform 180ms ease;
    white-space: nowrap;
}
.mb-editboutik__hashtag-btn:hover { filter: brightness(1.06); transform: translateY(-1px); }
.mb-editboutik__hashtag-error {
    display: block;
    font-size: 12px;
    color: #d44343;
    font-weight: 600;
    margin-top: 4px;
    min-height: 16px;
}
.mb-editboutik__hashtag-title {
    margin: 14px 0 8px;
    font-size: 13px;
    font-weight: 700;
    color: #36454f;
}
.mb-editboutik__hashtags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.mb-editboutik__hashtag-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 0;
    margin: 0;
    flex: 0 0 auto;
}
.mb-editboutik__hashtag-tag {
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    background: linear-gradient(135deg, #1f2a32, #36454f);
    color: #fff;
    border-radius: 999px;
    font-size: 12.5px;
    font-weight: 600;
}
.mb-editboutik__hashtag-del {
    color: #d44343 !important;
    background: #fdecec;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 11px !important;
    padding: 0 !important;
    cursor: pointer;
    transition: background 180ms ease;
}
.mb-editboutik__hashtag-del:hover { background: #fbd7d7; }

/* ---------- Bouton bas mobile ---------- */
.mb-editboutik__bottom-save {
    display: none;
    margin: 10px 0 0;
    text-align: center;
}
.mb-editboutik__bottom-save .mb-editboutik__save {
    width: 100%;
    justify-content: center;
    padding: 14px 18px;
    font-size: 14px;
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 768px) {
    .mb-editboutik { padding: 18px 0.85rem 50px; }
    .mb-editboutik__bar {
        top: 56px;
        padding: 10px 12px;
        border-radius: 12px;
        margin-bottom: 16px;
    }
    .mb-editboutik__bar-left,
    .mb-editboutik__bar-right {
        width: 100%;
        justify-content: space-between;
    }
    .mb-editboutik__bar-right { gap: 8px; }
    .mb-editboutik__badge { font-size: 11.5px; padding: 6px 10px; }
    .mb-editboutik__save span { display: none; }
    .mb-editboutik__save { padding: 9px 12px; }
    .mb-editboutik__toggle { font-size: 12px; padding: 8px 12px; }
    .mb-editboutik__toggle span { font-size: 12px; }

    .mb-editboutik__card { border-radius: 14px; margin-bottom: 14px; }
    .mb-editboutik__card-head { padding: 14px 16px 4px; gap: 10px; }
    .mb-editboutik__card-body { padding: 12px 16px 18px; }
    .mb-editboutik__pill { width: 38px; height: 38px; font-size: 15px; border-radius: 10px; }
    .mb-editboutik__card-title { font-size: 1rem !important; }
    .mb-editboutik__card-lead { font-size: 12.5px; }

    .mb-editboutik__horaire-row { grid-template-columns: 88px 1fr; gap: 8px; padding: 6px 10px; }
    .mb-editboutik__horaire-day { font-size: 12.5px; }

    .mb-editboutik__bottom-save { display: block; }

    .mb-editboutik__hashtag-add { flex-direction: column; max-width: 100%; }
    .mb-editboutik__hashtag-btn { padding: 12px 16px; justify-content: center; }
}

@media (min-width: 992px) {
    .mb-editboutik__card-head { padding: 22px 26px 6px; }
    .mb-editboutik__card-body { padding: 16px 26px 24px; }
    .mb-editboutik__card-title { font-size: 1.2rem !important; }
}

/* =========================================================
   PAGE MES VENTES - etat vide moderne (.mb-mysales-empty-*)
   ========================================================= */
.mb-mysales-empty {
    padding: 24px 12px 56px;
    display: flex;
    justify-content: center;
}
.mb-mysales-empty__card {
    width: 100%;
    max-width: 640px;
    background: #ffffff;
    border: 1px solid #e6edf1;
    border-radius: 16px;
    box-shadow: 0 6px 24px rgba(19, 166, 194, 0.08);
    padding: 32px 24px;
    text-align: center;
}
.mb-mysales-empty__media {
    margin: 0 auto 16px;
    width: 96px;
    height: 96px;
    border-radius: 50%;
    background: linear-gradient(135deg, #e5f6fa 0%, #d6f0f6 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}
.mb-mysales-empty__img {
    height: 64px;
    width: auto;
}
.mb-mysales-empty__title {
    font-size: 1.35rem;
    font-weight: 700;
    color: #1f2a32;
    margin: 0 0 10px;
    line-height: 1.3;
}
.mb-mysales-empty__lead {
    font-size: 0.95rem;
    color: #607080;
    line-height: 1.55;
    margin: 0 auto 22px;
    max-width: 480px;
}
.mb-mysales-empty__lead b { color: #1f2a32; font-weight: 600; }
.mb-mysales-empty__cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 22px;
    background: linear-gradient(135deg, #13a6c2 0%, #0e8fa8 100%);
    color: #ffffff !important;
    border-radius: 14px;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 4px 14px rgba(19, 166, 194, 0.28);
    transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
}
.mb-mysales-empty__cta:hover {
    transform: translateY(-1px);
    filter: brightness(1.05);
    box-shadow: 0 6px 18px rgba(19, 166, 194, 0.35);
    color: #ffffff !important;
    text-decoration: none;
}
.mb-mysales-empty__cta i { font-size: 14px; }

@media (min-width: 768px) {
    .mb-mysales-empty__card { padding: 40px 36px; }
    .mb-mysales-empty__title { font-size: 1.5rem; }
}

/* =========================================================
   ADMIN STATS — cartes statistiques harmonisées
   ========================================================= */
.mb-stats-grid { row-gap: 16px; }
.mb-stats-grid > [class*="col-"] { display: flex; }

.mb-stat-card {
    flex: 1 1 auto;
    width: 100%;
    background: #ffffff;
    border: 1px solid #e6eef2;
    border-radius: 16px;
    box-shadow: 0 1px 2px rgba(15,42,50,0.04);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.mb-stat-card__head {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 18px;
    background: linear-gradient(180deg,#f8fbfc 0%, #f1f7f9 100%);
    border-bottom: 1px solid #e6eef2;
}
.mb-stat-card__head i { color: #0d8aa3; font-size: 16px; }
.mb-stat-card__head h3 {
    margin: 0;
    font-size: 0.98rem;
    font-weight: 800;
    color: #1f2a32;
    letter-spacing: 0.1px;
    flex: 1 1 auto;
}
.mb-stat-card__badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 26px;
    height: 24px;
    padding: 0 9px;
    border-radius: 999px;
    background: #eef5f8;
    color: #0d8aa3;
    font-weight: 800;
    font-size: 12px;
    border: 1px solid #d4e6ed;
}
.mb-stat-card__badge--warn {
    background: #fff5dc;
    color: #9a6a00;
    border-color: #ffe9a6;
}
.mb-stat-card__action {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 999px;
    background: #f4f7f9;
    color: #4a5560;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    border: 1px solid #e1e8ec;
    transition: all .15s ease;
}
.mb-stat-card__action:hover { background:#e9eef1; color:#1f2a32; }
.mb-stat-card__action--danger { background:#fdecec; color:#c54545; border-color:#f2c5c5; }
.mb-stat-card__action--danger:hover { background:#fbd7d7; color:#a23030; }

.mb-stat-card__body { padding: 16px 18px; flex: 1 1 auto; }

/* ---- KPI blocks ---- */
.mb-stat-card__kpi-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
    gap: 10px;
    margin-bottom: 12px;
}
.mb-stat-card__kpi {
    background: #f6fafb;
    border: 1px solid #e6eef2;
    border-radius: 12px;
    padding: 10px 12px;
    text-align: center;
}
.mb-stat-card__kpi-value {
    font-size: 1.45rem;
    font-weight: 800;
    color: #1f2a32;
    line-height: 1.1;
}
.mb-stat-card__kpi-label {
    margin-top: 4px;
    font-size: 11px;
    color: #607080;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    font-weight: 600;
}
.mb-stat-card__kpi--ok    { background:#e7f7ec; border-color:#bfe7c9; }
.mb-stat-card__kpi--ok    .mb-stat-card__kpi-value { color:#146b2c; }
.mb-stat-card__kpi--warn  { background:#fff5dc; border-color:#ffe9a6; }
.mb-stat-card__kpi--warn  .mb-stat-card__kpi-value { color:#9a6a00; }
.mb-stat-card__kpi--ko    { background:#fdecec; border-color:#f2c5c5; }
.mb-stat-card__kpi--ko    .mb-stat-card__kpi-value { color:#c54545; }
.mb-stat-card__kpi--info  { background:#eef5f8; border-color:#d4e6ed; }
.mb-stat-card__kpi--info  .mb-stat-card__kpi-value { color:#0d8aa3; }

/* ---- Groupes dans la carte stats globales ---- */
.mb-stat-card__group { margin-bottom: 18px; }
.mb-stat-card__group:last-child { margin-bottom: 0; }
.mb-stat-card__group-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    font-weight: 700;
    color: #4a5560;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 4px 0 8px;
    padding-bottom: 6px;
    border-bottom: 1px dashed #e1e8ec;
}
.mb-stat-card__group-title i { color: #0d8aa3; }

/* ---- Listes d'items ---- */
.mb-stat-card__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.mb-stat-card__item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 8px 10px;
    background: #f8fbfc;
    border: 1px solid #eef3f6;
    border-radius: 10px;
    font-size: 13px;
}
.mb-stat-card__item--stack { flex-direction: column; align-items: flex-start; }
.mb-stat-card__label { color: #1f2a32; }
.mb-stat-card__value { color: #36454f; display:inline-flex; align-items:center; gap:6px; }
.mb-stat-card__sub   { color: #607080; font-size: 12px; margin-top: 2px; }
.mb-stat-card__muted { color: #98a4ae; font-weight: 400; }

.mb-stat-card__value.is-up   { color:#146b2c; }
.mb-stat-card__value.is-down { color:#c54545; }
.mb-stat-card__value.is-up i, .mb-stat-card__value.is-down i { font-size: 11px; }

.mb-stat-card__list--bars { max-height: 280px; overflow-y: auto; padding-right: 4px; }
.mb-stat-card__list--bars::-webkit-scrollbar { width: 6px; }
.mb-stat-card__list--bars::-webkit-scrollbar-thumb { background: #d4e0e6; border-radius: 3px; }

.mb-stat-card__empty {
    text-align: center;
    padding: 28px 10px;
    color: #98a4ae;
    font-size: 13px;
    background: #f8fbfc;
    border: 1px dashed #e1e8ec;
    border-radius: 12px;
}

.mb-stat-card__icon-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 8px;
    background: #fdecec;
    color: #c54545;
    cursor: pointer;
    flex-shrink: 0;
    transition: background .15s ease;
}
.mb-stat-card__icon-btn:hover { background: #fbd7d7; color:#a23030; }
.mb-stat-card__icon-btn i { font-size: 12px; }

@media (max-width: 575px) {
    .mb-stat-card__head { padding: 12px 14px; }
    .mb-stat-card__body { padding: 12px 14px; }
    .mb-stat-card__kpi-value { font-size: 1.2rem; }
}

/* =========================================================
   MODAL LAISSER UN AVIS — refonte moderne
   ========================================================= */
.mb-avis-modal .modal-dialog { max-width: 560px; }
.mb-avis-modal__shell {
    border: none !important;
    border-radius: 20px !important;
    overflow: hidden !important;
    box-shadow: 0 24px 48px rgba(15,42,50,0.18) !important;
}

.mb-avis-modal__header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 18px 22px;
    background: linear-gradient(135deg, #13a6c2 0%, #0e8fa8 100%);
    color: #fff;
    position: relative;
}
.mb-avis-modal__title {
    flex: 1 1 auto;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
    font-weight: 600;
    color: #fff;
    line-height: 1.3;
}
.mb-avis-modal__title i { font-size: 18px; }
.mb-avis-modal__title b { font-weight: 800; }
.mb-avis-modal__close {
    background: rgba(255,255,255,0.18);
    color: #fff;
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background .15s ease;
    padding: 0;
}
.mb-avis-modal__close:hover { background: rgba(255,255,255,0.32); }
.mb-avis-modal__close i { font-size: 14px; }

.mb-avis-modal__body {
    padding: 20px 22px 22px;
    background: #ffffff;
}

.mb-avis-modal__hint {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    background: #f5fafc;
    border: 1px solid #e1eef3;
    border-left: 3px solid #13a6c2;
    border-radius: 10px;
    color: #4a5560;
    font-size: 12px;
    margin-bottom: 18px;
    line-height: 1.45;
}
.mb-avis-modal__hint i { color: #0d8aa3; flex-shrink: 0; }

/* Bloc preview annonce / actu */
.mb-avis-modal__item {
    display: flex;
    gap: 14px;
    padding: 14px;
    background: #f8fbfc;
    border: 1px solid #e6eef2;
    border-radius: 14px;
    margin-bottom: 18px;
}
.mb-avis-modal__item-photo {
    flex-shrink: 0;
    width: 96px;
    height: 96px;
    border-radius: 10px;
    overflow: hidden;
    background: #e6eef2;
    display: flex;
    align-items: center;
    justify-content: center;
}
.mb-avis-modal__item-photo img,
.mb-avis-modal__item-photo picture {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.mb-avis-modal__item-photo--placeholder i { font-size: 28px; color: #adb8c2; }

.mb-avis-modal__item-info {
    flex: 1 1 auto;
    min-width: 0;
}
.mb-avis-modal__item-title {
    font-size: 1rem;
    font-weight: 800;
    color: #1f2a32;
    margin-bottom: 2px;
    line-height: 1.25;
}
.mb-avis-modal__item-cat {
    font-size: 12px;
    color: #607080;
    margin-bottom: 4px;
}
.mb-avis-modal__item-date {
    font-size: 11px;
    color: #98a4ae;
    margin-bottom: 8px;
}
.mb-avis-modal__price {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 11px;
    background: #ffffff;
    border: 1px solid #d4e6ed;
    border-radius: 999px;
    font-size: 13px;
    color: #1f2a32;
}
.mb-avis-modal__price b { color: #0d8aa3; font-weight: 800; }
.mb-avis-modal__price-old {
    text-decoration: line-through;
    font-size: 11px;
    color: #98a4ae;
    margin-right: 4px;
}
.mb-avis-modal__price-prefix { color: #607080; font-size: 12px; font-weight: 500; }
.mb-avis-modal__price-duree  { color: #607080; font-size: 12px; }

/* Champ */
.mb-avis-modal__field { margin-bottom: 16px; }
.mb-avis-modal__field:last-child { margin-bottom: 0; }
.mb-avis-modal__label {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: #1f2a32;
    margin: 0 0 8px;
}
.mb-avis-modal__label-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
}
.mb-avis-modal__label-row .mb-avis-modal__label { margin: 0; }

/* Étoiles */
.mb-avis-modal__rating {
    display: flex;
    align-items: center;
    gap: 10px;
}
.mb-avis-modal__star {
    color: #d4dde3;
    font-size: 28px;
    cursor: pointer;
    transition: transform .12s ease, color .12s ease;
}
.mb-avis-modal__star:hover { transform: scale(1.12); color: #f5b400; }
.mb-avis-modal__star.is-on { color: #f5b400; }

/* Smiley & textarea */
.mb-avis-modal__smiley {
    font-size: 18px !important;
    color: rgba(32,97,195,0.9) !important;
    padding: 4px 8px !important;
    cursor: pointer;
}
.mb-avis-modal__textarea {
    width: 100%;
    border: 1px solid #d4dde3 !important;
    border-radius: 10px !important;
    padding: 10px 12px !important;
    font-size: 14px !important;
    resize: vertical;
    min-height: 110px;
    background: #fff;
    transition: border-color .15s ease, box-shadow .15s ease;
}
.mb-avis-modal__textarea:focus {
    border-color: #13a6c2 !important;
    box-shadow: 0 0 0 3px rgba(19,166,194,0.15) !important;
    outline: none;
}
.mb-avis-modal__counter {
    text-align: right;
    font-size: 11px;
    color: #98a4ae;
    margin-top: 4px;
}

/* Actions */
.mb-avis-modal__actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 8px;
    padding-top: 16px;
    border-top: 1px solid #eef3f6;
}
.mb-avis-modal__btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    border: none;
    transition: all .15s ease;
    text-decoration: none !important;
}
.mb-avis-modal__btn--ghost {
    background: #f4f7f9;
    color: #4a5560;
}
.mb-avis-modal__btn--ghost:hover { background: #e9eef1; color: #1f2a32; }
.mb-avis-modal__btn--primary {
    background: linear-gradient(135deg, #13a6c2 0%, #0e8fa8 100%);
    color: #ffffff !important;
    box-shadow: 0 4px 12px rgba(19,166,194,0.28);
}
.mb-avis-modal__btn--primary:hover {
    box-shadow: 0 6px 16px rgba(19,166,194,0.38);
    transform: translateY(-1px);
    color: #ffffff !important;
}
.mb-avis-modal__btn--primary i { font-size: 13px; }

@media (max-width: 575px) {
    .mb-avis-modal .modal-dialog { margin: 8px; }
    .mb-avis-modal__header { padding: 14px 16px; }
    .mb-avis-modal__body { padding: 16px 16px 18px; }
    .mb-avis-modal__item { flex-direction: column; }
    .mb-avis-modal__item-photo { width: 100%; height: 160px; }
    .mb-avis-modal__star { font-size: 24px; }
    .mb-avis-modal__actions { flex-direction: column-reverse; align-items: stretch; }
    .mb-avis-modal__btn { justify-content: center; }
}

/* =========================================================
   CREATE / EDIT ANNONCE — grille de la carte "Tarif & options"
   Layout flex qui se reflow proprement quand des champs sont
   cachés (display:none), avec un champ "Durée" composé de
   deux selects collés (nombre + unité).
   ========================================================= */
.mb-tarif-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 16px 14px;
    align-items: flex-start;
}
.mb-tarif-grid__item {
    flex: 1 1 200px;
    min-width: 160px;
    max-width: 100%;
    padding: 0;
}
.mb-tarif-grid__item--wide {
    flex: 1 1 280px;
    min-width: 240px;
}
.mb-tarif-grid__item[style*="display:none"],
.mb-tarif-grid__item[style*="display: none"] { display: none !important; }

/* Champ composé : deux selects collés côte à côte (Durée + Unité) */
.mb-field__combo {
    display: flex;
    gap: 8px;
}
.mb-field__combo > .form-control,
.mb-field__combo > .mb-field__input {
    flex: 1 1 0;
    min-width: 0;
}

/* Hint (petit texte d'aide sous un champ) */
.mb-field__hint {
    display: block;
    margin-top: 6px;
    font-size: 11.5px;
    color: #98a4ae;
    line-height: 1.4;
}
.mb-field__hint i { margin-right: 4px; }
.mb-field__hint--warn {
    color: #9a6a00;
    background: #fff5dc;
    border: 1px solid #ffe9a6;
    border-radius: 8px;
    padding: 6px 10px;
    margin-top: 8px;
}

@media (max-width: 575px) {
    .mb-tarif-grid { gap: 12px; }
    .mb-tarif-grid__item { flex: 1 1 100%; }
}

/* =========================================================
   PAGE PANIER (adminCart) — refonte moderne + responsive
   ========================================================= */
.mb-cart-wrap {
    padding: 0 0 40px;
    background: transparent;
}
.mb-cart-wrap .container-fluid {
    max-width: 1320px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

/* ----- Carte panier (1 par vendeur) ----- */
.mb-cart-card {
    background: #ffffff;
    border: 1px solid #e6eef2;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 2px 6px rgba(15,42,50,0.04);
}

/* ----- Header vendeur + livraison + paiement ----- */
.mb-cart-card__head {
    padding: 18px 20px;
    background: linear-gradient(180deg, #f8fbfc 0%, #f1f7f9 100%);
    border-bottom: 1px solid #e6eef2;
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.mb-cart-vendor {
    display: flex;
    align-items: center;
    gap: 14px;
}
.mb-cart-vendor__icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: linear-gradient(135deg, #13a6c2 0%, #0e8fa8 100%);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}
.mb-cart-vendor__info { display: flex; flex-direction: column; min-width: 0; }
.mb-cart-vendor__label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #607080;
    font-weight: 700;
}
.mb-cart-vendor__name {
    font-size: 1.05rem;
    font-weight: 800;
    color: #1f2a32;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    line-height: 1.2;
}
.mb-cart-vendor__name i { font-size: 11px; color: #0d8aa3; }
.mb-cart-vendor__name:hover { color: #0d8aa3; text-decoration: none; }

.mb-cart-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 12px;
}
.mb-cart-option {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin: 0;
}
.mb-cart-option__label {
    font-size: 12px;
    font-weight: 700;
    color: #4a5560;
    display: inline-flex;
    align-items: center;
    gap: 7px;
}
.mb-cart-option__label i { color: #0d8aa3; font-size: 12px; }
.mb-cart-option__select {
    width: 100%;
    height: 42px;
    border: 1px solid #d4dde3;
    border-radius: 10px;
    padding: 0 12px;
    font-size: 14px;
    background: #fff;
    color: #1f2a32;
    transition: border-color .15s ease, box-shadow .15s ease;
}
.mb-cart-option__select:focus {
    outline: none;
    border-color: #13a6c2;
    box-shadow: 0 0 0 3px rgba(19,166,194,0.15);
}

.mb-cart-freeport {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    background: #e7f7ec;
    border: 1px solid #bfe7c9;
    color: #146b2c;
    border-radius: 999px;
    font-size: 12.5px;
    align-self: flex-start;
}
.mb-cart-freeport i { font-size: 13px; }

/* ----- Liste articles ----- */
.mb-cart-items {
    list-style: none;
    margin: 0;
    padding: 0;
}
.mb-cart-item {
    display: grid;
    grid-template-columns: 120px 1fr auto;
    gap: 16px;
    padding: 16px 20px;
    border-bottom: 1px solid #eef3f6;
    transition: background .15s ease;
}
.mb-cart-item:last-child { border-bottom: none; }
.mb-cart-item--warn   { background: rgba(255,180,0,0.08); }
.mb-cart-item--danger { background: rgba(235,0,0,0.06); }

.mb-cart-item__photo {
    position: relative;
    display: block;
    width: 120px;
    height: 120px;
    border-radius: 12px;
    overflow: hidden;
    background: #eef3f6;
    flex-shrink: 0;
}
.mb-cart-item__photo picture,
.mb-cart-item__photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.mb-cart-item__photo-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(15,42,50,0.55);
    color: #fff;
    opacity: 0;
    transition: opacity .15s ease;
    font-size: 18px;
}
.mb-cart-item__photo:hover .mb-cart-item__photo-overlay { opacity: 1; }

.mb-cart-item__main {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.mb-cart-item__title {
    margin: 0;
    font-size: 1rem;
    font-weight: 800;
    color: #1f2a32;
    line-height: 1.25;
}
.mb-cart-item__desc {
    margin: 0;
    font-size: 12.5px;
    color: #607080;
    line-height: 1.45;
}
.mb-cart-item__size {
    font-size: 12px;
    color: #4a5560;
}
.mb-cart-item__controls {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin-top: 6px;
}

.mb-cart-qty {
    display: inline-flex;
    align-items: center;
    border: 1px solid #d4dde3;
    border-radius: 999px;
    background: #fff;
    overflow: hidden;
}
.mb-cart-qty__btn {
    width: 32px;
    height: 32px;
    border: none;
    background: transparent;
    color: #4a5560;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background .12s ease, color .12s ease;
}
.mb-cart-qty__btn:hover { background: #eef3f6; color: #0d8aa3; }
.mb-cart-qty__btn i { font-size: 12px; }
.mb-cart-qty__value {
    min-width: 32px;
    text-align: center;
    font-weight: 800;
    font-size: 15px;
    color: #1f2a32;
    padding: 0 6px;
}

.mb-cart-item__stock {
    font-size: 12px;
    color: #607080;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}
.mb-cart-item__stock i { color: #98a4ae; font-size: 11px; }

.mb-cart-item__qty-static {
    font-size: 13px;
    color: #4a5560;
}
.mb-cart-item__qty-static span { font-weight: 700; color: #1f2a32; }

.mb-cart-item__alert {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 10px;
    font-size: 12.5px;
    width: 100%;
}
.mb-cart-item__alert--warn {
    background: #fff5dc;
    color: #9a6a00;
    border: 1px solid #ffe9a6;
}
.mb-cart-item__alert--danger {
    background: #fdecec;
    color: #c54545;
    border: 1px solid #f2c5c5;
}
.mb-cart-item__alert-btn {
    background: rgba(255,255,255,0.7);
    border: 1px solid currentColor;
    color: inherit;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 11.5px;
    font-weight: 700;
    cursor: pointer;
    transition: background .12s ease;
}
.mb-cart-item__alert-btn:hover { background: #fff; }

.mb-cart-item__price {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: space-between;
    gap: 6px;
    min-width: 110px;
}
.mb-cart-item__price-total {
    font-size: 1.2rem;
    font-weight: 800;
    color: #1f2a32;
    white-space: nowrap;
}
.mb-cart-item__price-unit {
    font-size: 11.5px;
    color: #98a4ae;
    white-space: nowrap;
}
.mb-cart-item__remove {
    background: transparent;
    border: 1px solid #e1e8ec;
    color: #c54545;
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: all .15s ease;
}
.mb-cart-item__remove:hover {
    background: #fdecec;
    border-color: #f2c5c5;
    color: #a23030;
}

/* ----- Footer totaux + validation ----- */
.mb-cart-card__foot {
    background: #f8fbfc;
    border-top: 1px solid #e6eef2;
    padding: 18px 20px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.mb-cart-totals {
    display: flex;
    flex-direction: column;
    gap: 6px;
    align-items: flex-end;
}
.mb-cart-totals__row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-width: 280px;
    font-size: 14px;
    color: #4a5560;
}
.mb-cart-totals__row b { font-weight: 700; color: #1f2a32; }
.mb-cart-totals__row--final {
    border-top: 1px dashed #d4e0e6;
    padding-top: 8px;
    margin-top: 4px;
    font-size: 1.05rem;
}
.mb-cart-totals__row--final span { font-weight: 700; color: #1f2a32; }
.mb-cart-totals__row--final b {
    font-size: 1.45rem;
    color: #0d8aa3;
    font-weight: 800;
}

.mb-cart-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
}
.mb-cart-actions__help {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12.5px;
    color: #607080;
    text-decoration: none;
    cursor: pointer;
    padding: 8px 14px;
    border-radius: 999px;
    background: #f4f7f9;
    border: 1px solid #e1e8ec;
    transition: background .15s ease;
}
.mb-cart-actions__help:hover { background: #e9eef1; color: #1f2a32; text-decoration: none; }
.mb-cart-actions__validate {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 22px;
    background: linear-gradient(135deg, #1d8a3e 0%, #146b2c 100%);
    color: #fff;
    border: none;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(29,138,62,0.28);
    transition: all .15s ease;
}
.mb-cart-actions__validate:hover {
    box-shadow: 0 6px 16px rgba(29,138,62,0.38);
    transform: translateY(-1px);
    color: #fff;
}

/* ----- Responsive ----- */
@media (max-width: 767px) {
    .mb-cart-item {
        grid-template-columns: 90px 1fr;
        gap: 12px;
        padding: 14px 14px;
    }
    .mb-cart-item__photo { width: 90px; height: 90px; }
    .mb-cart-item__price {
        grid-column: 1 / -1;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        padding-top: 10px;
        border-top: 1px dashed #eef3f6;
    }
    .mb-cart-item__price-total { font-size: 1.1rem; }
    .mb-cart-card__head { padding: 14px 14px; }
    .mb-cart-card__foot { padding: 14px 14px; }
    .mb-cart-totals__row { min-width: 0; width: 100%; }
    .mb-cart-actions { flex-direction: column-reverse; align-items: stretch; }
    .mb-cart-actions__validate { justify-content: center; }
    .mb-cart-actions__help { justify-content: center; }
}
@media (max-width: 420px) {
    .mb-cart-item { grid-template-columns: 1fr; }
    .mb-cart-item__photo { width: 100%; height: 180px; }
}

/* =========================================================
   PAGE ACTU INFO — refonte (toolbar haut + galerie + autres actus)
   ========================================================= */
.mb-actu-info { padding-bottom: 50px; }

/* La toolbar (Retour / Favori / Partage) réutilise les classes .mb-annonce-toolbar /
   .mb-annonce-back / .mb-annonce-iconbtn de la page annonce — pas de styles dédiés ici. */

/* ----- Conteneur principal ----- */
.mb-actu-info__main {
    background: #ffffff;
    border: 1px solid #e6eef2;
    border-radius: 16px;
    padding: 0;
    overflow: hidden;
    box-shadow: 0 1px 2px rgba(15,42,50,0.04);
}
.mb-actu-info__main > .mb-annonce-toolbar { padding: 14px 18px; }
.mb-actu-info__main > *:not(.mb-annonce-toolbar) { margin-left: 18px; margin-right: 18px; }
.mb-actu-info__main > *:last-child { margin-bottom: 18px; }
.mb-actu-info__main > .mb-actu-info__gallery { margin-left: 0; margin-right: 0; border-radius: 0; }
@media (max-width: 575px) {
    .mb-actu-info__main > .mb-annonce-toolbar { padding: 12px 14px; }
    .mb-actu-info__main > *:not(.mb-annonce-toolbar) { margin-left: 14px; margin-right: 14px; }
}

/* ----- Galerie photos ----- */
.mb-actu-info__gallery {
    display: grid;
    gap: 8px;
    border-radius: 14px;
    overflow: hidden;
    margin-bottom: 18px;
    background: #eef3f6;
}
.mb-actu-info__gallery--1 { grid-template-columns: 1fr; }
.mb-actu-info__gallery--2 { grid-template-columns: 1fr 1fr; }
.mb-actu-info__gallery--3 { grid-template-columns: 1fr 1fr 1fr; }
.mb-actu-info__gallery--4 {
    grid-template-columns: 2fr 1fr;
    grid-template-rows: 1fr 1fr;
}
.mb-actu-info__gallery--4 .mb-actu-info__gallery-cell:first-child {
    grid-row: span 2;
}

.mb-actu-info__gallery-cell {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: #eef3f6;
}
.mb-actu-info__gallery--1 .mb-actu-info__gallery-cell { aspect-ratio: 16 / 7; max-height: 380px; }
.mb-actu-info__gallery--4 .mb-actu-info__gallery-cell:first-child { aspect-ratio: 1 / 1.05; }

.mb-actu-info__gallery picture,
.mb-actu-info__gallery img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    cursor: zoom-in;
    transition: transform .25s ease;
}
.mb-actu-info__gallery img:hover { transform: scale(1.03); }

.mb-actu-info__gallery-cell--more::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(15,42,50,0.65);
}
.mb-actu-info__gallery-more {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 800;
    font-size: 1.1rem;
    z-index: 2;
    text-shadow: 0 1px 3px rgba(0,0,0,0.4);
}

.mb-actu-info__gallery--placeholder { aspect-ratio: 16 / 6; max-height: 240px; opacity: 0.6; padding: 20px; display: flex; align-items: center; justify-content: center; }
.mb-actu-info__gallery--placeholder img { width: auto; height: 100%; object-fit: contain; }

/* ----- Navigation prev/next ----- */
.mb-actu-info__nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin: 14px 0 20px;
}
.mb-actu-info__nav-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    border: 1px solid rgba(0,0,0,0.08);
    transition: opacity .15s ease, transform .15s ease;
}
.mb-actu-info__nav-btn:hover { opacity: 0.9; transform: translateY(-1px); text-decoration: none; }
.mb-actu-info__nav-btn--right { margin-left: auto; }
.mb-actu-info__nav-btn:only-child { margin-left: auto; }

/* ----- Titre + meta ----- */
.mb-actu-info__head { margin-bottom: 22px; }
.mb-actu-info__title {
    font-size: clamp(1.5rem, 3vw, 2.1rem);
    font-weight: 800;
    color: #1f2a32;
    margin: 0 0 6px;
    line-height: 1.2;
}
.mb-actu-info__cats {
    font-size: 13px;
    color: #607080;
    margin-bottom: 6px;
}
.mb-actu-info__date {
    font-size: 12.5px;
    color: #98a4ae;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.mb-actu-info__date i { color: #adb8c2; }

/* ----- Sections ----- */
.mb-actu-info__section {
    border-top: 1px solid #eef3f6;
    padding-top: 18px;
    margin-bottom: 22px;
}
.mb-actu-info__section-title {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
    font-weight: 700;
    color: #1f2a32;
    margin: 0 0 10px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
.mb-actu-info__section-title i { color: #0d8aa3; font-size: 0.9rem; }
.mb-actu-info__description {
    font-size: 14.5px;
    color: #36454f;
    line-height: 1.65;
    white-space: pre-line;
}

/* ----- Fichier lié ----- */
.mb-actu-info__file {
    margin-top: 14px;
    padding: 12px 14px;
    background: #f5fafc;
    border: 1px solid #e1eef3;
    border-left: 3px solid #13a6c2;
    border-radius: 10px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}
.mb-actu-info__file-label {
    font-size: 12px;
    font-weight: 700;
    color: #4a5560;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.mb-actu-info__file-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: #0d8aa3;
    color: #fff !important;
    border-radius: 999px;
    font-size: 12.5px;
    font-weight: 700;
    text-decoration: none !important;
    transition: background .15s ease;
}
.mb-actu-info__file-btn:hover { background: #0a6f83; }

/* ----- Avis (étoiles) ----- */
.mb-actu-info__avis {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}
.mb-actu-info__rating {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}
.mb-actu-info__star {
    color: #d4dde3;
    font-size: 16px;
}
.mb-actu-info__star.is-on { color: #f2a611; }
.mb-actu-info__avis-count {
    margin-left: 8px;
    font-size: 12.5px;
    color: #607080;
    text-decoration: none;
}
.mb-actu-info__avis-write {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12.5px;
    color: #0d8aa3;
    cursor: pointer;
    text-decoration: none;
    padding: 6px 12px;
    border: 1px solid #d4e6ed;
    border-radius: 999px;
    background: #f5fafc;
    transition: background .15s ease;
}
.mb-actu-info__avis-write:hover { background: #e7f3f7; color: #0a6f83; text-decoration: none; }

/* ----- Actions footer (dates / message / signaler / FB) ----- */
.mb-actu-info__actions {
    border-top: 1px solid #eef3f6;
    padding-top: 18px;
    margin-top: 8px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}
.mb-actu-info__chip {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 9px 16px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none !important;
    border: 1px solid rgba(0,0,0,0.08);
    cursor: pointer;
    transition: opacity .15s ease, transform .15s ease;
}
.mb-actu-info__chip:hover { opacity: 0.9; transform: translateY(-1px); }
.mb-actu-info__chip--date { cursor: default; }
.mb-actu-info__chip--message { cursor: pointer; }
.mb-actu-info__chip i { font-size: 12px; }

.mb-actu-info__actions-sec {
    margin-left: auto;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}
.mb-actu-info__chip-ghost {
    font-size: 12px;
    color: #607080;
    text-decoration: none;
    cursor: pointer;
    padding: 6px 10px;
    border-radius: 999px;
    background: #f4f7f9;
    border: 1px solid #e1e8ec;
    transition: background .15s ease;
}
.mb-actu-info__chip-ghost:hover { background: #e9eef1; color: #1f2a32; text-decoration: none; }
@media (max-width: 575px) {
    .mb-actu-info__actions-sec { margin-left: 0; width: 100%; justify-content: space-between; }
}

/* Les "autres actualités" réutilisent la grille .mb-related définie au-dessus
   (utilisée également par la page annonce) — pas de styles dédiés ici. */

/* =========================================================
   NAVIGATION ONGLETS DE LA BOUTIK (Accueil / Annonces / Actus…)
   Affichée sous la carte identité, partagée par boutikInfo / annonceInfo / actuInfo
   ========================================================= */
.mb-boutik-tabs {
    width: 100%;
    max-width: 1400px;
    margin: 14px auto 0;
    padding: 0 16px;
    position: relative !important;     /* override legacy "position: sticky" */
    top: auto !important;               /* override legacy "top: 88px" */
    z-index: 2;
    background-color: transparent !important;  /* override legacy bg */
    border-bottom: 0 !important;        /* override legacy 2px pink border */
    box-shadow: none !important;        /* override legacy shadow */
}
@media (min-width: 768px) { .mb-boutik-tabs { padding: 0 24px; } }
@media (min-width: 1280px) { .mb-boutik-tabs { padding: 0 32px; } }
.mb-boutik-tabs .container {
    display: block !important;          /* neutralise l'ancien display:flex sur .container */
    padding: 0 !important;
    overflow: visible !important;
}
.mb-boutik-tabs__inner {
    display: flex;
    align-items: stretch;
    gap: 4px;
    background: #ffffff;
    border: 1px solid #e6eef2;
    border-radius: 14px;
    padding: 6px;
    overflow-x: auto;
    box-shadow: 0 6px 16px rgba(15,42,50,0.06);
    scrollbar-width: thin;
}
.mb-boutik-tabs__inner::-webkit-scrollbar { height: 4px; }
.mb-boutik-tabs__inner::-webkit-scrollbar-thumb { background: #d4e0e6; border-radius: 2px; }

.mb-boutik-tabs__tab {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    border-radius: 10px;
    color: #4a5560;
    text-decoration: none;
    font-size: 13.5px;
    font-weight: 600;
    transition: all .15s ease;
    white-space: nowrap;
    border: 1px solid transparent;
}
.mb-boutik-tabs__tab:hover {
    background: #f4f7f9;
    color: #1f2a32;
    text-decoration: none;
}
.mb-boutik-tabs__tab i {
    font-size: 14px;
    color: #98a4ae;
    transition: color .15s ease;
}
.mb-boutik-tabs__tab:hover i { color: #4a5560; }

.mb-boutik-tabs__tab.is-active {
    background: var(--bk-color, #13a6c2);
    color: #fff !important;
    box-shadow: 0 2px 6px rgba(15,42,50,0.12);
}
.mb-boutik-tabs__tab.is-active i,
.mb-boutik-tabs__tab.is-active:hover i { color: #fff; }

.mb-boutik-tabs__count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 22px;
    height: 20px;
    padding: 0 7px;
    border-radius: 999px;
    background: #eef3f6;
    color: #607080;
    font-size: 11px;
    font-weight: 800;
    font-style: normal;
    line-height: 1;
}
.mb-boutik-tabs__tab.is-active .mb-boutik-tabs__count {
    background: rgba(255,255,255,0.28);
    color: #fff;
}

/* Mobile : padding réduit, labels conservés mais plus compacts */
@media (max-width: 575px) {
    .mb-boutik-tabs { padding: 0 12px; }
    .mb-boutik-tabs__tab { padding: 9px 13px; font-size: 12.5px; gap: 6px; }
    .mb-boutik-tabs__tab i { font-size: 13px; }
}
@media (max-width: 380px) {
    /* Sur écrans très étroits, on cache le label des onglets non-actifs,
       on garde juste l'icône et le compte. L'onglet actif reste lisible. */
    .mb-boutik-tabs__tab:not(.is-active) span { display: none; }
    .mb-boutik-tabs__tab { padding: 9px 10px; }
}

/* =========================================================
   HARMONISATION DES BLOCS ADMIN — photo/visuel en haut, texte
   en bas, boutons Modifier/Supprimer uniformes (modèle actu).
   ========================================================= */

/* Variante photos-en-haut pour albumBloc : l'ordre est désormais imposé par le HTML
   (photos → header → description → actions). Pas de flex/order. Juste un coin
   bas plat sur la grille pour fusionner visuellement avec le bloc texte. */
.mb-album-card--photo-top > .mb-album-card__grid {
    border-radius: 12px 12px 0 0;
    overflow: hidden;
    margin: 0;
}
.mb-album-card--photo-top > .mb-album-card__head { padding-top: 14px; }

/* Variante icône-en-haut pour fileBloc : l'ordre est imposé par le HTML
   (visuel → header → description → view → actions). Pas de flex/order. */
.mb-file-card--icon-top { overflow: hidden; }
.mb-file-card__visual {
    position: relative;
    background: linear-gradient(135deg, #eef5f8 0%, #e3eef3 100%);
    height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid #e6eef2;
}
.mb-file-card__visual > i:first-child,
.mb-file-card__visual > i.fa-solid,
.mb-file-card__visual > i.fa-regular {
    font-size: 60px;
    color: #0d8aa3;
    opacity: 0.85;
}
.mb-file-card__visual .mb-file-card__badge {
    position: absolute;
    top: 10px;
    right: 10px;
    color: #fff;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

/* Le head de fileBloc en variante icon-top n'a plus besoin de flex inline
   (l'icône est maintenant en haut). On simplifie pour avoir un layout vertical propre. */
.mb-file-card--icon-top .mb-file-card__head {
    padding: 14px 16px 6px;
    display: block;
}
.mb-file-card--icon-top .mb-file-card__head-info { width: 100%; }
.mb-file-card--icon-top .mb-file-card__title {
    font-size: 1rem;
    font-weight: 800;
    color: #1f2a32;
    margin: 0 0 6px;
}
.mb-file-card--icon-top .mb-file-card__meta {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 12px;
    color: #607080;
}
.mb-file-card--icon-top .mb-file-card__meta i { color: #98a4ae; margin-right: 4px; }
.mb-file-card--icon-top .mb-file-card__desc {
    padding: 0 16px 6px;
    margin: 0;
    font-size: 13px;
    color: #607080;
    line-height: 1.5;
}

/* Boutons utilitaires "Voir" / "Télécharger" en row, plus discrets que les actions admin */
.mb-file-card--icon-top .mb-file-card__view {
    display: flex;
    gap: 8px;
    padding: 6px 16px 12px;
}
.mb-file-card--icon-top .mb-file-card__view-btn,
.mb-file-card--icon-top .mb-file-card__download-btn {
    flex: 1 1 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 12.5px;
    font-weight: 600;
    text-decoration: none;
    transition: background .15s ease;
}
.mb-file-card--icon-top .mb-file-card__view-btn {
    background: #f4f7f9;
    color: #4a5560 !important;
    border: 1px solid #e1e8ec;
}
.mb-file-card--icon-top .mb-file-card__view-btn:hover { background: #e9eef1; }
.mb-file-card--icon-top .mb-file-card__download-btn {
    background: #0d8aa3;
    color: #fff !important;
    border: 1px solid #0d8aa3;
}
.mb-file-card--icon-top .mb-file-card__download-btn:hover { background: #0a6f83; }

/* Modifier "centered" : footer admin avec boutons centrés horizontalement
   (style unifié annonce/actu/album/file pour Modifier/Supprimer/Accepter/Refuser) */
.mb-album-card__actions--centered {
    justify-content: center;
}
.mb-album-card__actions--centered .mb-album-card__refused-info {
    width: 100%;
    text-align: center;
}

/* Les cartes admin (album / file) suivent désormais le modèle adminActu :
   hauteur naturelle selon le contenu, pas d'étirement forcé, footer juste
   après le contenu — pas de margin-top:auto ni de flex stretch.
   Override défensif au cas où une règle cascade tenterait de remettre height:100%. */
.mb-album-card,
.mb-file-card {
    height: auto !important;
    min-height: 0 !important;
    align-self: flex-start;
}
.mb-album-card > *,
.mb-file-card > * {
    flex: 0 0 auto;
}

/* =========================================================
   FIX MOBILE — padding cohérent home / search / boutik
   ========================================================= */
@media (max-width: 767.98px) {
    /* Home + search + boutiks listing : container avec padding L/R défensif
       de 12px pour ne pas que les cards collent aux bords du viewport. */
    body.page-home .mb-section > .container,
    body.page-search .container,
    body.page-search .mb-section > .container,
    body.page-boutiks .mb-section > .container,
    body.page-annonces .mb-section > .container,
    body.page-actus .mb-section > .container {
        padding-left: 12px !important;
        padding-right: 12px !important;
        max-width: 100%;
    }

    /* La grille mb-pages-une-grid ne doit pas déborder du container */
    .mb-pages-une-grid {
        max-width: 100%;
        overflow: hidden;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    /* Cartes section blanches sur la page boutik (.mb-boutik-card) : padding interne
       réduit sur mobile pour offrir aux cards d'annonces autant de place qu'à la
       home. Sinon "Services proposés par AB Propreté" + 22px×2 de padding =
       contenu compressé à ~290px sur un viewport 360px. */
    body.page-boutikInfo .mb-boutik-card {
        padding: 12px !important;
        margin-bottom: 14px !important;
        border-radius: 12px;
    }
    body.page-boutikInfo .mb-boutik-card__title {
        font-size: 1rem !important;
        margin-bottom: 10px !important;
        flex-wrap: wrap;
    }
    /* Le header des sections (mb-boutik-card__head) : padding réduit */
    body.page-boutikInfo .mb-boutik-card__head { padding: 0 !important; }

    /* IMPORTANT : on FORCE à 0 toute la chaîne d'imbrication entre
       .mb-boutik-content (qui porte le padding 12px du viewport) et
       .mb-boutik-card (la carte blanche visible). Sinon Bootstrap rajoute des
       gutters par défaut (12px à droite sur la col main quand sidebar en DOM,
       12px sur le .container, etc.) qui creusent une marge supplémentaire qui
       ne matche plus celle de la carte identité au-dessus. */
    body.page-boutikInfo .mb-boutik-content > .container,
    body.page-boutikInfo .mb-boutik-layout,
    body.page-boutikInfo .mb-boutik-layout > .mb-boutik-main,
    body.page-boutikInfo .mb-boutik-layout > .mb-boutik-sidebar,
    body.page-boutikInfo .mb-boutik-section {
        padding-left: 0 !important;
        padding-right: 0 !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
    body.page-boutikInfo .mb-boutik-card,
    body.page-boutikInfo .mb-boutik-sidebar .mb-sidebar-section,
    body.page-boutikInfo .mb-boutik-sidebar > * {
        margin-left: 0 !important;
        margin-right: 0 !important;
        width: auto !important;
    }

    /* Cards annonces/actus sur la page boutik publique : padding agressivement
       réduit sur mobile pour gagner un max de place utile. Les cards font ~160px
       de large sur un viewport 360px, chaque pixel de padding compte. */
    body.page-boutikInfo .icon-box.annonceBloc,
    body.page-boutikInfo .formAdmin .icon-box.annonceBloc {
        padding: 8px 6px !important;
    }
    body.page-boutikInfo .titleAnnonceBloc { padding-bottom: 4px !important; }
    body.page-boutikInfo .titleAnnonceBloc h2 {
        font-size: 0.88rem !important;
        line-height: 1.15 !important;
        margin-bottom: 2px !important;
    }
    body.page-boutikInfo .titleAnnonceBloc h4 {
        font-size: 0.75rem !important;
        line-height: 1.25 !important;
        margin: 0 !important;
    }
    /* Wrapper col annonceBloc : gouttière réduite à 3px → 6px visible entre cards */
    body.page-boutikInfo .row > .formAdmin[class*="col-"] { padding: 3px !important; }

    /* Bloc prix / frais de port / stock : on resserre tout (les badges prenaient
       chacun une ligne entière, c'était hyper aéré pour rien sur petit écran) */
    body.page-boutikInfo .textMess2,
    body.page-boutikInfo .textMess3 {
        font-size: 0.85rem !important;
        padding: 3px 8px !important;
        margin-bottom: 3px !important;
        display: inline-block !important;
    }
    /* "Frais de port" / "Stock" : plus petits, en ligne quand possible */
    body.page-boutikInfo .annonceBloc h5 { margin: 4px 0 0 !important; line-height: 1.2; }
    body.page-boutikInfo .annonceBloc h5 span[style*="font-size:10px"],
    body.page-boutikInfo .annonceBloc .icon-box h5 span { font-size: 10px !important; }

    /* Photo des cards : limiter la hauteur pour ne pas que les images très hautes
       (portrait) écrasent les autres cards de la ligne */
    body.page-boutikInfo .boxBlocImage img.imgBloc {
        max-height: 180px;
        object-fit: cover;
    }

    /* Section grid home/search : forcer 2 colonnes UNIQUEMENT pour les .row
       dans les sections de contenu (.mb-section, .mb-search-results), pas pour
       la row principale du layout. IMPORTANT: on neutralise aussi la marge
       négative de Bootstrap (-12px L/R par défaut) qui sortait la grille du
       container et collait les cards aux bords du viewport. */
    body.page-home .row.mb-pages-une-grid,
    body.page-search .mb-section .row,
    body.page-search .mb-search-results + .mb-section .row,
    body.page-boutiks .mb-section .row,
    body.page-boutikInfo .row.mb-boutik-annonces,
    body.page-boutikInfo .row.mb-boutik-actus,
    body.page-boutikInfo .row.mb-boutik-albums,
    body.page-boutikInfo .row.mb-boutik-files {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
    body.page-home .row.mb-pages-une-grid > *,
    body.page-search .mb-section .row > [class*="col-"],
    body.page-boutiks .mb-section .row > [class*="col-"],
    body.page-boutikInfo .row.mb-boutik-annonces > [class*="col-"],
    body.page-boutikInfo .row.mb-boutik-actus > [class*="col-"],
    body.page-boutikInfo .row.mb-boutik-albums > [class*="col-"],
    body.page-boutikInfo .row.mb-boutik-files > [class*="col-"] {
        max-width: 100% !important;
        padding: 0 !important;
        margin: 0 !important;
        min-width: 0;
    }
}

/* Très petits écrans : encore plus compact */
@media (max-width: 380px) {
    body.page-home .mb-section > .container,
    body.page-search .container,
    body.page-boutiks .mb-section > .container {
        padding-left: 10px !important;
        padding-right: 10px !important;
    }
    body.page-boutikInfo .icon-box.annonceBloc { padding: 7px 7px 9px !important; }
    body.page-boutikInfo .titleAnnonceBloc h2 { font-size: 0.88rem !important; }
}

/* =========================================================
   ADMIN EMAIL — onglets + liste des inscrits + statistiques
   ========================================================= */

/* Onglets admin (réutilisable sur d'autres pages adminp) */
.mb-adminp__tabs {
    display: flex;
    gap: 4px;
    background: #f4f7f9;
    border: 1px solid #e6eef2;
    border-radius: 12px;
    padding: 5px;
    margin: 0 0 18px;
    overflow-x: auto;
    scrollbar-width: thin;
}
.mb-adminp__tab {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 16px;
    border: 0;
    background: transparent;
    color: #4a5560;
    font-size: 14px;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    text-decoration: none;
    transition: background .15s ease, color .15s ease;
    white-space: nowrap;
}
.mb-adminp__tab:hover { background: rgba(19,166,194,0.08); color: #1f2a32; text-decoration: none; }
.mb-adminp__tab:focus { text-decoration: none; outline: none; }
.mb-adminp__tab i { color: #98a4ae; font-size: 13px; transition: color .15s ease; }
.mb-adminp__tab.is-active {
    background: #ffffff;
    color: #1f2a32;
    box-shadow: 0 2px 6px rgba(15,42,50,0.08);
}
.mb-adminp__tab.is-active:hover { color: #1f2a32; background: #ffffff; }
.mb-adminp__tab.is-active i { color: #13a6c2; }
.mb-adminp__tab-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 22px;
    height: 20px;
    padding: 0 7px;
    background: #eef3f6;
    color: #607080;
    font-size: 11px;
    font-weight: 800;
    font-style: normal;
    border-radius: 999px;
    line-height: 1;
}
.mb-adminp__tab.is-active .mb-adminp__tab-count {
    background: rgba(19,166,194,0.15);
    color: #0d8aa3;
}

.mb-adminp__tab-panel { display: none; }
.mb-adminp__tab-panel.is-active { display: block; }

/* Stats rapides en pills colorées (en haut du panneau Inscrits) */
.mb-stats-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 10px;
    margin-bottom: 16px;
}
.mb-stat-pill {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    background: #ffffff;
    border: 1px solid #e6eef2;
    border-radius: 12px;
    box-shadow: 0 1px 2px rgba(15,42,50,0.04);
}
.mb-stat-pill i {
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: #eef3f6;
    color: #607080;
    font-size: 15px;
    flex-shrink: 0;
}
.mb-stat-pill b {
    display: block;
    font-size: 1.3rem;
    font-weight: 800;
    color: #1f2a32;
    line-height: 1.1;
}
.mb-stat-pill span { font-size: 12px; color: #607080; }
.mb-stat-pill--primary i { background: linear-gradient(135deg,#13a6c2,#0e8fa8); color: #fff; }
.mb-stat-pill--info i    { background: #eef5f8; color: #0d8aa3; }
.mb-stat-pill--success i { background: #e7f7ec; color: #1d8a3e; }

/* Toolbar (search + filtres par type) */
.mb-mailing-toolbar {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin: 14px 0 12px;
    padding: 12px 14px;
    background: #ffffff;
    border: 1px solid #e6eef2;
    border-radius: 12px;
}
.mb-mailing-toolbar__search {
    flex: 1 1 240px;
    display: flex;
    align-items: center;
    gap: 8px;
    background: #f4f7f9;
    border: 1px solid #e1e8ec;
    border-radius: 10px;
    padding: 0 12px;
    height: 38px;
}
.mb-mailing-toolbar__search i { color: #98a4ae; font-size: 13px; }
.mb-mailing-toolbar__search input {
    border: 0;
    background: transparent;
    flex: 1 1 auto;
    height: 100%;
    font-size: 14px;
    outline: none;
    color: #1f2a32;
}
.mb-mailing-toolbar__filters {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 6px;
}
.mb-mailing-filter {
    padding: 7px 12px;
    border: 1px solid #e1e8ec;
    background: #ffffff;
    color: #607080;
    font-size: 12.5px;
    font-weight: 600;
    border-radius: 999px;
    cursor: pointer;
    transition: all .15s ease;
}
.mb-mailing-filter:hover { background: #f4f7f9; color: #1f2a32; }
.mb-mailing-filter.is-active {
    background: #13a6c2;
    border-color: #13a6c2;
    color: #fff;
}

/* Liste des inscrits */
.mb-mailing-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.mb-mailing-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    background: #ffffff;
    border: 1px solid #e6eef2;
    border-radius: 12px;
    transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}
.mb-mailing-item:hover {
    border-color: #d4e6ed;
    box-shadow: 0 4px 12px rgba(15,42,50,0.06);
    transform: translateY(-1px);
}
.mb-mailing-item__main {
    flex: 1 1 auto;
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}
.mb-mailing-item__avatar {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, #13a6c2 0%, #0e8fa8 100%);
    color: #fff;
    font-weight: 800;
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-transform: uppercase;
}
.mb-mailing-item__info { flex: 1 1 auto; min-width: 0; }
.mb-mailing-item__email {
    font-size: 14px;
    font-weight: 700;
    color: #1f2a32;
    line-height: 1.2;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.mb-mailing-item__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px 10px;
    margin-top: 4px;
    font-size: 11.5px;
    color: #98a4ae;
}
.mb-mailing-item__meta i { color: #adb8c2; margin-right: 3px; font-size: 10px; }
.mb-mailing-item__badge {
    display: inline-flex;
    align-items: center;
    padding: 2px 8px;
    border-radius: 999px;
    font-size: 10.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
.mb-mailing-item__badge--is-newsletter { background: rgba(19,166,194,0.12); color: #0d8aa3; }
.mb-mailing-item__badge--is-manual     { background: #e7f7ec; color: #146b2c; }
.mb-mailing-item__badge--is-other      { background: #fff5dc; color: #9a6a00; }

.mb-mailing-item__actions {
    display: inline-flex;
    gap: 6px;
    flex-shrink: 0;
}
.mb-mailing-item__btn {
    width: 34px;
    height: 34px;
    border: 1px solid #e1e8ec;
    background: #ffffff;
    color: #4a5560;
    border-radius: 8px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all .15s ease;
}
.mb-mailing-item__btn:hover { background: #f4f7f9; color: #1f2a32; border-color: #d4dde3; }
.mb-mailing-item__btn--danger:hover { background: #fdecec; color: #c54545; border-color: #f2c5c5; }
.mb-mailing-item__btn i { font-size: 12px; }

/* Responsive mobile */
@media (max-width: 575.98px) {
    .mb-adminp__tab span { font-size: 13px; }
    .mb-mailing-item { padding: 10px; gap: 10px; }
    .mb-mailing-item__avatar { width: 36px; height: 36px; font-size: 0.9rem; }
    .mb-mailing-item__email { font-size: 13px; }
    .mb-mailing-item__meta { font-size: 11px; gap: 3px 8px; }
    .mb-mailing-item__btn { width: 32px; height: 32px; }
    .mb-mailing-toolbar { padding: 10px; }
}
