:root {
  --primary: #146356;
  --primary-dark: #0e4a40;
  --primary-light: #e7f3ee;
  --accent-gold: #b9aa8a;
  --accent-gold-rgb: 185, 170, 138;
  --accent-gold-on-light: #7d6a45;
  --border: #c7ddd3;
  --field-focus-border: #6b7280;
  --field-focus-shadow: 0 0 0 2px rgba(107, 114, 128, 0.2);
  --text-sub: #5f7a70;
  --bg-main: #f3faf7;
  /* Hero is a much darker, moodier step down from --primary-dark,
     used only behind the blurred forest photo. */
  --hero-dark: #04211d;
  --hero-overlay-top: rgba(4, 33, 29, 0.55);
  --hero-overlay-bottom: rgba(3, 20, 18, 0.92);
  --customer-hero-image: url("../beemosphoto/DJI_20250302_124054_707swimmingpool.jpg");
  --mobile-nav-height: 72px;
  --mobile-sticky-top: var(--mobile-nav-height);
}

.mobile-landing-only,
.mobile-context-header,
.amenities-mobile-carousel {
  display: none;
}

@media (min-width: 992px) {
  .customer-landing #siteNavbar {
    position: fixed;
    z-index: 1040;
    top: 0;
    right: 0;
    left: 0;
  }
}

@media (max-width: 991.98px) {
  .customer-landing .mobile-landing-only,
  .customer-landing .mobile-context-header,
  .customer-landing .amenities-mobile-carousel {
    display: block;
  }
  .customer-landing .amenities-desktop-grid {
    display: none;
  }
  .customer-landing #siteNavbar {
    position: fixed;
    z-index: 1040;
    top: 0;
    right: 0;
    left: 0;
    background: transparent !important;
  }
  .customer-landing .page-content {
    position: relative;
    padding-top: var(--mobile-nav-height);
  }
  .customer-landing .page-content::before,
  .customer-landing .page-content::after {
    content: "";
    position: fixed;
    right: 0;
    left: 0;
    height: calc(var(--mobile-nav-height) + var(--mobile-context-height, 170px));
    pointer-events: none;
  }
  .customer-landing .page-content::before {
    z-index: 1010;
    top: -12px;
    height: calc(var(--mobile-nav-height) + var(--mobile-context-height, 170px) + 24px);
    background: var(--hero-dark) url("../beemosphoto/forest-bg.png") center / cover no-repeat;
    filter: blur(4px) saturate(85%);
    clip-path: inset(12px 0);
  }
  .customer-landing .page-content::after {
    z-index: 1011;
    top: 0;
    background: linear-gradient(180deg, var(--hero-overlay-top), var(--hero-overlay-bottom));
  }
  .customer-landing .site-hero {
    display: none;
  }
  .customer-landing .mobile-context-header {
    position: sticky;
    z-index: 1020;
    top: var(--mobile-sticky-top);
    min-height: clamp(150px, 19vw, 190px);
    overflow: hidden;
    color: #fff;
  }
  .customer-landing .mobile-context-backdrop,
  .customer-landing .mobile-context-overlay {
    display: none;
  }
  .mobile-context-backdrop,
  .mobile-context-overlay {
    position: absolute;
    inset: -12px;
  }
  .mobile-context-backdrop {
    background: var(--hero-dark) url("../beemosphoto/forest-bg.png") center / cover no-repeat;
    filter: blur(4px) saturate(85%);
    transform: scale(1.04);
  }
  .mobile-context-overlay {
    inset: 0;
    background: linear-gradient(180deg, var(--hero-overlay-top), var(--hero-overlay-bottom));
  }
  .mobile-context-content {
    position: relative;
    z-index: 1;
    display: flex;
    min-height: clamp(150px, 19vw, 190px);
    flex-direction: column;
    justify-content: center;
    padding-block: 1.75rem;
  }
  .mobile-context-header .hero-eyebrow {
    margin-bottom: 0.4rem;
    font-size: 0.78rem;
  }
  .mobile-context-header h2 {
    margin: 0 0 0.45rem;
    font-size: clamp(1.75rem, 4.2vw, 2.25rem);
    font-weight: 700;
  }
  .mobile-context-header p:last-child {
    max-width: 720px;
    margin: 0;
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.9rem;
    line-height: 1.5;
  }
  .customer-landing .landing-section {
    display: block;
    width: 100%;
    min-width: 0;
    scroll-margin-top: calc(var(--mobile-nav-height) + var(--mobile-context-height, 7rem) + 0.5rem);
  }
  .customer-landing .landing-section:nth-of-type(even) {
    background: #fff;
  }
  .landing-policies-grid > * {
    width: 50%;
  }
  .landing-policies-grid .info-card {
    padding: 0.85rem;
  }
  .landing-policies-grid .info-card .icon-badge {
    width: 34px;
    height: 34px;
    margin-bottom: 0.5rem;
    border-radius: 9px;
    font-size: 0.95rem;
  }
  .landing-policies-grid .info-card h6 {
    font-size: 0.84rem;
  }
  .landing-policies-grid .info-card p {
    font-size: 0.78rem;
    line-height: 1.45;
  }
  .amenities-mobile-carousel {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    padding-bottom: 2.25rem;
    border-radius: 14px;
  }
  .amenities-mobile-carousel .carousel-control-prev,
  .amenities-mobile-carousel .carousel-control-next {
    display: none;
  }
  .amenities-mobile-carousel .carousel-control-prev-icon,
  .amenities-mobile-carousel .carousel-control-next-icon {
    padding: 1rem;
    border-radius: 50%;
    background-color: rgba(4, 33, 29, 0.72);
    background-size: 55%;
  }
  .amenities-mobile-carousel .carousel-indicators {
    bottom: -0.25rem;
  }
  .amenities-mobile-carousel .carousel-indicators button {
    background-color: var(--primary);
  }
  .amenities-mobile-carousel .carousel-inner,
  .amenities-mobile-carousel .carousel-item,
  .amenities-mobile-carousel .amenity-card {
    width: 100%;
    min-width: 0;
  }
  .amenities-mobile-carousel .amenity-card:hover {
    transform: none;
  }
  .event-media-frame .carousel-control-prev,
  .event-media-frame .carousel-control-next {
    display: none;
  }
  .customer-landing .media-frame,
  .customer-landing .carousel,
  .customer-landing .carousel-inner {
    max-width: 100%;
  }
  .mobile-booking-cta {
    padding: 2.5rem 0;
    background: var(--bg-main);
  }
  .mobile-booking-cta-card {
    padding: 2rem;
    border-radius: 18px;
    background: var(--primary-dark);
    color: #fff;
    text-align: center;
  }
  .mobile-booking-cta-card h2 {
    margin-bottom: 0.35rem;
    font-size: 1.5rem;
    font-weight: 700;
  }
  .mobile-booking-cta-card p {
    margin-bottom: 1.25rem;
    color: rgba(255,255,255,0.78);
  }
  .mobile-booking-cta-card a {
    display: inline-flex;
    min-height: 46px;
    align-items: center;
    padding: 0.7rem 1.5rem;
    border-radius: 999px;
    background: #fff;
    color: var(--primary-dark);
    font-weight: 700;
    text-decoration: none;
  }
}

@media (max-width: 575.98px) {
  :root {
    --mobile-nav-height: 64px;
  }
  .customer-landing .mobile-context-header,
  .mobile-context-content {
    min-height: 148px;
  }
  .mobile-context-content {
    padding-block: 1.35rem;
  }
  .mobile-context-header h2 {
    font-size: 1.65rem;
  }
  .mobile-context-header p:last-child {
    font-size: 0.82rem;
    line-height: 1.45;
  }
  .landing-policies-grid {
    --bs-gutter-x: 0.65rem;
    --bs-gutter-y: 0.65rem;
  }
  .landing-policies-grid .info-card {
    padding: 0.7rem;
  }
  .landing-policies-grid .info-card h6 {
    font-size: 0.78rem;
  }
  .landing-policies-grid .info-card p {
    font-size: 0.74rem;
    line-height: 1.4;
  }
  .mobile-booking-cta-card {
    padding: 1.5rem 1rem;
  }
}

/* ── Sticky footer skeleton ──────────────────────────────
   Fixes the footer only appearing after an extra, unnecessary
   scroll: the page is a flex column that's always at least
   100dvh tall, the page content is allowed to grow, and the
   footer is pinned to the end of that column instead of just
   trailing whatever height the content happens to add up to. */

html,
body {
  height: 100%;
}

html {
  /* Keep the root viewport as the page's single native scroll container. */
  scrollbar-gutter: stable;
}

/* Guard against Bootstrap's modal.show() adding an inline padding-right
   to compensate for the hidden scrollbar (e.g. the auto-opened login
   modal on web_booking.php) — without this, that page can end up a few
   pixels narrower than pages with no modal, shifting centered content. */

body.modal-open {
  padding-right: 0 !important;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100dvh;
  font-family: "Inter", sans-serif;
  /* `hidden` makes the body an independent scroll container; `clip` only
     prevents decorative horizontal overflow and leaves vertical page
     scrolling with the root viewport. */
  overflow-x: clip;
  font-size: 14px;
  line-height: 1.4;
  background: var(--bg-main);
  position: relative;
}

body::before {
  content: "";
  position: fixed;
  inset: -20px;
  /* overscan so the blur never shows a hard edge */
  background-image: url("../beemosphoto/forest-bg.png");
  background-size: cover;
  background-position: center;
  filter: blur(6px) saturate(85%);
  transform: scale(1.08);
  z-index: -2;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  background: linear-gradient(
    180deg,
    var(--hero-overlay-top) 0%,
    var(--hero-overlay-bottom) 100%
  );
  z-index: -1;
}

