/* OXBAR compact reference header */
body.oxhp-header-active .whb-header,
body.oxhp-header-active .whb-main-header,
body.oxhp-header-active .whb-sticky-header,
body.oxhp-header-active .whb-clone,
body.oxhp-header-active .sticky-header-clone,
body.oxhp-header-active #masthead,
body.oxhp-header-active .site-header,
body.oxhp-header-active .main-header,
body.oxhp-header-active .header-wrapper,
body.oxhp-header-active .header-banner,
body.oxhp-header-active .wd-header,
body.oxhp-header-active .mobile-nav {
    display: none !important;
}

.oxhp-site-header,
.oxhp-site-header * {
    box-sizing: border-box;
}

.oxhp-site-header {
    --oxhp-header-green: #2bdc1c;
    --oxhp-header-blue: #3d9fe9;
    position: sticky;
    top: 0;
    z-index: 99990;
    width: 100%;
    margin: 0;
    color: #050505;
    background: #fff;
    font-family: Arial, Helvetica, sans-serif;
    box-shadow: 0 1px 0 rgba(0, 0, 0, .055);
}

body.admin-bar .oxhp-site-header {
    top: 32px;
}

.oxhp-warning-bar {
    position: relative;
    height: 24px;
    overflow: hidden;
    color: #fff;
    background: var(--oxhp-header-green);
}

.oxhp-warning-track {
    display: flex;
    align-items: center;
    width: max-content;
    height: 24px;
    white-space: nowrap;
    will-change: transform;
    animation: oxhp-warning-marquee 32s linear infinite;
}

.oxhp-warning-track span {
    display: block;
    min-width: 430px;
    padding-right: 92px;
    font-size: 10px;
    line-height: 24px;
    font-weight: 800;
    letter-spacing: -.015em;
    text-align: center;
}

@keyframes oxhp-warning-marquee {
    from { transform: translateX(0); }
    to { transform: translateX(-33.333%); }
}

.oxhp-header-main {
    position: relative;
    height: 40px;
    background: #fff;
}

.oxhp-header-shell {
    position: relative;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    width: min(1204px, calc(100% - 48px));
    height: 100%;
    margin: 0 auto;
}

.oxhp-header-logo {
    display: inline-flex;
    align-items: center;
    justify-self: start;
    width: 80px;
    height: 24px;
}

.oxhp-header-logo img {
    display: block;
    width: 80px;
    height: auto;
}

.oxhp-header-mark {
    display: inline-grid;
    place-items: center;
    justify-self: center;
    width: 24px;
    height: 24px;
}

.oxhp-header-mark img {
    display: block;
    width: 20px;
    height: 20px;
    object-fit: contain;
}

.oxhp-desktop-nav {
    display: flex;
    align-items: center;
    justify-self: end;
    gap: 27px;
    height: 100%;
}

.oxhp-nav-item {
    position: relative;
    display: flex;
    align-items: center;
    height: 100%;
}

.oxhp-nav-link {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 0;
    color: #050505 !important;
    font-size: 9px;
    line-height: 1;
    font-weight: 800;
    letter-spacing: .015em;
    text-decoration: none !important;
    white-space: nowrap;
}

.oxhp-nav-link::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 5px;
    left: 0;
    height: 1px;
    background: #050505;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform .24s ease;
}

.oxhp-nav-item:hover > .oxhp-nav-link::after,
.oxhp-nav-item:focus-within > .oxhp-nav-link::after {
    transform: scaleX(1);
    transform-origin: left;
}

