/*
Theme Name: Hike Lion's Head 4.1
Theme URI: https://hikelionshead.co.za/
Author: Hike Lion's Head
Description: Code 4.0 site design with the Stripe card, Apple Pay / Google Pay and PayPal checkout, booking ledger, emails and booking-funnel analytics. Payment keys: Settings → Hike Payments. Bookings and the funnel report: wp-admin → Bookings.
Version: 4.1.3
Requires at least: 6.3
Requires PHP: 7.4
Text Domain: hike-lions-head
*/

/* ==========================================================================
   Code 4.0 styles (unchanged)
   ========================================================================== */
:root {
  --bg: #fff;
  --bg-elev: #fff;
  --bg-card: #f4f4f5;
  --bg-card-hi: #e4e4e7;
  --fg: #000;
  --fg-dim: #3f3f46;
  --fg-faint: #71717a;
  --border: rgba(0, 0, 0, 0.08);
  --border-hi: rgba(0, 0, 0, 0.15);
  --accent: #e85d04;
  --accent-deep: #c2410c;
  --accent-light: rgba(232, 93, 4, 0.1);
  --success: #059669;
  --success-light: rgba(5, 150, 105, 0.1);
  --warning: #d97706;
  --warning-light: rgba(217, 119, 6, 0.1);
  --danger: #dc2626;
  --stripe: #635bff;
  --paypal: #0070ba;
  --paypal-light: rgba(0, 112, 186, 0.08);
  --whatsapp: #25d366;
  --whatsapp-dark: #128c7e;
}
* {
  -webkit-tap-highlight-color: transparent;
  box-sizing: border-box;
}
html,
body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: "Calibri", "Arial", "Helvetica Neue", Helvetica, sans-serif;
  -webkit-font-smoothing: antialiased;
  height: 100%;
}
body {
  display: flex;
  justify-content: center;
}
/* Text (booking reference, phone numbers, emails…) can be selected and copied;
   only buttons and tabs opt out, so a long-press on them doesn't select text. */
