.bh-wrap *,
.bh-overlay,
.bh-drawer,
.bh-chat {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: Archivo;
}

.bh-wrap {
    font-family: Archivo;
}

@keyframes tipIn {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(-4px);
    }

    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

@keyframes slideIn {
    from {
        transform: translateX(-100%);
    }

    to {
        transform: translateX(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes barExpand {
    from {
        transform: scaleX(0);
    }

    to {
        transform: scaleX(1);
    }
}

@keyframes phFade {
    0% {
        opacity: 0;
        transform: translateY(5px);
    }

    12% {
        opacity: 1;
        transform: translateY(0);
    }

    88% {
        opacity: 1;
        transform: translateY(0);
    }

    100% {
        opacity: 0;
        transform: translateY(-5px);
    }
}

/* ── Wrap ── */
.bh-wrap {
    position: absolute;
    z-index: 900;
    width: 100%;
}

.bh-wrap[data-header-bg="white"] {
    position: relative;
}

/* ── ROW 1 — always black ── */
.bh-row1 {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #000;
    padding: 0 40px;
    height: 40px;
    gap: 20px;
}

.bh-row1-cell {
    display: flex;
    align-items: center;
    cursor: pointer;
}


/* ── Hover zone — dark by default, turns white on nav hover ── */
.bh-hover-zone {
    background: transparent;
}

.is-white .bh-search-logo-hover {
    display: block !important;
}

.is-white .bh-search-logo-default {
    display: none !important;
}

/* ── ROW 2 ── */
.bh-row2 {
    padding: 0 40px;
    transition: background .25s;
    padding-bottom: 11px;

}

.row-2-block {
    max-width: 1360px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    padding-top: 13px;
    justify-content: space-between;
}

.bh-row2-left {
    display: flex;
    align-items: center;
    gap: 28px;
}

.bh-row2-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

.bh-search {
    position: relative;
    display: flex;
    align-items: center;
    gap: 9px;
    min-width: 230px;
    border-bottom: 1.5px solid rgba(255, 255, 255, .4);
    padding-bottom: 4px;
    transition: border-color .25s;
}

.bh-search-icon {
    color: rgba(255, 255, 255, .75);
    transition: color .2s;
}

.bh-search:hover .bh-search-icon {
    color: #000;
}

.bh-hover-zone.is-white .bh-search-icon {
    color: #000;
}

.bh-search input {
    background: transparent;
    border: none;
    outline: none;
    font-size: 14px;
    font-family: Archivo;
    width: 185px;
    color: #fff;
    transition: color .25s;
}

.bh-search-ph {
    position: absolute;
    left: 26px;
    font-size: 14px;
    pointer-events: none;
    color: rgba(255, 255, 255, .55);
}

.bh-book {
    margin-left: 14px;
    padding: 10px 22px;
    border-radius: 24px;
    font-size: 14px;
    line-height: 140%;
    font-weight: 500;
    font-family: Archivo;
    cursor: pointer;
    white-space: nowrap;
    transition: all .25s;
    background: #fff;
    border: 1.5px solid #fff;
    color: #222;

}

.bh-book:hover {
    background: #111;
    color: #fff;
}

/* ── ROW 3 — nav links ── */
.bh-row3 {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    position: relative;
    transition: background .25s;
    padding: 4px 0;
}

.bh-link {
    position: relative;
    display: flex;
    align-items: center;
    line-height: 100%;
    padding: 8px;
    font-size: 16px;
    font-weight: 400;
    letter-spacing: .2px;
    color: #fff;
    cursor: pointer;
    text-decoration: none;
    transition: color .2s;
    white-space: nowrap;
    font-family: Archivo;
}

.bh-link-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: #000;
    border-radius: 1px 1px 0 0;
    transform-origin: left center;
    animation: barExpand 1s ease forwards;
}

/* ── WHITE-ON-HOVER state ── */
.bh-hover-zone.is-white .bh-row2,
.bh-hover-zone.is-white .bh-row3 {
    background: #fff;
}

.bh-hover-zone.is-white .bh-search {
    border-color: #ccc;
}

.bh-hover-zone.is-white .bh-search input {
    color: #333;
}

.bh-hover-zone.is-white .bh-search-ph {
    color: #999;
}

.bh-hover-zone.is-white .bh-link {
    color: #232426;
}

.bh-hover-zone.is-white .bh-book {
    background: #232426;
    border-color: #232426;
    color: #fff;
}

.bh-hover-zone.is-white .bh-book:hover {
    background: #000;
}

/* ── Logo text recolor ── */
.logo-txt {
    transition: color .25s, stroke .25s;
}

/* ── Icon buttons ── */
.bh-ibtn {
    position: relative;
    background: transparent;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background .2s;
    color: #fff;
}

/* Force <a> icon buttons to white — browser UA stylesheet overrides tel: links */
a.bh-ibtn,
a.bh-ibtn:link,
a.bh-ibtn:visited {
    color: #fff;
    text-decoration: none;
}

.bh-ibtn:hover {
    background: #ffffff;
    color: #000;
}

a.bh-ibtn:hover {
    color: #000;
}

.bh-hover-zone.is-white .bh-ibtn {
    color: #555;
}

.bh-hover-zone.is-white a.bh-ibtn,
.bh-hover-zone.is-white a.bh-ibtn:link,
.bh-hover-zone.is-white a.bh-ibtn:visited {
    color: #555;
}

.bh-hover-zone.is-white .bh-ibtn:hover {
    background: rgba(0, 0, 0, .06);
}

.bh-tip {
    position: absolute;
    top: calc(100% + 4px);
    left: 50%;
    transform: translateX(-50%);
    background: #fff;
    color: #333;
    font-size: 12px;
    padding: 5px 11px;
    border-radius: 4px;
    white-space: nowrap;
    box-shadow: 0 2px 10px rgba(0, 0, 0, .18);
    z-index: 1000;
    opacity: 0;
    pointer-events: none;
    transition: opacity .15s;
}

.bh-ibtn:hover .bh-tip {
    opacity: 1;
    animation: tipIn .15s ease;
}

/* ── Dropdown ── */
.bh-drop {
    position: absolute;
    top: 100%;
    width: fit-content;
    min-width: 210px;
    background: #fff;
    box-shadow: 0 10px 34px rgba(0, 0, 0, .12);
    z-index: 800;
    border-top: 1px solid #f0f0f0;
    border-radius: 0 0 6px 6px;
    animation: fadeIn .18s ease;
    display: none;
}

.bh-drop.open {
    display: block;
}

.bh-drop-inner {
    padding: 8px 0 10px;
}

.bh-drop.bh-drop-more {
    min-width: 420px;
}

/* Items flow DOWN first (7 per column), then start a new column */
.bh-drop.bh-drop-more .bh-drop-inner {
    display: grid;
    grid-auto-flow: column;
    grid-template-rows: repeat(7, auto);
    padding: 8px 0 10px;
}

/* No horizontal dividers inside the More dropdown — columns handle separation */
.bh-drop.bh-drop-more .bh-drop-item {
    border-bottom: none;
    padding: 10px 24px;
}

.bh-drop-col-head {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    color: #999;
    padding-bottom: 10px;
    margin-bottom: 4px;
}

.bh-drop-item {
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 10px 20px;
    color: #222222;
    font-size: 14px;
    line-height: 100%;
    cursor: pointer;
    text-decoration: none;
    white-space: nowrap;
    transition: color .15s;
    font-family: Archivo;
}

.bh-drop-item:last-child {
    border-bottom: none;
}

.bh-drop-item:hover {
    color: 222222;
    background: #0000000f;
}

.bh-new {
    background: #00C853;
    color: #fff;
    font-size: 9px;
    font-weight: 400;
    padding: 1px 3px;
    border-radius: 1px;
    line-height: 120%;
    margin-left: 5px;
}

/* ── Dropdown alignment — desktop only ── */
@media (min-width: 1025px) {
    .bh-drop {
        left: 0;
    }

    /* "More" menu: anchor to right edge so it stays inside the viewport */
    .bh-drop.bh-drop-more {
        left: auto;
        right: 0;
    }
}

/* ── MOBILE ── */
.bh-mob {
    display: none;
}

.bh-mob-row1 {
    display: flex;
    align-items: center;
    justify-content: start;
    background: #000;
    padding: 0;
    height: 40px;
}


.bh-mob-row2 {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 14px;
    background: transparent;
}
.bh-wrap.is-white .bh-mob-row2 {
    background: #0000009c;
}
.bh-mob-icons {
    display: flex;
    align-items: center;
}

.bh-mob-ibtn {
    background: transparent;
    border: none;
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border-radius: 50%;
}

/* ── Overlay & Drawer ── */
.bh-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .45);
    z-index: 9998;
    animation: fadeIn .2s ease;
    display: none;
}

