/* Booking page (/book and /booking/<team>), Nov 17: friendly banner with the cups, a form in three numbered steps,
   quick picks for the number of coffees, and a live "Your coffee stop" ticket beside it. Uses the fp-* banner from style.css.
   Nov 18: the page is centered under the header (it sat on the left on wide screens), the banner is shorter,
   and the ticket's cup stands on top of the ticket instead of covering its edge. */
.book-page{max-width:1320px;margin:0 auto;padding:36px 4% 90px}
.book-hero{padding:32px 44px}
.book-hero .page-title{font-size:clamp(34px,3.6vw,52px);max-width:640px}
.book-hero .fp-duo img{height:164px}
.book-hero .page-intro{max-width:560px}
.book-how{list-style:none;display:flex;flex-wrap:wrap;gap:10px;margin:20px 0 0;padding:0}
.book-how li{display:flex;align-items:center;gap:8px;padding:7px 14px 7px 7px;border:2px solid #4b220f;border-radius:999px;background:#fffaf1;font-size:14px;font-weight:700;line-height:1.2;color:#4b220f}
.book-how b{display:grid;place-items:center;flex:none;width:26px;height:26px;border-radius:50%;background:var(--orange);color:#fff;font-size:13px}
.book-how li:nth-child(2) b{background:var(--teal)}
.book-how li:nth-child(3) b{background:#4b220f}
.book-page #msg{margin-top:24px}
.book-page #msg:empty{display:none}
.book-page #msg .notice{margin:0;border-radius:14px}
.book-layout{display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:30px;align-items:start;margin-top:30px}
.book-card{padding:30px 32px;border:2px solid #4b220f;border-radius:26px;background:#fffaf1;box-shadow:6px 6px 0 #4b220f}
.book-card .tp-team-note{border-radius:14px;margin-bottom:18px}
#bookingForm [hidden]{display:none!important}
.book-step{margin:0 0 26px;padding:0 0 26px;border:0;border-bottom:2px dashed #e3d2bf;min-width:0}
.book-step legend{display:flex;align-items:center;gap:10px;margin-bottom:16px;padding:0;font:600 24px/1.2 'Playfair Display',Georgia,serif;color:var(--ink)}
.book-step legend b{display:grid;place-items:center;flex:none;width:34px;height:34px;border:2px solid #4b220f;border-radius:50%;background:#d3e9e6;font:800 16px/1 'DM Sans',Arial,sans-serif;color:#4b220f}
.book-step:nth-of-type(2) legend b{background:#fde3c9}
.book-step:nth-of-type(3) legend b{background:#fbeab8}
.book-step legend .muted{margin:3px 0 0;font:400 14px/1.2 'DM Sans',Arial,sans-serif}
.book-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.book-grid .field.full,.book-grid .booking-notes{grid-column:1/-1}
.book-card .field{align-content:start}
.book-card .field label{font-size:13px;font-weight:700;color:#4b220f}
.book-card .field label .muted{font-weight:400}
.book-card .field input,.book-card .field textarea{border:2px solid #d8c6b2;border-radius:12px;background:#fff;padding:12px 14px}
.book-card .field input:focus,.book-card .field textarea:focus{border-color:var(--teal);outline:3px solid #d3e9e6;outline-offset:0}
.field-hint{font-size:13px;line-height:1.45;color:#76513d;margin:2px 0 0}
.book-qty{display:flex;flex-wrap:wrap;align-items:center;gap:12px 16px}
.book-stepper{display:flex;align-items:stretch;border:2px solid #4b220f;border-radius:14px;background:#fff;overflow:hidden;box-shadow:3px 3px 0 #4b220f}
.book-stepper button{width:46px;border:0;background:#d3e9e6;color:#4b220f;font-size:22px;font-weight:800;cursor:pointer}
.book-stepper button:hover{background:#b9dcd7}
.book-card .book-stepper input{width:90px;border:0;border-radius:0;text-align:center;font-size:18px;font-weight:800;-moz-appearance:textfield}
.book-card .book-stepper input:focus{outline:none;background:#f3faf9}
.book-stepper input::-webkit-inner-spin-button,.book-stepper input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}
.book-chips{display:flex;flex-wrap:wrap;gap:8px}
.book-chips button{padding:8px 15px;border:2px solid #4b220f;border-radius:999px;background:#fffaf1;color:#4b220f;font-size:14px;font-weight:800;line-height:1.2;cursor:pointer;transition:transform .15s}
.book-chips button:hover{transform:translateY(-2px);background:#fde3c9}
.book-chips button[aria-pressed=true]{background:var(--orange);color:#fff}
.book-logo-row{display:flex;align-items:center;gap:14px;flex-wrap:wrap;padding:14px;border:2px dashed #d8c6b2;border-radius:16px;background:#fff}
.book-logo-preview{width:72px;height:72px;border-radius:14px;border:2px solid #4b220f;background:#fffdfa center/contain no-repeat;flex:none}
.book-card .book-logo-row input[type=file]{flex:1 1 220px;min-width:0;border:0;padding:0;background:none;font-size:14px}
.book-logo-row input[type=file]::file-selector-button{margin-right:12px;padding:9px 16px;border:2px solid #4b220f;border-radius:999px;background:#d3e9e6;color:#4b220f;font-weight:800;cursor:pointer}
.booking-notes{border:2px solid #d8c6b2;border-radius:16px;background:#fff;overflow:hidden}
.booking-notes summary{cursor:pointer;padding:13px 16px;font-weight:700;color:#4b220f;list-style:none}
.booking-notes summary::-webkit-details-marker{display:none}
.booking-notes summary::after{content:"＋";float:right;color:var(--teal);font-weight:800}
.booking-notes[open] summary::after{content:"−"}
.booking-notes .notes-inner{display:grid;gap:6px;padding:0 16px 16px}
.booking-notes .notes-inner label{font-size:13px;font-weight:700}
.booking-notes textarea{width:100%;min-height:92px;border:2px solid #d8c6b2;border-radius:12px;padding:12px 14px}
.book-account{margin-bottom:24px;border:2px solid #4b220f;border-radius:18px;background:#eaf5f3;padding:16px 18px}
.book-account .book-check{display:flex;align-items:flex-start;gap:12px;font-weight:700;cursor:pointer;color:#4b220f}
.book-account .book-check input{width:22px;height:22px;margin:1px 0 0;accent-color:#087d7d;flex:none}
.book-account .book-check span{font-weight:400;display:block;font-size:14px;color:#5e4836}
.book-account .book-check strong{color:#4b220f}
.book-account .field{margin-top:12px}
.book-send{display:flex;flex-wrap:wrap;align-items:center;gap:14px 20px}
.book-send .button{padding:15px 28px;border:2px solid #4b220f;border-radius:999px;background:var(--orange);color:#fff;font-size:17px;font-weight:800;box-shadow:4px 4px 0 #4b220f;transition:transform .15s,box-shadow .15s}
.book-send .button:hover:not(:disabled){transform:translate(-2px,-2px);box-shadow:6px 6px 0 #4b220f}
.book-send p{flex:1 1 220px;margin:0;font-size:14px;line-height:1.45;color:#76513d}
.book-side{position:sticky;top:24px;display:grid;gap:24px}
/* The teal cup stands on the ticket's top edge: the ticket leaves room above itself for it. */
.book-ticket{position:relative;margin-top:92px;padding:18px 20px 20px;border:2px solid #4b220f;border-radius:22px;background:#d3e9e6;box-shadow:5px 5px 0 #4b220f}
.book-ticket-cup{position:absolute;bottom:calc(100% - 6px);left:50%;height:98px;width:auto;margin-left:-40px;filter:drop-shadow(0 4px 5px rgba(75,34,15,.16));animation:role-bob 5s ease-in-out infinite}
.book-ticket-tag{margin:0 0 14px;padding-bottom:12px;border-bottom:2px dashed #4b220f;text-align:center;font:600 22px/1.2 'Playfair Display',Georgia,serif;color:var(--ink)}
.book-ticket dl{margin:0;display:grid;gap:8px}
.book-ticket dl>div{display:flex;align-items:baseline;justify-content:space-between;gap:14px;padding:10px 12px;border-radius:12px;background:#fffaf1}
.book-ticket dl>div[hidden]{display:none}
.book-ticket dt{display:flex;align-items:center;gap:8px;flex:none;font-size:13px;font-weight:700;color:#76513d}
.book-ticket dt span{font-size:16px;line-height:1}
.book-ticket dd{margin:0;text-align:right;font-size:14px;font-weight:800;line-height:1.35;color:#4b220f;overflow-wrap:anywhere}
.book-ticket dd.empty{font-weight:600;color:#a08670}
.book-perks{padding:22px;border:2px dashed #4b220f;border-radius:22px;background:#fffaf1}
.book-perks h2{margin:0 0 14px;letter-spacing:0;font:600 20px/1.25 'Playfair Display',Georgia,serif;color:var(--ink)}
.book-perks ul{list-style:none;margin:0 0 14px;padding:0;display:grid;gap:10px}
.book-perks li{display:flex;align-items:center;gap:12px;font-size:14px;font-weight:600;line-height:1.4;color:#4b220f}
.book-perks li span{display:grid;place-items:center;flex:none;width:34px;height:34px;border-radius:50%;background:#fde3c9;font-size:17px}
.book-perks p{margin:0;font-size:13px;color:#76513d}
.book-perks a{color:var(--teal);font-weight:700;overflow-wrap:anywhere}
@media(prefers-reduced-motion:reduce){.book-ticket-cup{animation:none}}
@media(max-width:1000px){.book-layout{grid-template-columns:1fr}.book-side{position:static;grid-template-columns:1fr 1fr;align-items:end}}
@media(max-width:720px){.book-page{padding:24px 16px 70px}.book-hero{padding:28px 22px 0}.book-hero .page-title{font-size:36px}.book-hero .page-intro{font-size:16px}.book-how{gap:8px;margin-top:16px}.book-hero .fp-duo img{height:120px}.book-card{padding:22px 18px;border-radius:22px}.book-grid{grid-template-columns:1fr}.book-step legend{font-size:21px}.book-side{grid-template-columns:1fr}.book-ticket{display:none}.book-how li{font-size:13px}.book-send .button{width:100%;justify-content:center}}
