.catalog-hero {
  position: relative;
  min-height: clamp(886px, calc(664.2857px + 21.6518vw), 1080px);
  padding: clamp(126px, calc(50.5714px + 7.3661vw), 192px) var(--page-padding)
    clamp(110px, calc(49.4286px + 5.9152vw), 163px);
  background: linear-gradient(180deg, #222426 0%, rgba(34, 36, 38, 0) 100%);
  overflow: hidden;
}

.catalog-hero::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: clamp(0px, calc(235.7143px - 12.2768vw), 110px);
  background-color: var(--color-graphite);
  pointer-events: none;
  z-index: 3;
}

.catalog-hero__content {
  position: relative;
  z-index: 4;
}

.catalog-hero__content.animate {
  animation: fadeRightPercent 1s forwards, blurIn 1s forwards;
}

.catalog-hero__breadcrumbs {
  display: flex;
  align-items: center;
  gap: 9px;
  max-width: 100%;
  overflow: hidden;
  color: var(--color-white);
  font-size: 16px;
  line-height: 22px;
  white-space: nowrap;
}

.catalog-hero__breadcrumbs.animate {
  animation: fadeUp 1s forwards, blurIn 1s forwards;
}

.catalog-hero__breadcrumbs > a {
  transition: color 180ms ease;
}

.catalog-hero__breadcrumbs > a:hover,
.catalog-hero__breadcrumbs > a:focus-visible,
.catalog-hero__breadcrumbs > [aria-current="page"] {
  color: var(--color-accent);
}

.catalog-hero__breadcrumbs-separator {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  color: var(--color-accent);
}

.catalog-hero__title {
  max-width: 823px;
  margin: clamp(20px, calc(8.5714px + 1.1161vw), 30px) 0 0;
  color: var(--color-white);
  font-size: clamp(40px, calc(0px + 3.9063vw), 75px);
  font-weight: 400;
  line-height: 120%;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}

.catalog-hero__links {
  position: relative;
  margin: clamp(44px, calc(17.7143px + 2.567vw), 67px) 0 32px;
  display: grid;
  grid-template-columns: repeat(2, 195px);
  gap: 18px;
  z-index: 4;
}

.catalog-hero__link {
  width: 100%;
  height: 195px;
  border: 2px solid #ffffff33;
  box-sizing: border-box;
  overflow: hidden;
}

.catalog-hero__link a {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
}

.catalog-hero__link a div {
  position: relative;
}

.catalog-hero__link a div::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(
    50.25% 45.73% at 50.25% 91.71%,
    rgba(242, 91, 25, 0.44) 0%,
    rgba(242, 91, 25, 0) 100%
  );
  opacity: 0;
  transition: opacity 0.3s ease;
}

.catalog-hero__link a:hover div::before {
  opacity: 1;
}

.catalog-hero__link a img {
  width: 195px;
  height: 195px;
}

.catalog-hero__link a span {
  position: absolute;
  bottom: 5px;
  left: 50%;
  display: none;
  max-width: 100px;
  transform: translateX(-50%);
  font-weight: 400;
  font-size: 12px;
  line-height: 110%;
  text-align: center;
  color: var(--color-white);
}

.catalog-hero__content > a.button-slide {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: stretch;
  width: 412px;
  height: 76px;
  padding: 0 20px;
  color: var(--color-white);
  background: var(--color-accent);
  font-size: 18px;
  text-transform: uppercase;
  transition: color 180ms ease, background-color 180ms ease;
  white-space: nowrap;
  z-index: 4;
}

.catalog-hero__content > a.button-slide > svg {
  transition: 0.3s ease-in-out;
}

.catalog-hero__content > a.button-slide:hover,
.catalog-hero__content > a.button-slide:focus-visible {
  color: var(--color-white);
  background: #d84d12;
}

.catalog-hero__content > a.button-slide:hover > svg,
.catalog-hero__content > a.button-slide:focus-visible > svg {
  transform: translate(10px, -10px);
}

.catalog-hero__preview {
  position: absolute;
  top: clamp(166px, calc(253.8571px - 4.5759vw), 207px);
  right: clamp(-147px, calc(-315px + 16.4063vw), 0px);
  width: clamp(736px, calc(209.1429px + 51.4509vw), 1197px);
  height: clamp(736px, calc(209.1429px + 51.4509vw), 1197px);
  z-index: 2;
}

.catalog-hero__preview.animate {
  animation: fadeLeftPercent 1s forwards, blurIn 1s forwards;
}

.catalog-hero__preview.mobile {
  display: none;
}

.catalog-hero__preview-img {
  position: absolute;
  width: 100%;
  height: 100%;
  opacity: 0;
  pointer-events: none;
  transform: scale(1.2);
  transition: .3s opacity ease, 5s transform cubic-bezier(0.165, 0.84, 0.44, 1);
}

.catalog-hero__preview-img img {
  width: 100%;
}

