/* ==========================================================================
   Homepage Products Slider
   ========================================================================== */
.products-homepage-section {
  background: #000;
  padding: 34px 0 62px;
}

.products-homepage-container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 56px;
}

.products-homepage-heading {
  margin-bottom: 82px;
}

.products-homepage-kicker {
  display: block;
  margin-bottom: 22px;
  color: #0066b3;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 6px;
  line-height: 1.2;
  text-transform: uppercase;
}

.products-homepage-heading h2 {
  margin: 0;
  color: #fff;
  font-size: 42px;
  font-weight: 700;
  line-height: 1.12;
}

.products-homepage-stage {
  position: relative;
}

.products-homepage-swiper {
  overflow: hidden;
  width: 100%;
}

.products-homepage-swiper .swiper-wrapper {
  align-items: stretch;
}

.products-homepage-swiper .swiper-slide {
  height: auto;
}

.product-home-card-link {
  display: block;
  color: inherit;
  text-decoration: none;
}

.product-home-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.product-home-card__image {
  aspect-ratio: 900 / 1178;
  width: 100%;
  overflow: hidden;
  background: #000;
}

.product-home-card__image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  transform: scale(1.015);
  transition: transform 420ms ease, filter 420ms ease;
}

.product-home-card:hover .product-home-card__image img,
.product-home-card-link:focus-visible .product-home-card__image img {
  filter: saturate(1.05) contrast(1.04);
  transform: scale(1.04);
}

.product-home-card__body {
  display: grid;

  gap: 20px;
  padding-top: 28px;
}

.product-home-card__number {
  color: #8f949d;
  font-size: 14px;
  font-weight: 700;
  line-height: 30px;
  transition: color 220ms ease;
}

.product-home-card__text h3 {
  margin: 0 0 8px;
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  transition: color 220ms ease;
}

.product-home-card__text p {
  margin: 0;
  color: #bfc3ca;
  font-size: 17px;
  font-weight: 400;
  line-height: 1.55;
}

.product-home-card:hover .product-home-card__number,
.product-home-card-link:focus-visible .product-home-card__number,
.product-home-card:hover .product-home-card__text h3,
.product-home-card-link:focus-visible .product-home-card__text h3 {
  color: #d6001c;
}

.products-homepage-prev,
.products-homepage-next {
  width: 52px;
  height: 52px;
  border: 0;
  border-radius: 50%;
  background:
    linear-gradient(
      145deg,
      rgba(0, 174, 239, 0.82) 0%,
      rgba(0, 174, 239, 0.82) 42%,
      rgba(255, 255, 255, 0.72) 42%,
      rgba(255, 255, 255, 0.72) 57%,
      rgba(214, 0, 28, 0.82) 57%,
      rgba(214, 0, 28, 0.82) 100%
    );
  color: #00aeef;
  cursor: pointer;
  position: absolute;
  top: var(--products-arrow-top, 180px);
  transform: translateY(-50%);
  z-index: 5;
  box-shadow: 0 5px 18px rgba(0, 0, 0, 0.45);
  transition: transform 180ms ease, box-shadow 180ms ease, filter 180ms ease;
}

.products-homepage-prev {
  left: -62px;
}

.products-homepage-next {
  right: -62px;
}

.products-homepage-prev::before,
.products-homepage-next::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 11px;
  height: 11px;
  border-top: 3px solid #0066b3;
  border-right: 3px solid #0066b3;
  filter: drop-shadow(0 0 2px #fff);
}

.products-homepage-prev::before {
  transform: translate(-35%, -50%) rotate(-135deg);
}

.products-homepage-next::before {
  transform: translate(-65%, -50%) rotate(45deg);
}

.products-homepage-prev:hover,
.products-homepage-next:hover {
  filter: saturate(1.12) brightness(1.08);
  transform: translateY(-50%) scale(1.08);
  box-shadow: 0 7px 22px rgba(0, 174, 239, 0.3);
}

.products-homepage-prev:hover::before,
.products-homepage-next:hover::before {
  border-color: #0066b3;
}

.products-homepage-prev.swiper-button-disabled,
.products-homepage-next.swiper-button-disabled {
  cursor: default;
  filter: grayscale(0.65);
  opacity: 0.45;
}

.products-homepage-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 70px;
  min-height: 46px;
  margin-top: 42px;
}

.products-homepage-pagination .swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  margin: 0 5px !important;
  background: #bcc2cc;
  opacity: 1;
}

.products-homepage-pagination .swiper-pagination-bullet-active {
  width: 28px;
  height: 10px;
  border-radius: 999px;
  background: #d6001c;
}

.products-homepage-empty {
  color: #8b8f96;
  font-size: 15px;
}

.products-homepage-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 34px;
}

.products-homepage-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 14px 34px;
  border: 2px solid transparent;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.6px;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  transition: background-color 200ms ease, border-color 200ms ease, color 200ms ease, transform 200ms ease;
}

.products-homepage-action:hover,
.products-homepage-action:focus-visible {
  transform: translateY(-2px);
}

.products-homepage-action:focus-visible {
  outline: 2px solid #00aeef;
  outline-offset: 3px;
}

.products-homepage-action--catalogue {
  border-color: #d6001c;
  background: #d6001c;
}

.products-homepage-action--catalogue:hover,
.products-homepage-action--catalogue:focus-visible {
  border-color: #ef1732;
  background: #ef1732;
}

.products-homepage-action--contact {
  border-color: #fff;
  background: #fff;
  color: #0066b3;
}

.products-homepage-action--contact:hover,
.products-homepage-action--contact:focus-visible {
  border-color: #00aeef;
  background: #00aeef;
  color: #000;
}

@media (max-width: 1024px) {
  .products-homepage-section {
    padding: 58px 0 64px;
  }

  .products-homepage-container {
    padding: 0 32px;
  }

  .products-homepage-heading {
    margin-bottom: 46px;
  }

  .products-homepage-heading h2 {
    font-size: 34px;
  }

  .products-homepage-prev {
    left: -24px;
  }

  .products-homepage-next {
    right: -24px;
  }
}

@media (max-width: 767px) {
  .products-homepage-section {
    padding: 46px 0 54px;
  }

  .products-homepage-container {
    padding: 0 20px;
  }

  .products-homepage-heading {
    margin-bottom: 30px;
  }

  .products-homepage-kicker {
    font-size: 11px;
    letter-spacing: 4px;
  }

  .products-homepage-heading h2 {
    font-size: 28px;
  }

  .product-home-card__body {
    grid-template-columns: 34px 1fr;
    gap: 14px;
    padding-top: 20px;
  }

  .product-home-card__text h3 {
    font-size: 18px;
  }

  .product-home-card__text p {
    font-size: 15px;
  }

  .products-homepage-prev {
    left: 8px;
  }

  .products-homepage-next {
    right: 8px;
  }

  .products-homepage-actions {
    align-items: stretch;
    flex-direction: column;
    gap: 12px;
    margin-top: 28px;
  }

  .products-homepage-action {
    width: 100%;
  }
}
