/* Supplier label — shop loop and single product */
.ordermation-supplier {
	display: block;
	font-size: 0.85em;
	line-height: 1.3;
	color: inherit;
	opacity: 0.8;
}

/* Loop / archive: small margin between title and supplier */
.woocommerce ul.products li.product .ordermation-supplier,
.wc-block-grid__product .ordermation-supplier,
.wp-block-woocommerce-product-template .ordermation-supplier {
	margin: 0.2rem 0 0.4rem;
}

/* Single product summary: sits just under the H1 */
.woocommerce div.product .ordermation-supplier {
	margin: -0.25rem 0 0.75rem;
	font-size: 0.9em;
}

/* ---------------------------------------------------------------------------
 * Variation thumbnail strip
 * Renders horizontally beneath the main product image; one thumb per colour.
 * Designed to coexist with both the standard WooCommerce gallery and Divi's
 * .et_pb_wc_images module (both render .woocommerce-product-gallery).
 * ------------------------------------------------------------------------- */
.om-var-strip {
	position: relative;
	display: block;
	width: 100%;
	margin: 0.75rem 0 1rem;
	box-sizing: border-box;
	clear: both;
	background: #fff;
}

.om-var-strip__track {
	display: flex;
	flex-wrap: nowrap;
	gap: 8px;
	overflow-x: auto;
	overflow-y: hidden;
	scroll-behavior: smooth;
	-webkit-overflow-scrolling: touch;
	padding: 4px 2px;
	scrollbar-width: thin;
	background: #fff;
}

.om-var-strip__track::-webkit-scrollbar { height: 6px; }
.om-var-strip__track::-webkit-scrollbar-thumb {
	background: rgba(0,0,0,0.2);
	border-radius: 3px;
}

.om-var-strip__item {
	flex: 0 0 auto;
	width: 64px;
	height: 64px;
	padding: 0;
	margin: 0;
	border: 2px solid transparent;
	border-radius: 4px;
	background: #fff;
	cursor: pointer;
	box-sizing: border-box;
	overflow: hidden;
	transition: border-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
	box-shadow: 0 1px 2px rgba(0,0,0,0.06);
}

.om-var-strip__item:hover,
.om-var-strip__item:focus {
	border-color: rgba(0,0,0,0.35);
	outline: none;
	transform: translateY(-1px);
	box-shadow: 0 2px 6px rgba(0,0,0,0.12);
}

.om-var-strip__item.is-active {
	border-color: #2271b1;
	box-shadow: 0 0 0 1px #2271b1, 0 2px 6px rgba(34,113,177,0.2);
}

.om-var-strip__item img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	object-position: center center;
	display: block;
	pointer-events: none;
	background: #fff;
}

/* WooCommerce / Divi gallery thumbs (below main image) — force white tile */
.woocommerce div.product .woocommerce-product-gallery .flex-control-thumbs li,
.woocommerce div.product .woocommerce-product-gallery ol.flex-control-thumbs li,
.woocommerce div.product .woocommerce-product-gallery .flex-control-thumbs li img,
.woocommerce div.product .woocommerce-product-gallery ol.flex-control-thumbs li img,
.et-db .woocommerce div.product .woocommerce-product-gallery .flex-control-thumbs li,
.et-db .woocommerce div.product .woocommerce-product-gallery .flex-control-thumbs li img {
	background: #fff !important;
	background-color: #fff !important;
}

.woocommerce div.product .woocommerce-product-gallery .flex-control-thumbs li img,
.et-db .woocommerce div.product .woocommerce-product-gallery .flex-control-thumbs li img {
	object-fit: contain;
	object-position: center center;
}

.om-var-strip__nav {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	width: 30px;
	height: 30px;
	border: none;
	border-radius: 50%;
	background: rgba(255,255,255,0.95);
	color: #222;
	font-size: 14px;
	line-height: 1;
	cursor: pointer;
	z-index: 2;
	box-shadow: 0 1px 4px rgba(0,0,0,0.18);
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.15s ease, background 0.15s ease;
	padding: 0;
}

.om-var-strip__nav:hover { background: #fff; }

.om-var-strip__nav--prev { left: -4px; }
.om-var-strip__nav--next { right: -4px; }

.om-var-strip.om-var-strip--has-prev .om-var-strip__nav--prev,
.om-var-strip.om-var-strip--has-next .om-var-strip__nav--next {
	opacity: 1;
	pointer-events: auto;
}

@media (max-width: 480px) {
	.om-var-strip__item { width: 54px; height: 54px; }
	.om-var-strip__nav  { width: 26px; height: 26px; font-size: 12px; }
}
