:root {
  --sky: #d9efff;
  --yellow: #ffd966;
  --coral: #ff9f68;
  --mint: #56c596;
  --lavender: #d9cbff;
  --navy: #243447;
  --ink-soft: #3f5870;
  --text: #1f3445;
  --muted: #6b7f95;
  --glass: rgba(255, 255, 255, 0.86);
  --glass-strong: rgba(255, 255, 255, 0.95);
  --line: rgba(31, 50, 71, 0.16);
  --danger-soft: #ffd9e0;
  --success-soft: #dff8ea;
  --shadow-soft: 0 16px 36px rgba(36, 52, 71, 0.16);
  --radius-lg: 12px;
  --radius-pill: 999px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Nunito', 'Poppins', system-ui, -apple-system, sans-serif;
  color: var(--text);
  background:
    linear-gradient(140deg, rgba(234, 247, 255, 0.26), rgba(255, 248, 229, 0.24)),
    url('../images/bgpage.jpeg') center/cover no-repeat;
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
  background-attachment: fixed;
}

body.gallery-open {
  overflow: hidden;
}

.page-preloader {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  padding: 24px;
  background:
    linear-gradient(145deg, rgba(255, 229, 241, 0.62), rgba(234, 247, 255, 0.58)),
    url('../images/bgpage.jpeg') center/cover no-repeat;
  transition: opacity 0.45s ease, visibility 0.45s ease;
}

body.page-loaded .page-preloader {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.preloader-card {
  width: min(760px, calc(100vw - 32px));
  display: grid;
  justify-items: center;
  gap: 16px;
  padding: 16px;
  text-align: center;
}

.preloader-logo {
  width: min(500px, 86vw);
  filter: drop-shadow(0 18px 24px rgba(36, 52, 71, 0.18));
  animation: logoFloat 1.7s ease-in-out infinite alternate;
}

.preloader-card h1 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(1.28rem, 4vw, 2.05rem);
  font-weight: 900;
  text-shadow: 0 2px 16px rgba(255, 255, 255, 0.7);
}

.preloader-progress {
  width: min(420px, 76vw);
  height: 10px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: inset 0 0 0 1px rgba(36, 52, 71, 0.08), 0 12px 22px rgba(36, 52, 71, 0.12);
}

.preloader-progress span {
  display: block;
  height: 100%;
  width: 35%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--coral), var(--yellow), var(--mint), var(--lavender));
  animation: loadingBar 3s ease-in-out infinite;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(245, 252, 255, 0.12), rgba(247, 249, 255, 0.22));
  z-index: -2;
}

.bg-sparkles {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  background-image:
    radial-gradient(circle at 12% 18%, rgba(255, 255, 255, 0.78) 1px, transparent 2px),
    radial-gradient(circle at 82% 22%, rgba(255, 243, 176, 0.5) 1px, transparent 2px),
    radial-gradient(circle at 38% 76%, rgba(220, 203, 255, 0.46) 1px, transparent 2px),
    radial-gradient(circle at 68% 62%, rgba(184, 242, 208, 0.46) 1px, transparent 2px);
  background-size: 220px 220px, 260px 260px, 210px 210px, 250px 250px;
  animation: sparkleFloat 18s ease-in-out infinite alternate;
  opacity: 0.75;
}

.snow-layer {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: 0.95;
}

.snow-layer::before,
.snow-layer::after {
  content: '';
  position: absolute;
  inset: -110vh 0 0 0;
  background-image:
    radial-gradient(circle at 7% 8%, rgba(255, 255, 255, 0.96) 0 1.8px, transparent 2px),
    radial-gradient(circle at 17% 32%, rgba(255, 255, 255, 0.86) 0 1.2px, transparent 1.5px),
    radial-gradient(circle at 27% 14%, rgba(255, 255, 255, 0.78) 0 2.4px, transparent 2.7px),
    radial-gradient(circle at 38% 46%, rgba(255, 255, 255, 0.9) 0 1.5px, transparent 1.8px),
    radial-gradient(circle at 49% 24%, rgba(255, 255, 255, 0.78) 0 1.1px, transparent 1.4px),
    radial-gradient(circle at 58% 58%, rgba(255, 255, 255, 0.92) 0 2px, transparent 2.3px),
    radial-gradient(circle at 69% 35%, rgba(255, 255, 255, 0.84) 0 1.3px, transparent 1.6px),
    radial-gradient(circle at 78% 18%, rgba(255, 255, 255, 0.74) 0 2.2px, transparent 2.5px),
    radial-gradient(circle at 88% 48%, rgba(255, 255, 255, 0.9) 0 1.5px, transparent 1.8px),
    radial-gradient(circle at 96% 28%, rgba(255, 255, 255, 0.82) 0 1.1px, transparent 1.4px);
  background-size: 100vw 100vh;
  background-repeat: repeat-y;
  animation: snowSway 17s linear infinite;
  opacity: 0.76;
  filter: drop-shadow(0 0 4px rgba(255, 255, 255, 0.55));
}

