/* Step 16: AAA public website booking-site inspired theme
   โทนเว็บจองที่พัก: น้ำเงิน / เหลือง / การ์ดขาว / ช่องค้นหาชัดเจน
   ไม่ใช้โลโก้หรือทรัพย์สินของ Booking.com
*/

* {
  box-sizing: border-box;
}

:root {
  --booking-blue: #003b95;
  --booking-blue-2: #0057b8;
  --booking-blue-3: #0071c2;
  --booking-blue-soft: #eaf3ff;
  --booking-yellow: #febb02;
  --booking-yellow-2: #f59e0b;
  --ink: #1a1a1a;
  --muted: #595959;
  --line: #e7e7e7;
  --bg: #f5f7fb;
  --card: #ffffff;
  --success: #008234;
  --danger: #c1121f;
  --warning: #b45309;
  --shadow: 0 12px 32px rgba(0, 53, 128, .08);
  --font: "Inter", "Noto Sans Thai", "Segoe UI", Tahoma, sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family: var(--font);
  font-size: 15px;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

img {
  max-width: 100%;
}

.container {
  width: min(1180px, calc(100% - 28px));
  margin: 0 auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 80;
  background: var(--primary, var(--booking-blue));
  color: var(--primary-contrast, #ffffff);
  box-shadow: 0 4px 18px rgba(0, 0, 0, .22);
  transition: background-color .2s ease, color .2s ease;
}

.nav {
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: grid;
  gap: 2px;
}

.brand strong {
  font-size: 22px;
  font-weight: 1000;
  letter-spacing: -.035em;
  line-height: 1;
}

.brand span {
  color: var(--primary-contrast, #ffffff);
  opacity: .76;
  font-size: 12px;
  font-weight: 800;
}

.nav-toggle {
  display: none;
}

.nav-menu-button {
  display: none;
  border: 1px solid color-mix(in srgb, var(--primary-contrast, #ffffff) 38%, transparent);
  border-radius: 999px;
  padding: 8px 12px;
  color: var(--primary-contrast, #ffffff);
  font-size: 13px;
  font-weight: 900;
}

.nav-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  flex-wrap: wrap;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 0 15px;
  font-weight: 1000;
  line-height: 1;
  cursor: pointer;
  transition: transform .16s ease, box-shadow .16s ease, background .16s ease, border-color .16s ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button.accent {
  background: var(--accent, var(--booking-yellow));
  color: var(--accent-contrast, #111827);
  box-shadow: 0 10px 24px color-mix(in srgb, var(--accent, var(--booking-yellow)) 28%, transparent);
}

.button.light {
  background: #fff;
  color: var(--booking-blue);
  border-color: rgba(255,255,255,.20);
}

.topbar .button.light {
  background: color-mix(in srgb, var(--primary-contrast, #ffffff) 10%, transparent);
  border-color: color-mix(in srgb, var(--primary-contrast, #ffffff) 34%, transparent);
  color: var(--primary-contrast, #ffffff);
}

.topbar .button.accent {
  background: var(--accent, var(--booking-yellow));
  color: var(--accent-contrast, #111827);
}

.hero {
  position: relative;
  overflow: visible;
  background: linear-gradient(180deg, var(--booking-blue) 0%, var(--booking-blue) 78%, transparent 78%);
  color: #fff;
  padding: 36px 0 0;
}

.hero.has-cover::before {
  content: "";
  position: absolute;
  inset: 0 0 22%;
  background:
    linear-gradient(90deg, rgba(0,59,149,.92), rgba(0,59,149,.62)),
    var(--hero-image) center/cover no-repeat;
  background-attachment: fixed;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  opacity: .92;
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) 430px;
  gap: 22px;
  align-items: start;
  padding-bottom: 76px;
}

.hero-copy {
  padding: 28px 0 0;
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--booking-yellow);
  font-size: 12px;
  font-weight: 1000;
  letter-spacing: .10em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0 0 14px;
  max-width: 740px;
  font-size: clamp(32px, 4.6vw, 58px);
  line-height: 1.04;
  letter-spacing: -.055em;
  font-weight: 1000;
}

.lead {
  max-width: 740px;
  margin: 0;
  color: rgba(255,255,255,.88);
  font-size: 17px;
  font-weight: 650;
  line-height: 1.75;
}

.hero-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 22px 0 0;
}

.hero-highlights span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  border: 1px solid rgba(255,255,255,.34);
  border-radius: 999px;
  background: rgba(255,255,255,.12);
  color: #fff;
  padding: 0 12px;
  font-size: 13px;
  font-weight: 900;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.booking-card {
  position: sticky;
  top: 88px;
  border: 4px solid var(--booking-yellow);
  border-radius: 16px;
  background: #fff;
  color: var(--ink);
  box-shadow: 0 24px 70px rgba(0, 53, 128, .22);
  padding: 18px;
}

.booking-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
}

.booking-title-row h2 {
  margin: 0;
  font-size: 24px;
  letter-spacing: -.03em;
  line-height: 1.05;
}

.booking-title-row span {
  display: inline-flex;
  border-radius: 999px;
  background: var(--booking-blue-soft);
  color: var(--booking-blue);
  padding: 7px 10px;
  font-size: 12px;
  font-weight: 1000;
  white-space: nowrap;
}

.notice {
  margin: 0 0 12px;
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 13px;
  font-weight: 900;
}

.notice.fail {
  border: 1px solid #fecaca;
  background: #fff1f2;
  color: #991b1b;
}

.notice.success {
  border: 1px solid #bbf7d0;
  background: #f0fdf4;
  color: #166534;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.span-2 {
  grid-column: 1 / -1;
}

.booking-form label,
.date-range-field {
  display: grid;
  gap: 6px;
  min-width: 0;
}

.booking-form label > span,
.date-range-field > span {
  color: #333;
  font-size: 13px;
  font-weight: 1000;
}

.booking-form input,
.booking-form select,
.booking-form textarea {
  width: 100%;
  min-height: 46px;
  border: 1px solid #b8b8b8;
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  padding: 0 12px;
  font-size: 14px;
  font-weight: 750;
}

.booking-form textarea {
  min-height: 84px;
  padding-top: 10px;
  resize: vertical;
}

.booking-form input:focus,
.booking-form select:focus,
.booking-form textarea:focus {
  border-color: var(--booking-blue-3);
  outline: 0;
  box-shadow: 0 0 0 3px rgba(0, 113, 194, .18);
}

.booking-form input[name="customer_phone"]:invalid:not(:placeholder-shown) {
  border-color: #ef4444;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, .10);
}

.booking-entry-hint {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  width: fit-content;
  border: 1px solid rgba(0, 113, 194, .24);
  border-radius: 999px;
  background: var(--booking-blue-soft);
  color: var(--booking-blue);
  padding: 7px 12px;
  font-size: 13px;
  font-weight: 1000;
  animation: aaaBookingHintBlink 1.05s ease-in-out infinite;
}

.booking-entry-hint.is-hidden {
  display: none;
}

.booking-entry-hint-arrow,
.click-hint-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 23px;
  height: 23px;
  border-radius: 999px;
  background: var(--booking-blue-3);
  color: #fff;
  line-height: 1;
  animation: aaaBookingArrowBounce .78s ease-in-out infinite;
}

.date-range-trigger {
  width: 100%;
  min-height: 58px;
  border: 1px solid #a7cdf5;
  border-radius: 10px;
  background: #f2f8ff;
  color: var(--ink);
  padding: 10px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 10px;
  align-items: center;
  text-align: left;
  cursor: pointer;
}

.date-range-trigger:hover {
  border-color: var(--booking-blue-3);
  background: #eaf3ff;
}

.date-range-caption {
  display: block;
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
}

.date-range-cell strong {
  display: block;
  color: var(--booking-blue);
  font-size: 14px;
  font-weight: 1000;
}

.date-range-cell.align-right {
  text-align: right;
}

.date-range-nights {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 58px;
  min-height: 28px;
  border-radius: 999px;
  background: #fff;
  color: var(--booking-blue);
  font-size: 12px;
  font-weight: 1000;
}

.date-range-field {
  position: relative;
}

.date-range-popover {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 8px);
  z-index: 90;
  display: none;
  border: 1px solid #a7cdf5;
  border-radius: 14px;
  background: #fff;
  padding: 12px;
  box-shadow: 0 22px 58px rgba(0, 53, 128, .22);
}

.date-range-field.open .date-range-popover {
  display: block;
}

.date-range-toolbar,
.date-range-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.date-range-toolbar strong {
  color: var(--booking-blue);
  font-size: 14px;
  font-weight: 1000;
}

.date-nav-button {
  width: 34px;
  height: 34px;
  border: 1px solid #d8ebff;
  border-radius: 8px;
  background: #f3f9ff;
  color: var(--booking-blue);
  font-size: 22px;
  font-weight: 1000;
  cursor: pointer;
}

.date-range-guide {
  display: none !important;
}

.date-range-click-hint {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 8px 0;
  border: 1px solid rgba(0, 113, 194, .22);
  border-radius: 999px;
  background: var(--booking-blue-soft);
  color: var(--booking-blue);
  padding: 8px 10px;
  font-size: 13px;
  font-weight: 1000;
  animation: aaaBookingHintBlink 1.05s ease-in-out infinite;
}

.date-range-field.open .date-range-click-hint {
  display: flex;
}

.date-range-field.open .date-range-click-hint.is-complete {
  display: none;
}

.date-range-click-hint.is-end {
  border-color: rgba(254, 187, 2, .50);
  background: #fff8df;
  color: #8a5a00;
}

.date-range-click-hint.is-end .click-hint-arrow {
  background: var(--booking-yellow-2);
}

.date-range-months {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 10px;
}

.date-month-title {
  margin: 0 0 8px;
  color: var(--ink);
  font-weight: 1000;
  text-align: center;
}

.date-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 3px;
}

.date-weekday {
  color: var(--muted);
  font-size: 11px;
  font-weight: 1000;
  text-align: center;
}

.date-day {
  position: relative;
  min-height: 32px;
  border: 0;
  border-radius: 7px;
  background: #fff;
  color: var(--ink);
  font-size: 12px;
  font-weight: 900;
  cursor: pointer;
}

.date-day:hover {
  background: var(--booking-blue-soft);
}

.date-day.disabled {
  color: #c0c0c0;
  background: #f5f5f5;
  cursor: not-allowed;
}

.date-day.is-start,
.date-day.is-end {
  background: var(--booking-blue-3);
  color: #fff;
}

.date-day.in-range {
  background: #d8ebff;
  color: var(--booking-blue);
}

.date-start-bubble {
  position: absolute;
  z-index: 10;
  left: 50%;
  bottom: calc(100% + 7px);
  transform: translateX(-50%);
  min-width: 78px;
  border: 1px solid #b7e4c7;
  border-radius: 999px;
  background: #ecfdf5;
  color: #065f46;
  padding: 5px 7px;
  font-size: 10px;
  font-weight: 1000;
  white-space: nowrap;
  box-shadow: 0 10px 24px rgba(6, 95, 70, .14);
  pointer-events: none;
}

.date-start-bubble::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 100%;
  width: 8px;
  height: 8px;
  background: #ecfdf5;
  border-right: 1px solid #b7e4c7;
  border-bottom: 1px solid #b7e4c7;
  transform: translate(-50%, -4px) rotate(45deg);
}

.date-range-footer {
  margin-top: 10px;
  border-top: 1px solid var(--line);
  padding-top: 10px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.date-range-footer-actions {
  display: flex;
  gap: 8px;
}

.date-range-footer .button {
  min-height: 34px;
  padding: 0 12px;
  font-size: 12px;
}

.date-reset-button {
  display: none;
}

.date-range-field.date-range-ready .date-reset-button {
  display: inline-flex;
}

.availability-status {
  margin: 0;
  border: 1px solid #badbcc;
  border-radius: 10px;
  background: #f0fff5;
  color: var(--success);
  padding: 9px 11px;
  font-size: 12px;
  font-weight: 1000;
  line-height: 1.35;
}

.booking-submit-button {
  width: 100%;
  min-height: 48px;
  font-size: 15px;
}

.booking-form.booking-form-ready .booking-submit-button {
  background: var(--booking-yellow);
  color: #111827;
  box-shadow: 0 14px 28px rgba(254, 187, 2, .28);
}

.section {
  padding: 34px 0;
}

.panel,
.aaa-section-soft,
.aaa-process-section,
.gallery-section,
.availability-section,
.aaa-bottom-cta {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  box-shadow: var(--shadow);
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.section-head h2 {
  margin: 0 0 6px;
  color: var(--ink);
  font-size: clamp(25px, 3.4vw, 42px);
  line-height: 1.12;
  letter-spacing: -.045em;
}

.section-head p:not(.eyebrow) {
  margin: 0;
  color: var(--muted);
  font-weight: 700;
  line-height: 1.65;
}

.availability-section {
  width: min(1180px, calc(100% - 28px));
  margin: -38px auto 0;
  padding: 22px;
  position: relative;
  z-index: 5;
}

.availability-section .container {
  width: 100%;
}

.availability-nav {
  display: flex;
  gap: 8px;
}

.calendar-nav-button.disabled {
  opacity: .45;
  pointer-events: none;
}

.calendar-summary-compact {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin: 14px 0;
}

.calendar-summary-compact > div {
  border: 1px solid #d8ebff;
  border-radius: 12px;
  background: #f3f9ff;
  padding: 12px;
}

.calendar-summary-compact span {
  display: block;
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
}

.calendar-summary-compact strong {
  display: block;
  margin-top: 3px;
  color: var(--booking-blue);
  font-size: 14px;
  font-weight: 1000;
}

.availability-calendar-14 {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 8px;
}

.calendar-day {
  display: grid;
  align-content: space-between;
  gap: 8px;
  min-height: 108px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  padding: 10px;
}

.calendar-day.available {
  border-color: #b7e4c7;
  background: #f0fff5;
}

.calendar-day.low {
  border-color: #fed7aa;
  background: #fff8df;
}

.calendar-day.full {
  border-color: #fecaca;
  background: #fff1f2;
}

.calendar-date {
  display: block;
  color: var(--ink);
  font-size: 11px;
  font-weight: 1000;
  white-space: nowrap;
}

.calendar-count {
  display: grid;
  gap: 3px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 850;
}

.calendar-count strong {
  color: var(--booking-blue);
  font-size: 23px;
  line-height: 1;
}

.calendar-count em {
  font-style: normal;
}

.calendar-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}

.calendar-legend span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
}

.calendar-legend .dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
}

.dot.available {
  background: var(--success);
}

.dot.low {
  background: var(--booking-yellow-2);
}

.dot.full {
  background: var(--danger);
}

.aaa-section-soft,
.aaa-process-section,
.gallery-section {
  width: min(1180px, calc(100% - 28px));
  margin: 24px auto 0;
  padding: 28px;
}

.aaa-feature-grid,
.aaa-package-grid,
.aaa-nearby-grid,
.aaa-review-grid,
.gallery-grid,
.room-grid {
  display: grid;
  gap: 14px;
}

.aaa-feature-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.aaa-package-grid,
.aaa-review-grid,
.aaa-process-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.aaa-nearby-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.gallery-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.room-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.aaa-feature-card,
.aaa-package-card,
.aaa-nearby-grid article,
.aaa-review-card,
.aaa-process-card,
.room-card,
.gallery-card,
.aaa-contact-card,
.aaa-bottom-card,
.aaa-faq-wrap {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(0, 53, 128, .06);
}

.aaa-feature-card,
.aaa-package-card,
.aaa-nearby-grid article,
.aaa-review-card,
.aaa-process-card,
.aaa-contact-card,
.aaa-bottom-card,
.aaa-faq-wrap {
  padding: 18px;
}

.aaa-feature-card b,
.aaa-process-card b {
  display: inline-flex;
  margin-bottom: 12px;
  border-radius: 999px;
  background: var(--booking-yellow);
  color: #111827;
  padding: 6px 10px;
  font-size: 12px;
  font-weight: 1000;
}

.aaa-feature-card h3,
.aaa-package-card h3,
.aaa-nearby-grid h3,
.aaa-review-card h3,
.aaa-process-card h3,
.room-card h3 {
  margin: 0 0 8px;
  color: var(--ink);
  font-size: 19px;
  letter-spacing: -.02em;
}

.aaa-feature-card p,
.aaa-package-card p,
.aaa-nearby-grid p,
.aaa-review-card p,
.aaa-process-card p,
.room-card p {
  margin: 0;
  color: var(--muted);
  font-weight: 700;
  line-height: 1.65;
}

.room-card {
  overflow: hidden;
}

.room-image {
  position: relative;
  min-height: 190px;
  background: linear-gradient(135deg, #d8ebff, #fff8df);
}

.room-image img {
  width: 100%;
  height: 100%;
  min-height: 190px;
  object-fit: cover;
  display: block;
}

.room-image:not(.has-photo) {
  display: grid;
  place-items: center;
  color: var(--booking-blue);
  font-size: 48px;
}

.room-body {
  padding: 16px;
}

.room-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 12px 0;
}

.room-meta span,
.pill,
.price,
.room-card .availability {
  display: inline-flex;
  border-radius: 999px;
  background: #f3f9ff;
  color: var(--booking-blue);
  padding: 6px 9px;
  font-size: 12px;
  font-weight: 900;
}

.room-card .price {
  background: #fff8df;
  color: #8a5a00;
}

.room-booking-button {
  width: 100%;
  margin-top: 12px;
}

.gallery-card {
  overflow: hidden;
}

.gallery-card img {
  width: 100%;
  height: 185px;
  object-fit: cover;
  display: block;
}

.gallery-card span {
  display: block;
  padding: 10px 12px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
}

.resort-map-card {
  margin-top: 24px;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 16px;
  background: rgba(255,255,255,.10);
  padding: 14px;
  backdrop-filter: blur(10px);
}

.resort-map-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.resort-map-head span,
.resort-map-head small {
  color: rgba(255,255,255,.74);
  font-size: 12px;
  font-weight: 900;
}

.resort-map-head strong {
  display: block;
  color: #fff;
  font-size: 18px;
}

.resort-map-stage {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  background: #eaf3ff;
}

.resort-map-stage img {
  display: block;
  width: 100%;
}

.resort-map-pin {
  position: absolute;
  transform: translate(-50%, -50%);
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border: 2px solid #fff;
  border-radius: 999px;
  background: var(--booking-yellow);
  color: #111827;
  font-size: 12px;
  font-weight: 1000;
  box-shadow: 0 10px 18px rgba(0,0,0,.22);
  cursor: pointer;
}

.resort-map-pin.full {
  background: #ef4444;
  color: #fff;
}

.resort-map-pin.low {
  background: #f97316;
  color: #fff;
}

.resort-map-pin.available {
  background: #16a34a;
  color: #fff;
}

.resort-map-detail {
  display: grid;
  gap: 8px;
  margin-top: 10px;
}

.resort-map-popup {
  display: none;
  grid-template-columns: 76px 1fr auto;
  align-items: center;
  gap: 10px;
  border-radius: 12px;
  background: #fff;
  color: var(--ink);
  padding: 10px;
}

.resort-map-popup.active {
  display: grid;
}

.resort-map-popup img {
  width: 76px;
  height: 58px;
  border-radius: 9px;
  object-fit: cover;
}

.resort-map-popup strong {
  display: block;
  font-size: 14px;
}

.resort-map-popup span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.resort-map-popup b {
  border-radius: 999px;
  background: #f3f9ff;
  color: var(--booking-blue);
  padding: 6px 8px;
  font-size: 11px;
  white-space: nowrap;
}

.resort-map-popup .button {
  grid-column: 1 / -1;
  min-height: 36px;
}

.aaa-faq-list {
  display: grid;
  gap: 10px;
}

.aaa-faq-list details {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  padding: 14px;
}

.aaa-faq-list summary {
  cursor: pointer;
  color: var(--ink);
  font-weight: 1000;
}

.aaa-faq-list p {
  color: var(--muted);
  font-weight: 700;
  line-height: 1.65;
}

.aaa-bottom-cta {
  width: min(1180px, calc(100% - 28px));
  margin: 24px auto 0;
  background: var(--booking-blue);
  color: #fff;
  padding: 28px;
}

.aaa-bottom-cta .section-head h2,
.aaa-bottom-cta .section-head p {
  color: #fff;
}

.footer {
  margin-top: 28px;
  padding: 26px 0;
  background: var(--primary, var(--booking-blue));
  color: var(--primary-contrast, #ffffff);
  border-top: 4px solid var(--accent, var(--booking-yellow));
  box-shadow: 0 -4px 18px rgba(0, 0, 0, .16);
  transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: inherit;
  font-weight: 800;
}

.muted-text {
  color: var(--muted);
}

@keyframes aaaBookingHintBlink {
  0%, 100% { opacity: 1; transform: translateY(0); }
  50% { opacity: .62; transform: translateY(1px); }
}

@keyframes aaaBookingArrowBounce {
  0%, 100% { transform: translateY(-2px); }
  50% { transform: translateY(5px); }
}

@media (max-width: 1050px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }

  .booking-card {
    position: relative;
    top: auto;
    margin-top: 8px;
  }

  .availability-calendar-14 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .calendar-summary-compact,
  .aaa-feature-grid,
  .aaa-nearby-grid,
  .gallery-grid,
  .room-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .aaa-package-grid,
  .aaa-review-grid,
  .aaa-process-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .container {
    width: min(100% - 18px, 540px);
  }

  .topbar {
    position: sticky;
  }

  .nav {
    min-height: 60px;
  }

  .brand strong {
    font-size: 18px;
  }

  .nav-menu-button {
    display: inline-flex;
  }

  .nav-actions {
    display: none;
    position: absolute;
    left: 9px;
    right: 9px;
    top: 62px;
    border: 1px solid rgba(255,255,255,.20);
    border-radius: 14px;
    background: var(--primary, var(--booking-blue));
    color: var(--primary-contrast, #ffffff);
    padding: 10px;
    box-shadow: 0 18px 40px rgba(0, 0, 0, .25);
  }

  .nav-toggle:checked ~ .nav-actions {
    display: grid;
  }

  .topbar .button,
  .nav-actions .button {
    width: 100%;
    justify-content: center;
  }

  .hero {
    padding-top: 22px;
    background: linear-gradient(180deg, var(--booking-blue) 0%, var(--booking-blue) 82%, transparent 82%);
  }

  .hero-grid {
    width: min(100% - 18px, 540px);
    padding-bottom: 46px;
    gap: 14px;
  }

  .hero-copy {
    padding-top: 8px;
  }

  .hero h1 {
    font-size: 32px;
  }

  .lead {
    font-size: 15px;
  }

  .hero-actions {
    display: grid;
  }

  .button {
    width: 100%;
  }

  .booking-card {
    border-width: 3px;
    padding: 14px;
  }

  .booking-title-row h2 {
    font-size: 21px;
  }

  .form-grid {
    gap: 10px;
  }

  .booking-form input,
  .booking-form select,
  .booking-form textarea {
    min-height: 44px;
    font-size: 14px;
  }

  .date-range-popover {
    position: fixed;
    left: 9px;
    right: 9px;
    top: auto;
    bottom: 9px;
    max-height: 86vh;
    overflow: auto;
    border-radius: 16px;
  }

  .date-range-months {
    grid-template-columns: 1fr;
  }

  .date-range-trigger {
    grid-template-columns: 1fr;
    gap: 6px;
    text-align: left;
  }

  .date-range-cell.align-right {
    text-align: left;
  }

  .date-range-nights {
    justify-content: flex-start;
    width: fit-content;
    padding: 0 12px;
  }

  .date-range-footer {
    display: grid;
  }

  .date-range-footer-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .availability-section,
  .aaa-section-soft,
  .aaa-process-section,
  .gallery-section,
  .aaa-bottom-cta {
    width: min(100% - 18px, 540px);
    padding: 18px;
    border-radius: 14px;
  }

  .availability-section {
    margin-top: -24px;
  }

  .section-head {
    display: grid;
    align-items: start;
  }

  .section-head h2 {
    font-size: 26px;
  }

  .availability-nav,
  .calendar-legend,
  .footer-inner {
    display: grid;
  }

  .calendar-summary-compact,
  .availability-calendar-14,
  .aaa-feature-grid,
  .aaa-nearby-grid,
  .gallery-grid,
  .room-grid {
    grid-template-columns: 1fr;
  }

  .calendar-day {
    min-height: 86px;
  }

  .resort-map-popup {
    grid-template-columns: 64px 1fr;
  }

  .resort-map-popup b {
    grid-column: 1 / -1;
    width: fit-content;
  }

  .footer-inner {
    align-items: start;
  }
}


/* =====================================================================
   R108_AAA_BLACK_FIXED_BACKGROUND_V3
   พื้นหลัง Landing ใช้ภาพ Hero แบบคงที่ และไม่มีพื้นสีขาวทึบด้านข้าง
   ===================================================================== */
html body {
  background-color: #000000 !important;
  background-image:
    linear-gradient(rgba(0, 0, 0, .58), rgba(0, 0, 0, .58)),
    var(--r108-landing-bg) !important;
  background-attachment: fixed !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
  background-size: cover !important;
}

html body .availability-section {
  background: rgba(255, 255, 255, .82) !important;
  -webkit-backdrop-filter: blur(9px) saturate(115%);
  backdrop-filter: blur(9px) saturate(115%);
  border-color: rgba(255, 255, 255, .62) !important;
}

html body .aaa-section-soft,
html body .aaa-process-section,
html body .gallery-section,
html body .panel {
  background: rgba(255, 255, 255, .88) !important;
  -webkit-backdrop-filter: blur(8px) saturate(112%);
  backdrop-filter: blur(8px) saturate(112%);
  border-color: rgba(255, 255, 255, .60) !important;
}


/* =====================================================================
   R108_AAA_SOLID_BLACK_BACKGROUND_V4
   บังคับพื้นหลังรอบ Hero และพื้นหลังหน้า Landing เป็นสีดำ ไม่ใช้โทนน้ำเงิน
   ===================================================================== */
html,
html body {
  background-color: #000000 !important;
}

html body {
  background-image:
    linear-gradient(rgba(0, 0, 0, .62), rgba(0, 0, 0, .62)),
    var(--r108-landing-bg) !important;
}

html body .hero,
html body .hero.has-cover {
  background: #000000 !important;
  background-color: #000000 !important;
  background-image: none !important;
}

html body .hero.has-cover::before {
  background-color: #000000 !important;
  background-image:
    linear-gradient(90deg, rgba(0, 0, 0, .70), rgba(0, 0, 0, .42)),
    var(--hero-image) !important;
  opacity: 1 !important;
}


/* =====================================================================
   R108_AAA_REMOVE_BLACK_BAND_V5
   ยกเลิกแถบดำใต้ Hero และให้ภาพพื้นหลังแสดงต่อเนื่องเต็มพื้นที่
   ===================================================================== */
html body .hero,
html body .hero.has-cover {
  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;
}

html body .hero.has-cover::before {
  inset: 0 !important;
  top: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  left: 0 !important;
  background-color: transparent !important;
  background-image:
    linear-gradient(90deg, rgba(0, 0, 0, .48), rgba(0, 0, 0, .24)),
    var(--hero-image) !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
  background-size: cover !important;
  background-attachment: fixed !important;
  opacity: 1 !important;
}

@media (max-width: 820px) {
  html body .hero.has-cover::before {
    background-attachment: scroll !important;
  }
}

/* =====================================================================
   R108_AAA_SECTION_HEAD_NEAR_WHITE_V6
   หัวข้อส่วนที่วางบนภาพพื้นหลังเข้ม ใช้สีเทาเกือบขาวเพื่อให้อ่านชัด
   ไม่กระทบหัวข้อภายในกล่องพื้นขาว/โปร่งแสง
   ===================================================================== */
html body .section:not(.aaa-section-soft):not(.gallery-section):not(.availability-section):not(.aaa-process-section):not(.aaa-bottom-cta)
> .container > .section-head .eyebrow {
  color: #e5e7eb !important;
  -webkit-text-fill-color: #e5e7eb !important;
  text-shadow: 0 2px 10px rgba(0, 0, 0, .48) !important;
}

html body .section:not(.aaa-section-soft):not(.gallery-section):not(.availability-section):not(.aaa-process-section):not(.aaa-bottom-cta)
> .container > .section-head h2 {
  color: #f3f4f6 !important;
  -webkit-text-fill-color: #f3f4f6 !important;
  text-shadow: 0 2px 14px rgba(0, 0, 0, .58) !important;
}

html body .section:not(.aaa-section-soft):not(.gallery-section):not(.availability-section):not(.aaa-process-section):not(.aaa-bottom-cta)
> .container > .section-head p:not(.eyebrow) {
  color: #d1d5db !important;
  -webkit-text-fill-color: #d1d5db !important;
  text-shadow: 0 2px 10px rgba(0, 0, 0, .52) !important;
}

/* ======================================================================
   R108_AAA_MAP_FULL_WIDTH_BOOKING_POPUP_V1
   แผนผังเต็มหนึ่งคอลัมน์ และย้ายฟอร์มจองไปเป็น popup
   ====================================================================== */
html body .hero-grid {
  grid-template-columns: minmax(0, 1fr) !important;
  width: min(100% - 32px, 1240px) !important;
  gap: 0 !important;
}

html body .hero-copy {
  width: 100% !important;
  min-width: 0 !important;
}

html body .resort-map-card {
  width: 100% !important;
  max-width: none !important;
  margin-inline: 0 !important;
}

html body .resort-map-stage,
html body .resort-map-stage img {
  width: 100% !important;
  max-width: none !important;
}

/* Modal shell */
html body .booking-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 10000;
  align-items: center;
  justify-content: center;
  padding: 22px;
}

html body .booking-modal:target,
html body .booking-modal.is-open {
  display: flex !important;
}

html body .booking-modal-backdrop {
  position: absolute;
  inset: 0;
  display: block;
  background: rgba(2, 6, 23, .72);
  backdrop-filter: blur(7px);
  -webkit-backdrop-filter: blur(7px);
}

html body .booking-modal-dialog {
  position: relative;
  z-index: 1;
  width: min(100%, 760px);
  max-height: calc(100vh - 44px);
  overflow: auto;
  border-radius: 20px;
  box-shadow: 0 30px 90px rgba(0, 0, 0, .42);
  overscroll-behavior: contain;
}

html body .booking-modal .booking-card {
  position: relative !important;
  top: auto !important;
  width: 100% !important;
  margin: 0 !important;
  border-radius: 20px !important;
  padding: 24px !important;
  box-shadow: none !important;
}

html body .booking-modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 5;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid #dbeafe;
  border-radius: 10px;
  background: #eff6ff;
  color: #003b95;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
}

html body .booking-modal-close:hover,
html body .booking-modal-close:focus-visible {
  background: #febb02;
  border-color: #febb02;
  color: #111827;
}

html body.booking-modal-open {
  overflow: hidden !important;
}

@media (max-width: 760px) {
  html body .hero-grid {
    width: min(100% - 18px, 620px) !important;
  }

  html body .booking-modal {
    align-items: flex-end;
    padding: 8px;
  }

  html body .booking-modal-dialog {
    width: 100%;
    max-height: calc(100dvh - 16px);
    border-radius: 18px 18px 12px 12px;
  }

  html body .booking-modal .booking-card {
    border-width: 3px !important;
    border-radius: 18px 18px 12px 12px !important;
    padding: 18px 14px 14px !important;
  }

  html body .booking-modal-close {
    top: 10px;
    right: 10px;
  }
}

/* R108_AAA_ROOM_CARD_DIVIDER_SHADOW_V2
   เส้นคั่นใต้ไอคอนสิ่งอำนวยความสะดวก และแถบเงาใต้ปุ่มจอง */
html body .room-card .room-amenities {
  position: relative !important;
  padding-bottom: 27px !important;
  margin-bottom: 2px !important;
}

html body .room-card .room-amenities::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 10px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(
    90deg,
    rgba(148, 163, 184, 0) 0%,
    rgba(148, 163, 184, .34) 12%,
    rgba(148, 163, 184, .58) 50%,
    rgba(148, 163, 184, .34) 88%,
    rgba(148, 163, 184, 0) 100%
  );
}

html body .room-card .room-amenities::before {
  content: "•••••";
  position: absolute;
  left: 50%;
  bottom: 1px;
  z-index: 2;
  transform: translateX(-50%);
  min-width: 68px;
  padding: 0 8px;
  background: #ffffff;
  color: rgba(100, 116, 139, .48);
  font-size: 16px;
  font-weight: 900;
  line-height: 18px;
  letter-spacing: 1px;
  text-align: center;
}

html body .room-card .room-body {
  padding-top: 10px !important;
}

html body .room-card .room-booking-button {
  position: relative !important;
  z-index: 1 !important;
  margin-bottom: 15px !important;
  box-shadow:
    0 8px 0 rgba(15, 23, 42, .12),
    0 18px 28px rgba(15, 23, 42, .22) !important;
  overflow: visible !important;
}

html body .room-card .room-booking-button::after {
  content: "";
  position: absolute;
  left: 7%;
  right: 7%;
  bottom: -15px;
  height: 9px;
  z-index: -1;
  border-radius: 50%;
  background: rgba(15, 23, 42, .28);
  filter: blur(5px);
  pointer-events: none;
}

html body .room-card .room-booking-button:hover,
html body .room-card .room-booking-button:focus-visible {
  box-shadow:
    0 6px 0 rgba(15, 23, 42, .11),
    0 15px 24px rgba(15, 23, 42, .20) !important;
}

@media (max-width: 760px) {
  html body .room-card .room-amenities {
    padding-bottom: 24px !important;
  }

  html body .room-card .room-amenities::after {
    left: 10px;
    right: 10px;
    bottom: 9px;
  }

  html body .room-card .room-amenities::before {
    bottom: 0;
    min-width: 58px;
    font-size: 14px;
  }

  html body .room-card .room-booking-button {
    margin-bottom: 13px !important;
  }
}

/* R108_AAA_ROOM_DESCRIPTION_LIGHT_V3
   รายละเอียดห้องพัก: ลดขนาดลง 2px และใช้น้ำหนักตัวอักษรบาง */
html body .room-card .room-body > p.room-description {
  margin: 0 !important;
  font-size: 14px !important;
  font-weight: 400 !important;
  font-style: normal !important;
  line-height: 1.58 !important;
  letter-spacing: 0 !important;
  color: #5f6368 !important;
  -webkit-text-fill-color: #5f6368 !important;
  text-shadow: none !important;
}

@media (max-width: 760px) {
  html body .room-card .room-body > p.room-description {
    font-size: 13px !important;
    font-weight: 400 !important;
    line-height: 1.55 !important;
  }
}



/* =====================================================================
   R108_AAA_ROOMS_HEADING_SMALLER_V7
   หัวข้อ "บริการห้องพักในรีสอร์ทของเรา": คอมลด 5px / มือถือลด 2px
   ===================================================================== */
html body #rooms > .container > .section-head h2 {
  font-size: 37px !important;
}

@media (max-width: 820px) {
  html body #rooms > .container > .section-head h2 {
    font-size: 24px !important;
    line-height: 1.16 !important;
  }
}

