#calculator-block .calc_title {
  font-weight: 500;
  font-size: 40px;
  line-height: 120%;
  color: #ffffff;
  margin-bottom: 30px;
}
#calculator-block .calc_form {
  display: flex;
  flex-direction: row;
  align-items: flex-end;
  gap: 20px;
  flex-wrap: wrap;
}
#calculator-block .calc_field {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
#calculator-block .calc_label {
  font-family: "Manrope";
  font-size: 14px;
  line-height: 135%;
  color: #9c9c9c;
}
#calculator-block .calc_select {
  padding: 20px;
  min-width: 160px;
  height: 62px;
  background: #181818;
  border: 2px solid #2b2b2b;
  border-radius: 50px;
  font-family: "Manrope";
  font-size: 16px;
  line-height: 135%;
  color: #ffffff;
  box-sizing: border-box;
}
#calculator-block .calc_submit {
  height: 62px;
  padding: 0 30px;
}
#calculator-block .calc_message {
  font-family: "Manrope";
  font-size: 14px;
  line-height: 135%;
  color: #9c9c9c;
  margin-top: 20px;
}
#calculator-block .calc_message.error {
  color: #e57373;
}
#calculator-block .calc_results {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  column-gap: 30px;
  row-gap: 30px;
  margin-top: 30px;
}
#calculator-block .calc_results:empty {
  margin-top: 0;
}

/* Карточка результата переиспользует theme_render_bed_card() из beds-block,
   но собственный набор карточек здесь скрыт (.calc_pool) и клонируется в .calc_results —
   стили карточки продублированы под #calculator-block, т.к. в beds-block они заскоуплены на #beds-block. */
#calculator-block .bed_card,
#calculator-block .bed {
  background: var(--color_b2);
}
#calculator-block .bed_img {
  height: 270px;
  width: 100%;
  object-fit: cover;
}
#calculator-block .bed_info_container {
  padding: 20px;
  height: 100%;
  display: flex;
  justify-content: space-between;
  flex-direction: column;
  background: var(--color_b2);
}
#calculator-block .bed_decr {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 400;
  font-size: 14px;
  line-height: 135%;
  color: var(--color_text);
}
#calculator-block .bed_name {
  font-weight: 500;
  font-size: 16px;
  line-height: 20px;
  color: #ffffff;
}
#calculator-block .bed_hard {
  font-weight: 500;
  font-size: 12px;
  line-height: 20px;
  color: #ffffff;
  white-space: nowrap;
}
#calculator-block .hard_holder {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin-left: 10px;
}
#calculator-block .hard_visual {
  width: 100%;
  background: var(--color_b2);
}
#calculator-block .hard_background {
  border: 1px solid #ffffff;
}
#calculator-block .bed_hard::before {
  content: "Жесткость ";
  font-family: "Manrope";
  font-size: 12px;
  line-height: 135%;
  color: var(--color_text);
}
#calculator-block .bed_hard::after {
  content: " из 10";
  font-family: "Manrope";
  font-size: 12px;
  line-height: 135%;
  color: #ffffff;
}
#calculator-block .bed_hard_text {
  font-weight: 400;
  font-size: 12px;
  line-height: 135%;
  color: var(--color_text);
  white-space: nowrap;
}
#calculator-block .bed_mid_top_holder {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}
#calculator-block .btn_bed {
  background: #ffffff;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  cursor: pointer;
  align-items: center;
}
#calculator-block .btn_bed * {
  pointer-events: none;
}
#calculator-block .bed_bottom_holder {
  display: flex;
  padding-top: 10px;
  padding-bottom: 10px;
  margin-top: 20px;
  justify-content: space-between;
  align-items: center;
  border-bottom: solid var(--color_b2) 1px;
  border-top: solid var(--color_b2) 1px;
}
#calculator-block .cost_holder {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
}
#calculator-block .bed_cost_old {
  font-family: "FoglihtenNo06";
  font-weight: 500;
  font-size: 16px;
  line-height: 20px;
  text-decoration-line: line-through;
  color: var(--color_text);
}
#calculator-block .bed_cost_new {
  font-family: "FoglihtenNo06";
  font-weight: 500;
  font-size: 20px;
  line-height: 25px;
  color: #ffffff;
}
#calculator-block .btn_quick_order {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 10px;
  padding: 14px;
  font-family: "Manrope";
  font-size: 14px;
  line-height: 135%;
  color: #ffffff;
  border: 1px solid var(--color_border);
  border-radius: 50px;
  cursor: pointer;
  text-align: center;
}
#calculator-block .btn_quick_order:hover {
  background: #ffffff;
  color: var(--color_b1_1);
}

@media (max-width: 1200px) {
  #calculator-block .calc_results {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 900px) {
  #calculator-block .calc_form {
    flex-direction: column;
    align-items: stretch;
  }
  #calculator-block .calc_select,
  #calculator-block .calc_submit {
    width: 100%;
  }
}
@media (max-width: 600px) {
  #calculator-block .calc_results {
    grid-template-columns: 1fr;
  }
  #calculator-block .calc_title {
    font-size: 32px;
  }
}