.snow-layer::after {
  background-image:
    radial-gradient(circle at 9% 42%, rgba(255, 255, 255, 0.82) 0 1px, transparent 1.4px),
    radial-gradient(circle at 19% 70%, rgba(255, 255, 255, 0.74) 0 2px, transparent 2.4px),
    radial-gradient(circle at 32% 56%, rgba(255, 255, 255, 0.86) 0 1.3px, transparent 1.7px),
    radial-gradient(circle at 45% 78%, rgba(255, 255, 255, 0.78) 0 1px, transparent 1.4px),
    radial-gradient(circle at 55% 66%, rgba(255, 255, 255, 0.9) 0 1.8px, transparent 2.2px),
    radial-gradient(circle at 66% 86%, rgba(255, 255, 255, 0.7) 0 1.2px, transparent 1.6px),
    radial-gradient(circle at 73% 74%, rgba(255, 255, 255, 0.86) 0 2.2px, transparent 2.6px),
    radial-gradient(circle at 84% 60%, rgba(255, 255, 255, 0.76) 0 1.2px, transparent 1.6px),
    radial-gradient(circle at 93% 82%, rgba(255, 255, 255, 0.86) 0 1.6px, transparent 2px);
  opacity: 0.58;
  animation-duration: 26s;
  animation-delay: -10s;
}

.snow-layer {
  background-image:
    radial-gradient(circle at 20% -10%, rgba(255, 255, 255, 0.75) 0 1.5px, transparent 2px),
    radial-gradient(circle at 55% -20%, rgba(255, 255, 255, 0.65) 0 2px, transparent 2.5px),
    radial-gradient(circle at 83% -12%, rgba(255, 255, 255, 0.76) 0 1.2px, transparent 1.7px);
  background-size: 170px 240px, 230px 320px, 190px 280px;
  animation: snowDrift 14s linear infinite;
}

body > *:not(.snow-layer):not(.bg-sparkles):not(.floating-actions):not(.gallery-lightbox):not(.page-preloader):not(.toast-root) {
  position: relative;
  z-index: 2;
}

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

.container {
  width: min(1040px, calc(100% - 32px));
  margin-inline: auto;
}

.booking-page {
  padding-bottom: 56px;
}

.floating-actions {
  position: fixed;
  inset: 18px max(16px, env(safe-area-inset-right)) auto max(16px, env(safe-area-inset-left));
  z-index: 35;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 14px;
  pointer-events: none;
}

.floating-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 999px;
  font-weight: 800;
  padding: 14px 18px;
  box-shadow: 0 14px 24px rgba(36, 52, 71, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(6px);
  transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
  font-size: 1.02rem;
  pointer-events: auto;
}

.floating-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 32px rgba(36, 52, 71, 0.22);
}

