/* WindSensor Inquiry / Order progressive product-list enhancement. */
.ws-inquiry-order-form {
	--ws-order-blue: #236192;
	--ws-order-blue-hover: #1a4a70;
	--ws-order-ink: #222;
	--ws-order-muted: #555;
	--ws-order-border: #ccc;
	--ws-order-surface: #f5f5f5;
}

/* Request type: ordinary, compact radio bullets instead of choice cards. */
.ws-inquiry-order-form .srfm-multi-choice-block .srfm-block-wrap {
	display: flex;
	flex-wrap: wrap;
	gap: 10px 28px;
}

.ws-inquiry-order-form .srfm-multi-choice-block .srfm-multi-choice-single {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	inline-size: auto !important;
	min-block-size: 32px;
	block-size: auto !important;
	padding: 0;
	border: 0;
	background: transparent;
	box-shadow: none;
}

.ws-inquiry-order-form .srfm-multi-choice-block .srfm-multi-choice-single > input[type="radio"] {
	position: static !important;
	inline-size: 18px !important;
	block-size: 18px !important;
	margin: 0 !important;
	opacity: 1 !important;
	appearance: auto !important;
	accent-color: var(--ws-order-blue);
	cursor: pointer;
}

.ws-inquiry-order-form .srfm-multi-choice-block .srfm-block-content-wrap {
	inline-size: auto !important;
	block-size: auto !important;
	padding: 0 !important;
	border: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
}

.ws-inquiry-order-form .srfm-multi-choice-block .srfm-icon-container {
	display: none !important;
}

.ws-inquiry-order-form .srfm-multi-choice-block .srfm-input-multi-choice-single {
	position: static !important;
	display: block !important;
	appearance: none;
	inline-size: 20px;
	block-size: 20px;
	min-inline-size: 20px;
	margin: 0;
	border: 2px solid var(--ws-order-blue);
	border-radius: 50%;
	background: #fff;
	box-shadow: none;
	cursor: pointer;
}

