:root {
    --hnnp-brand: #4a79ff;
    --hnnp-brand-dark: #2b5acd;
}

html.hnnp-mega-open,
html.hnnp-mega-open body {
    overscroll-behavior: none;
}

.hnnp-mega {
    position: fixed;
    inset: 0;
    z-index: 10140;
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    transition: opacity 180ms ease, visibility 0s linear 180ms;
}

.hnnp-mega.is-open {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
    transition-delay: 0s;
}

.hnnp-mega__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(8, 18, 38, 0.48);
    backdrop-filter: blur(2px);
}

.hnnp-mega__dialog {
    --hnnp-mega-left: 24px;
    --hnnp-mega-top: 88px;
    position: absolute;
    top: var(--hnnp-mega-top);
    left: var(--hnnp-mega-left);
    width: var(--hnnp-mega-width, min(1192px, calc(100vw - 32px)));
    height: var(--hnnp-mega-height, min(496px, calc(100vh - var(--hnnp-mega-top) - 18px)));
    min-height: min(420px, calc(100vh - var(--hnnp-mega-top) - 18px));
    max-height: calc(100vh - var(--hnnp-mega-top) - 18px);
    overflow: hidden;
    border: 1px solid rgba(28, 54, 102, 0.1);
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 18px 55px rgba(8, 26, 61, 0.22);
    color: #182033;
    transform: translateY(-8px) scale(0.992);
    transform-origin: 20% 0;
    transition: transform 190ms cubic-bezier(0.22, 1, 0.36, 1);
}

.hnnp-mega.is-open .hnnp-mega__dialog {
    transform: translateY(0) scale(1);
}

.hnnp-mega__mobile-head {
    display: none;
}

.hnnp-mega__layout {
    display: grid;
    grid-template-columns: 224px minmax(0, 1fr);
    height: 100%;
    max-height: inherit;
    background: #fff;
}

.hnnp-mega__rail,
.hnnp-mega__content {
    min-height: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-width: thin;
    scrollbar-color: #cbd5e1 transparent;
}

.hnnp-mega__rail {
    padding: 10px;
    border-right: 1px solid #e8edf5;
    background: #fff;
}

.hnnp-mega .hnnp-mega__category,
.hnnp-mega-shortcode .hnnp-mega__category {
    position: relative;
    display: grid;
    grid-template-columns: 30px minmax(0, 1fr) 12px;
    align-items: center;
    width: 100%;
    min-height: 42px;
    margin: 0;
    padding: 4px 6px;
    border: 0 !important;
    border-radius: 9px;
    background: transparent !important;
    color: #202838 !important;
    appearance: none;
    -webkit-appearance: none;
    box-shadow: none !important;
    font: inherit;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.25;
    text-align: left;
    cursor: default;
    transition: color 150ms ease, background-color 150ms ease, transform 150ms ease;
}

.hnnp-mega .hnnp-mega__category--mobile,
.hnnp-mega-shortcode .hnnp-mega__category--mobile {
    display: none;
}

.hnnp-mega .hnnp-mega__category + .hnnp-mega__category,
.hnnp-mega-shortcode .hnnp-mega__category + .hnnp-mega__category {
    margin-top: 2px;
}

.hnnp-mega .hnnp-mega__category:hover,
.hnnp-mega .hnnp-mega__category.is-active,
.hnnp-mega-shortcode .hnnp-mega__category:hover,
.hnnp-mega-shortcode .hnnp-mega__category.is-active {
    background: #f2f4f7 !important;
    outline: none;
}

.hnnp-mega__category-links {
    min-width: 0;
    overflow: hidden;
    color: #202838;
    font-size: 0;
    line-height: 1.3;
    white-space: nowrap;
}

.hnnp-mega .hnnp-mega__category-links > a,
.hnnp-mega-shortcode .hnnp-mega__category-links > a {
    display: inline;
    padding: 2px 0;
    color: inherit !important;
    font-family: inherit;
    font-size: 12px;
    line-height: 1.3;
    font-weight: 600;
    text-decoration: none !important;
    transition: color 120ms ease;
}