.page-content {
  flex: 1 0 auto;
}

.footer {
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
  background-color: var(--hero-dark);
  /* fallback while the footer photo loads */
  border-top: none;
  color: #fff;
}

.footer::before {
  content: "";
  position: absolute;
  inset: -20px;
  /* overscan so the blur never shows a hard edge */
  background-image: var(--customer-hero-image);
  background-size: cover;
  background-position: center;
  filter: blur(6px) saturate(85%);
  transform: scale(1.08);
  z-index: 0;
}

.footer::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    var(--hero-overlay-top) 0%,
    var(--hero-overlay-bottom) 100%
  );
  z-index: 0;
}

.footer .container {
  position: relative;
  z-index: 1;
}

.footer a {
  text-decoration: none;
  color: var(--primary-light);
  font-size: 1rem;
  font-weight: 600;
}

.footer a:hover {
  text-decoration: underline;
  color: #ffffff;
}

.footer span,
.footer .small {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1rem;
}

.footer .text-muted {
  color: rgba(255, 255, 255, 0.55) !important;
  font-size: 0.9rem;
}

/* ── Transparent "big" navbar ────────────────────────────
   Lives inside .site-hero, no background of its own, larger
   vertical rhythm than a standard bootstrap navbar. */

#siteNavbar {
  background: transparent !important;
  padding: 1.3rem 0 !important;
}

#siteNavbar .nav-shell {
  position: relative;
  display: flex;
  flex-wrap: inherit;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding-left: clamp(1.25rem, 4vw, 3.5rem);
  padding-right: clamp(1.25rem, 4vw, 3.5rem);
}

#siteNavbar .logo-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  border-radius: 12px;
  padding: 6px 11px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
}

#siteNavbar .logo-badge img {
  height: 52px !important;
  width: auto !important;
  object-fit: contain;
  display: block;
}

#siteNavbar .nav-link {
  color: rgba(255, 255, 255, 0.92) !important;
  font-weight: 600 !important;
  font-size: 0.92rem !important;
  padding: 0.4rem 0.9rem !important;
  transition: color 0.2s;
}

#siteNavbar .nav-link:hover {
  color: #ffffff !important;
}

#siteNavbar .nav-link.active {
  color: #ffffff !important;
  position: relative;
}

#siteNavbar .nav-link.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  width: 100%;
  height: 30px;
  background: linear-gradient(
    180deg,
    rgba(4, 33, 29, 0) 0%,
    var(--primary-dark) 100%
  );
  border-radius: 2px;
  pointer-events: none;
}

#siteNavbar .navbar-toggler {
  border-color: rgba(255, 255, 255, 0.5);
}

#siteNavbar .navbar-toggler-icon {
  filter: invert(1) grayscale(100%) brightness(200%);
}

#siteNavbar .profile-btn-outline {
  border-color: rgba(255, 255, 255, 0.7) !important;
  color: #ffffff !important;
  width: 52px !important;
  height: 52px !important;
  font-size: 1.5rem;
}

#siteNavbar .profile-btn-outline i {
  font-size: 1.5rem;
}

#siteNavbar .profile-avatar {
  width: 52px !important;
  height: 52px !important;
  font-size: 1.2rem !important;
}

#siteNavbar .responsive-account-link {
  display: none;
}

#siteNavbar .responsive-booking-home {
  display: none;
}

@media (max-width: 991.98px) {
  #siteNavbar .navbar-collapse,
  #siteNavbar .navbar-collapse.collapsing {
    position: absolute;
    z-index: 1035;
    top: calc(100% + 0.5rem);
    right: 0;
    left: 0;
    max-height: calc(100dvh - var(--mobile-nav-height, 72px) - 1.5rem);
    overflow-y: auto;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    background: rgba(4, 33, 29, 0.92);
    box-shadow: 0 16px 36px rgba(2, 18, 16, 0.32);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    padding: 1rem;
    margin-top: 0;
  }
  #siteNavbar .responsive-account-link {
    display: block;
  }
  #siteNavbar.customer-booking-navbar .landing-menu-item {
    display: none;
  }
  #siteNavbar.customer-booking-navbar .responsive-booking-home {
    display: block;
  }
  #siteNavbar .responsive-account-button {
    width: 100%;
    border: 0;
    background: transparent;
    text-align: left;
  }
  #siteNavbar .book-now-nav-link.active::after {
    display: none;
  }
  #siteNavbar .responsive-logout-link {
    color: #ffd7d7 !important;
    width: 100%;
    border: 0;
    background: transparent;
    text-align: left;
    cursor: pointer;
  }
  #siteNavbar .customer-nav-desktop-account {
    display: none !important;
  }
  .customer-booking #siteNavbar .booking-nav-dropdown {
    --booking-nav-gold: var(--accent-gold);
    background: rgba(4, 33, 29, .92);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 0;
    transition: none;
    overscroll-behavior: contain;
  }
  .customer-booking #siteNavbar .booking-nav-dropdown .navbar-nav {
    width: 100%;
    gap: .45rem;
    margin: 0 !important;
  }
  .customer-booking #siteNavbar .booking-nav-dropdown .booking-nav-section {
    padding: .25rem .9rem;
    color: var(--booking-nav-gold);
    font-size: .68rem;
    font-weight: 600;
    letter-spacing: .12em;
    line-height: 1.4;
    text-transform: uppercase;
  }
  .customer-booking #siteNavbar .booking-nav-dropdown .booking-nav-account-section {
    margin-top: .75rem;
  }
  .customer-booking #siteNavbar .booking-nav-dropdown .nav-link {
    display: flex;
    align-items: center;
    gap: .7rem;
    width: 100%;
    min-height: 2.75rem;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: #fff !important;
    text-align: left;
    text-decoration: none;
  }
  .customer-booking #siteNavbar .booking-nav-dropdown .booking-nav-icon {
    flex: 0 0 1.1rem;
    width: 1.1rem;
    color: var(--booking-nav-gold);
    font-size: 1rem;
    line-height: 1;
    text-align: center;
  }
  .customer-booking #siteNavbar .booking-nav-dropdown .nav-link::after {
    content: none;
    display: none;
  }
  .customer-booking #siteNavbar .booking-nav-dropdown .nav-link:hover,
  .customer-booking #siteNavbar .booking-nav-dropdown .nav-link.active {
    background: rgba(255, 255, 255, .12);
  }
  .customer-booking #siteNavbar .booking-nav-dropdown .nav-link:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 2px;
    background: rgba(255, 255, 255, .12);
  }
}

/* Shared customer-only notification and confirmation modal. */

.customer-notification-modal {
  --bs-modal-width: 440px;
  z-index: 1085;
}

.customer-notification-modal .modal-dialog {
  width: min(440px, calc(100vw - 2rem));
  margin-inline: auto;
}

.customer-notification-modal .modal-content {
  position: relative;
  align-items: center;
  padding: 2rem;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 22px 55px rgba(4, 33, 29, 0.24);
  color: #243b37;
  text-align: center;
}

.customer-notification-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
}

.customer-notification-icon {
  display: inline-flex;
  width: 58px;
  height: 58px;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  border-radius: 50%;
  background: var(--primary-light);
  color: var(--primary);
  font-size: 1.65rem;
}

.customer-notification-modal[data-notification-type="error"] .customer-notification-icon {
  background: #fde8e8;
  color: #b42318;
}

.customer-notification-modal[data-notification-type="warning"] .customer-notification-icon,
.customer-notification-modal[data-notification-type="confirmation"] .customer-notification-icon {
  background: #fff3cd;
  color: #a15c00;
}

.customer-notification-modal h2 {
  margin: 0 2rem 0.55rem;
  color: var(--primary-dark);
  font-size: 1.35rem;
  font-weight: 800;
}

.customer-notification-modal p {
  margin: 0;
  color: var(--text-sub);
  font-size: 0.95rem;
  line-height: 1.55;
  white-space: pre-line;
}

.customer-notification-modal[data-notification-type="info"] p,
.customer-notification-modal[data-notification-type="warning"] p,
.customer-notification-modal[data-notification-type="confirmation"] p {
  color: #111;
}

