.tw-header-v2 {
    --tw-header-orange: #f4510b;
    --tw-header-orange-dark: #dc4300;
    --tw-header-navy: #082544;
    --tw-header-text: #10233d;
    --tw-header-muted: #687487;
    --tw-header-line: #e0e4e9;
    position: relative;
    z-index: 1000;
    width: 100%;
    background: #fff;
    color: var(--tw-header-text);
    font-family: Inter, Lato, sans-serif;
}

.tw-header-v2 *,
.tw-header-v2 *::before,
.tw-header-v2 *::after {
    box-sizing: border-box;
}

.tw-announcement-bar {
    position: relative;
    overflow: hidden;
    width: 100%;
    background: var(--tw-announcement-bg, #082544);
    color: var(--tw-announcement-text, #fff);
}

.tw-announcement-bar__viewport {
    overflow: hidden;
    width: 100%;
}

.tw-announcement-bar__track {
    display: flex;
    width: max-content;
    animation: tw-announcement-marquee var(--tw-announcement-speed, 24s) linear infinite;
    will-change: transform;
}

.tw-announcement-bar:hover .tw-announcement-bar__track,
.tw-announcement-bar:focus-within .tw-announcement-bar__track {
    animation-play-state: paused;
}

.tw-announcement-bar__item {
    display: inline-flex;
    flex: 0 0 100vw;
    align-items: center;
    justify-content: center;
    gap: 11px;
    min-height: 38px;
    padding: 7px 22px;
    color: inherit !important;
    font-size: 13px;
    line-height: 1.35;
    text-align: center;
    text-decoration: none !important;
}

.tw-announcement-bar__item > .fa {
    font-size: 14px;
}

.tw-announcement-bar__item > span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding-left: 4px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
    opacity: .9;
}

@keyframes tw-announcement-marquee {
    from { transform: translate3d(0, 0, 0); }
    to { transform: translate3d(-50%, 0, 0); }
}

@media (prefers-reduced-motion: reduce) {
    .tw-announcement-bar__track {
        width: 100%;
        animation: none;
        transform: none;
    }

    .tw-announcement-bar__item {
        flex-basis: 100%;
        width: 100%;
    }

    .tw-announcement-bar__item[aria-hidden="true"] {
        display: none;
    }
}

.tw-mobile-header-utility,
.tw-mobile-home-shortcuts {
    display: none;
}

.tw-header-v2__main {
    border-bottom: 1px solid var(--tw-header-line);
    background: #fff;
}

.tw-header-v2__inner {
    display: grid;
    grid-template-columns: 170px minmax(340px, 1fr) auto;
    gap: clamp(20px, 2.6vw, 44px);
    align-items: center;
    width: 100%;
    max-width: 1680px;
    min-height: 102px;
    margin: 0 auto;
    padding: 10px 38px;
}

.tw-header-logo {
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    width: 154px;
    height: 82px;
    text-decoration: none !important;
}

.tw-header-logo img {
    display: block;
    width: 135px;
    max-width: 100%;
    max-height: 82px;
    margin: 0;
    object-fit: contain;
}

.tw-header-search {
    position: relative;
    display: grid;
    grid-template-columns: 50px minmax(0, 1fr) 66px;
    align-items: stretch;
    width: 100%;
    height: 54px;
    margin: 0;
    border: 1.5px solid #b8c0ca;
    border-radius: 9px;
    background: #fff;
    box-shadow: 0 2px 6px rgba(8, 37, 68, .04);
}

.tw-header-search:focus-within {
    border-color: #6382a1;
    box-shadow: 0 0 0 4px rgba(31, 83, 132, .1);
}

.tw-header-search__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #5f6d7f;
    font-size: 21px;
}

.tw-header-search input {
    min-width: 0;
    height: 100%;
    padding: 0 10px 0 0;
    border: 0;
    outline: 0;
    background: transparent;
    color: var(--tw-header-text);
    font-size: 16px;
    font-weight: 400;
}

.tw-header-search input::placeholder {
    color: #8a929e;
    opacity: 1;
}

