/* =============================================================================
   HEADER - MHB Theme
   ============================================================================= */

/* =============================================================================
   HEADER BASE
   ============================================================================= */

.mhb-header {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 999;
    background-image: url('../../images/header-bg.png');
    background-repeat: no-repeat;
    background-position: center bottom;
    background-size: cover;
    transition: background 0.6s cubic-bezier(.77, 0, .18, 1);
}

.admin-bar .mhb-header {
    top: var(--mhb-admin-bar-height);
}

/* =============================================================================
   TOP BAR (Ligne 1)
   ============================================================================= */

.mhb-topbar {
    padding: 30px 0;
    width: 100%;
    transition: opacity 0.5s cubic-bezier(.77, 0, .18, 1), transform 0.5s cubic-bezier(.77, 0, .18, 1);
}

.mhb-topbar__container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 var(--mhb-content-padding-x);
    position: relative;
    max-width: var(--mhb-container-max);
    margin: 0 auto;
}

/* Trophées */
.mhb-topbar__trophies {
    display: flex;
    align-items: center;
    gap: 15px;
}

.trophy-item {
    display: flex;
    align-items: center;
    gap: 5px;
    transition: transform 0.3s ease;
}

.trophy-item:hover {
    transform: translateY(-2px);
}

.trophy-item img {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

.trophy-count {
    font-family: var(--mhb-font-display);
    font-weight: 700;
    font-size: 16px;
    line-height: 90%;
    letter-spacing: 0;
    text-transform: uppercase;
    color: var(--mhb-trophy-gold);
}

/* Raccourcis (centre) */
.mhb-topbar__shortcuts {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    background: var(--mhb-top-menu-bg);
    border-radius: 4px;
    /* Width explicite pour que max-width fonctionne sur élément absolu */
    width: auto;
    max-width: 800px;
}

/* Wrapper - COPIE EXACTE de .mhb-hero__subnav-wrapper */
.mhb-shortcuts__wrapper {
    position: relative;
    overflow: hidden;
}

/* Liste - COPIE EXACTE de .mhb-hero__subnav-list */
.mhb-shortcuts__list {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 0;
    list-style: none;
    margin: 0;
    padding: 0;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.mhb-shortcuts__list::-webkit-scrollbar {
    display: none;
}

.mhb-shortcuts__list li {
    position: relative;
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.mhb-shortcuts__list li:not(:last-child)::after {
    content: '';
    width: 0.5px;
    height: 20px;
    background: #FFFFFF;
}

.mhb-shortcuts__list li a {
    position: relative;
    overflow: hidden;
    display: block;
    color: var(--mhb-text-white);
    text-decoration: none;
    font-family: var(--mhb-font-display);
    font-weight: 500;
    font-size: 20px;
    line-height: 1;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 14px 20px 12px;
    white-space: nowrap;
    transition: color 0.3s ease;
}

.mhb-shortcuts__list li a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--mhb-accent);
    transition: left 0.3s ease;
    z-index: -1;
}

.mhb-shortcuts__list li a:hover::before {
    left: 0;
}

.mhb-shortcuts__list li.current-menu-item a {
    color: var(--mhb-accent);
}

.mhb-shortcuts__list li.current-menu-item a:hover::before {
    left: -100%;
}

/* Flèches de navigation - Override pour fond du header */
.mhb-shortcuts__wrapper .mhb-scroll-carousel__arrow--prev {
    background: linear-gradient(to left, transparent, var(--mhb-top-menu-bg, rgba(0, 16, 37, 0.95)) 70%);
}

.mhb-shortcuts__wrapper .mhb-scroll-carousel__arrow--next {
    background: linear-gradient(to right, transparent, var(--mhb-top-menu-bg, rgba(0, 16, 37, 0.95)) 70%);
}

.mhb-shortcuts__wrapper .mhb-scroll-carousel__arrow svg {
    width: 16px;
    height: 16px;
}

/* Réseaux sociaux (droite) */
.mhb-topbar__social {
    display: flex;
    align-items: center;
    gap: 6px;
}

.mhb-topbar__search {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    color: #fff;
    transition: transform 0.3s ease;
}

.mhb-topbar__search:hover {
    transform: translateY(-2px);
}

.mhb-topbar__social .social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    transition: transform 0.3s ease;
}

