body {
  margin: 0;
  padding: 0;
  font-family: "Kanit", sans-serif;
  overflow-x: hidden;
}

.luxury-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 90px;
  z-index: 1000;
  background-color: transparent;
  transition: all 0.4s ease;
  display: flex;
  align-items: center;
  padding: 0 40px;
  box-sizing: border-box;
  justify-content: center;
}

.luxury-nav.scrolled {
  background-color: #c28559;
  height: 70px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.nav-logo {
  width: 160px;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
  z-index: 10;
}

.nav-logo img {
  height: 86px;
  width: auto;
  transition: all 0.4s;
}

.nav-menu-group {
  flex: 1;
  display: grid;
  height: 100%;
  align-items: center;
}

.nav-menu-group.left {
  grid-template-columns: repeat(4, 1fr);
  padding-right: 20px;
}

.nav-link,
.has-dropdown {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  text-decoration: none;
  color: #ffffff !important;
  font-family: "Playfair Display", "Noto Serif Thai", serif;
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 1.5px;
  position: relative;
  transition: opacity 0.3s;
  white-space: nowrap;
}

.nav-link::after {
  content: "";
  position: absolute;
  width: 0;
  height: 1px;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #fff;
  transition: width 0.3s;
}

.luxury-nav.scrolled .nav-link::after {
  bottom: 20px;
}

.nav-link:hover::after {
  width: 50%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 15px;
  position: absolute;
  right: 40px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 20;
  height: 100%;
}

.has-dropdown {
  position: relative;
  cursor: pointer;
  height: 100%;
  display: flex;
  align-items: center;
}

.luxury-dropdown {
  position: absolute;
  top: 80%;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background-color: rgba(255, 255, 255, 0.98);
  min-width: 240px;
  padding: 15px 0;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
  opacity: 0;
  visibility: hidden;
  display: block;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  list-style: none;
  border-radius: 2px;
  text-align: left;
  z-index: 100;
}

.dropdown-menu {
  position: absolute;
  top: 80%;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background-color: rgba(255, 255, 255, 0.98);
  min-width: 240px;
  padding: 15px 0;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  list-style: none;
  border-radius: 2px;
  text-align: left;
  z-index: 100;
}

.has-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.has-dropdown:hover .luxury-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.luxury-dropdown li a {
  display: block;
  padding: 12px 25px;
  color: #555;
  text-decoration: none;
  font-size: 0.9rem;
  font-family: "Kanit", sans-serif;
  transition: 0.2s;
  border-bottom: 1px solid rgba(0, 0, 0, 0.03);
  height: auto;
  width: auto;
  justify-content: flex-start;
}

.dropdown-menu li a {
  display: block;
  padding: 12px 25px;
  color: #555;
  text-decoration: none;
  font-size: 0.9rem;
  font-family: "Kanit", sans-serif;
  transition: 0.2s;
  border-bottom: 1px solid rgba(0, 0, 0, 0.03);
  flex: unset;
  justify-content: flex-start;
}

.dropdown-menu li:last-child a {
  border-bottom: none;
}

.luxury-dropdown li a:hover {
  background-color: #f9f9f9;
  color: #c28559;
  padding-left: 30px;
}

.luxury-dropdown li a::after {
  display: none;
}

.mobile-toggle-btn {
  display: none;
  width: 36px;
  height: 36px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 1001;
  padding: 0;
  position: absolute;
  left: 20px;
  align-items: center;
  justify-content: center;
}

.mobile-toggle-btn span {
  display: block;
  width: 20px;
  height: 2px;
  background-color: #fff;
  position: absolute;
  transition: all 0.3s ease-in-out;
  border-radius: 2px;
}

.mobile-toggle-btn span:nth-child(1) {
  transform: translateY(-6px);
}

.mobile-toggle-btn span:nth-child(2) {
  opacity: 1;
}

.mobile-toggle-btn span:nth-child(3) {
  transform: translateY(6px);
}

.mobile-toggle-btn.active span:nth-child(1) {
  transform: rotate(45deg);
}

.mobile-toggle-btn.active span:nth-child(2) {
  opacity: 0;
}

.mobile-toggle-btn.active span:nth-child(3) {
  transform: rotate(-45deg);
}

.mobile-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: rgba(194, 133, 89, 0.98);
  z-index: 999;
  padding-top: 100px;
  padding-bottom: 40px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding-left: 40px;
  padding-right: 20px;
  overflow-y: auto;
  transform: translateY(-100%);
  transition: transform 0.5s cubic-bezier(0.77, 0.2, 0.05, 1);
}

