/*
Theme Name: Hike Lion's Head
Author: Hike Lions Head
Description: A custom mobile app-style theme for Hike Lion's Head bookings.
Version: 2.1
*/

:root {
  --bg: #ffffff;
  --bg-elev: #ffffff;
  --bg-card: #f4f4f5;
  --bg-card-hi: #e4e4e7;
  --fg: #000000;
  --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;
  --danger-light: rgba(220, 38, 38, 0.1);

  --stripe: #635bff;
  --stripe-light: rgba(99, 91, 255, 0.1);
  --paypal: #0070ba;
  --paypal-light: rgba(0, 112, 186, 0.08);
}

* { -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%;
  overscroll-behavior: none;
}

body {
  display: flex;
  justify-content: center;
  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);
}

.app-header {
  position: sticky; top: 0; z-index: 20;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  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: white; 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: white; 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: white;
  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: white; 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; }
.hero-tag {
  background: rgba(255,255,255,0.15); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.4); color: white; 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;
}
.hero-tag .dot { width: 6px; height: 6px; border-radius: 50%; background: #4ade80; box-shadow: 0 0 8px #4ade80; animation: dotPulse 2s ease-in-out infinite; }
@keyframes dotPulse { 0%,100% { opacity: 1; } 50% { opacity: 0.4; } }

.hero-title-block { position: absolute; bottom: 24px; left: 22px; right: 22px; z-index: 3; color: white; }
.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); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  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 h3 { 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 h3 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 h4 { 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: white; }
.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: white; }
.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: white; }
.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: white; 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: white; }
.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); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); 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); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); 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); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); 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: 16px; }
.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-bar { position: sticky; top: 0; background: var(--bg); z-index: 15; padding: 16px 20px 16px 60px; border-bottom: 1px solid var(--border); display: flex; align-items: center; justify-content: center; box-sizing: border-box; }
.step-back { position: absolute; left: 16px; width: 40px; height: 40px; border-radius: 8px; background: rgba(0,0,0,0.04); border: 1px solid var(--border); color: var(--fg); font-size: 22px; 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-progress { display: flex; align-items: center; flex: 1; gap: 0; max-width: 320px; }
.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 6px; margin-bottom: 14px; border-radius: 2px; transition: background 0.3s; }
.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); } }

.step-title { margin-bottom: 16px; }
.step-title h3 { font-family: 'Times New Roman', Times, serif; font-weight: 700; font-size: 22px; margin: 0 0 4px; letter-spacing: -0.3px; }
.step-title p { margin: 0; font-size: 13px; color: var(--fg-dim); }

.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: white; 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: white; }

.includes-card { background: var(--bg-card); border: 1px solid var(--border-hi); border-radius: 12px; padding: 18px; }
.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; }

