.sr-affiliate-cta {
	margin: 1.25rem 0;
}

.sr-affiliate-cta__disclosure,
.sr-affiliate-loop__disclosure {
	color: #5b5b5b;
	font-size: 0.875rem;
	line-height: 1.5;
}

.sr-affiliate-loop__disclosure {
	display: block;
	margin: 0 0 0.4rem;
}

.sr-affiliate-cta__button,
.sr-affiliate-loop__button {
	background: #00a6d7;
	border: 2px solid #00a6d7;
	border-radius: 3px;
	color: #111;
	font-family: Montserrat, "Helvetica Neue", Helvetica, Arial, sans-serif;
	font-weight: 700;
	min-height: 48px;
	padding: 0.75rem 1.25rem;
	text-align: center;
	transition: background-color 250ms ease, border-color 250ms ease, color 250ms ease, box-shadow 250ms ease;
}

.sr-affiliate-cta__button:hover,
.sr-affiliate-cta__button:focus,
.sr-affiliate-loop__button:hover,
.sr-affiliate-loop__button:focus {
	background: #007fa4;
	border-color: #007fa4;
	box-shadow: 0 0 10px rgba(0, 0, 0, 0.25);
	color: #fff;
}

.sr-affiliate-cta__button:focus-visible,
.sr-affiliate-loop__button:focus-visible {
	outline: 3px solid #8a6a46;
	outline-offset: 3px;
}

.sr-affiliate-cta__seller-notice {
	color: #5b5b5b;
	font-size: 0.875rem;
	line-height: 1.6;
	margin-top: 0.75rem;
	max-width: 54rem;
}

.sr-affiliate-product__answer {
	background: #f3f3f3;
	border-left: 4px solid #00a6d7;
	color: #333;
	margin: 1.5rem 0;
	padding: 1rem 1.25rem;
}

.sr-affiliate-product__answer p:first-child {
	margin-top: 0;
}

.sr-affiliate-product__answer p:last-child {
	margin-bottom: 0;
}

.sr-affiliate-product__table-wrap {
	overflow-x: auto;
}

.sr-affiliate-product__table {
	border-collapse: collapse;
	min-width: 680px;
	width: 100%;
}

.sr-affiliate-product__table th,
.sr-affiliate-product__table td {
	border: 1px solid #b4b4b4;
	padding: 0.75rem;
	text-align: left;
	vertical-align: top;
}

.sr-affiliate-product__table th {
	background: #f3f3f3;
	color: #333;
	font-weight: 700;
}

.sr-affiliate-product__warning {
	border: 2px solid #8a6a46;
	border-radius: 4px;
	padding: 1rem 1.25rem;
}

/* FAQs use the native Rank Math block and the existing SteinRein theme. */
.sr-pro-recommendation {
	margin: 0.25rem 0 1.4rem;
}


.sr-pro-recommendation__badge {
	align-items: center;
	background: #8a6a46;
	border: 1px solid #765936;
	border-radius: 5px;
	box-shadow: 4px 0 0 #00a6d7;
	box-sizing: border-box;
	color: #fff;
	display: inline-flex;
	font-family: Montserrat, "Helvetica Neue", Helvetica, Arial, sans-serif;
	font-size: 0.8rem;
	font-weight: 700;
	gap: 0.5rem;
	letter-spacing: 0.025em;
	line-height: 1.2;
	padding: 0.48rem 0.8rem 0.48rem 0.62rem;
	text-transform: uppercase;
}

.sr-pro-recommendation__badge-icon {
	align-items: center;
	background: #00a6d7;
	border-radius: 50%;
	color: #fff;
	display: inline-flex;
	font-size: 0.7rem;
	height: 1.25rem;
	justify-content: center;
	line-height: 1;
	width: 1.25rem;
}

.sr-pro-recommendation__badge--loop {
	font-size: 0.72rem;
	margin: 0.75rem 0 0.45rem;
}