.bh-overlay.open {
    display: block;
}

.bh-drawer {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: 100vw;
    max-width: 100vw;
    background: #fff;
    z-index: 9999;
    display: none;
    flex-direction: column;
    overflow-y: auto;
}

.bh-drawer.open {
    display: flex;
    animation: slideIn .3s cubic-bezier(.4, 0, .2, 1);
}

.bh-drawer-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 13px 3px;
    margin-block: 16px;
}

.bh-drawer-close {
    background: transparent;
    border: none;
    cursor: pointer;
    display: flex;
}

.bh-drawer-home {
    display: flex;
    align-items: center;
    color: inherit;
    text-decoration: none;
}

.bh-dlist {
    list-style: none;
}

.bh-dlist .bh-dsub-item a img {
    width: 24px;
    height: 24px;
}

.bh-ditem {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid #CACBCC;
    font-size: 16px;
    color: #2E2F32;
    font-weight: 400;
    line-height: 24px;
    cursor: pointer;
    text-decoration: none;
    width: 94%;
    margin: 0 auto;
}

.bh-ditem>a {
    padding: 0 !important;
}

.bh-ditem:hover {
    background: #fafafa;
}

.bh-dsub-head {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 20px;
    cursor: pointer;
    font-size: 15px;
    font-weight: 500;
    color: #333;
}

