/* PC-only canonical header overrides. The markup is generated from home-pc.html. */
@media (min-width: 700px) {
    html {
        overflow-x: hidden;
    }

    .pc-header-loading .site-header,
    .pc-header-loading .top-promo-bar {
        visibility: hidden;
    }

    .site-header {
        left: 0;
        right: 0;
        width: auto;
        max-width: none;
        min-width: 0;
        box-sizing: border-box;
        background: #fff;
        color: #1f2937;
        font-family: Inter, Arial, sans-serif;
        --bu-logo-h: 87.36px;
        --bu-badge-h: clamp(53.2px, calc(70.43px - 17.23px * var(--bu-adapt, 0)), 70.43px);
    }

    .site-header .header-top,
    .site-header .searchbar-header,
    .site-header .header-bottom {
        width: 100%;
        background: #fff;
    }

    /*
     * Header rail = HERO banner.
     * --bu-hero-width is measured from .hero-banners-container (JS), with the same
     * CSS fallback as style.css: width: min(100%, 1440px).
     * Right padding is 0 so mini-basket + laptop Basket sit on the hero right edge.
     */
    .site-header {
        --bu-adapt: 0;
        --bu-content-max: 1440px;
        /* 100vw (not 100%) — fixed header % basis can exceed the visible viewport. */
        --bu-hero-width: min(100vw, 1440px);
        --bu-pad-x: 24px;
        --bu-rail-inset: 0px;
        --header-shell-width: 1440px;
        --header-shell-padding: var(--bu-pad-x);
        --searchbar-shell-padding: var(--bu-pad-x);
    }

    .site-header .header-top .header-container,
    .site-header .header-container,
    .site-header .searchbar-header__surface,
    .site-header .header-bottom > .header-container {
        width: var(--bu-hero-width) !important;
        max-width: none !important;
        margin-left: auto !important;
        margin-right: auto !important;
        box-sizing: border-box !important;
        padding-left: var(--bu-pad-x) !important;
        padding-right: 0 !important;
    }

    .site-header .header-top {
        background: #fff;
        border-bottom: 1px solid #eef0f3;
        color: #374151;
        font-weight: 500;
    }

    .site-header .header-top .header-container {
        position: relative;
        min-height: 40px;
        padding-top: 8px !important;
        padding-bottom: 8px !important;
        flex-direction: row;
        align-items: center;
        flex-wrap: nowrap;
    }

    .site-header .header-social-3d,
    .site-header .header-top-email {
        display: none !important;
    }

    .site-header .header-trust-list {
        display: flex;
        align-items: center;
        flex-wrap: wrap;
        gap: 28px;
        margin: 0;
        padding: 0;
        list-style: none;
        color: #4b5563;
        font-size: 13px;
        font-weight: 500;
    }

    .site-header .header-trust-list li {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        white-space: nowrap;
    }

    .site-header .header-trust-list i,
    .site-header .header-trust-list .trust-icon {
        color: #111827;
        font-size: 18px;
        line-height: 1;
    }

    .site-header .header-trust-list .trust-icon {
        width: 26px;
        height: 17px;
        flex: 0 0 26px;
        display: block;
        overflow: visible;
    }

    .site-header .header-trust-list .trust-icon--check {
        color: #16a34a;
    }

    .site-header .header-top-links {
        gap: 18px;
    }

    .site-header .header-top .header-top-right {
        position: static;
        left: auto;
        display: flex;
        justify-content: flex-end;
        align-items: center;
        flex: 0 0 auto;
        margin-left: auto;
        /* 50px rail inset + cart width, because the cart is pinned out of flow. */
        margin-right: 98px;
        gap: 0;
    }

    .site-header .header-top-phone {
        position: relative;
        left: 0;
        color: #0f172a;
        font-size: 15px; /* was 13px; +15% */
        font-weight: 700;
        gap: 8px;
    }

    .site-header .header-top-phone:hover {
        color: #0f172a;
    }

    .site-header .header-top-mail {
        color: #0f172a;
        font-size: 15px;
        font-weight: 700;
        text-decoration: none;
        white-space: nowrap;
    }

    .site-header .header-top-mail:hover {
        color: #0f172a;
        opacity: 0.7;
    }

    .site-header .header-top-vat-control {
        margin-left: 0;
        flex: 0 0 auto;
        position: relative;
        left: 0;
    }

    .site-header .header-top-vat-toggle {
        --vat-label-slot: 58px; /* fits both "Ex VAT" and "Inc VAT" */
        --track-width: 36px;
        --track-height: 20px;
        --thumb-size: 16px;
        position: relative;
        display: inline-flex;
        align-items: center;
        gap: 10px;
        /* Label is absolutely positioned in a fixed slot so EXC/INC swap never shifts the phone or switch. */
        padding-left: var(--vat-label-slot);
        box-sizing: border-box;
    }

    .site-header .header-top-vat-toggle__label {
        position: absolute;
        left: 0;
        top: 50%;
        transform: translateY(-50%);
        width: calc(var(--vat-label-slot) - 10px);
        margin: 0;
        font-size: 13px;
        font-weight: 600;
        letter-spacing: 0;
        text-transform: none;
        color: #111827;
        text-align: right;
        white-space: nowrap;
        line-height: 1;
        pointer-events: none;
    }

    .site-header .header-top-vat-toggle__label:not(.is-active) {
        display: none;
    }

    .site-header .header-top-vat-toggle.is-on .header-top-vat-toggle__label.is-active {
        color: #111827;
        font-weight: 600;
    }

    .site-header .header-top-vat-toggle.is-on .header-top-vat-toggle__thumb {
        background: linear-gradient(180deg, #ff9a3c, #ff7a00);
        box-shadow: inset 0 1px 3px rgba(255, 255, 255, 0.5), inset 0 -3px 6px rgba(180, 70, 0, 0.35), 0 0 12px rgba(255, 122, 0, 0.4);
    }

    .site-header .header-top-vat-toggle.is-on .header-top-vat-toggle__thumb::before {
        background: #ffffff;
        box-shadow: 0 2px 6px rgba(255, 122, 0, 0.3);
    }

    .site-header .header-top-basket-link {
        position: relative;
        color: #111827;
        margin-left: 0;
        flex: 0 0 auto;
    }

    /* Pinned to the same rail edge as the laptop icon, at every width. */
    .site-header .header-top .header-top-basket-link {
        display: inline-flex !important;
        align-items: center;
        justify-content: center;
        visibility: visible !important;
        opacity: 1 !important;
        position: absolute !important;
        right: 50px !important;
        left: auto !important;
        top: 50% !important;
        transform: translate(-6px, -50%) !important;
        margin: 0 !important;
        z-index: 1;
    }

    .site-header .header-top-basket-badge {
        position: absolute;
        top: -7px;
        right: -9px;
        display: flex !important;
        background: #ff7a00;
        min-width: 16px;
        height: 16px;
        font-size: 10px;
        font-weight: 700;
    }

    .site-header .searchbar-header {
        padding: 0 !important;
        margin: 0 !important;
        background: #fff;
    }

    .site-header .searchbar-header__surface {
        position: relative;
        padding-top: 12px !important;
        padding-bottom: 12px !important;
        border-radius: 0;
        transform: none;
    }

    .site-header .searchbar-header__inner {
        display: flex;
        align-items: center;
        flex-wrap: nowrap;
        min-height: 64px;
        gap: 16px;
    }

    .site-header .searchbar-header__brand {
        flex: 0 0 auto;
        display: flex;
        align-items: center;
        gap: 10px;
        /* Do not use negative margin — it pulls Shop products over the wordmark. */
        margin-right: 0;
    }

    /* GIF badge: full frame, no circular crop/mask. Wordmark sits to its right. */
    html body .site-header .searchbar-header__brand-badge-wrap {
        display: block;
        height: var(--bu-badge-h, 70.43px);
        width: auto;
        flex: 0 0 auto;
        border-radius: 0;
        overflow: visible;
        transform: translateY(-6px);
    }

    html body .site-header .searchbar-header__brand-badge {
        display: block;
        height: 100%;
        width: auto;
        max-width: none;
        object-fit: contain;
        border: none;
        border-radius: 0;
        transform: none;
        transform-origin: center;
    }

    /* Side-by-side with badge — never negative margin (stacks GIF on text). */
    html body .site-header .searchbar-header__brand-text {
        display: block;
        width: auto;
        height: var(--bu-logo-h, 87.36px);
        max-width: none;
        object-fit: contain;
        margin-left: 0;
    }

    .site-header .searchbar-header .category-dropdown {
        flex: 0 0 auto;
        /* Invisible 20px barrier before the search. No relative shift — that painted the button into the field. */
        margin-left: 12px;
        margin-right: 20px;
        position: relative;
        left: 0;
        z-index: 1;
    }

    /* Smaller Shop products — frees space vs logo without widening search. */
    .site-header .shop-products-btn,
    .site-header .category-toggle.shop-products-btn {
        display: inline-flex;
        align-items: center;
        gap: 5.75px;
        height: 34.5px;
        padding: 0 13.8px 0 12.65px;
        border: none;
        border-radius: 6.9px;
        background: #ff7a00;
        color: #fff;
        font-size: 13.8px;
        font-weight: 700;
        letter-spacing: 0;
        line-height: 1;
        box-shadow: none;
        opacity: 1;
        white-space: nowrap;
    }

    .site-header .shop-products-btn:hover,
    .site-header .category-dropdown[data-visible="true"] > .shop-products-btn {
        background: #e86e00;
        color: #fff;
        opacity: 1;
    }

    .site-header .shop-products-btn .category-toggle-icon::before {
        content: "";
        display: block;
        width: 12.65px;
        height: 12.65px;
        background:
            linear-gradient(#fff, #fff) 0 0 / 4.6px 4.6px no-repeat,
            linear-gradient(#fff, #fff) 8.05px 0 / 4.6px 4.6px no-repeat,
            linear-gradient(#fff, #fff) 0 8.05px / 4.6px 4.6px no-repeat,
            linear-gradient(#fff, #fff) 8.05px 8.05px / 4.6px 4.6px no-repeat;
    }

    .site-header .shop-products-btn .category-toggle-caret::before {
        color: #fff;
        content: "\25BE";
    }

    /*
     * Right util cluster: Quote + Account + Laptop.
     * Search shrinks first; utils never overlap search and keep their labels.
     * Do NOT use relative left pulls on Quote/Account — those cross the search on squeeze.
     * Do NOT shift this whole row with --bu-adapt (that desyncs the laptop from the top cart).
     */
    .site-header .searchbar-header__actions {
        display: flex;
        align-items: center;
        flex: 1 1 auto;
        width: auto;
        min-width: 0;
        order: 0;
        gap: 16px;
        margin-left: 0;
        justify-content: flex-start;
        position: static;
        left: auto;
        /* 50px rail inset + laptop width, because the laptop is pinned out of flow. */
        padding-right: 104px;
    }

    .site-header .searchbar-header__search,
    .site-header .searchbar-header__search-expand {
        order: 0;
        width: auto;
    }

    .site-header .searchbar-header__search-expand {
        position: relative;
        flex: 1 1 0;
        width: auto !important;
        max-width: 494px;
        min-width: 0;
        height: 34.5px;
        margin-left: 0;
        margin-right: 0;
        /* visible: suggest dropdown is position:absolute and must escape the 34px bar */
        overflow: visible;
    }

    .site-header .searchbar-header__actions > .header-util-link {
        flex: 0 0 auto;
        flex-shrink: 0;
        position: relative;
        left: 0;
    }

    /* Push Quote+Account+Laptop to the right; search yields the free space. */
    .site-header .searchbar-header__actions > .header-util-link:first-of-type {
        margin-left: auto;
    }

    .site-header .searchbar-header__search-expand .search-input-expand {
        display: block;
        width: 100%;
        height: 100%;
        box-sizing: border-box;
        padding: 0 16px 0 42px;
        border: 1px solid #6b7280;
        border-radius: 8px;
        outline: none;
        background: #f3f4f6;
        color: #1f2937;
        font: 500 13.8px/1 Inter, Arial, sans-serif;
        box-shadow: none;
    }

    .site-header .searchbar-header__search-expand .search-input-expand::placeholder {
        color: #9ca3af;
        opacity: 1;
    }

    .site-header .searchbar-header__search-expand .search-icon-expand {
        position: absolute;
        top: 50%;
        left: 14px;
        right: auto;
        transform: translateY(-50%);
        width: 18px;
        height: 18px;
        color: #9ca3af;
        cursor: pointer;
        pointer-events: auto;
        display: block;
        z-index: 2;
    }

    .site-header .header-util-link {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        color: #111827;
        font-size: 14px;
        font-weight: 600;
        text-decoration: none;
        white-space: nowrap;
    }

    .site-header .header-util-link:hover {
        color: #111827;
        opacity: 0.7;
    }

    .site-header .header-util-link svg {
        width: 18px;
        height: 18px;
        fill: none;
        stroke: currentColor;
        stroke-width: 2;
        stroke-linecap: round;
        stroke-linejoin: round;
    }

    /* Signed-in desktop: Account control contains only the Google profile pill. */
    .site-header .header-util-link.is-signed-in,
    .site-header .header-util-link:has(> .account-trigger-profile) {
        gap: 0 !important;
        width: auto !important;
        font-size: 0 !important;
    }
    .site-header .header-util-link.is-signed-in .account-trigger-profile,
    .site-header .header-util-link:has(> .account-trigger-profile) .account-trigger-profile {
        position: relative;
        left: -15px;
        font-size: 12px !important;
    }
    .site-header .header-util-link:has(> .account-trigger-profile) > :not(.account-trigger-profile) {
        display: none !important;
    }

    .site-header .header-util-link.header-top-basket-link .header-top-basket-badge {
        display: none !important;
    }

    /*
     * Laptop sits 10px to the right of the top cart (40px from the rail).
     * Out of flow so a shrinking search row cannot push it.
     */
    .site-header .searchbar-header__actions > .header-util-link.header-top-basket-link {
        position: absolute !important;
        right: 40px !important;
        left: auto !important;
        top: 50% !important;
        transform: translateY(-50%) !important;
        margin: 0 !important;
        display: inline-flex !important;
        align-items: center;
        justify-content: center;
        gap: 8px;
        flex: 0 0 auto;
        flex-shrink: 0;
        z-index: 1;
    }

    .site-header .searchbar-header__actions > .header-util-link.header-top-basket-link .header-basket-icon--video,
    .site-header .searchbar-header__actions > .header-util-link.header-top-basket-link > svg {
        position: relative;
        left: -1px;
    }

    .site-header .searchbar-header__action,
    .site-header .searchbar-header__action-ring {
        display: none !important;
    }

    .site-header .header-bottom {
        width: 100%;
        background: #fff;
        border-top: 1px solid #e5e7eb;
        border-bottom: 1px solid #e5e7eb;
    }

    .site-header .header-bottom > .header-container {
        min-height: 0;
        padding-top: 10px;
        padding-bottom: 10px;
        gap: 0;
        justify-content: flex-start;
    }

    .site-header .category-toggle,
    .site-header .main-nav > .menu > li > a {
        color: #1f2937;
        font-size: 14px;
        font-weight: 600;
        white-space: nowrap;
    }

    .site-header .main-nav > .menu > li.is-active > a,
    .site-header .main-nav > .menu > li.is-open > a,
    .site-header .main-nav > .menu > li > a[aria-current="page"] {
        color: #ff7a00;
        box-shadow: inset 0 -2px 0 #ff7a00;
    }

    .site-header .main-nav {
        flex: 1;
        min-width: 0;
    }

    .site-header .main-nav > .menu {
        display: flex;
        align-items: center;
        justify-content: flex-start;
        flex-wrap: nowrap;
        gap: 22px;
        width: 100%;
    }

    .site-header .header-bottom {
        position: relative;
        width: 100%;
        max-width: 100%;
        min-width: 0;
        overflow: visible;
    }

    .site-header .header-bottom > .header-container {
        position: relative;
        min-width: 0;
        overflow: visible;
        padding-top: 10px !important;
        padding-bottom: 10px !important;
    }

    .site-header .brands-menu,
    .site-header .industries-menu,
    .site-header .workwear-menu,
    .site-header .main-nav > .menu > li.has-megamenu,
    .site-header .promotions-menu {
        position: static !important;
    }

    .site-header .exclusives-menu {
        position: relative;
    }

    .site-header .main-nav > .menu > li.has-megamenu:not(.is-open) > .nav-megamenu {
        display: none !important;
    }

    .site-header .main-nav .nav-megamenu,
    .site-header .main-nav .nav-megamenu.allprod-megamenu,
    .site-header .main-nav .nav-megamenu.industries-megamenu,
    .site-header .main-nav .nav-megamenu.workwear-megamenu,
    .site-header .main-nav .nav-megamenu.cat-megamenu,
    .site-header .brands-menu .nav-megamenu.brand-grid {
        top: calc(100% + 10px);
        left: 28px;
        right: 28px;
        width: auto;
        min-width: 0;
        max-width: none;
        box-sizing: border-box;
        padding: 24px 28px 28px;
        border: 1px solid #eef0f3;
        border-radius: 18px;
        background: #fff;
        box-shadow: 0 22px 44px rgba(15, 23, 42, 0.12);
        transform: none;
    }

    .site-header .main-nav .nav-megamenu::before,
    .site-header .main-nav > .menu > li.has-megamenu.is-open > a::after {
        display: none !important;
    }

    .site-header .main-nav .menu > li.has-megamenu.is-open > .nav-megamenu.allprod-megamenu {
        display: flex !important;
        align-items: stretch;
    }

    .site-header .main-nav .menu > li.has-megamenu.is-open > .nav-megamenu.industries-megamenu,
    .site-header .main-nav .menu > li.has-megamenu.is-open > .nav-megamenu.workwear-megamenu,
    .site-header .main-nav .menu > li.has-megamenu.is-open > .nav-megamenu.cat-megamenu {
        display: block !important;
    }

    .site-header .allprod-list {
        flex: 1;
        min-width: 0;
        margin: 0;
        padding: 0 32px 0 0;
        list-style: none;
        column-count: 6;
        column-gap: 24px;
    }

    .site-header .allprod-list li {
        break-inside: avoid;
        margin-bottom: 4px;
        list-style: none;
    }

    .site-header .allprod-list .brand-heading {
        display: block;
        margin: 14px 0 6px;
        color: #0f5132;
        font-size: 12px;
        font-weight: 700;
        letter-spacing: .16em;
        text-transform: uppercase;
    }

    .site-header .mega-drop-inner {
        display: grid;
        align-items: start;
        gap: 0;
        min-width: 0;
        width: 100%;
        max-width: 100%;
    }

    .site-header .industries-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr)) minmax(320px, 360px);
    }

    .site-header .workwear-grid {
        grid-template-columns: minmax(180px, 240px) minmax(320px, 360px);
        justify-content: space-between;
    }

    .site-header .industries-col {
        min-width: 0;
        padding: 0 28px 0 0;
        border-right: 1px solid #eef0f3;
    }

    .site-header .industries-col + .industries-col {
        padding-left: 28px;
    }

    .site-header .mega-drop-inner > .industries-col:last-of-type {
        border-right: none;
    }

    .site-header .industries-col ul,
    .site-header .workwear-megamenu ul {
        margin: 10px 0 0;
        padding: 0;
        list-style: none;
    }

    .site-header .industries-col li,
    .site-header .workwear-megamenu li {
        margin: 0 0 7px;
    }

    .site-header .industries-col-title,
    .site-header .workwear-megamenu-title {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        margin: 0;
        color: #0f5132;
        font-size: 13px;
        font-weight: 800;
        letter-spacing: .06em;
        text-transform: uppercase;
        text-decoration: none;
    }

    .site-header .industries-col-title i,
    .site-header .workwear-megamenu-title i {
        width: 16px;
        font-size: 14px;
        color: #0f5132;
    }

    .site-header .industries-col-title--stacked {
        margin-top: 28px;
    }

    .site-header .main-nav .nav-megamenu a {
        display: inline-flex;
        align-items: center;
        color: #1f2937;
        font-size: 14px;
        font-weight: 500;
        line-height: 1.35;
        text-decoration: none;
    }

    .site-header .industries-col li a::before,
    .site-header .workwear-megamenu li a::before,
    .site-header .mega-col li a::before,
    .site-header .allprod-list li:not(.brand-heading):not(.allprod-view-all) a::before {
        content: "\203A";
        margin-right: 8px;
        color: #9ca3af;
        font-size: 16px;
        font-weight: 400;
        line-height: 1;
    }

    .site-header .main-nav .nav-megamenu a:hover {
        color: #0f5132;
    }

    .site-header .mega-help-panel,
    .site-header .allprod-desc-panel {
        width: 100%;
        min-width: 0;
        flex: 0 0 320px;
        box-sizing: border-box;
        padding: 4px 8px 0 32px;
        border-left: 1px solid #eef0f3;
        border-radius: 0;
        background: #fff;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        overflow: visible;
    }

    .site-header .mega-help-title {
        margin: 0 0 10px;
        color: #111827;
        font-size: 20px;
        font-weight: 800;
        line-height: 1.2;
        white-space: normal;
    }

    .site-header .mega-card {
        display: grid;
        grid-template-columns: minmax(220px, 280px) minmax(0, 1fr) minmax(240px, 280px);
        align-items: start;
        gap: 0;
        min-width: 0;
        width: 100%;
    }

    .site-header .mega-hero {
        min-width: 0;
        padding: 4px 28px 0 0;
        border-right: 1px solid #eef0f3;
    }

    .site-header .mega-hero-img {
        display: block;
        width: 100%;
        height: 150px;
        margin: 0 0 16px;
        object-fit: contain;
        object-position: left center;
    }

    .site-header .mega-hero-kicker {
        margin: 0 0 8px;
        color: #6b7280;
        font-size: 11px;
        font-weight: 700;
        letter-spacing: .08em;
        text-transform: uppercase;
    }

    .site-header .mega-hero-title {
        margin: 0 0 10px;
        color: #111827;
        font-size: 28px;
        font-weight: 800;
        line-height: 1.15;
    }

    .site-header .mega-hero-text {
        margin: 0 0 16px;
        color: #4b5563;
        font-size: 14px;
        line-height: 1.5;
    }

    /* Category mega left Shop CTA: black pill, white text, orange arrow */
    .site-header .mega-hero-cta,
    .site-header .main-nav .menu a.mega-hero-cta,
    .site-header .nav-megamenu a.mega-hero-cta {
        display: inline-flex !important;
        align-items: center;
        justify-content: center;
        gap: 6px;
        box-sizing: border-box;
        height: 32px;
        padding: 0 18px 1px;
        border-radius: 999px;
        background: #111827 !important;
        color: #fff !important;
        font-size: 14px;
        font-weight: 700;
        line-height: 1;
        text-decoration: none;
    }

    .site-header .mega-hero-cta span,
    .site-header .main-nav .menu a.mega-hero-cta span,
    .site-header .nav-megamenu a.mega-hero-cta span {
        color: #ff7a00 !important;
    }

    .site-header .mega-hero-cta:hover,
    .site-header .main-nav .menu a.mega-hero-cta:hover,
    .site-header .nav-megamenu a.mega-hero-cta:hover {
        background: #0b1220 !important;
        color: #fff !important;
    }

    .site-header .mega-hero-cta:hover span,
    .site-header .main-nav .menu a.mega-hero-cta:hover span,
    .site-header .nav-megamenu a.mega-hero-cta:hover span {
        color: #ff7a00 !important;
    }

    .site-header .mega-cols {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 8px 24px;
        min-width: 0;
        padding: 0 28px;
    }

    .site-header .mega-col ul {
        margin: 10px 0 0;
        padding: 0;
        list-style: none;
    }

    .site-header .mega-col li {
        margin: 0 0 7px;
    }

    /* Popular brands: monochrome gray logos (replace text + chevrons) */
    .site-header .mega-col li a.mega-brand-link {
        display: inline-flex;
        align-items: center;
        min-height: 30px;
        padding: 3px 0;
        color: #6b7280;
    }

    .site-header .mega-col li a.mega-brand-link::before {
        content: none;
        margin: 0;
    }

    .site-header .mega-brand-logo {
        display: block;
        height: 26px;
        width: auto;
        max-width: 132px;
        object-fit: contain;
        object-position: left center;
        /* Single gray look: desaturate + soften toward menu text gray */
        filter: grayscale(1) brightness(0.92) contrast(0.92);
        opacity: 0.78;
        transition: opacity .15s ease, filter .15s ease;
    }

    .site-header .mega-col li a.mega-brand-link:hover .mega-brand-logo {
        opacity: 1;
        filter: grayscale(1) brightness(0.85) contrast(1);
    }

    .site-header .mega-col-title,
    .site-header .mega-col-title.mega-col-title--stacked {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        margin: 0;
        color: #0f5132;
        font-size: 13px;
        font-weight: 800;
        letter-spacing: .06em;
        text-transform: uppercase;
    }

    .site-header .mega-col-title--stacked {
        margin-top: 22px;
    }

    .site-header .mega-col-title i {
        width: 16px;
        font-size: 14px;
        color: #0f5132;
    }

    .site-header .mega-help-text {
        margin: 0 0 18px;
        color: #4b5563;
        font-size: 14px;
        line-height: 1.55;
    }

    .site-header .mega-help-cta,
    .site-header .main-nav .menu a.mega-help-cta {
        display: inline-flex !important;
        align-items: center;
        justify-content: center;
        gap: 6px;
        width: fit-content;
        box-sizing: border-box;
        height: 32px;
        margin-bottom: 22px;
        padding: 0 18px 1px;
        border-radius: 999px;
        background: #ff7a00;
        color: #fff !important;
        font-size: 14px;
        font-weight: 700;
        line-height: 1;
        text-decoration: none;
    }

    .site-header .mega-help-cta:hover {
        background: #e86e00;
        color: #fff !important;
    }

    .site-header .mega-help-points {
        margin: 0;
        padding: 0;
        list-style: none;
    }

    .site-header .mega-help-points li {
        position: relative;
        margin: 0 0 8px;
        padding-left: 22px;
        color: #4b5563;
        font-size: 13px;
    }

    .site-header .mega-help-points li::before {
        content: "";
        position: absolute;
        left: 0;
        top: 4px;
        width: 14px;
        height: 14px;
        border: 1.5px solid #d1d5db;
        border-radius: 50%;
        background: #fff;
    }

    .site-header .allprod-desc-name,
    .site-header .allprod-desc-text,
    .site-header .mega-help-hover {
        display: none;
    }

    .site-header .allprod-desc-name {
        margin: 0 0 10px;
        color: #111827;
        font-size: 20px;
        font-weight: 800;
    }

    .site-header .allprod-desc-text {
        margin: 0;
        color: #4b5563;
        font-size: 14px;
        line-height: 1.65;
    }

    .site-header .allprod-desc-panel.has-content .mega-help-default {
        display: none;
    }

    .site-header .allprod-desc-panel.has-content .mega-help-hover,
    .site-header .allprod-desc-panel.has-content .allprod-desc-name,
    .site-header .allprod-desc-panel.has-content .allprod-desc-text {
        display: block;
    }

    .site-header .allprod-view-all {
        margin-bottom: 10px;
    }

    .site-header .allprod-view-all a {
        color: #0f5132;
        font-weight: 700;
    }

    .top-promo-bar {
        width: 100%;
        margin: 0;
    }

    .site-header .category-dropdown .dropdown-box {
        top: calc(100% + 10px);
        left: 0;
        min-width: 320px;
        padding: 8px 0 0;
        border: 1px solid #eef0f3;
        border-radius: 16px;
        box-shadow: 0 16px 36px rgba(15, 23, 42, 0.12);
    }

    .site-header .category-dropdown .dropdown-box::before {
        display: none;
    }

    .site-header .category-menu {
        width: 320px;
    }

    .site-header .category-menu > li > a {
        gap: 14px;
        padding: 14px 20px;
        color: #111827;
        font-size: 15px;
        font-weight: 600;
        border-top: none;
    }

    .site-header .category-menu > li + li > a {
        border-top: none;
    }

    .site-header .category-menu .category-icon {
        width: 28px;
        height: 28px;
        flex: 0 0 28px;
        color: #111827;
        /* Source PNGs are lavender (#9b7eb9). Flatten strokes to black; alpha stays transparent. */
        filter: brightness(0);
        display: block;
        object-fit: contain;
    }

    .site-header .category-menu > li:hover > a,
    .site-header .category-menu > li.is-expanded > a,
    .site-header .category-menu > li:focus-within > a {
        background: #fff7f0;
        color: #ff7a00;
    }

    .site-header .category-menu > li:hover .category-icon,
    .site-header .category-menu > li.is-expanded .category-icon,
    .site-header .category-menu > li:focus-within .category-icon {
        color: #ff7a00;
        /* Recolor original PNG line icons to #ff7a00 on hover. */
        filter: brightness(0) saturate(100%) invert(48%) sepia(60%) saturate(2000%) hue-rotate(360deg) brightness(102%) contrast(105%);
    }

    .site-header .category-menu > li:hover .category-caret,
    .site-header .category-menu > li.is-expanded .category-caret,
    .site-header .category-menu > li:focus-within .category-caret {
        color: #ff7a00;
    }

    .site-header .category-menu .megamenu a:hover,
    .site-header .category-menu .megamenu a:focus-visible,
    .site-header .category-menu .megamenu.brand-grid li a:hover,
    .site-header .category-menu .megamenu.brand-grid li a:focus-visible {
        background: #fff7f0;
        color: #ff7a00;
    }

    .site-header .category-menu .category-caret {
        color: #c4c9d2;
        font-size: 18px;
    }

    .site-header .category-menu .view-all-link {
        margin: 6px 8px 8px;
        padding: 14px 16px;
        border-radius: 12px;
        background: #f3f4f6;
        color: #111827;
        font-weight: 700;
    }

    .site-header .category-menu .view-all-link:hover {
        background: #fff7f0;
        color: #ff7a00;
    }
}

/* Compact the search row on 14.5–15.5" laptops. 1440px and up stay at full size. */
@media (min-width: 700px) and (max-width: 1439px) {
    .site-header .header-top .header-container {
        min-height: 36px;
        padding-top: 7px;
        padding-bottom: 7px;
        flex-direction: row;
        align-items: center;
        flex-wrap: nowrap;
        gap: 16px;
    }

    .site-header .header-top-left,
    .site-header .header-trust-list {
        flex-wrap: nowrap;
        min-width: 0;
    }

    .site-header .header-trust-list {
        gap: 16px;
        font-size: 12px;
    }

    .site-header .header-top-phone {
        font-size: 13px;
        white-space: nowrap;
    }

    .site-header .searchbar-header__inner {
        gap: 12px;
        min-height: 56px;
    }

    .site-header .searchbar-header__surface {
        padding-top: 10px !important;
        padding-bottom: 10px !important;
    }

    .site-header .shop-products-btn,
    .site-header .category-toggle.shop-products-btn {
        height: 32.2px;
        padding: 0 11.5px 0 11.5px;
        gap: 4.6px;
        font-size: 12.65px;
        border-radius: 6.9px;
    }

    .site-header .shop-products-btn .category-toggle-icon::before {
        width: 11.5px;
        height: 11.5px;
        background:
            linear-gradient(#fff, #fff) 0 0 / 3.45px 3.45px no-repeat,
            linear-gradient(#fff, #fff) 8.05px 0 / 3.45px 3.45px no-repeat,
            linear-gradient(#fff, #fff) 0 8.05px / 3.45px 3.45px no-repeat,
            linear-gradient(#fff, #fff) 8.05px 8.05px / 3.45px 3.45px no-repeat;
    }

    .site-header .searchbar-header__actions {
        gap: 12px;
    }

    .site-header .searchbar-header__search-expand {
        flex: 1 1 0;
        width: auto !important;
        max-width: 445px;
        min-width: 0;
        height: 32.2px;
        overflow: visible;
    }
}

@media (min-width: 700px) and (max-width: 1280px) {
    .site-header .searchbar-header__inner {
        gap: 10px;
    }

    .site-header .searchbar-header__surface {
        padding-top: 10px !important;
        padding-bottom: 10px !important;
    }

    .site-header .shop-products-btn,
    .site-header .category-toggle.shop-products-btn {
        height: 29.9px;
        padding: 0 10.35px 0 10.35px;
        gap: 4.6px;
        font-size: 12.65px;
        border-radius: 6.9px;
    }

    .site-header .shop-products-btn .category-toggle-icon::before {
        width: 10.35px;
        height: 10.35px;
        background:
            linear-gradient(#fff, #fff) 0 0 / 3.45px 3.45px no-repeat,
            linear-gradient(#fff, #fff) 6.9px 0 / 3.45px 3.45px no-repeat,
            linear-gradient(#fff, #fff) 0 6.9px / 3.45px 3.45px no-repeat,
            linear-gradient(#fff, #fff) 6.9px 6.9px / 3.45px 3.45px no-repeat;
    }

    .site-header .searchbar-header__actions {
        gap: 10px;
    }

    .site-header .header-util-link {
        gap: 6px;
        font-size: 13px;
    }

    .site-header .searchbar-header__search-expand {
        flex: 1 1 0;
        width: auto !important;
        max-width: 395px;
        min-width: 0;
        height: 29.9px;
        overflow: visible;
    }

    .site-header .header-bottom > .header-container {
        padding-top: 8px;
        padding-bottom: 8px;
    }

    .site-header .main-nav {
        overflow-x: auto;
        overflow-y: hidden;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
    }

    .site-header .main-nav::-webkit-scrollbar {
        display: none;
    }

    .site-header .main-nav > .menu {
        gap: 16px;
        width: max-content;
    }

    .site-header .main-nav > .menu > li > a {
        font-size: 13px;
    }
}

/* iPad mini / small tablets: keep Shop Products on one row. */
@media (min-width: 700px) and (max-width: 899px) {
    .site-header {
        --bu-pad-x: 14px;
    }

    .site-header .header-top .header-container {
        padding-top: 6px;
        padding-bottom: 6px;
        gap: 12px;
    }

    .site-header .header-trust-list li:nth-child(3) {
        display: none;
    }

    .site-header .searchbar-header__inner {
        min-height: 64px;
        gap: 10px;
    }

    .site-header .searchbar-header__surface {
        padding-top: 10px !important;
        padding-bottom: 10px !important;
    }

    .site-header .searchbar-header .category-dropdown {
        margin-left: 0;
    }

    .site-header .shop-products-btn,
    .site-header .category-toggle.shop-products-btn {
        height: 29.9px;
        padding: 0 9.2px;
        font-size: 12.65px;
    }

    /* Keep Quote/Account labels visible — shrink search, never icon-only utils. */
    .site-header .searchbar-header__actions > .header-util-link {
        flex: 0 0 auto;
        flex-shrink: 0;
        width: auto;
        font-size: 13px;
        gap: 6px;
        justify-content: flex-start;
    }

    .site-header .searchbar-header__actions > .header-util-link.header-top-basket-link {
        position: absolute !important;
        right: 40px !important;
        left: auto !important;
        top: 50% !important;
        width: auto;
        font-size: 0;
        gap: 0;
        flex-shrink: 0;
        transform: translateY(-50%) !important;
    }

    .site-header .searchbar-header__search-expand {
        flex: 1 1 0;
        width: auto !important;
        max-width: 296px;
        min-width: 0;
        height: 29.9px;
        overflow: visible;
    }
}

/*
 * Progressive adapt — keep right edge locked to HERO (1440).
 * Search max-width shrinks gradually; do not add rail-inset (that desyncs from hero).
 */
@media (min-width: 700px) {
    .site-header {
        --bu-adapt: clamp(0, (1200px - 100vw) / 500px, 1);
        --bu-content-max: 1440px;
        --bu-rail-inset: 0px;
        --bu-pad-x: clamp(14px, 0.8vw + 10px, 24px);
    }
}

@media (min-width: 700px) and (max-width: 1199px) {
    .site-header .searchbar-header .category-dropdown {
        margin-left: 10px;
    }

    .site-header .searchbar-header__search-expand {
        flex: 1 1 0;
        width: auto !important;
        max-width: calc(494px - (208px * var(--bu-adapt)));
        min-width: 0;
        overflow: visible;
    }

    .site-header .header-top-left {
        flex: 0 1 auto;
        min-width: 0;
        overflow: hidden;
    }

    .site-header .header-trust-list {
        gap: calc(28px - (14px * var(--bu-adapt)));
    }

    .site-header .header-trust-list li:nth-child(3) {
        opacity: calc(1 - var(--bu-adapt));
        max-width: calc(280px * (1 - var(--bu-adapt)));
        overflow: hidden;
    }
}

@media (min-width: 700px) and (max-width: 1023px) {
    .site-header .searchbar-header .category-dropdown {
        margin-left: 8px;
    }

    .site-header .searchbar-header__search-expand {
        max-width: 286px;
        min-width: 0;
        overflow: visible;
    }
}

/* Reduced PC widths: Quote + Account become icons, search takes the freed space.
   The email stays on the full PC header only. */
@media (min-width: 700px) and (max-width: 1439px) {
    .site-header .header-top-mail {
        display: none !important;
    }
    .site-header .searchbar-header__actions > .header-util-link:not(.header-top-basket-link) {
        font-size: 0;
        gap: 0;
    }

    .site-header .searchbar-header__actions > .header-util-link:not(.header-top-basket-link) svg {
        width: 18px;
        height: 18px;
    }

    .site-header .searchbar-header__actions {
        gap: 8px;
    }

    .site-header .searchbar-header__search-expand {
        flex: 1 1 auto;
        width: auto !important;
        max-width: none;
        min-width: 0;
    }
}

