/* Praiseworth Booking – "Book a slot" bottom sheet for phones. */
html.pwh-sheet-open { overflow: hidden; }

#pwh-sheet {
	position: fixed;
	inset: auto 0 0 0;
	width: 100%;
	max-width: 100%;
	height: 92vh;
	height: 92dvh;
	max-height: none;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 18px 18px 0 0;
	background: #fff;
	color: #141414;
	box-shadow: 0 -12px 40px rgba(0, 0, 0, .18);
	overflow: hidden;
	transform: translateY(100%);
	transition: transform .26s ease;
}
#pwh-sheet[open] { display: flex; flex-direction: column; }
#pwh-sheet.is-open { transform: translateY(0); }
#pwh-sheet::backdrop { background: rgba(20, 20, 20, .55); }

#pwh-sheet .pwh-sheet__bar { position: relative; flex: none; padding: 18px 64px 12px 20px; border-bottom: 1px solid #eee6dd; touch-action: none; }
#pwh-sheet .pwh-sheet__handle { position: absolute; top: 7px; left: 50%; width: 40px; height: 4px; margin-left: -20px; border-radius: 4px; background: #d9d0c6; }
#pwh-sheet .pwh-sheet__title { margin: 4px 0 0; font-size: 18px; line-height: 1.3; font-weight: 600; color: #141414; text-transform: none; letter-spacing: 0; }
#pwh-sheet .pwh-sheet__close { position: absolute; top: 12px; right: 14px; width: 38px; height: 38px; margin: 0; padding: 0; border: 1px solid #e3dbd2; border-radius: 50%; background: #fff; color: #141414; font-size: 22px; line-height: 1; display: grid; place-items: center; cursor: pointer; box-shadow: none; }
#pwh-sheet .pwh-sheet__close:hover, #pwh-sheet .pwh-sheet__close:focus-visible { background: #141414; color: #fff; border-color: #141414; }

#pwh-sheet .pwh-sheet__body { position: relative; flex: 1; min-height: 0; }
#pwh-sheet .pwh-sheet__frame { display: block; width: 100%; height: 100%; border: 0; opacity: 0; transition: opacity .2s; }
#pwh-sheet.is-loaded .pwh-sheet__frame { opacity: 1; }
#pwh-sheet .pwh-sheet__loading { position: absolute; inset: 0; display: grid; place-items: center; color: #7a7470; font-size: 15px; }
#pwh-sheet.is-loaded .pwh-sheet__loading { display: none; }

@media (prefers-reduced-motion: reduce) { #pwh-sheet { transition: none; } }

/* Desktop: links inside .pwh-book-popup (e.g. the footer "Book online" box) open the same form as a centred popup. */
@media (min-width: 768px) {
	#pwh-sheet.is-popup {
		inset: 0; margin: auto; width: min(720px, calc(100vw - 48px)); height: min(820px, calc(100vh - 48px));
		border-radius: 14px; box-shadow: 0 30px 80px rgba(0, 0, 0, .25);
		transform: translateY(12px); opacity: 0; transition: opacity .2s ease, transform .22s ease;
	}
	#pwh-sheet.is-popup.is-open { transform: none; opacity: 1; }
	#pwh-sheet.is-popup .pwh-sheet__handle { display: none; }
	#pwh-sheet.is-popup .pwh-sheet__bar { padding: 22px 64px 16px 28px; background: #fbf9f6; }
	#pwh-sheet.is-popup .pwh-sheet__title { font-size: 22px; margin: 0; }
	#pwh-sheet.is-popup .pwh-sheet__close { top: 14px; right: 16px; }
}

/* Phone header (header template 1652, section 747d1796): WhatsApp, notifications bell (staff only), account and
   cart icons all 20px, on one centre line, evenly spaced, with the same 16px edge gap as the "Book a slot" link. */
@media (max-width: 767px) {
	.elementor-element-747d1796 .elementor-element-396232ce { flex: 1 1 auto !important; width: auto !important; }
	.elementor-element-747d1796 :is(.elementor-element-718d9c39, .elementor-element-477e2620) { flex: none !important; width: auto !important; }
	.elementor-element-747d1796 .elementor-element-718d9c39 > .elementor-widget-wrap { padding: 0 0 0 18px !important; }
	.elementor-element-747d1796 .elementor-element-477e2620 > .elementor-widget-wrap { padding: 0 16px 0 18px !important; }
	.elementor-element-747d1796 :is(.elementor-element-ef0b443, .elementor-element-b311a7e1, .elementor-element-7ac8fbd6, .elementor-element-6ae1ff9b) {
		display: flex !important; align-items: center; justify-content: center; flex: none !important;
		width: 24px !important; height: 24px; margin: 0 !important; line-height: 0;
	}
	.elementor-element-747d1796 .elementor-element-b311a7e1 { margin-left: 18px !important; }
	.elementor-element-747d1796 :is(.elementor-element-ef0b443, .elementor-element-7ac8fbd6, .elementor-element-6ae1ff9b) :is(.elementor-widget-container, .elementor-icon-wrapper, .elementor-icon, .elementor-menu-cart__container, .elementor-menu-cart__toggle, .elementor-menu-cart__toggle_button, .elementor-button-icon) {
		display: flex !important; align-items: center; justify-content: center; position: static !important;
		width: auto !important; height: auto !important; min-width: 0 !important; min-height: 0 !important;
		margin: 0 !important; padding: 0 !important; line-height: 0 !important; font-size: 20px !important;
		background: none !important; border: 0 !important;
	}
	.elementor-element-747d1796 :is(.elementor-element-ef0b443, .elementor-element-7ac8fbd6, .elementor-element-6ae1ff9b) svg { display: block; width: 20px !important; height: 20px !important; }
}
.pwh-book-popup { cursor: pointer; }

/* Phones: WooCommerce buttons (product grids, add to cart, cart/checkout) 1px bigger than their normal size.
 * Woo sizes them at 100% of the surrounding text, so +1px keeps each one relative (user request 2026-11-17). */
@media (max-width: 767px) {
	.woocommerce :is(a.button, button.button, input.button, #respond input#submit),
	.woocommerce ul.products li.product .button,
	.woocommerce div.product form.cart .button {
		font-size: calc(100% + 1px);
	}
}