button,
.nav-btn,
.pay-tab,
.cta-button,
.chat-quick-reply,
.cal-day,
.cal-nav,
.sel-chip,
.step-item,
.live-feed-box,
.lf-book-btn,
.lf-fs-book-btn,
.faq-question,
.check-item,
.legal-tab {
  -webkit-user-select: none;
  user-select: none;
}
input,
textarea {
  user-select: text;
}
.phone-shell {
  width: 100%;
  max-width: 480px;
  height: 100dvh;
  background: var(--bg);
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.05);
}
@media (min-width: 768px) {
  html,
  body {
    background: #e8ecef;
  }
  .phone-shell {
    margin-top: 20px;
    margin-bottom: 20px;
    height: calc(100dvh - 40px) !important;
    border-radius: 24px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    border: 1px solid var(--border);
  }
  .app-header {
    border-top-left-radius: 24px;
    border-top-right-radius: 24px;
  }
  .floating-cta {
    border-bottom-left-radius: 24px;
    border-bottom-right-radius: 24px;
  }
  .app-footer {
    border-bottom-left-radius: 24px;
    border-bottom-right-radius: 24px;
    overflow: hidden;
  }
}
.app-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.98);
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}
.title-bar {
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.title-block {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  cursor: pointer;
}
.logo-mark {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-deep) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
}
.logo-mark::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0%, transparent 50%);
}
.logo-mark svg {
  width: 22px;
  height: 22px;
  color: #fff;
  position: relative;
  z-index: 1;
}
.title-text {
  min-width: 0;
}
.title-text h1 {
  font-family: "Times New Roman", Times, serif;
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 0.3px;
  margin: 0;
  color: var(--fg);
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.title-text .sub {
  font-size: 11px;
  color: var(--fg-dim);
  letter-spacing: 0.5px;
  font-weight: 500;
  margin-top: 1px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.header-actions {
  display: flex;
  gap: 6px;
  align-items: center;
  flex-shrink: 0;
}
.icon-btn {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.04);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--fg);
  cursor: pointer;
  transition:
    transform 0.15s,
    background 0.2s;
}
.icon-btn:active {
  transform: scale(0.92);
}
.icon-btn:hover {
  background: var(--accent-light);
  color: var(--accent);
  border-color: var(--accent);
}
.icon-btn svg {
  width: 20px;
  height: 20px;
}
.header-book-btn {
  height: 40px;
  padding: 0 16px;
  border-radius: 8px;
  background: var(--accent);
  color: #fff;
  border: none;
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.3px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition:
    transform 0.15s,
    background 0.2s;
}
.header-book-btn:active {
  transform: scale(0.95);
}
.header-back-btn {
  display: none;
}
.advisory-banner {
  padding: 8px 16px;
  background: var(--bg-card);
  border-bottom: 1px solid var(--border);
  font-size: 12px;
  color: var(--fg-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-align: center;
  font-weight: 600;
  line-height: 1.4;
}
.advisory-banner svg {
  width: 14px;
  height: 14px;
  color: var(--accent);
  flex-shrink: 0;
}
.weather-strip {
  display: flex;
  gap: 0;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  overflow-x: auto;
  scrollbar-width: none;
}
.weather-strip::-webkit-scrollbar {
  display: none;
}
.weather-day {
  flex: 1;
  min-width: 48px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
.weather-day .wd-name {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: var(--fg-dim);
  text-transform: uppercase;
}
.weather-day .wd-icon {
  width: 24px;
  height: 24px;
  color: var(--fg);
}
.weather-day .wd-temp {
  font-size: 13px;
  font-weight: 700;
  color: var(--fg);
}
.weather-day.today {
  background: var(--accent-light);
  border: 1px solid var(--accent);
  border-radius: 8px;
  margin: -4px -2px;
  padding: 4px 8px;
}
.weather-day.today .wd-name,
.weather-day.today .wd-icon,
.weather-day.today .wd-temp {
  color: var(--accent);
}
.status-banner {
  margin: 16px;
  background: var(--success);
  color: #fff;
  border-radius: 12px;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 10px 20px -8px rgba(5, 150, 105, 0.4);
}
.status-banner .sb-left {
  display: flex;
  align-items: center;
  gap: 12px;
}
.status-banner .sb-icon {
  width: 40px;
  height: 40px;
  background: #fff;
  color: var(--success);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.status-banner .sb-icon svg {
  width: 22px;
  height: 22px;
  stroke-width: 3;
}
.status-banner .sb-title {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1px;
  opacity: 0.9;
  font-weight: 700;
}
.status-banner .sb-value {
  font-size: 20px;
  font-weight: 800;
  font-family: "Times New Roman", Times, serif;
  letter-spacing: 0.3px;
}
.status-banner .sb-time {
  font-size: 12px;
  font-weight: 600;
  opacity: 0.9;
  text-align: right;
}
.app-content {
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  position: relative;
  scrollbar-width: none;
}
.app-content::-webkit-scrollbar {
  display: none;
}
.panel {
  display: none;
  animation: panelIn 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  padding-bottom: 100px;
}
.panel.active {
  display: block;
}
@keyframes panelIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.hero {
  position: relative;
  height: 320px;
  overflow: hidden;
  background: #000;
}
.hero-media {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.2) 0%, transparent 40%, rgba(0, 0, 0, 0.6) 80%, var(--bg) 100%);
  pointer-events: none;
  z-index: 2;
}
.hero-label {
  position: absolute;
  top: 20px;
  left: 16px;
  right: 16px;
  z-index: 3;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 8px;
}
.hero-tag {
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: #fff;
  padding: 6px 12px;
  border-radius: 100px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}
.hero-title-block {
  position: absolute;
  bottom: 24px;
  left: 22px;
  right: 22px;
  z-index: 3;
  color: #fff;
}
.hero-title-block .kicker {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 8px;
}
.hero-title-block h2 {
  font-family: "Times New Roman", Times, serif;
  font-weight: 700;
  font-size: 44px;
  line-height: 1;
  margin: 0;
  letter-spacing: -1px;
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.5);
}
.hero-title-block h2 em {
  font-style: italic;
  font-weight: 400;
  color: #e4e4e7;
}
.hero-title-block .meta {
  margin-top: 12px;
  display: flex;
  gap: 16px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.95);
  font-weight: 500;
}
.hero-title-block .meta-item {
  display: flex;
  align-items: center;
  gap: 5px;
}
.hero-title-block .meta svg {
  width: 14px;
  height: 14px;
  opacity: 0.9;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  padding: 0 16px;
  margin-top: -40px;
  position: relative;
  z-index: 5;
}
.stat-card {
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid var(--border-hi);
  border-radius: 12px;
  padding: 14px 16px;
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.15);
  position: relative;
  overflow: hidden;
}
.stat-card .icon-bg {
  position: absolute;
  right: -8px;
  top: -8px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.04);
  display: flex;
  align-items: center;
  justify-content: center;
}
.stat-card .icon-bg svg {
  width: 22px;
  height: 22px;
  color: var(--fg-dim);
}
.stat-card .label {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--fg-dim);
  font-weight: 700;
  position: relative;
  z-index: 1;
}
.stat-card .value {
  font-family: "Times New Roman", Times, serif;
  font-weight: 700;
  font-size: 26px;
  line-height: 1.1;
  color: var(--fg);
  margin-top: 6px;
  display: flex;
  align-items: baseline;
  gap: 4px;
  position: relative;
  z-index: 1;
}
.stat-card .unit {
  font-size: 12px;
  color: var(--fg-dim);
  font-weight: 500;
  font-family: "Calibri", "Arial", sans-serif;
}
.section-head {
  padding: 28px 20px 14px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
}
.section-head .title-block h2 {
  font-family: "Times New Roman", Times, serif;
  font-weight: 700;
  font-size: 24px;
  margin: 0;
  line-height: 1.1;
  letter-spacing: -0.3px;
}
.section-head .title-block h2 em {
  font-style: italic;
  font-weight: 400;
  color: var(--accent);
}
.section-head .sub {
  color: var(--fg-dim);
  font-size: 12px;
  font-weight: 500;
  margin-top: 4px;
}
.intro-card {
  margin: 0 16px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px;
}
.intro-card p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--fg);
}
.intro-card p + p {
  margin-top: 12px;
}
.intro-card .drop {
  font-family: "Times New Roman", Times, serif;
  font-weight: 700;
  font-size: 48px;
  line-height: 0.8;
  float: left;
  margin: 6px 8px 0 0;
  color: var(--accent);
}
.elev-card {
  margin: 14px 16px 0;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 18px;
}
.elev-card .head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 14px;
}
.elev-card .head h4 {
  font-size: 13px;
  font-weight: 700;
  margin: 0;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  color: var(--fg);
}
.elev-card .head .max {
  font-family: "Times New Roman", Times, serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--accent);
}
.elev-svg {
  width: 100%;
  height: 80px;
  display: block;
}
.elev-x {
  display: flex;
  justify-content: space-between;
  margin-top: 6px;
  font-size: 10px;
  color: var(--fg-faint);
  font-weight: 600;
}
.route-intro {
  margin: 16px 16px 0;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px 18px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.route-intro .icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--accent-light);
  border: 1px solid var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.route-intro .icon-wrap svg {
  width: 22px;
  height: 22px;
  color: var(--accent);
}
.route-intro .text {
  flex: 1;
}
.route-intro .text h2 {
  margin: 0 0 2px;
  font-size: 14px;
  font-weight: 700;
}
.route-intro .text p {
  margin: 0;
  font-size: 12px;
  color: var(--fg-dim);
  line-height: 1.4;
}
.timeline {
  padding: 22px 18px 0;
  position: relative;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 27px;
  top: 28px;
  bottom: 24px;
  width: 2px;
  background: linear-gradient(180deg, var(--fg) 0%, var(--fg-dim) 40%, var(--fg-faint) 80%, transparent 100%);
  opacity: 0.4;
}
.t-step {
  position: relative;
  padding-left: 56px;
  padding-bottom: 22px;
}
.t-step:last-child {
  padding-bottom: 8px;
}
.t-step .node {
  position: absolute;
  left: 16px;
  top: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--bg);
  border: 3px solid var(--fg);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  box-shadow: 0 0 0 4px rgba(0, 0, 0, 0.05);
}
.t-step .node-num {
  font-size: 9px;
  font-weight: 800;
  color: var(--fg);
  letter-spacing: 0.3px;
}
.t-step.warn .node {
  border-color: var(--warning);
  box-shadow: 0 0 0 4px var(--warning-light);
  background: var(--bg-card);
}
.t-step.warn .node-num {
  color: var(--warning);
}
.t-step.summit .node {
  background: var(--accent);
  border-color: var(--accent);
  box-shadow:
    0 0 0 4px var(--accent-light),
    0 0 20px rgba(232, 93, 4, 0.4);
}
.t-step.summit .node-num {
  color: #fff;
}
.t-step .card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px 16px;
}
.t-step .head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 6px;
}
.t-step .head h4 {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.1px;
}
.t-step .badge {
  font-size: 10px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 100px;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  background: rgba(0, 0, 0, 0.08);
  color: var(--fg);
  flex-shrink: 0;
}
.t-step.warn .badge {
  background: var(--warning-light);
  color: var(--warning);
  border: 1px solid var(--warning);
}
.t-step.summit .badge {
  background: var(--accent);
  color: #fff;
}
.t-step p {
  margin: 0;
  font-size: 13px;
  line-height: 1.55;
  color: var(--fg-dim);
}
.t-step .stats {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px dashed var(--border-hi);
  display: flex;
  gap: 14px;
  font-size: 11px;
  color: var(--fg-faint);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.alert-card {
  margin: 16px 16px 0;
  background: var(--bg-card);
  border: 1px solid var(--warning);
  border-radius: 12px;
  padding: 18px;
  position: relative;
  overflow: hidden;
}
.alert-card::before {
  content: "";
  position: absolute;
  top: -30px;
  right: -30px;
  width: 120px;
  height: 120px;
  background: radial-gradient(circle, var(--warning-light) 0%, transparent 70%);
}
.alert-card .alert-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  position: relative;
}
.alert-card .alert-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--warning);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #fff;
}
.alert-card .alert-icon svg {
  width: 18px;
  height: 18px;
  stroke-width: 2.5;
}
.alert-card h3 {
  margin: 0;
  font-family: "Times New Roman", Times, serif;
  font-size: 17px;
  font-weight: 700;
  color: var(--warning);
}
.alert-card p {
  margin: 0;
  font-size: 13px;
  line-height: 1.6;
  color: var(--fg);
  position: relative;
}
.alert-card p + p {
  margin-top: 8px;
}
.alert-card strong {
  color: var(--warning);
  font-weight: 800;
}
.checklist {
  margin: 16px 16px 0;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px 6px 10px;
}
.checklist .head {
  padding: 0 12px 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.checklist .head h4 {
  margin: 0;
  font-size: 14px;
  font-weight: 700;
}
.checklist .progress-text {
  font-size: 11px;
  color: var(--fg-dim);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.checklist .progress-text .filled {
  color: var(--success);
}
.checklist .progress-bar {
  height: 4px;
  background: rgba(0, 0, 0, 0.05);
  border-radius: 4px;
  margin: 0 12px 12px;
  overflow: hidden;
}
.checklist .progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--success) 0%, #34d399 100%);
  border-radius: 4px;
  transition: width 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  width: 0%;
  box-shadow: 0 0 8px rgba(5, 150, 105, 0.4);
}
.check-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  cursor: pointer;
  border-radius: 8px;
  transition: background 0.15s;
  min-height: 48px;
}
.check-item:active {
  background: rgba(0, 0, 0, 0.03);
}
.check-item .check-box {
  width: 24px;
  height: 24px;
  border-radius: 6px;
  border: 2px solid var(--fg-faint);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.25s cubic-bezier(0.22, 1, 0.36, 1);
  background: transparent;
}
.check-item .check-box svg {
  width: 16px;
  height: 16px;
  color: #fff;
  opacity: 0;
  transform: scale(0.5);
  transition: all 0.25s cubic-bezier(0.22, 1, 0.36, 1);
  stroke-width: 3;
}
.check-item.checked .check-box {
  background: var(--success);
  border-color: var(--success);
}
.check-item.checked .check-box svg {
  opacity: 1;
  transform: scale(1);
}
.check-item .label {
  font-size: 14px;
  font-weight: 500;
  color: var(--fg);
  transition: all 0.25s;
  flex: 1;
}
.check-item.checked .label {
  color: var(--fg-faint);
  text-decoration: line-through;
  text-decoration-color: var(--success);
  text-decoration-thickness: 2px;
}
.emergency-card {
  margin: 16px 16px 0;
  background: var(--bg-card);
  border: 1px solid var(--border-hi);
  border-radius: 12px;
  padding: 16px 18px;
}
.emergency-card h4 {
  margin: 0 0 12px;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--fg);
  display: flex;
  align-items: center;
  gap: 8px;
}
.emergency-card h4 svg {
  width: 14px;
  height: 14px;
  color: var(--danger);
}
.emergency-card .row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
}
.emergency-card .row:last-child {
  border-bottom: none;
}
.emergency-card .row .name {
  color: var(--fg-dim);
}
.emergency-card .row .num {
  font-family: "Times New Roman", Times, serif;
  font-weight: 700;
  color: var(--fg);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.5px;
}
.time-card {
  margin: 0 16px 14px;
  border-radius: 12px;
  padding: 18px;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border);
  color: #fff;
}
.time-card.sunrise {
  background: linear-gradient(135deg, #78350f 0%, #b45309 50%, #fbbf24 100%);
}
.time-card.sunset {
  background: linear-gradient(135deg, #9a3412 0%, #c2410c 50%, #ea580c 100%);
}
.time-card.fullmoon {
  background: linear-gradient(135deg, #1e293b 0%, #334155 50%, #475569 100%);
}
.time-card .head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  position: relative;
  z-index: 2;
}
.time-card .icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.18);
}
.time-card .icon-wrap svg {
  width: 22px;
  height: 22px;
  color: inherit;
}
.time-card .badge {
  background: rgba(255, 255, 255, 0.2);
  color: inherit;
  font-size: 10px;
  font-weight: 700;
  padding: 5px 10px;
  border-radius: 100px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  border: 1px solid rgba(255, 255, 255, 0.25);
}
.time-card.sunset .badge {
  background: rgba(0, 0, 0, 0.2);
  border-color: rgba(0, 0, 0, 0.25);
}
.time-card .content {
  position: relative;
  z-index: 2;
  margin-top: 14px;
}
.time-card h3 {
  font-family: "Times New Roman", Times, serif;
  font-weight: 700;
  font-size: 24px;
  margin: 0;
  letter-spacing: -0.3px;
}
.time-card h3 em {
  font-style: italic;
  font-weight: 400;
  opacity: 0.8;
}
.tc-times {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  margin: 16px 0 14px;
  position: relative;
  z-index: 2;
}
.tc-box {
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  padding: 10px 2px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.tc-box span {
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  opacity: 0.85;
  font-weight: 700;
  line-height: 1.2;
}
.tc-box strong {
  font-family: "Times New Roman", Times, serif;
  font-size: 14px;
  letter-spacing: -0.3px;
}
.time-card.sunset .tc-box {
  background: rgba(0, 0, 0, 0.2);
  border-color: rgba(0, 0, 0, 0.25);
}
.time-card .desc {
  margin-top: 8px;
  font-size: 13px;
  line-height: 1.5;
  opacity: 0.9;
  position: relative;
  z-index: 2;
}
.time-card .visual {
  position: absolute;
  right: -20px;
  top: -10px;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  opacity: 0.35;
  pointer-events: none;
  filter: blur(15px);
}
.time-card.sunrise .visual {
  background: radial-gradient(circle, #fff 0%, transparent 70%);
}
.time-card.sunset .visual {
  background: radial-gradient(circle, #fdba74 0%, transparent 70%);
}
.time-card.fullmoon .visual {
  background: radial-gradient(circle, #93c5fd 0%, transparent 70%);
  width: 100px;
  height: 100px;
  right: 20px;
  top: 20px;
  opacity: 0.8;
}
.moon-card {
  margin: 0 16px 14px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 18px;
}
.moon-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}
.moon-head .moon-vis {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #fff 0%, #d4d4d8 60%, #52525b 100%);
  box-shadow: inset -5px -5px 0 -1px rgba(0, 0, 0, 0.2);
  flex-shrink: 0;
}
.moon-head .moon-head-text h4 {
  margin: 0;
  font-size: 14px;
  font-weight: 700;
  color: var(--fg);
}
.moon-head .moon-head-text p {
  margin: 2px 0 0;
  font-size: 11px;
  color: var(--fg-dim);
}
.moon-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.moon-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 12px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
}
.moon-row .m-date {
  font-family: "Times New Roman", Times, serif;
  font-weight: 700;
  font-size: 13px;
  color: var(--fg);
}
.moon-row .m-count {
  font-size: 10px;
  color: var(--accent);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}
.info-grid-2 {
  margin: 0 16px 14px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.notice-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: center;
  text-align: center;
}
.notice-card .notice-icon {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: var(--warning-light);
  color: var(--warning);
  display: flex;
  align-items: center;
  justify-content: center;
}
.notice-card .notice-icon svg {
  width: 22px;
  height: 22px;
}
.notice-card .notice-label {
  font-size: 12px;
  font-weight: 700;
  color: var(--fg);
  line-height: 1.3;
}
.season-card {
  margin: 0 16px 14px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.season-top {
  display: flex;
  align-items: center;
  gap: 14px;
}
.season-card .notice-icon {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: var(--accent-light);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.season-card .notice-icon svg {
  width: 22px;
  height: 22px;
}
.season-card .notice-content {
  flex: 1;
}
.season-card .notice-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--fg);
  margin: 0 0 2px;
}
.season-card .notice-sub {
  font-size: 12px;
  color: var(--fg-dim);
  margin: 0;
}
.season-visual {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 4px;
}
.season-visual span {
  font-size: 10px;
  text-align: center;
  padding: 6px 0;
  border-radius: 4px;
  background: rgba(0, 0, 0, 0.04);
  color: var(--fg-faint);
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
}
.season-visual span.peak {
  background: var(--accent-light);
  color: var(--accent);
  border: 1px solid var(--accent);
}
.quick-info {
  margin: 0 16px 14px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.qi-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 14px;
}
.qi-card .label {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: var(--fg-dim);
}
.qi-card .value {
  font-family: "Times New Roman", Times, serif;
  font-weight: 700;
  font-size: 20px;
  margin-top: 4px;
  color: var(--fg);
}
.qi-card .sub {
  font-size: 11px;
  color: var(--fg-faint);
  margin-top: 2px;
}
.book-header {
  padding: 20px 20px 0;
}
.book-header .bh-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}
.book-header .bh-top h2 {
  font-family: "Times New Roman", Times, serif;
  font-weight: 700;
  font-size: 26px;
  margin: 0;
  letter-spacing: -0.5px;
}
.book-header .bh-top h2 em {
  font-style: italic;
  font-weight: 400;
  color: var(--accent);
}
.bh-price {
  display: flex;
  align-items: baseline;
  gap: 2px;
  background: var(--accent-light);
  border: 1px solid var(--accent);
  padding: 6px 12px;
  border-radius: 100px;
}
.bh-price .cur {
  font-size: 12px;
  font-weight: 600;
  color: var(--accent);
}
.bh-price .amt {
  font-family: "Times New Roman", Times, serif;
  font-weight: 700;
  font-size: 18px;
  color: var(--accent);
  letter-spacing: -0.3px;
}
.bh-price .pp {
  font-size: 10px;
  color: var(--accent);
  font-weight: 600;
}
.step-title {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  text-align: center;
}
.step-title-text {
  min-width: 0;
  width: 100%;
  text-align: center;
}
.step-title-text h3 {
  margin: 0 0 4px 0;
  font-family: "Times New Roman", Times, serif;
  font-weight: 700;
  font-size: 22px;
  letter-spacing: -0.3px;
}
.step-title-text p {
  margin: 0;
  font-size: 13px;
  color: var(--fg-dim);
}
.mini-info-row {
  display: flex;
  align-items: center;
  gap: 6px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 6px 10px;
  font-size: 10px;
  font-weight: 700;
  white-space: nowrap;
  align-self: center;
  max-width: calc(100% - 20px);
}
.mini-info-row .mini-timer {
  color: #dc2626;
  display: flex;
  align-items: center;
  gap: 5px;
}
.mini-info-row .mini-timer svg {
  width: 12px;
  height: 12px;
}
.mini-info-row .mini-divider {
  width: 1px;
  height: 12px;
  background: var(--border-hi);
}
.mini-info-row .mini-booked {
  color: var(--success);
  display: flex;
  align-items: center;
  gap: 5px;
}
.mini-info-row .mini-justnow {
  color: #d97706;
  display: flex;
  align-items: center;
  gap: 5px;
}
.pulse-dot {
  width: 8px;
  height: 8px;
  background: #4ade80;
  border-radius: 50%;
  animation: pulseDot 1.5s infinite;
  box-shadow: 0 0 6px #4ade80;
}
@keyframes pulseDot {
  0% {
    box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.4);
  }
  70% {
    box-shadow: 0 0 0 6px rgba(74, 222, 128, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(74, 222, 128, 0);
  }
}
.pulse-dot-yellow {
  width: 8px;
  height: 8px;
  background: #fbbf24;
  border-radius: 50%;
  animation: pulseDotYellow 1.2s infinite;
  box-shadow: 0 0 6px #fbbf24;
}
@keyframes pulseDotYellow {
  0% {
    box-shadow: 0 0 0 0 rgba(251, 191, 36, 0.5);
  }
  70% {
    box-shadow: 0 0 0 6px rgba(251, 191, 36, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(251, 191, 36, 0);
  }
}
.mini-reviews {
  width: 100%;
  margin-top: 12px;
  min-height: 72px;
  position: relative;
  overflow: hidden;
}
.mini-review-item {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
  text-align: center;
  padding: 8px 12px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
}
.mini-review-item.active {
  opacity: 1;
}
.mr-stars {
  color: #fbbf24;
  font-size: 12px;
  margin-bottom: 4px;
  letter-spacing: 1px;
}
.mr-text {
  font-size: 12px;
  color: var(--fg-dim);
  font-style: italic;
  line-height: 1.4;
  margin-bottom: 4px;
}
.mr-author {
  font-size: 11px;
  font-weight: 700;
  color: var(--fg);
}
.step-bar {
  position: sticky;
  top: 0;
  background: var(--bg);
  z-index: 15;
  padding: 16px 56px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
}
.step-back {
  position: absolute;
  left: 12px;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.04);
  border: 1px solid var(--border);
  color: var(--fg);
  font-size: 20px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: all 0.15s;
  font-family: inherit;
}
.step-back:active {
  transform: scale(0.92);
}
.step-back.hidden {
  display: none;
}
.step-forward {
  position: absolute;
  right: 12px;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.04);
  border: 1px solid var(--border);
  color: var(--fg);
  font-size: 20px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: all 0.15s;
  font-family: inherit;
}
.step-forward:active {
  transform: scale(0.92);
}
.step-forward.hidden {
  display: none;
}
.step-forward.disabled {
  opacity: 0.25;
  pointer-events: none;
}
.step-progress {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
  gap: 0;
  width: 100%;
}
.step-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
}
.step-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--fg-faint);
  transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}