/* =====================================================================
   R108_AAA_H2_SMALLER_V8
   H2 ของหัวข้อเนื้อหา: Desktop ลด 7px (42 -> 35), Mobile ลด 2px (26 -> 24)
   ===================================================================== */
html body .section-head h2 {
  font-size: clamp(24px, 3vw, 35px) !important;
  line-height: 1.14 !important;
}

/* หัวข้อ H2 ที่ไม่ได้อยู่ใน .section-head แต่เป็นหัวข้อคอนเทนต์หลัก */
html body .aaa-process-card > div:first-child > h2,
html body .aaa-faq-wrap > div:first-child > h2,
html body .aaa-bottom-card > div:first-child > h2 {
  font-size: 35px !important;
  line-height: 1.14 !important;
}

@media (max-width: 820px) {
  html body .section-head h2,
  html body .aaa-process-card > div:first-child > h2,
  html body .aaa-faq-wrap > div:first-child > h2,
  html body .aaa-bottom-card > div:first-child > h2 {
    font-size: 24px !important;
    line-height: 1.16 !important;
  }
}

/* =====================================================================
   R108_AAA_ROOMS_HEADING_EXACT_SMALLER_V9
   หัวข้อ "บริการห้องพักในรีสอร์ทของเรา" ตามตำแหน่งในภาพ
   Desktop: 37px -> 30px (ลด 7px)
   Mobile: 24px -> 22px (ลด 2px)
   ===================================================================== */
