/* Custome Calkulator module */
.xs-custome-calkulator,
.xs-custome-calkulator * {
  box-sizing: border-box
}



.xs-custome-calkulator {
  --xs-calc-bg: #f3f0ea;
  --xs-calc-card: #fff;
  --xs-calc-text: #1d1d1f;
  --xs-calc-muted: #6f6f76;
  --xs-calc-border: #ded8cf;
  --xs-calc-border-strong: #cfc6ba;
  --xs-calc-dark: #3f3f43;
  --xs-calc-orange: #ff8a00;
  --xs-calc-orange-dark: #e77900;
  --xs-calc-blue: #5b8fbd;
  --xs-calc-error: #c93626;
  --xs-calc-success: #268b52;
  width: 100%;
  color: var(--xs-calc-text);
  font-family: inherit;
  margin-top: 50px;
}

.xs-custome-calkulator__inner {
  width: min(100%, 760px);
  padding: 28px;
  border: 1px solid var(--xs-calc-border);
  border-radius: 24px;
  background: var(--xs-calc-bg);
  box-shadow: 0 20px 45px rgba(0, 0, 0, .08);
  overflow: hidden
}

.xs-custome-calkulator__step[hidden],
.xs-custome-calkulator__panel[hidden],
.xs-custome-calkulator__success[hidden] {
  display: none !important
}

.xs-custome-calkulator__step {
  animation: xsCalcStepIn .18s ease-out
}

.xs-custome-calkulator__tabs {
  display: inline-flex;
  gap: 8px;
  padding: 4px;
  margin: 0 0 24px;
  border-radius: 999px;
  background: rgba(63, 63, 67, .1)
}

.xs-custome-calkulator__tab {
  min-width: 132px;
  padding: 12px 22px;
  border: 0;
  border-radius: 999px;
  background: var(--xs-calc-dark);
  color: #fff;
  font: inherit;
  font-weight: 700;
  line-height: 1.1;
  cursor: pointer;
  transition: background .2s ease, color .2s ease, box-shadow .2s ease
}

.xs-custome-calkulator__tab.is-active {
  background: #fff;
  color: var(--xs-calc-text);
  box-shadow: 0 8px 20px rgba(0, 0, 0, .08)
}

.xs-custome-calkulator__title {
  margin: 0 0 24px;
  color: var(--xs-calc-text);
  font-size: clamp(26px, 4vw, 42px);
  font-weight: 800;
  line-height: 1.1
}

.xs-custome-calkulator__grid,
.xs-custome-calkulator__contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 22px
}

.xs-custome-calkulator__field,
.xs-custome-calkulator__range-field,
.xs-custome-calkulator__upload,
.xs-custome-calkulator__extra,
.xs-custome-calkulator__agree,
.xs-custome-calkulator__success {
  display: block;
  padding: 18px;
  border: 1px solid var(--xs-calc-border);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(63, 63, 67, .05)
}

.xs-custome-calkulator__label,
.xs-custome-calkulator__extra-title,
.xs-custome-calkulator__upload-title {
  display: block;
  margin: 0 0 10px;
  color: var(--xs-calc-text);
  font-size: 16px;
  font-weight: 800;
  line-height: 1.25
}

.xs-custome-calkulator__select,
.xs-custome-calkulator__input {
  display: block;
  width: 100%;
  min-height: 52px;
  padding: 0 16px;
  border: 1px solid var(--xs-calc-border-strong);
  border-radius: 14px;
  background-color: #fff;
  color: var(--xs-calc-text);
  font: inherit;
  font-size: 15px;
  font-weight: 600;
  line-height: 52px;
  outline: 0;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .8), 0 7px 18px rgba(63, 63, 67, .06);
  transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease
}

.xs-custome-calkulator__select {
  padding-right: 48px;
  background-image: linear-gradient(45deg, transparent 50%, var(--xs-calc-dark) 50%), linear-gradient(135deg, var(--xs-calc-dark) 50%, transparent 50%);
  background-position: calc(100% - 23px) 23px, calc(100% - 16px) 23px;
  background-size: 7px 7px, 7px 7px;
  background-repeat: no-repeat;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  cursor: pointer
}

.xs-custome-calkulator__select::-ms-expand {
  display: none
}

.xs-custome-calkulator__select:hover,
.xs-custome-calkulator__input:hover {
  border-color: #bdb2a4;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .8), 0 10px 22px rgba(63, 63, 67, .09)
}

.xs-custome-calkulator__select:focus,
.xs-custome-calkulator__input:focus {
  border-color: var(--xs-calc-orange);
  box-shadow: 0 0 0 3px rgba(255, 138, 0, .18), 0 10px 24px rgba(63, 63, 67, .08)
}

.xs-custome-calkulator__range-field {
  margin-bottom: 22px
}

.xs-custome-calkulator__range-head,
.xs-custome-calkulator__range-scale {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px
}

.xs-custome-calkulator__range-value {
  display: inline-flex;
  min-width: 74px;
  justify-content: center;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--xs-calc-dark);
  color: #fff !important;
  font-size: 16px
}

.xs-custome-calkulator__range {
  --xs-calc-range-progress: 0%;
  display: block;
  width: 100%;
  height: 30px;
  margin: 8px 0 6px;
  background: transparent;
  outline: 0;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none
}

.xs-custome-calkulator__range::-webkit-slider-runnable-track {
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--xs-calc-orange) 0%, var(--xs-calc-orange) var(--xs-calc-range-progress), #fff var(--xs-calc-range-progress), #fff 100%);
  border: 1px solid var(--xs-calc-border-strong);
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, .08)
}

.xs-custome-calkulator__range::-moz-range-track {
  height: 8px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--xs-calc-border-strong);
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, .08)
}