.customer-notification-actions {
  display: flex;
  width: 100%;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.customer-notification-primary,
.customer-notification-secondary {
  min-width: 120px;
  min-height: 44px;
  padding: 0.65rem 1.1rem;
  border-radius: 999px;
  font-weight: 700;
}

.customer-notification-primary {
  border: 1px solid var(--primary);
  background: var(--primary);
  color: #fff;
}

.customer-notification-primary:hover,
.customer-notification-primary:focus-visible {
  border-color: var(--primary-dark);
  background: var(--primary-dark);
}

.customer-notification-primary.is-destructive,
.customer-manage-cancel.is-destructive {
  border-color: #b42318;
  background: #b42318;
  color: #fff;
}

.customer-notification-primary.is-destructive:hover,
.customer-notification-primary.is-destructive:focus-visible,
.customer-manage-cancel.is-destructive:hover,
.customer-manage-cancel.is-destructive:focus-visible {
  border-color: #8f1d14;
  background: #8f1d14;
}

.customer-notification-primary.is-destructive:disabled,
.customer-notification-primary.is-destructive[aria-disabled="true"],
.customer-manage-cancel.is-destructive:disabled,
.customer-manage-cancel.is-destructive[aria-disabled="true"] {
  border-color: #b42318;
  background: #b42318;
  color: #fff;
  opacity: 0.65;
  cursor: not-allowed;
}

.customer-notification-secondary {
  border: 1px solid var(--border);
  background: #fff;
  color: var(--primary-dark);
}

.customer-notification-secondary:hover,
.customer-notification-secondary:focus-visible {
  border-color: var(--primary);
  background: var(--primary-light);
}

.booking-inline-error {
  margin: 0.75rem 0 0;
  color: #b42318;
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1.4;
}

@media (max-width: 575.98px) {
  .customer-notification-modal .modal-dialog {
    width: calc(100vw - 1rem);
    margin: 0.5rem;
  }
  .customer-notification-modal .modal-content {
    padding: 1.5rem 1rem;
    border-radius: 16px;
  }
  .customer-notification-actions {
    flex-direction: column-reverse;
  }
  .customer-notification-primary,
  .customer-notification-secondary {
    width: 100%;
  }
}

/* ── Hero section (navbar sits on top of this) ───────────
   Blurred forest photo, darkened well past --primary-dark,
   with the page title dropped in over it. Swap
   background-image on .hero-photo per page if desired. */

.site-hero {
  position: relative;
  overflow: hidden;
  min-height: 380px;
  display: flex;
  flex-direction: column;
  color: #fff;
}

.site-hero .hero-photo {
  position: absolute;
  inset: -20px;
  /* overscan so the blur never shows a hard edge */
  background-color: var(
    --hero-dark
  );
  /* fallback while forest-bg.jpg is added */
  background-image: var(--customer-hero-image);
  background-size: cover;
  background-position: center;
  filter: blur(6px) saturate(85%);
  transform: scale(1.08);
}

.site-hero .hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    var(--hero-overlay-top) 0%,
    var(--hero-overlay-bottom) 100%
  );
}

.site-hero .hero-inner {
  position: relative;
  z-index: 2;
  flex: 1;
  display: flex;
  align-items: flex-end;
  padding-bottom: 2.75rem;
}

.hero-eyebrow {
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--primary-light);
  margin-bottom: 0.5rem;
}

.hero-title {
  font-size: clamp(1.9rem, 4vw, 2.75rem);
  font-weight: 700;
  margin-bottom: 0.6rem;
}

.hero-text {
  max-width: 560px;
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.98rem;
  line-height: 1.5;
  min-height: 3em;
  /* reserves space for 2 lines so the title above
                       doesn't shift depending on text length */
}

@media (max-width: 767.98px) {
  .site-hero {
    min-height: 300px;
  }
  .navbar-transparent .logo-badge img {
    height: 50px;
  }
}

/* ── Shared content sections below the hero ─────────────── */

.page-section {
  background: var(--bg-main);
  padding: 3rem 0;
}

.page-section.alt {
  background: #ffffff;
}

.section-heading {
  font-weight: 700;
  color: #1a2e2e;
  margin-bottom: 0.35rem;
}

.section-subtext {
  color: var(--text-sub);
  font-size: 0.92rem;
  margin-bottom: 1.75rem;
  max-width: 640px;
}

/* Info card used for facilities / policy tiles */

.info-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.25rem;
  height: 100%;
  box-shadow: 0 2px 10px rgba(0, 80, 80, 0.06);
  transition:
    transform 0.2s,
    box-shadow 0.2s;
}

.info-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(0, 100, 100, 0.12);
}

.info-card .icon-badge {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  margin-bottom: 0.85rem;
}

.info-card h6 {
  font-weight: 700;
  color: #1a2e2e;
  margin-bottom: 0.35rem;
}

.info-card p {
  color: var(--text-sub);
  font-size: 0.85rem;
  line-height: 1.55;
  margin: 0;
}

/* Amenity card: compact text/image split at every supported width */

.amenity-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  height: 100%;
  min-height: 190px;
  display: flex;
  align-items: stretch;
  box-shadow: 0 2px 10px rgba(0, 80, 80, 0.06);
  transition:
    transform 0.2s,
    box-shadow 0.2s;
}

.amenity-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 24px rgba(0, 100, 100, 0.12);
}

.amenity-card .amenity-image {
  position: relative;
  flex: 1 1 57%;
  min-width: 0;
  overflow: hidden;
}

.amenity-card .amenity-image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.amenity-card .amenity-body {
  flex: 0 0 43%;
  min-width: 0;
  padding: 1rem 1.15rem 1.25rem;
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.amenity-card h6 {
  font-weight: 700;
  color: #1a2e2e;
  margin-bottom: 0.3rem;
}

.amenity-card p {
  color: var(--text-sub);
  font-size: 0.83rem;
  line-height: 1.55;
  margin: 0;
}

/* Carousel framing used on Facilities & Events pages */

.media-frame {
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0, 80, 80, 0.08);
}

.media-frame .carousel-item > img {
  width: 100%;
  height: 420px;
  object-fit: cover;
}

@media (max-width: 767.98px) {
  .media-frame .carousel-item > img {
    height: 260px;
  }
}

.media-frame .carousel-caption {
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.55));
  border-radius: 0 0 16px 16px;
}

/* Events keep each text/photo pair inside its own Facilities-inspired card,
   while the carousel indicators occupy a separate row below that card. */

.event-media-frame {
  max-width: 100%;
}

.event-media-frame .carousel {
  padding-bottom: 2.25rem;
}

.event-media-frame .carousel-indicators {
  bottom: -0.25rem;
}

.event-media-frame .carousel-indicators button {
  background-color: var(--primary);
}

.event-card {
  min-height: calc(420px + 3rem);
  display: flex;
  align-items: stretch;
  gap: 1.5rem;
  padding: 1.5rem;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0, 80, 80, 0.08);
}

.event-card .event-body {
  flex: 0 0 40%;
  min-width: 0;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.event-card .event-body h6 {
  color: #1a2e2e;
  font-weight: 700;
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  line-height: 1.25;
  margin-bottom: 0.65rem;
}

.event-card .event-body p {
  color: var(--text-sub);
  line-height: 1.55;
  margin: 0;
}

.event-card .event-image {
  position: relative;
  flex: 1 1 60%;
  min-width: 0;
  overflow: hidden;
  border-radius: 12px;
}

.event-card .event-image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ══════════════════════════════════════════════════════════
   Booking page (web_booking.php)
   ══════════════════════════════════════════════════════════ */

/* ── Main layout ─────────────────────────── */

.booking-wrap {
  background: var(--bg-main);
  padding: 1.5rem 1rem 2.5rem;
}

/* ── Booking form: natural flow on tablet/mobile ── */

.left-panel {
  max-height: none;
  overflow-y: visible;
}

/* Match Bootstrap's `lg` breakpoint used by the booking columns. Once the
   form and summary sit side by side, restore the intentional room-panel
   scrolling without creating another body/root scroll context. */

@media (min-width: 992px) {
  .left-panel {
    max-height: 80vh;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: #aac9c8 transparent;
  }
  .left-panel::-webkit-scrollbar {
    width: 4px;
  }
  .left-panel::-webkit-scrollbar-thumb {
    background: #aac9c8;
    border-radius: 10px;
  }
  .customer-booking .right-panel {
    height: auto;
    justify-content: flex-start;
  }
}

/* ── Section cards ───────────────────────── */

.section-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.2rem;
  margin-bottom: 0.75rem;
  box-shadow: 0 2px 8px rgba(0, 100, 100, 0.06);
}

.section-card h5 {
  font-weight: 700;
  font-size: 1rem;
  color: #1a2e2e;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
}

.section-card h5 i {
  font-size: 1rem;
  color: var(--primary) !important;
}

.customer-booking {
  --booking-error: #b42318;
}

.customer-booking .stay-details-error {
  display: block;
  margin-top: 0.3rem;
  color: var(--booking-error);
  font-size: 0.75rem;
  line-height: 1.3;
}

.customer-booking .stay-details-error[hidden] {
  display: none;
}

.customer-booking .form-control.stay-details-invalid,
.customer-booking .form-select.stay-details-invalid,
.customer-booking .form-control.stay-details-invalid:focus,
.customer-booking .form-select.stay-details-invalid:focus {
  border-color: var(--booking-error);
  box-shadow: 0 0 0 2px rgba(180, 35, 24, 0.12);
}

/* ── Inputs ──────────────────────────────── */

.form-control,
.form-select {
  border: 1px solid var(--border);
  border-radius: 8px;
  box-shadow: inset 0 1px 3px rgba(0, 100, 100, 0.1);
  background-color: rgba(255, 255, 255, 0.8);
  font-size: 0.95rem;
  padding: 0.68rem 0.72rem;
  color: #444;
}

.form-control-sm,
.form-select-sm {
  font-size: 0.95rem;
  padding: 0.68rem 0.72rem;
  border-radius: 8px;
}

:is(input, select, textarea):is(.search-input, .form-control, .form-select, .otp-box, .booking-change-control):focus:where(:not(:disabled, [readonly], .is-invalid, .is-valid, .is-invalid-custom, .is-valid-custom, .stay-details-invalid, [aria-invalid="true"])) {
  border-color: var(--field-focus-border);
  box-shadow: var(--field-focus-shadow);
  outline: 2px solid transparent;
  outline-offset: 2px;
}

.form-label {
  font-size: 0.92rem;
  color: var(--text-sub);
  font-weight: 600;
  margin-bottom: 4px;
}

/* Stay Type / Check-in / Check-out: narrower so all three stay
   side-by-side, but tall (kept via generous vertical padding). */

