.book-submit-overlay {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: none;
  place-items: center;
  background: rgba(28, 25, 23, 0.45);
  backdrop-filter: blur(4px);
}
.book-submit-overlay.is-on { display: grid; }
.book-submit-card {
  background: #fff;
  border-radius: 20px;
  padding: 1.35rem 1.5rem;
  text-align: center;
  box-shadow: 0 20px 50px rgba(0,0,0,.2);
  max-width: 280px;
}
.book-submit-card p { margin: .75rem 0 .25rem; font-weight: 800; color: #1c1917; }
.book-submit-card small { color: #78716c; font-weight: 700; }
.book-submit-spin {
  width: 40px; height: 40px; margin: 0 auto;
  border-radius: 50%;
  border: 3px solid #fed7aa;
  border-top-color: #ea580c;
  animation: bookSpin .8s linear infinite;
}
@keyframes bookSpin { to { transform: rotate(360deg); } }

.book-page { min-height: 100vh; }
.book-main { padding: 1.5rem 1rem 3rem; max-width: 860px; }
.book-page .booking-section {
  padding: 0;
  background: transparent;
}
.book-page .booking-card {
  margin: 0;
  position: relative;
}
.book-brand { margin-bottom: .85rem; }
.brand-lockup {
  display: flex; align-items: center; gap: .75rem;
}
.brand-logo {
  width: 56px; height: 56px; object-fit: contain; border-radius: 16px;
  background: #fff; border: 2px solid #fdba74;
  box-shadow: 0 4px 14px rgba(249,115,22,.2);
}
.brand-text { display: grid; gap: .1rem; }
.brand-text strong {
  font-size: 1.05rem; font-weight: 900; color: #9a3412; line-height: 1.15;
}
.brand-text span {
  font-size: .72rem; font-weight: 800; color: #0f766e; letter-spacing: .04em;
  text-transform: uppercase;
}
.book-page .booking-header h1 {
  font-size: clamp(1.5rem, 4vw, 1.9rem);
  font-weight: 900;
  margin-bottom: .35rem;
  background: linear-gradient(90deg, #ea580c, #db2777, #0891b2);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.book-footer-links {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 2px dashed #fed7aa;
  font-weight: 800;
}
.book-footer-links a { color: #ea580c; }
.book-footer-links a:hover { text-decoration: underline; }
.book-terms-check {
  display: flex;
  gap: .65rem;
  align-items: flex-start;
  margin: 1rem 0 1.15rem;
  padding: .85rem 1rem;
  border: 2px solid #fdba74;
  border-radius: 14px;
  background: #fff7ed;
  font-weight: 800;
  color: #44403c;
  line-height: 1.45;
}
.book-terms-check input { margin-top: .25rem; width: 1.1rem; height: 1.1rem; flex-shrink: 0; }
.book-terms-check a { color: #ea580c; }
.amount-input-row {
  display: flex;
  align-items: stretch;
  border: 2px solid #fed7aa;
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
}
.amount-prefix {
  display: flex;
  align-items: center;
  padding: 0 .9rem;
  font-weight: 900;
  color: #9a3412;
  background: #ffedd5;
  border-right: 2px solid #fed7aa;
}
.amount-input-row input {
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  flex: 1;
  min-width: 0;
  padding: .8rem 1rem;
  font: inherit;
  font-weight: 800;
}
.amount-input-row:focus-within {
  border-color: #f97316;
  box-shadow: 0 0 0 4px rgba(249,115,22,.15);
}
.savings-hint {
  margin-top: .45rem;
  font-weight: 800;
  color: #0f766e;
  font-size: .9rem;
}
.pay-alert {
  margin: 0 0 1.15rem;
  padding: .95rem 1.05rem;
  border-radius: 16px;
  border: 2px solid #fbbf24;
  background: linear-gradient(160deg, #fffbeb, #ffedd5);
  box-shadow: 0 8px 20px rgba(245, 158, 11, .12);
}
.pay-alert strong {
  display: block;
  font-weight: 900;
  color: #92400e;
  margin-bottom: .45rem;
}
.pay-alert ul {
  margin: 0;
  padding-left: 1.15rem;
  display: grid;
  gap: .35rem;
}
.pay-alert li {
  font-weight: 800;
  color: #78350f;
  line-height: 1.45;
  font-size: .9rem;
}
.pay-amount-alert {
  margin: 0 0 1.1rem;
  padding: .9rem 1rem;
  border-radius: 14px;
  border: 2px solid #fbbf24;
  background: linear-gradient(160deg, #fffbeb, #ffedd5);
  color: #78350f;
  font-weight: 700;
  line-height: 1.45;
}
.pay-amount-alert strong {
  display: block;
  font-weight: 900;
  margin-bottom: .45rem;
  color: #9a3412;
}
.pay-amount-alert ul {
  margin: 0;
  padding-left: 1.15rem;
  display: grid;
  gap: .3rem;
}
.pay-amount-alert b { color: #c2410c; }
.digital-pricing-note {
  margin: 0 0 1.1rem;
  padding: .95rem 1rem;
  border-radius: 14px;
  border: 2px solid #7dd3fc;
  background: linear-gradient(160deg, #f0f9ff, #ecfeff);
  color: #0c4a6e;
  font-weight: 700;
  line-height: 1.45;
}
.digital-pricing-note strong {
  display: block;
  font-weight: 900;
  margin-bottom: .45rem;
  color: #075985;
}
.digital-pricing-note ul {
  margin: 0 0 .75rem;
  padding-left: 1.15rem;
  display: grid;
  gap: .3rem;
}
.digital-pricing-note b { color: #0369a1; }
.digital-pricing-note .btn { text-decoration: none; }
.pay-ack-check {
  border-color: #fbbf24;
  background: #fffbeb;
}

.ticket-qty-section,
.passenger-section {
  margin: 1rem 0 1.25rem;
  padding: 1rem 1.1rem;
  border: 2px solid #fed7aa;
  border-radius: 18px;
  background: linear-gradient(180deg, #fff 0%, #fff7ed 100%);
}
.ticket-qty-section input[type="number"] {
  max-width: 160px;
  padding: .65rem .75rem;
  border: 2px solid #fed7aa;
  border-radius: 12px;
  font: inherit;
  font-weight: 800;
}
.passenger-list {
  display: grid;
  gap: .75rem;
  margin: .65rem 0 .75rem;
}
.passenger-card {
  border: 2px dashed #fdba74;
  border-radius: 14px;
  padding: .85rem;
  background: #fff;
  display: grid;
  gap: .55rem;
}
.passenger-card-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: .5rem;
}
.passenger-card-head strong {
  font-weight: 900;
  color: #9a3412;
}
.passenger-remove {
  border: none;
  background: #fee2e2;
  color: #b91c1c;
  font-weight: 900;
  border-radius: 999px;
  padding: .3rem .7rem;
  cursor: pointer;
  font-family: inherit;
  font-size: .78rem;
}
.passenger-remove:disabled {
  opacity: .4;
  cursor: not-allowed;
}
.passenger-fields {
  display: grid;
  grid-template-columns: 1.4fr .9fr .8fr;
  gap: .55rem;
}
.passenger-fields .form-group { margin: 0; }
.passenger-fields label {
  display: block;
  font-size: .75rem;
  font-weight: 800;
  color: #78716c;
  margin-bottom: .2rem;
}
.passenger-fields input,
.passenger-fields select {
  width: 100%;
  padding: .55rem .65rem;
  border: 2px solid #fed7aa;
  border-radius: 10px;
  font: inherit;
  font-weight: 700;
  background: #fff;
}
.passenger-actions {
  display: flex;
  align-items: center;
  gap: .65rem;
  flex-wrap: wrap;
}
.passenger-count {
  font-size: .8rem;
  font-weight: 800;
  color: #0f766e;
}

@media (max-width: 640px) {
  .book-page .nav {
    gap: 0.45rem;
    min-height: 52px;
    align-items: center;
  }
  .book-page .nav .logo span {
    font-size: 0.88rem;
    max-width: 9.5rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .book-page .nav-actions {
    flex-wrap: nowrap;
    justify-content: flex-end;
    gap: 0.35rem;
    flex-shrink: 1;
    min-width: 0;
  }
  .book-page .nav-actions .btn-sm {
    padding: 0.35rem 0.55rem;
    font-size: 0.72rem;
    max-width: 100%;
  }
  .book-page.has-ios-tabbar .nav-actions > a[href='/#services'],
  body.has-ios-tabbar.book-page .nav-actions > a[href='/#services'] {
    display: none !important;
  }
  .passenger-fields { grid-template-columns: 1fr; }
}

/* —— Brand colors + soft 3D (not white slate) —— */
.book-page .book-main {
  padding: 1.15rem 0.85rem 2.75rem;
  max-width: 720px;
  overflow-x: hidden;
}

.book-page .booking-card {
  border: 2px solid #fed7aa !important;
  border-radius: 24px !important;
  padding: 1.2rem 1rem 1.4rem !important;
  background: linear-gradient(180deg, #ffffff 0%, #fff7ed 100%) !important;
  box-shadow:
    0 16px 36px rgba(234, 88, 12, 0.12),
    0 5px 0 #fdba74,
    0 1px 0 #fff inset !important;
  overflow-x: clip;
  max-width: 100%;
}

.book-page .form-group {
  max-width: 100%;
  min-width: 0;
}

.book-page .form-row {
  min-width: 0;
}

.book-page .field-hint,
.book-page .hint {
  color: #78716c !important;
  font-weight: 650;
}

.book-page .brand-logo {
  border: 2px solid #fdba74;
  box-shadow: 0 6px 14px rgba(249, 115, 22, 0.18), 0 3px 0 #fb923c;
}

.book-page .brand-text strong { color: #9a3412; }
.book-page .brand-text span { color: #0f766e; }

.book-page .booking-header h1 {
  font-size: clamp(1.4rem, 3.5vw, 1.75rem);
  background: linear-gradient(90deg, #ea580c, #db2777, #0891b2);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.book-page .form-section-label {
  color: #c2410c;
  border: none;
  background: none;
  padding: 0;
  margin: 1rem 0 0.5rem;
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.book-page input:not([type='checkbox']):not([type='radio']):not([type='hidden']),
.book-page select,
.book-page textarea {
  border: 1.5px solid #fed7aa !important;
  border-radius: 12px !important;
  background: #fff !important;
  box-shadow: 0 2px 0 #fdba74 !important;
}

.book-page input:focus,
.book-page select:focus,
.book-page textarea:focus {
  border-color: #fb923c !important;
  box-shadow: 0 2px 0 #fb923c, 0 0 0 3px rgba(249, 115, 22, 0.12) !important;
}

.book-page .amount-input-row {
  border: 1.5px solid #fed7aa;
  box-shadow: 0 2px 0 #fdba74;
}

.book-page .amount-prefix {
  color: #9a3412;
  background: #ffedd5;
  border-right: 1.5px solid #fed7aa;
}

.book-page .book-terms-check,
.book-page .pay-ack-check {
  border: 1.5px solid #fed7aa;
  background: #fff7ed;
  box-shadow: 0 2px 0 #fdba74;
  border-radius: 14px;
}

.book-page .book-pay-tip,
.book-page .pay-warning.book-pay-tip {
  margin: 0.45rem 0 0;
  padding: 0.55rem 0.75rem;
  border-radius: 12px;
  border: 1px solid #fdba74;
  background: #fff7ed;
  color: #9a3412;
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.4;
}

.book-notice {
  margin: 0.85rem 0;
  padding: 0.65rem 0.85rem;
  border-radius: 14px;
  border: 1.5px solid #fdba74;
  background: #fff7ed;
  box-shadow: 0 2px 0 #fdba74;
}

.book-notice summary {
  cursor: pointer;
  font-weight: 900;
  color: #9a3412;
  list-style: none;
}

.book-notice summary::-webkit-details-marker { display: none; }
.book-notice summary::after {
  content: ' ▾';
  font-weight: 800;
  color: #ea580c;
}

.book-notice[open] summary::after { content: ' ▴'; }

.book-notice ul {
  margin: 0.55rem 0 0;
  padding-left: 1.1rem;
  display: grid;
  gap: 0.3rem;
}

.book-notice li {
  font-size: 0.85rem;
  font-weight: 700;
  color: #78716c;
  line-height: 1.4;
}

.book-page .digital-pricing-note {
  border: 1.5px solid #7dd3fc;
  background: linear-gradient(160deg, #f0f9ff, #ecfeff);
  box-shadow: 0 2px 0 #7dd3fc;
  border-radius: 14px;
  padding: 0.75rem 0.9rem;
}

.book-page .ticket-qty-section,
.book-page .passenger-section {
  border: 1.5px solid #fed7aa;
  background: linear-gradient(180deg, #fff, #fff7ed);
  box-shadow: 0 2px 0 #fdba74;
}

.book-page .passenger-card {
  border: 1px dashed #fdba74;
}

.book-page .passenger-card-head strong { color: #9a3412; }

.book-page .book-footer-links {
  border-top: 1px dashed #fed7aa;
}

.book-page .book-footer-links a { color: #ea580c; }

.book-page #submitBtn,
.book-page button[type='submit'].btn-primary {
  border: none;
  border-radius: 16px;
  background: linear-gradient(180deg, #fb923c, #ea580c);
  box-shadow: 0 5px 0 #c2410c, 0 12px 24px rgba(234, 88, 12, 0.28);
}

.book-page #submitBtn:active {
  transform: translateY(3px);
  box-shadow: 0 2px 0 #c2410c;
}

.book-page .pay-amount-alert,
.book-page .pay-alert {
  display: none !important;
}