.tw-header-search button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    border: 0;
    border-radius: 0 8px 8px 0;
    background: linear-gradient(135deg, #ff620e, var(--tw-header-orange));
    color: #fff;
    font-size: 24px;
    cursor: pointer;
    transition: background .18s ease;
}

.tw-header-search button:hover,
.tw-header-search button:focus {
    background: linear-gradient(135deg, var(--tw-header-orange), var(--tw-header-orange-dark));
}

.tw-header-actions {
    display: flex;
    align-items: stretch;
    justify-content: flex-end;
    min-width: 0;
}

.tw-header-action-form {
    display: flex;
    margin: 0;
}

.tw-header-action {
    position: relative;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    min-width: 82px;
    min-height: 58px;
    padding: 4px 15px;
    border: 0;
    border-left: 1px solid var(--tw-header-line);
    background: transparent;
    color: var(--tw-header-navy) !important;
    font: inherit;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.15;
    text-align: center;
    text-decoration: none !important;
    cursor: pointer;
    transition: color .18s ease, background .18s ease;
}

.tw-header-actions > :first-child {
    border-left: 0;
}

.tw-header-action:hover,
.tw-header-action:focus {
    background: #f8fafc;
    color: var(--tw-header-orange) !important;
}

.tw-header-account {
    position: relative;
    display: flex;
    min-width: 0;
}

.tw-header-account__trigger {
    flex-direction: row;
    gap: 7px;
    min-width: 112px;
}

.tw-header-account__trigger .tw-header-account__chevron {
    margin-left: 1px;
    font-size: 13px;
    transition: transform .18s ease;
}

.tw-header-account.is-open .tw-header-account__trigger {
    background: #f8fafc;
    color: var(--tw-header-orange) !important;
}

.tw-header-account.is-open .tw-header-account__chevron {
    transform: rotate(180deg);
}

.tw-header-account__menu {
    position: absolute;
    z-index: 80;
    top: calc(100% + 10px);
    right: 0;
    width: 238px;
    padding: 8px;
    border: 1px solid var(--tw-header-line);
    border-top: 3px solid var(--tw-header-orange);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 16px 34px rgba(8, 37, 68, .16);
}

.tw-header-account__menu[hidden] {
    display: none;
}

.tw-header-account__intro {
    display: flex;
    flex-direction: column;
    gap: 3px;
    padding: 9px 10px 11px;
    border-bottom: 1px solid #edf0f3;
}

.tw-header-account__intro small {
    color: var(--tw-header-muted);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.tw-header-account__intro strong {
    overflow: hidden;
    color: var(--tw-header-navy);
    font-size: 13px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.tw-header-account__menu > a,
.tw-header-account__menu form > button {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    min-height: 38px;
    padding: 8px 10px;
    border: 0;
    border-radius: 5px;
    background: transparent;
    color: var(--tw-header-text) !important;
    font: inherit;
    font-size: 12px;
    font-weight: 700;
    text-align: left;
    text-decoration: none !important;
    cursor: pointer;
}

.tw-header-account__menu > a:hover,
.tw-header-account__menu > a:focus,
.tw-header-account__menu form > button:hover,
.tw-header-account__menu form > button:focus {
    background: #fff5ee;
    color: var(--tw-header-orange) !important;
    outline: none;
}

.tw-header-account__menu > a > .fa,
.tw-header-account__menu form > button > .fa {
    width: 16px;
    color: var(--tw-header-orange);
    font-size: 15px;
    text-align: center;
}

.tw-header-account__menu form {
    margin: 5px 0 0;
    padding-top: 5px;
    border-top: 1px solid #edf0f3;
}

.tw-header-action > .fa,
.tw-header-action__icon > .fa {
    color: currentColor;
    font-size: 24px;
    font-weight: 400;
}

.tw-header-action__icon {
    position: relative;
    display: inline-flex;
}

.tw-header-count {
    position: absolute;
    top: 1px;
    right: 19px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 20px;
    height: 20px;
    padding: 0 6px;
    border: 2px solid #fff;
    border-radius: 999px;
    background: var(--tw-header-orange);
    color: #fff;
    font-size: 9px;
    font-style: normal;
    font-weight: 800;
    line-height: 1;
}

.tw-header-action__icon .tw-header-count {
    top: -10px;
    right: -15px;
}

.tw-header-mobile-toggle {
    display: none;
}

.tw-header-category-bar {
    position: relative;
    border-bottom: 1px solid var(--tw-header-line);
    background: #fff;
}

.tw-header-category-bar__inner {
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr);
    align-items: stretch;
    width: 100%;
    max-width: 1680px;
    min-height: 58px;
    margin: 0 auto;
    padding: 0 24px;
}

.tw-header-category-trigger {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    border: 0;
    border-right: 1px solid var(--tw-header-line);
    background: #fff;
    color: var(--tw-header-navy);
    font-size: 23px;
    cursor: pointer;
}

.tw-header-category-trigger:hover,
.tw-header-category-trigger:focus,
.tw-header-v2.is-menu-open .tw-header-category-trigger {
    color: var(--tw-header-orange);
    background: #fff9f5;
}

.tw-header-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(145px, 1fr));
    align-items: stretch;
    min-width: 0;
}