.step-item.active .step-dot {
  background: var(--accent);
  box-shadow:
    0 0 0 4px var(--accent-light),
    0 0 12px var(--accent);
  transform: scale(1.2);
}
.step-item.completed .step-dot {
  background: var(--accent);
}
.step-text {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  color: var(--fg-faint);
  transition: color 0.3s;
}
.step-item.active .step-text {
  color: var(--accent);
}
.step-item.completed .step-text {
  color: var(--accent);
}
.step-line {
  flex: 1;
  height: 2px;
  background: var(--fg-faint);
  margin: 0 10px;
  margin-bottom: 14px;
  border-radius: 2px;
  transition: background 0.3s;
  max-width: 80px;
}
.step-line.completed {
  background: var(--accent);
}
.sel-bar {
  display: flex;
  gap: 8px;
  padding: 16px 20px;
  overflow-x: auto;
  scrollbar-width: none;
  background: var(--bg);
}
.sel-bar::-webkit-scrollbar {
  display: none;
}
.sel-chip {
  display: flex;
  align-items: center;
  gap: 5px;
  background: var(--bg-card);
  border: 1px solid var(--border-hi);
  border-radius: 100px;
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 600;
  color: var(--fg);
  flex-shrink: 0;
}
.sel-chip svg {
  width: 14px;
  height: 14px;
  color: var(--accent);
}
.sel-chip.empty {
  opacity: 0.4;
}
.sel-chip.empty svg {
  color: var(--fg-faint);
}
.book-step {
  display: none;
  animation: stepIn 0.35s cubic-bezier(0.22, 1, 0.36, 1);
  padding: 20px 16px;
  scroll-margin-top: 140px;
}
.book-step.active {
  display: block;
}
@keyframes stepIn {
  from {
    opacity: 0;
    transform: translateX(16px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
.calendar {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 18px;
  margin-bottom: 16px;
}
.cal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}
.cal-month {
  font-family: "Times New Roman", Times, serif;
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.2px;
}
.cal-nav {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.04);
  border: 1px solid var(--border);
  color: var(--fg);
  font-size: 20px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.15s;
  font-family: inherit;
}
.cal-nav:active {
  transform: scale(0.9);
}
.cal-nav.disabled {
  opacity: 0.25;
  pointer-events: none;
}
.cal-weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 2px;
  margin-bottom: 6px;
}
.cal-weekdays span {
  text-align: center;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: var(--fg-faint);
  text-transform: uppercase;
  padding: 4px 0;
}
.cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 2px;
}
.cal-day {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 600;
  color: var(--fg);
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.15s;
  position: relative;
  min-height: 40px;
}
.cal-day:active {
  transform: scale(0.92);
}
.cal-day.empty {
  pointer-events: none;
}
.cal-day.past {
  color: var(--fg-faint);
  opacity: 0.25;
  pointer-events: none;
}
.cal-day.today {
  border: 1px solid var(--accent);
  color: var(--accent);
}
.cal-day.selected {
  background: var(--accent);
  color: #fff;
  font-weight: 800;
  box-shadow: 0 4px 12px -2px rgba(232, 93, 4, 0.4);
}
.cal-day.selected::after {
  content: "";
  position: absolute;
  bottom: 3px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #fff;
}
.includes-card {
  background: var(--bg-card);
  border: 1px solid var(--border-hi);
  border-radius: 12px;
  padding: 18px;
  margin-top: 16px;
}
.includes-card .inc-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
  gap: 8px;
  flex-wrap: wrap;
}
.includes-card .inc-head h4 {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
}
.includes-card .inc-head .pickup-badges {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.includes-card .inc-head .pickup-badge {
  display: flex;
  align-items: center;
  gap: 4px;
  background: var(--success-light);
  border: 1px solid var(--success);
  color: var(--success);
  padding: 4px 10px;
  border-radius: 100px;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}
.includes-card .inc-head .pickup-badge svg {
  width: 12px;
  height: 12px;
}
.includes-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 14px;
}
.include-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--fg);
}
.include-item svg {
  width: 16px;
  height: 16px;
  color: var(--success);
  flex-shrink: 0;
  stroke-width: 2.5;
}
.not-includes-card {
  background: var(--bg-card);
  border: 1px solid var(--warning);
  border-radius: 12px;
  padding: 18px;
  margin-top: 12px;
}
.not-includes-card .inc-head {
  display: flex;
  align-items: center;
  margin-bottom: 14px;
}
.not-includes-card .inc-head h4 {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
  color: var(--warning);
}
.not-includes-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 14px;
}
.not-include-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--fg-dim);
}
.not-include-item svg {
  width: 16px;
  height: 16px;
  color: var(--warning);
  flex-shrink: 0;
  stroke-width: 2.5;
}
.calendar-popup {
  position: absolute;
  inset: 0;
  z-index: 600;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 12px;
}
.calendar-popup.show {
  display: flex;
}
.calendar-popup-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
}
.calendar-popup-card {
  position: relative;
  background: var(--bg);
  border-radius: 16px;
  padding: 16px;
  width: 100%;
  max-width: 320px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  z-index: 1;
  animation: calPopIn 0.3s cubic-bezier(0.22, 1, 0.36, 1);
  box-sizing: border-box;
  overflow: hidden;
}
.calendar-popup-header {
  text-align: center;
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 14px;
  color: var(--fg);
}
@keyframes calPopIn {
  from {
    opacity: 0;
    transform: scale(0.9) translateY(20px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}
.calendar-popup-card .calendar {
  margin-bottom: 0;
  width: 100%;
  box-sizing: border-box;
}
.calendar-popup-card .cal-grid {
  width: 100%;
  max-width: 100%;
}
.calendar-popup-card .cal-day {
  font-size: 14px;
  min-height: 36px;
}
.pay-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 4px;
  margin-bottom: 16px;
  scroll-margin-top: 110px;
}
.pay-tab {
  padding: 12px 6px;
  background: none;
  border: none;
  color: var(--fg-dim);
  font-family: inherit;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  min-height: 60px;
}
.pay-tab svg {
  width: 20px;
  height: 20px;
}
.pay-tab .tab-label {
  font-size: 11px;
  line-height: 1;
}
.pay-tab .tab-sub {
  font-size: 9px;
  font-weight: 600;
  opacity: 0.7;
  letter-spacing: 0.2px;
}
.pay-tab.active {
  background: var(--bg-elev);
  color: var(--fg);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}
.pay-tab.active[data-method="stripe"] {
  color: var(--stripe);
}
.pay-tab.active[data-method="paypal"] {
  color: var(--paypal);
}
.pay-tab.active[data-method="later"] {
  color: var(--success);
}
.pay-content {
  display: none;
  animation: stepIn 0.3s;
}
.pay-content.active {
  display: block;
}
.pay-section-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
  gap: 10px;
  flex-wrap: wrap;
}
.pay-section-head h4 {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
}
.card-brands-row {
  display: flex;
  gap: 6px;
}
.card-brand-badge {
  font-size: 9px;
  font-weight: 800;
  padding: 4px 6px;
  border-radius: 4px;
  background: var(--bg-card);
  color: var(--fg-faint);
  border: 1px solid var(--border);
  letter-spacing: 0.5px;
}
.card-brand-badge.visa {
  color: #1a1f71;
  background: rgba(26, 31, 113, 0.05);
}
.card-brand-badge.mc {
  color: #eb001b;
  background: rgba(235, 0, 27, 0.05);
}
.card-brand-badge.amex {
  color: #006fcf;
  background: rgba(0, 111, 207, 0.05);
}
.card-brand-badge.discover {
  color: #ff6000;
  background: rgba(255, 96, 0, 0.05);
}
.paypal-box {
  background: var(--paypal-light);
  border: 1px solid var(--paypal);
  border-radius: 12px;
  padding: 28px 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.paypal-box::before {
  content: "";
  position: absolute;
  top: -30px;
  right: -30px;
  width: 120px;
  height: 120px;
  background: radial-gradient(circle, var(--paypal-light) 0%, transparent 70%);
}
.paypal-box .pp-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  margin: 0 auto 16px;
  position: relative;
}
.paypal-box .pp-logo .pp-p {
  font-family: "Times New Roman", Times, serif;
  font-weight: 900;
  font-size: 36px;
  color: #003087;
  line-height: 1;
  letter-spacing: -2px;
}
.paypal-box .pp-logo .pp-p.second {
  color: #0070ba;
}
.paypal-box p {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: var(--fg-dim);
  position: relative;
}
.paypal-box p strong {
  color: var(--fg);
}
.paypal-box .pp-features {
  display: flex;
  justify-content: center;
  gap: 18px;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid rgba(0, 112, 186, 0.2);
  position: relative;
}
.paypal-box .pp-feature {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 10px;
  font-weight: 700;
  color: var(--paypal);
  text-transform: uppercase;
  letter-spacing: 0.3px;
}
.paypal-box .pp-feature svg {
  width: 12px;
  height: 12px;
}
.paylater-box {
  background: var(--success-light);
  border: 1px solid var(--success);
  border-radius: 12px;
  padding: 24px 20px;
  text-align: left;
  position: relative;
  overflow: hidden;
}
.paylater-box::before {
  content: "";
  position: absolute;
  top: -30px;
  right: -30px;
  width: 120px;
  height: 120px;
  background: radial-gradient(circle, var(--success-light) 0%, transparent 70%);
}
.paylater-box .pl-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
  position: relative;
}
.paylater-box .pl-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--success);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #fff;
  box-shadow: 0 6px 14px -4px rgba(5, 150, 105, 0.5);
}
.paylater-box .pl-icon svg {
  width: 22px;
  height: 22px;
  stroke-width: 2.5;
}
.paylater-box .pl-head-text h4 {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  color: var(--fg);
}
.paylater-box .pl-head-text p {
  margin: 2px 0 0;
  font-size: 12px;
  color: var(--fg-dim);
}
.paylater-box .pl-desc {
  font-size: 13px;
  line-height: 1.6;
  color: var(--fg);
  margin: 0 0 14px;
  position: relative;
}
.paylater-box .pl-features {
  display: flex;
  flex-direction: column;
  gap: 8px;
  position: relative;
}
.paylater-box .pl-feature {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  color: var(--fg-dim);
}
.paylater-box .pl-feature svg {
  width: 16px;
  height: 16px;
  color: var(--success);
  flex-shrink: 0;
  stroke-width: 2.5;
}
.paylater-box .pl-note {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px dashed rgba(5, 150, 105, 0.3);
  font-size: 11px;
  color: var(--fg-faint);
  font-style: italic;
  line-height: 1.4;
  position: relative;
}
.powered-by {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 14px;
  font-size: 11px;
  font-weight: 600;
  color: var(--fg-faint);
  letter-spacing: 0.3px;
}
.powered-by svg {
  width: 14px;
  height: 14px;
}
.powered-by.stripe {
  color: var(--stripe);
}
.powered-by.paypal {
  color: var(--paypal);
}
.secure-note {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  padding: 12px 14px;
  background: rgba(0, 0, 0, 0.02);
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 12px;
  color: var(--fg-dim);
  line-height: 1.4;
}
.secure-note svg {
  width: 16px;
  height: 16px;
  color: var(--success);
  flex-shrink: 0;
}
.secure-note strong {
  color: var(--fg);
  font-weight: 700;
}
.floating-cta {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.98);
  border-top: 1px solid var(--border-hi);
  flex-shrink: 0;
  z-index: 15;
  padding-bottom: calc(12px + env(safe-area-inset-bottom, 0));
}
.cta-price {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.cta-price .cta-label {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--fg-dim);
  font-weight: 700;
}
.cta-price .cta-amount {
  font-family: "Times New Roman", Times, serif;
  font-weight: 700;
  font-size: 22px;
  color: var(--fg);
  letter-spacing: -0.3px;
  line-height: 1.1;
}
.cta-price.hidden {
  display: none;
}
.cta-button {
  flex: 1;
  height: 52px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-deep) 100%);
  color: #fff;
  border: none;
  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.3px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 8px 20px -6px rgba(232, 93, 4, 0.5);
  transition:
    transform 0.15s,
    opacity 0.2s;
  position: relative;
  overflow: hidden;
}
.cta-button:active {
  transform: scale(0.98);
}
.cta-button::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0%, transparent 60%);
  pointer-events: none;
}
.cta-button svg {
  width: 20px;
  height: 20px;
}
.cta-button.disabled {
  opacity: 0.4;
  pointer-events: none;
  background: var(--fg-faint);
  box-shadow: none;
}
.cta-button.loading {
  pointer-events: none;
}
.cta-button .spinner {
  width: 18px;
  height: 18px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
.app-footer {
  flex-shrink: 0;
  background: rgba(255, 255, 255, 0.98);
  border-top: 1px solid var(--border-hi);
  box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.05);
}
.bottom-nav {
  display: flex;
  padding: 6px 2px 2px;
  transition:
    padding 0.2s,
    font-size 0.2s;
}
.nav-btn {
  flex: 1;
  background: none;
  border: none;
  color: var(--fg-faint);
  padding: 8px 2px 4px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  font-family: inherit;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.3px;
  cursor: pointer;
  border-radius: 8px;
  transition:
    color 0.2s,
    padding 0.2s;
  position: relative;
}
.nav-btn svg {
  width: 20px;
  height: 20px;
  stroke-width: 2;
  transition:
    transform 0.3s cubic-bezier(0.22, 1, 0.36, 1),
    width 0.2s,
    height 0.2s;
}
.nav-btn.active {
  color: var(--accent);
}
.nav-btn.active svg {
  transform: translateY(-2px) scale(1.05);
}
.nav-btn.active::before {
  content: "";
  position: absolute;
  top: -6px;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 3px;
  background: var(--accent);
  border-radius: 0 0 4px 4px;
  box-shadow: 0 0 10px var(--accent);
}
/* Only the words are links — the empty space around them isn't, so taps
   meant for the tabs above don't open the privacy notice. */
