/* My Profile (revamp) — design tokens, named after the Figma variables they come from
   (DWAO Design Deliverables › Profile New). Scoped to the component + its body-level overlays. */
.bhp,
.bhp-modal,
.bhp-toast-region {
    --bhp-font: Archivo, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --bhp-font-display: "Playfair Display", Georgia, serif;

    --bhp-page-bg: #F2F3F5;          /* Neutrals/100 */
    --bhp-white: #FFFFFF;
    --bhp-n50: #FAFAFA;              /* neutral/50 */
    --bhp-n100: #F5F5F5;             /* neutral/100 */
    --bhp-n200: #E5E5E5;             /* neutral/200 */
    --bhp-n300: #D4D4D4;             /* neutral/300 */
    --bhp-n400: #A3A3A3;             /* neutral/400 */
    --bhp-n600: #525252;             /* neutral/600 */
    --bhp-n700: #404040;             /* neutral/700 */
    --bhp-n800: #262626;             /* neutral/800 */
    --bhp-n900: #171717;             /* neutral/900 */
    --bhp-n950: #0A0A0A;             /* neutral/950 */

    --bhp-ink: #141517;              /* Neutrals/900 */
    --bhp-ink-2: #4D4D4D;            /* Neutrals/700 */
    --bhp-ink-3: #4F5466;            /* Neutrals/600 */
    --bhp-grey-900: #232426;         /* Neutral/color-grey-900 */
    --bhp-heading: #3C3C3C;          /* Neutral/800 */
    --bhp-field-border: #E6E7EB;     /* Neutrals/200 */
    --bhp-chip: #F3F3F3;             /* Neutrals/50 */
    --bhp-rule: #DEE2E6;

    --bhp-btn-dark: #202129;
    --bhp-success: #00993D;
    --bhp-success-bg: linear-gradient(180deg, #E1F4E9 0%, #F1FFF7 100%);
    --bhp-warning: #C77700;
    --bhp-warning-bg: linear-gradient(180deg, #FCEFD9 0%, #FFF8EC 100%);
    --bhp-error: #FF474E;
    --bhp-error-bg: linear-gradient(180deg, #F4E1E1 0%, #FFF1F1 100%);
    --bhp-accent: #DB7F41;           /* header "Selected" ring */
    --bhp-overlay: rgba(31, 36, 45, .6); /* Neutral Colour/900 @ 60% */

    --bhp-radius-card: 12px;
    --bhp-radius-sm: 8px;
    --bhp-radius-pill: 60px;
    --bhp-sidebar-w: 320px;
    --bhp-gap: 16px;
    /* --bhp-header-offset: height of the absolutely-positioned header-revamp; measured and set on
       <html> by profile-app.js (0 when the page uses an in-flow header). */

    font-family: var(--bhp-font);
    color: var(--bhp-ink);
}

.bhp *,
.bhp *::before,
.bhp *::after,
.bhp-modal *,
.bhp-modal *::before,
.bhp-modal *::after {
    box-sizing: border-box;
}

.bhp-visually-hidden {
    position: absolute !important;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.bhp-icon {
    flex-shrink: 0;
    display: block;
}

html.bhp-no-scroll,
html.bhp-no-scroll body {
    overflow: hidden;
}

/* My Profile — page shell.
   Desktop (Figma 1440 frame): 100px gutters, 320px sidebar, 16px gap, 904px content, 24px below header.
   Tablet: narrower gutters/sidebar. Mobile (<768): one screen at a time, switched by [data-screen]. */
.bhp {
    background: var(--bhp-page-bg);
    min-height: 100vh;
    padding: calc(var(--bhp-header-offset, 0px) + 24px) 100px 64px;
}

.bhp__shell {
    display: grid;
    grid-template-columns: var(--bhp-sidebar-w) minmax(0, 1fr);
    gap: var(--bhp-gap);
    align-items: start;
    max-width: 1240px;
    margin: 0 auto;
}

.bhp__sidebar {
    position: sticky;
    top: 24px;
}

.bhp__content {
    min-width: 0;
}

.bhp-section {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.bhp-section__message {
    margin: 0;
    padding: 32px 24px;
    background: var(--bhp-white);
    border-radius: var(--bhp-radius-card);
    font-size: 14px;
    line-height: 22px;
    color: var(--bhp-ink-3);
    text-align: center;
}

.bhp-orders {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.bhp-wish-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

@media (max-width: 1279px) {
    .bhp {
        padding: calc(var(--bhp-header-offset, 0px) + 24px) 32px 56px;
    }
}

@media (max-width: 1023px) {
    .bhp {
        --bhp-sidebar-w: 280px;
        padding: calc(var(--bhp-header-offset, 0px) + 20px) 20px 48px;
    }
    .bhp-wish-grid {
        grid-template-columns: minmax(0, 1fr);
    }
}

/* ── Mobile: Figma MOBILE frames (360 wide) ── */
@media (max-width: 767px) {
    .bhp {
        padding: var(--bhp-header-offset, 0px) 0 0;
        min-height: 0;
    }
    .bhp__shell {
        display: block;
    }
    .bhp__sidebar {
        position: static;
    }
    .bhp[data-screen="menu"] .bhp__content,
    .bhp[data-screen="section"] .bhp__sidebar {
        display: none;
    }
    .bhp-section {
        gap: 16px;
        padding: 12px 12px 32px;      /* Figma mobile cards/search are 336px wide on 360 */
    }
    .bhp-orders {
        gap: 16px;
    }
    .bhp-wish-grid {
        gap: 12px;
    }
}

/* ActionButton — Figma "Button 1/2" + sidebar "Icon + Text" */
.bhp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin: 0;
    border: 1px solid transparent;
    font-family: var(--bhp-font);
    font-weight: 500;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
    transition: background-color .2s, border-color .2s, color .2s, box-shadow .2s;
    -webkit-tap-highlight-color: transparent;
}

.bhp-btn:focus-visible {
    outline: 2px solid var(--bhp-accent);
    outline-offset: 2px;
}

.bhp-btn--block {
    display: flex;
    width: 100%;
}

/* sizes — Figma strokes are "inside", so 1px borders come out of the padding to keep 56 / 44 / 38px */
.bhp-btn--lg {
    min-height: 56px;
    padding: 15px 24px;
    border-radius: var(--bhp-radius-pill);
    font-size: 16px;
    line-height: 24px;
}
.bhp-btn--md {
    min-height: 44px;
    padding: 9px 24px;
    border-radius: var(--bhp-radius-pill);
    font-size: 14px;
    line-height: 22px;
    gap: 12px;
}
.bhp-btn--sm {
    min-height: 38px;
    padding: 9px 16px;
    border-radius: var(--bhp-radius-pill);
    font-size: 12px;
    line-height: 18px;
    gap: 8px;
}

/* variants */
.bhp-btn--primary {
    background: var(--bhp-btn-dark);
    border-color: #E2CBFF1A;
    color: var(--bhp-white);
}
.bhp-btn--primary:hover {
    background: #000;
}
.bhp-btn--primary:disabled,
.bhp-btn--primary[disabled] {
    background: var(--bhp-n300);
    border-color: var(--bhp-n300);
    color: var(--bhp-white);
    cursor: not-allowed;
}

.bhp-btn--secondary {
    background: var(--bhp-white);
    border-color: var(--bhp-n400);
    color: var(--bhp-n800);
}
.bhp-btn--secondary:hover {
    border-color: var(--bhp-n800);
    background: var(--bhp-n50);
}
.bhp-btn--secondary .bhp-icon {
    color: #712CCB; /* Gradient/Primary arrow in "View Tracking" */
}

/* sidebar "Log out": radius 8, 1px #0A0A0A, padding 16, Archivo 600 14/22 */
.bhp-btn--outline {
    min-height: 56px;
    padding: 15px 16px;
    border-radius: var(--bhp-radius-sm);
    border-color: var(--bhp-n950);
    background: var(--bhp-white);
    color: var(--bhp-n900);
    font-size: 14px;
    line-height: 22px;
    font-weight: 600;
    gap: 12px;
}
.bhp-btn--outline:hover {
    background: var(--bhp-n100);
}

.bhp-btn--link {
    padding: 0;
    border: 0;
    background: none;
    color: var(--bhp-n800);
    font-size: 12px;
    line-height: 18px;
    text-decoration: underline;
    text-underline-offset: 2px;
}
.bhp-btn--link:hover {
    color: #000;
}

.bhp-btn.is-loading {
    position: relative;
    color: transparent !important;
    pointer-events: none;
}
.bhp-btn.is-loading .bhp-icon {
    visibility: hidden;
}
.bhp-btn.is-loading::after {
    content: "";
    position: absolute;
    width: 18px;
    height: 18px;
    border: 2px solid currentColor;
    border-color: rgba(255, 255, 255, .9) rgba(255, 255, 255, .9) rgba(255, 255, 255, .9) transparent;
    border-radius: 50%;
    animation: bhpSpin .7s linear infinite;
}
.bhp-btn--secondary.is-loading::after {
    border-color: var(--bhp-n800) var(--bhp-n800) var(--bhp-n800) transparent;
}

@keyframes bhpSpin {
    to { transform: rotate(360deg); }
}

/* Avatar — Figma "Gradient Icons" (62x62) */
.bhp-avatar {
    position: relative;
    width: var(--bhp-avatar-size, 62px);
    height: var(--bhp-avatar-size, 62px);
    flex-shrink: 0;
}

.bhp-avatar__circle {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    overflow: hidden;
    background: linear-gradient(180deg, #DDDDDD 0%, #FFFFFF 100%);
}

.bhp-avatar__silhouette {
    display: block;
    width: 100%;
    height: 100%;
    fill: #2B2B2B;
}

.bhp-avatar__img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.bhp-avatar__sparkle {
    position: absolute;
    top: -4px;
    right: -8px;
}

/* UserInfoCard — Figma "Name + CTA" (gap 6) + "Frame 2147226345" (gap 2) */
.bhp-user-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    width: 100%;
    text-align: center;
}

.bhp-user-info__name-row {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    max-width: 100%;
}

.bhp-user-info__name {
    margin: 0;
    font-family: var(--bhp-font);
    font-size: 20px;
    font-weight: 500;
    line-height: 132%;
    letter-spacing: 0;
    color: var(--bhp-ink);
    overflow-wrap: anywhere;
}

.bhp-user-info__edit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: none;
    color: var(--bhp-ink);
    cursor: pointer;
}
.bhp-user-info__edit:hover {
    background: var(--bhp-n100);
}
.bhp-user-info__edit:focus-visible {
    outline: 2px solid var(--bhp-accent);
}

.bhp-user-info__contact {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
}

.bhp-user-info__line {
    font-size: 12px;
    line-height: 18px;     /* Figma: 154%, rendered as 18px text boxes */
    color: var(--bhp-ink-2);
    text-decoration: none;
    overflow-wrap: anywhere;
}
.bhp-user-info__line:hover {
    color: var(--bhp-ink);
}

/* Mobile: name row is 21px tall (16px @ 132%) with a 12px gap to the pencil */
@media (max-width: 767px) {
    .bhp-user-info__name-row {
        gap: 12px;
    }
    .bhp-user-info__name {
        font-size: 16px;
    }
    /* Figma edit-03 is 16px: keep the 24px tap target without growing the 21px row */
    .bhp-user-info__edit {
        margin: -4px 0;
    }
}

/* ProfileHeader — Figma "Icon + Name": vertical, centred, gap 12 */
.bhp-profile-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    width: 100%;
}

/* Mobile "Main Nav" block: white, padding 16, 1px #F5F5F5 top rule; "Icon + Name" gap 8 */
@media (max-width: 767px) {
    .bhp-profile-header {
        gap: 8px;
        padding: 16px;
        background: var(--bhp-white);
        box-shadow: inset 0 1px 0 var(--bhp-n100);   /* Figma stroke is "inside": no extra height */
    }
}

/* NavItem — Figma "CTA Cell" Default / Hover / Selected
   Default : transparent, padding 10/16/10/32, icon chip #F5F5F5
   Hover   : #F5F5F5, 2px #E5E5E5 left bar, right radius 12, chip gets 1px #E5E5E5 border
   Selected: #F5F5F5, 2px #000 left bar, chip #525252 + white icon, title 600 #0A0A0A */
.bhp-nav-item {
    display: flex;
    align-items: center;
    gap: 20px;
    width: 100%;
    min-height: 62px;
    margin: 0;
    padding: 10px 16px 10px 32px;
    border: 0;
    border-radius: 0 var(--bhp-radius-card) var(--bhp-radius-card) 0;
    background: transparent;
    font-family: var(--bhp-font);
    text-align: left;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
    transition: background-color .15s, box-shadow .15s;
}

.bhp-nav-item:hover {
    background: var(--bhp-n100);
    box-shadow: inset 2px 0 0 var(--bhp-n200);
}

.bhp-nav-item.is-selected {
    background: var(--bhp-n100);
    box-shadow: inset 2px 0 0 #000;
}

.bhp-nav-item:focus-visible {
    outline: 2px solid var(--bhp-accent);
    outline-offset: -2px;
}

.bhp-nav-item__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    flex-shrink: 0;
    border-radius: 30px;
    background: var(--bhp-n100);
    box-shadow: inset 0 0 0 1px transparent;
    color: var(--bhp-n900);
    transition: background-color .15s, box-shadow .15s, color .15s;
}

.bhp-nav-item:hover .bhp-nav-item__icon {
    box-shadow: inset 0 0 0 1px var(--bhp-n200);
}

.bhp-nav-item.is-selected .bhp-nav-item__icon {
    background: var(--bhp-n600);
    box-shadow: none;
    color: var(--bhp-white);
}

.bhp-nav-item__text {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
    flex: 1;
}

.bhp-nav-item__title {
    font-size: 14px;
    font-weight: 500;
    line-height: 100%;
    color: var(--bhp-n900);
}

.bhp-nav-item--single .bhp-nav-item__title {
    font-weight: 400;
    color: var(--bhp-ink);
}

.bhp-nav-item__subtitle {
    font-size: 12px;
    font-weight: 400;
    line-height: 18px;
    color: var(--bhp-n600);
}

.bhp-nav-item.is-selected .bhp-nav-item__title {
    font-weight: 600;
    color: var(--bhp-n950);
}

.bhp-nav-item.is-selected .bhp-nav-item__subtitle {
    color: var(--bhp-n800);
}

.bhp-nav-item__chevron {
    display: none;
    color: var(--bhp-n600);
}

@media (max-width: 1023px) {
    .bhp-nav-item {
        padding-left: 20px;
        gap: 16px;
    }
}

/* Mobile "Main Profile" rows — Figma: 360 x 62, padding 10/16, #FAFAFA, icon+heading gap 16,
   42px chip #F5F5F5 with 1px #E5E5E5, title 500 14 #0A0A0A, subtitle 12/18 #262626, chevron right */
@media (max-width: 767px) {
    .bhp-nav-item,
    .bhp-nav-item:hover,
    .bhp-nav-item.is-selected {
        min-height: 62px;
        padding: 10px 16px;
        gap: 16px;
        border-radius: 0;
        background: var(--bhp-n50);
        box-shadow: none;
    }
    .bhp-nav-item:active {
        background: var(--bhp-n100);
    }
    .bhp-nav-item__icon,
    .bhp-nav-item.is-selected .bhp-nav-item__icon {
        background: var(--bhp-n100);
        box-shadow: inset 0 0 0 1px var(--bhp-n200);
        color: var(--bhp-n900);
    }
    .bhp-nav-item__title,
    .bhp-nav-item.is-selected .bhp-nav-item__title {
        font-weight: 500;
        color: var(--bhp-n950);
    }
    .bhp-nav-item__subtitle,
    .bhp-nav-item.is-selected .bhp-nav-item__subtitle {
        color: var(--bhp-n800);
    }
    .bhp-nav-item__chevron {
        display: block;
    }
}

/* NavMenu — Figma "Content Container": groups gap 12, 1px #F5F5F5 divider between groups */
.bhp-nav-menu {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
}

.bhp-nav-menu__group {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.bhp-nav-menu__group > li {
    margin: 0;
    padding: 0;
}

.bhp-nav-menu__divider {
    width: 100%;
    height: 0;
    margin: 0;
    border: 0;
    border-top: 1px solid var(--bhp-n100);
}

/* Mobile: each group is its own block, 12px apart on the page background; rows split by #E5E5E5 */
@media (max-width: 767px) {
    .bhp-nav-menu {
        gap: 12px;
    }
    .bhp-nav-menu__group {
        gap: 0;
        background: var(--bhp-n50);
    }
    .bhp-nav-menu__group > li + li {
        border-top: 1px solid var(--bhp-n200);
    }
    .bhp-nav-menu__divider {
        display: none;
    }
}

/* ProfileSidebar — Figma "Main Nav": 320px, white, radius 12, padding 24/16/24/0 (CTA cells run
   flush to the left edge so the selected bar sits on it); header -> menu gap 32, menu -> Log out 32;
   the Log out wrapper adds its own 16px left inset (288px button). */
.bhp-sidebar {
    display: flex;
    flex-direction: column;
    gap: 32px;                 /* "Profile + Content": menu block -> Log out (534px total) */
    width: 100%;
    padding: 24px 16px 24px 0;
    border-radius: var(--bhp-radius-card);
    background: var(--bhp-white);
    overflow: hidden;
}

.bhp-sidebar__top {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.bhp-sidebar__footer {
    padding-left: 16px;
}

.bhp-skeleton--sidebar {
    padding-left: 16px;
}

.bhp-sidebar__mobile-bar {
    display: none;
}

@media (max-width: 767px) {
    .bhp-sidebar {
        gap: 8px;
        min-height: calc(100vh - var(--bhp-header-offset, 0px));
        padding: 0;
        border-radius: 0;
        background: transparent;
    }
    .bhp-sidebar__mobile-bar {
        display: block;
    }
    .bhp-sidebar__top {
        gap: 12px;
    }
    /* Figma "Account actions": 330 x 54, radius 8, 1px #525252, text + icon gap 8, 30px from the bottom */
    .bhp-sidebar__footer {
        margin-top: auto;
        padding: 24px 15px 30px;
    }
    .bhp-sidebar__footer .bhp-btn--outline {
        min-height: 54px;
        padding: 15px 16px;
        gap: 8px;
        border-color: var(--bhp-n600);
    }
    .bhp-sidebar__footer .bhp-btn--outline .bhp-icon {
        width: 22px;
        height: 22px;
    }
}

/* MobileTopBar — Figma "Product_NAV_BH_M": 360x56, padding 6, white, shadow 0 1 2 #000 6%;
   title "Profile" Archivo 400 14/100% #171717 at x=36. Desktop/tablet: hidden. */
.bhp-topbar {
    display: none;
}

@media (max-width: 767px) {
    .bhp-topbar {
        position: relative;
        z-index: 1;
        display: flex;
        align-items: center;
        height: 56px;
        padding: 6px 12px;
        background: var(--bhp-white);
        box-shadow: 0 1px 2px rgba(0, 0, 0, .06);
    }
    .bhp-topbar__back {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 28px;
        height: 28px;
        margin-left: -4px;     /* 28px tap target, title still starts at x=36 */
        padding: 0;
        border: 0;
        border-radius: 50%;
        background: none;
        color: var(--bhp-n900);
        cursor: pointer;
    }
    .bhp-topbar__back:active {
        background: var(--bhp-n100);
    }
    .bhp-topbar__title {
        font-size: 14px;
        font-weight: 400;
        line-height: 100%;
        color: var(--bhp-n900);
    }
}

/* SectionHeader — "My Orders": Playfair Display 500 32/110% #3C3C3C; search 262px with underline */
.bhp-section-header {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.bhp-section-header__row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-height: 35px;
}

.bhp-section-header__title {
    margin: 0;
    font-family: var(--bhp-font-display);
    font-size: 32px;
    font-weight: 500;
    line-height: 110%;
    color: var(--bhp-heading);
}

.bhp-section-header__count {
    margin-left: 12px;
    font-family: var(--bhp-font);
    font-size: 14px;
    font-weight: 400;
    line-height: 22px;
    color: var(--bhp-ink-3);
    vertical-align: middle;
}

.bhp-section-header__search {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 262px;
    max-width: 100%;
    padding: 4px 0 8px;
    border-bottom: 1px solid var(--bhp-n300);
    color: var(--bhp-n600);
    transition: border-color .2s;
}

.bhp-section-header__search:focus-within {
    border-color: var(--bhp-n900);
}

.bhp-section-header__input {
    flex: 1;
    min-width: 0;
    height: 18px;
    padding: 0;
    border: 0;
    outline: 0;
    background: transparent;
    font-family: var(--bhp-font);
    font-size: 12px;
    line-height: 18px;
    color: var(--bhp-ink);
    -webkit-appearance: none;
    appearance: none;
}

.bhp-section-header__input::placeholder {
    color: var(--bhp-n400);
}

.bhp-section-header__tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.bhp-pill {
    height: 32px;
    padding: 0 16px;
    border: 1px solid var(--bhp-n300);
    border-radius: var(--bhp-radius-pill);
    background: var(--bhp-white);
    font-family: var(--bhp-font);
    font-size: 12px;
    font-weight: 500;
    line-height: 18px;
    color: var(--bhp-n800);
    cursor: pointer;
    transition: background-color .15s, color .15s, border-color .15s;
}

.bhp-pill:hover {
    border-color: var(--bhp-n800);
}

.bhp-pill.is-active {
    background: var(--bhp-grey-900);
    border-color: var(--bhp-grey-900);
    color: var(--bhp-white);
}

.bhp-pill:focus-visible {
    outline: 2px solid var(--bhp-accent);
    outline-offset: 2px;
}

@media (max-width: 767px) {
    .bhp-section-header__row {
        flex-direction: column;
        align-items: stretch;
    }
    /* the mobile top bar already shows the section name; keep the h2 for screen readers only */
    .bhp-section-header__title {
        position: absolute;
        width: 1px;
        height: 1px;
        margin: -1px;
        overflow: hidden;
        clip: rect(0, 0, 0, 0);
        white-space: nowrap;
    }
    .bhp-section-header__row:first-child {
        display: contents;
    }
    /* Figma "Search orders": full width, 44px, underline #E5E5E5, 14px icon, 12/18 placeholder */
    .bhp-section-header__search {
        width: 100%;
        height: 44px;
        padding: 0;
        border-bottom-color: var(--bhp-n200);
    }
    .bhp-section-header__search .bhp-icon {
        width: 14px;
        height: 14px;
    }
    .bhp-section-header__tabs {
        flex-wrap: nowrap;
        overflow-x: auto;
        margin: 0 -16px;
        padding: 0 16px;
        scrollbar-width: none;
    }
    .bhp-section-header__tabs::-webkit-scrollbar {
        display: none;
    }
    .bhp-pill {
        flex-shrink: 0;
    }
}

/* StatusBadge — 32px gradient chip + Archivo 500 16/24 label (gap 10) */
.bhp-status {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.bhp-status__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 30px;
    flex-shrink: 0;
}

.bhp-status__label {
    font-size: 16px;
    font-weight: 500;
    line-height: 24px;
}

.bhp-status--success .bhp-status__icon { background: var(--bhp-success-bg); color: var(--bhp-success); }
.bhp-status--success .bhp-status__label { color: var(--bhp-success); }

.bhp-status--warning .bhp-status__icon { background: var(--bhp-warning-bg); color: var(--bhp-warning); }
.bhp-status--warning .bhp-status__label { color: var(--bhp-warning); }

.bhp-status--error .bhp-status__icon { background: var(--bhp-error-bg); color: var(--bhp-error); }
.bhp-status--error .bhp-status__label { color: var(--bhp-error); }

.bhp-status--neutral .bhp-status__icon { background: var(--bhp-n100); color: var(--bhp-n600); }
.bhp-status--neutral .bhp-status__label { color: var(--bhp-n800); }

/* OrderCard — Figma "Order confirmed" (904px card, radius 12, 1px #D4D4D4, gap 16) */
.bhp-order {
    display: flex;
    flex-direction: column;
    gap: 16px;
    border: 1px solid var(--bhp-n300);
    border-radius: var(--bhp-radius-card);
    background: var(--bhp-white);
    overflow: hidden;
}

/* header — #FAFAFA, 80px, padding 12/24, bottom rule */
.bhp-order__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-height: 80px;
    padding: 12px 24px;
    background: var(--bhp-n50);
    border-bottom: 1px solid var(--bhp-n300);
}

.bhp-order__metas {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 32px;
}

.bhp-order__meta {
    display: flex;
    flex-direction: column;
}

.bhp-order__meta-label {
    font-size: 14px;
    font-weight: 400;
    line-height: 22px;
    color: var(--bhp-ink-3);
}

.bhp-order__meta-value {
    font-size: 14px;
    font-weight: 600;
    line-height: 22px;
    color: var(--bhp-grey-900);
}

.bhp-order__details-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
    font-size: 12px;
    font-weight: 600;
    line-height: 18px;
    color: #000;
    text-decoration: none;
}

.bhp-order__details-link:hover span {
    text-decoration: underline;
}

/* status row — padding 0 24 16, bottom rule #E5E5E5 */
.bhp-order__status-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 0 24px 16px;
    border-bottom: 1px solid var(--bhp-n200);
}

.bhp-order__status {
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.bhp-order__status-note {
    padding-left: 42px;
    font-size: 14px;
    line-height: 22px;
    color: var(--bhp-ink-3);
}

.bhp-order__track {
    min-width: 140px;
}

.bhp-order__awb-text,
.bhp-order__support-note {
    font-size: 12px;
    line-height: 18px;
    color: var(--bhp-ink-3);
}

.bhp-order__awb-text strong {
    font-weight: 600;
    color: var(--bhp-grey-900);
}

/* dispatched: "AWB No.: … [Copy]" with "Track Shipment" underneath, right-aligned */
.bhp-order__awb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 6px 8px;
    text-align: right;
}

.bhp-order__awb .bhp-btn--link {
    flex-basis: 100%;
    justify-content: flex-end;
}

/* cancelled / failed: note + "Contact Support" */
.bhp-order__support-cta {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 16px;
    text-align: right;
}

.bhp-order__copy {
    height: 20px;
    padding: 0 8px;
    border: 1px solid var(--bhp-n300);
    border-radius: 4px;
    background: var(--bhp-white);
    font-family: var(--bhp-font);
    font-size: 10px;
    font-weight: 500;
    line-height: 18px;
    color: var(--bhp-n800);
    cursor: pointer;
}

.bhp-order__copy:hover {
    border-color: var(--bhp-n800);
}

/* items — padding 0 24 16, gap 16, each row padding-bottom 12 + rule */
.bhp-order__items {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin: 0;
    padding: 0 24px 16px;
    list-style: none;
}

.bhp-order__item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--bhp-n200);
}