.mhb-topbar__social .social-link:hover {
    transform: translateY(-2px);
}

.mhb-topbar__social .social-link img {
    width: 16px;
    height: 16px;
    filter: brightness(0) invert(1);
}

/* =============================================================================
   MAIN BAR (Ligne 2)
   ============================================================================= */

.mhb-mainbar {
    padding-bottom: 29px;
    width: 100%;
}

.mhb-mainbar__container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 var(--mhb-content-padding-x);
    max-width: var(--mhb-container-max);
    margin: 0 auto;
}

.mhb-mainbar__left {
    display: flex;
    align-items: center;
    gap: 30px;
    transition: opacity 0.5s cubic-bezier(.77, 0, .18, 1), transform 0.5s cubic-bezier(.77, 0, .18, 1);
}

/* Logo */
.mhb-mainbar__logo .custom-logo-link img,
.mhb-mainbar__logo .mhb-logo-link img,
.mhb-mainbar__logo .custom-logo {
    height: 130px;
    width: auto;
}

/* Menu secondaire */
.mhb-mainbar__menu .mhb-secondary-menu {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 35px;
    margin: 0;
    padding: 0;
    margin-left: 15px;
}

.mhb-mainbar__menu .mhb-secondary-menu li a {
    color: var(--mhb-text-white);
    text-decoration: none;
    font-family: var(--mhb-font-display);
    font-weight: 500;
    font-size: 18px;
    line-height: 1.1;
    letter-spacing: 0.5px;
    position: relative;
    transition: all 0.3s ease;
}

.mhb-mainbar__menu .mhb-secondary-menu li a::before {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--mhb-text-white);
    opacity: 0.5;
    transition: all 0.3s ease;
}

.mhb-mainbar__menu .mhb-secondary-menu li a::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--mhb-accent);
    transition: all 0.3s ease;
}

.mhb-mainbar__menu .mhb-secondary-menu li a:hover::after {
    width: 100%;
}

.mhb-mainbar__menu .mhb-secondary-menu li a:hover {
    color: var(--mhb-accent);
}

/* Trophées tablette */
.mhb-mainbar__trophies {
    display: none;
}

/* =============================================================================
   NAVIGATION FLOTTANTE
   ============================================================================= */

.mhb-nav-float {
    position: fixed;
    top: 153px;
    right: 100px;
    z-index: 1000;
    display: flex;
    align-items: center;
    gap: 15px;
    transition: top 0.6s cubic-bezier(.77, 0, .18, 1), right 0.6s cubic-bezier(.77, 0, .18, 1);
}

.admin-bar .mhb-nav-float {
    top: calc(153px + var(--mhb-admin-bar-height));
}

/* Match banner - caché pour l'instant */
.mhb-nav-float__match {
    display: none;
}

