/******* Do not edit this file *******
Woody Code Snippets CSS and JS
Saved: Oct 26 2026 | 02:21:48 */
/* Итоговые стили калькулятора. Заменяют прежний CSS целиком. */
.height-calc {
  --hc-blue: #0866ff;
  --hc-blue-light: #edf4ff;
  --hc-orange: #ff5000;
  --hc-border: #e5e8ef;
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(320px, 1fr);
  align-items: start;
  gap: 28px;
  width: 100%;
  max-width: 1500px;
  margin: 0 auto;
  color: #15191f;
  font-family: inherit;
  font-size: 16px;
  line-height: 1.5;
}
.height-calc, .height-calc *, .height-calc *::before, .height-calc *::after { box-sizing: border-box; }
.height-calc p { margin: 0; }
.height-calc button, .height-calc input, .height-calc textarea { font: inherit; }
.height-calc .height-calc__left, .height-calc .height-calc__result { min-width: 0; }
.height-calc .wpcf7-form-control-wrap { display: block; width: 100%; min-width: 0; }
.height-calc .height-calc__left { padding: 24px 26px 20px; border: 1px solid #f2f4f8; border-radius: 6px; background: #fff; box-shadow: 0 5px 25px rgb(21 43 77 / 4%); }
.height-calc .calc-step { margin: 0 0 18px; padding: 0 0 20px; border-bottom: 1px solid #eef1f6; }

/* Заголовки и автоматические обертки */
.height-calc .height-calc__left .calc-title { display: flex !important; flex-direction: row !important; align-items: center !important; flex-wrap: nowrap !important; gap: 14px !important; margin: 0 0 20px !important; padding: 0 !important; color: #111 !important; font-size: 20px !important; font-weight: 700 !important; line-height: 1.35 !important; }
.height-calc .calc-title p, .height-calc .calc-service p, .height-calc .calc-work-options p, .height-calc .calc-contact-grid p, .height-calc .calc-quantity p, .height-calc .result-info p { display: contents !important; margin: 0 !important; padding: 0 !important; }
.height-calc .calc-title br, .height-calc .calc-services br, .height-calc .calc-work-options br, .height-calc .calc-contact-grid br, .height-calc .calc-quantity br, .height-calc .result-info br { display: none !important; }
.height-calc .height-calc__left .calc-title span { display: inline-flex !important; align-items: center !important; justify-content: center !important; flex: 0 0 38px !important; width: 38px !important; min-width: 38px !important; height: 38px !important; margin: 0 !important; padding: 0 !important; border: 0 !important; border-radius: 50% !important; background: #eaf2ff !important; color: #0866ff !important; -webkit-text-fill-color: #0866ff !important; font-size: 21px !important; font-weight: 700 !important; line-height: 1 !important; }

/* Выбор программы */
.height-calc .calc-services { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.height-calc .calc-services label.calc-service { position: relative; display: flex !important; flex-direction: row !important; align-items: flex-start !important; justify-content: flex-start !important; gap: 14px !important; min-width: 0; height: auto !important; min-height: 112px; margin: 0 !important; padding: 18px 16px !important; border: 1px solid var(--hc-border); border-radius: 5px; background: #fcfcfe; text-align: left; cursor: pointer; transition: border-color .2s, background-color .2s, box-shadow .2s; }
.height-calc .calc-service:hover { border-color: #a5c8ff; background: #f8fbff; }
.height-calc .calc-service:has(input:checked) { border-color: var(--hc-blue) !important; background: #fbfdff; box-shadow: 0 2px 8px rgb(8 102 255 / 8%); }
.height-calc .calc-service__content { display: flex !important; flex: 1 1 0; flex-direction: column !important; align-items: flex-start; justify-content: flex-start; gap: 10px !important; min-width: 0; margin: 0 !important; padding: 0 !important; }
.height-calc .calc-service__content strong { display: block; margin: 0 !important; padding: 0 !important; color: #111; font-size: 15px; font-weight: 650; line-height: 1.45; overflow-wrap: break-word; }
.height-calc .calc-service__content small { display: block; margin: 0 !important; padding: 0 !important; color: #172438; font-size: 15px; line-height: 1.4; }
.height-calc .calc-services input[type="radio"] { appearance: none !important; -webkit-appearance: none !important; display: block !important; position: static !important; flex: 0 0 21px !important; width: 21px !important; min-width: 21px !important; height: 21px !important; min-height: 21px !important; margin: 2px 0 0 !important; padding: 0 !important; border: 1.5px solid #d3d7df !important; border-radius: 50% !important; background: #fff !important; box-shadow: none !important; cursor: pointer; }
.height-calc .calc-services input[type="radio"]:checked { border-color: #0866ff !important; background: radial-gradient(circle, #0866ff 0, #0866ff 5px, #fff 5.5px) !important; }
.height-calc input[type="radio"]:focus-visible { outline: 3px solid rgb(8 102 255 / 22%); outline-offset: 3px; }

/* Шаг 2: условия работ */
.height-calc .calc-work-options { display: grid !important; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; width: 100%; }
.height-calc .calc-work-options .calc-work-card { display: block !important; position: relative; min-width: 0; margin: 0 !important; padding: 0 !important; cursor: pointer; }
.height-calc .calc-work-options input[type="radio"] { position: absolute !important; width: 1px !important; min-width: 0 !important; height: 1px !important; min-height: 0 !important; margin: -1px !important; padding: 0 !important; overflow: hidden !important; clip: rect(0,0,0,0) !important; clip-path: inset(50%) !important; white-space: nowrap; border: 0 !important; }
.height-calc .calc-work-options .calc-work-card__body { display: flex !important; flex-direction: column !important; align-items: flex-start !important; justify-content: flex-start !important; width: 100%; height: 100%; min-height: 136px; margin: 0 !important; padding: 18px 16px !important; border: 1px solid #e5e8ef; border-radius: 5px; background: #fafbff; text-align: left; transition: border-color .2s, background-color .2s, box-shadow .2s; }
.height-calc .calc-work-card__icon { display: block; flex: 0 0 auto; width: 30px; height: 30px; margin: 0 0 16px; color: #45484f; }
.height-calc .calc-work-card__body strong { display: block; margin: 0 0 8px !important; color: #171d27; font-size: 15px; font-weight: 650; line-height: 1.4; }
.height-calc .calc-work-card__body small { display: block; margin: 0 !important; color: #606671; font-size: 14px; line-height: 1.45; }
.height-calc .calc-work-card:hover .calc-work-card__body { border-color: #a5c8ff; background: #f5f8ff; }
.height-calc .calc-work-card:has(input:checked) .calc-work-card__body { border-color: #0866ff; background: #f7faff; box-shadow: 0 0 0 1px #0866ff, 0 3px 10px rgb(8 102 255 / 8%); }
.height-calc .calc-work-card:has(input:checked) .calc-work-card__icon { color: #ff6000; }
.height-calc .calc-work-card:has(input:focus-visible) .calc-work-card__body { outline: 3px solid rgb(8 102 255 / 25%); outline-offset: 4px; }

/* Количество и сводка */
.height-calc .calc-quantity-step { display: grid; grid-template-columns: minmax(240px,.85fr) minmax(0,1.15fr); align-items: start; gap: 18px 24px; }
.height-calc .calc-quantity-step > .calc-title { grid-column: 1; grid-row: 1; margin-bottom: 0 !important; }
.height-calc .calc-quantity { display: flex; grid-column: 1; grid-row: 2; align-items: center; gap: 10px; }
.height-calc .calc-quantity button { display: inline-flex; flex: 0 0 50px; align-items: center; justify-content: center; width: 50px; height: 48px; margin: 0; padding: 0; border: 1px solid #dce0e7; border-radius: 5px; background: #fff; color: #253348; box-shadow: none; font-size: 27px; font-weight: 400; line-height: 1; cursor: pointer; }
.height-calc .calc-quantity button:hover { border-color: #0866ff; background: #f4f8ff; color: #0866ff; }
.height-calc .calc-quantity button:disabled { opacity: .45; cursor: not-allowed; }
.height-calc #calc-quantity { appearance: textfield; -moz-appearance: textfield; width: 110px; height: 48px; min-height: 0; margin: 0; padding: 0 8px; border: 1px solid #dce0e7; border-radius: 5px; background: #fff; color: #111; font-size: 18px; font-weight: 600; text-align: center; }
.height-calc #calc-quantity::-webkit-inner-spin-button, .height-calc #calc-quantity::-webkit-outer-spin-button { margin: 0; -webkit-appearance: none; }
.height-calc .calc-price-summary { display: grid; grid-column: 2; grid-row: 1 / 3; gap: 11px; min-width: 0; padding: 18px 20px; border: 1px solid #e9edf5; border-radius: 5px; background: #f8faff; }
.height-calc .calc-price-summary > div { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; }
.height-calc .calc-price-summary span { color: #39495f; font-size: 14px; }
.height-calc .calc-price-summary strong { flex-shrink: 0; color: #172438; font-size: 15px; font-weight: 500; white-space: nowrap; }
.height-calc .calc-price-summary__total { padding-top: 10px; border-top: 1px solid #e5eaf3; }
.height-calc .calc-price-summary__total strong { color: #111; font-size: 20px; font-weight: 700; }

/* Контакты */
.height-calc .calc-contacts { margin-bottom: 0; padding-bottom: 16px; border-bottom: 0; }
.height-calc .calc-contacts p { margin: 0 !important; padding: 0 !important; }
.height-calc .calc-contact-grid { display: grid !important; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px; width: 100%; margin-bottom: 16px; }
.height-calc .calc-contact-grid .wpcf7-form-control-wrap { min-width: 0; width: 100%; }
.height-calc .calc-contact-grid input, .height-calc textarea.calc-input { display: block !important; width: 100% !important; max-width: none !important; height: 49px; min-height: 0; margin: 0 !important; padding: 12px 15px !important; border: 1px solid #dce0e7 !important; border-radius: 5px !important; background: #fff !important; color: #243246 !important; box-shadow: none; font-family: inherit; font-size: 15px; line-height: 1.5; }
.height-calc textarea.calc-input { height: 70px; min-height: 70px; max-height: 220px; resize: vertical; }
.height-calc .calc-input::placeholder { color: #8791a3; opacity: 1; }
.height-calc .calc-input:focus, .height-calc #calc-quantity:focus { border-color: #0866ff !important; outline: none; box-shadow: 0 0 0 3px rgb(8 102 255 / 10%); }
.height-calc .calc-consent { margin: 18px 0 0; color: #3d4b60; font-size: 14px; line-height: 1.5; }
.height-calc .calc-consent .wpcf7-list-item { margin: 0; }
.height-calc .calc-consent label { display: flex; align-items: flex-start; gap: 10px; margin: 0; cursor: pointer; }
.height-calc .calc-consent input[type="checkbox"] { appearance: auto; -webkit-appearance: checkbox; flex: 0 0 20px; width: 20px; height: 20px; min-height: 0; margin: 1px 0 0; accent-color: #0866ff; }
.height-calc .calc-consent a { color: #0866ff; }
.height-calc input[type="submit"].calc-submit { appearance: none !important; -webkit-appearance: none !important; display: block !important; width: 100% !important; max-width: none !important; min-height: 56px; margin: 16px 0 0 !important; padding: 15px 20px !important; border: 0 !important; border-radius: 5px !important; background: #ff5000 !important; color: #fff !important; -webkit-text-fill-color: #fff !important; box-shadow: none !important; font-family: inherit; font-size: 18px; font-weight: 700; line-height: 1.4; text-align: center; white-space: normal; opacity: 1; cursor: pointer; }
.height-calc input[type="submit"].calc-submit:hover { background: #e94900 !important; }
.height-calc input[type="submit"].calc-submit:disabled { opacity: .65; cursor: not-allowed; }
.height-calc .calc-submit:focus-visible, .height-calc .calc-quantity button:focus-visible { outline: 3px solid rgb(8 102 255 / 30%); outline-offset: 3px; }
.height-calc .calc-privacy { margin-top: 14px; color: #8b95a6; font-size: 12px; line-height: 1.5; text-align: center; }
.height-calc .wpcf7-spinner { display: none; }
form.submitting .height-calc .wpcf7-spinner { display: block; margin: 12px auto 0; }
.height-calc .wpcf7-not-valid { border-color: #dc3545 !important; }
.height-calc .wpcf7-not-valid-tip { margin-top: 5px; font-size: 12px; line-height: 1.4; }

/* Правая панель */
.height-calc .height-calc__result { padding: 32px 32px 38px; border: 1px solid #092e49; border-radius: 6px; background: linear-gradient(135deg,#052b47 0%,#03233c 100%); color: #fff; box-shadow: 0 5px 18px rgb(3 38 64 / 8%); }
.height-calc .result-label { display: inline-block; max-width: 100%; margin-bottom: 22px; padding: 9px 12px; border-radius: 4px; background: #104264; color: #c5e4ff; font-size: 13px; font-weight: 700; line-height: 1.4; letter-spacing: .02em; }
.height-calc #result-service { margin: 0 0 20px; padding: 0; color: #fff; font-size: clamp(25px,2.2vw,34px); font-weight: 700; line-height: 1.25; letter-spacing: -.02em; overflow-wrap: break-word; }
.height-calc .result-description { margin: 0 0 22px; color: #b5d0e5; font-size: 15px; line-height: 1.6; }
.height-calc .result-info { display: grid; grid-template-columns: minmax(0,1.1fr) minmax(0,1fr); align-items: center; gap: 16px; margin-bottom: 11px; padding: 15px 13px; border-radius: 4px; background: rgb(114 171 211 / 11%); }
.height-calc .result-info span { color: #bad8ed; font-size: 14px; line-height: 1.45; }
.height-calc .result-info strong { color: #fff; font-size: 15px; font-weight: 700; line-height: 1.45; overflow-wrap: break-word; }
.height-calc .result-total { display: flex; flex-direction: column; align-items: flex-start; margin-top: 32px; padding-top: 28px; border-top: 1px solid #1c4a67; }
.height-calc .result-total > span { color: #a4c9e4; font-size: 15px; }
.height-calc .result-total > strong { display: block; margin: 10px 0 4px; color: #fff; font-size: clamp(38px,4.1vw,60px); font-weight: 700; line-height: 1.15; letter-spacing: -.025em; overflow-wrap: anywhere; }
.height-calc .result-total > small { color: #bad8ed; font-size: 14px; }
.height-calc .result-note { margin-top: 25px; color: #b5d0e5; font-size: 15px; line-height: 1.65; }

/* Адаптивность */
@media (max-width:1250px) {
  .height-calc { grid-template-columns: minmax(0,1fr) 330px; gap: 20px; }
  .height-calc .height-calc__left { padding: 22px 20px; }
  .height-calc .height-calc__result { padding: 26px 22px 30px; }
  .height-calc .calc-services, .height-calc .calc-work-options { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
  .height-calc .calc-quantity-step { grid-template-columns: minmax(0,1fr); }
  .height-calc .calc-price-summary { grid-column: 1; grid-row: 3; }
  .height-calc .calc-contact-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
  .height-calc .calc-contact-grid .wpcf7-form-control-wrap:last-of-type { grid-column: 1 / -1; }
}
@media (max-width:980px) {
  .height-calc { grid-template-columns: minmax(0,1fr); gap: 22px; }
  .height-calc .height-calc__result { padding: 28px; }
  .height-calc #result-service { max-width: 650px; font-size: 30px; }
  .height-calc .result-total > strong { font-size: 52px; }
  .height-calc .calc-contact-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .height-calc .calc-contact-grid .wpcf7-form-control-wrap:last-of-type { grid-column: auto; }
}
@media (max-width:600px) {
  .height-calc { gap: 16px; font-size: 14px; }
  .height-calc .height-calc__left { padding: 20px 15px; }
  .height-calc .height-calc__left .calc-title { gap: 10px !important; font-size: 17px !important; }
  .height-calc .height-calc__left .calc-title span { flex-basis: 32px !important; width: 32px !important; min-width: 32px !important; height: 32px !important; font-size: 18px !important; }
  .height-calc .calc-services { grid-template-columns: minmax(0,1fr); gap: 10px; }
  .height-calc .calc-services label.calc-service { min-height: 0; padding: 15px !important; gap: 12px !important; }
  .height-calc .calc-service__content strong, .height-calc .calc-service__content small { font-size: 14px; }
  .height-calc .calc-work-options { gap: 10px; }
  .height-calc .calc-work-options .calc-work-card__body { min-height: 135px; padding: 15px 12px !important; }
  .height-calc .calc-work-card__body strong { font-size: 14px; }
  .height-calc .calc-work-card__body small { font-size: 13px; }
  .height-calc .calc-quantity button { flex-basis: 46px; width: 46px; height: 46px; }
  .height-calc #calc-quantity { width: 90px; height: 46px; }
  .height-calc .calc-price-summary { padding: 15px; }
  .height-calc .calc-price-summary span { font-size: 13px; }
  .height-calc .calc-price-summary__total strong { font-size: 18px; }
  .height-calc .calc-contact-grid { grid-template-columns: minmax(0,1fr); }
  .height-calc .calc-contact-grid input, .height-calc textarea.calc-input { font-size: 16px; }
  .height-calc textarea.calc-input { height: 90px; min-height: 90px; }
  .height-calc .calc-consent { font-size: 12px; }
  .height-calc input[type="submit"].calc-submit { min-height: 52px; font-size: 16px; }
  .height-calc .height-calc__result { padding: 24px 20px 28px; }
  .height-calc #result-service { font-size: 26px; }
  .height-calc .result-info { gap: 12px; padding: 13px 12px; }
  .height-calc .result-info span, .height-calc .result-info strong { font-size: 13px; }
  .height-calc .result-total > strong { font-size: 46px; }
}
@media (max-width:360px) { .height-calc .calc-work-options { grid-template-columns: minmax(0,1fr); } }
@media (prefers-reduced-motion:reduce) { .height-calc *, .height-calc *::before, .height-calc *::after { transition: none !important; } }
/* ==========================================
   ИСПРАВЛЕНИЕ ПЕРВОГО БЛОКА — ВЫБОР ПРОГРАММЫ
   ========================================== */

/* Сетка карточек */
.height-calc .height-calc__left .calc-services {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  align-items: stretch !important;
  gap: 16px !important;
}

/* Убираем влияние автоматических абзацев CF7 */
.height-calc .height-calc__left .calc-services p {
  display: contents !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* Убираем автоматические переносы */
.height-calc .height-calc__left .calc-services br {
  display: none !important;
}

/* Две колонки внутри карточки: кружок | текст */
.height-calc .height-calc__left .calc-services label.calc-service {
  display: grid !important;
  grid-template-columns: 21px minmax(0, 1fr) !important;
  grid-template-rows: auto !important;
  align-items: start !important;
  align-content: start !important;
  justify-content: stretch !important;
  column-gap: 14px !important;
  row-gap: 0 !important;

  position: relative !important;
  box-sizing: border-box !important;

  width: 100% !important;
  min-width: 0 !important;
  max-width: none !important;
  height: auto !important;
  min-height: 112px !important;

  margin: 0 !important;
  padding: 18px 16px !important;

  border: 1px solid #e5e8ef !important;
  border-radius: 5px !important;
  background: #fcfcfe !important;

  text-align: left !important;
  cursor: pointer;
}

/* Радиокнопка — первая колонка */
.height-calc .height-calc__left .calc-services
.calc-service input[type="radio"] {
  appearance: none !important;
  -webkit-appearance: none !important;

  display: block !important;
  position: static !important;
  float: none !important;
  grid-column: 1 !important;
  grid-row: 1 !important;
  align-self: start !important;
  justify-self: start !important;

  box-sizing: border-box !important;
  width: 21px !important;
  min-width: 21px !important;
  max-width: 21px !important;
  height: 21px !important;
  min-height: 21px !important;
  max-height: 21px !important;

  margin: 2px 0 0 !important;
  padding: 0 !important;

  border: 1.5px solid #d3d7df !important;
  border-radius: 50% !important;
  background: #fff !important;
  box-shadow: none !important;

  opacity: 1 !important;
  visibility: visible !important;
  clip: auto !important;
  clip-path: none !important;
  transform: none !important;

  cursor: pointer;
}

/* Выбранная радиокнопка */
.height-calc .height-calc__left .calc-services
.calc-service input[type="radio"]:checked {
  border-color: #0866ff !important;
  background: radial-gradient(
    circle,
    #0866ff 0,
    #0866ff 5px,
    #fff 5.5px
  ) !important;
}

/* Текст — вторая колонка, на одном уровне с кружком */
.height-calc .height-calc__left .calc-services
.calc-service .calc-service__content {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  justify-content: flex-start !important;
  gap: 10px !important;

  grid-column: 2 !important;
  grid-row: 1 !important;
  align-self: start !important;

  width: 100% !important;
  min-width: 0 !important;
  max-width: none !important;
  height: auto !important;

  margin: 0 !important;
  padding: 0 !important;
}

/* Название программы */
.height-calc .height-calc__left .calc-services
.calc-service__content strong {
  display: block !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;

  color: #111 !important;
  font-size: 15px !important;
  font-weight: 650 !important;
  line-height: 1.45 !important;
  text-align: left !important;
  white-space: normal !important;
  overflow-wrap: break-word !important;
}

/* Цена под названием */
.height-calc .height-calc__left .calc-services
.calc-service__content small {
  display: block !important;
  margin: 0 !important;
  padding: 0 !important;

  color: #172438 !important;
  font-size: 15px !important;
  font-weight: 400 !important;
  line-height: 1.4 !important;
  text-align: left !important;
}

/* Состояния карточки */
.height-calc .height-calc__left .calc-services
label.calc-service:hover {
  border-color: #a5c8ff !important;
  background: #f8fbff !important;
}

.height-calc .height-calc__left .calc-services
label.calc-service:has(input:checked) {
  border-color: #0866ff !important;
  background: #fbfdff !important;
  box-shadow: 0 2px 8px rgb(8 102 255 / 8%) !important;
}

.height-calc .height-calc__left .calc-services
.calc-service input[type="radio"]:focus-visible {
  outline: 3px solid rgb(8 102 255 / 22%) !important;
  outline-offset: 3px !important;
}

/* Небольшие экраны — две карточки в ряд */
@media (max-width: 1250px) {
  .height-calc .height-calc__left .calc-services {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 12px !important;
  }
}

/* Телефоны — одна карточка, но кружок и название рядом */
@media (max-width: 600px) {
  .height-calc .height-calc__left .calc-services {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 10px !important;
  }

  .height-calc .height-calc__left .calc-services label.calc-service {
    grid-template-columns: 21px minmax(0, 1fr) !important;
    column-gap: 12px !important;
    min-height: 0 !important;
    padding: 15px !important;
  }

  .height-calc .height-calc__left .calc-services
  .calc-service__content strong,
  .height-calc .height-calc__left .calc-services
  .calc-service__content small {
    font-size: 14px !important;
  }
}

/* ==========================================
   1. ОТСТУПЫ МЕЖДУ ШАГАМИ И ЛИНИЯМИ
   ========================================== */

/* Отступ перед линией и после нее */
.height-calc .height-calc__left .calc-step {
  padding-bottom: 26px !important;
  margin-bottom: 26px !important;
}

/* Контакты — последний шаг без нижней линии */
.height-calc .height-calc__left .calc-step.calc-contacts {
  padding-bottom: 16px !important;
  margin-bottom: 0 !important;
  border-bottom: 0 !important;
}

/* Расстояние от заголовка до содержимого */
.height-calc .height-calc__left .calc-step .calc-title {
  margin-bottom: 20px !important;
}


/* ==========================================
   2. ОТСТУПЫ МЕЖДУ ПОЛЯМИ «ВАШИ ДАННЫЕ»
   ========================================== */

.height-calc .height-calc__left .calc-contact-grid {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  column-gap: 16px !important;
  row-gap: 16px !important;

  margin: 0 0 18px !important;
  padding: 0 !important;
}

/* Дополнительные абзацы не мешают сетке */
.height-calc .height-calc__left .calc-contact-grid p {
  display: contents !important;
  margin: 0 !important;
  padding: 0 !important;
}

.height-calc .height-calc__left .calc-contact-grid br {
  display: none !important;
}

/* Обертки полей */
.height-calc .height-calc__left .calc-contact-grid
.wpcf7-form-control-wrap {
  display: block !important;
  width: 100% !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  grid-column: auto !important;
}

/* Поля занимают только свою ячейку */
.height-calc .height-calc__left .calc-contact-grid input {
  box-sizing: border-box !important;
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
}

/* Комментарий отдельно от согласия */
.height-calc .height-calc__left .calc-contacts textarea {
  display: block !important;
  width: 100% !important;
  margin: 0 !important;
}

.height-calc .height-calc__left .calc-consent {
  margin-top: 18px !important;
}


/* ==========================================
   3. ИТОГОВЫЕ ЗНАЧЕНИЯ ПО ПРАВОМУ КРАЮ
   ========================================== */

/* Две колонки: подпись | значение */
.height-calc .height-calc__left .calc-price-summary > div {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) max-content !important;
  align-items: baseline !important;
  column-gap: 18px !important;

  width: 100% !important;
  min-width: 0 !important;
}

/* Если CF7 добавил абзацы */
.height-calc .height-calc__left .calc-price-summary > div p {
  display: contents !important;
  margin: 0 !important;
  padding: 0 !important;
}

.height-calc .height-calc__left .calc-price-summary br {
  display: none !important;
}

/* Подписи слева */
.height-calc .height-calc__left .calc-price-summary > div span {
  grid-column: 1 !important;
  min-width: 0 !important;
  text-align: left !important;
}

/* Цена, количество и сумма — по одной правой границе */
.height-calc .height-calc__left .calc-price-summary > div strong {
  grid-column: 2 !important;
  justify-self: end !important;

  margin: 0 !important;
  padding: 0 !important;
  text-align: right !important;
  white-space: nowrap !important;
  font-variant-numeric: tabular-nums;
}


/* ==========================================
   4. МОБИЛЬНАЯ ВЕРСИЯ
   ========================================== */

@media (max-width: 600px) {
  .height-calc .height-calc__left .calc-step {
    padding-bottom: 22px !important;
    margin-bottom: 22px !important;
  }

  .height-calc .height-calc__left .calc-contact-grid {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 14px !important;
    margin-bottom: 16px !important;
  }

  .height-calc .height-calc__left .calc-price-summary > div {
    column-gap: 12px !important;
  }
}

/* Итоговая стоимость в правом синем блоке */
.height-calc .height-calc__result .result-total {
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  gap: 0 !important;
}

/* Если CF7 добавил обертки и переносы */
.height-calc .height-calc__result .result-total p {
  display: contents !important;
  margin: 0 !important;
  padding: 0 !important;
}

.height-calc .height-calc__result .result-total br {
  display: none !important;
}

/* Заголовок остается слева */
.height-calc .height-calc__result .result-total span {
  display: block !important;
  width: 100% !important;
  text-align: left !important;
}

/* Цена справа */
.height-calc .height-calc__result .result-total strong {
  display: block !important;
  width: 100% !important;
  margin: 12px 0 8px !important;
  text-align: right !important;
}

/* Подпись отдельной строкой под ценой */
.height-calc .height-calc__result .result-total small {
  display: block !important;
  width: 100% !important;
  margin: 0 !important;
  text-align: right !important;
  white-space: normal !important;
}
/* Заголовок и цена в одной строке, подпись — ниже */
.height-calc .height-calc__result .result-total {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) max-content !important;
  align-items: center !important;
  gap: 10px 16px !important;
}

/* Убираем влияние оберток CF7 */
.height-calc .height-calc__result .result-total p {
  display: contents !important;
  margin: 0 !important;
  padding: 0 !important;
}

.height-calc .height-calc__result .result-total br {
  display: none !important;
}

/* Заголовок слева */
.height-calc .height-calc__result .result-total span {
  grid-column: 1 !important;
  grid-row: 1 !important;
  width: auto !important;
  margin: 0 !important;
  text-align: left !important;
  white-space: nowrap !important;
  font-size: 13px !important;
}

/* Цена справа на той же строке */
.height-calc .height-calc__result .result-total strong {
  grid-column: 2 !important;
  grid-row: 1 !important;
  justify-self: end !important;

  width: auto !important;
  margin: 0 !important;
  font-size: 30px !important;
  line-height: 1.2 !important;
  text-align: right !important;
  white-space: nowrap !important;
  overflow-wrap: normal !important;
}

/* Подпись на следующей строке */
.height-calc .height-calc__result .result-total small {
  grid-column: 1 / -1 !important;
  grid-row: 2 !important;

  display: block !important;
  width: 100% !important;
  margin: 0 !important;
  text-align: right !important;
  white-space: normal !important;
}

/* Компактнее на небольших экранах */
@media (max-width: 1250px) {
  .height-calc .height-calc__result .result-total {
    column-gap: 10px !important;
  }

  .height-calc .height-calc__result .result-total span {
    font-size: 11px !important;
  }

  .height-calc .height-calc__result .result-total strong {
    font-size: 24px !important;
  }
}
.height-calc .height-calc__result .result-total small {
  grid-column: 1 / -1 !important;
  grid-row: 2 !important;
  justify-self: start !important;

  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  text-align: left !important;
}