/**
 * Megamenu above category product cards.
 * Theme #header is z-index: 100; product hover/transforms steal the cursor.
 */
@media (min-width: 992px) {
    #header,
    #desktop-header,
    .megamenu-fullwidth-bg,
    .sticky-desktop-wrapper {
        z-index: 100000 !important;
        position: relative !important;
    }

    #iqitmegamenu-wrapper,
    #iqitmegamenu-horizontal,
    #iqitmegamenu-horizontal.cbp-sticky,
    #iqitmegamenu-wrapper.stuck-menu,
    .stuck-menu {
        z-index: 100000 !important;
    }

    .cbp-hrmenu .cbp-hrsub,
    .cbp-hrmenu .cbp-hropen > .cbp-hrsub {
        z-index: 100001 !important;
        pointer-events: auto !important;
    }

    body.page-category #wrapper,
    body.page-category #js-product-list,
    body.page-category .product-miniature,
    body.page-category .product-card-visual {
        z-index: 1 !important;
    }

    body.page-category .product-functional-buttons,
    body.page-category .product-functional-buttons-links,
    body.page-category .product-flags {
        z-index: 2 !important;
    }

    body:has(#cbp-hrmenu li.cbp-hropen) #wrapper {
        pointer-events: none !important;
        z-index: 0 !important;
    }

    body:has(#cbp-hrmenu li.cbp-hropen) .product-miniature:hover .product-card-visual {
        transform: none !important;
    }

    .mm-col-featured {
        background: #f4f5f6 !important;
        padding: 16px !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: flex-start !important;
        min-height: 0 !important;
        height: 100% !important;
    }

    .mm-col-featured .featured-product {
        flex: 0 0 auto !important;
        width: 100% !important;
        display: flex !important;
        flex-direction: column !important;
        gap: 10px !important;
        padding: 14px 14px 16px !important;
    }

    .mm-col-featured .featured-product img {
        height: 150px !important;
        margin: 8px 0 0 0 !important;
    }

    .mm-col-featured h4,
    .mm-col-featured .featured-product h4 {
        margin: 0 !important;
        font-size: 15px !important;
        font-weight: 700 !important;
        line-height: 1.3 !important;
    }

    .mm-col-featured p,
    .mm-col-featured .featured-product p {
        flex: none !important;
        margin: 0 !important;
        font-size: 13px !important;
        line-height: 1.45 !important;
    }

    .mm-col-featured .featured-price {
        margin-top: 4px !important;
        padding-top: 12px !important;
    }
}