.hnnp-mega .hnnp-mega__category-links > a:hover,
.hnnp-mega .hnnp-mega__category-links > a:focus-visible,
.hnnp-mega .hnnp-mega__category-links > a.is-active,
.hnnp-mega-shortcode .hnnp-mega__category-links > a:hover,
.hnnp-mega-shortcode .hnnp-mega__category-links > a:focus-visible,
.hnnp-mega-shortcode .hnnp-mega__category-links > a.is-active {
    color: var(--hnnp-brand-dark) !important;
    outline: none;
}

.hnnp-mega__category-separator {
    color: #202838;
    font-size: 12px;
    line-height: 1.3;
}

.hnnp-mega__category img {
    display: block;
    width: 27px;
    height: 27px;
    object-fit: contain;
    padding: 2px;
}

.hnnp-mega__arrow {
    width: 13px;
    height: 13px;
    fill: none;
    stroke: #9aa4b2;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.hnnp-mega__category.is-active .hnnp-mega__arrow {
    stroke: var(--hnnp-brand);
}

.hnnp-mega-shortcode {
    width: 100%;
    height: 100%;
    min-height: 440px;
}

.hnnp-mega-shortcode .hnnp-mega__rail--embedded {
    height: 100%;
    padding: 8px;
    overflow: hidden;
    border: 1px solid #e3e9f2;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 5px 18px rgba(20, 38, 75, 0.08);
}

.hnnp-mega-shortcode .hnnp-mega__category {
    grid-template-columns: 36px minmax(0, 1fr) 16px;
    min-height: 37px;
    padding: 3px 7px;
    border-radius: 7px;
    font-size: 12px;
}

.hnnp-mega-shortcode .hnnp-mega__category img {
    width: 29px;
    height: 29px;
}

.hnnp-mega.is-embedded {
    pointer-events: none;
}

.hnnp-mega.is-embedded .hnnp-mega__backdrop {
    display: none;
}

.hnnp-mega.is-embedded .hnnp-mega__dialog {
    min-height: 0;
    border-radius: 12px;
    pointer-events: auto;
    transform-origin: left top;
}

.hnnp-mega.is-embedded .hnnp-mega__layout {
    grid-template-columns: minmax(0, 1fr);
}

.hnnp-mega.is-embedded .hnnp-mega__layout > .hnnp-mega__rail {
    display: none;
}

.hnnp-mega.is-embedded .hnnp-mega__content {
    padding: 18px 20px 24px;
}

.hnnp-mega__content {
    padding: 22px 24px 28px;
    background: #fff;
}

.hnnp-mega__panel[hidden] {
    display: none !important;
}

.hnnp-mega__panel {
    max-width: 100%;
    animation: hnnp-mega-panel-in 170ms ease both;
}

.hnnp-mega__panel.is-active {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-content: start;
    gap: 0 24px;
}

.hnnp-mega__panel-head,
.hnnp-mega__quick,
.hnnp-mega__category-sections {
    grid-column: 1 / -1;
}

@media (min-width: 768px) {
    .hnnp-mega:not(.has-panel) .hnnp-mega__dialog {
        width: 224px;
        height: min(496px, calc(100vh - var(--hnnp-mega-top) - 18px));
        min-height: 0;
        max-height: calc(100vh - var(--hnnp-mega-top) - 18px);
    }

    .hnnp-mega:not(.has-panel) .hnnp-mega__layout {
        display: block;
    }

    .hnnp-mega:not(.has-panel) .hnnp-mega__content {
        display: none;
    }
}

@keyframes hnnp-mega-panel-in {
    from { opacity: 0; transform: translateX(5px); }
    to { opacity: 1; transform: translateX(0); }
}

.hnnp-mega__panel-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 12px;
}

.hnnp-mega__panel-head h2,
.hnnp-mega__filter-group h3 {
    margin: 0;
    color: #172033;
    font-family: inherit;
}

.hnnp-mega__panel-head h2 {
    font-size: 20px;
    line-height: 1.3;
}

.hnnp-mega__panel-head > a {
    flex: 0 0 auto;
    color: var(--hnnp-brand-dark);
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
}

