/* ============================================================
   DÉCOGRAPH — Ruban mobile/tablette fixe en bas d'écran
============================================================ */
.mobile-bottom-bar {
    display: none; /* caché par défaut */
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60px;
    z-index: 99999;
    background-color: #DDB406;
    box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.2);
    flex-direction: row;
}

.mbb-btn {
    flex: 1;
    text-align: center;
    padding: 15px 5px;
    color: #000;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    border-right: 1px solid rgba(0, 0, 0, 0.2);
    line-height: 30px;
}
.mbb-btn:last-child { border-right: none; }
.mbb-btn:active { background-color: #c9aa00; }

/* Affichage uniquement mobile et tablette */
@media screen and (max-width: 1024px) {
    .mobile-bottom-bar { display: flex; }

    /* Empêche le ruban de cacher le contenu */
    body, html { padding-bottom: 60px; }

    /* Décale le bouton "Retour en haut" au-dessus du ruban */
    #ast-scroll-top {
        bottom: 75px !important;
        right: 20px !important;
        z-index: 100000;
    }
}