.bhp-order__item:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}

.bhp-order__item-main {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.bhp-order__thumb {
    display: block;
    width: 70px;
    height: 70px;
    flex-shrink: 0;
    border-radius: var(--bhp-radius-sm);
    object-fit: cover;
}

.bhp-order__item-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.bhp-order__item-name {
    font-size: 14px;
    font-weight: 500;
    line-height: 22px;
    color: var(--bhp-n700);
}

.bhp-order__item-qty {
    font-size: 14px;
    line-height: 22px;
    color: var(--bhp-ink-3);
}

/* footer — support line on confirmed orders */
.bhp-order__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px 24px;
    margin-top: -16px;
    padding: 12px 24px;
    border-top: 1px solid var(--bhp-n200);
}

.bhp-order__footer-text {
    margin: 0;
    font-size: 12px;
    line-height: 18px;
    color: var(--bhp-ink-3);
}

.bhp-order__footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 24px;
}

.bhp-order__footer-links a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 500;
    line-height: 18px;
    color: var(--bhp-n800);
    text-decoration: underline;
    text-underline-offset: 2px;
}

/* Mobile — Figma MOBILE "My order - filled state" › "Order card" (336px):
   header 62px #FAFAFA (metas 12px, label #8C8E90, value 500 #232426, chevron only),
   status 12/16 + #EEEEEF rule (28px chip, 14px label), products 16/14/12 gap 12 (50px thumbs),
   support line in a #F5F5F5 radius-8 box. */
