/* GP House — Room page (Figma "Stays/ overview", 1148:10234) */

.gp-room-page { text-transform: capitalize; }
.gp-page-hero--room .gp-page-hero__shade { filter: blur(142px); }
.gp-page-hero--room .gp-page-hero__title { white-space: nowrap; }
.gp-page-hero--room .gp-page-hero__text { width: 253px; }

/* Gallery (1362:5915) */
.gp-room-gallery { position: relative; overflow: hidden; padding: 160px 0 80px; background: #fff; }
.gp-room-gallery__inner { display: flex; flex-direction: column; align-items: center; gap: 32px; width: min(1056px, 100% - 48px); margin-inline: auto; }
.gp-room-gallery__main { width: 100%; height: 418px; border-radius: 24.522px; background: #d9d9d9; object-fit: cover; }
.gp-room-gallery__strip { display: flex; align-items: flex-end; justify-content: center; gap: 24px; width: 100%; transition: transform .35s ease; }
.gp-room-gallery__picture, .gp-room-gallery__strip { touch-action: pan-y; } /* swipe = next / previous photo (main.js) */
.gp-room-gallery__thumb {
	flex: none;
	width: 172px;
	height: 120px;
	padding: 0;
	overflow: hidden;
	border: 0;
	border-radius: 12.261px;
	background: var(--gp-stroke);
}
.gp-room-gallery__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.gp-room-gallery__thumb:hover img { transform: scale(1.04); }
.gp-room-gallery__thumb.is-active { border: 4px solid var(--gp-navy); }
.gp-room-gallery__fade { position: absolute; top: 610px; width: 13.333%; height: 120px; pointer-events: none; }
.gp-room-gallery__fade--left { left: 0; background: linear-gradient(to left, rgba(255, 255, 255, 0), #fff); }
.gp-room-gallery__fade--right { right: 0; background: linear-gradient(to left, #fff, rgba(255, 255, 255, 0)); }
.gp-room-gallery__arrows {
	position: absolute;
	top: 638px;
	left: 50%;
	display: flex;
	justify-content: space-between;
	width: min(1348px, 100% - 24px);
	transform: translateX(-50%);
	pointer-events: none;
}
/* Active = yellow with a navy arrow; at the first / last photo the arrow turns white with a grey arrow. */
.gp-room-gallery__arrow { display: flex; padding: 20px; border: 0; border-radius: 60px; background: var(--gp-primary); color: var(--gp-navy); cursor: pointer; pointer-events: auto; transition: transform .2s, background-color .2s, color .2s; }
.gp-room-gallery__arrow:not(:disabled):hover { transform: scale(1.06); }
.gp-room-gallery__arrow:disabled { background: #fff; color: #6b6b6b; cursor: default; }

/* Details + booking card (1148:10244) */
.gp-room-details { display: flex; align-items: flex-start; justify-content: center; gap: 80px; padding: 80px 0; background: #fff; }
.gp-room-info { display: flex; flex-direction: column; gap: 32px; width: 646px; }
.gp-room-info__block { display: flex; flex-direction: column; gap: 16px; }
.gp-room-info__block--concept { gap: 12px; width: 579px; max-width: 100%; }
.gp-room-info__block--list { width: 251px; }
.gp-room-info__block--amenities { gap: 24px; }
.gp-room-info__head { display: flex; flex-direction: column; gap: 12px; }
.gp-room-info__title { margin: 0; color: var(--gp-navy); font-weight: 600; font-size: 18px; line-height: 23px; }
.gp-room-info__text { color: var(--gp-text); font-size: 14px; line-height: 1.6; }
.gp-room-info__text--intro { width: 512px; max-width: 100%; }

.gp-room-info__specs { display: flex; align-items: center; gap: 132px; }
.gp-room-info__specs ul { display: flex; flex-direction: column; gap: 16px; margin: 0; padding: 0; list-style: none; }
.gp-room-info__specs li { display: flex; align-items: center; gap: 6px; color: var(--gp-text); font-size: 14px; line-height: 18px; white-space: nowrap; }
.gp-room-info__specs li > span { overflow: hidden; max-width: 237px; text-overflow: ellipsis; }
.gp-room-info__specs strong { color: var(--gp-navy); font-weight: 400; }

.gp-dot-list { display: flex; flex-direction: column; gap: 8px; margin: 0; padding: 0; list-style: none; }
.gp-dot-list li { display: flex; align-items: center; gap: 8px; color: var(--gp-text); font-size: 14px; line-height: 18px; white-space: nowrap; }
.gp-dot-list li::before { content: ""; flex: none; width: 4px; height: 4px; border-radius: 50%; background: var(--gp-primary); }

.gp-room-info__groups { display: grid; grid-template-columns: 253px max-content; gap: 24px 100px; }
.gp-room-info__group { display: flex; flex-direction: column; gap: 16px; }
.gp-room-info__group h3 { margin: 0; color: var(--gp-navy); font-weight: 600; font-size: 14px; line-height: 18px; }

/* Booking card (1148:10358) */
.gp-booking-card {
	position: sticky;
	top: 100px;
	display: flex;
	flex: none;
	flex-direction: column;
	align-items: center;
	gap: 12px;
	width: 305px;
	padding: 12px;
	border-radius: 12px;
	background: var(--gp-sand-light);
	--gp-ink-2: #4f4f4f;
}
.gp-booking-card__main { display: flex; flex-direction: column; gap: 24px; width: 100%; }
.gp-booking-card__top { display: flex; flex-direction: column; gap: 30px; }
.gp-booking-card__rate { display: flex; flex-direction: column; gap: 6px; width: 119px; }
.gp-booking-card__price { display: flex; flex-direction: column; gap: 4px; line-height: normal; }
.gp-booking-card__price p { display: flex; gap: 8px; white-space: nowrap; }
.gp-booking-card__price strong { color: var(--gp-navy); font-weight: 600; font-size: 14px; white-space: pre; }
.gp-booking-card__unit { color: var(--gp-text); font-size: 12px; }
.gp-booking-card__label { color: var(--gp-ink-2); font-size: 12px; line-height: normal; }
.gp-booking-card__label--lh { line-height: 1.6; }
.gp-booking-card__dates { color: var(--gp-text); font-size: 11px; line-height: 1.4; }
.gp-booking-card.is-loading [data-card-night],
.gp-booking-card.is-loading [data-card-unit],
.gp-booking-card.is-loading [data-subtotal],
.gp-booking-card.is-loading [data-total] { opacity: .45; transition: opacity .2s; }

.gp-counter {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 8px 12px;
	border: 1px solid rgba(26, 26, 26, .15);
	border-radius: 80px;
}
.gp-counter button { display: flex; padding: 0; border: 0; background: none; }
.gp-counter button:disabled { opacity: .35; cursor: default; }
.gp-counter__value { color: var(--gp-navy); font-weight: 600; font-size: 12px; line-height: 1.6; white-space: nowrap; }

.gp-booking-card__lines { display: flex; flex-direction: column; gap: 12px; margin: 0; font-size: 12px; line-height: 1.6; white-space: nowrap; }
.gp-booking-card__lines > div { display: flex; align-items: center; justify-content: space-between; }
.gp-booking-card__lines dt { color: var(--gp-ink-2); }
.gp-booking-card__lines dd { margin: 0; color: var(--gp-navy); }
.gp-booking-card__total { padding-top: 12px; border-top: 1px solid rgba(26, 26, 26, .15); }
.gp-booking-card__was { margin-right: 6px; color: var(--gp-text); font-weight: 400; }
.gp-booking-card__note { width: 230px; color: var(--gp-ink-2); font-size: 12px; line-height: 1.6; text-align: center; }

@media (max-width: 1100px) {
	.gp-room-details { flex-direction: column; align-items: center; gap: 48px; padding-inline: 24px; }
	.gp-room-info { width: min(646px, 100%); }
	.gp-booking-card { position: static; }
}

/* Mobile — Figma "Stays/ overview" 402px (1420:14189) */
@media (max-width: 600px) {
	.gp-page-hero--room .gp-page-hero__title { white-space: normal; line-height: 44px; }
	.gp-page-hero--room .gp-page-hero__content { gap: 18px; }
	.gp-page-hero--room .gp-page-hero__content { top: 224px; }
	.gp-page-hero--room .gp-page-hero__shade { opacity: .7; }
	.gp-page-hero--room .gp-page-hero__text { width: auto; }

	.gp-room-gallery { padding: 40px 0 0; }
	.gp-room-gallery__inner { width: calc(100% - 40px); gap: 18px; }
	.gp-room-gallery__main { height: 248px; border-radius: 16px; }
	/* Figma: highlighted thumbnail sits at x = 172 (strip starts at the 20px page margin). */
	.gp-room-gallery__strip { align-self: flex-start; justify-content: flex-start; gap: 12px; width: max-content; margin-left: calc(152px - var(--active, 0) * 72px); }
	.gp-room-gallery__thumb { width: 60px; height: 43px; border-radius: 8px; }
	.gp-room-gallery__thumb.is-active { border-width: 1px; }
	.gp-room-gallery__fade,
	.gp-room-gallery__arrows { display: none; }

	.gp-room-details { gap: 40px; padding: 40px 20px 0; }
	.gp-booking-card { order: -1; width: 100%; padding: 13px; }
	.gp-booking-card__note { width: 270px; }
	.gp-room-info { width: 100%; gap: 24px; }
	.gp-room-info__title { font-size: 18px; line-height: 23px; }
	.gp-room-info__specs { flex-direction: column; align-items: flex-start; gap: 16px; }
	.gp-room-info__block--concept { width: auto; }
	.gp-room-info__groups { grid-template-columns: 1fr; }
}
.gp-room-gallery__picture { display: block; width: 100%; }

/* Wide layout: follow the 1280px container */
@media (min-width: 1181px) {
	.gp-room-gallery__inner { width: min(var(--gp-container), 100% - 48px); }
	.gp-room-gallery__main { height: 480px; }
	.gp-room-details { width: min(var(--gp-container), 100% - 48px); margin-inline: auto; justify-content: space-between; gap: 64px; }
	.gp-room-info { flex: 1 1 0; width: auto; max-width: 760px; }
}

/* Reserve panel (opens from "Reserve this Suite") ----------------------------- */
.gp-reserve { padding: 0 0 80px; background: #fff; scroll-margin-top: 96px; }
.gp-reserve[hidden] { display: none; }
.gp-reserve__inner { width: min(var(--gp-container), 100% - 48px); margin-inline: auto; padding: 32px; background: var(--gp-b20); border: 1px solid var(--gp-stroke); border-radius: 20px; }
.gp-reserve__head h2 { margin: 0; font: 700 28px/1.2 var(--gp-font-head); color: var(--gp-navy); }
.gp-reserve__head p { margin: 4px 0 20px; color: var(--gp-text); }
.gp-reserve__stay { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
.gp-reserve__hint { margin: 8px 0 20px; font-size: 13px; color: var(--gp-text); }
.gp-reserve .gp-book__field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.gp-reserve .gp-book__field > span { font-size: 13px; font-weight: 600; color: var(--gp-navy); }
.gp-reserve input:not([type="radio"]):not([type="checkbox"]),
.gp-reserve select,
.gp-reserve textarea { width: 100%; height: 48px; padding: 0 12px; border: 1px solid var(--gp-stroke); border-radius: 10px; background: #fff; font: 400 16px var(--gp-font-body); color: var(--gp-black); }
.gp-reserve textarea { height: auto; padding: 12px; resize: vertical; }
.gp-reserve input[readonly] { background: var(--gp-b30); color: var(--gp-text); }
.gp-reserve input:focus, .gp-reserve select:focus, .gp-reserve textarea:focus { outline: 2px solid var(--gp-primary); border-color: var(--gp-navy); }

.gp-reserve .gp-book__status { margin-bottom: 14px; padding: 12px 16px; border-radius: 10px; background: #fff; border: 1px solid var(--gp-stroke); color: var(--gp-navy); }
.gp-reserve .gp-book__status.is-error { border-color: #d64545; color: #a12525; }
.gp-reserve [hidden] { display: none !important; }

.gp-rate { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 16px 18px; margin-bottom: 10px; background: #fff; border: 1px solid var(--gp-stroke); border-radius: 14px; cursor: pointer; }
.gp-rate.is-selected { border-color: var(--gp-navy); box-shadow: 0 0 0 2px var(--gp-navy); }
.gp-rate input { width: 18px; height: 18px; accent-color: var(--gp-navy); }
.gp-rate__body { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.gp-rate__body strong { font: 700 17px/1.3 var(--gp-font-head); color: var(--gp-navy); }
.gp-rate__body em { margin-left: 6px; padding: 2px 8px; border-radius: 99px; background: var(--gp-primary); color: var(--gp-navy); font-size: 12px; font-style: normal; }
.gp-rate__meta { font-size: 14px; color: var(--gp-text); }
.gp-rate__meta .is-ok { color: #1d6b34; }
.gp-rate__meta .is-strict { color: #a12525; }
.gp-rate__price { display: flex; flex-direction: column; align-items: flex-end; text-align: right; }
.gp-rate__price strong { font: 700 20px var(--gp-font-head); color: var(--gp-navy); }
.gp-rate__price span { font-size: 13px; color: var(--gp-text); }
.gp-rate__price .gp-rate__was { display: flex; align-items: center; gap: 6px; }
.gp-rate__was s { color: var(--gp-text); }
.gp-rate__was b { padding: 2px 6px; border-radius: 4px; background: #e7f6ec; color: #17803d; font-weight: 600; font-size: 12px; }

.gp-reserve__checkout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 24px; align-items: start; margin-top: 18px; }
.gp-reserve__summary { order: 2; padding: 22px; background: #fff; border: 1px solid var(--gp-stroke); border-radius: 14px; }
.gp-reserve__summary h3 { margin: 0 0 10px; font: 700 18px var(--gp-font-head); color: var(--gp-navy); }
.gp-reserve__steps { order: 1; min-width: 0; }
.gp-reserve .gp-book__panel { padding: 22px; margin-bottom: 14px; background: #fff; border: 1px solid var(--gp-stroke); border-radius: 14px; }
.gp-reserve .gp-book__panel h2 { margin: 0 0 10px; font: 700 20px/1.3 var(--gp-font-head); color: var(--gp-navy); }
/* Guest booking confirmed (booking.js showGuestDone). */
.gp-reserve .gp-book__done { border-color: #22a45d; }
.gp-book__done-ref { margin: 0 0 12px; font-size: 16px; color: var(--gp-navy); }
.gp-book__done-list { display: grid; gap: 6px; margin: 0 0 14px; }
.gp-book__done-list div { display: flex; flex-wrap: wrap; gap: 4px 12px; }
.gp-book__done-list dt { min-width: 64px; color: var(--gp-text); }
.gp-book__done-list dd { margin: 0; color: var(--gp-navy); font-weight: 600; }
.gp-book__done p { margin: 0 0 10px; color: var(--gp-text); }
.gp-book__done .gp-btn { margin-top: 6px; }
.gp-reserve .gp-book__panel p { margin: 0 0 12px; color: var(--gp-text); line-height: 1.6; }
.gp-reserve .gp-book__others { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.gp-reserve .gp-book__others li { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 12px; padding: 12px 14px; border: 1px solid var(--gp-stroke); border-radius: 10px; }
.gp-reserve .gp-book__others a { font-weight: 600; color: var(--gp-navy); text-decoration: underline; }
.gp-reserve .gp-book__others span { color: var(--gp-text); font-size: 14px; }
.gp-reserve .gp-book__promo { margin: 0 0 14px; padding: 12px 14px; border-radius: 10px; font-size: 14px; line-height: 1.5; }
.gp-reserve .gp-book__promo.is-ok { background: #e8f5ec; color: #1f6b35; }
.gp-reserve .gp-book__promo.is-bad { background: #fff6e0; color: #7a5500; }
.gp-reserve .gp-book__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-bottom: 14px; }
.gp-reserve .gp-book__field--full { grid-column: 1 / -1; }
.gp-reserve .gp-book__terms { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 16px; font-size: 14px; color: var(--gp-text); }
.gp-reserve .gp-book__terms input { width: 18px; height: 18px; margin-top: 2px; flex: none; }
.gp-reserve .gp-book__terms a { color: var(--gp-navy); text-decoration: underline; }
.gp-reserve .gp-book__alert { padding: 12px 14px; border-radius: 10px; background: #fdecec; color: #a12525 !important; font-size: 14px; }
.gp-reserve .gp-book__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.gp-reserve .gp-book__hold strong { color: var(--gp-navy); font-variant-numeric: tabular-nums; }
.gp-reserve .gp-book__paypal { max-width: 460px; min-height: 60px; }
.gp-reserve .gp-book__paypal.is-busy { opacity: .5; pointer-events: none; }
.gp-reserve .gp-book__fine { font-size: 13px !important; }
.gp-reserve .gp-book__points { padding: 10px 14px; border-radius: 10px; background: #fff7e0; color: var(--gp-navy) !important; font-size: 14px; font-weight: 500; }
.gp-reserve .gp-book__test { margin: 0 0 16px; padding: 14px 16px; border: 1px dashed #c9a227; border-radius: 12px; background: #fffbf0; }
.gp-reserve .gp-book__test p { margin: 0 0 12px; font-size: 14px; }
.gp-reserve .gp-book__test[hidden], .gp-reserve .gp-book__points[hidden] { display: none; }
.gp-reserve .gp-book__link { padding: 0; border: 0; background: none; color: var(--gp-navy); text-decoration: underline; cursor: pointer; font: 500 14px var(--gp-font-body); }
.gp-sum__room { margin: 0 0 12px; font-weight: 700; color: var(--gp-navy); }
.gp-reserve__summary dl { margin: 0 0 12px; }
.gp-reserve__summary dl div { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; border-bottom: 1px solid var(--gp-stroke); font-size: 14px; }
.gp-reserve__summary dt { color: var(--gp-text); }
.gp-reserve__summary dd { margin: 0; color: var(--gp-navy); font-weight: 600; text-align: right; }
.gp-sum__total { display: flex; justify-content: space-between; align-items: baseline; margin: 0 0 8px; color: var(--gp-navy); font-weight: 600; }
.gp-sum__total strong { font: 700 22px var(--gp-font-head); }
.gp-sum__note { margin: 0; font-size: 13px; color: var(--gp-text); line-height: 1.5; }
.gp-reserve__summary .gp-sum__save dt, .gp-reserve__summary .gp-sum__save dd { color: #17803d; }
.gp-reserve__summary .gp-sum__nights { flex-direction: column; gap: 6px; }
.gp-sum__nights ul { margin: 0; padding: 0; list-style: none; font-weight: 500; }
.gp-sum__nights li { display: flex; justify-content: space-between; gap: 12px; padding: 2px 0; }
.gp-sum__nights li span:first-child { color: var(--gp-text); font-weight: 400; }

@media (max-width: 1080px) {
	.gp-reserve__stay { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.gp-reserve__checkout { grid-template-columns: minmax(0, 1fr); }
	.gp-reserve__summary { order: 0; }
}
@media (max-width: 720px) {
	.gp-reserve { padding-bottom: 48px; }
	.gp-reserve__inner { width: calc(100% - 40px); padding: 20px 16px; }
	.gp-reserve__head h2 { font-size: 22px; }
	.gp-reserve__stay { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.gp-rate { grid-template-columns: auto minmax(0, 1fr); }
	.gp-rate__price { grid-column: 2; align-items: flex-start; text-align: left; }
	.gp-reserve .gp-book__grid { grid-template-columns: minmax(0, 1fr); }
}

.gp-sum__approx { margin: -4px 0 10px; font-size: 13px; color: var(--gp-text); text-align: right; }
