/* Moho variation swatches */
.woocommerce div.product form.cart .variations td.value select,
.variations td.value select {
	display: none !important; /* native dropdown hidden; swatches drive it */
}

.moho-swatches {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 4px 0 2px;
}

.moho-swatch {
	cursor: pointer;
	border: 1px solid #cfcfcf;
	background: #fff;
	border-radius: 4px;
	padding: 0;
	line-height: 1;
	transition: border-color .12s ease, box-shadow .12s ease;
}
.moho-swatch:hover { border-color: #888; }
.moho-swatch:focus-visible { outline: 2px solid #111; outline-offset: 2px; }

/* Color chips */
.moho-swatch--color {
	width: 36px;
	height: 36px;
	padding: 3px;
}
.moho-swatch--color .moho-swatch__chip {
	display: block;
	width: 100%;
	height: 100%;
	border-radius: 3px;
	border: 1px solid rgba(0, 0, 0, .12);
}

/* Text/button swatches (size, shape) */
.moho-swatch--label {
	min-width: 2.6em;
	padding: .55em .85em;
	font-size: .85em;
	color: #333;
	white-space: nowrap;
}

/* Selected state */
.moho-swatch.selected {
	border-color: #111;
	box-shadow: 0 0 0 1px #111;
}
.moho-swatch--label.selected {
	background: #111;
	color: #fff;
	border-color: #111;
}

/* ===== Colour swatches on product listing cards ===== */
ul.moho-loop-swatches{
	list-style:none; margin:8px 0 4px; padding:0;
	display:flex; flex-wrap:wrap; gap:6px; justify-content:center;
}
ul.moho-loop-swatches li{ margin:0; }
ul.moho-loop-swatches .moho-loop-swatch{ display:inline-block; cursor:pointer; line-height:0; }
ul.moho-loop-swatches .moho-loop-chip{
	display:block; width:24px; height:24px;
	padding:2px;                 /* small inner gap, like the single-product swatch */
	border:1px solid #cfcfcf;
	border-radius:5px;           /* square with rounded corners (matches product page) */
	background-clip:content-box; /* colour fills the inner box only */
	transition:border-color .12s ease, box-shadow .12s ease;
}
ul.moho-loop-swatches .moho-loop-swatch:hover .moho-loop-chip{ border-color:#888; }
ul.moho-loop-swatches .moho-loop-swatch.active .moho-loop-chip{ border-color:#111; box-shadow:0 0 0 1px #111; }

/* "Inclusive of all taxes" note beside the variation price */
.woocommerce-variation-price .price{ display:inline !important; }
.moho-tax-note{
	display:inline; font-size:.78em; color:#777; font-weight:400; margin-left:8px; white-space:nowrap;
}

/* SKU + short description on listing cards */
.moho-loop-meta{ margin:2px 0 6px; }
.moho-loop-sku{ display:block; font-size:.72em; color:#9b9b9b; letter-spacing:.4px; text-transform:uppercase; }
.moho-loop-shortdesc{ font-size:.82em; color:#555; line-height:1.35; margin:3px 0 6px; }
.moho-loop-price{ display:block; font-weight:600; }
.moho-loop-price .moho-tax-note{ display:none; }
