.catalog {
  margin: 70px 0;
}

.catalog__container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0px 15px;
}

.catalog__title {
  margin-bottom: 30px;
}

.catalog__body {
  display: flex;
  flex-wrap: wrap;
  gap: 25px;
}

.catalog__item {
  flex: 0 1 calc(33.333% - 17px);
  /* border-radius: 10px; */
  cursor: pointer;
  transition: transform 0.3s;
}

@media (max-width: 992px) {
  .catalog__item {
    flex: 0 1 100%;
  }

  .catalog {
    margin-bottom: 0px;
  }
}

.catalog__item:hover .catalog__button {
  opacity: 1;
  visibility: visible;
}

.catalog__item:hover .catalog__image::before {
  opacity: 0.2;
}

.catalog__image {
  position: relative;
  width: 100%;
  padding-top: 56.25%; /* 16:9 */
  overflow: hidden;
}

.catalog__image img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* border-radius: 10px 10px 0 0; */
}

.catalog__image::before {
  content: '';
  position: absolute;
  inset: 0;
  background-color: #1d1e20;
  opacity: 0;
  transition: opacity 0.3s;
}

.catalog__content {
  background-color: #fff;
  padding: 20px 10px;
  /* border-radius: 0 0 10px 10px; */
}

.catalog__name {
  font-size: 32px;
  font-weight: 400;
  line-height: 100%;
  margin-bottom: 10px;
}

@media (max-width: 767px) {
  .catalog__name {
    font-size: 26px;
  }
}

.catalog__type {
  font-weight: 300;
  font-size: 15px;
  margin-bottom: 20px;
}

.catalog__values {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
}

.catalog__value {
  display: flex;
  gap: 5px;
  font-size: 16px;
}

.catalog__value span {
  color: #f5b754;
}

@media (max-width: 767px) {
  .catalog__value {
    font-size: 14px;
  }
}

.catalog__icon {
  width: 35px;
  margin-bottom: 5px;
}

.catalog__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

@media (max-width: 767px) {
  .catalog__bottom {
    flex-direction: column;
    gap: 10px;
  }
}

.catalog__top {
  display: flex;
  justify-content: space-between;
}

.catalog__price {
  font-size: 18px;
  font-weight: 500;
  line-height: 120%;
  text-transform: uppercase;
  color: #f5b754;
}

.catalog__button {
  width: 250px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--text-dark);
  color: #fff;
  /* opacity: 1; */
  /* visibility: hidden; */
  transition: all 0.3s;
}

.catalog__button:hover {
  opacity: 0.7;
  background-color: var(--extra-light);
  color: #1d1e20;
}

@media (max-width: 1360px) {
  .catalog__button {
    width: 220px;
    opacity: 1;
    visibility: visible;
  }
}

@media (max-width: 767px) {
  .catalog__button {
    width: 100%;
  }
}

.catalog__link {
  color: #1d1e20;
}

.catalog__link img {
  width: 20px;
}