html body #rooms > .container > .section-head h2 {
  font-size: 30px !important;
  line-height: 1.14 !important;
}

@media (max-width: 820px) {
  html body #rooms > .container > .section-head h2 {
    font-size: 22px !important;
    line-height: 1.16 !important;
  }
}



/* R108_ROOM_DETAIL_PATCH_V3_20260714
   รูปบ้านพักยังคงกดเปิดหน้ารายละเอียดได้ แต่ไม่แสดงข้อความทับบนรูป */
html body .room-image-link {
  position: relative;
  display: block;
  overflow: hidden;
  cursor: pointer;
  isolation: isolate;
}

html body .room-image-link img {
  transition: transform .28s ease, filter .28s ease;
}

html body .room-image-link:hover img,
html body .room-image-link:focus-visible img {
  transform: scale(1.025);
  filter: brightness(.96);
}

html body .room-image-link:focus-visible {
  outline: 4px solid rgba(254, 187, 2, .88);
  outline-offset: -4px;
}

html body .room-name-row h3 a:hover,
html body .room-name-row h3 a:focus-visible {
  color: var(--booking-blue-3);
  text-decoration: underline;
  text-underline-offset: 3px;
}


/* =====================================================================
   R108_AAA_MOBILE_FIXED_BACKGROUND_V13
   มือถือ: ล็อกภาพพื้นหลังด้วย fixed pseudo-element เพื่อไม่ให้เลื่อนตามหน้า
   ===================================================================== */
@media (max-width: 820px) {
  html {
    min-height: 100%;
    background: #000000 !important;
  }

  html body {
    position: relative !important;
    isolation: isolate;
    min-height: 100%;
    background-color: transparent !important;
    background-image: none !important;
    background-attachment: scroll !important;
  }

  html body::before {
    content: "";
    position: fixed;
    z-index: -1;
    inset: -2px;
    pointer-events: none;
    background-color: #000000;
    background-image:
      linear-gradient(rgba(0, 0, 0, .62), rgba(0, 0, 0, .62)),
      var(--r108-landing-bg);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
  }

  html body .hero.has-cover::before {
    background-color: transparent !important;
    background-image:
      linear-gradient(90deg, rgba(0, 0, 0, .48), rgba(0, 0, 0, .24)) !important;
    background-attachment: scroll !important;
  }
}

/* =====================================================================
   R108_AAA_MOBILE_MAP_DETAIL_FULL_WIDTH_V1
   มือถือ: ขยายกรอบรายละเอียดบ้านให้ขอบซ้าย-ขวาตรงกับแผนผังด้านบน
   public.css เดิมกำหนด .resort-map-detail padding: 12px ทำให้กรอบหดเข้า
   ===================================================================== */
@media (max-width: 760px) {
  html body .resort-map-detail {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  html body .resort-map-popup,
  html body .resort-map-popup.has-image {
    width: 100% !important;
    max-width: none !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    box-sizing: border-box !important;
  }
}


/* =====================================================================
   R108_AAA_RESORT_MAP_DETAIL_CARD_V2
   การ์ดรายละเอียดเมื่อกดพิน: รูป + ชื่อ + คำอธิบาย 100 คำ + ข้อมูล 4 ช่อง
   ===================================================================== */
html body .resort-map-detail {
  margin-top: 22px !important;
  padding: 0 28px 26px !important;
}

html body .resort-map-popup,
html body .resort-map-popup.has-image {
  display: none !important;
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  color: #111827 !important;
}

html body .resort-map-popup.active,
html body .resort-map-popup.has-image.active {
  display: block !important;
}

html body .resort-map-popup-card {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid rgba(15, 23, 42, .08);
  border-radius: 28px;
  background: #ffffff;
  padding: 28px 30px 30px;
  box-shadow: 0 18px 40px rgba(15, 23, 42, .16);
}

html body .resort-map-popup-intro {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  align-items: start;
  gap: 26px;
}

html body .resort-map-popup-image,
html body img.resort-map-popup-image {
  display: block;
  width: 190px !important;
  height: 150px !important;
  max-width: none !important;
  margin: 0 !important;
  border-radius: 22px !important;
  object-fit: cover !important;
  background: #e5e7eb;
}

html body .resort-map-popup-image-placeholder {
  display: grid !important;
  place-items: center;
  font-size: 52px;
}

html body .resort-map-popup-copy {
  min-width: 0;
}

html body .resort-map-popup-title-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}

html body .resort-map-popup-title {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 8px 22px;
  min-width: 0;
}

html body .resort-map-popup-title > span {
  display: inline !important;
  color: #315f96 !important;
  font-size: clamp(22px, 2.6vw, 34px) !important;
  line-height: 1.2 !important;
  font-weight: 900 !important;
}

html body .resort-map-popup-title > span em {
  color: #0a5ca8;
  font-style: normal;
  font-size: 1.32em;
}

html body .resort-map-popup-title > strong {
  display: inline !important;
  color: #111111 !important;
  font-size: clamp(22px, 2.4vw, 32px) !important;
  line-height: 1.15 !important;
  font-weight: 900 !important;
}

html body .resort-map-status,
html body .resort-map-popup b.resort-map-status {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: auto !important;
  max-width: 130px;
  margin: 2px 0 0 !important;
  padding: 7px 11px !important;
  border-radius: 999px !important;
  font-size: 10px !important;
  line-height: 1 !important;
  font-weight: 900 !important;
  white-space: nowrap;
}

html body .resort-map-status.open,
html body .resort-map-status.available {
  background: #e8f7ee !important;
  color: #137a3f !important;
}

html body .resort-map-status.low {
  background: #fff4d6 !important;
  color: #a35a00 !important;
}

html body .resort-map-status.full {
  background: #fee2e2 !important;
  color: #b42318 !important;
}

html body .resort-map-popup-description {
  display: block !important;
  margin: 14px 0 0 !important;
  color: #171717 !important;
  font-size: clamp(16px, 1.65vw, 21px) !important;
  line-height: 1.62 !important;
  font-weight: 650 !important;
  overflow-wrap: anywhere;
}

html body .resort-map-popup-availability {
  display: block !important;
  margin-top: 8px;
  color: #64748b !important;
  font-size: 13px !important;
  line-height: 1.35 !important;
  font-weight: 800 !important;
}

html body .resort-map-popup-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 26px;
}

html body .resort-map-popup-stat {
  min-width: 0;
  border-radius: 16px;
  background: #f1f1f1;
  padding: 15px 14px 17px;
  text-align: center;
}

html body .resort-map-popup-stat > span {
  display: block !important;
  color: #555555 !important;
  font-size: clamp(14px, 1.45vw, 18px) !important;
  line-height: 1.15 !important;
  font-weight: 800 !important;
}

html body .resort-map-popup-stat > strong {
  display: block !important;
  margin-top: 10px;
  color: #111111 !important;
  font-size: clamp(18px, 1.8vw, 24px) !important;
  line-height: 1.2 !important;
  font-weight: 900 !important;
}

html body .resort-map-popup-price-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
  margin-top: 29px;
  padding: 0 8px;
}

html body .resort-map-popup-price-row > span {
  display: inline !important;
  color: #3f3f46 !important;
  font-size: clamp(21px, 2.5vw, 34px) !important;
  line-height: 1.2 !important;
  font-weight: 900 !important;
}

html body .resort-map-popup-price-row > strong {
  display: inline !important;
  color: #101a9b !important;
  font-size: clamp(30px, 4vw, 52px) !important;
  line-height: 1.08 !important;
  font-weight: 1000 !important;
  white-space: nowrap;
}

html body .resort-map-popup .resort-map-popup-booking,
html body .resort-map-popup a.resort-map-popup-booking {
  display: flex !important;
  align-items: center;
  justify-content: center;
  width: 100% !important;
  min-height: 72px !important;
  margin-top: 18px !important;
  border: 0 !important;
  border-radius: 16px !important;
  background: #ffbd0b !important;
  color: #201600 !important;
  font-size: clamp(22px, 2.5vw, 32px) !important;
  line-height: 1.1 !important;
  font-weight: 1000 !important;
  text-decoration: none !important;
  box-shadow: 0 8px 18px rgba(255, 189, 11, .24) !important;
}

html body .resort-map-popup .resort-map-popup-booking:hover,
html body .resort-map-popup .resort-map-popup-booking:focus-visible {
  background: #f4ad00 !important;
  transform: translateY(-1px);
}

@media (max-width: 760px) {
  html body .resort-map-detail {
    margin-top: 14px !important;
    padding: 0 !important;
  }

  html body .resort-map-popup-card {
    border-radius: 18px;
    padding: 16px 15px 17px;
  }

  html body .resort-map-popup-intro {
    grid-template-columns: 92px minmax(0, 1fr);
    gap: 13px;
  }

  html body .resort-map-popup-image,
  html body img.resort-map-popup-image {
    width: 92px !important;
    height: 92px !important;
    border-radius: 13px !important;
  }

  html body .resort-map-popup-image-placeholder {
    font-size: 34px;
  }

  html body .resort-map-popup-title-row {
    display: block;
  }

  html body .resort-map-popup-title {
    display: block;
  }

  html body .resort-map-popup-title > span,
  html body .resort-map-popup-title > strong {
    display: block !important;
    font-size: 17px !important;
    line-height: 1.25 !important;
  }

  html body .resort-map-popup-title > span em {
    font-size: 1.2em;
  }

  html body .resort-map-popup-title > strong {
    margin-top: 3px;
    font-size: 18px !important;
  }

  html body .resort-map-status,
  html body .resort-map-popup b.resort-map-status {
    margin-top: 7px !important;
    padding: 5px 8px !important;
    font-size: 10px !important;
  }

  html body .resort-map-popup-description {
    grid-column: 1 / -1;
    margin-top: 11px !important;
    font-size: 14px !important;
    line-height: 1.55 !important;
  }

  html body .resort-map-popup-availability {
    font-size: 9px !important;
  }

  html body .resort-map-popup-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin-top: 15px;
  }

  html body .resort-map-popup-stat {
    border-radius: 12px;
    padding: 10px 8px 12px;
  }

  html body .resort-map-popup-stat > span {
    font-size: 10px !important;
  }

  html body .resort-map-popup-stat > strong {
    margin-top: 6px;
    font-size: 16px !important;
  }

  html body .resort-map-popup-price-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4px;
    margin-top: 17px;
    padding: 0 2px;
  }

  html body .resort-map-popup-price-row > span {
    font-size: 16px !important;
  }

  html body .resort-map-popup-price-row > strong {
    font-size: 30px !important;
  }

  html body .resort-map-popup .resort-map-popup-booking,
  html body .resort-map-popup a.resort-map-popup-booking {
    min-height: 52px !important;
    margin-top: 12px !important;
    border-radius: 12px !important;
    font-size: 19px !important;
  }
}

@media (max-width: 420px) {
  html body .resort-map-popup-intro {
    grid-template-columns: 82px minmax(0, 1fr);
    gap: 11px;
  }

  html body .resort-map-popup-image,
  html body img.resort-map-popup-image {
    width: 82px !important;
    height: 82px !important;
  }

  html body .resort-map-popup-description {
    font-size: 13px !important;
  }
}

/* =====================================================================
   R108_AAA_RESORT_MAP_MOBILE_REFERENCE_LAYOUT_V3
   ปรับ Resort Map บนมือถือให้สัดส่วน ฟอนต์ และเลย์เอาต์ใกล้ภาพตัวอย่าง
   - รูปปกแนวนอนด้านซ้าย
   - หมายเลขและชื่ออยู่บรรทัดเดียวกัน
   - กล่องข้อมูล 4 ช่องในแถวเดียว
   - ราคาอยู่บรรทัดเดียวกัน และปุ่มจองเต็มความกว้าง
   ===================================================================== */
@media (max-width: 760px) {
  html body .resort-map-card {
    padding: 16px 16px 20px !important;
    border-radius: 24px !important;
  }

  html body .resort-map-head {
    margin-bottom: 12px !important;
  }

  html body .resort-map-head span,
  html body .resort-map-head small {
    font-size: 9px !important;
    line-height: 1.25 !important;
  }

  html body .resort-map-head strong {
    font-size: 16px !important;
    line-height: 1.25 !important;
  }

  html body .resort-map-stage {
    aspect-ratio: 1 / 1 !important;
    border-radius: 16px !important;
  }

  html body .resort-map-stage > img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
  }

  html body .resort-map-pin {
    width: 23px !important;
    height: 23px !important;
    border-width: 2px !important;
    font-size: 10px !important;
    line-height: 1 !important;
    box-shadow: 0 5px 10px rgba(0, 0, 0, .26) !important;
  }

  html body .resort-map-pin.active {
    width: 31px !important;
    height: 31px !important;
    font-size: 14px !important;
    z-index: 20 !important;
  }

  html body .resort-map-stage .resort-map-pin::after {
    bottom: calc(100% + 8px) !important;
    padding: 7px 12px !important;
    border-radius: 8px !important;
    font-size: 16px !important;
    line-height: 1.1 !important;
    font-weight: 800 !important;
  }

  html body .resort-map-detail {
    margin-top: 25px !important;
    padding: 0 13px 12px !important;
  }

  html body .resort-map-popup,
  html body .resort-map-popup.has-image {
    width: 100% !important;
  }

  html body .resort-map-popup-card {
    border-radius: 17px !important;
    padding: 14px 14px 15px !important;
    box-shadow: 0 10px 26px rgba(15, 23, 42, .15) !important;
  }

  html body .resort-map-popup-intro {
    grid-template-columns: 94px minmax(0, 1fr) !important;
    align-items: start !important;
    gap: 14px !important;
  }

  html body .resort-map-popup-image,
  html body img.resort-map-popup-image {
    width: 94px !important;
    height: 74px !important;
    border-radius: 12px !important;
  }

  html body .resort-map-popup-image-placeholder {
    font-size: 30px !important;
  }

  html body .resort-map-popup-title-row {
    display: block !important;
  }

  html body .resort-map-popup-title {
    display: flex !important;
    align-items: baseline !important;
    flex-wrap: wrap !important;
    gap: 2px 12px !important;
  }

  html body .resort-map-popup-title > span,
  html body .resort-map-popup-title > strong {
    display: inline !important;
    margin: 0 !important;
    font-size: 16px !important;
    line-height: 1.28 !important;
    font-weight: 900 !important;
  }

  html body .resort-map-popup-title > span em {
    font-size: 1.22em !important;
  }

  /* ภาพตัวอย่างไม่แสดงป้ายสถานะซ้ำภายในหัวการ์ด */
  html body .resort-map-status,
  html body .resort-map-popup b.resort-map-status,
  html body .resort-map-popup-availability {
    display: none !important;
  }

  html body .resort-map-popup-description {
    margin: 0 !important;
    color: #171717 !important;
    font-size: 9px !important;
    line-height: 1.35 !important;
    font-weight: 650 !important;
  }

  html body .resort-map-popup-stats {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 8px !important;
    margin-top: 18px !important;
  }

  html body .resort-map-popup-stat {
    border-radius: 10px !important;
    padding: 9px 4px 10px !important;
  }

  html body .resort-map-popup-stat > span {
    font-size: 9px !important;
    line-height: 1.18 !important;
    font-weight: 800 !important;
    white-space: nowrap !important;
  }

  html body .resort-map-popup-stat > strong {
    margin-top: 7px !important;
    font-size: 14px !important;
    line-height: 1.18 !important;
    font-weight: 900 !important;
    white-space: nowrap !important;
  }

  html body .resort-map-popup-price-row {
    display: flex !important;
    align-items: baseline !important;
    justify-content: space-between !important;
    grid-template-columns: none !important;
    gap: 12px !important;
    margin-top: 22px !important;
    padding: 0 7px !important;
  }

  html body .resort-map-popup-price-row > span {
    font-size: 18px !important;
    line-height: 1.15 !important;
    white-space: nowrap !important;
  }

  html body .resort-map-popup-price-row > strong {
    font-size: 28px !important;
    line-height: 1.05 !important;
    white-space: nowrap !important;
  }

  html body .resort-map-popup .resort-map-popup-booking,
  html body .resort-map-popup a.resort-map-popup-booking {
    min-height: 49px !important;
    margin-top: 12px !important;
    border-radius: 12px !important;
    font-size: 20px !important;
    line-height: 1.1 !important;
  }
}

