/*
Theme Name: Hello Elementor Child
Theme URI: https://example.com/
Description: Child theme for Hello Elementor
Author: Wojtek Rak
Author URI: https://hypefront.dev
Template: hello-elementor
Version: 1.0.0
Text Domain: hello-elementor-child
*/
/* Tablet */
@media (max-width: 1024px) {
	h1 {
		font-size: 52px !important;
	}

	h2 {
		font-size: 40px !important;
	}

	h3 {
		font-size: 30px !important;
	}
}

/* Mobile */
@media (max-width: 767px) {
	h1 {
		font-size: 40px !important;
	}

	h2 {
		font-size: 32px !important;
	}

	h3 {
		font-size: 24px !important;
	}
}

.bzm-hero-form {
	color: #3a2417;
	font-family: inherit;
}

.bzm-hero-form p {
	margin: 0;
}

.bzm-hero-form br {
	display: none;
}

.bzm-hero-form__title {
	margin: 0 0 18px;
	font-size: 18px;
	line-height: 1.25;
	font-weight: 700;
	color: #3a2417;
}

.bzm-hero-form__subtitle,
.bzm-hero-form__section-title {
	margin: 0 0 18px;
	font-size: 14px;
	line-height: 1.3;
	font-weight: 700;
	color: #3a2417;
}

.bzm-hero-form__property-grid {
	margin-bottom: 18px;
}

.bzm-hero-form__property-grid .wpcf7-form-control-wrap {
	display: block;
}

.bzm-hero-form__property-grid .wpcf7-radio {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 16px 20px;
}

.bzm-hero-form__property-grid .wpcf7-list-item {
	position: relative;
	display: flex;
	align-items: center;
	margin: 0;
	padding: 12px 16px;
	border: 1px solid #a7a6a1;
	border-radius: 0;
	background: #fff;
	box-sizing: border-box;
	cursor: pointer;
	transition: border-color 0.2s ease;
}

.bzm-hero-form__property-grid .wpcf7-list-item input[type='radio'] {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	margin: 0;
	opacity: 0;
	cursor: pointer;
}

.bzm-hero-form__property-grid .wpcf7-list-item-label {
	display: inline-flex;
	align-items: center;
	gap: 14px;
	color: #5d5248;
	font-size: 14px;
	line-height: 1.2;
	pointer-events: none;
}

.bzm-hero-form__property-grid .wpcf7-list-item-label::before {
	content: '';
	display: inline-block;
	width: 22px;
	height: 22px;
	flex: 0 0 22px;
	background-color: #a7a6a1;
	-webkit-mask-repeat: no-repeat;
	mask-repeat: no-repeat;
	-webkit-mask-position: center;
	mask-position: center;
	-webkit-mask-size: contain;
	mask-size: contain;
}

.bzm-hero-form__property-grid
	.wpcf7-list-item.first
	.wpcf7-list-item-label::before {
	-webkit-mask-image: url('/wp-content/themes/hello-elementor-child/assets/img/bzm-field.svg');
	mask-image: url('/wp-content/themes/hello-elementor-child/assets/img/bzm-field.svg');
}

.bzm-hero-form__property-grid
	.wpcf7-list-item:nth-child(2)
	.wpcf7-list-item-label::before {
	-webkit-mask-image: url('/wp-content/themes/hello-elementor-child/assets/img/bzm-apartament.svg');
	mask-image: url('/wp-content/themes/hello-elementor-child/assets/img/bzm-apartament.svg');
}

.bzm-hero-form__property-grid
	.wpcf7-list-item:nth-child(3)
	.wpcf7-list-item-label::before {
	-webkit-mask-image: url('/wp-content/themes/hello-elementor-child/assets/img/bzm-home.svg');
	mask-image: url('/wp-content/themes/hello-elementor-child/assets/img/bzm-home.svg');
}

.bzm-hero-form__property-grid
	.wpcf7-list-item:nth-child(4)
	.wpcf7-list-item-label::before {
	-webkit-mask-image: url('/wp-content/themes/hello-elementor-child/assets/img/bzm-desk.svg');
	mask-image: url('/wp-content/themes/hello-elementor-child/assets/img/bzm-desk.svg');
}

.bzm-hero-form__property-grid
	.wpcf7-list-item:has(input[type='radio']:checked) {
	border-color: #ddc598;
}

