/*===================================================
    Series / models grid - sidebar filter + product cards

    Shared by the Equipment pages (single-amc_equipment.php) and any
    Brand page with a product catalogue (single-amc_brand.php), both via
    template-parts/series-grid.php. Moved out of kobelco.css so a brand
    page can load it without that file's hero and section styles.
===================================================*/
/*===sk series - filter + product grid===*/
.skSeriesSec{
    .headingWrap{
        display: block;
        .tagHolder{
            max-width: 100%;
        }
    }
    .skSeriesSub{
        margin: 20px 0 0;
        color: #1d2a36;
        font-size: 15px;
        letter-spacing: 0.2px;
    }
    .skSeriesWrap{
        margin-top: 50px;
    }
    /*===left filter rail===*/
    .skFilter{
        padding: 24px;
        background-color: #fff;
        border: 1px solid #e3e8ee;
        border-radius: 16px;
        position: sticky;
        top: 90px;
        .filterGroup{
            padding-bottom: 20px;
            margin-bottom: 20px;
            border-bottom: 1px solid #e3e8ee;
            &:last-child, &:has(+ .skFilterFoot){
                padding-bottom: 0;
                margin-bottom: 0;
                border-bottom: 0;
            }
            .filterTitle{
                display: block;
                color: #12314a;
                font-size: 15px;
                font-weight: 700;
                letter-spacing: 0.2px;
                margin-bottom: 14px;
            }
            ul{
                margin: 0;
                li{
                    margin-bottom: 10px;
                    &:last-child{
                        margin-bottom: 0;
                    }
                    label{
                        display: flex;
                        align-items: center;
                        gap: 10px;
                        cursor: pointer;
                        input{
                            width: 16px;
                            height: 16px;
                            accent-color: var(--blue);
                            cursor: pointer;
                        }
                        span{
                            color: #4b5a66;
                            font-size: 14px;
                            letter-spacing: 0.2px;
                        }
                    }
                }
            }
        }
    }
    /*===result head - chips + count===*/
    .skResultHead{
        display: flex;
        align-items: center;
        justify-content: space-between;
        flex-wrap: wrap;
        gap: 15px;
        margin-bottom: 24px;
        .skChips{
            display: flex;
            flex-wrap: wrap;
            gap: 12px;
            margin: 0;
            li{
                padding: 10px 22px;
                background-color: #e4edf8;
                border-radius: 30px;
                color: #1667a6;
                font-size: 14px;
                font-weight: 600;
                letter-spacing: 0.2px;
            }
        }
        .skCount{
            color: #1d2a36;
            font-size: 14px;
            letter-spacing: 0.2px;
        }
    }
    /*===product cards===*/
    .skGrid{
        .row{
            row-gap: 24px;
        }
        .skCard{
            display: flex;
            flex-direction: column;
            align-items: center;
            height: 100%;
            padding: 16px 16px 24px;
            background-color: #ffffff;
            border-radius: 16px;
            text-align: center;
            border: 1px solid #cccccc6b;
            .skImg{
                width: 100%;
                border-radius: 10px;
                overflow: hidden;
                margin-bottom: 18px;
                img{
                    display: block;
                    width: 100%;
                    height: 170px;
                    object-fit: cover;
                    transition: transform .6s ease;
                }
            }
            &:hover .skImg img{
                transform: scale(1.06);
            }
            .skBrand{
                display: block;
                color: #1667a6;
                font-size: 13px;
                font-weight: 700;
                letter-spacing: 0.2px;
                margin-bottom: 4px;
            }
            .skModel{
                display: block;
                color: #12314a;
                font-size: 18px;
                font-weight: 700;
                letter-spacing: 0.3px;
                margin-bottom: 12px;
            }
            .skSpecs{
                display: block;
                color: #4b5a66;
                font-size: 13px;
                letter-spacing: 0.2px;
                margin-bottom: 16px;
                em{
                    font-style: normal;
                    margin: 0 8px;
                    color: #b6c3cf;
                }
            }
            .btnOne{
                margin-top: auto;
                padding: 8px 24px;
                font-size: 13px;
                background-color: #fff;
                border-color: #d4dbe4;
                /*===the white fill above outranks the global .btnOne:hover,
                     which turns the text white - so the hover is restated here===*/
                &:hover{
                    background-color: var(--blue);
                    border-color: var(--blue);
                    color: #fff;
                }
            }
            /*===Enquire Now and Download Brochure side by side at the card
                 foot. The row is a size container, so as the card narrows the
                 brochure label shortens to "Brochure", then to its icon, and
                 the pair never has to wrap (see the @container rules below)===*/
            .skBtns{
                margin-top: auto;
                width: 100%;
                container-type: inline-size;
                .skBtnRow{
                    display: flex;
                    justify-content: center;
                    align-items: center;
                    gap: 8px;
                }
                .btnOne{
                    margin-top: 0;
                    padding: 8px 14px;
                    white-space: nowrap;
                }
                .skBrochureBtn{
                    display: inline-flex;
                    align-items: center;
                    justify-content: center;
                    gap: 6px;
                    background-color: var(--blue);
                    border-color: var(--blue);
                    color: #fff;
                    i{
                        font-size: 12px;
                    }
                    &:hover{
                        background-color: #0f4f80;
                        border-color: #0f4f80;
                    }
                }
            }
        }
    }
}
/*===card foot buttons, narrowing with the card (.skBtns is the container):
     ~280px desktop cards fit both full labels; the 3-up cards on smaller
     laptops drop "Download"; phone cards keep just the download icon===*/
