.cases_list {
  display: flex;
  flex-wrap: wrap;
  --gap: 2.4rem;
  gap: var(--gap);
  --elems: 3;
}

.case_item {
  display: flex;
  flex-direction: column;
  width: calc((100% - var(--gap) * (var(--elems) - 1)) / var(--elems));
}

.case_item_pic {
  position: relative;
  aspect-ratio: 1;
}

.case_item_title {
  top: 0;
  padding: 1.4rem 0;
  font-weight: 700;
  line-height: 120%;
  font-size: 1.8rem;
  text-align: center;
}

.case_item_pic img {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.case_item_title,
.case_item_prices {
  position: absolute;
  text-transform: uppercase;
  z-index: 2;
  left: 0;
  right: 0;
  color: #fff;
  background-color: #303030aa;
}

.case_item_prices {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  line-height: 120%;
  font-size: 2rem;
  bottom: 0;
  padding: 1.4rem 1.8rem;
}

.case_item_prices_left {
  font-size: 1.6rem;
  font-weight: 700;
  display: flex;
  flex-direction: column;
  line-height: 100%;
  gap: 0.9rem;
}

.case_item_price_total span {
  font-size: 2.4rem;
}

.case_item_prices_right {
  display: flex;
  font-weight: 700;
  gap: 0.6rem;
}

.case_item_price_old {
  white-space: nowrap;
  font-size: 1.6rem;
  opacity: 0.5;
  position: absolute;
  bottom: 100%;
  right: 0;
  text-decoration: line-through;
  transform: translateY(0.2rem);
}

.case_item_price_suffix {
  font-size: 1.4rem;
  transform: translateY(0.2rem);
}

.case_item_price_list {
  position: relative;
}

.case_item_btns {
  margin-top: 1.8rem;
  display: flex;
  gap: 1rem;
}

.case_item_btns .btn {
  width: 100%;
  aspect-ratio: 4/1;
  border-radius: 0;
  border: 2px solid #303030;
  color: #303030;
  transition: 0.3s;
  padding: 0;
  font-size: 1.6rem;
}

.case_item_btns .btn:hover {
  opacity: 1;
  background-color: #303030;
  color: #fff;
}

.case_item_btns > :last-child {
  background-color: #303030;
  color: #fff;
}

@media (min-width: 699.5px) {
  .case_item_price_list {
    transform: translateY(0.3rem);
  }
}

.case_item_price_list span span {
  font-size: 1.35rem;
}

.case_item_prices_right.centered_price {
  margin-top: auto;
  margin-bottom: auto;
}

.case_item_info {
  flex-grow: 1;
  margin-top: 1.8rem;
}

.case_item_info ul {
  margin: 0;
  list-style: none;
  font-size: 2rem;
  display: flex;
  gap: 1rem;
  flex-direction: column;
  padding: 0 0 0 1.4rem;
}

.row_icon {
  --s: 2.4rem;
  width: var(--s);
  min-width: var(--s);
  height: var(--s);
}

.row_icon svg {
  width: 100%;
  height: 100%;
}

.case_item_info ul li {
  display: flex;
  gap: 1rem;
}

.case_item_info_ld {
  font-size: 1.8rem;
  color: #303030b0;
  position: relative;
  padding-left: 1.4rem;
  margin: 1.8rem 0 0 1.4rem;
}

.case_item_info_ld:before {
  content: "*";
  top: 0;
  left: 0;
  line-height: 1;
  font-size: 2.4rem;
  position: absolute;
}

@media (max-width: 699px) {
  .cases_list {
    --elems: 1;
    gap: 24px;
  }

  .case_item_price_total {
    line-height: 110%;
  }

  .case_item_price_old {
    line-height: 170%;
  }

  .case_item_price_total span {
    font-size: 18px;
  }

  .case_item_prices_left {
    gap: 4px;
  }

  .case_item_price_list span span {
    font-size: 10px;
  }

  .case_item_price_old {
    font-size: 12px;
  }

  .case_item_price_new {
    line-height: 1;
    display: block;
  }

  .case_item_prices_left {
    font-size: 12px;
  }

  .case_item_prices {
    padding: 8px;
    font-size: 14px;
  }

  .case_item_info ul {
    gap: 12px;
  }

  .case_item_btns,
  .case_item_info {
    margin-top: 16px;
  }

  .case_item_btns {
    flex-direction: column;
    gap: 8px;
  }

  .case_item_btns .btn {
    height: 44px;
    font-size: 12px;
  }

  .case_item_info_ld {
    padding-left: 10px;
    font-size: 14px;
    line-height: 120%;
    margin-left: 12px;
    margin-top: 14px;
  }

  .case_item_info_ld:before {
    font-size: 18px;
  }

  .row_icon {
    --s: 16px;
  }

  .case_item_info ul {
    font-size: 14px;
    padding-left: 10px;
  }

  .case_item_title {
    padding: 8px 0;
    font-size: 16px;
  }
}
