/* ============================================================
   HIBO HOME HEADER - BEAN STYLE
   White rounded navigation overlay + compact utility bar.
   Keeps the existing HIBO Menu tree and Hummingbird Quick Search.
   ============================================================ */

body#index.hibo-home-header-active #header {
    display: none !important;
}

body#index.hibo-home-header-active #wrapper,
body#index.hibo-home-header-active #content-wrapper,
body#index.hibo-home-header-active #main,
body#index.hibo-home-header-active main {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

.hibo-home-bean-header,
.hibo-home-bean-header * {
    box-sizing: border-box;
}

.hibo-home-bean-header {
    --hibo-home-accent: #ff5a1f;
    --hibo-home-dark: #111111;
    --hibo-home-white: #ffffff;
    --hibo-home-muted: rgba(255,255,255,.90);

    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    z-index: 100500;
    width: 100%;
    padding: 8px 24px 0;
    visibility: hidden;
    opacity: 0;
    color: #fff;
    pointer-events: none;
    transition: opacity .18s ease;
}

body#index.hibo-home-header-active .hibo-home-bean-header {
    visibility: visible;
    opacity: 1;
}

.hibo-home-bean-header__shell {
    width: min(1540px, 100%);
    margin: 0 auto;
    pointer-events: auto;
}

/* ---------- utility row ---------- */
.hibo-home-bean-header__utility {
    display: flex;
    min-height: 34px;
    padding: 0 4px;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    color: #fff;
    font-size: 14px;
    line-height: 1.2;
    text-shadow: 0 1px 4px rgba(0,0,0,.35);
    transition: opacity .18s ease, max-height .18s ease, margin .18s ease;
}

.hibo-home-bean-header__utility-left,
.hibo-home-bean-header__utility-right {
    display: flex;
    min-width: 0;
    align-items: center;
    gap: 20px;
}

.hibo-home-bean-header__utility-right {
    justify-content: flex-end;
}

.hibo-home-bean-header__welcome {
    white-space: nowrap;
}

.hibo-home-bean-header__utility-link,
.hibo-home-bean-header__language {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #fff !important;
    text-decoration: none !important;
    white-space: nowrap;
}

.hibo-home-bean-header__utility-link:hover,
.hibo-home-bean-header__utility-link:focus {
    color: #fff !important;
    opacity: .82;
}