.ws-inquiry-order-form .srfm-multi-choice-block .srfm-input-multi-choice-single:checked {
	background: radial-gradient(circle, var(--ws-order-blue) 0 5px, #fff 6px);
}

.ws-inquiry-order-form .srfm-multi-choice-block .srfm-input-multi-choice-single:focus-visible {
	outline: 2px solid var(--ws-order-blue);
	outline-offset: 3px;
}

.ws-inquiry-order-form .srfm-multi-choice-block .srfm-block-content-wrap {
	display: block;
	padding: 0;
	border: 0;
	background: transparent;
}

.ws-inquiry-order-form .srfm-multi-choice-block .srfm-option-container label {
	font-size: 16px;
	font-weight: 400;
	color: var(--ws-order-ink);
	cursor: pointer;
}

.ws-inquiry-order-form .srfm-multi-choice-block .srfm-icon-container {
	display: none !important;
}

/* Number fields become one-column order rows. */
.ws-inquiry-order-form .srfm-number-block.ws-order-row {
	position: relative;
	display: grid;
	grid-template-columns: 64px minmax(0, 1fr) auto;
	align-items: center;
	column-gap: 16px;
	row-gap: 4px;
	inline-size: 100% !important;
	max-inline-size: none !important;
	min-block-size: 88px;
	padding: 7px 12px;
	border-block-start: 1px solid #ccc;
	background: rgba(35, 97, 146, .025);
}

.ws-inquiry-order-form .ws-order-preview {
	position: relative;
	grid-column: 1;
	grid-row: 1 / span 2;
	display: grid;
	place-items: center;
	inline-size: 54px;
	block-size: 76px;
	padding: 5px;
	border: 1px solid #ccc;
	border-radius: 0;
	background: #fff;
	color: var(--ws-order-blue);
	cursor: pointer;
	text-decoration: none;
	box-sizing: border-box;
	overflow: hidden;
}

.ws-inquiry-order-form .ws-order-preview:hover,
.ws-inquiry-order-form .ws-order-preview:focus-visible {
	border-color: var(--ws-order-blue);
	outline: 2px solid transparent;
}

.ws-inquiry-order-form .ws-order-preview img {
	position: absolute !important;
	inset: 5px !important;
	display: block;
	inline-size: calc(100% - 10px) !important;
	block-size: calc(100% - 10px) !important;
	max-inline-size: 100% !important;
	max-block-size: 100% !important;
	object-fit: contain !important;
	object-position: center !important;
}

.ws-inquiry-order-form .ws-order-section-heading {
	inline-size: 100% !important;
	max-inline-size: none !important;
	margin-block-start: 20px;
}

.ws-inquiry-order-form .ws-order-section-heading .ws-form-section h2 {
	font-size: var(--h3);
}

.ws-inquiry-order-form .ws-order-item-note {
	grid-column: 2;
	grid-row: 2;
	align-self: start;
	margin: 2px 0 0;
	color: var(--ws-order-muted);
	font-size: 13px;
	font-weight: 300;
	line-height: 1.4;
}

.ws-inquiry-order-form .ws-order-item-note a {
	color: var(--ws-order-blue);
	text-underline-offset: 2px;
}

.ws-inquiry-order-form .srfm-number-block.ws-order-row--has-note > .srfm-block-label {
	grid-row: 1;
	align-self: end;
}

.ws-inquiry-order-form .ws-order-preview__symbol {
	display: grid;
	place-items: center;
	inline-size: 38px;
	block-size: 42px;
	border: 1px solid currentColor;
	font-family: Oswald;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: .04em;
	text-transform: uppercase;
}

.ws-inquiry-order-form .ws-order-preview__symbol--service {
	border-radius: 50%;
	font-size: 18px;
}

.ws-inquiry-order-form .srfm-number-block.ws-order-row > .srfm-block-label {
	grid-column: 2;
	grid-row: 1 / span 2;
	align-self: center;
	margin: 0;
	font-size: 16px;
	font-weight: 500;
	line-height: 1.35;
	color: var(--ws-order-ink);
}

.ws-inquiry-order-form .srfm-number-block.ws-order-row > .srfm-block-wrap {
	grid-column: 3;
	grid-row: 1 / span 2;
	margin: 0;
}

.ws-inquiry-order-form .srfm-number-block.ws-order-row > .srfm-description,
.ws-inquiry-order-form .srfm-number-block.ws-order-row > .srfm-block-help {
	grid-column: 2;
}

.ws-inquiry-order-form .srfm-number-block.ws-order-row > .srfm-error-wrap {
	grid-column: 2 / -1;
}

.ws-inquiry-order-form .ws-order-stepper {
	display: grid;
	grid-template-columns: 30px 38px 30px;
	align-items: stretch;
	block-size: 32px;
	border: 1px solid #ccc;
	background: #fff;
}

/* Remove SureForms' additional rounded shell around the custom quantity control. */
.ws-inquiry-order-form .ws-order-row .srfm-input-content,
.ws-inquiry-order-form .ws-order-cable-row .srfm-input-content {
	min-block-size: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	border-radius: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
}

.ws-inquiry-order-form .ws-order-stepper button,
.ws-inquiry-order-form .ws-order-stepper input {
	box-sizing: border-box;
	block-size: 30px !important;
	min-block-size: 30px !important;
	margin: 0 !important;
	border: 0 !important;
	border-radius: 0 !important;
	box-shadow: none !important;
}

.ws-inquiry-order-form .ws-order-stepper button {
	display: grid;
	place-items: center;
	padding: 0 !important;
	background: #fff !important;
	color: var(--ws-order-blue) !important;
	font-family: Museo Sans W01 !important;
	font-size: 18px !important;
	font-weight: 400 !important;
	line-height: 1 !important;
	cursor: pointer;
}

.ws-inquiry-order-form .ws-order-stepper button:hover,
.ws-inquiry-order-form .ws-order-stepper button:focus-visible {
	background: var(--ws-order-blue) !important;
	color: #fff !important;
	outline: 0;
}

.ws-inquiry-order-form .ws-order-stepper button:disabled,
.ws-inquiry-order-form .ws-order-stepper button:disabled:hover,
.ws-inquiry-order-form .ws-order-stepper button:disabled:focus-visible {
	background: #f5f5f5 !important;
	color: #a8afb5 !important;
	cursor: not-allowed;
}

.ws-inquiry-order-form .ws-order-stepper input {
	inline-size: 38px !important;
	padding: 3px 1px !important;
	border-inline: 1px solid #ddd !important;
	background: #fff !important;
	color: var(--ws-order-ink) !important;
	font-size: 14px !important;
	font-weight: 500 !important;
	line-height: 1 !important;
	text-align: center !important;
	-moz-appearance: textfield;
}

.ws-inquiry-order-form .ws-order-stepper input::-webkit-outer-spin-button,
.ws-inquiry-order-form .ws-order-stepper input::-webkit-inner-spin-button {
	margin: 0;
	-webkit-appearance: none;
}

/* Cable quantities use the same controls but retain one field per length. */
.ws-inquiry-order-form .ws-order-cables {
	display: grid;
	grid-template-columns: 104px minmax(0, 1fr);
	gap: 18px;
	inline-size: 100%;
	margin-block: 10px 18px;
	padding: 14px;
	border-block: 1px solid #ccc;
	background: rgba(35, 97, 146, .025);
}

.ws-inquiry-order-form .ws-order-cables__media {
	display: block;
	align-self: start;
	inline-size: 104px;
	padding: 6px;
	border: 1px solid #ccc;
	background: #fff;
	cursor: pointer;
}

.ws-inquiry-order-form .ws-order-cables__media img {
	display: block;
	inline-size: 100%;
	block-size: auto;
}

.ws-inquiry-order-form .ws-order-cables__content {
	min-inline-size: 0;
}

.ws-inquiry-order-form .ws-order-cables__title {
	margin: 0 0 10px;
	font-size: 17px;
	font-weight: 500;
	color: var(--ws-order-ink);
}

.ws-inquiry-order-form .ws-order-cables__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 8px 22px;
}