.legal-links {
  text-align: center;
  line-height: 1;
  padding: 0 0 calc(4px + env(safe-area-inset-bottom, 0));
  pointer-events: none;
}
.privacy-link {
  pointer-events: auto;
  display: inline-block;
  font-size: 9px;
  color: var(--fg-faint);
  opacity: 0.8;
  text-decoration: none;
  padding: 1px 3px;
}
.privacy-link:hover {
  text-decoration: underline;
}
.legal-sep {
  display: inline-block;
  font-size: 9px;
  color: var(--fg-faint);
  opacity: 0.6;
  margin: 0 3px;
}
#confirmationPage {
  position: absolute;
  inset: 0;
  background: var(--bg);
  z-index: 300;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 16px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
#confirmationPage.show {
  display: flex;
}
.conf-card {
  width: 100%;
  max-width: 420px;
  background: #fff;
  padding: 14px 12px;
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}
.conf-header-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  justify-content: center;
  text-align: left;
}
.conf-icon {
  width: 36px;
  height: 36px;
  margin: 0;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--success) 0%, #047857 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px -4px rgba(5, 150, 105, 0.4);
  flex-shrink: 0;
}
.conf-icon svg {
  width: 20px;
  height: 20px;
  color: #fff;
  stroke-width: 3;
}
.conf-icon .ci-wait {
  display: none;
}
/* Payment still processing / not confirmed yet: amber clock, not a green tick. */
.conf-icon.is-pending {
  background: linear-gradient(135deg, var(--warning) 0%, #b45309 100%);
  box-shadow: 0 4px 14px -4px rgba(217, 119, 6, 0.4);
}
.conf-icon.is-pending .ci-ok {
  display: none;
}
.conf-icon.is-pending .ci-wait {
  display: block;
  stroke-width: 2.6;
}
.conf-card h3 {
  font-family: "Times New Roman", Times, serif;
  font-weight: 700;
  font-size: 18px;
  margin: 0;
  color: var(--fg);
  line-height: 1.2;
}
.conf-card .conf-sub {
  font-size: 11px;
  color: var(--fg-dim);
  margin: 0;
  line-height: 1.3;
}
.conf-details {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 8px 10px;
  margin-bottom: 10px;
  text-align: left;
}
.conf-section-label {
  font-size: 8px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--fg-faint);
  padding: 6px 0 2px;
  border-top: 1px solid var(--border);
}
.conf-section-label:first-child {
  border-top: none;
  padding-top: 0;
}
.conf-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 10px;
}
.conf-field {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 2px 0;
}
.conf-field .label {
  font-size: 8px;
  color: var(--fg-faint);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.conf-field .val {
  font-size: 12px;
  font-weight: 600;
  color: var(--fg);
  word-break: break-word;
}
.conf-field .val.interactive {
  color: var(--accent);
  cursor: pointer;
}
.conf-field.total .val {
  font-family: "Times New Roman", Times, serif;
  font-size: 14px;
  color: var(--accent);
}
.conf-field-full {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 2px 0;
}
.conf-field-full .label {
  font-size: 8px;
  color: var(--fg-faint);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.conf-field-full .val {
  font-size: 12px;
  font-weight: 600;
  color: var(--fg);
  word-break: break-word;
  text-align: left;
}
.conf-field-full .val.interactive {
  color: var(--accent);
  cursor: pointer;
}
.conf-photo-row {
  display: flex;
  gap: 12px;
  padding: 3px 0;
}
.conf-photo-block {
  display: flex;
  align-items: center;
  gap: 6px;
}
.conf-photo-block .detail-photo {
  width: 32px;
  height: 32px;
  object-fit: cover;
  border-radius: 6px;
  border: 1px solid var(--border-hi);
  background: #fff;
}
.conf-photo-block .val {
  font-size: 11px;
  font-weight: 600;
  color: var(--fg);
}
.conf-actions {
  display: flex;
  flex-direction: row;
  gap: 8px;
}
.conf-actions .cta-button {
  flex: 1;
  height: 44px;
  font-size: 13px;
  border-radius: 10px;
}
.conf-actions .cta-button.secondary-btn {
  background: var(--bg-card);
  color: var(--fg);
  box-shadow: none;
  border: 1px solid var(--border-hi);
}
.conf-actions .cta-button.secondary-btn:active {
  transform: scale(0.98);
  background: var(--bg-card-hi);
}
.toast {
  position: absolute;
  bottom: 130px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid var(--border-hi);
  color: var(--fg);
  padding: 12px 18px;
  border-radius: 22px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.35;
  opacity: 0;
  pointer-events: none;
  transition: all 0.35s cubic-bezier(0.22, 1, 0.36, 1);
  z-index: 1000;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
  display: flex;
  align-items: center;
  gap: 8px;
  width: max-content;
  max-width: min(340px, calc(100% - 32px));
}
.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
.toast svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  display: none;
}
/* Success = green tick; errors = red "!" (never a tick); info = neutral "i". */
.toast.is-success .t-ok {
  display: block;
  color: var(--success);
}
.toast.is-error {
  background: #fef2f2;
  border-color: rgba(220, 38, 38, 0.35);
  color: #7f1d1d;
}
.toast.is-error .t-err {
  display: block;
  color: var(--danger);
}
.toast.is-info .t-info {
  display: block;
  color: var(--fg-faint);
}
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition:
    opacity 0.6s,
    transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.phone-shell.on-book .title-bar {
  padding: 7px 12px;
  gap: 6px;
}
.phone-shell.on-book .title-block {
  gap: 8px;
}
.phone-shell.on-book .logo-mark {
  width: 28px;
  height: 28px;
  border-radius: 6px;
}
.phone-shell.on-book .logo-mark svg {
  width: 16px;
  height: 16px;
}
.phone-shell.on-book .title-text h1 {
  font-size: 14px;
  letter-spacing: 0.2px;
}
.phone-shell.on-book .title-text .sub {
  font-size: 9px;
  margin-top: 0;
  letter-spacing: 0.3px;
}
.phone-shell.on-book .header-actions {
  gap: 4px;
}
.phone-shell.on-book .icon-btn {
  width: 30px;
  height: 30px;
  border-radius: 6px;
}
.phone-shell.on-book .icon-btn svg {
  width: 15px;
  height: 15px;
}
.phone-shell.on-book #headerBookBtn {
  display: none;
}
.phone-shell.on-book #headerBackBtn {
  display: flex;
}
.phone-shell.on-book .weather-strip {
  padding: 6px 12px;
  gap: 4px;
}
.phone-shell.on-book .weather-day {
  min-width: 38px;
  gap: 3px;
}
.phone-shell.on-book .weather-day .wd-name {
  font-size: 9px;
}
.phone-shell.on-book .weather-day .wd-icon {
  width: 18px;
  height: 18px;
}
.phone-shell.on-book .weather-day .wd-temp {
  font-size: 11px;
}
.phone-shell.on-book .weather-day.today {
  padding: 2px 6px;
  margin: -2px -1px;
}
.phone-shell.on-book .advisory-banner {
  padding: 4px 12px;
  font-size: 10px;
  line-height: 1.3;
  gap: 6px;
}
.phone-shell.on-book .advisory-banner svg {
  width: 10px;
  height: 10px;
}
.phone-shell.on-book .book-header {
  padding: 8px 16px 0;
}
.phone-shell.on-book .book-header .bh-top {
  margin-bottom: 6px;
}
.phone-shell.on-book .book-header .bh-top h2 {
  font-size: 18px;
}
.phone-shell.on-book .bh-price {
  padding: 3px 9px;
}
.phone-shell.on-book .bh-price .amt {
  font-size: 14px;
}
.phone-shell.on-book .bh-price .cur {
  font-size: 10px;
}
.phone-shell.on-book .bh-price .pp {
  font-size: 9px;
}
.phone-shell.on-book .step-bar {
  padding: 6px 44px;
}
.phone-shell.on-book .step-back {
  width: 28px;
  height: 28px;
  font-size: 16px;
  left: 8px;
}
.phone-shell.on-book .step-forward {
  width: 28px;
  height: 28px;
  font-size: 16px;
  right: 8px;
}
.phone-shell.on-book .step-dot {
  width: 8px;
  height: 8px;
}
.phone-shell.on-book .step-text {
  font-size: 8px;
  letter-spacing: 0.2px;
}
.phone-shell.on-book .step-line {
  margin: 0 4px 11px;
}
.phone-shell.on-book .step-item.active .step-dot {
  box-shadow:
    0 0 0 3px var(--accent-light),
    0 0 8px var(--accent);
}
.phone-shell.on-book .sel-bar {
  padding: 6px 12px;
  gap: 6px;
}
.phone-shell.on-book .sel-chip {
  padding: 4px 8px;
  font-size: 10px;
  gap: 4px;
}
.phone-shell.on-book .sel-chip svg {
  width: 12px;
  height: 12px;
}
.phone-shell.on-book .book-step {
  padding: 14px 16px;
}
.phone-shell.on-book .bottom-nav {
  padding: 2px 2px 2px;
}
.phone-shell.on-book .nav-btn {
  padding: 4px 2px 2px;
  font-size: 8px;
  gap: 1px;
}
.phone-shell.on-book .nav-btn svg {
  width: 18px;
  height: 18px;
}
.phone-shell.on-book .nav-btn.active::before {
  top: -4px;
  height: 2px;
  width: 20px;
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
.pro-social-proof {
  margin: 0 16px 16px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px 14px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
  flex-wrap: wrap;
}
.pro-social-proof .psp-left {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 40px;
  padding-top: 2px;
}
.pro-social-proof .psp-score {
  font-family: "Times New Roman", Times, serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--fg);
  line-height: 1;
}
.pro-social-proof .psp-stars {
  color: #fbbf24;
  font-size: 11px;
  letter-spacing: 1px;
  margin-top: 2px;
}
.pro-social-proof .psp-divider {
  width: 1px;
  height: 36px;
  background: var(--border);
  flex-shrink: 0;
  margin-top: 4px;
}
.pro-social-proof .psp-mid {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
  padding-top: 2px;
}
.pro-social-proof .psp-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--fg);
}
.pro-social-proof .psp-sub {
  font-size: 11px;
  color: var(--fg-faint);
}
.pro-social-proof .psp-brands {
  flex-basis: 100%;
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
}
.pro-social-proof .psp-brand {
  font-size: 8px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--fg-dim);
  background: var(--bg-card);
  padding: 2px 5px;
  border-radius: 4px;
  text-decoration: none;
}
.pro-social-proof .psp-right {
  text-align: right;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  min-width: 60px;
  flex-shrink: 0;
  padding-top: 2px;
}
.pro-social-proof .psp-rank {
  font-family: "Times New Roman", Times, serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
}
.pro-social-proof .psp-rank-sub {
  font-size: 9px;
  color: var(--fg-dim);
  font-weight: 700;
  text-transform: uppercase;
  margin-top: 4px;
  letter-spacing: 0.3px;
  line-height: 1.2;
}
.live-feed-box {
  position: absolute;
  top: 56px;
  right: 14px;
  width: 124px;
  height: 172px;
  border-radius: 14px;
  overflow: hidden;
  border: 2.5px solid rgba(255, 255, 255, 0.95);
  box-shadow:
    0 8px 28px rgba(0, 0, 0, 0.45),
    0 0 0 1px rgba(0, 0, 0, 0.1);
  z-index: 5;
  cursor: pointer;
  background: #000;
  transition: transform 0.2s cubic-bezier(0.22, 1, 0.36, 1);
  animation: lfSlideIn 0.6s cubic-bezier(0.22, 1, 0.36, 1) 0.3s both;
}
@keyframes lfSlideIn {
  from {
    opacity: 0;
    transform: translateX(30px) scale(0.8);
  }
  to {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
}
.live-feed-box:active {
  transform: scale(0.95);
}
.live-feed-box:hover {
  transform: scale(1.04);
  border-color: var(--accent);
}
.live-feed-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.live-feed-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.55) 0%, transparent 22%, transparent 50%, rgba(0, 0, 0, 0.85) 100%);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 7px;
  pointer-events: none;
}
.lf-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 4px;
}
.lf-live-badge {
  background: #dc2626;
  color: #fff;
  padding: 3px 6px;
  border-radius: 4px;
  font-size: 8px;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 3px;
  letter-spacing: 0.5px;
}
.lf-live-dot {
  width: 5px;
  height: 5px;
  background: #fff;
  border-radius: 50%;
  animation: lfLivePulse 1s infinite;
}
@keyframes lfLivePulse {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.3;
    transform: scale(0.6);
  }
}
.lf-viewers {
  background: rgba(0, 0, 0, 0.7);
  color: #fff;
  padding: 3px 6px;
  border-radius: 4px;
  font-size: 8.5px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 3px;
  white-space: nowrap;
}
.lf-viewers svg {
  width: 9px;
  height: 9px;
}
.lf-viewers .count {
  color: #4ade80;
}
.lf-gifts {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}
.lf-gift {
  position: absolute;
  bottom: 38px;
  font-size: 15px;
  animation: lfFloatUp 3s ease-out forwards;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
}
@keyframes lfFloatUp {
  0% {
    transform: translateY(0) scale(0.3) rotate(0deg);
    opacity: 0;
  }
  15% {
    opacity: 1;
    transform: translateY(-15px) scale(1.15) rotate(-10deg);
  }
  30% {
    transform: translateY(-30px) scale(1) rotate(10deg);
  }
  100% {
    transform: translateY(-130px) scale(0.6) rotate(-20deg);
    opacity: 0;
  }
}
.lf-bottom {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.lf-streamer-name {
  color: #fff;
  font-size: 9.5px;
  font-weight: 700;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.9);
  display: flex;
  align-items: center;
  gap: 3px;
}
.lf-avatar {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  object-fit: contain;
  margin-right: 5px;
  vertical-align: middle;
}
.lf-streamer-name .verified {
  width: 11px;
  height: 11px;
  background: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.lf-streamer-name .verified svg {
  width: 7px;
  height: 7px;
  color: #fff;
  stroke-width: 3.5;
}
.lf-book-btn {
  pointer-events: auto;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-deep) 100%);
  color: #fff;
  border: none;
  padding: 5px 8px;
  border-radius: 6px;
  font-size: 10px;
  font-weight: 800;
  cursor: pointer;
  width: 100%;
  font-family: inherit;
  letter-spacing: 0.3px;
  box-shadow: 0 4px 10px -2px rgba(232, 93, 4, 0.6);
  transition: transform 0.15s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
}
.lf-book-btn:active {
  transform: scale(0.92);
}
.lf-book-btn svg {
  width: 11px;
  height: 11px;
}
.lf-tap-hint {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(0, 0, 0, 0.7);
  color: #fff;
  padding: 4px 9px;
  border-radius: 100px;
  font-size: 8.5px;
  font-weight: 700;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  border: 1px solid rgba(255, 255, 255, 0.2);
  animation: lfHintShow 4s ease-in-out 1.5s;
}
@keyframes lfHintShow {
  0%,
  100% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.8);
  }
  20%,
  80% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
}
.live-fullscreen {
  position: absolute;
  inset: 0;
  background: #000;
  z-index: 500;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.live-fullscreen.show {
  display: flex;
}
.lf-fs-inner {
  position: relative;
  width: 100%;
  height: 100%;
  max-width: 480px;
  background: #000;
  overflow: hidden;
}
/* Full-size loader image under the video: visible (whole, not cropped) the moment
   the feed opens, until the full video's first frames arrive. */
.lf-fs-loader-img {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #000;
}
/* The loader image has its own LIVE badge — don't double it up while it's showing. */
.live-fullscreen.is-loading .lf-fs-badges {
  visibility: hidden;
}
.lf-fs-video {
  position: relative;
  z-index: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: transparent;
}
.lf-fs-loading {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s;
}
.live-fullscreen.is-loading .lf-fs-loading {
  opacity: 1;
}
.lf-fs-loading .spinner {
  width: 36px;
  height: 36px;
  border: 3px solid rgba(255, 255, 255, 0.35);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
}
.lf-fs-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 16px;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.55) 0%, transparent 18%, transparent 72%, rgba(0, 0, 0, 0.85) 100%);
}
.lf-fs-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
}
.lf-fs-info {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.lf-fs-badges {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
}
.lf-fs-live-badge {
  background: #dc2626;
  color: #fff;
  padding: 5px 10px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 5px;
  letter-spacing: 0.5px;
}
.lf-fs-viewers {
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  padding: 5px 12px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 5px;
  border: 1px solid rgba(255, 255, 255, 0.15);
}
.lf-fs-viewers svg {
  width: 14px;
  height: 14px;
}
.lf-fs-viewers .count {
  color: #4ade80;
  font-variant-numeric: tabular-nums;
}
.lf-fs-exit-btn {
  pointer-events: auto;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition:
    transform 0.15s,
    background 0.2s;
}
.lf-fs-exit-btn:active {
  transform: scale(0.88);
}
.lf-fs-exit-btn:hover {
  background: rgba(220, 38, 38, 0.75);
}
.lf-fs-exit-btn svg {
  width: 20px;
  height: 20px;
}
.lf-fs-gifts {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}
.lf-fs-gift-bubble {
  position: absolute;
  bottom: 120px;
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(0, 0, 0, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
  padding: 6px 12px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
  animation: lfFsBubbleFloat 4.5s ease-out forwards;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}
.lf-fs-gift-bubble .emoji {
  font-size: 20px;
}
.lf-fs-gift-bubble .name {
  color: var(--accent);
  font-weight: 800;
}
@keyframes lfFsBubbleFloat {
  0% {
    transform: translateY(0) scale(0.4);
    opacity: 0;
  }
  10% {
    opacity: 1;
    transform: translateY(-15px) scale(1.05);
  }
  20% {
    transform: translateY(-35px) scale(1);
  }
  100% {
    transform: translateY(-380px) scale(0.7);
    opacity: 0;
  }
}
.lf-fs-bottom {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.lf-fs-streamer-row {
  display: flex;
  align-items: center;
  gap: 12px;
  pointer-events: none;
}
.lf-fs-avatar {
  width: 56px;
  height: 56px;
  flex-shrink: 0;
  display: block;
  object-fit: contain;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.35));
}
.lf-fs-streamer-text {
  color: #fff;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.9);
}
.lf-fs-streamer-text .name {
  font-size: 16px;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 5px;
}
.lf-fs-streamer-text .name .verified {
  width: 15px;
  height: 15px;
  background: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lf-fs-streamer-text .name .verified svg {
  width: 9px;
  height: 9px;
  color: #fff;
  stroke-width: 3.5;
}
.lf-fs-streamer-text .title {
  font-size: 12px;
  opacity: 0.9;
  margin-top: 2px;
}
.lf-fs-book-row {
  display: flex;
  gap: 10px;
  align-items: stretch;
  pointer-events: auto;
}
.lf-fs-book-btn {
  flex: 1;
  height: 56px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-deep) 100%);
  color: #fff;
  border: none;
  font-family: inherit;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0.3px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 8px 24px -6px rgba(232, 93, 4, 0.6);
  transition: transform 0.15s;
}
.lf-fs-book-btn:active {
  transform: scale(0.97);
}
.lf-fs-book-btn svg {
  width: 20px;
  height: 20px;
}
@media (max-width: 380px) {
  .live-feed-box {
    width: 108px;
    height: 152px;
    top: 50px;
  }
  .lf-book-btn {
    font-size: 9px;
    padding: 4px 6px;
  }
  .lf-streamer-name {
    font-size: 8.5px;
  }
}
.ai-chat-container {
  background: #fff;
  border: 2px solid var(--accent);
  border-radius: 16px;
  padding: 0;
  height: 450px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  position: relative;
  box-shadow:
    0 10px 40px -8px rgba(232, 93, 4, 0.25),
    0 0 0 4px rgba(232, 93, 4, 0.06);
}
@media (max-width: 768px) {
  .ai-chat-container {
    height: calc(100dvh - 280px);
    min-height: 350px;
    max-height: 550px;
  }
}
.ai-chat-header {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-deep) 100%);
  color: #fff;
  padding: 10px 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.ai-chat-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 2px solid rgba(255, 255, 255, 0.3);
  overflow: hidden;
}
.ai-chat-avatar svg {
  width: 20px;
  height: 20px;
  color: #000;
  position: relative;
  z-index: 1;
}
.ai-chat-header-text {
  flex: 1;
  min-width: 0;
}
.ai-chat-header-text h4 {
  margin: 0;
  font-size: 14px;
  font-weight: 700;
}
.ai-chat-header-text p {
  margin: 0;
  font-size: 10px;
  opacity: 0.9;
  display: flex;
  align-items: center;
  gap: 4px;
}
.ai-chat-header-text .dot {
  width: 6px;
  height: 6px;
  background: #4ade80;
  border-radius: 50%;
  display: inline-block;
}
.ai-chat-whatsapp-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 9px;
  font-weight: 700;
  color: var(--accent);
  background: rgba(255, 255, 255, 0.95);
  padding: 4px 6px;
  border-radius: 6px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  flex: 0 0 88px;
  line-height: 1.2;
  white-space: normal;
  cursor: pointer;
  transition: transform 0.15s;
}
.ai-chat-whatsapp-btn:active {
  transform: scale(0.95);
}
.ai-chat-messages {
  flex: 1;
  padding: 16px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.ai-chat-messages::-webkit-scrollbar {
  display: none;
}
.chat-bubble {
  max-width: 85%;
  padding: 10px 14px;
  border-radius: 14px;
  font-size: 14px;
  line-height: 1.4;
  animation: chatFadeIn 0.3s ease-out forwards;
  opacity: 0;
}
@keyframes chatFadeIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.chat-bubble.bot {
  align-self: flex-start;
  background: #fff;
  border: 1px solid var(--border);
  border-bottom-left-radius: 4px;
  color: var(--fg);
}
.chat-bubble.user {
  align-self: flex-end;
  background: var(--accent);
  color: #fff;
  border-bottom-right-radius: 4px;
}
.chat-bubble.bot strong {
  color: var(--accent);
}
.chat-quick-replies {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}
.chat-quick-reply {
  padding: 8px 14px;
  border: 1px solid var(--accent);
  color: var(--accent);
  background: #fff;
  border-radius: 16px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition:
    background 0.2s,
    color 0.2s;
  font-family: inherit;
}
.chat-quick-reply:hover {
  background: var(--accent);
  color: #fff;
}
.chat-quick-reply.pulse-date {
  animation: pulseDateBtn 1.5s ease-in-out infinite;
  border-width: 2px;
  font-weight: 700;
}
@keyframes pulseDateBtn {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(232, 93, 4, 0.4);
    transform: scale(1);
  }
  50% {
    box-shadow: 0 0 0 10px rgba(232, 93, 4, 0);
    transform: scale(1.04);
  }
}
.ai-typing {
  align-self: flex-start;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  border-bottom-left-radius: 4px;
  padding: 12px 16px;
  display: flex;
  gap: 4px;
}
.ai-typing span {
  width: 6px;
  height: 6px;
  background: var(--fg-faint);
  border-radius: 50%;
  animation: typingBounce 1.2s infinite;
}
.ai-typing span:nth-child(2) {
  animation-delay: 0.2s;
}
.ai-typing span:nth-child(3) {
  animation-delay: 0.4s;
}
@keyframes typingBounce {
  0%,
  60%,
  100% {
    transform: translateY(0);
    opacity: 0.4;
  }
  30% {
    transform: translateY(-4px);
    opacity: 1;
  }
}
.ai-chat-toolbar {
  display: none;
  justify-content: center;
  padding: 6px 8px;
  background: var(--bg-card);
  border-bottom: 1px solid var(--border);
}
.ai-chat-toolbar.show {
  display: flex;
}
.ai-chat-startover-btn {
  font-size: 11px;
  font-weight: 600;
  color: var(--fg-faint);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 5px 16px;
  cursor: pointer;
  font-family: inherit;
  transition: all 0.15s;
}
.ai-chat-startover-btn:active {
  transform: scale(0.95);
  background: var(--bg-card);
}
.ai-chat-input-row {
  padding: 10px;
  border-top: 1px solid var(--border);
  background: var(--bg);
  display: flex;
  gap: 8px;
}
.ai-chat-input {
  flex: 1;
  height: 44px;
  background: var(--bg-card);
  border: 1px solid var(--border-hi);
  border-radius: 10px;
  padding: 0 14px;
  font-family: inherit;
  font-size: 16px;
  color: var(--fg);
  outline: none;
  transition: border-color 0.2s;
}
.ai-chat-input:focus {
  border-color: var(--accent);
  background: #fff;
}
.ai-chat-input::placeholder {
  color: var(--fg-faint);
}
.ai-chat-send-btn {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--accent);
  border: none;
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition:
    transform 0.15s,
    background 0.2s;
}
.ai-chat-send-btn:active {
  transform: scale(0.9);
}
.ai-chat-send-btn:disabled {
  background: var(--fg-faint);
  cursor: not-allowed;
}
.ai-chat-send-btn svg {
  width: 20px;
  height: 20px;
}
.booking-form-popup {
  position: absolute;
  inset: 0;
  z-index: 600;
  background: var(--bg);
  display: none;
  flex-direction: column;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
.booking-form-popup.show {
  display: flex;
}
.bfp-header {
  position: sticky;
  top: 0;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-deep) 100%);
  color: #fff;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 10;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}