.sr-curated-related {
	border-top: 1px solid #dfe7e9;
	clear: both;
	margin-top: 3rem;
	padding-top: 2.25rem;
}

.sr-curated-related__header {
	align-items: flex-end;
	display: flex;
	gap: 1.5rem;
	justify-content: space-between;
	margin-bottom: 1.35rem;
}

.sr-curated-related__header h2 {
	margin: 0 0 0.45rem;
}

.sr-curated-related__header p {
	color: #5b5b5b;
	margin: 0;
	max-width: 52rem;
}

.sr-curated-related__controls {
	display: none;
	flex: 0 0 auto;
	gap: 0.55rem;
}

.sr-curated-related--scrollable .sr-curated-related__controls {
	display: flex;
}

.sr-curated-related__controls button {
	align-items: center;
	background: #fff;
	border: 2px solid #00a6d7;
	border-radius: 50%;
	color: #007fa4;
	cursor: pointer;
	display: inline-flex;
	font-size: 1.15rem;
	font-weight: 700;
	height: 44px;
	justify-content: center;
	line-height: 1;
	padding: 0;
	width: 44px;
}

.sr-curated-related__controls button:hover,
.sr-curated-related__controls button:focus-visible {
	background: #00a6d7;
	color: #fff;
}

.sr-curated-related__controls button:focus-visible,
.sr-curated-related__viewport:focus-visible {
	outline: 3px solid #8a6a46;
	outline-offset: 3px;
}

.sr-curated-related__controls button:disabled {
	border-color: #b9c5c8;
	color: #889396;
	cursor: default;
	opacity: 0.6;
}

.sr-curated-related__viewport {
	overflow-x: auto;
	overscroll-behavior-inline: contain;
	padding: 0.25rem 0.2rem 1rem;
	scroll-behavior: smooth;
	scroll-snap-type: inline mandatory;
	scrollbar-color: #00a6d7 #e7eff1;
	scrollbar-width: thin;
}

.sr-curated-related ul.products.sr-curated-related__track {
	display: grid;
	gap: 1.25rem;
	grid-auto-columns: minmax(250px, 31.5%);
	grid-auto-flow: column;
	list-style: none;
	margin: 0;
	padding: 0;
	width: auto;
}

.sr-curated-related--single ul.products.sr-curated-related__track {
	grid-auto-columns: minmax(250px, 32%);
}

.sr-curated-related ul.products li.product.sr-curated-related__card {
	background: #fff;
	border: 1px solid #d7e1e4;
	border-radius: 10px;
	box-shadow: 0 5px 16px rgba(51, 51, 51, 0.08);
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
	float: none;
	margin: 0;
	padding: 1rem;
	scroll-snap-align: start;
	text-align: center;
	width: 100%;
}

.sr-curated-related__card .woocommerce-LoopProduct-link {
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	text-decoration: none;
}

.sr-curated-related__card img {
	aspect-ratio: 1 / 1;
	height: auto;
	margin: 0 auto 0.85rem;
	max-width: 100%;
	object-fit: contain;
	width: 100%;
}

.sr-curated-related__card .woocommerce-loop-product__title {
	color: #333;
	font-size: 1rem;
	line-height: 1.4;
	margin: 0;
}

.sr-curated-related__match {
	color: #4c675f;
	font-size: 0.82rem;
	font-weight: 700;
	margin: 0.75rem 0;
}

.sr-curated-related__match span {
	color: #007fa4;
}

.sr-curated-related__card > a.button {
	align-self: center;
	margin-top: auto;
	min-height: 48px;
	text-align: center;
}

@media (max-width: 640px) {
	.sr-pro-recommendation__badge {
		font-size: 0.72rem;
	}

	.sr-curated-related {
		margin-top: 2.25rem;
		padding-top: 1.75rem;
	}

	.sr-curated-related__header {
		align-items: flex-start;
	}

	.sr-curated-related ul.products.sr-curated-related__track,
	.sr-curated-related--single ul.products.sr-curated-related__track {
		grid-auto-columns: minmax(245px, 84%);
	}
}
