.page-catalog {
  padding: var(--sp) 0;
}

.page-catalog__container {
  display: flex;
  flex-flow: column;
  gap: 30px;
}

.page-catalog__text {
  max-width: 650px;
  color: #E8E8E8;
  font-size: 20px;
  line-height: 145%;
}

.page-catalog__items {
  overflow: visible !important;
  width: 100%;
}

.page-catalog .item {
  padding: 20px;
  border-radius: var(--10, 10px);
  background: rgba(17, 18, 20, 0.01);
  border: 1px solid var(--gray-900, #262728);
  backdrop-filter: blur(22.5px);
}

.page-catalog .item__title span {
  color: var(--primary);
}

.page-catalog .item__button .btn__text {
  position: relative;
  display: inline-block;
  height: 24px;
}

.page-catalog .item__button .btn__text-copy {
  display: flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
  transition: var(--tr);
}

.page-catalog .item__button .btn__text-copy:after {
  content: "";
  flex: 0 0 auto;
  width: 24px;
  height: 24px;
  background: center/contain no-repeat url("../../img/components/arrow-w.svg");
}

.page-catalog .item__button .btn__text-copy:last-child {
  transform: translateY(40px);
}

.page-catalog.is-style-slider .item {
  position: relative;
  width: 100%;
  max-width: 400px;
  height: 550px;
  padding: 20px;
  border-radius: 20px;
  background: rgba(38, 39, 40, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  flex-flow: column;
  gap: 20px;
  transition: background-color var(--tr);
}

.page-catalog.is-style-slider .item .item__number {
  transition: ease 0.7s;
}

.page-catalog.is-style-slider .item__image {
  position: absolute;
  top: 72px;
  left: 20px;
  z-index: 0;
  width: calc(100% - 40px);
  aspect-ratio: 320/211;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  -o-object-fit: cover;
  object-fit: cover;
  transition: ease 0.7s;
}

.page-catalog.is-style-slider .item__number {
  font: 400 var(--h3)/100% var(--heading-font-family);
  position: absolute;
  top: 20px;
  left: 20px;
  z-index: 1;
  color: var(--gray-800, #2f3031);
}

.page-catalog.is-style-slider .item__title {
  font: 400 var(--h3)/100% var(--heading-font-family);
  position: relative;
  z-index: 1;
  margin-top: auto;
  color: var(--gray-100, #e8e8e8);
  text-transform: uppercase;
}

.page-catalog.is-style-slider .item__page-link {
  font: var(--m)/100% var(--heading-font-family);
  position: relative;
  z-index: 1;
  align-self: flex-start;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 5px;
  color: var(--primary);
  text-transform: uppercase;
  transition: ease 0.7s;
}

.page-catalog.is-style-slider .item__page-link:after {
  content: "";
  flex: 0 0 auto;
  width: 24px;
  height: 24px;
  background: url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M15.3805 10.5002L10.8805 6.00023L13.0018 3.87891L20.0625 10.9396V13.0609L13.0018 20.1215L10.8805 18.0002L15.3805 13.5002H3.50184v-3h11.8787Z' fill='%23FFC122'/%3E%3C/svg%3E") 50%/contain no-repeat;
  transition: var(--tr);
}

.page-catalog.is-style-slider .item._has-button {
  background: var(--primary);
  color: var(--black);
  justify-content: space-between;
}

.page-catalog.is-style-slider .item._has-button .item__image {
  display: none;
}

.page-catalog.is-style-slider .item._has-button .item__number {
  position: static;
  width: 80px;
  height: 80px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 10px;
  background: rgba(17, 18, 20, 0.15);
  color: var(--black, #111214);
}

.page-catalog.is-style-slider .item._has-button .item__inner {
  display: flex;
  flex-flow: column;
  gap: 10px;
}

.page-catalog.is-style-slider .item._has-button .item__title {
  margin-top: initial;
  color: var(--black);
}

.page-catalog.is-style-slider .item._has-button .item__title span {
  color: var(--white);
}

.page-catalog.is-style-slider .item._has-button .item__text {
  font-size: var(--fz-default);
  line-height: 140%;
  color: var(--black);
}

.page-catalog.is-style-slider .item._has-button .item__button {
  font: var(--m)/100% var(--heading-font-family);
  width: 100%;
  height: 60px;
  border-radius: 10px;
}

@media (max-width: 1260px) {
  .page-catalog__container {
    gap: 20px;
  }

  .page-catalog.is-style-slider .item {
    height: 500px;
  }
}

@media (max-width: 760px) {
  .page-catalog.is-style-slider .item {
    height: 480px;
  }

  .page-catalog.is-style-slider .item._has-button .item__number {
    width: 60px;
    height: 60px;
  }
}

@media (max-width: 360px) {
  .page-catalog.is-style-slider .item {
    max-width: 320px;
  }
}

@media (hover: hover) {
  .page-catalog .item__button:hover .btn__text-copy:first-child {
    transform: translate(10px, -40px);
  }

  .page-catalog .item__button:hover .btn__text-copy:last-child {
    transform: translateY(-100%);
  }

  .page-catalog.is-style-slider .item {
    overflow: hidden;
  }

  .page-catalog.is-style-slider .item:hover:not(._has-button) {
    background: rgba(38, 39, 40, 0.7);
  }

  .page-catalog.is-style-slider .item:hover:not(._has-button) .item__image {
    transform: rotate(0) translateX(0);
  }

  .page-catalog.is-style-slider .item:hover:not(._has-button) .item__page-link {
    margin-top: 0;
    margin-bottom: 0;
  }

  .page-catalog.is-style-slider .item:hover:not(._has-button) .item__number {
    color: var(--gray-600, #5f6061);
  }

  .page-catalog.is-style-slider .item__image {
    transform: rotate(-30deg) translate(203px, 187px);
  }

  .page-catalog.is-style-slider .item__page-link {
    margin-top: 24px;
    margin-bottom: -68px;
  }

  .page-catalog.is-style-slider .item._has-button .item__button:hover {
    background: var(--black);
    color: var(--white);
  }

  .page-catalog.is-style-slider .item._has-button .item__button:hover:before {
    transform: translateY(-100%) rotate(45deg);
    background: var(--black);
  }
}