.mhb-match-banner {
    background: linear-gradient(135deg, #0A1623 0%, #1a365d 100%);
    border-radius: 14px;
    padding: 10px 15px;
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.mhb-match-banner:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.mhb-match-banner.is-live {
    background: linear-gradient(135deg, #d32f2f 0%, #b71c1c 100%);
}

.mhb-match-banner__logo {
    width: 50px;
    height: 50px;
    object-fit: contain;
    flex-shrink: 0;
}

.mhb-match-banner__content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
}

.mhb-match-banner__status {
    font-family: var(--mhb-font-display);
    font-size: 11px;
    font-weight: 700;
    color: var(--mhb-accent);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.mhb-match-banner__status.is-live {
    color: #fff;
    background: rgba(255, 255, 255, 0.2);
    padding: 2px 8px;
    border-radius: 4px;
    animation: pulse 1.5s infinite;
}

.mhb-match-banner__score {
    font-family: var(--mhb-font-display);
    font-size: 24px;
    font-weight: 700;
    color: #fff;
    line-height: 1;
}

.mhb-match-banner__cta {
    font-family: var(--mhb-font-display);
    font-size: 10px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.mhb-match-banner__opponent {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.mhb-match-banner__opponent-logo {
    width: 35px;
    height: 35px;
    object-fit: contain;
}

/* Style pour match à venir (inline) */
.mhb-match-banner--upcoming {
    flex-direction: row;
    padding: 8px 15px;
}

.mhb-match-banner--upcoming .mhb-match-banner__inner {
    display: flex;
    align-items: center;
    gap: 12px;
}

.mhb-match-banner--upcoming .mhb-match-banner__competition {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.mhb-match-banner--upcoming .mhb-match-banner__teams {
    display: flex;
    align-items: center;
    gap: 8px;
}

.mhb-match-banner--upcoming .mhb-match-banner__team-logo {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

.mhb-match-banner--upcoming .mhb-match-banner__name {
    font-family: var(--mhb-font-display);
    font-size: 14px;
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
}

.mhb-match-banner--upcoming .mhb-match-banner__name.mhb {
    color: var(--mhb-accent);
}

.mhb-match-banner--upcoming .mhb-match-banner__vs {
    font-family: var(--mhb-font-display);
    font-size: 14px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.5);
    padding: 0 4px;
}

.mhb-match-banner--upcoming .mhb-match-banner__date {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.7);
    white-space: nowrap;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.6;
    }
}

.mhb-nav-float__box {
    z-index: 1001;
    background: #FFFFFF;
    border-radius: 14px;
    padding: 12px 27px;
    display: flex;
    align-items: center;
    height: 77px;
    gap: 20px;
    box-shadow:
        0px 1px 1px 0px rgba(0, 0, 0, 0.29),
        0px 2px 2px 0px rgba(0, 0, 0, 0.26),
        0px 5px 3px 0px rgba(0, 0, 0, 0.15),
        0px 9px 4px 0px rgba(0, 0, 0, 0.04),
        0px 14px 4px 0px rgba(0, 0, 0, 0.01);
    transition: padding-left 0.8s cubic-bezier(.77, 0, .18, 1);
    position: relative;
}

/* Logo dans nav float (caché par défaut, apparait au scroll - dépasse du bloc) */
.mhb-nav-float__logo {
    display: block;
    position: absolute;
    z-index: 6;
    left: -30px;
    top: -22px;
    opacity: 0;
    transform: rotateY(90deg) scale(0.8);
    transition: opacity 0.4s cubic-bezier(.77, 0, .18, 1) 0.3s, transform 0.4s cubic-bezier(.77, 0, .18, 1) 0.3s;
    pointer-events: none;
}

.mhb-nav-float__logo img,
.mhb-nav-float__logo .custom-logo {
    height: 100px !important;
    width: auto !important;
    object-fit: contain;
}

/* Quick Links */
.mhb-nav-float__links {
    display: flex;
    align-items: center;
    gap: 20px;
}

.quick-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: var(--mhb-text-dark);
    transition: all 0.3s ease;
    font-family: var(--mhb-font-display);
    font-weight: 500;
    font-size: 15px;
    line-height: 1;
    text-transform: uppercase;
}

.quick-link:hover {
    transform: translateY(-2px);
    color: var(--mhb-text-dark);
}

.quick-link img {
    width: 24px;
    height: 24px;
    margin-bottom: 6px;
}

/* Bouton Menu */
.mhb-nav-float__toggle {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: var(--mhb-accent);
    transition: all 0.3s ease;
    font-family: var(--mhb-font-display);
    font-weight: 700;
    font-size: 18px;
    line-height: 1;
    text-transform: uppercase;
    background: transparent;
    border: none;
    padding: 0;
    cursor: pointer;
}

.mhb-nav-float__toggle:hover {
    transform: translateY(-2px);
}

.mhb-nav-float__toggle svg {
    width: 24px;
    height: 24px;
    fill: currentColor;
    margin-bottom: 6px;
}

.mhb-nav-float__toggle span {
    font-size: 15px;
    font-weight: 400;
    line-height: 1;
    margin-top: 0;
}

/* =============================================================================
   MINI HEADER STATE (au scroll)
   ============================================================================= */

body.mhb-scrolled .mhb-nav-float {
    top: 60px;
    right: 50px;
}

body.mhb-scrolled .mhb-nav-float__box {
    padding-left: 64px;
}

body.mhb-scrolled .mhb-nav-float__logo {
    opacity: 1;
    transform: rotateY(0deg) scale(1);
    pointer-events: auto;
}

/* =============================================================================
   MENU OVERLAY
   ============================================================================= */

.mhb-menu-overlay {
    position: fixed;
    inset: 0;
    z-index: 10000;
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    background: #0A1623;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    pointer-events: none;
    overflow-y: auto;
    overflow-x: hidden;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-y;
    opacity: 0;
    transition: opacity 0.4s cubic-bezier(.77, 0, .18, 1);
}

.mhb-menu-overlay.is-open {
    opacity: 1;
    pointer-events: auto;
}

body.mhb-menu-open .mhb-nav-float {
    z-index: 9998;
}

.mhb-menu-overlay__panel {
    width: 100vw;
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    position: relative;
}

.mhb-menu-overlay__close {
    position: absolute;
    top: 32px;
    right: 32px;
    background: var(--mhb-accent);
    border: none;
    border-radius: 50%;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: background 0.2s, transform 0.3s;
}

.mhb-menu-overlay__close:hover {
    transform: rotate(90deg);
}

.mhb-menu-overlay__close span {
    color: #fff;
    font-size: 32px;
    font-weight: 400;
    line-height: 1;
}

/* Grille du menu */
.mhb-menu-overlay__grid {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 100%;
    max-width: 1600px;
    margin: 0 auto;
    padding: 100px 40px 0;
}

.mhb-menu-overlay__row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-bottom: 32px;
}

.mhb-menu-overlay__block {
    background: none;
    padding-bottom: 24px;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.mhb-menu-overlay.is-open .mhb-menu-overlay__block {
    opacity: 1;
    transform: translateY(0);
}

.mhb-menu-overlay__title {
    font-family: var(--mhb-font-display);
    font-weight: 700;
    font-size: 24px;
    line-height: 1.3;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #FFF;
    padding-bottom: 8px;
    margin-bottom: 12px;
    border-bottom: 1px solid #0A2745;
    display: block;
    text-decoration: none;
    transition: color 0.2s;
}

.mhb-menu-overlay__title:hover {
    color: var(--mhb-accent);
}

.mhb-menu-overlay__list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.mhb-menu-overlay__list li {
    margin-bottom: 0;
}

.mhb-menu-overlay__list a {
    font-family: var(--mhb-font-primary);
    font-weight: 400;
    font-size: 14px;
    line-height: 1.4;
    color: #FFF;
    text-decoration: none;
    transition: color 0.2s;
}

.mhb-menu-overlay__list a:hover {
    color: var(--mhb-accent);
}

/* Footer du menu */
.mhb-menu-overlay__footer {
    border-top: 1px solid #0A2745;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
}

.mhb-menu-overlay__brand {
    font-family: var(--mhb-font-primary);
    font-weight: 700;
    font-size: 26px;
    line-height: 1.3;
    color: #FFF;
    letter-spacing: 0.5px;
}

.mhb-accent {
    color: var(--mhb-accent);
}

.mhb-menu-overlay__socials {
    display: flex;
    align-items: center;
    gap: 10px;
}

.mhb-menu-overlay__socials .social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    transition: transform 0.2s;
}

.mhb-menu-overlay__socials .social-link:hover {
    transform: scale(1.1);
}

.mhb-menu-overlay__socials .social-link img {
    filter: brightness(0) invert(1);
}

/* =============================================================================
   RESPONSIVE
   ============================================================================= */

@media (max-width: 1200px) {

    /* Row 1 : masquer colonnes gauche et droite */
    .mhb-topbar__trophies,
    .mhb-topbar__social {
        display: none;
    }

    /* Topbar container centré */
    .mhb-topbar__container {
        justify-content: center;
    }

    /* Shortcuts centré seul */
    .mhb-topbar__shortcuts {
        position: static;
        transform: none;
    }

    .mhb-menu-overlay__row {
        grid-template-columns: repeat(3, 1fr);
        gap: 24px;
    }

    /* Nav float moins collé au bord */
    .mhb-nav-float {
        right: 50px;
    }
}

@media (max-width: 1024px) {

    /* Masquer trophées et RS dans topbar */
    .mhb-topbar__trophies,
    .mhb-topbar__social {
        display: none;
    }

    /* Logo et palmarès : espacés des bords */
    .mhb-mainbar__left {
        padding-left: 20px;
    }

    .mhb-mainbar__trophies {
        padding-right: 20px;
    }

    /* Shortcuts en pleine largeur */
    .mhb-topbar__shortcuts {
        position: static;
        transform: none;
        width: 100%;
        max-width: 100%;
        margin: 0;
        margin-bottom: 15px;
    }

    .mhb-shortcuts__list {
        justify-content: center;
    }

    /* Topbar */
    .mhb-topbar {
        padding: 0;
    }

    .mhb-topbar__container {
        flex-direction: column;
        gap: 15px;
        align-items: stretch;
    }

    /* Mainbar */
    .mhb-mainbar {
        padding-bottom: 55px;
    }

    .mhb-mainbar__container {
        justify-content: flex-start;
        padding: 0;
        gap: 30px;
    }

    .mhb-header {
        padding-top: 15px;
        background-position: left bottom;
    }

    .mhb-mainbar__left {
        flex: 1;
        justify-content: flex-start;
    }

    .mhb-mainbar__menu {
        display: none;
    }

    .mhb-mainbar__logo .custom-logo-link img,
    .mhb-mainbar__logo .mhb-logo-link img,
    .mhb-mainbar__logo .custom-logo {
        height: 100px;
    }

    /* Afficher trophées dans mainbar */
    .mhb-mainbar__trophies {
        display: flex;
        margin-left: auto;
        align-self: center;
        margin-bottom: auto;
        padding-top: 20px;
        gap: 10px;
    }

    .mhb-mainbar__trophies .trophy-item img {
        width: 20px;
        height: 20px;
    }

    /* Nav float en bas */
    .mhb-nav-float,
    body.mhb-scrolled .mhb-nav-float {
        position: fixed !important;
        bottom: 10px !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
        top: auto !important;
        right: auto !important;
        z-index: 1002;
    }

    /* Réinitialiser le logo dans nav float */
    body.mhb-scrolled .mhb-nav-float__box {
        padding-left: 27px;
    }

    body.mhb-scrolled .mhb-nav-float__logo,
    .mhb-nav-float__logo {
        display: none !important;
    }

    .mhb-shortcuts__list li a {
        font-size: 18px;
        padding: 10px 16px;
    }
}

@media (max-width: 900px) {
    .mhb-menu-overlay__row {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
}

@media (max-width: 768px) {
    .mhb-menu-overlay {
        align-items: stretch;
        height: 100dvh;
        max-height: 100dvh;
        overflow-y: scroll !important;
        overflow-x: hidden;
        padding-bottom: env(safe-area-inset-bottom, 0);
        -webkit-overflow-scrolling: touch;
        touch-action: pan-y !important;
    }

    .mhb-menu-overlay__panel {
        display: block;
        min-height: auto;
        height: auto;
        overflow: visible;
    }

    .mhb-topbar__container {
        margin: 0;
        margin-bottom: 10px;
        padding: 0;
    }

    .mhb-topbar__shortcuts {
        justify-content: center;
        width: 100%;
    }

    .mhb-shortcuts__list {
        justify-content: safe center;
    }

    .mhb-shortcuts__list li a {
        font-size: 16px;
    }

    .mhb-header {
        background-image: url('../../images/header-bg-mobile.png');
    }

    .mhb-mainbar {
        margin-top: -12px;
        padding-bottom: 10px;
    }

    /* Cacher les trophées */
    .mhb-mainbar__trophies {
        display: none !important;
    }

    /* Nav float ajustements */
    .mhb-nav-float,
    body.mhb-scrolled .mhb-nav-float {
        bottom: 28px !important;
        z-index: 9999 !important;
    }

    .mhb-nav-float__box {
        display: grid;
        grid-template-columns: minmax(0, 1fr) 5px repeat(3, minmax(0, 1fr));
        width: min(calc(100vw - 24px), 620px);
        padding: 6px !important;
        height: auto !important;
        min-height: 68px;
        gap: 1px;
        border: 1px solid rgba(0, 16, 37, 0.1);
        border-radius: 12px;
        background: rgba(255, 255, 255, 0.97);
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
        justify-content: space-between;
    }

    .mhb-nav-float__links {
        display: contents;
    }

    .mhb-nav-float__links::-webkit-scrollbar {
        display: none;
    }

    .quick-link {
        position: relative;
        z-index: 0;
        flex: 1 1 0;
        min-width: 0;
        max-width: none;
        min-height: 56px;
        padding: 6px 4px;
        font-size: 14px;
        font-weight: 600;
        letter-spacing: 0.25px;
        line-height: 1;
        text-align: center;
    }

    .mhb-nav-float__links .quick-link:nth-child(1) {
        grid-column: 3;
    }

    .mhb-nav-float__links .quick-link:nth-child(2) {
        grid-column: 4;
    }

    .mhb-nav-float__links .quick-link:nth-child(3) {
        grid-column: 5;
    }

    .quick-link::before,
    .mhb-nav-float__toggle::before {
        content: '';
        position: absolute;
        inset: 0 1px;
        z-index: -1;
        border: 1px solid rgba(0, 16, 37, 0.1);
        border-radius: 8px;
        background: linear-gradient(145deg, #f7f9fc 0%, #e8eef6 100%);
        transition: background-color 0.2s ease, border-color 0.2s ease;
    }

    .quick-link:hover::before {
        border-color: rgba(0, 16, 37, 0.22);
        background: linear-gradient(145deg, #fff 0%, #dce7f3 100%);
    }

    .quick-link img,
    .quick-link span,
    .mhb-nav-float__toggle svg,
    .mhb-nav-float__toggle span {
        position: relative;
        z-index: 1;
    }

    .quick-link img {
        width: 26px;
        height: 26px;
        margin-bottom: 6px;
        object-fit: contain;
    }

    .mhb-nav-float__toggle {
        position: relative;
        z-index: 0;
        grid-column: 1;
        grid-row: 1;
        flex: 1 1 0;
        min-width: 0;
        max-width: none;
        min-height: 56px;
        margin-left: 0;
        padding: 6px 4px;
        align-self: stretch;
        justify-content: center;
        display: flex !important;
        font-size: 14px;
        font-weight: 600;
        letter-spacing: 0.25px;
    }

    .mhb-nav-float__toggle::before {
        border-color: rgba(233, 83, 35, 0.72);
        background: linear-gradient(145deg, #f26a3e 0%, #e24418 100%);
        box-shadow: 0 5px 12px rgba(233, 83, 35, 0.22);
    }

    .mhb-nav-float__toggle,
    .mhb-nav-float__toggle:hover {
        color: #fff;
    }

    .mhb-nav-float__toggle svg {
        width: 26px;
        height: 26px;
        margin-bottom: 6px;
    }

    .mhb-nav-float__toggle span {
        font-size: 14px;
        font-weight: 600;
        letter-spacing: 0.25px;
    }

}

@media (max-width: 600px) {
    .mhb-topbar__shortcuts {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .mhb-nav-float__box {
        width: min(calc(100vw - 16px), 430px);
        gap: 1px;
        padding: 6px !important;
    }

    .mhb-nav-float__links {
        gap: 2px;
    }

    .quick-link {
        flex-basis: 0;
        min-width: 0;
        max-width: none;
        font-size: 13px;
    }

    .quick-link img {
        width: 25px;
        height: 25px;
        margin-bottom: 5px;
    }

    .mhb-nav-float__toggle {
        flex-basis: 0;
        min-width: 0;
        max-width: none;
    }

    .mhb-nav-float__toggle svg {
        width: 25px;
        height: 25px;
        margin-bottom: 5px;
    }

    .mhb-nav-float__toggle span {
        font-size: 13px;
    }

    .mhb-shortcuts__list li a {
        font-size: 14px;
    }

    .mhb-menu-overlay__row {
        grid-template-columns: 1fr;
    }

    .mhb-menu-overlay__grid {
        display: block;
        flex: none;
        min-height: auto;
        padding: 96px 20px 90px;
        justify-content: flex-start;
    }

    .mhb-menu-overlay__footer {
        flex-direction: column;
        gap: 15px;
    }

    .mhb-menu-overlay__brand {
        font-size: 20px;
    }
}
