/* IZMIR: corrección aislada para videos de producto. */
.single-product .woocommerce-product-details__short-description .wp-video,
.single-product .woocommerce-product-details__short-description .mejs-container,
.single-product .woocommerce-product-details__short-description video,
.single-product .woocommerce-Tabs-panel .wp-video,
.single-product .woocommerce-Tabs-panel .mejs-container,
.single-product .woocommerce-Tabs-panel video,
.single-product .entry-summary .wp-video,
.single-product .entry-summary .mejs-container,
.single-product .entry-summary video {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
}

.single-product video,
.single-product .wp-video-shortcode {
    display: block !important;
    height: auto !important;
    max-height: 78vh !important;
    object-fit: contain !important;
    background: #000;
}

.single-product .wp-video,
.single-product .mejs-container {
    margin: 10px auto !important;
    overflow: hidden !important;
}

.single-product .mejs-inner,
.single-product .mejs-mediaelement,
.single-product .mejs-mediaelement video {
    max-width: 100% !important;
}

@media (max-width: 767px) {
    .single-product .woocommerce-product-details__short-description .wp-video,
    .single-product .woocommerce-Tabs-panel .wp-video,
    .single-product .entry-summary .wp-video {
        width: min(100%, 390px) !important;
        margin: 8px auto !important;
    }

    .single-product video,
    .single-product .wp-video-shortcode {
        max-height: 64vh !important;
    }
}
