.block-prices {
  padding: var(--sp) 0;
}

.block-prices__title {
  margin-bottom: 45px;
}

.block-prices__item {
  position: relative;
  width: calc(33.33% - 20px);
  border-radius: 5px;
  overflow: hidden;
}

.block-prices__item:hover .block-prices__content.with_link {
  height: 100%;
  max-height: 1000px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.block-prices__item.price_without:not(:hover) .block-prices__content {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.block-prices__item.price_without:not(:hover) .price__item_title {
  margin: 0;
}

.block-prices__item.price_without:not(:hover) .block-prices__readmore {
  margin: 0;
}

.block-prices__item.price_without:hover .block-prices__readmore {
  margin-top: 10px;
}

.block-prices__image {
  width: 100%;
  aspect-ratio: 400/452;
  background: 50%/cover no-repeat;
}

.block-prices__content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px;
  max-height: 110px;
  overflow: hidden;
  background: rgba(74, 74, 74, 0.6);
  -webkit-backdrop-filter: blur(7.5px);
  backdrop-filter: blur(7.5px);
  color: var(--white);
  transition: all 0.5s ease-in-out;
}

.block-prices__item_title {
  font-size: var(--xl);
  line-height: 120%;
  margin-bottom: 10px;
}

.block-prices__cost {
  font-size: var(--l);
  line-height: 120%;
}

.block-prices__readmore {
  margin-top: 35px;
  font-size: var(--m);
  line-height: 22px;
  max-width: -webkit-max-content;
  max-width: -moz-max-content;
  max-width: max-content;
}

.block-prices__readmore a {
  color: var(--white);
  text-decoration: none;
  display: inline-block;
  padding-right: 40px;
  background: no-repeat right url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M16.172 13L4 13V11L16.172 11L10.808 5.63598L12.222 4.22198L20 12L12.222 19.778L10.808 18.364L16.172 13Z' fill='white'/%3E%3C/svg%3E");
}

.block-prices__readmore a:hover {
  color: var(--accent);
  background: no-repeat right url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M16.172 13L4 13V11L16.172 11L10.808 5.63598L12.222 4.22198L20 12L12.222 19.778L10.808 18.364L16.172 13Z' fill='%23fec806'/%3E%3C/svg%3E");
}

.block-prices__slider_action {
  display: none;
}

.block-prices_slider_prev {
  position: static;
  top: auto;
  transform: none;
}

.block-prices_slider_next {
  position: static;
  top: auto;
  transform: none;
}

.block-prices .swiper-button-prev {
  background: rgba(209, 213, 219, 0.3) 50% no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M7.49981 12L14.9998 19.5L16.0498 18.45L9.5998 12L16.0498 5.55L14.9998 4.5L7.49981 12Z' fill='%239CA3AF'/%3E%3C/svg%3E");
}

.block-prices .swiper-button-next {
  background: rgba(209, 213, 219, 0.3) 50% no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M16.5 12L9 4.5L7.95 5.55L14.4 12L7.95 18.45L9 19.5L16.5 12Z' fill='%239CA3AF'/%3E%3C/svg%3E");
}

@media (min-width: 768px) {
  .block-prices__items .swiper-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
  }
}

@media (max-width: 1260px) {
  .block-prices__item {
    width: calc(50% - 10px);
  }
}

@media (max-width: 760px) {
  .block-prices .slider_six {
    overflow: hidden;
  }

  .block-prices .slider_six.swiper-grid-column > .swiper-wrapper {
    height: 600px;
  }

  .block-prices .slider_six .swiper-slide {
    display: flex;
    justify-content: center;
    align-items: center;
    height: calc((100% - 30px) / 3) !important;
  }

  .block-prices .slider_six .block-prices__content {
    padding: 8px;
  }

  .block-prices .slider_six .block-prices__item_title {
    font-size: var(--s);
    margin-bottom: 2px;
  }

  .block-prices .slider_six .block-prices__cost {
    font-size: 10px;
  }

  .block-prices__item {
    width: 100%;
  }

  .block-prices__item:hover .block-prices__readmore {
    display: block;
  }

  .block-prices__readmore {
    display: none;
  }

  .block-prices__slider_action {
    display: flex;
  }
}