.glazing-types__wrapper {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 30px;
}
.glazing-types__item {
  background: #ccc;
  height: 316px;
  border-radius: 12px;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  display: none;
}
.glazing-types__item:nth-child(-n+6) {
  display: block;
}
.glazing-types__img {
  position: relative;
  height: 100%;
}
.glazing-types__img img {
  height: 100%;
  width: 100%;
  object-fit: cover;
}
.glazing-types__img:after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(360deg, rgba(35, 31, 32, 0.8) 26.12%, rgba(35, 31, 32, 0) 67.67%);
}
.glazing-types__item:hover .glazing-types__img::after {
  opacity: 0.8;
  background: #3aad81;
}
.glazing-types__title {
  font-size: clamp(1rem, 0.9rem + 0.5vw, 1.5rem);
  font-weight: 700;
  line-height: 1.3;
  color: #fff;
  position: absolute;
  bottom: 0px;
  width: 100%;
  padding: 32px;
  display: flex;
  align-items: end;
  justify-content: space-between;
}
.glazing-types__title-text {
  max-width: 80%;
}
.glazing-types__title-icon {
  background-image: url(/img/blocks/glazing-types/arrow.svg);
  height: 15px;
  width: 9px;
  margin-bottom: 3px;
}
.glazing-types__btn {
  display: flex;
  justify-content: center;
}
@media (max-width: 768px) {
  .glazing-types__wrapper {
    grid-template-columns: repeat(1, minmax(0, 1fr));
  }
}
