/* Header et drawer globaux HEOP, mobile-first. */
:root {
    --hp-ink: var(--text);
    --hp-muted: var(--muted);
    --hp-soft: var(--bg);
    --hp-line: var(--line);
    --hp-orange: var(--accent);
    --hp-green: var(--brand);
    --hp-green-soft: var(--brand-soft);
    --hp-page-x: 14px;
    --hp-space-1: clamp(3px, .8vw, 5px);
    --hp-space-2: clamp(6px, 1.6vw, 9px);
    --hp-space-3: clamp(10px, 2.7vw, 14px);
    --hp-space-4: clamp(14px, 3.8vw, 18px);
    --hp-icon-xs: clamp(16px, 4.3vw, 19px);
}

body .site-header {
    position: sticky;
    top: 0;
    z-index: 120;
    padding: 0;
    border: 0;
    border-bottom: 1px solid rgba(223, 212, 195, .62);
    background: rgba(247, 244, 239, .86);
    box-shadow: 0 1px 0 rgba(255, 253, 247, .4);
    backdrop-filter: blur(12px) saturate(1.04);
    transition: background-color 220ms ease, border-color 220ms ease, box-shadow 220ms ease, backdrop-filter 220ms ease;
}

body.is-scrolled .site-header {
    border-bottom-color: rgba(223, 212, 195, .82);
    background: rgba(255, 253, 247, .95);
    box-shadow: 0 8px 24px rgba(27, 29, 24, .075);
    backdrop-filter: blur(16px) saturate(1.1);
}

body .site-header__inner {
    display: grid;
    gap: 0;
    width: min(var(--page-max), calc(100% - (var(--page-gutter) * 2)));
    max-width: none;
    margin-inline: auto;
    transition: transform 220ms ease;
}

body.home-page .site-header__inner {
    width: min(1640px, calc(100% - (var(--page-gutter) * 2)));
}

body.is-scrolled .site-header__inner {
    transform: translateY(-1px);
}

body .site-header__bar-top {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr) auto;
    align-items: center;
    gap: 8px;
    min-height: 42px;
    padding: calc(6px + env(safe-area-inset-top)) 0 4px;
}

body.home-page .site-header__bar-top {
    grid-template-columns: minmax(0, 1fr) auto;
}

body.home-page .site-header__hamburger {
    display: none;
}

body.home-page .site-header__bar-top .brand {
    grid-column: 1;
}

body.home-page .site-header__utils {
    grid-column: 2;
}

body .site-header__hamburger {
    grid-column: 1;
    grid-row: 1;
    width: 44px;
    min-width: 44px;
    height: 44px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: var(--hp-ink);
}

body .site-hamburger-icon {
    width: 20px;
    height: 20px;
}

body .site-header__bar-top .brand {
    grid-column: 2;
    grid-row: 1;
    justify-self: start;
    min-width: 0;
    min-height: 30px;
    padding: 0;
}

body .site-header__bar-top .heop-logo {
    width: 82px;
    max-width: 100%;
    height: auto;
}

body .site-header__utils {
    display: flex;
    grid-column: 3;
    grid-row: 1;
    align-items: center;
    gap: 9px;
}

body .site-audience-switch {
    display: none;
}

body .site-util {
    display: grid;
    min-width: 44px;
    max-width: 50px;
    min-height: 44px;
    justify-items: center;
    gap: 1px;
    padding: 0;
    color: var(--hp-ink);
}

body .site-util-form {
    display: grid;
    margin: 0;
    padding: 0;
}

body .site-util-button {
    border: 0;
    background: transparent;
    font: inherit;
    cursor: pointer;
}

body .site-util:hover,
body .site-util-account.is-authenticated {
    color: var(--hp-orange);
    text-decoration: none;
}

body .site-util-icon {
    position: relative;
    display: inline-flex;
    width: 17px;
    height: 17px;
    align-items: center;
    justify-content: center;
    overflow: visible;
}

body .site-header-svg {
    width: 100%;
    height: 100%;
}

body .site-util-label {
    display: block;
    width: 100%;
    max-width: 50px;
    overflow: hidden;
    color: currentColor;
    font-size: .4rem;
    font-weight: 780;
    line-height: 1;
    text-align: center;
    text-overflow: ellipsis;
    white-space: nowrap;
}

