/*
 * Pacific Packaging site header
 *
 * This component is deliberately scoped to .site-header so it can coexist
 * with the legacy navigation styles while the site is migrated.
 */

.site-header {
    --site-header-navy-950: #06172f;
    --site-header-navy-900: #092247;
    --site-header-navy-800: #123466;
    --site-header-blue-700: #183f96;
    --site-header-blue-600: #2456bd;
    --site-header-blue-100: #eaf1ff;
    --site-header-ink: #14213a;
    --site-header-muted: #5c6980;
    --site-header-line: #d9e0eb;
    --site-header-surface: #ffffff;
    --site-header-surface-soft: #f5f8fc;
    --site-header-focus: #f5bd3f;
    --site-header-shadow: 0 12px 32px rgba(6, 23, 47, 0.16);
    --site-header-mobile-height: 96px;
    --site-header-utility-height: 72px;
    --site-header-primary-height: 146px;
    --site-header-brand-width: clamp(360px, 27vw, 430px);
    --site-header-content-width: 1480px;
    --site-header-category-rail-width: clamp(210px, 18vw, 270px);
    --site-header-category-gap: clamp(18px, 2.5vw, 34px);
    --site-header-category-pane-height: clamp(300px, 40vh, 420px);
    position: sticky;
    z-index: 1200;
    top: 0;
    width: 100%;
    margin: 0;
    color: var(--site-header-ink);
    background: var(--site-header-navy-900);
    box-shadow: var(--site-header-shadow);
    font-family: "PT Sans", Arial, sans-serif;
    isolation: isolate;
}

/* Integration with the legacy page wrappers while they are still present. */
div#products-header {
    display: contents;
}

.site-header + section,
#products-header + section {
    height: auto;
    min-height: 0;
    margin-top: 0;
}

#hero,
#hero1 {
    position: relative;
}

#hero > .site-header {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
}

#hero > .site-header.site-header--compact {
    position: fixed;
}

body.site-header-menu-open {
    overflow: hidden;
}

.site-header[hidden],
.site-header [hidden] {
    display: none !important;
}

.site-header__shell,
.site-header__brand,
.site-header__navigation,
.site-header__utility,
.site-header__primary-row,
.site-header__primary-list,
.site-header__tile,
.site-header__panel,
.site-header__panel-inner {
    box-sizing: border-box;
}

.site-header__shell {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: stretch;
    min-height: var(--site-header-mobile-height);
    margin: 0;
    background: var(--site-header-navy-900);
}

.site-header__brand {
    display: flex;
    min-width: 0;
    align-items: center;
    padding: 9px 12px 8px 16px;
    gap: clamp(8px, 2vw, 20px);
    color: var(--site-header-blue-700);
    background: #ffffff;
}

.site-header__brand > a {
    display: block;
    flex: 0 1 auto;
    min-width: 0;
    color: var(--site-header-blue-700);
    text-decoration: none;
}

.site-header__logo {
    display: block;
    width: clamp(150px, 32vw, 210px);
    max-width: 100%;
    height: auto;
    margin: 0;
}

.site-header .site-header__logo > img {
    display: block;
    width: 100%;
    max-width: none;
    height: auto;
    margin: 0;
}

.site-header .site-header__phone,
.site-header .site-header__phone:visited {
    display: inline-flex;
    flex: 0 0 auto;
    min-height: 42px;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 6px 8px;
    gap: 7px;
    color: var(--site-header-blue-700);
    border: 1px solid rgba(24, 63, 150, 0.32);
    border-radius: 999px;
    font-size: 15px;
    font-weight: 700;
    line-height: 1;
    text-decoration: none;
    white-space: nowrap;
}

.site-header__phone-icon,
.site-header__utility-icon,
.site-header__menu-toggle-icon,
.site-header__tile-icon,
.site-header__submenu-icon {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    color: currentColor;
}

.site-header__phone-icon {
    width: 18px;
    height: 18px;
}

.site-header__phone-icon svg,
.site-header__utility-icon svg,
.site-header__menu-toggle-icon svg,
.site-header__tile-icon svg,
.site-header__submenu-icon {
    display: block;
    width: 100%;
    height: 100%;
    fill: none;
    stroke: currentColor;
}

.site-header .site-header__menu-toggle,
.site-header .site-header__submenu-toggle,
.site-header .site-header__search-submit {
    appearance: none;
    -webkit-appearance: none;
    margin: 0;
    font: inherit;
    cursor: pointer;
}

