.rineova-variation-swatches {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.375rem;
	margin: 0.5rem 0;
}

.rineova-variation-swatch {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0.2rem 0.65rem;
	border: 1px solid #DCE7F2;
	border-radius: 999px;
	background: #F5F9FC;
	color: #1E3A5F;
	font-size: 0.75rem;
	line-height: 1.4;
	cursor: pointer;
	transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.rineova-variation-swatch:hover,
.rineova-variation-swatch:focus-visible {
	background: #1E3A5F;
	border-color: #1E3A5F;
	color: #FFFFFF;
	outline: none;
}

.rineova-variation-swatch.is-selected {
	background: #1E3A5F;
	border-color: #1E3A5F;
	color: #FFFFFF;
}

/* The pop-out link is rendered as a sibling of the image wrapper (not nested
   inside it), so it positions against the card itself; the card needs to be
   the positioning context. Image sits flush at the card's top edge, so
   anchoring to the card lands the button in the same spot as anchoring to
   the image would. */
.wc-block-product {
	position: relative;
}

/* Pop-out link: small overlay button on the product image, top-right corner,
   so shoppers can always reach the full product page regardless of whether
   the main card button is showing "Select options" or "Add to cart". */
.rineova-product-popout {
	position: absolute;
	top: 0.5rem;
	right: 0.5rem;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 1.75rem;
	height: 1.75rem;
	border-radius: 999px;
	background: rgba(18, 33, 58, 0.55);
	color: #FFFFFF;
	backdrop-filter: blur(2px);
	transition: background-color 0.15s ease, transform 0.15s ease;
	z-index: 2;
}

.rineova-product-popout:hover,
.rineova-product-popout:focus-visible {
	background: var(--rivenova-cobalt, #2E6EDB);
	color: #FFFFFF;
	outline: none;
	transform: scale(1.06);
}

.wc-block-product .wc-block-components-product-button__button.rineova-just-added {
	background-color: #1E7A4B !important;
	border-color: #1E7A4B !important;
}
