@import url("https://fonts.googleapis.com/css2?family=Prompt:wght@300;400;500;600;700&display=swap");

/* =====================================================================
   CCC RESORT108 — PLOY SEA INSPIRED THEME V2 — PROMPT TYPOGRAPHY
   Image-led luxury riverside resort theme. Keeps all Resort108 functions.
   ===================================================================== */

.khaokho-theme.ploysea-theme {
  --ps-ink: #17272a;
  --ps-muted: #68777a;
  --ps-deep: #153f48;
  --ps-deep-2: #0d3038;
  --ps-sea: #3d747d;
  --ps-sand: #c99c63;
  --ps-sand-light: #ead8bd;
  --ps-cream: #f5f1e8;
  --ps-cream-2: #fbfaf6;
  --ps-line: rgba(23, 39, 42, .14);
  --ps-white: #ffffff;
  --ps-shadow: 0 22px 64px rgba(21, 63, 72, .15);
  --ps-shadow-soft: 0 14px 38px rgba(21, 63, 72, .10);
  margin: 0;
  min-height: 100vh;
  color: var(--ps-ink);
  background: var(--ps-cream);
  font-family: "Prompt", "Noto Sans Thai", "Leelawadee UI", Tahoma, Arial, sans-serif;
  font-weight: 400;
}

.khaokho-theme.ploysea-theme *,
.khaokho-theme.ploysea-theme *::before,
.khaokho-theme.ploysea-theme *::after {
  box-sizing: border-box;
}

.khaokho-theme.ploysea-theme h1,
.khaokho-theme.ploysea-theme h2,
.khaokho-theme.ploysea-theme h3,
.khaokho-theme.ploysea-theme p {
  text-wrap: pretty;
}

.khaokho-theme.ploysea-theme a {
  color: inherit;
}

.khaokho-theme.ploysea-theme .container {
  width: min(1320px, calc(100% - 48px));
  margin-inline: auto;
}

/* Header */
.khaokho-theme.ploysea-theme .topbar {
  position: sticky;
  top: 0;
  z-index: 1200;
  border: 0;
  border-bottom: 1px solid rgba(255,255,255,.18);
  background: rgba(17, 50, 57, .94);
  color: #fff;
  box-shadow: 0 10px 30px rgba(0,0,0,.14);
  backdrop-filter: blur(16px);
}

.khaokho-theme.ploysea-theme .nav {
  min-height: 78px;
  gap: 20px;
}

.khaokho-theme.ploysea-theme .brand {
  color: #fff;
}

.khaokho-theme.ploysea-theme .brand-mark {
  width: 58px;
  height: 42px;
  border: 1px solid rgba(255,255,255,.58);
  border-radius: 2px;
  background: transparent;
  box-shadow: none;
  color: #fff;
  font-family: "Prompt", "Noto Sans Thai", "Leelawadee UI", Tahoma, Arial, sans-serif;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: .16em;
}

.khaokho-theme.ploysea-theme .brand-text strong {
  color: #fff;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: .025em;
}

.khaokho-theme.ploysea-theme .brand-text span {
  color: rgba(255,255,255,.7);
  font-size: 10px;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.khaokho-theme.ploysea-theme .menu {
  gap: 1px;
}

.khaokho-theme.ploysea-theme .menu a {
  border-radius: 0;
  padding: 10px 12px;
  color: rgba(255,255,255,.84);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .025em;
  transition: color .2s ease, background .2s ease;
}

.khaokho-theme.ploysea-theme .menu a:hover,
.khaokho-theme.ploysea-theme .menu a.active {
  background: rgba(255,255,255,.08);
  color: #fff;
}

.khaokho-theme.ploysea-theme .nav-menu-button {
  min-height: 42px;
  border: 1px solid rgba(255,255,255,.35);
  border-radius: 2px;
  background: transparent;
  color: #fff;
}

.khaokho-theme.ploysea-theme .button {
  min-height: 46px;
  border: 1px solid var(--ps-deep);
  border-radius: 2px;
  padding: 0 20px;
  background: var(--ps-deep);
  color: #fff;
  box-shadow: none;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .035em;
  transition: transform .18s ease, background .18s ease, border-color .18s ease;
}

.khaokho-theme.ploysea-theme .button:hover {
  transform: translateY(-1px);
  border-color: var(--ps-deep-2);
  background: var(--ps-deep-2);
}

.khaokho-theme.ploysea-theme .button.accent {
  border-color: var(--ps-sand);
  background: var(--ps-sand);
  color: #1d2527;
}

.khaokho-theme.ploysea-theme .button.accent:hover {
  border-color: #b7864c;
  background: #b7864c;
}

.khaokho-theme.ploysea-theme .button.light {
  border-color: rgba(255,255,255,.46);
  background: transparent;
  color: #fff;
}

.khaokho-theme.ploysea-theme .booking-card .button.light,
.khaokho-theme.ploysea-theme .section .button.light,
.khaokho-theme.ploysea-theme .footer .button.light {
  border-color: var(--ps-line);
  background: #fff;
  color: var(--ps-deep);
}

/* Hero */
.khaokho-theme.ploysea-theme .hero {
  padding: 0 0 44px;
  background: var(--ps-cream);
}

.khaokho-theme.ploysea-theme .hero > .container {
  width: 100%;
  max-width: none;
}

.khaokho-theme.ploysea-theme .hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}

.khaokho-theme.ploysea-theme .hero-copy {
  position: relative;
  min-height: clamp(580px, 78vh, 790px);
  overflow: hidden;
  border-radius: 0;
  padding: clamp(54px, 8vw, 118px) max(32px, calc((100vw - 1220px) / 2));
  color: #fff;
  background: var(--hero-image) center / cover no-repeat;
  box-shadow: none;
  isolation: isolate;
}

.khaokho-theme.ploysea-theme .hero:not(.has-cover) .hero-copy {
  background:
    linear-gradient(120deg, rgba(13, 48, 56, .94), rgba(61, 116, 125, .75)),
    radial-gradient(circle at 78% 20%, rgba(234,216,189,.42), transparent 30%);
}

.khaokho-theme.ploysea-theme .hero-copy::before {
  content: "";
  position: absolute;
  inset: 0;
  width: auto;
  height: auto;
  border: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
  opacity: 0;
  display: none;
  z-index: -1;
}

.khaokho-theme.ploysea-theme .hero-copy::after {
  content: "";
  position: absolute;
  right: 34px;
  bottom: 32px;
  left: auto;
  width: 88px;
  height: 1px;
  background: rgba(255,255,255,.82);
  clip-path: none;
  opacity: 1;
}

.khaokho-theme.ploysea-theme .hero-copy > * {
  position: relative;
  z-index: 2;
}

.khaokho-theme.ploysea-theme .hero-copy .eyebrow {
  margin: 0 0 20px;
  padding: 0 0 9px;
  border: 0;
  border-bottom: 1px solid rgba(255,255,255,.68);
  border-radius: 0;
  background: transparent;
  color: rgba(255,255,255,.92);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.khaokho-theme.ploysea-theme .hero-copy h1 {
  max-width: 820px;
  margin: 0 0 20px;
  color: #fff;
  font-family: "Prompt", "Noto Sans Thai", "Leelawadee UI", Tahoma, Arial, sans-serif;
  font-size: clamp(46px, 6vw, 82px);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -.025em;
  text-shadow: 0 3px 20px rgba(0,0,0,.22);
}

.khaokho-theme.ploysea-theme .hero-copy .lead {
  max-width: 700px;
  color: rgba(255,255,255,.9);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.9;
}

.khaokho-theme.ploysea-theme .hero-actions {
  margin-top: 30px;
  gap: 12px;
}

.khaokho-theme.ploysea-theme .hero-actions .button {
  min-height: 50px;
  padding-inline: 26px;
}

.khaokho-theme.ploysea-theme .hero-stats {
  max-width: 730px;
  margin-top: 48px;
  gap: 1px;
  border-top: 1px solid rgba(255,255,255,.32);
  border-bottom: 1px solid rgba(255,255,255,.32);
}

.khaokho-theme.ploysea-theme .hero-stat {
  border: 0;
  border-right: 1px solid rgba(255,255,255,.25);
  border-radius: 0;
  padding: 17px 18px;
  background: rgba(11,44,51,.22);
  backdrop-filter: blur(8px);
}

.khaokho-theme.ploysea-theme .hero-stat:last-child {
  border-right: 0;
}

.khaokho-theme.ploysea-theme .hero-stat strong {
  font-family: "Prompt", "Noto Sans Thai", "Leelawadee UI", Tahoma, Arial, sans-serif;
  font-size: 22px;
  font-weight: 500;
  letter-spacing: .08em;
}

.khaokho-theme.ploysea-theme .hero-stat span {
  color: rgba(255,255,255,.8);
  font-size: 11px;
  font-weight: 400;
}

/* Booking bar/card */
.khaokho-theme.ploysea-theme .booking-card {
  position: relative;
  z-index: 12;
  width: min(1160px, calc(100% - 48px));
  margin: -72px auto 0;
  overflow: visible;
  border: 0;
  border-radius: 3px;
  padding: 30px 34px;
  background: #fff;
  box-shadow: 0 24px 70px rgba(14, 49, 56, .23);
}

.khaokho-theme.ploysea-theme .booking-title-row {
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--ps-line);
}

.khaokho-theme.ploysea-theme .booking-title-row h2 {
  font-family: "Prompt", "Noto Sans Thai", "Leelawadee UI", Tahoma, Arial, sans-serif;
  color: var(--ps-deep);
  font-size: 28px;
  font-weight: 500;
}

.khaokho-theme.ploysea-theme .booking-title-row span {
  border-radius: 2px;
  background: var(--ps-cream);
  color: var(--ps-deep);
}

.khaokho-theme.ploysea-theme .booking-form label > span,
.khaokho-theme.ploysea-theme .date-range-field > span {
  color: var(--ps-muted);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .035em;
}

.khaokho-theme.ploysea-theme .booking-form input,
.khaokho-theme.ploysea-theme .booking-form select,
.khaokho-theme.ploysea-theme .booking-form textarea,
.khaokho-theme.ploysea-theme .date-range-trigger {
  border: 1px solid #d7dedc;
  border-radius: 2px;
  background: #fff;
  color: var(--ps-ink);
  box-shadow: none;
}

.khaokho-theme.ploysea-theme .booking-form input:focus,
.khaokho-theme.ploysea-theme .booking-form select:focus,
.khaokho-theme.ploysea-theme .booking-form textarea:focus,
.khaokho-theme.ploysea-theme .date-range-trigger:focus {
  border-color: var(--ps-sea);
  outline: 2px solid rgba(61,116,125,.14);
}

.khaokho-theme.ploysea-theme .availability-status {
  border-radius: 2px;
  border-color: rgba(61,116,125,.22);
  background: #eef6f5;
  color: #2f676d;
}

/* General sections */
.khaokho-theme.ploysea-theme .section {
  padding: 90px 0;
  background: var(--ps-cream);
}

.khaokho-theme.ploysea-theme .section:nth-of-type(even) {
  background: var(--ps-cream-2);
}

.khaokho-theme.ploysea-theme .section-head {
  margin-bottom: 38px;
  align-items: flex-end;
}

.khaokho-theme.ploysea-theme .section-head .eyebrow {
  margin-bottom: 10px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--ps-sand);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
}

.khaokho-theme.ploysea-theme .section-head h2 {
  margin: 0;
  color: var(--ps-deep);
  font-family: "Prompt", "Noto Sans Thai", "Leelawadee UI", Tahoma, Arial, sans-serif;
  font-size: clamp(31px, 4vw, 48px);
  font-weight: 500;
  line-height: 1.2;
}

.khaokho-theme.ploysea-theme .section-head p {
  max-width: 740px;
  margin-top: 12px;
  color: var(--ps-muted);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.8;
}

/* Why stay */
.khaokho-theme.ploysea-theme .khaokho-feature-section {
  background: #fff;
}

.khaokho-theme.ploysea-theme .grid-4.feature-image-grid {
  gap: 28px;
  background: transparent;
  border: 0;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.khaokho-theme.ploysea-theme .feature-card.feature-card--image {
  min-height: 0;
  border: 1px solid var(--ps-line);
  border-radius: 0;
  padding: 20px;
  background: #fff;
  box-shadow: none;
}

.khaokho-theme.ploysea-theme .feature-media {
  position: relative;
  width: 100%;
  aspect-ratio: 3.08 / 1;
  overflow: hidden;
  background: #e9eef0;
}

.khaokho-theme.ploysea-theme .feature-media img,
.khaokho-theme.ploysea-theme .feature-media-fallback {
  width: 100%;
  height: 100%;
  display: block;
}

.khaokho-theme.ploysea-theme .feature-media img {
  object-fit: cover;
  object-position: center center;
}

.khaokho-theme.ploysea-theme .feature-media-fallback {
  background: linear-gradient(135deg, rgba(15, 118, 110, 0.10), rgba(15, 118, 110, 0.02));
}

.khaokho-theme.ploysea-theme .feature-icon {
  position: absolute;
  top: 12px;
  left: 12px;
  min-width: 56px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 14px;
  border-radius: 999px;
  background: var(--ps-sand);
  color: #fff;
  font-family: "Prompt", "Noto Sans Thai", "Leelawadee UI", Tahoma, Arial, sans-serif;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1;
  box-shadow: 0 12px 20px rgba(0, 0, 0, 0.12);
}

.khaokho-theme.ploysea-theme .feature-copy {
  padding: 28px 24px 18px;
}

.khaokho-theme.ploysea-theme .feature-card h3 {
  margin: 0 0 18px;
  color: var(--ps-deep);
  font-size: 30px;
  font-weight: 700;
  line-height: 1.18;
}

.khaokho-theme.ploysea-theme .feature-card p {
  margin: 0;
  color: var(--ps-muted);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.75;
}

/* Availability */
.khaokho-theme.ploysea-theme .availability-section {
  background: var(--ps-deep);
  color: #fff;
}

.khaokho-theme.ploysea-theme .availability-section .section-head h2,
.khaokho-theme.ploysea-theme .availability-section .availability-head h3 {
  color: #fff;
}

.khaokho-theme.ploysea-theme .availability-section .section-head p,
.khaokho-theme.ploysea-theme .availability-section .availability-head span {
  color: rgba(255,255,255,.7);
}

.khaokho-theme.ploysea-theme .availability-section .availability {
  border-radius: 4px;
  background: #fff;
  color: var(--ps-ink);
  box-shadow: var(--ps-shadow);
}

.khaokho-theme.ploysea-theme .day,
.khaokho-theme.ploysea-theme .calendar-day {
  border-radius: 2px;
}

/* Rooms */
.khaokho-theme.ploysea-theme .room-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.khaokho-theme.ploysea-theme .room-card {
  overflow: hidden;
  border: 0;
  border-radius: 3px;
  background: #fff;
  box-shadow: var(--ps-shadow-soft);
  transition: transform .25s ease, box-shadow .25s ease;
}

.khaokho-theme.ploysea-theme .room-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--ps-shadow);
}

.khaokho-theme.ploysea-theme .room-image {
  min-height: 280px;
  border-radius: 0;
  background: #d8e1de;
}

.khaokho-theme.ploysea-theme .room-image img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
  transition: transform .5s ease;
}

.khaokho-theme.ploysea-theme .room-card:hover .room-image img {
  transform: scale(1.035);
}

.khaokho-theme.ploysea-theme .room-amenities {
  padding: 13px 18px 0;
}

.khaokho-theme.ploysea-theme .room-amenity {
  color: var(--ps-sea);
  background: #eef5f4;
  border-color: #d7e5e2;
}