@media (max-width: 767px) {
    .bhp-order {
        gap: 0;
        border-color: var(--bhp-n200);
    }
    .bhp-order__header {
        min-height: 62px;
        padding: 16px 12px;
    }
    .bhp-order__metas {
        flex-wrap: nowrap;
        gap: 12px;
    }
    .bhp-order__meta {
        gap: 4px;
    }
    .bhp-order__meta-label,
    .bhp-order__meta-value {
        font-size: 12px;
        line-height: 100%;
    }
    .bhp-order__meta-label {
        color: #8C8E90;
    }
    .bhp-order__meta-value {
        font-weight: 500;
    }
    .bhp-order__details-link > span {   /* chevron only; the text stays for screen readers */
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip: rect(0, 0, 0, 0);
    }
    .bhp-order__status-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
        padding: 12px 16px;
        border-bottom-color: #EEEEEF;
    }
    .bhp-order__status-note,
    .bhp-order__track,
    .bhp-order__item .bhp-btn--link {
        display: none;
    }
    .bhp-status__icon {
        width: 28px;
        height: 28px;
    }
    .bhp-status__label {
        font-size: 14px;
        line-height: 100%;
    }
    .bhp-order__awb,
    .bhp-order__support-cta {
        align-items: flex-start;
        justify-content: flex-start;
        text-align: left;
    }
    .bhp-order__support-cta {
        flex-direction: column;
        gap: 8px;
    }
    .bhp-order__awb .bhp-btn--link {
        justify-content: flex-start;
    }
    .bhp-order__items {
        gap: 12px;
        padding: 16px 14px 12px;
    }
    .bhp-order__item {
        padding-bottom: 12px;
    }
    .bhp-order__thumb {
        width: 50px;
        height: 50px;
    }
    .bhp-order__item-qty {
        font-size: 12px;
        line-height: 100%;
    }
    .bhp-order__footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 13px;
        margin: 0 14px 12px;
        padding: 8px;
        border: 0;
        border-radius: var(--bhp-radius-sm);
        background: var(--bhp-n100);
    }
    .bhp-order__footer-links {
        flex-direction: column;
        gap: 8px;
    }
}

