/* Shared outline action button, including former underlined text CTAs.
   The service dialog is appended to <body>, outside #wrapper — mirror the rules there. */
#wrapper #header .gth-hc-book,
#wrapper :is(.gth-button,.gth-text-link,.gth-home-text-link,.gth-about-link,.gth-rooms-inline-link,.gth-vd-text-link,.gth-news-read,.gth-news-related-head > a,.gth-btn-line,.gth-btn-solid,.gth-cta-ghost,.gth-sp-save,.gth-invite-cta,.gth-managed-hero-cta,.gth-enquiry-form > button),
.gth-service-dialog .gth-enquiry-form > button[type="submit"] {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  align-self:flex-start;
  gap:18px;
  min-height:46px;
  max-width:100%;
  box-sizing:border-box;
  padding:14px 26px!important;
  border:1px solid #d3ccbc;
  border-radius:0;
  background:transparent;
  color:#0b202d;
  box-shadow:none;
  font-size:12px!important;
  line-height:1.4!important;
  letter-spacing:.07em!important;
  text-align:center;
  text-transform:uppercase;
  text-decoration:none;
  transition:background .25s,color .25s,border-color .25s;
}
#wrapper #header .gth-hc-book:hover,
#wrapper :is(.gth-button,.gth-text-link,.gth-home-text-link,.gth-about-link,.gth-rooms-inline-link,.gth-vd-text-link,.gth-news-read,.gth-news-related-head > a,.gth-btn-line,.gth-btn-solid,.gth-cta-ghost,.gth-sp-save,.gth-invite-cta,.gth-managed-hero-cta,.gth-enquiry-form > button):hover,
.gth-service-dialog .gth-enquiry-form > button[type="submit"]:hover {
  background:#ab8d4b;
  border-color:#ab8d4b;
  color:#fff;
}
#wrapper #header .gth-hc-book:focus-visible,
#wrapper :is(.gth-button,.gth-text-link,.gth-home-text-link,.gth-about-link,.gth-rooms-inline-link,.gth-vd-text-link,.gth-news-read,.gth-news-related-head > a,.gth-btn-line,.gth-btn-solid,.gth-cta-ghost,.gth-sp-save,.gth-invite-cta,.gth-managed-hero-cta,.gth-enquiry-form > button):focus-visible,
.gth-service-dialog .gth-enquiry-form > button[type="submit"]:focus-visible {
  outline:2px solid #ab8d4b;
  outline-offset:4px;
}
#wrapper :is(.gth-layout-dark,.gth-invite,.gth-sr-cta,.gth-home-experience-card .col-inner) :is(.gth-button,.gth-text-link,.gth-home-text-link) { color:#f3f1e9; border-color:#d0bd96; }

/* Header CTA uses the primary fill on both transparent and solid headers. */
#wrapper #header .gth-hc-book { margin:0; align-self:center; white-space:nowrap; background:var(--fs-color-primary,#ab8d4b); border-color:var(--fs-color-primary,#ab8d4b); color:#fff !important; }
#wrapper #header.transparent .header-wrapper:not(.stuck):not(.fixed) .gth-hc-book { color:#fff !important; border-color:var(--fs-color-primary,#ab8d4b); }
#wrapper #header .gth-hc-book:hover { background:#0b202d; color:#fff !important; border-color:#0b202d; }
@media (min-width:850px) {
  #wrapper #header .gth-hc-book { min-height:44px; padding:12px 22px!important; }
}
@media (max-width:849px) {
  #wrapper #header .gth-hc-book { min-height:40px; padding:10px 16px!important; font-size:11px!important; line-height:1.4!important; }
}