body .site-util-cart {
    min-width: 25px;
}

body .site-util-cart .site-util-label {
    display: none;
}

@media (max-width: 359px) {
    body.site-surface-public .site-header__utils {
        gap: 5px;
    }

    body.site-surface-public .site-util-location .site-util-label,
    body.site-surface-public .site-util-favorites .site-util-label,
    body.site-surface-public .site-util-account .site-util-label {
        display: none;
    }
}

body.site-surface-intranet .site-header__utils {
    gap: 7px;
}

body.site-surface-intranet .site-util {
    min-width: 28px;
    max-width: 44px;
}

body.site-surface-intranet .site-util-label {
    max-width: 44px;
}

body.site-surface-intranet .site-util-auth {
    color: var(--hp-orange);
}

body .site-util-badge {
    position: absolute;
    top: -4px;
    right: -5px;
    display: inline-flex;
    min-width: 14px;
    height: 14px;
    align-items: center;
    justify-content: center;
    padding: 0 3px;
    border-radius: 999px;
    background: var(--hp-orange);
    color: #FFFDF7;
    font-size: .44rem;
    font-weight: 900;
    line-height: 1;
    box-shadow: 0 4px 10px rgba(200, 97, 56, .28);
}

body .site-header__bar-search {
    grid-column: 1 / -1;
    grid-row: 2;
    padding: 5px 0 9px;
}

body .site-search {
    position: relative;
    display: flex;
    width: 100%;
    align-items: center;
}

body .site-search__input {
    box-sizing: border-box;
    width: 100%;
    min-height: 44px;
    min-width: 0;
    padding: 0 46px 0 16px;
    border: 1px solid var(--hp-line);
    border-radius: 20px;
    background: rgba(255, 253, 247, .9);
    color: var(--hp-ink);
    font-size: .82rem;
    font-weight: 650;
    box-shadow: inset 0 0 0 1px rgba(255, 253, 247, .72), 0 8px 20px rgba(27, 29, 24, .04);
    transition: background-color 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

body.is-scrolled .site-search__input {
    border-color: rgba(223, 212, 195, .9);
    background: rgba(255, 253, 247, .96);
    box-shadow: 0 8px 22px rgba(27, 29, 24, .055), inset 0 0 0 1px rgba(255, 253, 247, .72);
}

body .site-search__input::placeholder {
    color: #5F665D;
}

body .site-search__indicator {
    position: absolute;
    right: 42px;
    top: 50%;
    width: 14px;
    height: 14px;
    border: 2px solid rgba(200, 97, 56, .2);
    border-top-color: var(--hp-orange);
    border-radius: 50%;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-50%);
}

body .site-search__indicator.htmx-request,
body .site-search.htmx-request .site-search__indicator,
body .site-search.is-autocomplete-loading .site-search__indicator {
    opacity: 1;
    animation: heop-spin 700ms linear infinite;
}

@keyframes heop-spin {
    to {
        transform: translateY(-50%) rotate(360deg);
    }
}

body .site-search__btn {
    position: absolute;
    right: 0;
    top: 50%;
    z-index: 3;
    display: inline-flex;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: var(--hp-orange);
    transform: translateY(-50%);
}

body .site-search__btn .site-search-icon {
    width: 17px;
    height: 17px;
}

body .site-search-suggestions[hidden] {
    display: none;
}

body .site-search-suggestions {
    position: absolute;
    top: calc(100% + 6px);
    right: 0;
    left: 0;
    z-index: 18;
    overflow: hidden;
    border: 1px solid rgba(223, 212, 195, .9);
    border-radius: 14px;
    background:
        radial-gradient(circle at 8% 0, rgba(200, 97, 56, .08), transparent 34%),
        rgba(255, 253, 247, .98);
    box-shadow: 0 18px 42px rgba(27, 29, 24, .14);
    backdrop-filter: blur(14px);
}

body .site-search-suggestions__inner {
    display: grid;
    gap: 1px;
    max-height: min(286px, 48svh);
    overflow: auto;
    padding: 6px;
}

body .site-search-suggestion {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 2px 8px;
    padding: 8px 9px;
    border-radius: 10px;
    color: var(--hp-ink);
    text-decoration: none;
}

