/* PITVU specialist-community lockup; no telemetry or official endorsement. */
.pitvu-header .pitvu-brand-lockup{display:inline-flex;flex-direction:column;align-items:flex-start;gap:3px;line-height:1.05;white-space:nowrap}
.pitvu-header .pitvu-brand-position{font-family:Roboto,sans-serif;font-size:10px;font-weight:600;letter-spacing:.055em;line-height:1.3;color:inherit;opacity:.85}
.pitvu-community-copy{max-width:50rem;margin:0 auto 14px;text-align:center;font-size:14px;line-height:1.55;color:var(--theme-muted,#60675E)}
@media(max-width:480px){.pitvu-header .pitvu-brand-position{font-size:9px;letter-spacing:.025em}.pitvu-community-copy{font-size:13px;text-align:left;margin-bottom:12px}}

/* Stable public header: navigation is independent of account/cart width. */
html{scrollbar-gutter:stable}
html body .pitvu-header{box-sizing:border-box;width:100%;max-width:none;margin:0;position:relative;display:grid!important;grid-template-columns:140px minmax(0,1fr) 280px;align-items:center;gap:20px;height:76px;min-height:76px!important;padding:0 max(20px,calc((100% - 1280px)/2))!important}
html body .pitvu-header>:is(.logo,.brand,.shop-logo){grid-column:1;grid-row:1;font-family:Arial,sans-serif;font-size:28px;font-weight:700;letter-spacing:-1.4px;line-height:1;text-decoration:none;justify-self:start}
html body .pitvu-header>:is(.nav,.public-navigation,.shop-nav){position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);display:flex!important;flex:none;width:max-content;min-width:0;gap:4px;margin:0;justify-content:center}
html body .pitvu-header>:is(.nav,.public-navigation,.shop-nav)>a{box-sizing:border-box;display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:10px 9px;border:1px solid transparent;border-radius:7px;font-family:Roboto,sans-serif;font-size:12px;font-weight:600;letter-spacing:.055em;line-height:1.35;text-transform:uppercase;text-decoration:none;white-space:nowrap}
html body .pitvu-header>.account{grid-column:3!important;grid-row:1!important;justify-self:start;display:flex;flex-wrap:nowrap;align-items:center;gap:10px;margin:0!important;width:auto;max-width:280px}
html body .pitvu-header>.account>a{white-space:nowrap}
html body .pitvu-header>:is(.menu-toggle,.public-menu-toggle){display:none!important}
@media(max-width:1100px){
 html body .pitvu-header{grid-template-columns:140px minmax(0,1fr) 44px;gap:12px;height:70px;min-height:70px!important}
 html body .pitvu-header>:is(.nav,.public-navigation,.shop-nav){display:none!important}
 html body .pitvu-header>.account{grid-column:2!important;grid-row:1!important;justify-self:end}
 html:root[data-pitvu-theme] body .pitvu-header.pitvu-header>.account>:is(.header-signin,.header-register){display:none!important}
 html body .pitvu-header>:is(.menu-toggle,.public-menu-toggle):not([hidden]){display:block!important;grid-column:3;grid-row:1}
}
@media(min-width:1101px){
 html body .pitvu-header .header-signin{display:inline-flex}
 html body .pitvu-header .header-register{display:inline-flex}
}
@media(max-width:600px){
 html body .pitvu-header{grid-template-columns:120px minmax(0,1fr) 44px;gap:8px;padding-inline:16px!important}
 html body .pitvu-header>:is(.logo,.brand,.shop-logo){font-size:26px}
 html body .pitvu-header>.account{gap:4px}
}

/* Identical account utilities in the homepage, registry and shop. */
html:root body .pitvu-header>.account{gap:8px!important;max-width:280px}
html:root body .pitvu-header>.account :is(.header-control,.theme-toggle){box-sizing:border-box;display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:44px;height:44px;padding:10px 9px;border:1px solid transparent;border-radius:7px;background:transparent;color:inherit;font:600 12px/1.35 Roboto,sans-serif;letter-spacing:.055em;text-transform:uppercase;text-decoration:none;white-space:nowrap;box-shadow:none;cursor:pointer}
html:root body .pitvu-header>.account .theme-toggle{width:44px;min-width:44px;padding:0}
html:root body .pitvu-header>.account :is(.theme-toggle,.profile-control) svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.7;flex:none}
html:root body .pitvu-header .profile-symbol{display:none}
html:root body .pitvu-header .cart-count{font-variant-numeric:tabular-nums;min-width:3ch;text-align:center}
html:root body .pitvu-header .theme-sun{display:none}
html:root[data-pitvu-theme=dark] body .pitvu-header .theme-moon{display:none}
html:root[data-pitvu-theme=dark] body .pitvu-header .theme-sun{display:block}
html:root body .pitvu-header>.account :is(.header-control,.theme-toggle):hover{background:var(--theme-soft,var(--shop-panel));border-color:var(--theme-border,var(--shop-line));box-shadow:none}
html:root body .pitvu-header>.account :is(.header-control,.theme-toggle):focus-visible{outline:2px solid currentColor;outline-offset:2px}
@media(max-width:600px){
 html:root body .pitvu-header{grid-template-columns:104px minmax(0,1fr) 44px;gap:6px}
 html:root body .pitvu-header>.account{gap:2px!important}
 html:root body .pitvu-header>.account :is(.header-control,.theme-toggle){font-size:10px;letter-spacing:.02em;padding-inline:4px}
 html:root body .pitvu-header>.account :is(.theme-toggle,.profile-control){width:30px;min-width:30px;padding:0}
 html:root body .pitvu-header .profile-symbol{display:block}
 html:root body .pitvu-header .profile-label{display:none}
}

