/* Zaved Bookings: site colours (navy #0E2A47, blue #2F6FDE, pale #F3F8FC, mist #D2E7F5) */
.zb-page, .zb-booking {
	--zb-navy: #0E2A47;
	--zb-blue: #2F6FDE;
	--zb-pale: #F3F8FC;
	--zb-mist: #D2E7F5;
	--zb-sky: #8EC5F0;
	--zb-muted: #4A6078;
	--zb-red: #C0392B;
	font-family: "Plus Jakarta Sans", sans-serif;
	color: var(--zb-navy);
}
.zb-page *, .zb-booking *, .zb-booking *::before, .zb-booking *::after { box-sizing: border-box; }

/* Page */
.zb-page { max-width: 1100px; margin: 0 auto; padding: 9rem 1.5rem 6rem; }
.zb-page-header { margin: 0 0 1rem; text-align: center; }
.zb-eyebrow { margin: 0 0 1rem; font-size: 0.85rem; font-weight: 700; letter-spacing: 0.14em; color: var(--zb-blue); }
.zb-page-title { margin: 0; font-size: clamp(2.4rem, 5vw, 4rem); font-weight: 800; line-height: 1.05; letter-spacing: -0.03em; color: var(--zb-navy); }
.zb-page-content > p { max-width: 40rem; margin: 0 auto 2.5rem; text-align: center; font-size: 1.1rem; line-height: 1.6; color: var(--zb-muted); }