/* WishlistCard — Figma Wishlist "Filled State" tile */
.bhp-wish {
    position: relative;
    display: flex;
    gap: 16px;
    padding: 12px;
    border-radius: var(--bhp-radius-card);
    background: var(--bhp-white);
    transition: opacity .2s;
}

.bhp-wish.is-busy {
    opacity: .5;
    pointer-events: none;
}

.bhp-wish__media {
    flex-shrink: 0;
}

.bhp-wish__img {
    display: block;
    width: 120px;
    height: 120px;
    border-radius: var(--bhp-radius-sm);
    object-fit: cover;
}

.bhp-wish__body {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    min-width: 0;
    padding: 4px 24px 4px 0;
}

.bhp-wish__name {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: 14px;
    font-weight: 500;
    line-height: 22px;
    color: var(--bhp-n700);
    text-decoration: none;
}

.bhp-wish__name:hover {
    color: var(--bhp-ink);
}

.bhp-wish__price {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 2px 8px;
    margin: 0 0 4px;
    font-size: 14px;
    font-weight: 600;
    line-height: 22px;
    color: var(--bhp-grey-900);
}

.bhp-wish__unit {
    font-weight: 400;
    color: var(--bhp-ink-3);
}

.bhp-wish__mrp {
    font-size: 12px;
    font-weight: 400;
    line-height: 18px;
    color: var(--bhp-n400);
}