.tw-header-category {
    display: flex;
    min-width: 0;
}

.tw-header-category > a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    width: 100%;
    min-width: 0;
    padding: 8px 14px;
    border-right: 1px solid var(--tw-header-line);
    color: var(--tw-header-navy) !important;
    font-size: clamp(10px, .78vw, 13px);
    font-weight: 800;
    letter-spacing: -.01em;
    line-height: 1.25;
    text-align: left;
    text-decoration: none !important;
    text-transform: uppercase;
    transition: color .18s ease, background .18s ease;
}

.tw-header-category > a .fa {
    flex: 0 0 auto;
    width: 27px;
    color: currentColor;
    font-size: 21px;
    text-align: center;
}

.tw-header-category:hover > a,
.tw-header-category:focus-within > a {
    background: #fff9f5;
    color: var(--tw-header-orange) !important;
}

.tw-header-category__dropdown {
    position: absolute;
    z-index: 30;
    top: calc(100% - 1px);
    left: 0;
    right: 0;
    display: none;
    width: 100%;
    padding: 24px max(24px, calc((100vw - 1680px) / 2 + 24px));
    border: 1px solid var(--tw-header-line);
    border-top: 3px solid var(--tw-header-orange);
    background: #fff;
    box-shadow: 0 18px 40px rgba(8, 37, 68, .15);
}

.tw-header-category:hover .tw-header-category__dropdown,
.tw-header-category:focus-within .tw-header-category__dropdown {
    display: block;
}

.tw-header-category__dropdown > strong {
    display: block;
    margin-bottom: 13px;
    color: var(--tw-header-navy);
    font-size: 16px;
}

.tw-header-category__dropdown > div {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 3px 16px;
}

.tw-header-category__dropdown a {
    padding: 8px 5px;
    border-bottom: 1px solid #eef1f4;
    color: #405166 !important;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none !important;
}

.tw-header-category__dropdown a:hover,
.tw-header-category__dropdown a:focus {
    color: var(--tw-header-orange) !important;
}

.tw-header-menu-panel {
    position: absolute;
    z-index: 50;
    top: 100%;
    left: 50%;
    width: min(1180px, calc(100vw - 48px));
    max-height: min(620px, calc(100vh - 100px));
    overflow-y: auto;
    transform: translateX(-50%);
    border: 1px solid var(--tw-header-line);
    border-top: 3px solid var(--tw-header-orange);
    border-radius: 0 0 12px 12px;
    background: #f5f7fa;
    box-shadow: 0 22px 55px rgba(8, 37, 68, .2);
}

.tw-header-menu-panel[hidden],
.tw-header-menu-backdrop[hidden] {
    display: none !important;
}