.mobile-menu-overlay.open {
  transform: translateY(0);
}

.mobile-nav-link {
  font-family: "Playfair Display", "Noto Serif Thai", serif;
  font-size: 1.05rem;
  color: #ffffff !important;
  text-decoration: none;
  margin: 8px 0;
  width: 100%;
  text-align: left;
  opacity: 0;
  transform: translateY(20px);
  transition: 0.4s;
}

.mobile-menu-overlay.open .mobile-nav-link {
  opacity: 1;
  transform: translateY(0);
}

.mobile-menu-overlay.open .mobile-nav-link:nth-child(1) { transition-delay: 0.1s; }
.mobile-menu-overlay.open .mobile-nav-link:nth-child(2) { transition-delay: 0.2s; }
.mobile-menu-overlay.open .mobile-nav-link:nth-child(3) { transition-delay: 0.3s; }
.mobile-menu-overlay.open .mobile-nav-link:nth-child(4) { transition-delay: 0.4s; }
.mobile-menu-overlay.open .mobile-nav-link:nth-child(5) { transition-delay: 0.5s; }
.mobile-menu-overlay.open .mobile-nav-link:nth-child(6) { transition-delay: 0.6s; }
.mobile-menu-overlay.open .mobile-nav-link:nth-child(7) { transition-delay: 0.7s; }

.mobile-submenu {
  display: none;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
  margin-bottom: 5px;
  padding-left: 25px;
  box-sizing: border-box;
}

.mobile-submenu a {
  font-size: 0.95rem;
  margin: 6px 0;
  opacity: 0.9;
  font-family: "Kanit", sans-serif;
  font-weight: 300;
  color: #ffffff !important;
  text-decoration: none;
}

.mobile-lang-group {
  margin-top: 20px;
  display: flex;
  align-items: center;
  gap: 15px;
  justify-content: flex-start;
  width: 100%;
  opacity: 0;
  transform: translateY(20px);
  transition: 0.4s;
  transition-delay: 0.6s;
}

.mobile-lang-link {
  font-family: "Kanit", sans-serif;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  letter-spacing: 1px;
  font-weight: 300;
  transition: 0.3s;
}

.mobile-lang-link.active {
  color: #fff;
  font-weight: 500;
  border-bottom: 1px solid #fff;
}

.mobile-lang-sep {
  color: rgba(255, 255, 255, 0.4);
  font-weight: 100;
}

.mobile-book-btn {
  margin-top: 25px;
  padding: 10px 30px;
  background: transparent;
  border: 1px solid #fff;
  color: #fff;
  font-family: "Kanit", sans-serif;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  text-decoration: none;
  align-self: flex-start;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.3s ease;
  transition-delay: 0.7s;
}

.mobile-menu-overlay.open .mobile-book-btn {
  opacity: 1;
  transform: translateY(0);
}

.mobile-book-btn:hover {
  background-color: #ffffff !important;
  color: #c28559 !important;
}

.mobile-menu-overlay.open .mobile-lang-group {
  opacity: 1;
  transform: translateY(0);
}

.nav-menu-group.right {
  grid-template-columns: 1fr 1fr 1fr auto;
  gap: 15px;
  padding-left: 30px;
}

/* -------------------------------------------------------------------------
   NEW STYLES FOR INLINE ACTIONS (LANG SWITCHER & BOOK NOW BUTTON)
   ------------------------------------------------------------------------- */
.nav-actions-inline {
  display: flex;
  flex-direction: row; /* เปลี่ยนเป็นแนวนอน */
  justify-content: center;
  align-items: center;
  gap: 20px; /* เพิ่มระยะห่างระหว่างภาษาและปุ่ม */
  height: 100%;
}

.lang-switch-modern {
  display: flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  border: none; /* เอาขอบกล่องออก */
  padding: 0;
  width: auto;
  transition: all 0.3s ease;
}

.lang-switch-modern .lang-sep {
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.85rem;
  user-select: none;
}

.lang-switch-modern a {
  text-decoration: none;
  font-family: "Kanit", sans-serif;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
  transition: 0.3s;
  font-weight: 300;
  display: inline-block;
  line-height: 1.2;
}