/* Shown in place of "Move to Cart" when the saved product is out of stock. */
.bhp-wish__stock {
    margin: 0;
    font-size: 12px;
    font-weight: 600;
    line-height: 18px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--bhp-n400);
}

.bhp-wish__remove {
    position: absolute;
    top: 10px;
    right: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: var(--bhp-n100);
    color: var(--bhp-n800);
    cursor: pointer;
}

.bhp-wish__remove:hover {
    background: var(--bhp-n200);
}

.bhp-wish__remove:focus-visible {
    outline: 2px solid var(--bhp-accent);
}

@media (max-width: 767px) {
    .bhp-wish {
        gap: 12px;
    }
    .bhp-wish__img {
        width: 96px;
        height: 96px;
    }
}

/* EmptyState — Figma "Empty State": white card, centred illustration, title, copy, dark CTA */
.bhp-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-height: 420px;
    padding: 48px 24px;
    border-radius: var(--bhp-radius-card);
    background: var(--bhp-white);
    text-align: center;
}

.bhp-empty__art {
    display: block;
    margin-bottom: 8px;
}

.bhp-empty__title {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    line-height: 24px;
    color: var(--bhp-ink);
}

.bhp-empty__text {
    max-width: 300px;
    margin: 0;
    font-size: 12px;
    line-height: 18px;
    color: var(--bhp-ink-2);
}

