.agscf {
	width: 100%;
}

.agscf-notice {
	margin-bottom: 1.5rem;
	padding: 1rem 1.25rem;
	border: 1px solid currentColor;
	background: transparent;
	font: inherit;
	line-height: 1.6;
}

.agscf-notice--success {
	color: #2f6b3b;
}

.agscf-notice--error {
	color: #9f2e2e;
}

.agscf-form {
	display: flex;
	flex-direction: column;
	gap: 2rem;
}

.agscf-section {
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
}

.agscf-section + .agscf-section {
	padding-top: 2.75rem;
	border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.agscf-section--agreement {
	padding: 1.5rem;
	background: #fff;
	box-shadow: 0 0.625rem 1.875rem #eee;
	border-radius: 1rem;
}

.agscf-section__title {
	margin: 0;
	font: inherit;
	font-weight: bold;
}

.agscf-section__description {
	max-width: 60rem;
	line-height: 1.8;
}

.agscf-section__description p {
	margin: 0;
}

.agscf-grid {
	display: grid;
	grid-template-columns: repeat(12, minmax(0, 1fr));
	gap: 1.5rem 1.25rem;
}

.agscf-col {
	min-width: 0;
}

.agscf-col--full {
	grid-column: span 12;
}

.agscf-col--half {
	grid-column: span 6;
}

.agscf-col--third {
	grid-column: span 4;
}

.agscf-col--hidden {
	display: none;
}

.agscf-field {
	display: flex;
	flex-direction: column;
	gap: 0.4rem;
}

.agscf-field__label {
	font: inherit;
	font-size: 0.9em;
}

.agscf-field__input {
	width: 100%;
	max-width: 100%;
	line-height: 1.5;
}

.agscf .iti {
	width: 100%;
}

.agscf-field__input.has-error {
	outline: 1px solid #b91c1c;
	outline-offset: 0;
}

.agscf-price-range {
	display: flex;
	flex-direction: column;
	gap: 0.875rem;
}

.agscf-price-range__slider {
	position: relative;
	height: 1.75rem;
}

.agscf-price-range__track,
.agscf-price-range__fill {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	height: 0.375rem;
	border-radius: 999rem;
}

.agscf-price-range__track {
	left: 0;
	right: 0;
	background: rgba(0, 0, 0, 0.12);
}

.agscf-price-range__fill {
	background: currentColor;
}

.agscf-price-range__input {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 1.75rem !important;
	line-height: 1 !important;
	margin: 0;
	padding: 0 !important;
	min-height: 0 !important;
	max-height: 1.75rem !important;
	border: 0 !important;
	border-radius: 0 !important;
	outline: 0 !important;
	box-shadow: none !important;
	pointer-events: none;
	appearance: none;
	-webkit-appearance: none;
	-moz-appearance: none;
	background: transparent;
}

.agscf-price-range__input::-webkit-slider-thumb {
	width: 1rem;
	height: 1rem;
	border: 0.0625rem solid currentColor;
	border-radius: 50%;
	background: #fff;
	box-shadow: none !important;
	cursor: pointer;
	pointer-events: auto;
	appearance: none;
	-webkit-appearance: none;
}

.agscf-price-range__input::-moz-range-thumb {
	width: 1rem;
	height: 1rem;
	border: 0.0625rem solid currentColor;
	border-radius: 50%;
	background: #fff;
	box-shadow: none !important;
	cursor: pointer;
	pointer-events: auto;
	appearance: none;
}

.agscf-price-range__input::-webkit-slider-runnable-track {
	height: 0.375rem;
	border: 0 !important;
	border-radius: 999rem;
	background: transparent;
	box-shadow: none !important;
}

.agscf-price-range__input::-moz-range-track {
	height: 0.375rem;
	border: 0 !important;
	border-radius: 999rem;
	background: transparent;
	box-shadow: none !important;
}

.agscf-price-range__labels {
	display: flex;
	justify-content: space-between;
	font-size: 0.875em;
}

.agscf-field__error {
	margin: 0;
	color: #b91c1c;
	font-size: 0.875em;
	line-height: 1.5;
}

.agscf-col--address {
	position: relative;
}

.agscf-address-suggestions {
	position: absolute;
	top: calc(100% + 0.4rem);
	left: 0;
	right: 0;
	z-index: 30;
	display: flex;
	flex-direction: column;
	max-height: 14rem;
	overflow-y: auto;
	border: 1px solid rgba(0, 0, 0, 0.14);
	background: #fff;
	box-shadow: 0 0.75rem 1.875rem rgba(15, 23, 42, 0.08);
}

.agscf-address-suggestions[hidden] {
	display: none;
}

.agscf-address-suggestions__item {
	display: block;
	width: 100%;
	padding: 0.8rem 1rem;
	border: 0;
	border-bottom: 1px solid rgba(0, 0, 0, 0.08);
	background: #fff;
	text-align: left;
	cursor: pointer;
	font: inherit;
	color: inherit;
}

.agscf-address-suggestions__item:last-child {
	border-bottom: 0;
}

.agscf-address-suggestions__item[disabled] {
	opacity: 0.7;
	cursor: default;
}

.agscf-address-suggestions__item:hover,
.agscf-address-suggestions__item:focus-visible {
	background: rgba(0, 0, 0, 0.04);
}

.agscf-actions {
	display: flex;
	justify-content: flex-start;
}

.agscf-submit {
	cursor: pointer;
}

.agscf-submit[disabled] {
	opacity: 0.7;
	cursor: wait;
}

.agscf-honeypot {
	position: absolute !important;
	left: -9999px !important;
	width: 1px !important;
	height: 1px !important;
	opacity: 0 !important;
	pointer-events: none !important;
}

@media (max-width: 782px) {
	.agscf-grid {
		grid-template-columns: 1fr;
	}

	.agscf-col--full,
	.agscf-col--half,
	.agscf-col--third {
		grid-column: span 1;
	}

	.agscf-section--agreement {
		padding: 1rem;
	}

	.agscf-submit {
		width: 100%;
		min-width: 0;
	}
}
