


/*Correction du bug d’affichage de la barre de navigation sur desktop en remplaçant une solution basée sur <details> devenue peu fiable par une navigation dédiée visible uniquement à partir de 1024 px.*/


:root {
    --bf-or-clair: #F7E47B;
    --bf-or: #DEBB57;
    --bf-or-fonce: #BA8932;
    --bf-orange: #E4551F;
    --bf-orange-fonce: #B33D16;
    --bf-noir: #020102;
    --bf-noir-clair: #241F16;
    --bf-creme: #FFFBF7;
    --bf-texte: #221D16;
    --bf-violet: #7C5CFC;
    --bf-turquoise: #17BEBB;
    /* Session 125 (lot C, PR1) : prix promo et badge de réduction des tuiles de plats. */
    --bf-promo: #C8102E;
    --bf-ambre: #F5A623;
    --bf-gradient: linear-gradient(90deg, var(--bf-or-clair) 0%, var(--bf-or-fonce) 100%);
    --bs-primary: var(--bf-orange);
    --bs-primary-rgb: 228, 85, 31;
    --bf-nav-height: 68px;

/*    Une variable unique basée sur la hauteur réelle du header sert désormais de référence pour positionner correctement la navigation et la sidebar sticky, facilitant leur maintenance future.*/
}

body {
    background-color: var(--bf-creme);
    color: var(--bf-texte);
}

a {
    color: var(--bf-or-fonce);
}

a:hover {
    color: var(--bf-or);
}

.btn-primary {
    background-color: var(--bf-orange);
    border-color: var(--bf-orange);
    color: var(--bf-noir);
}

.btn-primary:hover,
.btn-primary:active,
.btn-primary:focus {
    background-color: var(--bf-orange-fonce) !important;
    border-color: var(--bf-orange-fonce) !important;
    color: #fff !important;
}

.btn-success {
    background-color: var(--bf-turquoise);
    border-color: var(--bf-turquoise);
}

.btn-success:hover,
.btn-success:active {
    background-color: #139c99 !important;
    border-color: #139c99 !important;
}

.btn-outline-primary {
    color: var(--bf-orange-fonce);
    border-color: var(--bf-orange);
    /* Session 125 (lot B, BL1) : état actif ou coché (btn-check) aux couleurs de la marque,
       comme le survol ; Bootstrap y mettait son bleu par défaut (#0d6efd). */
    --bs-btn-active-bg: var(--bf-orange);
    --bs-btn-active-border-color: var(--bf-orange);
    --bs-btn-active-color: var(--bf-noir);
    --bs-btn-focus-shadow-rgb: 228, 85, 31;
}

.btn-outline-primary:hover {
    background-color: var(--bf-orange);
    border-color: var(--bf-orange);
    color: var(--bf-noir);
}

/* ── Barre de dégradé — signature de marque, hairline uniquement  */
.bf-gradient-bar {
    height: 4px;
    background: var(--bf-gradient);
}

/* ── Navigation */
.bf-nav {
    background-color: var(--bf-noir);
    color: #fff;
    position: sticky;
    top: 0;
    z-index: 30;
}


.bf-nav__bar {
    max-width: 960px;
    margin: 0 auto;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.bf-nav__brand {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 800;
    font-size: 1.15rem;
    letter-spacing: 0.02em;
    text-decoration: none;
    color: #fff;
    white-space: nowrap;
}

.bf-nav__brand-accent {
    background: var(--bf-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.bf-nav__menu {
    position: relative;
}

.bf-nav__toggle {
    list-style: none;
    cursor: pointer;
    min-width: 44px;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: #fff;
    user-select: none;
}

.bf-nav__toggle::-webkit-details-marker {
    display: none;
}

.bf-nav__links {
    position: absolute;
    right: 0;
    top: calc(100% + 8px);
    background-color: var(--bf-noir-clair);
    border-radius: 10px;
    padding: 8px;
    min-width: 220px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
    z-index: 20;
    display: flex;
    flex-direction: column;
    gap: 2px;
    /* Session 138 (lot mnu, SH1) : l'en-tête reste collé en haut, le menu défile à l'intérieur quand il dépasse
       l'écran (menu admin d'une vingtaine de liens sur iPhone ; avant, les derniers liens étaient inaccessibles). */
    max-height: calc(100vh - var(--bf-nav-height) - 16px);
    max-height: calc(100dvh - var(--bf-nav-height) - 16px - env(safe-area-inset-bottom, 0px));
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
}

.bf-nav__links .bf-nav__link {
    flex-shrink: 0;
}

.bf-nav__link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    min-height: 44px;
    padding: 0 12px;
    border-radius: 8px;
    color: #fff;
    text-decoration: none;
    font-size: 0.95rem;
}

.bf-nav__link:hover {
    background-color: rgba(255, 255, 255, 0.08);
    color: #fff;
}

.bf-nav__link--logout {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    margin-top: 4px;
    padding-top: 8px;
    color: #d8d0bf;
}

.bf-nav__badge {
    background: var(--bf-orange);
    color: var(--bf-noir);
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0 7px;
    min-width: 20px;
    text-align: center;
    line-height: 20px;
}

/* ── Alertes Bootstrap teintées à la marque
   .alert-danger reste le rouge/rose Bootstrap standard — non touché. */
.alert-info {
    background-color: #EFEBFF;
    border-color: #D8CDFF;
    color: #4B3A9E;
}

.alert-warning {
    background-color: #FFF3DE;
    border-color: #F5D998;
    color: #8A5A00;
}

.alert-success {
    background-color: #E3FBF9;
    border-color: #A9EEEA;
    color: #0E6E6B;
}

/* ── Badges de statut de commande — coloration par catégorie
   VARIANTE 1 : inchangé — violet = en cours, turquoise = succès,
   ambre = attention, gris = terminal neutre. */
.bf-status-progress {
    background-color: #EFEBFF;
    color: #4B3A9E;
}

.bf-status-success {
    background-color: #E3FBF9;
    color: #0E6E6B;
}

.bf-status-alert {
    background-color: #FFF3DE;
    color: #8A5A00;
}

.bf-status-muted {
    background-color: #EFEBDF;
    color: #5B5346;
}

/* ── Footer */
.bf-footer {
    background-color: var(--bf-noir);
    color: #d8d0bf;
    margin-top: 24px;
}

.bf-footer__inner {
    max-width: 960px;
    margin: 0 auto;
    padding: 10px 16px;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    justify-content: center;
    font-size: 0.85rem;
    text-align: center;
}

.bf-footer__brand {
    font-weight: 800;
    color: #fff;
}


.bf-footer__lien {
    color: #d8d0bf;
    text-decoration: underline;
}

.bf-footer__lien:hover {
    color: #fff;
}

/* ── Back-office / tableau de bord pro (admin, staff, cuisine) */
.bf-page-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    padding-bottom: 16px;
    margin-bottom: 20px;
    border-bottom: 1px solid #E6E2D8;
}

.bf-page-header__title {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--bf-noir);
    margin: 0 0 2px 0;
}

.bf-page-header__meta {
    font-size: 0.9rem;
    color: #7A7468;
    margin: 0;
}

.bf-panel {
    background-color: #fff;
    border: 1px solid #E6E2D8;
    border-radius: 12px;
    margin-bottom: 20px;
    overflow: hidden;
}

.bf-panel__header {
    padding: 12px 16px;
    background-color: #F7F4EC;
    border-bottom: 1px solid #E6E2D8;
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--bf-noir);
}

.bf-row {
    display: grid;
    grid-template-columns: 48px 1fr auto auto;
    align-items: center;
    gap: 14px;
    padding: 10px 16px;
    border-bottom: 1px solid #EFEBDF;
}

.bf-row:last-child {
    border-bottom: none;
}

.bf-row:hover {
    background-color: #FAF8F2;
}

.bf-row__thumb {
    width: 48px;
    height: 48px;
    object-fit: cover;
    border-radius: 8px;
}

.bf-row__title {
    font-weight: 600;
    color: var(--bf-texte);
    line-height: 1.25;
}

.bf-row__sub {
    font-size: 0.82rem;
    color: #8A8477;
}

.bf-row--muted {
    opacity: 0.55;
}

.bf-badge {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 3px 9px;
    border-radius: 999px;
    white-space: nowrap;
}

.bf-badge--on {
    background-color: #E3FBF9;
    color: #0E6E6B;
}

.bf-badge--alerte {
    background-color: #FDEBEB;
    color: #B42318;
}

.bf-row-actions {
    display: flex;
    gap: 6px;
}

.bf-row-actions form {
    margin: 0;
}

@media (max-width: 576px) {
    .bf-row {
        grid-template-columns: 40px 1fr;
        grid-template-areas:
            "thumb title"
            "thumb sub"
            "actions actions";
        row-gap: 4px;
    }

    .bf-row__thumb {
        grid-area: thumb;
    }

    .bf-row__title {
        grid-area: title;
    }

    .bf-row__sub {
        grid-area: sub;
    }

    .bf-row-actions {
        grid-area: actions;
        margin-top: 6px;
    }
}

.bf-row--no-thumb {
    grid-template-columns: 1fr auto;
}

@media (max-width: 576px) {
    .bf-row.bf-row--no-thumb {
        grid-template-columns: 1fr;
        row-gap: 8px;
    }

    .bf-row.bf-row--no-thumb .bf-row-actions {
        margin-top: 4px;
    }
}

.bf-queue-row {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    padding: 14px 16px;
    border-bottom: 1px solid #EFEBDF;
}

.bf-queue-row:last-child {
    border-bottom: none;
}

.bf-queue-row__info {
    flex: 1 1 240px;
    min-width: 220px;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.bf-queue-row__name {
    font-weight: 700;
    color: var(--bf-noir);
}

.bf-queue-row__sub {
    font-size: 0.82rem;
    color: #8A8477;
}

.bf-queue-row__detail {
    font-size: 0.88rem;
    color: var(--bf-texte);
}


/*Les actions de ligne adoptent désormais un empilement vertical unique sur mobile comme sur desktop, simplifiant la maintenance et garantissant suffisamment d’espace pour tous les contrôles.*/

.bf-queue-row__actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
}

.bf-queue-row__actions .btn,
.bf-queue-row__actions select,
.bf-queue-row__actions input {
    width: 100%;
}

.bf-tag {
    display: inline-block;
    background-color: #EFEBDF;
    color: #5B5346;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 3px 9px;
    border-radius: 6px;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    white-space: nowrap;
}

fieldset.bf-panel {
    border: 1px solid #E6E2D8;
    border-radius: 12px;
    padding: 0;
    min-width: 0;
}

fieldset.bf-panel > legend.bf-panel__header {
    width: 100%;
    max-width: 100%;
    float: none;
    margin: 0;
    padding: 12px 16px;
    background-color: #F7F4EC;
    border-bottom: 1px solid #E6E2D8;
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--bf-noir);
    border-radius: 12px 12px 0 0;
}

fieldset.bf-panel > .bf-panel__body {
    padding: 16px;
}

/* ── Sticky footer */
html {
    height: 100%;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.bf-page-content {
    flex: 1 0 auto;
}

.bf-nav,
.bf-footer {
    flex-shrink: 0;
}



/*Le sélecteur de langue HT/FR adopte désormais la couleur d’accent principale (--bf-orange) pour l’état actif, tout en conservant une accessibilité tactile conforme aux standards.*/


.bf-nav__lang {
    display: flex;
    gap: 4px;
}

.bf-nav__lang-btn {
    min-width: 44px;
    min-height: 44px;
    padding: 0 8px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    background: transparent;
    color: #fff;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    cursor: pointer;
}

.bf-nav__lang-btn:hover {
    background-color: rgba(255, 255, 255, 0.08);
}

.bf-nav__lang-btn--actif,
.bf-nav__lang-btn--actif:hover {
    background-color: var(--bf-orange);
    border-color: var(--bf-orange);
    color: var(--bf-noir);
}


/*Le back-office adopte un conteneur adaptatif dédié qui remplace le conteneur Bootstrap standard afin de mieux exploiter l’espace disponible, notamment sur les grands écrans.*/

.bf-page-container {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    padding: 16px;
}

@media (min-width: 768px) {
    .bf-page-container {
        max-width: 720px;
        padding: 24px 16px;
    }
}

@media (min-width: 1024px) {
    .bf-page-container {
        max-width: 960px;
    }
}

@media (min-width: 1400px) {
    .bf-page-container {
        max-width: 1200px;
    }
}

/*La grille des cartes KPI utilise un système auto-fit responsive qui s’adapte automatiquement à l’espace disponible et au nombre de cartes, sans gestion manuelle des colonnes.*/

.bf-kpi-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 12px;
    margin-bottom: 20px;
}

.bf-kpi-card {
    background-color: #fff;
    border: 1px solid #E6E2D8;
    border-radius: 12px;
    padding: 16px;
    text-align: center;
}

.bf-kpi-card__valeur {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--bf-noir);
}

.bf-kpi-card__label {
    font-size: 0.82rem;
    color: #7A7468;
    margin-top: 4px;
}

.bf-kpi-card--alerte {
    border-color: var(--bf-ambre);
}

.bf-kpi-card--lien {
    text-decoration: none;
    display: block;
}

/*La grille du dashboard administrateur passe automatiquement d’une colonne sur mobile à deux colonnes sur desktop, avec la possibilité pour certaines sections de s’étendre sur toute la largeur.*/

.bf-dashboard-grid {
    display: grid;
    gap: 20px;
    grid-template-columns: 1fr;
}

@media (min-width: 1024px) {
    .bf-dashboard-grid {
        grid-template-columns: 1fr 1fr;
    }

    .bf-dashboard-grid__full {
        grid-column: 1 / -1;
    }
}

/*Une nouvelle classe générique de corps de panel est introduite pour les panels basés sur des div, afin d’étendre un comportement jusque-là limité aux fieldset.*/
.bf-panel__body-padded {
    padding: 16px;
}

/* ── Filtre de période par section */
.bf-filtre-periode {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
}

.bf-filtre-periode__pill {
    display: inline-flex;
    align-items: center;
    min-height: 36px;
    padding: 0 12px;
    border-radius: 999px;
    background-color: #F7F4EC;
    color: var(--bf-texte);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    border: 1px solid #E6E2D8;
}

.bf-filtre-periode__pill:hover {
    background-color: #EFEBDF;
}

.bf-filtre-periode__pill--actif,
.bf-filtre-periode__pill--actif:hover {
    background-color: var(--bf-orange);
    border-color: var(--bf-orange);
    color: var(--bf-noir);
}

.bf-filtre-periode__custom {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
}

.bf-filtre-periode__custom input[type="date"] {
    min-height: 36px;
}

/* ── Sparkline SVG (CA)*/
.bf-sparkline {
    width: 100%;
    max-width: 200px;
    height: 40px;
    display: block;
    margin-top: 8px;
}

/* ── Liste top plats*/
.bf-plats-liste {
    list-style: none;
    margin: 0;
    padding: 0;
}

.bf-plats-liste li {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid #EFEBDF;
    font-size: 0.9rem;
}

.bf-plats-liste li:last-child {
    border-bottom: none;
}

.bf-plats-liste__rang {
    color: #8A8477;
    margin-right: 6px;
}


/*La navigation responsive a été refondue à partir de 1024 px : le menu basé sur <details> est remplacé par des composants dédiés selon le rôle afin de garantir un affichage fiable sur tous les navigateurs.*/

@media (min-width: 1024px) {
    body:not(.bf-employe) .bf-nav__bar {
        flex-wrap: nowrap;
    }

    body:not(.bf-employe) .bf-nav__lang {
        order: 3;
    }

    body:not(.bf-employe) .bf-nav__menu {
        display: none;
    }
}

.bf-nav__links-desktop {
    display: none;
}

@media (min-width: 1024px) {
    body:not(.bf-employe) .bf-nav__links-desktop {
        display: flex;
        order: 2;
        flex: 1 1 auto;
        flex-direction: row;
        align-items: center;
        justify-content: center;
        gap: 18px;
    }

    /* précise qu'une bordure basse transparente est posée sur tous les liens desktop (pas seulement le lien actif) afin d'éviter tout décalage de hauteur/alignement selon l'état ;
    seule la couleur de cette bordure change ensuite pour le lien actif.*/

    body:not(.bf-employe) .bf-nav__links-desktop .bf-nav__link {
        min-height: 40px;
        padding: 0 0 4px;
        border-bottom: 2px solid transparent;
    }

    body:not(.bf-employe) .bf-nav__links-desktop .bf-nav__link--actif {
        border-left: none;
        padding-left: 0;
        border-bottom-color: var(--bf-orange);
    }

    body:not(.bf-employe) .bf-nav__links-desktop .bf-nav__link--logout {
        border-top: none;
        margin-top: 0;
        padding-top: 0;
        border-left: 1px solid rgba(255, 255, 255, 0.12);
        margin-left: 4px;
        padding-left: 14px;
    }
}

/* -- Employé : sidebar fixe sombre, header allégé (brand + langue seuls) -- */


.bf-shell {
    display: flex;
    flex: 1 0 auto;
}

/* Session 126 (NA1b) : sous 1024 px aussi, la zone principale ne s'élargit pas au contenu (sans quoi une rangée
   défilante comme .bf-sections ou .bf-carrousel élargit toute la page pour un compte employé). */