.floating-btn-wa {
  background: linear-gradient(120deg, #27c063, #1da851);
  color: #fff;
}

.floating-btn-outline {
  background: linear-gradient(130deg, var(--coral), #ffb184);
  color: #fff;
}

.hero {
  padding: 34px 0 14px;
  text-align: center;
}

.home-logo {
  width: min(440px, 76vw);
  max-width: 100%;
  display: inline-block;
  margin-bottom: 0;
  filter: drop-shadow(0 12px 16px rgba(36, 52, 71, 0.18));
}

.hero-logo-only {
  margin-inline: auto;
  display: block;
  filter:
    drop-shadow(0 14px 18px rgba(36, 52, 71, 0.18))
    drop-shadow(0 0 22px rgba(255, 255, 255, 0.42));
}

.booking-shell {
  border-radius: var(--radius-lg);
  background: var(--glass-strong);
  border: 1px solid rgba(255, 255, 255, 0.66);
  box-shadow: var(--shadow-soft);
  padding: 18px;
  display: grid;
  gap: 14px;
  max-width: 1040px;
  margin-inline: auto;
}

.stepper {
  display: flex;
  align-items: stretch;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 4px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.step-item,
.step-line {
  font-weight: 800;
}

.step-line {
  display: none;
  background: #d9e5f4;
}

.step-item {
  flex: 1 0 0;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: 8px;
  text-align: center;
  padding: 8px 4px;
  font-size: 0.74rem;
  line-height: 1.1;
  display: grid;
  gap: 4px;
  color: #667e98;
  scroll-snap-align: start;
  position: relative;
}

.step-item::after {
  content: '';
  position: absolute;
  right: -8px;
  top: 50%;
  width: 8px;
  height: 2px;
  background: rgba(174, 196, 220, 0.85);
  transform: translateY(-50%);
}

.step-item:last-child::after {
  display: none;
}

.step-item span:first-child {
  width: 24px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-inline: auto;
  border-radius: 999px;
  border: 1px solid #dbe7f4;
  background: #f5fbff;
  color: #4f6984;
}

.step-item.done span:first-child,
.step-item.active span:first-child {
  border-color: transparent;
  color: #fff;
}

.step-item.active {
  color: var(--navy);
  transform: scale(1.01);
}

.step-item.available:not(.active):not(.done) {
  border-color: rgba(86, 197, 150, 0.26);
  background: rgba(250, 255, 252, 0.92);
}

.step-item.done {
  background: rgba(86, 197, 150, 0.18);
  border-color: rgba(86, 197, 150, 0.45);
}

.step-item.done span:first-child,
.step-item.active span:first-child {
  background: linear-gradient(130deg, var(--mint), #6ed9ac);
}

.journey-step {
  margin: 2px 0;
  padding: 22px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.85);
  background: rgba(255, 255, 255, 0.85);
  box-shadow: 0 10px 24px rgba(36, 52, 71, 0.08);
  opacity: 1;
  transform: none;
  display: block;
}

body.js-ready .journey-step {
  opacity: 0;
  transform: translateY(12px);
  display: none;
}

body.js-ready .journey-step.is-open {
  display: block;
  opacity: 1;
  transform: none;
  animation: softSlideIn 0.35s ease-out both;
}

.journey-step h2 {
  margin: 0 0 10px;
  font-size: 1.12rem;
}

.avail-hint,
.availability-sub {
  margin: 10px 0 18px;
  color: var(--muted);
  font-size: 0.9rem;
}

.form-grid {
  display: grid;
  gap: 18px;
}

.form-grid.two {
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.date-grid {
  align-items: start;
}

.date-field {
  position: relative;
}

label {
  font-size: 0.9rem;
  font-weight: 800;
  display: block;
  margin-bottom: 10px;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid #d1deea;
  border-radius: 8px;
  padding: 13px 14px;
  font-size: 0.96rem;
  font-family: inherit;
  background: #fff;
}

input:focus,
select:focus,
textarea:focus {
  outline: 0;
  border-color: var(--coral);
  box-shadow: 0 0 0 4px rgba(255, 159, 104, 0.22);
}

.date-field input {
  min-height: 48px;
  cursor: pointer;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.96), rgba(245, 251, 255, 0.94)),
    #fff;
}

.availability-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin: 0 0 16px;
}

.availability-legend span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(31, 50, 71, 0.09);
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 800;
}

.legend-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  display: inline-block;
}

.legend-dot.available { background: var(--mint); }
.legend-dot.selected { background: var(--coral); }
.legend-dot.unavailable { background: #df6078; }

.room-grid {
  display: grid;
  gap: 12px;
}

.room-option {
  border: 1px solid rgba(122, 167, 213, 0.24);
  border-radius: 18px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.9);
  cursor: pointer;
  display: grid;
  gap: 12px;
  grid-template-columns: 96px minmax(0, 1fr) minmax(118px, auto);
  align-items: center;
  box-shadow: 0 12px 24px rgba(36, 52, 71, 0.06);
  transition: border-color 0.22s ease, transform 0.22s ease, box-shadow 0.22s ease;
}