.hibo-home-bean-header__utility-link svg,
.hibo-home-bean-header__language svg {
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.hibo-home-bean-header__phone strong {
    font-weight: 800;
}

.hibo-home-bean-header__flag {
    font-size: 17px;
    line-height: 1;
}

/* ---------- white rounded main bar ---------- */
.hibo-home-bean-header__mainbar {
    position: relative;
    display: grid;
    grid-template-columns: minmax(150px, 190px) minmax(0, 1fr) auto;
    min-height: 74px;
    margin-top: 8px;
    padding: 8px 14px 8px 18px;
    align-items: center;
    gap: 18px;
    overflow: visible;
    border: 1px solid rgba(255,255,255,.72);
    border-radius: 22px;
    background: rgba(255,255,255,.97);
    box-shadow: 0 10px 34px rgba(0,0,0,.13);
    color: #191919;
    backdrop-filter: blur(10px) saturate(115%);
    -webkit-backdrop-filter: blur(10px) saturate(115%);
}

.hibo-home-bean-header__logo {
    display: flex;
    min-width: 0;
    align-items: center;
    color: #151515;
    text-decoration: none;
}

.hibo-home-bean-header__logo img {
    display: block;
    width: auto;
    height: auto;
    max-width: 176px;
    max-height: 58px;
    object-fit: contain;
    object-position: left center;
}

.hibo-home-bean-header__logo strong {
    color: #151515;
    font-size: 22px;
    font-weight: 850;
}

/* ---------- HIBO Menu bridge ---------- */
.hibo-home-bean-header__menu {
    min-width: 0;
    overflow: visible;
}

.hibo-home-bean-header__menu > .hibo-menu {
    position: relative !important;
    z-index: 10 !important;
    display: flex !important;
    width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    align-items: center !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

@media (min-width: 768px) {
    .hibo-home-bean-header__menu .hibo-menu-toggle,
    .hibo-home-bean-header__menu .hibo-menu-header-mobile {
        display: none !important;
    }

    .hibo-home-bean-header__menu .hibo-menu-overlay {
        position: static !important;
        display: flex !important;
        visibility: visible !important;
        width: 100% !important;
        height: auto !important;
        margin: 0 !important;
        padding: 0 !important;
        align-items: center !important;
        overflow: visible !important;
        background: transparent !important;
        box-shadow: none !important;
        opacity: 1 !important;
        pointer-events: auto !important;
        transform: none !important;
    }

    .hibo-home-bean-header__menu .hibo-menu-root {
        display: flex !important;
        width: 100% !important;
        min-width: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        align-items: center !important;
        justify-content: center !important;
        flex-wrap: nowrap !important;
        list-style: none !important;
    }

    .hibo-home-bean-header__menu .hibo-menu-root > .hibo-menu-item {
        position: relative;
        display: flex;
        min-width: 0;
        align-items: center;
    }

    .hibo-home-bean-header__menu .hibo-menu-root > .hibo-menu-item.is-mega-menu {
        position: static !important;
    }

    .hibo-home-bean-header__menu
    .hibo-menu-root > .hibo-menu-item
    > .hibo-menu-link-wrap {
        display: flex !important;
        align-items: center !important;
    }

    .hibo-home-bean-header__menu
    .hibo-menu-root > .hibo-menu-item
    > .hibo-menu-link-wrap > a {
        position: relative;
        display: block;
        padding: 18px clamp(8px, .75vw, 13px) !important;
        color: #242424 !important;
        font-size: clamp(12px, .83vw, 14px) !important;
        font-weight: 600 !important;
        line-height: 20px !important;
        text-decoration: none !important;
        text-shadow: none !important;
        white-space: nowrap !important;
        transition: color .18s ease;
    }

    .hibo-home-bean-header__menu
    .hibo-menu-root > .hibo-menu-item
    > .hibo-menu-link-wrap > a::after {
        position: absolute;
        right: 10px;
        bottom: 10px;
        left: 10px;
        height: 2px;
        border-radius: 99px;
        background: var(--hibo-home-accent);
        content: "";
        opacity: 0;
        transform: scaleX(.35);
        transition: opacity .18s ease, transform .18s ease;
    }

    .hibo-home-bean-header__menu
    .hibo-menu-root > .hibo-menu-item:hover
    > .hibo-menu-link-wrap > a,
    .hibo-home-bean-header__menu
    .hibo-menu-root > .hibo-menu-item:focus-within
    > .hibo-menu-link-wrap > a,
    .hibo-home-bean-header__menu
    .hibo-menu-root > .hibo-menu-item.is-current
    > .hibo-menu-link-wrap > a,
    .hibo-home-bean-header__menu
    .hibo-menu-root > .hibo-menu-item.active
    > .hibo-menu-link-wrap > a,
    .hibo-home-bean-header__menu
    .hibo-menu-root > .hibo-menu-item.current
    > .hibo-menu-link-wrap > a {
        color: var(--hibo-home-accent) !important;
    }

    .hibo-home-bean-header__menu
    .hibo-menu-root > .hibo-menu-item:hover
    > .hibo-menu-link-wrap > a::after,
    .hibo-home-bean-header__menu
    .hibo-menu-root > .hibo-menu-item:focus-within
    > .hibo-menu-link-wrap > a::after,
    .hibo-home-bean-header__menu
    .hibo-menu-root > .hibo-menu-item.is-current
    > .hibo-menu-link-wrap > a::after,
    .hibo-home-bean-header__menu
    .hibo-menu-root > .hibo-menu-item.active
    > .hibo-menu-link-wrap > a::after,
    .hibo-home-bean-header__menu
    .hibo-menu-root > .hibo-menu-item.current
    > .hibo-menu-link-wrap > a::after {
        opacity: 1;
        transform: scaleX(1);
    }

    .hibo-home-bean-header__menu .hibo-sub-toggle {
        display: none !important;
    }

    .hibo-home-bean-header__menu .hibo-mega-panel {
        z-index: 100560 !important;
        padding-top: 12px !important;
    }

    .hibo-home-bean-header__menu .hibo-mega-panel > .hibo-mega-container {
        overflow: hidden;
        border: 1px solid #ececec !important;
        border-radius: 14px !important;
        background: rgba(255,255,255,.99) !important;
        box-shadow: 0 18px 46px rgba(0,0,0,.16) !important;
        color: #252525 !important;
    }

    .hibo-home-bean-header__menu .hibo-mega-panel a {
        color: #303030 !important;
        text-shadow: none !important;
    }
}

/* ---------- round actions ---------- */
.hibo-home-bean-header__actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
}

.hibo-home-bean-action {
    position: relative;
    display: grid;
    width: 43px;
    height: 43px;
    flex: 0 0 43px;
    margin: 0;
    padding: 0;
    place-items: center;
    border: 1px solid #090909;
    border-radius: 999px;
    outline: none;
    background: #050505;
    color: #fff !important;
    text-decoration: none !important;
    cursor: pointer;
    transition: transform .16s ease, background .16s ease;
}

.hibo-home-bean-action:hover,
.hibo-home-bean-action:focus-visible {
    background: #242424;
    color: #fff !important;
    transform: translateY(-1px);
}

.hibo-home-bean-action svg {
    width: 21px;
    height: 21px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.hibo-home-bean-action__badge {
    position: absolute;
    top: -5px;
    right: -3px;
    display: grid;
    min-width: 17px;
    height: 17px;
    padding: 0 4px;
    place-items: center;
    border: 1px solid #fff;
    border-radius: 99px;
    background: var(--hibo-home-accent);
    color: #fff;
    font-size: 9px;
    font-weight: 850;
    line-height: 1;
}

/* ---------- native Hummingbird search overlay ---------- */
.hibo-home-bean-header__search-panel {
    position: absolute;
    top: 8px;
    right: 122px;
    left: max(210px, 17%);
    z-index: 30;
    display: flex;
    visibility: hidden;
    min-width: 0;
    min-height: 56px;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-5px) scale(.985);
    transform-origin: right center;
    transition: opacity .16s ease, transform .16s ease, visibility 0s linear .16s;
}

.hibo-home-bean-header.is-search-open .hibo-home-bean-header__search-panel {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0) scale(1);
    transition: opacity .16s ease, transform .16s ease, visibility 0s linear 0s;
}