.bh-dsub-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 22px;
    border-top: 1px solid #f0f0f0;
    font-size: 14px;
    color: #444;
    cursor: pointer;
}

.bh-dsub-item:hover {
    background: #fafafa;
}

/* ── WhatsApp chat bubble ── */
.bh-chat {
    position: fixed;
    bottom: 80px;
    right: 18px;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: #25d366;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    box-shadow: 0 3px 10px rgba(0, 0, 0, .2);
    cursor: pointer;
}

.bh-chat a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.bh-chat.open {
    display: flex;
}

/* ── Brand strip authored images ── */
.bh-brand-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    padding: 0 6px;
}

.bh-brand-img {
    max-height: 36px;
    width: auto;
    display: block;
}

/* Center brand — swap default→hover when any nav link is active (.bh-wrap.is-white) */
.bh-brand-center {
    display: inline-flex;
    align-items: center;
    height: 40px;
    background: #4c4c4c;
}

.bh-brand-center .bh-brand-hover {
    display: none;
    max-height: 36px;
    width: auto;
}

.bh-wrap.is-white .bh-brand-center {
    background: #fff;
    padding: 0 6px !important;
    border-radius: 4px 4px 0 0;
    height: 40px;
}

.bh-wrap.is-white .bh-brand-center .bh-brand-default {
    display: none;
}

.bh-wrap.is-white .bh-brand-center .bh-brand-hover {
    display: block;
}

/* Search Bar Strip logo — swap on nav hover */
.bh-search-logo {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    width: 165px;
}

.bh-search-logo-hover {
    display: none;
    max-height: 40px;
    width: auto;
}

.bh-search-logo.nav-hover-active .bh-search-logo-default {
    display: none;
    width: 165px !important;
}

.bh-search-logo.nav-hover-active .bh-search-logo-hover {
    display: block;
    width: 165px !important;
}

.bh-search-logo-default:first-child,
.bh-search-logo-hover:nth-child(2) {
    width: 165px !important;
}

.bh-row3 {
    border-top: 1px solid transparent;
    border-bottom: 2px solid transparent;
}

.bh-hover-zone.is-white .bh-row3 {
    border-top: 1px solid #EFEFEF;
    border-bottom: 2px solid #EFEFEF;
}

/* ── Responsive ── */
@media (max-width: 1024px) {

    .bh-row1,
    .bh-row2,
    .bh-row3 {
        display: none !important;
    }

    .bh-mob {
        display: block !important;
    }
}

@media (min-width: 1025px) {
    .bh-mob {
        display: none !important;
    }
}

/* ══════════════════════════════════════════════════════════════
   SEARCH MODAL
   ══════════════════════════════════════════════════════════════ */

@keyframes bh-search-drop {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(-12px);
    }

    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

@keyframes bh-search-slide {
    from {
        transform: translateX(-100%);
    }

    to {
        transform: translateX(0);
    }
}

.bh-search-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 10001;
}

.bh-search-modal.open {
    display: block;
}

/* dark backdrop — desktop only */
.bh-search-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.52);
}