.bfp-header h3 {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
}
.bfp-close {
  background: rgba(0, 0, 0, 0.2);
  border: none;
  color: #fff;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.15s;
}
.bfp-close:active {
  transform: scale(0.9);
}
.bfp-close svg {
  width: 18px;
  height: 18px;
}
.bfp-body {
  padding: 20px 16px 100px;
  max-width: 480px;
  margin: 0 auto;
  width: 100%;
  box-sizing: border-box;
}
.bfp-section {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 16px;
}
.bfp-field {
  margin-bottom: 16px;
  position: relative;
}
.bfp-field:last-child {
  margin-bottom: 0;
}
.bfp-field label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: var(--fg-dim);
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.bfp-field input,
.bfp-field select {
  width: 100%;
  height: 48px;
  padding: 0 12px;
  background: #fff;
  border: 1px solid var(--border-hi);
  border-radius: 10px;
  font-family: inherit;
  font-size: 16px;
  color: var(--fg);
  box-sizing: border-box;
  outline: none;
  transition: border-color 0.2s;
  -webkit-appearance: none;
  appearance: none;
}
.bfp-field input:focus,
.bfp-field select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-light);
}
.bfp-error {
  display: none;
  color: var(--danger);
  font-size: 12px;
  margin-top: 4px;
  font-weight: 600;
}
.bfp-field.error input,
.bfp-field.error select {
  border-color: var(--danger);
  background: rgba(220, 38, 38, 0.05);
}
.bfp-field.error .bfp-error {
  display: block;
}
.bfp-submit {
  position: sticky;
  bottom: 0;
  background: rgba(255, 255, 255, 0.98);
  border-top: 1px solid var(--border-hi);
  padding: 12px 16px;
  padding-bottom: calc(12px + env(safe-area-inset-bottom, 0));
  box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.05);
  z-index: 20;
}
.bfp-submit-btn {
  width: 100%;
  height: 52px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-deep) 100%);
  color: #fff;
  border: none;
  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.3px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 8px 20px -6px rgba(232, 93, 4, 0.5);
  transition: transform 0.15s;
  flex-wrap: wrap;
}
.bfp-submit-btn:active {
  transform: scale(0.98);
}
.bfp-submit-btn svg {
  width: 20px;
  height: 20px;
}
.bfp-submit-btn:disabled {
  background: var(--fg-faint);
  box-shadow: none;
  cursor: not-allowed;
}
.bfp-autocomplete {
  /* In the flow of the form (not floating), so it can be scrolled into view above the
     "Proceed to Payment" bar instead of being cut off under it. */
  position: relative;
  background: #fff;
  border: 1px solid var(--border-hi);
  border-radius: 10px;
  margin-top: 4px;
  max-height: 180px;
  overflow-y: auto;
  z-index: 10;
  display: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}
