/* Превью нового блока карточки номера (HM) — согласование перед раскаткой */

.room-new {
	--rn-navy: #1b304f;
	--rn-navy-soft: #243a5c;
	--rn-gold: #c5a059;
	--rn-purple: #874591;
	--rn-purple-hover: #6e3578;
	--rn-text: #3a3a3a;
	--rn-muted: #6b7280;
	--rn-line: #e6e8ee;
	--rn-cream: #f7f3ec;
	--rn-card: #ffffff;
	--rn-mint: #eef6f1;
	--rn-radius: 16px;
	--rn-radius-sm: 12px;
	color: var(--rn-text);
	font-family: "Futuris", Helvetica, Arial, sans-serif;
}

.room-new * {
	box-sizing: border-box;
}

.room-new__preview-note {
	margin: 0 0 24px;
	padding: 12px 16px;
	border-radius: 8px;
	background: #fff8e8;
	border: 1px solid #f0d9a0;
	color: #5c4a18;
	font-size: 14px;
	line-height: 1.45;
}

.room-new__preview-note a {
	color: var(--rn-purple);
	text-decoration: underline;
}

.room-new__top {
	display: grid;
	grid-template-columns: minmax(0, 1.05fr) minmax(0, 1.1fr);
	gap: 28px 36px;
	align-items: stretch;
	margin-bottom: 20px;
}

/* —— Gallery —— */
.room-new__gallery {
	position: relative;
}

.room-new__main {
	position: relative;
	border-radius: var(--rn-radius);
	overflow: hidden;
	background: #eee;
	aspect-ratio: 4 / 3;
}

.room-new__slides {
	position: absolute;
	inset: 0;
	z-index: 0;
	cursor: zoom-in;
}

.room-new__slide {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.25s ease;
	pointer-events: none;
}

.room-new__slide.is-active {
	opacity: 1;
	visibility: visible;
	z-index: 1;
}

.room-new__main > .room-new__badge,
.room-new__main > .room-new__nav {
	z-index: 5;
}

.room-new__badge {
	position: absolute;
	z-index: 2;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 8px 12px;
	border-radius: 999px;
	font-size: 13px;
	font-weight: 600;
	line-height: 1;
	color: #fff;
	background: rgba(27, 48, 79, 0.82);
	backdrop-filter: blur(4px);
}

.room-new__badge--size {
	top: 14px;
	left: 14px;
	background: var(--rn-gold);
	color: #fff;
}

.room-new__badge--photos {
	left: 14px;
	bottom: 14px;
	cursor: zoom-in;
}

.room-new__nav {
	position: absolute;
	top: 50%;
	z-index: 2;
	transform: translateY(-50%);
	width: 40px;
	height: 40px;
	border: 0;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.92);
	color: var(--rn-navy);
	cursor: pointer;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.12);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0;
}

.room-new__nav:hover {
	background: #fff;
}

.room-new__nav--prev { left: 12px; }
.room-new__nav--next { right: 12px; }

.room-new__nav svg {
	width: 16px;
	height: 16px;
	display: block;
}

.room-new__thumbs {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 10px;
	margin-top: 12px;
}

.room-new__thumb {
	position: relative;
	display: block;
	width: 100%;
	padding: 0;
	border: 2px solid transparent;
	border-radius: 10px;
	overflow: hidden;
	cursor: pointer;
	background: #eee;
	aspect-ratio: 4 / 3;
}

.room-new__thumb.is-active {
	border-color: var(--rn-purple);
}

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

.room-new__thumb-more {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(27, 48, 79, 0.72);
	color: #fff;
	font-size: 15px;
	font-weight: 700;
	cursor: zoom-in;
	pointer-events: none;
}

/* —— Intro —— */
.room-new__intro {
	display: flex;
	flex-direction: column;
	min-height: 100%;
}

.room-new__eyebrow {
	margin: 0 0 10px;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--rn-gold);
}

.room-new__title {
	margin: 0 0 12px;
	font-family: Georgia, "Times New Roman", serif;
	font-size: clamp(28px, 3vw, 40px);
	line-height: 1.15;
	font-weight: 700;
	color: var(--rn-navy);
}

.room-new__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 10px 18px;
	margin: 0 0 14px;
}

.room-new__meta-item {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 15px;
	font-weight: 600;
	color: var(--rn-navy);
}

.room-new__meta-item svg {
	width: 18px;
	height: 18px;
	color: var(--rn-gold);
	flex: 0 0 auto;
}