.lang-switch-modern a.active {
  color: #ffffff;
  font-weight: 500;
  background-color: transparent;
  box-shadow: none;
  position: relative;
}

.lang-switch-modern a.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 1px;
  background-color: #ffffff;
}

.lang-switch-modern a:hover:not(.active) {
  color: #ffffff;
}

/* รวมและจัดการปุ่ม BOOK NOW ให้คลีนและพรีเมียมขึ้น */
nav#mainNav a.btn-book-now {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  padding: 8px 25px;
  background-color: transparent !important; /* พื้นหลังโปร่งใส */
  color: #ffffff !important;
  border: 1px solid #ffffff !important; /* เส้นขอบสีขาว */
  border-radius: 2px;
  text-decoration: none;
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 1.5px;
  font-family: 'Prompt', 'Kanit', sans-serif;
  font-weight: 400;
  transition: all 0.3s ease;
  white-space: nowrap;
  height: auto;
  box-shadow: none;
  text-shadow: none !important;
}

nav#mainNav a.btn-book-now:hover {
  background-color: #ffffff !important; /* เมื่อโฮเวอร์ให้ปุ่มเป็นสีขาวเต็ม */
  color: #c28559 !important; /* ตัวหนังสือสีแบรนด์ */
  opacity: 1;
}

.line-floating-cta {
  position: fixed;
  left: 20px;
  bottom: 24px;
  z-index: 998;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px 12px 12px;
  border-radius: 999px;
  background: linear-gradient(135deg, #06c755 0%, #05a847 100%);
  color: #ffffff;
  text-decoration: none;
  box-shadow: 0 16px 34px rgba(5, 167, 71, 0.28);
  transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
  max-width: min(340px, calc(100vw - 32px));
  animation: lineFloat 3.6s ease-in-out infinite;
}

.line-floating-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 0%, rgba(255, 255, 255, 0.18) 45%, transparent 75%);
  transform: translateX(-140%);
  animation: lineSheen 4.8s ease-in-out infinite;
  pointer-events: none;
}

.line-floating-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 40px rgba(5, 167, 71, 0.34);
  filter: saturate(1.03);
}

.line-floating-cta__icon {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  animation: linePulse 2.8s ease-in-out infinite;
}

.line-floating-cta__icon svg {
  width: 25px;
  height: 25px;
  display: block;
}

.line-floating-cta__content {
  display: flex;
  flex-direction: column;
  min-width: 0;
  line-height: 1.1;
}

.line-floating-cta__content strong {
  font-family: "Prompt", "Kanit", sans-serif;
  font-size: 0.94rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.line-floating-cta__content small {
  font-family: "Prompt", "Kanit", sans-serif;
  font-size: 0.76rem;
  opacity: 0.92;
  margin-top: 4px;
  white-space: normal;
}

@keyframes lineFloat {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-4px);
  }
}

@keyframes linePulse {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.08);
  }
  50% {
    box-shadow: 0 0 0 8px rgba(255, 255, 255, 0);
  }
}

@keyframes lineSheen {
  0%,
  55%,
  100% {
    transform: translateX(-140%);
  }
  70% {
    transform: translateX(140%);
  }
}
/* ------------------------------------------------------------------------- */


@media (max-width: 1250px) {
  .nav-menu-group,
  .nav-actions {
    display: none;
  }
  .mobile-toggle-btn {
    display: flex;
  }
  .nav-logo {
    flex: unset;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
  }
  .mobile-toggle-btn {
    position: absolute;
    left: 20px;
  }
  .luxury-nav {
    justify-content: center;
    padding: 0 20px;
    background-color: #c28559;
    height: 70px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  }
}

@media (max-width: 767px) {
  .line-floating-cta {
    left: 12px;
    right: 12px;
    bottom: 14px;
    max-width: none;
    justify-content: flex-start;
    padding: 11px 14px 11px 11px;
  }

  .line-floating-cta__icon {
    width: 40px;
    height: 40px;
  }

  .line-floating-cta__content strong {
    font-size: 0.88rem;
  }

  .line-floating-cta__content small {
    font-size: 0.72rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .line-floating-cta,
  .line-floating-cta::before,
  .line-floating-cta__icon {
    animation: none !important;
  }

  .line-floating-cta {
    transition: none;
  }
}

*,
*::before,
*::after {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body {
  font-size: 16px;
  line-height: 1.7;
  color: #3a3a3a;
  font-family: 'Prompt', 'Kanit', sans-serif;
  font-weight: 300;
}

.luxury-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

nav#mainNav a.nav-link,
div#mobileOverlay a.mobile-nav-link,
div#mobileOverlay a.mobile-book-btn {
  font-family: 'Playfair Display', ;
  text-transform: capitalize;
  letter-spacing: 0.04em;
  font-size: 1.05rem;
  font-weight: 500;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.35);
  color: #ffffff !important;
  transition: all 0.3s ease;
}

