/* Зона «catalog». Дословная выборка из sensey-landing/src/styles/base.css. Собрано tools/extract-zones.sh */
  .page--products {
  background: #fff;
}

  .page--products .shell {
  width: calc(100% - 140px);
  max-width: none;
}

  .products-hero {
  position: relative;
  min-height: min(100svh, 980px);
  margin: 0;
  overflow: hidden;
  background: #f7f8f7;
}

  .products-hero__media,
  .products-hero__media picture {
  position: absolute;
  inset: 0;
}

  .products-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

  .products-hero__inner {
  position: relative;
  z-index: 1;
  min-height: min(100svh, 980px);
  padding: clamp(112px, 9.5vw, 154px) 0 clamp(46px, 4vw, 74px);
}

  .products-hero__eyebrow,
  .products-sidebar__eyebrow,
  .product-rail__eyebrow,
  .product-rail__count {
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

  .products-hero__headline {
  position: absolute;
  top: clamp(108px, 8.2vw, 140px);
  left: 0;
  color: var(--color-ink);
}

  .products-hero__title {
  font-size: clamp(52px, 5.5vw, 96px);
  line-height: 0.9;
  font-weight: 500;
  text-transform: uppercase;
}

  .products-hero__accent {
  position: absolute;
  right: clamp(12px, 3.1vw, 60px);
  bottom: clamp(56px, 7vw, 138px);
  z-index: 1;
  margin: 0;
  font-family: var(--font-serif);
  font-size: clamp(68px, 7.6vw, 132px);
  line-height: 0.74;
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.07em;
  text-align: right;
  color: var(--color-ink);
}

  .products-hero__card {
  position: absolute;
  bottom: clamp(54px, 7.5vw, 132px);
  left: 0;
  z-index: 2;
  width: min(100%, 390px);
  min-height: 416px;
  padding: 32px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 18px 44px rgba(37, 37, 37, 0.06);
}

  .products-hero__card h2 {
  font-size: clamp(32px, 2.8vw, 46px);
  line-height: 1.02;
  font-weight: 500;
  text-transform: none;
}

  .products-hero__card h2 em {
  font-family: var(--font-serif);
  font-weight: 400;
}

  .products-hero__card p {
  max-width: 282px;
  margin-top: 26px;
  font-size: 15px;
  line-height: 1.18;
  color: var(--color-ink-soft);
}

  .products-hero__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  position: absolute;
  right: 32px;
  bottom: 32px;
  left: 32px;
  margin-top: 0;
  padding: 0 26px;
  border-radius: 999px;
  background: var(--color-dark);
  color: var(--color-white);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

  .products-hero__arc {
  position: absolute;
  top: clamp(60px, 4vw, 82px);
  left: 50%;
  width: min(48vw, 690px);
  height: auto;
  overflow: visible;
  transform: translateX(-19%);
  fill: none;
  stroke: var(--color-ink);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.5;
}

  .section--products {
  padding-top: clamp(72px, 7vw, 132px);
}

  .products-layout {
  display: grid;
  grid-template-columns: minmax(220px, 260px) minmax(0, 1fr);
  align-items: start;
  gap: clamp(68px, 9vw, 170px);
}

  .products-sidebar {
  position: sticky;
  top: calc(var(--header-height) + 28px);
  display: grid;
  gap: 0;
}

  .products-sidebar__nav {
  display: grid;
  gap: 0;
  margin-top: 24px;
}

  .products-sidebar__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 6px 0;
  border: 0;
  font-size: 14px;
  text-transform: uppercase;
  transition: opacity var(--transition-base);
}

  .products-sidebar__link:hover {
  opacity: 0.66;
}

  .products-sidebar__filter-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 16px 0 12px;
  border-bottom: 1px solid var(--color-line);
  color: var(--color-ink-soft);
  font-size: 12px;
  letter-spacing: 0.02em;
  text-align: left;
  text-transform: uppercase;
}

  .products-sidebar__filter-title span {
  color: var(--color-ink);
  font-size: 20px;
  line-height: 0.6;
}

  .products-lists {
  min-width: 0;
}

  .product-rail {
  min-width: 0;
  scroll-margin-top: calc(var(--header-height) + 32px);
}

  .product-rail:not(:last-child) {
  margin-bottom: 116px;
}

  .product-rail__head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 32px;
}

  .product-rail__copy {
  max-width: 620px;
}

  .product-rail__title {
  font-size: clamp(34px, 3vw, 48px);
  line-height: 0.94;
  font-weight: 400;
  text-transform: none;
}

  .product-rail__title span,
  .product-rail__title em {
  display: block;
}

  .product-rail__title span {
  color: #d4d8dc;
}

  .product-rail__title em {
  width: fit-content;
  border-bottom: 2px solid #efcbc8;
  font-family: var(--font-serif);
  font-weight: 400;
  font-style: italic;
  color: var(--color-ink);
}

  .product-rail__actions {
  display: grid;
  justify-items: end;
  gap: 16px;
  flex-shrink: 0;
}

  .product-rail__count {
  color: var(--color-ink-soft);
}

  .product-rail__arrows {
  display: flex;
  gap: 12px;
}

  .product-rail__arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: #f8e6e6;
  color: var(--color-ink-soft);
  transition:
    transform 240ms ease,
    opacity 240ms ease;
}

  .product-rail__arrow:hover {
  transform: scale(1.06);
}

  .product-rail__arrow svg {
  width: 18px;
  height: 18px;
}

  .product-rail__slider {
  min-width: 0;
  width: 100%;
  padding: 4px 0 10px;
  overflow: hidden;
}

  .product-rail__slider .swiper-wrapper {
  align-items: stretch;
}

  .product-rail__slide {
  height: auto;
  min-width: 0;
}

  /* minmax(0, …), а не 1fr: колонка 1fr не ужимается меньше самого длинного
     слова, и длинное название из 1С распирало страницу шире экрана телефона. */
  .product-detail {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 40px;
  padding-top: 144px;
}

  .product-detail__media img {
  min-height: 720px;
  border-radius: 28px;
  object-fit: cover;
}

  .product-detail__copy {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-content: start;
  gap: 18px;
}

  .product-detail__copy h1 {
  overflow-wrap: anywhere;
  hyphens: auto;
}

  .product-detail__price {
  font-size: 24px;
}

  /* Восстановлено вручную: base.css 611-622 — оформление кнопки. У нас
     оставались только ширина и отступ, сама кнопка была без стиля */
  .product-detail__add {
  min-height: 48px;
  border: 1px solid currentColor;
  border-radius: 999px;
  background: transparent;
  color: var(--color-ink);
  font: inherit;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: background var(--transition-base), color var(--transition-base);
}

  .product-detail__add {
  width: min(100%, 420px);
  margin-top: 8px;
}

  /* Восстановлено вручную: base.css 625, выборка зоны не захватила */
  .product-detail__add:hover {
  background: var(--color-ink);
  color: #fff;
}

  .product-detail__meta {
  display: grid;
  gap: 18px;
  margin-top: 12px;
  padding-top: 18px;
  border-top: 1px solid var(--color-line);
}

  .product-detail__meta span {
  display: block;
  margin-bottom: 6px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  opacity: 0.64;
}

  .product-detail__summary {
  color: var(--color-ink-soft);
  font-size: 16px;
}