.bhp-empty__cta {
    margin-top: 12px;
}

@media (max-width: 767px) {
    .bhp-empty {
        min-height: 360px;
    }
}

/* Skeleton — loading state placeholders */
.bhp-skeleton {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.bhp-skeleton--sidebar {
    align-items: center;
    gap: 10px;
}

.bhp-skeleton--sidebar .bhp-skeleton__row {
    align-self: stretch;
    margin-top: 12px;
}

.bhp-skeleton--grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.bhp-skeleton__card {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 0 0 16px;
    border-radius: var(--bhp-radius-card);
    background: var(--bhp-white);
    overflow: hidden;
}

.bhp-skeleton__card--wish {
    flex-direction: row;
    padding: 12px;
}

.bhp-skeleton__row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0 24px;
}

.bhp-skeleton--sidebar .bhp-skeleton__row {
    padding: 0 16px;
}

.bhp-skeleton__col {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 8px;
}

.bhp-skel {
    display: block;
    border-radius: 6px;
    background: linear-gradient(90deg, #EEEEEF 0%, #F7F7F8 40%, #EEEEEF 80%);
    background-size: 200% 100%;
    animation: bhpShimmer 1.2s ease-in-out infinite;
}

.bhp-skel--circle { width: 62px; height: 62px; border-radius: 50%; }
.bhp-skel--title { width: 60%; height: 22px; }
.bhp-skel--line { width: 80%; height: 12px; }
.bhp-skel--short { width: 45%; }
.bhp-skel--chip { width: 42px; height: 42px; border-radius: 50%; flex-shrink: 0; }
.bhp-skel--header { width: 100%; height: 80px; border-radius: 0; }
.bhp-skel--thumb { width: 70px; height: 70px; border-radius: 8px; flex-shrink: 0; }
.bhp-skel--thumb-lg { width: 120px; height: 120px; border-radius: 8px; flex-shrink: 0; }
.bhp-skel--btn { width: 110px; height: 32px; border-radius: 60px; margin-top: 8px; }

.bhp-skeleton--sidebar .bhp-skel--title,
.bhp-skeleton--sidebar .bhp-skel--line {
    align-self: center;
}

@keyframes bhpShimmer {
    0% { background-position: 100% 0; }
    100% { background-position: -100% 0; }
}

@media (prefers-reduced-motion: reduce) {
    .bhp-skel { animation: none; }
}

@media (max-width: 1023px) {
    .bhp-skeleton--grid { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 767px) {
    .bhp-skeleton--sidebar {
        padding: 24px 0;
        background: var(--bhp-white);
    }
}

/* Modal — shared popup shell (Figma: #1F242D @ 60% + 1px blur; 352px card, radius 12, padding 24).
   Mounted on <body>, so it overlays the site header as in the Figma "Popup" frames. */
.bhp-modal {
    position: fixed;
    inset: 0;
    z-index: 100000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    opacity: 0;
    transition: opacity .18s ease;
}

.bhp-modal.is-open {
    opacity: 1;
}

.bhp-modal__overlay {
    position: absolute;
    inset: 0;
    background: var(--bhp-overlay);
    -webkit-backdrop-filter: blur(1px);
    backdrop-filter: blur(1px);
}

.bhp-modal__dialog {
    position: relative;
    width: var(--bhp-modal-width, 352px);
    max-width: 100%;
    max-height: calc(100vh - 32px);
    overflow-y: auto;
    padding: 24px;
    border-radius: var(--bhp-radius-card);
    background: var(--bhp-white);
    box-shadow: 0 16px 40px rgba(20, 21, 23, .16);
    transform: translateY(8px) scale(.98);
    transition: transform .18s ease;
    outline: 0;
}

.bhp-modal.is-open .bhp-modal__dialog {
    transform: none;
}

/* Figma "Frame 2147225955": 28px, radius 12, 1px #F1F3F5 */
.bhp-modal__close {
    position: absolute;
    top: 16px;
    right: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    padding: 0;
    border: 1px solid #F1F3F5;
    border-radius: var(--bhp-radius-card);
    background: var(--bhp-white);
    color: var(--bhp-ink);
    cursor: pointer;
}

.bhp-modal__close:hover {
    background: var(--bhp-n100);
}

.bhp-modal__close:focus-visible {
    outline: 2px solid var(--bhp-accent);
}

.bhp-modal__body {
    display: flex;
    flex-direction: column;
}

/* 48px #F5F5F5 icon chip */
.bhp-modal__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 30px;
    background: var(--bhp-n100);
    color: var(--bhp-ink);
}

.bhp-modal__title {
    margin: 0;
    font-family: var(--bhp-font);
    font-size: 24px;
    font-weight: 600;
    line-height: 32px;
    color: var(--bhp-ink);
}

.bhp-modal__desc {
    margin: 0;
    font-size: 14px;
    line-height: 22px;
    color: var(--bhp-ink-2);
}

/* Mobile (Figma MOBILE "Logout" / "NEED HELP?" / "Profile name edit"): centred 280px card,
   radius 12, 32px icon chip (padding 8, radius 20) */
@media (max-width: 767px) {
    .bhp-modal__dialog {
        width: 280px;
        max-width: calc(100vw - 32px);
    }
    .bhp-modal__icon {
        width: 32px;
        height: 32px;
        border-radius: 20px;
    }
    .bhp-modal__icon .bhp-icon {
        width: 16px;
        height: 16px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .bhp-modal,
    .bhp-modal__dialog {
        transition: none;
    }
}

/* LogoutModal — Figma "Logout Popup": gap 22; header block gap 12 (centred); actions gap 12 */
.bhp-confirm {
    align-items: center;
    gap: 22px;
    text-align: center;
}

.bhp-confirm__text {
    display: flex;
    flex-direction: column;
    gap: 6px;
    width: 100%;
    margin-top: -10px;
}

.bhp-confirm__actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
}

/* Mobile Figma "Logout": 280 x 308 — 52px buttons, 8px apart */
@media (max-width: 767px) {
    .bhp-confirm__actions {
        gap: 8px;
    }
    .bhp-confirm__actions .bhp-btn--lg {
        min-height: 52px;
        padding-top: 13px;
        padding-bottom: 13px;
    }
}

/* NeedHelpModal — Figma "Need help Popup": gap 10/18, intro bottom rule #DEE2E6, contact rows gap 20 */
.bhp-help {
    gap: 18px;
}

.bhp-help .bhp-modal__icon {
    margin-bottom: -8px;
}

.bhp-help__intro {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--bhp-rule);
}

