/* Prodigy Booking — Ikwise design. Everything is scoped to .pbk so the theme stays untouched. */

.pbk, .pbk-card-wrap, .pbk-account, a.pbk-book-btn {
	/* Every colour, font and corner below can be changed in Bookings → Appearance (printed after this file). */
	--pbk-accent: #1F6B4F;          /* brand: selected items, highlights */
	--pbk-on-accent: #fff;          /* text/ticks on the brand colour */
	--pbk-ink: #0F1412;             /* main text */
	--pbk-muted: #5C6661;           /* secondary text */
	--pbk-bg: #fff;                 /* page background */
	--pbk-card: #fff;               /* cards, inputs, pills */
	--pbk-line: #DDE2DF;            /* borders */
	--pbk-btn-bg: #0F1412;          /* main buttons */
	--pbk-btn-text: #fff;
	--pbk-btn-hover: #1F6B4F;
	--pbk-btn-hover-text: #fff;
	--pbk-display: 'Bricolage Grotesque', 'Instrument Sans', system-ui, sans-serif;
	--pbk-ui: 'Instrument Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
	--pbk-head-weight: 700;
	--pbk-head-case: none;
	--pbk-head-track: -0.02em;
	--pbk-r-btn: 999px;             /* buttons, chips, pills */
	--pbk-r-card: 16px;             /* cards and panels */
	--pbk-r-sm: 12px;               /* time slots, inputs */
	--pbk-hero-image: none;

	/* Derived shades — follow the colours above automatically. */
	--pbk-body: color-mix(in srgb, var(--pbk-ink) 80%, var(--pbk-bg));
	--pbk-disabled: color-mix(in srgb, var(--pbk-muted) 60%, var(--pbk-bg));
	--pbk-cta-off: color-mix(in srgb, var(--pbk-muted) 45%, var(--pbk-bg));
	--pbk-line-strong: color-mix(in srgb, var(--pbk-line) 70%, var(--pbk-ink));
	--pbk-hair: color-mix(in srgb, var(--pbk-line) 45%, var(--pbk-bg));
	--pbk-hover: color-mix(in srgb, var(--pbk-ink) 3%, var(--pbk-card));
	--pbk-hover-2: color-mix(in srgb, var(--pbk-ink) 5%, var(--pbk-card));
	--pbk-chip: color-mix(in srgb, var(--pbk-ink) 6%, var(--pbk-card));
	--pbk-tint: color-mix(in srgb, var(--pbk-accent) 14%, var(--pbk-card));
	--pbk-sel-bg: color-mix(in srgb, var(--pbk-accent) 5%, var(--pbk-card));
	--pbk-glow: color-mix(in srgb, var(--pbk-accent) 16%, var(--pbk-bg));
	--pbk-ring: inset 0 0 0 1px var(--pbk-accent);
	--pbk-pop: 0 16px 40px rgba(15, 20, 18, .14);
}
.pbk {
	font-family: var(--pbk-ui);
	color: var(--pbk-ink);
	font-size: 16px;
	line-height: 1.45;
	-webkit-font-smoothing: antialiased;
	text-align: left;
	background: var(--pbk-bg);
}
.pbk *, .pbk *::before, .pbk *::after { box-sizing: border-box; }
.pbk svg { display: block; flex: none; }
.pbk img { max-width: 100%; display: block; }
.pbk p { margin: 0; }

/* Neutralise theme styles on our controls (Elementor/Hello and others style every button and input). */
.pbk button {
	font: inherit; color: inherit; background: none; border: 0; margin: 0; padding: 0;
	text-transform: none; letter-spacing: normal; box-shadow: none; border-radius: 0;
	cursor: pointer; text-decoration: none; line-height: inherit; min-height: 0; width: auto; text-align: inherit;
}
.pbk button:disabled { cursor: not-allowed; }
.pbk button:focus-visible, .pbk a:focus-visible, .pbk input:focus-visible, .pbk textarea:focus-visible {
	outline: 2px solid var(--pbk-accent); outline-offset: 2px;
}
.pbk h1, .pbk h2, .pbk h3 { color: var(--pbk-ink); text-transform: none; margin: 0; font-family: var(--pbk-ui); }

.pbk .pbk-h1, .pbk-h1 {
	font-family: var(--pbk-display) !important; font-weight: var(--pbk-head-weight); font-size: clamp(30px, 4vw, 42px);
	letter-spacing: var(--pbk-head-track); text-transform: var(--pbk-head-case); line-height: 1.1;
}

/* Fullscreen: covers the theme. */
.pbk--fullscreen { position: fixed; inset: 0; top: var(--wp-admin--admin-bar--height, 0px); z-index: 99999; overflow-y: auto; overscroll-behavior: contain; }
body:has(.pbk--fullscreen) { overflow: hidden; }

.pbk-loading { padding: 96px 24px; text-align: center; color: var(--pbk-muted); }

/* ---------- Top bar ---------- */
.pbk-top { position: sticky; top: 0; z-index: 10; background: var(--pbk-bg); }
.pbk-top-in { max-width: 1180px; margin: 0 auto; padding: 20px 24px 8px; display: flex; justify-content: space-between; gap: 12px; }
.pbk .pbk-circle {
	width: 44px; height: 44px; border-radius: 999px; border: 1px solid var(--pbk-line); background: var(--pbk-card);
	display: inline-flex; align-items: center; justify-content: center; color: var(--pbk-ink); transition: background .15s;
}
.pbk .pbk-circle:hover { background: var(--pbk-hover); }
.pbk-circle svg { width: 20px; height: 20px; }

