/* ==========================================================================
   Reusable CTA Banner (template-parts/cta-banner.php)
   Loaded globally so the banner works on any page, not just products.
   The background image (cat-bg1.svg) is a light-blue panel, so text uses
   dark gray. The button uses the brand blue (var(--rs-blue)) base with white
   text and a left-to-right fill animation on hover to var(--rs-blue-700)
   (see design-system.html §3).
   ========================================================================== */
.rs-cta-section {
	padding: 4rem 0 1.5rem;
	background-color: var(--rs-blue-50);
	background-image: url('../images/cat-bg1.svg');
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	margin-bottom: 0;
}

@media (min-width: 1024px) {
	.rs-cta-section { padding: 6rem 0 2rem; }
}

.rs-cta-content {
	text-align: center;
}

/* .rs-container is defined once in global.css (shared by CTA banner + product detail). */

.rs-cta-title {
	font-size: 1.5rem;
	font-weight: 700;
	color: var(--rs-gray-900);
	margin-bottom: 1rem;
	line-height: 1.3;
}

@media (min-width: 1024px) {
	.rs-cta-title { font-size: 1.875rem; }
}

.rs-cta-desc {
	font-size: 1.125rem;
	color: var(--rs-gray-700);
	margin-bottom: 2rem;
	max-width: 42rem;
	margin-left: auto;
	margin-right: auto;
	line-height: 1.7;
}

.rs-cta-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 1rem 2rem;
	font-size: 1rem;
	font-weight: 600;
	color: var(--rs-white);
	background: var(--rs-blue);
	border-radius: 0.5rem;
	text-decoration: none;
	position: relative;
	overflow: hidden;
	z-index: 1;
	transition: color 0.35s;
	box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
}

/* Left-to-Right Fill Animation (per design-system.html §3 .btn-primary) */
.rs-cta-btn::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 0;
	height: 100%;
	background: var(--rs-blue-700);
	transition: width 0.35s;
	z-index: -1;
}

.rs-cta-btn:hover {
	color: var(--rs-white);
}

.rs-cta-btn:hover::before {
	width: 100%;
}