#staytpe,
#checkin,
#checkout {
  height: 42px;
  font-size: 0.95rem;
  line-height: 40px;
  padding: 0 0.6rem;
}

/* ── Stepper ─────────────────────────────── */

.stepper {
  display: flex;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
}

.stepper button {
  width: 37px;
  height: 42px;
  background: var(--primary);
  border: none;
  border-right: 1px solid rgba(255, 255, 255, 0.3);
  color: #fff;
  font-size: 0.95rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  padding: 0;
  transition: background 0.15s;
}

.stepper button:last-child {
  border-right: none;
  border-left: 1px solid rgba(255, 255, 255, 0.3);
}

.stepper button:hover {
  background: var(--primary-dark);
}

.stepper span {
  flex: 1;
  text-align: center;
  font-size: 0.95rem;
  color: #444;
  background: #fff;
}

/* ── Accommodation cards ─────────────────── */

.group-booking-tip {
  display: flex;
  width: 100%;
  align-items: flex-start;
  gap: var(--space-sm, 0.75rem);
  margin-bottom: var(--space-md, 1rem);
  padding: var(--space-sm, 0.75rem) var(--space-md, 1rem);
  border: 1px solid #f2b66d;
  border-radius: var(--radius-btn, 10px);
  background: #fff3df;
  color: #8a4708;
  font-size: 0.86rem;
  line-height: 1.45;
}

.group-booking-tip[hidden] {
  display: none;
}

.acc-card {
  border-radius: 14px;
  border: 1.5px solid transparent;
  overflow: hidden;
  transition:
    transform 0.25s,
    box-shadow 0.25s,
    border-color 0.2s;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  height: 100%;
  box-shadow: 0 2px 10px rgba(0, 80, 80, 0.08);
  position: relative;
}

.acc-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 28px rgba(0, 100, 100, 0.14);
}

.acc-card.selected {
  border: 2px solid var(--primary);
  transform: translateY(-3px);
  box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.18);
}

.acc-card.booked,
.acc-card.booked-room {
  opacity: 0.55;
  position: relative;
}

.acc-card .card-img-top {
  width: 100%;
  height: 155px;
  object-fit: cover;
  transition: transform 0.35s;
  display: block;
}

.acc-card:hover .card-img-top {
  transform: scale(1.04);
}

.acc-card .img-wrap {
  overflow: hidden;
  position: relative;
}

.acc-card .badge-booked,
.acc-card .badge-selected {
  position: absolute;
  top: 10px;
  left: 10px;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 20px;
}

.acc-card .badge-selected {
  background: var(--primary-dark);
}

.customer-booking .acc-card .check-indicator {
  display: none;
}

.acc-card .thumb-strip {
  display: flex;
  gap: 4px;
  padding: 3px 0;
  background: #fff;
}

.acc-card .thumb-strip img {
  width: 42px;
  height: 34px;
  border-radius: 6px;
  object-fit: cover;
  border: 1.5px solid #d4eeec;
}

.acc-card .card-body {
  padding: 10px 13px 13px;
  display: flex;
  flex-direction: column;
  gap: 3px;
  flex: 1;
}

.customer-booking .room-wrapper > .acc-card {
  flex: 1;
  height: auto;
}

.customer-booking .room-wrapper .acc-card .img-wrap {
  flex-shrink: 0;
}

.customer-booking .room-wrapper .acc-card .card-text {
  display: block;
  overflow: visible;
  overflow-wrap: anywhere;
  -webkit-line-clamp: unset;
}

.acc-card .card-title {
  min-height: 2.5em;
  line-height: 1.25;
  font-size: 0.9rem;
  font-weight: 700;
  color: #1a2e2e;
  margin: 0;
}

.acc-card .card-price {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--primary);
  margin: 0;
}

.acc-card .card-text {
  font-size: 0.75rem;
  color: var(--text-sub);
  line-height: 1.5;
  flex: 1;
  margin-top: 2px;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: var(--primary-light);
  color: #0a6e64;
  border-radius: 20px;
  padding: 3px 9px;
  font-size: 0.68rem;
  font-weight: 500;
  border: 1px solid #c2e4e0;
}

.chip i {
  font-size: 0.7rem;
}

.acc-card .btn-select {
  margin-top: auto;
  min-height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: var(--radius-btn, 10px);
  font-size: var(--fs-base, 1rem);
  font-weight: var(--fw-semibold, 600);
  line-height: 1.2;
  padding: 12px 16px;
  width: 100%;
  box-shadow: 0 3px 8px rgba(14, 74, 64, 0.16);
  transition:
    background var(--transition-fast, 0.2s ease),
    box-shadow var(--transition-fast, 0.2s ease),
    transform var(--transition-fast, 0.2s ease);
}

@media (hover: hover) {
  .acc-card .btn-select:hover:not(:disabled) {
    background: var(--primary-dark);
    box-shadow: 0 5px 12px rgba(14, 74, 64, 0.2);
    transform: translateY(-1px);
  }
}

.acc-card .btn-select:active:not(:disabled) {
  background: var(--primary-dark);
  box-shadow: 0 2px 5px rgba(14, 74, 64, 0.14);
  transform: translateY(0);
}

.acc-card .btn-select:disabled {
  background: #c5d8d8;
  color: #8aabab;
  cursor: not-allowed;
  box-shadow: none;
  transform: none;
}

/* check icon default (hidden) */

.check-indicator {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 32px;
  height: 32px;
  background: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 18px;
  opacity: 0;
  transform: scale(0.6);
  transition: 0.2s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  pointer-events: none;
}

.acc-card.selected .check-indicator {
  opacity: 1;
  transform: scale(1);
}

/* ── Right panel ─────────────────────────── */

.right-panel {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  height: 100%;
}

/* ── Booking summary rows ────────────────── */

.booking-summary-rows {
  display: flex;
  flex-direction: column;
}

.customer-booking #conbook:disabled {
  opacity: .65;
  cursor: not-allowed;
  transform: none;
}

.customer-booking #conbook:focus-visible {
  outline: 2px solid var(--primary-dark);
  outline-offset: 3px;
}

.booking-summary .sum-row {
  display: flex;
  padding: 0.7rem 0;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  border-bottom: 1px solid var(--border);
  font-size: 0.95rem;
  font-weight: 700;
}

.booking-summary .sum-row > span:first-child {
  color: var(--text-sub);
}

.booking-summary .sum-row strong {
  min-width: 85px;
  /* forces same width */
  text-align: right;
  /* aligns numbers */
  font-variant-numeric: tabular-nums;
  /* equal spacing digits */
}

.booking-summary .sum-row.total {
  font-size: 1.15rem;
  padding: 0.9rem 0 0.35rem;
  font-weight: 700;
  color: var(--primary);
  border-bottom: 0;
}

@media (min-width: 992px) {
  .customer-booking .booking-summary {
    padding-block: 1rem;
  }
  .customer-booking .booking-summary h5 {
    margin-bottom: 0.65rem;
  }
  .customer-booking .booking-summary .sum-row {
    padding-block: 0.48rem;
  }
  .customer-booking .booking-summary .sum-row.total {
    padding-block: 0.65rem 0.25rem;
  }
}

#payopt,
#payamt {
  height: 42px;
  line-height: 40px;
  padding: 0 0.9rem;
}

/* ── Mode of payment buttons ─────────────── */

/* ── Confirm button ──────────────────────── */

#conbook {
  background: var(--primary);
  border: none;
  border-radius: 10px;
  font-size: 1.2rem;
  font-weight: 700;
  color: #fff;
  width: 100%;
  padding: 17px;
  transition:
    background 0.2s,
    transform 0.15s;
  margin: 0;
}

#conbook:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
}

/* ── Back button ─────────────────────────── */

.btn-back {
  background: var(--primary);
  border: none;
  border-radius: 8px;
  color: #fff;
  font-size: 0.88rem;
  font-weight: 600;
  padding: 8px 24px;
  cursor: pointer;
  transition: background 0.2s;
}

.btn-back:hover {
  background: var(--primary-dark);
}

hr {
  border: none;
  height: 1px;
  background: #ddd;
  margin: 20px 0;
}

.booking-payment-notice {
  margin: 0 0 0.75rem;
  padding: 0.65rem 0.8rem;
  border: 1px solid #e5b65d;
  border-radius: var(--radius-btn, 10px);
  background: #fff8e9;
  color: #59452c;
  font-size: 0.8125rem;
  line-height: 1.5;
}

.booking-payment-notice strong {
  display: block;
  color: #8a5a17;
  margin-bottom: 0.2rem;
}

/* Shared photo viewer used by every original and recommended room card. */

.room-gallery-dialog {
  width: min(1080px, calc(100vw - 32px));
  max-width: 1080px;
}

.room-gallery-modal .modal-header {
  padding: 1rem 1.25rem 0.85rem;
  background: #fff;
  color: #17231f;
  border-bottom: 0;
}

.room-gallery-modal .modal-title {
  color: #17231f;
  font-weight: 700;
}

.room-gallery-modal .btn-close {
  filter: none;
}

.room-gallery-modal .modal-body {
  max-height: calc(100vh - 100px);
  padding: 0;
  overflow-y: auto;
}

.room-gallery-layout {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(150px, 1fr);
  gap: 10px;
  align-items: stretch;
  min-height: 380px;
  padding: 10px;
  overflow: hidden;
  background: #f5f7f6;
}

.room-gallery-layout.has-single-image {
  grid-template-columns: minmax(0, 1fr);
}

.room-gallery-extras-wrap[hidden] {
  display: none;
}

