:root {
  --fh-bg: #f2f3f5;
  --fh-card: #ffffff;
  --fh-blue: #0086ce;
  --fh-blue-dark: #006fae;
  --fh-blue-light: #e8f4fb;
  --fh-text: #333333;
  --fh-muted: #767676;
  --fh-border: #e0e0e0;
  --fh-green: #27ae60;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { height: 100%; }
body {
  font-family: "Montserrat", "Segoe UI", Helvetica, Arial, sans-serif;
  background: var(--fh-bg);
  color: var(--fh-text);
  font-size: 14px;
  line-height: 1.45;
  display: flex;
  flex-direction: column;
}
a { color: var(--fh-blue); text-decoration: none; }

/* top bar */
.topbar {
  background: #ffffff;
  border-bottom: 1px solid var(--fh-border);
  padding: 10px 20px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.topbar .company { font-weight: 700; font-size: 15px; }
.topbar .fh-badge {
  font-size: 11px; color: var(--fh-muted);
  border: 1px solid var(--fh-border); border-radius: 4px; padding: 2px 8px;
}
.topbar .right { margin-left: auto; display: flex; align-items: center; gap: 14px; font-size: 12.5px; color: var(--fh-muted); }
.topbar .right a { color: var(--fh-blue); font-weight: 600; }

/* layout */
.stage { flex: 1; width: 100%; max-width: 700px; margin: 24px auto 130px; padding: 0 16px; }
.card {
  background: var(--fh-card);
  border: 1px solid var(--fh-border);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 1px 4px rgba(0,0,0,.06);
}
.tour-head { padding: 22px 24px 0; }
.tour-head h1 { font-size: 22px; font-weight: 700; margin-bottom: 10px; }
.badges { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.badge {
  font-size: 11.5px; font-weight: 600;
  color: var(--fh-blue); background: var(--fh-blue-light);
  border-radius: 4px; padding: 3px 9px;
}
.tour-desc { color: var(--fh-muted); font-size: 13.5px; margin-bottom: 6px; }
.tour-hero { width: 100%; display: block; margin-top: 16px; }
.tour-hero img { width: 100%; display: block; }

/* steps */
.step { padding: 22px 24px 10px; border-top: 1px solid var(--fh-border); }
.step-label {
  display: flex; align-items: center; gap: 10px;
  font-size: 15px; font-weight: 700; margin-bottom: 4px;
}
.step-label .num {
  width: 24px; height: 24px; border-radius: 50%;
  background: var(--fh-blue); color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 13px; flex: 0 0 auto;
}
.step-hint { font-size: 12.5px; color: var(--fh-muted); margin-bottom: 14px; }

/* calendar */
.cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.cal-head button {
  background: none; border: 1px solid var(--fh-border); border-radius: 5px;
  padding: 5px 11px; cursor: pointer; font-size: 15px; color: var(--fh-text);
}
.cal-head button:hover { border-color: var(--fh-blue); color: var(--fh-blue); }
.cal-title { font-weight: 700; font-size: 15px; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.cal-dow { font-size: 11px; font-weight: 700; text-align: center; color: var(--fh-muted); padding: 6px 0; }
.cal-day {
  aspect-ratio: 1 / 1; display: flex; align-items: center; justify-content: center;
  border-radius: 6px; font-size: 13.5px; cursor: pointer; color: var(--fh-text);
  border: 1px solid transparent;
}
.cal-day:hover { background: var(--fh-blue-light); }
.cal-day.empty { cursor: default; }
.cal-day.past { color: #c5c5c5; cursor: not-allowed; background: transparent; }
.cal-day.unavailable { color: #c5c5c5; text-decoration: line-through; cursor: not-allowed; }
.cal-day.selected { background: var(--fh-blue); border-color: var(--fh-blue); color: #fff; font-weight: 700; }
.cal-day.today { border-color: var(--fh-blue); }

/* time pills */
.times { display: flex; flex-wrap: wrap; gap: 8px; }
.time {
  padding: 9px 16px; text-align: center; border: 1px solid var(--fh-border);
  border-radius: 6px; font-size: 13.5px; cursor: pointer; color: var(--fh-text);
  background: #fff;
}
.time:hover { border-color: var(--fh-blue); color: var(--fh-blue); }
.time.soldout { color: #c5c5c5; text-decoration: line-through; cursor: not-allowed; }
.time.selected { background: var(--fh-blue); border-color: var(--fh-blue); color: #fff; font-weight: 600; }

/* guests */
.guest-row { display: flex; align-items: center; justify-content: space-between; padding: 13px 0; border-bottom: 1px solid var(--fh-border); }
.guest-row:last-child { border-bottom: none; }
.g-name { font-weight: 600; }
.g-desc { font-size: 12px; color: var(--fh-muted); }
.g-price { font-size: 13px; color: var(--fh-muted); }
.stepper { display: flex; align-items: center; gap: 12px; }
.stepper button {
  width: 32px; height: 32px; border-radius: 5px; border: 1px solid var(--fh-border);
  background: #fff; cursor: pointer; font-size: 17px; line-height: 1; color: var(--fh-text);
}
.stepper button:hover:not(:disabled) { border-color: var(--fh-blue); color: var(--fh-blue); }
.stepper button:disabled { opacity: .35; cursor: not-allowed; }
.stepper .val { min-width: 20px; text-align: center; font-weight: 700; }

/* summary inside card */
.summary { background: #fafbfc; border-top: 1px solid var(--fh-border); padding: 18px 24px; }
.sum-row { display: flex; justify-content: space-between; font-size: 14px; padding: 4px 0; }
.sum-row.total { font-size: 17px; font-weight: 700; border-top: 1px solid var(--fh-border); margin-top: 8px; padding-top: 12px; }
.fee-note { font-size: 12px; color: var(--fh-muted); margin-top: 10px; }
.guarantee { display: flex; flex-wrap: wrap; gap: 14px; font-size: 12px; color: var(--fh-green); margin-top: 12px; }

/* sticky book bar */
.bookbar {
  position: fixed; left: 0; right: 0; bottom: 0;
  background: #ffffff; border-top: 1px solid var(--fh-border);
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 22px; max-width: 100%; z-index: 50;
}
.bookbar .total-box { font-size: 13px; color: var(--fh-muted); }
.bookbar .total-box .amount { font-size: 20px; font-weight: 700; color: var(--fh-text); }
.book-btn {
  border: none; border-radius: 6px; padding: 13px 34px;
  background: var(--fh-blue); color: #fff; font-size: 16px; font-weight: 700; cursor: pointer;
}
.book-btn:hover { background: var(--fh-blue-dark); }
.book-btn:disabled { background: #a9c9dd; cursor: not-allowed; }

/* confirmation */
.confirm {
  text-align: center; padding: 60px 30px;
}
.confirm .check {
  width: 72px; height: 72px; margin: 0 auto 18px; border-radius: 50%;
  background: var(--fh-green); color: #fff; font-size: 34px; line-height: 72px;
}
.confirm h2 { font-size: 22px; margin-bottom: 8px; }
.confirm p { color: var(--fh-muted); margin-bottom: 24px; }
.confirm .ref { font-size: 13px; color: var(--fh-muted); margin-top: 18px; }
.confirm .ref b { color: var(--fh-text); }
.confirm .again { margin-top: 20px; border: 1px solid var(--fh-border); background: #fff; color: var(--fh-blue); border-radius: 6px; padding: 12px 26px; font-size: 14px; font-weight: 600; cursor: pointer; }
.confirm .again:hover { border-color: var(--fh-blue); }