@media (max-width: 430px) {
  html body .resort-map-card {
    padding: 12px 12px 16px !important;
    border-radius: 20px !important;
  }

  html body .resort-map-detail {
    margin-top: 18px !important;
    padding: 0 5px 8px !important;
  }

  html body .resort-map-popup-card {
    padding: 12px 11px 13px !important;
    border-radius: 15px !important;
  }

  html body .resort-map-popup-intro {
    grid-template-columns: 82px minmax(0, 1fr) !important;
    gap: 11px !important;
  }

  html body .resort-map-popup-image,
  html body img.resort-map-popup-image {
    width: 82px !important;
    height: 66px !important;
    border-radius: 10px !important;
  }

  html body .resort-map-popup-title {
    gap: 1px 8px !important;
  }

  html body .resort-map-popup-title > span,
  html body .resort-map-popup-title > strong {
    font-size: 14px !important;
  }

  html body .resort-map-popup-description {
    margin: 0 !important;
    font-size: 9px !important;
    line-height: 1.35 !important;
  }

  html body .resort-map-popup-stats {
    gap: 5px !important;
    margin-top: 14px !important;
  }

  html body .resort-map-popup-stat {
    padding: 8px 2px 9px !important;
    border-radius: 9px !important;
  }

  html body .resort-map-popup-stat > span {
    font-size: 9.5px !important;
  }

  html body .resort-map-popup-stat > strong {
    margin-top: 5px !important;
    font-size: 12px !important;
  }

  html body .resort-map-popup-price-row {
    gap: 7px !important;
    margin-top: 17px !important;
    padding: 0 4px !important;
  }

  html body .resort-map-popup-price-row > span {
    font-size: 14px !important;
  }

  html body .resort-map-popup-price-row > strong {
    font-size: 23px !important;
  }

  html body .resort-map-popup .resort-map-popup-booking,
  html body .resort-map-popup a.resort-map-popup-booking {
    min-height: 44px !important;
    margin-top: 10px !important;
    font-size: 17px !important;
  }

  html body .resort-map-stage .resort-map-pin::after {
    padding: 6px 10px !important;
    font-size: 14px !important;
  }
}


/* =====================================================================
   R108_AAA_RESORT_MAP_MOBILE_DETAIL_V4
   - รายละเอียดที่พักบนมือถือเล็กลง 3px
   - ชิดหัวข้อด้านบนโดยไม่มีช่องว่างบรรทัด
   - เนื้อหาถูกจำกัด 60 คำจาก index.php และลงท้ายด้วย .....
   ===================================================================== */


/* =====================================================================
   R108_AAA_RESORT_MAP_CARD_FONT_PRICE_V6
   - คอมพิวเตอร์: ลดฟอนต์ทั้งหมดภายในการ์ดรายละเอียดบ้านพักลง 3px
   - คอมพิวเตอร์และมือถือ: จัดจำนวนราคาให้อยู่กึ่งกลางการ์ด
   ===================================================================== */
@media (min-width: 761px) {
  html body .resort-map-popup-title > span {
    font-size: clamp(19px, calc(2.6vw - 3px), 31px) !important;
  }

  html body .resort-map-popup-title > strong {
    font-size: clamp(19px, calc(2.4vw - 3px), 29px) !important;
  }

  html body .resort-map-status,
  html body .resort-map-popup b.resort-map-status {
    font-size: 9px !important;
  }

  html body .resort-map-popup-description {
    font-size: clamp(13px, calc(1.65vw - 3px), 18px) !important;
  }

  html body .resort-map-popup-availability {
    font-size: 10px !important;
  }

  html body .resort-map-popup-stat > span {
    font-size: clamp(11px, calc(1.45vw - 3px), 15px) !important;
  }

  html body .resort-map-popup-stat > strong {
    font-size: clamp(15px, calc(1.8vw - 3px), 21px) !important;
  }

  html body .resort-map-popup-price-row > span {
    font-size: clamp(18px, calc(2.5vw - 3px), 31px) !important;
  }

  html body .resort-map-popup-price-row > strong {
    font-size: clamp(27px, calc(4vw - 3px), 49px) !important;
  }

  html body .resort-map-popup .resort-map-popup-booking,
  html body .resort-map-popup a.resort-map-popup-booking {
    font-size: clamp(19px, calc(2.5vw - 3px), 29px) !important;
  }
}

/* ใช้คอลัมน์ซ้าย-ขวากว้างเท่ากัน เพื่อให้ตัวเลขราคาอยู่กึ่งกลางจริง */
html body .resort-map-popup-price-row {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) !important;
  align-items: baseline !important;
  justify-content: initial !important;
}

html body .resort-map-popup-price-row > span {
  grid-column: 1 !important;
  justify-self: start !important;
  min-width: 0;
}

html body .resort-map-popup-price-row > strong {
  grid-column: 2 !important;
  justify-self: center !important;
  text-align: center !important;
}

/* =====================================================================
   R108_AAA_GALLERY_THEME_GRID_V8_GRAY_BLACK
   - คอมพิวเตอร์/แท็บเล็ต: แสดงภาพ 6 คอลัมน์
   - มือถือ: แสดงภาพ 3 คอลัมน์
   - เปลี่ยนโทน Gallery จากน้ำเงินเป็นเทา/ดำ
   ===================================================================== */
html body .gallery-section .section-head {
  margin-bottom: 18px;
}