.bhp-help__rows {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.bhp-help__row {
    display: flex;
    align-items: center;
    gap: 16px;
    color: inherit;
    text-decoration: none;
    border-radius: var(--bhp-radius-sm);
}

.bhp-help__row:focus-visible {
    outline: 2px solid var(--bhp-accent);
    outline-offset: 4px;
}

.bhp-help__chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    flex-shrink: 0;
    border-radius: 30px;
    background: var(--bhp-chip);
    color: var(--bhp-ink);
}

.bhp-help__text {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.bhp-help__label {
    font-size: 12px;
    line-height: 18px;
    color: var(--bhp-ink-2);
}

.bhp-help__value {
    font-size: 16px;
    font-weight: 500;
    line-height: 24px;
    color: var(--bhp-ink);
    overflow-wrap: anywhere;
}

.bhp-help__row:hover .bhp-help__value {
    text-decoration: underline;
}

/* Mobile Figma "NEED HELP?": 280px, padding 24/16 */
@media (max-width: 767px) {
    .bhp-modal--help .bhp-modal__dialog {
        padding: 24px 16px;
    }
}

/* EditNameModal — Figma "Profile name edit": 360px, padding 20/16, gap 20 (title/field gap 16) */
.bhp-modal--edit-name .bhp-modal__dialog {
    padding: 20px 16px;
}

.bhp-modal--edit-name .bhp-modal__close {
    top: 20px;
    right: 16px;
}

.bhp-edit-name {
    gap: 16px;
}

.bhp-edit-name__title {
    margin: 0;
    padding-right: 40px;
    font-size: 18px;
    font-weight: 600;
    line-height: 28px;
    color: var(--bhp-ink);
}

.bhp-edit-name__form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin: 0;
}

