.choices__inner{
    background-color: transparent !important;
    border: 1px solid #DCDEDF !important;
    border-radius: 4px !important;
}
h6{
    font-weight: 500;
}
#thermo-calc-wrap, h2, h3, h4, h6 {
  color: #000; /* Чёрный текст */
  font-family: inter tight; /* Шрифт от темы/Elementor */
  font-size: inherit;
  line-height: inherit;
}

/* Общие элементы */
#thermo-calc-wrap select,
#thermo-calc-wrap input,
#thermo-calc-wrap button {
  font-family: inherit;
  font-size: inherit;
  color: #000;
  background-color: #fff;
}

/* Блоки деталей и расчёта */
.calc-block span,
.details-block span {
  display: inline-block;
  padding: 0.25em 0.5em;
  border-radius: 4px;
}

/* Выпадающий список */
.thermo-select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-color: #fff;
  color: #111;
  border: 1px solid #ccc;
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 16px;
  font-family: inherit;
  width: 100%;
  max-width: 400px;
  box-sizing: border-box;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 140 140' xmlns='http://www.w3.org/2000/svg'%3E%3Cpolyline points='20,50 70,100 120,50' stroke='%23333' stroke-width='20' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 1rem;
}

.thermo-select:focus {
  outline: none;
  border-color: #888;
  box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.1);
}

/* Опции внутри селекта */
.thermo-select option {
  font-size: 16px;
  padding: 5px;
  color: #000;
  background-color: #fff;
}

#thermo-calc-inner {
}

#calc-right {
    width: 80%;
}

#calc-left img {
  width: 100%;
  height: 445px;
  object-fit: contain;
}

#product-list {
  grid-column: 1 / span 2;
  margin-top: 2rem;
  border-top: 1px solid #eee;
  padding-top: 1rem;
}

.product-item {
  position: relative;
  padding: 1rem 0;
  border-bottom: 1px solid #f0f0f0;
}
.product-density-length {
  display: flex;
  justify-content: space-between;
}
.product-item button.delete-btn {
  background: none;
  border: none;
  cursor: pointer;
  position: absolute;
  right: 0;
  bottom: 1rem;
}

input.error, textarea.error {
  border: 2px solid red !important;
  background-color: #ffeaea;
}

#calc-form {
    grid-column: 1 / span 2;
    width: 100%;
    padding: 60px 360px;
    background-color:var(--e-global-color-text);
}
#calc-form h2 {
    color: #fff;
    text-align: center;
    line-height: 1;
    padding-bottom: 40px;
}
#calc-form #user-message{
    background-color: #fff
}
#calc-form .form-fields {
    display: flex;
    flex-direction: column;
    background-color: #F8F8F8;
    padding: 20px 20px 0px 20px;
    gap: 20px;
    border: 1px solid #DCDEDF;
    border-radius: 4px;
}
#calc-form .form-fields input, textarea {
    border: 1px solid #DCDEDF;
    border-radius: 4px;
}
#calc-form button#send-request {
    font-weight: 600;
    color: #fff;
    background-color: var(--e-global-color-secondary);
    border-radius: 4px;
    padding: 16px 20px;
}
#calc-form button#send-request {
  font-weight: 600;
  color: #fff;
  background-color: var(--e-global-color-secondary);
  border-radius: 4px;
  padding: 16px 20px;
}

@media screen and (max-width: 768px) {
  #calc-form {
    padding: 30px 20px;
  }

  #calc-left img {
    height: auto;
  }

  #calc-right {
    width: 100%;
  }
  
  #calc-left, #calc-right{
    padding: 0 10px;
  }

  .thermo-select {
    max-width: 100%;
  }

  #product-list {
    grid-column: auto;
  }

  .product-density-length {
    flex-direction: column;
    gap: 5px;
  }

  #calc-form h2 {
    font-size: 28px;
    padding-bottom: 20px;
  }
}
@media (max-width: 1024px) and (min-width: 768px) {
  #calc-form{
    padding: 60px 120px;
  }
}