/*
WRYEDGE DIRECT
Products Mega Menu
v0.2.0-alpha1
*/


.products-mega-layout {
    display: grid;

    grid-template-columns:
        250px
        minmax(0, 1fr)
        255px;

    min-height:
        470px;

    max-height:
        min(
            610px,
            calc(100vh - 150px)
        );

    border-top:
        1px solid var(--line);
}


.products-mega-rail {
    padding:
        14px 0;

    overflow-y:
        auto;

    border-right:
        1px solid var(--line);

    background:
        #fbfcfc;
}


.products-mega-rail-item {
    width:
        100%;

    min-height:
        49px;

    padding:
        8px 15px;

    display:
        grid;

    grid-template-columns:
        27px
        minmax(0, 1fr)
        auto;

    align-items:
        center;

    gap:
        10px;

    border:
        0;

    border-left:
        2px solid transparent;

    background:
        transparent;

    color:
        var(--ink);

    font:
        inherit;

    font-size:
        12px;

    font-weight:
        680;

    text-align:
        left;

    cursor:
        pointer;

    transition:
        background-color 120ms ease,
        border-color 120ms ease;
}


.products-mega-rail-item:hover,
.products-mega-rail-item.is-active {
    border-left-color:
        var(--red);

    background:
        #f1f4f5;
}


.products-mega-rail-icon {
    width:
        25px;

    height:
        25px;

    display:
        grid;

    place-items:
        center;
}


.products-mega-rail-icon svg {
    width:
        18px;

    height:
        18px;

    fill:
        none;

    stroke:
        #5e6c74;

    stroke-width:
        1.6;

    stroke-linecap:
        round;

    stroke-linejoin:
        round;

    transition:
        stroke 120ms ease;
}


.products-mega-rail-item.is-active
.products-mega-rail-icon svg {
    stroke:
        var(--red);
}


.products-mega-rail-label {
    min-width:
        0;
}


.products-mega-rail-item b {
    color:
        #75828a;

    font-size:
        19px;

    font-weight:
        400;

    line-height:
        1;
}


.products-mega-content {
    min-width:
        0;

    padding:
        27px 32px;

    overflow-y:
        auto;

    scrollbar-width:
        thin;
}


.products-mega-columns {
    display:
        grid;

    grid-template-columns:
        repeat(
            auto-fit,
            minmax(
                190px,
                1fr
            )
        );

    align-items:
        start;

    gap:
        30px 38px;
}


.products-mega-column {
    min-width:
        0;
}


.products-mega-column h3 {
    margin:
        0 0 15px;

    color:
        var(--ink);

    font-size:
        11px;

    font-weight:
        820;

    letter-spacing:
        .075em;

    line-height:
        1.3;

    text-transform:
        uppercase;
}


.products-mega-column h3.is-continuation {
    color:
        var(--muted);

    font-size:
        9px;

    letter-spacing:
        .1em;
}


.products-mega-links {
    display:
        grid;

    gap:
        9px;
}


.products-mega-category {
    min-width:
        0;
}


.products-mega-category-label {
    display:
        block;

    color:
        #55636b;

    font-size:
        12px;

    line-height:
        1.35;
}


.products-mega-category[data-depth="0"]
> .products-mega-category-label {
    color:
        #44525a;

    font-weight:
        520;
}


.products-mega-category[data-depth="1"]
> .products-mega-category-label {
    color:
        #68767e;

    font-size:
        11px;
}


.products-mega-category[data-depth="2"]
> .products-mega-category-label {
    color:
        #829097;

    font-size:
        10px;
}


.products-mega-subtree {
    margin:
        6px 0 2px 8px;

    padding-left:
        10px;

    display:
        grid;

    gap:
        6px;

    border-left:
        1px solid #e2e6e8;
}