.room-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.room-cover {
  width: 96px;
  height: 96px;
  border-radius: 8px;
  overflow: hidden;
  position: relative;
}

.room-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.25s ease;
}

.room-cover::after {
  content: '\F52A';
  font-family: 'bootstrap-icons';
  position: absolute;
  right: 8px;
  bottom: 8px;
  width: 26px;
  height: 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.86);
  color: var(--navy);
  box-shadow: 0 8px 18px rgba(36, 52, 71, 0.16);
}

.room-option:hover .room-cover img {
  transform: scale(1.04);
}

.room-option.selected {
  border-color: var(--coral);
  box-shadow: 0 12px 24px rgba(255, 159, 104, 0.2);
  transform: translateY(-1px);
}

.room-option.unavailable {
  border-color: #f4bcc9;
  background: #fff4f7;
  opacity: 0.76;
}

.room-option h3 {
  margin: 0;
  font-size: 1.04rem;
  overflow-wrap: anywhere;
}

.room-option p {
  display: -webkit-box;
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.35;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.room-foot {
  text-align: right;
  min-width: 0;
  display: grid;
  justify-items: end;
  gap: 8px;
}

.room-foot strong {
  display: block;
  font-size: 1rem;
  line-height: 1.35;
  white-space: nowrap;
  color: var(--navy);
}

.badge {
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 800;
  display: inline-block;
}

.badge-available {
  background: var(--success-soft);
  color: #1a7f4e;
}

.badge-unavailable {
  background: var(--danger-soft);
  color: #a23f55;
}

.summary-grid {
  display: grid;
  gap: 8px;
  grid-template-columns: 1fr 1fr;
  margin-top: 10px;
  padding: 12px;
  border-radius: 8px;
  background: rgba(245, 251, 255, 0.72);
  border: 1px dashed #b7d1ea;
}

.summary-grid div {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.summary-grid span {
  font-size: 0.78rem;
  color: var(--muted);
}

.summary-grid strong {
  font-size: 0.96rem;
}

.payment-methods {
  display: grid;
  gap: 12px;
  grid-template-columns: 1fr;
}

.payment-card {
  border: 1px solid #d9e3f0;
  border-radius: 10px;
  padding: 14px;
  background: #fff;
  cursor: pointer;
  display: grid;
  gap: 5px;
  position: relative;
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.payment-card input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.payment-card i {
  font-size: 1.1rem;
}

.payment-card.selected,
.payment-card:hover {
  border-color: #f39b70;
  box-shadow: 0 10px 20px rgba(255, 159, 104, 0.2);
}

.payment-card.selected {
  background: #fff8f3;
}

.payment-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.83rem;
}

.bank-box[hidden],
.online-pay-box[hidden] {
  display: none !important;
}

.online-pay-box {
  margin-top: 12px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 150px auto;
  align-items: center;
  gap: 14px;
  border-radius: 18px;
  padding: 16px;
  border: 1px solid rgba(255, 159, 104, 0.28);
  background: linear-gradient(135deg, rgba(255, 248, 243, 0.95), rgba(244, 251, 255, 0.88));
  box-shadow: 0 14px 24px rgba(36, 52, 71, 0.07);
}

.online-pay-box img {
  max-width: 150px;
  width: 100%;
  justify-self: center;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.78);
  padding: 8px;
}

.online-pay-copy {
  display: grid;
  gap: 5px;
}

.online-pay-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.payment-submit-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid rgba(36, 52, 71, 0.08);
}

.payment-submit-row p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  text-align: right;
}

.phone-field {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  border: 1px solid #cfdbea;
  border-radius: 10px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.93);
}

.phone-field:focus-within {
  border-color: var(--coral);
  box-shadow: 0 0 0 3px rgba(255, 159, 104, 0.16);
}

.phone-field span {
  padding: 0 12px;
  height: 100%;
  display: inline-flex;
  align-items: center;
  color: var(--navy);
  font-weight: 900;
  background: rgba(234, 247, 255, 0.88);
  border-right: 1px solid #d9e4f0;
}

.phone-field input {
  border: 0;
  border-radius: 0;
  background: transparent;
}

