/*
 * Contact page — the old Wix "Book Now / Contact Us" page, modernised.
 *
 * One fluid white card inside .wx-container. Desktop (980px+): intro copy and
 * the call/email/photo column on the left, the booking form on the right, the
 * map and privacy note across the bottom. Narrower: one column, form right
 * after the intro.
 *
 * Colours: every element keeps the exact colour it had in the Wix copy,
 * including the Wix-only values (#b2ecff fields, #003b4d placeholders and
 * marks, #ffb730 submit hover, #ff4040/#ffd5bb error state, #ccc disabled,
 * #084255 button hover text, the peach hover/focus tints). New decoration
 * (chip checked state, focus rings) uses colours already on the site.
 */

.wxc {
	background: #b2ecff url("../img/wix/38b498_564cdd394b0b426d998a8457ecfa8075.webp") center top / cover no-repeat;
	padding-block: clamp(1.25rem, 3vw, 2.5rem) var(--wx-section);
	font-family: var(--wx-font-body);
}

.wxc *,
.wxc *::before,
.wxc *::after {
	box-sizing: border-box;
}

.wxc h1,
.wxc h2,
.wxc p {
	margin: 0;
	font-weight: inherit;
}

/* The reset above outranks .wx-title; give the titles their weight back. */
.wxc .wx-title {
	font-weight: 800;
}

/* Form controls use the page family instead of the browser's default. */
.wxc :where(input, select, textarea, button) {
	font-family: inherit;
}

.wxc-rt {
	overflow-wrap: break-word;
}

.wxc-rt a {
	color: inherit;
}

.wxc-pink { color: var(--wx-magenta); }
.wxc-blue { color: var(--wx-blue); }

/* Anchor targets clear the sticky header. */
.wxc-anchor {
	display: block;
	height: 0;
	pointer-events: none;
	scroll-margin-top: calc(var(--wp-admin--admin-bar--height, 0px) + 108px);
}

/* ---------------------------------------------------------------- title */

/* Headings use .wx-head / .wx-title (wix-tokens.css); these rules keep each
   title's colour, case and size step. */
.wxc-title {
	max-width: 900px;
	color: var(--wx-white);
}

.wxc-title h1 {
	font-size: clamp(1.35rem, 0.9rem + 2.2vw, 2.4rem);
	line-height: 1.3;
	text-transform: uppercase;
	text-shadow: rgba(0, 0, 0, 0.4) 0 4px 5px;
}

/* ----------------------------------------------------------------- card */

.wxc-box {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	grid-template-areas:
		"intro"
		"form"
		"aside"
		"map"
		"privacy";
	gap: clamp(1.5rem, 3.5vw, 2.25rem) clamp(1.5rem, 3.5vw, 3rem);
	padding: clamp(14px, 3.2vw, 40px);
	border-radius: var(--wx-radius-lg);
	background: var(--wx-white);
	box-shadow: var(--wx-shadow-lg);
	animation: wxc-rise 0.6s var(--wx-ease) both;
}

@keyframes wxc-rise {
	from { opacity: 0; transform: translateY(14px); }
	to { opacity: 1; transform: none; }
}

.wxc-intro         { grid-area: intro; }
.wxc-aside         { grid-area: aside; }
.wxc-formwrap      { grid-area: form; }
.wxc-anchor--map   { grid-area: map; align-self: start; }
.wxc-map           { grid-area: map; }
.wxc-privacy       { grid-area: privacy; }

@media (min-width: 980px) {
	.wxc-box {
		grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
		grid-template-rows: auto 1fr auto auto;
		grid-template-areas:
			"intro form"
			"aside form"
			"map map"
			"privacy privacy";
	}

	.wxc-intro,
	.wxc-aside {
		align-self: start;
	}
}

/* ---------------------------------------------------------------- intro */

.wxc-intro {
	display: flex;
	flex-direction: column;
	gap: 0.875rem;
	text-align: center;
}

