/* Praiseworth Booking – mobile-first styles. Inherits the theme font. */
#pwh-booking {
	--pwh-ink: #141414;
	--pwh-muted: #7a7470;
	--pwh-line: #e7e0d8;
	--pwh-soft: #f6f1eb;
	--pwh-accent: #a8663a;
	--pwh-accent-dark: #8a5430;
	--pwh-radius: 12px;
	max-width: 760px;
	margin: 0 auto;
	color: var(--pwh-ink);
	font-size: 16px;
	line-height: 1.5;
	-webkit-tap-highlight-color: transparent;
}
#pwh-booking *, #pwh-booking *::before, #pwh-booking *::after { box-sizing: border-box; }
#pwh-booking :where(button) { cursor: pointer; }
#pwh-booking [hidden] { display: none !important; }
/* Neutralise theme/Elementor button styles inside the booking widget (zero-weight :where keeps our own rules in charge). */
#pwh-booking :where(button, button:hover, button:focus, [type="button"], [type="submit"]) {
	background: none; background-color: transparent; border: 0; border-radius: 0; box-shadow: none; color: inherit;
	font-family: inherit; font-size: inherit; font-weight: inherit; letter-spacing: 0; line-height: inherit;
	text-transform: none; text-decoration: none; padding: 0; margin: 0; min-height: 0; width: auto; white-space: normal;
}