.phone-field input:focus {
  box-shadow: none;
}

.bank-box {
  border: 1px solid rgba(86, 197, 150, 0.34);
  background: linear-gradient(135deg, rgba(241, 255, 246, 0.95), rgba(255, 248, 229, 0.78));
  border-radius: 18px;
  padding: 16px;
  margin-top: 12px;
  display: grid;
  gap: 14px;
}

.bank-box-head {
  display: flex;
  gap: 12px;
  align-items: center;
}

.bank-box-head p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.bank-icon {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #167248;
  background: rgba(184, 242, 208, 0.76);
  font-size: 1.25rem;
}

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

.bank-detail-grid div {
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(31, 50, 71, 0.08);
  padding: 10px;
}

.bank-detail-grid span,
.bank-qr span,
.receipt-drop span {
  display: block;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
}

.bank-detail-grid strong {
  display: block;
  margin-top: 4px;
}

.receipt-upload-wrap {
  display: grid;
  grid-template-columns: minmax(220px, 0.8fr) minmax(280px, 1.2fr);
  gap: 14px;
  align-items: stretch;
}

.bank-box .bank-qr {
  display: grid;
  gap: 10px;
  justify-items: center;
  align-content: center;
  padding: 14px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(31, 50, 71, 0.08);
}

.bank-box .bank-qr img {
  width: min(220px, 100%);
  max-width: 220px;
  border-radius: 18px;
  box-shadow: 0 14px 28px rgba(36, 52, 71, 0.13);
}

.btn-download-qr {
  padding: 9px 12px;
  font-size: 0.82rem;
}

.receipt-drop {
  margin: 0;
  min-height: 235px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 7px;
  text-align: center;
  border: 2px dashed rgba(255, 159, 104, 0.58);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.66);
  cursor: pointer;
}

.receipt-drop i {
  font-size: 2rem;
  color: var(--coral);
}

.receipt-drop input {
  width: min(320px, 100%);
  max-width: 320px;
  padding: 8px;
  border: 0;
  background: transparent;
}

.checkin-checklist {
  display: grid;
  gap: 9px;
}

.checkin-checklist label {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid rgba(36, 52, 71, 0.1);
}

.checkin-checklist input {
  width: auto;
}

.btn {
  border: 0;
  cursor: pointer;
  border-radius: var(--radius-pill);
  padding: 12px 16px;
  font-weight: 800;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

.btn:disabled {
  cursor: not-allowed;
  opacity: 0.48;
  transform: none;
}

.step-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 16px;
}

.step-actions.top {
  justify-content: flex-start;
  margin: 0 0 12px;
}

.booking-mini-summary {
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid rgba(86, 197, 150, 0.28);
  background: linear-gradient(120deg, rgba(232, 251, 240, 0.9), rgba(255, 248, 229, 0.88));
  box-shadow: 0 12px 24px rgba(36, 52, 71, 0.1);
}

.booking-mini-summary.is-visible {
  display: flex;
}

.booking-mini-summary span {
  display: block;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
}

.booking-mini-summary strong {
  color: var(--navy);
  line-height: 1.28;
  overflow-wrap: anywhere;
}

.booking-mini-summary > div {
  min-width: 0;
}

.booking-mini-summary > strong {
  flex: 0 0 auto;
}

.reset-draft-btn {
  border: 0;
  cursor: pointer;
  border-radius: 999px;
  padding: 7px 10px;
  background: rgba(255, 255, 255, 0.78);
  color: var(--ink-soft);
  font-family: inherit;
  font-size: 0.78rem;
  font-weight: 900;
  box-shadow: inset 0 0 0 1px rgba(36, 52, 71, 0.1);
}

.toast-root {
  position: fixed;
  right: 18px;
  top: 18px;
  z-index: 100;
  display: grid;
  gap: 10px;
  pointer-events: none;
}

.toast-message {
  max-width: min(320px, calc(100vw - 34px));
  padding: 12px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(31, 50, 71, 0.1);
  box-shadow: 0 16px 34px rgba(36, 52, 71, 0.18);
  color: var(--navy);
  font-weight: 900;
  animation: toastIn 0.28s ease-out both;
}

.toast-message.success {
  border-color: rgba(86, 197, 150, 0.34);
}