@container (max-width: 270px){
    .skSeriesSec .skGrid .skCard .skBtns .skBrochureLong{
        display: none;
    }
}
@container (max-width: 205px){
    .skSeriesSec .skGrid .skCard .skBtns .btnOne{
        padding: 8px 11px;
        font-size: 12px;
    }
}
@container (max-width: 175px){
    .skSeriesSec .skGrid .skCard .skBtns .skBtnRow{
        gap: 6px;
    }
    .skSeriesSec .skGrid .skCard .skBtns .skBrochureText{
        display: none;
    }
    .skSeriesSec .skGrid .skCard .skBtns .skBrochureBtn{
        flex-shrink: 0;
        width: 36px;
        height: 36px;
        padding: 0;
    }
}


@media (max-width: 991px){
    .skSeriesSec{
        .skFilter{
            margin-bottom: 30px;
        }
    }
}
@media (max-width: 767px){
    .skSeriesSec{
        .skGrid{
            .skCard{
                .skImg img{
                    height: 130px;
                }
            }
        }
    }
}

/*===================================================
    Series / models - filter results

    Cards filtered out are pulled from the grid; the sort group gets a
    way back to the authored order since a radio cannot be unticked.
===================================================*/
.skSeriesSec .skGrid .skCol.is-hidden{
    display: none;
}
.skSeriesSec .skNoMatch{
    margin: 0;
    padding: 30px 0;
    color: #5c6a78;
    font-size: 16px;
}
.skSeriesSec .skFilter .filterReset{
    margin-top: 12px;
    padding: 0;
    background: none;
    border: 0;
    font-family: inherit;
    font-size: 13px;
    font-weight: 600;
    color: var(--blue);
    text-decoration: underline;
    cursor: pointer;
}
/*===the card action is a button now, not a link===*/
.skSeriesSec .skCard button.btnOne{
    font-family: inherit;
    cursor: pointer;
}

/*===================================================
    Model filter as a drawer below 992px.

    The rail's own styles are scoped under .skSeriesSec, and that rule
    styles nothing on the section itself - so custom-kobelco.js moves the
    <aside> into a body-level .skSeriesSec.skFilterDrawer host, where it
    keeps every filter style but escapes the section's transforms and
    stacking. On desktop the head, foot and bar stay hidden.
===================================================*/
.skSeriesSec .skFilterBar,
.skSeriesSec .skFilter .skFilterHead,
.skSeriesSec .skFilter .skFilterFoot{
    display: none;
}
@media (max-width: 991px){
    .skSeriesSec .skFilterBar{
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        margin-bottom: 22px;
    }
    .skSeriesSec .skSeriesWrap{
        margin-top: 30px;
    }
}
.skSeriesSec .skFilterOpen{
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 11px 18px;
    background-color: #fff;
    border: 1px solid #d5dde6;
    border-radius: 999px;
    color: #12314a;
    font-size: 15px;
    font-weight: 600;
    line-height: 1;
    cursor: pointer;
    transition: border-color .2s ease, box-shadow .2s ease;
    i{
        color: #1667A6;
        font-size: 15px;
    }
    &:hover,
    &:focus-visible{
        border-color: #1667A6;
        box-shadow: 0 4px 14px rgba(22, 103, 166, .12);
    }
    .skFilterCount{
        min-width: 22px;
        height: 22px;
        padding: 0 6px;
        border-radius: 999px;
        background-color: #1667A6;
        color: #fff;
        font-size: 12px;
        line-height: 22px;
        text-align: center;
    }
}
.skSeriesSec .skResultCount{
    color: #6f7d8a;
    font-size: 14px;
}