.room-new__lead {
	margin: 0 0 18px;
	font-size: 17px;
	line-height: 1.55;
	color: var(--rn-muted);
}

.room-new__amenities {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px 18px;
	padding: 0;
	list-style: none;
}

.room-new__amenity {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	font-size: 15px;
	line-height: 1.35;
	color: var(--rn-navy);
}

.room-new__amenity svg {
	flex: 0 0 auto;
	width: 22px;
	height: 22px;
	margin-top: 1px;
	color: var(--rn-gold);
}

.room-new__badge svg {
	width: 14px;
	height: 14px;
	display: block;
	flex: 0 0 auto;
}

.room-new__spec-head svg {
	width: 22px;
	height: 22px;
	color: var(--rn-gold);
	flex: 0 0 auto;
}

.room-new__price-label svg {
	width: 18px;
	height: 18px;
	color: var(--rn-gold);
	flex: 0 0 auto;
}

.room-new__breakfast-icon svg {
	width: 24px;
	height: 24px;
}

.room-new__nav {
	z-index: 3;
	pointer-events: auto;
}

.room-new__thumb {
	z-index: 1;
	pointer-events: auto;
}

/* —— Specs card —— */
.room-new__specs {
	display: grid;
	grid-template-columns: 1.15fr 0.9fr 0.95fr 1.1fr;
	gap: 0;
	border: 1px solid var(--rn-line);
	border-radius: var(--rn-radius);
	overflow: hidden;
	background: var(--rn-card);
	box-shadow: 0 8px 28px rgba(27, 48, 79, 0.05);
	margin-bottom: 20px;
}

.room-new__specs--3 {
	grid-template-columns: 1.15fr 1.05fr 0.95fr;
}

.room-new__spec {
	position: relative;
	padding: 28px 24px;
	border-right: none;
	min-width: 0;
}

/* Разделители не на всю высоту — отступы сверху/снизу */
.room-new__spec:not(:last-child)::after {
	content: "";
	position: absolute;
	top: 22px;
	bottom: 22px;
	right: 0;
	width: 1px;
	background: var(--rn-line);
	pointer-events: none;
}

.room-new__spec.room-new__price::after {
	display: none;
}

.room-new__spec-head {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 16px;
}

.room-new__spec-head svg {
	width: 22px;
	height: 22px;
	color: var(--rn-gold);
	flex: 0 0 auto;
}

.room-new__spec-head h3 {
	margin: 0;
	font-size: 16px;
	font-weight: 700;
	color: var(--rn-navy);
	line-height: 1.25;
}

.room-new__checks {
	margin: 0;
	padding: 0;
	list-style: none;
}

.room-new__checks li {
	position: relative;
	padding-left: 22px;
	margin-bottom: 8px;
	font-size: 14px;
	line-height: 1.35;
	color: var(--rn-text);
}

.room-new__checks li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.35em;
	width: 12px;
	height: 8px;
	border-left: 2px solid var(--rn-gold);
	border-bottom: 2px solid var(--rn-gold);
	transform: rotate(-45deg);
}

.room-new__bed-text {
	margin: 0 0 2px;
	font-size: 15px;
	font-weight: 600;
	color: var(--rn-navy);
}

.room-new__bed-size {
	margin: 0 0 8px;
	font-size: 15px;
	color: var(--rn-muted);
}

.room-new__bed-or {
	margin: 2px 0 8px;
	font-size: 13px;
	color: var(--rn-muted);
	font-style: italic;
}

.room-new__bed-art {
	display: block;
	width: 100%;
	max-width: 140px;
	margin-top: 10px;
	color: var(--rn-gold);
}

.room-new__bed-art svg {
	display: block;
	width: 100%;
	height: auto;
}

.room-new__guests-label {
	margin: 0 0 6px;
	font-size: 15px;
	color: var(--rn-muted);
}

.room-new__guests-num {
	margin: 0 0 8px;
	font-size: 28px;
	font-weight: 700;
	line-height: 1.1;
	color: var(--rn-navy);
}

.room-new__guests-note {
	margin: 0;
	font-size: 15px;
	line-height: 1.4;
	color: var(--rn-muted);
}

.room-new__price {
	background: var(--rn-cream);
	display: flex;
	flex-direction: column;
	justify-content: center;
	text-align: center;
	padding: 28px 20px;
}

