/* Blog product CTAs: Woodmart-like swatches in a wrapping row, 120×120, soft corners. */
.aloeyou-soro-products.wd-swatches,
.aloeyou-soro-products.wd-swatches-product {
	--aloeyou-soro-swatch: 120px;
	--aloeyou-soro-radius: 10px;
	--wd-swatch-h-sp: 16px;
	--wd-swatch-v-sp: 16px;

	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
	justify-content: flex-start;
	gap: var(--wd-swatch-v-sp) var(--wd-swatch-h-sp);
	margin: 1.75rem 0;
	width: 100%;
}

.aloeyou-soro-products .wd-swatch {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: flex-start;
	width: var(--aloeyou-soro-swatch);
	max-width: 100%;
	height: auto;
	font-size: inherit;
	line-height: 1.3;
	text-decoration: none;
	color: inherit;
	cursor: pointer;
	transition: opacity 0.25s ease;
	border-radius: 0;
	overflow: visible;
}

.aloeyou-soro-products .wd-swatch:hover {
	opacity: 0.9;
}

.aloeyou-soro-products .wd-swatch-bg {
	display: block;
	width: var(--aloeyou-soro-swatch);
	height: var(--aloeyou-soro-swatch);
	border-radius: var(--aloeyou-soro-radius);
	overflow: hidden;
	flex-shrink: 0;
}

.aloeyou-soro-products .wd-swatch :is(img, picture) {
	display: block;
	width: 100%;
	height: 100%;
	max-height: none;
	border-radius: var(--aloeyou-soro-radius);
	object-fit: cover;
}

/* Kill Woodmart round / underline chrome for this block. */
.aloeyou-soro-products.wd-bg-style-1 .wd-swatch.wd-bg::after,
.aloeyou-soro-products .wd-swatch::after {
	content: none !important;
	display: none !important;
}

/* Show CTA / label under the thumbnail. */
.aloeyou-soro-products .wd-swatch.wd-bg .wd-swatch-text,
.aloeyou-soro-products .wd-swatch .wd-swatch-text {
	display: block;
	position: static;
	width: auto;
	height: auto;
	margin: 0.55rem 0 0;
	padding: 0;
	overflow: visible;
	clip: auto;
	white-space: normal;
	border: 0;
	text-align: center;
	font-size: 0.9rem;
	font-weight: 600;
	line-height: 1.35;
	text-decoration: underline;
	text-underline-offset: 3px;
}
