/* Customer Reviews Slider — Styles */

.crs-wrapper {
	--crs-cols: 4;
	--crs-gap: 24px;
	width: 100%;
}

.crs-header {
	text-align: center;
	margin-bottom: 48px;
}

.crs-ornament-row {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	margin-bottom: 14px;
}

.crs-ornament-line {
	width: 60px;
	height: 1px;
	background-color: #c19a6b;
}

.crs-ornament-spark {
	color: #c19a6b;
	font-size: 14px;
}

.crs-title {
	font-family: Georgia, 'Times New Roman', serif;
	font-size: 52px;
	font-weight: 400;
	color: #1a1a1a;
	margin: 0 0 18px 0;
}

.crs-title-underline {
	display: inline-block;
	width: 60px;
	height: 2px;
	background-color: #c19a6b;
	margin-bottom: 20px;
}

.crs-subtitle {
	font-size: 16px;
	line-height: 1.6;
	color: #6b6459;
	max-width: 520px;
	margin: 0 auto;
}

/* Track / cards */
.crs-viewport {
	overflow: hidden;
	width: 100%;
}

.crs-track {
	display: flex;
	gap: var(--crs-gap);
	transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
	cursor: -webkit-grab;
	cursor: grab;
	user-select: none;
}

.crs-track.crs-dragging {
	cursor: -webkit-grabbing;
	cursor: grabbing;
	transition: none;
}

/* Interactive elements should always show a normal pointer, not inherit
   the drag-hand cursor from the track. */
.crs-read-more,
.crs-arrow,
.crs-dot {
	cursor: pointer;
}

.crs-card {
	flex: 0 0 calc((100% - (var(--crs-cols) - 1) * var(--crs-gap)) / var(--crs-cols));
	background-color: #ffffff;
	border: 1px solid #ece5d8;
	border-radius: 4px;
	padding: 40px 32px 32px 32px;
	text-align: center;
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
	transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.4s ease, border-color 0.4s ease;
}

.crs-stars {
	display: flex;
	justify-content: center;
	gap: 4px;
	margin-bottom: 18px;
	font-size: 16px;
}

