@charset "UTF-8";
.calc-container {
  max-width: 1200px;
  margin: 0 auto;
  color: #fff;
  font-family: "CeraPro";
  padding: 20px;
}
.calc-container * {
  box-sizing: border-box;
  outline: none;
  -webkit-tap-highlight-color: transparent;
}
.calc-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  background: #101010;
  border: 1px solid #484A50;
  padding: 20px 40px 55px;
  border-radius: 17px;
}
.calc-grid.full-width {
  grid-template-columns: 1fr;
}
.hidden {
  display: none !important;
}
.stepper {
  display: flex;
  justify-content: space-between;
  position: relative;
  max-width: 400px;
  margin: 0 auto 40px;
}
.stepper::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  background: #333;
  z-index: 1;
}
.step {
  width: 40px;
  height: 40px;
  background: #0a0a0a;
  border: 1px solid #333;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 2;
  color: #888;
  transition: 0.3s;
}
.step.active {
  border-color: #fff;
  color: #fff;
  background: #44543B;
}
.calc-option {
  display: flex;
  align-items: center;
  padding: 15px;
  border: 1px solid #333;
  margin-bottom: 10px;
  cursor: pointer;
  transition: 0.3s;
  border-radius: 12px;
}
.calc-option:hover {
  border-color: #fff;
}
.calc-option.selected {
  border-color: #fff;
  background: #44543B;
}
.calc-option.selected .custom-radio {
  border-color: #fff;
}
.demolition-block {
  background: #212121;
  padding: 25px;
  border-left: 3px solid #fff;
  margin: 20px 0;
}
.demolition-block p {
  font-size: 16px;
}
.demolition-block .demo-btns {
  display: flex;
  gap: 10px;
  margin-top: 15px;
}
.demolition-block .demo-btn {
  flex: 1;
  padding: 12px;
  border: 1px solid #fff;
  background: none;
  color: #fff;
  cursor: pointer;
  transition: 0.3s;
  border-radius: 12px;
  font-family: "CeraPro";
  font-size: 14px;
}
.demolition-block .demo-btn:hover, .demolition-block .demo-btn.active {
  background: #44543B;
  border-color: #fff;
}
.custom-radio {
  width: 18px;
  height: 18px;
  border: 1px solid #333;
  border-radius: 50%;
  margin-right: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.radio-dot {
  width: 8px;
  height: 8px;
  background: #fff;
  border-radius: 50%;
  opacity: 0;
  transform: scale(0.5);
  transition: 0.2s;
}
.selected .radio-dot, .active .radio-dot {
  opacity: 1;
  transform: scale(1);
}
.area-controls {
  display: flex;
  gap: 5px;
  margin-bottom: 40px;
}
.area-controls span {
  font-size: 20px;
  padding: 0;
}
.area-controls .range-slider {
  width: 80%;
  display: flex;
  align-items: flex-end;
}
#area-num-input {
  background: none;
  color: #fff;
  font-size: 36px;
  text-align: center;
  border: 1px solid #484A50;
  border-bottom: 2px solid #fff;
  padding: 10px 10px 3px;
  width: 300px;
}
input[type="range"] {
  width: 100%;
  accent-color: #fff;
  height: 10px;
}
.range-slider {
  position: relative;
  width: 100%;
  padding-top: 40px;
}
.range-tooltip {
  position: absolute;
  top: 0;
  transform: translateX(-50%);
  background: #44543B;
  color: #fff;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: bold;
  white-space: nowrap;
  pointer-events: none;
}
.range-tooltip::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 50%;
  transform: translateX(-50%);
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 5px solid #44543B;
}
.styles-grid {
  position: relative;
  transition: opacity 0.4s ease;
}
.styles-grid.styles-locked {
  opacity: 0.35;
  pointer-events: none;
  user-select: none;
}
.styles-grid.styles-locked::after {
  content: "Сначала укажите площадь помещения";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: #44543B;
  color: #fff;
  padding: 12px 24px;
  border-radius: 12px;
  font-size: 15px;
  font-family: "CeraPro";
  white-space: nowrap;
  pointer-events: none;
  z-index: 10;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}
