/* ZP_CATEGORY_MEGA_STYLESHEET_RECOVERY_4ZCE */
/* Original verified mega-menu design */

@media (min-width: 1200px) {
        .zp-home-layout__sidebar
        .zp-category-widget--tree
        .zp-category-widget__item[data-depth="0"]
        > .zp-category-widget__children,
        .zp-home-layout__sidebar
        .zp-category-widget--tree
        .zp-category-widget__item[data-depth="1"]
        > .zp-category-widget__children {
            display: none !important;
        }

        .zp-category-widget--tree
        .zp-category-widget__item.zp-mega-active
        > .zp-category-widget__row {
            background: #fff4db !important;
            border-radius: 5px;
        }

        .zp-category-widget--tree
        .zp-category-widget__item.zp-mega-active
        > .zp-category-widget__row
        > .zp-category-widget__link {
            color: #202020 !important;
            font-weight: 600;
        }
    }

    .zp-category-mega-unified {
        --zp-mega-accent: #f5ab00;
        position: fixed;
        z-index: 2147483000;
        box-sizing: border-box;
        padding: 0 !important;
        background: #ffffff !important;
        color: #333b47;
        border: 1px solid #e6e9ed !important;
        border-top: 3px solid var(--zp-mega-accent) !important;
        border-radius: 8px !important;
        box-shadow: 0 18px 48px rgba(22, 30, 43, .17) !important;
        overflow-x: hidden !important;
        overflow-y: auto !important;
        overscroll-behavior: contain;
        scrollbar-width: thin;
        scrollbar-color: #ccd3dd transparent;
        font-family: inherit;
        font-size: 13px;
        line-height: 1.5;
        text-align: left;
    }

    .zp-category-mega-unified[hidden] {
        display: none !important;
    }

    .zp-category-mega-unified__title {
        position: sticky;
        top: 0;
        z-index: 2;
        margin: 0 !important;
        padding: 15px 22px !important;
        color: #171b22 !important;
        background: #ffffff !important;
        border-bottom: 1px solid #e9edf2 !important;
        font-size: 15px !important;
        font-weight: 700 !important;
        line-height: 1.35 !important;
        letter-spacing: -.2px;
    }

    .zp-category-mega-unified__grid {
        display: grid !important;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        column-gap: 26px !important;
        row-gap: 18px !important;
        padding: 18px 22px 24px;
        align-items: start;
        background: #fff;
    }

    .zp-category-mega-unified__column {
        display: flex !important;
        flex-direction: column !important;
        gap: 17px !important;
        min-width: 0;
    }

    .zp-category-mega-unified__group {
        display: flex !important;
        flex-direction: column !important;
        gap: 5px !important;
        min-width: 0;
        break-inside: avoid;
    }

    .zp-category-mega-unified__group
    > .zp-category-mega-unified__heading {
        display: block;
        position: relative;
        margin: 0 0 5px !important;
        padding: 0 0 7px !important;
        color: #20252c !important;
        border-bottom: 1px solid #edf0f4;
        font-size: 12.5px !important;
        font-weight: 700 !important;
        line-height: 1.4;
    }

    .zp-category-mega-unified__group
    > .zp-category-mega-unified__heading::after {
        content: "";
        position: absolute;
        bottom: -1px;
        left: 0;
        width: 28px;
        height: 2px;
        background: #ffb400;
    }

    .zp-category-mega-unified a {
        display: block !important;
        max-width: 100%;
        width: 100%;
        box-sizing: border-box;
        padding: 4px 6px !important;
        margin: 0 !important;
        color: #566171 !important;
        background: transparent;
        border-radius: 4px;
        text-decoration: none !important;
        overflow-wrap: anywhere;
        font-size: 12px !important;
        font-weight: 400;
        line-height: 1.5 !important;
        transition:
            color .15s ease,
            background-color .15s ease;
    }

    .zp-category-mega-unified a.zp-category-mega-unified__heading {
        font-weight: 700 !important;
        color: #20252c !important;
    }

    .zp-category-mega-unified a:hover,
    .zp-category-mega-unified a:focus-visible {
        color: #1a1a1a !important;
        background: #fff3d3 !important;
        outline: none;
        text-decoration: none !important;
    }

    .zp-category-mega-unified__column:empty {
        display: none !important;
    }

    @media (max-width: 1499px) {
        .zp-category-mega-unified__grid {
            column-gap: 17px !important;
            padding: 16px 18px 20px;
        }

        .zp-category-mega-unified__title {
            padding: 13px 18px !important;
        }
    }

    @media (max-width: 1199px) {
        .zp-category-mega-unified {
            display: none !important;
        }
    }

    @media (prefers-reduced-motion: reduce) {
        .zp-category-mega-unified a {
            transition: none;
        }
    }