.tw-header-menu-panel__head {
    position: sticky;
    z-index: 2;
    top: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 20px;
    border-bottom: 1px solid var(--tw-header-line);
    background: linear-gradient(135deg, #fff 0%, #fff8f3 100%);
}

.tw-header-menu-panel__head > div {
    display: grid;
    gap: 2px;
}

.tw-header-menu-panel__head small {
    color: var(--tw-header-orange);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.tw-header-menu-panel__head strong {
    color: var(--tw-header-navy);
    font-size: 19px;
}

.tw-header-menu-panel__head button {
    width: 34px;
    height: 34px;
    border: 0;
    border-radius: 50%;
    background: #f3f6f8;
    color: var(--tw-header-navy);
}

.tw-header-menu-panel__body {
    padding: 16px 24px 24px;
}

@media (min-width: 992px) {
    .tw-header-menu-panel__quick-links { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .tw-header-menu-panel details { display: inline-block; width: calc(50% - 7px); margin-right: 10px; vertical-align: top; }
    .tw-header-menu-panel details > div { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

.tw-header-menu-panel__quick-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 19px;
}

.tw-header-menu-panel__quick-links > a {
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr) auto;
    gap: 9px;
    align-items: center;
    min-height: 76px;
    padding: 12px;
    border: 1px solid #dfe5ec;
    border-radius: 10px;
    background: #fff;
    color: var(--tw-header-navy) !important;
    text-decoration: none !important;
    transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.tw-header-menu-panel__quick-links > a:hover,
.tw-header-menu-panel__quick-links > a:focus {
    border-color: #f6a171;
    box-shadow: 0 8px 20px rgba(8, 37, 68, .08);
    transform: translateY(-1px);
}

.tw-header-menu-panel__quick-links > a > .fa:first-child {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 8px;
    background: #fff2e9;
    color: var(--tw-header-orange);
    font-size: 16px;
}

.tw-header-menu-panel__quick-links span {
    display: grid;
    gap: 3px;
    min-width: 0;
}

.tw-header-menu-panel__quick-links strong {
    font-size: 12px;
    line-height: 1.2;
}

.tw-header-menu-panel__quick-links small {
    color: #738096;
    font-size: 9px;
    line-height: 1.35;
}

.tw-header-menu-panel__quick-links > a > .fa:last-child {
    color: #9aa5b4;
}

.tw-header-menu-panel__section-label {
    margin: 0 0 8px;
    color: #7a8799;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.tw-header-menu-panel details {
    margin-bottom: 8px;
    border: 1px solid #e1e6ed;
    border-radius: 9px;
    background: #fff;
    overflow: hidden;
    transition: border-color .18s ease, box-shadow .18s ease;
}

.tw-header-menu-panel details[open] {
    border-color: #f2aa80;
    box-shadow: 0 7px 18px rgba(8, 37, 68, .07);
}

.tw-header-menu-panel summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 52px;
    padding: 7px 13px;
    color: var(--tw-header-navy);
    font-size: 13px;
    font-weight: 800;
    cursor: pointer;
    list-style: none;
}

.tw-header-menu-panel summary > span {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    min-width: 0;
}

.tw-header-menu-panel summary > span .fa {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 32px;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: #f2f6fa;
    color: #315271;
    font-size: 14px;
}

.tw-header-menu-panel details[open] summary > span .fa {
    background: #fff0e6;
    color: var(--tw-header-orange);
}

.tw-header-menu-panel summary::-webkit-details-marker {
    display: none;
}

.tw-header-menu-panel details[open] summary > .fa {
    transform: rotate(180deg);
}

.tw-header-menu-panel details > div {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2px 10px;
    padding: 10px 13px 13px;
    border-top: 1px solid #edf0f4;
    background: #fbfcfd;
}

.tw-header-menu-panel details a,
.tw-header-menu-panel__utility {
    display: block;
    padding: 8px 4px;
    color: #526176 !important;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.35;
    text-decoration: none !important;
}

.tw-header-menu-panel details a:hover,
.tw-header-menu-panel__utility:hover {
    color: var(--tw-header-orange) !important;
}

.tw-header-menu-panel__utility {
    border-bottom: 1px solid #e9edf1;
    color: var(--tw-header-navy) !important;
    font-weight: 800;
}

/* The desktop catalog is a wide scanning surface; mobile keeps the nested
   accordion below so subcategories remain reachable without a huge drawer. */
html.tw-header-menu-lock,
body.tw-header-menu-lock {
    overflow: hidden !important;
    overscroll-behavior: none;
}

html.tw-header-menu-lock {
    scrollbar-gutter: stable;
}

.tw-header-menu-panel {
    width: min(1640px, calc(100vw - 40px));
    max-height: min(560px, calc(100vh - 86px));
    border-radius: 0 0 8px 8px;
    background: #fff;
    box-shadow: 0 24px 58px rgba(8, 37, 68, .18);
}

.tw-header-menu-panel__head {
    padding: 13px 28px 12px;
    background: #fff;
}

.tw-header-menu-panel__head small {
    font-size: 10px;
    letter-spacing: 0;
}

.tw-header-menu-panel__head strong {
    font-size: 22px;
    line-height: 1.15;
}

.tw-header-menu-panel__head button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border: 1px solid #e0e5eb;
    background: #fff;
    font-size: 17px;
    cursor: pointer;
}

.tw-header-menu-panel__head button:hover,
.tw-header-menu-panel__head button:focus {
    border-color: #f2a276;
    color: var(--tw-header-orange);
    outline: none;
}

.tw-header-menu-panel__body {
    padding: 12px 28px 16px;
}

.tw-header-menu-panel__quick-links {
    gap: 10px;
    margin-bottom: 14px;
}

.tw-header-menu-panel__quick-links > a {
    grid-template-columns: 38px minmax(0, 1fr) auto;
    gap: 11px;
    min-height: 62px;
    padding: 10px 13px;
    border-radius: 7px;
}

.tw-header-menu-panel__quick-links > a > .fa:first-child {
    width: 38px;
    height: 38px;
    border-radius: 7px;
    font-size: 18px;
}

.tw-header-menu-panel__quick-links strong {
    font-size: 14px;
}

.tw-header-menu-panel__quick-links small {
    font-size: 10px;
}

.tw-header-menu-panel__quick-links > a > .fa:last-child {
    font-size: 15px;
}

.tw-header-menu-panel__section-heading {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 8px;
    color: #697789;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
}

.tw-header-menu-panel__section-heading::after {
    content: "";
    flex: 1;
    height: 1px;
    background: #e5e9ee;
}

.tw-header-menu-panel__category-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px 10px;
}

.tw-header-menu-panel__category-grid > a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    min-width: 0;
    min-height: 48px;
    padding: 6px 13px 6px 10px;
    border: 1px solid #dde3e9;
    border-radius: 7px;
    background: #fff;
    color: var(--tw-header-navy) !important;
    font-size: 13px;
    font-weight: 800;
    line-height: 1.25;
    text-decoration: none !important;
    transition: border-color .18s ease, background .18s ease, color .18s ease;
}