.hibo-home-bean-header__search-slot {
    position: relative;
    display: flex;
    width: 100%;
    min-width: 0;
    align-items: center;
}

.hibo-home-bean-header__search-slot > #ps_searchbar {
    position: relative !important;
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: visible !important;
    background: transparent !important;
}

.hibo-home-bean-header__search-slot > #ps_searchbar .ps-searchbar__form {
    position: relative !important;
    display: flex !important;
    width: 100% !important;
    min-height: 56px !important;
    align-items: center !important;
    overflow: hidden !important;
    border: 1px solid #d9d9d9 !important;
    border-radius: 999px !important;
    background: rgba(255,255,255,.99) !important;
    box-shadow: 0 8px 24px rgba(0,0,0,.10) !important;
}

.hibo-home-bean-header__search-slot > #ps_searchbar .ps-searchbar__form:focus-within {
    border-color: var(--hibo-home-accent) !important;
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--hibo-home-accent) 14%, transparent), 0 8px 24px rgba(0,0,0,.10) !important;
}

.hibo-home-bean-header__search-slot > #ps_searchbar .ps-searchbar__input {
    display: block !important;
    width: 100% !important;
    min-height: 54px !important;
    margin: 0 !important;
    padding: 10px 48px 10px 52px !important;
    border: 0 !important;
    outline: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    color: #262626 !important;
    font-size: 14px !important;
}

.hibo-home-bean-header__search-slot > #ps_searchbar .ps-searchbar__input::placeholder {
    color: #8a8a8a !important;
    opacity: 1 !important;
}

.hibo-home-bean-header__search-slot > #ps_searchbar .ps-searchbar__magnifier {
    position: absolute !important;
    top: 50% !important;
    left: 18px !important;
    z-index: 2 !important;
    margin: 0 !important;
    padding: 0 !important;
    color: #222 !important;
    transform: translateY(-50%) !important;
}

.hibo-home-bean-header__search-slot > #ps_searchbar .ps-searchbar__clear {
    position: absolute !important;
    top: 50% !important;
    right: 12px !important;
    z-index: 3 !important;
    margin: 0 !important;
    transform: translateY(-50%) !important;
}

.hibo-home-bean-header__search-slot > #ps_searchbar .ps-searchbar__dropdown {
    position: absolute !important;
    top: calc(100% + 8px) !important;
    right: 0 !important;
    left: 0 !important;
    z-index: 100950 !important;
    width: 100% !important;
    max-height: min(460px, 60vh) !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    border: 1px solid rgba(0,0,0,.09) !important;
    border-radius: 14px !important;
    background: #fff !important;
    box-shadow: 0 18px 46px rgba(0,0,0,.20) !important;
    color: #222 !important;
}

.hibo-home-bean-header__search-slot > #ps_searchbar .ps-searchbar__result-link {
    display: grid !important;
    grid-template-columns: 54px minmax(0,1fr) !important;
    gap: 12px !important;
    min-height: 66px !important;
    padding: 7px 10px !important;
    align-items: center !important;
    color: #262626 !important;
    text-decoration: none !important;
}

.hibo-home-bean-header__search-slot > #ps_searchbar .ps-searchbar__result-link:hover,
.hibo-home-bean-header__search-slot > #ps_searchbar .ps-searchbar__result-link:focus {
    background: #f7f7f7 !important;
    color: var(--hibo-home-accent) !important;
}

.hibo-home-bean-header__search-slot > #ps_searchbar .ps-searchbar__result-image {
    width: 52px !important;
    height: 52px !important;
    object-fit: contain !important;
}

.hibo-home-bean-header__search-slot > #ps_searchbar .ps-searchbar__result-name {
    margin: 0 !important;
    color: inherit !important;
    font-size: 14px !important;
    font-weight: 650 !important;
    line-height: 1.35 !important;
}

/* ---------- sticky compact state ---------- */
.hibo-home-bean-header.is-scrolled {
    position: fixed;
    top: 0;
    padding-top: 7px;
}

.hibo-home-bean-header.is-scrolled .hibo-home-bean-header__utility {
    min-height: 0;
    max-height: 0;
    margin: 0;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
}