.bzm-hero-form__property-grid .wpcf7-list-item.is-checked {
	border-color: #ddc598;
}

.bzm-hero-form__property-grid
	.wpcf7-list-item:has(input[type='radio']:checked)
	.wpcf7-list-item-label::before {
	background-color: #ddc598;
}

.bzm-hero-form__property-grid
	.wpcf7-list-item.is-checked
	.wpcf7-list-item-label::before {
	background-color: #ddc598;
}

.bzm-hero-form__consent {
	display: grid;
	grid-template-columns: 30px 1fr;
	gap: 16px;
	align-items: start;
	margin: 16px 0 20px;
	font-size: 14px;
	line-height: 1.55;
	color: #3a2417;
}

.bzm-hero-form__consent > p {
	display: contents;
	margin: 0;
}

.bzm-hero-form__consent br {
	display: none;
}

.bzm-hero-form__consent .wpcf7-form-control-wrap {
	display: flex;
	align-items: flex-start;
	justify-content: center;
}

.bzm-hero-form__consent .wpcf7-form-control-wrap,
.bzm-hero-form__consent .wpcf7-form-control,
.bzm-hero-form__consent .wpcf7-list-item {
	margin: 0;
}

.bzm-hero-form__consent .wpcf7-list-item {
	display: flex;
	align-items: flex-start;
}

.bzm-hero-form__consent input[type='checkbox'] {
	width: 30px;
	height: 30px;
	margin: 0;
	border: 1.6px solid #84837d;
	border-radius: 0;
	background: #fff;
	appearance: none;
	-webkit-appearance: none;
	display: inline-block;
	position: relative;
	cursor: pointer;
}

.bzm-hero-form__consent input[type='checkbox']:checked::after {
	content: '';
	position: absolute;
	left: 9px;
	top: 4px;
	width: 7px;
	height: 14px;
	border-right: 2px solid #4b68a6;
	border-bottom: 2px solid #4b68a6;
	transform: rotate(45deg);
}

.bzm-hero-form__consent > span {
	display: block;
}

.bzm-hero-form__consent a {
	color: inherit;
	text-decoration: underline;
}

.bzm-hero-form__field {
	margin-bottom: 14px;
}

.bzm-hero-form__field label {
	display: block;
	margin-bottom: 10px;
	font-size: 14px;
	line-height: 1.3;
	font-weight: 400;
	color: #5d5248;
}

.bzm-hero-form input[type='text'],
.bzm-hero-form input[type='tel'],
.bzm-hero-form input[type='email'],
.bzm-hero-form textarea,
.bzm-hero-form select {
	width: 100%;
	min-height: 50px;
	padding: 12px 22px;
	border: 1px solid rgba(58, 36, 23, 0.18);
	border-radius: 0;
	background: #fff;
	color: #3a2417;
	font-size: 14px;
	box-shadow: none;
}

.bzm-hero-form input::placeholder,
.bzm-hero-form textarea::placeholder {
	color: #7b726a;
}

.bzm-hero-form__consent {
	display: grid;
	grid-template-columns: 30px 1fr;
	gap: 16px;
	align-items: start;
	margin: 16px 0 20px;
	font-size: 14px;
	line-height: 1.55;
	color: #3a2417;
}

.bzm-hero-form__consent .wpcf7-form-control-wrap {
	display: flex;
	align-items: flex-start;
	justify-content: center;
}

.bzm-hero-form__consent input[type='checkbox'] {
	width: 30px;
	height: 30px;
	margin: 0;
	accent-color: #4b68a6;
}

.bzm-hero-form__consent a {
	color: inherit;
	text-decoration: underline;
}

.bzm-hero-form__submit {
	margin-top: 6px;
}

.bzm-hero-form input[type='submit'],
.bzm-hero-form button,
.bzm-hero-form .wpcf7-submit {
	width: 100%;
	min-height: 60px;
	padding: 16px 20px;
	border: 0;
	border-radius: 0;
	background: #4b68a6;
	color: #fff;
	font-size: 14px;
	line-height: 1.2;
	font-weight: 700;
	cursor: pointer;
	transition: background 0.2s ease;
}

.bzm-hero-form input[type='submit']:hover,
.bzm-hero-form .wpcf7-submit:hover {
	background: #3f5b95;
}