.products-mega-feature {
    margin:
        20px 20px 20px 0;

    padding:
        24px;

    min-height:
        calc(100% - 40px);

    display:
        flex;

    flex-direction:
        column;

    justify-content:
        space-between;

    align-self:
        stretch;

    border:
        1px solid var(--line);

    border-radius:
        11px;

    background:
        linear-gradient(
            180deg,
            #f7f8f9,
            #f2f4f5
        );
}


.products-mega-feature small {
    color:
        var(--red);

    font-size:
        9px;

    font-weight:
        820;

    letter-spacing:
        .12em;

    text-transform:
        uppercase;
}


.products-mega-feature strong {
    display:
        block;

    margin-top:
        14px;

    color:
        var(--ink);

    font-size:
        19px;

    line-height:
        1.3;

    letter-spacing:
        -.02em;
}


.products-mega-feature a {
    margin-top:
        32px;

    color:
        var(--red);

    font-size:
        11px;

    font-weight:
        800;

    text-decoration:
        none;
}


.products-mega-feature a:hover {
    text-decoration:
        underline;

    text-underline-offset:
        3px;
}


.products-mega-empty {
    margin:
        0;

    color:
        var(--muted);

    font-size:
        12px;
}


@media (max-width: 1320px) {

    .products-mega-layout {
        grid-template-columns:
            225px
            minmax(0, 1fr)
            225px;
    }


    .products-mega-content {
        padding:
            25px 26px;
    }


    .products-mega-columns {
        gap:
            26px;
    }
}


@media (max-width: 1199px) {

    .products-mega-layout {
        grid-template-columns:
            220px
            minmax(0, 1fr);
    }


    .products-mega-feature {
        display:
            none;
    }


    .products-mega-columns {
        grid-template-columns:
            repeat(
                auto-fit,
                minmax(
                    185px,
                    1fr
                )
            );
    }
}


@media (max-width: 920px) {

    .products-mega-layout {
        display:
            none;
    }
}


/* ==================================================
   PRODUCTS MEGA v0.2.1
   Featured equipment + Action Rail
   ================================================== */


.products-mega-layout {
    grid-template-rows:
        minmax(0, 1fr)
        auto;
}


.products-mega-rail,
.products-mega-content,
.products-mega-feature {
    grid-row:
        1;
}


/* ------------------------------
   Featured equipment
   ------------------------------ */

.products-mega-feature {
    padding:
        0;

    overflow:
        hidden;
}


.products-mega-feature-media {
    height:
        175px;

    padding:
        14px;

    display:
        grid;

    place-items:
        center;

    background:
        #ffffff;

    border-bottom:
        1px solid var(--line);
}


.products-mega-feature-media[hidden] {
    display:
        none !important;
}


.products-mega-feature-media img {
    width:
        100%;

    height:
        100%;

    display:
        block;

    object-fit:
        contain;
}


.products-mega-feature-copy {
    padding:
        22px 22px 0;
}


.products-mega-feature-meta {
    display:
        block;

    margin-top:
        10px;

    color:
        var(--muted);

    font-size:
        10px;

    line-height:
        1.45;
}


.products-mega-feature-meta[hidden],
.products-mega-feature-price[hidden] {
    display:
        none !important;
}


.products-mega-feature-price {
    display:
        block;

    margin-top:
        12px;

    color:
        var(--ink);

    font-size:
        13px;

    font-weight:
        800;
}


.products-mega-feature > a {
    margin:
        28px 22px 22px;
}


/* ------------------------------
   Bottom Action Rail
   ------------------------------ */

.products-mega-actions {
    grid-column:
        1 / -1;

    grid-row:
        2;

    min-height:
        56px;

    padding:
        0 24px;

    display:
        grid;

    grid-template-columns:
        repeat(
            3,
            minmax(0, 1fr)
        );

    align-items:
        stretch;

    border-top:
        1px solid var(--line);

    background:
        #fbfcfc;
}


.products-mega-actions a {
    min-width:
        0;

    padding:
        0 22px;

    display:
        flex;

    align-items:
        center;

    justify-content:
        space-between;

    gap:
        18px;

    color:
        var(--ink);

    border-left:
        1px solid var(--line);

    font-size:
        11px;

    font-weight:
        750;

    text-decoration:
        none;

    transition:
        background-color 120ms ease,
        color 120ms ease;
}