.wxc-promo {
	padding: 1rem 1.25rem;
	border-radius: var(--wx-radius);
	background: var(--wx-blue);
	box-shadow: var(--wx-shadow);
}

.wxc-promo p {
	font-style: italic;
	font-weight: 600;
	font-size: var(--wx-fs-body);
	line-height: 1.5;
	letter-spacing: 0.01em;
	color: var(--wx-yellow);
}

/* The column's gap is part of the heading's space, so the total matches .wx-head. */
.wxc-subtitle,
.wxc-orask {
	margin-top: 0.5rem;
	margin-bottom: calc(clamp(1.25rem, 3vw, 2.25rem) - 0.875rem);
	color: var(--wx-magenta);
}

.wxc-subtitle h2,
.wxc-orask h2 {
	font-size: clamp(1.5rem, 1.15rem + 1.3vw, 2.1rem);
}

.wxc-orask h2 {
	font-size: clamp(1.35rem, 1.05rem + 1.1vw, 1.85rem);
}

.wxc-know p,
.wxc-almost p {
	font-weight: 600;
	font-size: var(--wx-fs-body);
	line-height: 1.55;
}

/* ---------------------------------------------------------------- aside */

.wxc-aside {
	display: flex;
	flex-direction: column;
	gap: 1.25rem;
	text-align: center;
}

.wxc-photo img {
	aspect-ratio: 418 / 331;
	box-shadow: var(--wx-shadow);
}

.wxc-free p {
	font-weight: 700;
	font-size: clamp(1.25rem, 1rem + 1vw, 1.75rem);
	line-height: 1.3;
	text-wrap: balance;
}

.wxc-calls {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.75rem;
}

.wxc-call {
	order: -1;
	flex: 1 0 100%;
}

.wxc-call p {
	font-weight: 700;
	font-size: var(--wx-fs-lead);
	letter-spacing: 0.02em;
	color: var(--wx-magenta);
}

.wxc-call a {
	display: inline-flex;
	align-items: center;
	min-height: var(--wx-tap);
	text-decoration: underline;
	text-decoration-thickness: 2px;
	text-underline-offset: 4px;
	border-radius: var(--wx-radius-sm);
}

/* Phone and submit buttons keep the Wix skin colours: white 2px border, dark
 * lifted shadow, white label; hover (desktop) and press (touch) as on Wix. */
.wxc .wxc-phone,
.wxc .wxc-submit {
	border: 2px solid #fff;
	box-shadow: 0 1px 4px 0 rgba(0, 0, 0, 0.6);
	color: #fff;
	transition: transform var(--wx-dur) var(--wx-ease), box-shadow var(--wx-dur) var(--wx-ease), background-color 0.4s ease, border-color 0.4s ease, color 0.4s ease;
}

.wxc .wxc-phone {
	background-color: #ff00bb;
}

.wxc .wxc-submit {
	background-color: #002fa6;
}

.wxc .wxc-phone:active {
	border-color: rgba(255, 255, 255, 0);
	background-color: #fff;
	color: #084255;
}

.wxc .wxc-submit:active {
	border-color: rgba(255, 255, 255, 0);
	background-color: #ffb730;
	color: #fff;
}

@media (hover: hover) and (min-width: 980px) {
	.wxc .wxc-phone:hover {
		border-color: rgba(255, 255, 255, 0);
		background-color: #fff;
		color: #084255;
		box-shadow: 0 4px 10px 0 rgba(0, 0, 0, 0.35);
	}

	.wxc .wxc-submit:hover {
		border-color: rgba(255, 255, 255, 0);
		background-color: #ffb730;
		color: #fff;
		box-shadow: 0 4px 10px 0 rgba(0, 0, 0, 0.35);
	}
}

.wxc-phone {
	flex: 1 1 13rem;
	max-width: 20rem;
	min-height: 52px;
	white-space: nowrap;
}

.wxc-phone--ky {
	order: 0;
}

.wxc-phone--us {
	order: 1;
}