.bfp-autocomplete.show {
  display: block;
}
.bfp-autocomplete-item {
  padding: 10px 12px;
  font-size: 14px;
  cursor: pointer;
  color: var(--fg);
}
.bfp-autocomplete-item:hover {
  background: var(--accent-light);
  color: var(--accent);
}
/* "Hotel not listed" — always visible at the bottom of the suggestions */
.bfp-autocomplete-other {
  position: sticky;
  bottom: 0;
  background: #fff;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.bfp-autocomplete-other strong {
  font-size: 13px;
  color: var(--accent);
}
.bfp-autocomplete-other span {
  font-size: 12px;
  line-height: 1.35;
  color: var(--fg-faint);
  overflow-wrap: anywhere;
}
.faq-container {
  margin: 0 16px;
}
.faq-item {
  border: 1px solid var(--border);
  border-radius: 12px;
  margin-bottom: 10px;
  overflow: hidden;
  background: var(--bg-card);
}
.faq-question {
  width: 100%;
  padding: 14px 16px;
  background: none;
  border: none;
  text-align: left;
  font-size: 14px;
  font-weight: 700;
  color: var(--fg);
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-family: inherit;
}
.faq-question svg {
  width: 16px;
  height: 16px;
  transition: transform 0.2s;
  color: var(--accent);
  flex-shrink: 0;
  margin-left: 8px;
}
.faq-item.open .faq-question svg {
  transform: rotate(45deg);
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}
.faq-answer-inner {
  padding: 0 16px 14px;
  font-size: 13px;
  color: var(--fg-dim);
  line-height: 1.5;
}