.room-new__price-label {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	margin: 0 0 16px;
	font-size: 16px;
	line-height: 1.35;
	color: var(--rn-navy-soft);
}

.room-new__price-label svg {
	width: 18px;
	height: 18px;
	color: var(--rn-gold);
	flex: 0 0 auto;
}

.room-new__price-value {
	display: flex;
	align-items: baseline;
	justify-content: center;
	flex-wrap: wrap;
	gap: 0.25em;
	margin: 4px 0 22px;
	font-size: clamp(26px, 2.4vw, 34px);
	font-weight: 700;
	line-height: 1.25;
	color: var(--rn-navy);
}

.room-new__price-value .room-new__price-from {
	font-size: 0.55em;
	font-weight: 600;
	line-height: 1;
	color: var(--rn-navy);
}

.room-new__price-value span {
	font-size: 0.55em;
	font-weight: 500;
	color: var(--rn-muted);
}

.room-new__cta {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 48px;
	padding: 0 22px;
	border-radius: 10px;
	background: var(--rn-purple);
	color: #fff !important;
	font-size: 14px;
	font-weight: 700;
	letter-spacing: 0.02em;
	text-decoration: none !important;
	text-transform: none;
	transition: background-color 0.2s ease;
}

.room-new__cta:hover {
	background: var(--rn-purple-hover);
	color: #fff !important;
}

.room-new__cta-note {
	margin: 12px 0 0;
	font-size: 12px;
	color: var(--rn-muted);
}

.room-new__more-link {
	display: inline-block;
	margin-top: 10px;
	font-size: 13px;
	color: var(--rn-muted);
	text-decoration: none;
}

.room-new__more-link:hover {
	color: var(--rn-purple);
}

/* —— Breakfast banner —— */
.room-new__breakfast {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	padding: 18px 22px;
	border-radius: var(--rn-radius-sm);
	background: var(--rn-mint);
}

.room-new__breakfast-left {
	display: flex;
	align-items: center;
	gap: 14px;
	min-width: 0;
}

.room-new__breakfast-icon {
	flex: 0 0 auto;
	width: 44px;
	height: 44px;
	border-radius: 10px;
	background: #fff;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: var(--rn-gold);
}

.room-new__breakfast-icon svg {
	width: 24px;
	height: 24px;
}

.room-new__breakfast-title {
	margin: 0 0 4px;
	font-size: 15px;
	font-weight: 700;
	color: var(--rn-navy);
}

.room-new__breakfast-text {
	margin: 0;
	font-size: 13px;
	color: var(--rn-muted);
}

.room-new__breakfast-btn {
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 42px;
	padding: 0 18px;
	border-radius: 10px;
	border: 1px solid #b7d4c2;
	background: #fff;
	color: var(--rn-navy) !important;
	font-size: 14px;
	font-weight: 600;
	text-decoration: none !important;
	white-space: nowrap;
}

.room-new__breakfast-btn:hover {
	border-color: var(--rn-purple);
	color: var(--rn-purple) !important;
}

@media (max-width: 1199px) {
	.room-new__specs,
	.room-new__specs--3 {
		grid-template-columns: 1fr 1fr;
	}
	.room-new__specs--3 .room-new__spec:nth-child(2)::after {
		display: none;
	}
	.room-new__specs--3 .room-new__spec:nth-child(1),
	.room-new__specs--3 .room-new__spec:nth-child(2) {
		border-bottom: 1px solid var(--rn-line);
	}
	.room-new__specs--3 .room-new__price {
		grid-column: 1 / -1;
	}
}

@media (max-width: 991px) {
	.room-new__top {
		grid-template-columns: 1fr;
		gap: 24px;
	}
	.room-new__amenities {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 767px) {
	.room-new__thumbs {
		grid-template-columns: repeat(4, 1fr);
		gap: 8px;
	}
	.room-new__amenities {
		grid-template-columns: 1fr;
	}
	.room-new__specs,
	.room-new__specs--3 {
		grid-template-columns: 1fr;
	}
	.room-new__spec:not(:last-child)::after {
		display: none;
	}
	.room-new__spec {
		border-bottom: 1px solid var(--rn-line);
	}
	.room-new__spec:last-child {
		border-bottom: 0;
	}
	.room-new__breakfast {
		flex-direction: column;
		align-items: stretch;
	}
	.room-new__breakfast-btn {
		width: 100%;
	}
	.room-new__title {
		font-size: 26px;
	}
}