.hnnp-mega__quick {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.hnnp-mega__quick a {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 7px 12px;
    border: 1px solid #d9e1ec;
    border-radius: 999px;
    background: #fff;
    color: #2d3442;
    font-size: 12px;
    font-weight: 600;
    line-height: 1;
    text-decoration: none;
    transition: border-color 150ms ease, color 150ms ease, background-color 150ms ease;
}

.hnnp-mega__quick a:hover,
.hnnp-mega__quick a:focus-visible {
    border-color: var(--hnnp-brand);
    background: #f3f7ff;
    color: var(--hnnp-brand-dark);
}

.hnnp-mega__quick svg {
    width: 16px;
    height: 16px;
    margin-right: 6px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.hnnp-mega__quick-new {
    border-color: var(--hnnp-brand) !important;
    background: #edf4ff !important;
    color: var(--hnnp-brand-dark) !important;
}

.hnnp-mega__filter-group {
    margin-top: 20px;
}

.hnnp-mega__category-sections {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 16px;
    margin-top: 18px;
}

.hnnp-mega__category-section {
    min-width: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: #fff;
}

.hnnp-mega__category-section:hover {
    border-color: transparent;
    background: #fff;
    box-shadow: none;
}

.hnnp-mega__category-section h3 {
    margin: 0 0 10px;
}

.hnnp-mega__category-section h3 > a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 0;
    border-radius: 0;
    background: transparent;
    color: #1c2940;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: background-color 150ms ease, color 150ms ease;
}

.hnnp-mega__category-section h3 > a:hover,
.hnnp-mega__category-section h3 > a:focus-visible {
    background: transparent;
    color: var(--hnnp-brand-dark);
    outline: none;
}

.hnnp-mega__category-section h3 small {
    font-size: 11px;
    font-weight: 500;
    white-space: nowrap;
}

.hnnp-mega__filter-group h3 {
    margin-bottom: 9px;
    font-size: 15px;
    line-height: 1.3;
}

.hnnp-mega__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.hnnp-mega__chips a {
    display: inline-flex;
    align-items: center;
    min-height: 36px;
    max-width: 230px;
    padding: 7px 12px;
    overflow: hidden;
    border: 1px solid #dce2eb;
    border-radius: 8px;
    background: #fff;
    color: #202735;
    font-size: 13px;
    line-height: 1.25;
    text-decoration: none;
    text-overflow: ellipsis;
    white-space: nowrap;
    transition: border-color 150ms ease, box-shadow 150ms ease, color 150ms ease, transform 150ms ease;
}

.hnnp-mega__chips a:hover,
.hnnp-mega__chips a:focus-visible {
    border-color: var(--hnnp-brand);
    box-shadow: none;
    color: var(--hnnp-brand-dark);
    outline: none;
    transform: none;
}

.hnnp-mega__chips .hnnp-mega__brand-link.has-logo {
    justify-content: center;
    width: 112px;
    min-height: 42px;
    padding: 6px 10px;
}

.hnnp-mega__brand-media {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 28px;
}

.hnnp-mega__brand-media img,
.hnnp-mega__brand-media .hnnp-brand-filter-img {
    display: block;
    width: 100%;
    height: 100%;
    max-width: 92px;
    object-fit: contain;
}

/* CellphoneS-style information columns: plain links, compact groups. */
.hnnp-mega__panel.is-active {
    display: block;
}

.hnnp-mega__subcategory {
    margin: 0;
}

.hnnp-mega__subcategory-stack--split > .hnnp-mega__subcategory + .hnnp-mega__subcategory {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid #e6eaf0;
}

.hnnp-mega__subcategory-title {
    margin: 0 0 12px !important;
    font-family: inherit !important;
    font-size: 17px !important;
    font-weight: 700 !important;
    line-height: 1.3 !important;
}

.hnnp-mega__subcategory-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 12px;
}

.hnnp-mega__subcategory-head .hnnp-mega__subcategory-title {
    margin-bottom: 0 !important;
}

.hnnp-mega__view-all {
    display: none;
    flex: 0 0 auto;
    color: var(--hnnp-brand-dark);
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
}

.hnnp-mega__subcategory-title > a {
    color: #202735;
    text-decoration: none;
    transition: color 120ms ease;
}