.products-mega-actions a:first-child {
    border-left:
        0;
}


.products-mega-actions a:hover {
    color:
        var(--red);

    background:
        #f4f6f7;
}


.products-mega-actions b {
    color:
        var(--red);

    font-size:
        16px;

    font-weight:
        500;
}


@media (max-width: 1199px) {

    .products-mega-actions {
        padding:
            0 12px;
    }


    .products-mega-actions a {
        padding:
            0 14px;
    }

}


/* ==================================================
   PRODUCTS MEGA v0.2.2-alpha2
   Controlled depth + stable menu geometry
   ================================================== */


/* --------------------------------------------------
   Stable desktop geometry
   -------------------------------------------------- */

@media (min-width: 1200px) {

    .products-mega-layout {
        height:
            min(
                560px,
                calc(100vh - 145px)
            );

        min-height:
            500px;

        max-height:
            none;

        overflow:
            hidden;
    }


    /*
    Left rail and Featured stay visually fixed.
    Only catalog content scrolls when required.
    */

    .products-mega-rail {
        min-height:
            0;

        overflow-y:
            auto;

        overscroll-behavior:
            contain;

        scrollbar-width:
            thin;
    }


    .products-mega-content {
        min-height:
            0;

        overflow-x:
            hidden;

        overflow-y:
            auto;

        overscroll-behavior:
            contain;

        scrollbar-gutter:
            stable;

        scrollbar-width:
            thin;
    }


    .products-mega-feature {
        min-height:
            0;

        overflow:
            hidden;
    }

}


/* --------------------------------------------------
   Continuation columns
   No visible "MORE"
   -------------------------------------------------- */

.products-mega-column h3.is-spacer {
    visibility:
        hidden;
}


/* --------------------------------------------------
   Direct category
   -------------------------------------------------- */

.products-mega-category-label {
    display:
        block;

    min-height:
        25px;

    padding:
        3px 0;

    color:
        #536169;

    font-size:
        12px;

    line-height:
        1.45;
}


/* --------------------------------------------------
   Collapsible category
   -------------------------------------------------- */

.products-mega-disclosure {
    width:
        100%;

    min-height:
        26px;

    padding:
        3px 0;

    display:
        flex;

    align-items:
        center;

    justify-content:
        space-between;

    gap:
        12px;

    border:
        0;

    background:
        transparent;

    color:
        #536169;

    font:
        inherit;

    font-size:
        12px;

    line-height:
        1.45;

    text-align:
        left;

    cursor:
        pointer;
}


.products-mega-disclosure:hover {
    color:
        var(--ink);
}


.products-mega-disclosure:focus-visible {
    outline:
        2px solid var(--red);

    outline-offset:
        2px;

    border-radius:
        3px;
}


.products-mega-disclosure[aria-expanded="true"] {
    color:
        var(--ink);

    font-weight:
        650;
}


/* --------------------------------------------------
   Chevron
   -------------------------------------------------- */

.products-mega-disclosure-chevron {
    flex:
        0 0 auto;

    color:
        #7d8990;

    font-size:
        17px;

    font-weight:
        400;

    line-height:
        1;

    transition:
        transform 140ms ease,
        color 140ms ease;
}


.products-mega-disclosure[aria-expanded="true"]
.products-mega-disclosure-chevron {
    color:
        var(--red);

    transform:
        rotate(90deg);
}


/* --------------------------------------------------
   Open nested branch
   -------------------------------------------------- */

.products-mega-disclosure-panel {
    margin:
        5px 0 8px 4px;

    padding:
        3px 0 3px 11px;

    display:
        grid;

    gap:
        6px;

    border-left:
        1px solid #dfe4e7;
}


.products-mega-disclosure-panel[hidden] {
    display:
        none !important;
}


