/* Poseidon Adventure booking screens. Brand: cream, yellow buttons, black
   text, Unbounded headings, Poppins body. City colour from the tour:
   Townsville light blue, Brisbane mint. Mobile first. */

:root {
  --cream: #fffef0;
  --yellow: #fad320;
  --yellow-hover: #f0c400;
  --ink: #1a1a1a;
  --slate: #1e293b;
  --muted: #555555;
  --line: #e7e5dc;
  --line2: #d6d3c8;
  --good: #14532d;
  --good-bg: #e6f4ea;
  --warn: #a33a14;
}
.t-tsv { --accent: #90c5f4; --tint: #e6f1fc; --tint2: #cfe3f4; }
.t-bne { --accent: #7fd4c4; --tint: #e3f6f2; --tint2: #cdeee7; }

* { box-sizing: border-box; }
html, body { margin: 0; background: var(--cream); color: var(--ink); font-family: 'Poppins', system-ui, sans-serif; -webkit-text-size-adjust: 100%; }
h1, h2, h3 { font-family: 'Unbounded', sans-serif; font-weight: 600; margin: 0; }
h2 { font-size: 20px; line-height: 1.2; }
h3 { font-size: 15px; }
button { font-family: inherit; color: var(--ink); cursor: pointer; }
button:disabled { cursor: not-allowed; }
input, select { font-family: inherit; font-size: 16px; color: var(--ink); }
a { color: var(--slate); }
:focus-visible { outline: 3px solid var(--slate); outline-offset: 2px; }
.hint { font-size: 13px; color: var(--muted); }
.loading { padding: 40px 16px; text-align: center; color: var(--muted); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* Header */
.top { background: #fff; border-bottom: 4px solid var(--accent); }
.top-in { max-width: 1120px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; padding: 8px 16px; gap: 12px; }
.top img { height: 20px; width: auto; display: block; }
.top .secure { font-size: 12px; color: var(--muted); display: flex; align-items: center; gap: 6px; }

/* Step header */
.steps { max-width: 1120px; margin: 0 auto; padding: 10px 16px 8px; }
.steprow { display: flex; align-items: center; gap: 8px; }
.icon { width: 44px; height: 44px; border-radius: 999px; border: 0; background: none; display: flex; align-items: center; justify-content: center; flex-shrink: 0; margin-left: -10px; }
.steptitle { font-size: 17px; font-weight: 700; }
.bars { display: flex; gap: 6px; margin-top: 10px; }
.seg { flex: 1; display: flex; flex-direction: column; justify-content: flex-start; gap: 5px; background: none; border: 0; padding: 0; margin: 0; font: inherit; font-size: 11px; line-height: 1.3; color: var(--muted); text-align: center; }
.bar { height: 4px; border-radius: 2px; background: #e7e5dc; }
.seg.past .bar { background: var(--slate); }
.seg.on .bar { background: var(--yellow); }
.seg.on { color: var(--ink); font-weight: 600; }

/* Layout */
.wrap { max-width: 1120px; margin: 0 auto; padding: 8px 16px 140px; display: grid; gap: 24px; }
.main { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
@media (min-width: 900px) {
  .wrap { grid-template-columns: minmax(0, 1fr) 360px; padding-bottom: 48px; align-items: start; }
  .side { position: sticky; top: 152px; }
  .bottombar, .mobile-sum, .holdover-m { display: none !important; }
}
@media (max-width: 899px) { .side { display: none; } }

/* Cards and choices */
.card { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 16px; display: flex; flex-direction: column; gap: 12px; }
.tourhead { display: flex; gap: 12px; align-items: center; }
.tourhead .ph { width: 56px; height: 56px; border-radius: 10px; background: var(--tint2); flex-shrink: 0; object-fit: cover; }
.tourname { font-weight: 700; font-size: 15px; line-height: 1.3; }
.picks { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 2px; }
.pick { flex-shrink: 0; border: 1px solid var(--line2); background: #fff; border-radius: 999px; padding: 8px 14px; font-size: 14px; }
.pick.on { border: 2px solid var(--ink); background: var(--tint); font-weight: 600; padding: 7px 13px; }

.cal { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.cal .dow { font-size: 11px; color: var(--muted); text-align: center; padding-bottom: 2px; }
.day { height: 44px; border-radius: 10px; border: 1px solid #e2dfd5; background: #fff; font-size: 15px; }
.day.on { border: 2px solid var(--ink); background: var(--ink); color: #fff; font-weight: 600; }
.day.off { border: 1px dashed #e2dfd5; background: var(--cream); color: #8a9aab; text-decoration: line-through; }
.day.full { cursor: pointer; }
.day.saveday { position: relative; }
.day.saveday::after, .savedot { content: ''; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: #1f9d55; }
.day.saveday::after { position: absolute; top: 5px; right: 5px; }
.day.on.saveday::after { background: var(--yellow); }
.onenote { margin-top: 10px; background: var(--good-bg); color: var(--good); border-radius: 10px; padding: 9px 12px; font-size: 13px; }
/* A full day: next time with room and other tours */
.alt .opt { margin-top: 8px; }
.alt-h { margin: 16px 0 4px; font-weight: 600; }
.alt-tour { padding: 10px 0; border-top: 1px solid #ece9e0; }
.alt-tour:first-of-type { border-top: 0; }
.alt-tour .times { margin-top: 8px; }
.monthbar { display: flex; align-items: center; justify-content: space-between; }
.monthbar button { width: 44px; height: 44px; border-radius: 999px; border: 1px solid var(--line2); background: #fff; font-size: 18px; }
.monthbar button:disabled { opacity: .35; }
.times { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 8px; }
.time { min-height: 56px; border-radius: 10px; border: 1px solid var(--line2); background: #fff; font-size: 15px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; }
.time.on { border: 2px solid var(--ink); background: var(--tint); font-weight: 600; }
.time:disabled { opacity: .45; text-decoration: line-through; }
.left { font-size: 11px; font-weight: 600; color: var(--warn); }

.ski { display: flex; flex-direction: column; gap: 10px; }
.skilabel { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 17px; }
.riders { display: flex; gap: 8px; }
.rider { flex: 1; min-height: 96px; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 8px; padding: 13px; border: 1px solid var(--line2); border-radius: 14px; background: #fff; text-align: left; font-size: 14px; }
.rider.on { border: 2px solid var(--ink); background: var(--tint); padding: 12px; }
.rider b { font-size: 15px; display: block; }
.rider > span { display: flex; flex-direction: column; gap: 2px; }
.linkbtn { background: none; border: 0; padding: 6px 0; font-size: 14px; color: var(--slate); text-decoration: underline; text-underline-offset: 3px; }

.row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.qtyrow { padding: 12px 0; border-bottom: 1px solid #f0eee6; }
.qtyrow:last-child { border-bottom: 0; }
.qtyctl { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.qty { width: 44px; height: 44px; border-radius: 999px; border: 1px solid #a8a49a; background: #fff; font-size: 20px; line-height: 1; }
.qty:disabled { opacity: .35; }
.qtyn { min-width: 22px; text-align: center; font-weight: 600; font-variant-numeric: tabular-nums; }
.price { font-weight: 600; font-size: 14px; }
.save { display: inline-block; background: var(--good-bg); color: var(--good); font-size: 11px; font-weight: 700; border-radius: 999px; padding: 2px 8px; margin-top: 3px; }
.tip { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 10px; background: var(--good-bg); border: 1px solid #b9dcc6; font-size: 13px; color: var(--good); }
.tip button { min-height: 38px; border-radius: 999px; border: 0; background: #1d6b3a; color: #fff; font-weight: 600; font-size: 13px; padding: 0 14px; flex-shrink: 0; }
.note { padding: 10px 12px; border-radius: 10px; background: #fff7e0; border: 1px solid #f2dc8a; font-size: 13px; }
.error { padding: 10px 12px; border-radius: 10px; background: #fdecea; border: 1px solid #f3b8b0; font-size: 13px; color: #7a1d12; }

.opt { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 13px; border: 1px solid var(--line2); border-radius: 12px; background: #fff; text-align: left; width: 100%; font-size: 14px; }
.opt.on { border: 2px solid var(--ink); background: var(--tint); padding: 12px; }

.deal { display: flex; flex-direction: column; gap: 8px; padding: 16px; border-radius: 16px; border: 2px solid var(--yellow); background: #fffbea; }
.dealtag { align-self: flex-start; background: var(--ink); color: var(--yellow); font-size: 11px; font-weight: 700; border-radius: 999px; padding: 3px 9px; }
.deal .big { font-size: 17px; font-weight: 700; }
.deal s { color: var(--muted); font-weight: 400; font-size: 14px; }

.extra { display: grid; grid-template-columns: 64px minmax(0, 1fr); column-gap: 12px; row-gap: 8px; align-items: center; padding: 12px; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.extra .xr { grid-column: 2; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.extra.on { border: 2px solid #1d6b3a; background: #eef8f1; padding: 11px; }
.extra .ph { width: 64px; height: 64px; border-radius: 10px; background: var(--tint2); flex-shrink: 0; object-fit: cover; }
.extra img.ph.fit { object-fit: contain; background: #fff; border: 1px solid var(--line); }
.extra .body { flex: 1; display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.added { font-size: 12px; color: var(--good); font-weight: 600; }

.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 14px; font-weight: 500; }
.field input, .field select { height: 48px; border: 1px solid #a8a49a; border-radius: 10px; padding: 0 12px; background: #fff; width: 100%; }
.field input[aria-invalid="true"] { border-color: #b3261e; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.yn { display: flex; gap: 8px; }
.yn button { flex: 1; height: 44px; border: 1px solid var(--line2); border-radius: 10px; background: #fff; font-size: 14px; }
.yn button.on { border: 2px solid var(--ink); background: var(--ink); color: #fff; font-weight: 600; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; line-height: 1.45; }
.check input { width: 22px; height: 22px; margin: 1px 0 0; flex-shrink: 0; accent-color: var(--ink); }
.paybox { border: 2px dashed var(--line2); border-radius: 14px; padding: 18px; text-align: center; font-size: 14px; color: var(--muted); background: #fafaf7; }

.cta { background: var(--yellow); border: 0; border-radius: 999px; min-height: 52px; padding: 0 22px; font-size: 16px; font-weight: 700; color: var(--ink); }
.cta:hover:not(:disabled) { background: var(--yellow-hover); }
.cta:disabled { background: #eee3a8; color: #6b6b6b; }
.cta.wide { width: 100%; }

/* Summary */
.sum { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 16px; display: flex; flex-direction: column; gap: 10px; }
.sumline { display: flex; justify-content: space-between; gap: 10px; font-size: 14px; }
.sumline > span:last-child { white-space: nowrap; }
.sumline.disc { color: var(--good); font-weight: 600; }
.sumtotal { display: flex; justify-content: space-between; align-items: baseline; border-top: 1px solid var(--line); padding-top: 10px; }
.sumtotal b { font-size: 20px; font-variant-numeric: tabular-nums; }
.promo { display: flex; gap: 8px; }
.promo input { flex: 1; min-width: 0; height: 44px; border: 1px solid #a8a49a; border-radius: 10px; padding: 0 12px; text-transform: uppercase; }
.promo button { height: 44px; border-radius: 10px; border: 1px solid var(--ink); background: #fff; padding: 0 14px; font-weight: 600; }
.trust { font-size: 12px; color: var(--muted); }

.mobile-sum { background: var(--ink); color: #fff; margin-top: 10px; }
.mobile-sum > button { width: 100%; max-width: 1120px; margin: 0 auto; display: flex; align-items: center; gap: 12px; background: none; color: #fff; border: 0; padding: 12px 16px; text-align: left; }
.mobile-sum img, .mobile-sum .msph { width: 44px; height: 44px; border-radius: 8px; object-fit: cover; flex-shrink: 0; background: #333; }
.mobile-sum .t { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.mobile-sum .t b { font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mobile-sum .t span { font-size: 12px; color: #d6d3c8; }
.mobile-sum .det { color: var(--yellow); font-weight: 700; font-size: 14px; white-space: nowrap; }
.mobile-sum .sum.phone { border-radius: 0; padding: 4px 16px 18px; max-width: 1120px; margin: 0 auto; }
.bottombar { position: fixed; left: 0; right: 0; bottom: 0; background: #fff; border-top: 1px solid var(--line); padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); display: flex; align-items: center; justify-content: space-between; gap: 12px; z-index: 10; }
.bottombar .tot { display: flex; flex-direction: column; background: none; border: 0; padding: 0; text-align: left; }
.bottombar .tot b { font-size: 19px; font-variant-numeric: tabular-nums; }
.bottombar .tot span { font-size: 11px; color: var(--muted); text-decoration: underline; }

/* Reminder sheet */
.scrim { position: fixed; inset: 0; background: rgba(15, 34, 51, .5); display: flex; flex-direction: column; justify-content: flex-end; z-index: 20; animation: fade .2s ease-out both; }
.sheet { background: #fff; border-radius: 20px 20px 0 0; padding: 20px 16px calc(20px + env(safe-area-inset-bottom)); display: flex; flex-direction: column; gap: 12px; max-width: 560px; width: 100%; margin: 0 auto; animation: up .3s ease-out both; }
@media (min-width: 900px) { .scrim { justify-content: center; } .sheet { border-radius: 20px; } }
@keyframes up { from { transform: translateY(100%); } to { transform: none; } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }

.donecard { display: flex; flex-direction: column; gap: 12px; }
.tick { width: 56px; height: 56px; border-radius: 999px; background: var(--good-bg); display: flex; align-items: center; justify-content: center; }

@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } }
@media (max-width: 899px) { .desk-cta { display: none !important; } }

.top .secure { white-space: nowrap; }
.top .secure { font-size: 14px; }
.top .secure a { color: var(--ink); font-weight: 700; font-size: 17px; text-decoration: none; padding: 6px 0; }
@media (max-width: 420px) { .top .secure .sb { display: none; } }

/* ---------- Round 8 desktop look (28 Oct 2026, Luke) ---------- */
/* Numbered step tabs on desktop; phones keep the thin bars */
.steptabs { display: none; }
@media (min-width: 900px) {
  .steptabs { display: flex; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; margin-bottom: 14px; }
  .steptab { flex: 1; padding: 12px 8px; text-align: center; font-size: 13px; color: var(--muted); background: #fff; border: 0; font-family: inherit; }
  .steptab.on { font-weight: 600; color: var(--ink); background: var(--yellow); }
  .steptab.done { color: var(--ink); background: var(--tint); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
  .steptab.done:hover { background: var(--tint2); }
  .steps .bars, .steps .stepcount, .holdchip { display: none !important; }
}
.holdchip { display: flex; align-items: center; gap: 5px; background: var(--yellow); border-radius: 999px; padding: 6px 10px; font-size: 13px; font-weight: 700; font-variant-numeric: tabular-nums; flex-shrink: 0; }

/* Guests: each ticket a card, price next to the − and + buttons */
.guest { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border: 1px solid var(--line); border-radius: 16px; background: #fff; min-height: 72px; }
.guest.on { border: 2px solid var(--ink); background: var(--tint); padding: 15px 17px; }
.guest .gl { flex: 1; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; }
.guest .gl b { font-size: 16px; }
.guest .gp { font-weight: 600; font-size: 15px; text-align: right; white-space: nowrap; }
@media (max-width: 420px) { .guest { padding: 12px; gap: 10px; } .guest.on { padding: 11px; } .guest .gp { font-size: 14px; } }

/* Where are you joining: two squares side by side */
.deps { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 12px; }
.dep { min-height: 96px; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 4px; padding: 16px 18px; border: 1px solid var(--line2); border-radius: 14px; background: #fff; text-align: left; font-size: 15px; }
.dep.on { border: 2px solid var(--ink); background: var(--tint); padding: 15px 17px; }

/* Summary panel on desktop: dark, with photo and the hold timer */
.sum .sumlines { display: flex; flex-direction: column; gap: 8px; }
.warnnote { color: #b3261e; }
.sum.dark { background: var(--ink); color: #fff; border: 0; padding: 20px; gap: 12px; }
.sum.dark .hint { color: #d6d3c8; }
.sum.dark .tourname { font-size: 18px; }
.sum.dark .sumphoto { display: block; width: 100%; height: 140px; object-fit: cover; border-radius: 12px; background: #333; }
.sum.dark .sumlines { border-top: 1px solid #333; padding-top: 12px; }
.sum.dark .sumline.disc { color: #8fd6a4; }
.sum.dark .warnnote { color: var(--yellow); }
.sum.dark .sumtotal { border-top: 1px solid #333; padding-top: 12px; }
.sum.dark .sumtotal b { font-size: 24px; }
.sum.dark .promo input { background: #2a2a2a; border-color: #555; color: #fff; height: 40px; }
.sum.dark .promo button { background: none; border-color: #d6d3c8; color: #fff; height: 40px; font-weight: 400; }
.sum.dark .linkbtn { color: #fff; }
.hold { background: #2a2a2a; border-radius: 12px; padding: 14px; display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: 13px; }
.hold .holdt { font-size: 24px; font-weight: 700; color: var(--yellow); font-variant-numeric: tabular-nums; }
.hold.over { background: #3a2414; flex-direction: column; align-items: stretch; }
.hold.over button { height: 40px; border-radius: 999px; border: 0; background: var(--yellow); font-weight: 600; font-size: 13px; }
.ticks { display: flex; flex-direction: column; gap: 4px; font-size: 12px; color: #d6d3c8; }

/* Round 8 feature card on the extras step (lunch / stinger suits) */
.feature { display: flex; gap: 16px; align-items: center; padding: 18px; border-radius: 16px; background: var(--ink); color: #fff; }
.feature img { width: 88px; height: 88px; border-radius: 12px; object-fit: cover; flex-shrink: 0; background: #333; }
.feature .fbody { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.feature .fbody b { font-size: 17px; }
.feature .fdesc { font-size: 13px; color: #d6d3c8; }
.fbadge { align-self: flex-start; background: var(--yellow); color: var(--ink); font-size: 11px; font-weight: 700; border-radius: 999px; padding: 3px 9px; animation: bob 2.4s ease-in-out infinite; }
.feature button { min-height: 48px; border-radius: 999px; border: 0; background: var(--yellow); color: var(--ink); font-weight: 700; font-size: 14px; padding: 0 20px; flex-shrink: 0; }
.feature .fdone { font-weight: 700; color: var(--yellow); flex-shrink: 0; }
.feature img.fit { object-fit: contain; background: #fff; }
@media (max-width: 560px) { .feature { flex-wrap: wrap; } .feature img { width: 64px; height: 64px; } .feature button { width: 100%; } }
@keyframes slideIn { from { opacity: 0; transform: translateX(28px); } to { opacity: 1; transform: none; } }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-4px); } }

/* ---------- Round 8 everywhere (29 Oct 2026) ---------- */
.card.plain { background: none; border: 0; padding: 0; }
.desk-title { display: none; }
.sheet .nphoto { width: 100%; height: 180px; object-fit: contain; border-radius: 12px; background: #fff; border: 1px solid var(--line); }
.desk-cta { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
@media (min-width: 900px) {
  /* One white card per step, title inside, Back link and a wide button at the bottom */
  .main { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 28px; gap: 18px; }
  .desk-title { display: block; font-size: 24px; }
  .steps .steprow { display: none; }
  .desk-cta .cta { min-width: 260px; }
  .ski { padding: 20px; border: 1px solid var(--line); border-radius: 16px; background: #fff; gap: 14px; }
  .rider { flex-direction: row; align-items: center; justify-content: flex-start; gap: 14px; padding: 16px 18px; }
  .rider.on { padding: 15px 17px; }
  .extra { grid-template-columns: 64px minmax(0, 1fr) auto; }
  .extra .xr { grid-column: 3; justify-content: flex-end; }
  .extra .xr .price { font-size: 15px; }
  .yn button { flex: 0 0 96px; }
}

/* Logo, phone and the steps stay at the top while scrolling (29 Oct) */
.stick { position: sticky; top: 0; z-index: 15; background: var(--cream); box-shadow: 0 1px 0 var(--line); }
.main .error, .main [aria-invalid="true"] { scroll-margin-top: 190px; scroll-margin-bottom: 110px; }

/* Square's card box floats over this slot (it's an iframe, kept out of redraws) */
.cardslot { min-height: 56px; margin: 4px 0 8px; }
#sq-host { display: none; }

/* Bot check: hidden unless Cloudflare asks for a tap, then a small box over the page */
#human-box { display: none; }
#human-box.show { display: block; position: fixed; left: 50%; top: 40%; transform: translate(-50%, -50%); z-index: 30; background: #fff; padding: 16px; border-radius: 12px; box-shadow: 0 10px 40px rgba(0,0,0,.25); }

/* Phones: the hold ran out (the desktop shows this in the side panel) */
.holdover-m { background: #fff4e5; border: 1px solid #f0c48a; color: #5a3200; border-radius: 12px; padding: 12px 14px; display: flex; flex-direction: column; gap: 10px; font-size: 14px; margin-bottom: 12px; }
.holdover-m button { height: 44px; border-radius: 999px; border: 0; background: var(--yellow); font-weight: 600; font-size: 14px; color: #1a1a1a; }

/* Paying: the card is checked and the charge/booking is going through */
.payover { position: fixed; inset: 0; z-index: 60; background: rgba(15, 23, 42, .55); display: grid; place-items: center; padding: 20px; }
.paywait { background: #fff; border-radius: 16px; padding: 26px 22px; max-width: 340px; width: 100%; text-align: center; display: grid; gap: 10px; justify-items: center; box-shadow: 0 12px 40px rgba(0,0,0,.25); }
.paywait b { font-size: 18px; }
.paywait span:last-child { font-size: 14px; color: var(--muted); line-height: 1.45; }
.spin { width: 40px; height: 40px; border-radius: 50%; border: 4px solid #e5e7eb; border-top-color: var(--ink, #1e293b); animation: paspin .8s linear infinite; }
@keyframes paspin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .spin { animation: paspin 2.4s linear infinite !important; } }