.room-gallery-stage {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  min-height: 332px;
  padding: 0;
  overflow: hidden;
  border-radius: 10px;
  background: #e9eeec;
}

.room-gallery-main {
  display: flex;
  width: 100%;
  height: 100%;
  max-width: 100%;
  padding: 0;
  border: 0;
  border-radius: 9px;
  background: transparent;
  cursor: zoom-in;
}

.room-gallery-main:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 4px;
}

.room-gallery-main img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 53vh;
  aspect-ratio: 4 / 3;
  border-radius: 9px;
  object-fit: cover;
  box-shadow: 0 6px 18px rgba(16, 45, 37, 0.14);
}

.room-gallery-extras-wrap {
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: center;
}

.room-gallery-thumbs {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  align-content: center;
}

.room-gallery-thumbs[data-extra-count="2"],
.room-gallery-thumbs[data-extra-count="3"] {
  height: 100%;
}

.room-gallery-thumbs[data-extra-count="2"] {
  grid-template-rows: repeat(2, minmax(0, 1fr));
}

.room-gallery-thumbs[data-extra-count="3"] {
  grid-template-rows: repeat(3, minmax(0, 1fr));
}

.room-gallery-thumb {
  width: 100%;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12);
  cursor: pointer;
  overflow: hidden;
  transition: border-color 0.18s, transform 0.18s;
}

.room-gallery-thumb:hover,
.room-gallery-thumb:focus-visible {
  border-color: var(--primary);
  transform: translateY(-1px);
  outline: none;
}

.room-gallery-thumb img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.room-gallery-thumbs[data-extra-count="2"] .room-gallery-thumb img,
.room-gallery-thumbs[data-extra-count="3"] .room-gallery-thumb img {
  height: 100%;
  aspect-ratio: auto;
}

.room-gallery-information {
  padding: 14px 20px 18px;
  background: #fff;
}

.room-gallery-information-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.room-gallery-capsules {
  display: flex;
  min-width: 0;
  flex-wrap: wrap;
  gap: 8px;
}

.room-gallery-capsules .chip {
  margin: 0;
  white-space: nowrap;
}

.room-gallery-information-divider {
  flex: 0 0 auto;
  color: var(--border);
  font-size: 1.6rem;
  font-weight: 300;
  line-height: 1;
}

.room-gallery-price {
  flex: 0 0 auto;
  margin: 0;
  color: var(--primary);
  font-size: 1.1rem;
  font-weight: 700;
  white-space: nowrap;
}

@media (min-width: 992px) {
  .room-gallery-dialog {
    width: min(918px, calc(100vw - 64px));
    max-width: 918px;
  }
  .room-gallery-layout {
    min-height: 323px;
  }
  .room-gallery-stage {
    min-height: 282px;
  }
  .room-gallery-main img {
    max-height: 45vh;
  }
  .room-gallery-price {
    font-size: var(--fs-lg, 1.25rem);
  }
}

.room-gallery-description {
  padding-top: 14px;
  border-top: 1px solid var(--border);
}

.room-gallery-description h6 {
  margin-bottom: 6px;
  color: #17231f;
  font-weight: 700;
}

.room-gallery-description p {
  margin: 0;
  color: var(--text-sub);
  line-height: 1.6;
}

.room-photo-lightbox[hidden] {
  display: none;
}

.room-photo-lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: grid;
  place-items: center;
  padding: 24px;
}

.room-photo-lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.88);
}

.room-photo-lightbox-content {
  position: relative;
  z-index: 1;
  display: flex;
  max-width: min(1200px, 94vw);
  max-height: 92vh;
  align-items: center;
  justify-content: center;
}

.room-photo-lightbox-content img {
  display: block;
  max-width: 100%;
  max-height: 92vh;
  width: auto;
  height: auto;
  object-fit: contain;
}

.room-photo-lightbox-close {
  position: absolute;
  z-index: 2;
  top: 10px;
  right: 10px;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.72);
  color: #fff;
  font-size: 1.1rem;
}

.room-photo-lightbox-close:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 2px;
}

body.room-lightbox-open {
  overflow: hidden;
}

.customer-viewable-image {
  cursor: zoom-in;
}

.customer-viewable-image:focus-visible {
  outline: 3px solid var(--primary);
  outline-offset: -3px;
}

@media (max-width: 767.98px) {
  .room-gallery-layout {
    grid-template-columns: 1fr;
    min-height: 0;
    gap: 12px;
    padding: 8px;
  }
  .room-gallery-stage {
    min-height: 240px;
    padding: 14px;
  }
  .room-gallery-thumbs {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-template-rows: none !important;
    height: auto !important;
  }
  .room-gallery-thumbs[data-extra-count] .room-gallery-thumb img {
    height: auto;
    aspect-ratio: 4 / 3;
  }
  .room-gallery-information {
    padding: 14px 16px 18px;
  }
  .room-gallery-information-row {
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 8px;
  }
  .room-gallery-information-divider {
    align-self: center;
  }
  .room-photo-lightbox {
    padding: 12px;
  }
}

/* Customer account modal and navbar account controls. */

#siteNavbar .customer-login-btn {
  min-height: 42px;
  padding: 0.55rem 1.15rem;
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font-weight: 700;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

#siteNavbar .customer-login-btn:hover,
#siteNavbar .customer-login-btn:focus-visible {
  background: #fff;
  color: var(--primary-dark);
  transform: translateY(-1px);
}

#siteNavbar .customer-avatar-trigger {
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
}

#siteNavbar .profile-avatar,
.customer-profile-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #fff;
  color: var(--primary-dark);
  font-weight: 800;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.16);
}

#siteNavbar .customer-avatar-trigger:focus-visible {
  outline: 3px solid rgba(255, 255, 255, 0.75);
  outline-offset: 3px;
}

.customer-account-modal {
  --bs-modal-width: 920px;
  color: #243b37;
}

.customer-account-modal .modal-dialog {
  width: min(920px, calc(100vw - 2rem));
  max-width: 920px;
}

.customer-account-modal.is-managing .modal-dialog {
  width: min(1080px, calc(100vw - 2rem));
  max-width: 1080px;
}

.customer-account-modal.is-managing .customer-account-tabs {
  display: none;
}

.customer-account-modal.is-managing .customer-account-header {
  padding-bottom: 0.9rem;
}

.customer-manage-modal-title {
  margin: 0;
  color: var(--primary-dark);
  font-size: 1.3rem;
  font-weight: 750;
}

.customer-manage-modal-title[hidden] {
  display: none;
}

.customer-account-modal .modal-content {
  max-height: calc(100dvh - 2rem);
  overflow: hidden;
  border: 1px solid rgba(199, 221, 211, 0.9);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 24px 70px rgba(4, 33, 29, 0.28);
}

.customer-account-header {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 1.4rem 0;
  border-bottom: 1px solid var(--border);
}

.customer-account-tabs {
  display: flex;
  gap: 1.5rem;
}

.customer-account-tab {
  position: relative;
  padding: 0.8rem 0 0.95rem;
  border: 0;
  background: transparent;
  color: var(--text-sub);
  font-size: 1rem;
  font-weight: 700;
}

.customer-account-tab::after {
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 3px;
  border-radius: 3px 3px 0 0;
  background: transparent;
  content: "";
}

.customer-account-tab:hover,
.customer-account-tab:focus-visible,
.customer-account-tab.active {
  color: var(--primary-dark);
}

.customer-account-tab.active::after {
  background: var(--primary);
}

.customer-account-modal .modal-body {
  min-height: 0;
  padding: 1.5rem;
  overflow-x: hidden;
  overflow-y: auto;
}

.customer-account-modal.is-managing .modal-body {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.customer-account-modal.is-managing #customerAccountBookings {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  min-height: 0;
}

.customer-account-modal.is-managing #customerManageBooking:not([hidden]) {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  min-height: 0;
}

.customer-manage-actions,
.customer-manage-workspace > section,
.customer-manage-summary {
  border: 1px solid var(--border);
  border-radius: 16px;
  background: #fff;
}

.customer-manage-layout {
  display: grid;
  flex: 1 1 auto;
  min-height: 0;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 0.42fr);
  gap: 1rem;
}

.customer-manage-workspace {
  min-width: 0;
  min-height: 0;
  display: grid;
  align-content: start;
  gap: 0.65rem;
  overflow-y: auto;
  overscroll-behavior: contain;
}

.customer-manage-workspace > section,
.customer-manage-actions {
  padding: 0.85rem;
}

.customer-manage-workspace h4 {
  font-size: 1rem;
  font-weight: 750;
  color: var(--primary-dark);
}

.customer-manage-workspace p {
  margin: 0 0 0.5rem;
  color: var(--text-sub);
}

.customer-manage-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.7rem;
}

.customer-manage-fields label {
  display: grid;
  gap: 0.35rem;
  color: var(--text-sub);
  font-weight: 600;
}

.customer-manage-fields input {
  min-width: 0;
  width: 100%;
  min-height: 42px;
  padding: 0.55rem 0.7rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-btn, 10px);
  background: #fff;
  color: #243b37;
}

#customerManageRooms {
  display: grid;
  gap: 0.5rem;
  margin-bottom: 0.65rem;
}

.customer-manage-guests {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-bottom: 0.65rem;
}

.customer-manage-guest {
  min-width: 0;
  color: var(--text-sub);
  font-size: 0.82rem;
  font-weight: 650;
}

.customer-manage-guest .form-label {
  display: block;
  margin-bottom: 4px;
}

.customer-manage-guest .stepper {
  width: 100%;
}