.hnnp-mega__subcategory-title > a:hover,
.hnnp-mega__subcategory-title > a:focus-visible {
    color: var(--hnnp-brand-dark);
    outline: none;
}

.hnnp-mega__columns {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(158px, 1fr));
    align-items: start;
    gap: 20px;
}

.hnnp-mega__column {
    min-width: 0;
}

.hnnp-mega__menu-group {
    margin: 0 0 16px;
}

.hnnp-mega__menu-group:last-child {
    margin-bottom: 0;
}

.hnnp-mega__menu-group h3 {
    margin: 0 0 8px !important;
    color: #202735 !important;
    font-family: inherit !important;
    font-size: 14.5px !important;
    font-weight: 700 !important;
    line-height: 1.3 !important;
}

.hnnp-mega__link-list {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 3px;
}

.hnnp-mega__link-list > a {
    display: block;
    max-width: 100%;
    padding: 4px 0;
    color: #3f4856;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.42;
    text-decoration: none;
    transition: color 120ms ease;
}

.hnnp-mega__link-list > a:hover,
.hnnp-mega__link-list > a:focus-visible {
    color: var(--hnnp-brand-dark);
    outline: none;
}

.hnnp-mega__menu-group--brands .hnnp-mega__link-list {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: stretch;
    gap: 7px;
}

.hnnp-mega__menu-group--brands .hnnp-mega__link-list > a {
    display: flex;
    flex: 0 0 112px;
    align-items: center;
    justify-content: center;
    width: 112px;
    min-height: 38px;
    padding: 5px 7px;
    border: 1px solid #e0e4ea;
    border-radius: 7px;
    background: #fff;
    color: #4f5967;
    line-height: 1.25;
    overflow: hidden;
}

.hnnp-mega__menu-group--brands .hnnp-mega__link-list > a:hover,
.hnnp-mega__menu-group--brands .hnnp-mega__link-list > a:focus-visible {
    border-color: #9eb8ff;
    color: var(--hnnp-brand-dark);
}

.hnnp-mega__menu-group--brands .hnnp-mega__link-list > a.has-logo {
    justify-content: center;
    min-height: 42px;
}

.hnnp-mega__menu-group--brands .hnnp-mega__brand-media,
.hnnp-mega__menu-group--brands .hnnp-mega__brand-media img {
    min-width: 0;
    max-width: 100%;
}

.hnnp-mega__menu-group--brands .hnnp-mega__brand-media {
    width: 88px;
    height: 26px;
}

.hnnp-mega__menu-group--brands .hnnp-mega__brand-media img,
.hnnp-mega__menu-group--brands .hnnp-mega__brand-media .hnnp-brand-filter-img {
    width: auto !important;
    height: auto !important;
    max-width: 88px !important;
    max-height: 24px !important;
    object-fit: contain !important;
    transform-origin: center;
}

/* Optical correction for source files with unusually large transparent pads. */
.hnnp-mega__brand-media img[alt*="Panasonic" i] {
    transform: scale(1.16);
}

.hnnp-mega__brand-media img[alt*="Hitachi" i] {
    transform: scale(0.86);
}

@media (min-width: 768px) {
    .hnnp-mega .hnnp-mega__menu-group--brands .hnnp-mega__link-list > a,
    .hnnp-mega .hnnp-mega__menu-group--brands .hnnp-mega__link-list > a.has-logo {
        flex: 0 0 calc(50% - 4px) !important;
        width: calc(50% - 4px) !important;
        min-width: 0 !important;
        height: 42px !important;
        min-height: 42px !important;
        max-height: 42px !important;
        aspect-ratio: auto !important;
    }

    .hnnp-mega .hnnp-mega__menu-group--brands .hnnp-mega__brand-media {
        width: 100% !important;
        max-width: 76px !important;
        height: 26px !important;
        min-height: 0 !important;
        max-height: 26px !important;
        aspect-ratio: auto !important;
    }

    .hnnp-mega .hnnp-mega__menu-group--brands .hnnp-mega__brand-media img,
    .hnnp-mega .hnnp-mega__menu-group--brands .hnnp-mega__brand-media .hnnp-brand-filter-img {
        max-width: 72px !important;
        max-height: 23px !important;
    }
}

