.specifications {
  margin-top: 100px;
}

.specifications .title {
  margin-bottom: 25px;
}

.specifications_group + .specifications_group {
  margin-top: 25px;
}

/* в макете у первой группы есть дополнительный отступ сверху и снизу */
.specifications_group:first-of-type {
  padding-block: 4.5px;
}

.specifications_group_title {
  display: flex;
  align-items: center;
  gap: 15px;
  height: 30px;
  margin-bottom: 5px;
  font-weight: 700;
  font-size: 24px;
  line-height: 1.4;
}

.specifications_group_title img {
  width: 30px;
  height: 30px;
  object-fit: none;
  object-position: 0 0;
}

.specifications_columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 40px;
}

@media (max-width: 899px) {
  .specifications_columns {
    grid-template-columns: minmax(0, 1fr);
  }
}

.specifications_list {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.specifications_columns > .specifications_list:empty {
  display: none;
}

.specifications_row {
  display: flex;
  align-items: center;
  height: 30px;
  font-size: 20px;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: -0.03em;
}

.specifications_label {
  white-space: nowrap;
  flex-shrink: 0;
}

.specifications_dots {
  flex: 1;
  min-width: 0;
  height: 3px;
  margin-inline: 25px 20px;
  background-image: radial-gradient(circle, #8c8c8c 0.9px, transparent 1.2px);
  background-repeat: repeat-x;
  background-position: left center;
  background-size: 5.4px 3px;
}

.specifications_value {
  font-weight: 700;
  white-space: nowrap;
  flex-shrink: 0;
}

.specifications .button {
  margin-top: 25px;
}

@media (max-width: 480px) {
  .specifications_row {
    height: auto;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
    padding-block: 10px;
    border-bottom: 1px solid rgba(140, 140, 140, 0.5);
  }

  .specifications_label {
    color: #8c8c8c;
  }

  .specifications_dots {
    display: none;
  }
}

.specifications_more {
  display: none;
}

/* мобильная версия: один столбец, видны три первые группы, остальные раскрываются кнопкой */
@media (max-width: 767px) {
  .specifications {
    margin-top: 40.7px;
  }

  .specifications .title {
    margin-bottom: 19.6px;
  }

  .specifications_group + .specifications_group {
    margin-top: 22.3px;
  }

  .specifications_group:first-of-type {
    padding-block: 0;
  }

  .specifications_group_more {
    display: none;
  }

  .specifications.is_expanded .specifications_group_more {
    display: block;
  }

  .specifications_group_title {
    gap: 7px;
    height: 22px;
    margin-bottom: 7.7px;
    font-size: 16px;
    line-height: 22px;
  }

  .specifications_group_title img {
    width: 20px;
    height: 20px;
    object-fit: contain;
  }

  .specifications_columns {
    display: block;
  }

  .specifications_list {
    gap: 5px;
  }

  .specifications_list + .specifications_list {
    margin-top: 5px;
  }

  .specifications_row {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 0;
    height: auto;
    min-height: 20px;
    padding-block: 0;
    border-bottom: none;
    font-size: 14px;
    line-height: 20px;
  }

  .specifications_label {
    color: inherit;
  }

  /* длинное значение не помещается рядом с подписью и уходит на вторую строку, прижатое вправо */
  .specifications_value {
    margin-left: auto;
    text-align: right;
  }

  .specifications_dots {
    display: block;
    min-width: 10px;
    margin-inline: 15px 13px;
    background-size: 7.5px 3px;
  }

  .specifications_actions {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 22.3px;
  }

  .specifications .button {
    margin-top: 0;
  }

  .specifications_more {
    display: inline-flex;
    width: 150px;
    padding-inline: 0;
  }

  .button_download {
    width: 120px;
    gap: 6px;
    padding-inline: 0;
  }

  .button_download img {
    width: 12px;
    height: 12px;
  }
}
