.hb-mega-nav {
    position: relative;
    z-index: 120;
    background: #fff
}

.hb-mega-nav .hb-nav-items {
    overflow: visible;
    gap: 28px;
    min-height: 68px
}

.hb-nav-dropdown>summary {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    list-style: none;
    font-size: 15px;
    padding: 12px 0;
    color: var(--hb-ink);
    white-space: nowrap
}

.hb-nav-dropdown>summary::-webkit-details-marker {
    display: none
}

.hb-nav-dropdown>summary.hb-shop-link {
    padding: 13px 23px;
    color: white
}

.hb-nav-dropdown[open]>summary:not(.hb-shop-link) {
    color: var(--hb-green)
}

.hb-nav-chevron {
    font-size: 17px;
    transition: transform .15s
}

.hb-nav-dropdown[open] .hb-nav-chevron {
    transform: rotate(180deg)
}

.hb-mega-panel {
    position: absolute;
    top: 100%;
    left: 3%;
    width: 94%;
    max-width: 1800px;
    margin-inline: auto;
    right: 3%;
    max-height: min(660px, var(--hb-menu-height, calc(100dvh - 250px)));
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 0;
    background: #fff;
    scrollbar-gutter: stable;
    border: 1px solid #dce7ed;
    border-radius: 0 0 16px 16px;
    box-shadow: 0 16px 35px #18324d20;
    animation: hb-nav-enter .18s ease-out
}

.hb-mega-heading {
    display: flex;
    align-items: center;
    gap: 20px;
    position: sticky;
    top: 0;
    z-index: 2;
    padding: 18px 24px;
    background: #fff;
    border-bottom: 1px solid #e5ebf0;
    margin-bottom: 0
}

.hb-mega-heading h2 {
    font-size: 20px;
    font-weight: 600;
    margin: 0;
    line-height: 1.35
}

.hb-mega-heading>a {
    margin-left: auto;
    color: var(--hb-blue);
    font-size: 13px
}

.hb-nav-close {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    border: 1px solid #dce7ed;
    border-radius: 50%;
    color: var(--hb-ink);
    font-size: 16px;
    line-height: 1;
    background: #fff
}

.hb-mega-columns {
    display: grid;
    grid-template-columns: repeat(var(--hb-menu-columns, 4), minmax(0, 1fr));
    gap: 0;
    padding: 22px 12px
}

.hb-mega-group {
    min-width: 0;
    padding: 0 16px;
    border-right: 1px solid #e5ebf0
}
.hb-mega-group:last-child{border-right:0}

.hb-mega-category-image {
    height: 64px;
    width: 64px;
    object-fit: contain;
    background: transparent;
    border-radius: 7px;
    margin-bottom: 0
}

.hb-mega-group h3 {
    font-size: 15px;
    font-weight: 600;
    margin: 0 0 8px;
    min-height: 44px;
    display: flex;
    align-items: center;
    line-height: 1.35;
    padding-bottom: 8px;
    border-bottom: 1px solid #e3ecea;
    color: #187763
}

.hb-mega-group ul {
    list-style: none;
    margin: 0;
    padding: 0
}

.hb-mega-nav .hb-mega-group a {
    display: flex;
    gap: 8px;
    justify-content: space-between;
    white-space: normal;
    font-size: 13px;
    line-height: 1.5;
    padding: 8px 6px;
    min-height: 38px;
    align-items: center;
    overflow-wrap: anywhere;
    color: #4d6277
}

.hb-mega-group a span {
    color: #7ca799
}

.hb-mega-group a:hover {
    color: var(--hb-blue);
    text-decoration: underline;
    text-underline-offset: 3px
}

.hb-nav-featured {
    display: grid;
    grid-template-columns: 150px 1fr;
    align-items: center;
    gap: 20px;
    margin-top: 0;
    padding: 18px 24px;
    border-top: 1px solid #dbe6e9;
    background: #f7faf9
}

.hb-nav-featured h3 {
    font-size: 14px;
    font-weight: 500;
    line-height: 1.5;
    margin: 0;
    color: var(--hb-ink)
}

.hb-nav-products {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    min-width: 0
}

.hb-nav-products>p {
    grid-column: 1/-1;
    font-size: 12px;
    color: var(--hb-muted)
}

.hb-mega-nav .hb-nav-product {
    display: flex;
    align-items: center;
    gap: 12px;
    background: white;
    border: 1px solid #e2eaf0;
    border-radius: 9px;
    padding: 10px;
    white-space: normal
}