/*
 * Verified external stylesheet recovery.
 * Only the existing body-level mega-menu panel is targeted.
 */

.zp-category-mega-unified {
    display: block;
    position: fixed;
    z-index: 2147483000 !important;
    box-sizing: border-box !important;
    background: #ffffff !important;
    color: #334155 !important;
    border: 1px solid #e2e8f0 !important;
    border-top: 3px solid #f5ab00 !important;
    border-radius: 8px !important;
    box-shadow: 0 18px 48px rgba(22, 30, 43, .17) !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    font-family: inherit !important;
    font-size: 13px !important;
    line-height: 1.5 !important;
}

.zp-category-mega-unified[hidden] {
    display: none !important;
}

.zp-category-mega-unified > .zp-category-mega-unified__title {
    display: block !important;
    position: sticky !important;
    top: 0 !important;
    z-index: 2 !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 14px 20px !important;
    border-bottom: 1px solid #e9edf2 !important;
    background: #ffffff !important;
    color: #171b22 !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    line-height: 1.4 !important;
    box-sizing: border-box !important;
}

.zp-category-mega-unified > .zp-category-mega-unified__grid {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    column-gap: 24px !important;
    row-gap: 18px !important;
    padding: 20px !important;
    background: #ffffff !important;
    align-items: start !important;
    box-sizing: border-box !important;
}

.zp-category-mega-unified .zp-category-mega-unified__column {
    display: flex !important;
    flex-direction: column !important;
    gap: 16px !important;
    min-width: 0 !important;
    width: auto !important;
    float: none !important;
    box-sizing: border-box !important;
}

.zp-category-mega-unified .zp-category-mega-unified__group {
    display: flex !important;
    flex-direction: column !important;
    flex-wrap: nowrap !important;
    align-items: stretch !important;
    gap: 4px !important;
    min-width: 0 !important;
    width: 100% !important;
}

.zp-category-mega-unified .zp-category-mega-unified__group > a {
    display: block !important;
    float: none !important;
    position: static !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 5px 7px !important;
    border-radius: 4px !important;
    background: transparent !important;
    color: #526071 !important;
    text-decoration: none !important;
    text-align: left !important;
    white-space: normal !important;
    overflow-wrap: anywhere !important;
    word-break: normal !important;
    font-size: 12px !important;
    font-weight: 400 !important;
    line-height: 1.55 !important;
    box-sizing: border-box !important;
}

.zp-category-mega-unified
.zp-category-mega-unified__group
> a.zp-category-mega-unified__heading {
    color: #20252c !important;
    font-weight: 700 !important;
    border-bottom: 1px solid #e9edf2 !important;
    border-radius: 0 !important;
    margin-bottom: 5px !important;
    padding-bottom: 8px !important;
}

.zp-category-mega-unified .zp-category-mega-unified__group > a:hover,
.zp-category-mega-unified .zp-category-mega-unified__group > a:focus-visible {
    color: #171717 !important;
    background: #fff3d3 !important;
    outline-offset: 2px !important;
}

@media (max-width: 1199px) {
    .zp-category-mega-unified {
        display: none !important;
    }
}