body .site-search-suggestion:hover,
body .site-search-suggestion.is-active {
    background: rgba(223, 232, 220, .58);
    text-decoration: none;
}

body .site-search-suggestion__kind {
    grid-column: 1 / -1;
    color: var(--hp-orange);
    font-size: .5rem;
    font-weight: 900;
    letter-spacing: 0;
    line-height: 1;
    text-transform: uppercase;
}

body .site-search-suggestion strong {
    overflow: hidden;
    color: var(--hp-ink);
    font-size: .72rem;
    font-weight: 900;
    line-height: 1.1;
    text-overflow: ellipsis;
    white-space: nowrap;
}

body .site-search-suggestion small {
    grid-column: 1 / -1;
    overflow: hidden;
    color: var(--hp-muted);
    font-size: .6rem;
    font-weight: 650;
    line-height: 1.15;
    text-overflow: ellipsis;
    white-space: nowrap;
}

body .site-search-suggestion__price {
    align-self: center;
    color: var(--hp-orange);
    font-size: .66rem;
    font-weight: 900;
    white-space: nowrap;
}

body .site-search-suggestions__empty {
    margin: 0;
    padding: 10px;
    color: var(--hp-muted);
    font-size: .68rem;
    font-weight: 700;
}

.site-nav-drawer[hidden] {
    display: none;
}

.site-desktop-nav {
    display: none;
}

.site-nav-drawer {
    position: fixed;
    inset: 0;
    z-index: 200;
    min-height: 100vh;
    min-height: 100dvh;
    pointer-events: none;
}

.site-nav-drawer:not([hidden]) {
    pointer-events: auto;
}

.site-nav-drawer__scrim {
    position: absolute;
    inset: 0;
    opacity: 0;
    background: linear-gradient(90deg, rgba(27, 29, 24, .36), rgba(27, 29, 24, .58)), rgba(27, 29, 24, .28);
    backdrop-filter: blur(0);
    transition: opacity 260ms ease, backdrop-filter 260ms ease;
}

.site-nav-drawer__panel {
    position: relative;
    isolation: isolate;
    display: grid;
    width: min(74vw, 296px);
    min-width: min(74vw, 258px);
    height: 100vh;
    height: 100dvh;
    max-height: 100dvh;
    align-content: start;
    gap: 8px;
    overflow: hidden auto;
    padding: calc(8px + env(safe-area-inset-top)) 10px 12px;
    border-right: 1px solid rgba(223, 212, 195, .86);
    border-radius: 0 20px 20px 0;
    background:
        radial-gradient(circle at 20% 0, rgba(200, 97, 56, .1), transparent 32%),
        linear-gradient(180deg, rgba(255, 250, 242, .98), rgba(255, 253, 247, .97) 46%, rgba(248, 242, 232, .97));
    box-shadow: 24px 0 56px rgba(27, 29, 24, .24);
    transform: translateX(-104%) scale(.982);
    transition: transform 310ms cubic-bezier(.18, .9, .18, 1), box-shadow 310ms ease;
    will-change: transform;
}

.site-nav-drawer.is-open .site-nav-drawer__scrim {
    opacity: 1;
    backdrop-filter: blur(10px);
}

.site-nav-drawer.is-open .site-nav-drawer__panel {
    transform: translateX(0) scale(1);
}

.site-nav-drawer.is-closing .site-nav-drawer__scrim {
    opacity: 0;
    backdrop-filter: blur(0);
}

.site-nav-drawer.is-closing .site-nav-drawer__panel {
    transform: translateX(-104%) scale(.982);
}

.site-nav-drawer__head {
    position: sticky;
    top: 0;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 34px;
    padding-bottom: 5px;
    background: linear-gradient(180deg, rgba(255, 248, 236, .98), rgba(255, 248, 236, .76));
    backdrop-filter: blur(14px);
}

.site-nav-drawer__brand .heop-logo {
    width: 76px;
}

.site-nav-drawer__close {
    width: 28px;
    height: 28px;
    min-height: 28px;
    padding: 0;
    border: 1px solid rgba(223, 212, 195, .9);
    border-radius: 999px;
    background: #FFFDF7;
    color: var(--hp-ink);
    box-shadow: 0 8px 18px rgba(27, 29, 24, .08);
    transition: transform 180ms ease, background 180ms ease;
}