.khaokho-theme.ploysea-theme .room-body {
  padding: 24px;
}

.khaokho-theme.ploysea-theme .room-name-row h3 {
  color: var(--ps-deep);
  font-family: "Prompt", "Noto Sans Thai", "Leelawadee UI", Tahoma, Arial, sans-serif;
  font-size: 23px;
  font-weight: 500;
}

.khaokho-theme.ploysea-theme .room-meta {
  margin: 14px 0;
  gap: 6px;
}

.khaokho-theme.ploysea-theme .pill,
.khaokho-theme.ploysea-theme .availability {
  border-radius: 2px;
}

.khaokho-theme.ploysea-theme .room-body > p {
  color: var(--ps-muted);
  font-size: 13px;
  font-weight: 400;
  line-height: 1.8;
}

.khaokho-theme.ploysea-theme .price {
  color: var(--ps-deep);
  font-size: 18px;
}

.khaokho-theme.ploysea-theme .room-booking-button {
  width: 100%;
  margin-top: 18px;
}

/* Packages / offers */
.khaokho-theme.ploysea-theme .packages-section {
  background: #fff;
}

/* R108_CCC_PACKAGES_DESKTOP_3_COLUMNS_V2_ACTIVE */
.khaokho-theme.ploysea-theme .package-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px;
}

.khaokho-theme.ploysea-theme .package-card {
  position: relative;
  min-height: 360px;
  overflow: hidden;
  border: 0;
  border-radius: 3px;
  padding: 42px;
  background:
    linear-gradient(135deg, rgba(21,63,72,.98), rgba(61,116,125,.9)),
    #153f48;
  color: #fff;
  box-shadow: var(--ps-shadow-soft);
}

.khaokho-theme.ploysea-theme .package-card:nth-child(even) {
  background:
    linear-gradient(135deg, rgba(98,72,45,.97), rgba(201,156,99,.88)),
    #8d6b44;
}

/* R108_CCC_PACKAGES_BACKGROUND_IMAGE_V1_ACTIVE
   Use the image uploaded from the Packages backend as a centered card background.
   The image occupies at most 95% of the card and is shown at 60% opacity. */
.khaokho-theme.ploysea-theme .package-card.has-bg-image {
  isolation: isolate;
}

.khaokho-theme.ploysea-theme .package-card .package-card-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: grid;
  place-items: center;
  overflow: hidden;
  pointer-events: none;
}

.khaokho-theme.ploysea-theme .package-card .package-card-bg img {
  display: block;
  width: 95%;
  height: 95%;
  object-fit: contain;
  object-position: center;
  opacity: .60;
}

.khaokho-theme.ploysea-theme .package-card.has-bg-image > :not(.package-card-bg) {
  position: relative;
  z-index: 1;
}

.khaokho-theme.ploysea-theme .package-card.has-bg-image h3,
.khaokho-theme.ploysea-theme .package-card.has-bg-image p,
.khaokho-theme.ploysea-theme .package-card.has-bg-image li,
.khaokho-theme.ploysea-theme .package-card.has-bg-image .package-price {
  text-shadow: 0 2px 8px rgba(0,0,0,.72);
}

.khaokho-theme.ploysea-theme .package-card h3,
.khaokho-theme.ploysea-theme .package-card .package-price {
  color: #fff;
}

.khaokho-theme.ploysea-theme .package-card h3 {
  font-family: "Prompt", "Noto Sans Thai", "Leelawadee UI", Tahoma, Arial, sans-serif;
  font-size: 28px;
  font-weight: 500;
}

.khaokho-theme.ploysea-theme .package-card p,
.khaokho-theme.ploysea-theme .package-card li {
  color: rgba(255,255,255,.78);
  font-weight: 400;
}

.khaokho-theme.ploysea-theme .package-card .label {
  border-radius: 2px;
  background: var(--ps-sand-light);
  color: #463520;
}

.khaokho-theme.ploysea-theme .package-card .button.light {
  border-color: rgba(255,255,255,.48);
  background: transparent;
  color: #fff;
}

/* Gallery */
.khaokho-theme.ploysea-theme .gallery-section {
  background: var(--ps-cream);
}

.khaokho-theme.ploysea-theme .gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: 230px;
  gap: 12px;
}

.khaokho-theme.ploysea-theme .gallery-card {
  position: relative;
  overflow: hidden;
  border: 0;
  border-radius: 2px;
  background: #d8e1de;
  box-shadow: none;
}

.khaokho-theme.ploysea-theme .gallery-card:first-child,
.khaokho-theme.ploysea-theme .gallery-card:nth-child(6n) {
  grid-column: span 2;
  grid-row: span 2;
}

.khaokho-theme.ploysea-theme .gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .45s ease, filter .45s ease;
}

.khaokho-theme.ploysea-theme .gallery-card:hover img {
  transform: scale(1.04);
  filter: brightness(.82);
}

.khaokho-theme.ploysea-theme .gallery-card figcaption {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 28px 16px 14px;
  background: linear-gradient(transparent, rgba(5,26,31,.74));
  color: #fff;
  font-size: 12px;
  font-weight: 500;
}

/* Location */
.khaokho-theme.ploysea-theme .location-section {
  background: #fff;
}

.khaokho-theme.ploysea-theme .location-panel {
  gap: 26px;
}

.khaokho-theme.ploysea-theme .map-card,
.khaokho-theme.ploysea-theme .nearby-item {
  border-radius: 3px;
}

.khaokho-theme.ploysea-theme .map-card {
  overflow: hidden;
  border: 0;
  background: var(--ps-deep);
  box-shadow: var(--ps-shadow-soft);
}

.khaokho-theme.ploysea-theme .nearby-item {
  border: 1px solid var(--ps-line);
  background: var(--ps-cream-2);
}

.khaokho-theme.ploysea-theme .nearby-time {
  border-radius: 2px;
  background: var(--ps-sand-light);
  color: #5a4125;
}

/* Reviews and FAQ */
.khaokho-theme.ploysea-theme .reviews-section {
  background: var(--ps-deep);
}

.khaokho-theme.ploysea-theme .reviews-section .section-head h2 {
  color: #fff;
}

.khaokho-theme.ploysea-theme .reviews-section .section-head p {
  color: rgba(255,255,255,.68);
}

.khaokho-theme.ploysea-theme .review-grid {
  gap: 18px;
}

.khaokho-theme.ploysea-theme .review-card {
  border: 0;
  border-radius: 3px;
  background: rgba(255,255,255,.96);
  box-shadow: none;
}

.khaokho-theme.ploysea-theme .review-card p {
  color: var(--ps-muted);
  font-weight: 400;
}

.khaokho-theme.ploysea-theme .faq-section {
  background: #fff;
}