html body .gallery-section .eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  margin-bottom: 8px;
  padding: 5px 11px;
  border: 1px solid var(--primary, #202124);
  border-left: 5px solid var(--accent, #f59e0b);
  border-radius: 7px;
  background: var(--primary, #202124);
  color: var(--primary-contrast, #ffffff);
  box-shadow: 0 6px 16px rgba(0, 0, 0, .18);
}

html body .gallery-section .r108-compact-section-heading {
  position: relative;
  padding-bottom: 10px;
  color: #171717;
}

html body .gallery-section .r108-compact-section-heading::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 76px;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, #171717 0 72%, #9a9a9a 72% 100%);
}

html body .gallery-section .section-head p:not(.eyebrow) {
  color: #55585d;
}

/* Gallery ไม่แสดงปุ่มจองในส่วนหัวอีกต่อไป */
html body .gallery-section .section-head > .button {
  display: none !important;
}

html body .gallery-grid {
  grid-template-columns: repeat(6, minmax(0, 1fr)) !important;
  gap: 12px !important;
}

html body .gallery-card {
  position: relative;
  isolation: isolate;
  min-width: 0;
  margin: 0;
  overflow: hidden;
  border: 2px solid rgba(38, 40, 44, .16) !important;
  border-radius: 14px !important;
  background: #ffffff;
  box-shadow: 0 8px 20px rgba(0, 0, 0, .12) !important;
  transform: translateZ(0);
  transition:
    transform .28s cubic-bezier(.2,.8,.2,1),
    border-color .28s ease,
    box-shadow .28s ease;
}

html body .gallery-card::before {
  content: "";
  position: absolute;
  z-index: 2;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, transparent 45%, rgba(8, 8, 9, .84) 100%),
    linear-gradient(115deg, transparent 24%, rgba(255,255,255,.40) 42%, transparent 58%);
  background-size: 100% 100%, 220% 100%;
  background-position: center, 155% 0;
  transition: background-position .55s ease, opacity .28s ease;
}

html body .gallery-card::after {
  content: "";
  position: absolute;
  z-index: 4;
  top: 9px;
  right: 9px;
  width: 28px;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, #161616 0 40%, #ffffff 40% 50%, #919191 50% 100%);
  box-shadow: 0 2px 8px rgba(0, 0, 0, .22);
  opacity: .92;
  transition: width .28s ease;
}

html body .gallery-card img {
  width: 100% !important;
  height: auto !important;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
  filter: saturate(.98) contrast(1.03);
  transform: scale(1.001);
  transition: transform .6s cubic-bezier(.2,.8,.2,1), filter .35s ease;
}

html body .gallery-card figcaption {
  position: absolute;
  z-index: 3;
  left: 0;
  right: 0;
  bottom: 0;
  display: block;
  min-height: 42px;
  padding: 20px 10px 9px;
  color: #ffffff;
  font-size: 12px;
  font-weight: 900;
  line-height: 1.25;
  text-shadow: 0 2px 7px rgba(0, 0, 0, .72);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

@media (hover: hover) and (pointer: fine) {
  html body .gallery-card:hover {
    z-index: 5;
    border-color: #202124 !important;
    box-shadow:
      0 16px 34px rgba(0, 0, 0, .26),
      0 0 0 3px rgba(140, 140, 140, .17) !important;
    transform: translateY(-6px) scale(1.015);
  }

  html body .gallery-card:hover::before {
    background-position: center, -65% 0;
  }

  html body .gallery-card:hover::after {
    width: 48px;
  }

  html body .gallery-card:hover img {
    filter: saturate(1.04) contrast(1.08);
    transform: scale(1.10);
  }
}

html body .gallery-card:active {
  transform: scale(.985);
}

@media (max-width: 760px) {
  html body .gallery-section {
    padding: 15px !important;
  }

  html body .gallery-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 7px !important;
  }

  html body .gallery-card {
    border-radius: 11px !important;
  }

  html body .gallery-card figcaption {
    min-height: 36px;
    padding: 16px 8px 7px;
    font-size: 10.5px;
  }

  html body .gallery-card::after {
    top: 7px;
    right: 7px;
    width: 22px;
    height: 3px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html body .gallery-card,
  html body .gallery-card::before,
  html body .gallery-card::after,
  html body .gallery-card img {
    transition: none !important;
  }
}


/* Resort108 extra-bed price V9 */
.room-extra-bed-price {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  max-width: 100%;
  margin-top: 8px;
  padding: 6px 10px;
  border: 1px solid rgba(17, 24, 39, .14);
  border-radius: 999px;
  background: #f3f4f6;
  color: #202124;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.25;
}
.resort-map-extra-bed {
  margin: 2px auto 12px;
}
@media (max-width: 760px) {
  .room-extra-bed-price {
    margin-top: 6px;
    padding: 5px 8px;
    font-size: 11px;
  }
  .resort-map-extra-bed {
    margin: 0 auto 10px;
  }
}


/* Extra-bed quantity + live booking total v10 */
.booking-price-summary {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 12px;
  padding: 12px 14px;
  border: 1px solid rgba(15, 23, 42, .13);
  border-radius: 14px;
  background: #f8fafc;
}
.booking-price-summary > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-width: 0;
}
.booking-price-summary span { color: #475569; font-size: 13px; font-weight: 700; }
.booking-price-summary strong { color: #111827; font-size: 16px; }
.booking-price-summary .booking-price-grand {
  grid-column: 1 / -1;
  padding-top: 9px;
  border-top: 1px dashed #cbd5e1;
}
.booking-price-summary .booking-price-grand strong { color: #0f172a; font-size: 22px; }
.booking-price-summary > small { grid-column: 1 / -1; color: #64748b; font-size: 11px; }
[data-extra-bed-field] small { display: block; margin-top: 5px; color: #64748b; font-size: 11px; }
@media (max-width: 640px) {
  .booking-price-summary { grid-template-columns: 1fr; padding: 10px 11px; }
  .booking-price-summary .booking-price-grand,
  .booking-price-summary > small { grid-column: 1; }
}

/* =====================================================================
   R108_WHY_STAY_COMPACT_EDITORIAL_V4_20260718
   โมดูล "ทำไมต้องพักกับเรา" แบบ Editorial Card ตามภาพตัวอย่าง
   - ไม่มีหมายเลข
   - รูปวงกลมซ้อนมุมซ้าย
   - หัวข้ออยู่ด้านขวาของรูป
   - รายละเอียดอยู่ในกล่องเงาด้านใน
   ===================================================================== */
html body .aaa-why-showcase {
  position: relative;
  overflow: visible;
  width: min(calc(100% - 32px), 1180px) !important;
  margin: 24px auto !important;
  padding: clamp(26px, 3.8vw, 48px) !important;
  border: 1px solid rgba(255, 255, 255, .80) !important;
  border-radius: clamp(30px, 4vw, 52px) !important;
  background: rgba(255, 255, 255, .97) !important;
  box-shadow: 0 26px 72px rgba(0, 0, 0, .20) !important;
}

html body .aaa-why-showcase .container {
  width: 100%;
  max-width: 980px;
  margin: 0 auto;
  padding: 0;
}

html body .aaa-why-showcase-head {
  display: block;
  margin: 0 0 clamp(28px, 4vw, 46px);
}

html body .aaa-why-showcase-head > div {
  max-width: 940px;
}

html body .aaa-why-showcase-head .eyebrow {
  margin: 0 0 clamp(8px, 1.2vw, 14px);
  color: #4a4f57 !important;
  font-size: clamp(15px, 1.55vw, 20px);
  line-height: 1.35;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: none;
}

html body .aaa-why-showcase-head h2 {
  max-width: 920px;
  margin: 0;
  color: #060708 !important;
  font-size: clamp(30px, 4vw, 50px);
  line-height: 1.12;
  font-weight: 950;
  letter-spacing: -.035em;
  text-wrap: balance;
}

html body .aaa-why-showcase-head h2 + p {
  max-width: 900px;
  margin: clamp(10px, 1.7vw, 18px) 0 0;
  color: #4c5159 !important;
  font-size: clamp(17px, 2vw, 25px);
  line-height: 1.3;
  font-weight: 800;
  text-wrap: balance;
}

html body .aaa-why-showcase-head .button {
  margin-top: 22px;
}

html body .aaa-why-showcase-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(40px, 5vw, 58px);
}

html body .aaa-why-showcase-card {
  position: relative;
  min-width: 0;
  padding: clamp(30px, 4vw, 44px) clamp(24px, 4vw, 42px) clamp(26px, 4vw, 38px);
  border: 1px solid #b9bec5;
  border-radius: clamp(24px, 3vw, 36px);
  background:
    radial-gradient(circle at 88% 8%, rgba(255, 191, 0, .10), transparent 26%),
    linear-gradient(180deg, #ffffff 0%, #fbfbfb 100%);
  box-shadow: 0 15px 36px rgba(15, 23, 42, .08);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

html body .aaa-why-showcase-card:hover {
  transform: translateY(-4px);
  border-color: #969da7;
  box-shadow: 0 24px 48px rgba(15, 23, 42, .14);
}

html body .aaa-why-showcase-image {
  position: absolute;
  z-index: 3;
  top: clamp(-50px, -4vw, -34px);
  left: clamp(-24px, -2vw, -8px);
  width: clamp(122px, 14vw, 168px);
  height: clamp(122px, 14vw, 168px);
  overflow: hidden;
  border: clamp(6px, .65vw, 9px) solid #ffffff;
  border-radius: 50%;
  background: #e7e8ea;
  box-shadow: 0 16px 34px rgba(15, 23, 42, .28);
}

html body .aaa-why-showcase-image::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(17, 24, 39, .11);
  pointer-events: none;
}

html body .aaa-why-showcase-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}

html body .aaa-why-showcase-card:hover .aaa-why-showcase-image img {
  transform: scale(1.055);
}

html body .aaa-why-showcase-number {
  display: none !important;
}

html body .aaa-why-showcase-copy {
  display: block;
  min-height: 0;
}

html body .aaa-why-showcase-copy h3 {
  min-height: clamp(66px, 8vw, 92px);
  margin: 0 0 clamp(14px, 2vw, 24px);
  padding-left: clamp(126px, 15vw, 184px);
  color: #08090b !important;
  font-size: clamp(23px, 2.9vw, 36px);
  line-height: 1.22;
  font-weight: 950;
  letter-spacing: -.025em;
  text-wrap: balance;
}

html body .aaa-why-showcase-copy p {
  position: relative;
  z-index: 2;
  margin: 0;
  padding: clamp(19px, 2.8vw, 30px);
  border: 1px solid #bfc3c9;
  background: #ffffff;
  color: #111317 !important;
  box-shadow: 0 15px 28px rgba(15, 23, 42, .22);
  font-size: clamp(15px, 1.75vw, 21px);
  line-height: 1.52;
  font-weight: 750;
  white-space: normal;
}

@media (max-width: 760px) {
  html body .aaa-why-showcase {
    width: calc(100% - 20px) !important;
    margin: 14px auto !important;
    padding: 24px 16px 26px !important;
    border-radius: 30px !important;
  }

  html body .aaa-why-showcase .container {
    max-width: none;
  }

  html body .aaa-why-showcase-head {
    margin-bottom: 34px;
  }

  html body .aaa-why-showcase-head .eyebrow {
    margin-bottom: 9px;
    font-size: 14px;
    line-height: 1.25;
    letter-spacing: .035em;
  }

  html body .aaa-why-showcase-head h2 {
    font-size: clamp(24px, 7vw, 30px);
    line-height: 1.16;
    letter-spacing: -.025em;
  }

  html body .aaa-why-showcase-head h2 + p {
    margin-top: 11px;
    font-size: clamp(15px, 4.4vw, 18px);
    line-height: 1.32;
  }

  html body .aaa-why-showcase-grid {
    gap: 44px;
  }

  html body .aaa-why-showcase-card {
    padding: 26px 14px 20px;
    border-radius: 24px;
  }

  html body .aaa-why-showcase-image {
    top: -34px;
    left: -8px;
    width: 96px;
    height: 96px;
    border-width: 6px;
  }

  html body .aaa-why-showcase-copy h3 {
    min-height: 68px;
    margin-bottom: 14px;
    padding-left: 94px;
    font-size: clamp(18px, 5.3vw, 22px);
    line-height: 1.25;
    letter-spacing: -.015em;
  }

  html body .aaa-why-showcase-copy p {
    padding: 16px 15px;
    font-size: clamp(13px, 3.8vw, 15px);
    line-height: 1.55;
    font-weight: 720;
    box-shadow: 0 13px 23px rgba(15, 23, 42, .22);
  }
}


@media (max-width: 760px) {
  html body .booking-modal .booking-room-field {
    font-size: 10px !important;
  }

  html body .booking-modal .booking-room-field label,
  html body .booking-modal .booking-room-field span {
    font-size: 10px !important;
  }

  html body .booking-modal .booking-room-field select[data-room-select] {
    background-size: 12px 12px !important;
  }
}

@media (max-width: 390px) {
  html body .aaa-why-showcase {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }

  html body .aaa-why-showcase-head h2 {
    font-size: 23px;
  }

  html body .aaa-why-showcase-head h2 + p {
    font-size: 15px;
  }

  html body .aaa-why-showcase-card {
    padding-left: 14px;
    padding-right: 14px;
  }

  html body .aaa-why-showcase-image {
    left: -6px;
    width: 90px;
    height: 90px;
  }

  html body .aaa-why-showcase-copy h3 {
    min-height: 64px;
    padding-left: 88px;
    font-size: 17px;
  }

  html body .aaa-why-showcase-copy p {
    padding: 14px 13px;
    font-size: 12.8px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html body .aaa-why-showcase-card,
  html body .aaa-why-showcase-image img {
    transition: none !important;
  }
}

/* =====================================================================
   R108_WHY_STAY_TIGHT_VERTICAL_SPACING_V5_20260718
   ขยับหัวข้อรายการและกล่องรายละเอียดขึ้นให้ชิดกันมากขึ้น
   ===================================================================== */
html body .aaa-why-showcase-card {
  padding-top: clamp(16px, 2vw, 24px);
}

html body .aaa-why-showcase-copy h3 {
  min-height: clamp(44px, 5vw, 58px);
  margin-bottom: clamp(4px, .75vw, 8px);
  line-height: 1.16;
}

html body .aaa-why-showcase-copy p {
  margin-top: 0;
}

@media (max-width: 760px) {
  html body .aaa-why-showcase-card {
    padding-top: 14px;
  }

  html body .aaa-why-showcase-copy h3 {
    min-height: 48px;
    margin-bottom: 5px;
    line-height: 1.18;
  }
}

@media (max-width: 390px) {
  html body .aaa-why-showcase-copy h3 {
    min-height: 44px;
    margin-bottom: 4px;
  }
}

/* =====================================================================
   R108_WHY_STAY_DESKTOP_TWO_COLUMNS_V6_20260718
   คอมพิวเตอร์แสดงโมดูล "ทำไมต้องพักกับเรา" 2 คอลัมน์
   มือถือและแท็บเล็ตขนาดเล็กยังคง 1 คอลัมน์
   ===================================================================== */
@media (min-width: 900px) {
  html body .aaa-why-showcase .container {
    max-width: 1080px;
  }

  html body .aaa-why-showcase-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: clamp(24px, 3vw, 36px);
    row-gap: clamp(40px, 4vw, 52px);
    align-items: stretch;
  }

  html body .aaa-why-showcase-card {
    height: 100%;
    padding: 18px 18px 20px;
    border-radius: 26px;
  }

  html body .aaa-why-showcase-image {
    top: -30px;
    left: -10px;
    width: 112px;
    height: 112px;
    border-width: 6px;
  }

  html body .aaa-why-showcase-copy {
    height: 100%;
    display: flex;
    flex-direction: column;
  }

  html body .aaa-why-showcase-copy h3 {
    min-height: 56px;
    margin: 0 0 6px;
    padding-left: 108px;
    font-size: clamp(20px, 1.75vw, 25px);
    line-height: 1.18;
  }

  html body .aaa-why-showcase-copy p {
    flex: 1 1 auto;
    padding: 16px 17px;
    font-size: clamp(14px, 1.2vw, 16px);
    line-height: 1.5;
  }
}

@media (min-width: 900px) and (max-width: 1040px) {
  html body .aaa-why-showcase-image {
    width: 100px;
    height: 100px;
  }

  html body .aaa-why-showcase-copy h3 {
    min-height: 52px;
    padding-left: 96px;
    font-size: 19px;
  }
}

/* =====================================================================
   R108_WHY_STAY_SOFT_GRAY_BORDERS_V7_20260719
   ปรับสีกรอบนอก/กรอบในให้ใกล้ภาพตัวอย่าง
   - การ์ดนอกพื้นเทาอ่อน ขอบขาวหนา และเงาสีเทาเข้ม
   - กล่องรายละเอียดพื้นขาว ขอบเทาอ่อน และเงานุ่ม
   ===================================================================== */
html body .aaa-why-showcase-card {
  border: 1px solid #d1d2d5 !important;
  background: #f1f1f3 !important;
  box-shadow:
    0 0 0 7px rgba(255, 255, 255, .98),
    0 18px 32px rgba(23, 27, 34, .24) !important;
}

html body .aaa-why-showcase-card:hover {
  border-color: #c6c7ca !important;
  background: #eeeeF0 !important;
  box-shadow:
    0 0 0 7px rgba(255, 255, 255, 1),
    0 24px 42px rgba(23, 27, 34, .28) !important;
}

html body .aaa-why-showcase-copy p {
  border: 1px solid #e0e1e3 !important;
  background: #ffffff !important;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, .95) inset,
    0 10px 18px rgba(31, 35, 42, .20) !important;
}

html body .aaa-why-showcase-image {
  border-color: #ffffff !important;
  background: #ececef !important;
  box-shadow:
    0 0 0 1px rgba(208, 209, 212, .70),
    0 14px 28px rgba(23, 27, 34, .24) !important;
}

@media (max-width: 760px) {
  html body .aaa-why-showcase-card,
  html body .aaa-why-showcase-card:hover {
    box-shadow:
      0 0 0 5px rgba(255, 255, 255, .98),
      0 14px 25px rgba(23, 27, 34, .22) !important;
  }

  html body .aaa-why-showcase-copy p {
    box-shadow:
      0 1px 0 rgba(255, 255, 255, .95) inset,
      0 8px 15px rgba(31, 35, 42, .18) !important;
  }
}


/* R108_AAA_GALLERY_THEME_BUTTON_V9
   ป้ายหัวข้อ Gallery ใช้สีธีมที่เลือก และซ่อนปุ่มจองในหัวส่วน Gallery */

/* =====================================================================
   R108_AAA_GALLERY_THEME_LINES_V10
   - ตัวอักษรป้าย Gallery เป็นสีขาวเสมอ
   - เส้นใต้หัวข้อและเส้นตกแต่งบนรูปเปลี่ยนตามสีธีม
   ===================================================================== */
html body .gallery-section .eyebrow {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  text-shadow: 0 1px 2px rgba(0, 0, 0, .35) !important;
}

html body .gallery-section .r108-compact-section-heading::after {
  background: linear-gradient(
    90deg,
    var(--primary, #0f766e) 0 72%,
    var(--accent, #f59e0b) 72% 100%
  ) !important;
  box-shadow: 0 2px 7px rgba(0, 0, 0, .14);
}

html body .gallery-card::after {
  background: linear-gradient(
    90deg,
    var(--primary, #0f766e) 0 68%,
    var(--accent, #f59e0b) 68% 100%
  ) !important;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, .35) inset,
    0 2px 8px rgba(0, 0, 0, .24) !important;
}


/* =====================================================================
   R108_AAA_GALLERY_SLIDESHOW_V11_20260719
   Lightbox / Slideshow เต็มจอสำหรับ Gallery
   ===================================================================== */
html body .gallery-card {
  cursor: zoom-in;
}

html body .gallery-card:focus-visible {
  outline: 3px solid var(--accent, #f59e0b) !important;
  outline-offset: 4px;
}

html.r108-gallery-lightbox-lock,
html body.r108-gallery-lightbox-lock {
  overflow: hidden !important;
  overscroll-behavior: none;
}

html body .r108-gallery-lightbox[hidden] {
  display: none !important;
}

html body .r108-gallery-lightbox {
  position: fixed;
  z-index: 2147483000;
  inset: 0;
  display: grid;
  place-items: center;
  padding: clamp(10px, 2vw, 26px);
  opacity: 0;
  visibility: hidden;
  transition: opacity .24s ease, visibility .24s ease;
}

html body .r108-gallery-lightbox.is-open {
  opacity: 1;
  visibility: visible;
}

html body .r108-gallery-lightbox-backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  border-radius: 0;
  background:
    radial-gradient(circle at 50% 20%, color-mix(in srgb, var(--primary, #0f766e) 25%, transparent), transparent 42%),
    rgba(3, 7, 18, .90);
  -webkit-backdrop-filter: blur(16px) saturate(125%);
  backdrop-filter: blur(16px) saturate(125%);
  cursor: zoom-out;
}

html body .r108-gallery-lightbox-dialog {
  position: relative;
  z-index: 2;
  width: min(1180px, 100%);
  max-height: calc(100dvh - clamp(20px, 4vw, 52px));
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: clamp(18px, 2.4vw, 30px);
  background: linear-gradient(150deg, rgba(18, 24, 38, .96), rgba(3, 7, 18, .98));
  box-shadow:
    0 32px 90px rgba(0, 0, 0, .58),
    0 0 0 1px color-mix(in srgb, var(--primary, #0f766e) 28%, transparent) inset;
  transform: translateY(18px) scale(.975);
  transition: transform .3s cubic-bezier(.2,.8,.2,1);
}

html body .r108-gallery-lightbox.is-open .r108-gallery-lightbox-dialog {
  transform: translateY(0) scale(1);
}

html body .r108-gallery-lightbox-toolbar {
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 12px 8px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, .10);
}

html body .r108-gallery-lightbox-counter {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-width: 72px;
  padding: 7px 12px;
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: 999px;
  background: rgba(255, 255, 255, .07);
  color: #ffffff;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .04em;
}

html body .r108-gallery-lightbox-counter span:first-child {
  color: var(--accent, #f59e0b);
}

html body .r108-gallery-lightbox-close,
html body .r108-gallery-lightbox-nav {
  appearance: none;
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  border: 1px solid rgba(255, 255, 255, .16);
  background: rgba(255, 255, 255, .08);
  color: #ffffff;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .22);
  cursor: pointer;
  transition: transform .2s ease, background .2s ease, border-color .2s ease;
}

html body .r108-gallery-lightbox-close {
  width: 42px;
  height: 42px;
  padding: 0 0 3px;
  border-radius: 50%;
  font-family: Arial, sans-serif;
  font-size: 30px;
  font-weight: 300;
  line-height: 1;
}

html body .r108-gallery-lightbox-close:hover,
html body .r108-gallery-lightbox-close:focus-visible,
html body .r108-gallery-lightbox-nav:hover,
html body .r108-gallery-lightbox-nav:focus-visible {
  border-color: var(--accent, #f59e0b);
  background: var(--primary, #0f766e);
  outline: none;
  transform: scale(1.06);
}

html body .r108-gallery-lightbox-stage {
  position: relative;
  min-height: 0;
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) 64px;
  align-items: center;
  gap: 8px;
  padding: 8px 14px 12px;
}

html body .r108-gallery-lightbox-nav {
  width: 52px;
  height: 52px;
  justify-self: center;
  padding: 0;
  border-radius: 50%;
}

html body .r108-gallery-lightbox-nav svg {
  width: 27px;
  height: 27px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

html body .r108-gallery-lightbox-figure {
  position: relative;
  min-width: 0;
  min-height: 260px;
  height: min(70dvh, 720px);
  margin: 0;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: clamp(14px, 2vw, 24px);
  background:
    linear-gradient(45deg, rgba(255,255,255,.03) 25%, transparent 25%, transparent 75%, rgba(255,255,255,.03) 75%),
    #05080f;
  background-size: 24px 24px;
  box-shadow: 0 16px 50px rgba(0, 0, 0, .34);
}

html body .r108-gallery-lightbox-figure > img {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: contain;
  display: block;
  opacity: 0;
  transform: scale(.985);
  transition: opacity .22s ease, transform .32s cubic-bezier(.2,.8,.2,1);
}

html body .r108-gallery-lightbox-figure > img.is-forward {
  transform: translateX(18px) scale(.985);
}

html body .r108-gallery-lightbox-figure > img.is-backward {
  transform: translateX(-18px) scale(.985);
}

html body .r108-gallery-lightbox-figure > img.is-visible {
  opacity: 1;
  transform: translateX(0) scale(1);
}

html body .r108-gallery-lightbox-figure figcaption {
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px 12px;
  border-top: 1px solid rgba(255, 255, 255, .09);
  background: rgba(8, 12, 22, .92);
  color: #ffffff;
  font-size: clamp(14px, 1.6vw, 18px);
  font-weight: 800;
  line-height: 1.35;
  text-align: center;
}

html body .r108-gallery-lightbox-loading {
  position: absolute;
  z-index: 3;
  top: 50%;
  left: 50%;
  width: 44px;
  height: 44px;
  margin: -22px 0 0 -22px;
  border: 4px solid rgba(255, 255, 255, .18);
  border-top-color: var(--accent, #f59e0b);
  border-radius: 50%;
  animation: r108GallerySpin .8s linear infinite;
}

html body .r108-gallery-lightbox-loading[hidden] {
  display: none !important;
}

@keyframes r108GallerySpin {
  to { transform: rotate(360deg); }
}

html body .r108-gallery-lightbox-thumbs {
  display: flex;
  gap: 9px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-snap-type: x proximity;
  padding: 10px 18px 14px;
  border-top: 1px solid rgba(255, 255, 255, .10);
  scrollbar-width: thin;
  scrollbar-color: var(--primary, #0f766e) rgba(255, 255, 255, .08);
}

html body .r108-gallery-lightbox-thumb {
  position: relative;
  flex: 0 0 88px;
  width: 88px;
  height: 64px;
  padding: 0;
  overflow: hidden;
  scroll-snap-align: center;
  border: 2px solid transparent;
  border-radius: 10px;
  background: #111827;
  opacity: .58;
  cursor: pointer;
  transition: opacity .2s ease, border-color .2s ease, transform .2s ease;
}

html body .r108-gallery-lightbox-thumb img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

html body .r108-gallery-lightbox-thumb:hover,
html body .r108-gallery-lightbox-thumb:focus-visible {
  opacity: .9;
  outline: none;
  transform: translateY(-2px);
}

html body .r108-gallery-lightbox-thumb.is-active {
  border-color: var(--accent, #f59e0b);
  opacity: 1;
  box-shadow: 0 0 0 2px color-mix(in srgb, var(--primary, #0f766e) 70%, white);
}

@media (max-width: 760px) {
  html body .r108-gallery-lightbox {
    padding: 0;
  }

  html body .r108-gallery-lightbox-dialog {
    width: 100%;
    height: 100dvh;
    max-height: 100dvh;
    border: 0;
    border-radius: 0;
  }

  html body .r108-gallery-lightbox-toolbar {
    min-height: 54px;
    padding: max(8px, env(safe-area-inset-top)) 10px 7px 14px;
  }

  html body .r108-gallery-lightbox-close {
    width: 40px;
    height: 40px;
  }

  html body .r108-gallery-lightbox-stage {
    grid-template-columns: minmax(0, 1fr);
    padding: 5px 8px 8px;
  }

  html body .r108-gallery-lightbox-figure {
    height: auto;
    min-height: 0;
    align-self: stretch;
    border-radius: 15px;
  }

  html body .r108-gallery-lightbox-nav {
    position: absolute;
    z-index: 5;
    top: 50%;
    width: 44px;
    height: 44px;
    margin-top: -36px;
    background: rgba(3, 7, 18, .64);
  }

  html body .r108-gallery-lightbox-nav.is-prev {
    left: 14px;
  }

  html body .r108-gallery-lightbox-nav.is-next {
    right: 14px;
  }

  html body .r108-gallery-lightbox-figure figcaption {
    min-height: 44px;
    padding: 9px 14px 10px;
    font-size: 14px;
  }

  html body .r108-gallery-lightbox-thumbs {
    gap: 7px;
    padding: 9px 10px max(10px, env(safe-area-inset-bottom));
  }

  html body .r108-gallery-lightbox-thumb {
    flex-basis: 70px;
    width: 70px;
    height: 52px;
    border-radius: 8px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html body .r108-gallery-lightbox,
  html body .r108-gallery-lightbox-dialog,
  html body .r108-gallery-lightbox-figure > img,
  html body .r108-gallery-lightbox-close,
  html body .r108-gallery-lightbox-nav,
  html body .r108-gallery-lightbox-thumb {
    transition: none !important;
  }

  html body .r108-gallery-lightbox-loading {
    animation-duration: 1.5s;
  }
}

/* ป้องกัน style ของปุ่มทับ hidden attribute เมื่อ Gallery มีเพียงรูปเดียว */
html body .r108-gallery-lightbox-nav[hidden] {
  display: none !important;
}


/* Resort108 Review Cards V12: รูปแบบรีวิวพร้อมรูป/ตัวอักษรย่อ ดาว แหล่งที่มา และแบ่งหน้า */
.aaa-review-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
  gap: 18px;
}

.aaa-review-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 230px;
  padding: 22px;
  gap: 13px;
}

.aaa-review-card__head,
.aaa-review-person {
  display: flex;
  align-items: center;
}

.aaa-review-card__head {
  justify-content: space-between;
  gap: 14px;
}

.aaa-review-person {
  min-width: 0;
  gap: 12px;
}

.aaa-review-person > div {
  display: grid;
  min-width: 0;
  gap: 2px;
}

.aaa-review-person strong {
  overflow: hidden;
  color: var(--ink);
  font-size: 15px;
  font-weight: 950;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.aaa-review-person time {
  color: var(--muted);
  font-size: 11px;
  font-weight: 750;
}

.aaa-review-avatar {
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  border: 2px solid rgba(255, 255, 255, .94);
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 6px 16px rgba(15, 23, 42, .16);
}

.aaa-review-avatar--initial {
  display: grid;
  place-items: center;
  background: var(--primary);
  color: #fff;
  font-size: 19px;
  font-weight: 1000;
}

.aaa-review-source {
  display: grid;
  width: 32px;
  height: 32px;
  flex: 0 0 32px;
  place-items: center;
  color: var(--ink);
}

.aaa-review-source svg {
  display: block;
  width: 27px;
  height: 27px;
}

.aaa-review-source.source-line { color: #06c755; }
.aaa-review-source.source-facebook { color: #1877f2; }
.aaa-review-source.source-tiktok { color: #111827; }
.aaa-review-source.source-website { color: var(--primary); }
.aaa-review-source.source-direct { color: var(--accent); }

.r108-source-letter {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 50%;
  font-family: Arial, sans-serif;
  font-size: 22px;
  font-weight: 1000;
  line-height: 1;
}

.r108-source-letter.is-google {
  background: conic-gradient(from -45deg, #4285f4 0 25%, #34a853 0 50%, #fbbc05 0 75%, #ea4335 0);
  color: #fff;
  -webkit-text-stroke: 1px rgba(0,0,0,.08);
}

.r108-source-letter.is-facebook {
  background: #1877f2;
  color: #fff;
  font-family: Arial, sans-serif;
  font-size: 24px;
}

.aaa-review-stars {
  display: flex;
  gap: 1px;
  margin-top: 1px;
  color: #cbd5e1;
  font-size: 18px;
  line-height: 1;
}

.aaa-review-stars span.is-active { color: #f59e0b; }

.aaa-review-card .aaa-review-text {
  margin: 0;
  color: var(--ink);
  font-size: 14px;
  font-weight: 650;
  line-height: 1.65;
  overflow-wrap: anywhere;
}

.aaa-review-trip {
  display: inline-flex;
  width: fit-content;
  margin-top: auto;
  border-radius: 999px;
  background: rgba(100, 116, 139, .1);
  color: var(--muted);
  padding: 5px 9px;
  font-size: 11px;
  font-weight: 850;
}

.aaa-review-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  margin-top: 22px;
}

.aaa-review-pagination a {
  display: grid;
  min-width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  color: var(--ink);
  font-size: 14px;
  font-weight: 950;
  text-decoration: none;
  box-shadow: 0 6px 15px rgba(15, 23, 42, .07);
  transition: transform .18s ease, background .18s ease, color .18s ease, border-color .18s ease;
}

.aaa-review-pagination a:hover {
  transform: translateY(-2px);
  border-color: var(--primary);
}

.aaa-review-pagination a.is-current {
  border-color: var(--primary);
  background: var(--primary);
  color: #fff;
}

@media (max-width: 900px) {
  .aaa-review-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 620px) {
  .aaa-review-grid { grid-template-columns: 1fr; gap: 12px; }
  .aaa-review-card { min-height: 0; padding: 17px; gap: 11px; }
  .aaa-review-avatar { width: 44px; height: 44px; flex-basis: 44px; }
  .aaa-review-person strong { font-size: 14px; }
  .aaa-review-card .aaa-review-text { font-size: 13px; line-height: 1.62; }
  .aaa-review-pagination { margin-top: 16px; }
}

/* =====================================================================
   R108_AAA_ROOM_DESCRIPTION_EXCERPT_200_CHARS_V16
   หน้า Landing แสดงรายละเอียดบ้านพักสูงสุด 200 ตัวอักษร และลิงก์อ่านต่อ
   ===================================================================== */
html body .room-card .room-body > p.room-description .room-description-more {
  display: inline;
  margin-left: 4px;
  color: var(--primary, var(--booking-blue-3)) !important;
  -webkit-text-fill-color: var(--primary, var(--booking-blue-3)) !important;
  font: inherit;
  font-weight: 800 !important;
  text-decoration: none;
  white-space: normal;
  transition: opacity .18s ease, text-decoration-color .18s ease;
}

html body .room-card .room-body > p.room-description .room-description-more:hover,
html body .room-card .room-body > p.room-description .room-description-more:focus-visible {
  opacity: .82;
  text-decoration: underline;
  text-underline-offset: 3px;
}

html body .room-card .room-body > p.room-description .room-description-more:focus-visible {
  outline: 2px solid var(--accent, #f59e0b);
  outline-offset: 3px;
  border-radius: 3px;
}



/* =====================================================================
   R108_AAA_RESORT_MAP_MOBILE_PIN_TOOLTIP_V19
   - ลดขนาดข้อความชื่อที่พักเมื่อแตะ/โฟกัสพินบนมือถือ
   - จำกัดความกว้างและตัดบรรทัด เพื่อไม่ให้ป้ายล้นแผนผัง
   - จัดแนวพินริมซ้าย/ริมขวาไม่ให้ข้อความถูกตัด
   ===================================================================== */
@media (max-width: 760px) {
  html body .resort-map-stage .resort-map-pin::after {
    width: max-content !important;
    max-width: 112px !important;
    padding: 3px 6px !important;
    bottom: calc(100% + 5px) !important;
    border-radius: 5px !important;
    font-size: 10px !important;
    line-height: 1.18 !important;
    font-weight: 700 !important;
    letter-spacing: 0 !important;
    white-space: normal !important;
    overflow-wrap: anywhere !important;
    text-align: center !important;
    box-shadow: 0 3px 9px rgba(0, 0, 0, .26) !important;
  }

  html body .resort-map-stage .resort-map-pin.tooltip-left::after {
    left: -3px !important;
    right: auto !important;
    transform: translateY(4px) !important;
    text-align: left !important;
  }

  html body .resort-map-stage .resort-map-pin.tooltip-left:hover::after,
  html body .resort-map-stage .resort-map-pin.tooltip-left:focus::after,
  html body .resort-map-stage .resort-map-pin.tooltip-left:focus-visible::after {
    transform: translateY(0) !important;
  }

  html body .resort-map-stage .resort-map-pin.tooltip-right::after {
    left: auto !important;
    right: -3px !important;
    transform: translateY(4px) !important;
    text-align: right !important;
  }

  html body .resort-map-stage .resort-map-pin.tooltip-right:hover::after,
  html body .resort-map-stage .resort-map-pin.tooltip-right:focus::after,
  html body .resort-map-stage .resort-map-pin.tooltip-right:focus-visible::after {
    transform: translateY(0) !important;
  }
}

@media (max-width: 430px) {
  html body .resort-map-stage .resort-map-pin::after {
    max-width: 98px !important;
    padding: 3px 5px !important;
    font-size: 9px !important;
    line-height: 1.15 !important;
  }
}


/* =====================================================================
   R108_AAA_RESORT_MAP_DESCRIPTION_PRICE_INLINE_V20
   - รายละเอียดเมื่อเลือกพิน: สูงสุด 150 ตัวอักษร และต้องไม่หายเป็นช่องว่าง
   - ราคา + ตัวเลขราคา + ป้ายเสริมที่นอน อยู่บรรทัดเดียวกันทั้งคอมและมือถือ
   ===================================================================== */
html body .resort-map-popup-description {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  min-height: 1.35em;
  max-width: 100%;
  overflow: visible !important;
  text-overflow: clip !important;
  white-space: normal !important;
}

html body .resort-map-popup-price-row {
  display: flex !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  justify-content: center !important;
  grid-template-columns: none !important;
  gap: 12px !important;
  width: 100%;
}

html body .resort-map-popup-price-row > .resort-map-price-label,
html body .resort-map-popup-price-row > strong,
html body .resort-map-popup-price-row > .resort-map-extra-bed {
  grid-column: auto !important;
  justify-self: auto !important;
  margin: 0 !important;
  flex: 0 0 auto;
  white-space: nowrap !important;
}

html body .resort-map-popup-price-row > .resort-map-extra-bed {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: auto !important;
  max-width: none !important;
  padding: 6px 11px !important;
  border-radius: 999px !important;
  font-size: 13px !important;
  line-height: 1.15 !important;
}

@media (max-width: 760px) {
  html body .resort-map-popup-description {
    min-height: 1.35em;
  }

  html body .resort-map-popup-price-row {
    gap: 8px !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  html body .resort-map-popup-price-row > .resort-map-price-label {
    font-size: 15px !important;
  }

  html body .resort-map-popup-price-row > strong {
    font-size: 27px !important;
  }

  html body .resort-map-popup-price-row > .resort-map-extra-bed {
    padding: 5px 8px !important;
    font-size: 9px !important;
  }
}

@media (max-width: 430px) {
  html body .resort-map-popup-price-row {
    gap: 6px !important;
  }

  html body .resort-map-popup-price-row > .resort-map-price-label {
    font-size: 13px !important;
  }

  html body .resort-map-popup-price-row > strong {
    font-size: 22px !important;
  }

  html body .resort-map-popup-price-row > .resort-map-extra-bed {
    padding: 4px 7px !important;
    font-size: 10px !important;
  }
}

/* =====================================================================
   R108_WHY_STAY_BUILDER_RADIUS_V25_20260719
   ทำให้กรอบโมดูลและการ์ด "ทำไมต้องพักกับเรา" ใช้ค่าความโค้งการ์ด
   จาก app.resort108.com/landing_builder.php เช่นเดียวกับการ์ดโมดูลอื่น
   ===================================================================== */
html body .aaa-why-showcase,
html body .aaa-why-showcase-card {
  border-radius: var(--r108-builder-radius, 24px) !important;
}

/* =====================================================================
   R108_WHY_STAY_HEADING_MATCH_OTHER_MODULES_V26_20260719
   ปรับหัวข้อหลักของโมดูล "ทำไมต้องพักกับเรา" ให้เท่ากับหัวข้อโมดูลอื่น
   Desktop: 35px / Mobile: 24px
   ===================================================================== */
html body .aaa-why-showcase-head h2 {
  font-size: 35px !important;
  line-height: 1.14 !important;
  letter-spacing: -0.035em !important;
}

@media (max-width: 820px) {
  html body .aaa-why-showcase-head h2 {
    font-size: 24px !important;
    line-height: 1.16 !important;
    letter-spacing: -0.025em !important;
  }
}


/* R108_AAA_HEADER_FOOTER_THEME_V27_ACTIVE
   Header/Footer follow landing builder primary/accent theme colors. */


/* =====================================================================
   R108_AAA_GALLERY_PAGINATION_V12_20260719
   - มือถือแสดง Gallery 3 คอลัมน์
   - แสดง 12 รูปต่อหน้า พร้อมปุ่มหน้า 1, 2, 3, ...
   ===================================================================== */
html body .gallery-section {
  scroll-margin-top: 86px;
}

html body .gallery-card[hidden] {
  display: none !important;
}

html body .r108-gallery-pagination {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 20px 0 2px;
}

html body .r108-gallery-page-button {
  appearance: none;
  min-width: 38px;
  height: 38px;
  border: 1px solid color-mix(in srgb, var(--primary, #0f766e) 35%, #d1d5db);
  border-radius: 10px;
  background: #ffffff;
  color: var(--primary, #0f766e);
  padding: 0 10px;
  font: inherit;
  font-size: 13px;
  font-weight: 900;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 6px 14px rgba(15, 23, 42, .09);
  transition: transform .16s ease, box-shadow .16s ease, background-color .16s ease, color .16s ease;
}

html body .r108-gallery-page-button:hover,
html body .r108-gallery-page-button:focus-visible {
  transform: translateY(-2px);
  outline: none;
  border-color: var(--primary, #0f766e);
  box-shadow: 0 9px 18px rgba(15, 23, 42, .15);
}

html body .r108-gallery-page-button.is-active,
html body .r108-gallery-page-button[aria-current="page"] {
  border-color: var(--primary, #0f766e);
  background: var(--primary, #0f766e);
  color: var(--primary-contrast, #ffffff);
  box-shadow: 0 8px 18px color-mix(in srgb, var(--primary, #0f766e) 32%, transparent);
}

@media (max-width: 760px) {
  html body .gallery-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 7px !important;
  }

  html body .gallery-card figcaption {
    min-height: 31px;
    padding: 14px 6px 6px;
    font-size: 9px;
  }

  html body .r108-gallery-pagination {
    gap: 6px;
    margin-top: 16px;
  }

  html body .r108-gallery-page-button {
    min-width: 34px;
    height: 34px;
    border-radius: 9px;
    padding: 0 8px;
    font-size: 12px;
  }
}


/* =====================================================================
   R108_NEARBY_IMAGE_CONTENT_V30_20260720
   โมดูล Nearby แบบภาพด้านซ้าย + เนื้อหาด้านขวา
   ข้อมูล รูป ระยะทาง และลิงก์ จัดการจาก app/content_modules.php#nearby
   ===================================================================== */
html body #nearby {
  scroll-margin-top: 88px;
  padding: clamp(26px, 4vw, 52px) !important;
  border-radius: var(--r108-builder-radius, 24px) !important;
}

html body #nearby .section-head {
  align-items: flex-start;
  margin-bottom: clamp(22px, 3vw, 34px);
}

html body #nearby .section-head > div {
  max-width: 860px;
}

html body #nearby .section-head h2 {
  max-width: 900px;
}

html body #nearby .aaa-nearby-grid,
html body #nearby .aaa-nearby-list {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) !important;
  gap: clamp(18px, 2.5vw, 28px) !important;
}

html body #nearby .aaa-nearby-card {
  display: grid !important;
  grid-template-columns: minmax(280px, 38%) minmax(0, 1fr) !important;
  min-height: 285px;
  padding: 0 !important;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--line, #d9dee7) 88%, transparent);
  border-radius: var(--r108-builder-radius, 24px) !important;
  background: var(--r108-builder-surface, #ffffff) !important;
  box-shadow: 0 16px 36px rgba(15, 23, 42, .10);
}

html body #nearby .aaa-nearby-card__media {
  position: relative;
  min-width: 0;
  min-height: 285px;
  overflow: hidden;
  background: #e5e7eb;
}

html body #nearby .aaa-nearby-card__media::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(90deg, transparent 72%, rgba(255, 255, 255, .22));
}

html body #nearby .aaa-nearby-card__media img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 285px;
  object-fit: cover;
  object-position: center;
  transition: transform .35s ease;
}

html body #nearby .aaa-nearby-card:hover .aaa-nearby-card__media img {
  transform: scale(1.035);
}

html body #nearby .aaa-nearby-card__placeholder {
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 7px;
  width: 100%;
  height: 100%;
  min-height: 285px;
  padding: 24px;
  background:
    linear-gradient(145deg, color-mix(in srgb, var(--primary, #0f4c9a) 78%, #ffffff), color-mix(in srgb, var(--primary, #0f4c9a) 46%, #111827));
  color: #ffffff;
  text-align: center;
}

html body #nearby .aaa-nearby-card__placeholder span {
  color: color-mix(in srgb, var(--accent, #ffb600) 88%, #ffffff);
  font-size: 12px;
  font-weight: 1000;
  letter-spacing: .12em;
}

html body #nearby .aaa-nearby-card__placeholder strong {
  font-size: clamp(20px, 2.3vw, 30px);
  line-height: 1.2;
}

html body #nearby .aaa-nearby-card__content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  min-width: 0;
  padding: clamp(26px, 4vw, 52px);
}

html body #nearby .aaa-nearby-card__badge {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  margin: 0 0 12px;
  padding: 6px 11px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--primary, #0f4c9a) 10%, #ffffff);
  color: var(--primary, #0f4c9a);
  font-size: 12px;
  font-weight: 1000;
  line-height: 1.2;
}

html body #nearby .aaa-nearby-card h3 {
  margin: 0 0 15px;
  color: var(--r108-builder-heading, var(--ink, #111827)) !important;
  font-size: clamp(25px, 3vw, 38px) !important;
  line-height: 1.16;
  letter-spacing: -.035em;
}

html body #nearby .aaa-nearby-card p {
  max-width: 720px;
  margin: 0;
  color: var(--r108-builder-text, var(--muted, #4b5563)) !important;
  font-size: 16px;
  font-weight: 650;
  line-height: 1.78;
}

html body #nearby .aaa-nearby-card__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  margin-top: 20px;
  padding: 10px 17px;
  border-radius: 10px;
  background: var(--primary, #0f4c9a);
  color: var(--primary-contrast, #ffffff) !important;
  font-size: 13px;
  font-weight: 1000;
  text-decoration: none;
  box-shadow: 0 10px 20px color-mix(in srgb, var(--primary, #0f4c9a) 24%, transparent);
  transition: transform .18s ease, box-shadow .18s ease;
}

html body #nearby .aaa-nearby-card__link:hover,
html body #nearby .aaa-nearby-card__link:focus-visible {
  transform: translateY(-2px);
  outline: none;
  box-shadow: 0 14px 26px color-mix(in srgb, var(--primary, #0f4c9a) 32%, transparent);
}

@media (max-width: 820px) {
  html body #nearby {
    padding: 22px !important;
  }

  html body #nearby .section-head {
    display: block;
  }

  html body #nearby .section-head .button {
    margin-top: 14px;
  }

  html body #nearby .aaa-nearby-card {
    grid-template-columns: minmax(0, 1fr) !important;
    min-height: 0;
  }

  html body #nearby .aaa-nearby-card__media,
  html body #nearby .aaa-nearby-card__media img,
  html body #nearby .aaa-nearby-card__placeholder {
    min-height: 0;
    height: auto;
    aspect-ratio: 16 / 10;
  }

  html body #nearby .aaa-nearby-card__media::after {
    background: linear-gradient(180deg, transparent 78%, rgba(255, 255, 255, .16));
  }

  html body #nearby .aaa-nearby-card__content {
    padding: 20px;
  }

  html body #nearby .aaa-nearby-card h3 {
    margin-bottom: 10px;
    font-size: 23px !important;
  }

  html body #nearby .aaa-nearby-card p {
    font-size: 14px;
    line-height: 1.68;
  }
}

@media (max-width: 430px) {
  html body #nearby {
    width: calc(100% - 14px);
    padding: 16px !important;
  }

  html body #nearby .aaa-nearby-grid,
  html body #nearby .aaa-nearby-list {
    gap: 14px !important;
  }

  html body #nearby .aaa-nearby-card__content {
    padding: 17px;
  }

  html body #nearby .aaa-nearby-card__badge {
    min-height: 27px;
    margin-bottom: 9px;
    padding: 5px 9px;
    font-size: 11px;
  }

  html body #nearby .aaa-nearby-card h3 {
    font-size: 21px !important;
  }
}

/* =========================================================
   R108_NEARBY_250CHARS_2COLUMNS_V31_ACTIVE
   - ตัดรายละเอียด 250 ตัวอักษรจาก PHP
   - เปิด/ย่อข้อความเต็มด้วยปุ่มอ่านรายละเอียด
   - Desktop แสดง 2 คอลัมน์
   ========================================================= */
html body #nearby .aaa-nearby-card__description [hidden] {
  display: none !important;
}

html body #nearby .aaa-nearby-card__more {
  display: inline;
  margin: 0 0 0 4px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--primary, #0f4c9a);
  font: inherit;
  font-weight: 1000;
  line-height: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

html body #nearby .aaa-nearby-card__more:hover,
html body #nearby .aaa-nearby-card__more:focus-visible {
  color: color-mix(in srgb, var(--primary, #0f4c9a) 78%, #111827);
  outline: none;
  text-decoration-thickness: 2px;
}

@media (min-width: 980px) {
  html body #nearby .aaa-nearby-grid,
  html body #nearby .aaa-nearby-list {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    align-items: stretch;
    gap: clamp(16px, 2vw, 24px) !important;
  }

  html body #nearby .aaa-nearby-card {
    grid-template-columns: minmax(165px, 40%) minmax(0, 1fr) !important;
    min-height: 250px;
    height: 100%;
  }

  html body #nearby .aaa-nearby-card__media,
  html body #nearby .aaa-nearby-card__media img,
  html body #nearby .aaa-nearby-card__placeholder {
    min-height: 250px;
  }

  html body #nearby .aaa-nearby-card__content {
    justify-content: flex-start;
    padding: clamp(20px, 2.2vw, 30px);
  }

  html body #nearby .aaa-nearby-card h3 {
    margin-bottom: 11px;
    font-size: clamp(21px, 2vw, 27px) !important;
    line-height: 1.22;
  }

  html body #nearby .aaa-nearby-card p {
    font-size: 14px;
    line-height: 1.68;
  }

  html body #nearby .aaa-nearby-card__link {
    margin-top: 16px;
  }
}

/* =========================================================
   R108_NEARBY_200CHARS_SMALLER_FONTS_V32_ACTIVE
   - ตัดรายละเอียดเหลือ 200 ตัวอักษรจาก PHP
   - ลดขนาดหัวข้อโมดูล หัวข้อการ์ด และเนื้อหา
   - ใช้ทั้ง Desktop / Tablet / Mobile
   - Desktop ยังคงแสดง 2 คอลัมน์ตาม V31
   ========================================================= */
html body #nearby .section-head .eyebrow {
  font-size: 9px !important;
  line-height: 1.3 !important;
}

html body #nearby .section-head h2,
html body #nearby .section-head .r108-compact-section-heading {
  font-size: clamp(27px, 3vw, 36px) !important;
  line-height: 1.18 !important;
  letter-spacing: -.025em !important;
}

html body #nearby .section-head > div > p:not(.eyebrow) {
  font-size: 14px !important;
  line-height: 1.55 !important;
}

html body #nearby .aaa-nearby-card h3 {
  font-size: clamp(18px, 1.65vw, 23px) !important;
  line-height: 1.24 !important;
  letter-spacing: -.02em !important;
}

html body #nearby .aaa-nearby-card p,
html body #nearby .aaa-nearby-card__description {
  font-size: 13px !important;
  line-height: 1.58 !important;
  font-weight: 400 !important;
}

html body #nearby .aaa-nearby-card__badge {
  font-size: 10px !important;
}

html body #nearby .aaa-nearby-card__link {
  min-height: 38px;
  padding: 8px 14px;
  font-size: 12px;
}

@media (max-width: 820px) {
  html body #nearby .section-head h2,
  html body #nearby .section-head .r108-compact-section-heading {
    font-size: 25px !important;
    line-height: 1.2 !important;
  }

  html body #nearby .section-head > div > p:not(.eyebrow) {
    font-size: 13px !important;
    line-height: 1.5 !important;
  }

  html body #nearby .aaa-nearby-card h3 {
    font-size: 19px !important;
    line-height: 1.25 !important;
  }

  html body #nearby .aaa-nearby-card p,
  html body #nearby .aaa-nearby-card__description {
    font-size: 12.5px !important;
    line-height: 1.55 !important;
  }
}