/* ---------- Layout ---------- */
.pbk-body {
	max-width: 1180px; margin: 0 auto; padding: 8px 24px 120px; width: 100%;
	display: flex; gap: 48px; flex-wrap: wrap; align-items: flex-start;
}
.pbk-body--single .pbk-main { max-width: 720px; margin: 0 auto; }
.pbk-main { flex: 1 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }

/* Breadcrumb */
.pbk-crumbs { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 14px; }
.pbk-crumb { display: flex; align-items: center; gap: 8px; }
.pbk .pbk-crumbs button { font-size: 14px; color: var(--pbk-disabled); }
.pbk .pbk-crumbs button.is-done { color: var(--pbk-muted); }
.pbk .pbk-crumbs button.is-done:hover { color: var(--pbk-ink); text-decoration: underline; text-underline-offset: 3px; }
.pbk .pbk-crumbs button.is-current { color: var(--pbk-ink); font-weight: 600; cursor: default; }
.pbk-crumb-sep { color: var(--pbk-disabled); }

/* ---------- Step 1: services ---------- */
.pbk-chips {
	position: sticky; top: 72px; z-index: 5; background: var(--pbk-bg); padding: 8px 0 12px;
	display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; border-bottom: 1px solid var(--pbk-hair);
	margin-bottom: -8px;
}
.pbk-chips::-webkit-scrollbar { display: none; }
.pbk .pbk-chip {
	flex: none; white-space: nowrap; border: 1px solid var(--pbk-line); background: transparent; color: var(--pbk-ink);
	border-radius: var(--pbk-r-btn); padding: 9px 16px; font-size: 15px; font-weight: 500; transition: background .15s;
}
.pbk .pbk-chip:hover { background: var(--pbk-chip); }
.pbk .pbk-chip.is-on { background: var(--pbk-btn-bg); border-color: var(--pbk-btn-bg); color: var(--pbk-btn-text); font-weight: 600; }

.pbk-sec { display: flex; flex-direction: column; gap: 12px; padding-top: 8px; }
.pbk-sec h2 { font-size: 18px; font-weight: 700; }
.pbk-sec > p { margin: 0 0 4px; font-size: 14px; line-height: 1.5; color: var(--pbk-muted); max-width: 560px; }

.pbk .pbk-svc {
	width: 100%; text-align: left; background: var(--pbk-card); border: 1px solid var(--pbk-line); border-radius: var(--pbk-r-card);
	padding: 20px 22px; display: flex; justify-content: space-between; align-items: flex-start; gap: 20px;
	color: var(--pbk-ink); transition: background .15s, box-shadow .15s;
}
.pbk .pbk-svc:hover { background: var(--pbk-hover); }
.pbk .pbk-svc.is-on { border-color: var(--pbk-accent); box-shadow: var(--pbk-ring); background: var(--pbk-sel-bg); }
.pbk-svc-body { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.pbk-svc-name { font-size: 17px; font-weight: 600; }
.pbk-svc-dur, .pbk-svc-desc { font-size: 14px; color: var(--pbk-muted); }
.pbk-svc-desc { line-height: 1.5; }
.pbk-svc-price { font-size: 15px; font-weight: 600; margin-top: 4px; }
.pbk-toggle {
	flex: none; align-self: flex-end; width: 36px; height: 36px; border-radius: var(--pbk-r-btn);
	background: var(--pbk-chip); color: var(--pbk-ink); box-shadow: 0 2px 6px rgba(15, 20, 18, .14);
	display: flex; align-items: center; justify-content: center; font-size: 18px; font-weight: 600; line-height: 1;
}
.pbk-svc.is-on .pbk-toggle { background: var(--pbk-accent); color: var(--pbk-on-accent); }
.pbk-tickmark {
	width: 6px; height: 11px; border-right: 2px solid var(--pbk-on-accent); border-bottom: 2px solid var(--pbk-on-accent);
	transform: translateY(-1px) rotate(45deg);
}

/* ---------- Step 2: professional ---------- */
.pbk-pros { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 170px), 1fr)); gap: 12px; }
.pbk .pbk-pro {
	background: var(--pbk-card); border: 1px solid var(--pbk-line); border-radius: var(--pbk-r-card); padding: 22px 14px 18px;
	display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; color: var(--pbk-ink);
	transition: background .15s;
}
.pbk .pbk-pro:hover { background: var(--pbk-hover); }
.pbk .pbk-pro.is-on { border-color: var(--pbk-accent); box-shadow: var(--pbk-ring); }
.pbk-pro-text { display: flex; flex-direction: column; gap: 3px; }
.pbk-pro-text strong { font-size: 16px; font-weight: 600; }
.pbk-pro-text span { font-size: 13px; color: var(--pbk-muted); line-height: 1.35; }
.pbk-rate { font-size: 13px; border: 1px solid var(--pbk-line); border-radius: var(--pbk-r-btn); padding: 3px 10px; display: inline-flex; gap: 4px; align-items: center; }
.pbk-rate b { font-weight: 600; }

