.hero-media {
  position: absolute;
  inset: 0;
  display: block;
}

.hero-media .hero-image {
  inset: 0;
}

.products {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.product {
  display: flex;
  flex-direction: column;
}

.product > p {
  min-height: 82px;
}

.product .card-colors {
  min-height: 59px;
  align-content: flex-start;
}

.product .price-from {
  min-height: 42px;
  margin-top: 0;
}

.product .chips {
  min-height: 48px;
  align-content: flex-start;
}

.product .chips button {
  min-width: 36px;
  padding: 7px 9px;
  border: 1px solid #bbb7;
  background: transparent;
  color: inherit;
  font: 700 11px Manrope, Arial, sans-serif;
  cursor: pointer;
  transition: background-color .18s ease, border-color .18s ease, color .18s ease;
}

.product .chips button:hover,
.product .chips button:focus-visible {
  border-color: var(--yellow);
}

.product .chips button.active {
  border-color: var(--yellow);
  background: var(--yellow);
  color: #111;
}

.product .details {
  flex: 0 0 52px;
  margin-top: auto;
}

.hint-mobile {
  display: none;
}

.modal.single-color .price-table th:nth-child(3),
.modal.single-color .price-table td:nth-child(3) {
  display: none;
}

@media (max-width: 1300px) {
  .products {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 1000px) {
  .products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 650px) {
  .products {
    grid-template-columns: 1fr;
  }

  .hint-desktop {
    display: none;
  }

  .hint-mobile {
    display: inline;
  }

  .product > p,
  .product .card-colors,
  .product .price-from,
  .product .chips {
    min-height: 0;
  }
}