.hnnp-mega-trigger-active,
.ft-navi a.hnnp-mega-trigger-active {
    color: var(--hnnp-brand-dark) !important;
}

@media (max-width: 767px) {
	.hnnp-mega-shortcode {
		display: none;
	}
    .hnnp-mega {
        z-index: 10149;
        opacity: 1;
        transition: visibility 0s linear 260ms;
    }

    .hnnp-mega.is-open {
        transition-delay: 0s;
    }

    .hnnp-mega__backdrop {
        display: none;
    }

    .hnnp-mega__dialog {
        top: var(--hnnp-mega-mobile-top, 0px);
        right: 0;
        bottom: calc(60px + env(safe-area-inset-bottom, 0px));
        left: 0;
        width: auto;
        height: auto;
        min-height: 0;
        border: 0;
        border-radius: 0;
        box-shadow: 0 -8px 24px rgba(17, 34, 68, 0.08);
        transform: translateX(100%);
        transform-origin: right center;
        transition: transform 260ms cubic-bezier(0.22, 1, 0.36, 1);
    }

    .hnnp-mega.is-open .hnnp-mega__dialog {
        transform: translateX(0);
    }

    .hnnp-mega__mobile-head {
        display: flex;
        align-items: center;
        justify-content: space-between;
        height: 50px;
        padding: 0 14px;
        border-bottom: 1px solid #e7ebf2;
        background: #fff;
    }

    .hnnp-mega__mobile-head strong {
        font-size: 16px;
    }

    .hnnp-mega button.hnnp-mega__close {
        display: grid;
        width: 38px;
        height: 38px;
        min-width: 38px;
        min-height: 38px;
        margin: 0 !important;
        padding: 0 !important;
        border: 0 !important;
        border-radius: 8px !important;
        place-items: center;
        background: #f1f3f5 !important;
        box-shadow: none !important;
        color: #7a8492 !important;
        font-size: 0 !important;
        line-height: 1 !important;
        appearance: none !important;
        transform: none !important;
    }

    .hnnp-mega button.hnnp-mega__close svg {
        width: 21px;
        height: 21px;
        fill: none;
        stroke: #7a8492 !important;
        stroke-width: 2;
        stroke-linecap: round;
        pointer-events: none;
    }

    .hnnp-mega button.hnnp-mega__close::before,
    .hnnp-mega button.hnnp-mega__close::after {
        display: none !important;
        content: none !important;
    }

    .hnnp-mega button.hnnp-mega__close:hover,
    .hnnp-mega button.hnnp-mega__close:focus-visible {
        background: #e7eaee !important;
        color: #626c79 !important;
        outline: 2px solid rgba(43, 90, 205, 0.18) !important;
        outline-offset: 2px;
    }

    .hnnp-mega__layout {
        grid-template-columns: 108px minmax(0, 1fr);
        height: calc(100% - 50px);
    }

    .hnnp-mega:not(.has-panel) .hnnp-mega__layout {
        grid-template-columns: minmax(0, 1fr);
    }

    .hnnp-mega:not(.has-panel) .hnnp-mega__content {
        display: none;
    }

    .hnnp-mega__rail {
        padding: 0;
        border-right: 1px solid #e5eaf1;
        background: #f5f7fa;
        scrollbar-width: none;
    }

    .hnnp-mega__rail::-webkit-scrollbar {
        display: none;
    }

    .hnnp-mega .hnnp-mega__category--desktop {
        display: none !important;
    }

    .hnnp-mega .hnnp-mega__category--mobile {
        display: grid;
        cursor: pointer;
        -webkit-tap-highlight-color: transparent;
    }

    .hnnp-mega .hnnp-mega__category,
    .hnnp-mega .hnnp-mega__category + .hnnp-mega__category {
        grid-template-columns: 1fr;
        justify-items: center;
        min-height: 105px;
        margin: 0;
        padding: 10px 6px 9px;
        border-radius: 0;
        background: var(--hnnp-cat-bg, #eef4ff) !important;
        color: #273142 !important;
        font-size: 12px;
        line-height: 1.25;
        text-align: center;
    }

    .hnnp-mega .hnnp-mega__category-links {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
        color: #182033;
    }

    .hnnp-mega .hnnp-mega__category-links > a {
        display: block;
        width: 100%;
        padding: 2px 0;
        line-height: 1.3;
    }

    .hnnp-mega .hnnp-mega__category-links > a + a {
        margin-top: 3px;
        padding-top: 4px;
        border-top: 1px solid rgba(43, 90, 205, 0.12);
    }

    .hnnp-mega .hnnp-mega__category-separator {
        display: none;
    }

    .hnnp-mega__category::after {
        position: absolute;
        top: 50%;
        right: -1px;
        width: 0;
        height: 0;
        border-top: 9px solid transparent;
        border-right: 9px solid #fff;
        border-bottom: 9px solid transparent;
        content: "";
        opacity: 0;
        transform: translateY(-50%);
    }

    .hnnp-mega .hnnp-mega__category.is-active {
        background: var(--hnnp-cat-bg, #eef4ff) !important;
        color: #172033 !important;
        box-shadow: inset 4px 0 0 var(--hnnp-brand);
    }

    .hnnp-mega__category.is-active::after {
        opacity: 1;
    }

    .hnnp-mega__category img {
        width: 50px;
        height: 50px;
        margin-bottom: 4px;
    }

    .hnnp-mega__arrow {
        display: none;
    }

    .hnnp-mega__content {
        padding: 16px 14px 30px;
    }

    .hnnp-mega__panel-head {
        align-items: flex-start;
        margin-bottom: 12px;
    }

    .hnnp-mega__panel-head h2 {
        font-size: 18px;
    }

    .hnnp-mega__panel.is-active {
        display: block;
    }

    .hnnp-mega__subcategory {
        display: none;
    }

    .hnnp-mega__subcategory.is-active {
        display: block;
    }

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

    .hnnp-mega__column {
        display: contents;
    }

    .hnnp-mega__menu-group {
        margin-bottom: 0;
    }

    .hnnp-mega__subcategory-stack--split > .hnnp-mega__subcategory + .hnnp-mega__subcategory {
        margin-top: 18px;
        padding-top: 16px;
    }

    .hnnp-mega__subcategory-title {
        font-size: 17px !important;
    }

    .hnnp-mega__panel-head > a {
        margin-top: 2px;
        font-size: 12px;
    }

    .hnnp-mega__quick {
        gap: 6px;
        margin-bottom: 18px;
    }

    .hnnp-mega__quick a {
        min-height: 32px;
        padding: 6px 9px;
        font-size: 11px;
    }

    .hnnp-mega__filter-group {
        margin-top: 19px;
    }

    .hnnp-mega__filter-group h3 {
        font-size: 15px;
    }

    .hnnp-mega__category-sections {
        grid-template-columns: minmax(0, 1fr);
        gap: 10px;
    }

    .hnnp-mega__chips {
        gap: 7px;
    }

    .hnnp-mega__chips a {
        min-height: 36px;
        max-width: 100%;
        padding: 7px 10px;
        font-size: 12px;
        white-space: normal;
    }
}

/* Mobile has its own presentation: narrow category rail and card groups. */
@media (max-width: 767px) {
    .hnnp-mega__mobile-head {
        height: 48px;
        padding: 0 12px;
        background: #fff;
    }

    .hnnp-mega__mobile-head strong {
        color: #1d2430;
        font-size: 16px;
        font-weight: 700;
    }

    .hnnp-mega__layout {
        grid-template-columns: 94px minmax(0, 1fr);
        height: calc(100% - 48px);
    }

    .hnnp-mega__rail {
        background: #f1f4f7;
    }

    .hnnp-mega .hnnp-mega__category,
    .hnnp-mega .hnnp-mega__category + .hnnp-mega__category {
        min-height: 102px;
        padding: 9px 5px 8px;
    }

    .hnnp-mega__category img {
        width: 46px;
        height: 46px;
        margin-bottom: 3px;
    }

    .hnnp-mega .hnnp-mega__category-links > a {
        color: #202733 !important;
        font-size: 11.5px;
        font-weight: 700;
        line-height: 1.25;
    }

    .hnnp-mega .hnnp-mega__category-links > a.is-active {
        color: var(--hnnp-brand-dark) !important;
    }

    .hnnp-mega__content {
        padding: 8px 8px 28px;
        background: #f3f5f7;
        scrollbar-width: none;
    }

    .hnnp-mega__content::-webkit-scrollbar {
        display: none;
    }

    .hnnp-mega__subcategory-head {
        display: flex;
        margin: 0 0 8px;
        padding: 11px 12px;
        border: 1px solid #edf0f3;
        border-radius: 11px;
        background: #fff;
        box-shadow: 0 1px 3px rgba(22, 34, 52, 0.05);
    }

    .hnnp-mega__subcategory-title {
        display: block;
        font-size: 18px !important;
        line-height: 1.25 !important;
    }

    .hnnp-mega__subcategory-title > a {
        color: #171c25;
    }

    .hnnp-mega__view-all {
        display: inline-flex;
        align-items: center;
        min-height: 30px;
        padding: 4px 0 4px 8px;
        color: var(--hnnp-brand-dark);
        font-size: 12px;
        white-space: nowrap;
    }

    .hnnp-mega__subcategory-stack--split > .hnnp-mega__subcategory + .hnnp-mega__subcategory {
        margin-top: 0;
        padding-top: 0;
        border-top: 0;
    }

    .hnnp-mega__columns {
        grid-template-columns: minmax(0, 1fr);
        gap: 10px;
    }

    .hnnp-mega__column {
        display: contents;
    }

    .hnnp-mega__menu-group,
    .hnnp-mega__menu-group:last-child {
        margin: 0;
        padding: 12px;
        border: 1px solid #edf0f3;
        border-radius: 11px;
        background: #fff;
        box-shadow: 0 1px 3px rgba(22, 34, 52, 0.05);
    }

    .hnnp-mega__menu-group h3 {
        margin: 0 0 10px !important;
        color: #171c25 !important;
        font-size: 16px !important;
        line-height: 1.25 !important;
    }

    .hnnp-mega__link-list {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        align-items: stretch;
        gap: 8px;
    }

    .hnnp-mega__link-list > a,
    .hnnp-mega__menu-group--brands .hnnp-mega__link-list > a {
        display: flex;
        align-items: center;
        justify-content: center;
        min-width: 0;
        min-height: 42px;
        padding: 7px 8px;
        overflow: hidden;
        border: 1px solid #dfe3e8;
        border-radius: 9px;
        background: #fff;
        color: #303845;
        font-size: 13px;
        font-weight: 500;
        line-height: 1.3;
        text-align: center;
        text-overflow: ellipsis;
    }

    .hnnp-mega__link-list > a:hover,
    .hnnp-mega__link-list > a:focus-visible {
        border-color: #9eb8ff;
        background: #f7f9ff;
        color: var(--hnnp-brand-dark);
    }

    .hnnp-mega__menu-group--brands .hnnp-mega__link-list {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 7px;
    }

    .hnnp-mega__menu-group--brands .hnnp-mega__link-list > a,
    .hnnp-mega__menu-group--brands .hnnp-mega__link-list > a.has-logo {
        flex: none;
        width: auto;
        min-height: 50px;
        padding: 5px;
    }

    .hnnp-mega__brand-media {
        width: 100%;
        height: 30px;
    }

    .hnnp-mega__brand-media img,
    .hnnp-mega__brand-media .hnnp-brand-filter-img {
        max-width: min(76px, 100%) !important;
        max-height: 24px !important;
    }
}

@media (max-width: 380px) {
    .hnnp-mega__layout {
        grid-template-columns: 88px minmax(0, 1fr);
    }

}

@media (min-width: 600px) and (max-width: 767px) {
    .hnnp-mega__columns {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 18px 14px;
    }
}

@media (min-width: 768px) and (max-height: 470px) {
    .hnnp-mega__dialog {
        min-height: 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hnnp-mega,
    .hnnp-mega__dialog,
    .hnnp-mega__category,
    .hnnp-mega__chips a,
    .hnnp-mega__panel {
        animation: none !important;
        transition-duration: 0.01ms !important;
    }
}
