/* YIKES product tab panels — sharp YouTube embeds */
.sh-product-tab-inside .woocommerce-Tabs-panel iframe[src*='youtube'],
.sh-product-tab-inside .woocommerce-Tabs-panel .wp-block-embed iframe {
	width: 100% !important;
	max-width: 100%;
}

.sh-product-tab-inside .woocommerce-Tabs-panel .mdsh-youtub-video-loader,
.sh-product-tab-inside .woocommerce-Tabs-panel .ytLoader {
	max-width: 100%;
}

.sh-product-tab-inside .woocommerce-Tabs-panel iframe.sh-youtube-tab-embed,
.sh-product-tab-inside .woocommerce-Tabs-panel iframe[src*='youtube'] {
	display: block;
	min-height: 315px;
}

.sh-product-tab-inside .woocommerce-Tabs-panel .wp-block-embed__wrapper {
	position: relative;
	padding-bottom: 56.25%;
	height: 0;
	overflow: hidden;
	max-width: 100%;
}

.sh-product-tab-inside .woocommerce-Tabs-panel .wp-block-embed__wrapper iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100% !important;
	height: 100% !important;
}

/* Mobile: Description closed by default (avoid FOUC before JS removes .active). */
@media screen and (max-width: 767px) {
	.sh-product-tab-inside > li[aria-controls="tab-description"].active:not(.mdsh-user-opened) > .woocommerce-Tabs-panel {
		display: none !important;
	}
	.sh-product-tab-inside > li[aria-controls="tab-description"].active:not(.mdsh-user-opened) > a span.arrow {
		transform: none !important;
	}
}
