.vezdehod-dock { display: none; }

@media screen and (max-width: 767px) {
    .vezdehod-dock-host {
        --order-bottom: max(8px, env(safe-area-inset-bottom, 0px));
        --order-height: calc(56px + var(--order-bottom));
    }
    .vezdehod-dock:not([hidden]) {
        display: flex;
        position: fixed;
        z-index: 90;
        inset: auto 0 0;
        padding-top: 6px;
        background: #fff;
        box-shadow: 0 -1px 4px rgb(28 55 65 / 8%);
    }
    .vezdehod-dock a {
        position: relative;
        isolation: isolate;
        display: flex;
        align-items: center;
        justify-content: center;
        box-sizing: border-box;
        width: 100%;
        min-height: var(--order-height);
        padding: 8px 24px calc(8px + var(--order-bottom));
        color: #fff;
        font-family: inherit;
        font-size: 1.5rem;
        font-weight: 700;
        line-height: 1.2;
        letter-spacing: -0.015em;
        text-align: center;
        text-decoration: none;
    }
    .vezdehod-dock a::before {
        content: "";
        position: absolute;
        z-index: -1;
        inset: 0 max(8px, env(safe-area-inset-right)) var(--order-bottom) max(8px, env(safe-area-inset-left));
        border: 1px solid #00a196;
        border-radius: 9px;
        background: #00a196;
        box-shadow: 0 2px 6px rgb(17 64 72 / 16%);
    }
    .vezdehod-dock a:is(:hover, :focus, :visited) { color: #fff; }
    .vezdehod-dock a:active::before { background: #00857d; }
    .vezdehod-dock a:focus-visible { outline: none; }
    .vezdehod-dock a:focus-visible::before { outline: 3px solid #17353c; outline-offset: -4px; }
    .vezdehod-dock-host:has(.vezdehod-dock:not([hidden])) {
        height: calc(var(--order-height) + 6px);
    }
}
