.bfs-ep-sticky-booking-bar,
.bfs-ep-sticky-booking-bar * {
    box-sizing: border-box;
}

.bfs-ep-body-mount {
    position: static;
}

.bfs-ep-sticky-booking-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 99999;
    display: flex;
    justify-content: center;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    pointer-events: none;
    font-family: inherit;
}

.bfs-ep-sticky-booking-bar__inner {
    width: min(100%, var(--bfs-ep-max, 768px));
    min-height: 72px;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    align-items: center;
    gap: 4px;
    padding: 8px 10px;
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 26px;
    background: color-mix(in srgb, var(--bfs-ep-bg, #0e0e10) 94%, transparent);
    box-shadow: 0 -16px 42px rgba(0, 0, 0, .28), 0 4px 24px rgba(0, 0, 0, .22);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    pointer-events: auto;
}

.bfs-ep-bar-item {
    appearance: none;
    border: 0;
    background: transparent;
    width: 100%;
    min-width: 0;
    min-height: 58px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 5px 2px;
    border-radius: 18px;
    color: var(--bfs-ep-muted, #a8afbd);
    text-decoration: none !important;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    transition: transform .18s ease, color .18s ease, background-color .18s ease;
}

.bfs-ep-bar-item:hover,
.bfs-ep-bar-item:focus-visible {
    color: var(--bfs-ep-text, #ffffff);
    background: rgba(255, 255, 255, .06);
    outline: none;
}

.bfs-ep-bar-item:active {
    transform: translateY(1px) scale(.98);
}

.bfs-ep-bar-item__icon {
    width: 29px;
    height: 29px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: currentColor;
}

.bfs-ep-bar-item__icon svg {
    display: block;
    width: 100%;
    height: 100%;
}

.bfs-ep-bar-item__label {
    display: block;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 12px;
    line-height: 1;
    font-weight: 650;
    letter-spacing: -.01em;
}

.bfs-ep-bar-item.is-center {
    color: var(--bfs-ep-text, #ffffff);
    transform: translateY(-10px);
}

.bfs-ep-bar-item.is-center .bfs-ep-bar-item__icon {
    width: 47px;
    height: 47px;
    border-radius: 999px;
    color: #ffffff;
    background: var(--bfs-ep-accent, #dc3239);
    padding: 11px;
    box-shadow: 0 12px 28px color-mix(in srgb, var(--bfs-ep-accent, #dc3239) 45%, transparent);
}

.bfs-ep-bar-item.is-center .bfs-ep-bar-item__label {
    color: var(--bfs-ep-text, #ffffff);
}

.bfs-ep-search-overlay {
    position: fixed;
    inset: 0;
    z-index: 99998;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 20px 14px calc(108px + env(safe-area-inset-bottom));
}

.bfs-ep-search-overlay[hidden] {
    display: none !important;
}

.bfs-ep-search-overlay__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .45);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

.bfs-ep-search-box {
    position: relative;
    z-index: 1;
    width: min(100%, 560px);
    padding: 20px;
    border-radius: 24px;
    background: #ffffff;
    box-shadow: 0 18px 60px rgba(0, 0, 0, .28);
    color: #111111;
}

.bfs-ep-search-box__close {
    position: absolute;
    top: 10px;
    right: 12px;
    width: 34px;
    height: 34px;
    border: 0;
    border-radius: 999px;
    background: #f1f1f1;
    color: #111111;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
}

.bfs-ep-search-box__label {
    display: block;
    padding-right: 42px;
    margin: 0 0 12px;
    font-size: 18px;
    line-height: 1.2;
    font-weight: 800;
}

.bfs-ep-search-box__row {
    display: flex;
    gap: 8px;
}

.bfs-ep-search-box__input {
    flex: 1;
    width: 100%;
    min-height: 46px;
    padding: 0 14px;
    border: 1px solid #dddddd;
    border-radius: 14px;
    font-size: 16px;
}

.bfs-ep-search-box__submit {
    min-height: 46px;
    padding: 0 18px;
    border: 0;
    border-radius: 14px;
    background: var(--bfs-ep-accent, #dc3239);
    color: #ffffff;
    font-size: 15px;
    font-weight: 800;
    cursor: pointer;
}

@media (max-width: 390px) {
    .bfs-ep-sticky-booking-bar {
        padding-left: 7px;
        padding-right: 7px;
    }

    .bfs-ep-sticky-booking-bar__inner {
        border-radius: 22px;
        padding-left: 6px;
        padding-right: 6px;
    }

    .bfs-ep-bar-item__icon {
        width: 27px;
        height: 27px;
    }

    .bfs-ep-bar-item__label {
        font-size: 11px;
    }

    .bfs-ep-bar-item.is-center .bfs-ep-bar-item__icon {
        width: 43px;
        height: 43px;
    }
}