.wxc-email p {
	font-weight: 700;
	font-size: var(--wx-fs-body);
	letter-spacing: 0.02em;
	color: var(--wx-magenta);
	overflow-wrap: anywhere;
}

.wxc-email a {
	text-decoration: none;
	border-radius: 4px;
}

.wxc-email a:hover {
	text-decoration: underline;
	text-underline-offset: 3px;
}

/* ------------------------------------------------------------ map, note */

.wxc-map {
	overflow: hidden;
	aspect-ratio: 4 / 3;
	border-radius: var(--wx-radius);
	box-shadow: var(--wx-shadow);
}

@media (min-width: 640px) {
	.wxc-map { aspect-ratio: auto; height: clamp(300px, 32vw, 400px); }
}

.wxc-map iframe {
	display: block;
	width: 100%;
	height: 100%;
	border: 0;
}

.wxc-privacy {
	display: grid;
	gap: 0.5rem;
}

.wxc-privacy p {
	font-family: var(--wx-font-body);
	font-weight: 400;
	font-size: var(--wx-fs-sm);
	line-height: 1.6;
	color: var(--wx-grey);
}

.wxc-privacy strong {
	font-weight: 700;
}

/* ================================================================= form */

.wxc-form {
	display: flex;
	flex-direction: column;
	gap: 1rem;
	margin: 0;
}