.pbk-ava {
	width: 72px; height: 72px; border-radius: 999px; overflow: hidden; flex: none;
	background: var(--pbk-tint); color: var(--pbk-accent);
	display: flex; align-items: center; justify-content: center; font-weight: 600; font-size: 22px;
}
.pbk-ava img { width: 100%; height: 100%; object-fit: cover; }
.pbk-ava--any svg { width: 30px; height: 30px; }
.pbk-ava--sm { width: 32px; height: 32px; font-size: 12px; }
.pbk-ava--sm svg { width: 18px; height: 18px; }

/* ---------- Step 3: time ---------- */
.pbk-time-top { position: relative; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.pbk .pbk-pro-pill {
	display: inline-flex; align-items: center; gap: 10px; background: var(--pbk-card); border: 1px solid var(--pbk-line);
	border-radius: var(--pbk-r-btn); padding: 6px 16px 6px 6px; font-size: 15px; font-weight: 600; color: var(--pbk-ink);
	transition: background .15s;
}
.pbk .pbk-pro-pill:hover { background: var(--pbk-hover); }
.pbk-caret { color: var(--pbk-muted); font-size: 12px; }
.pbk .pbk-cal-btn {
	flex: none; width: 44px; height: 44px; border-radius: var(--pbk-r-btn); border: 1px solid var(--pbk-line); background: var(--pbk-card);
	box-shadow: 0 2px 6px rgba(15, 20, 18, .10); display: flex; align-items: center; justify-content: center; color: var(--pbk-ink);
}
.pbk .pbk-cal-btn.is-open { border-color: var(--pbk-ink); }
.pbk-cal-btn svg { width: 20px; height: 20px; }
.pbk-cal {
	position: absolute; top: 54px; right: 0; z-index: 20; width: min(340px, 100%); background: var(--pbk-card);
	border: 1px solid var(--pbk-line); border-radius: var(--pbk-r-card); box-shadow: 0 12px 32px rgba(15, 20, 18, .14);
	padding: 18px; display: flex; flex-direction: column; gap: 12px;
}
.pbk-cal > strong { font-size: 16px; font-weight: 700; }
.pbk-cal-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; text-align: center; }
.pbk-cal-h { font-size: 12px; color: var(--pbk-muted); padding-bottom: 4px; }
.pbk .pbk-cal-d { aspect-ratio: 1; border-radius: var(--pbk-r-btn); font-size: 14px; font-weight: 500; color: var(--pbk-ink); text-align: center; }
.pbk .pbk-cal-d:hover:not(:disabled) { background: var(--pbk-hover-2); }
.pbk .pbk-cal-d.is-on { background: var(--pbk-accent); color: var(--pbk-on-accent); font-weight: 700; }
.pbk .pbk-cal-d.is-full { color: var(--pbk-cta-off); text-decoration: line-through; }

.pbk-week-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.pbk-month { font-size: 18px; font-weight: 700; }
.pbk-week-nav { display: flex; gap: 8px; }
.pbk .pbk-week-nav button {
	width: 40px; height: 40px; border-radius: var(--pbk-r-btn); border: 1px solid var(--pbk-line); background: var(--pbk-card);
	color: var(--pbk-ink); font-size: 18px; line-height: 1; text-align: center;
}
.pbk .pbk-week-nav button:disabled { color: var(--pbk-line-strong); }
.pbk-week { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 8px; }
.pbk .pbk-day { display: flex; flex-direction: column; align-items: center; gap: 8px; color: var(--pbk-ink); }
.pbk-day-n {
	width: 100%; max-width: 64px; aspect-ratio: 1; border-radius: var(--pbk-r-btn); border: 1px solid var(--pbk-line); background: var(--pbk-card);
	display: flex; align-items: center; justify-content: center; font-size: 20px; font-weight: 600; transition: background .15s;
}
.pbk-day-w { font-size: 13px; color: var(--pbk-muted); }
.pbk .pbk-day:hover .pbk-day-n { background: var(--pbk-hover); }
.pbk .pbk-day.is-full .pbk-day-n { color: var(--pbk-disabled); text-decoration: line-through; }
.pbk .pbk-day.is-on .pbk-day-n { background: var(--pbk-accent); border-color: var(--pbk-accent); color: var(--pbk-on-accent); text-decoration: none; }

.pbk-full {
	border: 1px solid var(--pbk-line); border-radius: var(--pbk-r-card); padding: 32px 24px;
	display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center;
}
.pbk-full strong { font-size: 17px; font-weight: 600; }
.pbk-full > span { font-size: 14px; color: var(--pbk-muted); }
.pbk .pbk-full button {
	background: var(--pbk-card); border: 1px solid var(--pbk-line-strong); border-radius: var(--pbk-r-btn); padding: 10px 18px;
	font-size: 14px; font-weight: 600; color: var(--pbk-ink);
}
.pbk .pbk-full button:hover { background: var(--pbk-hover); }

.pbk-period { font-size: 14px; color: var(--pbk-muted); margin-bottom: -12px !important; }
.pbk .pbk-period button { font-weight: 600; color: var(--pbk-ink); text-decoration: underline; text-underline-offset: 3px; }

