/* Only the approved gallery and mobile slider fixes; no storefront redesign. */
body.eltdf-woo-single-page .eltdf-single-product-content .images.woocommerce-product-gallery .woocommerce-product-gallery__image {
    padding: 0 !important;
    margin: 0;
    clear: none;
    left: 0;
}
body.eltdf-woo-single-page .images.woocommerce-product-gallery .woocommerce-product-gallery__wrapper { margin: 0 !important; }
body.eltdf-woo-single-page .images .woocommerce-product-gallery__image:first-child {
    width: 100%;
    float: left;
}
body.eltdf-woo-single-page .images .woocommerce-product-gallery__image a,
body.eltdf-woo-single-page .images .woocommerce-product-gallery__image img {
    display: block;
    width: 100%;
    margin: 0;
}
body.eltdf-woo-single-page .images .woocommerce-product-gallery__image img {
    height: auto;
    aspect-ratio: 2 / 3;
    object-fit: contain;
}
.woocommerce-product-gallery .flex-viewport {
    width: 100%;
    aspect-ratio: 2 / 3;
    height: auto !important;
}
.woocommerce-product-gallery .flex-control-thumbs {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    list-style: none;
    padding: 12px 0 4px;
    margin: 0;
    scrollbar-width: thin;
}
.woocommerce-product-gallery .flex-control-thumbs li { flex: 0 0 64px; margin: 0; }
.woocommerce-product-gallery .flex-control-thumbs img {
    display: block;
    width: 64px;
    height: 86px;
    object-fit: cover;
    cursor: pointer;
    opacity: .6;
}
.woocommerce-product-gallery .flex-control-thumbs img.flex-active,
.woocommerce-product-gallery .flex-control-thumbs img:focus-visible {
    opacity: 1;
    outline: 1px solid #1c2754;
    outline-offset: -1px;
}
@media (min-width: 1025px) {
    body.single-product .woocommerce-product-gallery .flex-viewport {
        height: 640px !important;
        aspect-ratio: auto;
    }
    body.eltdf-woo-single-page .eltdf-single-product-content .images.woocommerce-product-gallery .woocommerce-product-gallery__image img {
        height: 640px !important;
        aspect-ratio: auto;
        object-fit: contain;
    }
}
@media (max-width: 680px) {
    sr7-module sr7-txt:not(:has(a)) {
        font-size: clamp(26px, 7.4vw, 36px) !important;
        line-height: 1.25 !important;
        letter-spacing: .02em !important;
        white-space: normal !important;
    }
    sr7-module .eltdf-btn { font-size: 14px !important; }
    body.single-product .eltdf-title-holder { display: none; }
    body.single-product .eltdf-content .eltdf-content-inner > .eltdf-container > .eltdf-container-inner { padding-top: 28px; }
    body.eltdf-woo-single-page .eltdf-single-product-content .images { margin-bottom: 24px; }
    .woocommerce-product-gallery .flex-control-thumbs li { flex-basis: 48px; }
    .woocommerce-product-gallery .flex-control-thumbs img { width: 48px; height: 64px; }
}
