/* POTOLKI VYGODNO — единый калькулятор ЭКОНОМ/ПРЕМИУМ, 21.11.2026.
   Визуальная правка только блока расчёта; логика цен находится в pv-demo.js. */
.calc_potolok_bg .calc_potolok_rasch_bg {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  width: calc(100% - 24px) !important;
  max-width: 1080px !important;
  height: auto !important;
  min-height: 0 !important;
  margin: 27px auto 28px !important;
  padding: 30px 38px 28px !important;
  position: relative !important;
  float: none !important;
  overflow: visible !important;
  border: 0 !important;
  border-radius: 8px !important;
  box-shadow: none !important;
  box-sizing: border-box !important;
  background: linear-gradient(180deg, #fff600 0%, #ffdb00 100%) !important;
}
.calc_potolok_bg .calc_potolok_rasch_bg::before,
.calc_potolok_bg .calc_potolok_rasch_bg::after {
  content: none !important;
  display: none !important;
}
.calc_potolok_bg .calc_potolok_rasch_bg > .calc_potolok_rasch_text,
.calc_potolok_bg .calc_potolok_rasch_bg > .calc_potolok_rasch_row,
.calc_potolok_bg .calc_potolok_rasch_bg > .calc_potolok_rasch_text2,
.calc_potolok_bg .calc_potolok_rasch_bg > .pv-calc-tier-switch,
.calc_potolok_bg .calc_potolok_rasch_bg > .pv-calc-premium-options,
.calc_potolok_bg .calc_potolok_rasch_bg > .pv-calc-perimeter-control,
.calc_potolok_bg .calc_potolok_rasch_bg > .pv-calc-breakdown,
.calc_potolok_bg .calc_potolok_rasch_bg > .but_zakazat {
  float: none !important;
  top: auto !important;
  left: auto !important;
  right: auto !important;
  bottom: auto !important;
  transform: none !important;
  position: relative !important;
  box-sizing: border-box !important;
  max-width: 100% !important;
}
.calc_potolok_bg .calc_potolok_rasch_bg > .calc_potolok_rasch_text {
  display: block !important;
  width: 100% !important;
  height: auto !important;
  margin: 0 auto 22px !important;
  padding: 0 !important;
  color: #101010 !important;
  font-family: 'ALSSchlangesans-Black', Arial, sans-serif !important;
  font-size: clamp(21px, 2.1vw, 28px) !important;
  font-weight: 800 !important;
  line-height: 1.25 !important;
  text-align: center !important;
  text-transform: none !important;
}
.calc_potolok_bg .pv-calc-tier-switch {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-wrap: wrap !important;
  gap: 10px !important;
  width: 100% !important;
  margin: 0 auto 19px !important;
  padding: 0 !important;
}
.calc_potolok_bg .pv-calc-tier-button {
  border: 2px solid #00aac8 !important;
  border-radius: 7px !important;
  background: #fff !important;
  color: #151515 !important;
  box-shadow: none !important;
  padding: 9px 22px !important;
  font: 700 17px/1.25 Arial, sans-serif !important;
  text-align: center !important;
  letter-spacing: 0 !important;
  cursor: pointer !important;
}
.calc_potolok_bg .pv-calc-tier-button[aria-pressed="true"] {
  background: #00aac8 !important;
  color: #fff !important;
}
.calc_potolok_bg .pv-calc-tier-button:focus-visible,
.calc_potolok_bg .pv-calc-premium-field-entry input:focus-visible,
.calc_potolok_bg .pv-calc-perimeter-input:focus-visible {
  outline: 2px solid #075c78 !important;
  outline-offset: 3px !important;
}
.calc_potolok_bg .pv-calc-premium-options,
.calc_potolok_bg .pv-calc-premium-options:not([hidden]) {
  display: block;
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 auto !important;
  padding: 0 7px 5px !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
  color: #101010 !important;
  font-family: Arial, sans-serif !important;
  text-align: center !important;
}
.calc_potolok_bg .pv-calc-premium-options[hidden] {
  display: none !important;
}
.calc_potolok_bg .pv-calc-premium-heading {
  display: flex !important;
  align-items: center !important;
  gap: 15px !important;
  width: 100% !important;
  margin: 0 auto 16px !important;
  color: #101010 !important;
  font: 700 clamp(16px, 1.75vw, 21px)/1.3 Arial, sans-serif !important;
  text-align: center !important;
}
.calc_potolok_bg .pv-calc-premium-heading::before,
.calc_potolok_bg .pv-calc-premium-heading::after {
  content: '' !important;
  display: block !important;
  flex: 1 1 30px !important;
  height: 1px !important;
  background: rgba(0,0,0,.44) !important;
}
.calc_potolok_bg .pv-calc-premium-grid {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 13px 26px !important;
  align-items: center !important;
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 auto !important;
}
.calc_potolok_bg .pv-calc-premium-field {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 8px !important;
  width: 100% !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  color: #101010 !important;
  font: 700 13px/1.35 Arial, sans-serif !important;
  text-align: left !important;
}
.calc_potolok_bg .pv-calc-premium-field-title {
  flex: 1 1 auto !important;
  min-width: 0 !important;
  color: #101010 !important;
  font-weight: 700 !important;
  overflow-wrap: normal !important;
}
.calc_potolok_bg .pv-calc-premium-field-entry {
  display: inline-flex !important;
  flex: 0 0 auto !important;
  align-items: center !important;
  gap: 6px !important;
  color: #101010 !important;
  font: 700 12px/1.2 Arial, sans-serif !important;
  white-space: nowrap !important;
}
.calc_potolok_bg .pv-calc-premium-field-entry input,
.calc_potolok_bg .pv-calc-premium-power-count {
  appearance: textfield !important;
  -moz-appearance: textfield !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 66px !important;
  min-width: 66px !important;
  height: 36px !important;
  box-sizing: border-box !important;
  border: 1px solid #bec8c7 !important;
  border-radius: 6px !important;
  padding: 5px !important;
  margin: 0 !important;
  background: #fff !important;
  color: #111 !important;
  box-shadow: none !important;
  font: 700 17px/1.1 Arial, sans-serif !important;
  text-align: center !important;
}
.calc_potolok_bg .pv-calc-premium-field-entry input::-webkit-inner-spin-button,
.calc_potolok_bg .pv-calc-premium-field-entry input::-webkit-outer-spin-button {
  -webkit-appearance: none !important;
  margin: 0 !important;
}
.calc_potolok_bg .pv-calc-premium-power-count {
  cursor: default !important;
}
.calc_potolok_bg .pv-calc-premium-hint {
  display: block !important;
  width: 100% !important;
  margin: 12px auto 0 !important;
  padding: 0 6px !important;
  font: 400 12px/1.4 Arial, sans-serif !important;
  color: #282828 !important;
  text-align: center !important;
}
.calc_potolok_bg .calc_potolok_rasch_bg > .calc_potolok_rasch_row {
  display: flex !important;
  position: relative !important;
  width: 100% !important;
  height: auto !important;
  min-height: 66px !important;
  align-items: center !important;
  justify-content: center !important;
  flex-wrap: wrap !important;
  gap: 10px 16px !important;
  margin: 17px auto 11px !important;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  color: #101010 !important;
  text-align: center !important;
}
.calc_potolok_bg .calc_potolok_rasch_row_input {
  float: none !important;
  flex: 0 0 auto !important;
}
.calc_potolok_bg .calc_potolok_rasch_ravno {
  float: none !important;
  color: #101010 !important;
  font: 800 clamp(24px, 2.6vw, 36px)/1.2 'ALSSchlangesans-Black',Arial,sans-serif !important;
}
.calc_potolok_bg .calc_potolok_rasch_new_cost,
.calc_potolok_bg .calc_potolok_rasch_new_cost span {
  float: none !important;
  color: #101010 !important;
  font-family: 'ALSSchlangesans-Black',Arial,sans-serif !important;
  font-size: clamp(28px, 3.2vw, 40px) !important;
  font-weight: 800 !important;
  line-height: 1.18 !important;
}
.calc_potolok_bg .pv-calc-perimeter-control {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-wrap: wrap !important;
  gap: 7px 13px !important;
  width: 100% !important;
  margin: 2px auto 14px !important;
  padding: 0 !important;
  color: #101010 !important;
  font: 700 15px/1.4 Arial,sans-serif !important;
  text-align: center !important;
}
.calc_potolok_bg .pv-calc-perimeter-control label {
  display: inline-flex !important;
  align-items: center !important;
  flex-wrap: wrap !important;
  gap: 8px !important;
  margin: 0 !important;
  color: #101010 !important;
  font-weight: 700 !important;
}
.calc_potolok_bg .pv-calc-perimeter-control input {
  width: 82px !important;
  height: 36px !important;
  box-sizing: border-box !important;
  border: 1px solid #bcc6c7 !important;
  border-radius: 6px !important;
  padding: 4px !important;
  margin: 0 !important;
  background: #fff !important;
  color: #111 !important;
  font: 700 17px/1.2 Arial,sans-serif !important;
  text-align: center !important;
}
.calc_potolok_bg .pv-calc-perimeter-hint {
  max-width: 100% !important;
  color: #272727 !important;
  font: 500 13px/1.35 Arial,sans-serif !important;
}
.calc_potolok_bg .pv-calc-breakdown {
  display: flex !important;
  justify-content: center !important;
  align-items: baseline !important;
  gap: 8px 22px !important;
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 auto 15px !important;
  padding: 0 !important;
  color: #101010 !important;
  font: 700 14px/1.45 Arial,sans-serif !important;
  text-align: center !important;
}
.calc_potolok_bg .pv-calc-breakdown-item,
.calc_potolok_bg .pv-calc-premium-breakdown-item {
  display: inline-flex !important;
  align-items: baseline !important;
  justify-content: center !important;
  gap: 5px !important;
  font-weight: 700 !important;
  white-space: nowrap !important;
}
.calc_potolok_bg .pv-calc-breakdown-item strong {
  font-weight: 800 !important;
  color: #101010 !important;
}
.calc_potolok_bg .pv-calc-breakdown-item-total {
  flex: 0 0 100% !important;
  margin: 5px auto 0 !important;
  font: 800 clamp(16px, 1.7vw, 20px)/1.4 Arial,sans-serif !important;
}
.calc_potolok_bg .calc_potolok_rasch_bg > .calc_potolok_rasch_text2 {
  display: block !important;
  width: 100% !important;
  height: auto !important;
  margin: 4px auto 16px !important;
  padding: 0 !important;
  color: #101010 !important;
  font: 700 clamp(13px,1.35vw,16px)/1.4 Arial,sans-serif !important;
  text-align: center !important;
}
.calc_potolok_bg .calc_potolok_rasch_bg > .but_zakazat {
  display: block !important;
  position: relative !important;
  margin: 0 auto !important;
  cursor: pointer !important;
}
@media (max-width: 990px) {
  .calc_potolok_bg .calc_potolok_rasch_bg {
    width: calc(100% - 20px) !important;
    padding: 22px 20px 26px !important;
  }
  .calc_potolok_bg .pv-calc-premium-grid {
    gap: 12px 14px !important;
  }
  .calc_potolok_bg .pv-calc-premium-field {
    font-size: 12px !important;
  }
}
@media (max-width: 760px) {
  .calc_potolok_bg .calc_potolok_rasch_bg {
    width: calc(100% - 12px) !important;
    margin: 16px auto 18px !important;
    padding: 18px 11px 23px !important;
    border-radius: 7px !important;
  }
  .calc_potolok_bg .calc_potolok_rasch_bg > .calc_potolok_rasch_text {
    margin-bottom: 16px !important;
  }
  .calc_potolok_bg .pv-calc-tier-switch {
    margin-bottom: 16px !important;
  }
  .calc_potolok_bg .pv-calc-tier-button {
    font-size: 14px !important;
    padding: 8px 15px !important;
  }
  .calc_potolok_bg .pv-calc-premium-heading {
    font-size: 16px !important;
    gap: 7px !important;
    margin-bottom: 13px !important;
  }
  .calc_potolok_bg .pv-calc-premium-heading::before,
  .calc_potolok_bg .pv-calc-premium-heading::after {
    flex-basis: 8px !important;
  }
  .calc_potolok_bg .pv-calc-premium-grid {
    grid-template-columns: 1fr !important;
    gap: 10px !important;
  }
  .calc_potolok_bg .pv-calc-premium-field {
    font-size: 13px !important;
  }
  .calc_potolok_bg .pv-calc-premium-field-entry input,
  .calc_potolok_bg .pv-calc-premium-power-count {
    width: 60px !important;
    min-width: 60px !important;
  }
  .calc_potolok_bg .calc_potolok_rasch_bg > .calc_potolok_rasch_row {
    gap: 5px 10px !important;
    margin-top: 14px !important;
  }
  .calc_potolok_bg .pv-calc-breakdown {
    gap: 5px 11px !important;
    font-size: 12px !important;
  }
  .calc_potolok_bg .pv-calc-breakdown-item {
    white-space: normal !important;
  }
  .calc_potolok_bg .pv-calc-perimeter-control {
    font-size: 13px !important;
  }
  .calc_potolok_bg .pv-calc-perimeter-hint {
    font-size: 11px !important;
  }
}
