/* Anattā booking page (book.html, nl/book.html). Colours and fonts match the landing pages. */
:root {
  --paper: #f7f5f0; --paper-deep: #eeeae1; --ink: #262923; --ink-soft: #52564d; --muted: #6b6d63;
  --line: #d9d5c9; --moss: #3f4a3d; --clay: #9b5d49; --white: #fffefa;
  --serif: 'Cormorant Garamond', Georgia, serif; --sans: 'Jost', 'Helvetica Neue', sans-serif;
}
* { box-sizing: border-box; }
html { background: var(--paper-deep); }
body { margin: 0; background: var(--paper-deep); color: var(--ink); font-family: var(--sans); font-size: 16px; font-weight: 300; line-height: 1.6; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-underline-offset: 3px; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--clay); outline-offset: 3px; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; margin: 0; line-height: 1.15; }
.nm { font-family: var(--serif); font-size: 1.1em; font-weight: 400; }

.book-bar { display: flex; justify-content: space-between; align-items: center; width: min(1180px, 100% - 32px); margin: 0 auto; padding: 18px 0; }
.book-bar .logo { font-family: var(--serif); font-size: 21px; letter-spacing: .32em; text-decoration: none; }
.book-bar .right { display: flex; gap: 18px; font-size: 13px; }

.book { display: grid; grid-template-columns: minmax(0, 1fr) 380px; width: min(1180px, 100% - 32px); margin: 0 auto 64px; background: var(--white); border: 1px solid var(--line); }
.book-main { padding: 0 0 32px; border-right: 1px solid var(--line); min-width: 0; }
.steps { display: flex; flex-wrap: wrap; gap: 6px 10px; padding: 18px 28px; border-bottom: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.steps a { text-decoration: none; }
.steps a:hover { color: var(--ink); }
.steps span[aria-hidden] { color: var(--line); }
.step { padding: 26px 28px; border-bottom: 1px solid var(--line); }
.step > h2 { font-size: 26px; margin-bottom: 16px; }
.step .hint { margin: -8px 0 16px; color: var(--muted); font-size: 14px; }

/* packages */
.pkg { display: grid; grid-template-columns: 22px 1fr auto; gap: 6px 14px; padding: 18px; border: 1px solid var(--line); margin-bottom: 12px; cursor: pointer; }
.pkg:has(input:checked) { border-color: var(--moss); box-shadow: inset 0 0 0 1px var(--moss); background: #fbfaf6; }
.pkg input { margin-top: 5px; accent-color: var(--moss); }
.pkg h3 { font-size: 22px; }
.pkg .price { text-align: right; font-family: var(--serif); font-size: 22px; white-space: nowrap; }
.pkg .price s { color: var(--muted); font-size: 16px; margin-right: 4px; }
.pkg p { grid-column: 2 / -1; margin: 0; color: var(--ink-soft); font-size: 14px; }
.pkg .meta { grid-column: 2 / -1; display: flex; flex-wrap: wrap; gap: 4px 18px; font-size: 12px; color: var(--muted); }
.count { display: flex; align-items: center; gap: 12px; margin-top: 8px; }
.count select { min-height: 44px; padding: 8px 12px; border: 1px solid var(--line); background: var(--white); }

/* fields */
fieldset { border: 0; padding: 0; margin: 0; }
.traveller { padding: 18px 0; border-top: 1px dashed var(--line); }
.traveller:first-child { border-top: 0; padding-top: 0; }
.traveller legend { font-family: var(--serif); font-size: 20px; margin-bottom: 10px; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.grid2 .full { grid-column: 1 / -1; }
label.f { display: block; font-size: 12px; letter-spacing: .04em; color: var(--ink-soft); margin-bottom: 5px; }
input[type="text"], input[type="email"], input[type="tel"], input[type="date"], select, textarea { width: 100%; min-height: 46px; padding: 10px 12px; border: 1px solid var(--line); background: var(--white); border-radius: 0; }
textarea { min-height: 80px; }
.check { display: grid; grid-template-columns: 22px 1fr; gap: 10px; align-items: start; padding: 14px 0; border-bottom: 1px solid var(--line); cursor: pointer; }
.check:last-child { border-bottom: 0; }
.check input { margin-top: 5px; accent-color: var(--moss); width: 18px; height: 18px; }
.check b { font-weight: 500; }
.check small { display: block; color: var(--muted); font-size: 13px; }

/* payment */
.pay { border: 1px solid var(--line); margin-bottom: 12px; }
.pay > label { display: grid; grid-template-columns: 22px 1fr auto; gap: 10px; padding: 16px 18px; cursor: pointer; }
.pay:has(input:checked) { border-color: var(--moss); box-shadow: inset 0 0 0 1px var(--moss); }
.pay input { accent-color: var(--moss); margin-top: 4px; }
.pay .sched { margin: 0 18px 16px 50px; font-size: 14px; color: var(--ink-soft); }
.pay .sched div { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; border-top: 1px solid var(--line); }
.notice { padding: 12px 14px; background: var(--paper); border-left: 3px solid var(--clay); font-size: 14px; color: var(--ink-soft); }
.submit { padding: 26px 28px 0; }
.btn { display: inline-flex; justify-content: center; align-items: center; min-height: 52px; padding: 12px 28px; border: 1px solid var(--moss); background: var(--moss); color: var(--white); font-size: 13px; letter-spacing: .14em; text-transform: uppercase; cursor: pointer; }
.btn:hover { background: var(--ink); border-color: var(--ink); }
.btn:disabled { opacity: .5; cursor: wait; }
.form-error { min-height: 1em; color: #a23b2a; font-size: 14px; margin-top: 10px; }
.done { padding: 40px 28px; }
.done h2 { font-size: 34px; margin-bottom: 10px; }

/* summary */
.book-side { position: relative; }
.side-inner { position: sticky; top: 0; }
.trip-card { position: relative; height: 210px; overflow: hidden; color: var(--white); }
.trip-card img { width: 100%; height: 100%; object-fit: cover; }
.trip-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(20,22,18,.75), rgba(20,22,18,.1)); }
.trip-card div { position: absolute; z-index: 1; left: 20px; right: 20px; bottom: 16px; }
.trip-card h2 { font-size: 26px; }
.trip-card p { margin: 4px 0 0; font-size: 13px; opacity: .9; }
.summary { padding: 20px; }
.summary h3 { font-size: 22px; margin-bottom: 12px; }
.codebox { display: flex; gap: 8px; }
.codebox input { flex: 1; min-width: 0; }
.codebox button { min-height: 46px; padding: 0 16px; border: 1px solid var(--line); background: var(--paper); cursor: pointer; }
.code-msg { min-height: 1.2em; margin: 6px 0 0; font-size: 13px; }
.code-msg.ok { color: var(--moss); }
.code-msg.bad { color: #a23b2a; }
.summary dl { margin: 14px 0 0; font-size: 14px; }
.summary dl div { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-top: 1px solid var(--line); }
.summary dd { margin: 0; white-space: nowrap; }
.summary .total { font-weight: 500; font-size: 16px; }
.summary .due { color: var(--clay); font-weight: 500; }
.guarantee { margin-top: 14px; padding: 10px 12px; border: 1px dashed var(--clay); font-size: 13px; color: var(--ink-soft); }
.guarantee b { color: var(--clay); font-weight: 500; }
.mobile-bar { display: none; }

@media (max-width: 900px) {
  .book { grid-template-columns: 1fr; }
  .book-main { border-right: 0; }
  .book-side { order: -1; border-bottom: 1px solid var(--line); }
  .side-inner { position: static; }
  .trip-card { height: 170px; }
  .step, .submit { padding-left: 18px; padding-right: 18px; }
  .steps { padding: 14px 18px; }
  .grid2 { grid-template-columns: 1fr; }
  .pay .sched { margin-left: 18px; }
  .mobile-bar { position: fixed; z-index: 20; left: 0; right: 0; bottom: 0; display: flex; justify-content: space-between; align-items: center; padding: 12px 18px; background: var(--moss); color: var(--white); font-size: 14px; text-decoration: none; }
  body { padding-bottom: 64px; }
}
.summary dl.totals { margin-top: 0; }
.left-badge { position: absolute; z-index: 2; top: 14px; left: 14px; padding: 4px 10px; background: var(--clay); color: var(--white); font-size: 12px; letter-spacing: .06em; }

/* after the form: pay the deposit */
.done .btn { margin-top: 8px; text-decoration: none; }
.done .after { margin-top: 18px; color: var(--muted); font-size: 14px; }
#pay-qty { margin: 10px 0 6px; font-weight: 400; }
.confirmed { max-width: 640px; margin: 0 auto; padding: clamp(110px, 16vw, 170px) 24px 90px; }
.confirmed h1 { margin: 0 0 18px; font-family: var(--serif); font-size: clamp(34px, 5vw, 50px); font-weight: 300; line-height: 1.1; }
.confirmed p { margin: 0 0 14px; color: var(--ink-soft); }
.confirmed .btn { margin-top: 16px; text-decoration: none; }
