.desktop_navmenu_blur {
    display: none;
    @media(min-width: 1024px) {
        display: block;
    }

    position: fixed;
    pointer-events: none;
    opacity: 0;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    backdrop-filter: blur(8px);
    /* webkit not added by autoprefixer? */
    -webkit-backdrop-filter: blur(8px);
    background: rgba(0, 0, 0, 0.5);
    z-index: 150;
    transition: opacity 0.2s ease-in-out;

    &.active {
        opacity: 1;
        pointer-events: auto;
    }
}

.no-scroll-desktop {
    @media(min-width: 1024px) {
        overflow: hidden;
    }
}

#desktop_navmenu {
    background-color: #f2f2f2;
    display: none;
    @media (min-width: 1024px) {
        display: block;
    }

    .desktop_navmenu_categories {
        display: flex;
        align-items: center;
        /* Realign categories to the left */
        transform: translateX(-1rem);
    }

    .desktop_navmenu_category {
        height: auto;
        position: relative;
        line-height: 1;
    }

    .desktop_navmenu_category_title {
        padding: 0.75rem 1rem;
    }

    .desktop_navmenu_dropdown_trigger {
        transition: background-color 0.1s ease-out;
    }

    .desktop_navmenu_category.active .desktop_navmenu_dropdown_trigger {
        background-color: #d9d9d9;
    }

    .desktop_navmenu_category_title {
        display: inline-block;
        font-size: 1rem;
        font-weight: 500;
        text-transform: capitalize;
        color: #37373b;
        text-decoration: none;
        transition: color 0.1s ease;
        white-space: nowrap;

        &:hover {
            text-decoration: underline;
        }
    }

    .desktop_navmenu_category_dropdown {
        background-color: #f2f2f2;
        background-size: cover;
        background-position: center;
        opacity: 0;
        overflow: hidden;
        position: absolute;
        width: 100vw;
        top: 100%;
        left: 0;
        max-height: 0;
        border-style: solid;
        border-color: #d9d9d9;
        border-width: 0;
        transition: max-height 0.2s ease-out, opacity 0s linear 0.2s, border-width 0s linear 0.2s;
    }

    .desktop_navmenu_category.active .desktop_navmenu_category_dropdown {
        border-width: 1px 0 0;
        z-index: 3;
        opacity: 1;
        transition: max-height 0.2s ease-out;
        /* Safari MacOS fix */
        transform: translateZ(0);
    }

    .desktop_navmenu_category_dropdown_inner {
        display: grid;
        grid-template-columns: 0.75fr 0.25fr;
    }

    .desktop_navmenu_subcategories {
        align-self: flex-start;
        column-count: 3;
        padding-top: 2rem;
        padding-bottom: 2rem;
    }

    .desktop_navmenu_subcategory {
        break-inside: avoid;
        padding-right: 1rem;
        margin-bottom: 1rem;
    }

    .desktop_navmenu_subcategory_title {
        font-size: 1rem;
        color: #32373b;
        font-weight: 500;
        text-transform: capitalize;
        text-decoration: none;
        transition: color 0.1s ease;


        &:hover {
            text-decoration: underline;
        }
    }

    .desktop_navmenu_products {
        display: flex;
        flex-direction: column;
        margin-top: 1rem;
        gap: 0.5rem;
        align-items: flex-start;
    }

    .desktop_navmenu_product_title {
        font-size: 1rem;
        color: #5e696e;
        font-weight: 400;
        transition: color 0.05s ease;

        &:hover {
            text-decoration: underline;
        }
    }

    .desktop_navmenu_category_image_link {
        display: block;
        min-height: 260px;
        background-size: cover;
        background-position: bottom;
        background-repeat: no-repeat;

        @media (min-width: 1280px) {
            min-height: 350px;
        }
    }
}

.authorization-link img {
    width: .875rem;
    height: .875rem;
}

.block-search {
    display: none;
}