/* Layout */
.zb-booking { display: flex; flex-direction: column; gap: 1.5rem; }
.zb-step-pick { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 1.5rem; }
.zb-step-pick[hidden], .zb-form[hidden], .zb-done[hidden] { display: none; }
.zb-panel { background: #FFFFFF; border: 1px solid var(--zb-mist); border-radius: 20px; padding: 1.75rem; }
.zb-panel-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 0.5rem; margin-bottom: 1.25rem; }
.zb-label { margin: 0; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--zb-blue); }
.zb-tz { margin: 0; font-size: 0.85rem; color: var(--zb-muted); }
.zb-muted { margin: 0; color: var(--zb-muted); font-size: 0.95rem; line-height: 1.5; }
.zb-notice { margin: 0 0 1rem; padding: 0.75rem 1rem; border-radius: 12px; background: #FDECEA; color: var(--zb-red); font-size: 0.9rem; }

/* Calendar */
.zb-cal-nav { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1rem; }
.zb-cal-month { margin: 0; font-size: 1.15rem; font-weight: 800; }
.zb-cal-btn { width: 2.5rem; height: 2.5rem; border: 1.5px solid var(--zb-navy); border-radius: 999px; background: transparent; color: var(--zb-navy); font-size: 1.4rem; line-height: 1; cursor: pointer; padding: 0; }
.zb-cal-btn:hover:not(:disabled) { background: var(--zb-mist); }
.zb-cal-btn:disabled { opacity: 0.3; cursor: default; }
.zb-cal-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 0.35rem; }
.zb-cal-weekdays { margin-bottom: 0.35rem; }
.zb-cal-weekdays span { text-align: center; font-size: 0.75rem; font-weight: 700; color: var(--zb-muted); text-transform: uppercase; letter-spacing: 0.06em; }
.zb-day { aspect-ratio: 1; display: flex; align-items: center; justify-content: center; border: 0; border-radius: 12px; background: transparent; color: #A4B3C2; font: inherit; font-size: 0.95rem; font-weight: 600; padding: 0; }
.zb-day:disabled { cursor: default; }
.zb-day-open { background: var(--zb-pale); color: var(--zb-navy); cursor: pointer; font-weight: 700; }
.zb-day-open:hover { background: var(--zb-mist); }
.zb-day-selected, .zb-day-selected:hover { background: var(--zb-navy); color: #FFFFFF; }
.zb-day:focus-visible, .zb-time:focus-visible, .zb-btn:focus-visible, .zb-cal-btn:focus-visible { outline: 3px solid var(--zb-sky); outline-offset: 2px; }

/* Times */
.zb-times-date { margin: 0 0 1rem; font-weight: 700; font-size: 1rem; }
.zb-times { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.6rem; max-height: 26rem; overflow-y: auto; padding-right: 0.25rem; }
.zb-times > p { grid-column: 1 / -1; }
.zb-time { padding: 0.8rem 0.5rem; border: 1.5px solid var(--zb-navy); border-radius: 999px; background: transparent; color: var(--zb-navy); font: inherit; font-size: 0.95rem; font-weight: 700; cursor: pointer; transition: background-color 0.2s ease, color 0.2s ease; }
.zb-time:hover { background: var(--zb-mist); }
.zb-time-selected, .zb-time-selected:hover { background: var(--zb-navy); color: #FFFFFF; }

/* Form */
.zb-summary { margin: 0 0 1.5rem; padding: 0.9rem 1.1rem; border-radius: 12px; background: var(--zb-pale); font-weight: 700; line-height: 1.5; }
.zb-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.1rem 1.25rem; }
.zb-field { display: flex; flex-direction: column; gap: 0.4rem; font-size: 0.9rem; font-weight: 700; }
.zb-field em { font-style: normal; color: var(--zb-blue); }
.zb-field i { font-style: normal; font-weight: 500; color: var(--zb-muted); }
.zb-field-wide { grid-column: 1 / -1; }
.zb-field input, .zb-field textarea { width: 100%; padding: 0.8rem 1rem; border: 1.5px solid var(--zb-mist); border-radius: 12px; background: #FFFFFF; color: var(--zb-navy); font: inherit; font-size: 1rem; font-weight: 500; }
.zb-field textarea { resize: vertical; min-height: 6rem; }
.zb-field input:focus, .zb-field textarea:focus { outline: none; border-color: var(--zb-blue); box-shadow: 0 0 0 3px rgba(47, 111, 222, 0.15); }
.zb-field .zb-invalid { border-color: var(--zb-red); }
.zb-error { min-height: 1em; font-size: 0.8rem; font-weight: 600; color: var(--zb-red); }
.zb-hp { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }
.zb-form-error { margin: 1rem 0 0; color: var(--zb-red); font-weight: 600; }
.zb-form-error:empty { display: none; }
.zb-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 0.75rem; margin-top: 1.5rem; }
.zb-btn { padding: 0.9rem 1.6rem; border: 1.5px solid var(--zb-blue); border-radius: 999px; background: var(--zb-blue); color: #FFFFFF; font: inherit; font-size: 0.95rem; font-weight: 700; cursor: pointer; transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease; }
.zb-btn:hover { background: var(--zb-navy); border-color: var(--zb-navy); }
.zb-btn:disabled { opacity: 0.6; cursor: wait; }
.zb-btn-ghost { background: transparent; border-color: var(--zb-navy); color: var(--zb-navy); }
.zb-btn-ghost:hover { background: var(--zb-mist); border-color: var(--zb-navy); color: var(--zb-navy); }

/* Done */
.zb-done { text-align: center; padding: 3rem 1.75rem; outline: none; }
.zb-done-icon { width: 4rem; height: 4rem; margin: 0 auto 1.25rem; display: flex; align-items: center; justify-content: center; border-radius: 999px; background: var(--zb-navy); color: #FFFFFF; font-size: 2rem; }
.zb-done-title { margin: 0 0 0.75rem; font-size: 2rem; font-weight: 800; color: var(--zb-navy); }
.zb-done-when { margin: 0 0 0.5rem; font-size: 1.1rem; font-weight: 700; }
.zb-done .zb-muted { margin-bottom: 1.75rem; }

@media (max-width: 900px) {
	.zb-step-pick { grid-template-columns: minmax(0, 1fr); }
	.zb-times { grid-template-columns: repeat(3, minmax(0, 1fr)); max-height: none; }
}
@media (max-width: 767px) {
	.zb-page { padding: 7rem 1.1rem 4rem; }
	.zb-panel { padding: 1.25rem; border-radius: 16px; }
	.zb-fields { grid-template-columns: minmax(0, 1fr); }
	.zb-times { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.zb-actions .zb-btn { flex: 1 1 auto; }
}