/* the drawer itself */
.skFilterDrawer{
    position: fixed;
    inset: 0;
    z-index: 1100;
    pointer-events: none;
    visibility: hidden;
    transition: visibility 0s linear .35s;
    &.isOpen{
        pointer-events: auto;
        visibility: visible;
        transition: none;
    }
    .skFilterBackdrop{
        position: absolute;
        inset: 0;
        background-color: rgba(10, 25, 40, .5);
        opacity: 0;
        transition: opacity .35s ease;
    }
    &.isOpen .skFilterBackdrop{
        opacity: 1;
    }
    .skFilter{
        position: absolute;
        top: 0;
        bottom: 0;
        left: 0;
        width: min(340px, 86vw);
        margin: 0;
        padding: 0 22px;
        border: 0;
        border-radius: 0 20px 20px 0;
        overflow-y: auto;
        overscroll-behavior: contain;
        display: flex;
        flex-direction: column;
        box-shadow: 8px 0 30px rgba(10, 25, 40, .18);
        transform: translateX(-105%);
        transition: transform .35s cubic-bezier(.22, .61, .36, 1);
        opacity: 1;
    }
    &.isOpen .skFilter{
        transform: translateX(0);
    }
    .skFilter .skFilterHead{
        display: flex;
        align-items: center;
        justify-content: space-between;
        position: sticky;
        top: 0;
        z-index: 1;
        margin: 0 -22px 20px;
        padding: 18px 22px;
        background-color: #fff;
        border-bottom: 1px solid #e3e8ee;
        .skFilterHeadTitle{
            color: #12314a;
            font-size: 18px;
            font-weight: 700;
        }
        .skFilterClose{
            width: 38px;
            height: 38px;
            border: 0;
            border-radius: 50%;
            background-color: #f1f5f9;
            color: #12314a;
            font-size: 17px;
            cursor: pointer;
        }
    }
    .skFilter .skFilterFoot{
        display: flex;
        align-items: center;
        gap: 12px;
        position: sticky;
        bottom: 0;
        margin: auto -22px 0;
        padding: 16px 22px;
        background-color: #fff;
        border-top: 1px solid #e3e8ee;
        .skFilterClear{
            padding: 0;
            border: 0;
            background: none;
            color: #1667A6;
            font-size: 14px;
            font-weight: 600;
            text-decoration: underline;
            cursor: pointer;
            white-space: nowrap;
        }
        .skFilterApply{
            flex: 1;
            justify-content: center;
            text-align: center;
        }
    }
    .skFilter .filterGroup:has(+ .skFilterFoot){
        padding-bottom: 24px;
    }
}
body.skFilterLocked{
    overflow: hidden;
}
@media (prefers-reduced-motion: reduce){
    .skFilterDrawer .skFilter,
    .skFilterDrawer .skFilterBackdrop{
        transition: none;
    }
}

/*===dropdown filter groups (filter_dropdown): the title opens / closes the options===*/
.skSeriesSec .skFilter .filterGroup.isDropdown{
    .filterToggle{
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        width: 100%;
        padding: 0;
        border: 0;
        background: none;
        text-align: left;
        cursor: pointer;
        svg, i{
            width: 12px;
            color: #4b5a66;
            transition: transform .3s ease;
        }
        &:hover{
            color: var(--blue);
        }
        &:focus-visible{
            outline: 2px solid var(--blue);
            outline-offset: 4px;
            border-radius: 4px;
        }
    }
    &.is-collapsed .filterToggle{
        margin-bottom: 0;
        svg, i{
            transform: rotate(-90deg);
        }
    }
}