/* ==========================================================================
   Checkout additions — Stripe card form (from the V9.0 theme), payment
   errors, test-mode badge. Uses the Code 4.0 colour variables.
   ========================================================================== */
.card-form-wrap {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 18px;
}
.input-group {
  margin-bottom: 12px;
  position: relative;
}
.input-group label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--fg-dim);
  margin-bottom: 6px;
}
.input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}
.input-wrap input {
  width: 100%;
  height: 52px;
  padding: 0 16px;
  background: var(--bg);
  border: 1px solid var(--border-hi);
  border-radius: 10px;
  color: var(--fg);
  font-family: inherit;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.3px;
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
}
.input-wrap input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-light);
}
.input-wrap input::placeholder {
  color: var(--fg-faint);
}
/* Stripe mounts an iframe in each .stripe-element and toggles
   StripeElement--focus / --invalid / --complete on the container. */
.input-wrap .stripe-element {
  width: 100%;
  height: 52px;
  padding: 16px 16px;
  box-sizing: border-box;
  background: var(--bg);
  border: 1px solid var(--border-hi);
  border-radius: 10px;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.input-wrap .stripe-element.StripeElement--focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-light);
}
.input-wrap .stripe-element.StripeElement--invalid {
  border-color: var(--danger);
}
.input-wrap .card-brand {
  position: absolute;
  right: 14px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.5px;
  color: var(--fg-dim);
  text-transform: uppercase;
  pointer-events: none;
}
.input-row {
  display: flex;
  gap: 12px;
}
.input-row .input-group {
  flex: 1;
  min-width: 0;
}
.input-error {
  font-size: 12px;
  color: var(--danger);
  margin-top: 4px;
  font-weight: 600;
  display: none;
}
.input-group.error input,
.input-group.error .stripe-element {
  border-color: var(--danger);
}
.input-group.error .input-error {
  display: block;
}
.card-form-footnote {
  margin: 12px 0 0;
  font-size: 11px;
  color: var(--fg-faint);
  text-align: center;
}
.pay-inline-error {
  display: none;
  margin-top: 12px;
  padding: 10px 12px;
  border-radius: 10px;
  background: rgba(220, 38, 38, 0.08);
  border: 1px solid rgba(220, 38, 38, 0.25);
  color: var(--danger);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
  text-align: left;
}
.pay-inline-error.show {
  display: block;
}
.stripe-unavailable {
  margin-bottom: 14px;
  padding: 10px 12px;
  border-radius: 10px;
  background: var(--warning-light);
  color: var(--warning);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
}
.stripe-unavailable[hidden] {
  display: none;
}
.stripe-unavailable-why {
  display: block;
  margin-top: 6px;
  font-weight: 500;
  font-size: 12px;
  opacity: 0.9;
}
.stripe-unavailable-why[hidden] {
  display: none;
}
.paypal-box .pp-fx-note {
  margin-top: 8px;
  font-size: 12px;
  color: var(--fg-faint);
}
.test-mode-badge {
  display: block;
  margin: 0 0 10px;
  padding: 6px 12px;
  text-align: center;
  border-radius: 100px;
  background: var(--warning-light);
  color: var(--warning);
  border: 1px solid rgba(217, 119, 6, 0.3);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2px;
}
.gateway-test-note {
  margin: 0 0 12px;
  font-weight: 600;
}
.paypal-box .gateway-test-note {
  margin: 12px 0 0;
  position: relative;
}

