/* Форма Tecsa на странице (контакты и др.) — те же стили, что в модалке */

.tecsa-form-wrapper {
	margin-top: 0;
}

.tecsa-form-wrapper .tecsa-form-msgs {
	margin-bottom: 12px;
	font-size: 0.9rem;
}
.tecsa-form-wrapper .tecsa-form-msgs .success {
	color: var(--petite-stories-primary, #0a0);
}
.tecsa-form-wrapper .tecsa-form-msgs .fail {
	color: #c00;
}

.tecsa-form-wrapper .tecsa-form .form-fieldset {
	margin: 0 0 14px;
	padding: 0;
	border: none;
}
.tecsa-form-wrapper .tecsa-form .form-fieldset label {
	display: block;
	margin-bottom: 4px;
	font-size: 0.875rem;
	color: var(--petite-stories-dark-2, #555);
}
.tecsa-form-wrapper .tecsa-form .form-fieldset input[type="text"],
.tecsa-form-wrapper .tecsa-form .form-fieldset input[type="tel"],
.tecsa-form-wrapper .tecsa-form .form-fieldset input[type="email"],
.tecsa-form-wrapper .tecsa-form .form-fieldset input[type="file"] {
	width: 100%;
	max-width: 100%;
	padding: 12px 14px;
	font-size: 1rem;
	font-family: inherit;
	color: var(--petite-stories-foreground, #111);
	background: var(--petite-stories-background, #fff);
	border: 1px solid var(--petite-stories-light-2, #ddd);
	border-radius: 6px;
	box-sizing: border-box;
	transition: border-color 0.2s, outline 0.2s;
}
.tecsa-form-wrapper .tecsa-form .form-fieldset input:focus {
	outline: none;
	border-color: var(--petite-stories-primary, #333);
	box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.08);
}
.tecsa-form-wrapper .tecsa-form .form-fieldset input[type="file"] {
	padding: 10px;
	font-size: 0.875rem;
}

.tecsa-form-wrapper .tecsa-form .form-fieldset input.tecsa-inn {
	max-width: 100%;
}

/* Маска телефона */
.tecsa-form-wrapper .tecsa-form .iti {
	margin-bottom: 14px;
}
.tecsa-form-wrapper .tecsa-form .iti input {
	padding: 12px 14px 12px 52px;
}
.tecsa-form-wrapper .tecsa-form .iti__flag-container {
	padding: 0 6px 0 8px;
}
.tecsa-form-wrapper .tecsa-form .iti__selected-country {
	padding: 0 4px;
	min-width: 0;
	border-radius: 0;
}
.tecsa-form-wrapper .tecsa-form .iti__selected-country-primary,
.tecsa-form-wrapper .tecsa-form .iti__selected-dial-code {
	padding: 0;
	margin: 0;
}
.tecsa-form-wrapper .tecsa-form .iti__arrow {
	margin-left: 2px;
}

/* Зона перетаскивания файла */
.tecsa-form-wrapper .tecsa-file-field .tecsa-file-input {
	position: absolute;
	width: 0.1px;
	height: 0.1px;
	opacity: 0;
	overflow: hidden;
	z-index: -1;
}
.tecsa-form-wrapper .tecsa-file-drop {
	display: block;
	box-sizing: border-box;
	padding: 16px;
	border: 2px dashed var(--petite-stories-light-2, #ccc);
	border-radius: 8px;
	background: var(--petite-stories-tertiary, #fafafa);
	cursor: pointer;
	text-align: center;
	transition: border-color 0.2s, background 0.2s;
}
.tecsa-form-wrapper .tecsa-file-drop:hover,
.tecsa-form-wrapper .tecsa-file-drop.tecsa-file-drop--over {
	border-color: var(--e-global-color-686c9df, #1558a0);
	background: rgba(21, 88, 160, 0.06);
}
.tecsa-form-wrapper .tecsa-file-drop .tecsa-file-drop-text {
	display: block;
	color: var(--petite-stories-dark-2, #666);
	font-size: 0.9rem;
}
.tecsa-form-wrapper .tecsa-file-drop .tecsa-file-drop-name {
	display: block;
	margin-top: 6px;
	font-size: 0.85rem;
	color: var(--e-global-color-686c9df, #1558a0);
	font-weight: 500;
}
.tecsa-form-wrapper .tecsa-file-drop.tecsa-file-drop--has-file .tecsa-file-drop-text {
	color: var(--petite-stories-foreground, #333);
}

/* Согласия и ссылки */
.tecsa-form-wrapper .tecsa-form-consents {
	margin: 16px 0;
	padding: 0;
	font-size: 0.8125rem;
	line-height: 1.5;
	color: var(--petite-stories-dark-2, #555);
}
.tecsa-form-wrapper .tecsa-form-consents label {
	display: block;
	margin-bottom: 8px;
	cursor: pointer;
}
.tecsa-form-wrapper .tecsa-form-consents input[type="checkbox"] {
	margin-right: 8px;
	vertical-align: middle;
}
.tecsa-form-wrapper .tecsa-form-consents a {
	color: var(--e-global-color-686c9df, #1558a0);
	text-decoration: underline;
}
.tecsa-form-wrapper .tecsa-form-consents a:hover {
	color: #0d3d6d;
	text-decoration: none;
}

.tecsa-form-wrapper .tecsa-recaptcha {
	margin: 12px 0;
}

/* Кнопка отправки */
.tecsa-form-wrapper .tecsa-form .form-footer {
	margin: 20px 0 0;
	padding: 0;
}
.tecsa-form-wrapper .tecsa-form .formBtn {
	display: inline-block;
	padding: 12px 28px;
	font-size: 1rem;
	font-family: inherit;
	font-weight: 600;
	color: #fff;
	background: var(--e-global-color-686c9df, #1558a0);
	border: none;
	border-radius: 6px;
	cursor: pointer;
	transition: background 0.2s, transform 0.05s;
}
.tecsa-form-wrapper .tecsa-form .formBtn:hover {
	background: #0d3d6d;
}
.tecsa-form-wrapper .tecsa-form .formBtn:active {
	transform: scale(0.98);
}

/* Карточка запроса стоимости на товаре — как модалка «Связаться с нами» */
.tecsa-form-wrapper.tecsa-form-wrapper--product-quote {
	box-sizing: border-box;
	max-width: 480px;
	padding: 24px;
	background: var(--petite-stories-background, #fff);
	border: 1px solid var(--petite-stories-light-2, #eee);
	border-radius: 8px;
	box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
}

.tecsa-form-wrapper.tecsa-form-wrapper--product-quote .tecsa-form .formTitle {
	margin: 0 0 16px;
	padding: 0;
	font-size: 1.25rem;
	font-weight: 600;
	color: var(--petite-stories-foreground, #111);
}

.single-product .elementor-widget-shortcode .tecsa-form-wrapper.tecsa-form-wrapper--product-quote .tecsa-form .form-fieldset input[type="text"],
.single-product .elementor-widget-shortcode .tecsa-form-wrapper.tecsa-form-wrapper--product-quote .tecsa-form .form-fieldset input[type="tel"],
.single-product .elementor-widget-shortcode .tecsa-form-wrapper.tecsa-form-wrapper--product-quote .tecsa-form .form-fieldset input[type="email"],
.single-product .elementor-widget-shortcode .tecsa-form-wrapper.tecsa-form-wrapper--product-quote .tecsa-form .form-fieldset input[type="file"],
.woocommerce.single-product .tecsa-form-wrapper.tecsa-form-wrapper--product-quote .tecsa-form .form-fieldset input[type="text"],
.woocommerce.single-product .tecsa-form-wrapper.tecsa-form-wrapper--product-quote .tecsa-form .form-fieldset input[type="tel"],
.woocommerce.single-product .tecsa-form-wrapper.tecsa-form-wrapper--product-quote .tecsa-form .form-fieldset input[type="email"],
.woocommerce.single-product .tecsa-form-wrapper.tecsa-form-wrapper--product-quote .tecsa-form .form-fieldset input[type="file"] {
	width: 100%;
	max-width: 100%;
	padding: 12px 14px;
	font-size: 1rem;
	font-family: inherit;
	line-height: normal;
	color: var(--petite-stories-foreground, #111);
	background: var(--petite-stories-background, #fff);
	border: 1px solid var(--petite-stories-light-2, #ddd);
	border-radius: 6px;
	box-sizing: border-box;
	box-shadow: none;
	-webkit-appearance: none;
	appearance: none;
}

.woocommerce.single-product .tecsa-form-wrapper.tecsa-form-wrapper--product-quote .tecsa-form .form-fieldset input:focus,
.single-product .elementor-widget-shortcode .tecsa-form-wrapper.tecsa-form-wrapper--product-quote .tecsa-form .form-fieldset input:focus {
	outline: none;
	border-color: var(--petite-stories-primary, #333);
	box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.08);
}

.woocommerce.single-product .tecsa-form-wrapper.tecsa-form-wrapper--product-quote .tecsa-form .iti input,
.single-product .elementor-widget-shortcode .tecsa-form-wrapper.tecsa-form-wrapper--product-quote .tecsa-form .iti input {
	padding: 12px 14px 12px 52px;
}

.woocommerce.single-product .tecsa-form-wrapper.tecsa-form-wrapper--product-quote .tecsa-form .formBtn,
.single-product .elementor-widget-shortcode .tecsa-form-wrapper.tecsa-form-wrapper--product-quote .tecsa-form .formBtn {
	display: inline-block;
	padding: 12px 28px;
	font-size: 1rem;
	font-family: inherit;
	font-weight: 600;
	color: #fff;
	background: var(--e-global-color-686c9df, #1558a0);
	border: none;
	border-radius: 6px;
	cursor: pointer;
	transition: background 0.2s, transform 0.05s;
}

.woocommerce.single-product .tecsa-form-wrapper.tecsa-form-wrapper--product-quote .tecsa-form .formBtn:hover,
.single-product .elementor-widget-shortcode .tecsa-form-wrapper.tecsa-form-wrapper--product-quote .tecsa-form .formBtn:hover {
	background: #0d3d6d;
}