/* Field: 48px, radius 8, 1px #E6E7EB, padding 4/4/4/16 */
.bhp-field {
    display: flex;
    align-items: center;
    height: 48px;
    padding: 4px 4px 4px 16px;
    border: 1px solid var(--bhp-field-border);
    border-radius: var(--bhp-radius-sm);
    background: var(--bhp-white);
    transition: border-color .15s;
}

.bhp-field:focus-within {
    border-color: var(--bhp-n900);
}

.bhp-field.is-invalid {
    border-color: var(--bhp-error);
}

.bhp-field__input {
    flex: 1;
    min-width: 0;
    height: 100%;
    padding: 0;
    border: 0;
    outline: 0;
    background: transparent;
    font-family: var(--bhp-font);
    font-size: 16px;
    font-weight: 500;
    line-height: 24px;
    color: var(--bhp-ink);
}

.bhp-field__error {
    margin: -12px 0 0;
    font-size: 12px;
    line-height: 18px;
    color: var(--bhp-error);
}

.bhp-field__error[hidden] {
    display: none;
}

/* Toast — Figma "Edit successful": green pill, top-right of the content column */
.bhp-toast-region {
    position: fixed;
    top: calc(var(--bhp-header-offset, 0px) + 24px);
    right: max(24px, calc((100vw - 1240px) / 2));
    z-index: 100001;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
    pointer-events: none;
}

.bhp-toast {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border-radius: var(--bhp-radius-sm);
    font-size: 12px;
    font-weight: 500;
    line-height: 18px;
    box-shadow: 0 4px 16px rgba(20, 21, 23, .08);
    opacity: 0;
    transform: translateY(-6px);
    transition: opacity .2s ease, transform .2s ease;
}

.bhp-toast.is-visible {
    opacity: 1;
    transform: none;
}

.bhp-toast--success {
    background: #E1F4E9;
    color: var(--bhp-success);
}

.bhp-toast--error {
    background: #FFF1F1;
    color: var(--bhp-error);
}

@media (max-width: 767px) {
    .bhp-toast-region {
        top: auto;
        right: 16px;
        bottom: calc(24px + env(safe-area-inset-bottom, 0px));
        left: 16px;
        align-items: center;
    }
    .bhp-toast {
        transform: translateY(6px);
    }
}

/* My Profile — in-page prototype layer (opened from the header My Profile icon).
   Fixed just below header-revamp (.bh-wrap is position:absolute, z-index 900) and scrolls on its
   own, so the page underneath stays put and the header stays visible above it. */
.bhp.bhp--proto {
    position: fixed;
    top: var(--bhp-header-offset, 0px);
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 899;
    min-height: 0;
    padding-top: 24px;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    outline: 0;
    animation: bhpProtoIn .18s ease;
}

html.bhp-proto-open,
html.bhp-proto-open body {
    overflow: hidden;
}

@keyframes bhpProtoIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@media (max-width: 767px) {
    .bhp.bhp--proto {
        padding-top: 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    .bhp.bhp--proto { animation: none; }
}