.pbk-slots { display: flex; flex-direction: column; gap: 10px; }
.pbk .pbk-slot {
	text-align: left; background: var(--pbk-card); border: 1px solid var(--pbk-line); border-radius: var(--pbk-r-sm);
	padding: 18px 20px; font-size: 16px; font-weight: 600; color: var(--pbk-ink); transition: background .15s;
}
.pbk .pbk-slot:hover { background: var(--pbk-hover); }
.pbk .pbk-slot.is-on { border-color: var(--pbk-accent); box-shadow: var(--pbk-ring); }

/* ---------- Step 4: confirm ---------- */
.pbk-block { display: flex; flex-direction: column; gap: 12px; }
.pbk-block h2 { font-size: 20px; font-weight: 700; }
.pbk-text { gap: 8px; }
.pbk-text p { font-size: 15px; line-height: 1.55; color: var(--pbk-muted); }
.pbk-main:has(.pbk-block) { gap: 28px; }

.pbk .pbk-radio-card {
	text-align: left; background: var(--pbk-card); border: 1px solid var(--pbk-line); border-radius: var(--pbk-r-sm); padding: 18px 20px;
	display: flex; align-items: center; gap: 14px; color: var(--pbk-ink);
}
.pbk .pbk-radio-card.is-on { border-color: var(--pbk-accent); box-shadow: var(--pbk-ring); }
.pbk-radio { flex: none; width: 20px; height: 20px; border-radius: 999px; border: 2px solid var(--pbk-line-strong); }
.pbk-radio-card.is-on .pbk-radio { border: 6px solid var(--pbk-accent); }
.pbk-radio-text { display: flex; flex-direction: column; gap: 3px; }
.pbk-radio-text strong { font-size: 16px; font-weight: 600; }
.pbk-radio-text span { font-size: 14px; color: var(--pbk-muted); }

.pbk-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 560px) { .pbk-fields { grid-template-columns: minmax(0, 1fr); } }
.pbk-field { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 600; }
.pbk-field:first-child { grid-column: 1 / -1; }
.pbk .pbk-field input, .pbk textarea {
	width: 100%; font: inherit; font-size: 15px; font-weight: 400; color: var(--pbk-ink); background: var(--pbk-card);
	padding: 14px 16px; border: 1px solid var(--pbk-line-strong); border-radius: var(--pbk-r-sm); box-shadow: none; min-height: 0; margin: 0;
}
.pbk textarea { resize: vertical; }
.pbk .pbk-field input:focus, .pbk textarea:focus { outline: 2px solid var(--pbk-accent); outline-offset: -1px; border-color: var(--pbk-accent); }