.hb-nav-product img {
    width: 52px;
    height: 65px;
    object-fit: contain;
    flex-shrink: 0
}

.hb-nav-product>span {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 6px
}

.hb-nav-product strong {
    font-size: 12px;
    line-height: 1.4;
    font-weight: 500;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden
}

.hb-nav-product small {
    font-size: 11px;
    color: #278775
}

.hb-nav-product:hover {
    border-color: #96c6bb
}

.hb-nav-all {
    margin: 0 24px 18px;
    font-size: 12px;
    color: var(--hb-blue)
}

.hb-nav-all summary {
    cursor: pointer;
    padding: 8px 0
}

.hb-nav-all>div {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    padding: 15px;
    background: #fff;
    border-radius: 8px
}

.hb-mega-nav .hb-nav-all a {
    font-size: 12px;
    white-space: normal
}

@keyframes hb-nav-enter {
    from {
        opacity: 0;
        transform: translateY(-5px)
    }

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

@media(max-width:1100px) {
    .hb-mega-nav .hb-nav-items {
        gap: 18px;
        flex-wrap: wrap;
        padding-block: 10px
    }

    .hb-nav-dropdown>summary {
        font-size: 13px;
        padding: 8px 0
    }

    .hb-nav-dropdown>summary.hb-shop-link {
        padding: 11px 16px
    }

    .hb-mega-columns {
        grid-template-columns: repeat(3, minmax(0, 1fr))
    }

    .hb-nav-featured {
        grid-template-columns: 1fr
    }
}

@media(max-width:767px) {
    .hb-mega-nav .hb-nav-items {
        gap: 10px 18px;
        min-height: 0
    }

    .hb-nav-dropdown>summary {
        font-size: 12px;
        gap: 6px
    }

    .hb-nav-dropdown>summary.hb-shop-link {
        font-size: 12px;
        padding: 10px 14px
    }

    .hb-nav-home {
        font-size: 12px !important
    }

    .hb-mega-panel {
        left: 0;
        right: 0;
        width: 100%;
        padding: 0;
        border-radius: 0 0 12px 12px
    }

    .hb-mega-heading {
        gap: 8px 12px;
        padding: 14px 16px;
        display: grid;
        grid-template-columns: 1fr 40px
    }

    .hb-mega-heading h2 {
        font-size: 18px
    }

    .hb-mega-heading>a {
        font-size: 12px;
        white-space: normal;
        margin: 0;
        grid-row: 2;
        grid-column: 1
    }

    .hb-nav-close {
        flex-shrink: 0;
        grid-row: 1 / 3;
        grid-column: 2
    }

    .hb-mega-columns {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 24px 0;
        padding: 18px 4px
    }

    .hb-mega-group {
        padding: 0 12px
    }

    .hb-mega-group h3 {
        font-size: 13px
    }

    .hb-mega-category-image {
        height: 48px;
        width: 48px
    }

    .hb-nav-products {
        grid-template-columns: 1fr
    }

    .hb-nav-all>div {
        grid-template-columns: repeat(2, minmax(0, 1fr))
    }
}

@media(prefers-reduced-motion:reduce) {
    .hb-mega-panel {
        animation: none
    }

    .hb-nav-chevron {
        transition: none
    }
}

.hb-mega-category-art {
    display: grid;
    place-items: center;
    height: 64px;
    width: 64px;
    margin-bottom: 12px;
    background: #f2f7f5;
    border-radius: 10px;
    overflow: hidden
}

.hb-mega-category-art .hb-mega-category-image {
    margin: 0;
    background: none
}

.hb-mega-category-art>i {
    font-size: 28px;
    color: #258573
}

.hb-mega-group:nth-child(3n+2) .hb-mega-category-art {
    background: #edf0f9
}

.hb-mega-group:nth-child(3n) .hb-mega-category-art {
    background: #faf0e5
}

.hb-nav-dropdown>summary:focus-visible {
    outline: 2px solid var(--hb-green);
    outline-offset: 4px;
    border-radius: 5px
}

@media(max-width:767px) {
    .hb-mega-category-art {
        height: 48px;
        width: 48px
    }
    .hb-mega-group:nth-child(2n){border-right:0}
    .hb-mega-nav .hb-mega-group a{min-height:44px;font-size:12px;padding:8px 0}
    .hb-nav-featured{padding:18px 16px;gap:12px}
}
@media(min-width:768px) and (max-width:1100px){.hb-mega-columns{row-gap:26px}.hb-mega-group:nth-child(3n){border-right:0}}