.time-slots { display: flex; flex-direction: column; gap: 12px; }
.time-slot { background: var(--bg-card); border: 1px solid var(--border); border-radius: 12px; padding: 16px; display: flex; align-items: center; gap: 14px; cursor: pointer; transition: all 0.2s; min-height: 68px; }
.time-slot:active { transform: scale(0.99); }
.time-slot.active { background: var(--accent-light); border-color: var(--accent); box-shadow: 0 8px 20px -8px rgba(232, 93, 4, 0.2); }
.time-slot .ts-icon { width: 48px; height: 48px; border-radius: 10px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; transition: all 0.2s; }
.time-slot[data-slot="Sunrise"] .ts-icon { background: linear-gradient(135deg, #78350f 0%, #b45309 50%, #fbbf24 100%); }
.time-slot[data-slot="Sunset"] .ts-icon { background: linear-gradient(135deg, #9a3412 0%, #c2410c 50%, #ea580c 100%); }
.time-slot[data-slot="Full Moon"] .ts-icon { background: linear-gradient(135deg, #1e293b 0%, #334155 50%, #475569 100%); }
.time-slot .ts-icon svg { width: 24px; height: 24px; color: white; }
.time-slot .ts-info { flex: 1; }
.time-slot .ts-info .ts-name { font-size: 16px; font-weight: 700; color: var(--fg); }
.time-slot .ts-info .ts-time { font-family: 'Times New Roman', Times, serif; font-size: 22px; font-weight: 700; color: var(--accent); letter-spacing: -0.3px; margin-top: 2px; }
.time-slot .ts-info .ts-desc { font-size: 11px; color: var(--fg-dim); margin-top: 3px; line-height: 1.3; }
.time-slot .ts-radio { width: 24px; height: 24px; border-radius: 50%; border: 2px solid var(--fg-faint); flex-shrink: 0; transition: all 0.25s; position: relative; }
.time-slot.active .ts-radio { border-color: var(--accent); background: var(--accent); }
.time-slot.active .ts-radio::after { content: ''; position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); width: 8px; height: 8px; border-radius: 50%; background: white; }

.input-group { margin-bottom: 14px; 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-card); border: 1px solid var(--border); 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; }
.input-wrap input:focus { outline: none; border-color: var(--accent); background: var(--bg); box-shadow: 0 0 0 3px var(--accent-light); }
.input-wrap input::placeholder { color: var(--fg-faint); }
.input-wrap .input-icon { position: absolute; left: 14px; color: var(--fg-faint); pointer-events: none; }
.input-wrap .input-icon svg { width: 20px; height: 20px; }
.input-wrap.has-icon input { padding-left: 46px; }
.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; }

.autocomplete-list { position: absolute; top: 100%; left: 0; right: 0; background: var(--bg); border: 1px solid var(--border-hi); border-top: none; border-radius: 0 0 10px 10px; box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1); max-height: 200px; overflow-y: auto; z-index: 20; display: none; }
.autocomplete-list.show { display: block; }
.autocomplete-item { padding: 12px 16px; font-size: 14px; cursor: pointer; border-bottom: 1px solid var(--border); color: var(--fg); }
.autocomplete-item:last-child { border-bottom: none; }
.autocomplete-item:hover, .autocomplete-item:active { background: var(--accent-light); color: var(--accent); }

.input-hint { font-size: 12px; color: var(--fg-faint); margin-top: 6px; line-height: 1.4; display: flex; align-items: center; gap: 4px; }
.input-hint svg { width: 14px; height: 14px; color: var(--success); flex-shrink: 0; }
.input-row { display: flex; gap: 12px; }
.input-row .input-group { flex: 1; }
.input-error { font-size: 12px; color: var(--danger); margin-top: 4px; font-weight: 600; display: none; }
.input-group.error input { border-color: var(--danger); background: var(--bg-card-hi); }
.input-group.error .input-error { display: block; }

.stepper-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: 12px; padding: 16px 18px; display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.stepper-card .info .label { font-size: 15px; font-weight: 600; color: var(--fg); }
.stepper-card .info .sub { font-size: 12px; color: var(--fg-dim); margin-top: 2px; }
.stepper { display: flex; align-items: center; gap: 12px; }
.stepper button { width: 40px; height: 40px; border-radius: 8px; background: rgba(0,0,0,0.05); border: 1px solid var(--border-hi); 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; }
.stepper button:active { transform: scale(0.9); }
.stepper button.disabled { opacity: 0.3; pointer-events: none; }
.stepper .count { font-family: 'Times New Roman', Times, serif; font-weight: 700; font-size: 24px; min-width: 24px; text-align: center; color: var(--fg); font-variant-numeric: tabular-nums; }

.pay-section-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.pay-section-head h4 { margin: 0; font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; color: var(--fg-dim); }
.card-brands-row { display: flex; gap: 4px; align-items: center; }
.card-brand-badge { height: 22px; padding: 0 6px; border-radius: 4px; display: flex; align-items: center; justify-content: center; font-size: 9px; font-weight: 800; letter-spacing: 0.5px; color: white; font-family: 'Arial', sans-serif; }
.card-brand-badge.visa { background: #1a1f71; }
.card-brand-badge.mc { background: linear-gradient(90deg, #eb001b 50%, #f79e1b 50%); }
.card-brand-badge.amex { background: #2e77bc; }
.card-brand-badge.discover { background: #ff6000; }

.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; }
.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; }

.card-form-wrap { background: var(--bg-card); border: 1px solid var(--border); border-radius: 12px; padding: 18px; }
.card-form-wrap .input-group { margin-bottom: 12px; }
.card-form-wrap .input-group:last-child { margin-bottom: 0; }
#stripe-payment-element { background: var(--bg-card); border: 1px solid var(--border); border-radius: 10px; padding: 14px 12px; }
#paypal-button-container { min-height: 45px; }
#stripePaymentErrors, #paypalErrors { display: none; }

.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: white; 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); backdrop-filter: blur(24px) saturate(140%); -webkit-backdrop-filter: blur(24px) saturate(140%); 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: white; 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: white; border-radius: 50%; animation: spin 0.8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.bottom-nav { display: flex; background: rgba(255,255,255,0.98); backdrop-filter: blur(24px) saturate(140%); -webkit-backdrop-filter: blur(24px) saturate(140%); border-top: 1px solid var(--border-hi); padding: 6px 4px calc(8px + env(safe-area-inset-bottom, 0)); flex-shrink: 0; }
.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: 10px; font-weight: 700; letter-spacing: 0.3px; cursor: pointer; border-radius: 8px; transition: color 0.2s; position: relative; }
.nav-btn svg { width: 22px; height: 22px; stroke-width: 2; transition: transform 0.3s cubic-bezier(0.22,1,0.36,1); }
.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: 24px; height: 3px; background: var(--accent); border-radius: 0 0 4px 4px; box-shadow: 0 0 10px var(--accent); }

#confirmationPage { position: fixed; inset: 0; background: var(--bg); z-index: 300; display: none; flex-direction: column; align-items: center; justify-content: flex-start; padding: 40px 20px 20px; overflow-y: auto; -webkit-overflow-scrolling: touch; }
#confirmationPage.show { display: flex; }
.conf-card { width: 100%; max-width: 420px; text-align: center; margin-bottom: 20px; background: #ffffff; padding: 24px 20px; border-radius: 16px; box-shadow: 0 4px 12px rgba(0,0,0,0.05); }
.conf-icon { width: 64px; height: 64px; margin: 0 auto 14px; border-radius: 50%; background: linear-gradient(135deg, var(--success) 0%, #047857 100%); display: flex; align-items: center; justify-content: center; box-shadow: 0 10px 30px -8px rgba(5, 150, 105, 0.4); }
.conf-icon svg { width: 32px; height: 32px; color: white; stroke-width: 3; }
.conf-card h3 { font-family: 'Times New Roman', Times, serif; font-weight: 700; font-size: 26px; margin: 0 0 8px; color: var(--fg); }
.conf-card .conf-sub { font-size: 14px; color: var(--fg-dim); margin: 0 0 24px; line-height: 1.5; }
.conf-details { background: var(--bg-card); border: 1px solid var(--border); border-radius: 12px; padding: 16px; margin-bottom: 24px; text-align: left; }
.conf-detail-row { display: flex; justify-content: space-between; align-items: center; padding: 8px 0; font-size: 14px; gap: 12px; }
.conf-detail-row .label { color: var(--fg-dim); flex-shrink: 0; font-weight: 600; }
.conf-detail-row .val { font-weight: 600; color: var(--fg); text-align: right; word-break: break-word; }
.conf-detail-row .val.interactive { color: var(--accent); text-decoration: underline; cursor: pointer; }
.conf-detail-row .val.photo-wrap { display: flex; justify-content: flex-end; }
.conf-detail-row .detail-photo { width: 70px; height: 70px; object-fit: cover; border-radius: 8px; border: 1px solid var(--border-hi); background: #fff; }
.conf-detail-row.total { margin-top: 8px; padding-top: 12px; border-top: 1px dashed var(--border-hi); }
.conf-detail-row.total .val { font-family: 'Times New Roman', Times, serif; font-size: 20px; color: var(--accent); }
.conf-actions { display: flex; flex-direction: column; gap: 12px; }
.conf-actions .cta-button { height: 72px; font-size: 18px; border-radius: 14px; }
.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: fixed; bottom: 130px; left: 50%; transform: translateX(-50%) translateY(20px); background: rgba(255,255,255,0.98); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); border: 1px solid var(--border-hi); color: var(--fg); padding: 12px 18px; border-radius: 100px; font-size: 14px; font-weight: 600; opacity: 0; pointer-events: none; transition: all 0.35s cubic-bezier(0.22,1,0.36,1); z-index: 400; box-shadow: 0 12px 30px rgba(0,0,0,0.15); display: flex; align-items: center; gap: 8px; max-width: 320px; }
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
.toast svg { width: 16px; height: 16px; color: var(--accent); }

.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 12px 6px 44px; }
.phone-shell.on-book .step-back { width: 28px; height: 28px; font-size: 16px; left: 12px; }
.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; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

/* === App Footer === */
.app-footer { text-align: center; padding: 30px 20px 40px; margin-top: 20px; border-top: 1px solid var(--border); background: var(--bg-card); }
.app-footer .footer-links { display: flex; justify-content: center; align-items: center; gap: 10px; margin-bottom: 8px; }
.app-footer .footer-links a { color: var(--fg-dim); text-decoration: none; font-size: 12px; font-weight: 600; transition: color 0.2s; }
.app-footer .footer-links a:hover { color: var(--accent); }
.app-footer .footer-links .dot { color: var(--fg-faint); font-size: 12px; }
.app-footer p { margin: 0; font-size: 11px; color: var(--fg-faint); letter-spacing: 0.3px; }