/* ── Card ── */
.bh-search-modal-card {
    position: absolute;
    top: 100px;
    left: 50%;
    transform: translateX(-50%);
    width: 92%;
    max-width: 940px;
    background: #fff;
    border-radius: 20px;
    padding: 36px 44px 40px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.18);
    animation: bh-search-drop 0.2s ease;
}

/* ── Desktop close button ── */
.bh-search-modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: transparent;
    border: none;
    cursor: pointer;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #444;
    border-radius: 50%;
    transition: background 0.15s;
}

.bh-search-modal-close:hover {
    background: #f0f0f0;
}

/* mobile back — hidden on desktop */
.bh-search-modal-back {
    display: none;
}

/* ── Input row ── */
.bh-search-modal-input-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
    border: 1.5px solid #cfcfcf;
    border-radius: 40px;
    padding: 13px 22px;
    margin-bottom: 28px;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.bh-search-modal-input-wrap:focus-within {
    border-color: #cfcfcf;
    box-shadow: 0 0 0 3px rgba(33, 26, 46, 0.1);
}

.bh-search-modal-icon {
    color: #9ca3af;
    flex-shrink: 0;
}

.bh-search-modal-input {
    flex: 1;
    border: none;
    outline: none;
    font-size: 16px;
    font-family: Archivo, sans-serif;
    color: #1a1a1a;
    background: transparent;
}

.bh-search-modal-input::placeholder {
    color: #b0b7c3;
}

/* ── Trending section ── */
.bh-search-modal-trending-title {
    font-size: 14px;
    font-weight: 600;
    color: #111;
    margin-bottom: 16px;
    font-family: Archivo, sans-serif;
    letter-spacing: 0.01em;
}

.bh-search-modal-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

/* ── Chip ── */
.bh-search-chip {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 16px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 14px;
    font-family: Archivo, sans-serif;
    color: #1a1a1a;
    cursor: pointer;
    text-decoration: none;
    background: #fff;
    transition: background 0.15s;
    white-space: nowrap;
}

.bh-search-chip:hover {
    background: #f5f5f5;
}

.bh-search-chip svg {
    flex-shrink: 0;
    color: currentColor;
}

/* Featured chip — amber / orange */
.bh-search-chip.bh-chip-featured {
    border-color: #f59e0b;
    color: #92400e;
}

.bh-search-chip.bh-chip-featured:hover {
    background: #fffbeb;
}

/* ════ MOBILE ════ */
@media (max-width: 1024px) {
    .bh-search-modal-backdrop {
        display: none;
    }

    .bh-brand-img {
        max-width: 98px;
    }
    .bh-row1-cell {
        padding: 0 !important;
    }
    .bh-search-modal-card {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        transform: none;
        width: 100%;
        max-width: 100%;
        height: 100%;
        border-radius: 0;
        padding: 20px 20px 32px;
        overflow-y: auto;
        animation: bh-search-slide 0.25s cubic-bezier(.4, 0, .2, 1);
        display: flex;
        flex-direction: column;
    }

    /* back arrow row — mobile */
    .bh-search-modal-back {
        display: flex;
        align-items: center;
        background: transparent;
        border: none;
        cursor: pointer;
        padding: 0;
        margin-bottom: 18px;
        color: #333;
        flex-shrink: 0;
    }

    /* hide desktop X on mobile */
    .bh-search-modal-close {
        display: none;
    }

    .bh-search-modal-input-wrap {
        padding: 11px 18px;
        margin-bottom: 24px;
    }

    .bh-search-modal-input {
        font-size: 15px;
    }
}

/* ════ UNBXD AUTOSUGGEST INTEGRATION ════
   Ensure the Unbxd-injected autosuggest dropdown is visible inside the search
   modal card.  The external Unbxd script appends its popup relative to the
   nearest positioned ancestor — keep the card scrollable but let the dropdown
   overflow it so it renders above the modal content. */
.bh-search-modal-card {
    overflow: visible;
}

/* Unbxd appends its autosuggest panel with the class .unboxd-as-search-results
   (class name varies by version; target the common wrapper it creates) */
.bh-search-modal-card .unbxd-as-wrapper,
.bh-search-modal-card [class*="unbxd-as"] {
    position: absolute;
    z-index: 10001;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    max-height: 400px;
    overflow-y: auto;
    width: 100%;
    left: 0;
    top: 100%;
    margin-top: 4px;
}