.oxhp-nav-pill {
    min-height: 20px;
    padding: 0 15px;
    border-radius: 999px;
    color: #fff !important;
    background: linear-gradient(90deg, #459ee8 0%, #4fc5a1 100%);
}

.oxhp-nav-pill::after {
    display: none;
}

.oxhp-news-pill {
    min-width: 52px;
    justify-content: center;
    padding-inline: 12px;
    background: linear-gradient(90deg, #43a0ea 0%, #58d966 100%);
}

.oxhp-language-button {
    display: grid;
    place-items: center;
    width: 18px;
    height: 18px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    color: #fff;
    background: var(--oxhp-header-blue);
    cursor: pointer;
}

.oxhp-language-button svg {
    width: 13px;
    height: 13px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
}

.oxhp-header-panel {
    position: absolute;
    top: calc(100% - 1px);
    z-index: 20;
    visibility: hidden;
    padding: 22px;
    border: 1px solid rgba(0,0,0,.07);
    border-radius: 0 0 14px 14px;
    background: rgba(255,255,255,.985);
    box-shadow: 0 18px 50px rgba(0,0,0,.13);
    opacity: 0;
    transform: translateY(9px);
    pointer-events: none;
    transition: opacity .2s ease, transform .2s ease, visibility .2s ease;
}

.oxhp-nav-item:hover > .oxhp-header-panel,
.oxhp-nav-item:focus-within > .oxhp-header-panel {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.oxhp-products-panel {
    right: -520px;
    display: grid;
    grid-template-columns: 170px minmax(280px, 1fr) 210px;
    gap: 28px;
    width: min(790px, calc(100vw - 32px));
}

.oxhp-header-panel h2 {
    margin: 0 0 13px;
    color: #777;
    font-size: 10px;
    line-height: 1.2;
    font-weight: 800;
    letter-spacing: .08em;
}

.oxhp-panel-types,
.oxhp-panel-products {
    display: flex;
    flex-direction: column;
}

.oxhp-panel-types > a,
.oxhp-panel-products a,
.oxhp-small-panel > a,
.oxhp-language-panel > a {
    color: #111 !important;
    font-size: 11px;
    line-height: 1.35;
    font-weight: 700;
    text-decoration: none !important;
    transition: color .18s ease, transform .18s ease;
}

.oxhp-panel-types > a + a,
.oxhp-small-panel > a + a,
.oxhp-language-panel > a + a {
    margin-top: 10px;
}

.oxhp-panel-products > div {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 18px;
}

.oxhp-panel-products a {
    display: flex;
    align-items: center;
    gap: 7px;
}

.oxhp-panel-products em {
    color: var(--oxhp-header-green);
    font-size: 8px;
    font-style: italic;
}

.oxhp-panel-types > a:hover,
.oxhp-panel-products a:hover,
.oxhp-small-panel > a:hover,
.oxhp-language-panel > a:hover {
    color: var(--oxhp-header-green) !important;
    transform: translateX(2px);
}

.oxhp-panel-feature {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: 132px;
    padding: 18px;
    border-radius: 11px;
    color: #fff !important;
    background:
        radial-gradient(circle at 75% 20%, rgba(255,255,255,.28), transparent 30%),
        linear-gradient(135deg, #111 0%, #292929 55%, var(--oxhp-header-green) 150%);
    text-decoration: none !important;
}

.oxhp-panel-feature span {
    font-size: 24px;
    font-weight: 900;
    letter-spacing: -.05em;
}

.oxhp-panel-feature strong {
    margin-top: 5px;
    font-size: 12px;
}

.oxhp-panel-feature em {
    margin-top: 12px;
    font-size: 10px;
    font-style: normal;
}

.oxhp-small-panel {
    right: -84px;
    display: flex;
    flex-direction: column;
    width: 240px;
}

.oxhp-wholesale-panel {
    right: -30px;
    width: 280px;
}

.oxhp-news-panel {
    right: -15px;
    width: 150px;
}

.oxhp-language-panel {
    right: 0;
    display: flex;
    flex-direction: column;
    width: 145px;
}

.oxhp-mobile-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    justify-self: end;
    flex-direction: column;
    width: 36px;
    height: 36px;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
}

.oxhp-mobile-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    margin: 2.5px 0;
    border-radius: 2px;
    background: #050505;
    transition: transform .25s ease, opacity .25s ease;
}

.oxhp-site-header.is-menu-open .oxhp-mobile-toggle span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.oxhp-site-header.is-menu-open .oxhp-mobile-toggle span:nth-child(2) {
    opacity: 0;
}

.oxhp-site-header.is-menu-open .oxhp-mobile-toggle span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.oxhp-mobile-menu {
    display: none;
    max-height: 0;
    overflow: hidden;
    border-top: 1px solid rgba(0,0,0,.07);
    background: #fff;
    opacity: 0;
    transition: max-height .35s ease, opacity .2s ease;
}

.oxhp-mobile-menu-inner {
    width: min(100% - 32px, 720px);
    margin: 0 auto;
    padding: 10px 0 24px;
}

.oxhp-mobile-menu a,
.oxhp-mobile-menu summary {
    display: block;
    padding: 13px 2px;
    border-bottom: 1px solid rgba(0,0,0,.07);
    color: #050505 !important;
    font-size: 13px;
    line-height: 1.2;
    font-weight: 800;
    text-decoration: none !important;
    cursor: pointer;
    list-style: none;
}

.oxhp-mobile-menu summary::-webkit-details-marker {
    display: none;
}

.oxhp-mobile-menu summary::after {
    content: "+";
    float: right;
    font-size: 18px;
    line-height: 11px;
}

.oxhp-mobile-menu details[open] > summary::after {
    content: "−";
}

.oxhp-mobile-menu details > div {
    padding: 5px 0 8px 15px;
}

.oxhp-mobile-menu details > div a {
    padding: 9px 2px;
    border: 0;
    color: #555 !important;
    font-size: 11px;
}

.oxhp-mobile-menu em {
    margin-left: 6px;
    color: var(--oxhp-header-green);
    font-size: 8px;
    font-style: italic;
}

.oxhp-site-header.has-shadow {
    box-shadow: 0 7px 24px rgba(0,0,0,.1);
}

@media (max-width: 980px) {
    .oxhp-header-shell {
        width: min(100% - 30px, 900px);
    }

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

    .oxhp-mobile-toggle {
        display: flex;
    }

    .oxhp-mobile-menu {
        display: block;
    }

    .oxhp-site-header.is-menu-open .oxhp-mobile-menu {
        max-height: calc(100vh - 80px);
        overflow-y: auto;
        opacity: 1;
    }
}

@media (max-width: 782px) {
    body.admin-bar .oxhp-site-header {
        top: 46px;
    }
}

@media (max-width: 640px) {
    .oxhp-warning-bar,
    .oxhp-warning-track {
        height: 25px;
    }

    .oxhp-warning-track span {
        min-width: 390px;
        padding-right: 54px;
        font-size: 9px;
        line-height: 25px;
    }

    .oxhp-header-main {
        height: 52px;
    }

    .oxhp-header-logo {
        width: 92px;
    }

    .oxhp-header-logo img {
        width: 92px;
    }

    .oxhp-header-mark {
        width: 28px;
        height: 28px;
    }

    .oxhp-header-mark img {
        width: 23px;
        height: 23px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .oxhp-warning-track {
        animation-play-state: paused;
    }

    .oxhp-header-panel,
    .oxhp-mobile-menu,
    .oxhp-mobile-toggle span {
        transition: none;
    }
}