.wxc-hp {
	position: absolute !important;
	left: -9999px !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.wxc-group {
	display: grid;
	grid-template-columns: repeat(6, minmax(0, 1fr));
	gap: 0.875rem 0.75rem;
	padding: clamp(12px, 2.4vw, 22px);
	border: 1px solid #b2ecff;
	border-radius: var(--wx-radius);
	background: #fff;
	box-shadow: var(--wx-shadow-sm);
}

@media (max-width: 559px) {
	/* Phones: the groups keep their spacing but drop the card chrome for width. */
	.wxc-form {
		gap: 1.5rem;
	}

	.wxc-group {
		padding: 0;
		border: 0;
		box-shadow: none;
	}
}

.wxc-field {
	position: relative;
	display: flex;
	flex-direction: column;
	min-width: 0;
	grid-column: span 6;
}

@media (min-width: 560px) {
	.wxc-f-email,
	.wxc-f-phone,
	.wxc-f-date,
	.wxc-f-time { grid-column: span 3; }
	.wxc-f-condo { grid-column: span 4; }
	.wxc-f-unit  { grid-column: span 2; }
}

/* Field skin shared by inputs, textarea, the date/time boxes and the select. */
.wxc-input,
.wxc-textarea,
.wxc-date,
.wxc-time,
.wxc-dd__select {
	width: 100%;
	min-height: 52px;
	margin: 0;
	border: 2px solid rgba(255, 140, 107, 0);
	border-radius: var(--wx-radius-sm);
	background-color: #b2ecff;
	box-shadow: none;
	color: #000;
	font-family: var(--wx-font-body);
	font-weight: 500;
	font-size: 1rem; /* 16px: no zoom-on-focus in iOS */
	line-height: 1.4;
	-webkit-appearance: none;
	appearance: none;
	transition: border-color var(--wx-dur) var(--wx-ease), box-shadow var(--wx-dur) var(--wx-ease), background-color var(--wx-dur) var(--wx-ease), padding var(--wx-dur) var(--wx-ease);
}

.wxc-input {
	padding: 0 14px;
	text-overflow: ellipsis;
}

.wxc-textarea {
	display: block;
	min-height: 8.5rem;
	padding: 12px 14px;
	resize: vertical;
}

.wxc-input::placeholder,
.wxc-textarea::placeholder {
	color: #003b4d;
	opacity: 1;
}

.wxc-input:hover,
.wxc-textarea:hover,
.wxc-date:hover,
.wxc-time:hover,
.wxc-dd__select:hover {
	background-color: rgba(255, 219, 152, 0.65);
}

.wxc .wxc-input:focus,
.wxc .wxc-textarea:focus,
.wxc .wxc-dd__select:focus,
.wxc .wxc-date:focus-within,
.wxc .wxc-time:focus-within {
	background-color: rgba(255, 213, 187, 0.65);
	box-shadow: 0 0 0 3px #116dff;
	outline: none;
}

/* The date box carries the skin; its text input sits inside it, transparent. */
.wxc .wxc-date .wxc-date__text,
.wxc .wxc-date .wxc-date__text:hover,
.wxc .wxc-date .wxc-date__text:focus {
	min-height: 48px;
	border: 0;
	background: transparent;
	box-shadow: none;
}

.wxc .wxc-time__select:focus-visible {
	outline: none;
}

/* Floating label: the placeholder's own words, kept visible once filled. */
.wxc-fl::before {
	content: attr(data-label);
	position: absolute;
	z-index: 1;
	top: 7px;
	left: 16px;
	right: 16px;
	overflow: hidden;
	white-space: nowrap;
	text-overflow: ellipsis;
	font-weight: 600;
	font-size: 0.75rem;
	line-height: 1;
	color: #003b4d;
	opacity: 0;
	transform: translateY(4px);
	transition: opacity var(--wx-dur) var(--wx-ease), transform var(--wx-dur) var(--wx-ease);
	pointer-events: none;
}

.wxc-fl.is-filled::before {
	opacity: 1;
	transform: none;
}

.wxc-fl.is-filled .wxc-input {
	padding-top: 16px;
}

/* Invalid fields (after blur or a submit attempt): red, with the message below. */
.wxc .wxc-field.is-invalid .wxc-input,
.wxc .wxc-field.is-invalid .wxc-textarea,
.wxc .wxc-field.is-invalid .wxc-dd__select {
	border-bottom: 5px solid #ff4040;
	background-color: #ffd5bb;
}

.wxc-fielderr {
	margin: 6px 2px 0 !important;
	font-weight: 600;
	font-size: var(--wx-fs-sm);
	line-height: 1.35;
	color: #e21c21;
	animation: wxc-in 0.25s var(--wx-ease) both;
}

@keyframes wxc-in {
	from { opacity: 0; transform: translateY(-3px); }
	to { opacity: 1; transform: none; }
}

.wxc-label {
	display: block;
	margin-bottom: 8px;
	font-weight: 600;
	font-size: var(--wx-fs-body);
	line-height: 1.4;
	color: var(--wx-magenta);
	overflow-wrap: break-word;
}

.wxc-f-details .wxc-label,
.wxc-f-sizes .wxc-label {
	font-size: var(--wx-fs-sm);
	line-height: 1.5;
}

.wxc-label--req::after {
	content: " *";
	color: var(--wx-red);
}

/* ----------------------------------------------------- item chips */

.wxc-cbg {
	min-width: 0;
	margin: 0;
	padding: 0;
	border: 0;
}

.wxc-cbg__label {
	display: block;
	margin: 0 0 10px;
	padding: 0;
	font-weight: 600;
	font-size: var(--wx-fs-body);
	line-height: 1.35;
	color: var(--wx-magenta);
}

/* Photo chips: 1 column on the narrowest phones, 2 on phones and tablets,
 * 3 beside the intro on desktop. */
.wxc-cbg__items {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 8px;
	align-items: start;
}

@media (min-width: 360px) {
	.wxc-cbg__items {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (min-width: 980px) {
	.wxc-cbg__items {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

.wxc-item {
	display: flex;
	flex-direction: column;
	min-width: 0;
}

.wxc-cb {
	position: relative;
	display: flex;
	align-items: center;
	gap: 8px;
	min-height: 60px;
	padding: 5px 6px 5px 5px;
	border: 2px solid #b2ecff;
	border-radius: var(--wx-radius-sm);
	background: #fff;
	cursor: pointer;
	-webkit-tap-highlight-color: transparent;
	transition: border-color var(--wx-dur) var(--wx-ease), background-color var(--wx-dur) var(--wx-ease), transform var(--wx-dur) var(--wx-ease), box-shadow var(--wx-dur) var(--wx-ease);
}

.wxc-cb:hover {
	box-shadow: var(--wx-shadow-sm);
}

.wxc-cb:active {
	transform: scale(0.98);
}

.wxc-cb__input {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	margin: 0;
	opacity: 0;
	cursor: pointer;
}

.wxc-cb__img {
	flex: none;
	width: 46px;
	height: 46px;
	overflow: hidden;
	border-radius: 8px;
	background: #b2ecff;
	pointer-events: none;
}

.wxc-cb__img img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* With a photo, the tick sits on the photo's corner. */
.wxc-cb__img + .wxc-cb__box {
	position: absolute;
	top: 2px;
	left: 2px;
	width: 20px;
	height: 20px;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
}

.wxc-cb__box {
	position: relative;
	flex: none;
	display: grid;
	place-items: center;
	width: 22px;
	height: 22px;
	border: 1px solid rgba(255, 140, 107, 0);
	border-radius: 6px;
	background-color: #b2ecff;
	pointer-events: none;
	transition: background-color var(--wx-dur) var(--wx-ease), border-color var(--wx-dur) var(--wx-ease);
}

.wxc-cb__box svg {
	width: 12px;
	height: auto;
	fill: #003b4d;
	opacity: 0;
	transform: scale(0.5);
	transition: opacity var(--wx-dur) var(--wx-ease), transform var(--wx-dur) var(--wx-ease);
}

.wxc-cb__text {
	font-weight: 600;
	font-size: 0.875rem;
	line-height: 1.25;
	color: var(--wx-blue);
	overflow-wrap: break-word;
	hyphens: manual;
	min-width: 0;
	user-select: none;
	pointer-events: none;
}

.wxc-cb:hover .wxc-cb__box {
	background-color: rgba(255, 219, 152, 0.65);
}

.wxc-cb:hover .wxc-cb__box svg {
	fill: #373b4d;
}

.wxc-cb__input:focus + .wxc-cb__box {
	background-color: rgba(255, 213, 187, 0.65);
}

.wxc-cb__input:checked + .wxc-cb__box,
.wxc-cb:hover .wxc-cb__input:checked + .wxc-cb__box {
	background-color: #fff;
}

.wxc-cb__input:checked + .wxc-cb__box svg {
	opacity: 1;
	transform: none;
}

.wxc-cb:has(.wxc-cb__input:checked) {
	border-color: #002fa6;
	background: #002fa6;
}

.wxc-cb:has(.wxc-cb__input:checked) .wxc-cb__text {
	color: #fff;
}

.wxc-cb:has(.wxc-cb__input:focus-visible) {
	outline: 2px solid #116dff;
	outline-offset: 2px;
}

.wxc .wxc-cb__input:focus-visible {
	outline: none;
}

/* Phones: a smaller photo leaves the name room to wrap between words. */
@media (max-width: 559px) {
	.wxc-cb {
		gap: 7px;
		padding: 5px;
	}

	.wxc-cb__img {
		width: 38px;
		height: 38px;
	}

	.wxc-cb__text {
		font-size: 0.8125rem;
	}

	.wxc-qty {
		justify-content: space-between;
	}

	.wxc-qty__label {
		display: none;
	}
}

/* ------------------------------------------------ quantity stepper */

.wxc-item.is-on .wxc-cb {
	border-bottom-right-radius: 0;
	border-bottom-left-radius: 0;
}

.wxc-qty {
	display: flex;
	align-items: center;
	gap: 6px;
	padding: 5px 6px;
	border: 2px solid #002fa6;
	border-top: 0;
	border-radius: 0 0 var(--wx-radius-sm) var(--wx-radius-sm);
	background: #fff;
	animation: wxc-in 0.2s var(--wx-ease) both;
}

.wxc-qty[hidden] {
	display: none;
}

.wxc-qty__label {
	flex: 1;
	overflow: hidden;
	white-space: nowrap;
	min-width: 0;
	padding-left: 4px;
	font-weight: 600;
	font-size: 0.8125rem;
	color: #003b4d;
}

.wxc .wxc-qty__btn {
	flex: none;
	display: grid;
	place-items: center;
	width: 38px;
	height: 38px;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 8px;
	background: #b2ecff;
	color: #003b4d;
	font: 700 1.25rem/1 var(--wx-font-body);
	cursor: pointer;
	transition: background-color var(--wx-dur) var(--wx-ease);
}

.wxc .wxc-qty__btn:hover {
	background-color: rgba(255, 219, 152, 0.65);
}

.wxc .wxc-qty__btn:disabled {
	background: #ccf3ff;
	color: rgba(0, 59, 77, 0.35);
	cursor: default;
}

.wxc .wxc-qty__input {
	flex: none;
	width: 34px;
	height: 36px;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 8px;
	background: transparent;
	color: #002fa6;
	font: 700 1rem/1 var(--wx-font-body);
	text-align: center;
	-moz-appearance: textfield;
	appearance: textfield;
}

.wxc-qty__input::-webkit-outer-spin-button,
.wxc-qty__input::-webkit-inner-spin-button {
	margin: 0;
	-webkit-appearance: none;
}

.wxc .wxc-qty__input:focus {
	outline: none;
	box-shadow: 0 0 0 2px #116dff;
}

/* ---------------------------------------------------- estimate card */

.wxc-quote {
	padding: clamp(14px, 2.4vw, 22px);
	border: 2px solid #002fa6;
	border-radius: var(--wx-radius);
	background: #fff;
	box-shadow: var(--wx-shadow);
	outline: none;
	scroll-margin: 120px 0 calc(var(--wxh-bar, 0px) + 24px);
}

.wxc-quote__h {
	margin: 0 0 10px;
	font-weight: 700;
	font-size: var(--wx-fs-lead);
	line-height: 1.2;
	letter-spacing: 0.01em;
	color: var(--wx-magenta);
}

.wxc-quote__prompt {
	padding: 10px 12px;
	border-radius: var(--wx-radius-sm);
	background: #ccf3ff;
	font-weight: 600;
	font-size: var(--wx-fs-sm);
	line-height: 1.4;
	color: #002fa6;
}

.wxc-quote__lines {
	margin: 0;
	padding: 0;
	list-style: none;
}

.wxc-quote__lines[hidden],
.wxc-quote__sums[hidden],
.wxc-quote__row[hidden],
.wxc-quote__notice[hidden],
.wxc-quote__prompt[hidden],
.wxc-pill[hidden] {
	display: none;
}

.wxc-quote__line {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 12px;
	padding: 8px 0;
	border-bottom: 1px solid #b2ecff;
}

.wxc-quote__item {
	display: flex;
	flex-direction: column;
	min-width: 0;
}

.wxc-quote__name {
	font-weight: 600;
	font-size: var(--wx-fs-sm);
	line-height: 1.3;
	color: #002fa6;
	overflow-wrap: anywhere;
}

.wxc-quote__meta {
	font-size: 0.8125rem;
	line-height: 1.35;
	color: #003b4d;
}

.wxc-quote__price {
	flex: none;
	font-weight: 600;
	font-size: var(--wx-fs-sm);
	color: #000;
	white-space: nowrap;
	font-variant-numeric: tabular-nums;
}

.wxc-quote__sums {
	margin: 10px 0 0;
}

.wxc-quote__row {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 12px;
	padding: 3px 0;
	font-size: var(--wx-fs-sm);
	color: #003b4d;
}

.wxc-quote__row dt,
.wxc-quote__row dd {
	margin: 0;
}

.wxc-quote__row dd {
	font-weight: 600;
	white-space: nowrap;
	font-variant-numeric: tabular-nums;
}

.wxc-quote__row--discount {
	color: var(--wx-magenta);
}

.wxc-quote__row--total {
	margin-top: 6px;
	padding-top: 10px;
	border-top: 2px solid #002fa6;
	font-weight: 700;
	font-size: var(--wx-fs-lead);
	color: #002fa6;
}

.wxc-quote__row--total dd {
	font-weight: 800;
}

.wxc-quote__notice {
	margin-top: 10px !important;
	padding: 8px 12px;
	border-radius: var(--wx-radius-sm);
	background: var(--wx-magenta);
	font-weight: 700;
	font-size: var(--wx-fs-sm);
	line-height: 1.35;
	text-align: center;
	color: #fff;
	animation: wxc-in 0.3s var(--wx-ease) both;
}

.wxc-quote__note {
	margin-top: 10px !important;
	font-size: 0.8125rem;
	line-height: 1.4;
	color: var(--wx-grey);
}

.wxc-sr {
	position: absolute !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}

/* The compact total, fixed above the phone action bar (and clear of the chat
 * button on the right) while the estimate card is scrolled out of view. */
.wxc-pill {
	position: fixed;
	z-index: 40;
	left: 50%;
	bottom: calc(var(--wxh-bar, 0px) + 14px);
	display: inline-flex;
	align-items: center;
	gap: 8px;
	max-width: calc(100vw - 150px);
	min-height: var(--wx-tap);
	padding: 8px 18px;
	border: 2px solid #fff;
	border-radius: var(--wx-radius-pill);
	background: #002fa6;
	box-shadow: 0 1px 4px 0 rgba(0, 0, 0, 0.6);
	color: #fff;
	font-family: var(--wx-font-body);
	font-weight: 600;
	font-size: 0.9375rem;
	line-height: 1.2;
	white-space: nowrap;
	text-decoration: none;
	transform: translateX(-50%);
	animation: wxc-pill-in 0.25s var(--wx-ease) both;
}

.wxc-pill strong {
	font-weight: 800;
	font-variant-numeric: tabular-nums;
}

@keyframes wxc-pill-in {
	from { opacity: 0; transform: translate(-50%, 8px); }
	to { opacity: 1; transform: translateX(-50%); }
}

@media (max-width: 359px) {
	.wxc-pill {
		left: 12px;
		max-width: calc(100vw - 88px);
		padding-inline: 14px;
		transform: none;
		animation: none;
	}
}

/* ---------------------------------------------------------- date */

.wxc-date {
	position: relative;
	display: flex;
	align-items: center;
}

.wxc-date__text {
	padding-right: 48px;
	cursor: pointer;
}

.wxc-date__native {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	margin: 0;
	padding: 0;
	border: 0;
	opacity: 0;
	cursor: pointer;
}

.wxc-date__native::-webkit-calendar-picker-indicator {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	cursor: pointer;
}

.wxc-date__icon {
	position: absolute;
	top: 50%;
	right: 18px;
	width: 16px;
	height: 16px;
	margin-top: -8px;
	pointer-events: none;
}

.wxc-date__icon svg {
	display: block;
	width: 100%;
	height: 100%;
	fill: #003b4d;
}

/* ---------------------------------------------------------- time */

.wxc-time {
	position: relative;
	display: flex;
	align-items: center;
}

.wxc-time__select {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	opacity: 0;
	font-size: 1rem;
	cursor: pointer;
}

.wxc-time__text {
	flex: 1;
	min-width: 0;
	padding-inline: 12px 8px;
	overflow: hidden;
	white-space: nowrap;
	text-overflow: ellipsis;
	color: #003b4d;
	pointer-events: none;
}

.wxc-time__text.is-set {
	color: #000;
}

.wxc-time__icon {
	flex: none;
	margin-right: 18px;
	color: #373b4d;
	pointer-events: none;
}

/* ------------------------------------------------------ dropdown */

.wxc-dd {
	position: relative;
}

.wxc-dd__select {
	display: block;
	padding: 0 48px 0 12px;
	white-space: nowrap;
	text-overflow: ellipsis;
	cursor: pointer;
}

.wxc-dd__select option {
	color: #000;
	background: #fff;
}

.wxc-dd__arrow {
	position: absolute;
	top: 0;
	right: 18px;
	bottom: 0;
	display: flex;
	align-items: center;
	pointer-events: none;
}

.wxc-dd__arrow svg {
	display: block;
	width: 13px;
	height: auto;
	fill: rgba(0, 0, 0, 0.5);
}

/* ------------------------------------------------ submit, messages */

.wxc-actions {
	display: flex;
	justify-content: center;
}

.wxc-submit {
	position: relative;
	width: 100%;
	min-height: 54px;
	font-size: var(--wx-fs-lead);
	letter-spacing: 0.02em;
}

@media (min-width: 560px) {
	.wxc-submit {
		width: auto;
		min-width: 15rem;
	}
}

.wxc .wxc-submit:disabled,
.wxc .wxc-submit:disabled:hover {
	border-color: #ccc;
	background-color: #ccc;
	color: #fff;
	cursor: progress;
	transform: none;
	box-shadow: 0 1px 4px 0 rgba(0, 0, 0, 0.6);
}

.wxc-spinner {
	display: none;
	width: 1.1em;
	height: 1.1em;
	border: 2px solid rgba(255, 255, 255, 0.35);
	border-top-color: #fff;
	border-radius: 50%;
	animation: wxc-spin 0.8s linear infinite;
}

.wxc-submit.is-loading .wxc-spinner {
	display: inline-block;
}

@keyframes wxc-spin {
	to { transform: rotate(360deg); }
}

.wxc-msg:empty {
	display: none;
}

.wxc-thanks {
	display: none;
	padding: 1rem 1.25rem;
	text-align: center;
	outline: none;
}

.wxc-thanks.is-visible {
	display: block;
	animation: wxc-in 0.35s var(--wx-ease) both;
}

.wxc-thanks p {
	font-weight: 600;
	font-size: var(--wx-fs-body);
	line-height: 1.5;
}

.wxc-thanks__a {
	display: block;
	margin-bottom: 0.25rem;
	font-weight: 700;
	color: var(--wx-blue);
}

.wxc-thanks__b { color: var(--wx-red); }

.wxc-error {
	padding: 0.75rem 1rem;
	font-weight: 600;
	font-size: var(--wx-fs-sm);
	line-height: 1.45;
	text-align: center;
	color: var(--wx-red);
}

.wxc-error[hidden] {
	display: none;
}


/* Wix's mobile layout coloured these differently; kept below the desktop break. */
@media (max-width: 979px) {
	.wxc-free span {
		color: #002fa6;
	}

	.wxc-thanks__a,
	.wxc-thanks__b {
		color: #ff0006;
	}
}

/*
 * Booking items: the photograph sits above the name and fills the card, so the
 * product is what you see first. Overrides the earlier row layout at every
 * width, including the phone rules above.
 */
.wxc-cb {
	flex-direction: column;
	align-items: stretch;
	gap: 8px;
	min-height: 0;
	padding: 8px;
}

.wxc-cb__img {
	width: 100%;
	height: auto;
	aspect-ratio: 4 / 3;
	border-radius: 10px;
}

.wxc-cb__img img {
	height: 100%;
}

/* The tick stays on the photo's top-left corner. */
.wxc-cb__img + .wxc-cb__box {
	top: 14px;
	left: 14px;
	width: 24px;
	height: 24px;
}

.wxc-cb__text {
	font-size: 0.95rem;
	text-align: center;
}

@media (max-width: 559px) {
	.wxc-cb {
		gap: 6px;
		padding: 6px;
	}

	.wxc-cb__img {
		width: 100%;
		height: auto;
	}

	.wxc-cb__text {
		font-size: 0.85rem;
	}
}
