/* TC Lead — единая форма заявки. Автономный CSS, грузится везде, где есть кнопки заявки. */
.tc-modal { --tc-accent: #FFD629; --tc-accent-soft: #FFF4C2; --tc-dark: #111111; --tc-muted: #8a9097; --tc-line: #e6e9ed; --tc-line-dark: #d2d7dd; --tc-bg: #f4f5f7; --tc-green: #61CE70; --tc-radius-s: 12px; }
.tc-modal .tc-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; border-radius: 100px; cursor: pointer; font-family: inherit; font-weight: 600; font-size: 14px; line-height: 1; padding: 13px 20px; text-decoration: none; transition: background .16s, color .16s; }
.tc-modal .tc-btn--buy { background: var(--tc-accent) !important; color: var(--tc-dark) !important; }
.tc-modal .tc-btn--buy:hover { background: var(--tc-dark) !important; color: var(--tc-accent) !important; }
.tc-modal .tc-btn--big { padding: 16px 18px !important; font-size: 15px; }
.tc-modal button { font-family: inherit; text-transform: none; letter-spacing: normal; box-shadow: none; background-image: none; }
/* =========================================================
   v1.6.0 — модалки: форма заявки + калькулятор монтажа
   ======================================================= */
.tc-modal { position: fixed; inset: 0; z-index: 100000; display: grid; place-items: center; padding: 16px; }
.tc-modal__backdrop { position: absolute; inset: 0; background: rgba(10, 12, 14, .55); opacity: 0; transition: opacity .2s; }
.tc-modal.is-open .tc-modal__backdrop { opacity: 1; }
.tc-modal__panel {
	position: relative; width: 100%; max-width: 440px; max-height: calc(100vh - 32px);
	overflow-y: auto; overscroll-behavior: contain;
	background: #fff; border-radius: 20px; padding: 26px 26px 22px;
	box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .45);
	transform: translateY(14px) scale(.98); opacity: 0; transition: transform .22s, opacity .22s;
	font-family: var(--e-global-typography-text-font-family, "Roboto"), sans-serif;
	color: var(--e-global-color-primary, #101214); font-size: 15px; line-height: 1.45;
}
.tc-modal.is-open .tc-modal__panel { transform: none; opacity: 1; }
.tc-modal__x {
	position: absolute; top: 14px; right: 14px; width: 34px; height: 34px;
	background: #f5f6f8 !important; border: 0; border-radius: 50% !important;
	color: #101214 !important; cursor: pointer; font-size: 14px; padding: 0 !important;
}
.tc-modal__x:hover { background: #101214 !important; color: #fff !important; }
.tc-modal__title {
	font-family: var(--e-global-typography-primary-font-family, inherit);
	font-size: 20px; font-weight: 700; margin-bottom: 4px; padding-right: 36px;
}
.tc-modal__product { font-size: 13px; color: #878d95; margin-bottom: 16px; }

.tc-hp { position: absolute !important; left: -9999px !important; height: 0; width: 0; opacity: 0; }
.tc-field { display: block; margin-bottom: 12px; }
.tc-field__label { display: block; font-size: 13px; font-weight: 600; color: #4c5158; margin-bottom: 6px; }
.tc-field__input {
	width: 100%; padding: 12px 14px; font: inherit; font-size: 15px; color: #101214;
	border: 1.5px solid #e9ecef; border-radius: 12px; background: #fff;
	transition: border-color .15s; -webkit-appearance: none; appearance: none; box-shadow: none;
}
.tc-field__input:hover { border-color: #d4d9de; }
.tc-field__input:focus { outline: none; border-color: #101214; }
textarea.tc-field__input { resize: vertical; min-height: 60px; }

.tc-lead__submit { width: 100%; margin-top: 4px; }
.tc-lead__note { font-size: 12px; color: #a0a5ab; margin: 10px 0 0; line-height: 1.5; }
.tc-lead__error { color: #d93025; font-size: 13.5px; font-weight: 500; margin: 10px 0 0; }
.tc-lead__montazh {
	background: var(--tc-accent-soft, #fdf4cc); border-radius: 12px;
	padding: 10px 14px; font-size: 13.5px; font-weight: 500; margin-bottom: 14px;
}
.tc-lead__done { text-align: center; padding: 14px 0 6px; }
.tc-lead__done-icon {
	width: 58px; height: 58px; margin: 0 auto 12px; display: grid; place-items: center;
	background: var(--e-global-color-accent, #61CE70); color: #fff;
	border-radius: 50%; font-size: 26px; font-weight: 700;
}
.tc-lead__done-title { font-size: 18px; font-weight: 700; margin-bottom: 4px; }
.tc-lead__done p { color: #878d95; margin: 0; }

/* Калькулятор */
.tc-calcm__row { display: flex; align-items: center; gap: 14px; }
.tc-calcm__row input[type="range"] {
	flex: 1; -webkit-appearance: none; appearance: none; height: 5px; border-radius: 3px;
	background: #e9ecef; outline: none; margin: 0; border: 0;
}
.tc-calcm__row input[type="range"]::-webkit-slider-thumb {
	-webkit-appearance: none; appearance: none; width: 22px; height: 22px; border-radius: 50%;
	background: var(--e-global-color-primary, #101214);
	border: 4px solid var(--e-global-color-secondary, #FFD629); cursor: grab;
}
.tc-calcm__row input[type="range"]::-moz-range-thumb {
	width: 14px; height: 14px; border-radius: 50%;
	background: var(--e-global-color-primary, #101214);
	border: 4px solid var(--e-global-color-secondary, #FFD629); cursor: grab;
}
.tc-calcm__num { max-width: 84px; text-align: center; }
.tc-calcm__result {
	background: #f5f6f8; border-radius: 14px; padding: 14px 16px; margin: 14px 0 10px;
	display: grid; gap: 9px;
}
.tc-calcm__line { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; color: #4c5158; }
.tc-calcm__line b { color: #101214; text-align: right; }
.tc-calcm__total { border-top: 1px dashed #d4d9de; padding-top: 10px; font-size: 15px; }
.tc-calcm__total b { font-size: 17px; }
.tc-calcm__hint { font-size: 12.5px; color: #a0a5ab; line-height: 1.5; margin: 0 0 14px; }
.tc-modal [data-tc-calc-order] { width: 100%; }

@media (prefers-reduced-motion: reduce) {
	.tc-modal__panel, .tc-modal__backdrop { transition: none !important; }
}

/* =========================================================
   v1.8.0 — единая форма заявки со встроенным расчётом монтажа
   ======================================================= */
.tc-leadcalc {
	border: 1.5px solid var(--tc-line, #e9ecef); border-radius: 14px;
	margin-bottom: 14px; overflow: hidden;
}
.tc-leadcalc__head {
	display: flex; align-items: center; justify-content: space-between; gap: 10px;
	width: 100%; padding: 13px 16px !important; cursor: pointer;
	background: #f5f6f8 !important; border: 0; border-radius: 0 !important;
	font-family: inherit; font-size: 14px; font-weight: 700; color: #101214 !important; text-align: left;
}
.tc-leadcalc__head svg { color: #878d95; transition: transform .2s; flex-shrink: 0; }
.tc-leadcalc__head[aria-expanded="true"] svg { transform: rotate(180deg); }
.tc-leadcalc__body { padding: 14px 16px 4px; }
.tc-leadcalc .tc-calcm__result { margin: 12px 0 8px; }
.tc-leadcalc .tc-calcm__hint { margin-bottom: 10px; }