@media (max-width: 1080px) {
  .product-detail {
    grid-template-columns: minmax(0, 1fr);
  }

  .product-detail__media img {
    min-height: 420px;
  }

}

@media (max-width: 1080px) {
  .page--products .shell {
    width: calc(100% - 64px);
  }

  .products-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .products-sidebar {
    position: static;
    max-width: 620px;
  }

  .product-rail__head {
    align-items: start;
    flex-direction: column;
  }

  .product-rail__actions {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

}

@media (max-width: 820px) {
  .page--products .shell {
    width: calc(100% - 50px);
  }

  .products-hero {
    min-height: 760px;
  }

  .products-hero__inner {
    min-height: 760px;
    padding: 0;
  }

  .products-hero__headline {
    top: 112px;
  }

  .products-hero__title {
    font-size: clamp(38px, 11vw, 58px);
  }

  .products-hero__accent {
    right: 2px;
    bottom: 52px;
    font-size: clamp(58px, 16vw, 90px);
  }

  /* Карточка стоит над надписью «полная линейка», а не поверх неё (замечание
     владельца 08.10): отступ снизу = отступ надписи + её две строки
     (2 × line-height 0.74 от того же размера шрифта) + зазор. */
  .products-hero__card {
    bottom: calc(52px + 1.48 * clamp(58px, 16vw, 90px) + 16px);
    left: 0;
    width: min(76%, 340px);
    min-height: 326px;
    padding: 22px 18px;
    border-radius: 14px;
  }

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

  .products-hero__cta {
    right: 18px;
    bottom: 18px;
    left: 18px;
  }

  .products-hero__arc {
    top: 84px;
    left: 42%;
    width: 92vw;
    transform: none;
  }

  .section--products {
    padding-top: 40px;
  }

  .products-sidebar {
    gap: 18px;
  }

  .products-sidebar h2 {
    font-size: clamp(28px, 8vw, 42px);
  }

  .products-sidebar__link {
    padding: 14px 0;
  }

  .product-rail:not(:last-child) {
    margin-bottom: 64px;
  }

  .product-rail__head {
    gap: 18px;
    margin-bottom: 20px;
  }

  .product-rail__title {
    font-size: clamp(28px, 8vw, 42px);
  }

  .product-rail__actions {
    gap: 12px;
  }

  .product-rail__arrows {
    gap: 10px;
  }

  .product-rail__arrow {
    width: 52px;
    height: 52px;
  }

  .product-rail__slider {
    overflow: visible;
  }

}