.tw-header-menu-panel__category-grid > a:hover,
.tw-header-menu-panel__category-grid > a:focus {
    border-color: #f2a276;
    background: #fffaf6;
    color: var(--tw-header-orange) !important;
    outline: none;
}

.tw-header-menu-panel__category-grid > a > span {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.tw-header-menu-panel__category-grid > a > span > .fa {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 30px;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #f3f7fa;
    color: #163f67;
    font-size: 15px;
}

.tw-header-menu-panel__category-grid > a > .fa {
    color: #718093;
    font-size: 15px;
}

.tw-header-menu-panel__mobile-categories {
    display: none;
}

.tw-header-menu-panel__popular-heading {
    margin-top: 16px;
}

.tw-header-menu-panel__popular {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    min-height: 50px;
}

.tw-header-menu-panel__popular > a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-width: 0;
    padding: 8px 14px;
    border-right: 1px solid #e4e8ed;
    color: #274461 !important;
    font-size: 12px;
    font-weight: 800;
    text-align: center;
    text-decoration: none !important;
}

.tw-header-menu-panel__popular > a:last-child {
    border-right: 0;
}

.tw-header-menu-panel__popular > a:hover,
.tw-header-menu-panel__popular > a:focus {
    color: var(--tw-header-orange) !important;
    outline: none;
}

.tw-header-menu-panel__popular .fa {
    flex: 0 0 auto;
    font-size: 19px;
}

.tw-header-menu-backdrop {
    position: fixed;
    z-index: 40;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
    background: rgba(8, 27, 48, .36);
}