.ws-inquiry-order-form .ws-order-cable-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	min-inline-size: 0;
	padding-block: 5px;
	border-block-end: 1px solid #ccc;
}

.ws-inquiry-order-form .ws-order-cable-row__label {
	font-size: 15px;
	font-weight: 400;
	color: var(--ws-order-ink);
}

.ws-inquiry-order-form .ws-order-cable-row--custom {
	grid-column: 1 / -1;
	flex-wrap: wrap;
}

.ws-inquiry-order-form .ws-order-cable-custom {
	flex: 1 1 210px;
	min-block-size: 40px !important;
	padding: 8px 10px !important;
	font-size: 16px !important;
}

.ws-inquiry-order-form .srfm-slug-cable-lengths.ws-order-source-field,
.ws-inquiry-order-form .srfm-slug-cable-requirements.ws-order-source-field {
	display: none !important;
}

/* Optional alternative delivery address, available for both request types. */
.ws-inquiry-order-form .ws-delivery-choice {
	display: flex;
	align-items: center;
	gap: 10px;
	inline-size: 100%;
	margin-block: 4px 14px;
	padding: 12px 14px;
	border: 1px solid #ccc;
	background: rgba(35, 97, 146, .025);
}

.ws-inquiry-order-form .ws-delivery-choice input {
	inline-size: 18px;
	block-size: 18px;
	margin: 0;
	accent-color: var(--ws-order-blue);
}

.ws-inquiry-order-form .ws-delivery-choice label {
	margin: 0;
	font-size: 16px;
	font-weight: 400;
	cursor: pointer;
}

.ws-inquiry-order-form .ws-delivery-address[hidden] {
	display: none !important;
}

.ws-inquiry-order-form .ws-delivery-country[hidden] {
	display: none !important;
}