@media (max-width: 430px) {
  html body #nearby .section-head .eyebrow {
    font-size: 10px !important;
  }

  html body #nearby .section-head h2,
  html body #nearby .section-head .r108-compact-section-heading {
    font-size: 22px !important;
  }

  html body #nearby .section-head > div > p:not(.eyebrow) {
    font-size: 12px !important;
  }

  html body #nearby .aaa-nearby-card h3 {
    font-size: 17px !important;
  }

  html body #nearby .aaa-nearby-card p,
  html body #nearby .aaa-nearby-card__description {
    font-size: 16px !important;
    line-height: 1.5 !important;
  }

  html body #nearby .aaa-nearby-card__more {
    font-size: inherit !important;
  }
}



/* =========================================================
   R108_NEARBY_THIN_TEXT_BADGE_IMAGE_V33_ACTIVE
   - เนื้อหารายละเอียดใช้ตัวอักษรน้ำหนักปกติ อ่านสบายขึ้น
   - ป้ายเวลาเดินทาง/ระยะทางย้ายไปมุมซ้ายบนของรูป
   - รองรับ Desktop / Tablet / Mobile
   ========================================================= */
html body #nearby .aaa-nearby-card__description,
html body #nearby .aaa-nearby-card__description [data-nearby-excerpt],
html body #nearby .aaa-nearby-card__description [data-nearby-full],
html body #nearby .aaa-nearby-card p {
  font-weight: 400 !important;
}