.hibo-home-bean-header.is-scrolled .hibo-home-bean-header__mainbar {
    min-height: 62px;
    margin-top: 0;
    border-radius: 18px;
    box-shadow: 0 9px 28px rgba(0,0,0,.16);
}

.hibo-home-bean-header.is-scrolled .hibo-home-bean-header__logo img {
    max-height: 48px;
}

/* ---------- tablet ---------- */
@media (max-width: 1199px) and (min-width: 768px) {
    .hibo-home-bean-header {
        padding-right: 12px;
        padding-left: 12px;
    }

    .hibo-home-bean-header__utility {
        font-size: 12px;
    }

    .hibo-home-bean-header__mainbar {
        grid-template-columns: minmax(125px, 150px) minmax(0,1fr) auto;
        min-height: 68px;
        padding-left: 14px;
        gap: 10px;
    }

    .hibo-home-bean-header__logo img {
        max-width: 145px;
        max-height: 50px;
    }

    .hibo-home-bean-header__menu
    .hibo-menu-root > .hibo-menu-item
    > .hibo-menu-link-wrap > a {
        padding-right: 6px !important;
        padding-left: 6px !important;
        font-size: 11.5px !important;
    }

    .hibo-home-bean-action {
        width: 39px;
        height: 39px;
        flex-basis: 39px;
    }

    .hibo-home-bean-header__search-panel {
        right: 108px;
        left: 165px;
    }
}

