.slider-for .slick-slide {
    display: none;
}

.slider-for .slick-slide.slick-active {
    display: block;
    left: 0px!important;
}

html[dir=rtl] .slider-for .slick-slide.slick-active {
    left: auto !important;
    right: 0 !important;
}

.img_div_width {
    width: 306px;
    align-items: center;
    grid-gap: 10px;
    padding: 0px 0px 10px 8px;
}

html[dir=rtl] .img_div_width {
    padding: 0px 8px 10px 0;
}

.sku_img_div {
    background: #f7f7f7;
    width: 65px;
    height: 65px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
    cursor: pointer;
}

.sku_img_div img {
    width: 100%;
    height: auto;
    min-height: 100%;
    object-fit: cover;
    position: absolute;
    left: 0;
    top: 0;
}

.var_img_source {
    max-width: 95%;
    max-height: 80px!important;
}


/* .slider-nav .slick-list .slick-track {
    display: flex;
    left: 0 !important;
    justify-content: flex-start;
    width: 100% !important;
    max-width: 100%;
} */

.slick-track {
    margin-left: 0 !important;
    margin-right: 0 !important;
}

.product_details iframe {
    width: 100%;
    min-height: 445px;
}

.product_video_under_gallery .product_details iframe {
    min-height: 280px;
}

/* Allow tall Shorts / long specs when expanded (site default max-height: 1000px clips them) */
.product_details_dec_body.show {
    max-height: 5000px;
}

.product_video_under_gallery.is-youtube-short .product_details {
    max-width: 260px;
    margin-left: auto;
    margin-right: auto;
}

.product_video_under_gallery.is-youtube-short .product_details iframe {
    width: 100%;
    min-height: 0;
    aspect-ratio: 9 / 16;
    height: auto;
}

/* When thumbnail nav is hidden, gallery must use full row (desktop layout leaves it at 80%) */
@media (max-width: 912px) {
    .product_details_wrapper .gallery_large {
        width: 100%;
    }

    .product_details_wrapper .slider-nav {
        width: 0;
        margin: 0;
        display: none !important;
    }

    .product_details_wrapper .slider-container {
        display: block;
    }

    /*
     * Square slide box from width (no fixed px). Absolute images need a real
     * slide height or slick-list collapses to 0 on iOS Safari.
     */
    .product_details_wrapper .gallery_large.slick-initialized .slick-list {
        height: auto !important;
    }

    .product_details_wrapper .gallery_large .slick-slide {
        position: relative;
        aspect-ratio: 1 / 1;
        min-height: unset;
        height: auto !important;
    }

    .product_details_wrapper .slick_custom_container .slider-for img {
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        transform: none !important;
        width: 100% !important;
        height: 100% !important;
        max-width: 100% !important;
        max-height: 100% !important;
        margin: 0 !important;
        object-fit: contain;
        display: block;
    }
}

@media (max-width: 767.98px) {
    .product_details_dec {
        margin-top: 30px;
        margin-bottom: 30px!important;
    }
    .product_details_dec .product_details_dec_body {
        padding: 15px;
    }

    /* YouTube Shorts: full width of accordion, keep portrait ratio */
    .product_video_under_gallery.is-youtube-short .product_details {
        max-width: 100%;
        width: 100%;
        margin-left: 0;
        margin-right: 0;
    }

    .product_video_under_gallery.is-youtube-short .product_details iframe {
        width: 100%;
        max-width: 100%;
        min-height: 0;
        aspect-ratio: 9 / 16;
        height: auto;
    }

    .product_video_under_gallery .product_details_dec_body {
        padding-left: 0;
        padding-right: 0;
        margin-left: 0;
        margin-right: 0;
    }
}

@media (max-width: 540px) {
    .product_details iframe {
        min-height: 190px;
    }

    .product_video_under_gallery.is-youtube-short .product_details iframe {
        min-height: 0;
    }
}

.review_file {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    width: 100%;
}

.sb_select2 .current {
    text-overflow: ellipsis;
    max-width: 95%;
    display: inline-block;
    overflow: hidden;
}

.sku_img_div.active {
    background: var(--base_color);
}

.img_div_width {
    z-index: 0;
}

.sku_img_div>* {
    padding: 2px !important;
}

.zoomWindowContainer div {
    height: 100% !important;
    width: 750px !important;
}

.tag_link {
    background-color: #eee;
    padding: 0px 8px;
    border-radius: 4px;
    margin: 3px 0px;
    display: inline-block;
}

.tag_link:hover {
    color: #fff !important;
    background-color: var(--base_color);
}