@media (max-width: 1350px) {
    .tw-header-v2__inner {
        grid-template-columns: 150px minmax(300px, 1fr) auto;
        gap: 20px;
        min-height: 92px;
        padding: 8px 24px;
    }

    .tw-header-logo {
        width: 140px;
        height: 74px;
    }

    .tw-header-logo img {
        width: 122px;
        max-height: 72px;
    }

    .tw-header-search {
        height: 50px;
        grid-template-columns: 45px minmax(0, 1fr) 60px;
    }

    .tw-header-search input {
        font-size: 17px;
    }

    .tw-header-action {
        min-width: 74px;
        min-height: 54px;
        padding: 4px 9px;
        font-size: 11px;
    }

    .tw-header-category-bar__inner {
        min-height: 54px;
    }

    .tw-header-category > a {
        gap: 8px;
        padding: 12px 10px;
    }
}

@media (max-width: 1050px) {
    .tw-header-v2__inner {
        grid-template-columns: 135px minmax(260px, 1fr) auto;
        gap: 15px;
    }

    .tw-header-logo {
        width: 128px;
    }

    .tw-header-logo img {
        width: 112px;
    }

    .tw-header-action {
        min-width: 67px;
        padding: 4px 8px;
    }

    .tw-header-account__trigger {
        min-width: 67px;
    }

    .tw-header-action span:not(.tw-header-action__icon) {
        font-size: 10px;
    }

    .tw-header-categories {
        grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    }

    .tw-header-category > a .fa {
        width: 25px;
        font-size: 22px;
    }
}