.site-header .site-header__menu-toggle {
    display: inline-flex;
    min-width: 76px;
    min-height: 52px;
    align-self: center;
    align-items: center;
    justify-content: center;
    margin: 10px 12px;
    padding: 10px 13px;
    gap: 8px;
    color: var(--site-header-navy-950);
    background: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.7);
    border-radius: 5px;
    font-size: 16px;
    font-weight: 700;
    line-height: 1;
}

.site-header__menu-toggle-icon {
    width: 22px;
    height: 22px;
}

.site-header--menu-open .site-header__menu-toggle {
    color: #ffffff;
    background: var(--site-header-blue-600);
    border-color: var(--site-header-blue-600);
}

.site-header__navigation {
    position: absolute;
    z-index: 4;
    top: 100%;
    right: 0;
    left: 0;
    display: flex;
    max-height: 0;
    flex-direction: column;
    margin: 0;
    overflow: hidden;
    color: #ffffff;
    background: var(--site-header-navy-950);
    box-shadow: 0 18px 30px rgba(6, 23, 47, 0.22);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-8px);
    overscroll-behavior: contain;
    transition: max-height 220ms ease, opacity 160ms ease, transform 180ms ease, visibility 0s linear 220ms;
}

.site-header--menu-open .site-header__navigation {
    max-height: calc(100vh - var(--site-header-mobile-height));
    max-height: calc(100dvh - var(--site-header-mobile-height));
    overflow-x: hidden;
    overflow-y: auto;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
    transition-delay: 0s;
}

.site-header__utility {
    display: grid;
    flex: 0 0 auto;
    margin: 0;
    padding: 16px;
    gap: 14px;
    color: #ffffff;
    background: var(--site-header-navy-900);
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.site-header .site-header__utility-nav,
.site-header .site-header__primary {
    position: static;
    inset: auto;
    z-index: auto;
    width: auto;
    min-height: 0;
    max-width: none;
    margin: 0;
    padding: 0;
    color: inherit;
    background: transparent;
}

.site-header__utility-list,
.site-header__primary-list,
.site-header__panel-list {
    display: flex;
    margin: 0;
    padding: 0;
    list-style: none;
}

.site-header__utility-list {
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 18px;
}

.site-header .site-header__utility-item {
    display: block;
    width: auto;
    height: auto;
    margin: 0;
    padding: 0;
}

.site-header .site-header__utility-link,
.site-header .site-header__utility-link:visited {
    display: inline-flex;
    min-height: 38px;
    align-items: center;
    padding: 6px 0;
    gap: 7px;
    color: #ffffff;
    background: transparent;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none;
}

.site-header__utility-icon {
    width: 17px;
    height: 17px;
    color: #9ebaff;
}

.site-header__search {
    display: grid;
    width: 100%;
    min-width: 0;
    height: 46px;
    grid-template-columns: minmax(0, 1fr) 46px;
    margin: 0;
    overflow: hidden;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.55);
    border-radius: 4px;
}

.site-header__search:focus-within {
    border-color: #ffffff;
    box-shadow: 0 0 0 3px rgba(245, 189, 63, 0.48);
}

.site-header__search-label {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    border: 0;
    white-space: nowrap;
}

.site-header .site-header__search-input {
    display: block;
    min-width: 0;
    width: 100%;
    height: 44px;
    margin: 0;
    padding: 0 13px;
    color: #ffffff;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    font: 400 16px/44px "PT Sans", Arial, sans-serif;
    outline: 0;
    appearance: none;
    -webkit-appearance: none;
}

.site-header .site-header__search-input::placeholder {
    color: rgba(255, 255, 255, 0.74);
    opacity: 1;
}

.site-header .site-header__search-submit {
    display: inline-flex;
    width: 46px;
    height: 44px;
    align-items: center;
    justify-content: center;
    padding: 0;
    color: #ffffff;
    background: transparent;
    border: 0;
    border-left: 1px solid rgba(255, 255, 255, 0.36);
    border-radius: 0;
}

.site-header__search-submit svg {
    display: block;
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
}

.site-header__panel-overview > .site-header__icon {
    display: block;
    width: 19px;
    height: 19px;
    flex: 0 0 19px;
    margin-left: auto;
    fill: none;
    stroke: currentColor;
}

.site-header__primary-row {
    flex: 0 0 auto;
    min-width: 0;
    margin: 0;
    background: var(--site-header-navy-950);
}