/* ---------- mobile ---------- */
@media (max-width: 767px) {
    .hibo-home-bean-header {
        padding: 6px 8px 0;
    }

    .hibo-home-bean-header__shell {
        width: 100%;
    }

    .hibo-home-bean-header__utility {
        min-height: 30px;
        padding: 0 5px 4px;
        justify-content: flex-end;
        font-size: 12px;
        gap: 8px;
    }

    .hibo-home-bean-header__utility-left {
        display: none;
    }

    .hibo-home-bean-header__utility-right {
        width: 100%;
        gap: 10px;
        justify-content: flex-end;
    }

    .hibo-home-bean-header__utility-link,
    .hibo-home-bean-header__language {
        gap: 4px;
    }

    .hibo-home-bean-header__utility-link svg {
        width: 16px;
        height: 16px;
        flex-basis: 16px;
    }

    .hibo-home-bean-header__mainbar {
        display: flex;
        min-height: 58px;
        margin-top: 3px;
        padding: 6px 7px 6px 12px;
        align-items: center;
        gap: 6px;
        border-radius: 18px;
    }

    .hibo-home-bean-header__logo {
        min-width: 0;
        flex: 1 1 auto;
        overflow: hidden;
    }

    .hibo-home-bean-header__logo img {
        max-width: 154px;
        max-height: 46px;
    }

    .hibo-home-bean-header__actions {
        order: 2;
        flex: 0 0 auto;
        gap: 5px;
    }

    .hibo-home-bean-header__menu {
        order: 3;
        flex: 0 0 auto;
        min-width: 42px;
    }

    .hibo-home-bean-action {
        width: 38px;
        height: 38px;
        flex-basis: 38px;
    }

    .hibo-home-bean-action svg {
        width: 19px;
        height: 19px;
    }

    .hibo-home-bean-action__badge {
        top: -4px;
        right: -3px;
        min-width: 16px;
        height: 16px;
        font-size: 8px;
    }

    .hibo-home-bean-header__search-panel {
        top: calc(100% + 7px);
        right: 0;
        left: 0;
        width: auto;
        min-height: 46px;
        transform-origin: top center;
    }

    .hibo-home-bean-header__search-slot > #ps_searchbar .ps-searchbar__form {
        min-height: 46px !important;
        border-radius: 14px !important;
    }

    .hibo-home-bean-header__search-slot > #ps_searchbar .ps-searchbar__input {
        min-height: 44px !important;
        padding-left: 46px !important;
        font-size: 14px !important;
    }

    .hibo-home-bean-header__search-slot > #ps_searchbar .ps-searchbar__magnifier {
        left: 15px !important;
    }

    .hibo-home-bean-header__search-slot > #ps_searchbar .ps-searchbar__dropdown {
        top: calc(100% + 6px) !important;
        max-height: min(390px, 55vh) !important;
        border-radius: 12px !important;
    }

    /* HIBO Menu: only its hamburger remains in the main pill. */
    body#index.hibo-home-header-active
    .hibo-home-bean-header__menu .hibo-menu {
        position: static !important;
        display: block !important;
        width: auto !important;
        min-width: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        overflow: visible !important;
        background: transparent !important;
        box-shadow: none !important;
    }

    body#index.hibo-home-header-active
    .hibo-home-bean-header__menu .hibo-menu-toggle {
        position: static !important;
        z-index: 1 !important;
        display: flex !important;
        width: 38px !important;
        height: 38px !important;
        margin: 0 !important;
        padding: 0 !important;
        align-items: center !important;
        justify-content: center !important;
        border: 1px solid #151515 !important;
        border-radius: 999px !important;
        background: #fff !important;
        box-shadow: none !important;
    }

    body#index.hibo-home-header-active
    .hibo-home-bean-header__menu .hibo-menu-toggle .hamburger-lines {
        display: flex !important;
        flex-direction: column !important;
        gap: 4px !important;
    }

    body#index.hibo-home-header-active
    .hibo-home-bean-header__menu .hibo-menu-toggle .hamburger-lines span {
        display: block !important;
        width: 18px !important;
        height: 2px !important;
        border-radius: 99px !important;
        background: #151515 !important;
    }

    body#index.hibo-home-header-active
    .hibo-home-bean-header__menu .hibo-menu-toggle .menu-txt {
        display: none !important;
    }

    body#index.hibo-home-header-active
    .hibo-home-bean-header__menu .hibo-menu-overlay {
        position: fixed !important;
        top: 0 !important;
        right: auto !important;
        bottom: 0 !important;
        left: 0 !important;
        z-index: 100800 !important;
        display: flex !important;
        visibility: hidden !important;
        width: min(88vw, 380px) !important;
        max-width: 380px !important;
        height: 100vh !important;
        height: 100dvh !important;
        margin: 0 !important;
        padding: 0 !important;
        flex-direction: column !important;
        overflow-x: hidden !important;
        overflow-y: auto !important;
        border: 0 !important;
        background: #fff !important;
        box-shadow: 18px 0 48px rgba(0,0,0,.24) !important;
        color: #232323 !important;
        opacity: 0 !important;
        pointer-events: none !important;
        transform: translate3d(-110%,0,0) !important;
        transition: transform .24s ease, opacity .18s ease, visibility 0s linear .24s !important;
        -webkit-overflow-scrolling: touch;
    }

    body#index.hibo-home-header-active
    .hibo-home-bean-header__menu .hibo-menu.is-open .hibo-menu-overlay {
        visibility: visible !important;
        opacity: 1 !important;
        pointer-events: auto !important;
        transform: translate3d(0,0,0) !important;
        transition: transform .24s ease, opacity .18s ease, visibility 0s linear 0s !important;
    }

    body#index.hibo-home-header-active
    .hibo-home-bean-header__menu .hibo-menu-header-mobile {
        position: sticky !important;
        top: 0 !important;
        z-index: 2 !important;
        display: flex !important;
        min-height: 62px !important;
        padding: 0 18px !important;
        align-items: center !important;
        justify-content: space-between !important;
        border-bottom: 1px solid #e9e9e9 !important;
        background: #fff !important;
        color: #222 !important;
    }

    body#index.hibo-home-header-active
    .hibo-home-bean-header__menu .hibo-menu-header-mobile span {
        color: #222 !important;
        font-size: 15px !important;
        font-weight: 800 !important;
    }

    body#index.hibo-home-header-active
    .hibo-home-bean-header__menu .hibo-menu-close {
        display: grid !important;
        width: 42px !important;
        height: 42px !important;
        padding: 0 !important;
        place-items: center !important;
        border: 0 !important;
        border-radius: 999px !important;
        background: #f2f3f2 !important;
        color: #333 !important;
        font-size: 29px !important;
        line-height: 1 !important;
    }

    body#index.hibo-home-header-active
    .hibo-home-bean-header__menu .hibo-menu-root {
        display: block !important;
        width: 100% !important;
        min-width: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        list-style: none !important;
    }

    body#index.hibo-home-header-active
    .hibo-home-bean-header__menu .hibo-menu-item {
        display: block !important;
        width: 100% !important;
        margin: 0 !important;
    }

    body#index.hibo-home-header-active
    .hibo-home-bean-header__menu .hibo-menu-link-wrap {
        display: flex !important;
        width: 100% !important;
        min-height: 52px !important;
        align-items: stretch !important;
        justify-content: space-between !important;
        border-bottom: 1px solid #ededed !important;
        background: #fff !important;
    }

    body#index.hibo-home-header-active
    .hibo-home-bean-header__menu .hibo-menu-link-wrap > a {
        display: flex !important;
        min-width: 0 !important;
        flex: 1 1 auto !important;
        padding: 14px 18px !important;
        align-items: center !important;
        color: #252a28 !important;
        font-size: 15px !important;
        font-weight: 600 !important;
        line-height: 1.35 !important;
        text-decoration: none !important;
        text-shadow: none !important;
        white-space: normal !important;
    }

    body#index.hibo-home-header-active
    .hibo-home-bean-header__menu .hibo-sub-toggle {
        display: grid !important;
        width: 52px !important;
        height: 52px !important;
        flex: 0 0 52px !important;
        margin: 0 !important;
        padding: 0 !important;
        place-items: center !important;
        border: 0 !important;
        border-left: 1px solid #ededed !important;
        background: #fafafa !important;
        color: #333 !important;
        font-size: 20px !important;
        line-height: 1 !important;
    }

    body#index.hibo-home-header-active
    .hibo-home-bean-header__menu .hibo-mega-panel {
        position: static !important;
        display: none !important;
        visibility: visible !important;
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        border: 0 !important;
        background: #f7f8f7 !important;
        box-shadow: none !important;
        opacity: 1 !important;
        pointer-events: auto !important;
        transform: none !important;
    }

    body#index.hibo-home-header-active
    .hibo-home-bean-header__menu .level-1.is-open > .hibo-mega-panel {
        display: block !important;
    }

    body#index.hibo-home-header-active
    .hibo-home-bean-header__menu .hibo-mega-container,
    body#index.hibo-home-header-active
    .hibo-home-bean-header__menu .hibo-submenu {
        display: block !important;
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        border: 0 !important;
        background: #f7f8f7 !important;
        box-shadow: none !important;
        list-style: none !important;
    }

    body#index.hibo-home-header-active
    .hibo-home-bean-header__menu .hibo-submenu .level-2 > .hibo-menu-link-wrap > a {
        padding-left: 32px !important;
        font-size: 14px !important;
        font-weight: 550 !important;
    }

    body#index.hibo-home-header-active
    .hibo-home-bean-header__menu .hibo-level-3-menu {
        display: none !important;
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        background: #f1f3f1 !important;
        list-style: none !important;
    }

    body#index.hibo-home-header-active
    .hibo-home-bean-header__menu .level-2.is-open > .hibo-level-3-menu {
        display: block !important;
    }

    body#index.hibo-home-header-active
    .hibo-home-bean-header__menu .hibo-level-3-menu .level-3 > .hibo-menu-link-wrap > a {
        padding-left: 48px !important;
        color: #555 !important;
        font-size: 14px !important;
    }

    .hibo-home-bean-header.is-scrolled {
        padding-top: 6px;
    }

    .hibo-home-bean-header.is-scrolled .hibo-home-bean-header__utility {
        display: none;
    }

    .hibo-home-bean-header.is-scrolled .hibo-home-bean-header__mainbar {
        min-height: 56px;
        border-radius: 16px;
    }
}