.products-mega-nested-item {
    min-width:
        0;
}


.products-mega-nested-label {
    display:
        block;

    color:
        #69777f;

    font-size:
        11px;

    line-height:
        1.4;
}


.products-mega-nested-item[data-depth="2"]
.products-mega-nested-label {
    color:
        #89949a;

    font-size:
        10px;
}


/* --------------------------------------------------
   One additional nested level
   -------------------------------------------------- */

.products-mega-leaf-list {
    margin:
        5px 0 1px 5px;

    padding-left:
        9px;

    display:
        grid;

    gap:
        4px;

    border-left:
        1px solid #e8ebed;
}


/*
Old always-expanded subtree renderer
is no longer used by v0.2.2.
*/

.products-mega-subtree {
    display:
        none;
}


/* ==================================================
   PRODUCTS MEGA v0.2.3
   Natural sections + compact disclosure controls
   ================================================== */


/* --------------------------------------------------
   Predictable catalog grid
   -------------------------------------------------- */

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

    gap:
        30px 38px;
}


/*
A large flat taxonomy such as Measurement
may consume two grid columns.
*/

.products-mega-column.is-wide {
    grid-column:
        span 2;
}


/*
Inside a wide flat taxonomy, divide the list
into two readable columns.
*/

.products-mega-links.is-dense {
    grid-template-columns:
        repeat(
            2,
            minmax(
                0,
                1fr
            )
        );

    column-gap:
        30px;

    row-gap:
        8px;
}


/* --------------------------------------------------
   Disclosure arrow belongs to the label,
   not to the far edge of the column.
   -------------------------------------------------- */

.products-mega-disclosure {
    width:
        auto;

    max-width:
        100%;

    display:
        inline-flex;

    align-items:
        center;

    justify-content:
        flex-start;

    gap:
        6px;
}


.products-mega-disclosure > span {
    flex:
        0 1 auto;

    min-width:
        0;
}


.products-mega-disclosure-chevron {
    margin:
        0;

    flex:
        0 0 auto;

    font-size:
        15px;
}


/* --------------------------------------------------
   Slightly calmer section spacing
   -------------------------------------------------- */

.products-mega-column h3 {
    margin-bottom:
        14px;
}


.products-mega-links {
    row-gap:
        8px;
}


/* --------------------------------------------------
   Medium desktop
   -------------------------------------------------- */

@media (
    min-width: 921px
)
and (
    max-width: 1199px
) {

    .products-mega-columns {
        grid-template-columns:
            repeat(
                2,
                minmax(
                    0,
                    1fr
                )
            );
    }


    .products-mega-column.is-wide {
        grid-column:
            span 2;
    }

}


/* ==================================================
   PRODUCTS MEGA v0.2.4-alpha1
   Active catalog navigation
   ================================================== */


/*
Real StoreFront category links.
*/

.products-mega-heading-link,
.products-mega-category-label,
.products-mega-nested-label {
    color: inherit;
    text-decoration: none;
}


.products-mega-heading-link:hover,
.products-mega-category-label:hover,
.products-mega-nested-label:hover {
    color: var(--red);
}


.products-mega-heading-link:focus-visible,
.products-mega-category-label:focus-visible,
.products-mega-nested-label:focus-visible {
    outline:
        2px solid
        color-mix(
            in srgb,
            var(--red) 45%,
            transparent
        );

    outline-offset:
        3px;

    border-radius:
        2px;
}


.products-mega-category-label {
    display:
        block;

    width:
        100%;

    cursor:
        pointer;
}


.products-mega-nested-label {
    display:
        inline-block;

    cursor:
        pointer;
}


/*
Parent categories have two independent actions:

category label → open Shop category
chevron       → expand child categories
*/

.products-mega-disclosure-row {
    display:
        grid;

    grid-template-columns:
        minmax(0, 1fr)
        28px;

    align-items:
        center;

    gap:
        5px;

    min-width:
        0;
}


.products-mega-disclosure-row
> .products-mega-category-label {
    min-width:
        0;
}