.bf-shell__main {
    flex: 1 1 auto;
    min-width: 0;
}
.bf-sidebar {
    display: none;
}

@media (min-width: 1024px) {
    body.bf-employe .bf-nav__menu {
        display: none;
    }

    .bf-sidebar {
        display: flex;
        flex-direction: column;
        gap: 10px;
        width: 220px;
        flex-shrink: 0;
        background-color: var(--bf-noir);
        padding: 12px 10px;
        position: sticky;
        top: var(--bf-nav-height);
    }

    .bf-shell__main {
        flex: 1 1 auto;
        min-width: 0;
    }
}

.bf-sidebar__groupe {
    background-color: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    padding: 4px;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.bf-sidebar__link {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 44px;
    padding: 0 16px;
    color: #d8d0bf;
    text-decoration: none;
    font-size: 0.88rem;
}

.bf-sidebar__link:hover {
    background-color: rgba(255, 255, 255, 0.06);
    color: #fff;
}

.bf-sidebar__link--logout {
    margin-top: auto;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    padding-top: 12px;
}

/* ── Footer — mention "powered by" */
.bf-footer__credit {
    text-align: center;
    font-size: 0.75rem;
    color: #8A8477;
    padding: 0 16px 10px;
}
.bf-footer__credit a {
    color: #8A8477;
    text-decoration: underline;
}

.bf-footer__credit a:hover {
    color: #fff;
}


/*Le dashboard admin adopte une bande de statistiques compacte et responsive, avec des séparateurs visuellement cohérents sur tous les écrans sans recourir au défilement horizontal.*/


.bf-stat-band {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 1px;
    background-color: #E6E2D8;
    border: 1px solid #E6E2D8;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 20px;
}

.bf-stat-band__item {
    background-color: #fff;
    padding: 12px 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: inherit;
    min-height: 44px;
}

.bf-stat-band__item:hover {
    background-color: #FAF8F2;
}

.bf-stat-band__item--alerte {
    background-color: #FFF3DE;
}

.bf-stat-band__item--alerte:hover {
    background-color: #FCEBCB;
}

.bf-stat-band__icon {
    font-size: 16px;
    color: #7A7468;
    line-height: 1;
}

.bf-stat-band__item--alerte .bf-stat-band__icon {
    color: #8A5A00;
}

.bf-stat-band__valeur {
    font-size: 16px;
    font-weight: 700;
    color: var(--bf-noir);
    line-height: 1.2;
}

.bf-stat-band__item--alerte .bf-stat-band__valeur {
    color: #8A5A00;
}

.bf-stat-band__label {
    font-size: 10px;
    color: #7A7468;
    line-height: 1.2;
}

/*Une nouvelle grille d’informations harmonise l’affichage des fiches admin en remplaçant les composants Bootstrap standards par un design cohérent avec l’identité visuelle du back-office*/

.bf-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1px;
    background-color: #E6E2D8;
}

.bf-info-grid__item {
    background-color: #fff;
    padding: 12px 16px;
}

.bf-info-grid__label {
    font-size: 0.75rem;
    color: #7A7468;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    margin-bottom: 2px;
}

.bf-info-grid__valeur {
    font-size: 0.95rem;
    color: var(--bf-noir);
    font-weight: 600;
}

/* ── Chiffre-clé isolé (montant total dépensé) */
.bf-highlight-panel {
    background-color: #F7F4EC;
    border: 1px solid #E6E2D8;
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 20px;
}

.bf-highlight-panel__label {
    font-size: 0.82rem;
    color: #7A7468;
    margin-bottom: 4px;
}

.bf-highlight-panel__valeur {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--bf-noir);
}

/*L’état actif de la navigation a été harmonisé avec une logique d’accent par bordure, à gauche pour les menus verticaux et en bas pour la navigation horizontale desktop.*/


.bf-sidebar__link--actif {
    background-color: rgba(228, 85, 31, 0.15);
    color: #fff;
    font-weight: 700;
    border-left: 3px solid var(--bf-orange);
    padding-left: 13px; /* 16px de base - 3px de bordure, pour ne pas décaler le texte */
}

/* NOUVEAU (session 28) — icône SVG inline, sidebar employé uniquement. */
.bf-sidebar__link-icon {
    display: flex;
    flex-shrink: 0;
    color: inherit;
}

.bf-sidebar__link--actif .bf-sidebar__link-icon {
    color: var(--bf-orange);
}

.bf-nav__avatar-menu {
    display: none;
    position: relative;
}

@media (min-width: 1024px) {
    body.bf-employe .bf-nav__avatar-menu {
        display: block;
        margin-left: 8px;
    }
}

.bf-nav__avatar-toggle {
    list-style: none;
    cursor: pointer;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: var(--bf-noir-clair);
    color: #d8d0bf;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bf-nav__avatar-toggle::-webkit-details-marker {
    display: none;
}

.bf-nav__avatar-links {
    position: absolute;
    right: 0;
    top: calc(100% + 8px);
    background-color: var(--bf-noir-clair);
    border-radius: 10px;
    padding: 8px;
    min-width: 200px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
    z-index: 25;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.bf-nav__avatar-link {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 44px;
    padding: 0 12px;
    border-radius: 8px;
    color: #fff;
    text-decoration: none;
    font-size: 0.9rem;
}

.bf-nav__avatar-link:hover {
    background-color: rgba(255, 255, 255, 0.08);
}

.bf-nav__avatar-link--logout {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    margin-top: 4px;
    padding-top: 8px;
    color: #d8d0bf;
}

.bf-nav__avatar-link-icon {
    display: flex;
    flex-shrink: 0;
    color: inherit;
}

.bf-finance-grid {
    display: grid;
    gap: 20px;
    grid-template-columns: 1fr;
    margin-bottom: 20px;
}

@media (min-width: 1024px) {
    .bf-finance-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.bf-alertes-banniere {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    background-color: #FFF3DE;
    border: 1px solid #F5D998;
    border-radius: 12px;
    padding: 12px 16px;
    margin-bottom: 16px;
}

.bf-alertes-banniere__item {
    color: #8A5A00;
    text-decoration: none;
    font-size: 0.9rem;
}

.bf-alertes-banniere__item:hover {
    text-decoration: underline;
}

.bf-pills-comptes {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.bf-pill-compte {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    min-height: 32px;
    padding: 0 12px;
    border-radius: 999px;
    background-color: #F7F4EC;
    border: 1px solid #E6E2D8;
    color: var(--bf-texte);
    text-decoration: none;
    font-size: 0.82rem;
}

.bf-pill-compte:hover {
    background-color: #EFEBDF;
}
.bf-filtre-periode--compact {
    align-items: center;
}


/*Le panneau de gestion des catégories a été optimisé pour le mobile avec une disposition compacte en une seule ligne et des boutons icônes, réduisant fortement l’encombrement tout en conservant toutes les actions.*/

.bf-categorie-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    border-bottom: 1px solid #EFEBDF;
}

.bf-categorie-row:last-child {
    border-bottom: none;
}

.bf-categorie-row:hover {
    background-color: #FAF8F2;
}

.bf-categorie-row__form-nom {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1 1 auto;
    min-width: 0;
    margin: 0;
}

.bf-categorie-row__form-nom input[type="text"] {
    flex: 1 1 auto;
    min-width: 60px;
}

.bf-categorie-row__compte {
    font-size: 0.78rem;
    color: #8A8477;
    white-space: nowrap;
    flex-shrink: 0;
}

@media (max-width: 480px) {
    .bf-categorie-row__compte {
        display: none;
    }
}

.bf-categorie-row__form-suppr {
    display: flex;
    flex-shrink: 0;
    margin: 0;
}

.bf-categorie-row__icon-btn {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    border: 1px solid #E6E2D8;
    background-color: #fff;
    color: var(--bf-texte);
    padding: 0;
}

.bf-categorie-row__icon-btn:hover {
    background-color: #FAF8F2;
}

.bf-categorie-row__icon-btn svg {
    width: 16px;
    height: 16px;
}

.bf-categorie-row__icon-btn--danger {
    color: #B42318;
    border-color: #F3C6C1;
}

.bf-categorie-row__icon-btn--danger:hover {
    background-color: #FDEBEB;
}

.bf-categorie-row__icon-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.bf-categorie-row__icon-btn:disabled:hover {
    background-color: #fff;
}

.bf-categorie-row--ajout {
    border-top: 1px solid #E6E2D8;
    margin-top: 4px;
    padding-top: 14px;
}



.bf-list-toolbar {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 12px 16px;
    background-color: #F7F4EC;
    border-bottom: 1px solid #E6E2D8;
}

.bf-list-toolbar input[type="search"] {
    flex: 1 1 240px;
    min-height: 38px;
}

.bf-list-toolbar select {
    flex: 0 1 200px;
    min-height: 38px;
}

.bf-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: #F0E6D2;
    color: #8A611E;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
    flex-shrink: 0;
}

.bf-nom-cell {
    display: flex;
    align-items: center;
    gap: 10px;
}

.bf-list-vide-filtre {
    display: none;
}


.bf-dropdown-menu {
    position: relative;
}

.bf-dropdown-toggle {
    list-style: none;
    cursor: pointer;
}

.bf-dropdown-toggle::-webkit-details-marker {
    display: none;
}

.bf-dropdown-panel {
    position: absolute;
    right: 0;
    top: calc(100% + 6px);
    background-color: #fff;
    border: 1px solid #E6E2D8;
    border-radius: 10px;
    padding: 8px;
    min-width: 220px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
    z-index: 20;
}

.bf-dropdown-panel a,
.bf-dropdown-panel form {
    display: block;
}

.bf-dropdown-panel a {
    padding: 8px 10px;
    border-radius: 6px;
    color: var(--bf-texte);
    text-decoration: none;
    font-size: 0.88rem;
}

.bf-dropdown-panel a:hover {
    background-color: #F7F4EC;
}

.bf-dropdown-panel__separateur {
    border-top: 1px solid #E6E2D8;
    margin: 6px 0;
}

.bf-dropdown-panel button.bf-dropdown-action {
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    padding: 8px 10px;
    border-radius: 6px;
    font-size: 0.88rem;
    color: var(--bf-texte);
}

.bf-dropdown-panel button.bf-dropdown-action:hover {
    background-color: #F7F4EC;
}

.bf-dropdown-panel button.bf-dropdown-action--danger {
    color: #B42318;
}


.bf-plat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 12px;
}

.bf-plat-card {
    background-color: #fff;
    border: 1px solid #E6E2D8;
    border-radius: 12px;
    overflow: hidden;
}

.bf-plat-card__photo {
    width: 100%;
    height: 100px;
    object-fit: cover;
    display: block;
}

.bf-plat-card__body {
    padding: 10px 12px;
}

.bf-plat-card__nom {
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--bf-noir);
    margin-bottom: 2px;
}

.bf-plat-card__prix {
    font-size: 0.82rem;
    color: var(--bf-or-fonce);
    font-weight: 700;
}

.bf-plat-card--indisponible {
    opacity: 0.5;
}

.bf-plat-liste {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* Session 127 (F4) : anciennes règles .bf-plat-item retirées (remplacées par les tuiles .bf-tuile, session 125) ;
   .bf-plat-item__prix-promo et __prix-original restent, utilisées au comptoir. */

/* ── Groupes livreur (vue "En livraison" groupée par livreur) ─
   Sous-en-tête imbriqué dans .bf-panel : reprend le fond/bordure de
   pour marquer la hiérarchie (panel > groupe livreur > commande). ────── */
.bf-livreur-groupe {
    border-bottom: 1px solid #EFEBDF;
}

.bf-livreur-groupe:last-child {
    border-bottom: none;
}

.bf-livreur-groupe__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 16px;
    background-color: #F7F4EC;
    border-bottom: 1px solid #EFEBDF;
}

.bf-livreur-groupe__nom {
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--bf-noir);
}

/* Base = état neutre (aucune commande) — même traitement que .bf-tag */
.bf-livreur-groupe__compte {
    font-size: 0.72rem;
    font-weight: 700;
    padding: 3px 9px;
    border-radius: 999px;
    white-space: nowrap;
    background-color: #EFEBDF;
    color: #5B5346;
}

/* Livreur avec commande(s) en cours — même traitement que .bf-nav__badge
   (seul précédent existant pour un badge de comptage dans le projet). */
.bf-livreur-groupe:not(.bf-livreur-groupe--vide) .bf-livreur-groupe__compte {
    background-color: var(--bf-orange);
    color: var(--bf-noir);
}

.bf-livreur-groupe .bf-row--muted {
    padding: 10px 16px;
    margin: 0;
}


.bf-btn-icon {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.bf-btn-icon svg {
    flex-shrink: 0;
}


/*Le bandeau d’installation PWA propose une expérience adaptée à chaque plateforme, avec installation directe sur Chrome/Android et instructions guidées sur iOS, tout en conservant l’identité visuelle existante.*/

.bf-install-banner-wrap {
    max-width: 960px;
    margin: 0 auto;
    padding: 12px 16px 0;
}

.bf-install-banner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    background-color: #F7F4EC;
    border: 1px solid #E6E2D8;
    border-radius: 12px;
    padding: 12px 16px;
}

.bf-install-banner__texte {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.88rem;
    color: var(--bf-texte);
    flex: 1 1 220px;
}

.bf-install-banner__icon {
    flex-shrink: 0;
    color: var(--bf-orange-fonce);
}

.bf-install-banner__actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.bf-install-banner__fermer {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    border: 1px solid #E6E2D8;
    background-color: #fff;
    color: var(--bf-texte);
    padding: 0;
    font-size: 1.1rem;
    line-height: 1;
}

.bf-install-banner__fermer:hover {
    background-color: #FAF8F2;
}

/*L’écran d’accueil client adopte une direction visuelle plus chaleureuse et dynamique, strictement limitée à la vue menu client afin de préserver l’intégrité des composants partagés.*/



.bf-nav__brand-logo {
    border-radius: 8px;
    object-fit: cover;
    flex-shrink: 0;
}

.bf-nav__brand-nom {
    font-weight: 800;
    font-size: 1.05rem;
    color: #fff;
    white-space: nowrap;
}

.bf-menu-hero {
    background: linear-gradient(120deg, var(--bf-or-clair), var(--bf-orange));
    border-radius: 20px;
    padding: 18px 20px;
    margin-bottom: 16px;
    color: var(--bf-noir);
}

.bf-menu-hero__titre {
    font-size: 1.15rem;
    font-weight: 800;
    margin: 0;
}

.bf-menu-hero__sous-titre {
    font-size: 0.85rem;
    margin-top: 2px;
    opacity: 0.85;
}

.bf-menu-recherche {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #fff;
    border: 1px solid #E6E2D8;
    border-radius: 14px;
    padding: 10px 14px;
    margin-bottom: 20px;
}

.bf-menu-recherche svg {
    flex-shrink: 0;
    color: #9B8B68;
}

.bf-menu-recherche__input {
    border: none;
    outline: none;
    flex-grow: 1;
    font-size: 0.92rem;
    background: transparent;
    min-height: 24px;
}

.bf-menu-recherche-vide {
    text-align: center;
    color: #8A8477;
    font-size: 0.9rem;
    padding: 20px 0;
}


/*La vitrine publique adopte la direction visuelle « Chaleureux & Vivant » de manière strictement isolée à la page d’accueil, sans modifier les composants partagés utilisés ailleurs dans l’application.*/


.bf-landing-hero {
    background: linear-gradient(120deg, var(--bf-or-clair), var(--bf-orange));
    border-radius: 20px;
    padding: 32px 24px;
    margin-bottom: 28px;
    text-align: center;
    color: var(--bf-noir);
}

.bf-landing-hero__titre {
    font-size: 1.85rem;
    font-weight: 800;
    margin-bottom: 6px;
}

.bf-landing-hero__accroche {
    font-size: 1.02rem;
    opacity: 0.85;
    margin-bottom: 16px;
}

/* Session 135 (lot VS) : logo du resto (LO1), titre sans accroche (AX2), badge et bouton « Commander » (OF2, BK). */
.bf-landing-hero__logo {
    display: block;
    width: 72px;
    height: 72px;
    margin: 0 auto 12px;
    border-radius: 50%;
    background: #FFFFFF;
    object-fit: contain;
    padding: 4px;
    border: 3px solid #FFFFFF;
    box-shadow: 0 4px 14px rgba(2, 1, 2, 0.18);
}

.bf-landing-hero__titre--seul {
    margin-bottom: 14px;
}

.bf-landing-hero__actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
}

.bf-landing-hero__commander {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 44px;
    padding: 0 28px;
    border-radius: 999px;
    background: var(--bf-noir);
    color: #FFFFFF;
    font-weight: 700;
    text-decoration: none;
}

.bf-landing-hero__commander:hover,
.bf-landing-hero__commander:focus-visible {
    color: var(--bf-or-clair);
}

.bf-landing__section-titre {
    font-weight: 800;
    color: var(--bf-noir);
}

.bf-landing__zones-card {
    background: #FFFFFF;
    border: 1px solid #F0E8D6;
    border-radius: 18px;
}

