.ct,
.ct *,
.ct :before,
.ct :after {
  box-sizing: border-box;
}

#calculator {
  scroll-margin-top: 90px;
}

.ct {
  --ct-green: var(--wd-primary-color, #2bae66);
  --ct-text: var(--wd-title-color, #111);
  --ct-body: var(--wd-text-color, #333);
  --ct-border: var(--brdcolor-gray-300, #d7d7d7);
  --ct-soft: var(--bgcolor-gray-100, #f3f3f3);
  position: relative;
  width: 100%;
  color: var(--ct-body);
  font-family: var(--wd-text-font, inherit);
  visibility: hidden;
}

.ct .ct-layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 36px);
  align-items: start;
}

.ct.ct--without-map .ct-layout {
  grid-template-columns: minmax(0, 1fr);
}

.ct .ct-map2 {
  position: absolute;
  width: 0;
  height: 0;
  z-index: 1;
}

.ct .ct-map {
  min-height: 660px;
  border-radius: 20px;
  overflow: hidden;
  z-index: 1;
}

.ct .ct-inner {
  min-width: 0;
}

.ct .ct-points {
  display: grid;
  gap: 20px;
}

.ct .ct-points > .ct-field-point {
  margin-top: 0;
}

.ct .ct-section + .ct-section,
.ct .ct-field + .ct-field {
  margin-top: 20px;
}

.ct .ct-points > .ct-field-point + .ct-field-point {
  margin-top: 0;
}

.ct .ct-field {
  position: relative;
}

.ct .ct-field__row {
  display: flex;
  align-items: center;
}

.ct .ct-field-point > .ct-field__row:first-child {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(12px, 1.5vw, 20px);
}

.ct .ct-field-point_additional > .ct-field__row:first-child {
  grid-template-columns: repeat(2, minmax(0, 1fr)) 40px;
}

.ct .ct-field__row + .ct-field__row {
  margin-top: 14px;
}

.ct .ct-field__col {
  min-width: 0;
}

.ct .ct-field__col + .ct-field__col {
  margin-left: 0;
}

.ct .ct-field__col_align_right {
  margin-left: auto;
}

.ct .ct-field__col-remove {
  position: static;
  z-index: 2;
}

.ct .ct-field__remove {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-inline-size: 40px;
  min-block-size: 40px;
  padding: 0;
  border: 3px solid #fff;
  border-radius: 50%;
  background: #c7352d;
  color: #fff;
  box-shadow: 0 4px 12px rgb(129 27 21 / 24%);
  line-height: 1;
  cursor: pointer;
}

.ct .ct-field__remove:hover {
  background: #a92c25;
}

.ct .ct-input-group {
  display: flex;
  width: 100%;
}

.ct .ct-input {
  width: 100%;
  height: var(--wd-form-height);
  padding: 0 15px;
  border: 1px solid var(--ct-border);
  border-radius: 999px;
  background: #fff;
  color: var(--ct-text);
  font: inherit;
}

.ct .ct-input::placeholder {
  color: var(--ct-text);
  opacity: 1;
}

.ct .ct-input_invalid {
  border-color: #c7352d;
}

.ct .ct-input-group__icon,
.ct .ct-field-point .js-point-entrance {
  display: none;
}

.ct .ct-field-hour {
  width: 96px;
  visibility: hidden;
}

.ct .ct-field-hour.ct-visible {
  visibility: visible !important;
}

.ct .ct-field-hour .ct-input {
  height: 40px;
  padding-inline: 14px;
}

.ct .ct-addpoint-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 0 8px;
}

.ct .ct-addpoint-wrapper__col {
  display: flex;
  align-items: center;
  min-width: 0;
}

.ct .ct-addpoint-wrapper__col:last-child {
  justify-content: flex-end;
}

.ct .ct-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}

.ct .ct-icon-left {
  margin-right: 10px;
}

.ct .ct-icon-right {
  margin-left: auto;
}

.ct .ct-service-icon {
  display: block;
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  object-fit: contain;
}

.ct .ct-service-icon--left {
  margin-right: 10px;
}

.ct .ct-service-icon--selected {
  margin-left: auto;
}

.ct .ct-icon-top-6 {
  margin-top: 0;
}

.ct .ct-link {
  display: inline-flex;
  align-items: center;
  color: var(--ct-text);
  cursor: pointer;
}

.ct .ct-link .ct-icon {
  width: 26px;
  height: 26px;
  border-radius: 6px;
  background: var(--ct-green);
  color: #fff;
}

.ct .ct-checkbox {
  position: relative;
  display: block;
  padding-left: 28px;
  color: var(--ct-body);
  user-select: none;
  cursor: pointer;
}

.ct .ct-checkbox input {
  position: absolute;
  opacity: 0;
}

.ct .ct-checkbox .ct-checkbox__mark {
  position: absolute;
  top: 0;
  left: 0;
  width: 20px;
  height: 20px;
  border: 1px solid var(--ct-border);
  border-radius: 6px;
  background: #fff;
}

.ct .ct-checkbox input:checked ~ .ct-checkbox__mark {
  border-color: var(--ct-green);
  background: var(--ct-green);
}

.ct .ct-checkbox .ct-checkbox__mark:after {
  position: absolute;
  top: 2px;
  left: 6px;
  display: none;
  width: 6px;
  height: 11px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  content: "";
  transform: rotate(45deg);
}

.ct .ct-checkbox input:checked ~ .ct-checkbox__mark:after {
  display: block;
}

.ct .ct-checkbox-rent {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-block: 0;
  margin-inline-end: 14px;
}

.ct .ct-checkbox-rent .ct-service-icon--left {
  margin-right: 0;
}

.ct .ct-select {
  position: relative;
  width: 100%;
  user-select: none;
}

.ct .ct-select__btn {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  width: 100%;
  cursor: pointer;
}

.ct .ct-select__btn-inner {
  display: flex;
  align-items: center;
  width: 100%;
}

.ct .ct-select__selected-icons {
  display: flex;
  align-items: center;
  margin-left: 8px;
}

.ct .ct-select-small .ct-select__btn {
  height: var(--wd-form-height);
  padding: 0 15px;
  border: 1px solid var(--ct-green);
  border-radius: 999px;
  background: var(--ct-green);
  color: #fff;
}

.ct .ct-select-big .ct-select__btn {
  height: var(--wd-form-height);
  padding: 0 15px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: var(--ct-soft);
  color: var(--ct-text);
}

.ct .ct-select__dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  z-index: 20;
  width: max-content;
  min-width: 100%;
  max-width: min(440px, 90vw);
  max-height: 320px;
  overflow-y: auto;
  border: 1px solid var(--ct-border);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 14px 40px rgb(0 0 0 / 12%);
}

