body .colors-list__item {
  cursor: pointer;
  border: 0;
}

.product-card-top .colors-list__item::after,
.catalog-card__colors .colors-list__item::after {
  background-color: currentColor;
  background-image: var(--zerts-swatch-image, none);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.product-card-top__buttons .button {
  text-align: center;
}

body .product-card-gallery {
  display: flex;
  width: 1161px;
  max-width: 100%;
  gap: 10px;
  align-items: flex-start;
  margin-top: 30px;
}

body .product-card-gallery__main-image,
body .product-card-gallery__image {
  display: block;
  background: #f5f7f9;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  border-radius: var(--border-radius);
  overflow: hidden;
}

body .product-card-gallery__main-image {
  flex: 0 0 469px;
  width: 469px;
  height: 470px;
}

body .product-card-gallery__other {
  display: flex;
  flex-wrap: wrap;
  flex: 0 0 682px;
  width: 682px;
  gap: 10px;
  min-width: 0;
}

body .product-card-gallery__image:nth-child(1) {
  width: 359px;
  height: 224px;
}

body .product-card-gallery__image:nth-child(2) {
  width: 313px;
  height: 224px;
}

body .product-card-gallery__image:nth-child(3) {
  width: 309px;
  height: 232px;
}

body .product-card-gallery__image:nth-child(4) {
  width: 174px;
  height: 232px;
}

body .product-card-gallery__image:nth-child(5) {
  width: 173px;
  height: 232px;
}

@media (max-width: 1199px) {
  body .product-card-gallery {
    flex-wrap: wrap;
    width: 100%;
  }

  body .product-card-gallery__main-image {
    flex-basis: min(469px, 100%);
    width: min(469px, 100%);
    height: auto;
    aspect-ratio: 469 / 470;
  }

  body .product-card-gallery__other {
    flex-basis: min(682px, 100%);
    width: min(682px, 100%);
  }
}

@media (max-width: 767px) {
  body .product-card-gallery__other {
    display: grid;
    grid-template-columns: 1fr;
  }

  body .product-card-gallery__image,
  body .product-card-gallery__image:nth-child(n) {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 10;
  }
}

.product-videos-grid iframe,
.product-video img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
  border-radius: inherit;
  object-fit: cover;
  background: #eef3f7;
}

.product-video {
  overflow: hidden;
  padding: 0;
}

.catalog-card__title a,
.catalog-card__slider a {
  color: inherit;
  text-decoration: none;
}

@media (max-width: 767px) {
  .product-card-top__buttons {
    grid-template-columns: 1fr;
  }

  .product-card-top__big-buttons {
    grid-template-columns: 1fr;
  }
}