.site-nav-drawer__close:hover {
    background: #FFF8EC;
    transform: rotate(8deg);
}

.site-nav-drawer__nearby,
.site-nav-drawer__join {
    position: relative;
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr) 18px;
    gap: 0 9px;
    align-items: center;
    min-height: 46px;
    padding: 7px 8px;
    border: 1px solid var(--hp-line);
    border-radius: 13px;
    color: var(--hp-ink);
    background: rgba(255, 253, 247, .76);
    box-shadow: 0 10px 26px rgba(27, 29, 24, .055);
    text-decoration: none;
    opacity: 0;
    transform: translateX(-8px);
}

.site-nav-drawer__group {
    overflow: hidden;
    border-radius: 10px;
    opacity: 0;
    transform: translateX(-8px);
    transition: opacity 170ms ease, transform 170ms ease;
}

.site-nav-drawer__group-summary {
    position: relative;
    display: grid;
    grid-template-columns: 30px minmax(0, 1fr) 18px;
    gap: 8px;
    min-height: 36px;
    align-items: center;
    padding: 4px 6px;
    border-radius: 10px;
    color: var(--hp-ink);
    cursor: pointer;
    list-style: none;
    transition: color 170ms ease, background 170ms ease, transform 170ms ease;
}

.site-nav-drawer__group-summary::-webkit-details-marker {
    display: none;
}

.site-nav-drawer__group-summary:hover,
.site-nav-drawer__group.is-active > .site-nav-drawer__group-summary {
    color: var(--hp-orange);
    background: linear-gradient(90deg, rgba(200, 97, 56, .1), rgba(255, 253, 247, .5));
}

.site-nav-drawer__group[open] > .site-nav-drawer__group-summary {
    color: var(--hp-orange);
}

.site-nav-drawer__group[open] .site-nav-drawer__group-chevron {
    transform: rotate(90deg);
}

.site-nav-drawer__group-links {
    display: grid;
    gap: 1px;
    padding: 2px 0 5px 38px;
}

.site-nav-drawer__link-icon {
    display: inline-flex;
    width: 30px;
    height: 30px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #245A3B;
    background: rgba(223, 232, 220, .78);
}

.site-nav-drawer__link-content {
    display: grid;
    min-width: 0;
    gap: 2px;
}