.customer-manage-room-options {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 0.45rem;
  margin-top: 0.4rem;
}

.customer-manage-room-option {
  display: inline-flex;
  align-items: stretch;
  max-width: 100%;
  min-width: 0;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: #fff;
  overflow: hidden;
}

.customer-manage-room-option:has([data-room-choice][aria-pressed="true"]) {
  border-color: var(--primary);
  background: var(--primary-light);
  box-shadow: inset 0 0 0 1px var(--primary);
}

.customer-manage-room-option button {
  min-height: 38px;
  border: 0;
  background: transparent;
  color: var(--primary-dark);
  font-weight: 650;
}

.customer-manage-room-option [data-room-choice] {
  min-width: 0;
  max-width: 100%;
  text-align: left;
  padding: 0.4rem 0.4rem 0.4rem 0.75rem;
  overflow-wrap: anywhere;
}

.customer-manage-room-option [data-room-choice][aria-pressed="true"] {
  font-weight: 750;
}

.customer-manage-room-option [data-room-choice][aria-pressed="true"]::before {
  content: "✓ ";
}

.customer-manage-room-option [data-room-choice]:disabled {
  opacity: 0.5;
}

.customer-manage-room-more {
  flex: 0 0 36px;
  font-size: 1.3rem;
  padding: 0 0.45rem;
}

.customer-manage-room-option button:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: -3px;
}

.customer-manage-room-info {
  position: fixed;
  inset: 0;
  width: min(560px, calc(100vw - 1.5rem));
  max-width: none;
  max-height: min(82dvh, 720px);
  margin: auto;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 20px 60px rgba(4, 33, 29, 0.28);
  color: #243b37;
  overflow-y: auto;
}

.customer-manage-room-info::backdrop {
  background: rgba(4, 33, 29, 0.62);
}

.customer-manage-room-dialog-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--border);
}

.customer-manage-room-dialog-header h5 {
  margin: 0;
  color: var(--primary-dark);
}

.customer-manage-room-dialog-header button {
  width: 2rem;
  height: 2rem;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--primary-dark);
  font-size: 1.5rem;
}

.customer-manage-room-dialog-body {
  padding: 1rem;
}

.customer-manage-room-info img {
  display: block;
  width: 100%;
  max-height: 300px;
  object-fit: cover;
  border-radius: 10px;
}

#customerManageRoomImage {
  height: auto;
  aspect-ratio: 4 / 3;
}

.customer-manage-room-thumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0.5rem 0;
}

.customer-manage-room-thumbs[hidden] {
  display: none;
}

.customer-manage-room-thumbs button {
  width: 58px;
  height: 48px;
  padding: 2px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #fff;
}

.customer-manage-room-thumbs button[aria-pressed="true"] {
  border-color: var(--primary);
  box-shadow: inset 0 0 0 1px var(--primary);
}

.customer-manage-room-thumbs img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 5px;
}

.customer-manage-actions {
  display: grid;
  align-content: start;
  align-self: start;
  gap: 0.7rem;
  min-width: 0;
}

.customer-manage-actions > button {
  min-height: 44px;
  border-radius: var(--radius-btn, 10px);
  font-weight: 700;
}

.customer-manage-actions [data-manage-toggle] {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.65rem 0.9rem;
  border: 1px solid var(--border);
  background: var(--primary-light);
  color: var(--primary-dark);
}

.customer-manage-summary {
  padding: 0.85rem;
  overflow-wrap: anywhere;
  font-size: 0.9rem;
}

.customer-manage-summary h5 {
  margin: 0 0 0.35rem;
  color: var(--primary-dark);
  font-size: 1rem;
  font-weight: 750;
}

.customer-manage-summary .sum-row {
  padding-block: 0.38rem;
  font-size: 0.88rem;
}

.customer-manage-summary .sum-row strong {
  min-width: 0;
}

.customer-manage-summary .sum-row {
  border-bottom: 0;
}

.customer-manage-summary .sum-row.is-current {
  border-top: 1px solid var(--border);
  padding-top: 0.55rem;
  margin-top: 0.65rem;
}

.customer-manage-summary .sum-row.total {
  padding-block: 0.5rem 0.35rem;
  font-size: 1rem;
}

.customer-manage-preview-note {
  margin: 0.45rem 0 0;
  color: var(--text-sub);
  font-size: 0.78rem;
  line-height: 1.4;
}

.customer-manage-apply {
  border: 0;
  background: var(--primary);
  color: #fff;
}

.customer-manage-apply:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.customer-manage-cancel {
  border: 1px solid #e4b3ad;
  background: #fff;
  color: #ab3a2d;
}

@media (min-width: 992px) {
  .customer-manage-layout {
    grid-template-rows: minmax(0, 1fr);
  }
  .customer-manage-actions {
    align-self: stretch;
    min-height: 0;
    max-height: 100%;
    overflow-y: auto;
    overflow-x: hidden;
    overscroll-behavior: contain;
    grid-auto-rows: max-content;
    padding-right: 0.95rem;
    scrollbar-width: thin;
    scrollbar-color: var(--border) transparent;
  }
}

.customer-manage-modal-title {
  min-width: 0;
  overflow-wrap: anywhere;
}

.customer-manage-invoice {
  font-size: 0.8em;
  font-weight: 500;
}

@media (max-width: 991.98px) {
  .customer-account-modal.is-managing .modal-body {
    display: block;
    overflow-x: hidden;
    overflow-y: auto;
  }
  .customer-account-modal.is-managing #customerAccountBookings,
  .customer-account-modal.is-managing #customerManageBooking:not([hidden]) {
    display: block;
  }
  .customer-manage-layout {
    grid-template-columns: minmax(0, 1fr);
  }
  .customer-manage-workspace {
    overflow: visible;
  }
  .customer-manage-actions {
    grid-row: 1;
  }
}

@media (max-width: 767.98px) {
  .customer-manage-fields {
    grid-template-columns: minmax(0, 1fr);
  }
  .customer-manage-guests {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.customer-account-panel {
  min-height: 300px;
}

.customer-profile-hero {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  color: #fff;
}

.customer-profile-avatar {
  width: 76px;
  height: 76px;
  flex: 0 0 76px;
  font-size: 1.8rem;
}

.customer-profile-hero h3 {
  margin: 0 0 0.25rem;
  font-size: 1.35rem;
  font-weight: 800;
}

.customer-profile-hero p {
  margin: 0;
  color: rgba(255,255,255,0.78);
}

.customer-profile-details,
.customer-booking-detail-list {
  display: grid;
  gap: 0;
  margin: 1.25rem 0 0;
}

.customer-profile-details > div,
.customer-booking-detail-list > div {
  display: grid;
  grid-template-columns: minmax(9rem, 0.35fr) minmax(0, 1fr);
  gap: 1rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid #e7f0ec;
}

.customer-profile-details dt,
.customer-booking-detail-list dt {
  color: var(--text-sub);
  font-weight: 600;
}

.customer-profile-details dd,
.customer-booking-detail-list dd {
  margin: 0;
  overflow-wrap: anywhere;
  color: #1d312d;
  font-weight: 600;
}

.customer-account-logout {
  display: flex;
  justify-content: flex-end;
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}

.customer-account-logout button {
  padding: 0.65rem 1.1rem;
  border: 1px solid #efb8b8;
  border-radius: var(--radius-btn, 10px);
  background: transparent;
  color: #b42318;
  font: inherit;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}

.customer-bookings-list {
  display: grid;
  gap: 0.85rem;
}

.customer-bookings-list.has-scroll {
  max-height: min(31rem, calc(100dvh - 12rem));
  padding-right: 0.35rem;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
}

.customer-booking-card {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.1rem;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: #fff;
  color: inherit;
  text-align: left;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.customer-booking-card:hover,
.customer-booking-card:focus-visible {
  border-color: var(--primary);
  background: #f5fbf8;
  transform: translateY(-1px);
}

.customer-booking-main,
.customer-booking-meta {
  display: grid;
  gap: 0.25rem;
}

.customer-booking-main > span {
  color: var(--text-sub);
}

.customer-booking-meta {
  justify-items: end;
  text-align: right;
}

.customer-booking-status {
  display: inline-flex;
  width: fit-content;
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
  background: #eef2f1;
  color: #4b625d;
  font-size: 0.75rem;
  font-weight: 700;
}

.customer-booking-status.status-confirmed {
  background: #e2f3ec;
  color: #0e6b58;
}

.customer-booking-status.status-cancellation_pending {
  background: #fff3cd;
  color: #8a6800;
}

.customer-booking-status.status-checked_in {
  background: #dbeafe;
  color: #1e40af;
}

.customer-booking-status.status-checked_out {
  background: #e9ecef;
  color: #495057;
}

.customer-booking-status.status-cancelled {
  background: #fde8e8;
  color: #b42318;
}

.customer-account-empty {
  padding: 3rem 1rem;
  color: var(--text-sub);
  text-align: center;
}

.customer-booking-detail-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
}

.customer-booking-detail-heading h3 {
  margin: 0;
  color: var(--primary-dark);
  font-size: 1.25rem;
}

.customer-booking-details-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  margin-top: 1.25rem;
}

.customer-booking-details-grid > section {
  min-width: 0;
  padding-right: 1.5rem;
}

.customer-booking-details-grid > section + section {
  padding-right: 0;
  padding-left: 1.5rem;
  border-left: 1px solid var(--border);
}

.customer-booking-details-grid h4 {
  margin: 0 0 0.65rem;
  color: var(--primary-dark);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.customer-booking-details-grid .customer-booking-detail-list {
  margin-top: 0;
}

.customer-cancellation-note {
  margin: 1rem 0 0;
  padding: 0.75rem 0.9rem;
  border-radius: 12px;
  background: #fff8dc;
  color: #765d00;
}

.customer-booking-detail-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 1.25rem;
}

.customer-manage-booking-trigger {
  padding: 0.75rem 1.15rem;
  border: 1px solid var(--primary);
  border-radius: 999px;
  background: #fff;
  color: var(--primary-dark);
  font-weight: 700;
}

.customer-manage-booking-trigger:hover {
  background: var(--primary);
  color: #fff;
}

@media (max-width: 767.98px) {
  #siteNavbar .customer-login-btn {
    min-height: 38px;
    padding: 0.45rem 0.9rem;
  }
  .customer-account-modal .modal-dialog {
    width: calc(100vw - 1rem);
    margin: 0.5rem;
  }
  .customer-account-modal.is-managing .modal-dialog {
    width: calc(100vw - 1rem);
  }
  .customer-account-modal .modal-content {
    max-height: calc(100dvh - 1rem);
    border-radius: 16px;
  }
  .customer-account-header {
    padding-inline: 1rem;
  }
  .customer-account-modal .modal-body {
    padding: 1rem;
  }
  .customer-profile-hero {
    align-items: flex-start;
    padding: 1rem;
  }
  .customer-profile-avatar {
    width: 60px;
    height: 60px;
    flex-basis: 60px;
    font-size: 1.4rem;
  }
  .customer-profile-details > div,
  .customer-booking-detail-list > div {
    grid-template-columns: 1fr;
    gap: 0.2rem;
  }
  .customer-booking-card {
    align-items: flex-start;
    flex-direction: column;
  }
  .customer-bookings-list.has-scroll {
    max-height: min(28rem, calc(100dvh - 11rem));
  }
  .customer-booking-meta {
    width: 100%;
    grid-template-columns: 1fr auto;
    align-items: center;
    justify-items: start;
    text-align: left;
  }
  .customer-booking-meta .customer-booking-status {
    justify-self: end;
  }
  .customer-booking-details-grid {
    grid-template-columns: 1fr;
  }
  .customer-booking-details-grid > section {
    padding-right: 0;
  }
  .customer-booking-details-grid > section + section {
    margin-top: 1.25rem;
    padding-top: 1.25rem;
    padding-left: 0;
    border-top: 1px solid var(--border);
    border-left: 0;
  }
}

