/* Сторінка «Продукція» (produktsiya.html) — буквальна копія стилів, що раніше
   були в katalog.css. Класи (.catalog-*) навмисно не перейменовано. */

.catalog-hero {
  position: relative;
  overflow: hidden;
  background-color: var(--surface-dark);
}

.catalog-hero__photo {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.catalog-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background-image: linear-gradient(
    90deg,
    rgba(0, 7, 17, 1) 0%,
    rgba(0, 7, 17, 0.9) 20%,
    rgba(0, 7, 17, 0.65) 40%,
    rgba(0, 7, 17, 0.35) 60%,
    rgba(0, 7, 17, 0.1) 80%,
    rgba(0, 7, 17, 0) 100%
  );
  pointer-events: none;
}

.catalog-hero__container {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding-block: 30px 80px;
}

.catalog-hero__breadcrumbs {
  margin-bottom: var(--space-24);
}

.catalog-hero__content {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.catalog-hero__heading {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.catalog-hero__overline {
  font-size: var(--font-size-12);
  line-height: var(--line-height-18);
  font-weight: var(--font-weight-medium);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-accent-inverse);
}

.catalog-hero__title {
  max-width: 720px;
  color: var(--text-inverse);
}

.catalog-hero__description {
  max-width: 760px;
  font-size: var(--font-size-20);
  line-height: var(--line-height-34);
  color: var(--text-inverse);
  opacity: 0.7;
}

@media (max-width: 1199px) {
  .catalog-hero__container {
    padding-block: var(--space-64) var(--space-48);
  }

  .catalog-hero__title {
    max-width: 560px;
  }

  .catalog-hero__description {
    max-width: 560px;
  }

  .catalog-hero__photo {
    object-position: right center;
  }
}

@media (max-width: 767px) {
  .catalog-hero__container {
    padding-block: var(--space-48) var(--space-32);
  }

  .catalog-hero__content {
    gap: var(--space-20);
  }

  .catalog-hero__title,
  .catalog-hero__description {
    max-width: none;
  }
}

.catalog-categories {
  padding-block: 120px;
  background-color: var(--background-primary);
}

.catalog-categories__groups {
  display: flex;
  flex-direction: column;
  gap: 100px;
}

.catalog-category-group {
  display: flex;
  flex-direction: column;
  gap: 36px;
}

.catalog-category-group__header {
  display: flex;
  align-items: center;
  gap: 28px;
}

.catalog-category-group__title {
  flex-shrink: 0;
  font-size: var(--font-size-32);
  line-height: var(--line-height-40);
  font-weight: var(--font-weight-semibold);
  color: var(--text-primary);
}

.catalog-category-group__rule {
  flex: 1 0 0;
  height: 1px;
  background-color: var(--border-subtle);
}

.catalog-category-group__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-20);
}

@media (max-width: 1199px) {
  .catalog-categories {
    padding-block: var(--space-96);
  }

  .catalog-categories__groups {
    gap: var(--space-64);
  }

  .catalog-category-group__grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767px) {
  .catalog-categories {
    padding-block: var(--space-64);
  }

  .catalog-category-group {
    gap: var(--space-24);
  }

  .catalog-categories__groups {
    gap: var(--space-48);
  }
}