.products-mega-disclosure.products-mega-disclosure-toggle {
    width:
        28px;

    min-width:
        28px;

    height:
        28px;

    min-height:
        28px;

    padding:
        0;

    display:
        grid;

    place-items:
        center;

    justify-self:
        end;

    border-radius:
        4px;

    background:
        transparent;
}


.products-mega-disclosure.products-mega-disclosure-toggle:hover {
    background:
        #f1f4f5;
}


.products-mega-disclosure.products-mega-disclosure-toggle
.products-mega-disclosure-chevron {
    margin:
        0;
}



/* ==========================================================
   WRYEDGE PRODUCTS MEGA DESKTOP POLISH v0.2.2
   ========================================================== */

/*
Desktop has enough horizontal and vertical room to present
the catalog structure as one coherent surface.

Internal scroll areas remain available below 1200px as
a safety fallback for smaller laptop/tablet widths.
*/

@media (min-width: 1200px) {

    .products-mega-layout {
        height:
            auto;

        min-height:
            470px;

        max-height:
            none;

        overflow:
            visible;

        align-items:
            stretch;
    }


    .products-mega-rail {
        min-height:
            0;

        height:
            auto;

        max-height:
            none;

        overflow-x:
            visible;

        overflow-y:
            visible;

        overscroll-behavior:
            auto;

        scrollbar-width:
            none;
    }


    .products-mega-rail::-webkit-scrollbar {
        display:
            none;
    }


    .products-mega-content {
        min-height:
            0;

        height:
            auto;

        max-height:
            none;

        overflow-x:
            visible;

        overflow-y:
            visible;

        overscroll-behavior:
            auto;

        scrollbar-gutter:
            auto;

        scrollbar-width:
            none;
    }


    .products-mega-content::-webkit-scrollbar {
        display:
            none;
    }


    .products-mega-columns {
        align-content:
            start;

        align-items:
            start;
    }


    .products-mega-feature {
        height:
            auto;

        min-height:
            calc(100% - 40px);

        max-height:
            none;
    }
}


/* ----------------------------------------------------------
   Bottom Action Rail
   ---------------------------------------------------------- */

.products-mega-actions {
    background:
        #f8fafb;

    border-top:
        1px solid #d7dfe4;

    box-shadow:
        inset 0 1px 0
        rgba(255, 255, 255, .85);
}


.products-mega-actions a {
    position:
        relative;

    min-height:
        62px;

    padding:
        0 28px;

    display:
        flex;

    align-items:
        center;

    justify-content:
        space-between;

    gap:
        20px;

    color:
        #1b252d;

    background:
        linear-gradient(
            180deg,
            #fbfcfd 0%,
            #f5f7f8 100%
        );

    font-weight:
        720;

    text-decoration:
        none;

    cursor:
        pointer;

    transition:
        color 160ms ease,
        background-color 160ms ease,
        box-shadow 160ms ease;
}


.products-mega-actions a + a {
    border-left:
        1px solid #d7dfe4;
}


.products-mega-actions a:hover,
.products-mega-actions a:focus-visible {
    color:
        var(--red);

    background:
        #ffffff;

    box-shadow:
        inset 0 3px 0
        var(--red);
}


.products-mega-actions a:focus-visible {
    outline:
        2px solid rgba(201, 32, 47, .25);

    outline-offset:
        -3px;
}


.products-mega-actions b {
    color:
        var(--red);

    font-size:
        17px;

    font-weight:
        500;

    transform:
        translateX(0);

    transition:
        transform 160ms ease;
}


.products-mega-actions a:hover b,
.products-mega-actions a:focus-visible b {
    transform:
        translateX(4px);
}


.products-mega-actions a:active {
    background:
        #f4f6f7;
}


/*
Keep the first item visually aligned with the remaining
action cells; no special passive state.
*/

.products-mega-actions a:first-child {
    background:
        linear-gradient(
            180deg,
            #fbfcfd 0%,
            #f5f7f8 100%
        );
}