.bzm-hero-form .wpcf7-spinner {
	display: block;
	margin: 12px auto 0;
}

.bzm-hero-form .wpcf7-not-valid-tip {
	margin-top: 8px;
	font-size: 13px;
}

.bzm-hero-form .wpcf7-response-output {
	margin: 16px 0 0;
	padding: 12px 14px;
	font-size: 14px;
}

.rank-math-breadcrumb,
.rank-math-breadcrumb a,
.rank-math-breadcrumb span,
.rank-math-breadcrumb p {
	color: #32322f;
	margin-bottom: 0;
}

.bzm-search-form {
	color: #32322f;
	font-family: inherit;
}

.bzm-search-form p,
.bzm-search-form label {
	margin: 0;
}

.bzm-search-form br {
	display: none;
}

.bzm-search-form__section {
	margin: 0 0 26px;
}

.bzm-search-form__section:last-child {
	margin-bottom: 0;
}

.bzm-search-form__title {
	margin: 0 0 24px;
	color: #352115;
	font-family: 'Figtree', sans-serif;
	font-size: 16px;
	font-weight: 700;
	line-height: 1.5;
	letter-spacing: -0.01em;
}

.bzm-search-form__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 16px 23px;
}

.bzm-search-form__grid--two {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.bzm-search-form__field {
	display: grid;
	gap: 14px;
	color: #454440;
	font-family: 'Figtree', sans-serif;
	font-size: 14px;
	font-weight: 400;
	line-height: 1.5;
	letter-spacing: -0.01em;
}

.bzm-search-form__field--full {
	grid-column: 1 / -1;
}

.bzm-search-form input[type='text'],
.bzm-search-form input[type='tel'],
.bzm-search-form input[type='email'],
.bzm-search-form input[type='number'],
.bzm-search-form textarea {
	width: 100%;
	padding: 12px 20px;
	border: 1px solid #a7a6a1;
	border-radius: 0;
	background: #fff;
	color: #32322f;
	font-family: 'Figtree', sans-serif;
	font-size: 14px;
	font-weight: 400;
	line-height: 1.5;
	letter-spacing: -0.01em;
	box-shadow: none;
}

.bzm-search-form textarea {
	resize: vertical;
}

.bzm-search-form input::placeholder,
.bzm-search-form textarea::placeholder {
	color: #454440;
	font-family: 'Figtree', sans-serif;
	font-size: 14px;
	font-weight: 400;
	line-height: 1.5;
	letter-spacing: -0.01em;
	opacity: 1;
}

.bzm-search-form__property .wpcf7-form-control-wrap {
	display: block;
}

.bzm-search-form__property .wpcf7-radio {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 24px;
}

.bzm-search-form__property .wpcf7-list-item {
	position: relative;
	display: flex;
	align-items: center;
	margin: 0;
	padding: 12px 20px;
	border: 1px solid #d5d4d0;
	background: #fff;
	cursor: pointer;
}

.bzm-search-form__property .wpcf7-list-item input[type='radio'] {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	margin: 0;
	opacity: 0;
	cursor: pointer;
}

.bzm-search-form__property .wpcf7-list-item-label {
	display: inline-flex;
	align-items: center;
	gap: 16px;
	color: #454440;
	font-family: 'Figtree', sans-serif;
	font-size: 14px;
	font-weight: 400;
	line-height: 1.5;
	letter-spacing: -0.01em;
	pointer-events: none;
}

.bzm-search-form__property .wpcf7-list-item-label::before {
	content: '';
	display: none;
	width: 24px;
	height: 24px;
	flex: 0 0 24px;
	background: url('assets/img/tick.svg') center / contain no-repeat;
}

.bzm-search-form__property .wpcf7-list-item:has(input[type='radio']:checked) {
	border-color: #cfa463;
}

.bzm-search-form__property .wpcf7-list-item.is-checked {
	border-color: #cfa463;
}

.bzm-search-form__property
	.wpcf7-list-item:has(input[type='radio']:checked)
	.wpcf7-list-item-label {
	color: #454440;
}

.bzm-search-form__property .wpcf7-list-item.is-checked .wpcf7-list-item-label {
	color: #454440;
}

.bzm-search-form__property
	.wpcf7-list-item:has(input[type='radio']:checked)
	.wpcf7-list-item-label::before {
	display: inline-block;
}

.bzm-search-form__property
	.wpcf7-list-item.is-checked
	.wpcf7-list-item-label::before {
	display: inline-block;
}

.bzm-search-form__consents {
	display: grid;
	gap: 28px;
}

.bzm-search-form__consent {
	color: #454440;
	font-family: 'Figtree', sans-serif;
	font-size: 14px;
	font-weight: 400;
	line-height: 1.5;
	letter-spacing: -0.01em;
}

.bzm-search-form__consent > p {
	display: grid;
	grid-template-columns: 24px minmax(0, 1fr);
	gap: 18px;
	align-items: start;
	margin: 0;
}

.bzm-search-form__consent > p > br {
	display: none;
}

.bzm-search-form__consent .wpcf7-form-control-wrap,
.bzm-search-form__consent .wpcf7-form-control,
.bzm-search-form__consent .wpcf7-list-item {
	margin: 0;
}

.bzm-search-form__consent .wpcf7-list-item {
	display: block;
}

.bzm-search-form__consent .wpcf7-list-item-label {
	display: none;
}

.bzm-search-form__consent input[type='checkbox'] {
	width: 24px;
	height: 24px;
	margin: 0;
	border: 1.6px solid #84837d;
	border-radius: 0;
	background: #fff;
	appearance: none;
	-webkit-appearance: none;
	position: relative;
	cursor: pointer;
}

.bzm-search-form__consent input[type='checkbox']:checked::after {
	content: '';
	position: absolute;
	inset: 0;
	width: 24px;
	height: 24px;
	background: url('assets/img/tick.svg') center / 16px 16px no-repeat;
}

.bzm-search-form__submit {
	margin-top: 34px;
}

.bzm-search-form .wpcf7-submit {
	padding: 18px 32px;
	border: 0;
	border-radius: 0;
	background: #cda56a;
	color: #fff;
	font-size: 20px;
	font-weight: 700;
	line-height: 1.2;
	cursor: pointer;
}

.bzm-search-form .wpcf7-submit:hover {
	background: #cda56a;
}

.bzm-search-form .wpcf7-spinner {
	display: block;
	margin: 14px 0 0;
}

.bzm-search-form .wpcf7-not-valid-tip {
	margin-top: 8px;
	font-size: 14px;
}

.bzm-search-form .wpcf7-response-output {
	margin: 20px 0 0;
	padding: 12px 14px;
	font-size: 15px;
}

@media (max-width: 767px) {
	.bzm-hero-form__property-grid .wpcf7-radio {
		grid-template-columns: 1fr;
	}

	.bzm-hero-form__title {
		font-size: 18px;
	}

	.bzm-hero-form__subtitle,
	.bzm-hero-form__section-title {
		font-size: 14px;
	}

	.bzm-hero-form__property-grid .wpcf7-list-item,
	.bzm-hero-form input[type='text'],
	.bzm-hero-form input[type='tel'],
	.bzm-hero-form input[type='email'] {
		font-size: 14px;
	}

	.bzm-search-form__section {
		margin-bottom: 22px;
	}

	.bzm-search-form__title {
		margin-bottom: 18px;
		font-size: 16px;
	}

	.bzm-search-form__grid,
	.bzm-search-form__grid--two,
	.bzm-search-form__property .wpcf7-radio {
		grid-template-columns: 1fr;
		gap: 18px;
	}

	.bzm-search-form__field,
	.bzm-search-form__property .wpcf7-list-item-label,
	.bzm-search-form__consent,
	.bzm-search-form input[type='text'],
	.bzm-search-form input[type='tel'],
	.bzm-search-form input[type='email'],
	.bzm-search-form input[type='number'],
	.bzm-search-form textarea,
	.bzm-search-form .wpcf7-submit {
		font-size: 14px;
	}

	.bzm-search-form input[type='text'],
	.bzm-search-form input[type='tel'],
	.bzm-search-form input[type='email'],
	.bzm-search-form input[type='number'],
	.bzm-search-form textarea,
	.bzm-search-form__property .wpcf7-list-item {
		padding: 12px 20px;
	}

	.bzm-search-form__consent {
		grid-template-columns: 24px minmax(0, 1fr);
		gap: 14px;
	}

	.bzm-search-form__consent input[type='checkbox'] {
		width: 24px;
		height: 24px;
	}
}