/*===================================================
    Clickable cards + product details popup
    (grids built with detail_popup, e.g. a brand's catalogue)

    The whole card opens the popup; the Enquire Now button lives in
    the popup instead of on the card.
===================================================*/
.skSeriesSec .skGrid .skCard.skCardLink{
    cursor: pointer;
    transition: box-shadow .35s ease, transform .35s ease, background-color .35s ease;
    .skMore{
        display: inline-flex;
        align-items: center;
        gap: 8px;
        margin-top: auto;
        font-size: 13px;
        font-weight: 700;
        color: var(--blue);
        svg, i{
            width: .85em;
            transition: transform .3s ease;
        }
    }
    &:hover,
    &:focus-visible{
        box-shadow: 0 14px 30px rgb(11 51 85 / 12%);
        transform: translateY(-4px);
        .skMore svg,
        .skMore i{
            transform: translateX(4px);
        }
    }
    &:focus-visible{
        outline: 2px solid var(--blue);
        outline-offset: 3px;
    }
}

/*===product details popup: photo stage | name, tabs, enquiry===*/
.skDetailModal{
    position: fixed;
    inset: 0;
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    visibility: hidden;
    pointer-events: none;
    .skDetailOverlay{
        position: absolute;
        inset: 0;
        background-color: rgb(6 32 56 / 60%);
        backdrop-filter: blur(6px);
        opacity: 0;
        transition: opacity .35s ease;
    }
    .skDetailDialog{
        position: relative;
        z-index: 1;
        display: grid;
        grid-template-columns: minmax(0, 11fr) minmax(0, 12fr);
        width: 100%;
        max-width: 1040px;
        height: min(620px, calc(100vh - 48px));
        border-radius: 24px;
        background-color: #fff;
        box-shadow: 0 40px 90px rgb(6 32 56 / 40%);
        overflow: hidden;
        opacity: 0;
        transform: translateY(40px) scale(.96);
        transition: transform .45s cubic-bezier(.22, .8, .36, 1), opacity .35s ease;
    }
    .skDetailClose{
        position: absolute;
        right: 20px;
        top: 20px;
        z-index: 3;
        display: flex;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        border-radius: 50%;
        background-color: #fff;
        border: 1px solid #dbe3ec;
        cursor: pointer;
        transition: all .3s ease;
        svg, i{
            width: 15px;
            height: auto;
            color: #1d2a36;
            fill: currentColor;
            transition: transform .3s ease;
        }
        &:hover{
            background-color: var(--blue);
            border-color: var(--blue);
            svg, i{
                color: #fff;
                transform: rotate(90deg);
            }
        }
    }

    /*===left: the photo on a soft stage===*/
    .skDetailStage{
        position: relative;
        display: flex;
        flex-direction: column;
        padding: 28px;
        background:
            radial-gradient(circle at 50% 42%, #fff 0, #f3f7fb 38%, #dde8f3 100%);
        &::before{
            /*===faint engineering grid behind the product (painted first,
                 so the photo's multiply blend sits on top of it)===*/
            content: "";
            position: absolute;
            inset: 0;
            background-image:
                linear-gradient(rgb(22 103 166 / 6%) 1px, transparent 1px),
                linear-gradient(90deg, rgb(22 103 166 / 6%) 1px, transparent 1px);
            background-size: 28px 28px;
            -webkit-mask-image: radial-gradient(circle at 50% 45%, #000 20%, transparent 75%);
            mask-image: radial-gradient(circle at 50% 45%, #000 20%, transparent 75%);
            pointer-events: none;
        }
    }
    .skDetailBrand{
        position: relative;
        z-index: 1;
        align-self: flex-start;
        padding: 7px 14px;
        border-radius: 30px;
        background-color: #fff;
        box-shadow: 0 6px 18px rgb(11 51 85 / 10%);
        font-size: 13px;
        font-weight: 700;
        color: #1667a6;
    }
    .skDetailImg{
        /*===no z-index here: a stacking context would stop the photo's
             white background multiplying into the stage===*/
        position: relative;
        flex: 1;
        display: flex;
        align-items: center;
        justify-content: center;
        min-height: 0;
        margin: 14px 0;
        border-radius: 16px;
        overflow: hidden;
        cursor: zoom-in;
        img{
            display: block;
            max-width: 100%;
            max-height: 100%;
            object-fit: contain;
            mix-blend-mode: multiply;
            border-radius: 12px;
            transition: transform .45s ease;
        }
        &.is-zoomed img{
            transform: scale(1.7);
        }
    }
    .skDetailNav{
        position: relative;
        z-index: 1;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 18px;
        button{
            display: flex;
            align-items: center;
            justify-content: center;
            width: 44px;
            height: 44px;
            border-radius: 50%;
            background-color: #fff;
            border: 1px solid #d4dee9;
            box-shadow: 0 6px 16px rgb(11 51 85 / 8%);
            cursor: pointer;
            transition: all .3s ease;
            svg, i{
                width: 14px;
                color: #12314a;
                transition: transform .3s ease;
            }
            &:hover{
                background-color: var(--blue);
                border-color: var(--blue);
                svg, i{
                    color: #fff;
                }
            }
        }
        .skDetailPrev:hover svg,
        .skDetailPrev:hover i{
            transform: translateX(-3px);
        }
        .skDetailNext:hover svg,
        .skDetailNext:hover i{
            transform: translateX(3px);
        }
        .skDetailCount{
            min-width: 54px;
            text-align: center;
            font-size: 14px;
            font-weight: 700;
            letter-spacing: 1px;
            color: #4b5a66;
        }
        &.is-single{
            visibility: hidden;
        }
    }

    /*===right: name, key specs, tabs, enquiry===*/
    .skDetailPanel{
        display: flex;
        flex-direction: column;
        min-height: 0;
        padding: 36px 36px 0;
    }
    .skDetailHead{
        padding-right: 48px;
    }
    .skDetailTitle{
        margin: 0 0 14px;
        font-size: 30px;
        font-weight: 800;
        line-height: 1.15;
        color: #12314a;
    }
    .skDetailChips{
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
        margin: 0 0 22px;
        padding: 0;
        list-style: none;
        li{
            padding: 6px 12px;
            border-radius: 8px;
            background-color: #eef4fa;
            border: 1px solid #dbe6f1;
            font-size: 13px;
            font-weight: 600;
            color: #1d4a6e;
        }
    }
    .skDetailTabs{
        display: flex;
        gap: 6px;
        padding: 5px;
        border-radius: 12px;
        background-color: #eef3f8;
    }
    .skDetailTab{
        flex: 1;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        padding: 10px 14px;
        border: 0;
        border-radius: 9px;
        background: transparent;
        font-size: 14px;
        font-weight: 700;
        color: #5a6975;
        cursor: pointer;
        transition: background-color .3s ease, color .3s ease, box-shadow .3s ease;
        .skDetailTabCount{
            min-width: 22px;
            padding: 1px 7px;
            border-radius: 20px;
            background-color: #dbe6f1;
            font-size: 12px;
            color: #1d4a6e;
            &:empty{
                display: none;
            }
        }
        &:hover{
            color: #12314a;
        }
        &.is-active{
            background-color: #fff;
            color: var(--blue);
            box-shadow: 0 4px 12px rgb(11 51 85 / 10%);
            .skDetailTabCount{
                background-color: var(--blue);
                color: #fff;
            }
        }
        &[hidden]{
            display: none;
        }
    }
    .skDetailPanes{
        flex: 1;
        min-height: 0;
        margin: 18px -8px 0 0;
        padding: 0 8px 18px 0;
        overflow-y: auto;
        overscroll-behavior: contain;
        scrollbar-width: thin;
        scrollbar-color: #c9d6e3 transparent;
    }
    .skSpecTiles{
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }
    .skSpecTile{
        display: flex;
        flex-direction: column;
        gap: 4px;
        padding: 12px 14px;
        border-radius: 12px;
        border: 1px solid #e3e9f0;
        background-color: #fbfcfe;
        transition: border-color .3s ease, background-color .3s ease, transform .3s ease;
        .skSpecLabel{
            font-size: 12px;
            font-weight: 600;
            letter-spacing: .3px;
            text-transform: uppercase;
            color: #7a8793;
        }
        .skSpecValue{
            font-size: 15px;
            font-weight: 700;
            line-height: 1.35;
            color: #12314a;
        }
        &:hover{
            border-color: #b9d0e6;
            background-color: #f1f6fb;
            transform: translateY(-2px);
        }
    }
    .skDetailDesc{
        padding: 18px 20px;
        border-left: 3px solid var(--blue);
        border-radius: 0 12px 12px 0;
        background-color: #f5f8fb;
        p{
            margin: 0 0 10px;
            font-size: 15px;
            line-height: 1.75;
            color: #3d4c58;
            &:last-child{
                margin-bottom: 0;
            }
            strong{
                color: #12314a;
            }
        }
        ul{
            margin: 0;
            padding: 0;
            list-style: none;
            li{
                position: relative;
                margin-bottom: 8px;
                padding-left: 26px;
                font-size: 15px;
                line-height: 1.6;
                color: #3d4c58;
                &::before{
                    /*===blue tick===*/
                    content: "";
                    position: absolute;
                    left: 2px;
                    top: 6px;
                    width: 12px;
                    height: 7px;
                    border-left: 2px solid var(--blue);
                    border-bottom: 2px solid var(--blue);
                    transform: rotate(-45deg);
                }
                &:last-child{
                    margin-bottom: 0;
                }
            }
        }
    }
    .skDetailFoot{
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 16px;
        margin: 0 -36px;
        padding: 18px 36px 22px;
        border-top: 1px solid #e8eef4;
        background-color: #fff;
        .skDetailEnquire{
            display: inline-flex;
            align-items: center;
            gap: 10px;
            svg, i{
                width: 13px;
                transition: transform .3s ease;
            }
            &:hover svg,
            &:hover i{
                transform: translateX(4px);
            }
        }
        .skDetailHint{
            font-size: 12px;
            color: #8795a1;
            kbd{
                display: inline-block;
                min-width: 24px;
                padding: 2px 6px;
                margin-right: 2px;
                border-radius: 6px;
                border: 1px solid #d4dee9;
                border-bottom-width: 2px;
                background-color: #fff;
                font-family: inherit;
                font-size: 12px;
                text-align: center;
                color: #4b5a66;
            }
        }
    }

    &.is-open{
        visibility: visible;
        pointer-events: auto;
        .skDetailOverlay{
            opacity: 1;
        }
        .skDetailDialog{
            opacity: 1;
            transform: none;
        }
    }

    /*===each product (and each step through them) animates in===*/
    &.is-swapping{
        .skDetailImg img{
            animation: skDetailImgIn .55s cubic-bezier(.22, .8, .36, 1) both;
        }
        .skDetailHead{
            animation: skDetailFadeUp .45s ease both;
        }
        .skSpecTile{
            animation: skDetailFadeUp .4s ease both;
            animation-delay: calc(var(--i, 0) * 35ms + 80ms);
        }
        .skDetailDesc{
            animation: skDetailFadeUp .45s ease both;
        }
    }
    &[data-dir="prev"].is-swapping .skDetailImg img{
        animation-name: skDetailImgInPrev;
    }
}
@keyframes skDetailImgIn{
    from{ opacity: 0; transform: translateX(40px) scale(.94); }
    to{ opacity: 1; transform: none; }
}
@keyframes skDetailImgInPrev{
    from{ opacity: 0; transform: translateX(-40px) scale(.94); }
    to{ opacity: 1; transform: none; }
}
@keyframes skDetailFadeUp{
    from{ opacity: 0; transform: translateY(12px); }
    to{ opacity: 1; transform: none; }
}
html.skDetailLock,
html.skDetailLock body{
    overflow: hidden;
}
@media (max-width: 991px){
    .skDetailModal{
        .skDetailDialog{
            grid-template-columns: 1fr;
            grid-template-rows: auto minmax(0, 1fr);
            height: calc(100vh - 48px);
        }
        .skDetailStage{
            padding: 18px 20px;
        }
        .skDetailImg{
            height: 220px;
            flex: none;
            margin: 10px 0;
            cursor: default;
            &.is-zoomed img{
                transform: none;
            }
        }
        .skDetailPanel{
            padding: 22px 22px 0;
        }
        .skDetailFoot{
            margin: 0 -22px;
            padding: 14px 22px 18px;
        }
        .skDetailHint{
            display: none;
        }
    }
}
@media (max-width: 575px){
    .skDetailModal{
        padding: 10px;
        .skDetailDialog{
            height: calc(100vh - 20px);
            border-radius: 18px;
        }
        .skDetailImg{
            height: 170px;
        }
        .skDetailNav button{
            width: 38px;
            height: 38px;
        }
        .skDetailTitle{
            font-size: 22px;
        }
        .skSpecTiles{
            grid-template-columns: 1fr 1fr;
            gap: 8px;
        }
        .skSpecTile{
            padding: 10px 12px;
            .skSpecValue{
                font-size: 14px;
            }
        }
        .skDetailFoot .skDetailEnquire{
            width: 100%;
            justify-content: center;
        }
    }
}
@media (prefers-reduced-motion: reduce){
    .skDetailModal .skDetailOverlay,
    .skDetailModal .skDetailDialog,
    .skDetailModal .skDetailImg img,
    .skSeriesSec .skGrid .skCard.skCardLink{
        transition: none;
    }
    .skDetailModal.is-swapping *{
        animation: none !important;
    }
}