/* ---------- Summary card ---------- */
.pbk-summary {
	flex: 0 1 380px; min-width: 300px; position: sticky; top: 84px;
	border: 1px solid var(--pbk-line); border-radius: var(--pbk-r-card); padding: 24px; background: var(--pbk-card);
	display: flex; flex-direction: column; gap: 20px;
}
.pbk-venue { display: flex; gap: 14px; align-items: center; }
.pbk-venue > div { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.pbk-venue > div > strong { font-size: 16px; font-weight: 700; }
.pbk-logo {
	width: 64px; height: 64px; border-radius: var(--pbk-r-sm); flex: none; overflow: hidden;
	background: repeating-linear-gradient(135deg, var(--pbk-chip) 0 6px, var(--pbk-hover-2) 6px 12px);
	display: flex; align-items: center; justify-content: center; font-weight: 700; color: var(--pbk-muted); font-size: 15px;
}
.pbk-logo img { width: 100%; height: 100%; object-fit: contain; background: var(--pbk-card); }
.pbk-stars { font-size: 14px; display: flex; gap: 6px; align-items: center; }
.pbk-stars b { font-weight: 600; }
.pbk-stars > span { letter-spacing: 1px; }
.pbk-stars em { font-style: normal; color: var(--pbk-muted); }
.pbk-muted-13 { font-size: 13px; color: var(--pbk-muted); }

.pbk-sum-when { border-top: 1px solid var(--pbk-line); padding-top: 18px; display: flex; flex-direction: column; gap: 6px; font-size: 15px; }
.pbk-sum-when strong { font-weight: 600; }
.pbk-sum-when span { color: var(--pbk-muted); }
.pbk-lines { border-top: 1px solid var(--pbk-line); padding-top: 18px; display: flex; flex-direction: column; gap: 14px; }
.pbk-line { display: flex; justify-content: space-between; gap: 12px; }
.pbk-line > span:first-child { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.pbk-line strong { font-size: 15px; font-weight: 500; }
.pbk-line > span:first-child > span { font-size: 13px; color: var(--pbk-muted); }
.pbk-line > span:last-child { font-size: 15px; white-space: nowrap; }
.pbk-none { font-size: 15px; color: var(--pbk-muted); }
.pbk-total { border-top: 1px solid var(--pbk-line); padding-top: 18px; display: flex; justify-content: space-between; font-size: 17px; font-weight: 700; }

.pbk .pbk-cta {
	background: var(--pbk-btn-bg); color: var(--pbk-btn-text); border-radius: var(--pbk-r-btn); padding: 15px; font-size: 16px; font-weight: 600;
	text-align: center; transition: background .15s, color .15s;
}
.pbk .pbk-cta:hover:not(:disabled) { background: var(--pbk-btn-hover); color: var(--pbk-btn-hover-text); }
.pbk .pbk-cta:disabled { background: var(--pbk-cta-off); color: var(--pbk-card); }
.pbk .pbk-cta--auto { align-self: flex-start; padding: 14px 24px; font-size: 15px; }

/* ---------- Mobile bottom bar ---------- */
.pbk-bar {
	position: fixed; left: 0; right: 0; bottom: 0; z-index: 100000; background: var(--pbk-bg);
	border-top: 1px solid var(--pbk-line); box-shadow: 0 -8px 24px rgba(15, 20, 18, .06);
}
.pbk-bar-in {
	max-width: 1180px; margin: 0 auto; padding: 14px 24px calc(14px + env(safe-area-inset-bottom));
	display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.pbk-bar-in > div { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.pbk-bar-in strong { font-size: 17px; font-weight: 700; }
.pbk-bar-in span { font-size: 13px; color: var(--pbk-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pbk .pbk-bar .pbk-cta { flex: none; padding: 14px 32px; }

/* ---------- Location step ---------- */
.pbk-loc-list { display: flex; flex-direction: column; gap: 12px; }
.pbk .pbk-loc {
	display: flex; align-items: center; gap: 14px; text-align: left; width: 100%; background: var(--pbk-card);
	border: 1px solid var(--pbk-line); border-radius: var(--pbk-r-card); padding: 18px 20px; transition: background .15s;
}
.pbk .pbk-loc:hover { background: var(--pbk-hover); }
.pbk-loc-body { display: flex; flex-direction: column; gap: 3px; }
.pbk-loc-body strong { font-size: 17px; font-weight: 600; }

/* ---------- Success / cards (also used on thank-you and My Account) ---------- */
.pbk-done { max-width: 520px; width: 100%; margin: 0 auto; padding: 40px 24px 80px; display: flex; flex-direction: column; gap: 24px; }
.pbk-done > p { font-size: 16px; line-height: 1.55; color: var(--pbk-muted); }
.pbk-tick, .pbk-card-wrap .pbk-tick {
	width: 56px; height: 56px; border-radius: 999px; background: var(--pbk-accent); position: relative; display: block; flex: none;
}
.pbk-tick::after {
	content: ""; position: absolute; left: 22px; top: 15px; width: 11px; height: 20px;
	border-right: 3px solid var(--pbk-on-accent); border-bottom: 3px solid var(--pbk-on-accent); transform: rotate(45deg);
}
.pbk-card, .pbk-card-wrap .pbk-card {
	border: 1px solid var(--pbk-line); border-radius: var(--pbk-r-card); padding: 20px; display: flex; flex-direction: column; gap: 10px;
	font-family: var(--pbk-ui); color: var(--pbk-ink); background: var(--pbk-card);
}
.pbk-card-when { font-size: 17px; font-weight: 700; }
.pbk-card-muted { font-size: 15px; color: var(--pbk-muted); }
.pbk-card-total { border-top: 1px solid var(--pbk-line); padding-top: 12px; margin-top: 2px; display: flex; justify-content: space-between; font-size: 16px; font-weight: 700; }
.pbk-card-wrap { display: flex; flex-direction: column; gap: 16px; margin: 0 0 24px; max-width: 560px; }
.pbk-card-title { font-family: var(--pbk-display) !important; font-weight: var(--pbk-head-weight); text-transform: var(--pbk-head-case); font-size: 30px; letter-spacing: var(--pbk-head-track); margin: 0 !important; color: var(--pbk-ink); }
.pbk-account .pbk-card-wrap { margin-bottom: 12px; }

/* ---------- States ---------- */
.pbk-error { background: #FDECEC; color: #9B1C1C; padding: 12px 16px; border-radius: var(--pbk-r-sm); font-size: 14px; }
.pbk-empty { color: var(--pbk-muted); padding: 16px 0; }
.pbk-skel { display: flex; flex-direction: column; gap: 12px; }
.pbk-skel span { height: 110px; border-radius: var(--pbk-r-card); background: linear-gradient(90deg, var(--pbk-chip) 25%, var(--pbk-hover) 50%, var(--pbk-chip) 75%); background-size: 200% 100%; animation: pbk-shimmer 1.2s infinite linear; }
.pbk-skel--grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 170px), 1fr)); }
.pbk-skel--grid span { height: 180px; }
.pbk-skel--slots span { height: 58px; border-radius: var(--pbk-r-sm); }
@keyframes pbk-shimmer { to { background-position: -200% 0; } }

/* ---------- "Book now" button shortcode ---------- */
a.pbk-book-btn {
	box-sizing: border-box; display: inline-flex; align-items: center; justify-content: center; padding: 14px 26px;
	background: var(--pbk-btn-bg); color: var(--pbk-btn-text) !important; border-radius: var(--pbk-r-btn); font-weight: 600; text-decoration: none !important;
	font-family: var(--pbk-ui); font-size: 16px; line-height: 1.2; transition: background .15s;
}
a.pbk-book-btn:hover { background: var(--pbk-btn-hover); color: var(--pbk-btn-hover-text) !important; }

/* =================================================================
   Home search hero  [prodigy_search]
   ================================================================= */
.pbk-home {
	background:
		radial-gradient(70% 60% at 85% 0%, var(--pbk-glow) 0%, transparent 70%),
		radial-gradient(60% 50% at 0% 100%, color-mix(in srgb, var(--pbk-glow) 55%, var(--pbk-bg)) 0%, transparent 70%),
		var(--pbk-bg);
	min-height: 100vh; display: flex; flex-direction: column;
}
/* Photo hero (Appearance → Hero photo): dark overlay, light text. */
.pbk-home.has-photo {
	background: linear-gradient(rgba(0, 0, 0, .58), rgba(0, 0, 0, .58)), var(--pbk-hero-image) center / cover no-repeat, #000;
}
.pbk-home.has-photo .pbk-hero h1, .pbk-home.has-photo .pbk-wordmark,
.pbk-home.has-photo .pbk-home-head nav a.pbk-home-login { color: #fff; }
.pbk-home.has-photo .pbk-hero-sub { color: rgba(255, 255, 255, .86); }
.pbk-home.has-photo .pbk-search { box-shadow: 0 20px 60px rgba(0, 0, 0, .35); border-color: transparent; }
.pbk-home-head {
	max-width: 1280px; width: 100%; margin: 0 auto; padding: 24px;
	display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.pbk .pbk-wordmark { font-family: var(--pbk-display); font-weight: var(--pbk-head-weight); font-size: 26px; letter-spacing: var(--pbk-head-track); text-transform: var(--pbk-head-case); color: var(--pbk-ink); text-decoration: none; display: inline-flex; align-items: center; }
.pbk .pbk-wordmark img { height: 52px; width: auto; max-width: 46vw; object-fit: contain; object-position: left center; }
.pbk-home-head nav { display: flex; align-items: center; gap: 10px; }
.pbk .pbk-home-head nav a { flex: none; white-space: nowrap; font-size: 16px; font-weight: 600; padding: 12px 16px; color: var(--pbk-ink); text-decoration: none; }
.pbk .pbk-home-head nav a:hover { color: var(--pbk-accent); }
.pbk .pbk-home-head nav a.pbk-home-mine { padding: 12px 22px; border: 1px solid var(--pbk-line); border-radius: var(--pbk-r-btn); background: var(--pbk-card); }

.pbk-hero {
	flex: 1; max-width: 1280px; width: 100%; margin: 0 auto; padding: clamp(48px, 10vh, 120px) 24px 80px;
	display: flex; flex-direction: column; align-items: center; gap: 20px; text-align: center;
}
.pbk-hero h1 {
	font-family: var(--pbk-display) !important; font-weight: var(--pbk-head-weight); font-size: clamp(38px, 6.4vw, 88px);
	line-height: 1.02; letter-spacing: var(--pbk-head-track); text-transform: var(--pbk-head-case); text-wrap: balance; color: var(--pbk-ink);
}
.pbk-hero h1 span { color: var(--pbk-accent); }
.pbk-hero-sub { font-size: clamp(17px, 1.8vw, 22px); line-height: 1.45; color: var(--pbk-body); max-width: 760px; text-wrap: pretty; }

.pbk-search {
	position: relative; width: 100%; max-width: 1100px; margin-top: 36px; background: var(--pbk-card);
	border: 1px solid var(--pbk-line); border-radius: var(--pbk-r-btn); box-shadow: 0 10px 40px rgba(15, 20, 18, .08);
	padding: 8px; display: flex; align-items: center; gap: 4px; text-align: left; min-height: 82px;
}
.pbk-sf { position: relative; flex: 1 1 220px; min-width: 0; display: flex; align-items: center; }
.pbk .pbk-sf-btn {
	flex: 1; min-width: 0; display: flex; align-items: center; gap: 14px; border-radius: var(--pbk-r-btn); padding: 12px 22px;
	color: var(--pbk-ink); transition: background .15s;
}
.pbk .pbk-sf-btn:hover, .pbk .pbk-sf.is-open .pbk-sf-btn { background: var(--pbk-hover-2); }
.pbk-sf-btn svg { width: 20px; height: 20px; }
.pbk-sf-text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.pbk-sf-label { font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--pbk-muted); }
.pbk-sf-value { font-size: 16px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pbk-sf-div { width: 1px; height: 32px; background: var(--pbk-line); flex: none; }
.pbk .pbk-go {
	flex: none; text-decoration: none; background: var(--pbk-btn-bg); color: var(--pbk-btn-text); border-radius: var(--pbk-r-btn); padding: 20px 36px;
	font-size: 17px; font-weight: 600; transition: background .15s, color .15s; text-align: center;
}
.pbk .pbk-go:hover { background: var(--pbk-btn-hover); color: var(--pbk-btn-hover-text); }

.pbk-panel {
	position: absolute; top: calc(100% + 14px); left: 0; z-index: 20; min-width: 260px; width: 100%;
	background: var(--pbk-card); border: 1px solid var(--pbk-line); border-radius: var(--pbk-r-card); box-shadow: var(--pbk-pop);
	padding: 8px; display: flex; flex-direction: column; gap: 2px;
}
.pbk .pbk-opt {
	display: flex; justify-content: space-between; align-items: center; gap: 12px; border-radius: var(--pbk-r-sm);
	padding: 12px 14px; font-size: 16px; font-weight: 500; color: var(--pbk-ink); text-align: left; width: 100%;
}
.pbk .pbk-opt:hover { background: var(--pbk-hover-2); }
.pbk .pbk-opt.is-on { background: var(--pbk-hover-2); font-weight: 600; }
.pbk-opt > span { display: flex; flex-direction: column; gap: 2px; }
.pbk-opt small { font-size: 13px; font-weight: 400; color: var(--pbk-muted); }
.pbk-opt-tick { width: 6px; height: 11px; border-right: 2px solid var(--pbk-accent); border-bottom: 2px solid var(--pbk-accent); transform: translateY(-2px) rotate(45deg); flex: none; }
.pbk-opt-sep { height: 1px; background: var(--pbk-hair); margin: 4px 6px; }

.pbk-panel--time {
	left: auto; right: 0; width: min(400px, 92vw); border-radius: var(--pbk-r-card); padding: 20px; gap: 18px;
}
.pbk-quick { display: flex; gap: 8px; flex-wrap: wrap; }
.pbk .pbk-quick button {
	flex: none; white-space: nowrap; border: 1px solid var(--pbk-line); background: var(--pbk-card); color: var(--pbk-ink);
	border-radius: var(--pbk-r-btn); padding: 9px 16px; font-size: 15px; font-weight: 600;
}
.pbk .pbk-quick button.is-on { background: var(--pbk-btn-bg); border-color: var(--pbk-btn-bg); color: var(--pbk-btn-text); }
.pbk-mhead { display: flex; justify-content: space-between; align-items: center; }
.pbk-mhead strong { font-size: 16px; font-weight: 700; }
.pbk-mhead > span { display: flex; gap: 6px; }
.pbk .pbk-mhead button {
	width: 36px; height: 36px; border-radius: var(--pbk-r-btn); border: 1px solid var(--pbk-line); background: var(--pbk-card);
	color: var(--pbk-ink); font-size: 16px; line-height: 1; text-align: center;
}
.pbk .pbk-mhead button:disabled { color: var(--pbk-line-strong); }
.pbk-mgrid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; text-align: center; }
.pbk .pbk-mgrid button { aspect-ratio: 1; border-radius: var(--pbk-r-btn); font-size: 14px; font-weight: 500; color: var(--pbk-ink); text-align: center; }
.pbk .pbk-mgrid button:hover:not(:disabled) { background: var(--pbk-hover-2); }
.pbk .pbk-mgrid button:disabled { color: var(--pbk-line-strong); }
.pbk .pbk-mgrid button.is-today { font-weight: 700; }
.pbk .pbk-mgrid button.is-on { background: var(--pbk-accent); color: var(--pbk-on-accent); font-weight: 700; }
.pbk-tod { border-top: 1px solid var(--pbk-line); padding-top: 16px; display: flex; flex-direction: column; gap: 10px; }
.pbk-tod > strong { font-size: 14px; font-weight: 600; }
.pbk-tod-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.pbk .pbk-tod-grid button {
	text-align: left; border: 1px solid var(--pbk-line); background: var(--pbk-card); border-radius: var(--pbk-r-sm); padding: 10px 14px;
	display: flex; flex-direction: column; gap: 2px; color: var(--pbk-ink);
}
.pbk .pbk-tod-grid button.is-on { border-color: var(--pbk-ink); background: var(--pbk-hover-2); }
.pbk-tod-grid b { font-size: 15px; font-weight: 600; }
.pbk-tod-grid small { font-size: 12px; color: var(--pbk-muted); }
.pbk-panel-foot { display: flex; justify-content: space-between; gap: 10px; }
.pbk .pbk-panel-foot .pbk-reset { padding: 12px 4px; font-size: 15px; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.pbk .pbk-panel-foot .pbk-apply { background: var(--pbk-btn-bg); color: var(--pbk-btn-text); border-radius: var(--pbk-r-btn); padding: 12px 26px; font-size: 15px; font-weight: 600; }
.pbk .pbk-panel-foot .pbk-apply:hover { background: var(--pbk-btn-hover); color: var(--pbk-btn-hover-text); }
.pbk-geo-note { font-size: 13px; color: var(--pbk-muted); padding: 4px 14px 8px; }

/* Search bar on its own  [prodigy_search_box] — sits on any section background. */
.pbk.pbk-search-box { background: transparent; display: flex; justify-content: center; width: 100%; }
.pbk.pbk-search-box.pbk-align-left { justify-content: flex-start; }
.pbk.pbk-search-box.pbk-align-right { justify-content: flex-end; }
.pbk-search-box .pbk-search { margin-top: 0; max-width: var(--pbk-box-width, 1100px); }
.pbk.pbk-search-box { container-type: inline-size; }
/* Narrow column (sidebar, half-width section, phone): stack the fields. */
@container (max-width: 720px) {
	.pbk-search-box .pbk-search { flex-direction: column; align-items: stretch; border-radius: min(var(--pbk-r-btn), 24px); padding: 8px; gap: 0; min-height: 0; }
	.pbk-search-box .pbk-sf { flex: none; flex-direction: column; align-items: stretch; }
	.pbk.pbk-search-box .pbk-sf-btn { border-radius: min(var(--pbk-r-btn), 16px); padding: 14px 16px; }
	.pbk-search-box .pbk-sf-div { width: auto; height: 1px; margin: 0 16px; }
	.pbk.pbk-search-box .pbk-go { margin-top: 8px; padding: 17px; }
	.pbk-search-box .pbk-panel, .pbk-search-box .pbk-panel--time { position: static; width: 100%; min-width: 0; box-shadow: none; margin: 6px 0 4px; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
	.pbk-body { gap: 32px; }
}
@media (max-width: 999px) {
	.pbk-flow.has-bar .pbk-body { padding-bottom: 140px; }
}
@media (max-width: 380px) {
	.pbk-crumbs, .pbk-crumb { gap: 5px; }
	.pbk .pbk-crumbs button { font-size: 13px; }
}
@media (max-width: 760px) {
	.pbk-top-in { padding: 14px 16px 6px; }
	.pbk-body { padding: 4px 16px 120px; gap: 24px; }
	.pbk-chips { top: 64px; }
	.pbk-bar-in { padding-left: 16px; padding-right: 16px; }
	.pbk .pbk-bar .pbk-cta { padding: 14px 26px; }
	.pbk-week { gap: 4px; }
	.pbk-day-n { font-size: 17px; }

	/* The design's pill search bar can't wrap gracefully on a phone; stack it as a card instead. */
	.pbk-home-head { padding: 18px 16px; }
	.pbk .pbk-wordmark { font-size: 22px; }
	.pbk .pbk-home-head nav a { padding: 10px 8px; font-size: 15px; }
	.pbk .pbk-home-head nav a.pbk-home-mine { padding: 10px 16px; }
	.pbk-hero { padding: 48px 16px 64px; }
	.pbk-search { flex-direction: column; align-items: stretch; border-radius: min(var(--pbk-r-btn), 24px); padding: 8px; gap: 0; }
	.pbk-sf { flex: none; flex-direction: column; align-items: stretch; }
	.pbk .pbk-sf-btn { border-radius: min(var(--pbk-r-btn), 16px); padding: 14px 16px; }
	.pbk-sf-div { width: auto; height: 1px; margin: 0 16px; }
	.pbk .pbk-go { margin-top: 8px; padding: 17px; }
	.pbk-panel, .pbk-panel--time { position: static; width: 100%; min-width: 0; box-shadow: none; margin: 6px 0 4px; border-radius: var(--pbk-r-card); }
}

/* =================================================================
   Search box, Fresha style: one slim pill with segments and a round
   button on wide sections; rounded stacked fields on narrow ones.
   ================================================================= */
.pbk-hero, .pbk.pbk-search-box { container-type: inline-size; }
.pbk .pbk-search {
	margin-top: 0; min-height: 0; max-width: var(--pbk-box-width, 1000px);
	background: var(--pbk-card); border: 1px solid var(--pbk-line); border-radius: 999px;
	padding: 6px; gap: 0; align-items: center; flex-direction: row;
	box-shadow: 0 0 0 5px color-mix(in srgb, var(--pbk-accent) 16%, transparent), 0 10px 30px rgba(15, 20, 18, .08);
}
.pbk-hero .pbk-search { margin-top: 36px; }
.pbk .pbk-search .pbk-sf { flex: 1 1 0; min-width: 0; }
.pbk .pbk-search .pbk-sf-div { display: block; width: 1px; height: 26px; background: var(--pbk-line); flex: none; }
.pbk .pbk-search .pbk-sf-btn {
	border: 0; border-radius: 999px; background: transparent;
	padding: 10px 18px; gap: 10px; min-height: 0; transition: background .15s;
}
.pbk .pbk-search .pbk-sf-btn:hover, .pbk .pbk-search .pbk-sf.is-open .pbk-sf-btn { background: color-mix(in srgb, var(--pbk-ink) 6%, transparent); }
.pbk .pbk-search .pbk-sf-btn svg { width: 20px; height: 20px; flex: none; color: var(--pbk-muted); }
.pbk .pbk-search .pbk-sf-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.pbk .pbk-search .pbk-sf-value { font-size: 15px; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pbk .pbk-search .pbk-go {
	flex: none; display: flex; align-items: center; justify-content: center;
	border-radius: 999px; padding: 13px 28px; font-size: 15px; font-weight: 700; margin-left: 6px;
}
@container (max-width: 760px) {
	.pbk .pbk-search { flex-direction: column; align-items: stretch; border-radius: 24px; padding: 12px; gap: 8px; box-shadow: 0 0 0 4px color-mix(in srgb, var(--pbk-accent) 16%, transparent), 0 10px 30px rgba(15, 20, 18, .08); }
	.pbk .pbk-search .pbk-sf { flex: none; }
	.pbk .pbk-search .pbk-sf-div { display: none; }
	.pbk .pbk-search .pbk-sf-btn { border: 1px solid var(--pbk-line); padding: 12px 16px; }
	.pbk .pbk-search .pbk-go { margin: 2px 0 0; padding: 14px; }
	.pbk .pbk-search .pbk-panel, .pbk .pbk-search .pbk-panel--time { position: static; width: 100%; min-width: 0; box-shadow: none; margin: 8px 0 0; }
}

@media (prefers-reduced-motion: reduce) {
	.pbk *, .pbk *::before, .pbk *::after { transition: none !important; animation: none !important; }
}