/*Les dashboards employés adoptent la direction visuelle « Chaleureux & Vivant » de façon isolée et sécurisée, en réutilisant les styles et couleurs existants sans impacter les composants partagés du back-office.*/

.bf-dashboard-hero {
    background: linear-gradient(120deg, var(--bf-or-clair), var(--bf-orange));
    border-radius: 20px;
    padding: 18px 20px;
    margin-bottom: 20px;
    color: var(--bf-noir);
}

.bf-dashboard-hero__role {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    opacity: 0.75;
}

.bf-dashboard-hero__titre {
    font-size: 1.2rem;
    font-weight: 800;
    margin: 2px 0 0;
}

.bf-dashboard .bf-panel,
.bf-dashboard fieldset.bf-panel {
    border-radius: 16px;
    border-color: #F0E8D6;
}

.bf-dashboard fieldset.bf-panel > legend.bf-panel__header {
    border-radius: 16px 16px 0 0;
}

.bf-dashboard-tabs {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    margin-bottom: 16px;
}

.bf-dashboard-tab {
    border: none;
    background-color: #F7F4EC;
    color: #5B5346;
    font-size: 0.85rem;
    font-weight: 600;
    padding: 8px 14px;
    border-radius: 999px;
    min-height: 36px;
}

.bf-dashboard-tab:hover {
    background-color: #EFEBDF;
}

.bf-dashboard-tab--actif,
.bf-dashboard-tab--actif:hover {
    background-color: var(--bf-orange);
    color: var(--bf-creme);
}

.bf-dashboard-queue {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
}

.bf-dashboard-queue .bf-queue-row {
    background-color: #fff;
    border: 1px solid #F0E8D6;
    border-radius: 16px;
    margin: 0;
}


/* ── Journal d'audit — liste hybride compacte/étendue (chantier restyle. Remplace le <table> Bootstrap brut. ────── */
.bf-audit-liste {
    display: flex;
    flex-direction: column;
}

.bf-audit-entree {
    padding: 10px 16px;
    border-bottom: 1px solid #EFEBDF;
}

.bf-audit-entree:last-child {
    border-bottom: none;
}

/* Session 123, AUD-b (TG3) : colonne du libellé jusqu'à 270 px ; au-delà, le libellé passe à la ligne. */
.bf-audit-entree--compacte {
    display: grid;
    grid-template-columns: 130px minmax(0, 270px) 1fr;
    gap: 12px;
    align-items: start;
    font-size: 0.85rem;
}

@media (max-width: 700px) {
    .bf-audit-entree--compacte {
        grid-template-columns: 1fr;
        gap: 4px;
    }
}

.bf-audit-entree__date {
    color: var(--bf-texte);
    font-size: 0.85rem;
}

.bf-audit-entree__auteur {
    color: #8A8477;
    font-size: 0.78rem;
}

.bf-audit-entree__action-cible {
    display: flex;
    flex-direction: column;
    gap: 4px;
    align-items: flex-start;
}

.bf-audit-entree__action-cible .bf-tag {
    white-space: normal;
    max-width: 100%;
}

.bf-audit-entree__detail {
    color: var(--bf-texte);
    font-size: 0.85rem;
}

.bf-audit-entree--etendue {
    padding: 14px 16px;
}

.bf-audit-entree__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 6px;
}

.bf-audit-entree__titre {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    color: var(--bf-noir);
    font-size: 0.9rem;
}

.bf-audit-entree__meta {
    font-size: 0.78rem;
    color: #8A8477;
    white-space: nowrap;
}

.bf-audit-entree__diffs {
    font-size: 0.85rem;
    color: var(--bf-texte);
    line-height: 1.6;
    margin-bottom: 10px;
}

.bf-audit-entree__client {
    background-color: #F7F4EC;
    border: 1px solid #E6E2D8;
    border-radius: 10px;
    padding: 10px 12px;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.bf-audit-entree__client-lien {
    margin-left: auto;
    font-size: 0.82rem;
    color: var(--bf-or-fonce);
    text-decoration: underline;
}


.bf-badge--attention {
    background-color: #FFF3DE;
    color: #8A5A00;
}

.bf-badge--neutre {
    background-color: #EFEBDF;
    color: #5B5346;
}


.bf-btn-assigner {
    background: var(--bf-orange);
    color: var(--bf-creme);
    border: none;
    border-radius: 8px;
    font-weight: 500;
}
.bf-btn-assigner:hover { background: var(--bf-orange-fonce); }

.bf-btn-secondaire {
    background: transparent;
    border: 1px solid var(--bf-or-fonce);
    color: var(--bf-orange-fonce);
    border-radius: 8px;
    text-align: center;
}
.bf-btn-secondaire:hover { background: var(--bf-or-clair); }

.bf-form-control {
    border: 1px solid var(--bf-or-fonce);
    border-radius: 8px;
}


.bf-badge--promo {
    background: var(--bf-orange);
    color: var(--bf-creme);
}

.bf-plat-item__prix-promo {
    display: flex;
    align-items: baseline;
    gap: 6px;
}

.bf-plat-item__prix-original {
    text-decoration: line-through;
    color: var(--bf-texte);
    opacity: 0.55;
    font-size: 0.85em;
}



/* ── Vitrine SaaS publique — bandeau de segment, compteur, fonctionnalités */

.bf-vitrine-features__titre {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--bf-noir);
    text-align: center;
    margin-bottom: 24px;
}

@media (min-width: 768px) {
    .bf-vitrine-features__titre {
        font-size: 1.6rem;
    }
}

.bf-vitrine-features__grille {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}

@media (min-width: 480px) {
    .bf-vitrine-features__grille {
        grid-template-columns: 1fr 1fr;
    }
}

@media (min-width: 768px) {
    .bf-vitrine-features__grille {
        grid-template-columns: repeat(3, 1fr);
        gap: 16px;
    }
}

.bf-vitrine-feature {
    background-color: #fff;
    border: 1px solid #F0E8D6;
    border-radius: 16px;
    padding: 16px;
}

.bf-vitrine-feature__icone {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--bf-or-clair);
    color: var(--bf-orange-fonce);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
}

.bf-vitrine-feature__icone svg {
    width: 20px;
    height: 20px;
}

.bf-vitrine-feature__titre {
    font-size: 1rem;
    font-weight: 700;
    color: var(--bf-noir);
    margin: 0 0 4px;
}

.bf-vitrine-feature__texte {
    font-size: 0.88rem;
    color: #7A7468;
    margin: 0;
}



/* ── Vitrine SaaS publique — "Comment ça marche", frise
   Verticale sur mobile, horizontale à partir de 768px. Le trait de liaison
   est un ::before sur chaque étape sauf la dernière. */

.bf-vitrine-etapes {
    background-color: var(--bf-noir-clair);
    padding: 48px 16px;
}

.bf-vitrine-etapes__titre {
    font-size: 1.4rem;
    font-weight: 800;
    color: #fff;
    text-align: center;
    margin-bottom: 28px;
}

@media (min-width: 768px) {
    .bf-vitrine-etapes__titre {
        font-size: 1.6rem;
    }
}

.bf-vitrine-etapes__liste {
    list-style: none;
    margin: 0 auto;
    padding: 0;
    max-width: 480px;
}

.bf-vitrine-etape {
    position: relative;
    display: grid;
    grid-template-columns: 28px 1fr;
    column-gap: 12px;
    padding-bottom: 22px;
}

.bf-vitrine-etape:last-child {
    padding-bottom: 0;
}

.bf-vitrine-etape:not(:last-child)::before {
    content: "";
    position: absolute;
    left: 13px;
    top: 32px;
    bottom: 4px;
    width: 2px;
    background-color: #5B5346;
}

.bf-vitrine-etape__pastille {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background-color: var(--bf-orange);
    color: var(--bf-noir);
    font-size: 0.85rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bf-vitrine-etape:last-child .bf-vitrine-etape__pastille {
    background-color: var(--bf-or);
}

.bf-vitrine-etape__titre {
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
    margin: 3px 0 4px;
}

.bf-vitrine-etape__texte {
    font-size: 0.9rem;
    color: #C9C2B2;
    margin: 0;
}

@media (min-width: 768px) {
    .bf-vitrine-etapes__liste {
        max-width: none;
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 24px;
    }

    .bf-vitrine-etape {
        grid-template-columns: 1fr;
        justify-items: center;
        text-align: center;
        row-gap: 10px;
        padding-bottom: 0;
    }

    .bf-vitrine-etape:not(:last-child)::before {
        top: 13px;
        bottom: auto;
        left: calc(50% + 22px);
        width: calc(100% - 20px);
        height: 2px;
    }
}



/* ── Vitrine SaaS publique — FAQ, accordéon mono-panneau
   <details>/<summary> natifs, sans JS. Fond #F7F4EC = fond existant des
   en-têtes .bf-panel (remplace l'orphelin #FFF6E4). */

.bf-vitrine-faq {
    background-color: #F7F4EC;
    padding: 48px 16px;
}

.bf-vitrine-faq__titre {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--bf-noir);
    text-align: center;
    margin-bottom: 24px;
}

@media (min-width: 768px) {
    .bf-vitrine-faq__titre {
        font-size: 1.6rem;
    }
}

.bf-vitrine-faq__panneau {
    max-width: 760px;
    margin: 0 auto;
    background-color: #fff;
    border: 1px solid #F0E8D6;
    border-radius: 16px;
    overflow: hidden;
}

.bf-vitrine-faq__item {
    border-bottom: 1px solid #EFEBDF;
}

.bf-vitrine-faq__item:last-child {
    border-bottom: none;
}

.bf-vitrine-faq__question {
    list-style: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 44px;
    padding: 14px 16px;
    font-weight: 700;
    color: var(--bf-noir);
}

.bf-vitrine-faq__question::-webkit-details-marker {
    display: none;
}

.bf-vitrine-faq__question:hover {
    background-color: #FAF8F2;
}

.bf-vitrine-faq__question:focus-visible {
    outline: 2px solid var(--bf-orange);
    outline-offset: -2px;
}

.bf-vitrine-faq__chevron {
    flex-shrink: 0;
    color: var(--bf-orange-fonce);
    transition: transform 0.15s ease;
}

.bf-vitrine-faq__item[open] .bf-vitrine-faq__chevron {
    transform: rotate(180deg);
}

@media (prefers-reduced-motion: reduce) {
    .bf-vitrine-faq__chevron {
        transition: none;
    }
}

.bf-vitrine-faq__reponse {
    margin: 0;
    padding: 0 16px 14px;
    font-size: 0.9rem;
    color: #7A7468;
}



/* ── Vitrine SaaS publique — formulaire de contact, bloc unique
   CTA "Envoyer" dominant (.btn-primary), WhatsApp en secondaire
   (.bf-btn-secondaire existant) sous un séparateur "ou". */

.bf-vitrine-contact {
    padding: 48px 16px;
    scroll-margin-top: var(--bf-nav-height);
}

.bf-vitrine-contact__inner {
    max-width: 560px;
    margin: 0 auto;
}

.bf-vitrine-contact__panneau {
    background-color: #fff;
    border: 1px solid #F0E8D6;
    border-radius: 16px;
    overflow: hidden;
}

.bf-vitrine-contact__entete {
    background-color: var(--bf-noir);
    padding: 14px 16px;
}

.bf-vitrine-contact__titre {
    font-size: 1.15rem;
    font-weight: 800;
    color: #fff;
    margin: 0;
}

.bf-vitrine-contact__corps {
    padding: 20px 16px;
}

.bf-vitrine-contact__envoyer,
.bf-vitrine-contact__whatsapp {
    width: 100%;
    min-height: 44px;
}

.bf-vitrine-contact__separateur {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 16px 0 12px;
    font-size: 0.82rem;
    color: #8A8477;
}

.bf-vitrine-contact__separateur::before,
.bf-vitrine-contact__separateur::after {
    content: "";
    flex: 1;
    height: 1px;
    background-color: #EFEBDF;
}

.bf-vitrine-contact__whatsapp-texte {
    font-size: 0.85rem;
    color: #7A7468;
    text-align: center;
    margin: 0 0 8px;
}



/* ── Vitrine SaaS publique — annuaire, liste à lignes
   Séparateurs 1px par gap sur fond, même technique que .bf-info-grid.
   1 colonne mobile, 2 colonnes à partir de 768px. */

.bf-vitrine-annuaire {
    padding: 48px 16px;
}

.bf-vitrine-annuaire__inner {
    max-width: 900px;
    margin: 0 auto;
}

.bf-vitrine-annuaire__titre {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--bf-noir);
    text-align: center;
    margin-bottom: 24px;
}

@media (min-width: 768px) {
    .bf-vitrine-annuaire__titre {
        font-size: 1.6rem;
    }
}

.bf-vitrine-annuaire__vide {
    text-align: center;
    color: #7A7468;
    margin: 0;
}

.bf-vitrine-annuaire__liste {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: 1px;
    background-color: #EFEBDF;
    border: 1px solid #F0E8D6;
    border-radius: 16px;
    overflow: hidden;
}

@media (min-width: 768px) {
    .bf-vitrine-annuaire__liste {
        grid-template-columns: 1fr 1fr;
    }

    /* Nombre impair de restos : la dernière ligne occupe toute la largeur,
       jamais de cellule vide grisée. */
    .bf-vitrine-annuaire__item:last-child:nth-child(odd) {
        grid-column: 1 / -1;
    }
}

.bf-vitrine-resto {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 56px;
    padding: 12px 16px;
    background-color: #fff;
    text-decoration: none;
    height: 100%;
}

.bf-vitrine-resto:hover {
    background-color: #FAF8F2;
}

.bf-vitrine-resto:focus-visible {
    outline: 2px solid var(--bf-orange);
    outline-offset: -2px;
}

.bf-vitrine-resto__logo {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.bf-vitrine-resto__logo--initiales {
    background-color: var(--bf-or-clair);
    color: var(--bf-orange-fonce);
    font-size: 0.75rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bf-vitrine-resto__texte {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.bf-vitrine-resto__nom {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--bf-noir);
    line-height: 1.25;
}

.bf-vitrine-resto__ville {
    font-size: 0.82rem;
    color: #8A8477;
}

.bf-vitrine-resto__chevron {
    flex-shrink: 0;
    color: var(--bf-orange-fonce);
}


.bf-vitrine-compteur {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    max-width: 100%;
    margin: 12px 0 0;
    padding: 6px 14px;
    background-color: #fff;
    border: 1px solid #F0E8D6;
    border-radius: 18px;
    font-size: 0.88rem;
    color: var(--bf-texte);
    text-align: left;
}

.bf-vitrine-compteur__point {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--bf-turquoise);
    flex-shrink: 0;
}


/* ── Session 125 (lot C : PG1, RC1, LG1, PR1, VT2, DT2) — tuiles de plats, photo mise en avant.
   Menu client (/menu, cartes construites en JS) et vitrine du resto (/, rendue en PHP) partagent
   ces classes ; les anciennes .bf-plat-item ne sont plus utilisées par ces deux pages. ────────── */

/* LG1 : 600 px sur mobile et tablette, 1000 px sur ordinateur. */
.bf-menu-conteneur {
    max-width: 600px;
}

@media (min-width: 992px) {
    .bf-menu-conteneur {
        max-width: 1000px;
    }
}

/* PG1 : grille de 2 colonnes, 3 dès 768 px, 4 dès 992 px. */
.bf-grille-plats {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px 12px;
}

@media (min-width: 768px) {
    .bf-grille-plats {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (min-width: 992px) {
    .bf-grille-plats {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 20px 16px;
    }
}

/* RC1 : carrousel horizontal (« Recommandé pour vous »), défilement au doigt. */
.bf-carrousel {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    padding-bottom: 6px;
}

.bf-carrousel > .bf-tuile {
    flex: 0 0 42%;
    scroll-snap-align: start;
}

@media (min-width: 768px) {
    .bf-carrousel > .bf-tuile {
        flex-basis: 30%;
    }
}

@media (min-width: 992px) {
    .bf-carrousel > .bf-tuile {
        flex-basis: 23%;
    }
}

.bf-tuile {
    position: relative;
    min-width: 0;
}

/* Zones cliquables (photo, texte) : boutons sans habillage qui ouvrent la fiche du plat (DT2). */
.bf-tuile__zone {
    display: block;
    width: 100%;
    padding: 0;
    border: none;
    background: none;
    font: inherit;
    color: inherit;
    text-align: left;
    cursor: pointer;
}

.bf-tuile__photo {
    position: relative;
    display: block;
    aspect-ratio: 1 / 1;
    border-radius: 14px;
    overflow: hidden;
    background-color: #F7F4EC;
    margin-bottom: 6px;
}

.bf-tuile__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.bf-tuile__vide {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #C9B98F;
}

.bf-tuile__badge {
    position: absolute;
    top: 8px;
    left: 8px;
    background-color: var(--bf-promo);
    color: #fff;
    font-weight: 800;
    font-size: 0.72rem;
    padding: 3px 8px;
    border-radius: 999px;
}

.bf-tuile__etat {
    position: absolute;
    left: 8px;
    bottom: 8px;
    max-width: calc(100% - 16px);
    background-color: rgba(2, 1, 2, 0.78);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 999px;
    line-height: 1.25;
}

/* Bouton « + » posé sur la photo : 44 px (zone tactile minimale). Placé en bas à droite de la
   photo carrée : .bf-tuile__visuel porte la position relative. */
.bf-tuile__visuel {
    position: relative;
}

.bf-tuile__plus {
    position: absolute;
    right: 8px;
    bottom: 14px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: none;
    background-color: #fff;
    color: var(--bf-noir);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.22);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    transition: background-color 0.15s ease, color 0.15s ease;
}

.bf-tuile__plus:hover,
.bf-tuile__plus:focus-visible {
    background-color: var(--bf-orange);
    color: #fff;
}

.bf-tuile__plus--ok {
    background-color: var(--bf-turquoise);
    color: #fff;
}

.bf-tuile__nom {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-weight: 700;
    font-size: 0.9rem;
    line-height: 1.2;
    color: var(--bf-noir);
}

.bf-tuile__ligne {
    display: block;
    font-size: 0.86rem;
    margin-top: 2px;
}

.bf-tuile__prix {
    font-weight: 700;
    color: var(--bf-texte);
}

.bf-tuile__prix--promo {
    color: var(--bf-promo);
    font-weight: 800;
}

.bf-tuile__prix-barre {
    text-decoration: line-through;
    color: #8A8477;
    font-size: 0.82em;
    white-space: nowrap;
}

.bf-tuile__desc {
    display: block;
    font-size: 0.76rem;
    color: #8A8477;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.bf-tuile--indisponible .bf-tuile__img {
    filter: grayscale(1);
    opacity: 0.55;
}

.bf-tuile--indisponible .bf-tuile__nom,
.bf-tuile--indisponible .bf-tuile__ligne {
    opacity: 0.55;
}

/* ── Fiche du plat (DT2) : panneau latéral, déplacé de home/index.php pour servir aussi au menu. */
.bf-drawer-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(2, 1, 2, 0.45);
    z-index: 1040;
}

.bf-drawer-overlay.is-open {
    display: block;
}

.bf-drawer {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    max-width: 420px;
    background: #fff;
    border-left: 3px solid var(--bf-or);
    box-shadow: -4px 0 16px rgba(0, 0, 0, 0.12);
    z-index: 1050;
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform 0.2s ease-out;
}

.bf-drawer-overlay.is-open .bf-drawer {
    transform: translateX(0);
}

.bf-drawer__header {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding: 0.75rem 1rem;
}

.bf-drawer__body {
    padding: 0 1.25rem 1.25rem;
    overflow-y: auto;
    flex: 1;
}

.bf-drawer__close {
    background: none;
    border: none;
    min-width: 44px;
    min-height: 44px;
    font-size: 24px;
    line-height: 1;
    color: var(--bf-or-fonce);
    cursor: pointer;
}

.bf-drawer__photo {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    background: #F7F4EC;
    border-radius: 12px;
    margin-bottom: 14px;
    display: block;
}

.bf-drawer__nom {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--bf-texte);
    margin-bottom: 4px;
}

