.wp-block-woocommerce-product-details h3.wp-block-heading {
	background: var(--wp--preset--color--offirex-brand-600);
	padding: 1rem;
	color: var(--wp--preset--color--offirex-surface);
}
.wp-block-woocommerce-product-details .wp-block-group + .wp-block-group {
	margin-top: 1.5em;
}
.wp-block-woocommerce-product-details {
	max-width: var(--wp--style--global--wide-size);
	margin-left: auto;
	margin-right: auto;
}
/* Set max width to wide for product details content */
.wp-block-woocommerce-product-details .woocommerce-Tabs-panel--description > .wp-block-group,
.wp-block-woocommerce-product-details .woocommerce-Tabs-panel--description > .wp-block-group > .wp-block-group{
	max-width: var(--wp--style--global--wide-size);
	margin-left: auto;
	margin-right: auto;
}
.wp-block-woocommerce-product-details table {
	width: 100%;
	border-collapse: collapse;
	border: 1px solid var(--wp--preset--color--offirex-gray);
	font-size: 0.9rem;
}
.wp-block-woocommerce-product-details table th {
	background: var(--wp--preset--color--offirex-gray);
	color: var(--wp--preset--color--offirex-black);
	text-align: left;
}
.wp-block-woocommerce-product-details table tr:nth-child(odd) {
	background: var(--wp--preset--color--offirex-gray);	
}

.wp-block-woocommerce-product-details table td {
	padding: 0.4em 0.6em;
	vertical-align: top;
}
.wp-block-woocommerce-product-details table tr {
	border-bottom: 1px solid var(--wp--preset--color--offirex-brand-600);
}
.wp-block-woocommerce-product-details iframe {
	max-width: 100%;
	aspect-ratio: 16 / 9;
	height: auto;
}

/* Full screen image, show zoom cursor to indicate opening largert image is possible */
.wc-block-woocommerce-product-gallery-large-image__image--full-screen-on-click {
	cursor: zoom-in;
}

/* Image Caption */

/* Filled by product-gallery-caption.js; place near gallery or inside a positioned parent */
.image-caption-container {
	margin-top: 0;
	background-color: rgba(255, 255, 255, 0.9);
	color: var(--wp--preset--color--offirex-black);
	padding: 8px 10px;
	text-align: center;
	font-size: 15px;
	font-weight: 300;
	z-index: 10;
	box-sizing: border-box;
}
.image-caption-container:empty {
	display: none;
}

/* Scroll hint: bottom fade + centered chevron */
.wc-block-product-gallery-dialog__content {
	position: relative;
}
/* Soft fade so the stack reads as “continues below” */
.wc-block-product-gallery-dialog__content::before {
	content: '';
	position: fixed;
	bottom: 0;
	left: 0;
	right: 0;
	height: 4.5rem;
	pointer-events: none;
	z-index: 2;
	background: linear-gradient(
		to top,
		rgba(0, 0, 0, 0.5) 0%,
		rgba(0, 0, 0, 0) 100%
	);
}
/* Triangle “chevron” pointing down */
.wc-block-product-gallery-dialog__content::after {
	content: '';
	position: fixed;
	bottom: 1rem;
	left: 50%;
	transform: translateX(-50%);
	width: 0;
	height: 0;
	border-left: 0.5rem solid transparent;
	border-right: 0.5rem solid transparent;
	border-top: 0.65rem solid rgba(255, 255, 255, 0.9);
	pointer-events: none;
	z-index: 3;
	filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.35));
}


/* Related products */
.wp-block-woocommerce-product-collection .wc-block-product-template .wc-block-product {
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
}
.wp-block-woocommerce-product-collection .wc-block-product-template .wc-block-product .wc-block-grid__product-image  {
	margin: auto;
}