.khaokho-theme.ploysea-theme .faq-card {
  border: 0;
  border-bottom: 1px solid var(--ps-line);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

/* CTA and info */
.khaokho-theme.ploysea-theme .cta-section {
  padding-block: 74px;
  background: var(--ps-sand-light);
}

.khaokho-theme.ploysea-theme .cta-panel {
  border: 0;
  border-radius: 3px;
  padding: 48px;
  background: var(--ps-cream-2);
  box-shadow: none;
}

.khaokho-theme.ploysea-theme .cta-panel h2 {
  color: var(--ps-deep);
  font-family: "Prompt", "Noto Sans Thai", "Leelawadee UI", Tahoma, Arial, sans-serif;
  font-weight: 500;
}

.khaokho-theme.ploysea-theme .panel {
  border: 1px solid var(--ps-line);
  border-radius: 3px;
  background: #fff;
  box-shadow: none;
}

/* Resort map */
.khaokho-theme.ploysea-theme .resort-map-card {
  border-radius: 3px;
  background: rgba(255,255,255,.96);
  color: var(--ps-ink);
}

/* Floating contact */
.khaokho-theme.ploysea-theme .floating-contact {
  border-radius: 2px;
  border: 1px solid rgba(255,255,255,.3);
  background: rgba(21,63,72,.94);
  box-shadow: 0 12px 32px rgba(0,0,0,.22);
}

.khaokho-theme.ploysea-theme .floating-contact a {
  color: #fff;
}

.khaokho-theme.ploysea-theme .floating-contact .fc-book {
  background: var(--ps-sand);
  color: #202628;
}

/* Footer */
.khaokho-theme.ploysea-theme .footer {
  margin-top: 0;
  padding: 54px 0 100px;
  border: 0;
  background: #0c3037;
  color: #fff;
}

.khaokho-theme.ploysea-theme .footer-inner strong {
  color: #fff;
  font-family: "Prompt", "Noto Sans Thai", "Leelawadee UI", Tahoma, Arial, sans-serif;
  font-size: 20px;
  font-weight: 500;
}

.khaokho-theme.ploysea-theme .footer-inner span {
  color: rgba(255,255,255,.62);
}

.khaokho-theme.ploysea-theme .footer-links a {
  min-height: 42px;
  border: 1px solid rgba(255,255,255,.24);
  border-radius: 2px;
  background: transparent;
  color: #fff;
  font-weight: 500;
}

.khaokho-theme.ploysea-theme .footer-links .footer-line {
  border-color: #fff;
  background: #fff;
  color: var(--ps-deep);
}

/* Responsive */
@media (max-width: 1120px) {
  .khaokho-theme.ploysea-theme .room-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .khaokho-theme.ploysea-theme .gallery-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  .khaokho-theme.ploysea-theme .package-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .khaokho-theme.ploysea-theme .nav {
    min-height: 68px;
  }

  .khaokho-theme.ploysea-theme .menu {
    padding: 10px;
    background: #123942;
  }

  .khaokho-theme.ploysea-theme .menu a {
    border: 1px solid rgba(255,255,255,.11);
  }

  .khaokho-theme.ploysea-theme .booking-card {
    width: min(94%, 820px);
    margin-top: -48px;
  }
}

@media (max-width: 760px) {
  .khaokho-theme.ploysea-theme .container {
    width: min(100% - 24px, 1320px);
  }

  .khaokho-theme.ploysea-theme .topbar {
    position: sticky;
  }

  .khaokho-theme.ploysea-theme .brand-mark {
    width: 48px;
    height: 38px;
    font-size: 13px;
  }

  .khaokho-theme.ploysea-theme .nav-actions .button.light {
    display: none;
  }

  .khaokho-theme.ploysea-theme .hero-copy {
    min-height: 610px;
    padding: 64px 24px 110px;
    background-position: 62% center;
  }

  .khaokho-theme.ploysea-theme .hero-copy h1 {
    font-size: clamp(38px, 12vw, 56px);
  }

  .khaokho-theme.ploysea-theme .hero-copy .lead {
    font-size: 14px;
    line-height: 1.75;
  }

  .khaokho-theme.ploysea-theme .hero-actions .button {
    width: 100%;
  }

  .khaokho-theme.ploysea-theme .hero-stats {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .khaokho-theme.ploysea-theme .hero-stat {
    border-right: 0;
    border-bottom: 1px solid rgba(255,255,255,.22);
  }

  .khaokho-theme.ploysea-theme .hero-stat:last-child {
    border-bottom: 0;
  }

  .khaokho-theme.ploysea-theme .booking-card {
    width: calc(100% - 24px);
    margin-top: -62px;
    padding: 22px 16px;
  }

  .khaokho-theme.ploysea-theme .section {
    padding: 66px 0;
  }

  .khaokho-theme.ploysea-theme .section-head h2 {
    font-size: 31px;
  }

  .khaokho-theme.ploysea-theme .grid-4,
  .khaokho-theme.ploysea-theme .room-grid,
  .khaokho-theme.ploysea-theme .package-grid {
    grid-template-columns: 1fr;
  }

  .khaokho-theme.ploysea-theme .grid-4.feature-image-grid {
    gap: 22px;
  }

  .khaokho-theme.ploysea-theme .feature-card.feature-card--image {
    padding: 12px;
  }

  .khaokho-theme.ploysea-theme .feature-copy {
    padding: 18px 12px 8px;
  }

  .khaokho-theme.ploysea-theme .feature-card h3 {
    margin-bottom: 12px;
    font-size: 22px;
  }

  .khaokho-theme.ploysea-theme .feature-card p {
    font-size: 14px;
    line-height: 1.7;
  }

  .khaokho-theme.ploysea-theme .feature-icon {
    top: 10px;
    left: 10px;
    min-width: 48px;
    height: 34px;
    font-size: 20px;
  }

  .khaokho-theme.ploysea-theme .room-image,
  .khaokho-theme.ploysea-theme .room-image img {
    min-height: 260px;
  }

  .khaokho-theme.ploysea-theme .package-card {
    min-height: 320px;
    padding: 32px 24px;
  }

  .khaokho-theme.ploysea-theme .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: 180px;
  }

  .khaokho-theme.ploysea-theme .gallery-card:first-child,
  .khaokho-theme.ploysea-theme .gallery-card:nth-child(6n) {
    grid-column: span 2;
    grid-row: span 1;
  }

  .khaokho-theme.ploysea-theme .cta-panel {
    padding: 32px 22px;
  }

  .khaokho-theme.ploysea-theme .footer-inner {
    gap: 28px;
  }
}

@media (max-width: 420px) {
  .khaokho-theme.ploysea-theme .brand-text strong {
    max-width: 150px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .khaokho-theme.ploysea-theme .hero-copy {
    min-height: 570px;
  }

  .khaokho-theme.ploysea-theme .gallery-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 240px;
  }

  .khaokho-theme.ploysea-theme .gallery-card:first-child,
  .khaokho-theme.ploysea-theme .gallery-card:nth-child(6n) {
    grid-column: auto;
  }
}


/* =====================================================================
   CCC_PLOYSEA_PROMPT_FONT_V2_ACTIVE
   ฟอนต์หลักทั้งหน้าเป็น Prompt รองรับภาษาไทยและอังกฤษในชุดเดียวกัน
   ===================================================================== */
.khaokho-theme.ploysea-theme,
.khaokho-theme.ploysea-theme button,
.khaokho-theme.ploysea-theme input,
.khaokho-theme.ploysea-theme select,
.khaokho-theme.ploysea-theme textarea,
.khaokho-theme.ploysea-theme option {
  font-family: "Prompt", "Noto Sans Thai", "Leelawadee UI", Tahoma, Arial, sans-serif !important;
}

.khaokho-theme.ploysea-theme h1,
.khaokho-theme.ploysea-theme h2,
.khaokho-theme.ploysea-theme h3,
.khaokho-theme.ploysea-theme h4,
.khaokho-theme.ploysea-theme h5,
.khaokho-theme.ploysea-theme h6,
.khaokho-theme.ploysea-theme .brand-mark,
.khaokho-theme.ploysea-theme .brand-text strong {
  font-family: "Prompt", "Noto Sans Thai", sans-serif !important;
  font-style: normal;
}

.khaokho-theme.ploysea-theme h1,
.khaokho-theme.ploysea-theme h2 {
  font-weight: 500;
  letter-spacing: -0.025em;
}

.khaokho-theme.ploysea-theme h3,
.khaokho-theme.ploysea-theme h4 {
  font-weight: 500;
  letter-spacing: -0.012em;
}

.khaokho-theme.ploysea-theme p,
.khaokho-theme.ploysea-theme li,
.khaokho-theme.ploysea-theme label,
.khaokho-theme.ploysea-theme input,
.khaokho-theme.ploysea-theme select,
.khaokho-theme.ploysea-theme textarea {
  font-weight: 400;
}

/* =====================================================================
   R108_CCC_HERO_BLACK_30_FIXED_V4_ACTIVE
   - เพิ่มฟิลเตอร์สีดำ 30% ทับภาพ Hero
   - ตรึงภาพพื้นหลัง Hero ด้วย background-attachment: fixed
   ===================================================================== */
.khaokho-theme.ploysea-theme .hero.has-cover .hero-copy {
  background-image: var(--hero-image) !important;
  background-position: center center !important;
  background-size: cover !important;
  background-repeat: no-repeat !important;
  background-attachment: fixed !important;
  background-blend-mode: normal !important;
  filter: none !important;
}

.khaokho-theme.ploysea-theme .hero.has-cover .hero-copy::before {
  content: "" !important;
  display: block !important;
  position: absolute !important;
  inset: 0 !important;
  width: auto !important;
  height: auto !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: rgba(0, 0, 0, 0.30) !important;
  box-shadow: none !important;
  opacity: 1 !important;
  z-index: 0 !important;
  pointer-events: none !important;
}

.khaokho-theme.ploysea-theme .hero.has-cover .hero-copy > * {
  position: relative;
  z-index: 2;
}

/* ลดอาการกระตุกบนอุปกรณ์สัมผัส โดยคงภาพไว้ตำแหน่งเดิม */
@media (max-width: 760px) {
  .khaokho-theme.ploysea-theme .hero.has-cover .hero-copy {
    background-position: center center !important;
    background-attachment: fixed !important;
  }
}

/* =====================================================================
   CCC_MOBILE_MODULES_96_PERCENT_V5_ACTIVE
   มือถือ: ขยายพื้นที่เนื้อหาของทุกโมดูลให้กว้างประมาณ 96% ของหน้าจอ
   โดยคง Hero background แบบเต็มหน้าจอ และปรับเฉพาะเนื้อหาภายใน
   ===================================================================== */
@media (max-width: 760px) {
  .khaokho-theme.ploysea-theme {
    overflow-x: hidden;
  }

  .khaokho-theme.ploysea-theme .container {
    width: 96% !important;
    max-width: 96% !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  /* Hero ยังคงภาพเต็มจอ แต่ข้อความและปุ่มใช้พื้นที่ประมาณ 96% */
  .khaokho-theme.ploysea-theme .hero > .container {
    width: 100% !important;
    max-width: none !important;
  }

  .khaokho-theme.ploysea-theme .hero-copy {
    padding-left: 2vw !important;
    padding-right: 2vw !important;
  }

  /* กล่องจองที่ลอยใต้ Hero ให้กว้างเท่ากับโมดูลอื่น */
  .khaokho-theme.ploysea-theme .booking-card {
    width: 96% !important;
    max-width: 96% !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  /* ป้องกันการ์ดและตารางภายในโมดูลล้นออกนอกพื้นที่ 96% */
  .khaokho-theme.ploysea-theme .panel,
  .khaokho-theme.ploysea-theme .availability,
  .khaokho-theme.ploysea-theme .calendar,
  .khaokho-theme.ploysea-theme .location-panel,
  .khaokho-theme.ploysea-theme .cta-panel,
  .khaokho-theme.ploysea-theme .room-grid,
  .khaokho-theme.ploysea-theme .package-grid,
  .khaokho-theme.ploysea-theme .gallery-grid,
  .khaokho-theme.ploysea-theme .review-grid,
  .khaokho-theme.ploysea-theme .faq-grid,
  .khaokho-theme.ploysea-theme .info-grid {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
  }
}


/* =====================================================================
   R108_CCC_EXTRA_BED_DETAILS_BOOKING_V6_ACTIVE
   แสดงราคา/จำนวนที่นอนเสริมในรายละเอียดบ้าน และจำกัดจำนวนในแบบฟอร์มจอง
   ===================================================================== */
.khaokho-theme.ploysea-theme .extra-bed-pill {
  border-color: rgba(61, 116, 125, .28);
  background: #edf6f4;
  color: #2f676d;
}

.khaokho-theme.ploysea-theme .extra-bed-pill.is-unavailable {
  border-color: #e3e3df;
  background: #f5f5f1;
  color: #777a76;
}

.khaokho-theme.ploysea-theme .booking-extra-bed-field > span {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.khaokho-theme.ploysea-theme .booking-extra-bed-field > span small {
  color: var(--ps-sea);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0;
  text-align: right;
}

.khaokho-theme.ploysea-theme .booking-extra-bed-field select:disabled {
  cursor: not-allowed;
  background: #f3f4f2;
  color: #8a8e89;
}

@media (max-width: 760px) {
  .khaokho-theme.ploysea-theme .booking-extra-bed-field > span {
    align-items: flex-start;
    flex-direction: column;
    gap: 2px;
  }

  .khaokho-theme.ploysea-theme .booking-extra-bed-field > span small {
    font-size: 8.5px;
    text-align: left;
  }
}

/* =====================================================================
   R108_CCC_BOOKING_COMPACT_TWO_COLUMNS_V7_ACTIVE
   แบบฟอร์มจองกระชับ: คู่ฟิลด์อยู่แถวเดียวกันทั้งคอมและมือถือ
   ซ่อน scrollbar ที่มองเห็น แต่ยังเลื่อนปฏิทิน/รายการได้ตามปกติ
   ===================================================================== */
.khaokho-theme.ploysea-theme .booking-card,
.khaokho-theme.ploysea-theme .booking-card *,
.khaokho-theme.ploysea-theme .booking-form,
.khaokho-theme.ploysea-theme .booking-form * {
  box-sizing: border-box;
}

.khaokho-theme.ploysea-theme .booking-card {
  overflow: visible !important;
  padding: 22px 26px !important;
}

.khaokho-theme.ploysea-theme .booking-title-row {
  margin-bottom: 10px !important;
  padding-bottom: 8px !important;
}

.khaokho-theme.ploysea-theme .booking-title-row h2 {
  margin: 0 !important;
  font-size: 23px !important;
  line-height: 1.25 !important;
}

.khaokho-theme.ploysea-theme .booking-form.form-grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
  align-items: end !important;
  column-gap: 12px !important;
  row-gap: 9px !important;
  width: 100% !important;
  min-width: 0 !important;
  overflow: visible !important;
}

.khaokho-theme.ploysea-theme .booking-form > label,
.khaokho-theme.ploysea-theme .booking-form > div,
.khaokho-theme.ploysea-theme .booking-form > p,
.khaokho-theme.ploysea-theme .booking-form > button {
  min-width: 0 !important;
  margin: 0 !important;
}

.khaokho-theme.ploysea-theme .booking-form .span-2,
.khaokho-theme.ploysea-theme .booking-form .date-range-field,
.khaokho-theme.ploysea-theme .booking-form .booking-room-field,
.khaokho-theme.ploysea-theme .booking-form .availability-status,
.khaokho-theme.ploysea-theme .booking-form .booking-message-field,
.khaokho-theme.ploysea-theme .booking-form > button[type="submit"] {
  grid-column: 1 / -1 !important;
}

.khaokho-theme.ploysea-theme .booking-form label {
  display: flex !important;
  flex-direction: column !important;
  justify-content: flex-end !important;
  gap: 4px !important;
}

.khaokho-theme.ploysea-theme .booking-form label > span,
.khaokho-theme.ploysea-theme .date-range-field > span {
  display: block !important;
  margin: 0 !important;
  font-size: 10px !important;
  line-height: 1.25 !important;
}

.khaokho-theme.ploysea-theme .booking-form input,
.khaokho-theme.ploysea-theme .booking-form select {
  width: 100% !important;
  min-width: 0 !important;
  height: 40px !important;
  min-height: 40px !important;
  padding: 7px 10px !important;
  font-size: 13px !important;
  line-height: 1.2 !important;
}

.khaokho-theme.ploysea-theme .booking-form textarea {
  width: 100% !important;
  min-width: 0 !important;
  min-height: 64px !important;
  height: 64px !important;
  padding: 9px 10px !important;
  font-size: 12px !important;
  line-height: 1.45 !important;
  resize: vertical !important;
}

.khaokho-theme.ploysea-theme .date-range-trigger {
  width: 100% !important;
  min-height: 62px !important;
  padding: 8px 12px !important;
}

.khaokho-theme.ploysea-theme .date-range-caption {
  font-size: 9px !important;
  line-height: 1.2 !important;
}

.khaokho-theme.ploysea-theme .date-range-cell strong,
.khaokho-theme.ploysea-theme .date-range-nights {
  font-size: 12px !important;
  line-height: 1.25 !important;
}

.khaokho-theme.ploysea-theme .availability-status {
  min-height: 34px !important;
  padding: 8px 10px !important;
  font-size: 10.5px !important;
  line-height: 1.35 !important;
}

.khaokho-theme.ploysea-theme .booking-extra-bed-field > span {
  min-height: 16px !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 5px !important;
  white-space: nowrap !important;
}

.khaokho-theme.ploysea-theme .booking-extra-bed-field > span small {
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
  font-size: 8px !important;
}

.khaokho-theme.ploysea-theme .booking-form > button[type="submit"] {
  min-height: 42px !important;
  padding: 9px 16px !important;
  margin-top: 1px !important;
}

/* ไม่แสดงแถบ scrollbar แต่ยังเลื่อนได้ */
.khaokho-theme.ploysea-theme .booking-card,
.khaokho-theme.ploysea-theme .date-range-popover,
.khaokho-theme.ploysea-theme .date-range-months {
  scrollbar-width: none !important;
  -ms-overflow-style: none !important;
}

.khaokho-theme.ploysea-theme .booking-card::-webkit-scrollbar,
.khaokho-theme.ploysea-theme .date-range-popover::-webkit-scrollbar,
.khaokho-theme.ploysea-theme .date-range-months::-webkit-scrollbar {
  width: 0 !important;
  height: 0 !important;
  display: none !important;
}

@media (max-width: 760px) {
  .khaokho-theme.ploysea-theme .booking-card {
    width: 96% !important;
    max-width: 96% !important;
    padding: 16px 10px !important;
    overflow-x: hidden !important;
  }

  .khaokho-theme.ploysea-theme .booking-title-row {
    margin-bottom: 8px !important;
    padding-bottom: 6px !important;
  }

  .khaokho-theme.ploysea-theme .booking-title-row h2 {
    font-size: 19px !important;
  }

  .khaokho-theme.ploysea-theme .booking-form.form-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
    column-gap: 8px !important;
    row-gap: 7px !important;
  }

  .khaokho-theme.ploysea-theme .booking-form label > span,
  .khaokho-theme.ploysea-theme .date-range-field > span {
    font-size: 9px !important;
  }

  .khaokho-theme.ploysea-theme .booking-form input,
  .khaokho-theme.ploysea-theme .booking-form select {
    height: 38px !important;
    min-height: 38px !important;
    padding: 6px 8px !important;
    font-size: 12px !important;
  }

  .khaokho-theme.ploysea-theme .date-range-trigger {
    min-height: 56px !important;
    padding: 7px 8px !important;
  }

  .khaokho-theme.ploysea-theme .date-range-cell strong,
  .khaokho-theme.ploysea-theme .date-range-nights {
    font-size: 10px !important;
  }

  .khaokho-theme.ploysea-theme .availability-status {
    min-height: 31px !important;
    padding: 7px 8px !important;
    font-size: 9.5px !important;
  }

  .khaokho-theme.ploysea-theme .booking-extra-bed-field > span {
    flex-direction: row !important;
    align-items: center !important;
    min-width: 0 !important;
  }

  .khaokho-theme.ploysea-theme .booking-extra-bed-field > span small {
    max-width: 56% !important;
    font-size: 7.5px !important;
  }

  .khaokho-theme.ploysea-theme .booking-form textarea {
    min-height: 54px !important;
    height: 54px !important;
    font-size: 11px !important;
  }

  .khaokho-theme.ploysea-theme .booking-form > button[type="submit"] {
    min-height: 40px !important;
    padding: 8px 12px !important;
  }
}

@media (max-width: 380px) {
  .khaokho-theme.ploysea-theme .booking-card {
    padding-left: 8px !important;
    padding-right: 8px !important;
  }

  .khaokho-theme.ploysea-theme .booking-form.form-grid {
    column-gap: 6px !important;
  }

  .khaokho-theme.ploysea-theme .booking-form input,
  .khaokho-theme.ploysea-theme .booking-form select {
    font-size: 11px !important;
    padding-left: 7px !important;
    padding-right: 7px !important;
  }

  .khaokho-theme.ploysea-theme .booking-extra-bed-field > span small {
    max-width: 52% !important;
    font-size: 7px !important;
  }
}

/* =====================================================================
   R108_CCC_RIVERSIDE_MOBILE_ONE_COLUMN_V8_ACTIVE
   Riverside Escape / ทำไมต้องพักกับเรา: มือถือแสดงทีละ 1 คอลัมน์
   ===================================================================== */
@media (max-width: 760px) {
  .khaokho-theme.ploysea-theme .khaokho-feature-section .grid-4.feature-image-grid {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    grid-auto-flow: row !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  .khaokho-theme.ploysea-theme .khaokho-feature-section .feature-card.feature-card--image {
    grid-column: 1 / -1 !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
  }
}

/* =====================================================================
   R108_CCC_ROOM_THEME_AMENITY_BAR_V9_ACTIVE
   Rooms: ตัดช่องว่างใต้รูปและใช้เป็นแถบสีธีมสำหรับไอคอนสิ่งอำนวยความสะดวก
   ===================================================================== */
.khaokho-theme.ploysea-theme .room-image,
.khaokho-theme.ploysea-theme .room-card:first-child .room-image {
  display: flex !important;
  flex-direction: column !important;
  min-height: 0 !important;
  overflow: visible;
  background: var(--primary);
}

.khaokho-theme.ploysea-theme .room-photo {
  position: relative;
  display: grid;
  width: 100%;
  min-width: 0;
  aspect-ratio: 4 / 3;
  place-items: center;
  overflow: hidden;
  background: #d8e1de;
}

.khaokho-theme.ploysea-theme .room-photo img {
  display: block;
  width: 100%;
  height: 100% !important;
  min-height: 0 !important;
  aspect-ratio: auto !important;
  object-fit: cover;
}

.khaokho-theme.ploysea-theme .room-photo > span {
  display: grid;
  width: 100%;
  height: 100%;
  min-height: 0;
  place-items: center;
}

.khaokho-theme.ploysea-theme .room-amenities {
  flex: 0 0 auto;
  width: 100%;
  box-sizing: border-box;
  color: #fff;
  background: var(--primary) !important;
}

.khaokho-theme.ploysea-theme .room-amenity {
  color: var(--primary) !important;
  background: rgba(255,255,255,.94) !important;
  border-color: rgba(255,255,255,.78) !important;
}

.khaokho-theme.ploysea-theme .room-amenity:hover,
.khaokho-theme.ploysea-theme .room-amenity:focus-visible {
  transform: translateY(-1px);
  background: #fff !important;
  outline: 2px solid rgba(255,255,255,.55);
  outline-offset: 2px;
}

@media (max-width: 760px) {
  .khaokho-theme.ploysea-theme .room-amenities {
    min-height: 54px;
    gap: 3px;
    padding: 8px 10px;
  }

  .khaokho-theme.ploysea-theme .room-amenity {
    max-width: 30px;
  }
}

/* =====================================================================
   R108_CCC_ROOM_AMENITY_BAR_COMPACT_V10_ACTIVE
   Rooms: แก้กฎ .room-image span ที่ทำให้ไอคอนสูง 154px
   ให้แถบสีและไอคอนมีความสูงพอดีเท่ากันทุกการ์ด
   ===================================================================== */
.khaokho-theme.ploysea-theme .room-amenities {
  min-height: 0 !important;
  height: 50px !important;
  padding: 8px 14px !important;
  align-content: center !important;
  overflow: visible !important;
}

.khaokho-theme.ploysea-theme .room-amenities .room-amenity {
  width: 30px !important;
  height: 30px !important;
  min-width: 30px !important;
  min-height: 30px !important;
  max-width: 30px !important;
  max-height: 30px !important;
  padding: 0 !important;
  aspect-ratio: auto !important;
  line-height: 1 !important;
  border-radius: 50% !important;
}

.khaokho-theme.ploysea-theme .room-amenities .room-amenity svg {
  width: 17px !important;
  height: 17px !important;
  min-width: 0 !important;
  min-height: 0 !important;
}

.khaokho-theme.ploysea-theme .room-amenities.is-empty {
  height: 0 !important;
  min-height: 0 !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  border-top: 0 !important;
}

@media (max-width: 760px) {
  .khaokho-theme.ploysea-theme .room-amenities {
    height: 46px !important;
    padding: 7px 10px !important;
    gap: 3px !important;
  }

  .khaokho-theme.ploysea-theme .room-amenities .room-amenity {
    width: 28px !important;
    height: 28px !important;
    min-width: 28px !important;
    min-height: 28px !important;
    max-width: 28px !important;
    max-height: 28px !important;
  }

  .khaokho-theme.ploysea-theme .room-amenities .room-amenity svg {
    width: 16px !important;
    height: 16px !important;
  }
}

/* =====================================================================
   R108_CCC_ROOM_FADE_SLIDESHOW_V11_ACTIVE
   Rooms: รูปแต่ละบ้านพักสลับแบบ cross-fade ทุกประมาณ 4 วินาที
   ===================================================================== */
.khaokho-theme.ploysea-theme .room-photo.room-slideshow {
  position: relative;
  display: block;
  isolation: isolate;
  background: #d8e1de;
}

.khaokho-theme.ploysea-theme .room-photo.room-slideshow .room-slide {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: block;
  width: 100%;
  height: 100% !important;
  min-height: 0 !important;
  margin: 0;
  object-fit: cover;
  opacity: 0;
  visibility: hidden;
  transform: scale(1.01);
  transition:
    opacity 1.05s ease-in-out,
    visibility 1.05s ease-in-out,
    transform .55s ease;
  pointer-events: none;
}

.khaokho-theme.ploysea-theme .room-photo.room-slideshow .room-slide.is-active {
  z-index: 1;
  opacity: 1;
  visibility: visible;
}

.khaokho-theme.ploysea-theme .room-card:hover .room-photo.room-slideshow .room-slide.is-active {
  transform: scale(1.035);
}

@media (prefers-reduced-motion: reduce) {
  .khaokho-theme.ploysea-theme .room-photo.room-slideshow .room-slide {
    transition: none !important;
  }
}


/* =====================================================================
   R108_CCC_RIVERSIDE_THEME_BOTTOM_BAR_V12_ACTIVE
   Riverside Escape: แถบสีธีมเต็มความกว้างที่ด้านล่างของการ์ดทุกใบ
   ===================================================================== */
.khaokho-theme.ploysea-theme .khaokho-feature-section .feature-card.feature-card--image {
  border-bottom: 10px solid var(--primary) !important;
}

@media (max-width: 760px) {
  .khaokho-theme.ploysea-theme .khaokho-feature-section .feature-card.feature-card--image {
    border-bottom-width: 8px !important;
  }
}

/* =====================================================================
   R108_CCC_LANDING_MAP_SYNC_V13_ACTIVE
   Landing Resort Map: ใช้กรอบภาพ 1:1 และ object-fit:cover แบบเดียวกับ
   app.resort108.com/rooms.php เพื่อให้พิกัดเปอร์เซ็นต์ของพินตรงกันทุกจุด
   ===================================================================== */
.khaokho-theme.ploysea-theme .resort-map-section {
  background: var(--ps-cream, #f7f5ef);
}

.khaokho-theme.ploysea-theme .resort-map-section-head {
  align-items: center;
}

.khaokho-theme.ploysea-theme .resort-map-count {
  display: inline-flex;
  min-width: 54px;
  min-height: 36px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--ps-line, #dfe5e2);
  border-radius: 999px;
  background: #fff;
  color: var(--ps-deep, #153f48);
  padding: 6px 13px;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}

.khaokho-theme.ploysea-theme .landing-resort-map-card {
  display: block !important;
  width: min(100%, 920px);
  overflow: hidden;
  margin: 26px auto 0;
  border: 1px solid var(--ps-line, #dfe5e2);
  border-radius: 12px;
  background: #fff;
  box-shadow: none;
}

/* สำคัญ: ต้องเหมือนกรอบแก้ไขใน rooms.php จึงห้ามใช้ความสูงตามรูปต้นฉบับ */
.khaokho-theme.ploysea-theme .landing-resort-map-card .resort-map-stage {
  position: relative !important;
  width: 100% !important;
  height: auto !important;
  min-height: 0 !important;
  aspect-ratio: 1 / 1 !important;
  overflow: hidden !important;
  border-radius: 11px 11px 0 0;
  background: #f8fafc;
}

.khaokho-theme.ploysea-theme .landing-resort-map-card .resort-map-stage > img {
  position: absolute !important;
  inset: 0 !important;
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  max-height: none !important;
  object-fit: cover !important;
  object-position: center center !important;
}

/* ขนาด 26px เท่ากับพินที่หน้า app/rooms.php ใช้งานจริง */
.khaokho-theme.ploysea-theme .landing-resort-map-card .resort-map-pin {
  z-index: 4;
  width: 26px !important;
  height: 26px !important;
  min-width: 26px !important;
  min-height: 26px !important;
  max-width: 26px !important;
  max-height: 26px !important;
  padding: 0 !important;
  transform: translate(-50%, -50%) !important;
  border: 1.5px solid #fff !important;
  border-radius: 999px !important;
  background: var(--accent) !important;
  color: #111827 !important;
  font: 800 12px/1 Arial, Tahoma, sans-serif !important;
  box-shadow: 0 1px 4px rgba(0, 0, 0, .30) !important;
}

.khaokho-theme.ploysea-theme .landing-resort-map-card .resort-map-pin:hover,
.khaokho-theme.ploysea-theme .landing-resort-map-card .resort-map-pin:focus-visible,
.khaokho-theme.ploysea-theme .landing-resort-map-card .resort-map-pin.active {
  transform: translate(-50%, -50%) scale(1.15) !important;
  outline: 3px solid color-mix(in srgb, var(--accent) 38%, transparent);
  outline-offset: 1px;
}

.khaokho-theme.ploysea-theme .landing-resort-map-card .resort-map-detail {
  border-top: 1px solid var(--ps-line, #dfe5e2);
  padding: 14px;
}

@media (max-width: 760px) {
  .khaokho-theme.ploysea-theme .resort-map-section-head {
    align-items: flex-start;
  }

  .khaokho-theme.ploysea-theme .landing-resort-map-card {
    margin-top: 18px;
  }

  .khaokho-theme.ploysea-theme .landing-resort-map-card .resort-map-detail {
    padding: 10px;
  }
}


/* =====================================================================
   R108_CCC_ROOM_META_COMPACT_V14_ACTIVE
   Rooms: ซ่อนแท็กประเภท/รูปแบบสต็อกจาก HTML แล้ว ย้ายจำนวนรายการขึ้นมา
   พร้อมกำหนดฟอนต์และความสูงของแท็กทุกช่องให้เท่ากัน
   ===================================================================== */
.khaokho-theme.ploysea-theme .room-meta {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  gap: 7px !important;
  margin: 14px 0 16px !important;
}

.khaokho-theme.ploysea-theme .room-meta .pill,
.khaokho-theme.ploysea-theme .room-meta .room-availability-pill {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 30px !important;
  height: 30px !important;
  box-sizing: border-box !important;
  margin: 0 !important;
  padding: 0 11px !important;
  border: 0 !important;
  border-radius: 2px !important;
  font-family: "Prompt", "Noto Sans Thai", "Leelawadee UI", Tahoma, Arial, sans-serif !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  line-height: 1 !important;
  white-space: nowrap !important;
}

.khaokho-theme.ploysea-theme .room-meta .room-availability-pill {
  background: #eef3f8 !important;
  color: var(--ps-deep) !important;
}

@media (max-width: 760px) {
  .khaokho-theme.ploysea-theme .room-meta {
    gap: 6px !important;
  }

  .khaokho-theme.ploysea-theme .room-meta .pill,
  .khaokho-theme.ploysea-theme .room-meta .room-availability-pill {
    min-height: 29px !important;
    height: 29px !important;
    padding-right: 9px !important;
    padding-left: 9px !important;
    font-size: 11px !important;
  }
}

/* =====================================================================
   R108_CCC_LANDING_BUILDER_SYNC_V18_ACTIVE
   ให้หน้า Landing ใช้ลำดับโมดูล สี ฟอนต์ พื้นหลัง คอลัมน์ Gallery
   ความโค้ง และเงาที่เผยแพร่จาก app.resort108.com/landing_builder.php
   ===================================================================== */
.khaokho-theme.ploysea-theme {
  background: var(--landing-background, #f4f5f7) !important;
  color: var(--landing-text, #374151);
  font-size: var(--landing-font-desktop, 100%);
}

.khaokho-theme.ploysea-theme.landing-font-system {
  font-family: system-ui, -apple-system, "Segoe UI", Tahoma, Arial, sans-serif !important;
}

.khaokho-theme.ploysea-theme.landing-font-prompt {
  font-family: "Prompt", "Noto Sans Thai", "Leelawadee UI", Tahoma, Arial, sans-serif !important;
}

.khaokho-theme.ploysea-theme.landing-font-noto {
  font-family: "Noto Sans Thai", "Leelawadee UI", Tahoma, Arial, sans-serif !important;
}

/* order มีผลเฉพาะลูกโดยตรง จึงไม่รบกวน grid ภายในแต่ละโมดูล */
.khaokho-theme.ploysea-theme .landing-module-stack {
  display: flex !important;
  flex-direction: column !important;
  gap: var(--landing-section-gap, 24px) !important;
  min-width: 0;
}

.khaokho-theme.ploysea-theme .landing-module-stack > section {
  order: var(--landing-order, 999) !important;
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

.khaokho-theme.ploysea-theme .landing-module-stack > .section.landing-bg-default {
  background: var(--landing-background, #f4f5f7) !important;
}

.khaokho-theme.ploysea-theme .landing-module-stack > .section.landing-bg-soft {
  background: color-mix(in srgb, var(--landing-surface, #fff) 82%, var(--landing-background, #f4f5f7)) !important;
}

.khaokho-theme.ploysea-theme .landing-module-stack > .section.landing-bg-transparent {
  background: transparent !important;
}

.khaokho-theme.ploysea-theme .landing-module-stack > .section.landing-bg-dark {
  background: var(--primary, #0f4c9a) !important;
  color: #fff !important;
}

.khaokho-theme.ploysea-theme .landing-module-stack > .section:not(.landing-bg-dark) .section-head h2,
.khaokho-theme.ploysea-theme .landing-module-stack > .section:not(.landing-bg-dark) .section-head h3 {
  color: var(--landing-heading, #111827) !important;
}

.khaokho-theme.ploysea-theme .landing-module-stack > .section:not(.landing-bg-dark) .section-head p:not(.eyebrow) {
  color: var(--landing-text, #374151) !important;
}

.khaokho-theme.ploysea-theme .landing-module-stack > .section.landing-bg-dark .section-head h2,
.khaokho-theme.ploysea-theme .landing-module-stack > .section.landing-bg-dark .section-head h3,
.khaokho-theme.ploysea-theme .landing-module-stack > .section.landing-bg-dark .section-head p,
.khaokho-theme.ploysea-theme .landing-module-stack > .section.landing-bg-dark .eyebrow {
  color: #fff !important;
}

.khaokho-theme.ploysea-theme .panel,
.khaokho-theme.ploysea-theme .room-card,
.khaokho-theme.ploysea-theme .feature-card,
.khaokho-theme.ploysea-theme .package-card,
.khaokho-theme.ploysea-theme .gallery-card,
.khaokho-theme.ploysea-theme .review-card,
.khaokho-theme.ploysea-theme .faq-card,
.khaokho-theme.ploysea-theme .location-panel,
.khaokho-theme.ploysea-theme .cta-panel,
.khaokho-theme.ploysea-theme .booking-card,
.khaokho-theme.ploysea-theme .resort-map-card {
  border-radius: var(--landing-card-radius, 24px) !important;
}

.khaokho-theme.ploysea-theme .gallery-grid {
  grid-template-columns: repeat(var(--landing-gallery-desktop, 6), minmax(0, 1fr)) !important;
}

.khaokho-theme.ploysea-theme.landing-shadow-none .panel,
.khaokho-theme.ploysea-theme.landing-shadow-none .room-card,
.khaokho-theme.ploysea-theme.landing-shadow-none .feature-card,
.khaokho-theme.ploysea-theme.landing-shadow-none .package-card,
.khaokho-theme.ploysea-theme.landing-shadow-none .gallery-card,
.khaokho-theme.ploysea-theme.landing-shadow-none .review-card,
.khaokho-theme.ploysea-theme.landing-shadow-none .faq-card,
.khaokho-theme.ploysea-theme.landing-shadow-none .location-panel,
.khaokho-theme.ploysea-theme.landing-shadow-none .cta-panel,
.khaokho-theme.ploysea-theme.landing-shadow-none .booking-card,
.khaokho-theme.ploysea-theme.landing-shadow-none .resort-map-card {
  box-shadow: none !important;
}

.khaokho-theme.ploysea-theme.landing-shadow-soft .panel,
.khaokho-theme.ploysea-theme.landing-shadow-soft .room-card,
.khaokho-theme.ploysea-theme.landing-shadow-soft .feature-card,
.khaokho-theme.ploysea-theme.landing-shadow-soft .package-card,
.khaokho-theme.ploysea-theme.landing-shadow-soft .gallery-card,
.khaokho-theme.ploysea-theme.landing-shadow-soft .review-card,
.khaokho-theme.ploysea-theme.landing-shadow-soft .faq-card,
.khaokho-theme.ploysea-theme.landing-shadow-soft .location-panel,
.khaokho-theme.ploysea-theme.landing-shadow-soft .cta-panel,
.khaokho-theme.ploysea-theme.landing-shadow-soft .booking-card,
.khaokho-theme.ploysea-theme.landing-shadow-soft .resort-map-card {
  box-shadow: 0 12px 30px rgba(15, 23, 42, .08) !important;
}

.khaokho-theme.ploysea-theme.landing-shadow-strong .panel,
.khaokho-theme.ploysea-theme.landing-shadow-strong .room-card,
.khaokho-theme.ploysea-theme.landing-shadow-strong .feature-card,
.khaokho-theme.ploysea-theme.landing-shadow-strong .package-card,
.khaokho-theme.ploysea-theme.landing-shadow-strong .gallery-card,
.khaokho-theme.ploysea-theme.landing-shadow-strong .review-card,
.khaokho-theme.ploysea-theme.landing-shadow-strong .faq-card,
.khaokho-theme.ploysea-theme.landing-shadow-strong .location-panel,
.khaokho-theme.ploysea-theme.landing-shadow-strong .cta-panel,
.khaokho-theme.ploysea-theme.landing-shadow-strong .booking-card,
.khaokho-theme.ploysea-theme.landing-shadow-strong .resort-map-card {
  box-shadow: 0 18px 44px rgba(15, 23, 42, .18) !important;
}

.khaokho-theme.ploysea-theme .resort-map-head-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

@media (max-width: 760px) {
  .khaokho-theme.ploysea-theme {
    font-size: var(--landing-font-mobile, 100%);
  }

  .khaokho-theme.ploysea-theme .landing-module-stack {
    gap: var(--landing-section-gap, 24px) !important;
  }

  .khaokho-theme.ploysea-theme .gallery-grid {
    grid-template-columns: repeat(var(--landing-gallery-mobile, 2), minmax(0, 1fr)) !important;
  }

  .khaokho-theme.ploysea-theme .resort-map-head-actions {
    width: 100%;
    justify-content: flex-start;
  }
}

/* =====================================================================
   R108_CCC_TYPOGRAPHY_BALANCE_V19_ACTIVE
   ลดขนาด H1, H2, H3 และข้อความให้อ่านง่าย สมดุลทั้งคอมและมือถือ
   ใช้หน่วย em เพื่อให้ยังตอบสนองต่อ Font scale จาก Landing Builder
   ===================================================================== */
.khaokho-theme.ploysea-theme h1,
.khaokho-theme.ploysea-theme h2,
.khaokho-theme.ploysea-theme h3 {
  overflow-wrap: anywhere;
}

/* Heading hierarchy — Desktop */
.khaokho-theme.ploysea-theme h1 {
  font-size: clamp(2.25em, 4vw, 3.625em) !important;
  line-height: 1.14 !important;
}

.khaokho-theme.ploysea-theme h2 {
  font-size: clamp(1.65em, 2.8vw, 2.375em) !important;
  line-height: 1.22 !important;
}

.khaokho-theme.ploysea-theme h3 {
  font-size: clamp(1.125em, 1.65vw, 1.375em) !important;
  line-height: 1.35 !important;
}

/* Hero */
.khaokho-theme.ploysea-theme .hero-copy h1 {
  max-width: 760px;
  font-size: clamp(2.375em, 4.5vw, 3.625em) !important;
  line-height: 1.14 !important;
}

.khaokho-theme.ploysea-theme .hero-copy .lead {
  max-width: 680px;
  font-size: .9375em !important;
  line-height: 1.8 !important;
}

/* Section heading */
.khaokho-theme.ploysea-theme .section-head h2 {
  font-size: clamp(1.7em, 2.75vw, 2.375em) !important;
  line-height: 1.24 !important;
}

.khaokho-theme.ploysea-theme .section-head p {
  font-size: .84375em !important;
  line-height: 1.75 !important;
}

/* Booking */
.khaokho-theme.ploysea-theme .booking-title-row h2 {
  font-size: 1.375em !important;
  line-height: 1.3 !important;
}

/* Riverside Escape / Why stay */
.khaokho-theme.ploysea-theme .feature-card h3 {
  margin-bottom: 12px !important;
  font-size: 1.375em !important;
  line-height: 1.35 !important;
}

.khaokho-theme.ploysea-theme .feature-card p {
  font-size: .875em !important;
  line-height: 1.75 !important;
}

/* Rooms */
.khaokho-theme.ploysea-theme .room-name-row h3,
.khaokho-theme.ploysea-theme .room-body h3 {
  font-size: 1.25em !important;
  line-height: 1.4 !important;
}

.khaokho-theme.ploysea-theme .room-body > p {
  font-size: .8125em !important;
  line-height: 1.75 !important;
}

.khaokho-theme.ploysea-theme .price {
  font-size: 1.0625em !important;
  line-height: 1.4 !important;
}

/* Packages */
.khaokho-theme.ploysea-theme .package-card h3 {
  font-size: 1.375em !important;
  line-height: 1.35 !important;
}

.khaokho-theme.ploysea-theme .package-card p,
.khaokho-theme.ploysea-theme .package-card li {
  font-size: .875em !important;
  line-height: 1.7 !important;
}

/* Other cards and content modules */
.khaokho-theme.ploysea-theme .availability-head h3,
.khaokho-theme.ploysea-theme .faq-card h3,
.khaokho-theme.ploysea-theme .location-panel h3,
.khaokho-theme.ploysea-theme .panel h3 {
  font-size: 1.125em !important;
  line-height: 1.4 !important;
}

.khaokho-theme.ploysea-theme .review-card p,
.khaokho-theme.ploysea-theme .faq-card p,
.khaokho-theme.ploysea-theme .location-panel p,
.khaokho-theme.ploysea-theme .location-panel li,
.khaokho-theme.ploysea-theme .panel p,
.khaokho-theme.ploysea-theme .panel li,
.khaokho-theme.ploysea-theme .cta-panel p,
.khaokho-theme.ploysea-theme .resort-map-detail p {
  font-size: .875em !important;
  line-height: 1.75 !important;
}

.khaokho-theme.ploysea-theme .cta-panel h2 {
  font-size: clamp(1.625em, 2.5vw, 2.125em) !important;
  line-height: 1.25 !important;
}

/* Tablet */
@media (max-width: 980px) {
  .khaokho-theme.ploysea-theme .hero-copy h1 {
    font-size: clamp(2.125em, 6vw, 3em) !important;
  }

  .khaokho-theme.ploysea-theme .section-head h2 {
    font-size: clamp(1.625em, 4vw, 2.125em) !important;
  }
}

/* Mobile */
@media (max-width: 760px) {
  .khaokho-theme.ploysea-theme h1 {
    font-size: clamp(1.875em, 9vw, 2.375em) !important;
    line-height: 1.18 !important;
  }

  .khaokho-theme.ploysea-theme h2 {
    font-size: clamp(1.45em, 7vw, 1.75em) !important;
    line-height: 1.25 !important;
  }

  .khaokho-theme.ploysea-theme h3 {
    font-size: 1.125em !important;
    line-height: 1.4 !important;
  }

  .khaokho-theme.ploysea-theme .hero-copy h1 {
    max-width: 100%;
    font-size: clamp(1.875em, 9vw, 2.375em) !important;
    line-height: 1.18 !important;
  }

  .khaokho-theme.ploysea-theme .hero-copy .lead {
    font-size: .8125em !important;
    line-height: 1.7 !important;
  }

  .khaokho-theme.ploysea-theme .section-head h2 {
    font-size: clamp(1.45em, 7vw, 1.625em) !important;
    line-height: 1.28 !important;
  }

  .khaokho-theme.ploysea-theme .section-head p {
    margin-top: 9px;
    font-size: .8125em !important;
    line-height: 1.7 !important;
  }

  .khaokho-theme.ploysea-theme .booking-title-row h2 {
    font-size: 1.1875em !important;
  }

  .khaokho-theme.ploysea-theme .feature-card h3,
  .khaokho-theme.ploysea-theme .room-name-row h3,
  .khaokho-theme.ploysea-theme .room-body h3,
  .khaokho-theme.ploysea-theme .package-card h3 {
    font-size: 1.1875em !important;
    line-height: 1.4 !important;
  }

  .khaokho-theme.ploysea-theme .feature-card p,
  .khaokho-theme.ploysea-theme .package-card p,
  .khaokho-theme.ploysea-theme .package-card li,
  .khaokho-theme.ploysea-theme .review-card p,
  .khaokho-theme.ploysea-theme .faq-card p,
  .khaokho-theme.ploysea-theme .location-panel p,
  .khaokho-theme.ploysea-theme .location-panel li,
  .khaokho-theme.ploysea-theme .panel p,
  .khaokho-theme.ploysea-theme .panel li,
  .khaokho-theme.ploysea-theme .cta-panel p,
  .khaokho-theme.ploysea-theme .resort-map-detail p {
    font-size: .8125em !important;
    line-height: 1.7 !important;
  }

  .khaokho-theme.ploysea-theme .room-body > p {
    font-size: .78125em !important;
    line-height: 1.72 !important;
  }

  .khaokho-theme.ploysea-theme .availability-head h3,
  .khaokho-theme.ploysea-theme .faq-card h3,
  .khaokho-theme.ploysea-theme .location-panel h3,
  .khaokho-theme.ploysea-theme .panel h3 {
    font-size: 1.0625em !important;
  }

  .khaokho-theme.ploysea-theme .cta-panel h2 {
    font-size: 1.5em !important;
    line-height: 1.3 !important;
  }

  .khaokho-theme.ploysea-theme .price {
    font-size: 1em !important;
  }
}

/* =====================================================================
   R108_CCC_BOOKING_MODAL_POPUP_V20_ACTIVE
   ฟอร์มจองแสดงเป็น Popup เท่านั้น และลดความกว้างบนคอมพิวเตอร์
   ===================================================================== */
.khaokho-theme.ploysea-theme.booking-modal-open {
  overflow: hidden !important;
  overscroll-behavior: none;
}

.khaokho-theme.ploysea-theme .booking-modal {
  position: fixed;
  inset: 0;
  z-index: 10050;
  display: grid;
  place-items: center;
  padding: 22px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .22s ease, visibility .22s ease;
}

.khaokho-theme.ploysea-theme .booking-modal.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.khaokho-theme.ploysea-theme .booking-modal-backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  border: 0;
  border-radius: 0;
  padding: 0;
  background: rgba(7, 22, 27, .72);
  backdrop-filter: blur(5px);
  cursor: pointer;
}

.khaokho-theme.ploysea-theme .booking-modal-dialog {
  position: relative;
  z-index: 1;
  width: min(760px, calc(100vw - 44px));
  max-height: calc(100dvh - 44px);
  outline: none;
  transform: translateY(18px) scale(.985);
  transition: transform .22s ease;
}

.khaokho-theme.ploysea-theme .booking-modal.is-open .booking-modal-dialog {
  transform: translateY(0) scale(1);
}

.khaokho-theme.ploysea-theme .booking-modal .booking-card {
  position: relative !important;
  z-index: 1 !important;
  width: 100% !important;
  max-width: none !important;
  max-height: calc(100dvh - 44px) !important;
  margin: 0 !important;
  border: 1px solid rgba(255, 255, 255, .52) !important;
  border-radius: max(10px, var(--landing-card-radius)) !important;
  padding: 22px 24px 24px !important;
  overflow-x: hidden !important;
  overflow-y: auto !important;
  background: #fff !important;
  box-shadow: 0 28px 90px rgba(0, 0, 0, .38) !important;
}

.khaokho-theme.ploysea-theme .booking-modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 8;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  margin: 0;
  border: 1px solid #dfe6e4;
  border-radius: 50%;
  padding: 0 0 2px;
  background: #fff;
  color: var(--ps-deep);
  box-shadow: 0 4px 16px rgba(12, 45, 52, .12);
  font-family: Arial, sans-serif;
  font-size: 25px;
  font-weight: 400;
  line-height: 1;
  cursor: pointer;
}

.khaokho-theme.ploysea-theme .booking-modal-close:hover,
.khaokho-theme.ploysea-theme .booking-modal-close:focus-visible {
  border-color: var(--primary);
  color: var(--primary);
  outline: 3px solid color-mix(in srgb, var(--primary) 18%, transparent);
}

.khaokho-theme.ploysea-theme .booking-modal .booking-title-row {
  padding-right: 48px !important;
}

/* ฟอร์มถูกถอดออกจาก flow ของ Hero จึงไม่เหลือช่องว่างด้านข้าง */
.khaokho-theme.ploysea-theme .hero-grid {
  grid-template-columns: minmax(0, 1fr) !important;
}

@media (max-width: 760px) {
  .khaokho-theme.ploysea-theme .booking-modal {
    align-items: center;
    padding: 10px;
  }

  .khaokho-theme.ploysea-theme .booking-modal-dialog {
    width: calc(100vw - 20px);
    max-height: calc(100dvh - 20px);
  }

  .khaokho-theme.ploysea-theme .booking-modal .booking-card {
    width: 100% !important;
    max-width: 100% !important;
    max-height: calc(100dvh - 20px) !important;
    padding: 16px 11px 14px !important;
    border-radius: max(8px, var(--landing-card-radius)) !important;
  }

  .khaokho-theme.ploysea-theme .booking-modal-close {
    top: 9px;
    right: 9px;
    width: 32px;
    height: 32px;
    font-size: 22px;
  }

  .khaokho-theme.ploysea-theme .booking-modal .booking-title-row {
    padding-right: 40px !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .khaokho-theme.ploysea-theme .booking-modal,
  .khaokho-theme.ploysea-theme .booking-modal-dialog {
    transition: none !important;
  }
}

/* =====================================================================
   R108_CCC_RESORT_MAP_THEME_HEADER_STATIC_PINS_V21_ACTIVE
   Resort Map: แถบหัวข้อเหนือภาพใช้สีธีม และพินเป็นจุดแสดงตำแหน่งเท่านั้น
   ไม่เปิด tooltip หรือรายละเอียดบ้านพักเมื่อแตะ/คลิก
   ===================================================================== */
.khaokho-theme.ploysea-theme .landing-resort-map-card .resort-map-theme-bar {
  display: flex;
  min-height: 58px;
  align-items: center;
  gap: 12px;
  padding: 13px 18px;
  background: var(--primary) !important;
  color: #fff !important;
}

.khaokho-theme.ploysea-theme .landing-resort-map-card .resort-map-theme-bar strong {
  min-width: 0;
  color: inherit !important;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.khaokho-theme.ploysea-theme .landing-resort-map-card .resort-map-theme-dot {
  display: inline-block;
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .35);
}

.khaokho-theme.ploysea-theme .landing-resort-map-card .resort-map-stage {
  border-radius: 0 !important;
}

.khaokho-theme.ploysea-theme .landing-resort-map-card .resort-map-pin {
  cursor: default !important;
  pointer-events: none !important;
  user-select: none !important;
}

.khaokho-theme.ploysea-theme .landing-resort-map-card .resort-map-pin:hover,
.khaokho-theme.ploysea-theme .landing-resort-map-card .resort-map-pin:focus,
.khaokho-theme.ploysea-theme .landing-resort-map-card .resort-map-pin:focus-visible,
.khaokho-theme.ploysea-theme .landing-resort-map-card .resort-map-pin.active {
  transform: translate(-50%, -50%) !important;
  outline: 0 !important;
}

.khaokho-theme.ploysea-theme .landing-resort-map-card .resort-map-pin::before,
.khaokho-theme.ploysea-theme .landing-resort-map-card .resort-map-pin::after {
  display: none !important;
  content: none !important;
}

@media (max-width: 760px) {
  .khaokho-theme.ploysea-theme .landing-resort-map-card .resort-map-theme-bar {
    min-height: 52px;
    gap: 10px;
    padding: 11px 13px;
  }

  .khaokho-theme.ploysea-theme .landing-resort-map-card .resort-map-theme-bar strong {
    font-size: 14px;
    line-height: 1.5;
  }

  .khaokho-theme.ploysea-theme .landing-resort-map-card .resort-map-theme-dot {
    width: 16px;
    height: 16px;
    flex-basis: 16px;
  }
}

/* =====================================================================
   R108_CCC_RESORT_MAP_COMPACT_POPUP_V23_ACTIVE
   แตะ/คลิกพินแล้วแสดงรายละเอียดแบบลอยภายในกรอบแผนผัง
   พร้อมคำนวณตำแหน่งใหม่ไม่ให้การ์ดล้นขอบทั้งคอมและมือถือ
   ===================================================================== */
.khaokho-theme.ploysea-theme .landing-resort-map-card .resort-map-pin {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  appearance: none !important;
  -webkit-appearance: none !important;
  cursor: pointer !important;
  pointer-events: auto !important;
  user-select: none !important;
  touch-action: manipulation;
}

.khaokho-theme.ploysea-theme .landing-resort-map-card .resort-map-pin:hover,
.khaokho-theme.ploysea-theme .landing-resort-map-card .resort-map-pin:focus-visible,
.khaokho-theme.ploysea-theme .landing-resort-map-card .resort-map-pin.active {
  transform: translate(-50%, -50%) scale(1.14) !important;
  outline: 3px solid color-mix(in srgb, var(--accent) 42%, transparent) !important;
  outline-offset: 2px !important;
  z-index: 18 !important;
}

.khaokho-theme.ploysea-theme .landing-resort-map-card .resort-map-popup-data,
.khaokho-theme.ploysea-theme .landing-resort-map-card .resort-map-popup-source {
  display: none !important;
}

.khaokho-theme.ploysea-theme .landing-resort-map-card .resort-map-float-card[hidden] {
  display: none !important;
}

.khaokho-theme.ploysea-theme .landing-resort-map-card .resort-map-float-card {
  --map-popup-arrow-x: 50%;
  position: absolute;
  z-index: 16;
  width: min(270px, calc(100% - 24px));
  max-height: none;
  overflow: visible;
  overscroll-behavior: none;
  scrollbar-width: none;
  -ms-overflow-style: none;
  border: 1px solid rgba(255, 255, 255, .24);
  border-radius: 12px;
  background: rgba(17, 24, 39, .94);
  color: #fff;
  box-shadow: 0 14px 34px rgba(0, 0, 0, .34);
  opacity: 0;
  transform: translateY(7px) scale(.985);
  transform-origin: var(--map-popup-arrow-x) bottom;
  pointer-events: none;
  transition: opacity .18s ease, transform .18s ease;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.khaokho-theme.ploysea-theme .landing-resort-map-card .resort-map-float-card.is-below {
  transform-origin: var(--map-popup-arrow-x) top;
}

.khaokho-theme.ploysea-theme .landing-resort-map-card .resort-map-float-card::-webkit-scrollbar {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
}

.khaokho-theme.ploysea-theme .landing-resort-map-card .resort-map-float-card.open-ready {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.khaokho-theme.ploysea-theme .landing-resort-map-card .resort-map-float-card::after {
  content: "";
  position: absolute;
  left: var(--map-popup-arrow-x);
  bottom: -7px;
  width: 14px;
  height: 14px;
  background: rgba(17, 24, 39, .94);
  border-right: 1px solid rgba(255, 255, 255, .18);
  border-bottom: 1px solid rgba(255, 255, 255, .18);
  transform: translateX(-50%) rotate(45deg);
}

.khaokho-theme.ploysea-theme .landing-resort-map-card .resort-map-float-card.is-below::after {
  top: -7px;
  bottom: auto;
  border: 0;
  border-left: 1px solid rgba(255, 255, 255, .18);
  border-top: 1px solid rgba(255, 255, 255, .18);
}

.khaokho-theme.ploysea-theme .landing-resort-map-card .resort-map-float-close {
  position: absolute;
  top: 5px;
  right: 6px;
  z-index: 2;
  display: inline-flex;
  width: 24px;
  height: 24px;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, .14);
  color: #fff;
  font: 500 18px/1 Arial, sans-serif;
  cursor: pointer;
}

.khaokho-theme.ploysea-theme .landing-resort-map-card .resort-map-float-close:hover,
.khaokho-theme.ploysea-theme .landing-resort-map-card .resort-map-float-close:focus-visible {
  background: rgba(255, 255, 255, .26);
  outline: 2px solid rgba(255, 255, 255, .65);
  outline-offset: 1px;
}

.khaokho-theme.ploysea-theme .landing-resort-map-card .resort-map-float-body {
  min-width: 0;
}

.khaokho-theme.ploysea-theme .landing-resort-map-card .resort-map-float-body > img,
.khaokho-theme.ploysea-theme .landing-resort-map-card .resort-map-popup-image {
  display: block;
  width: 100%;
  height: 92px;
  object-fit: cover;
  object-position: center;
  border-radius: 11px 11px 0 0;
}

.khaokho-theme.ploysea-theme .landing-resort-map-card .resort-map-popup-copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 3px;
  padding: 9px 31px 10px 10px;
}

.khaokho-theme.ploysea-theme .landing-resort-map-card .resort-map-popup-copy strong {
  color: #fff !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  line-height: 1.35 !important;
  overflow-wrap: anywhere;
}

.khaokho-theme.ploysea-theme .landing-resort-map-card .resort-map-popup-copy span {
  color: rgba(255, 255, 255, .88) !important;
  font-size: 11.5px !important;
  font-style: normal;
  line-height: 1.45 !important;
}

.khaokho-theme.ploysea-theme .landing-resort-map-card .resort-map-popup-copy em {
  color: inherit;
  font-style: normal;
  font-weight: 700;
}

.khaokho-theme.ploysea-theme .landing-resort-map-card .resort-map-popup-price {
  color: #fff !important;
  font-weight: 700;
}

@media (max-width: 760px) {
  .khaokho-theme.ploysea-theme .landing-resort-map-card .resort-map-float-card {
    width: min(225px, calc(100% - 16px));
    max-height: none;
    overflow: visible;
    border-radius: 9px;
  }

  .khaokho-theme.ploysea-theme .landing-resort-map-card .resort-map-float-body > img,
  .khaokho-theme.ploysea-theme .landing-resort-map-card .resort-map-popup-image {
    height: 70px;
    border-radius: 9px 9px 0 0;
  }

  .khaokho-theme.ploysea-theme .landing-resort-map-card .resort-map-popup-copy {
    gap: 2px;
    padding: 7px 28px 8px 8px;
  }

  .khaokho-theme.ploysea-theme .landing-resort-map-card .resort-map-popup-copy strong {
    font-size: 12.5px !important;
  }

  .khaokho-theme.ploysea-theme .landing-resort-map-card .resort-map-popup-copy span {
    font-size: 10.5px !important;
    line-height: 1.35 !important;
  }

  .khaokho-theme.ploysea-theme .landing-resort-map-card .resort-map-float-close {
    top: 4px;
    right: 4px;
    width: 22px;
    height: 22px;
    font-size: 17px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .khaokho-theme.ploysea-theme .landing-resort-map-card .resort-map-float-card {
    transition: none !important;
  }
}

/* =====================================================================
   R108_CCC_COMPACT_SECTION_SPACING_V24_ACTIVE
   ลดช่องว่างหัว/ท้ายภายในแต่ละโมดูลให้กระชับขึ้น โดยคงค่า gap
   ระหว่างโมดูลจาก Landing Builder (--landing-section-gap) ไว้ตามเดิม
   ===================================================================== */
.khaokho-theme.ploysea-theme .landing-module-stack > .section {
  padding-top: clamp(42px, 4vw, 52px) !important;
  padding-bottom: clamp(42px, 4vw, 52px) !important;
}

.khaokho-theme.ploysea-theme .landing-module-stack > .section .section-head {
  margin-bottom: 26px !important;
}

/* ค่า gap ระหว่างโมดูลยังรับค่าจากระบบหลังบ้านเหมือนเดิม */
.khaokho-theme.ploysea-theme .landing-module-stack {
  gap: var(--landing-section-gap, 24px) !important;
}

@media (max-width: 980px) {
  .khaokho-theme.ploysea-theme .landing-module-stack > .section {
    padding-top: 40px !important;
    padding-bottom: 40px !important;
  }

  .khaokho-theme.ploysea-theme .landing-module-stack > .section .section-head {
    margin-bottom: 23px !important;
  }
}

@media (max-width: 760px) {
  .khaokho-theme.ploysea-theme .landing-module-stack > .section {
    padding-top: 30px !important;
    padding-bottom: 30px !important;
  }

  .khaokho-theme.ploysea-theme .landing-module-stack > .section .section-head {
    margin-bottom: 18px !important;
  }
}

/* =====================================================================
   R108_CCC_RESORT_MAP_POPUP_DETAIL_LINK_V26_ACTIVE
   ให้การ์ดรายละเอียดจากพินทั้งใบคลิกไปหน้ารายละเอียดบ้านพักได้
   ===================================================================== */
.khaokho-theme.ploysea-theme .landing-resort-map-card .resort-map-popup-detail-link {
  display: block;
  min-width: 0;
  overflow: hidden;
  border-radius: inherit;
  color: inherit !important;
  text-decoration: none !important;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.khaokho-theme.ploysea-theme .landing-resort-map-card .resort-map-popup-detail-link:hover,
.khaokho-theme.ploysea-theme .landing-resort-map-card .resort-map-popup-detail-link:focus-visible {
  color: inherit !important;
  text-decoration: none !important;
  outline: 2px solid color-mix(in srgb, var(--accent) 78%, #ffffff 22%);
  outline-offset: -2px;
}

.khaokho-theme.ploysea-theme .landing-resort-map-card .resort-map-popup-detail-link:hover .resort-map-popup-image {
  transform: scale(1.025);
}

.khaokho-theme.ploysea-theme .landing-resort-map-card .resort-map-popup-detail-link .resort-map-popup-image {
  transition: transform .2s ease;
}

@media (prefers-reduced-motion: reduce) {
  .khaokho-theme.ploysea-theme .landing-resort-map-card .resort-map-popup-detail-link .resort-map-popup-image {
    transition: none !important;
  }
}

/* =====================================================================
   R108_CCC_ROOM_DESCRIPTION_300_V28_ACTIVE
   จำกัดรายละเอียดการ์ด Rooms ไม่เกิน 300 ตัวอักษร และลิงก์ไปหน้ารายละเอียด
   ===================================================================== */
.khaokho-theme.ploysea-theme .room-card .room-description-preview {
  margin-bottom: 0;
}

.khaokho-theme.ploysea-theme .room-card .room-description-more {
  display: inline;
  white-space: nowrap;
  color: var(--primary) !important;
  font-weight: 800;
  text-decoration: none !important;
}

.khaokho-theme.ploysea-theme .room-card .room-description-more:hover,
.khaokho-theme.ploysea-theme .room-card .room-description-more:focus-visible {
  text-decoration: underline !important;
  text-underline-offset: 3px;
}

/* =====================================================================
   R108_CCC_FAQ_RIBBON_CARD_V29_ACTIVE
   FAQ แบบการ์ดริบบิ้นสีธีมด้านซ้ายและแถบสีด้านล่าง
   ===================================================================== */
.khaokho-theme.ploysea-theme .faq-section .section-head {
  margin-bottom: 28px;
}

.khaokho-theme.ploysea-theme .faq-section .section-head .eyebrow {
  display: none;
}

.khaokho-theme.ploysea-theme .faq-section .section-head h2 {
  margin: 0;
  color: var(--landing-text, var(--ps-deep));
  font-size: clamp(2em, 4vw, 3.35em) !important;
  line-height: 1.12 !important;
  font-weight: 700;
}

.khaokho-theme.ploysea-theme .faq-section .section-head p:not(.eyebrow) {
  margin-top: 14px;
  max-width: 920px;
  color: var(--landing-text, var(--ps-muted));
  font-size: clamp(1em, 1.7vw, 1.35em) !important;
  line-height: 1.55 !important;
}

.khaokho-theme.ploysea-theme .faq-grid {
  grid-template-columns: 1fr !important;
  gap: 22px;
}

.khaokho-theme.ploysea-theme .faq-card {
  position: relative;
  overflow: visible;
  min-height: 180px;
  margin-left: 4px;
  border: 1px solid rgba(15, 23, 42, .04) !important;
  border-bottom: 10px solid var(--primary, var(--ps-teal)) !important;
  border-radius: 2px !important;
  padding: 48px 54px 48px 62px !important;
  background: #fff !important;
  box-shadow: 0 18px 42px rgba(15, 23, 42, .10) !important;
}

.khaokho-theme.ploysea-theme .faq-card::before {
  content: "";
  position: absolute;
  z-index: 2;
  top: -2px;
  left: -7px;
  width: 34px;
  height: 110px;
  background: linear-gradient(90deg,
    color-mix(in srgb, var(--primary, var(--ps-teal)) 78%, #000 22%) 0%,
    var(--primary, var(--ps-teal)) 72%,
    color-mix(in srgb, var(--primary, var(--ps-teal)) 72%, #fff 28%) 100%
  );
  clip-path: polygon(0 0, 100% 0, 100% 78%, 50% 68%, 0 78%);
  filter: drop-shadow(3px 3px 1px rgba(15, 23, 42, .20));
}

/* Fallback สำหรับเบราว์เซอร์ที่ยังไม่รองรับ color-mix */
@supports not (color: color-mix(in srgb, #000 50%, #fff)) {
  .khaokho-theme.ploysea-theme .faq-card::before {
    background: var(--primary, var(--ps-teal));
  }
}

.khaokho-theme.ploysea-theme .faq-card h3 {
  margin: 0 0 22px !important;
  color: var(--landing-text, #253044) !important;
  font-size: clamp(1.35em, 2.1vw, 2em) !important;
  line-height: 1.35 !important;
  font-weight: 700;
}

.khaokho-theme.ploysea-theme .faq-card p {
  margin: 0 !important;
  color: color-mix(in srgb, var(--landing-text, #344054) 68%, #fff 32%) !important;
  font-size: clamp(.95em, 1.45vw, 1.25em) !important;
  line-height: 1.85 !important;
  font-weight: 400;
}

@supports not (color: color-mix(in srgb, #000 50%, #fff)) {
  .khaokho-theme.ploysea-theme .faq-card p {
    color: #667085 !important;
  }
}

@media (max-width: 760px) {
  .khaokho-theme.ploysea-theme .faq-section .section-head {
    margin-bottom: 20px;
  }

  .khaokho-theme.ploysea-theme .faq-section .section-head h2 {
    font-size: clamp(1.8em, 9vw, 2.35em) !important;
  }

  .khaokho-theme.ploysea-theme .faq-section .section-head p:not(.eyebrow) {
    margin-top: 10px;
    font-size: .95em !important;
    line-height: 1.65 !important;
  }

  .khaokho-theme.ploysea-theme .faq-grid {
    gap: 16px;
  }

  .khaokho-theme.ploysea-theme .faq-card {
    min-height: 0;
    margin-left: 3px;
    border-bottom-width: 7px !important;
    padding: 32px 24px 30px 42px !important;
  }

  .khaokho-theme.ploysea-theme .faq-card::before {
    left: -5px;
    width: 25px;
    height: 82px;
  }

  .khaokho-theme.ploysea-theme .faq-card h3 {
    margin-bottom: 14px !important;
    font-size: 1.15em !important;
    line-height: 1.45 !important;
  }

  .khaokho-theme.ploysea-theme .faq-card p {
    font-size: .86em !important;
    line-height: 1.75 !important;
  }
}

/* =====================================================================
   R108_CCC_FAQ_COMPACT_TYPOGRAPHY_V30_ACTIVE
   ลดขนาดตัวอักษรและพื้นที่แนวตั้งของโมดูล FAQ ให้กระชับขึ้น
   ===================================================================== */
.khaokho-theme.ploysea-theme .landing-module-stack > .faq-section {
  padding-top: 36px !important;
  padding-bottom: 36px !important;
}

.khaokho-theme.ploysea-theme .faq-section .section-head {
  margin-bottom: 18px !important;
}

.khaokho-theme.ploysea-theme .faq-section .section-head h2 {
  font-size: clamp(1.7em, 3vw, 2.45em) !important;
  line-height: 1.16 !important;
}

.khaokho-theme.ploysea-theme .faq-section .section-head p:not(.eyebrow) {
  margin-top: 8px !important;
  font-size: clamp(.82em, 1vw, .95em) !important;
  line-height: 1.55 !important;
}

.khaokho-theme.ploysea-theme .faq-grid {
  gap: 14px !important;
}

.khaokho-theme.ploysea-theme .faq-card {
  min-height: 0 !important;
  border-bottom-width: 7px !important;
  padding: 28px 38px 26px 52px !important;
}

.khaokho-theme.ploysea-theme .faq-card::before {
  left: -6px;
  width: 28px;
  height: 84px;
}

.khaokho-theme.ploysea-theme .faq-card h3 {
  margin-bottom: 12px !important;
  font-size: clamp(1.05em, 1.45vw, 1.35em) !important;
  line-height: 1.38 !important;
}

.khaokho-theme.ploysea-theme .faq-card p {
  font-size: clamp(.78em, 1vw, .9em) !important;
  line-height: 1.65 !important;
}

@media (max-width: 760px) {
  .khaokho-theme.ploysea-theme .landing-module-stack > .faq-section {
    padding-top: 24px !important;
    padding-bottom: 24px !important;
  }

  .khaokho-theme.ploysea-theme .faq-section .section-head {
    margin-bottom: 14px !important;
  }

  .khaokho-theme.ploysea-theme .faq-section .section-head h2 {
    font-size: 1.55em !important;
    line-height: 1.2 !important;
  }

  .khaokho-theme.ploysea-theme .faq-section .section-head p:not(.eyebrow) {
    margin-top: 6px !important;
    font-size: .8em !important;
    line-height: 1.5 !important;
  }

  .khaokho-theme.ploysea-theme .faq-grid {
    gap: 12px !important;
  }

  .khaokho-theme.ploysea-theme .faq-card {
    border-bottom-width: 6px !important;
    padding: 21px 18px 19px 36px !important;
  }

  .khaokho-theme.ploysea-theme .faq-card::before {
    left: -4px;
    width: 22px;
    height: 66px;
  }

  .khaokho-theme.ploysea-theme .faq-card h3 {
    margin-bottom: 9px !important;
    font-size: 1em !important;
    line-height: 1.4 !important;
  }

  .khaokho-theme.ploysea-theme .faq-card p {
    font-size: .78em !important;
    line-height: 1.62 !important;
  }
}

/* =====================================================================
   R108_CCC_ULTRA_COMPACT_SECTION_SPACING_V31_ACTIVE
   ลดพื้นที่ว่างด้านบน/ล่างของทุกโมดูลให้กระชับขึ้นอีกระดับ
   โดยคงค่า gap ระหว่างโมดูลจาก Landing Builder ไว้ตามเดิม
   ===================================================================== */
.khaokho-theme.ploysea-theme .landing-module-stack > .section {
  padding-top: clamp(28px, 2.8vw, 34px) !important;
  padding-bottom: clamp(28px, 2.8vw, 34px) !important;
}

.khaokho-theme.ploysea-theme .landing-module-stack > .section .section-head {
  margin-bottom: 18px !important;
}

/* ไม่แก้ค่าระยะห่างระหว่างโมดูล เพื่อให้ระบบหลังบ้านยังควบคุมได้ */
.khaokho-theme.ploysea-theme .landing-module-stack {
  gap: var(--landing-section-gap, 24px) !important;
}

@media (max-width: 980px) {
  .khaokho-theme.ploysea-theme .landing-module-stack > .section {
    padding-top: 26px !important;
    padding-bottom: 26px !important;
  }

  .khaokho-theme.ploysea-theme .landing-module-stack > .section .section-head {
    margin-bottom: 16px !important;
  }
}

@media (max-width: 760px) {
  .khaokho-theme.ploysea-theme .landing-module-stack > .section {
    padding-top: 20px !important;
    padding-bottom: 20px !important;
  }

  .khaokho-theme.ploysea-theme .landing-module-stack > .section .section-head {
    margin-bottom: 13px !important;
  }
}

/* =====================================================================
   R108_CCC_RESORT_MAP_COUNT_OVERLAY_V33_ACTIVE
   ย้ายจำนวนพินไปซ้อนมุมขวาบนของรูป และบังคับหัวข้อแถบธีมบนมือถือ
   ให้อยู่บรรทัดเดียวเพื่อรองรับชื่อรีสอร์ทที่ยาวขึ้น
   ===================================================================== */
.khaokho-theme.ploysea-theme .landing-resort-map-card .resort-map-count-overlay {
  position: absolute !important;
  top: 12px !important;
  right: 12px !important;
  z-index: 7 !important;
  min-width: 54px;
  min-height: 34px;
  padding: 5px 12px;
  border-color: rgba(255, 255, 255, .82) !important;
  background: rgba(255, 255, 255, .94) !important;
  color: var(--ps-deep, #153f48) !important;
  box-shadow: 0 5px 16px rgba(15, 23, 42, .18);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  pointer-events: none;
}

@media (max-width: 760px) {
  .khaokho-theme.ploysea-theme .landing-resort-map-card .resort-map-theme-bar {
    min-height: 38px !important;
    gap: 6px !important;
    padding: 8px 10px !important;
    overflow: hidden;
  }

  .khaokho-theme.ploysea-theme .landing-resort-map-card .resort-map-theme-bar strong {
    display: block;
    min-width: 0;
    max-width: 100%;
    font-size: clamp(9px, 2.55vw, 11px) !important;
    line-height: 1.2 !important;
    letter-spacing: -.15px;
    white-space: nowrap !important;
    overflow: hidden;
    text-overflow: ellipsis;
    overflow-wrap: normal !important;
    word-break: normal !important;
  }

  .khaokho-theme.ploysea-theme .landing-resort-map-card .resort-map-theme-dot {
    width: 11px !important;
    height: 11px !important;
    flex: 0 0 11px !important;
  }

  .khaokho-theme.ploysea-theme .landing-resort-map-card .resort-map-count-overlay {
    top: 8px !important;
    right: 8px !important;
    min-width: 46px;
    min-height: 28px;
    padding: 4px 9px;
    font-size: 11px !important;
    line-height: 1 !important;
  }
}

/* =====================================================================
   R108_CCC_REVIEWS_SOCIAL_CARD_PAGINATION_V34_ACTIVE
   รีวิวรูปแบบ Social card แสดง 6 รายการต่อหน้า พร้อมเลขหน้า
   ===================================================================== */
.khaokho-theme.ploysea-theme .reviews-section .section-head .eyebrow {
  display: inline-flex !important;
  align-items: center;
  width: fit-content;
  margin-bottom: 8px !important;
  padding: 5px 11px !important;
  border: 0 !important;
  border-radius: 999px !important;
  background: var(--accent, #16a34a) !important;
  color: #fff !important;
  font-size: 10px !important;
  font-weight: 900 !important;
  letter-spacing: .14em !important;
  line-height: 1.2 !important;
  text-shadow: 0 1px 2px rgba(0, 0, 0, .2);
}

.khaokho-theme.ploysea-theme .reviews-section .review-grid {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 18px !important;
  align-items: stretch;
}

.khaokho-theme.ploysea-theme .reviews-section .review-card {
  display: flex;
  min-width: 0;
  min-height: 250px;
  flex-direction: column;
  padding: 20px !important;
  border: 1px solid rgba(15, 23, 42, .08) !important;
  border-radius: clamp(8px, var(--landing-card-radius, 18px), 18px) !important;
  background: #fff !important;
  color: #172033;
  box-shadow: 0 12px 30px rgba(15, 23, 42, .09) !important;
}

.khaokho-theme.ploysea-theme .review-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.khaokho-theme.ploysea-theme .review-profile {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 11px;
}

.khaokho-theme.ploysea-theme .review-profile .avatar {
  display: grid;
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  place-items: center;
  overflow: hidden;
  border: 3px solid #fff;
  border-radius: 50%;
  background: color-mix(in srgb, var(--primary, #155e75) 12%, #fff);
  color: var(--primary, #155e75);
  box-shadow: 0 2px 10px rgba(15, 23, 42, .15);
  font-size: 16px;
  font-weight: 900;
}

.khaokho-theme.ploysea-theme .review-profile .avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.khaokho-theme.ploysea-theme .review-profile-text {
  min-width: 0;
}

.khaokho-theme.ploysea-theme .review-profile-text strong {
  display: block;
  overflow: hidden;
  color: #172033;
  font-size: 14px;
  font-weight: 900;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.khaokho-theme.ploysea-theme .review-profile-text time {
  display: block;
  margin-top: 2px;
  color: #6b7280;
  font-size: 11px;
  line-height: 1.3;
}

.khaokho-theme.ploysea-theme .review-source {
  display: grid;
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  box-shadow: 0 4px 12px rgba(15, 23, 42, .12);
  font-size: 16px;
  font-style: normal;
  font-weight: 900;
  line-height: 1;
}

.khaokho-theme.ploysea-theme .review-source-facebook { background: #1877f2; font-family: Arial, sans-serif; font-size: 20px; }
.khaokho-theme.ploysea-theme .review-source-google { background: #fff; color: #4285f4; border: 1px solid #e5e7eb; font-family: Arial, sans-serif; }
.khaokho-theme.ploysea-theme .review-source-line { background: #06c755; font-family: Arial, sans-serif; font-size: 7px; letter-spacing: -.2px; }
.khaokho-theme.ploysea-theme .review-source-tiktok { background: #111827; font-size: 18px; }
.khaokho-theme.ploysea-theme .review-source-direct { background: var(--primary, #155e75); font-size: 13px; }

.khaokho-theme.ploysea-theme .review-stars {
  display: flex;
  gap: 2px;
  margin: 0 0 11px;
  color: #d1d5db;
  font-size: 17px;
  line-height: 1;
}

.khaokho-theme.ploysea-theme .review-stars .on {
  color: #f59e0b;
}

.khaokho-theme.ploysea-theme .review-card .review-copy {
  display: -webkit-box;
  overflow: hidden;
  margin: 0 !important;
  color: #3f4858 !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  line-height: 1.75 !important;
  overflow-wrap: anywhere;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 6;
}

.khaokho-theme.ploysea-theme .review-tag {
  display: inline-flex;
  align-self: flex-start;
  margin-top: auto;
  padding: 5px 10px;
  border-radius: 999px;
  background: #f1f3f5;
  color: #68707d;
  font-size: 10px;
  font-weight: 700;
  line-height: 1.2;
}

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

.khaokho-theme.ploysea-theme .review-page-link {
  display: grid;
  min-width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid color-mix(in srgb, var(--primary, #155e75) 24%, #d1d5db);
  border-radius: 9px;
  background: #fff;
  color: var(--primary, #155e75);
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
  text-decoration: none;
  transition: transform .18s ease, background .18s ease, color .18s ease;
}

.khaokho-theme.ploysea-theme .review-page-link:hover {
  transform: translateY(-1px);
}

.khaokho-theme.ploysea-theme .review-page-link.is-active {
  border-color: var(--primary, #155e75);
  background: var(--primary, #155e75);
  color: #fff;
  pointer-events: none;
}

@media (max-width: 980px) {
  .khaokho-theme.ploysea-theme .reviews-section .review-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 760px) {
  .khaokho-theme.ploysea-theme .reviews-section .review-grid {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }

  .khaokho-theme.ploysea-theme .reviews-section .review-card {
    min-height: 230px;
    padding: 16px !important;
  }

  .khaokho-theme.ploysea-theme .review-profile .avatar {
    width: 44px;
    height: 44px;
    flex-basis: 44px;
  }

  .khaokho-theme.ploysea-theme .review-profile-text strong {
    font-size: 13px;
  }

  .khaokho-theme.ploysea-theme .review-card .review-copy {
    font-size: 12.5px !important;
    line-height: 1.7 !important;
    -webkit-line-clamp: 7;
  }

  .khaokho-theme.ploysea-theme .review-pagination {
    margin-top: 16px;
  }
}

/* R108_CCC_GALLERY_TO_SLIDESHOW_V35_ACTIVE */
.khaokho-theme.ploysea-theme .gallery-card-link {
  position: absolute;
  inset: 0;
  display: block;
  color: inherit;
  text-decoration: none;
}

.khaokho-theme.ploysea-theme .gallery-card-link img {
  display: block;
}

.khaokho-theme.ploysea-theme .gallery-card figcaption {
  z-index: 2;
  pointer-events: none;
}

.khaokho-theme.ploysea-theme .gallery-card-open {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 6px 10px;
  border: 1px solid rgba(255, 255, 255, .46);
  border-radius: 999px;
  background: color-mix(in srgb, var(--primary) 78%, transparent);
  color: #fff;
  font-size: 10.5px;
  font-weight: 700;
  opacity: 0;
  transform: translateY(-5px);
  transition: opacity .22s ease, transform .22s ease, background .22s ease;
}

.khaokho-theme.ploysea-theme .gallery-card:hover .gallery-card-open,
.khaokho-theme.ploysea-theme .gallery-card-link:focus-visible .gallery-card-open {
  opacity: 1;
  transform: translateY(0);
  background: var(--accent);
}

.khaokho-theme.ploysea-theme .gallery-card-link:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: -3px;
}

@media (max-width: 760px) {
  .khaokho-theme.ploysea-theme .gallery-card-open {
    top: 7px;
    right: 7px;
    min-height: 24px;
    padding: 4px 7px;
    font-size: 9px;
    opacity: 1;
    transform: none;
  }
}

/* R108_CCC_NEARBY_THUMBNAIL_EXCERPT_V36_ACTIVE
   Nearby: รูป Thumbnail มุมซ้ายบน, จำกัดเนื้อหา 250 ตัวอักษร, ซ่อนป้าย badge */
.khaokho-theme.ploysea-theme .nearby {
  gap: 12px;
}

.khaokho-theme.ploysea-theme .nearby-item.nearby-item-with-thumbnail {
  display: grid !important;
  grid-template-columns: 124px minmax(0, 1fr);
  align-items: start !important;
  justify-content: stretch;
  gap: 14px;
  min-width: 0;
  padding: 12px !important;
  overflow: hidden;
}

.khaokho-theme.ploysea-theme .nearby-thumb {
  position: relative;
  width: 124px;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--primary) 14%, transparent);
  border-radius: calc(var(--landing-card-radius, 18px) * .48);
  background: #edf5f1;
  box-shadow: 0 5px 14px rgba(15, 23, 42, .09);
}

.khaokho-theme.ploysea-theme .nearby-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform .35s ease;
}

.khaokho-theme.ploysea-theme .nearby-item:hover .nearby-thumb img {
  transform: scale(1.045);
}

.khaokho-theme.ploysea-theme .nearby-thumb.is-placeholder {
  display: grid;
  place-items: center;
  background:
    linear-gradient(color-mix(in srgb, var(--primary) 10%, transparent) 1px, transparent 1px),
    linear-gradient(90deg, color-mix(in srgb, var(--primary) 10%, transparent) 1px, transparent 1px),
    color-mix(in srgb, var(--primary) 7%, #fff);
  background-size: 16px 16px;
}

.khaokho-theme.ploysea-theme .nearby-thumb-pin {
  position: relative;
  width: 30px;
  height: 38px;
  border-radius: 50% 50% 50% 0;
  background: var(--primary);
  transform: rotate(-45deg);
  box-shadow: 0 6px 13px color-mix(in srgb, var(--primary) 28%, transparent);
}

.khaokho-theme.ploysea-theme .nearby-thumb-pin::after {
  content: '';
  position: absolute;
  top: 9px;
  left: 9px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #fff;
}

.khaokho-theme.ploysea-theme .nearby-copy {
  min-width: 0;
  padding: 2px 2px 2px 0;
}

.khaokho-theme.ploysea-theme .nearby-copy strong {
  display: block;
  margin: 0 0 6px;
  color: var(--landing-heading, var(--ps-deep));
  font-size: 15px !important;
  line-height: 1.4 !important;
}

.khaokho-theme.ploysea-theme .nearby-copy span {
  display: block;
  color: var(--landing-text, var(--ps-muted));
  font-size: 12.5px !important;
  line-height: 1.72 !important;
  overflow-wrap: anywhere;
}

/* ไม่แสดงป้าย เช่น ใกล้ที่พัก / เดินทางง่าย / สะดวก */
.khaokho-theme.ploysea-theme .nearby-time {
  display: none !important;
}

@media (max-width: 760px) {
  .khaokho-theme.ploysea-theme .nearby {
    gap: 10px;
  }

  .khaokho-theme.ploysea-theme .nearby-item.nearby-item-with-thumbnail {
    grid-template-columns: 92px minmax(0, 1fr);
    gap: 10px;
    padding: 10px !important;
  }

  .khaokho-theme.ploysea-theme .nearby-thumb {
    width: 92px;
    border-radius: calc(var(--landing-card-radius, 16px) * .44);
  }

  .khaokho-theme.ploysea-theme .nearby-thumb-pin {
    width: 24px;
    height: 30px;
  }

  .khaokho-theme.ploysea-theme .nearby-thumb-pin::after {
    top: 7px;
    left: 7px;
    width: 10px;
    height: 10px;
  }

  .khaokho-theme.ploysea-theme .nearby-copy {
    padding-top: 0;
  }

  .khaokho-theme.ploysea-theme .nearby-copy strong {
    margin-bottom: 4px;
    font-size: 13px !important;
    line-height: 1.38 !important;
  }

  .khaokho-theme.ploysea-theme .nearby-copy span {
    font-size: 11.5px !important;
    line-height: 1.65 !important;
  }
}



/* R108_CCC_NEARBY_DETAIL_TOGGLE_V37_ACTIVE
   Nearby: แสดง 250 ตัวอักษร และกด "รายละเอียด" เพื่อเปิด/ย่อเนื้อหาเต็ม */
.khaokho-theme.ploysea-theme .nearby-copy .nearby-excerpt[hidden],
.khaokho-theme.ploysea-theme .nearby-copy .nearby-full[hidden] {
  display: none !important;
}

.khaokho-theme.ploysea-theme .nearby-detail-toggle {
  display: inline !important;
  width: auto !important;
  min-width: 0 !important;
  height: auto !important;
  margin: 0 0 0 3px !important;
  padding: 0 !important;
  border: 0 !important;
  border-bottom: 1px solid currentColor !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  color: var(--primary) !important;
  font: inherit !important;
  font-weight: 800 !important;
  line-height: inherit !important;
  text-decoration: none !important;
  cursor: pointer;
  vertical-align: baseline;
}

.khaokho-theme.ploysea-theme .nearby-detail-toggle:hover,
.khaokho-theme.ploysea-theme .nearby-detail-toggle:focus-visible {
  color: var(--accent, var(--primary)) !important;
  outline: none;
  opacity: .82;
}

/* R108_CCC_NEARBY_200_MAP_THUMB_LINK_V38_ACTIVE
   Nearby: จำกัดข้อความ 200 ตัวอักษร และคลิก Thumbnail เพื่อเปิด Google Maps */
.khaokho-theme.ploysea-theme .nearby-thumb-link {
  display: block;
  color: inherit;
  text-decoration: none;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.khaokho-theme.ploysea-theme .nearby-thumb-link::after {
  content: '↗';
  position: absolute;
  right: 6px;
  bottom: 6px;
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--primary) 88%, #000);
  color: #fff;
  font-size: 11px;
  font-weight: 900;
  line-height: 1;
  box-shadow: 0 3px 9px rgba(15, 23, 42, .2);
}

.khaokho-theme.ploysea-theme .nearby-thumb-link:hover img,
.khaokho-theme.ploysea-theme .nearby-thumb-link:focus-visible img {
  transform: scale(1.055);
}

.khaokho-theme.ploysea-theme .nearby-thumb-link:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--accent, var(--primary)) 60%, #fff);
  outline-offset: 2px;
}

@media (max-width: 760px) {
  .khaokho-theme.ploysea-theme .nearby-thumb-link::after {
    right: 5px;
    bottom: 5px;
    width: 19px;
    height: 19px;
    font-size: 9px;
  }
}


/* R108_CCC_GALLERY_MOBILE_CLEAN_CAPTION_V39_ACTIVE
   Gallery mobile: ซ่อนปุ่มดูสไลด์ และลดความเด่นของชื่อรูป */
@media (max-width: 760px) {
  .khaokho-theme.ploysea-theme .gallery-card-open {
    display: none !important;
  }

  .khaokho-theme.ploysea-theme .gallery-card figcaption {
    padding: 20px 10px 8px !important;
    color: rgba(255, 255, 255, .68) !important;
    font-size: 9px !important;
    font-weight: 400 !important;
    line-height: 1.35 !important;
    letter-spacing: 0 !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, .22);
  }
}


/* R108_CCC_NEARBY_LIVE_GOOGLE_MAP_V40_ACTIVE
   แสดง Google Maps จริงจากลิงก์ใน settings.php แทนภาพแผนที่จำลอง */
.khaokho-theme.ploysea-theme .map-card.has-google-map {
  min-height: 460px;
  background: #e7ecea;
  isolation: isolate;
}

.khaokho-theme.ploysea-theme .google-map-frame {
  position: absolute;
  z-index: 1;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  background: #e7ecea;
}

.khaokho-theme.ploysea-theme .map-card.has-google-map .map-caption {
  z-index: 2;
  right: 16px;
  bottom: 16px;
  left: 16px;
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(255, 255, 255, .92);
  box-shadow: 0 10px 28px rgba(15, 23, 42, .14);
  pointer-events: none;
}

.khaokho-theme.ploysea-theme .map-card.has-google-map .map-caption h3 {
  margin-bottom: 2px;
  font-size: 17px;
}

.khaokho-theme.ploysea-theme .map-card.has-google-map .map-caption p {
  font-size: 12.5px;
  line-height: 1.45;
}

@media (max-width: 760px) {
  .khaokho-theme.ploysea-theme .map-card.has-google-map {
    min-height: 350px;
  }

  .khaokho-theme.ploysea-theme .map-card.has-google-map .map-caption {
    right: 10px;
    bottom: 10px;
    left: 10px;
    padding: 9px 11px;
    border-radius: 11px;
  }

  .khaokho-theme.ploysea-theme .map-card.has-google-map .map-caption h3 {
    font-size: 14px;
  }

  .khaokho-theme.ploysea-theme .map-card.has-google-map .map-caption p {
    font-size: 10.5px;
  }
}

/* R108_CCC_PACKAGES_POSTER_STYLE_V42_ACTIVE
   Packages: การ์ดโปสเตอร์ตามตัวอย่าง รูปคมชัด 100%, แบ่งรูป/ข้อความ, เงา และริบบิ้น */
.khaokho-theme.ploysea-theme .package-grid {
  align-items: stretch;
  gap: 24px;
}

.khaokho-theme.ploysea-theme .package-card.package-poster {
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 0;
  padding: 9px !important;
  overflow: visible;
  border: 0 !important;
  border-radius: 2px !important;
  background: color-mix(in srgb, var(--primary) 90%, #102d34) !important;
  color: var(--landing-text, #475569);
  box-shadow:
    0 22px 42px rgba(15, 23, 42, .18),
    0 7px 15px rgba(15, 23, 42, .12) !important;
  isolation: isolate;
  transition: transform .28s ease, box-shadow .28s ease;
}

.khaokho-theme.ploysea-theme .package-card.package-poster:hover {
  transform: translateY(-5px);
  box-shadow:
    0 28px 50px rgba(15, 23, 42, .22),
    0 9px 18px rgba(15, 23, 42, .14) !important;
}

.khaokho-theme.ploysea-theme .package-poster-frame {
  position: relative;
  z-index: 1;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.75);
  background: #dfe8e5;
  box-shadow: 0 5px 12px rgba(15, 23, 42, .16);
}

.khaokho-theme.ploysea-theme .package-card.package-poster .package-card-bg {
  position: absolute !important;
  inset: 0 !important;
  z-index: 0 !important;
  display: block !important;
  width: 100%;
  height: 100%;
  overflow: hidden;
  pointer-events: none;
}

.khaokho-theme.ploysea-theme .package-card.package-poster .package-card-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 58%, rgba(5, 25, 31, .12));
  pointer-events: none;
}

.khaokho-theme.ploysea-theme .package-card.package-poster .package-card-bg img {
  display: block;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  max-height: none !important;
  object-fit: cover !important;
  object-position: center;
  opacity: 1 !important;
  filter: none !important;
  transform: scale(1.002);
  transition: transform .65s ease;
}

.khaokho-theme.ploysea-theme .package-card.package-poster:hover .package-card-bg img {
  transform: scale(1.035);
}

.khaokho-theme.ploysea-theme .package-image-placeholder {
  display: block;
  width: 100%;
  height: 100%;
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--primary) 78%, #0b2830), color-mix(in srgb, var(--accent) 52%, #d9c097));
}

.khaokho-theme.ploysea-theme .package-ribbon {
  position: absolute !important;
  z-index: 3 !important;
  top: -7px;
  left: 13px;
  display: grid !important;
  place-items: center;
  min-width: 64px;
  max-width: 96px;
  min-height: 72px;
  padding: 10px 9px 20px !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: #ef3340 !important;
  color: #fff !important;
  font-size: 15px !important;
  font-weight: 900 !important;
  line-height: 1.08 !important;
  letter-spacing: -.02em;
  text-align: center;
  text-transform: none;
  white-space: normal;
  overflow-wrap: anywhere;
  clip-path: polygon(0 0, 100% 0, 100% 82%, 50% 100%, 0 82%);
  box-shadow: 0 8px 16px rgba(112, 15, 25, .32) !important;
  text-shadow: 0 1px 1px rgba(0,0,0,.16);
}

.khaokho-theme.ploysea-theme .package-poster-body {
  position: relative;
  z-index: 2;
  display: flex;
  flex: 1;
  flex-direction: column;
  min-width: 0;
  min-height: 220px;
  margin-top: 7px;
  padding: 24px 24px 20px;
  background: #fff;
  color: var(--landing-text, #475569);
  box-shadow: 0 5px 12px rgba(15, 23, 42, .12);
}

.khaokho-theme.ploysea-theme .package-card.package-poster .package-poster-body h3 {
  position: relative;
  z-index: 2;
  margin: -50px 0 16px;
  color: #ef3340 !important;
  font-family: "Prompt", "Noto Sans Thai", "Leelawadee UI", Tahoma, Arial, sans-serif;
  font-size: clamp(24px, 2.25vw, 34px) !important;
  font-weight: 900 !important;
  line-height: 1.2 !important;
  text-align: center;
  overflow-wrap: anywhere;
  text-shadow:
    -2px -2px 0 #fff,
     2px -2px 0 #fff,
    -2px  2px 0 #fff,
     2px  2px 0 #fff,
     0 6px 9px rgba(15, 23, 42, .30) !important;
}

.khaokho-theme.ploysea-theme .package-card.package-poster .package-subtitle {
  margin: 0 0 12px;
  color: color-mix(in srgb, var(--landing-text, #475569) 88%, #fff) !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  line-height: 1.65 !important;
  text-align: center;
  text-shadow: none !important;
}

.khaokho-theme.ploysea-theme .package-card.package-poster ul {
  display: grid;
  gap: 7px;
  margin: 0 0 16px;
  padding: 0;
  list-style: none;
}

.khaokho-theme.ploysea-theme .package-card.package-poster li {
  position: relative;
  margin: 0;
  padding-left: 18px;
  color: color-mix(in srgb, var(--primary) 78%, #334155) !important;
  font-size: 14px !important;
  font-weight: 650 !important;
  line-height: 1.5 !important;
  text-shadow: none !important;
}

.khaokho-theme.ploysea-theme .package-card.package-poster li::before {
  content: '';
  position: absolute;
  top: .58em;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--primary) 13%, transparent);
}

.khaokho-theme.ploysea-theme .package-card.package-poster .package-price {
  margin: auto 0 2px;
  color: color-mix(in srgb, var(--primary) 86%, #102d34) !important;
  font-size: clamp(25px, 2.25vw, 35px) !important;
  font-weight: 900 !important;
  line-height: 1.2 !important;
  text-align: center;
  text-shadow:
    -1px -1px 0 #fff,
     1px -1px 0 #fff,
    -1px  1px 0 #fff,
     1px  1px 0 #fff,
     0 5px 9px rgba(15, 23, 42, .24) !important;
}

.khaokho-theme.ploysea-theme .package-card.package-poster .package-poster-button {
  align-self: center;
  min-width: 132px;
  min-height: 38px;
  margin-top: 15px;
  padding: 9px 18px;
  border: 1px solid color-mix(in srgb, var(--primary) 88%, #000) !important;
  border-radius: 2px !important;
  background: var(--primary) !important;
  color: #fff !important;
  font-size: 12px !important;
  font-weight: 800 !important;
  box-shadow: 0 6px 12px color-mix(in srgb, var(--primary) 24%, transparent);
}

.khaokho-theme.ploysea-theme .package-card.package-poster .package-poster-button:hover,
.khaokho-theme.ploysea-theme .package-card.package-poster .package-poster-button:focus-visible {
  background: color-mix(in srgb, var(--primary) 82%, #000) !important;
  transform: translateY(-1px);
}

@media (max-width: 980px) {
  .khaokho-theme.ploysea-theme .package-card.package-poster .package-poster-body h3 {
    font-size: 27px !important;
  }
}

@media (max-width: 760px) {
  .khaokho-theme.ploysea-theme .package-grid {
    gap: 18px;
  }

  .khaokho-theme.ploysea-theme .package-card.package-poster {
    padding: 7px !important;
    box-shadow: 0 14px 28px rgba(15, 23, 42, .17) !important;
  }

  .khaokho-theme.ploysea-theme .package-card.package-poster:hover {
    transform: none;
  }

  .khaokho-theme.ploysea-theme .package-poster-frame {
    aspect-ratio: 16 / 10.5;
  }

  .khaokho-theme.ploysea-theme .package-ribbon {
    top: -5px;
    left: 10px;
    min-width: 54px;
    max-width: 78px;
    min-height: 60px;
    padding: 8px 7px 17px !important;
    font-size: 12px !important;
  }

  .khaokho-theme.ploysea-theme .package-poster-body {
    min-height: 190px;
    margin-top: 5px;
    padding: 20px 18px 17px;
  }

  .khaokho-theme.ploysea-theme .package-card.package-poster .package-poster-body h3 {
    margin-top: -42px;
    margin-bottom: 13px;
    font-size: 24px !important;
  }

  .khaokho-theme.ploysea-theme .package-card.package-poster .package-subtitle {
    margin-bottom: 10px;
    font-size: 12px !important;
  }

  .khaokho-theme.ploysea-theme .package-card.package-poster ul {
    gap: 5px;
    margin-bottom: 13px;
  }

  .khaokho-theme.ploysea-theme .package-card.package-poster li {
    padding-left: 16px;
    font-size: 12.5px !important;
    line-height: 1.45 !important;
  }

  .khaokho-theme.ploysea-theme .package-card.package-poster li::before {
    width: 7px;
    height: 7px;
  }

  .khaokho-theme.ploysea-theme .package-card.package-poster .package-price {
    font-size: 27px !important;
  }

  .khaokho-theme.ploysea-theme .package-card.package-poster .package-poster-button {
    min-width: 120px;
    min-height: 35px;
    margin-top: 12px;
    padding: 8px 15px;
    font-size: 11px !important;
  }
}