.ws-inquiry-order-form .ws-delivery-address:not([hidden]),
.ws-inquiry-order-form .ws-delivery-country:not([hidden]) {
	display: block !important;
}

.ws-inquiry-order-form .ws-delivery-address.ws-order-source-field,
.ws-inquiry-order-form .ws-delivery-country.ws-order-source-field {
	display: none !important;
}

.ws-inquiry-order-form .ws-delivery-fields {
	display: grid;
	inline-size: 100% !important;
	max-inline-size: none !important;
	flex: 0 0 100% !important;
	grid-column: 1 / -1;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 22px 16px;
	margin-block: 0 26px;
	box-sizing: border-box;
}

.ws-inquiry-order-form .ws-delivery-fields[hidden] {
	display: none !important;
}

.ws-inquiry-order-form .ws-delivery-field {
	display: grid;
	gap: 8px;
	margin: 0;
}

.ws-inquiry-order-form .ws-delivery-field--wide {
	grid-column: 1 / -1;
}

.ws-inquiry-order-form .ws-delivery-field__label {
	font-size: 16px;
	font-weight: 400;
	color: var(--ws-order-ink);
}

.ws-inquiry-order-form .ws-delivery-field__required {
	color: #c72323;
}

.ws-inquiry-order-form .ws-delivery-field input {
	inline-size: 100%;
	min-block-size: 44px;
	padding: 10px 13px;
	border: 1px solid #ddd;
	border-radius: 0;
	background: rgba(35, 97, 146, .055);
	color: var(--ws-order-ink);
	font: inherit;
}

.ws-inquiry-order-form .ws-delivery-field input:focus {
	border-color: var(--ws-order-blue);
	outline: 1px solid var(--ws-order-blue);
	outline-offset: 0;
}

@media (max-width: 700px) {
	.ws-inquiry-order-form .ws-delivery-fields {
		grid-template-columns: 1fr;
		gap: 16px;
	}

	.ws-inquiry-order-form .ws-delivery-field--wide {
		grid-column: auto;
	}
}

/* Step navigation: only the forward/submit action is presented as a primary button. */
.ws-inquiry-order-form #srfm-form-312 .srfm-page-break-buttons button.srfm-pre-btn {
	appearance: none !important;
	-webkit-appearance: none !important;
	display: inline-flex !important;
	align-items: center;
	inline-size: auto !important;
	min-inline-size: 0 !important;
	min-block-size: 44px;
	padding: 0 4px !important;
	border: 0 !important;
	border-radius: 0 !important;
	background: transparent !important;
	background-color: transparent !important;
	background-image: none !important;
	box-shadow: none !important;
	color: var(--ws-order-blue, #236192) !important;
	font-family: inherit !important;
	font-size: 16px !important;
	font-weight: 500 !important;
	line-height: 1.3 !important;
	text-transform: none !important;
	text-decoration: none;
	cursor: pointer;
}

.ws-inquiry-order-form .srfm-page-break-buttons .srfm-pre-btn::before {
	content: "←";
	display: inline-block;
	margin-inline-end: .45em;
}

.ws-inquiry-order-form .srfm-page-break-buttons .srfm-pre-btn:hover {
	color: #174f78 !important;
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 4px;
}