.toast-message.warning {
  border-color: rgba(255, 217, 102, 0.64);
}

.toast-message.hide {
  animation: toastOut 0.26s ease-in both;
}

.animate-fade-up {
  animation: softSlideIn 0.45s ease-out both;
}

.delay-1 {
  animation-delay: 0.05s;
}

.delay-2 {
  animation-delay: 0.1s;
}

.delay-3 {
  animation-delay: 0.15s;
}

.delay-4 {
  animation-delay: 0.2s;
}

.delay-5 {
  animation-delay: 0.25s;
}

.btn-cta {
  width: 100%;
}

.btn-primary {
  background: linear-gradient(130deg, var(--coral), #ffad7f);
  color: #fff;
  box-shadow: 0 12px 24px rgba(255, 159, 104, 0.3);
}

.btn-muted {
  background: #e9f2fa;
  color: var(--navy);
}

.btn-wa {
  background: linear-gradient(120deg, #27c063, #1da851);
  color: #fff;
  box-shadow: 0 12px 24px rgba(29, 168, 81, 0.26);
}

.alert {
  border-radius: 12px;
  padding: 10px 12px;
  margin-bottom: 12px;
  font-weight: 800;
}

.alert-error {
  background: #ffedf2;
  color: #a33c51;
}

.alert-success {
  background: #e8fbf0;
  color: #1a7b4d;
}

.footer {
  padding: 16px 0 28px;
  text-align: center;
  font-size: 0.86rem;
  color: #45607a;
}

.card {
  background: var(--glass-strong);
  border-radius: 20px;
  box-shadow: var(--shadow-soft);
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.62);
}

.card h2,
.card h3 {
  margin: 0 0 10px;
}

.form-row {
  display: grid;
  gap: 10px;
}

.check-booking-page {
  padding-bottom: 56px;
}

.check-heading {
  display: grid;
  gap: 8px;
  margin-bottom: 14px;
  text-align: center;
}

.check-heading span {
  justify-self: center;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255, 243, 176, 0.62);
  color: #8b5f12;
  font-size: 0.8rem;
  font-weight: 900;
}

.check-heading h1 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(1.45rem, 4vw, 2.1rem);
}

.check-heading p {
  margin: 0;
  color: var(--muted);
}

.check-actions {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.booking-result {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 14px;
}

.status-timeline {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin: 18px 0;
  text-align: left;
}

.status-step {
  position: relative;
  border: 1px solid rgba(31, 50, 71, 0.1);
  border-radius: 16px;
  padding: 13px;
  background: rgba(255, 255, 255, 0.74);
  color: var(--muted);
  font-weight: 900;
  box-shadow: 0 10px 22px rgba(36, 52, 71, 0.08);
}

.status-step::before {
  content: '';
  width: 24px;
  height: 24px;
  border-radius: 999px;
  display: block;
  margin-bottom: 8px;
  background: #dbe7f4;
  box-shadow: inset 0 0 0 6px rgba(255, 255, 255, 0.8);
}

.status-step.is-done {
  color: var(--navy);
  border-color: rgba(86, 197, 150, 0.34);
  background: linear-gradient(135deg, rgba(232, 251, 240, 0.9), rgba(255, 255, 255, 0.86));
}

.status-step.is-done::before {
  background: var(--mint);
}

.status-step.is-current {
  border-color: rgba(255, 159, 104, 0.46);
  background: linear-gradient(135deg, rgba(255, 248, 243, 0.96), rgba(255, 255, 255, 0.88));
}

.thank-you-page {
  max-width: 820px;
  padding: 34px 0 70px;
}

.thank-you-card {
  display: grid;
  justify-items: center;
  gap: 14px;
  text-align: center;
  padding: clamp(22px, 4vw, 34px);
}

.thank-you-logo {
  width: min(300px, 70vw);
  margin: 0;
}

.thank-you-kicker {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(86, 197, 150, 0.14);
  color: #16784a;
  font-size: 0.84rem;
  font-weight: 900;
}

.thank-you-card h1 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(1.65rem, 5vw, 2.35rem);
}