.site-header__primary-list {
    width: 100%;
    flex-direction: column;
}

.site-header .site-header__primary-item {
    position: static;
    display: block;
    width: 100%;
    height: auto;
    margin: 0;
    padding: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.13);
}

.site-header__tile {
    position: relative;
    display: flex;
    min-height: 58px;
    align-items: stretch;
    margin: 0;
    background: transparent;
}

.site-header .site-header__tile-link,
.site-header .site-header__tile-link:visited {
    display: flex;
    min-width: 0;
    min-height: 58px;
    flex: 1 1 auto;
    align-items: center;
    justify-content: flex-start;
    margin: 0;
    padding: 12px 16px;
    gap: 11px;
    color: #ffffff;
    background: transparent;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.25;
    text-align: left;
    text-decoration: none;
}

.site-header__primary-item.has-children .site-header__tile-link {
    padding-right: 62px;
}

.site-header__tile-icon {
    display: none;
}

.site-header__tile-label {
    display: block;
    min-width: 0;
}

.site-header .site-header__submenu-toggle {
    position: absolute;
    top: 7px;
    right: 9px;
    display: inline-flex;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    padding: 12px;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 4px;
}

.site-header__submenu-icon {
    width: 18px;
    height: 18px;
    transition: transform 180ms ease;
}

.site-header__submenu-toggle[aria-expanded="true"] {
    color: #ffffff;
    background: var(--site-header-blue-600);
    border-color: var(--site-header-blue-600);
}

.site-header__submenu-toggle[aria-expanded="true"] .site-header__submenu-icon {
    transform: rotate(180deg);
}

.site-header__primary-item.is-active-section > .site-header__tile {
    background: rgba(36, 86, 189, 0.24);
}

.site-header__primary-item.is-active-section > .site-header__tile::after {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 4px;
    content: "";
    background: #78a2ff;
}

.site-header__panel {
    position: static;
    width: 100%;
    margin: 0;
    color: var(--site-header-ink);
    background: var(--site-header-surface-soft);
    border-top: 1px solid #cbd7ea;
    box-shadow: inset 0 8px 18px rgba(6, 23, 47, 0.08);
}

.site-header__panel:not([hidden]) {
    display: block;
    animation: site-header-panel-in 180ms ease both;
}

.site-header__panel-inner {
    display: block;
    width: 100%;
    max-width: var(--site-header-content-width);
    margin: 0 auto;
    padding: 16px;
}

.site-header .site-header__panel-overview,
.site-header .site-header__panel-overview:visited {
    display: flex;
    min-height: 48px;
    align-items: center;
    margin: 0 0 16px;
    padding: 11px 14px;
    color: #ffffff;
    background: var(--site-header-blue-700);
    border-radius: 4px;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.3;
    text-decoration: none;
}

.site-header .site-header__panel-overview > .site-header__icon {
    transform: rotate(-90deg);
}

.site-header__panel-groups {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
}

.site-header .site-header__panel-group {
    display: block;
    width: auto;
    min-height: 0;
    height: auto;
    margin: 0;
    padding: 0;
    color: inherit;
    background: transparent;
    transition: none;
}

.site-header__panel-title {
    margin: 0 0 7px;
    padding: 0 0 7px;
    color: var(--site-header-blue-700);
    border-bottom: 1px solid var(--site-header-line);
    font-size: 16px;
    font-weight: 800;
    line-height: 1.25;
}

.site-header .site-header__panel-title > a,
.site-header .site-header__panel-title > a:visited {
    display: inline;
    margin: 0;
    padding: 0;
    color: inherit;
    background: transparent;
    font: inherit;
    text-decoration: none;
}

.site-header__panel-list {
    flex-direction: column;
    gap: 2px;
}

.site-header .site-header__panel-item {
    display: block;
    width: auto;
    height: auto;
    margin: 0;
    padding: 0;
}

.site-header .site-header__panel-link,
.site-header .site-header__panel-link:visited {
    display: block;
    min-height: 40px;
    margin: 0;
    padding: 9px 10px;
    color: #2d3c56;
    background: transparent;
    border-radius: 3px;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.35;
    text-align: left;
    text-decoration: none;
}

