/* book.css: the layouts of the booking steps (compose_book.py). Colours, type, buttons and fields are Codex's. */
.book-hero{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.05fr);background:var(--sage)}
.book-hero-copy{padding:clamp(34px,5vw,80px) var(--in);display:flex;flex-direction:column;align-items:flex-start;gap:18px}
.book-hero-copy h1{font-size:clamp(44px,5vw,78px);max-width:12ch}
.brandline{display:flex;align-items:center;gap:10px}.brandline img{width:44px;height:44px;background:var(--ink);border-radius:50%;padding:9px}.brandline .kicker{margin:0}
.welcome:empty{display:none}
.hero-ticks{list-style:none;margin:0;padding:0;display:grid;gap:10px;max-width:52ch}
.hero-ticks li{display:flex;gap:10px;align-items:flex-start}.hero-ticks .ic{width:18px;height:18px;margin-top:4px;flex:none}
.book-hero .actions{align-items:center}
.call-or-text{display:flex;flex-direction:column;justify-content:center;text-decoration:none;min-height:48px}
.call-or-text small{margin:0;font-size:12px}.call-or-text strong{font:400 24px/1.1 Gambetta,Georgia,serif}
.book-hero-photo{margin:0;min-height:100%}.book-hero-photo img{width:100%;height:100%;min-height:320px;object-fit:cover;display:block}
.promises{display:grid;grid-template-columns:repeat(3,1fr);gap:clamp(18px,3vw,48px);padding-block:28px}
.promises p{font-size:15px;max-width:none}.promises strong{display:block;font:400 22px/1.2 Gambetta,Georgia,serif;letter-spacing:-.02em;margin-bottom:4px}
.booking-grid h2{margin:6px 0 8px}
.booking-grid .section+.section{border-top:0}
.step-note{margin-bottom:22px;max-width:62ch}.step-note a{text-underline-offset:3px}
.visually-hidden{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.picks{border:0;padding:0;margin:16px 0 22px;display:grid;gap:12px;min-width:0}
.picks.two{grid-template-columns:1fr 1fr}.picks.three{grid-template-columns:repeat(3,1fr)}.picks.one{margin:10px 0 16px}
.picks legend{margin-bottom:10px;padding:0}
.pick{position:relative;display:flex;flex-direction:column;gap:4px;padding:18px 46px 18px 18px;background:var(--cream);border:1px solid var(--line);border-radius:6px;cursor:pointer;min-height:64px;min-width:0}
.pick input{position:absolute;top:16px;right:16px;width:18px;height:18px;accent-color:var(--ink);margin:0}
.pick:has(input:checked){border-color:var(--ink);box-shadow:inset 0 0 0 1px var(--ink)}
.pick:has(input:focus-visible),.tab:has(input:focus-visible){outline:2px solid var(--ink);outline-offset:2px}
.pick strong{font:400 22px/1.15 Gambetta,Georgia,serif;letter-spacing:-.02em}
.pick span{font-size:14px;line-height:1.4}.pick small{margin:0;font-size:13px}
.pick .ill{width:60px;height:60px;margin-bottom:4px}
.pick .flag{align-self:flex-start;font-style:normal;font-size:11px;margin:0 0 4px}
.pick b{font-weight:600;margin-top:6px}
.pick.time{padding-block:12px}
.tabs{border:0;padding:0;margin:8px 0 14px;display:flex;flex-wrap:wrap}
.tabs legend{margin-bottom:10px;padding:0}
.tab{position:relative;display:inline-flex;align-items:center;min-height:48px;padding:0 20px;border:1px solid var(--ink);cursor:pointer;font-weight:500}
.tab:first-of-type{border-radius:6px 0 0 6px}.tab+.tab{border-left:0;border-radius:0 6px 6px 0}
.tab input{position:absolute;inset:0;width:100%;height:100%;margin:0;opacity:0;cursor:pointer}
.tab:has(input:checked){background:var(--ink);color:var(--cream)}
.counter{display:flex;align-items:center;gap:10px;border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:12px 0;margin-bottom:22px}
.counter p{flex:1;display:flex;flex-direction:column}.counter small{margin:0}
.counter button,.qty button{width:44px;height:44px;border:1px solid var(--ink);border-radius:6px;display:grid;place-items:center;background:transparent;cursor:pointer}
.counter button .ic,.qty button .ic{width:16px;height:16px}
.counter button:disabled,.qty button:disabled{opacity:.35;cursor:default}
.counter output,.qty output{min-width:28px;text-align:center;font-weight:600}
.booking-grid .house-size{display:none;margin-bottom:22px}.booking-grid .house-size.active{display:block}
.booking-grid .inline-note{margin:12px 0 0;padding:14px 16px}.over-note{margin:6px 0}
.time-box{background:var(--sage);padding:18px 20px;border-radius:6px}.time-box .kicker{margin:0}
.time-box strong{display:block;font:400 26px/1.2 Gambetta,Georgia,serif;letter-spacing:-.02em;margin:2px 0 4px}.time-box p{font-size:14px}
.when-grid{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);gap:24px;align-items:start}
.cal-card{background:var(--cream);padding:18px;border-radius:6px;min-width:0}.cal-card .calendar{max-width:none}
.cal-card .week{font-size:12px;font-weight:600}
.days button.ask{box-shadow:inset 0 -4px 0 var(--peach)}
.cal-key{list-style:none;display:flex;flex-wrap:wrap;gap:6px 18px;margin:14px 0 0;padding:12px 0 0;border-top:1px solid var(--line);font-size:13px}
.cal-key li{display:flex;align-items:center;gap:7px}.cal-key li::before{content:"";width:14px;height:14px;border:1px solid var(--ink);display:block}
.cal-key .k-ask::before{background:var(--peach)}.cal-key .k-past::before{border-style:dashed;opacity:.5}
.times .kicker{margin:0}.times .date-out{font:400 24px/1.2 Gambetta,Georgia,serif;letter-spacing:-.02em;margin:4px 0}
.hint{display:flex;gap:10px;align-items:flex-start;background:var(--sage);padding:12px 14px;border-radius:6px;font-size:14px;max-width:none;margin-bottom:18px}
.hint .ic{width:16px;height:16px;margin-top:3px;flex:none}
.extra-cards{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.extra-card{border:1px solid var(--line);border-radius:6px;padding:18px 12px;display:flex;flex-direction:column;align-items:center;text-align:center;gap:6px;background:var(--cream);cursor:pointer;min-width:0}
.extra-card.on{border-color:var(--ink);box-shadow:inset 0 0 0 1px var(--ink);background:var(--sage)}
.extra-card .big{width:40px;height:40px}.extra-card h4{font-size:20px;overflow-wrap:anywhere}
.x-price{font-weight:600;font-size:14px;margin-bottom:8px}
.qty{display:flex;align-items:center;gap:6px;margin-top:auto}
.add{margin-top:auto;min-height:44px;padding:0 16px;border:1px solid var(--ink);border-radius:6px;display:inline-flex;align-items:center;gap:8px;cursor:pointer;background:transparent;font-weight:500}
.add .ic{width:14px;height:14px}.add[aria-pressed=true]{background:var(--ink);color:var(--cream)}.add[aria-pressed=true] .ic{display:none}
.group{border-top:1px solid var(--line);padding-top:22px;margin-top:26px}.group h3{font-size:28px}.group>p{margin-bottom:10px;font-size:14px}
.field small{display:inline;margin:0;font-weight:400;font-size:12px}
.money-in,.code-in{display:flex;align-items:flex-end;gap:8px}.money-in b{font:400 24px/1 Gambetta,Georgia,serif;padding-bottom:9px}
.code-in .secondary{min-height:48px;flex:none}
.code-status:empty{display:none}
.total-row{display:flex;justify-content:space-between;align-items:flex-end;gap:20px;border-bottom:1px solid var(--ink);padding-bottom:14px}
.total-row .kicker{margin-bottom:6px}
.big-total{font:400 clamp(46px,5vw,72px)/1 Gambetta,Georgia,serif;letter-spacing:-.03em;text-align:right}
.after-notes{display:grid;grid-template-columns:1fr 1fr;gap:24px;margin:20px 0 24px}.after-notes h4{font-size:22px;margin-bottom:4px}.after-notes p{font-size:14px}
.total-field .booking-submit{padding:0}
.receipt .total-line{border-bottom:0}.receipt .total-line b{font:400 34px/1 Gambetta,Georgia,serif;letter-spacing:-.02em}
.then{font-size:14px;margin-top:2px}.then em{font-style:normal;font-weight:600;background:var(--peach);padding:2px 6px;white-space:nowrap}
.promo{background:var(--lilac);padding:12px 14px;font-size:14px;margin-top:14px;border-radius:6px}
.promo .under{min-height:36px;padding:4px 0;font-size:14px}
.keeps{list-style:none;padding:0;margin:16px 0 0;display:grid;gap:10px}.keeps li{display:flex;gap:10px;align-items:flex-start}
.keeps .ic{width:16px;height:16px;margin-top:3px;flex:none}.keeps span{display:flex;flex-direction:column;font-size:13px}.keeps strong{font-size:14px;font-weight:600}
.ask{border-top:1px solid var(--line);margin-top:16px;padding-top:12px;display:flex;flex-direction:column}.ask small{margin:0}
.ask a{font:400 24px/1.5 Gambetta,Georgia,serif;text-decoration:none}
.book-hero .place-sign{width:auto;white-space:nowrap}.book-hero-copy{min-width:0}
@media(max-width:360px){.book-hero .place-sign{white-space:normal;height:auto;padding-inline:10px}.book-hero .place-sign>span{font-size:18px}}
.field>span:first-child{display:block}
.booking-grid>aside .receipt{max-height:calc(100vh - 110px);overflow:auto}
body[data-route=book] .float-text span{display:none}body[data-route=book] .float-text{padding:6px}
.small-summary summary{display:flex;justify-content:space-between;align-items:center;gap:10px}
@media(max-width:1000px){.extra-cards{grid-template-columns:1fr 1fr}.when-grid{grid-template-columns:1fr}}
@media(max-width:820px){.book-hero{grid-template-columns:1fr}.book-hero-photo img{max-height:340px}}
@media(max-width:670px){.promises,.after-notes,.picks.two,.picks.three{grid-template-columns:1fr}.pick .ill{width:48px;height:48px}.total-row{flex-direction:column;align-items:flex-start}.big-total{text-align:left}}
/* form fields are designed boxes, never a bare underline or the browser's own menu look (Alex 2026-11-24) */
.field input,.field select,.field textarea{border:1px solid var(--line);border-radius:6px;background:#fff;min-height:52px;padding:12px 14px;font-size:17px;color:var(--ink)}
.field textarea{min-height:96px;resize:vertical}
.field select{appearance:none;-webkit-appearance:none;background:#fff url(icons/down.svg) no-repeat right 14px center/16px;padding-right:42px;cursor:pointer}
.field input::placeholder,.field textarea::placeholder{color:#87978a}
.field input:hover,.field select:hover,.field textarea:hover{border-color:var(--ink)}
.field input:focus,.field select:focus,.field textarea:focus{outline:2px solid var(--ink);outline-offset:1px;border-color:var(--ink)}
.field input[aria-invalid=true]{border:2px solid var(--err)}
.money-in{align-items:center}.money-in b{padding-bottom:0}.code-in{align-items:stretch}.code-in .secondary{min-height:52px}

/* the opening's plain line and the line under the button; the address helpers */
.hero-line{font-size:20px;max-width:34ch}.no-card{font-size:14px;margin-top:-6px}
.area-status{display:block;margin:4px 0 10px;font-weight:500}.area-status:empty{display:none}
.area-status[data-area=in]::before{content:"";display:inline-block;width:16px;height:16px;margin-right:8px;vertical-align:-3px;background:url(icons/check.svg) center/contain no-repeat}
.area-status[data-area=out]{background:var(--cream);border:1px solid var(--ink);border-radius:6px;padding:12px 14px;font-weight:400}
.field{position:relative}
.suggest{position:absolute;left:0;right:0;top:100%;z-index:5;margin-top:4px;background:#fff;border:1px solid var(--ink);border-radius:6px;box-shadow:0 6px 18px #244b4022;overflow:hidden}
.suggest[hidden]{display:none}
.suggest button{display:block;width:100%;text-align:left;min-height:48px;padding:10px 14px;border:0;border-bottom:1px solid var(--sage);background:transparent;cursor:pointer;font:400 16px/1.3 Switzer,Arial,sans-serif;color:var(--ink)}
.suggest button:last-child{border-bottom:0}.suggest button small{display:inline;margin:0 0 0 6px;font-size:13px;opacity:.75}
.suggest button:hover,.suggest button[aria-selected=true]{background:var(--sage)}
.foot .rating{gap:12px}