.products-mega-actions a:first-child:hover,
.products-mega-actions a:first-child:focus-visible {
    background:
        #ffffff;
}



/* ==========================================================
   WRYEDGE PRODUCTS MEGA STABLE SCROLL v0.2.3
   ========================================================== */

/*
Keep the desktop Mega Menu at a stable viewport-relative
height so switching between catalog groups does not resize
the whole menu.

Rail/content scroll only when their own content exceeds
the available catalog area.
*/

@media (min-width: 1200px) {

    .products-mega-layout {
        height:
            min(
                610px,
                calc(100vh - 150px)
            );

        min-height:
            470px;

        max-height:
            610px;

        overflow:
            hidden;

        align-items:
            stretch;
    }


    .products-mega-rail,
    .products-mega-content {
        min-height:
            0;

        height:
            auto;

        max-height:
            none;

        overflow-x:
            hidden;

        overflow-y:
            auto;

        overscroll-behavior:
            contain;

        scrollbar-gutter:
            stable;

        scrollbar-width:
            thin;

        scrollbar-color:
            rgba(118, 128, 136, .42)
            transparent;
    }


    .products-mega-rail::-webkit-scrollbar,
    .products-mega-content::-webkit-scrollbar {
        width:
            6px;
    }


    .products-mega-rail::-webkit-scrollbar-track,
    .products-mega-content::-webkit-scrollbar-track {
        background:
            transparent;
    }


    .products-mega-rail::-webkit-scrollbar-thumb,
    .products-mega-content::-webkit-scrollbar-thumb {
        background:
            rgba(118, 128, 136, .36);

        border-radius:
            999px;
    }


    .products-mega-rail::-webkit-scrollbar-thumb:hover,
    .products-mega-content::-webkit-scrollbar-thumb:hover {
        background:
            rgba(93, 104, 113, .52);
    }


    .products-mega-feature {
        min-height:
            0;

        height:
            auto;

        max-height:
            none;

        overflow:
            hidden;

        align-self:
            stretch;
    }


    .products-mega-columns {
        align-content:
            start;

        align-items:
            start;
    }
}



/* ==========================================================
   WRYEDGE PRODUCTS MEGA FEATURE ALIGN v0.2.4
   ========================================================== */

/*
Keep clear space between the catalog scrollbar and
the feature panel, while aligning the feature panel
flush with the right edge of the Mega Menu.
*/

@media (min-width: 1200px) {

    .products-mega-feature {
        margin:
            20px 0 20px 20px;
    }
}



/* ==========================================================
   WRYEDGE PRODUCTS MEGA ACTION CLEANUP v0.2.5
   ========================================================== */

/*
Bottom shortcuts are real navigation links.

Remove the persistent red top-line treatment while
keeping a clear hover/focus response.
*/

.products-mega-actions a:hover,
.products-mega-actions a:focus-visible {
    color:
        var(--red);

    background:
        #ffffff;

    box-shadow:
        none;
}


.products-mega-actions a:focus {
    box-shadow:
        none;
}


.products-mega-actions a:focus-visible {
    outline:
        2px solid rgba(17, 25, 39, .16);

    outline-offset:
        -3px;
}


.products-mega-actions a:not(:focus-visible) {
    outline:
        none;
}


.products-mega-actions a:hover b,
.products-mega-actions a:focus-visible b {
    transform:
        translateX(4px);
}