.bf-drawer__prix {
    font-size: 1rem;
    font-weight: 700;
    color: #8A611E;
    margin-bottom: 12px;
}

.bf-drawer__prix .bf-tuile__prix-barre {
    margin-left: 6px;
}

.bf-drawer__description {
    font-size: 0.92rem;
    color: #4A4638;
    line-height: 1.5;
    white-space: pre-line;
}

.bf-drawer__meta {
    font-size: 0.85rem;
    color: #8A8477;
    margin-top: 8px;
}

.bf-drawer__action {
    margin-top: 18px;
}

/* ── Session 125 (ST3) — formulaire du comptoir : vignette, boutons − / + de 44 px, ligne choisie. ── */
.bf-row.bf-row--comptoir {
    grid-template-columns: 48px minmax(0, 1fr) auto;
    grid-template-areas: none;
}

.bf-row--comptoir > * {
    grid-area: auto;
}

.bf-row--comptoir__texte {
    min-width: 0;
}

.bf-row__thumb--vide {
    display: block;
    background-color: #F7F4EC;
}

.bf-row--choisi {
    background-color: #FFF4EC;
    box-shadow: inset 3px 0 0 var(--bf-orange);
}

.bf-stepper {
    display: flex;
    align-items: center;
    gap: 6px;
}

.bf-stepper__btn {
    width: 44px;
    height: 44px;
    padding: 0;
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1;
}

.bf-stepper__input {
    width: 56px;
    min-height: 44px;
    text-align: center;
    padding-left: 4px;
    padding-right: 4px;
    -moz-appearance: textfield;
    appearance: textfield;
}

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

@media (max-width: 576px) {
    .bf-row.bf-row--comptoir {
        grid-template-columns: 40px minmax(0, 1fr) auto;
        column-gap: 10px;
    }

    .bf-row--comptoir .bf-row__thumb {
        width: 40px;
        height: 40px;
    }

    .bf-stepper__input {
        width: 46px;
    }
}

/* Session 126 (NA1) : barre des sections de la vitrine et de /menu, collée sous l'en-tête, défilement horizontal. */
.bf-sections {
    position: sticky;
    top: calc(var(--bf-nav-height) + 4px);
    z-index: 20;
    display: flex;
    gap: 8px;
    overflow-x: auto;
    scrollbar-width: none;
    background: var(--bf-creme);
    margin: 0 -12px 18px;
    padding: 8px 12px;
    border-bottom: 1px solid #EFEBDF;
}

.bf-sections::-webkit-scrollbar {
    display: none;
}

.bf-sections__lien {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 0 16px;
    border: 1px solid #E6E2D8;
    border-radius: 999px;
    background: #fff;
    color: var(--bf-texte);
    font-size: 0.88rem;
    font-weight: 600;
    white-space: nowrap;
    text-decoration: none;
}

.bf-sections__lien:hover,
.bf-sections__lien:focus-visible {
    color: var(--bf-texte);
    border-color: var(--bf-orange);
}

.bf-sections__lien--actif,
.bf-sections__lien--actif:hover {
    background: var(--bf-orange);
    border-color: var(--bf-orange);
    color: var(--bf-noir);
}

.bf-sections-cible {
    scroll-margin-top: calc(var(--bf-nav-height) + 76px);
}

/* SP (session 130) : case « Rester connecté » aux couleurs de la marque, zone de toucher de 44 px */
.bf-souvenir { min-height: 44px; display: flex; flex-wrap: wrap; align-items: flex-start; gap: 0 .6rem; padding-left: 0; }
.bf-souvenir .form-check-input { width: 1.35rem; height: 1.35rem; margin: .1rem 0 0; float: none; flex: 0 0 auto; cursor: pointer; }
.bf-souvenir .form-check-input:checked { background-color: var(--bf-orange); border-color: var(--bf-orange); }
.bf-souvenir .form-check-input:focus { border-color: var(--bf-orange); box-shadow: 0 0 0 .2rem rgba(228, 85, 31, .25); }
.bf-souvenir .form-check-label { flex: 1 1 0; min-width: 0; cursor: pointer; }
.bf-souvenir .form-text { flex: 0 0 100%; padding-left: 1.95rem; }

/* Session 131 (PP : EM2, BW1, FM1) : partage du panier. Fenêtre construite par layouts/base.php
   ([data-bf-partage-panier]) et page client/panier_partage.php. */
.bf-partage-btn {
    min-width: 44px;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}
.bf-partage-overlay {
    position: fixed;
    inset: 0;
    z-index: 1060;
    background: rgba(2, 1, 2, .55);
    display: flex;
    align-items: flex-end;
    justify-content: center;
}
.bf-partage-overlay[hidden] {
    display: none;
}
.bf-partage {
    background: #fff;
    width: 100%;
    max-width: 600px;
    max-height: 90vh;
    overflow-y: auto;
    border-radius: 18px 18px 0 0;
    padding: 16px 16px calc(22px + env(safe-area-inset-bottom, 0px));
    box-shadow: 0 -8px 24px rgba(0, 0, 0, .15);
}
@media (min-width: 768px) {
    .bf-partage-overlay {
        align-items: center;
    }
    .bf-partage {
        max-width: 440px;
        border-radius: 18px;
    }
}
.bf-partage__entete {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: .5rem;
}
.bf-partage__fermer {
    min-width: 44px;
    min-height: 44px;
    border: 0;
    background: none;
    font-size: 1.75rem;
    line-height: 1;
    color: var(--bf-texte);
}
.bf-partage__apercu {
    background: #E7F8EE;
    border: 1px solid #CDEFD9;
    border-radius: 12px;
    padding: 10px 12px;
    margin-bottom: 1rem;
    max-height: 30vh;
    overflow-y: auto;
    white-space: pre-line;
    overflow-wrap: anywhere;
    font-size: .875rem;
}
.bf-partage__whatsapp,
.bf-partage__whatsapp:hover,
.bf-partage__whatsapp:focus {
    background: #25D366;
    border-color: #25D366;
    color: #fff;
}
.bf-partage__whatsapp {
    width: 100%;
    min-height: 48px;
    margin-bottom: .5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    font-weight: 700;
}
.bf-partage__whatsapp:hover {
    background: #1EBE5A;
    border-color: #1EBE5A;
}
.bf-partage__actions {
    display: flex;
    gap: .5rem;
}
.bf-partage__actions .btn {
    flex: 1 1 0;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
}
.bf-partage__actions .btn[hidden] {
    display: none;
}
.bf-partage__statut {
    min-height: 1.25rem;
    margin: .5rem 0 0;
    font-size: .875rem;
    color: #1E7A43;
}
.bf-panier-partage__ligne {
    display: flex;
    align-items: center;
    gap: .75rem;
    padding: .5rem 0;
    border-bottom: 1px solid #E6E2D8;
}
.bf-panier-partage__photo {
    width: 56px;
    height: 56px;
    flex: 0 0 56px;
    object-fit: cover;
    border-radius: 10px;
    background: var(--bf-creme);
}
.bf-panier-partage__corps {
    flex: 1 1 auto;
    min-width: 0;
}
.bf-panier-partage__ligne--indispo {
    color: #8A8580;
}
.bf-panier-partage__ligne--indispo .bf-panier-partage__photo {
    filter: grayscale(1);
    opacity: .55;
}
.bf-panier-partage__prix-promo {
    color: var(--bf-promo);
    font-weight: 700;
}

/* Session 132 (SE1, DG1) : la déconnexion est un formulaire POST. Le formulaire ne crée pas de boîte
   (display: contents) et le bouton garde l'apparence du lien : remise à zéro de spécificité nulle,
   pour que les règles .bf-nav__link* et .bf-nav__avatar-link* gardent la main. */
.bf-nav__form-deconnexion {
    display: contents;
}

:where(.bf-nav__form-deconnexion) :where(button) {
    -webkit-appearance: none;
    appearance: none;
    background: transparent;
    border: 0;
    margin: 0;
    font: inherit;
    color: inherit;
    text-align: left;
    cursor: pointer;
}

/* Le lien d'avant prenait au survol la couleur de a:hover (or) dans le menu de l'avatar : conservé. */
.bf-nav__form-deconnexion .bf-nav__avatar-link--logout:hover {
    color: var(--bf-or);
}

/* Session 133 (lot tel) : préfixe des champs de téléphone (+509, « Étranger », numéro étranger refusé pour MonCash / NatCash). */
.bf-tel__prefixe {
    min-width: 4.5rem;
    justify-content: center;
    font-weight: 600;
}

.bf-tel__prefixe--etranger {
    background-color: #EEF7F7;
    color: #0F7C7A;
}

.bf-tel__prefixe--refuse {
    color: #B8B2A6;
    text-decoration: line-through;
}

/* Session 133 (lot bonus) : bonus de bienvenue (bandeau du menu et de l'accueil, ligne verte, incitation, badge staff). */
.bf-bonus-bandeau {
    display: flex;
    gap: 10px;
    align-items: center;
    background: var(--bf-gradient);
    color: var(--bf-noir);
    border-radius: 14px;
    padding: 10px 14px;
    font-weight: 600;
    font-size: 0.92rem;
}

.bf-bonus-bandeau svg {
    flex-shrink: 0;
}

.bf-bonus-bandeau small {
    display: block;
    font-weight: 500;
    font-size: 0.78rem;
    opacity: 0.8;
}

.bf-bonus-ligne {
    color: #1E7B4F;
    font-weight: 600;
}

.bf-bonus-incitation {
    background-color: #FFF6E5;
    border: 1px dashed var(--bf-or);
    border-radius: 10px;
    padding: 8px 10px;
    font-size: 0.85rem;
}

.bf-bonus-badge {
    background-color: #E6F4EC;
    color: #1E7B4F;
    font-weight: 600;
}

/* Session 134 (AQ2) : activation des notifications par le client (profil, invitation de la page de suivi). */
.bf-notif-ok {
    color: #0E6E6B;
    font-weight: 700;
    font-size: .875rem;
}

.bf-notif-note {
    background-color: #FFFBF0;
    border: 1px dashed var(--bf-or);
    border-radius: 10px;
    padding: 10px 12px;
    font-size: .875rem;
}

.bf-notif-invite {
    background-color: #fff;
    border: 1px solid #F0E8D6;
    border-left: 4px solid var(--bf-or);
    border-radius: 12px;
    padding: 14px 16px;
}

/* Session 134 (point 10) : page admin/notifications. */
.bf-push-langue {
    display: inline-block;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: #8A5A00;
    background-color: #FFF3DE;
    border-radius: 6px;
    padding: 2px 8px;
    margin-bottom: 8px;
}

.bf-push-compteur {
    font-size: .75rem;
    font-weight: 400;
    color: #8A8477;
}

.bf-push-compteur--plein {
    color: #B42318;
    font-weight: 700;
}

.bf-push-apercu {
    background-color: #2B2B2E;
    border-radius: 18px;
    padding: 14px;
}

.bf-push-notif {
    display: grid;
    grid-template-columns: 34px 1fr;
    gap: 10px;
    background-color: rgba(255, 255, 255, .92);
    color: #111;
    border-radius: 14px;
    padding: 10px 12px;
    font-size: .85rem;
    min-height: 54px;
    overflow-wrap: anywhere;
}

.bf-push-notif small {
    color: #666;
}

.bf-push-notif__icone {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    background-color: var(--bf-noir);
    color: var(--bf-or);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: .7rem;
}

.bf-push-stat {
    display: inline-flex;
    gap: 4px;
    align-items: center;
    font-size: .8rem;
    color: #5B5346;
    margin-right: 12px;
}

.bf-push-stat b {
    color: var(--bf-noir);
}

/* Session 135 (lot fil, TM1) : page de suivi du client — carte d'état, code PIN, fil des étapes, détail replié. */
.bf-suivi-entete {
    background: #FFFFFF;
    border: 1px solid #F0E8D6;
    border-radius: 18px;
    padding: 18px;
    margin-bottom: 16px;
    display: flex;
    gap: 14px;
    align-items: flex-start;
}

.bf-suivi-entete__icone {
    flex: 0 0 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--bf-gradient);
    color: var(--bf-noir);
    display: flex;
    align-items: center;
    justify-content: center;
}

.bf-suivi-entete--succes .bf-suivi-entete__icone {
    background: #E6F4EC;
    color: #1E7B4F;
}

.bf-suivi-entete--alerte .bf-suivi-entete__icone {
    background: #FDEBEB;
    color: #B42318;
}

.bf-suivi-entete--neutre .bf-suivi-entete__icone {
    background: #EFEBDF;
    color: #5B5346;
}

.bf-suivi-entete__texte {
    min-width: 0;
    padding-top: 4px;
}

.bf-suivi-entete__statut {
    font-weight: 800;
    font-size: 1.12rem;
    line-height: 1.25;
    color: var(--bf-noir);
}

.bf-suivi-entete__eta {
    font-size: 0.9rem;
    color: #6B6458;
    margin-top: 2px;
}

.bf-suivi-entete__eta #chrono-preparation-texte,
.bf-suivi-entete__eta #chrono-livraison-texte {
    color: var(--bf-orange-fonce);
    font-weight: 700;
}

.bf-suivi-entete__actualiser {
    font-size: 0.82rem;
    color: #8A8477;
    min-height: 32px;
}

.bf-suivi-pin {
    background: #FFF8E8;
    border: 2px dashed var(--bf-or);
    border-radius: 16px;
    padding: 14px;
    text-align: center;
    margin-bottom: 16px;
}

.bf-suivi-pin__code {
    font-size: 2.1rem;
    font-weight: 800;
    letter-spacing: 0.35em;
    padding-left: 0.35em;
    color: var(--bf-noir);
    margin: 4px 0;
}

.bf-fil {
    list-style: none;
    margin: 0 0 16px;
    padding: 16px 16px 4px;
    background: #FFFFFF;
    border: 1px solid #F0E8D6;
    border-radius: 18px;
}

.bf-fil__etape {
    display: grid;
    grid-template-columns: 40px 1fr;
    gap: 12px;
    position: relative;
    padding-bottom: 18px;
}

.bf-fil__etape:not(:last-child)::before {
    content: "";
    position: absolute;
    left: 18.5px;
    top: 42px;
    bottom: 2px;
    width: 3px;
    border-radius: 2px;
    background: #E9E4D8;
}

.bf-fil__etape--fait:not(:last-child)::before {
    background: #0E6E6B;
}