.xs-custome-calkulator__range::-moz-range-progress {
  height: 8px;
  border-radius: 999px;
  background: var(--xs-calc-orange)
}

.xs-custome-calkulator__range::-webkit-slider-thumb {
  width: 22px;
  height: 22px;
  margin-top: -8px;
  border: 3px solid #fff;
  border-radius: 50%;
  background: var(--xs-calc-orange);
  box-shadow: 0 4px 12px rgba(255, 138, 0, .35);
  appearance: none;
  -webkit-appearance: none
}

.xs-custome-calkulator__range::-moz-range-thumb {
  width: 18px;
  height: 18px;
  border: 3px solid #fff;
  border-radius: 50%;
  background: var(--xs-calc-orange);
  box-shadow: 0 4px 12px rgba(255, 138, 0, .35)
}

.xs-custome-calkulator__range-scale {
  color: var(--xs-calc-muted);
  font-size: 13px
}

.xs-custome-calkulator__extra {
  margin-bottom: 24px
}

.xs-custome-calkulator__checks {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px
}

.xs-custome-calkulator__checks label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 34px;
  cursor: pointer;
  color: var(--xs-calc-text);
  font-size: 15px
}

.xs-custome-calkulator__checks input {
  width: 18px;
  height: 18px;
  margin: 0;
  accent-color: var(--xs-calc-orange)
}

.xs-custome-calkulator__submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 58px;
  padding: 0 34px;
  border: 0;
  border-radius: 999px;
  background: var(--xs-calc-orange);
  color: #fff;
  font: inherit;
  font-size: 15px;
  font-weight: 900;
  line-height: 1.2;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: .04em;
  cursor: pointer;
  transition: background .2s ease, transform .2s ease, box-shadow .2s ease;
  box-shadow: 0 12px 24px rgba(255, 138, 0, .25)
}

.xs-custome-calkulator__submit:hover {
  background: var(--xs-calc-orange-dark);
  transform: translateY(-1px)
}

.xs-custome-calkulator__upload {
  margin-bottom: 22px;
  text-align: center
}

.xs-custome-calkulator__upload-title {
  font-size: 20px
}

.xs-custome-calkulator__upload-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 28px;
  margin: 8px 0 10px;
  border-radius: 999px;
  background: var(--xs-calc-blue);
  color: #fff;
  font-weight: 800;
  cursor: pointer;
  transition: .2s
}

.xs-custome-calkulator__upload-btn:hover {
  filter: brightness(.93)
}

.xs-custome-calkulator__upload-btn input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none
}

.xs-custome-calkulator__upload-note,
.xs-custome-calkulator__file-list {
  color: var(--xs-calc-muted);
  font-size: 13px;
  line-height: 1.45
}

.xs-custome-calkulator__file-list {
  max-width: 520px;
  margin: 10px auto 0;
  text-align: left
}

.xs-custome-calkulator__file-item {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis
}

.xs-custome-calkulator__file-warning {
  color: var(--xs-calc-error);
  font-weight: 700
}

.xs-custome-calkulator__back {
  display: inline-flex;
  align-items: center;
  margin: 0 0 18px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--xs-calc-dark);
  font: inherit;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer
}

.xs-custome-calkulator__back:hover {
  color: var(--xs-calc-orange)
}

.xs-custome-calkulator__agree {
  display: flex;
  gap: 10px;
  margin: 0 0 16px;
  color: var(--xs-calc-muted);
  font-size: 12px;
  line-height: 1.35;
  cursor: pointer
}

.xs-custome-calkulator__agree input {
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
  margin-top: 1px;
  accent-color: var(--xs-calc-orange)
}

.xs-custome-calkulator__error {
  min-height: 20px;
  margin-bottom: 12px;
  color: var(--xs-calc-error);
  font-size: 13px;
  font-weight: 700
}

.xs-custome-calkulator__success-title {
  margin-bottom: 10px;
  color: var(--xs-calc-success);
  font-size: 28px;
  font-weight: 900
}

.xs-custome-calkulator__success p {
  margin: 0 0 20px;
  color: var(--xs-calc-text);
  line-height: 1.45
}

.xs-custome-calkulator__submit.is-loading,.xs-custome-calkulator__submit:disabled{opacity:.72;cursor:wait;transform:none;filter:grayscale(.1)}@keyframes xsCalcStepIn {
  from {
    opacity: .25;
    transform: translateX(10px)
  }

  to {
    opacity: 1;
    transform: translateX(0)
  }
}

@media(max-width:640px) {
  .xs-custome-calkulator__inner {
    padding: 18px;
    border-radius: 18px
  }

  .xs-custome-calkulator__tabs {
    display: flex;
    width: 100%
  }

  .xs-custome-calkulator__tab {
    flex: 1 1 0;
    min-width: 0;
    padding: 11px 12px;
    font-size: 13px
  }

  .xs-custome-calkulator__grid,
  .xs-custome-calkulator__contact-grid {
    grid-template-columns: 1fr;
    gap: 12px
  }

  .xs-custome-calkulator__field,
  .xs-custome-calkulator__range-field,
  .xs-custome-calkulator__upload,
  .xs-custome-calkulator__extra,
  .xs-custome-calkulator__agree,
  .xs-custome-calkulator__success {
    padding: 14px;
    border-radius: 14px
  }

  .xs-custome-calkulator__select {
    min-height: 50px;
    line-height: 50px;
    background-position: calc(100% - 23px) 22px, calc(100% - 16px) 22px
  }

  .xs-custome-calkulator__checks {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px
  }

  .xs-custome-calkulator__submit {
    width: 100%;
    padding: 0 18px
  }
}