@media (max-width: 430px) {
    .hibo-home-bean-header__logo img {
        max-width: 132px;
    }

    .hibo-home-bean-header__stores span {
        display: none;
    }
}

@media (max-width: 380px) {
    .hibo-home-bean-header__logo img {
        max-width: 112px;
    }

    .hibo-home-bean-action,
    body#index.hibo-home-header-active
    .hibo-home-bean-header__menu .hibo-menu-toggle {
        width: 36px !important;
        height: 36px !important;
        flex-basis: 36px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hibo-home-bean-header,
    .hibo-home-bean-header__search-panel,
    .hibo-home-bean-action,
    .hibo-home-bean-header__utility {
        transition: none !important;
    }
}

@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
    .hibo-home-bean-header__mainbar {
        background: #fff;
    }
}

/* ==========================================================
   v1.1.1 - Desktop inline search
   Keep native Hummingbird Quick Search visible in free space.
   Mobile/tablet-small keeps the round search toggle.
   ========================================================== */
@media (min-width: 992px) {
    .hibo-home-bean-header__mainbar {
        grid-template-columns:
            minmax(150px, 190px)
            minmax(0, 1fr)
            clamp(220px, 22vw, 330px)
            auto;
        gap: 14px;
    }

    .hibo-home-bean-header__logo {
        grid-column: 1;
        grid-row: 1;
    }

    .hibo-home-bean-header__menu {
        grid-column: 2;
        grid-row: 1;
    }

    .hibo-home-bean-header__search-panel {
        position: relative;
        top: auto;
        right: auto;
        left: auto;
        z-index: 40;
        grid-column: 3;
        grid-row: 1;
        display: flex;
        visibility: visible;
        width: 100%;
        min-width: 0;
        min-height: 44px;
        align-items: center;
        opacity: 1;
        pointer-events: auto;
        transform: none;
        transition: none;
    }

    .hibo-home-bean-header__actions {
        grid-column: 4;
        grid-row: 1;
    }

    /* Search is already visible, so the extra round magnifier is unnecessary. */
    .hibo-home-bean-action--search {
        display: none !important;
    }

    .hibo-home-bean-header__search-slot > #ps_searchbar .ps-searchbar__form {
        min-height: 44px !important;
        border-color: #dedede !important;
        box-shadow: none !important;
    }

    .hibo-home-bean-header__search-slot > #ps_searchbar .ps-searchbar__form:focus-within {
        border-color: var(--hibo-home-accent) !important;
        box-shadow: 0 0 0 3px color-mix(in srgb, var(--hibo-home-accent) 12%, transparent) !important;
    }

    .hibo-home-bean-header__search-slot > #ps_searchbar .ps-searchbar__input {
        min-height: 42px !important;
        padding: 8px 40px 8px 43px !important;
        font-size: 13px !important;
    }

    .hibo-home-bean-header__search-slot > #ps_searchbar .ps-searchbar__magnifier {
        left: 14px !important;
    }

    .hibo-home-bean-header__search-slot > #ps_searchbar .ps-searchbar__clear {
        right: 10px !important;
    }

    .hibo-home-bean-header__search-slot > #ps_searchbar .ps-searchbar__dropdown {
        top: calc(100% + 7px) !important;
        min-width: 340px !important;
        width: min(440px, 42vw) !important;
        right: 0 !important;
        left: auto !important;
    }
}

