/* Finz Booking & Enquiries - scoped to .finz-be. Default look = main Finz tokens (orange, lime, dark teal, Manrope).
   Page variants (bottom of file) only override the custom properties below. */
.finz-be{--fbe-orange:#FD6745;--fbe-btn-ink:#fff;--fbe-lime:#D8FF3E;--fbe-on-accent:#0b2b2e;--fbe-bg:#0b2b2e;--fbe-opt-bg:#0b2b2e;--fbe-opt-hi:#1d5c61;--fbe-card:#123f43;--fbe-line:rgba(255,255,255,.18);--fbe-err:#ffb4a3;
	font-family:Manrope,system-ui,sans-serif;color:#fff;background:var(--fbe-card);border-radius:20px;padding:clamp(18px,4vw,32px);max-width:760px;margin:0 auto;box-sizing:border-box;color-scheme:dark}
.finz-be *{box-sizing:border-box}
.finz-be-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.finz-be .wide{grid-column:1/-1}
.finz-be label,.finz-be legend{display:block;font-weight:700;font-size:14px;letter-spacing:.02em}
.finz-be fieldset{border:0;margin:0;padding:0;min-width:0}
.finz-be input[type=text],.finz-be input[type=tel],.finz-be input[type=email],.finz-be input[type=date],.finz-be input[type=number],.finz-be select,.finz-be textarea{
	display:block;width:100%;margin-top:6px;padding:13px 14px;font:inherit;font-weight:500;color:#fff;background:var(--fbe-bg);border:1px solid var(--fbe-line);border-radius:12px;min-height:48px}
.finz-be input:focus,.finz-be select:focus,.finz-be textarea:focus{outline:2px solid var(--fbe-lime);outline-offset:1px}
/* Dropdowns: the closed control and the opened list use the same dark background, so white text is always readable.
   Chrome/Edge/Firefox draw the opened list from these rules; Safari and phone pickers use their own native light list,
   which ignores option colours, so it stays dark text on light there. */
.finz-be select{cursor:pointer;color-scheme:dark}
.finz-be select option,.finz-be select optgroup{background-color:var(--fbe-opt-bg)!important;color:#fff!important}
.finz-be select option:checked{background-color:var(--fbe-opt-hi)!important;color:#fff!important}
.finz-be select option:disabled{color:rgba(255,255,255,.5)!important}
.finz-be select:disabled{opacity:.6;cursor:not-allowed}
.finz-be input[type=radio],.finz-be input[type=checkbox]{accent-color:var(--fbe-lime)}
.finz-be label.inline{display:inline-flex;align-items:center;gap:8px;margin:8px 18px 0 0;font-weight:600}
.finz-be label.check{display:flex;gap:10px;align-items:flex-start;font-weight:500}
/* Time heading + slots appear only after a date is chosen. */
.finz-be .finz-be-time[hidden]{display:none!important}
.finz-be-slots{display:flex;flex-wrap:wrap;gap:8px;margin-top:8px}
.finz-be-slot{position:relative}
.finz-be-slot input{position:absolute;opacity:0;inset:0}
.finz-be-slot span{display:inline-block;padding:10px 16px;border:1px solid var(--fbe-line);border-radius:999px;font-weight:700;cursor:pointer;min-height:44px;line-height:22px}
.finz-be-slot input:checked+span{background:var(--fbe-lime);color:var(--fbe-on-accent);border-color:var(--fbe-lime)}
.finz-be-slot input:focus-visible+span{outline:2px solid #fff;outline-offset:2px}
.finz-be-slot.request span{border-style:dashed;opacity:.85}
.finz-be-hint,.finz-be-note{font-size:13px;opacity:.8;margin:6px 0}
.finz-be-hint.finz-be-empty{opacity:1;padding:10px 14px;border-radius:12px;border:1px solid var(--fbe-line);background:rgba(255,255,255,.05);width:100%}
.finz-be-large{margin:14px 0;padding:12px 14px;border-radius:12px;background:rgba(253,103,69,.18)}
.finz-be-large a{color:var(--fbe-lime)}
.finz-be-btn{margin-top:14px;background:var(--fbe-orange);color:var(--fbe-btn-ink);border:0;border-radius:999px;padding:15px 34px;font:800 16px Manrope,system-ui,sans-serif;cursor:pointer;min-height:50px;transition:transform .15s}
.finz-be-btn:hover{transform:translateY(-2px)}
.finz-be-btn:focus-visible{outline:2px solid var(--fbe-lime);outline-offset:3px}
.finz-be-btn[disabled]{opacity:.6;cursor:wait}
.finz-be-msg{margin-top:14px;font-weight:600}
.finz-be-msg.ok{color:var(--fbe-lime)}
.finz-be-msg.err{color:var(--fbe-err)}
.finz-be-hp{position:absolute!important;left:-9999px!important;width:1px;height:1px;opacity:0}
.finz-be-note a{color:var(--fbe-lime)!important;font-weight:700}
/* Host pages with light sections (e.g. the Platters enquiry panel) must not recolour the form text. */
.fz7-form .finz-be label,.fz7-form .finz-be legend,.fz7-form .finz-be .finz-be-note,.fz7-form .finz-be .finz-be-hint,.finz-be-dialog-wrap .finz-be label,.finz-be-dialog-wrap .finz-be legend,.finz-be-dialog-wrap .finz-be .finz-be-note,.finz-be-dialog-wrap .finz-be .finz-be-hint{color:#fff!important}
.fz7-form .finz-be input,.fz7-form .finz-be select,.fz7-form .finz-be textarea,.finz-be-dialog-wrap .finz-be input,.finz-be-dialog-wrap .finz-be select,.finz-be-dialog-wrap .finz-be textarea{color:#fff!important}
.fz7-form .finz-be .finz-be-msg.ok,.finz-be-dialog-wrap .finz-be .finz-be-msg.ok{color:var(--fbe-lime)!important}
.fz7-form .finz-be .finz-be-msg.err,.finz-be-dialog-wrap .finz-be .finz-be-msg.err{color:var(--fbe-err)!important}
.fz7-form .finz-be-slot span{color:#fff}
.fz7-form .finz-be-slot input:checked+span,.finz-be-dialog-wrap .finz-be-slot input:checked+span{color:var(--fbe-on-accent)!important}
/* Inside the Christmas booking pop-up the form should fill the panel. */
.finz-be-dialog-wrap{display:block!important;height:auto!important}
.finz-be-dialog-wrap .finz-be{max-width:none;width:100%}
/* Booking pop-ups (0.5.0). The theme dialogs were built for the old NowBookIt iframe:
   - "#xmBookFrame"/"#fzBookFrame" stay in the markup with the hidden attribute, but the theme forces
     ".xm-book-frame iframe{display:block;height:...}", which left a ~580px empty white block under the form;
   - both dialogs have a fixed height (min(880px,...) / min(48em,92vh)) instead of fitting the form (a modal dialog is pinned to all screen edges, so it must use height:fit-content, not auto, to shrink);
   - the Chef's Platter wrapper's inline max-height was taller than its dialog, clipping the bottom of the form.
   Fix: never show the unused iframe; size each dialog to its content up to the screen height, with one scroll
   area (the form panel) only when the form is taller than the screen. Full-screen on phones, as before. */
.finz-be-dialog-wrap iframe[hidden]{display:none!important}
.xm-book[open]:has(.finz-be-dialog-wrap){height:fit-content!important;max-height:calc(100dvh - 40px)!important}
.xm-book .finz-be-dialog-wrap{flex:0 1 auto!important;min-height:0!important;max-height:none!important;overflow-y:auto!important;overscroll-behavior:contain;padding:12px!important}
.fz-dialog[open]:has(.finz-be-dialog-wrap){display:flex!important;flex-direction:column;height:fit-content!important;max-height:min(52em,calc(100dvh - 36px))!important}
.fz-dialog .finz-be-dialog-wrap{flex:0 1 auto!important;min-height:0!important;max-height:none!important;overflow-y:auto!important;overscroll-behavior:contain}
@media (max-width:720px){
	.xm-book[open]:has(.finz-be-dialog-wrap){height:100dvh!important;max-height:100dvh!important}
	.xm-book .finz-be-dialog-wrap{flex:1 1 auto!important;padding:0!important;background:var(--fbe-card,#0e1a44)}
	.xm-book .finz-be-dialog-wrap .finz-be{border-radius:0}
}
@media (max-width:820px){
	.fz-dialog[open]:has(.finz-be-dialog-wrap){height:100dvh!important;max-height:100dvh!important}
	.fz-dialog .finz-be-dialog-wrap{flex:1 1 auto!important;background:#0e1a44}
}
@media (max-width:600px){.finz-be-grid{grid-template-columns:1fr}.finz-be-btn{width:100%}}

/* ---------- Page variants (0.4.0) ---------- */
/* Christmas pages: Book a Table for Christmas (body.xmas) and Christmas Chef's Platter (body.finz-cp-landing),
   including their booking pop-ups. Uses the pages' own navy, berry red and gold. */
body.xmas .finz-be,body.finz-cp-landing .finz-be,.finz-be.fbe-v-xmas{--fbe-orange:#d7362b;--fbe-btn-ink:#fff;--fbe-lime:#e6c77d;--fbe-on-accent:#0a1433;--fbe-bg:#0a1433;--fbe-opt-bg:#0a1433;--fbe-opt-hi:#2e3b96;--fbe-card:#0e1a44;--fbe-line:rgba(201,214,255,.2)}
body.xmas .finz-be-btn:hover,body.finz-cp-landing .finz-be-btn:hover,.fbe-v-xmas .finz-be-btn:hover{background:#b52a21}
body.xmas .finz-be-large,body.finz-cp-landing .finz-be-large{background:rgba(215,54,43,.2)}
/* Functions & Events page: sit inside the page's own glass enquiry card (no second teal card); theme-style fields and button. */
.finz-page-functions-events .finz-be{--fbe-card:transparent;--fbe-bg:rgba(255,255,255,.035);--fbe-opt-bg:#071719;--fbe-opt-hi:#123f43;--fbe-line:rgba(255,255,255,.14);--fbe-btn-ink:#071011;max-width:none;padding:6px 4px;border-radius:0}
.finz-page-functions-events .finz-be input[type=text],.finz-page-functions-events .finz-be input[type=tel],.finz-page-functions-events .finz-be input[type=email],.finz-page-functions-events .finz-be input[type=date],.finz-page-functions-events .finz-be input[type=number],.finz-page-functions-events .finz-be select,.finz-page-functions-events .finz-be textarea{border-radius:14px}
.finz-page-functions-events .finz-be-btn{width:100%;text-transform:uppercase;letter-spacing:.08em;font-size:14px}

/* ---------- Thank-you pages (0.5.0): [finz_thank_you] ---------- */
.finz-generic-inner:has(.finz-be-ty)>h1{display:none} /* the card carries the page heading */
.finz-be.finz-be-ty{max-width:760px;margin:clamp(24px,6vw,64px) auto;padding:clamp(26px,5vw,52px);border-radius:28px;text-align:center}
.finz-be.fbe-v-functions{--fbe-card:rgba(3,15,17,.72);--fbe-line:rgba(255,255,255,.15);--fbe-btn-ink:#071011;border:1px solid var(--fbe-line);backdrop-filter:blur(14px)}
.finz-be.fbe-v-xmas{border:1px solid rgba(230,199,125,.35);box-shadow:0 30px 80px rgba(0,0,0,.35)}
.finz-be-ty__eyebrow{margin:0 0 10px;font-size:12px;font-weight:800;letter-spacing:.2em;text-transform:uppercase;color:var(--fbe-lime)}
.finz-be-ty__title{margin:0 0 14px;font-family:"Bowlby One SC","Arial Black",Impact,sans-serif;font-weight:400;font-size:clamp(1.9rem,5vw,3rem);line-height:1;text-transform:uppercase;color:#fff;letter-spacing:.01em}
.finz-be-ty__lead{margin:0 auto 22px;max-width:540px;font-size:16px;line-height:1.6;color:rgba(255,255,255,.9)}
.finz-be-ty__details{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:10px;margin:0 0 20px;padding:0;text-align:left}
.finz-be-ty__details div{padding:12px 14px;border:1px solid var(--fbe-line);border-radius:14px;background:rgba(255,255,255,.04)}
.finz-be-ty__details dt{margin:0 0 4px;font-size:11px;font-weight:800;letter-spacing:.14em;text-transform:uppercase;color:var(--fbe-lime)}
.finz-be-ty__details dd{margin:0;font-size:16px;font-weight:700;color:#fff;word-break:break-word}
.finz-be-ty__note{margin:0 auto 10px;max-width:560px;padding:12px 14px;border-radius:12px;background:rgba(255,255,255,.06);font-size:14px;line-height:1.55}
.finz-be-ty__help{margin:0 0 6px;font-size:14px;opacity:.85}
.finz-be-ty__help a{color:var(--fbe-lime);font-weight:700}
.finz-be-ty__actions{display:flex;flex-wrap:wrap;justify-content:center;gap:12px;margin-top:10px}
.finz-be-ty .finz-be-btn{display:inline-flex;align-items:center;justify-content:center;text-decoration:none!important;color:var(--fbe-btn-ink)!important}
.finz-be-ty .finz-be-btn--ghost{background:transparent;border:1px solid var(--fbe-line);color:#fff!important}
.finz-be-ty .finz-be-btn--ghost:hover{border-color:var(--fbe-lime)}
.fbe-v-functions .finz-be-btn{text-transform:uppercase;letter-spacing:.08em;font-size:14px}
@media (max-width:600px){.finz-be-ty__actions .finz-be-btn{width:100%}}/* The theme sizes every page H1 up to 7rem (global.css, v63/v66 fixes); keep the thank-you heading proportionate. */
body .finz-generic-page .finz-be-ty .finz-be-ty__title,body .finz-be.finz-be-ty .finz-be-ty__title{font-size:clamp(1.8rem,4.4vw,2.8rem)!important;line-height:1.02!important;margin:0 0 14px!important}