/* Shared navigation surface for the public site, registry and shop. */
:root:not([data-pitvu-theme="dark"]):not([data-mode="dark"]) .brand-shell,:root:not([data-pitvu-theme="dark"]):not([data-mode="dark"]) body header.pitvu-header{background:#E3EBE6!important;color:#203B32!important;border-color:#BCCDC2!important;box-shadow:0 4px 16px rgb(31 58 45 / .045);backdrop-filter:none}
:root[data-pitvu-theme="dark"] .brand-shell,:root[data-pitvu-theme="dark"] body header.pitvu-header,:root[data-mode="dark"] body header.pitvu-header{background:#203A34!important;color:#EDF5EE!important;border-color:#49645A!important;backdrop-filter:none}
:root .pitvu-header .public-navigation a[aria-current="page"],:root .pitvu-header .public-navigation a.active{background:rgb(255 255 255 / .48);border-color:rgb(71 103 83 / .18)}
:root[data-pitvu-theme="dark"] .pitvu-header .public-navigation a[aria-current="page"],:root[data-mode="dark"] .pitvu-header .public-navigation a.active{background:rgb(255 255 255 / .09)}

/* Approved PITVU artwork, shared by homepage, registry and storefront. */
html:root body .pitvu-header>:is(.logo,.brand,.shop-logo){position:relative;width:140px;height:56px;display:block!important;font-size:0!important;letter-spacing:0;overflow:hidden}
html:root body .pitvu-header>:is(.logo,.brand,.shop-logo)>.pitvu-brand-lockup{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}
html:root body .pitvu-header>:is(.logo,.brand,.shop-logo)::before{content:"";display:block;width:100%;height:100%;background:url('/homepage-assets/pitvu-logo-57cabc4f88cbb0bb.png') center/contain no-repeat;background-image:image-set(url('/homepage-assets/pitvu-logo-dbb20905019cc641.webp') type('image/webp') 1x,url('/homepage-assets/pitvu-logo-57cabc4f88cbb0bb.png') type('image/png') 1x);filter:brightness(0)}
html:root[data-pitvu-theme=dark] body .pitvu-header>:is(.logo,.brand,.shop-logo)::before,html:root[data-mode=dark] body .pitvu-header>:is(.logo,.brand,.shop-logo)::before{filter:none}
@media(max-width:600px){html:root body .pitvu-header>:is(.logo,.brand,.shop-logo){width:104px;height:42px}}

/* Compact navigation for the homepage, registry and storefront. */
.pitvu-header .cart-symbol {
    display: none;
}

@media (max-width: 767px), (pointer: coarse) and (orientation: landscape) and (max-width: 940px) {
    html:root body header.pitvu-header {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto 44px;
        column-gap: clamp(8px, 2.8vw, 14px) !important;
        align-items: center;
    }

    html:root body header.pitvu-header > :is(.brand, .logo, .shop-logo) {
        grid-area: 1 / 1;
        min-width: 0;
        max-width: 100%;
        justify-self: start;
    }

    html:root body header.pitvu-header > .account {
        grid-area: 1 / 2;
        display: flex;
        flex-flow: row nowrap;
        align-items: center;
        justify-self: end;
        gap: clamp(4px, 1.4vw, 8px) !important;
        margin: 0;
    }

    html:root body header.pitvu-header > :is(.menu-toggle, .public-menu-toggle) {
        grid-area: 1 / 3;
        justify-self: end;
        margin: 0;
    }

    html:root body header.pitvu-header > .account :is(.theme-toggle, .header-control),
    html:root body header.pitvu-header > :is(.menu-toggle, .public-menu-toggle) {
        box-sizing: border-box;
        width: 44px;
        min-width: 44px;
        height: 44px;
        min-height: 44px;
        flex: 0 0 44px;
        padding: 0;
    }

    html:root body header.pitvu-header > .account button.theme-toggle {
        background: transparent !important;
        border: 1px solid transparent !important;
        color: inherit;
        box-shadow: none;
    }

    html:root body header.pitvu-header > .account button.theme-toggle:active {
        background: rgba(108, 134, 116, .18) !important;
    }

    html:root body header.shop-header > .menu-toggle {
        color: inherit;
        border: 1px solid #798377;
        border-radius: 6px;
        background: #fffdf8;
        line-height: 0;
    }

    html:root:is([data-pitvu-theme=dark], [data-mode=dark]) body header.shop-header > .menu-toggle {
        border-color: #89988d;
        background: #1e302d;
    }

    html:root body header.shop-header > .menu-toggle .mobile-nav-icon {
        display: inline-block;
        width: 22px;
        height: 22px;
        vertical-align: middle;
    }

    html:root body header.pitvu-header > .account .cart-control {
        position: relative;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 0;
    }

    html:root body header.pitvu-header .cart-symbol,
    html:root body header.pitvu-header .profile-symbol {
        display: block;
        width: 20px;
        height: 20px;
        flex: none;
    }

    html:root body header.pitvu-header :is(.cart-label, .profile-label, .cart-count) {
        display: block;
        position: absolute;
        width: 1px;
        min-width: 0;
        height: 1px;
        padding: 0;
        margin: -1px;
        overflow: hidden;
        clip-path: inset(50%);
        white-space: nowrap;
    }

    html:root body header.pitvu-header .cart-badge:not([hidden]) {
        display: grid;
        place-items: center;
        position: absolute;
        inset: 2px 0 auto auto;
        min-width: 15px;
        height: 15px;
        padding: 0 3px;
        border-radius: 8px;
        background: #285041;
        color: #fff;
        font: 700 10px/1 system-ui, sans-serif;
        letter-spacing: 0;
        pointer-events: none;
    }

    html:root:is([data-pitvu-theme=dark], [data-mode=dark]) body header.pitvu-header .cart-badge:not([hidden]) {
        background: #d3e6d7;
        color: #19382d;
    }
}

.pitvu-header .cart-badge { display: none; }