.thank-you-sub {
  max-width: 560px;
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.thank-you-status {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(31, 50, 71, 0.08);
}

.thank-you-status span {
  color: var(--muted);
  font-weight: 800;
}

.order-summary-card {
  width: 100%;
  display: grid;
  gap: 14px;
  padding: 16px;
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(244, 251, 255, 0.82));
  border: 1px solid rgba(31, 50, 71, 0.1);
  box-shadow: 0 18px 38px rgba(36, 52, 71, 0.1);
}

.summary-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  text-align: left;
}

.summary-head span {
  display: block;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 900;
}

.summary-head strong {
  color: var(--navy);
  font-size: 1.08rem;
}

.clean-summary {
  text-align: left;
  margin-top: 0;
  background: rgba(255, 255, 255, 0.58);
  border-style: dashed;
}

.btn-confirm-order {
  min-width: min(100%, 280px);
  justify-content: center;
  font-size: 1rem;
  box-shadow: 0 16px 28px rgba(37, 211, 102, 0.24);
}

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

.gallery-lightbox {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(25, 41, 58, 0.58);
  backdrop-filter: blur(10px);
}

.gallery-dialog {
  width: min(860px, calc(100vw - 34px));
  position: relative;
  border-radius: 26px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 28px 70px rgba(25, 41, 58, 0.34);
}

.gallery-dialog img {
  display: block;
  width: 100%;
  max-height: min(68vh, 620px);
  object-fit: cover;
  background: #eef7ff;
}

.gallery-caption {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  padding: 14px 16px;
}

.gallery-caption span {
  color: var(--muted);
  font-size: 0.9rem;
}