.styles-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}
.style-card {
  border: 1px solid #333;
  background: #141414;
  cursor: pointer;
  overflow: hidden;
  display: flex;
  padding: 0 40px 0 0;
  transition: 0.3s;
  border-radius: 17px;
}
.style-card:hover {
  background: #212121;
}
.style-card.active .custom-radio {
  border-color: #fff;
}
.style-card.active .custom-radio .radio-dot {
  background: #44543B;
}
.style-card img {
  width: 200px;
  height: 200px;
  object-fit: cover;
  flex-shrink: 0;
}
.style-card .info {
  padding: 10px 0 10px 40px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  flex: 1;
}
.style-card .info .text-info {
  width: calc(100% - 80px);
  display: flex;
  flex-wrap: wrap;
}
.style-card .info .text-info .text-title {
  font-size: 26px;
  font-family: "CeraPro Medium";
  margin-bottom: 10px;
  width: 100%;
  display: block;
}
.style-card .info .custom-radio {
  width: 45px;
  height: 45px;
}
.style-card .info .custom-radio .radio-dot {
  width: 30px;
  height: 30px;
}
.navigation {
  display: flex;
  gap: 15px;
  margin-top: 30px;
}
.base-btn {
  flex: 1;
  padding: 18px;
  border: 1px solid #fff;
  background: none;
  color: #fff;
  cursor: pointer;
  text-transform: uppercase;
  font-weight: bold;
  text-align: center;
  font-size: 16px;
  font-family: "CeraPro";
  transition: 0.3s;
  border-radius: 12px;
}
.base-btn:hover {
  background: #44543B;
  border-color: #fff;
}
.base-btn:disabled {
  opacity: 0.2;
  cursor: not-allowed;
}
.calc-right {
  width: 100%;
}
.calc-right img {
  width: 100%;
  border-radius: 17px;
}
.calc-right .pic-top {
  padding: 15px;
  background: #DEA331;
  border-radius: 17px;
  margin-top: 113px;
  text-align: center;
}
.calc-right .pic-top span {
  font-size: 18px;
  padding: 0 0 10px;
  font-family: "CeraPro";
  display: block;
}
.calc-right .pic-top p {
  font-family: "CeraPro-Thin";
  margin: 0;
}
.price-row {
  display: flex;
  align-items: flex-end;
  flex-wrap: wrap;
  border-bottom: 1px solid #484A50;
  padding-bottom: 20px;
}
.price-row .result-price {
  font-size: 60px;
  font-family: "CeraPro Medium";
  margin-right: 40px;
  flex-basis: 100%;
}
.price-row .anonce, .price-row #final-days {
  display: inline;
  align-self: flex-end;
}
.price-row .anonce {
  font-size: 16px;
  padding-bottom: 12px;
}
.price-row #final-days {
  font-size: 30px;
  padding: 0 6px 9px;
  font-family: "CeraPro Medium";
}
.project-features {
  margin-top: 30px;
  padding: 0 20px 20px 0;
  border-radius: 12px;
}
.features-title {
  margin-bottom: 20px;
  font-weight: 600;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px 20px;
  margin-bottom: 40px;
}
.feature-item {
  display: flex;
  align-items: center;
  gap: 10px;
}
.check-icon {
  min-width: 18px;
  height: 18px;
  border-radius: 50%;
  position: relative;
  display: inline-block;
  border: 1px solid #a8a8a8;
  background: #44543B;
  flex-shrink: 0;
}
.check-icon::after {
  content: "";
  position: absolute;
  left: 6px;
  top: -3px;
  width: 8px;
  height: 12px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.feature-text {
  line-height: 1.2;
}
.final-btns {
  display: flex;
  align-items: center;
}
.final-btns .base-btn {
  display: block;
  flex: 0 0 auto;
  min-width: 300px;
  background: linear-gradient(0deg, #44543B 0%, #516347 100%);
  margin-right: 40px;
}
.final-btns .base-btn:hover {
  background: linear-gradient(0deg, #34412E 0%, #516347 100%);
}
.final-btns span {
  display: flex;
  align-items: flex-end;
  position: relative;
  top: 14px;
  flex-shrink: 0;
}
.btn-repair-trigger {
  background: none;
  border: none;
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 4px;
  cursor: pointer;
  font-family: "CeraPro";
  font-size: 16px;
  padding: 0;
  flex-shrink: 0;
  transition: opacity 0.2s;
}
.btn-repair-trigger:hover {
  opacity: 0.7;
}
.repair-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
}
.repair-row .demo-btns .demo-btn {
  border: 1px solid #333;
  background: none;
  color: #fff;
  font-size: 14px;
  height: 40px;
  width: 59px;
  font-family: "CeraPro";
  cursor: pointer;
  transition: all 0.3s ease;
  outline: none;
}
.repair-row .demo-btns .demo-btn:hover {
  border-color: #44543B;
}
.repair-row .demo-btns .demo-btn.active {
  background: #44543B;
  border-color: #44543B;
  color: #fff;
}
.repair-row .demo-btns .demo-btn.active:hover {
  opacity: 0.9;
}
.counter-box {
  display: flex;
  border: 1px solid #333;
}
.count-btn {
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
}
.counter-box input {
  width: 40px;
  text-align: center;
  background: none;
  border: none;
  color: #fff;
}
.extra-works-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
  margin-top: 20px;
}
.extra-card {
  cursor: pointer;
  display: block;
}
.extra-card input[type="checkbox"] {
  display: none;
}
.extra-content {
  background: #f9f9f9;
  border-radius: 12px;
  padding: 15px;
  height: 100%;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}
.extra-icon {
  width: 100%;
}
.extra-icon img {
  width: 100%;
}
.extra-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  gap: 10px;
}
.extra-info span {
  font-size: 14px;
  color: #333;
  line-height: 1.2;
  text-align: center;
  width: 100%;
}
.extra-card input:checked + .extra-content {
  background: #44533c;
}
.extra-card input:checked + .extra-content .extra-info span {
  color: #fff;
}
.extra-card input:checked + .extra-content .check-mark {
  background: #44543B;
  border-color: #44543B;
}
.extra-card:hover .extra-content {
  border-color: #44533c;
}
#repair-result-box {
  text-align: left;
  line-height: 1.6;
  border-left: 5px solid #44543B;
  margin: 20px 0;
  padding: 20px;
}
#repair-total-display {
  font-size: 60px;
  font-family: "CeraPro Medium";
  margin-right: 40px;
}
.result-summary-text {
  font-size: 18px;
  color: #fff;
  margin: 10px 0 20px;
}
.result-base-text {
  font-size: 16px;
  color: #fff;
  margin: 10px 0;
}
.result-base-link {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.result-base-link:hover {
  opacity: 0.7;
}
#extra-services-list {
  color: #fff;
}
#extra-services-list h5 {
  margin-bottom: 10px;
  font-size: 16px;
  color: #fff;
}
#selected-extras {
  padding-left: 20px;
  margin-bottom: 20px;
  color: #fff;
}
#selected-extras li {
  color: #fff;
  margin-bottom: 5px;
}
.result-warning {
  background: #fff4f4;
  padding: 15px;
  border-radius: 8px;
  color: #d93025;
  font-size: 14px;
  margin: 20px 0;
}
.result-footer .base-btn {
  display: block;
  background: linear-gradient(0deg, #44543B 0%, #516347 100%);
  margin-right: 0;
}
.result-footer .base-btn:hover {
  background: linear-gradient(0deg, #34412E 0%, #516347 100%);
}
@media (max-width: 1024px) {
  .calc-grid {
    grid-template-columns: 1fr;
    padding: 20px;
    gap: 24px;
  }
  .calc-right {
    display: none;
  }
  .stepper {
    max-width: 320px;
  }
  .price-row .result-price {
    font-size: 48px;
  }
  .price-row #final-days {
    font-size: 24px;
  }
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  #repair-total-display {
    font-size: 48px;
  }
}
@media (max-width: 768px) {
  .calc-container {
    padding: 12px;
  }
  .calc-grid {
    padding: 16px;
    gap: 20px;
  }
  #area-num-input {
    font-size: 28px;
    width: 150px;
  }
  .style-card {
    flex-direction: column;
    padding: 0;
  }
  .style-card img {
    width: 100%;
    height: 160px;
  }
  .style-card .info {
    padding: 16px;
  }
  .style-card .info .text-info {
    width: calc(100% - 60px);
  }
  .style-card .info .text-info .text-title {
    font-size: 20px;
  }
  .style-card .info .custom-radio {
    width: 36px;
    height: 36px;
  }
  .style-card .info .custom-radio .radio-dot {
    width: 22px;
    height: 22px;
  }
  .extra-works-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .final-btns {
    flex-wrap: wrap;
    gap: 12px;
  }
  .final-btns .base-btn {
    margin-right: 0;
  }
  .final-btns span {
    top: 0;
  }
  .final-btns .btn-repair-trigger {
    width: 100%;
    text-align: center;
  }
  .price-row .result-price {
    font-size: 40px;
  }
  .price-row #final-days {
    font-size: 22px;
  }
  #repair-total-display {
    font-size: 40px;
    margin-right: 0;
  }
}
@media (max-width: 550px) {
  .final-btns {
    flex-direction: column;
    align-items: center;
  }
  .final-btns .base-btn {
    width: 100%;
    text-align: center;
    margin-right: 0;
    margin-bottom: 20px;
  }
  .final-btns .btn-repair-trigger {
    width: 100%;
    text-align: center;
  }
  .stepper {
    max-width: 260px;
    margin-bottom: 28px;
  }
  .step {
    width: 32px;
    height: 32px;
    font-size: 13px;
  }
  .calc-grid {
    border-radius: 12px;
    padding: 14px;
  }
  #area-num-input {
    font-size: 24px;
    width: 120px;
  }
  .area-controls {
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 28px;
    align-items: center;
  }
  .area-controls #area-num-input {
    flex-shrink: 0;
  }
  .area-controls > span {
    font-size: 20px;
    line-height: 1;
    align-self: center;
  }
  .area-controls .range-slider {
    width: 100%;
    flex-basis: 100%;
  }
  .demolition-block {
    padding: 16px;
  }
  .demolition-block .demo-btns {
    flex-wrap: wrap;
  }
  .demolition-block .demo-btn {
    min-width: calc(50% - 5px);
  }
  .style-card img {
    height: 130px;
  }
  .style-card .info .text-info .text-title {
    font-size: 18px;
  }
  .extra-works-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  .features-grid {
    grid-template-columns: 1fr;
  }
  .price-row .result-price {
    font-size: 36px;
    margin-right: 0;
    flex-basis: 100%;
  }
  .price-row #final-days {
    font-size: 20px;
  }
  .navigation {
    flex-direction: row;
    align-items: center;
    gap: 12px;
  }
  #back-btn {
    flex: 0 0 50px;
    width: 50px;
    height: 50px;
    padding: 0;
    border-radius: 50%;
    font-size: 0;
    position: relative;
  }
  #back-btn::after {
    content: "";
    display: block;
    width: 10px;
    height: 10px;
    border-left: 2px solid #fff;
    border-bottom: 2px solid #fff;
    transform: rotate(45deg);
    margin: auto;
  }
  #next-btn {
    flex: 1;
    padding: 14px;
    font-size: 14px;
  }
  #repair-total-display {
    font-size: 36px;
  }
}
@media (max-width: 350px) {
  .calc-container {
    padding: 8px;
  }
  .calc-grid {
    padding: 10px;
    border-radius: 10px;
    gap: 14px;
  }
  .stepper {
    max-width: 220px;
    margin-bottom: 20px;
  }
  .step {
    width: 28px;
    height: 28px;
    font-size: 12px;
  }
  #area-num-input {
    font-size: 20px;
    width: 100px;
  }
  .style-card img {
    height: 110px;
  }
  .style-card .info {
    padding: 12px;
  }
  .style-card .info .text-info .text-title {
    font-size: 16px;
  }
  .style-card .info .custom-radio {
    width: 28px;
    height: 28px;
  }
  .style-card .info .custom-radio .radio-dot {
    width: 16px;
    height: 16px;
  }
  .extra-works-grid {
    grid-template-columns: 1fr;
  }
  .features-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .price-row .result-price {
    font-size: 30px;
  }
  #repair-total-display {
    font-size: 30px;
  }
  .base-btn {
    font-size: 13px;
    padding: 12px;
  }
  #back-btn {
    flex: 0 0 46px;
    width: 46px;
    height: 46px;
  }
  .demolition-block .demo-btn {
    min-width: 100%;
  }
}
