/* Public object detail structural redesign, phase 2. */

.nsv-hotel-gallery { height: 520px !important; grid-template-columns: minmax(0,2.1fr) minmax(270px,.72fr) !important; border-radius: 26px !important; }
.nsv-hotel-summary { width: calc(100% - 84px) !important; margin-top: -92px !important; padding: 30px 32px 26px !important; }
.nsv-hotel-nav { width: calc(100% - 84px) !important; }
.nsv-hotel-layout { gap: 48px !important; }
.nsv-hotel-layout__main { gap: 62px !important; }
.nsv-hotel-section__heading { margin-bottom: 22px !important; }
.nsv-hotel-room-grid { gap: 18px !important; }
.nsv-hotel-room-card { width: 100% !important; max-width: 100% !important; min-width: 0 !important; border-radius: 20px !important; box-shadow: 0 16px 42px rgba(16,47,52,.08) !important; }
.nsv-hotel-room-card__media,
.nsv-hotel-room-card__body { width: 100% !important; max-width: 100% !important; min-width: 0 !important; }
.nsv-hotel-room-card__body { padding: 20px !important; }
.nsv-hotel-room-card__description { -webkit-line-clamp: 2 !important; }
.nsv-hotel-contact-card { border-radius: 22px !important; box-shadow: 0 18px 48px rgba(16,47,52,.09) !important; }

.nsv-hotel-room-more {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	margin-top: 20px;
	border: 1px solid #d9e6e3;
	border-radius: 18px;
	background: linear-gradient(135deg,#f5faf9 0%,#fffaf3 100%);
	padding: 18px 20px;
	box-shadow: 0 12px 32px rgba(16,47,52,.06);
}
.nsv-hotel-room-more > div { min-width: 0; }
.nsv-hotel-room-more strong,
.nsv-hotel-room-more span { display: block; }
.nsv-hotel-room-more strong { color: #153b40; font-size: 15px; font-weight: 900; }
.nsv-hotel-room-more span { max-width: 720px; margin-top: 5px; color: #60777a; font-size: 12px; line-height: 1.5; }
.nsv-hotel-room-more .nsv-hotel-btn { flex: 0 0 auto; }

@media (max-width: 1100px) {
	.nsv-hotel-gallery { height: 470px !important; }
	.nsv-hotel-summary,
	.nsv-hotel-nav { width: calc(100% - 48px) !important; }
}

@media (max-width: 767px) {
	.nsv-hotel-shell { width: min(calc(100% - 24px),1320px) !important; }
	.nsv-hotel-page,
	.nsv-hotel-hero,
	.nsv-hotel-gallery,
	.nsv-hotel-summary,
	.nsv-hotel-nav,
	.nsv-hotel-layout,
	.nsv-hotel-layout__main,
	.nsv-hotel-section,
	.nsv-hotel-room-grid { max-width: 100% !important; min-width: 0 !important; }
	.nsv-hotel-page { padding-top: 12px !important; overflow-x: clip !important; }
	.nsv-hotel-gallery {
		display: grid !important;
		width: 100% !important;
		height: auto !important;
		grid-template-columns: minmax(0,1fr) !important;
		grid-template-rows: 260px 72px !important;
		gap: 6px !important;
		border-radius: 20px !important;
	}
	.nsv-hotel-gallery__main { width: 100% !important; min-height: 260px !important; }
	.nsv-hotel-gallery__rail {
		display: grid !important;
		width: 100% !important;
		grid-template-columns: repeat(4,minmax(0,1fr)) !important;
		grid-template-rows: 72px !important;
		gap: 6px !important;
		overflow: hidden !important;
	}
	.nsv-hotel-gallery__thumb { width: 100% !important; min-width: 0 !important; min-height: 72px !important; }
	.nsv-hotel-gallery__rail > :nth-child(n+5) { display: none !important; }
	.nsv-hotel-gallery__topline { top: 12px !important; right: 12px !important; left: 12px !important; }
	.nsv-hotel-gallery__all { right: 12px !important; bottom: 84px !important; }
	.nsv-hotel-summary {
		width: 100% !important;
		grid-template-columns: 1fr !important;
		gap: 20px !important;
		margin: 12px 0 0 !important;
		border-radius: 20px !important;
		padding: 22px 18px !important;
	}
	.nsv-hotel-summary h1 { font-size: 36px !important; line-height: 1 !important; }
	.nsv-hotel-summary__stats { grid-template-columns: repeat(2,minmax(0,1fr)) !important; }
	.nsv-hotel-summary__actions { flex-wrap: wrap !important; }
	.nsv-hotel-summary__actions .nsv-hotel-btn,
	.nsv-hotel-summary__actions .nsv-hotel-pm,
	.nsv-hotel-summary__actions .nsv-hotel-pm > a,
	.nsv-hotel-summary__actions .nsv-hotel-pm > span > a { width: 100% !important; }
	.nsv-hotel-nav { position: relative !important; top: auto !important; width: 100% !important; margin-top: 12px !important; }
	.nsv-hotel-nav__track { padding-bottom: 1px; }
	.nsv-hotel-layout { width: 100% !important; grid-template-columns: minmax(0,1fr) !important; gap: 34px !important; margin-top: 34px !important; }
	.nsv-hotel-layout__main { width: 100% !important; gap: 48px !important; }
	.nsv-hotel-layout__aside { width: 100% !important; min-width: 0 !important; order: 2; }
	.nsv-hotel-contact-card { position: relative !important; top: auto !important; }
	.nsv-hotel-section__heading { align-items: flex-start !important; flex-direction: column !important; margin-bottom: 18px !important; }
	.nsv-hotel-section__heading h2,
	.nsv-hotel-amenities > h3 { font-size: 32px !important; }
	.nsv-hotel-room-grid { width: 100% !important; grid-template-columns: minmax(0,1fr) !important; gap: 14px !important; }
	.nsv-hotel-room-card__body { padding: 17px !important; }
	.nsv-hotel-room-card__facts { grid-template-columns: repeat(2,minmax(0,1fr)) !important; }
	.nsv-hotel-room-card__facts > div { border-right: 1px solid #e7eceb !important; border-bottom: 1px solid #e7eceb !important; }
	.nsv-hotel-room-card__facts > div:nth-child(2n) { border-right: 0 !important; }
	.nsv-hotel-room-card__facts > div:nth-child(n+3) { border-bottom: 0 !important; }
	.nsv-hotel-room-card__footer { align-items: stretch !important; flex-direction: column !important; }
	.nsv-hotel-room-card__footer .nsv-hotel-btn { width: 100% !important; }
	.nsv-hotel-room-more { align-items: stretch; flex-direction: column; gap: 14px; padding: 16px; }
	.nsv-hotel-room-more .nsv-hotel-btn { width: 100%; }
}

@media (max-width: 390px) {
	.nsv-hotel-gallery { grid-template-rows: 235px 66px !important; }
	.nsv-hotel-gallery__main { min-height: 235px !important; }
	.nsv-hotel-gallery__rail { grid-template-rows: 66px !important; }
	.nsv-hotel-gallery__thumb { min-height: 66px !important; }
}