.bf-fil__etape--encours:not(:last-child)::before,
.bf-fil__etape--alerte:not(:last-child)::before {
    background: linear-gradient(#E4551F 0%, #E9E4D8 70%);
}

.bf-fil__pastille {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #FFFFFF;
    border: 2px solid #E2DCCD;
    color: #B5AD9C;
    position: relative;
    z-index: 1;
}

.bf-fil__etape--fait .bf-fil__pastille {
    background: #0E6E6B;
    border-color: #0E6E6B;
    color: #FFFFFF;
}

.bf-fil__etape--encours .bf-fil__pastille {
    background: var(--bf-orange);
    border-color: var(--bf-orange);
    color: #FFFFFF;
    box-shadow: 0 0 0 6px rgba(228, 85, 31, 0.18);
}

.bf-fil__etape--alerte .bf-fil__pastille {
    background: #B42318;
    border-color: #B42318;
    color: #FFFFFF;
    box-shadow: 0 0 0 6px rgba(180, 35, 24, 0.15);
}

.bf-fil__texte {
    min-width: 0;
}

.bf-fil__titre {
    font-weight: 700;
    color: var(--bf-noir);
    padding-top: 2px;
}

.bf-fil__etape--avenir .bf-fil__titre {
    color: #A39B8A;
    font-weight: 600;
}

.bf-fil__info {
    font-size: 0.85rem;
    color: #7A7365;
}

.bf-fil__info--chrono {
    color: var(--bf-orange-fonce);
    font-weight: 700;
}

.bf-fil__etape--alerte .bf-fil__info {
    color: #B42318;
    font-weight: 600;
}

.bf-fil__heure {
    float: right;
    margin-left: 8px;
    font-size: 0.8rem;
    color: #A39B8A;
    font-weight: 500;
}

.bf-suivi-detail {
    background: #FFFFFF;
    border: 1px solid #F0E8D6;
    border-radius: 14px;
}

.bf-suivi-detail__resume {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    padding: 12px 16px;
    font-weight: 700;
    cursor: pointer;
    list-style: none;
    min-height: 44px;
    align-items: center;
}

.bf-suivi-detail__resume::-webkit-details-marker {
    display: none;
}

.bf-suivi-detail__total {
    white-space: nowrap;
}

.bf-suivi-detail__total::after {
    content: " ▾";
}

.bf-suivi-detail[open] .bf-suivi-detail__total::after {
    content: " ▴";
}

.bf-suivi-detail__corps {
    padding: 0 16px 14px;
}

/* Session 135 (point 12a) : avis des clients — étoiles, invitation et remerciement (suivi), « Noter » (historique),
   note et commentaires (page d'accueil), page admin/avis. */
.bf-avis-etoiles {
    display: inline-flex;
    gap: 2px;
    color: #E2DCCD;
    font-size: 1rem;
    line-height: 1.2;
}

.bf-avis-etoiles .on {
    color: #F5A623;
}

.bf-avis-invite {
    background: #FFFFFF;
    border: 1px solid #F0E8D6;
    border-left: 4px solid var(--bf-or);
    border-radius: 14px;
    padding: 14px;
}

.bf-avis-merci {
    background: #FFFFFF;
    border: 1px solid #F0E8D6;
    border-left: 4px solid #0E6E6B;
    border-radius: 14px;
    padding: 14px;
}

.bf-etoiles-saisie {
    display: inline-flex;
    flex-direction: row-reverse;
    gap: 2px;
}

.bf-etoiles-saisie input {
    position: absolute;
    opacity: 0;
    width: 1px;
    height: 1px;
}

.bf-etoiles-saisie label {
    font-size: 2.2rem;
    line-height: 1;
    padding: 2px 3px;
    color: #E2DCCD;
    cursor: pointer;
    min-width: 44px;
    text-align: center;
}

.bf-etoiles-saisie input:checked ~ label,
.bf-etoiles-saisie label:hover,
.bf-etoiles-saisie label:hover ~ label {
    color: #F5A623;
}

.bf-etoiles-saisie input:focus-visible + label {
    outline: 2px solid var(--bf-orange);
    outline-offset: 2px;
    border-radius: 6px;
}

.bf-hist-noter {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border: 1.5px solid var(--bf-or);
    color: #8A5A00;
    background: #FFF8E8;
    border-radius: 999px;
    padding: 4px 12px;
    font-size: 0.82rem;
    font-weight: 700;
}

.bf-note-vitrine {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.75);
    border-radius: 999px;
    padding: 4px 12px;
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--bf-noir);
    margin-bottom: 14px;
}

.bf-note-vitrine__note {
    color: #B86E00;
}

.bf-avis-vitrine__grille {
    display: grid;
    gap: 12px;
}

@media (min-width: 768px) {
    .bf-avis-vitrine__grille {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.bf-avis-carte {
    background: #FFFFFF;
    border: 1px solid #F0E8D6;
    border-radius: 16px;
    padding: 14px;
    margin: 0;
}

.bf-avis-carte__texte {
    margin-top: 4px;
    color: var(--bf-texte);
}

.bf-avis-carte__auteur {
    font-size: 0.8rem;
    color: #8A8477;
    margin-top: 6px;
}

.bf-avis-stats {
    display: flex;
    gap: 18px;
    align-items: center;
}

.bf-avis-stats__moyenne {
    font-size: 2.4rem;
    font-weight: 800;
    line-height: 1;
    color: var(--bf-noir);
}

.bf-barre {
    display: grid;
    grid-template-columns: 24px 1fr 30px;
    gap: 8px;
    align-items: center;
    font-size: 0.78rem;
    color: #6B6458;
}

.bf-barre__piste {
    height: 8px;
    border-radius: 4px;
    background: #F0EBDF;
    overflow: hidden;
}

.bf-barre__piste i {
    display: block;
    height: 100%;
    background: #F5A623;
}

.bf-onglets {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    margin-bottom: 4px;
}

.bf-onglets__lien {
    border: 1px solid #E6E2D8;
    border-radius: 999px;
    padding: 6px 12px;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--bf-texte);
    text-decoration: none;
}

.bf-onglets__lien--actif {
    background: var(--bf-noir);
    border-color: var(--bf-noir);
    color: #FFFFFF;
}

.bf-onglets__lien--actif:hover {
    color: var(--bf-or-clair);
}

.bf-avis-ligne {
    border-top: 1px solid #F0E8D6;
    padding: 12px 0;
}

.bf-avis-ligne__haut {
    display: flex;
    justify-content: space-between;
    gap: 8px;
    font-size: 0.82rem;
    color: #8A8477;
}

.bf-avis-ligne__texte {
    margin-top: 2px;
}

.bf-avis-switch .form-check-input:checked {
    background-color: var(--bf-orange);
    border-color: var(--bf-orange);
}

#bf-avis {
    scroll-margin-top: calc(var(--bf-nav-height) + 12px);
}

/* Session 135 (point 12b) : carte du livreur (suivi du client) et partage de la position (tableau de bord du livreur). */
.bf-carte-bloc {
    margin-top: 10px;
}

.bf-carte {
    position: relative;
    z-index: 0;
    height: 210px;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid #E6E2D8;
    background: #EEF0E6;
}

.bf-carte__livreur,
.bf-carte__arrivee {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 3px solid #FFFFFF;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.25);
}

.bf-carte__livreur {
    background: var(--bf-orange);
    color: #FFFFFF;
}

.bf-carte__arrivee {
    background: #FFFFFF;
    color: #8A5A00;
    border-color: var(--bf-or);
}

.bf-carte__maj {
    font-size: 0.78rem;
    color: #7A7365;
    margin-top: 6px;
}

.bf-carte-indispo {
    font-size: 0.82rem;
    color: #7A7365;
    background: #F6F2E8;
    border-radius: 10px;
    padding: 8px 10px;
}

.bf-partage-etat {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
    font-weight: 700;
    border-radius: 999px;
    padding: 3px 10px;
}

.bf-partage-etat--ok {
    color: #0E6E6B;
    background: #E3FBF9;
}

.bf-partage-etat--ok::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #0E6E6B;
}

.bf-partage-etat--non {
    color: #8A5A00;
    background: #FFF3DE;
}

.bf-partage-voile {
    position: fixed;
    inset: 0;
    z-index: 1050;
    background: rgba(2, 1, 2, 0.45);
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.bf-partage-voile[hidden] {
    display: none;
}

.bf-partage-feuille {
    background: #FFFFFF;
    border-radius: 18px 18px 0 0;
    padding: 18px;
    width: 100%;
    max-width: 520px;
    box-shadow: 0 -6px 24px rgba(0, 0, 0, 0.18);
}

/* Session 136 (YA1, IR1) : cases à cocher et interrupteurs aux couleurs du projet (avant : bleu Bootstrap). */
.form-check-input:checked {
    background-color: var(--bf-orange);
    border-color: var(--bf-orange);
}

.form-check-input:focus {
    border-color: var(--bf-orange);
    box-shadow: 0 0 0 .2rem rgba(228, 85, 31, .25);
}

.form-switch .form-check-input:focus:not(:checked) {
    --bs-form-switch-bg: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='%23f1aa8f'/%3e%3c/svg%3e");
}

/* Session 136 (YA2, IK1) : logo du resto dans l'aperçu de admin/notifications. */
.bf-push-notif__icone--logo {
    object-fit: cover;
    background-color: #FFFFFF;
    flex-shrink: 0;
}

/* Session 137 (É8, AJ1) : tuiles de l'écran du jour du tableau de bord admin (2 colonnes sur mobile, 3 sur ordinateur). */
.bf-jour-tuiles {
    display: grid;
    gap: 12px;
    grid-template-columns: 1fr 1fr;
    margin-bottom: 20px;
}

.bf-jour-tuiles .bf-panel {
    margin-bottom: 0;
}

.bf-jour-tuiles .bf-panel__header {
    font-size: 0.8rem;
    padding: 10px 12px;
}

.bf-jour-tuiles .bf-panel__body-padded {
    padding: 12px;
}

.bf-jour-tuiles .fs-3 {
    font-size: 1.1rem !important;
}

@media (min-width: 1024px) {
    .bf-jour-tuiles {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }

    .bf-jour-tuiles .fs-3 {
        font-size: 1.35rem !important;
    }
}

/* Session 137 (YK1) : tuile « Commandes en livraison » cliquable, page admin/livraisons. */
.bf-jour-tuiles__lien {
    display: block;
    color: inherit;
    text-decoration: none;
}

.bf-jour-tuiles__lien:hover,
.bf-jour-tuiles__lien:focus-visible {
    color: inherit;
    border-color: var(--bf-orange);
}

.bf-livraisons-carte {
    height: 320px;
}

@media (min-width: 1024px) {
    .bf-livraisons-carte {
        height: 420px;
    }
}

.bf-livraisons-corps {
    padding-top: 4px;
    padding-bottom: 4px;
}

.bf-livraisons-liste {
    list-style: none;
    margin: 0;
    padding: 0;
}

.bf-livraisons-liste li {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 10px;
    padding: 10px 0;
    border-bottom: 1px solid #EFEBDF;
    font-size: 0.88rem;
}

.bf-livraisons-liste li:last-child {
    border-bottom: 0;
}

.bf-livraisons-liste .bf-partage-etat {
    white-space: nowrap;
    font-size: 0.72rem;
    flex-shrink: 0;
}

.bf-livraisons-pastille {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--bf-orange);
    color: #FFFFFF;
    font-size: 0.72rem;
    font-weight: 800;
    margin-right: 8px;
    flex-shrink: 0;
}

.bf-livraisons-pastille--perimee {
    background: #C9973A;
}

.bf-livraisons-pastille--sans {
    background: #B8B2A6;
}

.bf-livraisons-age {
    color: #7A7465;
    font-size: 0.78rem;
    white-space: nowrap;
}

.bf-livraisons-age--perimee {
    color: #8A5A00;
    font-weight: 700;
}

.bf-livraisons-marqueur .bf-carte__livreur,
.bf-livraisons-marqueur .bf-carte__arrivee {
    font: 800 12px/1 system-ui, sans-serif;
}

/* Session 137 (TQ1) : la carte du suivi ne se charge que sur demande (données mobiles). */
.bf-carte-ouvrir {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 8px;
}

.bf-carte-ouvrir__aide {
    font-size: 0.75rem;
    color: #7A7365;
}

.bf-carte-ouvrir[hidden],
.bf-carte-masquer[hidden] {
    display: none;
}

/* Session 138 (EN1, CF1) : confirmation avant l'envoi réel d'une notification aux clients (admin/notifications).
   En bas de l'écran sur téléphone, centrée sur ordinateur. */
.bf-confirm-voile {
    position: fixed;
    inset: 0;
    z-index: 1050;
    background: rgba(2, 1, 2, 0.45);
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.bf-confirm-voile[hidden] {
    display: none;
}

.bf-confirm-feuille {
    background: #FFFFFF;
    border-radius: 18px 18px 0 0;
    padding: 18px 18px calc(18px + env(safe-area-inset-bottom, 0px));
    width: 100%;
    max-width: 520px;
    box-shadow: 0 -6px 24px rgba(0, 0, 0, 0.18);
}

.bf-confirm-feuille__titre {
    font-size: 1.15rem;
    font-weight: 700;
    margin: 0 0 10px;
}

.bf-confirm-feuille__texte {
    font-size: 0.92rem;
    margin: 10px 0 4px;
}

.bf-confirm-feuille__compte {
    font-size: 0.82rem;
    color: #8A8477;
    margin: 0 0 14px;
}

.bf-confirm-feuille__actions {
    display: flex;
    gap: 10px;
}

.bf-confirm-feuille__actions .btn {
    flex: 1 1 0;
    min-height: 44px;
}

@media (min-width: 768px) {
    .bf-confirm-voile {
        align-items: center;
    }

    .bf-confirm-feuille {
        border-radius: 18px;
    }
}
/* Session 139 (lot kx2, KX2 / FW1, ZQ1) : héros « Photo en vedette » de la vitrine du resto, pleine largeur, sans orange
   (noir, or, crème). Photo de couverture assombrie vers le bas ; sans photo, bandeau noir et or. */
.bf-vedette {
    position: relative;
    height: 210px;
    overflow: hidden;
    background: radial-gradient(circle at 88% 18%, rgba(222, 187, 87, 0.38), transparent 55%), linear-gradient(135deg, var(--bf-noir) 0%, var(--bf-noir-clair) 100%);
    color: #FFFFFF;
}

.bf-vedette--sans-photo {
    height: 150px;
}

.bf-vedette__photo {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.bf-vedette:not(.bf-vedette--sans-photo)::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(2, 1, 2, 0.12) 0%, rgba(2, 1, 2, 0.82) 100%);
}

.bf-vedette__contenu {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    max-width: 600px;
    margin: 0 auto;
    padding: 16px 12px;
    display: flex;
    align-items: flex-end;
    gap: 12px;
}

.bf-vedette__logo {
    flex: none;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 2px solid #FFFFFF;
    background: #FFFFFF;
    object-fit: contain;
    padding: 2px;
}

.bf-vedette__texte {
    min-width: 0;
}

.bf-vedette__titre {
    margin: 0;
    font-size: 1.35rem;
    font-weight: 900;
    line-height: 1.15;
    color: #FFFFFF;
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.35);
}

.bf-vedette__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 12px;
    margin: 4px 0 0;
    font-size: 0.82rem;
}

.bf-vedette__etat::before {
    content: "●";
    margin-right: 5px;
}

.bf-vedette__etat--ouvert {
    color: #7FE0C8;
    font-weight: 700;
}

.bf-vedette__etat--ferme {
    color: #FFB4A8;
    font-weight: 700;
}

.bf-vedette__commander {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 44px;
    padding: 0 20px;
    margin-left: auto;
    flex: none;
    border-radius: 999px;
    background: var(--bf-or);
    color: var(--bf-noir);
    font-weight: 800;
    text-decoration: none;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
}

.bf-vedette__commander:hover,
.bf-vedette__commander:focus-visible {
    background: var(--bf-or-clair);
    color: var(--bf-noir);
}

/* Téléphone : « Commander » collé en bas de l'écran tant que le panier est vide (la barre du panier prend la place ensuite). */
@media (max-width: 767.98px) {
    .bf-vedette__commander {
        position: fixed;
        left: 16px;
        right: 16px;
        bottom: calc(14px + env(safe-area-inset-bottom, 0px));
        z-index: 9;
    }

    body.bf-vedette-panier .bf-vedette__commander {
        display: none;
    }

    .bf-landing {
        padding-bottom: 84px;
    }
}

@media (min-width: 992px) {
    .bf-vedette {
        height: 280px;
    }

    .bf-vedette--sans-photo {
        height: 190px;
    }

    .bf-vedette__contenu {
        max-width: 1000px;
        padding: 24px 12px;
    }

    .bf-vedette__titre {
        font-size: 1.8rem;
    }
}

.bf-vedette-infos {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    scrollbar-width: none;
    list-style: none;
    margin: 0 0 12px;
    padding: 0;
}

.bf-vedette-infos::-webkit-scrollbar {
    display: none;
}