.site-nav-drawer__nearby strong,
.site-nav-drawer__join strong,
.site-nav-drawer__link strong,
.site-nav-drawer__group-summary strong,
.site-nav-drawer__sublink strong {
    overflow: hidden;
    color: currentColor;
    font-size: .72rem;
    font-weight: 900;
    line-height: 1.08;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.site-nav-drawer__nearby small,
.site-nav-drawer__join small,
.site-nav-drawer__group-summary small {
    display: block;
    overflow: hidden;
    color: var(--hp-muted);
    font-size: .58rem;
    font-weight: 620;
    line-height: 1.12;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.site-nav-drawer__links {
    display: grid;
    gap: 1px;
    margin-block: 1px;
    padding-block: 2px;
    border-block: 1px solid rgba(223, 212, 195, .58);
}

.site-nav-drawer__link {
    position: relative;
    display: grid;
    grid-template-columns: 30px minmax(0, 1fr) 18px;
    gap: 8px;
    min-height: 34px;
    align-items: center;
    padding: 3px 6px;
    border-radius: 10px;
    color: var(--hp-ink);
    text-decoration: none;
    opacity: 0;
    transform: translateX(-8px);
    transition: color 170ms ease, background 170ms ease, transform 170ms ease;
}

.site-nav-drawer__sublink {
    position: relative;
    display: grid;
    grid-template-columns: 22px minmax(0, 1fr) 14px;
    gap: 7px;
    min-height: 28px;
    align-items: center;
    padding: 2px 4px;
    border-radius: 8px;
    color: var(--hp-muted);
    text-decoration: none;
    transition: color 170ms ease, background 170ms ease, transform 170ms ease;
}

.site-nav-drawer__sublink .site-nav-drawer__link-icon {
    width: 22px;
    height: 22px;
    background: rgba(223, 232, 220, .48);
}

.site-nav-drawer__sublink strong {
    font-size: .66rem;
    font-weight: 840;
}

.site-nav-drawer__sublink .site-nav-drawer__chevron {
    width: 12px;
    height: 12px;
}

.site-nav-drawer__link::before {
    position: absolute;
    inset-block: 8px;
    left: 2px;
    width: 3px;
    border-radius: 999px;
    background: var(--hp-orange);
    content: "";
    opacity: 0;
    transform: scaleY(.4);
    transition: opacity 160ms ease, transform 160ms ease;
}

.site-nav-drawer__nearby.is-active,
.site-nav-drawer__link.is-active,
.site-nav-drawer__sublink.is-active {
    color: var(--hp-orange);
    background: linear-gradient(90deg, rgba(200, 97, 56, .12), rgba(255, 253, 247, .6));
}

.site-nav-drawer__nearby.is-active .site-nav-drawer__link-icon,
.site-nav-drawer__link.is-active .site-nav-drawer__link-icon,
.site-nav-drawer__sublink.is-active .site-nav-drawer__link-icon {
    color: var(--hp-orange);
    background: rgba(200, 97, 56, .1);
}

.site-nav-drawer.is-open :is(.site-nav-drawer__nearby, .site-nav-drawer__group, .site-nav-drawer__link, .site-nav-drawer__join, .site-nav-drawer__login) {
    opacity: 1;
    transform: translateX(0);
    transition-delay: calc(var(--drawer-item-index, 0) * 18ms);
}

.site-nav-drawer__link:hover,
.site-nav-drawer__sublink:hover,
.site-nav-drawer__link.is-active,
.site-nav-drawer__sublink.is-active,
.site-nav-drawer__link.is-pressed,
.site-nav-drawer__sublink.is-pressed {
    color: var(--hp-orange);
    transform: translateX(2px);
}

.site-nav-drawer__nearby.is-pressed,
.site-nav-drawer__join.is-pressed,
.site-nav-drawer__login.is-pressed {
    transform: translateX(1px) scale(.99);
}

.site-nav-drawer__link.is-active::before {
    opacity: 1;
    transform: scaleY(1);
}

.site-nav-drawer__link-icon .ui-icon {
    width: 17px;
    height: 17px;
}

.site-nav-drawer__sublink .site-nav-drawer__link-icon .ui-icon {
    width: 13px;
    height: 13px;
}

.site-nav-drawer__nearby .site-nav-drawer__link-icon .ui-icon,
.site-nav-drawer__join .site-nav-drawer__link-icon .ui-icon {
    width: 19px;
    height: 19px;
}

.site-nav-drawer__chevron {
    width: 14px;
    height: 14px;
}

.site-nav-drawer__chevron {
    grid-column: 3;
    grid-row: 1 / span 2;
    align-self: center;
    transition: transform 160ms ease;
}

.site-nav-drawer__nearby:hover .site-nav-drawer__chevron,
.site-nav-drawer__join:hover .site-nav-drawer__chevron,
.site-nav-drawer__link:hover .site-nav-drawer__chevron {
    transform: translateX(2px);
}

.site-nav-drawer__join {
    margin-top: 4px;
    background: linear-gradient(105deg, rgba(223, 232, 220, .82), rgba(255, 248, 236, .9));
}

.site-nav-drawer__login {
    display: inline-flex;
    min-height: 38px;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 2px;
    border: 0;
    border-radius: 12px;
    background: linear-gradient(135deg, #C86138, #C86138);
    color: #FFFDF7;
    font-size: .74rem;
    font-weight: 900;
    box-shadow: 0 14px 28px rgba(200, 97, 56, .22);
    opacity: 0;
    transform: translateX(-8px);
    transition: transform 170ms ease, box-shadow 170ms ease, opacity 170ms ease;
}

.site-nav-drawer__login:hover {
    transform: translateY(-1px);
    text-decoration: none;
    box-shadow: 0 16px 32px rgba(200, 97, 56, .25);
}

body.has-open-nav {
    overflow: hidden;
}

@media (min-width: 421px) {
    :root {
        --hp-space-1: clamp(4px, 1.1vw, 8px);
        --hp-space-2: clamp(8px, 2vw, 14px);
        --hp-space-3: clamp(14px, 3.2vw, 24px);
        --hp-space-4: clamp(16px, 3.8vw, 28px);
        --hp-icon-xs: clamp(19px, 5vw, 25px);
    }

    body .site-header__bar-top {
        grid-template-columns: clamp(34px, 8vw, 46px) minmax(0, 1fr) auto;
        gap: var(--hp-space-2);
        min-height: clamp(54px, 12vw, 68px);
        padding: calc(6px + env(safe-area-inset-top)) 0 5px;
    }

    body.home-page .site-header__bar-top {
        grid-template-columns: minmax(0, 1fr) auto;
    }

    body .site-header__hamburger {
        width: clamp(34px, 8vw, 46px);
        min-width: clamp(34px, 8vw, 46px);
        height: clamp(34px, 8vw, 46px);
        background: var(--hp-soft);
    }

    body .site-hamburger-icon {
        width: clamp(20px, 4.8vw, 26px);
        height: clamp(20px, 4.8vw, 26px);
    }

    body .site-header__bar-top .brand {
        min-height: clamp(34px, 8vw, 46px);
    }

    body .site-header__bar-top .heop-logo {
        width: clamp(96px, 23vw, 142px);
    }

    body .site-header__utils {
        align-items: flex-start;
        gap: var(--hp-space-2);
    }

    body.site-surface-intranet .site-header__utils {
        gap: 9px;
    }

    body .site-util {
        min-width: clamp(42px, 10vw, 62px);
        max-width: clamp(54px, 14vw, 108px);
        min-height: clamp(34px, 8vw, 46px);
        gap: var(--hp-space-1);
    }

    body .site-util-icon {
        width: var(--hp-icon-xs);
        height: var(--hp-icon-xs);
    }

    body .site-util-label {
        max-width: clamp(54px, 14vw, 108px);
        font-size: .5rem;
    }

    body.site-surface-intranet .site-util {
        min-width: clamp(38px, 8vw, 50px);
        max-width: clamp(48px, 11vw, 76px);
    }

    body.site-surface-intranet .site-util-label {
        max-width: clamp(48px, 11vw, 76px);
    }

    body .site-util-cart {
        min-width: clamp(34px, 8vw, 46px);
    }

    body .site-header__bar-search {
        padding: 6px 0 10px;
    }

    body .site-search__input {
        min-height: clamp(42px, 9vw, 52px);
        padding: 0 54px 0 18px;
        border-radius: clamp(18px, 4vw, 24px);
        font-size: .88rem;
        font-weight: 650;
    }

    body .site-search__indicator {
        right: 48px;
    }

    body .site-search__btn {
        right: 7px;
        width: 34px;
        height: 34px;
    }

    body .site-search__btn .site-search-icon {
        width: 18px;
        height: 18px;
    }

    .site-nav-drawer__panel {
        gap: 10px;
        width: min(70vw, 430px);
        min-width: min(70vw, 310px);
        padding: calc(14px + env(safe-area-inset-top)) clamp(14px, 3.8vw, 22px) 20px;
    }

    .site-nav-drawer__brand .heop-logo {
        width: 112px;
    }

    .site-nav-drawer__close {
        width: 38px;
        height: 38px;
        min-height: 38px;
    }

    .site-nav-drawer__nearby,
    .site-nav-drawer__join {
        grid-template-columns: 42px minmax(0, 1fr) 20px;
        gap: 0 12px;
        min-height: 54px;
        padding: 9px 10px;
        border-radius: 12px;
    }

    .site-nav-drawer__link-icon {
        width: 36px;
        height: 36px;
    }

    .site-nav-drawer__nearby .site-nav-drawer__link-icon .ui-icon,
    .site-nav-drawer__join .site-nav-drawer__link-icon .ui-icon {
        width: 20px;
        height: 20px;
    }

    .site-nav-drawer__nearby strong,
    .site-nav-drawer__join strong,
    .site-nav-drawer__link strong,
    .site-nav-drawer__group-summary strong {
        font-size: .84rem;
    }

    .site-nav-drawer__nearby small,
    .site-nav-drawer__join small,
    .site-nav-drawer__group-summary small {
        display: block;
        font-size: .66rem;
        line-height: 1.18;
    }

    .site-nav-drawer__link,
    .site-nav-drawer__group-summary {
        grid-template-columns: 30px minmax(0, 1fr) 18px;
        gap: 10px;
        min-height: 38px;
    }

    .site-nav-drawer__link .site-nav-drawer__link-icon,
    .site-nav-drawer__group-summary .site-nav-drawer__link-icon {
        width: 30px;
        height: 30px;
    }

    .site-nav-drawer__link .site-nav-drawer__link-icon .ui-icon,
    .site-nav-drawer__group-summary .site-nav-drawer__link-icon .ui-icon,
    .site-nav-drawer__chevron {
        width: 16px;
        height: 16px;
    }

    .site-nav-drawer__group-links {
        padding-left: 40px;
    }

    .site-nav-drawer__sublink {
        min-height: 30px;
    }

    .site-nav-drawer__sublink strong {
        font-size: .72rem;
    }

    .site-nav-drawer__login {
        min-height: 42px;
        gap: 10px;
        border-radius: 8px;
        font-size: .84rem;
    }
}

@media (min-width: 900px) {
    body.site-surface-public .site-audience-switch {
        display: inline-flex;
        align-items: center;
        padding: 3px;
        border: 1px solid rgba(37, 63, 45, .12);
        border-radius: 999px;
        background: rgba(255, 253, 248, .82);
    }

    body.site-surface-public .site-audience-switch a {
        min-height: 34px;
        display: inline-flex;
        align-items: center;
        padding: 0 12px;
        border-radius: 999px;
        color: var(--hp-muted);
        font-size: .72rem;
        font-weight: 800;
        text-decoration: none;
    }

    body.site-surface-public .site-audience-switch a.is-active {
        color: #fff;
        background: var(--hp-green);
    }

    body .site-header__inner {
        width: min(var(--page-max), calc(100% - (var(--page-gutter) * 2)));
        margin-inline: auto;
    }

    body .site-header__bar-top {
        grid-template-columns: 32px minmax(0, 1fr) auto;
        min-height: 58px;
        gap: 18px;
        padding: 9px 0 5px;
    }

    body.home-page .site-header__bar-top {
        grid-template-columns: minmax(0, 1fr) auto;
    }

    body .site-header__hamburger {
        width: 32px;
        min-width: 32px;
        height: 32px;
        background: transparent;
    }

    body .site-hamburger-icon {
        width: 24px;
        height: 24px;
    }

    body .site-header__bar-top .brand {
        min-height: 40px;
    }

    body .site-header__bar-top .heop-logo {
        width: 128px;
    }

    body .site-header__utils {
        align-items: center;
        gap: 22px;
    }

    body .site-util {
        min-width: 48px;
        max-width: 82px;
        min-height: 40px;
        gap: 3px;
    }

    body .site-util-icon {
        width: 22px;
        height: 22px;
    }

    body .site-util-label {
        max-width: 82px;
        font-size: .58rem;
        font-weight: 800;
    }

    body .site-util-cart {
        min-width: 36px;
    }

    body .site-header__bar-search {
        padding: 8px 0 14px;
    }

    body .site-search__input {
        min-height: 46px;
        padding: 0 56px 0 18px;
        border-radius: 23px;
        font-size: .92rem;
        font-weight: 650;
    }

    body .site-search__indicator {
        right: 54px;
    }

    body .site-search__btn {
        right: 7px;
        width: 34px;
        height: 34px;
    }

    body .site-search__btn .site-search-icon {
        width: 18px;
        height: 18px;
    }
}

@media (min-width: 740px) and (max-width: 1160px) {
    body.home-page .site-header__bar-top {
        grid-template-columns: 108px minmax(180px, 1fr) auto;
        gap: 15px;
        min-height: 64px;
        padding: 8px 0;
    }

    body.home-page .site-header__bar-top .brand {
        grid-column: 1;
        grid-row: 1;
        min-height: 44px;
    }

    body.home-page .site-header__bar-top .heop-logo {
        width: 108px;
    }

    body.home-page .site-header__bar-search {
        grid-column: 2;
        grid-row: 1;
        padding: 0;
    }

    body.home-page .site-header__utils {
        grid-column: 3;
        grid-row: 1;
        gap: 12px;
    }

    body.home-page .site-util {
        min-width: 42px;
        max-width: 46px;
    }

    body.home-page .site-util-label {
        display: none;
    }

    body.home-page .site-search__input {
        min-height: 46px;
    }
}

@media (min-width: 1161px) {
    body.site-surface-public .site-header__bar-top {
        grid-template-columns: 152px minmax(280px, 1fr) auto;
        gap: 26px;
        min-height: 66px;
        padding: 10px 0 4px;
    }

    body.site-surface-public .site-header__hamburger {
        display: none;
    }

    body.site-surface-public .site-header__bar-top .brand {
        grid-column: 1;
        grid-row: 1;
        min-height: 46px;
        align-items: center;
    }

    body.site-surface-public .site-header__bar-top .heop-logo {
        width: 126px;
    }

    body.site-surface-public .site-header__bar-search {
        grid-column: 2;
        grid-row: 1;
        padding: 0;
    }

    body.site-surface-public .site-search__input {
        min-height: 50px;
        border-radius: 25px;
        font-size: .9rem;
    }

    body.site-surface-public .site-header__utils {
        grid-column: 3;
        grid-row: 1;
        gap: 14px;
    }

    body.site-surface-public .site-util {
        min-width: 52px;
        max-width: 78px;
    }

    body.site-surface-public .site-util-cart {
        display: inline-flex;
        width: auto;
        min-width: 96px;
        min-height: 44px;
        align-items: center;
        justify-content: center;
        gap: 8px;
        padding: 0 15px;
        border-radius: 999px;
        background: var(--hp-orange);
        color: #FFFDF7;
        box-shadow: 0 8px 18px rgba(200, 97, 56, .2);
    }

    body.site-surface-public .site-util-cart .site-util-label {
        display: block;
        width: auto;
        max-width: none;
        color: currentColor;
        font-size: .7rem;
    }

    body.site-surface-public .site-util-cart .site-util-badge {
        top: -8px;
        right: -10px;
        background: var(--hp-green);
    }

    body.site-surface-public .site-desktop-nav {
        display: flex;
        min-width: 0;
        align-items: center;
        gap: 7px;
        margin: 4px 0 10px;
    }

    body.site-surface-public .site-desktop-nav a {
        display: inline-flex;
        min-height: 38px;
        align-items: center;
        justify-content: center;
        gap: 6px;
        padding: 0 12px;
        border: 1px solid transparent;
        border-radius: 999px;
        color: var(--hp-ink);
        font-size: .72rem;
        font-weight: 820;
        text-decoration: none;
        white-space: nowrap;
        transition: color 180ms ease, background-color 180ms ease, border-color 180ms ease;
    }

    body.site-surface-public .site-desktop-nav a:hover,
    body.site-surface-public .site-desktop-nav a:focus-visible,
    body.site-surface-public .site-desktop-nav a.is-active {
        border-color: rgba(37, 63, 45, .12);
        color: var(--hp-green);
        background: rgba(223, 232, 220, .68);
    }

    body.site-surface-public .site-desktop-nav .ui-icon {
        width: 16px;
        height: 16px;
    }

    body.site-surface-public .site-desktop-nav__push {
        margin-left: auto;
    }

    body.site-surface-public .site-desktop-nav a.site-desktop-nav__pro {
        border-color: var(--hp-green);
        color: #FFFDF7;
        background: var(--hp-green);
    }

    body.site-surface-public .site-desktop-nav a.site-desktop-nav__pro:hover,
    body.site-surface-public .site-desktop-nav a.site-desktop-nav__pro:focus-visible,
    body.site-surface-public .site-desktop-nav a.site-desktop-nav__pro.is-active {
        border-color: var(--hp-orange);
        color: #FFFDF7;
        background: var(--hp-orange);
    }
}

@media (min-width: 1600px) {
    body.site-surface-public .site-header__bar-top {
        grid-template-columns: 164px minmax(360px, 1fr) auto;
        gap: 30px;
    }

    body.site-surface-public .site-header__bar-top .heop-logo {
        width: 134px;
    }

    body.site-surface-public .site-desktop-nav a {
        padding-inline: 15px;
        font-size: .76rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    body .site-header,
    body .site-header__inner,
    body .site-search__input,
    .site-nav-drawer__scrim,
    .site-nav-drawer__panel,
    .site-nav-drawer__group,
    .site-nav-drawer__group-summary,
    .site-nav-drawer__link,
    .site-nav-drawer__sublink,
    .site-nav-drawer__chevron,
    .site-nav-drawer__login,
    body.site-surface-public .site-desktop-nav a {
        transition: none;
    }
}