/* v0.3.0: compact desktop navigation, viewport-bounded content and clear branch controls. */
@media(min-width:921px){
 .products-mega-layout{grid-template-columns:230px minmax(0,1fr) 235px;grid-template-rows:minmax(0,1fr) auto;height:min(570px,calc(100dvh - 140px));min-height:0;max-height:570px;overflow:hidden;align-items:stretch}
 .products-mega-rail,.products-mega-content{min-height:0;overflow-x:hidden;overflow-y:auto;scrollbar-width:thin;overscroll-behavior:contain}
 .products-mega-rail{padding:8px 0}
 .products-mega-rail-item{min-height:42px;padding:7px 13px;gap:8px;grid-template-columns:23px minmax(0,1fr) auto}
 .products-mega-content{padding:22px 26px}
 .products-mega-columns{gap:22px 26px}
 .products-mega-column h3{margin-bottom:11px}
 .products-mega-links,.products-mega-links.is-dense{row-gap:4px}
 .products-mega-category-label{min-height:27px;padding:5px 0}
 .products-mega-feature{align-self:start;min-height:0;height:auto;max-height:calc(100% - 32px);overflow-y:auto;margin:16px 0 16px 16px;padding:20px;gap:20px}
 .products-mega-feature-copy{flex:0 0 auto}
 .products-mega-feature strong{font-size:16px;line-height:1.45}
 .products-mega-feature > a{margin-top:0}
 .products-mega-actions a{min-height:48px;padding:0 22px}
}
.products-mega-disclosure.products-mega-disclosure-toggle{background:#f2f5f7;border:1px solid #e2e7eb;border-radius:5px;width:28px;height:28px}
.products-mega-disclosure.products-mega-disclosure-toggle:hover,.products-mega-disclosure.products-mega-disclosure-toggle[aria-expanded="true"]{background:#e9eef2;border-color:#bdc8d0}
.products-mega-rail-item:focus-visible{outline:2px solid var(--red);outline-offset:-3px}
.products-mega-related{display:grid;gap:12px;border-top:1px solid #dce3e8;padding-top:17px;margin-top:2px}
.products-mega-related[hidden]{display:none}
.products-mega-related small{font-size:10px;font-weight:750;letter-spacing:.06em;color:#64717b}
.products-mega-related a{font-size:12px;line-height:1.5;color:var(--ink);text-decoration:none}
.products-mega-related a:hover{color:var(--red)}
.products-mega-related a:focus-visible{outline:2px solid var(--red);outline-offset:3px}
@media(min-width:921px) and (max-width:1199px){.products-mega-layout{grid-template-columns:210px minmax(0,1fr)}.products-mega-feature{display:none}}

.products-mega-feature .products-mega-related a{margin-top:0;font-size:12px;font-weight:600;color:var(--ink)}

/* WD mega: arrows beside category labels v1 */
.products-mega-disclosure-row {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 7px;
}

.products-mega-disclosure-row > .products-mega-category-label {
    width: auto;
    flex: 0 1 auto;
    min-width: 0;
}

.products-mega-disclosure-row > .products-mega-disclosure-toggle {
    flex: 0 0 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 0;
}

.products-mega-disclosure-toggle .products-mega-disclosure-chevron {
    margin: 0;
    line-height: 1;
}

/* WD mega: clean arrows v1 */
.products-mega-disclosure.products-mega-disclosure-toggle,
.products-mega-disclosure.products-mega-disclosure-toggle:hover,
.products-mega-disclosure.products-mega-disclosure-toggle[aria-expanded="true"] {
    background: transparent;
    border: 0;
    box-shadow: none;
}

.products-mega-disclosure-toggle .products-mega-disclosure-chevron {
    color: #75828a;
    font-size: 17px;
    font-weight: 400;
}

.products-mega-disclosure-toggle:hover .products-mega-disclosure-chevron,
.products-mega-disclosure-toggle:focus-visible .products-mega-disclosure-chevron,
.products-mega-disclosure-toggle[aria-expanded="true"] .products-mega-disclosure-chevron {
    color: var(--red, #d20b24);
}

.products-mega-disclosure.products-mega-disclosure-toggle:focus-visible {
    outline: 2px solid var(--red, #d20b24);
    outline-offset: 1px;
}

/* WD mega: clearer arrows v1 */
.products-mega-disclosure-toggle .products-mega-disclosure-chevron {
    color: #465660;
    font-weight: 600;
}

/* WD mega: larger arrows v1 */
.products-mega-disclosure.products-mega-disclosure-toggle
.products-mega-disclosure-chevron {
    font-size: 21px;
    line-height: 1;
}


/* WD_MENU_PRODUCT_PICK_V100 */
@media (min-width:1200px) {
    .products-mega-feature {
        padding:16px;
        gap:10px;
        justify-content:flex-start;
    }
    .products-mega-feature .products-mega-feature-copy {
        padding:0;
    }
    .products-mega-feature [data-products-feature-title] {
        margin-top:8px;
        font-size:14px;
        line-height:1.4;
    }
    .products-mega-feature > [data-products-feature-link] {
        margin:0;
        font-size:11px;
    }
    .products-mega-feature .products-mega-related {
        gap:6px;
        padding-top:10px;
        margin-top:0;
    }
    .products-mega-feature a.wd-menu-pick {
        display:grid;
        gap:5px;
        margin:0;
        padding:10px;
        border:1px solid #dce3e8;
        border-radius:8px;
        background:#fff;
        color:var(--ink);
        text-decoration:none;
        flex:0 0 auto;
    }
    .products-mega-feature a.wd-menu-pick:hover {
        border-color:var(--red);
        text-decoration:none;
    }
    .products-mega-feature a.wd-menu-pick:focus-visible {
        outline:2px solid var(--red);
        outline-offset:2px;
    }
    .wd-menu-pick img {
        display:block;
        width:100%;
        height:100px;
        object-fit:contain;
    }
    .wd-menu-pick-title {
        display:-webkit-box;
        -webkit-box-orient:vertical;
        -webkit-line-clamp:2;
        overflow:hidden;
        font-size:12px;
        font-weight:700;
        line-height:1.4;
    }
    .wd-menu-pick-price {
        font-size:12px;
        font-weight:600;
        line-height:1.4;
    }
    .wd-menu-pick-action {
        color:var(--red);
        font-size:10px;
        font-weight:750;
        line-height:1.4;
    }
}


/* WD_MENU_FEATURE_FULL_HEIGHT_V101 */
@media (min-width:1200px) {
    .products-mega-feature:has(.wd-menu-pick) {
        align-self:stretch;
        box-sizing:border-box;
        height:calc(100% - 32px);
        max-height:calc(100% - 32px);
        min-height:0;
        justify-content:flex-start;
    }

    .products-mega-feature:has(.wd-menu-pick)
    > .products-mega-feature-copy,
    .products-mega-feature:has(.wd-menu-pick)
    > [data-products-feature-link],
    .products-mega-feature:has(.wd-menu-pick)
    > .products-mega-related {
        flex:0 0 auto;
    }

    .products-mega-feature a.wd-menu-pick {
        box-sizing:border-box;
        flex:1 0 200px;
        min-height:200px;
        grid-template-rows:minmax(80px, 1fr) auto auto auto;
        align-content:stretch;
    }

    .products-mega-feature .wd-menu-pick img {
        width:100%;
        height:100%;
        min-height:0;
        object-fit:contain;
        align-self:stretch;
    }
}


/* WD_MENU_PICK_FAST_V102 */
@media (min-width:1200px) {
    .products-mega-feature .wd-menu-loader {
        display:flex;
        flex:1 0 200px;
        min-height:200px;
        box-sizing:border-box;
        align-items:center;
        justify-content:center;
        flex-direction:column;
        gap:12px;
        padding:10px;
        background:#fff;
        border:1px solid #dce3e8;
        border-radius:8px;
        color:#64748b;
        font-size:12px;
    }
    .wd-menu-loader-spinner {
        display:block;
        width:22px;
        height:22px;
        border:2px solid #e5ebf0;
        border-top-color:#536a83;
        border-radius:50%;
        animation:wd-menu-loader-spin .8s linear infinite;
    }
}
@keyframes wd-menu-loader-spin {
    to { transform:rotate(360deg); }
}
@media (prefers-reduced-motion:reduce) {
    .wd-menu-loader-spinner { animation:none; }
}