.site-header .site-header__brand > a:focus-visible,
.site-header .site-header__phone:focus-visible,
.site-header .site-header__menu-toggle:focus-visible,
.site-header .site-header__utility-link:focus-visible,
.site-header .site-header__search-submit:focus-visible,
.site-header .site-header__tile-link:focus-visible,
.site-header .site-header__submenu-toggle:focus-visible,
.site-header .site-header__panel-overview:focus-visible,
.site-header .site-header__category-toggle:focus-visible,
.site-header .site-header__category-view-all:focus-visible,
.site-header .site-header__panel-title > a:focus-visible,
.site-header .site-header__panel-link:focus-visible {
    position: relative;
    z-index: 2;
    outline: 3px solid var(--site-header-focus);
    outline-offset: 2px;
}

.site-header--compact {
    --site-header-mobile-height: 72px;
}

.site-header--compact .site-header__shell {
    min-height: var(--site-header-mobile-height);
}

.site-header--compact .site-header__brand {
    padding-top: 5px;
    padding-bottom: 5px;
}

.site-header--compact .site-header__logo {
    width: clamp(132px, 28vw, 170px);
}

.site-header--compact .site-header__phone {
    min-height: 36px;
    padding: 5px 7px;
    font-size: 14px;
}

.site-header--compact .site-header__menu-toggle {
    min-height: 46px;
    margin-top: 7px;
    margin-bottom: 7px;
}

