.chds-reviews-wrapper {
	position: relative;
}

.chds-reviews-track {
	display: flex;
	gap: 16px;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	padding: 4px 4px 16px;
	scrollbar-width: thin;
}

.chds-reviews-track.chds-reviews-grid {
	flex-wrap: wrap;
	overflow-x: visible;
	scroll-snap-type: none;
}

.chds-review-card {
	flex: 0 0 280px;
	scroll-snap-align: start;
	border: 1px solid #e2e2e2;
	border-radius: 8px;
	padding: 16px;
	background: #fff;
	box-shadow: 0 1px 3px rgba(0,0,0,0.06);
	display: flex;
	flex-direction: column;
}

.chds-reviews-grid .chds-review-card {
	flex: 1 1 280px;
}

.chds-review-header {
	display: flex;
	align-items: baseline;
	gap: 8px;
	margin-bottom: 8px;
	flex-wrap: wrap;
}

.chds-review-stars {
	color: #f5a623;
	font-size: 16px;
	white-space: nowrap;
}

.chds-review-title {
	font-weight: 700;
	font-size: 14px;
	color: #222;
}

.chds-review-text {
	font-size: 14px;
	line-height: 1.5;
	color: #333;
	margin: 0 0 12px;
	flex-grow: 1;
}

.chds-review-footer {
	display: flex;
	justify-content: space-between;
	align-items: center;
	font-size: 12px;
	color: #777;
	border-top: 1px solid #f0f0f0;
	padding-top: 8px;
}

.chds-review-author-block {
	display: flex;
	flex-direction: column;
}

.chds-review-author {
	font-weight: 600;
	color: #333;
}

.chds-review-stay-date {
	font-size: 11px;
	color: #999;
}

.chds-review-source {
	display: inline-block;
	padding: 2px 8px;
	border-radius: 12px;
	background: #f2f2f2;
	font-size: 11px;
	color: inherit;
	text-decoration: none;
}

a.chds-review-source {
	cursor: pointer;
	transition: background 0.15s ease;
}

a.chds-review-source:hover {
	background: #e4e4e4;
	text-decoration: underline;
}

.chds-reviews-nav {
	display: flex;
	justify-content: flex-end;
	gap: 8px;
	margin-top: 8px;
}

.chds-reviews-nav button {
	border: 1px solid #ccc;
	background: #fff;
	border-radius: 50%;
	width: 32px;
	height: 32px;
	cursor: pointer;
	font-size: 16px;
	line-height: 1;
}

.chds-reviews-see-all {
	display: inline-block;
	margin-bottom: 12px;
	background: none;
	border: none;
	padding: 0;
	font-size: 14px;
	font-weight: 600;
	color: #2271b1;
	cursor: pointer;
	text-decoration: underline;
}

.chds-reviews-see-all:hover {
	color: #135e96;
}

.chds-reviews-modal {
	display: none;
	position: fixed;
	inset: 0;
	z-index: 100000;
}

.chds-reviews-modal.chds-reviews-modal-open {
	display: block;
}

body.chds-reviews-modal-locked {
	overflow: hidden;
}

.chds-reviews-modal-overlay {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.5);
}

.chds-reviews-modal-panel {
	position: relative;
	z-index: 1;
	max-width: 900px;
	max-height: 85vh;
	margin: 5vh auto;
	background: #fff;
	border-radius: 10px;
	padding: 24px;
	overflow-y: auto;
	box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.chds-reviews-modal-close {
	position: absolute;
	top: 12px;
	right: 16px;
	background: none;
	border: none;
	font-size: 28px;
	line-height: 1;
	cursor: pointer;
	color: #666;
}

.chds-reviews-modal-close:hover {
	color: #000;
}

.chds-reviews-modal-title {
	margin: 0 0 16px;
	padding-right: 30px;
}

.chds-reviews-modal-list {
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
}

.chds-reviews-modal-list .chds-review-card {
	flex: 1 1 260px;
}