/* ══════════════════════════════════════════════════════════
   Customer responsive refinement
   ══════════════════════════════════════════════════════════ */

/* Tablet: use the collapsed navigation and a deliberate middle-density
   layout rather than retaining desktop spacing in a narrower viewport. */

@media (min-width: 768px) and (max-width: 991.98px) {
  #siteNavbar {
    padding: 1rem 0 !important;
  }
  #siteNavbar .nav-shell {
    padding-inline: 2rem;
  }
  #siteNavbar .logo-badge img {
    height: 46px !important;
  }
  #siteNavbar .profile-btn-outline,
  #siteNavbar .profile-avatar {
    width: 46px !important;
    height: 46px !important;
  }
  .site-hero {
    min-height: 340px;
  }
  .site-hero .hero-inner {
    padding-bottom: 2.25rem;
  }
  .page-section {
    padding: 2.5rem 0;
  }
  .media-frame .carousel-item > img {
    height: 340px;
  }
  .event-card {
    min-height: 250px;
    gap: 1.25rem;
    padding: 1.25rem;
  }
  .event-card .event-body {
    flex-basis: 44%;
    padding: 0.75rem;
  }
  .booking-wrap {
    padding: 1.25rem 1.25rem 2rem;
  }
  .right-panel {
    margin-top: 0.25rem;
  }
}

/* Landing cards use a wider tablet range than the site's Bootstrap layout.
   This keeps large portrait tablets out of the oversized desktop treatment. */

@media (min-width: 768px) and (max-width: 1199.98px) {
  .customer-landing #facilities-services .media-frame {
    width: 100%;
    max-width: 900px;
    margin-inline: auto;
  }
  .customer-landing #facilities-services .media-frame > .row {
    flex-wrap: nowrap;
  }
  .customer-landing #facilities-services .media-frame > .row > .col-lg-4 {
    flex: 0 0 40%;
    width: 40%;
  }
  .customer-landing #facilities-services .media-frame > .row > .col-lg-8 {
    flex: 0 0 60%;
    width: 60%;
  }
  .customer-landing #facilities-services .media-frame .carousel-item > img {
    height: 280px;
  }
  .customer-landing .amenities-desktop-grid {
    display: none;
  }
  .customer-landing .amenities-mobile-carousel {
    display: block;
    width: 100%;
    max-width: 840px;
    margin-inline: auto;
    padding-bottom: 2.25rem;
    overflow: hidden;
    border-radius: 14px;
  }
  .customer-landing .amenities-mobile-carousel .carousel-indicators {
    bottom: -0.25rem;
  }
  .customer-landing .amenities-mobile-carousel .carousel-indicators button {
    background-color: var(--primary);
  }
  .customer-landing .amenities-mobile-carousel .carousel-inner,
  .customer-landing .amenities-mobile-carousel .carousel-item {
    width: 100%;
    min-width: 0;
  }
  .customer-landing .amenity-card {
    min-height: 220px;
  }
  .customer-landing .amenity-card .amenity-body {
    flex-basis: 44%;
    padding: 1rem 1.25rem;
  }
  .customer-landing .amenity-card .amenity-image {
    flex-basis: 56%;
  }
  .customer-landing .event-media-frame {
    width: 100%;
    max-width: 900px;
    margin-inline: auto;
  }
  .customer-landing .event-card {
    min-height: 250px;
    gap: 1.25rem;
    padding: 1.25rem;
  }
  .customer-landing .event-card .event-body {
    flex-basis: 44%;
    padding: 0.75rem;
  }
  .customer-landing .amenities-mobile-carousel .carousel-control-prev,
  .customer-landing .amenities-mobile-carousel .carousel-control-next,
  .customer-landing .event-media-frame .carousel-control-prev,
  .customer-landing .event-media-frame .carousel-control-next {
    display: none;
  }
  .customer-booking #allRoomsContainer > .room-wrapper,
  .customer-booking #recommendedContainer > .room-wrapper {
    flex: 0 0 auto;
    width: 50%;
    align-items: stretch;
  }
  .customer-booking .acc-card {
    height: 100%;
  }
  .customer-booking .acc-card .card-img-top {
    height: auto;
    aspect-ratio: 16 / 9;
  }
  .customer-booking .acc-card .thumb-strip {
    gap: 3px;
    padding: 3px 0;
  }
  .customer-booking .acc-card .thumb-strip img {
    width: 36px;
    height: 28px;
  }
  .customer-booking .acc-card .card-body {
    flex: 1;
    gap: 2px;
    padding: 9px 11px 11px;
  }
  .customer-booking .acc-card .card-text {
    display: -webkit-box;
    flex: 1;
    overflow: hidden;
    margin: 2px 0 0;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
  }
  .customer-booking .acc-card .card-body > .d-flex.flex-wrap {
    margin-block: 0.35rem !important;
    column-gap: 0.25rem !important;
    row-gap: 0.2rem !important;
  }
  .customer-booking .acc-card .btn-select {
    min-height: 46px;
    margin-top: auto;
    padding-block: 10px;
  }
}

/* Mobile: compact outer rhythm while preserving readable, touch-friendly
   controls and natural document scrolling. */