@media (min-width: 700px) and (max-width: 1279px) {
    .site-header__panel-groups {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .site-header__panel-inner {
        padding: 22px clamp(24px, 5vw, 56px) 28px;
    }
}

@media (max-width: 520px) {
    .site-header__brand {
        flex-direction: column;
        align-items: flex-start;
        justify-content: center;
        padding-top: 5px;
        padding-bottom: 5px;
        gap: 1px;
    }

    .site-header__logo {
        width: clamp(142px, 44vw, 178px);
    }

    .site-header .site-header__phone,
    .site-header .site-header__phone:visited {
        min-height: 24px;
        padding: 2px 4px;
        gap: 5px;
        border-color: transparent;
        font-size: 13px;
    }

    .site-header__phone-icon {
        width: 15px;
        height: 15px;
    }

    .site-header .site-header__menu-toggle {
        min-width: 68px;
        margin-right: 8px;
        margin-left: 8px;
        padding-right: 10px;
        padding-left: 10px;
    }

    .site-header--compact .site-header__brand {
        gap: 0;
    }

    .site-header--compact .site-header__logo {
        width: clamp(128px, 39vw, 152px);
    }

    .site-header--compact .site-header__phone {
        min-height: 20px;
        padding-top: 1px;
        padding-bottom: 1px;
        font-size: 12px;
    }

    .site-header__panel-inner {
        padding-right: 12px;
        padding-left: 12px;
    }
}

@media (min-width: 1280px) {
    .site-header {
        --site-header-total-height: calc(var(--site-header-utility-height) + var(--site-header-primary-height));
    }

    .site-header__shell {
        grid-template-columns: var(--site-header-brand-width) minmax(0, 1fr);
        grid-template-rows: var(--site-header-utility-height) var(--site-header-primary-height);
        min-height: var(--site-header-total-height);
        background: var(--site-header-surface);
        transition: grid-template-rows 180ms ease, min-height 180ms ease;
    }

    .site-header__brand {
        position: relative;
        z-index: 3;
        grid-column: 1;
        grid-row: 1 / span 2;
        flex-direction: column;
        align-items: flex-start;
        justify-content: center;
        padding: 18px 54px 18px 22px;
        gap: 5px;
        overflow: visible;
        background: #ffffff;
        box-shadow: 8px 0 22px rgba(6, 23, 47, 0.18);
    }

    .site-header__brand::before,
    .site-header__brand::after {
        position: absolute;
        top: 0;
        bottom: 0;
        pointer-events: none;
        content: "";
        -webkit-clip-path: polygon(0 0, 100% 0, 30% 100%, 0 100%);
        clip-path: polygon(0 0, 100% 0, 30% 100%, 0 100%);
    }

    .site-header__brand::before {
        z-index: -2;
        right: -54px;
        width: 68px;
        background: rgba(6, 23, 47, 0.18);
        filter: blur(5px);
    }

    .site-header__brand::after {
        z-index: -1;
        right: -46px;
        width: 60px;
        background: #ffffff;
    }

    .site-header__logo {
        width: min(292px, calc(var(--site-header-brand-width) - 76px));
    }

    .site-header .site-header__phone,
    .site-header .site-header__phone:visited {
        min-height: 34px;
        justify-content: flex-start;
        padding: 4px 7px;
        border-color: transparent;
        font-size: 19px;
    }

    .site-header .site-header__menu-toggle {
        display: none;
    }

    .site-header__navigation,
    .site-header--menu-open .site-header__navigation {
        position: static;
        z-index: auto;
        grid-column: 2;
        grid-row: 1 / span 2;
        display: grid;
        max-height: none;
        grid-template-rows: var(--site-header-utility-height) var(--site-header-primary-height);
        overflow: visible;
        color: var(--site-header-ink);
        background: transparent;
        box-shadow: none;
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: none;
        transition: grid-template-rows 180ms ease;
    }

    .site-header__utility {
        display: flex;
        min-width: 0;
        height: var(--site-header-utility-height);
        align-items: center;
        justify-content: flex-end;
        padding: 12px 24px 12px 54px;
        gap: clamp(18px, 2vw, 34px);
        color: #ffffff;
        background: var(--site-header-navy-950);
        border: 0;
    }

    .site-header__utility-nav {
        min-width: 0;
    }

    .site-header__utility-list {
        flex-wrap: nowrap;
        height: 100%;
        gap: 0;
    }

    .site-header .site-header__utility-item {
        display: flex;
        height: 100%;
        align-items: center;
    }

    .site-header .site-header__utility-item + .site-header__utility-item {
        border-left: 1px solid rgba(255, 255, 255, 0.2);
    }

    .site-header .site-header__utility-link,
    .site-header .site-header__utility-link:visited {
        height: 100%;
        padding: 4px clamp(10px, 1.05vw, 18px);
        font-size: clamp(13px, 0.95vw, 15px);
        white-space: nowrap;
    }

    .site-header__utility-icon {
        width: 16px;
        height: 16px;
    }

    .site-header__search {
        flex: 0 1 clamp(230px, 23vw, 350px);
        width: clamp(230px, 23vw, 350px);
        height: 40px;
        grid-template-columns: minmax(0, 1fr) 42px;
        border-color: rgba(255, 255, 255, 0.64);
    }

    .site-header .site-header__search-input {
        height: 38px;
        font-size: 15px;
        line-height: 38px;
    }

    .site-header .site-header__search-submit {
        width: 42px;
        height: 38px;
    }

    .site-header__primary-row {
        min-width: 0;
        height: var(--site-header-primary-height);
        background: #ffffff;
        border-bottom: 1px solid var(--site-header-line);
    }

    .site-header .site-header__primary {
        height: 100%;
    }

    .site-header__primary-list {
        display: grid;
        height: 100%;
        grid-template-columns: repeat(7, minmax(0, 1fr));
        flex-direction: initial;
        padding-left: 40px;
    }

    .site-header .site-header__primary-item {
        display: block;
        min-width: 0;
        width: auto;
        height: 100%;
        border-top: 0;
        border-left: 1px solid var(--site-header-line);
    }

    .site-header .site-header__primary-item:last-child {
        border-right: 1px solid var(--site-header-line);
    }

    .site-header__tile {
        height: 100%;
        min-height: var(--site-header-primary-height);
        background: #ffffff;
        transition: background-color 160ms ease;
    }

    .site-header .site-header__tile-link,
    .site-header .site-header__tile-link:visited {
        min-height: var(--site-header-primary-height);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding: 20px 16px 24px;
        gap: 10px;
        color: var(--site-header-ink);
        font-size: clamp(13px, 1.04vw, 16px);
        line-height: 1.16;
        text-align: center;
    }

    .site-header__primary-item.has-children .site-header__tile-link {
        padding-right: 25px;
        padding-left: 25px;
    }

    .site-header__tile-icon {
        display: inline-flex;
        width: 42px;
        height: 42px;
        color: var(--site-header-blue-700);
    }

    .site-header__tile-label {
        display: -webkit-box;
        max-width: 100%;
        overflow: hidden;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
    }

    .site-header .site-header__submenu-toggle {
        top: auto;
        right: 6px;
        bottom: 31px;
        width: 30px;
        height: 30px;
        padding: 8px;
        color: var(--site-header-blue-700);
        background: transparent;
        border-color: transparent;
        border-radius: 50%;
    }

    .site-header__submenu-icon {
        width: 14px;
        height: 14px;
    }

    .site-header__primary-item.is-active-section > .site-header__tile {
        background: #ffffff;
    }

    .site-header__primary-item:has(> .site-header__panel:not([hidden])) > .site-header__tile {
        background: var(--site-header-blue-100);
    }

    .site-header__primary-item.is-active-section > .site-header__tile::after {
        height: 5px;
        background: var(--site-header-blue-600);
    }

    .site-header__panel {
        position: absolute;
        z-index: 6;
        top: 100%;
        right: 0;
        left: 0;
        width: 100%;
        max-height: calc(100vh - var(--site-header-total-height));
        max-height: calc(100dvh - var(--site-header-total-height));
        overflow-x: hidden;
        overflow-y: auto;
        background: #ffffff;
        border-top: 5px solid var(--site-header-blue-600);
        box-shadow: 0 22px 38px rgba(6, 23, 47, 0.2);
        overscroll-behavior: contain;
    }

    .site-header__panel-inner {
        display: grid;
        grid-template-columns: minmax(220px, 0.7fr) minmax(0, 2.3fr);
        align-items: start;
        padding: 30px clamp(28px, 4.5vw, 72px) 34px;
        gap: clamp(30px, 4vw, 64px);
    }

    .site-header .site-header__panel-overview,
    .site-header .site-header__panel-overview:visited {
        min-height: 96px;
        align-items: flex-end;
        margin: 0;
        padding: 20px;
        font-size: 18px;
    }

    .site-header__panel-groups {
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
        gap: 26px clamp(22px, 3vw, 46px);
    }

    .site-header__panel-title {
        margin-bottom: 9px;
        padding-bottom: 9px;
        font-size: 17px;
    }

    .site-header .site-header__panel-link,
    .site-header .site-header__panel-link:visited {
        min-height: 38px;
        padding: 8px 9px;
        font-size: 15px;
    }

    .site-header--compact {
        --site-header-brand-width: clamp(250px, 21vw, 320px);
        --site-header-utility-height: 0px;
        --site-header-primary-height: 78px;
    }

    .site-header--compact .site-header__shell {
        grid-template-rows: var(--site-header-primary-height);
    }

    .site-header--compact .site-header__brand {
        grid-row: 1;
        flex-direction: row;
        align-items: center;
        padding: 7px 54px 7px 22px;
    }

    .site-header--compact .site-header__logo {
        width: min(205px, calc(var(--site-header-brand-width) - 74px));
    }

    .site-header--compact .site-header__phone {
        display: none;
    }

    .site-header--compact .site-header__navigation,
    .site-header--compact.site-header--menu-open .site-header__navigation {
        grid-row: 1;
        grid-template-rows: var(--site-header-primary-height);
    }

    .site-header--compact .site-header__utility {
        display: none;
    }

    .site-header--compact .site-header__primary-row {
        grid-row: 1;
    }

    .site-header--compact .site-header__primary-list {
        padding-left: 34px;
    }

    .site-header--compact .site-header__tile-link,
    .site-header--compact .site-header__tile-link:visited {
        flex-direction: row;
        padding: 12px 20px;
        gap: 0;
        font-size: clamp(13px, 0.92vw, 15px);
    }

    .site-header--compact .site-header__primary-item.has-children .site-header__tile-link {
        padding-right: 30px;
        padding-left: 18px;
    }

    .site-header--compact .site-header__tile-icon {
        display: none;
    }

    .site-header--compact .site-header__submenu-toggle {
        top: 24px;
        right: 4px;
        bottom: auto;
    }

    .site-header--compact .site-header__panel {
        max-height: calc(100vh - var(--site-header-primary-height));
        max-height: calc(100dvh - var(--site-header-primary-height));
    }
}

/* Progressive category disclosure inside each primary submenu. */
.site-header__panel-groups[data-category-groups] {
    display: block;
    min-height: 0;
    margin: 0;
    padding: 0;
}

.site-header .site-header__category-placeholder[data-category-placeholder] {
    display: none;
}

.site-header .site-header__panel-group[data-category-group] {
    display: block;
    width: 100%;
    min-height: 0;
    height: auto;
    margin: 0;
    padding: 0;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid var(--site-header-line);
    border-radius: 4px;
}

.site-header .site-header__panel-group[data-category-group] + .site-header__panel-group[data-category-group] {
    margin-top: 10px;
}

.site-header .site-header__category-toggle {
    display: flex;
    width: 100%;
    min-height: 52px;
    align-items: center;
    justify-content: space-between;
    margin: 0;
    padding: 11px 14px;
    gap: 12px;
    color: var(--site-header-ink);
    background: #ffffff;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    font: 700 16px/1.3 "PT Sans", Arial, sans-serif;
    text-align: left;
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
    transition: color 160ms ease, background-color 160ms ease, border-color 160ms ease;
}

.site-header .site-header__category-toggle > .site-header__icon {
    display: block;
    width: 17px;
    height: 17px;
    flex: 0 0 17px;
    margin-left: auto;
    fill: none;
    stroke: currentColor;
    transition: transform 180ms ease;
}

.site-header .site-header__category-toggle[aria-expanded="true"] {
    color: #ffffff;
    background: var(--site-header-blue-700);
}

.site-header .site-header__category-toggle[aria-expanded="true"] > .site-header__icon {
    transform: rotate(180deg);
}

.site-header__category-panel {
    position: static;
    width: 100%;
    max-height: none;
    margin: 0;
    padding: 14px;
    overflow: visible;
    color: var(--site-header-ink);
    background: var(--site-header-surface-soft);
    border-top: 1px solid var(--site-header-line);
    box-sizing: border-box;
}

.site-header__category-panel:not([hidden]) {
    display: block;
    animation: site-header-panel-in 160ms ease both;
}

.site-header .site-header__category-view-all,
.site-header .site-header__category-view-all:visited {
    display: inline-flex;
    min-height: 42px;
    align-items: center;
    margin: 0 0 14px;
    padding: 8px 12px;
    color: #ffffff;
    background: var(--site-header-blue-700);
    border-radius: 3px;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.25;
    text-align: left;
    text-decoration: none;
}

.site-header__category-panel .site-header__panel-title {
    margin-bottom: 10px;
}

.site-header__category-panel .site-header__panel-list {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 3px;
}

@media (min-width: 1280px) {
    .site-header__panel-inner--categories {
        display: block;
    }

    .site-header .site-header__panel-groups[data-category-groups] > .site-header__panel-overview,
    .site-header .site-header__panel-groups[data-category-groups] > .site-header__panel-overview:visited {
        z-index: 1;
        width: 100%;
        min-width: 0;
        min-height: 52px;
        height: 52px;
        grid-column: 1;
        align-items: center;
        margin: 0;
        padding: 11px 14px;
        box-sizing: border-box;
        font-size: 15px;
    }

    .site-header__panel-groups[data-category-groups] {
        position: relative;
        display: grid;
        min-width: 0;
        min-height: var(--site-header-category-pane-height);
        height: var(--site-header-category-pane-height);
        grid-template-columns: var(--site-header-category-rail-width) minmax(0, 1fr);
        grid-auto-rows: minmax(52px, auto);
        align-content: start;
        column-gap: var(--site-header-category-gap);
        overflow: visible;
    }

    .site-header .site-header__panel-group[data-category-group] {
        display: contents;
        width: auto;
        overflow: visible;
        background: transparent;
        border: 0;
        border-radius: 0;
    }

    .site-header .site-header__panel-group[data-category-group] + .site-header__panel-group[data-category-group] {
        margin-top: 0;
    }

    .site-header .site-header__category-toggle {
        position: relative;
        z-index: 1;
        grid-column: 1;
        width: 100%;
        min-width: 0;
        min-height: 52px;
        padding: 11px 38px 11px 14px;
        color: var(--site-header-ink);
        background: var(--site-header-surface-soft);
        border: 1px solid var(--site-header-line);
        border-bottom-width: 0;
        font-size: 15px;
    }

    .site-header .site-header__panel-group[data-category-group]:last-child > .site-header__category-toggle {
        border-bottom-width: 1px;
    }

    .site-header .site-header__category-toggle::after {
        position: absolute;
        top: 0;
        right: 0;
        bottom: 0;
        width: 4px;
        content: "";
        background: transparent;
    }

    .site-header .site-header__category-toggle > .site-header__icon,
    .site-header .site-header__category-toggle[aria-expanded="true"] > .site-header__icon {
        position: absolute;
        right: 13px;
        width: 15px;
        height: 15px;
        transform: rotate(-90deg);
    }

    .site-header .site-header__category-toggle[aria-expanded="true"] {
        color: #ffffff;
        background: var(--site-header-blue-700);
        border-color: var(--site-header-blue-700);
    }

    .site-header .site-header__category-toggle[aria-expanded="true"]::after {
        background: var(--site-header-focus);
    }

    .site-header .site-header__category-placeholder[data-category-placeholder],
    .site-header__category-panel[data-category-panel] {
        position: absolute;
        top: 0;
        right: 0;
        bottom: 0;
        left: calc(var(--site-header-category-rail-width) + var(--site-header-category-gap));
        width: auto;
        min-width: 0;
        height: var(--site-header-category-pane-height);
        max-height: var(--site-header-category-pane-height);
        margin: 0;
        box-sizing: border-box;
    }

    .site-header .site-header__category-placeholder[data-category-placeholder] {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding: 28px;
        gap: 8px;
        color: var(--site-header-muted);
        background: linear-gradient(135deg, #f7f9fd 0%, #edf2fa 100%);
        border: 1px dashed #aebbd0;
        border-radius: 5px;
        font-size: 17px;
        font-weight: 700;
        line-height: 1.45;
        text-align: center;
    }

    .site-header__category-placeholder-title,
    .site-header__category-placeholder-text {
        max-width: 460px;
        margin: 0;
    }

    .site-header__category-placeholder-title {
        color: var(--site-header-ink);
        font-size: 20px;
        font-weight: 800;
        line-height: 1.2;
    }

    .site-header__category-placeholder-text {
        color: var(--site-header-muted);
        font-size: 15px;
        font-weight: 400;
        line-height: 1.5;
    }

    .site-header__category-panel[data-category-panel] {
        padding: 20px 22px 22px;
        overflow-x: hidden;
        overflow-y: auto;
        background: #ffffff;
        border: 1px solid var(--site-header-line);
        border-radius: 5px;
        box-shadow: 0 10px 24px rgba(6, 23, 47, 0.08);
        overscroll-behavior: contain;
        scrollbar-gutter: stable;
    }

    .site-header__category-panel[data-category-panel] .site-header__panel-title {
        margin-bottom: 12px;
        padding-bottom: 11px;
        font-size: 20px;
    }

    .site-header__category-panel[data-category-panel] .site-header__panel-list {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        align-content: start;
        gap: 3px 14px;
    }

    .site-header .site-header__category-panel[data-category-panel] .site-header__panel-link,
    .site-header .site-header__category-panel[data-category-panel] .site-header__panel-link:visited {
        min-height: 42px;
        padding: 10px;
    }
}

@media (hover: hover) and (pointer: fine) {
    .site-header .site-header__phone:hover {
        color: var(--site-header-blue-700);
        background: var(--site-header-blue-100);
        border-color: rgba(24, 63, 150, 0.54);
    }

    .site-header .site-header__utility-link:hover {
        color: #ffffff;
        background: rgba(255, 255, 255, 0.12);
    }

    .site-header .site-header__search-submit:hover {
        color: var(--site-header-navy-950);
        background: #ffffff;
    }

    .site-header .site-header__menu-toggle:hover {
        color: #ffffff;
        background: var(--site-header-blue-600);
        border-color: var(--site-header-blue-600);
    }

    .site-header .site-header__tile-link:hover {
        color: #ffffff;
        background: var(--site-header-blue-700);
    }

    .site-header .site-header__submenu-toggle:hover {
        color: #ffffff;
        background: var(--site-header-blue-600);
        border-color: var(--site-header-blue-600);
    }

    .site-header .site-header__panel-overview:hover {
        background: var(--site-header-blue-600);
    }

    .site-header .site-header__category-toggle:hover {
        color: var(--site-header-blue-700);
        background: var(--site-header-blue-100);
        border-color: #aebfe4;
    }

    .site-header .site-header__category-toggle[aria-expanded="true"]:hover {
        color: #ffffff;
        background: var(--site-header-blue-600);
        border-color: var(--site-header-blue-600);
    }

    .site-header .site-header__category-view-all:hover {
        color: #ffffff;
        background: var(--site-header-blue-600);
    }

    .site-header .site-header__panel-title > a:hover,
    .site-header .site-header__panel-link:hover {
        color: var(--site-header-blue-700);
        background: var(--site-header-blue-100);
    }
}

@media (prefers-reduced-motion: reduce) {
    .site-header__shell,
    .site-header__navigation,
    .site-header__tile,
    .site-header__submenu-icon,
    .site-header .site-header__category-toggle,
    .site-header .site-header__category-toggle > .site-header__icon {
        transition: none;
    }

    .site-header__panel:not([hidden]),
    .site-header__category-panel:not([hidden]) {
        animation: none;
    }
}

@keyframes site-header-panel-in {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}
