Reservation 3
Supper-club reservation block: a dark stage where every pick (party, seat, night, time) builds the table on screen, so the guest sees exactly where they will sit before they reserve.
Use it in a prompt
Use forms/reservation-3 from the FunnelDNA library. Follow the skill and theme contract. Ask me for the copy, images, and brand details you need; do not invent proof.
Paste into Claude or ChatGPT with FunnelDNA connected (MCP setup), or alongside the skill.
Use it in code
- Save
component.tsx(Code tab) ascomponents/funneldna/forms/reservation-3.tsx. - Import it and pass your copy and images (Props tab):
import { Reservation3 } from "@/components/funneldna/forms/reservation-3"
It restyles from the theme tokens on any wrapper (Theme tab). The specimen source is a complete working example.
pieces/forms/reservation-3/component.tsx 896 lines
// layout: segmented-stepper
// Supper-club reservation block: a dark stage where every pick (party, seat, night, time) builds the table on screen, so the guest sees exactly where they will sit before they reserve.
// Theme: colours, faces, radius and shadows read the theme and role tokens; hex appears only as var() fallbacks (the white glyph on the solid success badge follows the status-badge contract).
import * as React from 'react';
import { AlertCircle, CalendarDays, Check, Clock, Info, Lock, MapPin, Minus, Plus, ShieldCheck, Users } from 'lucide-react';
import { Texture, FX_HOST } from '../fx/fx';
import linen from '../fx/textures/linen';
export type ReservationSeating = {
value: string;
label: string;
/** Short line on the seat chip, e.g. 'Under the vines' */
detail?: string;
/** Sentence under the big photo that paints the seat */
caption?: string;
/** Photo of this seating (slot 'scene'); crossfades in when chosen */
image?: string;
imageAlt?: string;
};
export type ReservationTime = {
time: string;
/** Already taken: shown struck through, not selectable */
full?: boolean;
};
export type ReservationDay = {
/** Stable value passed to onSubmit, e.g. '2026-11-27' */
value: string;
weekday: string;
day: string;
month: string;
closed?: boolean;
/** Open times for this day; falls back to the times prop */
times?: ReservationTime[];
};
export type Reservation3Values = {
party: number;
seating: string;
date: string;
time: string;
name: string;
phone: string;
};
export type Reservation3Copy = {
steps: [string, string, string];
/** Step labels used on phones */
stepsShort: [string, string, string];
stepsLabel: string;
/** Screen-reader prefix per step; {n} is the step number */
stepLabel: string;
partyTitle: string;
seatTitle: string;
dateTitle: string;
timeTitle: string;
detailsTitle: string;
guestOne: string;
guestMany: string;
/** Placeholders: {n} {guests} */
partySummary: string;
removeGuest: string;
addGuest: string;
today: string;
weekdays: string[];
months: string[];
/** Placeholders: {weekday} {day} {month} */
dateSummary: string;
closed: string;
full: string;
pickDateFirst: string;
fullyBooked: string;
noDate: string;
noTime: string;
summaryLabel: string;
nextToNight: string;
nextToDetails: string;
back: string;
nameLabel: string;
namePlaceholder: string;
phoneLabel: string;
phonePlaceholder: string;
errorSeat: string;
errorDate: string;
errorTime: string;
errorName: string;
errorPhone: string;
};
export type Reservation3Props = {
headline?: string;
/** Phrase inside the headline set in the emphasis colour */
highlight?: string;
lead?: string;
seatings?: ReservationSeating[];
defaultSeating?: string;
partyMin?: number;
partyMax?: number;
defaultParty?: number;
/** Line under the party stepper, e.g. how to book a bigger group */
partyNote?: string;
/** Supplied days; when omitted the next dayCount days are generated */
dates?: ReservationDay[];
/** First generated day as YYYY-MM-DD; defaults to today */
startDate?: string;
dayCount?: number;
/** Weekdays closed in generated days, 0 = Sunday */
closedWeekdays?: number[];
/** Open times for every day without its own times */
times?: ReservationTime[];
defaultDate?: string;
defaultTime?: string;
/** Risk reversal that leads the reserve action, e.g. a free-cancellation policy */
policy?: string;
/** Deposit policy, shown once the party reaches depositFrom */
depositNote?: string;
depositFrom?: number;
buttonLabel?: string;
reassurance?: string;
disabled?: boolean;
disabledNote?: string;
copy?: Partial<Reservation3Copy>;
state?: 'default' | 'hover' | 'active' | 'disabled' | 'error';
/** Called with the validated booking; the page wires what happens next */
onSubmit?: (values: Reservation3Values) => void;
className?: string;
};
export function Reservation3(props: Reservation3Props) {
const {
headline = 'See your table before you book it',
highlight = 'before you book it',
lead = 'Choose your party, your seat and your night. Every pick shows you exactly where you’ll be sitting.',
seatings = DEFAULT_SEATINGS,
defaultSeating,
partyMin = 1,
partyMax = 8,
defaultParty = 2,
partyNote = '',
dates,
startDate,
dayCount = 14,
closedWeekdays = [],
times = DEFAULT_TIMES,
defaultDate = '',
defaultTime = '',
policy = '',
depositNote = '',
depositFrom = 1,
buttonLabel = 'Reserve my table',
reassurance = 'We only use your details for this booking.',
disabled = false,
disabledNote = 'Online booking is paused right now. Please check back soon.',
copy,
state = 'default',
onSubmit,
className,
} = props;
const t: Reservation3Copy = { ...DEFAULT_COPY, ...copy };
const uid = React.useId();
const isDisabled = disabled || state === 'disabled';
const lo = Math.max(1, Math.min(partyMin, partyMax));
const hi = Math.max(lo, partyMax);
const days = dates ?? buildDays(dayCount, startDate, closedWeekdays, t);
const timesFor = (d?: ReservationDay) => (d ? d.times ?? times : []);
const firstOpen = days.find((d) => !d.closed);
const firstTime = timesFor(firstOpen).find((s) => !s.full);
const [party, setParty] = React.useState(() => clamp(defaultParty, lo, hi));
const [seat, setSeat] = React.useState(defaultSeating ?? seatings[0]?.value ?? '');
const [date, setDate] = React.useState(state === 'error' && !defaultDate ? firstOpen?.value ?? '' : defaultDate);
const [time, setTime] = React.useState(state === 'error' && !defaultTime ? firstTime?.time ?? '' : defaultTime);
const [name, setName] = React.useState('');
const [phone, setPhone] = React.useState('');
const [step, setStep] = React.useState(state === 'error' ? 2 : 0);
const [reached, setReached] = React.useState(state === 'error' ? 2 : 0);
const [shown, setShown] = React.useState<boolean[]>([false, false, state === 'error']);
const panelRef = React.useRef<HTMLDivElement>(null);
const moved = React.useRef(false);
const firstRun = React.useRef(true);
React.useEffect(() => {
if (firstRun.current) {
firstRun.current = false;
return;
}
if (state === 'error') {
if (!date && firstOpen) setDate(firstOpen.value);
if (!time && firstTime) setTime(firstTime.time);
setStep(2);
setReached(2);
setShown([false, false, true]);
} else {
setStep(0);
setShown([false, false, false]);
}
}, [state]);
React.useEffect(() => {
if (!moved.current) return;
moved.current = false;
const el = panelRef.current;
if (!el) return;
el.focus({ preventScroll: true });
if (el.getBoundingClientRect().top < 0) {
const still = window.matchMedia('(prefers-reduced-motion: reduce)').matches;
el.scrollIntoView({ block: 'start', behavior: still ? 'auto' : 'smooth' });
}
}, [step]);
const seatObj = seatings.find((s) => s.value === seat);
const day = days.find((d) => d.value === date && !d.closed);
const slots = timesFor(day);
const slot = slots.find((s) => s.time === time && !s.full);
const errs = {
seat: seatObj ? '' : t.errorSeat,
date: day ? '' : t.errorDate,
time: !day || slot ? '' : t.errorTime,
name: name.trim().length >= 2 ? '' : t.errorName,
phone: digits(phone) >= 7 ? '' : t.errorPhone,
};
const stepOk = [!errs.seat, !errs.date && !errs.time, !errs.name && !errs.phone];
const err = (k: keyof typeof errs, i: number) => (shown[i] ? errs[k] : '');
const reveal = (i: number) => setShown((s) => s.map((v, j) => (j === i ? true : v)));
const goTo = (i: number) => {
moved.current = true;
setStep(i);
setReached((r) => Math.max(r, i));
};
const partyText = fill(t.partySummary, { n: String(party), guests: party === 1 ? t.guestOne : t.guestMany });
const dateText = day ? fill(t.dateSummary, { weekday: day.weekday, day: day.day, month: day.month }) : '';
const showDeposit = !!depositNote && party >= depositFrom;
const primaryLabel = [t.nextToNight, t.nextToDetails, buttonLabel][step];
const nameErr = err('name', 2);
const phoneErr = err('phone', 2);
const pickDate = (d: ReservationDay) => {
setDate(d.value);
if (!timesFor(d).some((s) => s.time === time && !s.full)) setTime('');
};
const handleSubmit = (e: React.FormEvent<HTMLFormElement>) => {
e.preventDefault();
if (isDisabled) return;
if (step < 2) {
if (stepOk[step]) goTo(step + 1);
else reveal(step);
return;
}
const bad = stepOk.findIndex((ok) => !ok);
if (bad !== -1) {
reveal(bad);
if (bad !== step) goTo(bad);
return;
}
if (!day || !slot) return;
onSubmit?.({ party, seating: seat, date: day.value, time: slot.time, name: name.trim(), phone: phone.trim() });
};
return (
<section
className={'cf-reservation-3' + (className ? ' ' + className : '')}
style={{ ...FX_HOST, overflow: 'clip' }}
aria-labelledby={`${uid}-title`}
>
<Texture src={linen} tone='band-ink' />
<style>{CSS}</style>
<div className='r3-inner'>
<div className='r3-grid'>
<header className='r3-head'>
<h2 id={`${uid}-title`} className='r3-title'>{renderHeadline(headline, highlight)}</h2>
{lead ? <p className='r3-lead'>{lead}</p> : null}
</header>
<div className='r3-main'>
<form className='r3-form' onSubmit={handleSubmit} noValidate>
<fieldset className='r3-fs' disabled={isDisabled}>
<ol className='r3-steps' aria-label={t.stepsLabel}>
{t.steps.map((label, i) => {
const on = i === step;
const done = !on && i <= reached && stepOk[i];
return (
<li key={label}>
<button
type='button'
className={'r3-seg' + (on ? ' is-on' : '')}
aria-current={on ? 'step' : undefined}
disabled={i > reached}
onClick={() => {
if (i !== step) goTo(i);
}}
>
{done ? (
<span className='r3-tick' aria-hidden='true'>
<Check size={16} strokeWidth={3} />
</span>
) : (
<span className='r3-num-badge' aria-hidden='true'>{i + 1}</span>
)}
<span className='r3-sr'>{fill(t.stepLabel, { n: String(i + 1) })}</span>
<span className='r3-seg-long'>{label}</span>
<span className='r3-seg-short' aria-hidden='true'>{t.stepsShort[i]}</span>
</button>
</li>
);
})}
</ol>
{isDisabled && disabledNote ? <p className='r3-paused'>{disabledNote}</p> : null}
<div key={step} ref={panelRef} className='r3-panel' tabIndex={-1} role='group' aria-label={t.steps[step]}>
{step === 0 ? (
<>
<fieldset className='r3-group'>
<legend className='r3-legend'>{t.partyTitle}</legend>
<div className='r3-party'>
<button
type='button'
className='r3-round'
onClick={() => setParty((p) => clamp(p - 1, lo, hi))}
disabled={party <= lo}
aria-label={t.removeGuest}
>
<Minus size={24} strokeWidth={2.5} aria-hidden='true' />
</button>
<div className='r3-count' aria-live='polite'>
<span key={party} className='r3-big'>{party}</span>
<span className='r3-unit'>{party === 1 ? t.guestOne : t.guestMany}</span>
{hi <= 24 ? (
<span className='r3-chairs' aria-hidden='true'>
{Array.from({ length: hi }, (_, i) => (
<span key={i} className={'r3-chair' + (i < party ? ' is-on' : '')} />
))}
</span>
) : null}
</div>
<button
type='button'
className='r3-round'
onClick={() => setParty((p) => clamp(p + 1, lo, hi))}
disabled={party >= hi}
aria-label={t.addGuest}
>
<Plus size={24} strokeWidth={2.5} aria-hidden='true' />
</button>
</div>
{partyNote ? (
<p className='r3-note'>
<Info size={16} strokeWidth={2.5} aria-hidden='true' className='r3-ico' />
{partyNote}
</p>
) : null}
</fieldset>
<fieldset className='r3-group'>
<legend className='r3-legend'>{t.seatTitle}</legend>
<div className='r3-seats'>
{seatings.map((s) => {
const on = s.value === seat;
return (
<button
key={s.value}
type='button'
className={'r3-seat' + (on ? ' is-on' : '')}
aria-pressed={on}
onClick={() => setSeat(s.value)}
>
{s.image ? <img className='r3-seat-img' src={s.image} alt='' decoding='async' /> : null}
<span className='r3-seat-text'>
<span className='r3-seat-name'>{s.label}</span>
{s.detail ? <span className='r3-seat-detail'>{s.detail}</span> : null}
</span>
</button>
);
})}
</div>
{err('seat', 0) ? <FieldError text={errs.seat} /> : null}
</fieldset>
</>
) : null}
{step === 1 ? (
<>
<fieldset className='r3-group'>
<legend className='r3-legend'>{t.dateTitle}</legend>
<div className='r3-dates'>
{days.map((d) => {
const on = d.value === date && !d.closed;
return (
<button
key={d.value}
type='button'
className={'r3-date' + (on ? ' is-on' : '')}
aria-pressed={on}
disabled={d.closed}
onClick={() => pickDate(d)}
>
<span className='r3-date-wd'>{d.weekday}</span>
<span className='r3-date-day'>{d.day}</span>
<span className='r3-date-mo'>{d.closed ? t.closed : d.month}</span>
</button>
);
})}
</div>
{err('date', 1) ? <FieldError text={errs.date} /> : null}
</fieldset>
<fieldset className='r3-group'>
<legend className='r3-legend'>{t.timeTitle}</legend>
{!day ? (
<p className='r3-note r3-note-flush'>{t.pickDateFirst}</p>
) : slots.some((s) => !s.full) ? (
<div className='r3-times'>
{slots.map((s) => {
const on = s.time === time && !s.full;
return (
<button
key={s.time}
type='button'
className={'r3-time' + (on ? ' is-on' : '')}
aria-pressed={on}
disabled={s.full}
onClick={() => setTime(s.time)}
>
<span className='r3-time-t'>{s.time}</span>
{s.full ? <span className='r3-time-full'>{t.full}</span> : null}
</button>
);
})}
</div>
) : (
<p className='r3-note r3-note-flush'>{t.fullyBooked}</p>
)}
{err('time', 1) ? <FieldError text={errs.time} /> : null}
</fieldset>
</>
) : null}
{step === 2 ? (
<>
<fieldset className='r3-group'>
<legend className='r3-legend'>{t.detailsTitle}</legend>
<div className='r3-fields'>
<div className='r3-field'>
<label className='r3-label' htmlFor={`${uid}-name`}>{t.nameLabel}</label>
<input
id={`${uid}-name`}
className='r3-input'
type='text'
autoComplete='name'
placeholder={t.namePlaceholder}
value={name}
onChange={(e) => setName(e.target.value)}
aria-invalid={!!nameErr}
aria-describedby={nameErr ? `${uid}-name-err` : undefined}
/>
{nameErr ? <FieldError id={`${uid}-name-err`} text={nameErr} /> : null}
</div>
<div className='r3-field'>
<label className='r3-label' htmlFor={`${uid}-phone`}>{t.phoneLabel}</label>
<input
id={`${uid}-phone`}
className='r3-input'
type='tel'
inputMode='tel'
autoComplete='tel'
placeholder={t.phonePlaceholder}
value={phone}
onChange={(e) => setPhone(e.target.value)}
aria-invalid={!!phoneErr}
aria-describedby={phoneErr ? `${uid}-phone-err` : undefined}
/>
{phoneErr ? <FieldError id={`${uid}-phone-err`} text={phoneErr} /> : null}
</div>
</div>
</fieldset>
{policy || showDeposit || reassurance ? (
<div className='r3-promise'>
{policy ? (
<p className='r3-policy'>
<ShieldCheck size={20} strokeWidth={2.5} aria-hidden='true' className='r3-ico' />
{policy}
</p>
) : null}
{showDeposit ? (
<p className='r3-note'>
<Info size={16} strokeWidth={2.5} aria-hidden='true' className='r3-ico' />
{depositNote}
</p>
) : null}
{reassurance ? (
<p className='r3-note r3-reassure-m'>
<Lock size={16} strokeWidth={2.5} aria-hidden='true' className='r3-ico' />
{reassurance}
</p>
) : null}
</div>
) : null}
</>
) : null}
</div>
<div className='r3-actions'>
{step > 0 ? (
<button type='button' className='r3-secondary r3-back' onClick={() => goTo(step - 1)}>
{t.back}
</button>
) : null}
<div className='r3-sum'>
<span className='r3-sum-1'>{partyText}{seatObj ? ' · ' + seatObj.label : ''}</span>
<span className='r3-sum-2'>{dateText ? dateText + ' · ' + (slot ? slot.time : t.noTime) : t.noDate}</span>
</div>
<div className='r3-go'>
<button
type='submit'
className={'r3-primary' + (state === 'hover' ? ' is-hover' : '') + (state === 'active' ? ' is-active' : '')}
>
{primaryLabel}
</button>
{step === 2 && reassurance ? (
<p className='r3-go-note'>
<Lock size={16} strokeWidth={2.5} aria-hidden='true' className='r3-ico' />
{reassurance}
</p>
) : null}
</div>
</div>
</fieldset>
</form>
</div>
<aside className='r3-stage' aria-label={t.summaryLabel}>
<div className='r3-photo'>
{seatings.map((s) =>
s.image ? (
<img
key={s.value}
src={s.image}
alt={s.value === seat ? s.imageAlt ?? s.label : ''}
aria-hidden={s.value === seat ? undefined : true}
className={s.value === seat ? 'is-on' : undefined}
decoding='async'
/>
) : null,
)}
{!seatObj?.image ? (
<span className='r3-photo-empty' aria-hidden='true'>
<MapPin size={24} strokeWidth={2.5} />
</span>
) : null}
</div>
<div className='r3-cap' aria-live='polite'>
{seatObj ? <h3 className='r3-cap-name'>{seatObj.label}</h3> : null}
{seatObj?.caption ? <p className='r3-cap-text'>{seatObj.caption}</p> : null}
</div>
<ul className='r3-pace'>
<li>
<Users size={16} strokeWidth={2.5} aria-hidden='true' />
{partyText}
</li>
{seatObj ? (
<li>
<MapPin size={16} strokeWidth={2.5} aria-hidden='true' />
{seatObj.label}
</li>
) : null}
<li className={day ? undefined : 'is-empty'}>
<CalendarDays size={16} strokeWidth={2.5} aria-hidden='true' />
{dateText || t.noDate}
</li>
<li className={slot ? undefined : 'is-empty'}>
<Clock size={16} strokeWidth={2.5} aria-hidden='true' />
{slot ? slot.time : t.noTime}
</li>
</ul>
</aside>
</div>
</div>
</section>
);
}
export default Reservation3;
function FieldError({ id, text }: { id?: string; text: string }) {
return (
<p id={id} className='r3-err' role='alert'>
<AlertCircle size={16} strokeWidth={2.5} aria-hidden='true' className='r3-ico' />
{text}
</p>
);
}
function renderHeadline(text: string, mark: string): React.ReactNode {
if (!mark) return text;
const i = text.indexOf(mark);
if (i < 0) return text;
return (
<>
{text.slice(0, i)}
<span className='r3-em'>{mark}</span>
{text.slice(i + mark.length)}
</>
);
}
function clamp(n: number, lo: number, hi: number) {
return Math.min(hi, Math.max(lo, n));
}
function digits(s: string) {
return s.split('').filter((ch) => ch >= '0' && ch <= '9').length;
}
function fill(s: string, v: Record<string, string>) {
return Object.keys(v).reduce((out, k) => out.split('{' + k + '}').join(v[k]), s);
}
function pad(n: number) {
return n < 10 ? '0' + n : String(n);
}
function parseDay(s?: string) {
if (s) {
const p = s.split('-').map(Number);
if (p.length === 3 && p.every((x) => !isNaN(x))) return new Date(p[0], p[1] - 1, p[2], 12);
}
const n = new Date();
return new Date(n.getFullYear(), n.getMonth(), n.getDate(), 12);
}
function buildDays(count: number, start: string | undefined, closed: number[], t: Reservation3Copy): ReservationDay[] {
const base = parseDay(start);
return Array.from({ length: Math.max(1, count) }, (_, i) => {
const d = new Date(base.getFullYear(), base.getMonth(), base.getDate() + i, 12);
return {
value: `${d.getFullYear()}-${pad(d.getMonth() + 1)}-${pad(d.getDate())}`,
weekday: i === 0 && !start ? t.today : t.weekdays[d.getDay()] ?? '',
day: String(d.getDate()),
month: t.months[d.getMonth()] ?? '',
closed: closed.includes(d.getDay()),
};
});
}
const DEFAULT_SEATINGS: ReservationSeating[] = [
{ value: 'dining', label: 'Dining room', detail: 'Candlelit tables', caption: 'A quiet table in the main room, set and waiting for you.' },
{ value: 'bar', label: 'Bar', detail: 'Close to the kitchen', caption: 'Stools at the counter, right where the plates come out.' },
{ value: 'patio', label: 'Patio', detail: 'Open air', caption: 'A table outside under the evening sky.' },
];
const DEFAULT_TIMES: ReservationTime[] = ['5:30 pm', '6:00 pm', '6:30 pm', '7:00 pm', '7:30 pm', '8:00 pm', '8:30 pm'].map((time) => ({ time }));
const DEFAULT_COPY: Reservation3Copy = {
steps: ['Party & seat', 'Night & time', 'Your details'],
stepsShort: ['Party', 'Night', 'Details'],
stepsLabel: 'Booking steps',
stepLabel: 'Step {n}: ',
partyTitle: 'How many are joining you?',
seatTitle: 'Pick where you’ll sit',
dateTitle: 'Pick your night',
timeTitle: 'Choose an open time',
detailsTitle: 'Who’s the table for?',
guestOne: 'guest',
guestMany: 'guests',
partySummary: '{n} {guests}',
removeGuest: 'Remove a guest',
addGuest: 'Add a guest',
today: 'Today',
weekdays: ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'],
months: ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'],
dateSummary: '{weekday} {day} {month}',
closed: 'Closed',
full: 'Full',
pickDateFirst: 'Pick a night above to see the open times.',
fullyBooked: 'That night is fully booked. Try another date.',
noDate: 'Pick a night',
noTime: 'Pick a time',
summaryLabel: 'Your table',
nextToNight: 'Choose your night',
nextToDetails: 'Add your details',
back: 'Back',
nameLabel: 'Name for the table',
namePlaceholder: 'Jane Smith',
phoneLabel: 'Mobile number',
phonePlaceholder: '(555) 123-4567',
errorSeat: 'Pick a seat to continue.',
errorDate: 'Pick a night to continue.',
errorTime: 'Choose an open time to continue.',
errorName: 'Add the name for the table.',
errorPhone: 'Add a number so we can reach you about your table.',
};
const CSS = `
.cf-reservation-3{
--r3-ink:var(--band-ink, #ffffff);
--r3-soft:color-mix(in oklab, var(--band-ink, #ffffff) 80%, var(--band, #1d2b45));
--r3-dim:color-mix(in oklab, var(--band-ink, #ffffff) 64%, var(--band, #1d2b45));
--r3-tint:oklch(from var(--band-ink, #ffffff) l c h / 0.07);
--r3-tint-2:oklch(from var(--band-ink, #ffffff) l c h / 0.14);
--r3-tint-3:oklch(from var(--band-ink, #ffffff) l c h / 0.22);
--r3-line:oklch(from var(--band-ink, #ffffff) l c h / 0.2);
--r3-shadow:var(--shadow, oklch(0.22 0.03 256));
--r3-pick-shadow:var(--shadow-md, 0 1px 2px oklch(0.22 0.03 256 / 0.22), 0 4px 10px -2px oklch(0.22 0.03 256 / 0.2));
--r3-gutter:clamp(16px, 5vw, 48px);
--r3-em:color-mix(in oklab, var(--accent-fill, var(--accent, #2f6fd6)) 50%, var(--band-ink, #ffffff));
--r3-ease:cubic-bezier(.2,.7,.2,1);
position:relative;
isolation:isolate;
background:var(--band, #1d2b45);
color:var(--r3-ink);
font-family:var(--font-body, system-ui, sans-serif);
padding:clamp(56px, 8vw, 112px) var(--r3-gutter) clamp(64px, 8.5vw, 120px);
}
.cf-reservation-3 *, .cf-reservation-3 *::before, .cf-reservation-3 *::after{box-sizing:border-box}
.cf-reservation-3 .r3-inner{position:relative;z-index:1;max-width:1120px;margin:0 auto}
.cf-reservation-3 .r3-grid{display:grid;grid-template-columns:minmax(0,1.08fr) minmax(0,.92fr);grid-template-rows:auto 1fr;grid-template-areas:'head stage' 'main stage';gap:32px clamp(32px, 5vw, 72px);align-items:start}
.cf-reservation-3 .r3-head{grid-area:head;min-width:0}
.cf-reservation-3 .r3-main{grid-area:main;min-width:0}
.cf-reservation-3 .r3-stage{grid-area:stage;min-width:0;position:sticky;top:24px}
.cf-reservation-3 .r3-sr{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}
.cf-reservation-3 .r3-ico{display:inline-block;vertical-align:-0.15em;margin-inline-end:.4em}
.cf-reservation-3 .r3-title{margin:0 0 16px;font-family:var(--font-display, system-ui, sans-serif);font-weight:var(--display-weight, 800);letter-spacing:var(--display-tracking, -0.025em);text-transform:var(--display-case, none);font-size:clamp(2rem, 3.6vw, 3.25rem);line-height:1.06;text-wrap:balance;color:var(--r3-ink)}
.cf-reservation-3 .r3-em{color:var(--r3-em)}
.cf-reservation-3 .r3-lead{margin:0;max-width:60ch;font-size:clamp(1.125rem, 1.5vw, 1.375rem);line-height:1.4;font-weight:500;color:var(--r3-soft);text-wrap:pretty}
.cf-reservation-3 .r3-form{margin-top:0}
.cf-reservation-3 .r3-fs{border:0;margin:0;padding:0;min-width:0}
.cf-reservation-3 .r3-steps{list-style:none;margin:0;padding:6px;display:grid;grid-template-columns:repeat(3, minmax(0,1fr));gap:6px;background:var(--r3-tint);border:1px solid var(--r3-line);border-radius:calc(var(--radius, 12px) + 6px)}
.cf-reservation-3 .r3-steps > li{display:flex;min-width:0}
.cf-reservation-3 .r3-seg{width:100%;min-height:52px;display:flex;align-items:center;justify-content:center;gap:10px;padding:6px 12px;border:0;border-radius:var(--radius, 12px);background:transparent;color:var(--r3-soft);font-family:var(--font-body, system-ui, sans-serif);font-size:15px;font-weight:800;line-height:1.15;text-align:center;text-wrap:balance;cursor:pointer;transition:background .16s ease, color .16s ease, box-shadow .16s ease}
.cf-reservation-3 .r3-seg:hover:not(:disabled):not(.is-on){background:var(--r3-tint-2);color:var(--r3-ink)}
.cf-reservation-3 .r3-seg.is-on{background:var(--card, #ffffff);color:var(--ink, #101828);box-shadow:inset 0 0 0 1px oklch(from var(--ink, #101828) l c h / 0.12), var(--shadow-sm, 0 1px 2px oklch(0.22 0.03 256 / 0.25))}
.cf-reservation-3 .r3-seg:disabled{cursor:default;color:var(--r3-dim)}
.cf-reservation-3 .r3-seg-short{display:none}
.cf-reservation-3 .r3-num-badge{width:24px;height:24px;flex:0 0 auto;border-radius:999px;display:inline-flex;align-items:center;justify-content:center;font-size:14px;font-weight:800;font-variant-numeric:tabular-nums;background:var(--r3-tint-2)}
.cf-reservation-3 .r3-seg.is-on .r3-num-badge{background:color-mix(in oklch, var(--ink, #101828) 8%, var(--card, #ffffff))}
.cf-reservation-3 .r3-tick{width:24px;height:24px;flex:0 0 auto;border-radius:999px;display:inline-flex;align-items:center;justify-content:center;background:var(--success, oklch(0.5 0.14 150));color:var(--r3-tick-ink, #ffffff)}
.cf-reservation-3 .r3-paused{margin:16px 0 0;padding:12px 16px;border-radius:10px;background:var(--warning-soft, oklch(0.93 0.014 85));color:var(--warning, oklch(0.5 0.1 85));font-size:15px;font-weight:600;line-height:1.4}
.cf-reservation-3 .r3-panel{margin-top:32px;outline:none;scroll-margin-top:16px;animation:r3-rise .45s var(--r3-ease) both}
@keyframes r3-rise{from{opacity:.82;transform:translateY(8px)}}
.cf-reservation-3 .r3-group{border:0;margin:0;padding:0;min-width:0}
.cf-reservation-3 .r3-group + .r3-group{margin-top:32px}
.cf-reservation-3 .r3-legend{float:left;width:100%;padding:0;margin:0 0 16px;font-family:var(--font-display, system-ui, sans-serif);font-weight:var(--display-weight, 800);font-size:clamp(1.3125rem, 1.8vw, 1.625rem);line-height:1.15;letter-spacing:-0.01em;color:var(--r3-ink);text-wrap:balance}
.cf-reservation-3 .r3-legend + *{clear:both}
.cf-reservation-3 .r3-note{margin:12px 0 0;font-size:15px;line-height:1.4;font-weight:500;color:var(--r3-soft);text-wrap:pretty}
.cf-reservation-3 .r3-note-flush{margin-top:0}
.cf-reservation-3 .r3-err{align-self:flex-start;margin:12px 0 0;padding:6px 12px;border-radius:8px;background:var(--danger-soft, oklch(0.93 0.024 27));color:var(--danger, oklch(0.5 0.17 27));font-size:15px;font-weight:600;line-height:1.4;text-wrap:pretty}
.cf-reservation-3 .r3-field .r3-err{margin-top:0}
.cf-reservation-3 button:focus-visible{outline:3px solid var(--r3-ink);outline-offset:3px}
.cf-reservation-3 .r3-party{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:16px;padding:20px clamp(16px, 3vw, 28px);border-radius:var(--card-radius, var(--radius, 14px));background:var(--r3-tint);border:1px solid var(--r3-line)}
.cf-reservation-3 .r3-count{display:flex;flex-direction:column;align-items:center;gap:8px;text-align:center;min-width:0}
.cf-reservation-3 .r3-big{display:block;margin:4px 0 0.3em;font-family:var(--font-display, system-ui, sans-serif);font-weight:var(--display-weight, 800);font-size:clamp(4rem, 8vw, 5.5rem);line-height:1;letter-spacing:-0.03em;font-variant-numeric:tabular-nums;color:var(--r3-ink);animation:r3-rise .3s var(--r3-ease) both}
.cf-reservation-3 .r3-unit{font-size:15px;font-weight:700;line-height:1.2;color:var(--r3-soft)}
.cf-reservation-3 .r3-chairs{display:flex;flex-wrap:wrap;justify-content:center;gap:8px;margin-top:4px}
.cf-reservation-3 .r3-chair{width:10px;height:10px;border-radius:999px;background:transparent;box-shadow:inset 0 0 0 1.5px var(--r3-line);transition:background .16s ease, box-shadow .16s ease}
.cf-reservation-3 .r3-chair.is-on{background:var(--accent-fill, var(--accent, #2f6fd6));box-shadow:none}
.cf-reservation-3 .r3-round{width:56px;height:56px;flex:0 0 auto;border-radius:999px;border:1px solid var(--r3-line);background:var(--r3-tint-2);color:var(--r3-ink);display:inline-flex;align-items:center;justify-content:center;cursor:pointer;transition:transform .16s ease, background .16s ease}
.cf-reservation-3 .r3-round:hover:not(:disabled){background:var(--r3-tint-3);transform:translateY(-1px)}
.cf-reservation-3 .r3-round:active:not(:disabled){transform:translateY(1px)}
.cf-reservation-3 .r3-round:disabled{opacity:.38;cursor:not-allowed}
.cf-reservation-3 .r3-seats{display:grid;grid-template-columns:repeat(3, minmax(0,1fr));gap:12px}
.cf-reservation-3 .r3-seat{display:flex;flex-direction:column;gap:12px;padding:8px 8px 16px;text-align:left;border-radius:var(--card-radius, var(--radius, 14px));border:1px solid var(--r3-line);background:var(--r3-tint);color:var(--r3-ink);font-family:var(--font-body, system-ui, sans-serif);cursor:pointer;min-width:0;transition:background .16s ease, border-color .16s ease, transform .16s ease, box-shadow .16s ease}
.cf-reservation-3 .r3-seat-img{display:block;width:100%;aspect-ratio:4/3;object-fit:cover;object-position:center;border-radius:8px}
.cf-reservation-3 .r3-seat-text{display:flex;flex-direction:column;gap:4px;padding:0 6px;min-width:0}
.cf-reservation-3 .r3-seat-name{font-size:17px;font-weight:800;line-height:1.2}
.cf-reservation-3 .r3-seat-detail{font-size:15px;font-weight:500;line-height:1.35;color:var(--r3-soft)}
.cf-reservation-3 .r3-seat.is-on .r3-seat-detail{color:var(--muted, #4a5568)}
.cf-reservation-3 .r3-dates{display:flex;gap:8px;overflow-x:auto;overscroll-behavior-x:contain;scroll-snap-type:x proximity;padding:4px 4px 12px;margin:-4px -4px 0;scrollbar-width:thin;scrollbar-color:var(--r3-line) transparent}
.cf-reservation-3 .r3-date{flex:0 0 76px;scroll-snap-align:start;min-height:92px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;padding:8px 12px;border:1px solid var(--r3-line);border-radius:var(--radius, 12px);background:var(--r3-tint);color:var(--r3-ink);font-family:var(--font-body, system-ui, sans-serif);cursor:pointer;transition:background .16s ease, border-color .16s ease, transform .16s ease, box-shadow .16s ease}
.cf-reservation-3 .r3-date-wd{font-size:14px;font-weight:800;letter-spacing:.06em;text-transform:uppercase;line-height:1.2}
.cf-reservation-3 .r3-date-day{font-family:var(--font-display, system-ui, sans-serif);font-weight:var(--display-weight, 800);font-size:1.625rem;line-height:1;font-variant-numeric:tabular-nums}
.cf-reservation-3 .r3-date-mo{font-size:14px;font-weight:600;line-height:1.2;color:var(--r3-soft)}
.cf-reservation-3 .r3-date.is-on .r3-date-mo{color:var(--muted, #4a5568)}
.cf-reservation-3 .r3-date:disabled{background:transparent;color:var(--r3-dim);cursor:not-allowed}
.cf-reservation-3 .r3-date:disabled .r3-date-mo{color:var(--r3-dim)}
.cf-reservation-3 .r3-date:disabled .r3-date-day{text-decoration:line-through;text-decoration-thickness:2px}
.cf-reservation-3 .r3-times{display:flex;flex-wrap:wrap;gap:8px}
.cf-reservation-3 .r3-time{min-height:48px;display:inline-flex;align-items:center;gap:8px;padding:0 18px;border-radius:999px;border:1px solid var(--r3-line);background:var(--r3-tint);color:var(--r3-ink);font-family:var(--font-body, system-ui, sans-serif);font-size:17px;font-weight:800;font-variant-numeric:tabular-nums;line-height:1.2;cursor:pointer;transition:background .16s ease, border-color .16s ease, transform .16s ease, box-shadow .16s ease}
.cf-reservation-3 .r3-time:disabled{background:transparent;color:var(--r3-dim);cursor:not-allowed}
.cf-reservation-3 .r3-time:disabled .r3-time-t{text-decoration:line-through;text-decoration-thickness:2px}
.cf-reservation-3 .r3-time-full{font-size:14px;font-weight:700}
.cf-reservation-3 :is(.r3-seat, .r3-date, .r3-time):hover:not(:disabled):not(.is-on){background:var(--r3-tint-2);border-color:oklch(from var(--band-ink, #ffffff) l c h / 0.32);transform:translateY(-1px)}
.cf-reservation-3 :is(.r3-seat, .r3-date, .r3-time):active:not(:disabled){transform:translateY(1px)}
.cf-reservation-3 :is(.r3-seat, .r3-date, .r3-time).is-on{background:var(--card, #ffffff);color:var(--ink, #101828);border-color:transparent;box-shadow:0 0 0 2px var(--accent-fill, var(--accent, #2f6fd6)), var(--r3-pick-shadow)}
.cf-reservation-3 .r3-fs:disabled .r3-seat{cursor:not-allowed;opacity:.7}
.cf-reservation-3 .r3-fields{display:grid;grid-template-columns:repeat(2, minmax(0,1fr));gap:16px}
.cf-reservation-3 .r3-field{display:flex;flex-direction:column;gap:8px;min-width:0}
.cf-reservation-3 .r3-label{font-size:16px;font-weight:700;line-height:1.3;color:var(--r3-ink)}
.cf-reservation-3 .r3-input{width:100%;height:56px;padding:0 16px;font-family:var(--font-body, system-ui, sans-serif);font-size:17px;background:var(--field, #ffffff);color:var(--field-ink, #101828);border:1px solid var(--field-border, color-mix(in oklch, var(--ink, #101828) 22%, transparent));border-radius:var(--field-radius, var(--radius, 12px));transition:border-color .16s ease, box-shadow .16s ease}
.cf-reservation-3 .r3-input::placeholder{color:color-mix(in oklch, var(--field-ink, #101828) 65%, var(--field, #ffffff));opacity:1}
.cf-reservation-3 .r3-input[aria-invalid='true']{border-color:var(--danger, oklch(0.5 0.17 27));box-shadow:0 0 0 1px var(--danger, oklch(0.5 0.17 27))}
.cf-reservation-3 .r3-input:focus{outline:none;border-color:var(--field-focus, var(--accent, #2f6fd6));box-shadow:0 0 0 3px oklch(from var(--field-focus, var(--accent, #2f6fd6)) l c h / 0.35)}
.cf-reservation-3 .r3-input:focus-visible{outline:2px solid var(--r3-ink);outline-offset:2px}
.cf-reservation-3 .r3-input:disabled{cursor:not-allowed;opacity:.7}
.cf-reservation-3 .r3-promise{margin-top:24px;display:grid;gap:8px}
.cf-reservation-3 .r3-promise .r3-note{margin:0}
.cf-reservation-3 .r3-policy{margin:0;font-size:17px;font-weight:800;line-height:1.4;color:var(--r3-ink);text-wrap:pretty}
.cf-reservation-3 .r3-reassure-m{display:none}
.cf-reservation-3 .r3-actions{display:flex;align-items:flex-start;justify-content:flex-end;gap:12px;margin-top:32px}
.cf-reservation-3 .r3-back{margin-right:auto}
.cf-reservation-3 .r3-sum{display:none}
.cf-reservation-3 .r3-go{display:flex;flex-direction:column;align-items:flex-end;gap:8px;min-width:0}
.cf-reservation-3 .r3-go-note{margin:0;font-size:15px;font-weight:500;line-height:1.4;color:var(--r3-soft);text-align:right;text-wrap:pretty}
.cf-reservation-3 .r3-primary{
--r3-bb:var(--button-bg, var(--cta, #d6342c));
--r3-bb2:var(--button-bg-2, var(--cta-2, #b52a23));
display:inline-flex;align-items:center;justify-content:center;gap:8px;
min-height:64px;padding:0 28px;border:0;cursor:pointer;white-space:nowrap;
border-radius:var(--button-radius, var(--radius, 12px));
font-family:var(--button-font, var(--font-display, system-ui, sans-serif));
font-weight:var(--button-weight, 800);
text-transform:var(--button-case, none);
font-size:clamp(1.125rem, 1.55vw, 1.375rem);line-height:1.15;
color:var(--button-ink, var(--cta-ink, #ffffff));
text-shadow:var(--button-text-shadow, none);
background:linear-gradient(oklch(from var(--r3-bb) calc(l + 0.04) c h), oklch(from var(--r3-bb2) calc(l - 0.02) c h));
box-shadow:var(--button-shadow, inset 0 1px 0 oklch(from var(--r3-bb) calc(l + 0.14) c h / 0.7), inset 0 -3px 0 oklch(from var(--r3-bb) calc(l - 0.16) c h), 0 1px 2px oklch(from var(--r3-shadow) l c h / 0.4), 0 8px 16px -6px oklch(from var(--r3-shadow) l c h / 0.55));
transition:transform .16s ease, box-shadow .16s ease, background .16s ease;
}
.cf-reservation-3 .r3-primary:hover:not(:disabled), .cf-reservation-3 .r3-primary.is-hover:not(:disabled){background:linear-gradient(oklch(from var(--r3-bb) calc(l - 0.01) c h), oklch(from var(--r3-bb2) calc(l - 0.07) c h));box-shadow:var(--button-shadow, inset 0 1px 0 oklch(from var(--r3-bb) calc(l + 0.12) c h / 0.7), inset 0 -3px 0 oklch(from var(--r3-bb) calc(l - 0.2) c h), 0 1px 2px oklch(from var(--r3-shadow) l c h / 0.45), 0 10px 20px -6px oklch(from var(--r3-shadow) l c h / 0.65))}
.cf-reservation-3 .r3-primary:active:not(:disabled), .cf-reservation-3 .r3-primary.is-active:not(:disabled){transform:translateY(1px);background:linear-gradient(oklch(from var(--r3-bb) calc(l - 0.05) c h), oklch(from var(--r3-bb2) calc(l - 0.09) c h));box-shadow:inset 0 2px 4px oklch(from var(--r3-bb) calc(l - 0.22) c h / 0.55), inset 0 -2px 0 oklch(from var(--r3-bb) calc(l - 0.16) c h), 0 1px 2px oklch(from var(--r3-shadow) l c h / 0.4)}
.cf-reservation-3 .r3-primary:disabled{background:var(--button-2-bg, var(--secondary, #e8ebf0));color:var(--button-2-ink, var(--secondary-ink, #1b2333));text-shadow:none;box-shadow:none;cursor:not-allowed}
.cf-reservation-3 .r3-secondary{display:inline-flex;align-items:center;justify-content:center;min-height:64px;padding:0 24px;white-space:nowrap;border:1px solid var(--button-2-border, transparent);border-radius:var(--button-radius, var(--radius, 12px));background:var(--button-2-bg, var(--secondary, #e8ebf0));color:var(--button-2-ink, var(--secondary-ink, #1b2333));font-family:var(--button-font, var(--font-display, system-ui, sans-serif));font-weight:var(--button-weight, 800);text-transform:var(--button-case, none);font-size:clamp(1.125rem, 1.55vw, 1.375rem);line-height:1.15;box-shadow:var(--button-2-shadow, var(--shadow-sm, 0 1px 2px oklch(0.22 0.03 256 / 0.25)));cursor:pointer;transition:transform .16s ease, background .16s ease}
.cf-reservation-3 .r3-secondary:hover:not(:disabled){background:oklch(from var(--button-2-bg, var(--secondary, #e8ebf0)) calc(l - 0.04) c h)}
.cf-reservation-3 .r3-secondary:active:not(:disabled){transform:translateY(1px)}
.cf-reservation-3 .r3-secondary:disabled{cursor:not-allowed;opacity:.7}
.cf-reservation-3 .r3-photo{position:relative;aspect-ratio:4/5;border-radius:12px;overflow:hidden;background:var(--r3-tint)}
.cf-reservation-3 .r3-photo img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center;opacity:0;transform:scale(1.04);transition:opacity .6s var(--r3-ease), transform 1.2s var(--r3-ease)}
.cf-reservation-3 .r3-photo img.is-on{opacity:1;transform:scale(1)}
.cf-reservation-3 .r3-photo-empty{position:absolute;inset:0;display:grid;place-items:center;color:var(--r3-dim)}
.cf-reservation-3 .r3-cap{margin-top:16px}
.cf-reservation-3 .r3-cap-name{margin:0;font-family:var(--font-display, system-ui, sans-serif);font-weight:var(--display-weight, 800);font-size:clamp(1.3125rem, 1.8vw, 1.625rem);line-height:1.15;letter-spacing:-0.01em;color:var(--r3-ink)}
.cf-reservation-3 .r3-cap-text{margin:8px 0 0;font-size:clamp(1.0625rem, 1.25vw, 1.125rem);line-height:1.5;color:var(--r3-soft);text-wrap:pretty}
.cf-reservation-3 .r3-pace{list-style:none;margin:16px 0 0;padding:0;display:flex;flex-wrap:wrap;gap:8px}
.cf-reservation-3 .r3-pace li{min-height:32px;display:inline-flex;align-items:center;gap:8px;padding:4px 12px;border-radius:999px;background:var(--r3-tint-2);font-size:14px;font-weight:800;line-height:1.2;color:var(--r3-ink)}
.cf-reservation-3 .r3-pace li.is-empty{background:transparent;box-shadow:inset 0 0 0 1px var(--r3-line);color:var(--r3-soft)}
@media (max-width: 1080px){
.cf-reservation-3 .r3-num-badge{display:none}
.cf-reservation-3 .r3-seg{gap:8px;padding:6px 10px}
}
@media (max-width: 900px){
.cf-reservation-3 .r3-grid{grid-template-columns:minmax(0,1fr);grid-template-rows:auto;grid-template-areas:'head' 'stage' 'main';gap:24px}
.cf-reservation-3 .r3-stage{position:static}
.cf-reservation-3 .r3-photo{aspect-ratio:16/10;max-height:420px}
.cf-reservation-3 .r3-pace{display:none}
.cf-reservation-3 .r3-cap{margin-top:12px}
.cf-reservation-3 .r3-cap-text{font-size:16px}
.cf-reservation-3 .r3-dates{margin:-4px calc(-1 * var(--r3-gutter)) 0;padding:4px var(--r3-gutter) 12px;scroll-padding-inline:var(--r3-gutter)}
.cf-reservation-3 .r3-actions{flex-wrap:wrap;align-items:stretch;justify-content:flex-start;gap:12px;margin-top:32px}
.cf-reservation-3 .r3-sum{order:-1;flex:1 1 100%;display:flex;flex-wrap:wrap;align-items:baseline;gap:4px 10px;min-width:0;padding:12px 16px;border-radius:10px;background:var(--r3-tint);border:1px solid var(--r3-line)}
.cf-reservation-3 .r3-sum-1, .cf-reservation-3 .r3-sum-2{font-size:15px;line-height:1.35}
.cf-reservation-3 .r3-sum-1{font-weight:800;color:var(--r3-ink)}
.cf-reservation-3 .r3-sum-2{font-weight:600;color:var(--r3-soft)}
.cf-reservation-3 .r3-back{margin-right:0;flex:0 0 auto;padding:0 20px}
.cf-reservation-3 .r3-go{flex:1 1 0;align-items:stretch}
.cf-reservation-3 .r3-go-note{display:none}
.cf-reservation-3 .r3-reassure-m{display:block}
.cf-reservation-3 .r3-primary{width:100%;padding:0 20px;font-size:1.125rem}
}
@media (max-width: 560px){
.cf-reservation-3 .r3-photo{aspect-ratio:4/3}
.cf-reservation-3 .r3-seg-long{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}
.cf-reservation-3 .r3-seg-short{display:inline}
.cf-reservation-3 .r3-seg{min-height:48px;font-size:15px}
.cf-reservation-3 .r3-party{padding:16px}
.cf-reservation-3 .r3-big{font-size:4.25rem}
.cf-reservation-3 .r3-seats{grid-template-columns:minmax(0,1fr);gap:8px}
.cf-reservation-3 .r3-seat{flex-direction:row;align-items:center;gap:12px;padding:8px 12px 8px 8px}
.cf-reservation-3 .r3-seat-img{width:76px;flex:0 0 auto}
.cf-reservation-3 .r3-seat-text{padding:0;gap:2px}
.cf-reservation-3 .r3-fields{grid-template-columns:minmax(0,1fr)}
}
@media (prefers-reduced-motion: reduce){
.cf-reservation-3 :is(.r3-panel, .r3-big){animation:none}
.cf-reservation-3 :is(button, .r3-input, .r3-chair, .r3-photo img){transition:none}
.cf-reservation-3 .r3-photo img{transform:none}
.cf-reservation-3 :is(.r3-seat, .r3-date, .r3-time, .r3-round):hover:not(:disabled){transform:none}
}
`;
pieces/forms/reservation-3/specimen.tsx 72 lines
import __studioImage59c4aec4 from "../assets/4b9fe2e99e24319a.webp";
import __studioImage19c2fda4 from "../assets/0fc025e1432c0b98.webp";
import __studioImage212c7f0a from "../assets/92c11012bc455089.webp";
import * as React from 'react';
import Reservation3 from '../reservation-3';
import { slot } from '../../slots';
export const states = ['default', 'hover', 'active', 'disabled', 'error'];
type SpecimenState = 'default' | 'hover' | 'active' | 'disabled' | 'error';
export default function Reservation3Specimen({ state = 'default' }: { state?: SpecimenState }) {
const patio = slot('scene', __studioImage59c4aec4);
const bar = slot('scene', __studioImage19c2fda4);
const dining = slot('scene', __studioImage212c7f0a);
return (
<Reservation3
state={state}
headline={'See your table at Ember & Vine before you book it'}
highlight={'before you book it'}
lead={'Choose your party, your seat and your night. Every pick shows you exactly where you’ll be sitting.'}
seatings={[
{
value: 'patio',
label: 'Patio',
detail: 'Under the vines',
caption: 'String lights overhead, heaters on and the vines all around your table.',
image: patio,
imageAlt: 'A candlelit patio table for four under grapevines and string lights',
},
{
value: 'bar',
label: 'Chef’s bar',
detail: 'Facing the fire',
caption: 'Front-row stools at the wood-fired hearth. Watch every plate come off the flames.',
image: bar,
imageAlt: 'Two place settings at an oak counter facing an open wood fire',
},
{
value: 'dining',
label: 'Dining room',
detail: 'By the hearth',
caption: 'Linen, candlelight and a quiet corner beside the brick hearth.',
image: dining,
imageAlt: 'A candlelit table for two beside a brick hearth',
},
]}
defaultSeating={'patio'}
partyMin={1}
partyMax={8}
defaultParty={2}
partyNote={'Online for parties of 1 to 8. Bigger group? Call us on (555) 014-2290.'}
closedWeekdays={[1]}
times={[
{ time: '5:30 pm' },
{ time: '6:00 pm' },
{ time: '6:30 pm', full: true },
{ time: '7:00 pm' },
{ time: '7:30 pm' },
{ time: '8:00 pm', full: true },
{ time: '8:30 pm' },
{ time: '9:00 pm' },
]}
policy={'Free to change or cancel up to 24 hours before.'}
depositFrom={6}
depositNote={'Parties of 6 or more: a $10 per guest hold, taken off your bill on the night.'}
buttonLabel={'Reserve my table'}
reassurance={'We only use your number to confirm your table.'}
/>
);
}
| Name | Type | Details |
|---|---|---|
headline OptionalReservation3 |
string |
|
highlight OptionalReservation3 |
string |
|
lead OptionalReservation3 |
string |
|
seatings OptionalReservation3 |
ReservationSeating[] |
|
defaultSeating OptionalReservation3 |
string |
|
partyMin OptionalReservation3 |
number |
|
partyMax OptionalReservation3 |
number |
|
defaultParty OptionalReservation3 |
number |
|
partyNote OptionalReservation3 |
string |
|
dates OptionalReservation3 |
ReservationDay[] |
|
startDate OptionalReservation3 |
string |
|
dayCount OptionalReservation3 |
number |
|
closedWeekdays OptionalReservation3 |
number[] |
|
times OptionalReservation3 |
ReservationTime[] |
|
defaultDate OptionalReservation3 |
string |
|
defaultTime OptionalReservation3 |
string |
|
policy OptionalReservation3 |
string |
|
depositNote OptionalReservation3 |
string |
|
depositFrom OptionalReservation3 |
number |
|
buttonLabel OptionalReservation3 |
string |
|
reassurance OptionalReservation3 |
string |
|
disabled OptionalReservation3 |
boolean |
|
disabledNote OptionalReservation3 |
string |
|
copy OptionalReservation3 |
Partial<Reservation3Copy> |
|
state OptionalReservation3 |
'default' | 'hover' | 'active' | 'disabled' | 'error' |
|
onSubmit OptionalReservation3 |
(values: Reservation3Values) => void |
|
className OptionalReservation3 |
string |
Theme roles it reads
Set by the theme bar, a preset or your brand. Colours come from the base tokens (--surface, --ink, --cta…) every piece uses.
--button-bg--button-bg-2--button-case--button-font--button-ink--button-radius--button-shadow--button-text-shadow--button-weight- Main CTA button: background, ink, font, weight, case, radius and shadow.
--button-2-bg--button-2-border--button-2-ink--button-2-shadow- Secondary button.
--card-radius- Cards and panels: radius, border and shadow.
--display-case--display-tracking--display-weight- Headlines: weight, letter case and tracking.
--field--field-border--field-focus--field-ink--field-radius- Form inputs: background, ink, border, radius and focus colour.
Image slots
Filled from the brand’s images; the specimen ships its own defaults.
scene- A wide atmosphere photo behind or beside the copy.
-
0fc025e1432c0b98.webp
image/webp · 126 KB
-
2c539f422023a290.webp
image/webp · 115 KB
-
4b9fe2e99e24319a.webp
image/webp · 196 KB
-
92c11012bc455089.webp
image/webp · 148 KB