.gallery-thumbs {
  display: flex;
  gap: 10px;
  padding: 0 16px 16px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.gallery-thumb {
  flex: 0 0 auto;
  width: 76px;
  height: 58px;
  border: 2px solid transparent;
  border-radius: 14px;
  padding: 3px;
  background: rgba(244, 251, 255, 0.9);
  cursor: pointer;
  box-shadow: 0 10px 18px rgba(36, 52, 71, 0.11);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.gallery-thumb img {
  width: 100%;
  height: 100%;
  border-radius: 10px;
  object-fit: cover;
  display: block;
}

.gallery-thumb:hover,
.gallery-thumb.active {
  border-color: var(--coral);
  transform: translateY(-2px);
}

.gallery-close,
.gallery-nav {
  position: absolute;
  border: 0;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--navy);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 12px 24px rgba(36, 52, 71, 0.18);
}

.gallery-close {
  top: 12px;
  right: 12px;
  width: 42px;
  height: 42px;
  border-radius: 14px;
}

.gallery-nav {
  top: 50%;
  width: 46px;
  height: 46px;
  border-radius: 999px;
  transform: translateY(-50%);
}

.gallery-prev { left: 12px; }
.gallery-next { right: 12px; }

@media (max-width: 860px) {
  body {
    background-attachment: scroll;
  }

  .form-grid.two,
  .summary-grid {
    grid-template-columns: 1fr;
  }

  .step-line {
    display: none;
  }

  .stepper {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(255, 255, 255, 0.74);
    overflow: visible;
  }

  .step-item {
    display: grid;
    flex: 1 1 0;
    min-width: 0;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
    font-size: 0.66rem;
    color: #6b839b;
  }

  .step-item.active {
    display: grid;
    grid-template-columns: 1fr;
    text-align: center;
    color: var(--navy);
    transform: none;
    background: transparent;
  }

  .step-item span:first-child {
    width: 24px;
    height: 24px;
  }

  .booking-shell {
    padding: 12px;
  }

  .step-item {
    border-radius: 16px;
  }

  .step-item::after {
    display: none;
  }

  body.js-ready .journey-step.is-open {
    display: none;
  }

  body.js-ready .journey-step.is-current {
    display: block;
  }

  .journey-step {
    position: relative;
    padding-left: 22px;
    border-left: 3px solid rgba(86, 197, 150, 0.45);
  }

  .journey-step::before {
    content: attr(data-step);
    position: absolute;
    top: 18px;
    left: -14px;
    width: 24px;
    height: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: var(--mint);
    color: #fff;
    font-weight: 800;
    font-size: 0.8rem;
  }
}

@media (min-width: 861px) {
  .room-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .payment-methods {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .container {
    width: min(100% - 20px, 1040px);
  }

  .hero {
    padding-top: 24px;
  }

  .home-logo {
    width: min(330px, 82vw);
  }

  .journey-step {
    padding: 16px;
    padding-left: 22px;
  }

  .room-option {
    grid-template-columns: 88px minmax(0, 1fr);
    gap: 10px;
    padding: 10px;
  }

  .room-cover {
    width: 88px;
    height: 88px;
  }

  .room-info {
    min-width: 0;
    align-self: center;
  }

  .room-option h3 {
    font-size: 1rem;
    line-height: 1.2;
    overflow-wrap: anywhere;
  }

  .room-option p {
    font-size: 0.78rem;
    -webkit-line-clamp: 2;
  }

  .room-foot {
    grid-column: 1 / -1;
    text-align: left;
    display: flex;
    justify-content: space-between;
    gap: 10px;
    align-items: center;
  }

  .room-foot strong {
    font-size: 0.98rem;
  }

  .booking-mini-summary {
    position: sticky;
    top: 8px;
    z-index: 24;
  }

  .bank-detail-grid,
  .receipt-upload-wrap {
    grid-template-columns: 1fr;
  }

  .online-pay-box {
    grid-template-columns: 1fr;
    text-align: center;
    justify-items: center;
  }

  .online-pay-box .btn {
    width: 100%;
    justify-content: center;
  }

  .payment-submit-row {
    display: grid;
    justify-items: center;
    text-align: center;
  }

  .payment-submit-row .btn {
    width: 100%;
    justify-content: center;
  }

  .payment-submit-row p {
    text-align: center;
  }

  .floating-actions {
    inset: 12px 12px auto 12px;
    gap: 10px;
  }

  .floating-btn {
    min-height: 46px;
    padding: 10px 12px;
    justify-content: center;
    font-size: 0.9rem;
  }

  .floating-btn span {
    display: none;
  }

  .floating-btn i {
    font-size: 1.08rem;
  }

  .step-actions .btn,
  .check-actions .btn {
    flex: 1;
    justify-content: center;
    text-align: center;
  }

  .status-timeline {
    grid-template-columns: 1fr;
  }

  .status-step {
    display: grid;
    grid-template-columns: 28px 1fr;
    align-items: center;
    gap: 8px;
  }

  .status-step::before {
    margin: 0;
  }

  .thank-you-page {
    padding: 22px 0 52px;
  }

  .summary-head {
    display: grid;
    justify-items: stretch;
  }

  .summary-head .btn {
    justify-content: center;
  }

  .thank-you-status {
    width: 100%;
    justify-content: space-between;
    border-radius: 18px;
  }

  .gallery-caption {
    display: grid;
  }

  .gallery-nav {
    width: 42px;
    height: 42px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }

  .snow-layer,
  .bg-sparkles {
    display: none;
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

@keyframes loadingBar {
  0% {
    transform: translateX(-115%);
    width: 35%;
  }
  55% {
    width: 58%;
  }
  100% {
    transform: translateX(285%);
    width: 35%;
  }
}

@keyframes logoFloat {
  from { transform: translateY(0) scale(1); }
  to { transform: translateY(-6px) scale(1.015); }
}

@keyframes toastIn {
  from {
    opacity: 0;
    transform: translateY(-8px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes toastOut {
  to {
    opacity: 0;
    transform: translateY(-8px) scale(0.98);
  }
}

@keyframes snowDrift {
  from { background-position: 0 0, 40px -80px, -20px -120px; }
  to { background-position: 40px 240px, -20px 320px, 35px 280px; }
}

@keyframes softSlideIn {
  from {
    transform: translateY(10px);
  }
  to {
    transform: translateY(0);
  }
}

@keyframes snowFall {
  0% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(160%);
  }
}

@keyframes snowSway {
  0% {
    transform: translate3d(-18px, 0, 0);
  }
  45% {
    transform: translate3d(22px, 55vh, 0);
  }
  100% {
    transform: translate3d(-12px, 110vh, 0);
  }
}

@keyframes sparkleFloat {
  from {
    transform: translate3d(-8px, -6px, 0);
  }
  to {
    transform: translate3d(10px, 8px, 0);
  }
}

@keyframes drift {
  0% {
    transform: translateX(0);
  }
  50% {
    transform: translateX(10px);
  }
  100% {
    transform: translateX(0);
  }
}