nav#mainNav ul.luxury-dropdown li a {
  font-family: 'Prompt', 'Kanit', sans-serif;
  text-transform: capitalize;
  font-size: 0.95rem;
  font-weight: 400;
  color: #333333 !important;
  text-shadow: none !important;
  padding: 8px 15px;
  transition: all 0.3s ease;
}

nav#mainNav ul.luxury-dropdown li a:hover {
  color: #b08d66 !important;
  background-color: transparent;
}

nav#mainNav a.nav-link:hover {
  color: #ffffff !important;
  opacity: 0.75;
  text-shadow: none;
}

@media (min-width: 992px) {
  .nav-menu-group {
    display: flex;
    align-items: center;
  }
  .nav-link {
    display: inline-flex;
    align-items: center;
    padding-top: 10px;
    padding-bottom: 10px;
    margin: 0 12px;
  }
}

@media (max-width: 991px) {
  .nav-menu-group.left,
  .nav-menu-group.right {
    display: none !important;
  }
  .nav-logo {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
  }
  .mobile-toggle-btn {
    width: 30px;
    height: 30px;
    padding: 5px;
  }
  .mobile-toggle-btn span {
    width: 18px;
    height: 2px;
    margin: 4px auto;
  }
  div#mobileOverlay a.mobile-nav-link,
  div#mobileOverlay div.mobile-lang-group a.mobile-lang-link,
  div#mobileOverlay div.mobile-lang-group span.mobile-lang-sep {
    color: #ffffff !important;
    text-shadow: none;
    font-size: 1rem;
    font-weight: 800;
  }
  a.mobile-nav-link{
    font-size: 1rem;
  }
  div#mobileOverlay a.mobile-nav-link:hover,
  div#mobileOverlay div.mobile-lang-group a.mobile-lang-link:hover {
    color: #ffffff !important;
    opacity: 0.75;
    background-color: transparent;
  }
  .mobile-lang-group {
    font-size: 0.9rem;
  }
}





div.PAGE5_FONT,
p.PAGE5_FONT {
  font-size: clamp(0.95rem, 1.5vw, 1.05rem);
  line-height: 1.9;
  color: #7a6552;
  font-weight: 300;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

div.PAGE6_CONTENT2_SETTING-p,
p.PAGE6_CONTENT2_SETTING-p,
div.PAGE6_FONT,
p.PAGE6_FONT {
  font-size: clamp(0.95rem, 1.4vw, 1.05rem);
  line-height: 1.9;
  color: #6d5a4a;
  font-weight: 300;
}


button.PAGE3_BUTTON_CONTETNT,
a.PAGE3_BUTTON_CONTETNT {
  font-size: 0.9rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 12px 30px;
  font-weight: 400;
  transition: all 0.3s ease;
  font-family: 'Prompt', 'Kanit', sans-serif;
}

.FONT_INDEX_V1 {
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  color: #b08d66;
  letter-spacing: 0.03em;
  font-weight: 500;
  text-shadow: none;
}

div.FONT_INDEX_V2,
p.FONT_INDEX_V2 {
  font-size: clamp(0.95rem, 1.4vw, 1.05rem);
  line-height: 1.9;
  color: #6d5a4a;
  font-weight: 300;
}

.footer-section h4,
.footer-section2 h4,
.footer-section3 h4 {
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 500;
  color: inherit;
  text-shadow: none;
}

.footer-section p,
div.FONT_FOOTER,
p.FONT_FOOTER {
  font-size: 0.95rem;
  line-height: 1.8;
  font-weight: 300;
}

div.rm-content,
p.rm-content,
a.rm-more,
span.rm-more {
  font-size: clamp(0.95rem, 1.4vw, 1.05rem);
  line-height: 2;
}