.ws-inquiry-order-form .srfm-page-break-buttons .srfm-pre-btn:focus-visible {
	outline: 2px solid var(--ws-order-blue, #236192);
	outline-offset: 4px;
}

@keyframes ws-order-step-forward {
	from {
		opacity: .72;
		transform: translateX(10px);
	}
	to {
		opacity: 1;
		transform: translateX(0);
	}
}

@keyframes ws-order-step-back {
	from {
		opacity: .72;
		transform: translateX(-10px);
	}
	to {
		opacity: 1;
		transform: translateX(0);
	}
}

.ws-inquiry-order-form .srfm-page-break.ws-order-step-enter--forward {
	animation: ws-order-step-forward 220ms cubic-bezier(.22, 1, .36, 1);
}

.ws-inquiry-order-form .srfm-page-break.ws-order-step-enter--back {
	animation: ws-order-step-back 220ms cubic-bezier(.22, 1, .36, 1);
}

/* Native lightbox. */
.ws-order-lightbox {
	position: fixed;
	inset: 50% auto auto 50%;
	transform: translate(-50%, -50%);
	inline-size: min(860px, calc(100vw - 48px));
	block-size: min(760px, calc(100dvh - 48px));
	max-inline-size: calc(100vw - 48px);
	max-block-size: calc(100dvh - 48px);
	margin: 0;
	padding: 0;
	border: 0;
	background: #fff;
	box-shadow: none;
	overflow: hidden;
}

.ws-order-lightbox::backdrop {
	background: rgba(20, 32, 40, .72);
}

.ws-order-lightbox__inner {
	position: relative;
	box-sizing: border-box;
	display: grid;
	grid-template-rows: minmax(0, 1fr) auto;
	place-items: center;
	inline-size: 100%;
	block-size: 100%;
	min-inline-size: 0;
	min-block-size: 0;
	padding: 48px 24px 18px;
	overflow: hidden;
}

.ws-order-lightbox__close {
	position: absolute;
	inset-block-start: 8px;
	inset-inline-end: 8px;
	display: grid;
	place-items: center;
	inline-size: 36px;
	block-size: 36px;
	padding: 0;
	border: 0;
	background: transparent;
	color: var(--ws-order-blue, #236192);
	font-size: 28px;
	line-height: 1;
	cursor: pointer;
}

.ws-order-lightbox__image {
	display: block;
	inline-size: auto;
	block-size: auto;
	max-inline-size: 100%;
	max-block-size: 100%;
	object-fit: contain;
}

.ws-order-lightbox__caption {
	margin: 14px 0 0;
	color: #222;
	font-size: 15px;
}

@media (max-width: 700px) {
	.ws-inquiry-order-form .srfm-number-block.ws-order-row {
		grid-template-columns: 54px minmax(0, 1fr);
		column-gap: 12px;
		padding-inline: 6px;
	}

	.ws-inquiry-order-form .ws-order-preview {
		inline-size: 48px;
		block-size: 68px;
	}

	.ws-inquiry-order-form .srfm-number-block.ws-order-row > .srfm-block-wrap {
		grid-column: 2;
		grid-row: 2;
		justify-self: start;
		margin-block-start: 6px;
	}

	.ws-inquiry-order-form .srfm-number-block.ws-order-row > .srfm-block-label {
		grid-row: 1;
	}

	.ws-inquiry-order-form .srfm-number-block.ws-order-row--has-note {
		grid-template-rows: auto auto auto;
	}

	.ws-inquiry-order-form .srfm-number-block.ws-order-row--has-note > .ws-order-preview {
		grid-row: 1 / span 3;
	}

	.ws-inquiry-order-form .srfm-number-block.ws-order-row--has-note > .ws-order-item-note {
		grid-column: 2;
		grid-row: 2;
	}

	.ws-inquiry-order-form .srfm-number-block.ws-order-row--has-note > .srfm-block-wrap {
		grid-column: 2;
		grid-row: 3;
	}

	.ws-inquiry-order-form .ws-order-cables {
		grid-template-columns: 1fr;
	}

	.ws-inquiry-order-form .ws-order-cables__media {
		inline-size: 88px;
	}

	.ws-inquiry-order-form .ws-order-cables__grid {
		grid-template-columns: 1fr;
	}

	.ws-inquiry-order-form .ws-order-cable-row--custom {
		grid-column: auto;
	}

	.ws-order-lightbox__inner {
		min-inline-size: 0;
	}
}

@media (prefers-reduced-motion: reduce) {
	.ws-inquiry-order-form .srfm-page-break.ws-order-step-enter--forward,
	.ws-inquiry-order-form .srfm-page-break.ws-order-step-enter--back {
		animation: none;
	}

	.ws-order-lightbox {
		scroll-behavior: auto;
	}
}
