/* GP House — components */
/* Buttons ----------------------------------------------------------------- */
.gp-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border: 0;
	border-radius: 8px;
	font-family: var(--gp-font-body);
	font-weight: 500;
	font-size: 16px;
	line-height: 1.25;
	white-space: nowrap;
	text-transform: capitalize;
	transition: background-color .2s, color .2s, border-color .2s, transform .2s;
}
.gp-btn--sm { padding: 10px 24px; }
.gp-btn--md { padding: 14px 24px; }
.gp-btn--lg { padding: 16px 28px; }
.gp-btn--xs { padding: 10px 16px; font-size: 14px; }
.gp-btn--tab { padding: 12px 20px; }
.gp-btn--card { width: 100%; padding: 10px 16px; font-size: 14px; }

.gp-btn--primary { background: var(--gp-primary); color: var(--gp-black); }
.gp-btn--primary:hover { background: var(--gp-primary-hover); }
.gp-btn--navy { background: var(--gp-navy); color: #fff; }
.gp-btn--navy:hover { background: var(--gp-navy-2); }
.gp-btn--outline { background: transparent; border: 1px solid var(--gp-stroke); color: var(--gp-black); }
.gp-btn--outline:hover { background: var(--gp-b20); }
.gp-btn--navy-text { color: var(--gp-navy); }
.gp-btn--shadow { filter: drop-shadow(3px 4px 1.5px rgba(0, 0, 0, .15)); }

/* Chips & tabs ------------------------------------------------------------ */
.gp-chip {
	position: absolute;
	left: 8px;
	top: 8px;
	display: inline-flex;
	align-items: center;
	padding: 6px 10px;
	border-radius: 8px;
	background: #fff;
	color: var(--gp-navy);
	font-size: 16px;
	line-height: 1.25;
	white-space: nowrap;
}
/* First-booking welcome code on card photos, under the location chip (tap = copy; inc/booking.php gp_first_offer_chip). */
.gp-coupon {
	position: absolute;
	top: 54px; /* under the location chip and clear of the heart button */
	left: 8px;
	z-index: 2;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	max-width: calc(100% - 16px);
	padding: 5px 8px 5px 7px;
	border: 0;
	border-radius: 8px;
	background: var(--gp-primary);
	box-shadow: 0 2px 8px rgba(1, 16, 65, .18);
	color: var(--gp-navy);
	font: inherit;
	font-size: 13px;
	line-height: 1.3;
	white-space: nowrap;
	cursor: copy;
	transition: transform .2s;
}
.gp-coupon:hover { transform: translateY(-1px); }
.gp-coupon:focus-visible { outline: 2px solid var(--gp-navy); outline-offset: 2px; }
.gp-coupon__text { overflow: hidden; text-overflow: ellipsis; }
.gp-coupon__text strong { font-weight: 700; }
.gp-coupon__code { padding: 1px 6px; border: 1px dashed var(--gp-navy); border-radius: 5px; background: rgba(255, 255, 255, .55); font-weight: 700; letter-spacing: .04em; }
.gp-coupon.is-copied .gp-coupon__code { border-style: solid; background: #fff; }
.gp-chip--pill { border-radius: 50px; color: var(--gp-black); }
.gp-chip--sand { position: static; background: var(--gp-sand); }

.gp-tabs {
	display: inline-flex;
	gap: 4px;
	padding: 2px;
	border-radius: 12px;
	background: var(--gp-sand-light);
}
.gp-tabs__tab {
	padding: 12px 20px;
	border: 0;
	border-radius: 8px;
	background: transparent;
	color: var(--gp-navy);
	font-weight: 500;
	font-size: 16px;
	line-height: 1.25;
	white-space: nowrap;
	text-transform: capitalize;
	transition: background-color .2s, color .2s;
}
.gp-tabs__tab.is-active { background: #fff; }
.gp-tabs--white { background: #fff; }
.gp-tabs--white .gp-tabs__tab.is-active { background: var(--gp-navy); color: #fff; }

.gp-icon-box {
	display: flex;
	flex: none;
	align-items: center;
	justify-content: center;
	width: 62px;
	height: 62px;
	border: 1px solid rgba(104, 119, 164, .5);
	border-radius: 12px;
	background: var(--gp-glass-box);
}
.gp-icon-box--sm { width: 40px; height: 40px; }

.gp-section-head {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 24px;
}
.gp-section-head__actions { display: flex; align-items: center; gap: 16px; }

/* Cards & carousel (shared) ------------------------------------------------ */
.gp-dest-card {
	position: relative;
	display: block;
	flex: 0 0 360px;
	height: 580px;
	overflow: hidden;
	border-radius: 20px;
	color: #fff;
}
.gp-dest-card > img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.gp-dest-card:hover > img { transform: scale(1.04); }
.gp-dest-card:hover .gp-dest-card__go { transform: rotate(45deg); }
.gp-carousel { position: relative; margin-top: 72px; }
.gp-stay-card {
	display: flex;
	flex: 0 0 360px;
	flex-direction: column;
	gap: 16px;
	padding: 14px;
	border: 1px solid var(--gp-stroke);
	border-radius: 24px;
	background: #fff;
}
.gp-stay-card:hover .gp-stay-card__media > a img { transform: scale(1.04); }
.gp-fav {
	position: absolute;
	top: 8px;
	right: 8px;
	display: flex;
	padding: 10px;
	border: 0;
	border-radius: 60px;
	background: #fff;
}
.gp-fav.is-active .gp-fav__on { display: block; }
.gp-testimonial {
	display: flex;
	flex-direction: column;
	gap: 28px;
	margin: 0;
	padding: 28px;
	border: 1px solid var(--gp-stroke);
	border-radius: 32px;
	background: #fff;
}
.gp-testimonial blockquote {
	margin: 0;
	padding-top: 28px;
	border-top: 1px solid var(--gp-stroke);
	color: var(--gp-text);
	font-family: var(--gp-font-head);
	font-size: 16px;
	line-height: 19.2px;
	font-variation-settings: normal;
}
.gp-testimonial:nth-child(2) blockquote {
	border-top: 0;
	background: linear-gradient(to right, var(--gp-stroke) 50%, transparent 0) top left / 3.974px 1px repeat-x;
}
.gp-pills { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.gp-story {
	position: sticky;
	top: calc(100px + var(--i) * 36px);
	height: 420px;
	overflow: hidden;
	border-radius: 16px;
	transform-origin: 50% 0;
	will-change: transform;
}
.gp-story[hidden] { display: none; }
.gp-chip--story { top: 20px; left: 20px; }
.gp-meta-chip {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	padding: 4px 6px 4px 4px;
	border-radius: 100px;
	background: var(--gp-sand);
	color: var(--gp-navy);
	font-size: 10px;
	line-height: 1.6;
	white-space: nowrap;
}
.gp-link-arrow {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	color: var(--gp-navy);
	font-weight: 500;
	font-size: 16px;
	line-height: normal;
	white-space: nowrap;
}
.gp-link-arrow .gp-icon { transition: transform .2s; }
.gp-link-arrow:hover .gp-icon { transform: translateX(3px); }

/* Cards & carousel (shared) ------------------------------------------------ */
.gp-dest-card__go {
	position: absolute;
	top: 24px;
	right: 24px;
	display: flex;
	padding: 12px;
	border-radius: 60px;
	background: var(--gp-primary);
	transition: transform .2s;
}
.gp-dest-card__shade {
	position: absolute;
	top: 486px;
	left: -115px;
	width: 462px;
	height: 180px;
	background: var(--gp-navy);
	filter: blur(92px);
}
.gp-dest-card__text {
	position: absolute;
	bottom: 24px;
	left: 24px;
	display: flex;
	flex-direction: column;
	gap: 8px;
	line-height: normal;
	white-space: nowrap;
}
.gp-dest-card__text strong {
	font-family: var(--gp-font-head);
	font-weight: 700;
	font-size: 24px;
	font-variation-settings: normal;
}
.gp-dest-card__text span { font-size: 16px; }
.gp-carousel__track { display: flex; gap: 24px; transition: transform .5s cubic-bezier(.2, .7, .2, 1); }
.gp-carousel__arrow {
	position: absolute;
	top: 217px;
	z-index: 2;
	display: flex;
	padding: 16px;
	border: 0;
	border-radius: 40px;
	background: #fff;
	filter: var(--gp-shadow-arrow);
	transition: opacity .2s, transform .2s;
}
.gp-carousel__arrow:hover { transform: scale(1.06); }
.gp-carousel__arrow:disabled { cursor: default; transform: none; }
.gp-carousel__arrow--prev { left: -80px; }
.gp-carousel__arrow--next { right: -80px; }
.gp-stay-card__media { position: relative; height: 240px; overflow: hidden; border-radius: 16px; }
/* Photo sliders: sideways swipes change the photo (main.js onSwipe); up/down still scrolls the page. */
.gp-stay-card__media[data-card-slider], .gp-room__media[data-gallery] { touch-action: pan-y; }
.gp-stay-card__media > a,
.gp-stay-card__media > a img { display: block; width: 100%; height: 100%; }
.gp-stay-card__media > a img { object-fit: cover; transition: transform .6s ease; }
.gp-stay-card__track { display: flex; width: 100%; height: 100%; transition: transform .45s cubic-bezier(.2, .7, .2, 1); }
.gp-stay-card__track > img { flex: 0 0 100%; min-width: 0; }
.gp-stay-card:hover .gp-stay-card__track > img[aria-hidden="true"] { transform: none; }
/* Photo dots (Figma: 6/5/5/4/3px, 6px apart, fading with distance from the shown photo) */
.gp-stay-card__dots { position: absolute; bottom: 12px; left: calc(50% + .5px); z-index: 1; display: flex; align-items: center; gap: 6px; height: 6px; transform: translateX(-50%); }
.gp-dot { position: relative; flex: none; width: 6px; height: 6px; padding: 0; border: 0; border-radius: 50%; background: #fff; cursor: pointer; transition: width .25s, height .25s, opacity .25s; }
.gp-dot::after { content: ""; position: absolute; inset: -9px -3px; }
.gp-dot[data-dist="1"], .gp-dot[data-dist="2"] { width: 5px; height: 5px; opacity: .8; }
.gp-dot[data-dist="3"] { width: 4px; height: 4px; opacity: .7; }
.gp-dot[data-dist="4"] { width: 3px; height: 3px; opacity: .6; }
.gp-dot:hover { opacity: 1; }
.gp-dot:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.gp-fav__on,
.gp-fav.is-active .gp-fav__off { display: none; }
.gp-stay-card__body { display: flex; flex: 1; flex-direction: column; justify-content: space-between; gap: 11px; min-width: 0; }
.gp-stay-card__text { display: flex; flex-direction: column; gap: 12px; height: 130px; }
.gp-stay-card__title {
	width: 277px;
	max-width: 100%;
	margin: 0;
	color: var(--gp-black);
	font-family: var(--gp-font-head);
	font-weight: 500;
	font-size: 25px;
	line-height: 1.4;
	font-variation-settings: normal;
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	overflow: hidden;
}
.gp-stay-card__desc {
	width: 277px;
	max-width: 100%;
	color: var(--gp-text);
	font-size: 16px;
	line-height: 1.5;
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	overflow: hidden;
}
.gp-stay-card__foot {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px 12px;
	flex-wrap: wrap;
	padding-top: 24px;
	border-top: 1px solid var(--gp-stroke);
}
.gp-stay-card__price { min-width: 0; color: var(--gp-black); font-size: 18px; line-height: normal; text-transform: none; white-space: nowrap; }
.gp-stay-card__price span { color: var(--gp-text); }
.gp-stay-card__price .gp-stay-card__from { font-size: 14px; }
.gp-testimonials {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 24px;
	margin-top: 118px;
}
.gp-testimonials__col { display: flex; flex: 0 1 360px; flex-direction: column; gap: 24px; min-width: 0; }
.gp-testimonials__track { display: flex; flex-direction: column; gap: inherit; }
/* Auto-scroll (main.js adds .is-marquee, the card copies and --gp-dur per column) */
.gp-testimonials.is-marquee { align-items: stretch; height: var(--gp-marquee-h, 735px); overflow: hidden; }
.gp-testimonials.is-marquee .gp-testimonials__col { overflow: hidden; }
.gp-testimonials.is-marquee .gp-testimonials__track { animation: gp-marquee-up var(--gp-dur, 30s) linear infinite; will-change: transform; }
.gp-testimonials.is-marquee [data-dir="down"] .gp-testimonials__track { animation-name: gp-marquee-down; }
.gp-testimonials.is-marquee:hover .gp-testimonials__track,
.gp-testimonials.is-marquee:focus-within .gp-testimonials__track { animation-play-state: paused; }
/* The track holds the cards twice (+ a trailing gap), so -50% is exactly one loop. */
@keyframes gp-marquee-up { from { transform: translateY(0); } to { transform: translateY(-50%); } }
@keyframes gp-marquee-down { from { transform: translateY(-50%); } to { transform: translateY(0); } }
.gp-testimonial__who { display: flex; align-items: center; gap: 12px; }
.gp-testimonial__who img { width: 44px; height: 44px; border-radius: 50%; }
.gp-testimonial__who > span { display: flex; flex-direction: column; gap: 2px; white-space: nowrap; }
.gp-testimonial__who strong {
	color: var(--gp-navy);
	font-family: var(--gp-font-head);
	font-weight: 500;
	font-size: 16px;
	line-height: 19.2px;
	font-variation-settings: normal;
}
.gp-testimonial__who span span { color: var(--gp-text); font-size: 12px; line-height: 12px; }
.gp-testimonials__fade {
	position: absolute;
	left: 50%;
	width: var(--gp-container);
	max-width: 100%;
	height: 300px;
	transform: translateX(-50%);
	pointer-events: none;
}
.gp-testimonials__fade { z-index: 1; }
.gp-testimonials__fade--top { top: -.5px; background: linear-gradient(to bottom, #fff, rgba(255, 255, 255, 0)); }
.gp-testimonials__fade--bottom { bottom: -.5px; background: linear-gradient(to top, #fff, rgba(255, 255, 255, 0)); }
.gp-pills__tab {
	padding: 12px 20px;
	border: 0;
	border-radius: 8px;
	background: #364061;
	color: rgba(255, 255, 255, .8);
	font-weight: 500;
	font-size: 16px;
	line-height: 1.25;
	text-transform: capitalize;
	transition: background-color .2s, color .2s;
}
.gp-pills__tab:hover { background: #46507a; }
.gp-pills__tab.is-active { background: #fff; color: var(--gp-navy); }
.gp-story__image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.gp-story__word {
	position: absolute;
	top: 239px;
	left: 31px;
	background: linear-gradient(to bottom, rgba(255, 255, 255, .8) 38.105%, rgba(255, 251, 251, .1) 72.581%);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	font-family: var(--gp-font-head);
	font-weight: 500;
	font-size: 177.456px;
	line-height: 1.4;
	font-variation-settings: normal;
	white-space: nowrap;
	pointer-events: none;
}
.gp-story__card {
	position: absolute;
	top: 50%;
	right: 36px;
	display: flex;
	flex-direction: column;
	gap: 24px;
	width: 346px;
	padding: 24px;
	border-radius: 12px;
	background: #fff;
	transform: translateY(-50%);
}
.gp-story__main { display: flex; flex-direction: column; gap: 12px; }
.gp-story__meta { display: flex; gap: 8px; }
.gp-story__text { display: flex; flex-direction: column; gap: 16px; }
.gp-story__text h3 {
	width: 257px;
	max-width: 100%;
	margin: 0;
	color: var(--gp-navy);
	font-family: var(--gp-font-head);
	font-weight: 600;
	font-size: 20px;
	line-height: 1.4;
	font-variation-settings: normal;
}
.gp-story__text h3 a:hover { text-decoration: underline; text-underline-offset: 3px; }
.gp-story__text p {
	color: var(--gp-text);
	font-size: 12px;
	line-height: 1.6;
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 4;
	overflow: hidden;
}
.gp-story__foot {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding-top: 12px;
	border-top: 1px solid var(--gp-stroke);
}
.gp-story__author { display: flex; align-items: center; gap: 9px; }
.gp-story__author img { width: 38px; height: 38px; border-radius: 50%; }
.gp-story__author > span { display: flex; flex-direction: column; width: 85px; font-size: 12px; line-height: normal; white-space: nowrap; }
.gp-story__author strong { color: var(--gp-navy); font-weight: 600; }
.gp-story__author span span { color: var(--gp-text); }


/* Inner page hero (Figma "Hero /Destinations", 1440 × 562) ------------------- */
.gp-page-hero { position: relative; height: 562px; overflow: hidden; background: #fff; color: #fff; }
.gp-page-hero__image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.gp-page-hero__shade {
	position: absolute;
	top: 378px;
	left: -5.764%;
	width: 108.333%;
	height: 250px;
	background: rgba(1, 16, 65, .8);
	filter: blur(132px);
	pointer-events: none;
}
.gp-page-hero__content {
	position: absolute;
	top: 440px;
	left: 0;
	right: 0;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
}
.gp-page-hero__heading { display: flex; flex-direction: column; gap: 8px; width: 308px; max-width: 100%; }
.gp-page-hero__kicker { font-size: 18px; line-height: 1.5; }
.gp-page-hero__title {
	margin: 0;
	font-family: var(--gp-font-head);
	font-weight: 600;
	font-size: 39px;
	line-height: 1.2;
	font-variation-settings: normal;
}
.gp-page-hero__text { width: 266px; font-size: 14px; line-height: 1.6; }
/* Thai (GTranslate sets <html lang="th">): Thai titles are wider than the Figma 308px box; let them keep one line. */
html[lang="th"] .gp-page-hero__heading { width: auto; max-width: 62%; }

/* Filter dropdown (Figma: Location tab / Room / Bed: / Short by) ------------- */
.gp-select { position: relative; }
.gp-select__toggle {
	display: flex;
	align-items: center;
	gap: 4px;
	height: 44px;
	padding: 0 12px;
	border: 1px solid var(--gp-stroke);
	border-radius: 8px;
	background: #fff;
	color: var(--gp-navy);
	font-size: 14px;
	line-height: normal;
	white-space: nowrap;
	transition: border-color .2s;
}
.gp-select__toggle:hover,
.gp-select.is-set .gp-select__toggle { border-color: #b9bdca; }
.gp-select__toggle .gp-icon { transition: transform .2s; }
.gp-select.is-open .gp-select__toggle .gp-icon { transform: rotate(180deg); }
.gp-select--sort .gp-select__toggle { border-radius: 12px; }
.gp-select__menu {
	position: absolute;
	top: 50px;
	left: -1px;
	z-index: 30;
	display: flex;
	flex-direction: column;
	gap: 8px;
	min-width: 100%;
	margin: 0;
	padding: 12px;
	border-radius: 4px;
	background: #fff;
	color: var(--gp-navy);
	font-size: 14px;
	line-height: normal;
	white-space: nowrap;
	list-style: none;
	filter: var(--gp-shadow-float);
}
.gp-select__menu[hidden] { display: none; }
.gp-select__menu--right { left: auto; right: -1px; }
.gp-select__menu li { cursor: pointer; transition: color .15s; }
.gp-select__menu li:hover,
.gp-select__menu li:focus { color: var(--gp-text); outline: none; }
.gp-select__menu li[aria-selected="true"] { font-weight: 500; }

/* Filter chip (Figma "tab": navy when active) ------------------------------- */
.gp-filter-chip {
	height: 44px;
	padding: 0 19px;
	border: 1px solid var(--gp-stroke);
	border-radius: 8px;
	background: #fff;
	color: var(--gp-text);
	font-weight: 500;
	font-size: 16px;
	line-height: 1.25;
	white-space: nowrap;
	text-transform: capitalize;
	transition: background-color .2s, color .2s, border-color .2s;
}
.gp-filter-chip:hover { border-color: #b9bdca; }
.gp-filter-chip.is-active { padding: 0 20px; border: 0; background: var(--gp-navy); color: #fff; }

/* Room row (Figma "Frame 490" gallery + "Stays" card 320:1388) --------------- */
.gp-btn--room { flex: 1 0 0; height: 44px; padding: 0 22px; }
.gp-btn--room.gp-btn--outline { padding: 0 21px; }

.gp-room { display: flex; align-items: stretch; gap: 8px; min-height: 432px; }
/* Stay map (Figma "Explore Destinations/ map") ----------------------------- */
.gp-map {
	position: relative;
	height: 768px;
	margin-top: 72px;
	overflow: hidden;
}
.gp-map[hidden] { display: none; }
/* The real map (Leaflet + OpenStreetMap) fills the stage; tabs, zoom and the card panel sit on top. */
.gp-map__stage { position: absolute; inset: 0; }
.gp-map__canvas { position: absolute; inset: 0; z-index: 0; background: #e9eef0; }
.gp-map .gp-map__canvas { font: inherit; } /* Leaflet's own font otherwise (leaflet.css loads after this file). */
.gp-map__canvas .leaflet-tile-pane { filter: saturate(.8); }
.gp-map__canvas .leaflet-control-attribution { font-size: 10px; }
.gp-map__regions { position: absolute; top: 30px; left: 32px; z-index: 2; }
.gp-map__zoom {
	position: absolute;
	top: 642px;
	left: 32px;
	z-index: 2;
	display: flex;
	flex-direction: column;
	width: 48px;
	border-radius: 100px;
	background: #fff;
}
.gp-map__zoom button { display: flex; padding: 12px; border: 0; border-radius: 100px; background: #fff; }
.gp-map__zoom button:hover { background: var(--gp-b20); }
.gp-pin {
	position: absolute;
	left: var(--x);
	top: var(--y);
	z-index: 1;
	display: flex;
	flex-direction: column;
	align-items: center;
	padding: 0;
	border: 0;
	background: none;
	text-align: left;
	transform: translateX(-50%);
	transition: transform .2s;
}
.gp-pin:hover,
.gp-pin.is-active { z-index: 2; }
.gp-pin:hover { transform: translateX(-50%) translateY(-2px); }
.gp-pin__label {
	display: flex;
	align-items: center;
	gap: 4px;
	padding: 6px 12px 6px 6px;
	border-radius: 12px;
	background: #fff;
}
.gp-pin__label img { width: 32px; height: 32px; border-radius: 8px; object-fit: cover; }
.gp-pin__label > span { display: flex; flex-direction: column; line-height: normal; white-space: nowrap; }
.gp-pin__name { color: var(--gp-navy); font-size: 12px; }
.gp-pin__price { color: var(--gp-text); font-size: 10px; }
.gp-pin__tail { width: 18px; height: 8.515px; margin-bottom: 1.485px; }
.gp-pin__num {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 30px;
	height: 30px;
	border-radius: 70px;
	background: var(--gp-navy);
	color: #fff;
	font-weight: 500;
	font-size: 16px;
	line-height: 1;
}
/* Pins on the real map: the numbered dot marks the hotel's spot; only the selected (or hovered) pin shows its name
   and price, so hotels close together (both Sukhumvit 81 hotels) stay readable. */
.gp-map .gp-pin-marker { background: none; border: 0; }
.gp-map .gp-pin-marker .gp-pin { position: absolute; top: 0; left: 0; display: flex; cursor: pointer; transform: translate(-50%, calc(-100% + 15px)); pointer-events: none; }
.gp-map .gp-pin-marker .gp-pin__num,
.gp-map .gp-pin-marker .gp-pin:is(.is-active, :hover, :focus-visible) .gp-pin__label { pointer-events: auto; }
.gp-map .gp-pin-marker .gp-pin:hover { transform: translate(-50%, calc(-100% + 13px)); }
.gp-map .gp-pin-marker .gp-pin:not(.is-active):not(:hover):not(:focus-visible) :is(.gp-pin__label, .gp-pin__tail) { visibility: hidden; }
.gp-map .gp-pin-marker .gp-pin__num { box-shadow: 0 0 0 3px #fff, 0 2px 8px rgba(0, 0, 0, .25); }
.gp-map .gp-pin-marker .gp-pin.is-active .gp-pin__num { background: var(--gp-primary); color: var(--gp-navy); }
.gp-map .gp-pin-marker .gp-pin__label { box-shadow: 0 4px 14px rgba(0, 0, 0, .15); }
.gp-map__panel {
	position: absolute;
	top: 50%;
	right: 32px;
	z-index: 3;
	display: flex;
	gap: 16px;
	width: 789px;
	padding: 16px;
	border-radius: 24px;
	background: #fff;
	transform: translateY(-50%);
	filter: var(--gp-shadow-float);
}
.gp-map-card {
	display: flex;
	flex: none;
	flex-direction: column;
	width: 546px;
	padding: 2px;
	border: 1px solid var(--gp-stroke);
	border-radius: 24px;
	background: #fff;
}
.gp-map-card[hidden] { display: none; }
.gp-map-card__media { position: relative; height: 331px; overflow: hidden; border-radius: 20px; }
.gp-map-card__media img { width: 100%; height: 100%; object-fit: cover; }
.gp-map-card__media .gp-chip { top: 12px; left: 12px; }
.gp-map-card__body { display: flex; flex-direction: column; gap: 33px; padding: 16px; }
.gp-map-card__main { display: flex; flex-direction: column; gap: 24px; }
.gp-map-card__info { display: flex; flex-direction: column; gap: 16px; }
.gp-map-card__top { display: flex; align-items: center; justify-content: space-between; }
.gp-map-card__tagline { color: var(--gp-text); font-size: 14px; line-height: 1.6; }
.gp-map-card__titles { display: flex; flex-direction: column; gap: 12px; }
.gp-map-card__title {
	margin: 0;
	color: var(--gp-navy);
	font-family: var(--gp-font-head);
	font-weight: 600;
	font-size: 20px;
	line-height: 1.4;
	font-variation-settings: normal;
}
.gp-amenities {
	display: grid;
	grid-template-columns: 158px 168px;
	justify-content: space-between;
	row-gap: 10px;
	width: 411px;
	max-width: 100%;
	margin: 0;
	padding: 0;
	list-style: none;
}
.gp-amenities li {
	display: flex;
	align-items: center;
	gap: 4px;
	color: var(--gp-text);
	font-size: 12px;
	line-height: 1.6;
	white-space: nowrap;
}
.gp-map-card__desc { width: 504px; max-width: 100%; color: var(--gp-text); font-size: 14px; line-height: 1.6; }
.gp-map-card__foot { display: flex; align-items: center; justify-content: space-between; }
.gp-map-card__price { display: flex; align-items: center; gap: 12px; white-space: nowrap; }
.gp-map-card__price span { color: var(--gp-text); font-size: 12px; line-height: 1.6; }
.gp-map-card__price strong {
	color: var(--gp-navy);
	font-family: var(--gp-font-head);
	font-weight: 500;
	font-size: 20px;
	line-height: 1.4;
	font-variation-settings: normal;
}
.gp-map-card__cta { width: 148.5px; }
.gp-map__list { display: flex; flex-direction: column; gap: 16px; width: 195px; }
/* More than three stays: keep the Figma card size and let the list scroll (contain: size keeps
   the list from stretching the panel; it takes the height of the selected-stay card). */
@media (min-width: 861px) {
	.gp-map__list--scroll { flex: none; width: 201px; margin-right: -6px; padding-right: 6px; overflow-y: auto; contain: size; overscroll-behavior: contain; scroll-snap-type: y proximity; scrollbar-width: thin; scrollbar-color: #d5d7de transparent; }
	.gp-map__list--scroll .gp-mini-card { flex: 0 0 214px; scroll-snap-align: start; }
}
.gp-mini-card {
	display: flex;
	flex: 1 0 0;
	flex-direction: column;
	min-height: 0;
	padding: 0;
	overflow: hidden;
	border: 1px solid var(--gp-stroke);
	border-radius: 20px;
	background: #fff;
	text-align: left;
	transition: border-color .2s;
}
.gp-mini-card:hover { border-color: #b9bdca; }
.gp-mini-card.is-active { border-color: var(--gp-navy); }
.gp-mini-card img { width: 100%; height: 120px; flex: none; object-fit: cover; }
.gp-mini-card__body { display: flex; flex-direction: column; gap: 12px; padding: 12px; }
.gp-mini-card__price { color: var(--gp-black); font-size: 18px; line-height: normal; text-transform: none; }
.gp-mini-card__location { display: none; }
.gp-mini-card__name { color: var(--gp-black); font-size: 12px; line-height: 1.5; white-space: nowrap; }

.gp-title--h3 { font-size: 39px; }
.gp-page-hero--narrow-text .gp-page-hero__text { width: 253px; }
.gp-stay-card--region .gp-stay-card__title { width: auto; }
.gp-stay-card--region .gp-stay-card__title,
.gp-stay-card--region .gp-stay-card__price { color: var(--gp-navy); }
.gp-stay-card[hidden] { display: none; }

/* Hero pill switcher (destination page hero) -------------------------------- */
.gp-page-hero--tabs .gp-page-hero__content { top: 386px; }
.gp-page-hero--tabs .gp-page-hero__heading { width: auto; }
.gp-hero-tabs {
	display: inline-flex;
	align-self: flex-start;
	gap: 0;
	margin-top: 11px;
	padding: 4px;
	border: 1px solid rgba(255, 255, 255, .3);
	border-radius: 40px;
	background: rgba(255, 255, 255, .12);
	-webkit-backdrop-filter: blur(10px);
	backdrop-filter: blur(10px);
}
.gp-hero-tabs__tab { display: flex; flex: none; align-items: center; height: 42px; padding: 0 28px; white-space: nowrap; border-radius: 40px; color: #fff; font-weight: 500; font-size: 16px; line-height: 1.25; transition: background-color .2s, color .2s; }
.gp-hero-tabs__tab:hover { background: rgba(255, 255, 255, .15); }
.gp-hero-tabs__tab.is-active { background: #fff; color: var(--gp-navy); }

/* Article card (destination page "Articles & Journal") ---------------------- */
.gp-article-card { display: flex; flex: 0 0 360px; flex-direction: column; padding: 14px; border: 1px solid var(--gp-stroke); border-radius: 24px; background: #fff; }
.gp-article-card__media { position: relative; display: block; height: 240px; overflow: hidden; border-radius: 16px; }
.gp-article-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.gp-article-card:hover .gp-article-card__media img { transform: scale(1.04); }
.gp-article-card__media .gp-chip { font-size: 14px; }
.gp-article-card__body { display: flex; flex-direction: column; gap: 12px; padding: 16px 0 12px; border-bottom: 1px solid var(--gp-stroke); }
.gp-article-card__date { display: flex; align-items: center; gap: 8px; color: var(--gp-text); font-size: 14px; line-height: 18px; }
.gp-article-card__title { margin: -4px 0 0; color: var(--gp-navy); font-family: var(--gp-font-head); font-weight: 600; font-size: 20px; line-height: 1.4; font-variation-settings: normal; }
.gp-article-card__title a:hover { text-decoration: underline; text-underline-offset: 3px; }
.gp-article-card__excerpt { color: var(--gp-text); font-size: 13px; line-height: 22px; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }
.gp-article-card__link { margin-top: 22px; margin-bottom: 3px; }

/* FAQ accordion (Figma "FAQs") --------------------------------------------- */
.gp-faq { padding: 78px 0 44px; background: #fff; }
.gp-faq__list { width: 100%; margin: 44px auto 0; }
.gp-faq__item { border-bottom: 1px solid var(--gp-stroke); }
.gp-faq__q { margin: 0; }
.gp-faq__q button {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 24px;
	width: 100%;
	padding: 26px 0;
	border: 0;
	background: none;
	color: var(--gp-navy);
	font-family: var(--gp-font-head);
	font-weight: 400;
	font-size: 31px;
	line-height: 1.4;
	font-variation-settings: normal;
	text-align: left;
	text-transform: capitalize;
}
.gp-faq__item.is-open .gp-faq__q button { padding-bottom: 9px; }
.gp-faq__icon {
	position: relative;
	flex: none;
	width: 28px;
	height: 28px;
	margin-top: 8px;
	border: 1px solid var(--gp-stroke);
	border-radius: 50%;
	transition: transform .25s ease;
}
.gp-faq__icon::before,
.gp-faq__icon::after { content: ""; position: absolute; top: 50%; left: 50%; width: 10px; height: 1.5px; border-radius: 1px; background: var(--gp-navy); transform: translate(-50%, -50%); }
.gp-faq__icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.gp-faq__item.is-open .gp-faq__icon { transform: rotate(45deg); }
.gp-faq__a { padding-bottom: 28px; }
.gp-faq__a[hidden] { display: none; }
.gp-faq__a p { max-width: 840px; color: var(--gp-text); font-size: 20px; line-height: 28px; }

/* Hero whose image already contains the Figma shade */
.gp-page-hero--shaded .gp-page-hero__shade { display: none; }

/* Offer card (Figma: Offers "Card", 554 × 703) ------------------------------ */
.gp-offer-card { display: flex; flex-direction: column; min-height: 703px; padding: 16px 16px 15px; border: 1px solid var(--gp-stroke); border-radius: 24px; background: #fff; }
.gp-offer-card[hidden] { display: none; }
.gp-offer-card__media { position: relative; flex: none; height: 300px; overflow: hidden; border-radius: 16px; background: var(--gp-stroke); }
.gp-offer-card__media picture,
.gp-offer-card__media picture img { display: block; width: 100%; height: 100%; }
.gp-offer-card__media picture img { object-fit: cover; transition: transform .6s ease; }
.gp-offer-card:hover .gp-offer-card__media picture img { transform: scale(1.03); }
.gp-offer-card__code { position: absolute; top: 12px; left: 12px; display: inline-flex; align-items: center; gap: 8px; padding: 6px 10px; border-radius: 8px; background: #fff; color: var(--gp-navy); font-size: 14px; line-height: 18px; text-transform: uppercase; white-space: nowrap; }
.gp-offer-card__body { display: flex; flex: 1; flex-direction: column; }
.gp-offer-card__intro { display: flex; flex-direction: column; padding: 16px 0 15px; border-bottom: 1px solid var(--gp-stroke); }
.gp-offer-card__type { color: var(--gp-text); font-size: 14px; line-height: 22px; }
.gp-offer-card__title { margin: 5px 0 0; color: var(--gp-navy); font-family: var(--gp-font-head); font-weight: 600; font-size: 25px; line-height: 1.4; font-variation-settings: normal; }
.gp-offer-card__desc { margin-top: 12px; color: var(--gp-text); font-size: 16px; line-height: 24px; }
.gp-offer-card__list { display: flex; flex: 1; flex-direction: column; gap: 8px; min-height: 155px; margin: 0; padding: 17px 0 14px; border-bottom: 1px solid var(--gp-stroke); list-style: none; }
.gp-offer-card__list li { display: flex; align-items: center; gap: 8px; color: var(--gp-navy); font-size: 14px; line-height: 18px; }
.gp-offer-card__foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 25px; }
.gp-offer-card__foot .gp-btn { padding: 9px 16px; line-height: 18px; }
.gp-offer-card__save { color: var(--gp-navy); font-family: var(--gp-font-head); font-weight: 600; font-size: 20px; line-height: 1.4; font-variation-settings: normal; }

/* Promo band (Figma: Offers "GP House Direct Booking Guarantee", 1440 × 590) */
.gp-promo-band { display: flex; justify-content: center; min-height: 590px; padding: 163px 24px 0; background: var(--gp-navy) var(--bg, none) center / cover no-repeat; color: #fff; text-align: center; }
.gp-promo-band__inner { display: flex; flex-direction: column; align-items: center; width: min(560px, 100%); }
.gp-promo-band__title { width: 500px; max-width: 100%; margin: 0; font-family: var(--gp-font-head); font-weight: 600; font-size: 49px; line-height: 1.2; font-variation-settings: normal; }
.gp-promo-band__text { margin-top: 25px; color: rgba(255, 255, 255, .7); font-size: 16px; line-height: 1.6; }
.gp-promo-band__btn { margin-top: 24px; padding: 12px 22px; }

@media (min-width: 1181px) { .gp-room__card { height: 432px; } }
.gp-room[hidden] { display: none; }
.gp-room__media { position: relative; flex: 0 0 560px; overflow: hidden; border-radius: 20px; background: var(--gp-stroke); }
.gp-room__photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.gp-room__media .gp-chip { top: 12px; left: 12px; }
.gp-room__media .gp-coupon { top: 50px; left: 12px; }
.gp-room__media .gp-fav { top: 12px; right: 12px; }
/* Thumbnail carousel: a window of --n photos (main.js sets --n and --start) and the list slides one photo at a time.
   --tw/--th = photo, --taw/--tah = highlighted photo, --tgap = gap between photos, --ta = arrow size. */
.gp-room__thumbs {
	--n: 6;
	--start: 0;
	--tw: 59px;
	--th: 44px;
	--taw: 86px;
	--tah: 73px;
	--tgap: 13px;
	--ta: 32px;
	position: absolute;
	right: 0;
	bottom: 20px;
	left: 0;
	display: flex;
	justify-content: center;
}
.gp-room__thumbs-view { width: calc((var(--n) - 1) * (var(--tw) + var(--tgap)) + var(--taw)); max-width: 100%; overflow: hidden; overflow: clip; /* clip: focusing a photo out of view cannot scroll the strip */ }
.gp-room__thumbs-list {
	display: flex;
	align-items: flex-end;
	gap: var(--tgap);
	transform: translateX(calc(var(--start) * (var(--tw) + var(--tgap)) * -1));
	transition: transform .35s ease;
}
.gp-room__thumb {
	flex: none;
	width: var(--tw);
	height: var(--th);
	padding: 0;
	overflow: hidden;
	border: 0;
	border-radius: 8px;
	background: var(--gp-stroke);
	opacity: .9;
	transition: width .2s, height .2s, opacity .2s;
}
.gp-room__thumb:hover { opacity: 1; }
.gp-room__thumb img { width: 100%; height: 100%; object-fit: cover; }
.gp-room__thumb.is-active { width: var(--taw); height: var(--tah); border: 1px solid var(--gp-navy); border-radius: 12px; opacity: 1; }
/* Arrows step the highlighted photo: yellow = there is a photo that way, white = first / last photo. */
.gp-room__tarrow {
	position: absolute;
	bottom: calc((var(--th) - var(--ta)) / 2);
	z-index: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	width: var(--ta);
	height: var(--ta);
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: var(--gp-primary);
	color: var(--gp-navy);
	cursor: pointer;
	transition: transform .2s, background-color .2s, color .2s;
}
.gp-room__tarrow--prev { left: 10px; }
.gp-room__tarrow--next { right: 10px; }
.gp-room__tarrow:not(:disabled):hover { transform: scale(1.08); }
.gp-room__tarrow:disabled { background: #fff; color: #6b6b6b; cursor: default; }
@media (max-width: 1180px) {
	.gp-room__thumbs { --tgap: 8px; --taw: 59px; --tah: 44px; }
	/* Same-size photos here, so the highlighted one stands out by dimming the others. */
	.gp-room__thumb { opacity: .6; }
	.gp-room__thumb.is-active { border-width: 2px; border-radius: 8px; }
}

.gp-room__card {
	display: flex;
	flex: 0 0 560px;
	flex-direction: column;
	justify-content: space-between;
	gap: 16px;
	min-width: 0;
	padding: 24px;
	border: 1px solid var(--gp-stroke);
	border-radius: 24px;
	background: #fff;
}
.gp-room__body,
.gp-room__intro,
.gp-room__text { display: flex; flex-direction: column; }
.gp-room__body { gap: 16px; }
.gp-room__intro,
.gp-room__text { gap: 12px; }
.gp-room__title {
	margin: 0;
	color: var(--gp-navy);
	font-family: var(--gp-font-head);
	font-weight: 600;
	font-size: 20px;
	line-height: 1.4;
	font-variation-settings: normal;
}
.gp-room__title a:hover { text-decoration: underline; text-underline-offset: 3px; }
.gp-room__desc { width: 478px; max-width: 100%; color: var(--gp-text); font-size: 14px; line-height: 1.6; }
.gp-room__highlights,
.gp-room__specs { margin: 0; padding: 0 0 16px; border-bottom: 1px solid var(--gp-stroke); }
.gp-room__highlights { display: flex; flex-direction: column; gap: 8px; list-style: none; }
.gp-room__highlights li { display: flex; align-items: center; gap: 6px; height: 18px; color: var(--gp-navy); font-size: 14px; line-height: 18px; white-space: nowrap; }
.gp-room__specs { display: flex; align-items: center; gap: 160px; line-height: normal; }
.gp-room__spec-col { display: flex; flex-direction: column; gap: 8px; }
.gp-room__spec-col > div { display: flex; flex-direction: column; gap: 2px; }
.gp-room__specs dt { color: var(--gp-text); font-size: 12px; }
.gp-room__specs dd { margin: 0; color: var(--gp-navy); font-size: 14px; }
.gp-room__foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; }
.gp-room__price { display: flex; align-items: center; gap: 4px; line-height: normal; white-space: nowrap; }
.gp-room__price strong { color: var(--gp-navy); font-weight: 600; font-size: 16px; }
.gp-room__price span { color: var(--gp-text); font-size: 12px; }
/* "From" price, or the live price for the visitor's dates (main.js initRoomPrices) with the stay under it. */
.gp-room__pricing { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.gp-room__price[hidden], .gp-room__stay[hidden] { display: none; }
.gp-room__was { color: var(--gp-text); font-size: 12px; }
.gp-room__stay { margin: 0; color: var(--gp-text); font-size: 12px; line-height: 1.4; white-space: normal; }
.gp-room__stay.is-none { color: #b42318; }
.gp-room.is-pricing .gp-room__price { opacity: .5; }
.gp-room__actions { display: flex; gap: 12px; width: 247px; }

@media (max-width: 860px) {
	.gp-title { font-size: 36px; }
	.gp-section-head { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 600px) {
	.gp-container { width: calc(100% - 32px); }
	.gp-title { font-size: 30px; }
}

@media (max-width: 860px) {
	.gp-dest-card { flex-basis: min(360px, 80vw); scroll-snap-align: start; }
}

@media (max-width: 600px) {
	.gp-stay-card { flex-basis: min(320px, 86vw); scroll-snap-align: start; }
}

@media (max-width: 1360px) {
	.gp-carousel__arrow--prev { left: -28px; }
	.gp-carousel__arrow--next { right: -28px; }
}

@media (max-width: 1100px) {
	.gp-testimonials__fade { display: none; }
	/* Scrolling columns need the soft edges so cards do not cut off sharply. */
	.gp-testimonials.is-marquee { --gp-marquee-h: 720px; }
	.gp-testimonials.is-marquee .gp-testimonials__fade { display: block; width: 100%; height: 140px; }
}

@media (max-width: 860px) {
	.gp-testimonials { align-items: flex-start; }
	.gp-testimonials__col:nth-child(3) { display: none; }
	.gp-testimonials__col { flex: 1 1 0; }
}

@media (max-width: 600px) {
	.gp-carousel__arrow { display: none; }
	.gp-carousel__track { overflow-x: auto; scroll-snap-type: x mandatory; transform: none !important; }
}

/* Mobile — Figma 402px frames ---------------------------------------------- */
@media (max-width: 600px) {
	.gp-container { width: calc(100% - 40px); }
	.gp-kicker { font-size: 14px; line-height: 1.5; }
	.gp-title { font-size: 28px; line-height: 1.2; }

	.gp-section-head { flex-direction: row; align-items: flex-end; gap: 16px; }
	.gp-section-head:has(.gp-tabs) { flex-direction: column; align-items: stretch; gap: 15px; }
	.gp-section-head__actions { justify-content: space-between; flex-wrap: nowrap; }
	/* "View All" becomes a text link with a chevron on mobile. */
	.gp-section-head__actions .gp-btn--navy {
		gap: 6px;
		padding: 0;
		background: none;
		color: var(--gp-navy);
		font-size: 14px;
	}
	.gp-section-head__actions .gp-btn--navy::after {
		content: "";
		width: 16px;
		height: 16px;
		background: url("../img/icons/arrow-right-sm.svg") center / contain no-repeat;
	}
	.gp-section-head__actions .gp-btn--navy:hover { background: none; }

	.gp-carousel__track { overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; transform: none !important; }
	.gp-carousel__track::-webkit-scrollbar { display: none; }
	.gp-stay-card { flex: 0 0 350px; max-width: calc(100vw - 52px); gap: 16px; padding: 12px; scroll-snap-align: start; }
	.gp-stay-card__text { height: auto; }
	.gp-stay-card__foot { gap: 10px; padding-top: 13px; }
	.gp-stay-card__price { font-size: 16px; }
	.gp-stay-card__title { width: auto; font-size: 22px; -webkit-line-clamp: 1; }
	.gp-stay-card__desc { width: 277px; max-width: 100%; }
	.gp-stay-card .gp-btn { max-width: 100%; padding: 10px 14px; font-size: 13px; white-space: normal; text-align: center; }

	.gp-testimonial { gap: 10px; padding: 8px 9px 12px; border-radius: 12px; }
	.gp-testimonial__who { flex-direction: column; align-items: flex-start; gap: 8px; }
	.gp-testimonial__who img { width: 40px; height: 40px; }
	.gp-testimonial__who > span { white-space: normal; }
	.gp-testimonial__who strong { font-size: 14px; line-height: 1.4; }
	.gp-testimonial blockquote { padding-top: 10px; font-size: 12px; line-height: 1.5; }

	/* Home journal: the cards stack while scrolling on phones too (the header scrolls away, so they stick near the top). */
	.gp-story { top: calc(20px + var(--i) * 14px); display: block; height: 352px; }
	.gp-story__image { position: absolute; height: 100%; }
	.gp-story__word { top: auto; bottom: -24px; left: 50%; font-size: 64px; transform: translateX(-50%); }
	.gp-chip--story { display: none; }
	.gp-story__card { position: absolute; top: 24px; left: 16px; right: 16px; width: auto; gap: 22px; padding: 16px; border-radius: 12px; transform: none; }
	.gp-story__main { gap: 22px; }
	.gp-story__foot { padding-top: 16px; }
	.gp-story__text { gap: 16px; }
	.gp-story__text p { font-size: 13px; }
	.gp-story__text h3 { width: auto; font-size: 17px; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }
	.gp-story__author > span { width: auto; }
}

/* Mobile — Figma "Home / Stays" 402px (1420:6576) --------------------------- */
@media (max-width: 600px) {
	.gp-page-hero { height: 414px; }
	.gp-page-hero__image { top: -54px; height: calc(100% + 54px); }
	.gp-page-hero__shade { top: 250px; left: -20%; width: 140%; height: 220px; filter: blur(80px); }
	.gp-page-hero__content { top: 220px; width: calc(100% - 40px); flex-direction: column; align-items: flex-start; gap: 8px; }
	.gp-page-hero__heading { width: 100%; }
	html[lang="th"] .gp-page-hero__heading { width: 100%; max-width: 100%; }
	.gp-page-hero__kicker { font-size: 16px; }
	.gp-page-hero__title { font-size: 38px; }
	.gp-page-hero__text { width: 330px; max-width: 100%; }

	.gp-room { flex-direction: column; gap: 12px; min-height: 0; }
	.gp-room__media { flex: none; height: 250px; min-height: 0; }
	.gp-room__thumbs { --tw: 46px; --th: 35px; --taw: 46px; --tah: 35px; --tgap: 6px; --ta: 28px; bottom: 12px; }
	.gp-room__thumb,
	.gp-room__thumb.is-active { border-radius: 6px; }
	.gp-room__tarrow--prev { left: 8px; }
	.gp-room__tarrow--next { right: 8px; }
	.gp-room__card { flex: none; height: auto; }
	.gp-room__desc { width: auto; }
	.gp-room__specs { gap: 4px; }
	.gp-room__spec-col { flex: 0 0 calc(50% - 2px); min-width: 0; }
	.gp-room__foot { flex-direction: column; align-items: stretch; gap: 12px; }
	.gp-room__actions { width: 100%; }
}

@media (max-width: 1280px) {
	.gp-map { height: auto; overflow: visible; }
	/* The map shows above the card (it used to be hidden below 1281px). */
	.gp-map__stage { position: relative; width: min(var(--gp-container), 100% - 48px); height: 460px; margin: 0 auto 24px; }
	.gp-map__canvas { border-radius: 24px; overflow: hidden; }
	.gp-map__regions { top: 16px; left: 16px; }
	.gp-map__zoom { top: auto; bottom: 16px; left: 16px; }
	.gp-map__panel {
		position: static;
		width: min(var(--gp-container), 100% - 48px);
		margin-inline: auto;
		transform: none;
		filter: none;
		border: 1px solid var(--gp-stroke);
	}
	.gp-map-card { flex: 1 1 auto; width: auto; min-width: 0; }
}

@media (max-width: 860px) {
	.gp-map__panel { flex-direction: column; }
	.gp-map__list { flex-direction: row; width: 100%; overflow-x: auto; }
	.gp-mini-card { flex: 0 0 195px; }
	.gp-map-card__media { height: 240px; }
}

@media (max-width: 600px) {
	.gp-map__panel { width: calc(100% - 32px); }
	.gp-amenities { grid-template-columns: 1fr; }
	.gp-map-card__foot { flex-direction: column; align-items: stretch; gap: 16px; }
	.gp-map-card__cta { width: 100%; }
	.gp-map {
		position: relative;
		display: block;
		width: calc(100% - 40px);
		height: auto;
		margin: 96px auto 0;
		overflow: visible;
		overflow-x: clip;
	}
	.gp-map__stage { width: 100%; height: 370px; margin: 0; }
	.gp-map__canvas { border-radius: 16px; }
	.gp-map__zoom { bottom: 12px; left: 12px; width: 40px; }
	.gp-map__zoom button { padding: 8px; }
	.gp-map__regions {
		top: -72px;
		left: 0;
		right: 0;
		display: flex;
		background: var(--gp-sand-light);
		overflow-x: auto;
		scrollbar-width: none;
	}
	/* All four regions fit on one line on phones (the row still scrolls on very narrow screens). */
	.gp-map__regions .gp-tabs__tab { flex: 1 0 auto; padding: 12px 10px; }
	.gp-map__panel {
		position: static;
		flex-direction: column;
		gap: 16px;
		width: 100%;
		margin: 16px 0 0;
		padding: 0;
		border: 0;
		background: none;
		transform: none;
		filter: none;
	}
	.gp-map-card { width: 100%; padding: 12px; border-radius: 20px; }
	.gp-map-card__media { height: 250px; border-radius: 16px; }
	.gp-map-card__body { gap: 24px; padding: 10px 0 0; }
	.gp-map-card .gp-chip { padding: 4px 10px; font-size: 14px; }
	.gp-map-card__titles { gap: 16px; }
	.gp-amenities { grid-template-columns: 1fr; row-gap: 8px; width: 100%; }
	.gp-map-card__desc { width: auto; }
	.gp-map-card__foot { flex-direction: column; align-items: stretch; gap: 16px; }
	.gp-map-card__cta { width: 100%; }
	.gp-map__list { flex-direction: column; gap: 10px; width: 100%; overflow: visible; }
	.gp-mini-card { flex: none; flex-direction: row; align-items: center; gap: 12px; height: 104px; padding: 12px; border-radius: 16px; }
	.gp-mini-card img { width: 88px; height: 80px; border-radius: 8px; }
	.gp-mini-card__body { gap: 4px; padding: 0; }
	.gp-mini-card__location { display: block; order: 1; color: var(--gp-text); font-size: 12px; line-height: 1.5; }
	.gp-mini-card__name { order: 2; color: var(--gp-navy); font-family: var(--gp-font-head); font-weight: 600; font-size: 16px; line-height: 1.4; font-variation-settings: normal; }
	.gp-mini-card__price { order: 3; font-size: 14px; line-height: 1.5; }
}

/* Mobile — offer card & promo band (Figma "Hero /Offers" 402px, 1438:10794) */
@media (max-width: 600px) {
	.gp-offer-card { min-height: 0; padding: 12px; border-radius: 20px; }
	.gp-offer-card__media { height: 260px; border-radius: 12px; }
	.gp-offer-card__title { font-size: 20px; }
	.gp-offer-card__desc { margin-top: 12px; font-size: 14px; line-height: 22px; }
	.gp-offer-card__list { min-height: 147px; padding: 8px 0 12px; }
	.gp-offer-card__list li { font-size: 12px; line-height: 16px; }
	.gp-offer-card__foot { padding-top: 24px; }
	.gp-offer-card__foot .gp-btn { padding: 10px 16px; }

	.gp-promo-band { min-height: 380px; padding: 84px 20px 0; background-image: var(--bg-m, var(--bg, none)); }
	.gp-promo-band__inner { width: 100%; }
	.gp-promo-band__title { width: auto; font-size: 28px; }
	.gp-promo-band__text { max-width: 310px; margin-top: 14px; font-size: 13px; line-height: 22px; }
	.gp-promo-band__btn { align-self: stretch; margin-top: 23px; }
}

/* FAQ accordion — mobile (Figma 402px: Phuket 1435:8694, Club 1455:14304) */
@media (max-width: 600px) {
	.gp-faq__list { margin-top: 20px; }
	.gp-faq__q button { align-items: center; gap: 6px; padding: 14px 0; font-size: 16px; font-weight: 500; line-height: 24px; letter-spacing: -.25px; }
	.gp-faq__item.is-open .gp-faq__q button { align-items: flex-start; }
	.gp-faq__item.is-open .gp-faq__q button { padding-bottom: 14px; }
	.gp-faq__icon { width: 34px; height: 34px; margin-top: 2px; }
	.gp-faq__q button .gp-faq__icon { margin-top: 0; }
	.gp-faq__item.is-open .gp-faq__icon { margin-top: 2px; }
	.gp-faq__a { padding-bottom: 14px; }
	.gp-faq__a p { max-width: 330px; font-size: 14px; line-height: 22px; }
}

/* Light topic pills (navy when active). */
.gp-pills--light .gp-pills__tab { padding: 11px 19px; border: 1px solid var(--gp-stroke); background: #fff; color: var(--gp-text); }
.gp-pills--light .gp-pills__tab:hover { background: var(--gp-sand-light); color: var(--gp-navy); }
.gp-pills--light .gp-pills__tab.is-active { border-color: var(--gp-navy); background: var(--gp-navy); color: #fff; }

/* Range slider (Club calculator, Investor simulator) */
.gp-range { display: block; width: 100%; height: 18px; margin: 8px 0 0; background: transparent; -webkit-appearance: none; appearance: none; cursor: pointer; --pct: 21.4%; }
.gp-range:focus-visible { outline: 2px solid var(--gp-navy); outline-offset: 4px; border-radius: 10px; }
.gp-range::-webkit-slider-runnable-track { height: 10px; border-radius: 10px; background: linear-gradient(to right, var(--gp-primary) var(--pct), #fff var(--pct)); }
.gp-range::-moz-range-track { height: 10px; border-radius: 10px; background: #fff; }
.gp-range::-moz-range-progress { height: 10px; border-radius: 10px; background: var(--gp-primary); }
.gp-range::-webkit-slider-thumb { width: 18px; height: 18px; margin-top: -4px; border: 0; border-radius: 50%; background: var(--gp-primary); -webkit-appearance: none; appearance: none; }
.gp-range::-moz-range-thumb { width: 18px; height: 18px; border: 0; border-radius: 50%; background: var(--gp-primary); }

/* Inquiry / contact form (Investor Relations, Contact) */
.gp-inquiry { position: relative; flex: 1; padding: 24px; border-radius: 24px; background: var(--gp-sand-light); }
.gp-inquiry__trap { position: absolute; left: -9999px; }
.gp-inquiry__notice { margin-bottom: 14px; padding: 10px 14px; border-radius: 10px; font-size: 14px; text-transform: none; }
.gp-inquiry__notice.is-ok { background: #e6f5ec; color: #17653a; }
.gp-inquiry__notice.is-error { background: #fdebe8; color: #a1301f; }
.gp-inquiry__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 24px; }
.gp-inquiry__grid label,
.gp-inquiry__field { display: flex; flex-direction: column; gap: 9px; }
.gp-inquiry__grid span { color: var(--gp-navy); font-weight: 500; font-size: 14px; line-height: 18px; }
.gp-inquiry__grid input,
.gp-inquiry__grid textarea { width: 100%; height: 42px; padding: 0 13px; border: 1px solid transparent; border-radius: 12px; background: #fff; color: var(--gp-navy); font: inherit; font-size: 14px; text-transform: none; }
.gp-inquiry__grid textarea { height: 94px; padding: 10px 13px; resize: vertical; }
.gp-inquiry__grid input::placeholder,
.gp-inquiry__grid textarea::placeholder { color: var(--gp-text); }
.gp-inquiry__grid input:focus-visible,
.gp-inquiry__grid textarea:focus-visible { border-color: var(--gp-navy); outline: 0; }
.gp-inquiry__wide { grid-column: 1 / -1; }
.gp-select--field .gp-select__toggle { width: 100%; height: 42px; padding: 0 13px; border: 1px solid transparent; border-radius: 12px; background: #fff; color: var(--gp-navy); font-size: 14px; }
.gp-inquiry__submit { margin-top: 61px; padding: 12px 22px; font-size: 16px; }

/* Wide layout: grids follow the 1280px container (same edges as the header) ---- */
@media (min-width: 1181px) {
	.gp-room__media, .gp-room__card { flex: 1 1 0; }
	.gp-dest-grid .gp-dest-card { flex: 1 1 0; min-width: 0; }
	/* Three per row (24px gaps). One or two cards keep that width instead of stretching across the row. */
	.gp-dest-rooms__grid > *,
	.gp-dest-articles__grid > * { flex: 0 0 calc((100% - 48px) / 3); min-width: 0; }
	.gp-offers__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Chat button on every page (Figma "Chatbot", footer.php) ------------------- */
/* With HiJiffy live it opens the HiJiffy web chat (main.js initChat); otherwise it leads to the contact page. */
.gp-chatbot { position: fixed; right: 24px; bottom: calc(24px + env(safe-area-inset-bottom, 0px)); z-index: 90; display: block; width: 64px; height: 64px; border-radius: 50%; filter: drop-shadow(0 6px 14px rgba(1, 16, 65, .18)); transition: transform .2s; }
.gp-chatbot:hover { transform: scale(1.05); }
.gp-chatbot:focus-visible { outline: 2px solid var(--gp-navy); outline-offset: 3px; }
.gp-chatbot img { display: block; width: 100%; height: 100%; }
@media (max-width: 600px) {
	.gp-chatbot { right: 16px; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); width: 52px; height: 52px; }
}
/* Our button is the launcher: HiJiffy's own bubble stays hidden (its chat window and greetings still show). */
.gp-chat-live .hi-launcher-container { display: none !important; }

/* Review cards without a photo + the review form */
.gp-testimonial__initial { display: flex; flex: none; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; background: var(--gp-navy); color: #fff; font-family: var(--gp-font-head); font-weight: 500; font-size: 18px; line-height: 1; font-variation-settings: normal; }
@media (max-width: 600px) {
	.gp-inquiry { padding: 16px; border-radius: 16px; }
	.gp-inquiry__grid { grid-template-columns: 1fr; row-gap: 16px; }
	.gp-inquiry__submit { width: 100%; margin-top: 24px; }
}

/* Small phones: the map region tabs (Phuket, Krabi, Bangkok, Sukhumvit 81) still fit on one line. */
@media (max-width: 380px) {
	.gp-map__regions .gp-tabs__tab { padding: 12px 8px; font-size: 14px; }
}