/* Steps */
#pwh-booking .pwh-steps { display: flex; gap: 6px; list-style: none; margin: 0 0 20px; padding: 0; counter-reset: none; }
#pwh-booking .pwh-steps li { flex: 1; display: flex; align-items: center; gap: 8px; padding: 10px 0 8px; border-bottom: 2px solid var(--pwh-line); font-size: 13px; color: var(--pwh-muted); white-space: nowrap; margin: 0; }
#pwh-booking .pwh-steps li span { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--pwh-line); color: var(--pwh-ink); font-size: 12px; flex: none; }
#pwh-booking .pwh-steps li.is-active { color: var(--pwh-ink); border-color: var(--pwh-ink); font-weight: 600; }
#pwh-booking .pwh-steps li.is-active span { background: var(--pwh-ink); color: #fff; }
#pwh-booking .pwh-steps li.is-done { color: var(--pwh-accent); border-color: var(--pwh-accent); cursor: pointer; }
#pwh-booking .pwh-steps li.is-done span { background: var(--pwh-accent); color: #fff; }
@media (max-width: 480px) { #pwh-booking .pwh-steps li { font-size: 0; justify-content: center; } #pwh-booking .pwh-steps li span { font-size: 12px; } #pwh-booking .pwh-steps li.is-active { font-size: 12px; } }

#pwh-booking .pwh-h { font-size: 18px; font-weight: 600; margin: 22px 0 12px; line-height: 1.3; text-transform: none; letter-spacing: 0; }
#pwh-booking .pwh-panel > .pwh-h:first-child { margin-top: 0; }
#pwh-booking .pwh-muted { color: var(--pwh-muted); font-size: 14px; }
#pwh-booking .pwh-note { margin: 10px 0 0; }
#pwh-booking .pwh-loading { padding: 28px 0; text-align: center; color: var(--pwh-muted); }
#pwh-booking .pwh-error { margin: 14px 0 0; padding: 12px 14px; border-radius: 10px; background: #fdecea; color: #a12b1f; font-size: 14px; }
#pwh-booking .pwh-link { background: none; border: 0; padding: 4px 0; color: var(--pwh-accent); text-decoration: underline; font-size: 14px; flex: none; }

/* Category chips: wrap onto new lines so none are hidden off the edge */
#pwh-booking .pwh-chips { display: flex; flex-wrap: wrap; gap: 8px; padding: 2px 0 10px; margin: 0 0 6px; }
#pwh-booking .pwh-chip { flex: none; border: 1px solid var(--pwh-line); background: #fff; border-radius: 999px; padding: 8px 16px; font-size: 14px; line-height: 1.2; transition: background .15s, border-color .15s; }
@media (max-width: 480px) { #pwh-booking .pwh-chip { padding: 7px 13px; font-size: 14px; } }
#pwh-booking .pwh-chip.is-on { background: var(--pwh-ink); border-color: var(--pwh-ink); color: #fff; }

/* Services */
#pwh-booking .pwh-cat { margin: 18px 0 8px; font-size: 12px; letter-spacing: 2px; text-transform: uppercase; color: var(--pwh-accent); font-weight: 600; }
#pwh-booking .pwh-services { display: grid; gap: 10px; }
#pwh-booking .pwh-service { display: block; width: 100%; text-align: left; background: #fff; border: 1px solid var(--pwh-line); border-radius: var(--pwh-radius); padding: 14px 16px; transition: border-color .15s, box-shadow .15s, transform .15s; }
#pwh-booking .pwh-service:hover, #pwh-booking .pwh-service:focus-visible { border-color: var(--pwh-accent); box-shadow: 0 6px 18px rgba(20, 20, 20, .06); outline: none; }
#pwh-booking .pwh-service:active { transform: scale(.99); }
#pwh-booking .pwh-service__top { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; }
#pwh-booking .pwh-service__name { font-weight: 600; }
#pwh-booking .pwh-service__price { font-weight: 600; white-space: nowrap; }
#pwh-booking .pwh-service__meta { display: block; color: var(--pwh-muted); font-size: 13px; margin-top: 2px; }
#pwh-booking .pwh-service__desc { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; color: var(--pwh-muted); font-size: 14px; margin-top: 6px; }

/* Selected service bar */
#pwh-booking .pwh-sel { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; background: var(--pwh-soft); border-radius: var(--pwh-radius); padding: 14px 16px; }
#pwh-booking .pwh-sel__name { display: block; font-weight: 600; }
#pwh-booking .pwh-sel__meta, #pwh-booking .pwh-sel__when { display: block; font-size: 14px; color: var(--pwh-muted); }
#pwh-booking .pwh-sel__when { color: var(--pwh-ink); margin-top: 4px; }

/* Calendar */
#pwh-booking .pwh-cal { border: 1px solid var(--pwh-line); border-radius: var(--pwh-radius); padding: 12px; background: #fff; }
#pwh-booking .pwh-cal__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
#pwh-booking .pwh-cal__title { font-weight: 600; }
#pwh-booking .pwh-cal__nav { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--pwh-line); background: #fff; font-size: 22px; line-height: 1; padding: 0; }
#pwh-booking .pwh-cal__nav:disabled { opacity: .3; cursor: default; }
#pwh-booking .pwh-cal__dow, #pwh-booking .pwh-cal__grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; text-align: center; }
#pwh-booking .pwh-cal__dow span { font-size: 12px; color: var(--pwh-muted); padding: 4px 0; }
#pwh-booking .pwh-cal__grid { position: relative; min-height: 200px; row-gap: 6px; transition: opacity .15s; }
#pwh-booking .pwh-cal__grid.is-loading { opacity: .35; pointer-events: none; }
#pwh-booking .pwh-day { width: 100%; max-width: 46px; height: 44px; margin: 0 auto; border: 0; border-radius: 50%; background: none; font-size: 15px; color: #c4bdb6; padding: 0; }
#pwh-booking .pwh-day.is-open { color: var(--pwh-ink); font-weight: 600; background: var(--pwh-soft); }
#pwh-booking .pwh-day.is-open:hover { background: #ede3d8; }
#pwh-booking .pwh-day.is-on { background: var(--pwh-ink) !important; color: #fff; }
#pwh-booking .pwh-day:disabled { cursor: default; }
#pwh-booking .pwh-cal__empty { grid-column: 1 / -1; color: var(--pwh-muted); font-size: 14px; margin: 8px 0 0; }

/* Times */
#pwh-booking .pwh-slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); gap: 8px; }
#pwh-booking .pwh-slot { border: 1px solid var(--pwh-line); background: #fff; border-radius: 10px; padding: 12px 6px; font-weight: 600; min-height: 48px; display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1.2; transition: border-color .15s, background .15s; }
#pwh-booking .pwh-slot small { font-size: 11px; font-weight: 500; color: var(--pwh-accent); margin-top: 2px; }
#pwh-booking .pwh-slot:hover { border-color: var(--pwh-ink); }
#pwh-booking .pwh-slot.is-ooh { background: #fcf8f4; }

/* Summary */
#pwh-booking .pwh-sum { margin: 14px 0 0; border: 1px solid var(--pwh-line); border-radius: var(--pwh-radius); padding: 6px 16px; font-size: 15px; }
#pwh-booking .pwh-sum > div { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--pwh-line); }
#pwh-booking .pwh-sum > div:last-child { border-bottom: 0; }
#pwh-booking .pwh-sum > div span:last-child { white-space: nowrap; }
#pwh-booking .pwh-sum__total { font-weight: 600; }
#pwh-booking .pwh-sum__dep { color: var(--pwh-accent-dark); font-weight: 600; }

/* Form */
#pwh-booking .pwh-form { margin: 0; }
#pwh-booking .pwh-row { display: grid; grid-template-columns: 1fr; gap: 0 12px; }
@media (min-width: 560px) { #pwh-booking .pwh-row { grid-template-columns: 1fr 1fr; } }
#pwh-booking .pwh-field { display: block; margin: 0 0 14px; }
#pwh-booking .pwh-field > span { display: block; font-size: 14px; font-weight: 600; margin-bottom: 6px; }
#pwh-booking .pwh-field em { font-weight: 400; color: var(--pwh-muted); font-style: normal; }
#pwh-booking .pwh-field input, #pwh-booking .pwh-field textarea { width: 100%; border: 1px solid #d8d0c7; border-radius: 10px; padding: 13px 14px; font: inherit; font-size: 16px; background: #fff; color: var(--pwh-ink); transition: border-color .15s, box-shadow .15s; }
#pwh-booking .pwh-field input:focus, #pwh-booking .pwh-field textarea:focus { outline: none; border-color: var(--pwh-ink); box-shadow: 0 0 0 3px rgba(168, 102, 58, .15); }
#pwh-booking .pwh-field .is-invalid, #pwh-booking .pwh-field input.is-invalid { border-color: #c0392b; }
#pwh-booking .pwh-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

#pwh-booking .pwh-pay { border: 0; padding: 0; margin: 6px 0 16px; }
#pwh-booking .pwh-pay legend { font-size: 14px; font-weight: 600; margin-bottom: 8px; padding: 0; }
#pwh-booking .pwh-radio { display: flex; gap: 12px; align-items: flex-start; border: 1px solid var(--pwh-line); border-radius: var(--pwh-radius); padding: 14px; margin-bottom: 8px; cursor: pointer; transition: border-color .15s, background .15s; }
#pwh-booking .pwh-radio:has(input:checked) { border-color: var(--pwh-ink); background: var(--pwh-soft); }
#pwh-booking .pwh-radio input { margin: 4px 0 0; accent-color: var(--pwh-ink); width: 18px; height: 18px; flex: none; }
#pwh-booking .pwh-radio small { display: block; color: var(--pwh-muted); font-size: 13px; }

#pwh-booking .pwh-check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; margin: 4px 0 4px; cursor: pointer; }
#pwh-booking .pwh-check input { margin: 3px 0 0; width: 18px; height: 18px; accent-color: var(--pwh-ink); flex: none; }
#pwh-booking .pwh-check a { color: var(--pwh-accent); }

#pwh-booking .pwh-btn { display: block; width: 100%; margin-top: 18px; border: 0; border-radius: 999px; background: var(--pwh-ink); color: #fff !important; padding: 17px 24px; font-size: 16px; font-weight: 600; transition: background .15s, opacity .15s; }
#pwh-booking .pwh-btn:hover { background: var(--pwh-accent); }
#pwh-booking .pwh-btn:disabled { opacity: .6; cursor: progress; }

/* Done */
#pwh-booking .pwh-done { text-align: center; padding: 10px 0; }
#pwh-booking .pwh-done__icon { width: 56px; height: 56px; margin: 0 auto 6px; border-radius: 50%; display: grid; place-items: center; background: var(--pwh-ink); color: #fff; font-size: 26px; }
#pwh-booking .pwh-bank { text-align: left; background: var(--pwh-soft); border-radius: var(--pwh-radius); padding: 14px 16px; margin: 16px 0; font-size: 15px; }
#pwh-booking .pwh-bank table { width: 100%; }
#pwh-booking .pwh-bank p { margin: 0 0 8px; }

/* Phones: button text 1px bigger than desktop (user request 2026-11-17). */
@media (max-width: 767px) {
	#pwh-booking .pwh-chip { font-size: 15px; }
	#pwh-booking .pwh-btn { font-size: 17px; }
}
@media (max-width: 480px) {
	#pwh-booking .pwh-chip { font-size: 14px; }
}