/* Medium desktop: preserve menu space while still showing direct search. */
@media (min-width: 992px) and (max-width: 1199px) {
    .hibo-home-bean-header__mainbar {
        grid-template-columns:
            minmax(125px, 145px)
            minmax(0, 1fr)
            minmax(190px, 230px)
            auto;
        gap: 9px;
    }

    .hibo-home-bean-header__search-panel {
        right: auto;
        left: auto;
    }

    .hibo-home-bean-header__search-slot > #ps_searchbar .ps-searchbar__input {
        padding-left: 40px !important;
        font-size: 12.5px !important;
    }
}

/* Small tablet: use the existing popup search so navigation does not get squeezed. */
@media (min-width: 768px) and (max-width: 991px) {
    .hibo-home-bean-header__mainbar {
        grid-template-columns: minmax(125px, 150px) minmax(0,1fr) auto;
    }

    .hibo-home-bean-header__search-panel {
        position: absolute;
        top: 8px;
        right: 108px;
        left: 165px;
        grid-column: auto;
        grid-row: auto;
        visibility: hidden;
        opacity: 0;
        pointer-events: none;
        transform: translateY(-5px) scale(.985);
    }

    .hibo-home-bean-header.is-search-open .hibo-home-bean-header__search-panel {
        visibility: visible;
        opacity: 1;
        pointer-events: auto;
        transform: translateY(0) scale(1);
    }

    .hibo-home-bean-action--search {
        display: grid !important;
    }
}

/* ==========================================================
   v1.1.2 - Robust mobile search tap
   Make the search trigger win over mobile menu/theme handlers and
   show Quick Search as a floating panel directly below the main bar.
   ========================================================== */
@media (max-width: 767px) {
    .hibo-home-bean-header__actions {
        position: relative;
        z-index: 120 !important;
        pointer-events: auto !important;
    }

    .hibo-home-bean-action--search {
        position: relative;
        z-index: 121 !important;
        display: grid !important;
        pointer-events: auto !important;
        touch-action: manipulation;
        -webkit-tap-highlight-color: transparent;
    }

    .hibo-home-bean-header__search-panel {
        position: fixed !important;
        top: var(--hibo-mobile-search-top, 104px) !important;
        right: 8px !important;
        left: 8px !important;
        z-index: 100980 !important;
        display: flex !important;
        visibility: hidden !important;
        width: auto !important;
        min-height: 54px !important;
        padding: 6px !important;
        align-items: center !important;
        border: 1px solid rgba(0,0,0,.08) !important;
        border-radius: 17px !important;
        background: rgba(255,255,255,.995) !important;
        box-shadow: 0 16px 42px rgba(0,0,0,.22) !important;
        opacity: 0 !important;
        pointer-events: none !important;
        transform: translateY(-6px) scale(.985) !important;
        transform-origin: top center !important;
        transition: opacity .16s ease, transform .16s ease, visibility 0s linear .16s !important;
    }

    .hibo-home-bean-header.is-search-open .hibo-home-bean-header__search-panel {
        visibility: visible !important;
        opacity: 1 !important;
        pointer-events: auto !important;
        transform: translateY(0) scale(1) !important;
        transition: opacity .16s ease, transform .16s ease, visibility 0s linear 0s !important;
    }

    .hibo-home-bean-header__search-slot,
    .hibo-home-bean-header__search-slot > #ps_searchbar {
        width: 100% !important;
        min-width: 0 !important;
        pointer-events: auto !important;
    }

    .hibo-home-bean-header__search-slot > #ps_searchbar .ps-searchbar__form {
        min-height: 48px !important;
        border-radius: 13px !important;
        box-shadow: none !important;
    }

    .hibo-home-bean-header__search-slot > #ps_searchbar .ps-searchbar__input {
        min-height: 46px !important;
        font-size: 16px !important; /* avoids iOS auto zoom on focus */
        pointer-events: auto !important;
        -webkit-user-select: text !important;
        user-select: text !important;
    }

    .hibo-home-bean-header__search-slot > #ps_searchbar .ps-searchbar__dropdown {
        z-index: 101000 !important;
        max-height: min(360px, 50dvh) !important;
    }
}


/* ==========================================================
   v1.1.3 - Native mobile search switch + cache-safe asset
   A real checkbox/label performs the tap without JS click dependence.
   ========================================================== */