.ct .ct-select:not(.ct-select_active) .ct-select__dropdown {
  display: none;
}

.ct .ct-select__item-group {
  position: relative;
  padding: 12px 20px 8px;
  color: #888;
  white-space: nowrap;
}

.ct .ct-select__item-icon {
  margin-right: 8px;
}

.ct .ct-select__item {
  display: flex;
  align-items: center;
  padding: 12px 20px;
  color: var(--ct-text);
  white-space: nowrap;
  cursor: pointer;
}

.ct .ct-select__item:hover {
  background: var(--ct-soft);
}

.ct .ct-select-card .ct-select__dropdown {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  width: min(520px, 90vw);
  padding: 12px;
}

.ct .ct-select-card .ct-select__item {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
  padding: 12px;
  border: 1px solid var(--ct-border);
  border-radius: 14px;
  white-space: normal;
}

.ct .ct-select-card .ct-select__item.ct-select__item_selected {
  border-color: var(--ct-green);
  background: var(--ct-soft);
  box-shadow: 0 0 0 1px var(--ct-green);
}

.ct .ct-select__item-image {
  display: block;
  width: 100%;
  height: 86px;
  object-fit: contain;
}

.ct .ct-select__item-label {
  text-align: center;
}

.ct .ct-select__item-price,
.ct .ct-total,
.ct .ct-results strong {
  color: var(--ct-green);
}