html body #nearby .aaa-nearby-card__media > .aaa-nearby-card__badge {
  position: absolute;
  z-index: 4;
  top: 12px;
  left: 12px;
  max-width: calc(100% - 24px);
  min-height: 28px;
  margin: 0;
  padding: 6px 10px;
  border: 1px solid rgba(255, 255, 255, .78);
  background: rgba(255, 255, 255, .92);
  color: var(--primary, #0f4c9a);
  box-shadow: 0 6px 18px rgba(15, 23, 42, .16);
  backdrop-filter: blur(7px);
  -webkit-backdrop-filter: blur(7px);
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

@media (max-width: 820px) {
  html body #nearby .aaa-nearby-card__media > .aaa-nearby-card__badge {
    top: 10px;
    left: 10px;
    max-width: calc(100% - 20px);
    min-height: 27px;
    padding: 5px 9px;
  }
}

@media (max-width: 430px) {
  html body #nearby .aaa-nearby-card__media > .aaa-nearby-card__badge {
    top: 8px;
    left: 8px;
    max-width: calc(100% - 16px);
  }
}


/* =====================================================================
   R108_AAA_RESORT_MAP_DESCRIPTION_150_ALL_ROOMS_V34
   - แสดงรายละเอียดของบ้านทุกหลัง
   - PHP ตัดเนื้อหาสูงสุด 150 ตัวอักษร และเติม ..... เมื่อยาวเกิน
   - บังคับให้ข้อความไม่ถูกซ่อนจากกฎ CSS รุ่นเก่า
   ===================================================================== */
html body .resort-map-popup-description[data-r108-map-description-v34="150"] {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  height: auto !important;
  max-height: none !important;
  min-height: 1.35em;
  overflow: visible !important;
  color: #171717 !important;
  -webkit-text-fill-color: #171717 !important;
  white-space: normal !important;
  text-indent: 0 !important;
}


/* R108_PACKAGES_IMAGE_ONLY_PAGINATION_V35_ACTIVE */
#packages .aaa-package-image-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

#packages .aaa-package-image-card {
  position: relative;
  margin: 0;
  padding: 0 !important;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--r108-card-radius, 16px);
  background: #fff;
  box-shadow: 0 10px 26px rgba(15, 23, 42, .10);
}

#packages .aaa-package-image-card[hidden] {
  display: none !important;
}

#packages .aaa-package-image-card img {
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: center;
}

.r108-package-pagination {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 20px;
}

.r108-package-pagination button {
  display: inline-grid;
  place-items: center;
  min-width: 40px;
  min-height: 40px;
  padding: 7px 12px;
  border: 1px solid color-mix(in srgb, var(--primary) 36%, #cbd5e1);
  border-radius: 10px;
  background: #fff;
  color: var(--primary);
  font: inherit;
  font-size: 14px;
  font-weight: 900;
  line-height: 1;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}

.r108-package-pagination button:hover,
.r108-package-pagination button:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 7px 18px rgba(15, 23, 42, .12);
  outline: none;
}

.r108-package-pagination button.is-active {
  border-color: var(--primary);
  background: var(--primary);
  color: var(--r108-primary-contrast, #fff);
}

@media (max-width: 760px) {
  #packages .aaa-package-image-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  #packages .aaa-package-image-card {
    width: 100%;
    max-width: 520px;
    margin-inline: auto;
  }

  .r108-package-pagination {
    margin-top: 16px;
  }

  .r108-package-pagination button {
    min-width: 38px;
    min-height: 38px;
    border-radius: 9px;
  }
}

/* =====================================================================
   R108_PACKAGES_MOBILE_94_PERCENT_V37_ACTIVE
   - มือถือขยายกริดรูปแพ็กเกจให้กว้างประมาณ 94% ของหน้าจอ
   - รูปยังคงสัดส่วน 1:1 และจัดกึ่งกลางหน้าจอ
   ===================================================================== */
@media (max-width: 760px) {
  #packages {
    overflow-x: clip;
  }

  #packages .aaa-package-image-grid {
    position: relative;
    left: 50%;
    width: 94vw;
    max-width: 94vw;
    margin-left: -47vw;
  }

  #packages .aaa-package-image-card {
    width: 100%;
    max-width: none;
  }
}

@supports not (overflow: clip) {
  @media (max-width: 760px) {
    #packages {
      overflow-x: hidden;
    }
  }
}


/* =====================================================================
   R108_LANDING_MODULE_AUTO_CONTRAST_V38_ACTIVE
   โครงสร้างช่วยให้ข้อความของหัวข้อโมดูลและข้อความในการ์ดแยกสีจากกัน
   ค่าสีจริงถูกคำนวณจาก Landing Builder ใน index.php
   ===================================================================== */
.landing-managed-section,
.landing-managed-section * {
  text-decoration-skip-ink: auto;
}

.landing-managed-section[data-landing-bg="transparent"] > .container > .section-head,
.landing-managed-section[data-landing-bg="dark"] > .container > .section-head {
  position: relative;
  z-index: 1;
}

/* =====================================================================
   R108_GALLERY_EYEBROW_AUTO_CONTRAST_V40_ACTIVE
   ป้ายหัวข้อเล็กของ Gallery ใช้สีข้อความที่ตัดกับสีหลักของธีมเสมอ
   และมีเส้นขอบ/เงาเพื่อแยกจากพื้นหลังโมดูลทุกแบบ
   ===================================================================== */
html body #gallery .section-head .eyebrow {
  background: var(--primary, #155e75) !important;
  color: var(--primary-contrast, #ffffff) !important;
  -webkit-text-fill-color: var(--primary-contrast, #ffffff) !important;
  border-color: var(--primary, #155e75) !important;
  border-left-color: var(--accent, #225fd8) !important;
  text-shadow: none !important;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, .28) inset,
    0 7px 18px rgba(15, 23, 42, .24) !important;
}

/* =====================================================================
   R108_GALLERY_CAPTION_SMALLER_THIN_V41_ACTIVE
   ลดขนาดและน้ำหนักข้อความชื่อรูปใน Gallery ให้อ่านสบายและไม่บังภาพ
   ===================================================================== */
html body #gallery .gallery-card figcaption {
  min-height: 34px;
  padding: 17px 8px 7px;
  font-size: 10px !important;
  font-weight: 400 !important;
  line-height: 1.2;
  letter-spacing: 0;
  text-shadow: 0 1px 4px rgba(0, 0, 0, .78);
}

@media (max-width: 760px) {
  html body #gallery .gallery-card figcaption {
    min-height: 27px;
    padding: 12px 5px 5px;
    font-size: 8px !important;
    font-weight: 400 !important;
    line-height: 1.15;
  }
}

/* =====================================================================
   R108_WHY_STAY_SOLID_BAR_CONTENT_PLUS4_V43_ACTIVE
   - ปรับแถบสีในกล่องรายละเอียดให้เป็นสีเดียวตามสีหลักของธีม
   - เพิ่มขนาดฟอนต์ข้อความเนื้อหาอีก 4px ทั้งคอมพิวเตอร์และมือถือ
   ===================================================================== */
html body #why-stay .aaa-why-showcase-head .eyebrow {
  margin-bottom: 7px !important;
  font-size: 14px !important;
  line-height: 1.3 !important;
  font-weight: 650 !important;
  letter-spacing: .025em !important;
}

html body #why-stay .aaa-why-showcase-head h2 {
  font-size: 30px !important;
  line-height: 1.18 !important;
  font-weight: 800 !important;
  letter-spacing: -.025em !important;
}

html body #why-stay .aaa-why-showcase-head h2 + p {
  margin-top: 8px !important;
  font-size: 16px !important;
  line-height: 1.4 !important;
  font-weight: 400 !important;
}

html body #why-stay .aaa-why-showcase-copy h3 {
  font-size: 18px !important;
  line-height: 1.28 !important;
  font-weight: 750 !important;
  letter-spacing: -.01em !important;
}

html body #why-stay .aaa-why-showcase-copy p {
  position: relative;
  overflow: hidden;
  padding: 22px 16px 15px !important;
  font-size: 17.5px !important;
  line-height: 1.55 !important;
  font-weight: 400 !important;
}