/* Shared primary and hero variants, with the same size and typography. */
#wrapper :is(.gth-btn-solid,.gth-sp-save,.gth-invite-cta,.gth-enquiry-form > button,.gth-managed-hero-cta),
.gth-service-dialog .gth-enquiry-form > button[type="submit"] { background:var(--fs-color-primary,#ab8d4b); border-color:var(--fs-color-primary,#ab8d4b); color:#fff; }
#wrapper :is(.gth-btn-solid,.gth-sp-save,.gth-invite-cta,.gth-enquiry-form > button,.gth-managed-hero-cta):hover,
.gth-service-dialog .gth-enquiry-form > button[type="submit"]:hover { background:#0b202d; border-color:#0b202d; color:#fff; }
#wrapper :is(.gth-layout-dark,.gth-venue-hero,.gth-facilities-hero,.gth-event-hero,.gth-spa-hero,.banner) :is(.gth-cta-ghost,.gth-button.is-outline) { color:#fff; border-color:#d0bd96; }
#wrapper :is(.gth-layout-dark,.gth-venue-hero,.gth-facilities-hero,.gth-event-hero,.gth-spa-hero,.banner) .gth-cta-ghost:hover { color:#fff; background:#ab8d4b; border-color:#ab8d4b; }

/* Light content panels shared by the Spa and Events heroes. */
#wrapper .gth-event-hero .gth-sp-save { color:#fff; background:var(--fs-color-primary,#ab8d4b)!important; border-color:var(--fs-color-primary,#ab8d4b)!important; }
#wrapper .gth-event-hero .gth-event-ctas .gth-cta-ghost { color:#0b202d; background:transparent; border-color:var(--fs-color-primary,#ab8d4b); }
#wrapper .gth-event-hero .gth-event-ctas :is(.gth-sp-save,.gth-cta-ghost):hover { color:#fff; background:#0b202d!important; border-color:#0b202d!important; }
#wrapper .gth-event-hero :is(.gth-sp-save,.gth-cta-ghost):focus-visible { outline:2px solid #0b202d; outline-offset:4px; }
/* Decorative icon wrappers and arrow pseudo-elements on text CTAs. */
#wrapper :is(.gth-button,.gth-text-link,.gth-home-text-link,.gth-invite-cta,.gth-btn-line,.gth-btn-solid,.gth-cta-ghost,.gth-sp-save,.gth-managed-hero-cta,.gth-about-link,.gth-vd-text-link) :is(.gth-arrow,i[class*="icon-"],svg) { display:none; }
#wrapper :is(.gth-invite-cta,.gth-button,.gth-home-text-link)::after { content:none; display:none; }

/* Booking bar submit shares the global primary look but stays bottom-aligned in the bar. */
#wrapper .gth-engine-bar > button[type="submit"] {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  box-sizing:border-box;
  width:100%;
  min-width:0;
  height:44px;
  min-height:44px;
  margin:0;
  padding:0 12px!important;
  border:1px solid var(--fs-color-primary,#ab8d4b);
  border-radius:0;
  background:var(--fs-color-primary,#ab8d4b);
  color:#fff;
  box-shadow:none;
  font-size:12px!important;
  line-height:1.4!important;
  letter-spacing:.07em!important;
  text-transform:uppercase;
  text-decoration:none;
  cursor:pointer;
  transition:background .25s,border-color .25s;
}
#wrapper .gth-engine-bar > button[type="submit"]:hover { background:#0b202d; border-color:#0b202d; color:#fff; }
#wrapper .gth-engine-bar > button[type="submit"]:focus-visible { outline:2px solid #ab8d4b; outline-offset:4px; }

/* Mobile — padding trái/phải 15px cho toàn bộ button global (15/11) */
@media (max-width: 549px) {
  #wrapper #header .gth-hc-book,
  #wrapper :is(.gth-button,.gth-text-link,.gth-home-text-link,.gth-about-link,.gth-rooms-inline-link,.gth-vd-text-link,.gth-news-read,.gth-news-related-head > a,.gth-btn-line,.gth-btn-solid,.gth-cta-ghost,.gth-sp-save,.gth-invite-cta,.gth-managed-hero-cta,.gth-enquiry-form > button),
  .gth-home-intro-copy .button,
  .gth-service-dialog .gth-enquiry-form > button[type="submit"] {
    padding-left: 15px !important;
    padding-right: 15px !important;
  }
}

/* A light, compact back-to-top control, independent of text CTA styles. */
#wrapper #top-link {
  display:flex;
  align-items:center;
  justify-content:center;
  width:42px;
  height:42px;
  min-width:0;
  min-height:0;
  padding:0!important;
  margin:0;
  right:24px;
  bottom:24px;
  border:1px solid #d0bd96;
  border-radius:50%;
  background:rgba(255,254,249,.96);
  color:#947442;
  box-shadow:0 3px 14px rgba(11,32,45,.08);
  line-height:1;
  transition:opacity .3s,transform .3s,background .25s,border-color .25s,color .25s;
}
#wrapper #top-link i { display:none; }
#wrapper #top-link::before {
  content:'';
  width:9px;
  height:9px;
  margin-top:5px;
  border:solid currentColor;
  border-width:1.5px 0 0 1.5px;
  transform:rotate(45deg);
}
#wrapper #top-link::after { content:none; }
#wrapper #top-link:hover { background:#ab8d4b; border-color:#ab8d4b; color:#fff; }
#wrapper #top-link:focus-visible { outline:2px solid #ab8d4b; outline-offset:4px; }
@media(max-width:849px) {
  #wrapper #top-link { right:16px; bottom:16px; }
}

/* Keep venue action labels intact on narrow phones. */
@media (max-width: 549px) {
  #wrapper .gth-venue-entry-actions { gap: 8px; }
  body #wrapper #main .gth-venue-entry-actions > a {
    flex: 1 1 auto;
    min-width: max-content;
    white-space: nowrap;
    padding-left: 8px !important;
    padding-right: 8px !important;
  }
}

/* Two-column room cards need compact, single-line actions on tablets. */
@media (min-width: 551px) and (max-width: 1024px) {
  #wrapper .gth-room-catalog .gth-catalog-actions { display: flex; flex-wrap: wrap; gap: 8px; }
  body #wrapper #main .gth-room-catalog .gth-catalog-actions > a {
    flex: 1 1 auto;
    min-width: max-content;
    min-height: 46px;
    padding: 12px 8px !important;
    white-space: nowrap;
  }
}
