/* Заявки с карточек товара — стили формы и кнопки */

/* Кнопка «Запросить цену» под картинкой */
.sz-cta {
	margin: 18px 0 26px;
	padding: 0;
}

.entry-content .sz-cta__btn,
.sz-cta__btn {
	display: inline-block;
	padding: 13px 26px;
	background: #e14640;
	color: #fff !important;
	font-size: 16px;
	font-weight: 600;
	line-height: 1.2;
	text-decoration: none !important;
	border: 0;
	border-radius: 4px;
	box-shadow: 0 2px 6px rgba(225, 70, 64, 0.25);
	transition: background-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

.entry-content .sz-cta__btn:hover,
.sz-cta__btn:hover {
	background: #c7332d;
	color: #fff !important;
	box-shadow: 0 4px 12px rgba(225, 70, 64, 0.35);
	transform: translateY(-1px);
}

.entry-content .sz-cta__btn:active,
.sz-cta__btn:active {
	transform: translateY(0);
}

/* Форма */
.sz-lead {
	box-sizing: border-box;
	margin: 34px 0 10px;
	padding: 24px;
	background: #fafafa;
	border: 1px solid #e6e6e6;
	border-radius: 6px;
}

.sz-lead *,
.sz-lead *::before,
.sz-lead *::after {
	box-sizing: border-box;
}

.sz-lead__title {
	margin: 0 0 6px;
	font-size: 21px;
	line-height: 1.25;
	font-weight: 700;
	color: #1a1a1a;
}

.sz-lead__subtitle {
	margin: 0 0 18px;
	font-size: 14px;
	line-height: 1.45;
	color: #666;
}

.sz-field {
	margin: 0 0 14px;
	padding: 0;
}

.sz-label {
	display: block;
	margin: 0 0 6px;
	font-size: 14px;
	font-weight: 600;
	color: #333;
}

.sz-req {
	color: #e14640;
}

.sz-optional {
	font-weight: 400;
	font-size: 12px;
	color: #999;
}

.sz-input {
	display: block;
	width: 100%;
	height: 44px;
	margin: 0;
	padding: 0 12px;
	background: #fff;
	border: 1px solid #ccc;
	border-radius: 4px;
	color: #222;
	font-size: 15px;
	line-height: 42px;
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
	-webkit-appearance: none;
	appearance: none;
}

.sz-input::placeholder {
	color: #aaa;
}

.sz-input:focus {
	outline: none;
	border-color: #e14640;
	box-shadow: 0 0 0 2px rgba(225, 70, 64, 0.15);
}

.sz-input.is-invalid {
	border-color: #c62828;
	box-shadow: 0 0 0 2px rgba(198, 40, 40, 0.12);
}

.sz-check {
	display: flex;
	align-items: flex-start;
	margin: 4px 0 16px;
	font-size: 13px;
	line-height: 1.4;
	color: #555;
	cursor: pointer;
}

.sz-check input {
	margin: 2px 8px 0 0;
	flex: 0 0 auto;
}

/* Ловушка для ботов */
.sz-hp {
	position: absolute !important;
	left: -9999px !important;
	top: auto;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.sz-submit {
	display: inline-block;
	min-width: 220px;
	padding: 14px 28px;
	background: #e14640;
	border: 0;
	border-radius: 4px;
	color: #fff;
	font-size: 16px;
	font-weight: 600;
	line-height: 1.2;
	cursor: pointer;
	transition: background-color 0.15s ease;
}

.sz-submit:hover {
	background: #c7332d;
}

.sz-submit[disabled] {
	opacity: 0.65;
	cursor: default;
}

.sz-note {
	margin: 10px 0 0;
	font-size: 12px;
	line-height: 1.4;
	color: #8a8a8a;
}

.sz-msg {
	margin: 12px 0 0;
	font-size: 14px;
	line-height: 1.45;
}

.sz-msg:empty {
	display: none;
}

.sz-msg--error {
	color: #c62828;
}

.sz-msg--ok {
	color: #1a7f37;
}

/* Блок «Понравилась статья?» в записях больше не нужен */
.b-share--post {
	display: none !important;
}

@media (max-width: 600px) {
	.sz-lead {
		padding: 18px 14px;
	}

	.sz-lead__title {
		font-size: 19px;
	}

	.sz-submit {
		display: block;
		width: 100%;
	}
}