html body #why-stay .aaa-why-showcase-copy p::before {
  content: "";
  position: absolute;
  z-index: 1;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  border-radius: inherit;
  background: var(--primary, #155e75);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .35) inset;
  pointer-events: none;
}

@media (max-width: 820px) {
  html body #why-stay .aaa-why-showcase-head {
    margin-bottom: 30px !important;
  }

  html body #why-stay .aaa-why-showcase-head .eyebrow {
    margin-bottom: 6px !important;
    font-size: 12px !important;
    line-height: 1.3 !important;
  }

  html body #why-stay .aaa-why-showcase-head h2 {
    font-size: 22px !important;
    line-height: 1.2 !important;
    font-weight: 800 !important;
  }

  html body #why-stay .aaa-why-showcase-head h2 + p {
    margin-top: 7px !important;
    font-size: 13.5px !important;
    line-height: 1.4 !important;
    font-weight: 400 !important;
  }

  html body #why-stay .aaa-why-showcase-copy h3 {
    min-height: 40px !important;
    font-size: 16px !important;
    line-height: 1.28 !important;
    font-weight: 700 !important;
  }

  html body #why-stay .aaa-why-showcase-copy p {
    padding: 19px 13px 13px !important;
    font-size: 12px !important;
    line-height: 1.5 !important;
    font-weight: 400 !important;
  }

  html body #why-stay .aaa-why-showcase-copy p::before {
    height: 4px;
  }
}

@media (max-width: 390px) {
  html body #why-stay .aaa-why-showcase-head h2 {
    font-size: 21px !important;
  }

  html body #why-stay .aaa-why-showcase-copy h3 {
    font-size: 15px !important;
  }

  html body #why-stay .aaa-why-showcase-copy p {
    font-size: 15.5px !important;
  }
}

/* =====================================================================
   R108_ROOM_META_EQUAL_HEIGHT_V47_ACTIVE
   ปรับแท็ก "พักได้ ... คน" และ "จำนวนหลัง/ห้อง ... รายการ"
   ให้ใช้ฟอนต์ ความสูง ระยะขอบ และแนวจัดวางเดียวกัน
   ===================================================================== */
.room-card .room-meta > .pill,
.room-card .room-meta > .pill.availability {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-sizing: border-box !important;
  height: 34px !important;
  min-height: 34px !important;
  max-height: 34px !important;
  padding: 0 12px !important;
  border-radius: 999px !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  line-height: 1 !important;
  letter-spacing: 0 !important;
  white-space: nowrap !important;
  align-self: center !important;
  vertical-align: middle !important;
  overflow: hidden !important;
}

@media (max-width: 760px) {
  .room-card .room-meta > .pill,
  .room-card .room-meta > .pill.availability {
    height: 34px !important;
    min-height: 34px !important;
    max-height: 34px !important;
    padding: 0 11px !important;
    font-size: 12px !important;
    line-height: 1 !important;
  }
}

/* =====================================================================
   R108_ROOM_META_SAME_AXIS_V48_ACTIVE
   จัดแท็ก "พักได้ ... คน" และ "จำนวนหลัง/ห้อง ... รายการ"
   ให้อยู่บนแนวแกนเดียวกันจริง โดยล้าง margin/position/transform เดิม
   ===================================================================== */
.room-card .room-meta {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  align-content: center !important;
  column-gap: 8px !important;
  row-gap: 8px !important;
  line-height: 1 !important;
}

.room-card .room-meta > .pill,
.room-card .room-meta > .pill.availability {
  flex: 0 0 auto !important;
  align-self: center !important;
  margin: 0 !important;
  margin-block: 0 !important;
  position: relative !important;
  inset: auto !important;
  top: 0 !important;
  bottom: auto !important;
  transform: none !important;
  vertical-align: middle !important;
}

@media (max-width: 760px) {
  .room-card .room-meta {
    align-items: center !important;
    align-content: center !important;
  }

  .room-card .room-meta > .pill,
  .room-card .room-meta > .pill.availability {
    margin: 0 !important;
    top: 0 !important;
    transform: none !important;
  }
}

/* =====================================================================
   R108_BOOKING_MOBILE_ROOM_SELECT_SMALLER_FONT_V50_ACTIVE
   ลดขนาดตัวอักษรรายการประเภทที่พักในป๊อปอัป Booking บนมือถือ
   เพื่อให้ชื่อบ้าน ราคา ที่นอนเสริม และจำนวนว่างอ่านง่าย ไม่กินพื้นที่จอ
   ===================================================================== */
@media (max-width: 760px) {
  html body .booking-modal .booking-room-field select[data-room-select] {
    min-height: 40px !important;
    height: 40px !important;
    padding: 0 30px 0 9px !important;
    font-size: 12px !important;
    font-weight: 400 !important;
    line-height: 1.25 !important;
    letter-spacing: 0 !important;
    -webkit-text-size-adjust: 100% !important;
    text-size-adjust: 100% !important;
  }

  html body .booking-modal .booking-room-field select[data-room-select] option,
  html body .booking-modal .booking-room-field select[data-room-select] optgroup {
    font-size: 12px !important;
    font-weight: 400 !important;
    line-height: 1.25 !important;
    letter-spacing: 0 !important;
  }
}

@media (max-width: 390px) {
  html body .booking-modal .booking-room-field select[data-room-select],
  html body .booking-modal .booking-room-field select[data-room-select] option,
  html body .booking-modal .booking-room-field select[data-room-select] optgroup {
    font-size: 9px !important;
  }
}


/* =====================================================================
   R108_BOOKING_MOBILE_ROOM_PICKER_V51_ACTIVE
   ใช้ตัวเลือกห้องแบบกำหนดเองบนมือถือ เพื่อหลีกเลี่ยง native picker
   ที่บังคับฟอนต์ใหญ่เกินไปในบางเบราว์เซอร์
   ===================================================================== */
.booking-room-mobile-trigger,
.booking-room-mobile-picker {
  display: none;
}

@media (max-width: 760px) {
  .booking-room-field select[data-room-select] {
    display: none !important;
  }

  .booking-room-mobile-trigger {
    display: flex;
    width: 100%;
    min-height: 44px;
    align-items: center;
    justify-content: space-between;
    border: 1.5px solid #a9cfe7;
    border-radius: 16px;
    background: #fff;
    color: #1f2937;
    padding: 10px 36px 10px 12px;
    font-size: 11px;
    font-weight: 500;
    line-height: 1.3;
    text-align: left;
    position: relative;
  }

  .booking-room-mobile-trigger::after {
    content: '⌄';
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 14px;
    color: #4b5563;
  }

  .booking-room-mobile-trigger.is-placeholder {
    color: #6b7280;
  }

  .booking-room-mobile-picker[hidden] {
    display: none !important;
  }

  .booking-room-mobile-picker {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 10050;
  }

  .booking-room-mobile-picker__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.62);
    border: 0;
    padding: 0;
    margin: 0;
  }

  .booking-room-mobile-picker__panel {
    position: absolute;
    left: 10px;
    right: 10px;
    top: 5vh;
    max-height: 90vh;
    background: #ffffff;
    border-radius: 18px;
    box-shadow: 0 18px 44px rgba(0, 0, 0, 0.28);
    overflow: hidden;
    display: flex;
    flex-direction: column;
  }

  .booking-room-mobile-picker__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 14px 10px;
    border-bottom: 1px solid #e5e7eb;
  }

  .booking-room-mobile-picker__header strong {
    font-size: 16px;
    color: #111827;
  }

  .booking-room-mobile-picker__close {
    width: 34px;
    height: 34px;
    border-radius: 999px;
    border: 1px solid #d1d5db;
    background: #fff;
    color: #111827;
    font-size: 22px;
    line-height: 1;
  }

  .booking-room-mobile-picker__list {
    overflow: auto;
    padding: 4px 0 10px;
  }

  .booking-room-mobile-picker__item {
    width: 100%;
    border: 0;
    border-top: 1px solid #edf2f7;
    background: #fff;
    text-align: left;
    padding: 10px 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
  }

  .booking-room-mobile-picker__item:first-child {
    border-top: 0;
  }

  .booking-room-mobile-picker__item:disabled {
    opacity: 0.45;
  }

  .booking-room-mobile-picker__item.is-active {
    background: #eff6ff;
  }

  .booking-room-mobile-picker__text {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 3px;
  }

  .booking-room-mobile-picker__name {
    font-size: 13px;
    font-weight: 600;
    line-height: 1.25;
    color: #111827;
  }

  .booking-room-mobile-picker__meta {
    font-size: 10px;
    font-weight: 400;
    line-height: 1.35;
    color: #4b5563;
  }

  .booking-room-mobile-picker__mark {
    flex: 0 0 auto;
    font-size: 19px;
    line-height: 1;
    color: #2563eb;
  }
}

@media (max-width: 390px) {
  .booking-room-mobile-trigger {
    font-size: 10px;
    min-height: 42px;
    padding-left: 10px;
    padding-right: 34px;
  }

  .booking-room-mobile-picker__name {
    font-size: 12px;
  }

  .booking-room-mobile-picker__meta {
    font-size: 9px;
  }
}


/* =====================================================================
   R108_BOOKING_POPUP_FIT_NO_VISIBLE_SCROLLBAR_V52_ACTIVE
   - ป๊อปอัปพอดีกับ viewport ทั้งคอมและมือถือ
   - ป้องกันช่องฟอร์มล้นแนวนอน
   - ซ่อนแถบ scrollbar แต่ยังเลื่อนด้วยล้อเมาส์/ทัชได้ตามปกติ
   ===================================================================== */
html body .booking-modal {
  box-sizing: border-box !important;
  overflow: hidden !important;
  padding: 12px !important;
}

html body .booking-modal-dialog {
  box-sizing: border-box !important;
  width: min(calc(100vw - 24px), 760px) !important;
  max-width: min(calc(100vw - 24px), 760px) !important;
  max-height: calc(100dvh - 24px) !important;
  overflow-y: auto !important;
  overflow-x: hidden !important;
  scrollbar-width: none !important;
  -ms-overflow-style: none !important;
  overscroll-behavior: contain !important;
}

html body .booking-modal-dialog::-webkit-scrollbar,
html body .booking-modal-dialog *::-webkit-scrollbar {
  width: 0 !important;
  height: 0 !important;
  display: none !important;
}

html body .booking-modal .booking-card {
  box-sizing: border-box !important;
  width: 100% !important;
  max-width: 100% !important;
  overflow-x: hidden !important;
  padding: 18px !important;
}

html body .booking-modal .booking-form,
html body .booking-modal .form-grid,
html body .booking-modal .booking-form > *,
html body .booking-modal .booking-form label,
html body .booking-modal .date-range-field {
  box-sizing: border-box !important;
  min-width: 0 !important;
  max-width: 100% !important;
}

html body .booking-modal .form-grid {
  width: 100% !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 10px !important;
}

html body .booking-modal .booking-form input,
html body .booking-modal .booking-form select,
html body .booking-modal .booking-form textarea,
html body .booking-modal .booking-room-mobile-trigger,
html body .booking-modal .date-range-trigger,
html body .booking-modal .availability-status,
html body .booking-modal .booking-price-summary,
html body .booking-modal .booking-submit-button {
  box-sizing: border-box !important;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
}

html body .booking-modal .booking-form input,
html body .booking-modal .booking-form select {
  min-height: 42px !important;
  height: 42px !important;
}

html body .booking-modal .booking-form textarea {
  min-height: 72px !important;
  max-height: 120px !important;
  resize: vertical !important;
}

html body .booking-modal .booking-room-mobile-picker__list,
html body .booking-modal .date-range-popover {
  scrollbar-width: none !important;
  -ms-overflow-style: none !important;
}

@media (max-width: 760px) {
  html body .booking-modal {
    align-items: flex-end !important;
    padding: 4px !important;
  }

  html body .booking-modal-dialog {
    width: calc(100vw - 8px) !important;
    max-width: calc(100vw - 8px) !important;
    max-height: calc(100dvh - 8px) !important;
    border-radius: 16px 16px 8px 8px !important;
  }

  html body .booking-modal .booking-card {
    border-radius: 16px 16px 8px 8px !important;
    padding: 14px 10px 12px !important;
  }

  html body .booking-modal .form-grid {
    gap: 8px !important;
  }

  html body .booking-modal .booking-form label,
  html body .booking-modal .date-range-field {
    gap: 4px !important;
  }

  html body .booking-modal .booking-form label > span,
  html body .booking-modal .date-range-field > span {
    font-size: 12px !important;
    line-height: 1.2 !important;
  }

  html body .booking-modal .booking-form input,
  html body .booking-modal .booking-form select,
  html body .booking-modal .booking-room-mobile-trigger {
    min-height: 40px !important;
    height: 40px !important;
    border-radius: 10px !important;
  }

  html body .booking-modal .booking-form textarea {
    min-height: 64px !important;
    max-height: 96px !important;
  }

  html body .booking-modal .booking-title-row {
    margin-bottom: 8px !important;
    padding-right: 34px !important;
  }

  html body .booking-modal .booking-title-row h2 {
    font-size: 18px !important;
  }

  html body .booking-modal-close {
    width: 32px !important;
    height: 32px !important;
    top: 8px !important;
    right: 8px !important;
    font-size: 22px !important;
  }

  html body .booking-modal .booking-entry-hint,
  html body .booking-modal .availability-status,
  html body .booking-modal .booking-price-summary {
    margin: 0 !important;
  }

  html body .booking-modal .booking-room-mobile-picker__panel {
    left: 6px !important;
    right: 6px !important;
    top: 3vh !important;
    max-height: 94vh !important;
  }
}

@media (max-width: 390px) {
  html body .booking-modal .booking-card {
    padding-left: 8px !important;
    padding-right: 8px !important;
  }

  html body .booking-modal .form-grid {
    gap: 7px !important;
  }

  html body .booking-modal .booking-form input,
  html body .booking-modal .booking-form select,
  html body .booking-modal .booking-room-mobile-trigger {
    min-height: 38px !important;
    height: 38px !important;
  }
}


/* =====================================================================
   R108_BOOKING_MODAL_CLOSE_FIX_V53_ACTIVE
   ปิดการพึ่ง :target เพื่อไม่ให้ modal ค้างเมื่อ hash ถูกลบช้าบนมือถือ
   เปิดป๊อปอัปด้วยคลาส .is-open จาก JavaScript เท่านั้น
   ===================================================================== */
html body .booking-modal:target:not(.is-open) {
  display: none !important;
  pointer-events: none !important;
}

html body .booking-modal.is-open {
  display: flex !important;
  pointer-events: auto !important;
}

html body .booking-modal-close {
  pointer-events: auto !important;
  touch-action: manipulation !important;
  -webkit-tap-highlight-color: transparent;
}


/* =====================================================================
   R108_BOOKING_EXTRA_BED_LABEL_ALIGN_V54_ACTIVE
   - ย้ายราคาเสริมที่นอนไปต่อท้ายหัวข้อ "จำนวนที่นอนเสริม"
   - บังคับหัวข้อและช่องกรอกจำนวนที่จอง/ที่นอนเสริมให้อยู่แนวเดียวกัน
   ===================================================================== */
html body .booking-modal .booking-quantity-field,
html body .booking-modal .booking-extra-bed-field {
  display: grid !important;
  grid-template-rows: 20px 42px !important;
  align-content: start !important;
  align-self: start !important;
  gap: 6px !important;
  margin: 0 !important;
}

html body .booking-modal .booking-field-heading {
  box-sizing: border-box !important;
  min-width: 0 !important;
  min-height: 20px !important;
  height: 20px !important;
  margin: 0 !important;
  display: flex !important;
  align-items: center !important;
  gap: 6px !important;
  overflow: hidden !important;
  color: #333 !important;
  font-size: 13px !important;
  font-weight: 1000 !important;
  line-height: 20px !important;
}

html body .booking-modal .booking-field-heading--with-hint > span {
  flex: 0 0 auto !important;
  min-width: 0 !important;
}

html body .booking-modal .booking-field-heading--with-hint > small[data-extra-bed-hint] {
  display: block !important;
  flex: 1 1 auto !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
  white-space: nowrap !important;
  text-overflow: ellipsis !important;
  color: #64748b !important;
  font-size: 10px !important;
  font-weight: 600 !important;
  line-height: 20px !important;
}

html body .booking-modal .booking-quantity-field > input,
html body .booking-modal .booking-extra-bed-field > select {
  box-sizing: border-box !important;
  width: 100% !important;
  min-width: 0 !important;
  min-height: 42px !important;
  height: 42px !important;
  margin: 0 !important;
  align-self: start !important;
}

@media (max-width: 760px) {
  html body .booking-modal .booking-quantity-field,
  html body .booking-modal .booking-extra-bed-field {
    grid-template-rows: 18px 40px !important;
    gap: 4px !important;
  }

  html body .booking-modal .booking-field-heading {
    min-height: 18px !important;
    height: 18px !important;
    font-size: 12px !important;
    line-height: 18px !important;
    gap: 4px !important;
  }

  html body .booking-modal .booking-field-heading--with-hint > small[data-extra-bed-hint] {
    font-size: 9px !important;
    line-height: 18px !important;
  }

  html body .booking-modal .booking-quantity-field > input,
  html body .booking-modal .booking-extra-bed-field > select {
    min-height: 40px !important;
    height: 40px !important;
  }
}
