
.jh-block[id]{
    scroll-margin-top: 96px;
}

.jh-floating-menu{
    position: fixed;
    left: 50%;
    bottom: 18px;
    transform: translateX(-50%);
    z-index: 99990;
    width: 64px;
    min-height: 64px;
}

.jh-floating-menu__items{
    position: absolute;
    left: 50%;
    bottom: 76px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    width: max-content;
    max-width: min(300px, calc(100vw - 32px));
    max-height: min(calc(100vh - 120px), 620px);
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    transform: translateX(-50%) translateY(10px);
    pointer-events: none;
    transition: opacity .22s ease, transform .22s ease, visibility .22s ease;
}

.jh-floating-menu.is-open .jh-floating-menu__items{
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
    pointer-events: auto;
}

.jh-floating-menu__toggle{
    width: 64px;
    height: 64px;
    border: 0;
    border-radius: 999px;
    background: #CA0D25;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 12px 24px rgba(0,0,0,.28);
    cursor: pointer;
    position: relative;
    z-index: 2;
}

.jh-floating-menu__toggle-lines{
    width: 24px;
    display: inline-flex;
    flex-direction: column;
    gap: 5px;
}
[type=button]:focus,[type=button]:hover,[type=submit]:focus,[type=submit]:hover,button:focus,button:hover {
    background-color: #CA0D25;
    color: #fff;
    text-decoration: none
}
.jh-floating-menu__toggle-lines span{
    display: block;
    width: 100%;
    height: 3px;
    border-radius: 999px;
    background: currentColor;
}

.jh-floating-menu__link{
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 52px;
    padding: 8px 14px 8px 8px;
    border-radius: 999px;
    background: rgba(23,18,19,.96);
    color: #fff;
    text-decoration: none;
    box-shadow: 0 10px 22px rgba(0,0,0,.2);
}

.jh-floating-menu__label{
    font-weight: 700;
    font-size: 14px;
    line-height: 1.1;
    letter-spacing: .02em;
    white-space: nowrap;
}

.jh-floating-menu__icon{
    width: 36px;
    height: 36px;
    border-radius: 999px;
    background: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 36px;
    overflow: hidden;
}

.jh-floating-menu__icon img{
    width: 24px;
    height: 24px;
    object-fit: contain;
    display: block;
}

.jh-floating-menu__icon--empty{
    background: #fcbf2c;
}

.jh-floating-menu__icon--empty::before{
    content: "";
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: #ca0d25;
}

@media (max-width: 767px){
    .jh-floating-menu{
        bottom: 10px;
        width: 58px;
        min-height: 58px;
    }

    .jh-floating-menu__items{
        bottom: 68px;
        max-width: min(260px, calc(100vw - 24px));
        max-height: calc(100vh - 96px);
    }

    .jh-floating-menu__toggle{
        width: 58px;
        height: 58px;
    }

    .jh-floating-menu__link{
        min-height: 48px;
        padding-right: 12px;
    }

    .jh-floating-menu__label{
        font-size: 13px;
    }
}