.catalog-hero__preview-img span {
  position: absolute;
  left: 50%;
  bottom: clamp(230px, calc(66.5714px + 15.9598vw), 373px);
  transform: translateX(-50%);
  font-weight: 400;
  font-size: clamp(26px, calc(19.1429px + 0.6696vw), 32px);
  text-transform: uppercase;
  color: var(--color-white);
}

.catalog-hero__preview-img.catalog-hero__image--default {
  opacity: 1;
  transform: scale(1);
}

.catalog-hero__preview-img.visible {
  opacity: 1;
  transform: scale(1);
}

.catalog-hero__bg {
  position: absolute;
  top: clamp(170px, calc(-138.5714px + 30.1339vw), 440px);
  left: 50%;
  transform: translateX(-50%);
  pointer-events: none;
  animation: heroPulse 8s ease-in-out infinite;
  z-index: 1;
}

.catalog-hero__backout {
  position: absolute;
  left: 0;
  bottom: clamp(0px, calc(235.7143px - 12.2768vw), 110px);
  width: 100%;
  height: clamp(177px, calc(71.8571px + 10.2679vw), 269px);
  background: linear-gradient(00deg, #222426 0%, rgba(34, 36, 38, 0) 100%);
  pointer-events: none;
  z-index: 3;
}

.catalog-products {
  background-color: #fff;
}

.catalog-products__inner {
  padding: 0 var(--page-padding) clamp(70px, calc(12.8571px + 5.5804vw), 120px);
}

.catalog-products__group {
  display: flex;
  flex-direction: column;
  gap: clamp(25px, calc(-36.7143px + 6.0268vw), 79px);
  padding: clamp(80px, calc(208.5714px - 6.6964vw), 140px) 0;
  background-color: #fff;
  border-bottom: 2px solid #22242633;
  will-change: transform;
  transition: transform 0.08s linear;
}
.catalog-products__group:first-child {
  padding-top: clamp(86px, calc(201.7143px - 6.0268vw), 140px);
}
.catalog-products__group:last-child {
  padding-bottom: 0;
  border: none;
}

.scroll-block {
  position: sticky;
  will-change: top;
  overflow: hidden;
  transition: top 0.2s ease-out;
}

.catalog-products__title {
  margin: 0;
  font-weight: 400;
  font-size: clamp(40px, calc(12.5714px + 2.6786vw), 64px);
  line-height: 120%;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: var(--color-graphite);
}

.catalog-products__list {
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.catalog-products__item {
  width: 270px;
}

.catalog-products__link {
  display: flex;
  flex-direction: column;
  gap: 20px;
  perspective: 1000px;
}

.catalog-products__image {
  width: 270px;
  height: 270px;
  border: 2px solid #22242633;
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
  transform-style: preserve-3d;
}

.catalog-products__image img {
  width: 100%;
  height: 100%;
}

.catalog-products__link:hover .catalog-products__image {
  transform: translate3d(-6px, 0, 40px) rotateY(-30deg) scale(1.05);
}

.catalog-products__name {
  max-width: 270px;
  font-weight: 400;
  font-size: 28px;
  text-transform: uppercase;
  color: var(--color-graphite);
  transition: color 0.3s ease;
}

.catalog-products__link:hover .catalog-products__name {
  color: var(--color-accent);
}

.catalog-nav {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--color-graphite);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 5;
}
.catalog-nav.visible {
  opacity: 1;
  pointer-events: all;
}

.catalog-nav__inner {
  padding: clamp(10px, calc(-1.4286px + 1.1161vw), 20px) 20px;
}

.catalog-nav__links {
  display: flex;
}

.catalog-nav__link {
  width: 100px;
  height: 113px;
}

.catalog-nav__link a {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
}

.catalog-nav__image {
  position: relative;
  width: 80px;
  height: 80px;
  border: 2px solid #ffffff33;
}

.catalog-nav__image::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(
    50.25% 45.73% at 50.25% 91.71%,
    rgba(242, 91, 25, 0.44) 0%,
    rgba(242, 91, 25, 0) 100%
  );
  opacity: 0;
  transition: opacity 0.3s ease;
}

.catalog-nav__link a:hover .catalog-nav__image::before {
  opacity: 1;
}

.catalog-nav__link.is-active .catalog-nav__image::before {
  opacity: 1;
}

.catalog-nav__image img {
  width: 100%;
  height: 100%;
}

.catalog-nav__name {
  font-weight: 400;
  font-size: 12px;
  line-height: 110%;
  text-align: center;
  color: var(--color-white);
  transition: color 0.3s ease;
}

.catalog-nav__link a:hover .catalog-nav__name {
  color: var(--color-accent);
}

.catalog-nav__link.is-active .catalog-nav__name {
  color: var(--color-accent);
}

