.menu-toggle {
    flex: 0 0 44px;
    padding: 0;
    font-size: 0;
}

.menu-toggle-bars {
    display: grid;
    width: 20px;
    gap: 4px;
}

.menu-toggle-bars span {
    display: block;
    width: 100%;
    height: 2px;
    border-radius: 2px;
    background: currentColor;
    transition: transform .2s ease, opacity .2s ease;
}

.site-header.is-open .menu-toggle-bars span:first-child {
    transform: translateY(6px) rotate(45deg);
}

.site-header.is-open .menu-toggle-bars span:nth-child(2) {
    opacity: 0;
}

.site-header.is-open .menu-toggle-bars span:last-child {
    transform: translateY(-6px) rotate(-45deg);
}

.product-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 24px;
}

@media (max-width: 991px) {
    .nav-wrap {
        max-height: calc(100vh - 88px);
        max-height: calc(100dvh - 88px);
        overscroll-behavior: contain;
    }

    .menu-item-products {
        align-items: center;
    }
}

@media (max-width: 600px) {
    .nav-wrap {
        right: 12px;
        left: 12px;
        padding: 12px;
    }

    .primary-menu a,
    .products-menu-link {
        justify-content: flex-start;
        padding-right: 12px;
        padding-left: 12px;
        text-align: left;
    }

    .mega-column h3 {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        gap: 8px 6px;
    }

    .mega-column h3 a {
        flex: 1 1 180px;
        overflow-wrap: anywhere;
    }

    .mega-badge {
        flex: 0 0 auto;
        margin: 0;
    }

    .menu-item-products.is-mega-open .mega-menu {
        padding-top: 10px;
    }
}

@media (max-width: 420px) {
    .header-inner {
        gap: 14px;
    }

    .brand {
        width: min(190px, calc(100% - 58px));
    }

    .product-actions .btn {
        width: 100%;
    }
}