/* ==========================================================================
   4.1 additions
   ========================================================================== */

/* Phone numbers / emails you can tap (call, WhatsApp, email) and copy */
.phone-wrap {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  flex-wrap: nowrap;
  max-width: 100%;
}
.phone-link {
  color: var(--accent);
  font-weight: 700;
  text-decoration: none;
  word-break: break-word;
}
.phone-link:hover {
  text-decoration: underline;
}
.emergency-card .row .num .phone-link {
  color: var(--fg);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  text-decoration-color: rgba(0, 0, 0, 0.3);
}
.copy-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 22px;
  padding: 0;
  border: 1px solid var(--border-hi);
  border-radius: 6px;
  background: #fff;
  color: var(--fg-dim);
  cursor: pointer;
  flex-shrink: 0;
  transition:
    color 0.15s,
    border-color 0.15s;
}
.copy-btn svg {
  width: 12px;
  height: 12px;
}
.copy-btn:active {
  transform: scale(0.94);
}
.copy-btn.copied {
  color: var(--success);
  border-color: var(--success);
}
.conf-ref .val {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.conf-ref[hidden] {
  display: none;
}
.ref-code {
  font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: var(--fg);
}
.conf-field .val .phone-wrap,
.conf-field-full .val .phone-wrap {
  font-size: 12px;
}

/* "By continuing you agree to…" line above the Pay button (payment step only) */
.checkout-legal {
  flex-shrink: 0;
  padding: 7px 16px 0;
  font-size: 10.5px;
  line-height: 1.4;
  color: var(--fg-faint);
  text-align: center;
  background: rgba(255, 255, 255, 0.98);
  border-top: 1px solid var(--border-hi);
}
.checkout-legal[hidden] {
  display: none;
}
.checkout-legal a {
  color: var(--fg-dim);
  text-decoration: underline;
}
.checkout-legal:not([hidden]) + .floating-cta {
  border-top: none;
  padding-top: 8px;
}

/* Apple Pay / Google Pay */
.express-pay {
  margin: 0 0 14px;
}
.express-pay[hidden] {
  display: none;
}
.express-pay-label {
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--fg-faint);
  margin: 0 0 6px;
}
.express-pay-button {
  min-height: 48px;
}
/* While a card / PayPal / reservation request is running, the wallet button can't start a second payment. */
.express-pay.is-busy .express-pay-button {
  pointer-events: none;
  opacity: 0.45;
}
.express-pay-or {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 14px 0 0;
  font-size: 11px;
  font-weight: 600;
  color: var(--fg-faint);
}
.express-pay-or::before,
.express-pay-or::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--border-hi);
}

/* Privacy Policy / Terms pop-up (a large sheet, not a toast) */
.legal-modal {
  position: absolute;
  inset: 0;
  z-index: 900;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.legal-modal[hidden] {
  display: none;
}
.legal-sheet {
  position: relative;
  height: 100%;
  background: #fff;
  display: flex;
  flex-direction: column;
  animation: legalUp 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}
@keyframes legalFade {
  from {
    opacity: 0;
  }
}
@keyframes legalUp {
  from {
    transform: translateY(40px);
    opacity: 0;
  }
}
.legal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 12px 12px 10px 16px;
  border-bottom: 1px solid var(--border);
}
.legal-tabs {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.legal-tab {
  border: 1px solid var(--border-hi);
  background: var(--bg-card);
  color: var(--fg-dim);
  font-family: inherit;
  font-size: 12px;
  font-weight: 700;
  padding: 7px 12px;
  border-radius: 100px;
  cursor: pointer;
}
.legal-tab.active {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}
.legal-close {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  border-radius: 50%;
  border: none;
  background: var(--bg-card);
  color: var(--fg);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.legal-close svg {
  width: 18px;
  height: 18px;
}
.legal-title {
  font-family: "Times New Roman", Times, serif;
  font-size: 24px;
  line-height: 1.2;
  color: var(--fg);
  margin: 16px 18px 2px;
}
.legal-body {
  flex: 1;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  padding: 4px 18px 20px;
  outline: none;
}
.legal-body,
.doc-content {
  font-size: 14px;
  line-height: 1.6;
  color: var(--fg-dim);
}
.legal-body h2,
.doc-content h2 {
  font-size: 15px;
  line-height: 1.3;
  color: var(--fg);
  margin: 20px 0 6px;
}
.legal-body p,
.doc-content p {
  margin: 8px 0;
}
.legal-body ul,
.doc-content ul {
  padding-left: 18px;
  margin: 6px 0;
}
.legal-body li,
.doc-content li {
  margin: 5px 0;
}
.legal-body a,
.doc-content a {
  color: var(--accent);
}
.legal-updated {
  font-size: 12px;
  color: var(--fg-faint);
}
.legal-summary {
  background: var(--accent-light);
  border: 1px solid rgba(232, 93, 4, 0.25);
  border-radius: 12px;
  padding: 12px 14px;
  color: var(--fg);
}
.legal-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 16px calc(12px + env(safe-area-inset-bottom, 0));
  border-top: 1px solid var(--border);
}
.legal-foot .cta-button {
  flex: 1 1 auto;
  width: 100%;
  height: 48px;
  gap: 8px;
}

/* Terms / Privacy as standalone pages (page.php) */
body.doc-page {
  display: block;
  height: auto;
  min-height: 100%;
  background: #f4f4f5;
}
.doc-shell {
  max-width: 760px;
  margin: 0 auto;
  min-height: 100vh;
  background: #fff;
}
.doc-header {
  position: sticky;
  top: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 20px;
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid var(--border);
}
.doc-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--fg);
  text-decoration: none;
  font-family: "Times New Roman", Times, serif;
  font-weight: 700;
  font-size: 18px;
}
.doc-brand .logo-mark svg {
  width: 20px;
  height: 20px;
  color: #fff;
  position: relative;
  z-index: 1;
}
.doc-back {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-deep) 100%);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: 13px;
  padding: 9px 14px;
  border-radius: 10px;
  white-space: nowrap;
}
.doc-content {
  padding: 22px 22px 36px;
  font-size: 15px;
}
.doc-content h1 {
  font-family: "Times New Roman", Times, serif;
  font-size: 32px;
  line-height: 1.15;
  color: var(--fg);
  margin: 4px 0 14px;
}
.doc-footer {
  padding: 16px 22px 28px;
  border-top: 1px solid var(--border);
  font-size: 12px;
  line-height: 1.6;
  color: var(--fg-faint);
}
.doc-footer p {
  margin: 4px 0;
}
.doc-footer a {
  color: var(--fg-dim);
}
@media (min-width: 768px) {
  body.doc-page {
    background: #e8ecef;
  }
  .doc-shell {
    margin: 24px auto;
    min-height: 0;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  }
}