.crs-star.filled { color: #c19a6b; }
.crs-star.empty { color: #e5dcc9; }

.crs-name {
	font-family: Georgia, 'Times New Roman', serif;
	font-size: 26px;
	font-weight: 400;
	color: #1a1a1a;
	margin: 0 0 12px 0;
}

.crs-quote-icon {
	font-family: Georgia, serif;
	font-size: 40px;
	line-height: 1;
	color: #d8c3a3;
	margin-bottom: 8px;
}

.crs-review-text {
	font-size: 14px;
	line-height: 1.85;
	color: #5a5248;
	margin: 0 0 12px 0;
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: var(--crs-max-lines, 5);
	overflow: hidden;
}

.crs-read-more {
	background: transparent;
	border: none;
	padding: 0;
	margin: 0 0 26px 0;
	font-size: 12px;
	letter-spacing: 0.5px;
	font-weight: 700;
	text-decoration: underline;
	color: #c19a6b;
	cursor: pointer;
	transition: color 0.3s ease;
	align-self: center;
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	-webkit-tap-highlight-color: transparent;
	outline: none;
	box-shadow: none;
}

.crs-read-more:hover,
.crs-read-more:focus,
.crs-read-more:active,
.crs-read-more:focus-visible {
	background: transparent;
	box-shadow: none;
	outline: none;
	color: #1a1a1a;
}

.crs-card-divider-row {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	margin-top: auto;
}

.crs-card-divider-line {
	width: 36px;
	height: 1px;
	background-color: #c19a6b;
	opacity: 0.5;
}

.crs-card-divider-spark {
	color: #c19a6b;
	font-size: 11px;
}

/* Read More popup */
.crs-rm-overlay {
	position: fixed;
	inset: 0;
	z-index: 99999;
	display: none;
	align-items: center;
	justify-content: center;
	padding: 20px;
}

.crs-rm-overlay::before {
	content: "";
	position: absolute;
	inset: 0;
	background-color: #000;
	opacity: 0.65;
	z-index: 0;
}

.crs-rm-overlay.crs-rm-active {
	display: flex;
}

.crs-rm-modal {
	position: relative;
	z-index: 1;
	background: #ffffff;
	max-width: 560px;
	width: 100%;
	max-height: 85vh;
	overflow-y: auto;
	border-radius: 4px;
	padding: 48px 40px 40px 40px;
	text-align: center;
	transform: translateY(20px);
	opacity: 0;
	transition: transform 0.35s ease, opacity 0.35s ease;
}

.crs-rm-overlay.crs-rm-active .crs-rm-modal {
	transform: translateY(0);
	opacity: 1;
}

.crs-rm-close {
	position: absolute;
	top: 14px;
	right: 14px;
	background: transparent;
	border: none;
	font-size: 16px;
	cursor: pointer;
	color: #1a1a1a;
	width: 32px;
	height: 32px;
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	-webkit-tap-highlight-color: transparent;
	outline: none;
	box-shadow: none;
	transition: color 0.3s ease, transform 0.3s ease;
}

.crs-rm-close:hover,
.crs-rm-close:focus,
.crs-rm-close:active,
.crs-rm-close:focus-visible {
	background: transparent;
	box-shadow: none;
	outline: none;
	transform: rotate(90deg);
}

.crs-rm-stars {
	display: flex;
	justify-content: center;
	gap: 4px;
	margin-bottom: 16px;
	font-size: 16px;
}

.crs-rm-name {
	font-family: Georgia, 'Times New Roman', serif;
	font-size: 24px;
	font-weight: 400;
	color: #1a1a1a;
	margin: 0 0 10px 0;
}

.crs-rm-quote-icon {
	font-family: Georgia, serif;
	font-size: 36px;
	line-height: 1;
	color: #d8c3a3;
	margin-bottom: 8px;
}

.crs-rm-text {
	font-size: 14px;
	line-height: 1.85;
	color: #5a5248;
	margin: 0;
	text-align: left;
}

/* Navigation row */
.crs-nav-row {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 30px;
	margin-top: 40px;
}

.crs-arrow {
	width: 42px;
	height: 42px;
	border-radius: 50%;
	border: 1px solid #c19a6b;
	background-color: transparent;
	color: #c19a6b;
	font-size: 20px;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: background-color 0.3s ease, color 0.3s ease;
	flex-shrink: 0;
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	-webkit-tap-highlight-color: transparent;
	outline: none;
}

.crs-arrow:focus,
.crs-arrow:active,
.crs-arrow:focus-visible {
	outline: none;
	box-shadow: none;
}

.crs-arrow:hover {
	background-color: #c19a6b;
	color: #ffffff;
}

.crs-dots {
	display: flex;
	align-items: center;
	gap: 10px;
}

.crs-dot {
	width: 9px;
	height: 9px;
	border-radius: 50%;
	background-color: #e5dcc9;
	border: none;
	padding: 0;
	cursor: pointer;
	transition: background-color 0.3s ease, transform 0.3s ease;
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	-webkit-tap-highlight-color: transparent;
	outline: none;
}

.crs-dot:focus,
.crs-dot:active,
.crs-dot:focus-visible {
	outline: none;
	box-shadow: none;
}

.crs-dot.active {
	background-color: #c19a6b;
	transform: scale(1.2);
}

/* Entrance animation */
.crs-wrapper[data-entrance="true"] .crs-card {
	opacity: 0;
}

.crs-wrapper[data-entrance="true"] .crs-card.crs-in-view {
	animation-name: crsFadeUp;
	animation-timing-function: cubic-bezier(0.22, 1, 0.36, 1);
	animation-fill-mode: forwards;
}

@keyframes crsFadeUp {
	from { opacity: 0; transform: translateY(30px); }
	to   { opacity: 1; transform: translateY(0); }
}

/* Responsive */
@media (max-width: 991px) {
	.crs-wrapper { --crs-cols: 2; }
	.crs-title { font-size: 36px; }
}

@media (max-width: 600px) {
	.crs-wrapper { --crs-cols: 1; }
	.crs-title { font-size: 28px; }
	.crs-card { padding: 32px 22px 24px 22px; }
}
