/* ==========================================================================
   Плагін "Відгуки" — стилі
   ========================================================================== */

.wcr-slider,
.wcr-form-wrap {
	box-sizing: border-box;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}
.wcr-slider *,
.wcr-form-wrap * {
	box-sizing: border-box;
}

/* ---------- Слайдер ---------- */

.wcr-slider-viewport {
	overflow: hidden;
	width: 100%;
}

.wcr-slider-track {
	display: flex;
	transition: transform 0.4s ease;
}

.wcr-slide {
	flex: 0 0 100%;
	padding: 4px;
}

.wcr-slider[data-columns="2"] .wcr-slide {
	flex-basis: 50%;
}
.wcr-slider[data-columns="3"] .wcr-slide {
	flex-basis: 33.3333%;
}

.wcr-card {
	border: 2px dashed #cfd6e4;
	border-radius: 14px;
	background: #fff;
	padding: 36px 30px;
	text-align: center;
	height: 100%;
}

.wcr-avatar {
	width: 72px;
	height: 72px;
	margin: 0 auto 16px;
	border-radius: 50%;
	overflow: hidden;
	display: flex;
	align-items: center;
	justify-content: center;
	background: #4a3f35;
}

.wcr-avatar img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.wcr-avatar-initial {
	color: #fff;
	font-size: 26px;
	font-weight: 600;
}

.wcr-stars {
	margin-bottom: 16px;
	font-size: 18px;
	letter-spacing: 2px;
}

.wcr-star {
	color: #e2e5eb;
}

.wcr-star-filled {
	color: #f5b400;
}

.wcr-text {
	color: #3a3f4b;
	font-size: 15px;
	line-height: 1.6;
	margin: 0 0 18px;
}

.wcr-meta {
	color: #9aa1b1;
	font-size: 13px;
	margin: 0;
}

.wcr-slider-nav {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 16px;
	margin-top: 18px;
}

.wcr-nav-btn {
	width: 36px;
	height: 36px;
	border-radius: 50%;
	border: 1px solid #dde1ea;
	background: #fff;
	color: #4a3f35;
	font-size: 18px;
	line-height: 1;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: background 0.2s ease;
}

.wcr-nav-btn:hover {
	background: #f2f4f8;
}

.wcr-dots {
	display: flex;
	gap: 8px;
}

.wcr-dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: #dde1ea;
	cursor: pointer;
	border: none;
	padding: 0;
}

.wcr-dot.is-active {
	background: #86b93a;
}

.wcr-no-reviews {
	text-align: center;
	color: #9aa1b1;
}

/* ---------- Форма ---------- */

.wcr-form-wrap {
	border: 2px dashed #b9d6f7;
	border-radius: 14px;
	background: #fff;
	padding: 32px 36px;
	max-width: 560px;
}

.wcr-form-eyebrow {
	text-align: center;
	text-transform: uppercase;
	letter-spacing: 1px;
	font-size: 12px;
	color: #9aa1b1;
	margin: 0 0 8px;
}

.wcr-form-title {
	text-align: center;
	font-size: 24px;
	font-weight: 700;
	color: #1f2430;
	margin: 0 0 22px;
}

.wcr-form-row {
	display: flex;
	gap: 14px;
	margin-bottom: 14px;
}

.wcr-form-field {
	flex: 1;
	margin-bottom: 14px;
}

.wcr-form-row .wcr-form-field {
	margin-bottom: 0;
}

.wcr-input,
.wcr-textarea {
	width: 100%;
	border: 1px solid #e3e7ee;
	background: #f7f8fb;
	border-radius: 10px;
	padding: 14px 16px;
	font-size: 14px;
	color: #1f2430;
	font-family: inherit;
	resize: vertical;
}

.wcr-input::placeholder,
.wcr-textarea::placeholder {
	color: #9aa1b1;
}

.wcr-input:focus,
.wcr-textarea:focus {
	outline: none;
	border-color: #86b93a;
	background: #fff;
}

.wcr-rating-field {
	display: flex;
	align-items: center;
	gap: 12px;
}

.wcr-rating-label {
	font-size: 14px;
	color: #3a3f4b;
}

.wcr-rating-input {
	display: flex;
	flex-direction: row-reverse;
	justify-content: flex-end;
	gap: 4px;
}

.wcr-rating-input input {
	display: none;
}

.wcr-rating-input label {
	font-size: 24px;
	color: #e2e5eb;
	cursor: pointer;
	transition: color 0.15s ease;
}

.wcr-rating-input input:checked ~ label,
.wcr-rating-input label:hover,
.wcr-rating-input label:hover ~ label {
	color: #f5b400;
}

.wcr-hp-field {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.wcr-form-submit-row {
	margin: 6px 0 16px;
	display: flex;
	justify-content: center;
}

.wcr-submit-btn {
	background: #86b93a;
	color: #fff;
	border: none;
	border-radius: 24px;
	padding: 13px 40px;
	font-size: 15px;
	font-weight: 600;
	cursor: pointer;
	transition: background 0.2s ease, opacity 0.2s ease;
}

.wcr-submit-btn:hover {
	background: #78a531;
}

.wcr-submit-btn:disabled {
	opacity: 0.6;
	cursor: not-allowed;
}

.wcr-form-privacy {
	text-align: center;
	font-size: 12px;
	color: #9aa1b1;
	margin: 0;
}

.wcr-form-privacy a {
	color: #6f7688;
	text-decoration: underline;
}

.wcr-form-message {
	text-align: center;
	padding: 12px 16px;
	border-radius: 8px;
	margin-bottom: 16px;
	font-size: 14px;
}

.wcr-form-message.is-success {
	background: #eaf6df;
	color: #4a7a1e;
}

.wcr-form-message.is-error {
	background: #fdeaea;
	color: #a5312a;
}

/* ---------- Адаптивність ---------- */

@media (max-width: 640px) {
	.wcr-form-wrap {
		padding: 24px 20px;
	}
	.wcr-form-row {
		flex-direction: column;
		gap: 14px;
	}
	.wcr-card {
		padding: 26px 18px;
	}
}