@media (max-width: 900px) {
    body.tw-header-menu-lock {
        overflow: hidden;
    }

    .tw-announcement-bar__item {
        gap: 8px;
        min-height: 34px;
        padding: 6px 14px;
        font-size: 11px;
    }

    .tw-announcement-bar__item > span {
        font-size: 9px;
    }

    .tw-header-v2__inner {
        grid-template-areas:
            "menu . logo account cart"
            "search search search search search";
        grid-template-columns: 44px 44px minmax(0, 1fr) 44px 44px;
        gap: 10px 8px;
        min-height: 0;
        padding: 12px 15px 14px;
    }

    .tw-header-account__menu {
        top: calc(100% + 6px);
        right: -8px;
        /* Never wider than the screen it opens on, so the panel cannot spill
           past an edge and get clipped by body's overflow-x. */
        width: 238px;
        max-width: calc(100vw - 24px);
    }

    .tw-mobile-header-utility {
        display: none;
    }

    .tw-header-logo {
        grid-area: logo;
        justify-self: center;
        width: 128px;
        height: 72px;
    }

    .tw-header-logo img {
        width: 118px;
        max-height: 70px;
    }

    .tw-header-search {
        grid-area: search;
        grid-template-columns: 42px minmax(0, 1fr) 54px;
        height: 54px;
        border-color: #8fa1b5;
        border-radius: 10px;
    }

    .tw-header-search__icon {
        font-size: 18px;
    }

    .tw-header-search input {
        font-size: 16px;
    }

    .tw-header-search button {
        border-radius: 0 9px 9px 0;
        font-size: 23px;
    }

    .tw-header-actions {
        display: contents;
    }

    .tw-header-action {
        min-width: 44px;
        min-height: 44px;
        padding: 4px;
        border-left: 0;
        border-radius: 9px;
    }

    .tw-header-action:nth-child(1) {
        grid-area: cart;
    }

    /* Signed out, the account slot is a plain link and this matches it. Signed
       in it is a .tw-header-account wrapper instead, which this selector cannot
       see - so it auto-placed next to the hamburger and its right-anchored
       dropdown opened off the left edge of the screen, where body's
       overflow-x: hidden made it unreachable. */
    .tw-header-action:nth-child(2),
    .tw-header-account {
        grid-area: account;
    }

    .tw-header-action > .fa,
    .tw-header-action__icon > .fa {
        font-size: 21px;
    }

    .tw-header-action > span:not(.tw-header-action__icon),
    .tw-header-action-form {
        display: none;
    }

    .tw-header-count {
        top: -3px;
        right: -5px;
        min-width: 18px;
        height: 18px;
        padding: 0 4px;
        font-size: 8px;
    }

    .tw-header-action__icon .tw-header-count {
        top: -10px;
        right: -12px;
    }

    .tw-header-mobile-toggle {
        grid-area: menu;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        align-self: center;
        width: 44px;
        height: 44px;
        border: 0;
        border-radius: 9px;
        background: transparent;
        color: var(--tw-header-navy);
        font-size: 25px;
    }

    .tw-header-category-bar {
        display: none;
    }

    .tw-header-menu-panel {
        position: fixed;
        top: 0;
        left: 0;
        width: min(92vw, 410px);
        height: 100vh;
        max-height: none;
        border: 0;
        border-right: 1px solid var(--tw-header-line);
        border-radius: 0;
        transform: none;
        box-shadow: 16px 0 45px rgba(8, 37, 68, .2);
    }

    .tw-header-menu-panel__head {
        padding: 18px 20px;
    }

    .tw-header-menu-panel__head strong {
        font-size: 20px;
    }

    .tw-header-menu-panel__head button {
        width: 38px;
        height: 38px;
        font-size: 17px;
    }

    .tw-header-menu-panel__body {
        padding: 16px 18px 24px;
    }

    .tw-header-menu-panel__quick-links > a {
        grid-template-columns: 38px minmax(0, 1fr) auto;
        min-height: 72px;
        padding: 12px;
    }

    .tw-header-menu-panel__quick-links > a > .fa:first-child {
        width: 38px;
        height: 38px;
        font-size: 18px;
    }

    .tw-header-menu-panel__quick-links strong {
        font-size: 13px;
    }

    .tw-header-menu-panel__quick-links small {
        font-size: 10px;
    }

    .tw-header-menu-panel__category-grid {
        display: none;
    }

    .tw-header-menu-panel__mobile-categories {
        display: block;
    }

    .tw-header-menu-panel__popular-heading {
        margin-top: 20px;
    }

    .tw-header-menu-panel__popular {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .tw-header-menu-panel__popular > a {
        justify-content: flex-start;
        gap: 10px;
        min-height: 54px;
        padding: 10px 8px;
        border-bottom: 1px solid #e4e8ed;
        font-size: 12px;
        text-align: left;
    }

    .tw-header-menu-panel__popular > a:nth-child(2n) {
        border-right: 0;
    }

    .tw-header-menu-panel__popular .fa {
        width: 22px;
        font-size: 19px;
        text-align: center;
    }

    .tw-home-page .tw-header-v2__inner {
        grid-template-areas:
            "menu . logo account cart"
            "search search search search search"
            "shortcuts shortcuts shortcuts shortcuts shortcuts";
    }

    .tw-home-page .tw-mobile-home-shortcuts {
        grid-area: shortcuts;
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
        margin-top: 4px;
    }

    .tw-mobile-home-shortcuts > a,
    .tw-mobile-home-shortcuts > button {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
        min-height: 58px;
        padding: 10px 12px;
        border: 1px solid #c7d0da;
        border-radius: 10px;
        background: #fff;
        color: var(--tw-header-navy) !important;
        font: inherit;
        font-size: 14px;
        font-weight: 750;
        text-decoration: none !important;
    }

    .tw-mobile-home-shortcuts .fa {
        color: var(--tw-header-orange);
        font-size: 20px;
    }
}

@media (max-width: 430px) {
    .tw-header-menu-panel__quick-links {
        grid-template-columns: 1fr;
    }

    .tw-header-menu-panel__quick-links > a {
        min-height: 66px;
    }

    .tw-header-menu-panel details > div {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 390px) {
    .tw-header-v2__inner {
        padding-right: 10px;
        padding-left: 10px;
    }

    .tw-header-logo {
        width: 110px;
    }

    .tw-header-logo img {
        width: 100px;
    }

    .tw-header-action {
        min-width: 35px;
        padding: 4px 5px;
    }

    .tw-header-mobile-toggle {
        width: 41px;
        height: 41px;
    }
}