@media (max-width: 767.98px) {
  #siteNavbar {
    padding: 0.75rem 0 !important;
  }
  #siteNavbar .nav-shell {
    padding-inline: 1rem;
  }
  #siteNavbar .logo-badge {
    padding: 4px 8px;
    border-radius: 10px;
  }
  #siteNavbar .logo-badge img {
    height: 40px !important;
  }
  #siteNavbar .navbar-toggler {
    padding: 0.35rem 0.55rem;
  }
  #siteNavbar .navbar-collapse {
    padding: 0.75rem;
    margin-top: 0.5rem;
  }
  #siteNavbar .nav-link {
    padding: 0.55rem 0.65rem !important;
  }
  #siteNavbar .profile-btn-outline,
  #siteNavbar .profile-avatar {
    width: 42px !important;
    height: 42px !important;
  }
  .site-hero {
    min-height: 265px;
  }
  .site-hero .hero-inner {
    padding-inline: 1rem;
    padding-bottom: 1.5rem;
  }
  .hero-eyebrow {
    font-size: 0.8rem;
    margin-bottom: 0.35rem;
  }
  .hero-title {
    font-size: clamp(1.65rem, 8vw, 2.1rem);
    margin-bottom: 0.4rem;
  }
  .hero-text {
    font-size: 0.9rem;
    min-height: 0;
    margin-bottom: 0;
  }
  .page-section {
    padding: 2rem 0;
  }
  .page-section > .container {
    padding-inline: 1rem;
  }
  .section-heading {
    font-size: 1.2rem;
  }
  .section-subtext {
    margin-bottom: 1.25rem;
  }
  .media-frame {
    border-radius: 12px;
  }
  .media-frame.p-3 {
    padding: 0.85rem !important;
  }
  .media-frame.mb-5 {
    margin-bottom: 2rem !important;
  }
  .media-frame .carousel-item > img {
    height: 220px;
  }
  .info-card {
    padding: 1rem;
  }
  .info-card .icon-badge {
    width: 40px;
    height: 40px;
    margin-bottom: 0.65rem;
  }
  .amenity-card {
    min-height: 185px;
  }
  .amenity-card .amenity-body {
    flex-basis: 45%;
    padding: 0.85rem 0.75rem;
  }
  .amenity-card .amenity-image {
    flex-basis: 55%;
  }
  .amenity-card p {
    font-size: 0.78rem;
    line-height: 1.45;
  }
  .event-card {
    min-height: 210px;
    gap: 0.85rem;
    padding: 0.85rem;
  }
  .event-card .event-body {
    flex-basis: 45%;
    padding: 0.5rem 0.35rem;
  }
  .event-card .event-image {
    flex-basis: 55%;
  }
  .event-card .event-body h6 {
    font-size: clamp(1rem, 4vw, 1.15rem);
    margin-bottom: 0.45rem;
  }
  .event-card .event-body p {
    font-size: 0.8rem;
    line-height: 1.45;
  }
  .footer {
    padding-block: 1.25rem !important;
  }
  .footer .d-flex {
    flex-direction: column;
    gap: 0.35rem !important;
  }
  .footer .d-flex > span {
    display: none;
  }
  .footer a,
  .footer span,
  .footer .small {
    font-size: 0.9rem;
  }
  .booking-wrap {
    padding: 1rem 0.75rem 1.5rem;
  }
  .section-card {
    padding: 1rem;
    margin-bottom: 0.75rem;
  }
  .section-card h5 {
    margin-bottom: 0.85rem;
  }
  #allRoomsContainer,
  #recommendedContainer {
    --bs-gutter-x: 0.75rem;
    --bs-gutter-y: 0.75rem;
  }
  #allRoomsContainer > .room-wrapper,
  #recommendedContainer > .room-wrapper {
    align-items: stretch;
  }
  .acc-card {
    height: 100%;
  }
  .acc-card .card-img-top {
    height: auto;
    aspect-ratio: 16 / 9;
  }
  .acc-card .thumb-strip {
    gap: 3px;
    padding: 3px 0;
  }
  .acc-card .thumb-strip img {
    width: 30px;
    height: 24px;
    border-radius: 5px;
  }
  .acc-card .card-body {
    flex: 1;
    gap: 2px;
    padding: 8px;
  }
  .acc-card .card-title {
    min-height: 2.5em;
    font-size: 0.8rem;
    line-height: 1.25;
  }
  .acc-card .card-price {
    font-size: 0.82rem;
  }
  .acc-card .card-text {
    display: -webkit-box;
    flex: 1;
    overflow: hidden;
    margin: 2px 0 0;
    font-size: 0.7rem;
    line-height: 1.4;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }
  .acc-card .card-body > .d-flex.flex-wrap {
    margin-block: 0.3rem !important;
    column-gap: 0.2rem !important;
    row-gap: 0.15rem !important;
  }
  .acc-card .chip {
    gap: 3px;
    padding: 2px 6px;
    font-size: 0.6rem;
    line-height: 1.35;
  }
  .acc-card .chip i {
    font-size: 0.62rem;
  }
  .acc-card .btn-select {
    min-height: 44px;
    margin-top: auto;
    padding: 9px 8px;
    font-size: 0.85rem;
  }
  .acc-card .check-indicator {
    width: 27px;
    height: 27px;
    font-size: 15px;
  }
  .right-panel {
    margin-top: 0.25rem;
  }
  .sum-row {
    gap: 0.75rem;
    align-items: flex-start;
  }
  .sum-row span {
    min-width: 0;
  }
  .sum-row strong {
    min-width: 0;
    flex-shrink: 0;
  }
  #conbook {
    font-size: 1rem;
    padding: 14px;
  }
}

/* At widths where two cards would leave less than a practical reading and
   touch target area, return the same card to a single-column presentation. */

@media (max-width: 359.98px) {
  #allRoomsContainer > .room-wrapper,
  #recommendedContainer > .room-wrapper {
    width: 100%;
  }
  .acc-card .card-img-top {
    height: auto;
  }
  .acc-card .card-body {
    padding: 10px 12px 12px;
  }
  .acc-card .card-title {
    min-height: 0;
    font-size: 0.9rem;
  }
  .acc-card .card-price {
    font-size: 0.9rem;
  }
  .acc-card .card-text {
    font-size: 0.75rem;
  }
  .acc-card .chip {
    padding: 3px 8px;
    font-size: 0.68rem;
  }
  .acc-card .btn-select {
    min-height: 48px;
    padding: 11px 12px;
    font-size: 0.95rem;
  }
}

/* The booking page uses the landing hero's image and type at page-header scale. */

.customer-booking #siteNavbar {
  background: transparent !important;
  box-shadow: none;
  backdrop-filter: none;
}

.customer-booking #siteNavbar .nav-link.active::after {
  right: .9rem;
  bottom: 0;
  left: .9rem;
  width: auto;
  height: 2px;
  border-radius: 2px;
  background: var(--accent-gold);
}

.customer-booking #siteNavbar .customer-login-btn {
  border-radius: 10px;
}

.customer-booking .site-hero {
  min-height: 340px;
  background: var(--hero-dark);
}

.customer-booking .site-hero .hero-photo {
  inset: 0;
  background-image: var(--customer-hero-image);
  background-position: center top;
  filter: saturate(82%) contrast(1.04);
  transform: none;
}

.customer-booking .site-hero .hero-overlay {
  background: linear-gradient(90deg, rgba(3, 28, 24, .78), rgba(3, 28, 24, .55));
}

.customer-booking .site-hero .hero-inner {
  align-items: flex-end;
  padding-top: 8rem;
  padding-bottom: 3rem;
}

.customer-booking .site-hero .hero-eyebrow {
  margin-bottom: .8rem;
  color: var(--accent-gold);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .18em;
}

.customer-booking .site-hero .hero-title {
  margin-bottom: .7rem;
  color: #fff;
  font-family: "DM Serif Display", Georgia, serif;
  font-size: clamp(2.5rem, 4vw, 4rem);
  font-weight: 400;
  letter-spacing: -.035em;
  line-height: 1;
}

.customer-booking .site-hero .hero-text {
  min-height: 0;
  margin: 0;
  color: rgba(255, 255, 255, .82);
  font-size: 1rem;
  line-height: 1.6;
}

@media (min-width: 992px) {
  .customer-booking #siteNavbar .navbar-nav {
    margin-left: auto !important;
    margin-right: 1rem !important;
  }
}

/* Keep the responsive booking header on the same vertical rhythm as the
   landing-page contextual header. */

@media (max-width: 991.98px) {
  .customer-booking {
    --mobile-nav-height: 72px;
  }
  .customer-booking #siteNavbar {
    position: fixed;
    z-index: 1040;
    top: 0;
    right: 0;
    left: 0;
  }
  .customer-booking .site-hero {
    position: sticky;
    z-index: 1020;
    top: 0;
    min-height: calc(var(--mobile-nav-height) + clamp(150px, 19vw, 190px));
  }
  .customer-booking .site-hero .hero-inner {
    align-items: center;
    min-height: calc(var(--mobile-nav-height) + clamp(150px, 19vw, 190px));
    padding-top: calc(var(--mobile-nav-height) + 1.75rem);
    padding-bottom: 1.75rem;
  }
  .customer-booking .site-hero .hero-eyebrow {
    margin-bottom: 0.4rem;
    font-size: 0.78rem;
  }
  .customer-booking .site-hero .hero-title {
    margin-bottom: 0.45rem;
    font-size: clamp(1.75rem, 4.2vw, 2.25rem);
  }
  .customer-booking .site-hero .hero-text {
    max-width: 720px;
    min-height: 0;
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.5;
  }
}

@media (min-width: 768px) and (max-width: 991.98px) {
  .customer-booking {
    --mobile-nav-height: 90px;
  }
}

@media (max-width: 575.98px) {
  .customer-booking .site-hero {
    min-height: calc(var(--mobile-nav-height) + 148px);
  }
  .customer-booking .site-hero .hero-inner {
    min-height: calc(var(--mobile-nav-height) + 148px);
    padding-top: calc(var(--mobile-nav-height) + 1.35rem);
    padding-bottom: 1.35rem;
  }
  .customer-booking .site-hero .hero-title {
    font-size: 1.65rem;
  }
  .customer-booking .site-hero .hero-text {
    font-size: 0.82rem;
    line-height: 1.45;
  }
}

/* Modal dismissal controls share a neutral color without changing their layout. */
.modal .btn-close {
  --bs-btn-close-bg: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='%236b7280' d='M.293.293a1 1 0 0 1 1.414 0L8 6.586 14.293.293a1 1 0 1 1 1.414 1.414L9.414 8l6.293 6.293a1 1 0 0 1-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 0 1-1.414-1.414L6.586 8 .293 1.707a1 1 0 0 1 0-1.414z'/%3e%3c/svg%3e");
  filter: none;
}

:is(.modal .btn-close, .modal .customer-account-back, .customer-manage-room-dialog-header [data-room-info-close], .room-photo-lightbox-close) {
  color: #6b7280;
  opacity: 1;
}

:is(.modal .btn-close, .modal .customer-account-back, .customer-manage-room-dialog-header [data-room-info-close], .room-photo-lightbox-close):hover {
  opacity: .8;
}

:is(.modal .btn-close, .modal .customer-account-back, .customer-manage-room-dialog-header [data-room-info-close], .room-photo-lightbox-close):focus-visible {
  outline: 2px solid #6b7280;
  outline-offset: 2px;
  box-shadow: none;
}