.bf-vedette-infos li {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    flex: none;
    white-space: nowrap;
    background: #FFFFFF;
    border: 1px solid #ECE6DA;
    border-radius: 10px;
    padding: 6px 11px;
    font-size: 0.8rem;
    color: var(--bf-texte);
}

.bf-vedette-infos svg {
    color: var(--bf-or-fonce);
}

/* ZQ1 : pas d'orange sur la vitrine du resto (onglets des sections, bonus, « + »). L'en-tête commun ne change pas. */
.bf-landing .bf-sections__lien:hover,
.bf-landing .bf-sections__lien:focus-visible {
    border-color: var(--bf-or-fonce);
}

.bf-landing .bf-sections__lien--actif,
.bf-landing .bf-sections__lien--actif:hover {
    background: var(--bf-noir);
    border-color: var(--bf-noir);
    color: #FFFFFF;
}

.bf-landing .bf-bonus-bandeau {
    background: #FFF8E6;
    border: 1px dashed var(--bf-or-fonce);
    font-weight: 500;
}

.bf-landing .bf-tuile__plus:hover,
.bf-landing .bf-tuile__plus:focus-visible {
    background-color: var(--bf-noir);
    color: #FFFFFF;
}

/* Réglages : aperçu de la photo de couverture. */
.bf-couverture-apercu {
    display: block;
    width: 100%;
    max-height: 140px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 8px;
}

/* Session 140 (DU2) : vitrine du resto. Pas de bande crème de 12 px sous l'en-tête
   quand la bannière « Installer » est cachée ; si elle s'affiche, 12 px au-dessus et au-dessous. */
.bf-page-vitrine .bf-install-banner-wrap {
    padding-top: 0;
}

.bf-page-vitrine .bf-install-banner {
    margin: 12px 0;
}

/* Session 141 (EV1) : lignes modifiables de la fenêtre de partage du panier. */
.bf-partage__lignes {
    max-height: 38vh;
    overflow-y: auto;
    margin-bottom: .75rem;
    border-top: 1px solid #ECE6DA;
}
.bf-partage__ligne {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
    padding: .4rem 0;
    border-bottom: 1px solid #ECE6DA;
}
.bf-partage__nom {
    flex: 1 1 auto;
    min-width: 0;
    overflow-wrap: anywhere;
    font-weight: 600;
}
.bf-partage__qte {
    display: flex;
    align-items: center;
    gap: .5rem;
    flex-shrink: 0;
}
.bf-partage__qte .btn {
    min-width: 44px;
    min-height: 44px;
    padding: 0;
    font-size: 1.25rem;
    line-height: 1;
}
.bf-partage__qte-valeur {
    min-width: 1.75rem;
    text-align: center;
    font-weight: 700;
}

