.home-video-slide {
  width: 1180px;
  height: auto;
}
.product-hero__content {
  position: relative;
}
.page__inner {
  min-height: 100%;
}

.block-product__icon {
  position: absolute;
  right: 20px;
  top: auto;
  left: auto;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 15px;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
}

.product-card__favorites {
  order: 2;
  color: #d24a43 !important;
  cursor: pointer;
  width: 42px;
  height: 40px;
}

.product-card__favorites svg {
  /* fill: #d24a43 !important; */
  width: 19px;
  height: 18px;
}

.product-card__favorites:not(.active):hover svg {
  fill: #d24a43 !important;
}

.products__slider--favorites:not(.active):hover svg {
  fill: #d24a43 !important;
}

.products__slider--favorites {
  position: absolute;
  top: 19px;
  right: 19px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 5px;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  color: #d24a43 !important;
  cursor: pointer;
  width: 2.5em;
  height: 3em;
  z-index: 10;
}

.products__slider--favorites svg {
  /* fill: #d24a43 !important; */
  width: 19px;
  height: 18px;
}

.catalog-grid__item {
  position: relative;
}

.catalog-grid__item a {
  display: contents;
}

/* .catalog-grid__item .catalog-grid__item-image {
  width: max-content;
} */
.catalog-grid__item .products__slider--favorites {
  width: 3em;
  height: 3em;
}

.catalog-grid__item .products__slider--favorites {
  bottom: 20px;
  top: auto;
  right: 12px;
}

.catalog-grid__item .product-card__tags.list_tags {
  right: 80px;
}

.catalog-grid__item .product-card__tags.list_tags {
  bottom: 20px;
  top: auto;
  left: auto;
  z-index: 3;
}

.product-card__favorites.active svg,
.products__slider--favorites.active svg {
  fill: #d24a43 !important;
}

.product-card__favorites svg,
.products__slider--favorites svg {
  fill: none;
}

.block-product__icon .product-card__tags.detail_tags {
  position: relative !important;
  top: auto;
  left: auto;
  
}

.product-card__tag--new {
  height: fit-content;
}

.contacts-mobile-only {
  display: none;
}

.catalog-grid__item-content a,
.product-card a {
  text-decoration: none;
}

.category-item__text,
.catalog-grid__item-text,
.catalog-grid__item-title {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.catalog-grid__item-title {
  hyphens: auto;
}

.ymaps-2-1-79-gototech {
  display: none !important;
}

.catalog-grid .catalog-grid__inner {
  padding-left: 0;
  padding-right: 0;
}

.page-header__icon {
  display: none;
}

.glightbox-container .gcontainer {
  width: 100%;
}

.projects__inner {
  justify-content: center;
}

/* .home-hero-slide__media {
  padding: 28px;
  transition: transform 7s ease-in;
  overflow: hidden;
}

.home-hero-slide__video:hover {
  transform: scale(1.2);
} */

.glightbox-clean .gclose {
  border: 2px solid #ababab;
  top: 0;
  right: 7px;
}

.glightbox-clean .gclose:before,
.glightbox-clean .gclose:after {
  background: #ababab;
}

@media (max-width: 1211px) {
  .block-product__icon {
    right: 0px;
  }

  .product-card__favorites {
    width: 35px;
    height: 33px;
  }

  .products__slider--favorites {
    width: 3em;
    height: 3em;
  }

  .page-header__panel .b-none {
    display: none;
  }

  .page-header__panel--shown {
    overflow-x: hidden;
  }

  .page-header__panel--shown .b-none {
    display: flex;
  }

  .page-header .main-nav {
    display: none !important;
  }

  .page-header__panel--shown .main-nav {
    display: block !important;
    -webkit-box-ordinal-group: -59;
    -ms-flex-order: 60 !important;
    order: 60 !important;
  }

  .page-header__menu-item a {
    width: 100%;
  }

  body:has(.page-header__menu-children--active) .main-nav {
    display: none !important;
  }

  .page-header__icon {
    display: flex;
    width: 5px;
    height: 8px;
    margin-left: auto;
  }

  .projects__inner {
    flex-wrap: nowrap;
  }
}
@media (max-width: 767px) {
  .slider-media__subtitle{
    font-size: 14px;
  }
}
@media (max-width: 647px) {
  .catalog-grid__item .product-card__tags.list_tags {
    bottom: 20px;
    top: auto;
    right: 72px;
  }
}