@media (max-width: 1024px) {
  .catalog-hero__content {
    width: 408px;
  }

  .catalog-hero__content > a.button-slide {
    width: 100%;
  }

  .catalog-hero__preview {
    width: clamp(546px, calc(-24px + 74.2188vw), 736px);
    height: clamp(546px, calc(-24px + 74.2188vw), 736px);
  }

  .catalog-hero__preview-img span {
    display: none;
  }

  .catalog-hero {
    padding: 126px var(--page-padding)
      clamp(60px, calc(32.8916px + 7.5301vw), 110px);
  }

  .catalog-hero__title {
    margin: 20px 0 0;
    font-size: clamp(36px, calc(33.8313px + 0.6024vw), 40px);
  }

  .catalog-hero__links {
    margin: 44px 0 32px;
  }

  .catalog-hero__links {
    grid-template-columns: repeat(
      2,
      clamp(146px, calc(119.4337px + 7.3795vw), 195px)
    );
  }

  .catalog-hero__link {
    height: auto;
    border: none;
  }

  .catalog-hero__link a {
    display: flex;
    flex-direction: column;
    gap: 12px;
  }

  .catalog-hero__link a div {
    width: clamp(146px, calc(119.4337px + 7.3795vw), 195px);
    height: clamp(146px, calc(119.4337px + 7.3795vw), 195px);
    border: 2px solid #ffffff33;
  }

  .catalog-hero__link a div img {
    width: 100%;
    height: 100%;
  }

  .catalog-hero__link a span {
    display: block;
  }

  .catalog-products__group {
    padding: clamp(100px, calc(78.3133px + 6.0241vw), 140px) 0;
    gap: clamp(20px, calc(17.2892px + 0.753vw), 25px);
  }

  .catalog-products__item {
    width: clamp(150px, calc(84.9398px + 18.0723vw), 270px);
  }

  .catalog-products__image {
    width: clamp(150px, calc(84.9398px + 18.0723vw), 270px);
    height: clamp(150px, calc(84.9398px + 18.0723vw), 270px);
  }

  .catalog-products__name {
    font-size: clamp(20px, calc(15.6627px + 1.2048vw), 28px);
  }
}

@media (max-width: 768px) {
  .catalog-hero {
    max-height: none;
  }

  .catalog-hero__content {
    width: 370px;
    margin: 0 auto;
  }

  .catalog-hero__preview {
    display: none;
  }

  .catalog-hero__title {
    max-width: 320px;
    padding-bottom: 370px;
  }

  .catalog-hero__preview.mobile {
    display: block;
    position: absolute;
    top: 140px;
    left: 50%;
    width: 370px;
    height: 370px;
    transform: translateX(-50%);
  }

  .catalog-hero__links {
    margin: 0 auto 20px;
  }

  .catalog-hero__link a span {
    position: relative;
    left: initial;
    bottom: initial;
    margin: 0 auto;
    display: block;
    transform: none;
  }

  .catalog-hero__bg {
    top: -120px;
    width: 200%;
    height: 100%;
  }

  .catalog-hero__bg img {
    width: 100%;
    height: 100%;
    object-fit: contain;
  }

  .catalog-hero__backout {
    bottom: initial;
    top: 390px;
    height: 360px;
  }

  .catalog-hero__content > a.button-slide {
    white-space: normal;
    text-align: center;
  }

  .button-slide__content {
    white-space: normal;
  }

  .catalog-products__title {
    font-size: clamp(32px, calc(24.9412px + 1.9608vw), 40px);
  }
}

@media (max-width: 480px) {
  .catalog-hero__content {
    width: 100%;
  }

  .catalog-hero__bg {
    top: -40px;
  }

  .catalog-hero__links {
    width: fit-content;
  }

  .catalog-nav {
    width: 100%;
  }

  .catalog-nav__inner {
    padding: 10px 5px;
  }

  .catalog-nav__links {
    justify-content: center;
    gap: 10px;
  }

  .catalog-nav__link {
    width: 80px;
    height: 74px;
  }

  .catalog-nav__link a {
    gap: 2.5px;
  }

  .catalog-nav__image {
    width: 50px;
    height: 50px;
  }

  .catalog-nav__name {
    font-size: 10px;
  }

  .catalog-products__link:hover .catalog-products__image {
    transform: none;
  }
}

@keyframes heroPulse {
  0% {
    transform: translate(-50%, 0) scale(1) rotate(0deg);
    filter: brightness(1);
  }

  25% {
    transform: translate(-50%, -16px) scale(1.1) rotate(-0.6deg);
    filter: brightness(1.03);
  }

  50% {
    transform: translate(-50%, -32px) scale(1.2) rotate(0deg);
    filter: brightness(1.06);
  }

  75% {
    transform: translate(-50%, -16px) scale(1.1) rotate(0.6deg);
    filter: brightness(1.03);
  }

  100% {
    transform: translate(-50%, 0) scale(1) rotate(0deg);
    filter: brightness(1);
  }
}