/* Session 141 (UE1) : éditeur des CGU du super admin et encadré « Les conditions ont changé ». */
/* Texte des CGU (CguService::html) : mêmes espacements qu'avant (une section = un bloc mb-4). */
.bf-cgu-contenu > h2:not(:first-child) {
    margin-top: 1.5rem;
}
.bf-cgu-contenu > :last-child {
    margin-bottom: 1.5rem;
}
.bf-cgu-statut {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem 1.5rem;
    font-size: .9rem;
}
.bf-cgu-editeur textarea {
    font-family: ui-monospace, Menlo, Consolas, monospace;
    font-size: .85rem;
    min-height: 340px;
}
.bf-cgu-apercu {
    max-height: 420px;
    overflow-y: auto;
    background: #fff;
    border: 1px solid #ECE6DA;
    border-radius: 12px;
    padding: 16px;
}
.bf-cgu-badge {
    display: inline-block;
    border-radius: 999px;
    padding: 2px 10px;
    font-size: .78rem;
    font-weight: 600;
}
.bf-cgu-badge--ok {
    background: #E6F4EC;
    color: #1E7B4F;
}
.bf-cgu-badge--a-revoir {
    background: #FFF1E0;
    color: #9A5A00;
}
.bf-cgu-badge--jamais {
    background: #F3EFE7;
    color: #6E685C;
}
.bf-cgu-changement {
    border-left: 4px solid var(--bf-or);
    background: #FFFBF0;
    padding: 12px 14px;
    border-radius: 8px;
    margin-bottom: 1rem;
}
/* Session 142 (lot 8c) : page Finances du super admin. Une carte par resto ; à partir de 1280 px : tableau. */
.bf-fin-compte { display: inline-block; min-width: 1.5em; padding: 0 .45em; margin-left: .35em; border-radius: 999px; background: #B3261E; color: #fff; font-size: .75rem; text-align: center; }
.bf-fin-traiter__liste { list-style: none; margin: 0; padding: 0; }
.bf-fin-traiter__item { display: flex; align-items: center; gap: .75rem; padding: .7rem 1rem; border-top: 1px solid #ECE6DA; color: var(--bf-texte); text-decoration: none; font-size: .92rem; }
.bf-fin-traiter__item:hover { background: #FFF8E6; color: var(--bf-texte); }
.bf-fin-traiter__texte { flex: 1 1 auto; min-width: 0; }
.bf-fin-traiter__fleche { color: #8A8477; font-size: 1.2rem; }
.bf-fin-traiter__item--retard, .bf-fin-traiter__item--code_expire { box-shadow: inset 4px 0 0 #B3261E; }
.bf-fin-traiter__item--echeance, .bf-fin-traiter__item--code { box-shadow: inset 4px 0 0 var(--bf-ambre); }
.bf-fin-traiter__item--sans_cycle, .bf-fin-traiter__item--leads { box-shadow: inset 4px 0 0 var(--bf-or); }
.bf-fin-mois { margin: 0 0 1rem; }
.bf-fin-mois__select { width: auto; min-width: 12rem; }
.bf-fin-chiffre { font-size: 1.1rem; font-weight: 700; }
.bf-fin-sous { font-size: .8rem; color: #8A8477; margin-top: .15rem; }
.bf-fin-tuile--alerte { border-color: #B3261E; }
.bf-fin-tuile--alerte .bf-fin-chiffre { color: #B3261E; }
.bf-fin-ecart { color: #B3261E; font-weight: 600; font-size: .8rem; white-space: nowrap; }
.bf-fin-evol { font-size: .75rem; color: #8A8477; white-space: nowrap; }
.bf-fin-evol--hausse { color: #1E7B4F; }
.bf-fin-evol--baisse { color: #B3261E; }
.bf-fin-alerte { color: #B3261E; font-weight: 600; }
.bf-fin-badge { display: inline-block; padding: 0 .4em; border-radius: 4px; background: #ECE6DA; color: #8A8477; font-size: .7rem; font-weight: 600; text-transform: uppercase; vertical-align: middle; }
.bf-fin-test { color: #8A8477; }
.bf-fin-statut { display: inline-block; padding: .1em .55em; border-radius: 999px; font-size: .75rem; font-weight: 600; white-space: nowrap; background: #ECE6DA; color: #5C574D; }
.bf-fin-statut--paye { background: #E6F4EC; color: #1E7B4F; }
.bf-fin-statut--partiel { background: #FFF3DE; color: #8A5A00; }
.bf-fin-statut--en_retard { background: #FCE8E6; color: #B3261E; }
.bf-fin-cartes { padding: .25rem 0; }
.bf-fin-carte { padding: .8rem 1rem; border-top: 1px solid #ECE6DA; }
.bf-fin-carte:first-child { border-top: 0; }
.bf-fin-carte__tete { display: flex; align-items: center; gap: .5rem; margin-bottom: .5rem; }
.bf-fin-carte__tete .bf-fin-statut { margin-left: auto; }
.bf-fin-carte__grille { display: grid; grid-template-columns: auto 1fr; gap: .2rem .75rem; margin: 0; font-size: .85rem; }
.bf-fin-carte__grille dt { font-weight: 400; color: #8A8477; }
.bf-fin-carte__grille dd { margin: 0; text-align: right; }
.bf-fin-tableau { display: none; overflow-x: auto; }
.bf-fin-tableau th { font-size: .72rem; vertical-align: bottom; font-weight: 600; color: #5C574D; }
.bf-fin-tableau td { font-size: .78rem; white-space: nowrap; }
.bf-fin-tableau .bf-fin-statut { margin-top: .2rem; }
.bf-fin-tableau th, .bf-fin-tableau td { padding-left: .25rem; padding-right: .25rem; }
.bf-fin-total td { font-weight: 700; background: #FFF4DC; }
@media (min-width: 1280px) {
    .bf-fin-cartes { display: none; }
    .bf-fin-tableau { display: block; }
}
@media (min-width: 1024px) {
    .bf-fin-tuiles--4 { grid-template-columns: repeat(4, 1fr); }
}
/* Session 143 (lot js1, WD1 / AZ1) : ligne d'état des crons de commission (super admin) et alerte de cron dans « À traiter ». */
.bf-cron-etat { display: flex; flex-wrap: wrap; align-items: center; gap: .2rem .9rem; margin: -.25rem 0 1.25rem; font-size: .8rem; color: #8A8477; }
.bf-cron-etat__titre { font-weight: 600; color: #5C574D; }
.bf-cron-etat__item { display: inline-flex; align-items: center; gap: .35rem; }
.bf-cron-etat__point { width: .5rem; height: .5rem; border-radius: 50%; background: #1E7B4F; flex: 0 0 auto; }
.bf-cron-etat__item--attente .bf-cron-etat__point { background: #B8B2A6; }
.bf-cron-etat__item--alerte { color: #B3261E; font-weight: 600; }
.bf-cron-etat__item--alerte .bf-cron-etat__point { background: #B3261E; }
.bf-fin-traiter__item--cron { box-shadow: inset 4px 0 0 #B3261E; }
.bf-fin-traiter__item--cron:hover { background: transparent; }
/* Session 144 (lot pv1) : prévisions sur 12 mois du super admin. */
.bf-prev-lien { display: inline-block; margin: -.25rem 0 1rem; font-size: .85rem; font-weight: 600; }
.bf-prev-note { font-size: .78rem; color: #8A8477; margin: -.25rem 0 1.25rem; }
.bf-prev-mois { width: 100%; border-collapse: collapse; font-size: .82rem; }
.bf-prev-mois th { font-size: .72rem; font-weight: 600; color: #5C574D; text-align: left; padding: .45rem .75rem; border-bottom: 1px solid #ECE6DA; }
.bf-prev-mois td { padding: .45rem .75rem; border-top: 1px solid #F1ECE2; vertical-align: top; }
.bf-prev-mois .bf-prev-num { text-align: right; white-space: nowrap; }
.bf-prev-mois .bf-fin-total td { border-top: 1px solid #ECE6DA; }
.bf-prev-restos { display: block; font-size: .72rem; color: #8A8477; white-space: normal; }
.bf-prev-retard { color: #B3261E; font-weight: 600; }
.bf-prev-vide { color: #B8B2A6; }
.bf-prev-badge { display: inline-block; font-size: .66rem; font-weight: 600; padding: .05rem .4rem; border-radius: 999px; background: #FFF3DE; color: #8A5A00; margin-left: .3rem; vertical-align: middle; }
.bf-prev-base { font-size: .72rem; color: #8A8477; }
.bf-fin-badge.bf-prev-suspendu { background: #FFF3DE; color: #8A5A00; }
/* Session 144 (lot sig) : signalements des clients (suivi, admin, super admin). */
.bf-sig-lien { display: flex; align-items: center; justify-content: space-between; gap: .75rem; background: #fff; border: 1px solid #ECE6DA; border-radius: 14px; padding: .8rem 1rem; margin-bottom: 1rem; font-size: .9rem; }
.bf-sig-lien strong { display: block; }
.bf-sig-lien .btn { white-space: nowrap; }
.bf-sig-motifs { display: grid; gap: .4rem; margin: .75rem 0; border: 0; padding: 0; }
.bf-sig-motif { display: flex; align-items: center; gap: .6rem; border: 1px solid #ECE6DA; border-radius: 10px; padding: .55rem .75rem; font-size: .9rem; min-height: 44px; cursor: pointer; }
.bf-sig-motif:has(input:checked) { border-color: var(--bf-orange); background: #FFF4EE; }
.bf-sig-ou { text-align: center; font-size: .8rem; color: #8A8477; margin: .6rem 0; }
.bf-sig-wa { display: flex; align-items: center; justify-content: center; gap: .5rem; width: 100%; min-height: 44px; border: 1px solid #1E7B4F; color: #1E7B4F; border-radius: 10px; background: #fff; font-weight: 600; font-size: .9rem; text-decoration: none; }
.bf-sig-wa:hover { background: #E6F4EC; color: #1E7B4F; }
.bf-sig-carte { background: #fff; border: 1px solid #ECE6DA; border-radius: 14px; padding: .9rem 1rem; margin-bottom: 1rem; font-size: .88rem; }
.bf-sig-carte__tete { display: flex; justify-content: space-between; align-items: center; gap: .5rem; margin-bottom: .35rem; }
.bf-sig-etat { display: inline-block; font-size: .7rem; font-weight: 700; padding: .1rem .5rem; border-radius: 999px; white-space: nowrap; }
.bf-sig-etat--ouvert { background: #FCE8E6; color: #B3261E; }
.bf-sig-etat--en_cours { background: #FFF3DE; color: #8A5A00; }
.bf-sig-etat--resolu { background: #E6F4EC; color: #1E7B4F; }
.bf-sig-meta { font-size: .76rem; color: #8A8477; }
.bf-sig-reponse { margin-top: .6rem; border-left: 3px solid #DEBB57; background: #FFFBF0; padding: .5rem .7rem; border-radius: 0 8px 8px 0; }
.bf-sig-reponse__qui { font-size: .72rem; font-weight: 700; color: #8A5A00; margin-bottom: .15rem; }
.bf-sig-ligne { border-top: 1px solid #ECE6DA; padding: .9rem 0; scroll-margin-top: 80px; }
.bf-sig-ligne:first-of-type { border-top: 0; }
.bf-sig-ligne__motif { font-weight: 700; }
.bf-sig-ligne__texte { font-size: .88rem; margin: .35rem 0; overflow-wrap: anywhere; }
.bf-sig-traiter { display: grid; gap: .4rem; margin-top: .5rem; }
.bf-sig-table { font-size: .82rem; }
#bf-signalement { scroll-margin-top: 80px; }

#bf-sig-voile .bf-confirm-feuille { max-height: calc(100vh - 24px); max-height: calc(100dvh - 24px); overflow-y: auto; overscroll-behavior: contain; }
/* Session 145 (VB2 : VH1, AP1, PZ1, DM1, OG1) : vitrine JustinSpot tournée vers les restaurants, sans orange hors de l'en-tête. */
.bf-vb .bf-vitrine-feature__icone { color: var(--bf-or-fonce); }
.bf-vb .bf-vitrine-etape__pastille { background-color: var(--bf-or); color: var(--bf-noir); }
.bf-vb .bf-vitrine-faq__chevron { color: var(--bf-or-fonce); }
.bf-vb-hero { background: radial-gradient(circle at 85% 20%, rgba(222, 187, 87, .22), transparent 55%), linear-gradient(160deg, var(--bf-noir) 0%, var(--bf-noir-clair) 100%); color: #fff; padding: 36px 16px 0; overflow: hidden; }
.bf-vb-hero__inner { max-width: 1040px; margin: 0 auto; display: grid; gap: 28px; }
.bf-vb-hero__label { margin: 0 0 10px; color: var(--bf-or); font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.bf-vb-hero__titre { margin: 0 0 14px; font-size: 1.85rem; line-height: 1.15; font-weight: 900; color: #fff; }
.bf-vb-hero__sous { margin: 0 0 22px; color: #D9D3C7; font-size: 1rem; line-height: 1.5; }
.bf-vb-hero__actions { display: flex; flex-direction: column; gap: 10px; }
.bf-vb-hero__compteur { display: inline-flex; align-items: center; gap: 8px; margin: 18px 0 0; color: #D9D3C7; font-size: .85rem; }
.bf-vb-hero__visuel { display: flex; justify-content: center; height: 300px; overflow: hidden; -webkit-mask-image: linear-gradient(#000 70%, transparent); mask-image: linear-gradient(#000 70%, transparent); }
.bf-vb-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border-radius: 12px; font-weight: 700; font-size: 1rem; text-decoration: none; border: 2px solid transparent; }
.bf-vb-btn--or { background-color: var(--bf-or); color: var(--bf-noir); }
.bf-vb-btn--or:hover { background-color: var(--bf-or-clair); color: var(--bf-noir); }
.bf-vb-btn--contour { border-color: rgba(255, 255, 255, .45); color: #fff; }
.bf-vb-btn--contour:hover { border-color: #fff; color: #fff; }
.bf-vb-btn--noir { background-color: var(--bf-noir); color: #fff; }
.bf-vb-btn--noir:hover { background-color: var(--bf-noir-clair); color: #fff; }
.bf-vb-btn--wa { background-color: #1E7B4F; color: #fff; }
.bf-vb-btn--wa:hover { background-color: #17643F; color: #fff; }
.bf-vb-btn--large { width: 100%; }
.bf-vb-tel { width: 260px; flex-shrink: 0; padding: 9px; border-radius: 38px; background: #111; box-shadow: 0 0 0 1px #3a3528, 0 24px 48px rgba(0, 0, 0, .45); }
.bf-vb-tel img { display: block; width: 100%; height: auto; border-radius: 30px; }
.bf-vb-tel--petit { width: 220px; padding: 7px; border-radius: 32px; box-shadow: 0 0 0 1px #d8d1c2, 0 14px 30px rgba(36, 31, 22, .18); }
.bf-vb-tel--petit img { border-radius: 26px; }
.bf-vb-titre { margin: 0 0 8px; font-size: 1.45rem; font-weight: 800; text-align: center; color: var(--bf-noir); }
.bf-vb-sous-titre { margin: 0 0 28px; text-align: center; color: #6B655A; }
.bf-vb .bf-vitrine-features__grille { margin-top: 24px; }
.bf-vb-apercu { background-color: #F4EFE4; padding: 48px 0; }
.bf-vb-apercu__liste { list-style: none; margin: 0; padding: 4px 4px 12px; display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; }
.bf-vb-apercu__item { flex: 0 0 auto; width: 236px; scroll-snap-align: center; text-align: center; }
.bf-vb-apercu__item .bf-vb-tel { margin: 0 auto 14px; }
.bf-vb-apercu__titre { margin: 0 0 4px; font-size: 1rem; font-weight: 700; }
.bf-vb-apercu__texte { margin: 0; font-size: .88rem; color: #6B655A; }
.bf-vb-tarif { max-width: 520px; margin: 0 auto; padding: 28px 20px; border: 1px solid #ECE6DA; border-radius: 18px; background: #fff; text-align: center; }
.bf-vb-tarif__prix { margin: 14px 0 4px; display: flex; flex-wrap: wrap; align-items: baseline; justify-content: center; gap: 6px; }
.bf-vb-tarif__apartir, .bf-vb-tarif__unite { color: #6B655A; font-size: .95rem; }
.bf-vb-tarif__montant { font-size: 2.2rem; font-weight: 900; color: var(--bf-noir); }
.bf-vb-tarif__commission { margin: 0 0 10px; font-weight: 700; color: var(--bf-or-fonce); }
.bf-vb-tarif__note { margin: 0 0 18px; color: #6B655A; font-size: .9rem; }
.bf-vb-tarif__inclus { list-style: none; margin: 0 auto 22px; padding: 0; display: grid; gap: 8px; text-align: left; max-width: 300px; }
.bf-vb-tarif__inclus li { display: flex; align-items: center; gap: 10px; }
.bf-vb-tarif__inclus svg { color: #1E7B4F; flex-shrink: 0; }
.bf-vb-contact__sous { margin: 4px 0 0; color: #D9D3C7; font-size: .88rem; }
.bf-vb-contact__message summary { cursor: pointer; color: var(--bf-or-fonce); font-weight: 600; font-size: .92rem; }
.bf-vb-note { color: var(--bf-or-fonce); font-weight: 600; }
.bf-vb-client { margin: 0; padding: 0 16px 40px; text-align: center; color: #6B655A; }
.bf-vb-client a { color: var(--bf-noir); font-weight: 700; }
.bf-vb-barre { position: fixed; left: 0; right: 0; bottom: 0; z-index: 1030; padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px)); background: rgba(255, 251, 247, .96); box-shadow: 0 -4px 16px rgba(2, 1, 2, .12); transition: transform .2s; }
.bf-vb-barre--cachee { transform: translateY(110%); }
.bf-vb--wa { padding-bottom: 76px; }
@media (min-width: 768px) {
    .bf-vb-barre { display: none; }
    .bf-vb--wa { padding-bottom: 0; }
    .bf-vb-hero__actions { flex-direction: row; }
    .bf-vb-apercu__liste { justify-content: center; overflow: visible; }
}
@media (min-width: 992px) {
    .bf-vb-hero { padding-top: 56px; }
    .bf-vb-hero__inner { grid-template-columns: 1.15fr 1fr; align-items: center; }
    .bf-vb-hero__titre { font-size: 2.6rem; }
    .bf-vb-hero__texte { padding-bottom: 56px; }
    .bf-vb-hero__visuel { height: 470px; align-self: end; }
    .bf-vb-hero .bf-vb-tel { width: 290px; }
}
.bf-vb-contact__email { margin: 12px 0 0; text-align: center; font-size: .9rem; color: #6B655A; }
.bf-vb-contact__email a { color: var(--bf-noir); font-weight: 600; }
.bf-vb .bf-nav__brand { display: inline-flex; align-items: center; gap: 8px; }
.bf-vb .bf-nav__brand-accent { background: none; color: #FF914D; }
.bf-vb-logo { width: 28px; height: auto; }
.bf-vb .bf-vitrine-resto__logo--initiales { color: var(--bf-noir); border-color: var(--bf-or); }
.bf-vb .bf-vitrine-resto__chevron { color: var(--bf-or-fonce); }
/* Session 146 (lot gf1) : premier mois de commission offert. */
.bf-offre-bandeau { border: 1px dashed #C9A13B; background: #FFF8E6; border-radius: 10px; padding: 10px 12px; }
.bf-offre-bandeau__titre { font-weight: 700; font-size: .95rem; }
.bf-offre-bandeau__texte { font-size: .82rem; color: #5C574D; margin-top: 2px; }
.bf-offre-montant { color: #1E7B4F; font-weight: 600; }
.bf-fin-offerte { color: #1E7B4F; font-weight: 600; }
.bf-fin-badge.bf-fin-badge--offre { background: #E6F4EC; color: #1E7B4F; text-transform: none; }
/* Session 146 (lot pps) : carte « Premiers pas » du client (/menu repliée, /profil liste). */
.bf-pp { background: #fff; border: 1px solid #ECE6DA; border-radius: 16px; padding: 14px 16px; margin: 0 0 16px; }
.bf-pp[hidden] { display: none; }
.bf-pp__tete { display: flex; align-items: center; gap: 10px; }
.bf-pp__icone { font-size: 1.2rem; line-height: 1; }
.bf-pp__titre { font-weight: 800; font-size: 1rem; margin: 0; flex: 1; }
.bf-pp__compte { font-size: .8rem; color: #8A6A1F; font-weight: 700; background: #FFF3DE; border-radius: 999px; padding: 2px 9px; white-space: nowrap; }
.bf-pp__fermer-form { margin: 0; }
.bf-pp__fermer { border: 0; background: none; color: #8A8477; font-size: 1.4rem; line-height: 1; padding: 0 4px; min-width: 32px; min-height: 32px; }
.bf-pp__barre { height: 6px; background: #F1EDE4; border-radius: 99px; margin: 10px 0 4px; overflow: hidden; }
.bf-pp__barre i { display: block; height: 100%; background: linear-gradient(90deg, #DEBB57, #C9A13B); }
.bf-pp__prochaine { display: flex; align-items: center; gap: 10px; margin-top: 10px; font-size: .9rem; }
.bf-pp__prochaine[hidden] { display: none; }
.bf-pp__prochaine-texte { flex: 1; min-width: 0; }
.bf-pp__prochaine-texte small { display: block; color: #8A8477; font-size: .78rem; }
.bf-pp__btn { display: inline-block; border: 1px solid #020102; background: #020102; color: #fff; border-radius: 10px; padding: 6px 12px; font-size: .82rem; font-weight: 600; white-space: nowrap; text-decoration: none; min-height: 36px; }
.bf-pp__btn:hover { color: #fff; background: #241F16; }
.bf-pp__btn[hidden] { display: none; }
.bf-pp__liste .bf-pp__btn { background: #fff; color: #020102; }
.bf-pp__aide { display: block; color: #8A8477; font-size: .78rem; max-width: 150px; text-align: right; }
.bf-pp__lien { display: block; text-align: center; font-size: .82rem; color: #8A6A1F; margin-top: 8px; }
.bf-pp__liste { list-style: none; margin: 12px 0 0; padding: 0; }
.bf-pp__liste[hidden] { display: none; }
.bf-pp__etape { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-top: 1px solid #F1EDE4; }
.bf-pp__rond { width: 26px; height: 26px; border-radius: 50%; flex-shrink: 0; display: flex; align-items: center; justify-content: center; font-size: .85rem; font-weight: 800; border: 2px solid #CFC8BA; color: #8A8477; }
.bf-pp__etape--fait .bf-pp__rond { background: #1E7B4F; border-color: #1E7B4F; color: #fff; }
.bf-pp__txt { flex: 1; min-width: 0; font-size: .9rem; line-height: 1.25; }
.bf-pp__txt small { display: block; color: #8A8477; font-size: .78rem; margin-top: 2px; }
.bf-pp__etape--fait .bf-pp__txt b { color: #8A8477; text-decoration: line-through; }
.bf-pp__etape--impossible { opacity: .55; }
.bf-pp__masquer { margin: 6px auto 0; border: 0; background: none; color: #8A8477; font-size: .8rem; text-decoration: underline; }
/* Session 146 (refonte des échéances de commission) */
.bf-ech-tuiles { margin-bottom: 1rem; }
.bf-ech-barre { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; margin-bottom: .35rem; }
.bf-ech-filtres { display: flex; gap: .35rem; overflow-x: auto; flex: 1 1 auto; padding-bottom: 2px; }
.bf-ech-filtre { flex-shrink: 0; padding: .3rem .75rem; border: 1px solid #ECE6DA; border-radius: 999px; background: #fff; color: #2B2B2E; font-size: .82rem; text-decoration: none; white-space: nowrap; }
.bf-ech-filtre span { color: #8A8477; margin-left: .15rem; }
.bf-ech-filtre:hover { border-color: #C9A13B; color: #2B2B2E; }
.bf-ech-filtre--actif { background: #020102; border-color: #020102; color: #fff; }
.bf-ech-filtre--actif span, .bf-ech-filtre--actif:hover { color: #fff; }
.bf-ech-tri { flex: 0 0 auto; }
.bf-ech-tri .form-select { width: auto; }
.bf-ech-tests { font-size: .8rem; color: #8A8477; margin: 0 0 .6rem; min-height: .5rem; }
.bf-ech-liste { padding: 0; }
.bf-ech-ligne { display: grid; grid-template-columns: 1fr auto; grid-template-areas: "resto statut" "echeance solde" "actions actions"; gap: .45rem .75rem; padding: .9rem 1rem; border-top: 1px solid #ECE6DA; }
.bf-ech-ligne:first-of-type { border-top: 0; }
.bf-ech-ligne--solde { color: #8A8477; }
.bf-ech-ligne__resto { grid-area: resto; min-width: 0; }
.bf-ech-ligne__nom { font-weight: 600; color: #2B2B2E; margin-right: .25rem; }
.bf-ech-ligne__mois { font-size: .78rem; color: #8A8477; }
.bf-ech-ligne__statut { grid-area: statut; justify-self: end; }
.bf-ech-ligne__echeance { grid-area: echeance; font-size: .88rem; }
.bf-ech-ligne__echeance--depassee { color: #B3261E; font-weight: 600; }
.bf-ech-ligne__solde { grid-area: solde; text-align: right; font-size: .95rem; }
.bf-ech-ligne__etiquette { display: block; font-size: .7rem; font-weight: 400; color: #8A8477; text-transform: uppercase; letter-spacing: .03em; }
.bf-ech-ligne__note { font-size: .76rem; font-weight: 400; color: #8A8477; }
.bf-ech-ligne__echeance--depassee .bf-ech-ligne__note { color: #B3261E; }
.bf-ech-ligne__rien { font-size: .85rem; color: #8A8477; }
.bf-ech-ligne__actions { grid-area: actions; display: flex; flex-wrap: wrap; align-items: center; gap: .4rem; }
.bf-ech-ligne__actions:empty { display: none; }
.bf-ech-ligne__relance { width: 100%; }
.bf-ech-depasse { color: #8A5A00; background: #FFF3DE; border-radius: 8px; padding: .4rem .6rem; font-size: .85rem; }
@media (min-width: 992px) {
    .bf-ech-ligne { grid-template-columns: minmax(0, 1.6fr) 7rem 8rem 9.5rem minmax(13rem, 1.3fr); grid-template-areas: "resto statut echeance solde actions"; align-items: center; }
    .bf-ech-ligne__statut { justify-self: start; }
    .bf-ech-ligne__etiquette { display: none; }
    .bf-ech-ligne__actions { justify-content: flex-end; }
    .bf-ech-ligne__relance { text-align: right; }
}
/* Session 147 (priorité 4) : tableau de bord du super admin, adoption des restaurants. */
.bf-sa-section { font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: #8A8477; margin: 1.4rem 0 .5rem; }
.bf-sa-table { display: none; }
.bf-sa-table th { font-size: .72rem; color: #8A8477; font-weight: 600; text-transform: uppercase; vertical-align: bottom; }
.bf-sa-table td { font-size: .85rem; vertical-align: top; }
.bf-sa-nom { color: inherit; font-weight: 700; text-decoration: none; }
.bf-sa-nom:hover { text-decoration: underline; }
.bf-sa-cartes { padding: .5rem; }
.bf-sa-carte { border: 1px solid #ECE6DA; border-radius: 12px; padding: .75rem .9rem; margin-bottom: .6rem; background: #fff; }
.bf-sa-carte:last-child { margin-bottom: 0; }
.bf-sa-carte__tete { display: flex; justify-content: space-between; align-items: flex-start; gap: .5rem; margin-bottom: .5rem; }
.bf-sa-grille { display: grid; grid-template-columns: auto 1fr; gap: .2rem .75rem; margin: 0; font-size: .85rem; }
.bf-sa-grille dt { font-weight: 400; color: #8A8477; }
.bf-sa-grille dd { margin: 0; text-align: right; }
.bf-sa-col { display: grid; gap: 0 1rem; }
.bf-sa-etape { display: grid; grid-template-columns: 110px 1fr 64px; gap: .6rem; align-items: center; margin: .35rem 0; font-size: .85rem; }
.bf-sa-etape__barre { height: 10px; background: #ECE6DA; border-radius: 5px; overflow: hidden; }
.bf-sa-etape__barre span { display: block; height: 100%; background: var(--bf-or); }
.bf-sa-etape__val { text-align: right; white-space: nowrap; }
.bf-sa-liste { list-style: none; padding: 0; margin: 0; }
.bf-sa-liste li { display: flex; justify-content: space-between; gap: .5rem; padding: .35rem 0; border-bottom: 1px solid #ECE6DA; font-size: .85rem; }
@media (min-width: 600px) { .bf-sa-etape { grid-template-columns: 160px 1fr 72px; } }
@media (min-width: 1024px) { .bf-sa-col { grid-template-columns: 1.4fr 1fr; } }
@media (min-width: 1280px) { .bf-sa-table { display: table; } .bf-sa-cartes { display: none; } }
/* Session 148 (AP2) : resto de démonstration (bandeau, page de fin) et lien de la vitrine JustinSpot */
.bf-demo-bandeau { display: flex; align-items: center; gap: 8px; background-color: var(--bf-noir); color: #F4EFE4; font-size: .78rem; line-height: 1.3; padding: 7px 12px; }
.bf-demo-bandeau__pastille { flex-shrink: 0; background-color: var(--bf-or); color: var(--bf-noir); font-weight: 800; font-size: .66rem; letter-spacing: .06em; padding: 3px 7px; border-radius: 6px; }
.bf-demo-bandeau__texte { flex: 1; min-width: 0; }
.bf-demo-bandeau__lien { flex-shrink: 0; color: var(--bf-or); font-weight: 700; text-decoration: none; white-space: nowrap; }
.bf-demo-bandeau__lien:hover { color: var(--bf-or-clair); }
.bf-demo-fin { max-width: 560px; padding-top: 22px; padding-bottom: 32px; }
.bf-demo-fin__titre { font-size: 1.35rem; font-weight: 900; margin: 0 0 8px; }
.bf-demo-fin__texte { color: #5C574D; font-size: .93rem; }
.bf-demo-fin__captures { display: flex; gap: 12px; margin: 16px 0 20px; }
.bf-demo-fin__capture { flex: 1; margin: 0; text-align: center; }
.bf-demo-fin__capture img { width: 100%; height: 240px; object-fit: cover; object-position: top; border: 5px solid var(--bf-noir); border-radius: 20px; background-color: #fff; }
.bf-demo-fin__capture figcaption { font-size: .78rem; font-weight: 600; color: #5C574D; margin-top: 6px; }
.bf-demo-fin__bouton { font-weight: 700; }
.bf-vb-demo { display: inline-flex; flex-direction: column; margin-top: 14px; color: var(--bf-or); font-weight: 700; text-decoration: none; }
.bf-vb-demo:hover { color: var(--bf-or-clair); }
.bf-vb-demo__aide { color: #D9D3C7; font-weight: 400; font-size: .78rem; }
.bf-vb-apercu__demo { text-align: center; margin-top: 24px; }
/* Session 148 (lot rq1) : reçu de paiement (page imprimable) et « Mes paiements » de admin/paiements */
.bf-recu-page { background-color: #F4EFE4; margin: 0; padding: 12px 0 24px; }
.bf-recu-actions { display: flex; justify-content: space-between; align-items: center; max-width: 720px; margin: 0 auto 10px; padding: 0 12px; }
.bf-recu { position: relative; background-color: #fff; color: var(--bf-noir); font-size: 14px; max-width: 720px; margin: 0 auto; padding: 22px 18px 28px; border-radius: 12px; box-shadow: 0 2px 12px rgba(2, 1, 2, .08); }
.bf-recu__annule { background-color: #FCE8E6; color: #B3261E; border-radius: 8px; padding: 8px 10px; font-size: .85rem; font-weight: 600; margin: 0 0 12px; }
.bf-recu--annule::after { content: attr(data-filigrane); position: absolute; top: 45%; left: 50%; transform: translate(-50%, -50%) rotate(-18deg); font-size: 3.4rem; font-weight: 900; color: rgba(179, 38, 30, .22); border: 6px solid rgba(179, 38, 30, .22); border-radius: 12px; padding: 4px 22px; pointer-events: none; }
.bf-recu__tete { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; border-bottom: 3px solid var(--bf-or); padding-bottom: 12px; }
.bf-recu__marque { display: flex; align-items: center; gap: 8px; font-weight: 900; font-size: 1.25rem; }
.bf-recu__marque b { color: #FF914D; }
.bf-recu__titre { text-align: right; }
.bf-recu__titre h1 { font-size: 1.05rem; font-weight: 900; margin: 0; text-transform: uppercase; letter-spacing: .04em; }
.bf-recu__numero { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-weight: 700; }
.bf-recu__emis { color: #8A8477; font-size: .8rem; }
.bf-recu__parties { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 16px 0; }
.bf-recu__bloc h2 { font-size: .68rem; text-transform: uppercase; letter-spacing: .06em; color: #8A8477; font-weight: 700; margin: 0 0 4px; }
.bf-recu__bloc p { margin: 0; line-height: 1.45; overflow-wrap: anywhere; }
.bf-recu__table { width: 100%; border-collapse: collapse; margin: 6px 0 14px; }
.bf-recu__table td { padding: 8px 0; border-bottom: 1px solid #ECE6DA; vertical-align: top; }
.bf-recu__table td:last-child { text-align: right; font-weight: 600; padding-left: 12px; }
.bf-recu__total { display: flex; justify-content: space-between; align-items: center; background-color: #FFF4DC; border-radius: 10px; padding: 12px 14px; font-weight: 900; font-size: 1.15rem; }
.bf-recu__reste { display: flex; justify-content: space-between; gap: 12px; color: #5C574D; font-size: .9rem; margin-top: 8px; }
.bf-recu__pied { margin-top: 18px; color: #8A8477; font-size: .75rem; line-height: 1.5; }
@media print { .bf-recu-page { background: #fff; padding: 0; } .bf-recu-actions { display: none; } .bf-recu { box-shadow: none; border-radius: 0; max-width: none; } .bf-recu__total, .bf-recu__annule { -webkit-print-color-adjust: exact; print-color-adjust: exact; } }
.bf-mes-paiements { padding: 4px 16px; }
.bf-mes-paiements__ligne { display: grid; grid-template-columns: 1fr auto; gap: 2px 10px; padding: 10px 0; border-bottom: 1px solid #ECE6DA; }
.bf-mes-paiements__ligne:last-child { border-bottom: 0; }
.bf-mes-paiements__objet { font-weight: 600; }
.bf-mes-paiements__montant { font-weight: 700; text-align: right; white-space: nowrap; }
.bf-mes-paiements__sous { color: #8A8477; font-size: .8rem; }
.bf-mes-paiements__lien { font-size: .85rem; text-align: right; white-space: nowrap; }
.bf-mes-paiements__ligne--annule .bf-mes-paiements__montant { text-decoration: line-through; color: #8A8477; }
/* Session 149 (lot ru1) : campagne de remise sur la vitrine JustinSpot, bloc des remises de la fiche du resto. */
.bf-vb .bf-vb-campagne { max-width: 300px; margin: 0 auto 18px; text-align: left; }
.bf-remises__table th { font-size: .75rem; color: #5C574D; }
.bf-remises__edition td { background: #FFFBF0; }

/* Session 150 (lot pf1, PF1) : photo du livreur — suivi du client (OV1), fiche et liste des employés, admin/livraisons (QF1), profil du livreur. */
.bf-livreur-carte { display: flex; align-items: center; gap: 12px; margin-top: 10px; padding: 10px 12px; background: #fff; border: 1px solid #ECE6DA; border-radius: 14px; }
.bf-livreur-carte__photo { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; flex-shrink: 0; border: 2px solid var(--bf-or); }
.bf-livreur-carte__initiale { width: 56px; height: 56px; border-radius: 50%; flex-shrink: 0; display: flex; align-items: center; justify-content: center; background: #F4EFE4; color: #8A611E; font-weight: 700; font-size: 1.4rem; border: 2px solid #ECE6DA; }
.bf-livreur-carte__label { font-size: 0.75rem; color: #8A8477; text-transform: uppercase; letter-spacing: 0.04em; }
.bf-livreur-carte__nom { font-weight: 700; font-size: 1.05rem; color: var(--bf-noir); }
.bf-photo-employe { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
.bf-photo-employe__apercu { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; border: 3px solid var(--bf-or); }
.bf-photo-employe__vide { width: 96px; height: 96px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: #F4EFE4; color: #8A611E; font-weight: 700; font-size: 2rem; border: 3px dashed #D9CFBC; }
.bf-photo-employe__texte { flex: 1; min-width: 160px; margin: 0; font-size: 0.875rem; color: #6c757d; }
.bf-avatar--photo { overflow: hidden; }
.bf-avatar--photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.bf-livraisons-photo { width: 32px; height: 32px; border-radius: 50%; object-fit: cover; flex-shrink: 0; margin-right: 8px; }

/* Session 150 (lot kt1, KT1) : chat livreur-client — bouton, pastille des non lus, fenêtre en bas d'écran (centrée dès 768 px). */
.bf-chat-ouvrir { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; min-height: 44px; margin-top: 10px; padding: 6px 12px; border: 1.5px solid var(--bf-noir); border-radius: 12px; background: #fff; color: var(--bf-noir); font-weight: 600; }
.bf-chat-ouvrir:hover { background: #F4EFE4; }
.bf-chat-ouvrir--livreur { width: auto; display: inline-flex; }
.bf-chat-pastille { background: var(--bf-orange); color: #fff; border-radius: 999px; font-size: 0.72rem; padding: 1px 7px; font-weight: 700; line-height: 1.4; }
.bf-chat-voile { position: fixed; inset: 0; z-index: 1080; background: rgba(2, 1, 2, 0.45); display: flex; align-items: flex-end; justify-content: center; }
.bf-chat-voile[hidden] { display: none; }
.bf-chat-feuille { background: #fff; width: 100%; max-width: 560px; height: 86vh; height: 86dvh; border-radius: 18px 18px 0 0; display: flex; flex-direction: column; padding-bottom: env(safe-area-inset-bottom, 0px); overflow: hidden; }
.bf-chat-tete { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-bottom: 1px solid #ECE6DA; }
.bf-chat-tete__photo { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; border: 2px solid var(--bf-or); flex-shrink: 0; }
.bf-chat-tete__initiale { width: 40px; height: 40px; border-radius: 50%; flex-shrink: 0; display: flex; align-items: center; justify-content: center; background: #F4EFE4; color: #8A611E; font-weight: 700; }
.bf-chat-tete__initiale[hidden], .bf-chat-tete__photo[hidden] { display: none; }
.bf-chat-tete__texte { min-width: 0; }
.bf-chat-tete__nom { font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bf-chat-tete__sous { font-size: 0.78rem; color: #8A8477; }
.bf-chat-fermer { margin-left: auto; font-size: 26px; line-height: 1; background: none; border: 0; color: #5C574D; min-width: 44px; min-height: 44px; }
.bf-chat-avis { font-size: 0.75rem; color: #8A611E; background: #FFFBF0; border-bottom: 1px solid #F1E6C8; padding: 6px 14px; text-align: center; }
.bf-chat-fil { flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: 12px 14px; display: flex; flex-direction: column; gap: 8px; background: #FBF8F2; }
.bf-chat-msg { max-width: 80%; padding: 8px 12px; border-radius: 16px; font-size: 0.92rem; line-height: 1.35; overflow-wrap: anywhere; white-space: pre-wrap; }
.bf-chat-msg small { display: block; font-size: 0.68rem; opacity: 0.7; margin-top: 2px; }
.bf-chat-msg__auteur { font-weight: 700; }
.bf-chat-msg--autre { background: #fff; border: 1px solid #ECE6DA; align-self: flex-start; border-bottom-left-radius: 4px; }
.bf-chat-msg--moi { background: var(--bf-noir); color: #fff; align-self: flex-end; border-bottom-right-radius: 4px; }
.bf-chat-sys { align-self: center; font-size: 0.72rem; color: #8A8477; background: #F4EFE4; border-radius: 999px; padding: 3px 10px; text-align: center; }
.bf-chat-vide { align-self: center; margin-top: 20px; font-size: 0.85rem; color: #8A8477; }
.bf-chat-fin { padding: 12px 14px; font-size: 0.8rem; color: #5C574D; background: #F4EFE4; text-align: center; }
.bf-chat-rapides { display: flex; gap: 6px; overflow-x: auto; padding: 8px 14px 0; background: #fff; }
.bf-chat-rapides[hidden], .bf-chat-saisie[hidden], .bf-chat-fin[hidden], .bf-chat-erreur[hidden] { display: none; }
.bf-chat-rapides button { flex-shrink: 0; border: 1px solid var(--bf-or); background: #FFF8E6; border-radius: 999px; padding: 6px 12px; font-size: 0.82rem; color: var(--bf-noir); min-height: 36px; }
.bf-chat-saisie { display: flex; gap: 8px; padding: 10px 14px 14px; background: #fff; }
.bf-chat-saisie input { flex: 1; min-width: 0; border: 1px solid #D9CFBC; border-radius: 12px; padding: 10px 12px; min-height: 44px; font-size: 1rem; }
.bf-chat-saisie button { background: var(--bf-orange); color: #fff; border: 0; border-radius: 12px; padding: 0 16px; font-weight: 600; min-height: 44px; }
.bf-chat-saisie button:disabled { opacity: 0.6; }
.bf-chat-erreur { padding: 0 14px 10px; font-size: 0.8rem; color: #B3261E; background: #fff; }
body.bf-chat-ouvert { overflow: hidden; }
@media (min-width: 768px) {
    .bf-chat-voile { align-items: center; }
    .bf-chat-feuille { height: min(680px, 86vh); border-radius: 18px; }
}
/* Session 150 (lot mc1, MC1) : ligne du menu cuisine (photo, nom, pastille sous le nom, bouton à droite, même sur téléphone). */
.bf-row.bf-row--cuisine { grid-template-columns: 48px 1fr auto; }
.bf-row--cuisine > * { grid-area: auto; }
.bf-row--cuisine .bf-badge { margin-top: 4px; }
.bf-row--cuisine .btn { min-height: 44px; max-width: 150px; white-space: normal; line-height: 1.2; }
.bf-row--cuisine.bf-row--muted { opacity: 1; }
.bf-row--cuisine.bf-row--muted .bf-row__thumb, .bf-row--cuisine.bf-row--muted .bf-row__title { opacity: .5; }
@media (max-width: 576px) { .bf-row.bf-row--cuisine { grid-template-columns: 44px 1fr auto; grid-template-areas: none; gap: 10px; } .bf-row--cuisine .btn { max-width: 120px; } }
/* Session 150 (lot sp1, SP1) : paramètres du super admin en panneaux, sommaire, bouton collé en bas. */
.bf-sp-page > .bf-panel, .bf-sp-page .bf-sp, .bf-sp-sommaire { max-width: 720px; }
.bf-sp-sommaire { display: flex; gap: 6px; overflow-x: auto; margin: 0 0 16px; padding-bottom: 2px; }
.bf-sp-sommaire a { flex: 0 0 auto; padding: 6px 12px; border: 1px solid #ECE6DA; border-radius: 999px; background: #fff; color: var(--bf-texte); font-size: .82rem; text-decoration: none; }
.bf-sp-sommaire a:hover { border-color: var(--bf-or-fonce); }
.bf-sp-page [id^="sp-"], .bf-sp-page #campagne { scroll-margin-top: 90px; }
.bf-sp-enregistrer { position: sticky; bottom: 0; z-index: 5; margin: 0 0 16px; padding: 12px 0; background: linear-gradient(to top, var(--bf-creme) 75%, rgba(255,251,247,0)); }
.bf-sp-enregistrer .btn { min-height: 44px; min-width: 180px; }
/* Session 150 (lot pr1, PR1) : profil en parties titrées, sommaire en pastilles. */
.bf-profil-sommaire { display: flex; gap: 6px; overflow-x: auto; margin: 0 0 16px; }
.bf-profil-sommaire a { flex: 0 0 auto; padding: 6px 12px; border: 1px solid #ECE6DA; border-radius: 999px; background: #fff; color: var(--bf-texte); font-size: .82rem; text-decoration: none; }
.bf-profil-sommaire a:hover { border-color: var(--bf-or-fonce); }
.bf-profil-sommaire a[hidden] { display: none; }
.bf-profil-groupe { margin: 24px 0 10px; font-size: .78rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #8A8477; scroll-margin-top: 90px; }
.bf-profil-groupe:first-of-type { margin-top: 8px; }

/* Session 150 (lot men) : pastille des états désactivé, résilié, inactif (classe utilisée sans style jusqu'ici). */
.bf-badge--off { background-color: #EFEBDF; color: #6B655A; }
/* Session 150 (lot men, 11) : ligne de admin/menu (pastille sous le nom ; sur téléphone, boutons sous le plat). */
.bf-row.bf-row--menu { grid-template-columns: 48px 1fr auto; }
.bf-row--menu > * { grid-area: auto; }
.bf-row--menu .bf-badge { margin-top: 4px; }
.bf-row--menu .bf-row-actions { flex-wrap: wrap; justify-content: flex-end; }
.bf-row--menu.bf-row--muted { opacity: 1; }
.bf-row--menu.bf-row--muted .bf-row__thumb, .bf-row--menu.bf-row--muted .bf-row__title, .bf-row--menu.bf-row--muted .bf-row__sub { opacity: .5; }
@media (max-width: 576px) { .bf-row.bf-row--menu { grid-template-columns: 44px 1fr; grid-template-areas: none; row-gap: 8px; } .bf-row--menu .bf-row-actions { grid-column: 1 / -1; justify-content: flex-start; margin-top: 0; } .bf-row--menu .bf-row-actions .btn { min-height: 40px; min-width: 44px; justify-content: center; } .bf-row--menu .bf-masque-tel { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; } }
/* Session 151 (lot fdt, FO1) : bloc « Qui est derrière JustinSpot » (vitrine) et son réglage (super admin). */
.bf-vb-fondateur { background: #F4EFE4; padding: 2.5rem 1rem; }
.bf-vb-fondateur__inner { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 1rem; }
.bf-vb-fondateur__photo { width: 120px; height: 120px; flex-shrink: 0; border-radius: 50%; overflow: hidden; border: 3px solid var(--bf-or); background: var(--bf-noir); display: flex; align-items: center; justify-content: center; }
.bf-vb-fondateur__photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.bf-vb-fondateur__photo span { color: var(--bf-or); font-size: 2.6rem; font-weight: 800; }
.bf-vb-fondateur__label { margin: 0 0 .25rem; font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--bf-or-fonce); }
.bf-vb-fondateur__nom { margin: 0; font-size: 1.35rem; font-weight: 800; color: var(--bf-noir); }
.bf-vb-fondateur__titre { margin: .15rem 0 0; font-size: .9rem; color: #8A8477; }
.bf-vb-fondateur__mot { margin: .75rem 0 0; font-size: 1rem; line-height: 1.55; color: #3A362F; }
.bf-vb-fondateur__wa { display: inline-flex; align-items: center; gap: .4rem; margin-top: .9rem; min-height: 44px; font-weight: 600; color: #1E7B4F; text-decoration: none; }
.bf-vb-fondateur__wa:hover { text-decoration: underline; color: #1E7B4F; }
@media (min-width: 768px) { .bf-vb-fondateur__inner { flex-direction: row; align-items: flex-start; text-align: left; gap: 1.75rem; } .bf-vb-fondateur__photo { width: 140px; height: 140px; } }
.bf-sp-fondateur { display: flex; gap: 1rem; align-items: flex-start; margin-bottom: 1rem; }
.bf-sp-fondateur__photo { width: 96px; height: 96px; flex-shrink: 0; border-radius: 50%; overflow: hidden; background: var(--bf-noir); display: flex; align-items: center; justify-content: center; }
.bf-sp-fondateur__photo img { width: 100%; height: 100%; object-fit: cover; }
.bf-sp-fondateur__photo span { color: var(--bf-or); font-size: 2rem; font-weight: 800; }
/* Session 152 (lot mkt, XH1) : exemple de commission en HTG sous le taux. */
.bf-vb .bf-vb-tarif__exemple { max-width: 360px; margin: 0 auto 16px; padding: 10px 14px; border-radius: 12px; background: #FFF8E6; color: #3A362F; font-size: .88rem; line-height: 1.45; }
.bf-vb .bf-vb-tarif__exemple strong { color: var(--bf-noir); white-space: nowrap; }