/* ABC Landscapers site styles. Layout and design live in Elementor; keep this file small. */

/* Sticky header: the top bar scrolls away, the main bar stays pinned. */
.eael-theme-builder--header {
	position: sticky;
	top: -39px;
	z-index: 999;
}

.admin-bar .eael-theme-builder--header {
	top: -7px;
}

@media (max-width: 767px) {
	.eael-theme-builder--header,
	.admin-bar .eael-theme-builder--header {
		top: -37px;
	}
}

/* Keep in-page anchors clear of the sticky header. */
html {
	scroll-behavior: smooth;
	scroll-padding-top: 90px;
}

/* Remove trailing paragraph space inside Text Editor widgets. */
.elementor-widget-text-editor p:last-child {
	margin-bottom: 0;
}

/* Contact Form 7: estimate form layout (colors and fields are styled in the Elementor widget). */
.abc-form {
	display: flex;
	flex-direction: column;
	gap: 18px;
}

.abc-form-row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 18px;
}

.abc-field label,
.abc-field legend {
	display: block;
	margin-bottom: 8px;
	padding: 0;
	font-size: 15px;
	font-weight: 600;
	color: #252B26;
}

.abc-req {
	color: #B3261E;
}

.abc-optional {
	font-weight: 400;
	color: #6B716A;
}

.abc-services {
	border: 0;
	padding: 0;
	margin: 0;
}

.abc-services .wpcf7-checkbox {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 10px 18px;
}

.abc-services .wpcf7-list-item {
	margin: 0;
}

.abc-services .wpcf7-list-item label {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 0;
	font-size: 16px;
	font-weight: 500;
	cursor: pointer;
}

.abc-services input[type="checkbox"] {
	width: 18px;
	height: 18px;
	accent-color: #234D32;
}

.abc-submit {
	margin-top: 4px;
}

.abc-submit .wpcf7-submit {
	width: 100%;
}

.abc-form .wpcf7-not-valid-tip {
	margin-top: 6px;
	font-size: 14px;
}

@media (max-width: 767px) {
	.abc-form-row,
	.abc-services .wpcf7-checkbox {
		grid-template-columns: 1fr;
	}
}