.hibo-home-search-switch {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    margin: -1px !important;
    padding: 0 !important;
    overflow: hidden !important;
    clip: rect(0 0 0 0) !important;
    clip-path: inset(50%) !important;
    white-space: nowrap !important;
    border: 0 !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

@media (max-width: 991px) {
    .hibo-home-bean-header__actions {
        position: relative !important;
        z-index: 100920 !important;
    }

    .hibo-home-bean-action--search {
        position: relative !important;
        z-index: 100921 !important;
        pointer-events: auto !important;
        touch-action: manipulation !important;
        -webkit-user-select: none !important;
        user-select: none !important;
    }

    /* CSS-only fallback. Works immediately from the label tap. */
    .hibo-home-search-switch:checked ~ .hibo-home-bean-header__search-panel {
        visibility: visible !important;
        opacity: 1 !important;
        pointer-events: auto !important;
        transform: translateY(0) scale(1) !important;
        transition: opacity .16s ease, transform .16s ease, visibility 0s linear 0s !important;
    }
}

/* ==========================================================
   v1.1.4 - Mobile search reliability
   Mobile magnifier is a real link to PrestaShop Search.
   The inline Quick Search remains desktop-only.
   ========================================================== */
@media (max-width: 991px) {
    .hibo-home-bean-action--search {
        position: relative !important;
        z-index: 200000 !important;
        display: grid !important;
        pointer-events: auto !important;
        cursor: pointer !important;
        touch-action: manipulation !important;
    }

    .hibo-home-bean-header__search-panel {
        display: none !important;
    }
}

/* ==========================================================
   v1.1.5 - TRUE mobile Quick Search
   The magnifier opens the real Hummingbird #ps_searchbar under
   the rounded header. It does not navigate to /search first.
   ========================================================== */
@media (max-width: 991px) {
    .hibo-home-bean-header__mainbar {
        overflow: visible !important;
    }

    .hibo-home-bean-header__actions {
        position: relative !important;
        z-index: 220 !important;
        pointer-events: auto !important;
    }

    .hibo-home-bean-action--search {
        position: relative !important;
        z-index: 221 !important;
        display: grid !important;
        pointer-events: auto !important;
        touch-action: manipulation;
        -webkit-tap-highlight-color: transparent;
    }

    .hibo-home-bean-header__search-panel {
        position: absolute !important;
        top: calc(100% + 8px) !important;
        right: 0 !important;
        left: 0 !important;
        z-index: 1000 !important;
        display: block !important;
        visibility: hidden !important;
        width: 100% !important;
        min-width: 0 !important;
        min-height: 0 !important;
        padding: 7px !important;
        border: 1px solid rgba(0,0,0,.08) !important;
        border-radius: 16px !important;
        background: #fff !important;
        box-shadow: 0 16px 42px rgba(0,0,0,.22) !important;
        opacity: 0 !important;
        pointer-events: none !important;
        transform: translateY(-8px) !important;
        transform-origin: top center !important;
        transition: opacity .16s ease, transform .16s ease, visibility 0s linear .16s !important;
    }

    .hibo-home-bean-header.is-search-open .hibo-home-bean-header__search-panel {
        visibility: visible !important;
        opacity: 1 !important;
        pointer-events: auto !important;
        transform: translateY(0) !important;
        transition: opacity .16s ease, transform .16s ease, visibility 0s linear 0s !important;
    }

    .hibo-home-bean-header__search-slot,
    .hibo-home-bean-header__search-slot > #ps_searchbar,
    .hibo-home-bean-header__search-slot > #ps_searchbar .ps-searchbar__form {
        width: 100% !important;
        min-width: 0 !important;
        max-width: none !important;
        pointer-events: auto !important;
    }

    .hibo-home-bean-header__search-slot > #ps_searchbar .ps-searchbar__form {
        min-height: 48px !important;
        margin: 0 !important;
        border: 1px solid #dedede !important;
        border-radius: 12px !important;
        background: #fff !important;
        box-shadow: none !important;
    }

    .hibo-home-bean-header__search-slot > #ps_searchbar .ps-searchbar__form:focus-within {
        border-color: var(--hibo-home-accent) !important;
        box-shadow: 0 0 0 3px rgba(121,216,75,.16) !important;
    }

    .hibo-home-bean-header__search-slot > #ps_searchbar .ps-searchbar__input {
        display: block !important;
        visibility: visible !important;
        width: 100% !important;
        min-height: 46px !important;
        margin: 0 !important;
        padding: 8px 42px 8px 44px !important;
        border: 0 !important;
        outline: 0 !important;
        background: transparent !important;
        color: #222 !important;
        font-size: 16px !important;
        line-height: 1.25 !important;
        opacity: 1 !important;
        pointer-events: auto !important;
        -webkit-user-select: text !important;
        user-select: text !important;
    }

    .hibo-home-bean-header__search-slot > #ps_searchbar .ps-searchbar__dropdown {
        top: calc(100% + 7px) !important;
        right: 0 !important;
        left: 0 !important;
        z-index: 1100 !important;
        width: 100% !important;
        min-width: 0 !important;
        max-height: min(390px, 52dvh) !important;
        overflow-y: auto !important;
    }

    body.hibo-home-mobile-search-open .hibo-home-bean-header {
        z-index: 100900 !important;
    }
}
