/**
 * AquaPure child theme: Book a free water test (design .bk-s, .opt, .days/.times, .msg, .ref, .nx, .inc;
 * register R-57). Shared step-form styles are R-49 in inner-pages.css. The Contact Form 7 markup (option cards,
 * day and time buttons, field messages) and the list markup inside Text modules are styled here; every module
 * look (cards, summary, technician, type) is a native preset or option.
 */

/* Progress row follows the number of steps (quote 3, booking 4). */
.el-prog ol {
	grid-auto-columns: minmax(0, 1fr);
	grid-auto-flow: column;
	grid-template-columns: none
}

/* Water source: option cards with a radio dot (design .opt). */
.el-opts {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 12px
}

.el-opts--2 {
	grid-template-columns: repeat(2, minmax(0, 1fr))
}

.el-optb {
	display: grid;
	grid-template-columns: auto 1fr;
	gap: 16px;
	align-items: center;
	width: 100%;
	padding: 20px;
	border: 1px solid var(--gcid-6adf4739b0, #DCE3E6);
	border-radius: 8px;
	background: #FFFFFF;
	color: var(--gcid-68132854d9, #0E1A1F);
	font: inherit;
	font-size: 17px;
	line-height: 1.6;
	text-align: left;
	cursor: pointer;
	transition: border-color .2s, box-shadow .2s, background-color .2s
}

.el-optb:hover {
	border-color: #9FAEB4
}

.el-optb.is-on {
	border-color: var(--gcid-68132854d9, #0E1A1F);
	background: #FBFCFC;
	box-shadow: inset 0 0 0 1px var(--gcid-68132854d9, #0E1A1F)
}

.el-optb.is-on .el-rd {
	border-color: var(--gcid-68132854d9, #0E1A1F)
}

.el-optb.is-on .el-rd::after {
	transform: scale(1)
}

.el-optb b {
	display: block;
	font-size: 16px;
	font-weight: 600
}

.el-optb small {
	display: block;
	margin-top: 4px;
	color: var(--gcid-2ccbcdbe0a, #46535B);
	font-size: 14px
}

.el-optb:focus-visible,
.el-day:focus-visible,
.el-time:focus-visible {
	outline: 2px solid var(--gcid-3d46655f50, #8A4214);
	outline-offset: 2px
}

/* Day and time picker (design .bk-cal .days/.times). Grids scoped to .el-cal: Home's booking card shares .el-days/.el-times. */
.el-pn {
	margin: -12px 0 0;
	color: var(--gcid-2ccbcdbe0a, #46535B);
	font-size: 16.5px;
	line-height: 1.6
}

.el-cal {
	padding: 24px;
	border: 1px solid var(--gcid-6adf4739b0, #DCE3E6);
	border-radius: 6px;
	background: #FFFFFF
}

.el-cal .el-days {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: 8px
}

.el-cal .el-times {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 8px;
	margin-top: 16px
}

.el-day,
.el-time {
	min-height: 56px;
	padding: 0;
	border: 1px solid var(--gcid-6adf4739b0, #DCE3E6);
	border-radius: 6px;
	background: #FFFFFF;
	color: var(--gcid-68132854d9, #0E1A1F);
	font: 600 15px/1.2 "Hanken Grotesk", sans-serif;
	cursor: pointer;
	transition: border-color .2s, background-color .2s, color .2s
}

.el-time {
	min-height: 48px;
	font-weight: 500
}

.el-day b {
	font-weight: inherit
}

.el-day small,
.el-time small {
	display: block;
	margin-top: 4px;
	font-size: 12px
}

.el-day small {
	color: var(--gcid-2ccbcdbe0a, #46535B);
	font-weight: 500
}

.el-time small {
	color: var(--gcid-3d46655f50, #8A4214);
	font-weight: 600
}

.el-day:hover,
.el-time:hover {
	border-color: var(--gcid-68132854d9, #0E1A1F)
}

.el-day.is-on,
.el-time.is-on {
	border-color: var(--gcid-68132854d9, #0E1A1F);
	background: var(--gcid-68132854d9, #0E1A1F);
	color: #FFFFFF
}

.el-day.is-on small {
	color: #D3E2E7
}

.el-time.is-on small {
	color: #F2C3A3
}

.el-day:disabled,
.el-time:disabled {
	background: var(--gcid-44818934e9, #EEF3F4);
	text-decoration: line-through;
	opacity: .38;
	cursor: not-allowed
}

/* Field messages written by R-57 (ZIP check, required fields). */
.el-msg {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 13.5px;
	line-height: 1.6;
	animation: el-rise .3s cubic-bezier(.22, .61, .36, 1) both
}

.el-msg:empty {
	display: none
}

.el-msg.is-e {
	color: #B42318
}

.el-msg.is-s {
	color: var(--gcid-28669f4abe, #1F4D3B)
}

.el-msg.is-s::before {
	content: "";
	flex: 0 0 18px;
	width: 18px;
	height: 18px;
	background: currentColor;
	-webkit-mask: var(--el-check) center/18px 18px no-repeat;
	mask: var(--el-check) center/18px 18px no-repeat
}

.el-wiz .el-fl.is-err :is(input, select, textarea) {
	border-color: #B42318;
	box-shadow: 0 0 0 4px rgba(180, 35, 24, .08)
}

.el-wiz .el-fl.is-ok :is(input, select, textarea) {
	border-color: var(--gcid-28669f4abe, #1F4D3B)
}

.el-wiz .el-ck.is-err input::before {
	border-color: #B42318
}

/* Done panel: booking facts and next steps (Text modules with dl / ol). */
.el-bk-ref {
	align-self: stretch
}

.el-bk-ref dl {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	margin: 8px 0 0;
	border: 1px solid var(--gcid-6adf4739b0, #DCE3E6);
	border-radius: 8px
}

.el-bk-ref dl>div {
	padding: 20px
}

.el-bk-ref dl>div+div {
	border-left: 1px solid var(--gcid-6adf4739b0, #DCE3E6)
}

.el-bk-ref dt {
	color: var(--gcid-2ccbcdbe0a, #46535B);
	font-size: 13px
}

.el-bk-ref dd {
	margin: 4px 0 0;
	color: var(--gcid-68132854d9, #0E1A1F);
	font-size: 18px;
	font-weight: 600
}

.el-nx {
	align-self: stretch
}

.el-nx ol {
	margin: 0;
	padding: 0;
	line-height: inherit;
	list-style: none;
	counter-reset: el-nx
}

.el-nx li {
	position: relative;
	padding: 16px 0 16px 44px;
	border-top: 1px solid var(--gcid-6adf4739b0, #DCE3E6);
	color: var(--gcid-2ccbcdbe0a, #46535B);
	font-size: 16px;
	counter-increment: el-nx
}

.el-nx li::before {
	content: counter(el-nx);
	position: absolute;
	left: 0;
	top: 14px;
	display: grid;
	place-items: center;
	width: 28px;
	height: 28px;
	border-radius: 50%;
	background: var(--gcid-44818934e9, #EEF3F4);
	color: var(--gcid-68132854d9, #0E1A1F);
	font-size: 13px;
	font-weight: 700
}

.el-nx b {
	display: block;
	color: var(--gcid-68132854d9, #0E1A1F)
}

/* Summary card: the "included" list and the rating stars. */
.el-inc ul {
	display: grid;
	gap: 12px;
	margin: 0;
	padding: 0;
	line-height: inherit;
	list-style: none
}

.el-inc li {
	display: flex;
	align-items: center;
	gap: 8px
}

.el-inc li::before {
	content: "";
	flex: 0 0 18px;
	width: 18px;
	height: 18px;
	background: var(--gcid-28669f4abe, #1F4D3B);
	-webkit-mask: var(--el-check) center/18px 18px no-repeat;
	mask: var(--el-check) center/18px 18px no-repeat
}

.el-tech-s .el-stars {
	font-size: inherit;
	line-height: inherit
}

@media (max-width:767px) {
	.el-opts {
		grid-template-columns: minmax(0, 1fr)
	}

	.el-cal {
		padding: 16px
	}

	.el-cal .el-days {
		grid-template-columns: repeat(3, minmax(0, 1fr))
	}

	.el-bk-ref dl {
		grid-template-columns: minmax(0, 1fr)
	}

	.el-bk-ref dl>div+div {
		border-top: 1px solid var(--gcid-6adf4739b0, #DCE3E6);
		border-left: 0
	}
}

/* After booking the progress row stays, with every step done (the quote form hides it). */
.el-is-sent .el-prog:has(li:nth-child(4)) {
	display: block
}

/* Summary offer: the countdown chips sit together at the start, as in the design (.sum-o .cd). */
.el-sum-o .el-cd-bar .et_pb_countdown_timer_container {
	justify-content: flex-start
}

/* The send button keeps the step-button size and sits at the right (the CF7 module preset makes it full width
   with a 10 px top margin). */
body #page-container .et_pb_section .el-wiz .el-navb .el-send {
	display: inline-flex;
	width: auto;
	margin: 0 0 0 auto
}

@media (max-width:767px) {
	body #page-container .et_pb_section .el-wiz .el-navb .el-send {
		flex: 1
	}
}

/* Arrow on the step forms' send button (the CF7 preset hides Divi's icon with !important, as in R-40). */
html body #page-container .et_pb_section .el-wiz .wpcf7-submit.el-arr::after {
	content: "";
	display: block !important;
	position: static;
	flex: 0 0 16px;
	width: 16px;
	height: 16px;
	margin: 0;
	opacity: 1;
	font-size: 0;
	background: currentColor;
	transform: none;
	-webkit-mask: var(--el-arrow) center/16px 16px no-repeat;
	mask: var(--el-arrow) center/16px 16px no-repeat;
	transition: transform .25s
}

html body #page-container .et_pb_section .el-wiz .wpcf7-submit.el-arr:hover::after {
	transform: translateX(3px)
}

/* Upload icon above the drop-zone text (service form). */
.el-drop--icon .wpcf7-form-control-wrap {
	position: absolute;
	inset: 0
}

.el-drop--icon::before {
	content: "";
	width: 26px;
	height: 26px;
	background: currentColor;
	-webkit-mask: var(--el-upload) center/26px 26px no-repeat;
	mask: var(--el-upload) center/26px 26px no-repeat
}

:root {
	--el-upload: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6'%3E%3Cpath d='M12 16V4M7 9l5-5 5 5M4 16v4h16v-4'/%3E%3C/svg%3E")
}

/* Service form: the step buttons sit inside the single pane in the design (pane gap 24 + 36). */
.el-svf .el-navb {
	margin-top: 60px
}

/* Visually hidden, read by screen readers (e.g. the service form's fieldset legend). */
.el-wiz legend.el-sr {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
	border: 0
}

/* R-67 Thank-you page (design .ty, .ty-c, .nx2, .ty-s): the name/role lines of the technician card and the step
   cards (one Text module each: a bold block line over a smaller muted line), and the phone card where the
   calendar button takes the full width. Sizes, grids, borders and colours are module options. */
.el-ty-who strong,
.el-ty-st strong {
	display: block;
	color: var(--gcid-68132854d9, #0E1A1F);
	font-weight: 700
}

.el-ty-who strong {
	font-size: 17px
}

.el-ty-st strong {
	font-size: 16px;
	line-height: 1.6
}

.el-ty-who small {
	font-size: 14px;
	color: var(--gcid-2ccbcdbe0a, #46535B)
}

.el-ty-st p span {
	font-size: 14.5px;
	line-height: 1.6;
	color: var(--gcid-2ccbcdbe0a, #46535B)
}

@media (max-width:767px) {
	#page-container .el-ty-c .et_pb_button_module_wrapper {
		grid-column: 1/-1
	}

	body #page-container .et_pb_section .el-ty-c .el-ty-cal {
		width: 100%;
		max-width: none
	}
}