.hb-order-bar { display: none; }
.hb-order-bar[hidden] { display: none; }

@media (min-width: 1025px) {
    body:has(.hb-order-bar:not([hidden])) #wrapper { padding-bottom: 88px; }
    body:has(.hb-order-bar:not([hidden])) .base-color-palette-fixed-switcher,
    body:has(.hb-order-bar:not([hidden])) .base-scroll-to-top,
    body:has(.hb-order-bar:not([hidden])) #cookie-popup .drawer-inner { bottom: 108px; }
    .hb-order-bar {
        display: block;
        position: fixed;
        inset: auto 0 0;
        z-index: 100;
        height: 60px;
        border-top: 1px solid #dce8ec;
        background: #f7fcfc;
        color: #182c48;
        box-shadow: 0 -6px 26px #182c480a;
        font-family: Jost, Arial, sans-serif;
        animation: hb-order-enter .5s cubic-bezier(.2,.7,.3,1) both;
    }
    .hb-order-bar-inner {
        display: flex;
        align-items: center;
        gap: 20px;
        width: min(1800px, 94%);
        height: 100%;
        padding: 0 15px;
        margin: 0 auto;
        box-sizing: border-box;
    }
    .hb-order-phone-icon {
        display: grid;
        place-items: center;
        flex-shrink: 0;
        width: 36px;
        height: 36px;
        border-radius: 50%;
        background: #e3f3ed;
        color: #278775;
    }
    .hb-order-phone-icon svg { width: 26px; height: 26px; animation: hb-order-ring .7s .5s 2; }
    .hb-order-copy { display: flex; align-items: baseline; flex-wrap: wrap; column-gap: 12px; row-gap: 3px; flex: 1; }
    .hb-order-copy strong { font-size: 17px; font-weight: 600; }
    .hb-order-copy > span { font-size: 14px; color: #586b7d; }
    .hb-order-copy a { color: #278775; font-size: 16px; font-weight: 600; text-decoration: none; white-space: nowrap; }
    .hb-order-copy a:hover { text-decoration: underline; }
    .hb-order-call {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 12px;
        flex-shrink: 0;
        min-height: 46px;
        padding: 0 24px;
        border-radius: 10px;
        background: #2b57a2;
        color: #fff;
        font-size: 15px;
        font-weight: 500;
        text-decoration: none;
        box-shadow: 0 4px 12px #2b57a21a;
        transition: background .2s, transform .2s;
    }
    .hb-order-call svg { width: 20px; height: 20px; }
    .hb-order-call:hover { background: #214783; color: #fff; transform: translateY(-2px); }
    .hb-order-call:visited { color: #fff; }
    .hb-order-bar .hb-order-close {
        display: grid;
        place-items: center;
        flex-shrink: 0;
        width: 34px;
        height: 24px;
        padding: 0;
        border: 0;
        border-radius: 50%;
        background: transparent;
        color: #66788a;
        font: 28px/1 Arial, sans-serif;
        cursor: pointer;
        box-shadow: none;
        transition: background .2s;
    }
    .hb-order-bar .hb-order-close:hover { background: #e7f0f3; color: #182c48; }
    .hb-order-bar :focus-visible { outline: 3px solid #33a58e; outline-offset: 4px; }
}

@keyframes hb-order-enter { from { opacity: 0; transform: translateY(100%); } to { opacity: 1; transform: translateY(0); } }
@keyframes hb-order-ring { 0%,100% { transform: rotate(0); } 25% { transform: rotate(-10deg); } 65% { transform: rotate(10deg); } }
@media (prefers-reduced-motion: reduce) {
    .hb-order-bar, .hb-order-phone-icon svg { animation: none; }
    .hb-order-call, .hb-order-bar .hb-order-close { transition: none; }
    .hb-order-call:hover { transform: none; }
}