.ct .ct-namephone {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.ct .ct-results {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  padding-block: 8px;
}

.ct .ct-results__label,
.ct .ct-results strong {
  display: block;
}

.ct .ct-results__label {
  margin-bottom: 8px;
  color: var(--ct-text);
}

.ct .ct-oldtotal {
  color: #888;
  text-decoration: line-through;
}

.ct .ct-results__desc {
  grid-column: 1 / -1;
  color: #888;
}

.ct .ct-comment {
  margin-top: 0;
}

.ct textarea.ct-input {
  display: block;
  min-height: 150px;
  height: 150px;
  padding: 15px;
  border-radius: 20px;
  resize: vertical;
}

.ct .ct-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  margin-top: 28px;
}

.ct .ct-layout > .ct-actions {
  grid-column: 1 / -1;
  margin-top: 0;
}

.ct .ct-btn {
  min-width: 250px;
  border-radius: var(--btn-accented-brd-radius, 35px);
  color: var(--btn-accented-color, #fff);
  background-color: var(--btn-accented-bgcolor, var(--wd-alternative-color, #fc5c23));
  box-shadow: var(--btn-accented-box-shadow, none);
  text-transform: var(--btn-accented-transform, var(--btn-transform, none));
  font-weight: var(--btn-accented-font-weight, var(--btn-font-weight, 600));
  font-family: var(--btn-accented-font-family, var(--btn-font-family, inherit));
  padding: var(--btn-accented-padding, var(--btn-padding, 5px 20px));
  min-height: var(--btn-accented-height, var(--btn-height, 42px));
}

.ct .ct-btn:hover {
  color: var(--btn-accented-color-hover, var(--btn-accented-color, #fff));
  background-color: var(--btn-accented-bgcolor-hover, var(--btn-accented-bgcolor, var(--wd-alternative-color, #fc5c23)));
  box-shadow: var(--btn-accented-box-shadow-hover, var(--btn-accented-box-shadow, none));
}

.ct .ct-message {
  flex: 0 0 100%;
  padding-top: 15px;
  text-align: right;
}

.ct :is(.ct-input, .ct-select__btn, .ct-link, .ct-field__remove, .ct-btn):focus-visible {
  outline: 2px solid var(--ct-green);
  outline-offset: 3px;
}

.ct-hidden {
  display: none !important;
}

.ct-visible {
  visibility: visible !important;
}

.ui-menu {
  z-index: 999;
  float: left;
  padding: 8px 0;
  border: 1px solid var(--brdcolor-gray-300, #ddd);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 14px 40px rgb(0 0 0 / 12%);
}

.ui-menu-item {
  padding: 9px 16px;
  list-style: none;
  cursor: pointer;
}

.ui-menu-item:hover {
  background: var(--bgcolor-gray-100, #f3f3f3);
}

.ui-calc-label,
.ui-calc-value {
  display: block;
  font-weight: 400;
}

.ui-calc-label {
  color: #343434;
}

.ui-calc-value {
  color: #6b6b6b;
}

@media(max-width:900px){.ct .ct-layout{grid-template-columns:1fr}.ct .ct-map{height:360px!important;min-height:360px}.ct .ct-inner{width:100%}}

@media(max-width:560px){.ct .ct-field-point>.ct-field__row:first-child{gap:10px}.ct .ct-addpoint-wrapper{align-items:flex-start;flex-direction:column}.ct .ct-addpoint-wrapper__col:last-child{justify-content:flex-start}.ct .ct-namephone,.ct .ct-results{grid-template-columns:1fr}.ct .ct-results__desc{grid-column:1}.ct .ct-select-card .ct-select__dropdown{grid-template-columns:1fr}.ct .ct-actions{justify-content:stretch}.ct .ct-btn{width:100%;min-width:0}}
