.page-products {
  --shelf-radius: 16px;
  --shelf-shadow: 0 12px 24px rgba(8, 19, 46, 0.10);
  background: var(--white);
  color: var(--gray-900);
}

.page-products .cabinet-hero {
  position: relative;
  overflow: hidden;
  background: var(--navy-950);
  color: var(--white);
  padding: 24px 0 40px;
}

.page-products .cabinet-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}

.page-products .cabinet-hero .container {
  position: relative;
  z-index: 1;
}

.page-products .cabinet-hero .breadcrumb {
  margin-bottom: 28px;
}

.page-products .cabinet-hero .breadcrumb__item {
  color: rgba(255,255,255,0.7);
  text-decoration: none;
}

.page-products .cabinet-hero .breadcrumb__item--current {
  color: var(--white);
}

.page-products .cabinet-hero .breadcrumb__separator {
  color: rgba(255,255,255,0.4);
}

.page-products .cabinet-hero a.breadcrumb__item:hover,
.page-products .cabinet-hero a.breadcrumb__item:focus {
  color: var(--orange-400);
}

.page-products .cabinet-hero__grid {
  display: grid;
  gap: 32px;
  align-items: center;
}

.page-products .cabinet-hero .section-head__kicker {
  color: var(--orange-400);
  font-family: var(--font-mono);
  letter-spacing: 0.12em;
}

.page-products .cabinet-hero h1 {
  font-size: 30px;
  line-height: 1.3;
  margin: 12px 0 0;
  max-width: 13em;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.page-products .cabinet-hero__lead {
  font-family: var(--font-serif);
  font-size: 17px;
  line-height: 1.85;
  color: rgba(255,255,255,0.85);
  margin: 18px 0 26px;
  max-width: 38em;
}

.page-products .cabinet-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-top: 8px;
}

.page-products .cabinet-hero__figure {
  margin: 0;
  text-align: center;
}

.page-products .cabinet-hero__img {
  display: block;
  width: 100%;
  max-width: 280px;
  height: auto;
  margin: 0 auto;
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,0.14);
  box-shadow: 0 24px 48px rgba(0,0,0,0.35);
}

.page-products .cabinet-hero__figcaption {
  font-family: var(--font-mono);
  font-size: 12px;
  color: rgba(255,255,255,0.55);
  margin-top: 12px;
  letter-spacing: 0.04em;
}

.page-products .cabinet-exhibit {
  padding: 56px 0 48px;
}

.page-products .cabinet-exhibit__outline {
  display: grid;
  gap: 28px;
  margin-top: 28px;
}

.page-products .cabinet-exhibit__tree {
  background: var(--gray-100);
  border: 1px solid var(--gray-300);
  border-radius: var(--shelf-radius);
  padding: 20px;
  scroll-margin-top: 96px;
}

.page-products .cabinet-exhibit__tree-title {
  font-family: var(--font-mono);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--navy-700);
  margin: 0 0 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--gray-300);
}

.page-products .dir-tree {
  list-style: none;
  margin: 0;
  padding: 0;
}

.page-products .dir-tree__branch {
  position: relative;
  margin: 0;
  padding: 0 0 14px 22px;
}

.page-products .dir-tree__branch::before {
  content: "";
  position: absolute;
  left: 5px;
  top: 26px;
  bottom: -4px;
  width: 2px;
  background: var(--gray-300);
}

.page-products .dir-tree__branch:last-child::before {
  display: none;
}

.page-products .dir-tree__node {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 16px;
  color: var(--navy-900);
  text-decoration: none;
  padding: 6px 0;
}

.page-products .dir-tree__dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--orange-500);
  flex: 0 0 auto;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.page-products .dir-tree__node:hover .dir-tree__dot,
.page-products .dir-tree__node:focus .dir-tree__dot {
  transform: scale(1.45);
  box-shadow: 0 0 0 5px rgba(255,107,44,0.25);
}

.page-products .dir-tree__children {
  list-style: none;
  margin: 0;
  padding: 4px 0 0;
}

.page-products .dir-tree__leaf {
  position: relative;
  padding: 4px 0 2px 18px;
  font-size: 13px;
  color: var(--gray-700);
  line-height: 1.6;
}

.page-products .dir-tree__leaf::before {
  content: "—";
  position: absolute;
  left: 2px;
  top: 4px;
  color: var(--orange-400);
}

.page-products .cabinet-exhibit__cards {
  display: grid;
  gap: 20px;
  align-content: start;
}

.page-products .shelf-card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--gray-300);
  border-radius: var(--shelf-radius);
  padding: 22px;
  box-shadow: var(--shelf-shadow);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  scroll-margin-top: 96px;
}

.page-products .shelf-card:hover {
  border-color: var(--orange-500);
  transform: translateY(-4px);
  box-shadow: 0 18px 36px rgba(8, 19, 46, 0.14);
}

.page-products .shelf-card--pullable {
  padding-bottom: 0;
}

.page-products .shelf-card__label {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--orange-500);
  margin-bottom: 8px;
}

.page-products .shelf-card__title {
  font-size: 22px;
  line-height: 1.4;
  margin: 0 0 8px;
  color: var(--gray-900);
  font-weight: 800;
}

.page-products .shelf-card__text {
  font-size: 15px;
  line-height: 1.78;
  color: var(--gray-700);
  margin: 0 0 14px;
}

.page-products .shelf-card__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 0 0 16px;
}

.page-products .data-stat {
  display: flex;
  flex-direction: column;
  background: var(--gray-100);
  border: 1px solid var(--gray-300);
  border-radius: 10px;
  padding: 8px 12px;
  min-width: 72px;
}

.page-products .data-number {
  font-family: var(--font-mono);
  font-size: 22px;
  font-weight: 700;
  color: var(--navy-900);
  line-height: 1.2;
}

.page-products .data-label {
  font-size: 11px;
  color: var(--gray-700);
  margin-top: 2px;
  white-space: nowrap;
}

.page-products .shelf-card__pull {
  overflow: hidden;
  margin: 16px -22px 0;
}

.page-products .shelf-card--pullable .shelf-card__pull {
  margin-top: 18px;
  border-radius: 0 0 var(--shelf-radius) var(--shelf-radius);
}

.page-products .shelf-card__img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

.page-products .shelf-card__more {
  margin: 14px 0 0;
  padding-bottom: 18px;
}

.page-products .shelf-card__links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  padding-top: 4px;
}

.page-products .link-arrow {
  position: relative;
  color: var(--navy-700);
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  padding-bottom: 2px;
}

.page-products .link-arrow::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--orange-500);
  transition: width 0.25s ease;
}

.page-products .link-arrow:hover::after,
.page-products .link-arrow:focus::after {
  width: 100%;
}

.page-products .feature-strip {
  background: var(--gray-100);
  padding: 56px 0;
}

.page-products .feature-strip__layout {
  display: grid;
  gap: 28px;
  margin-top: 28px;
}

.page-products .feature-card-list {
  display: grid;
  gap: 14px;
}

.page-products .feature-card {
  background: var(--white);
  border: 1px solid var(--gray-300);
  border-radius: var(--shelf-radius);
  padding: 22px;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.page-products .feature-card:hover {
  transform: translateY(-4px);
  border-color: var(--orange-500);
  box-shadow: var(--shelf-shadow);
}

.page-products .feature-card--accent {
  background: var(--navy-900);
  border-color: var(--navy-900);
  color: var(--white);
}

.page-products .feature-card__num {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  color: var(--orange-500);
  margin-bottom: 6px;
}

.page-products .feature-card--accent .feature-card__num {
  color: var(--orange-400);
}

.page-products .feature-card h3 {
  font-size: 18px;
  line-height: 1.45;
  margin: 0 0 6px;
  color: var(--gray-900);
  font-weight: 800;
}

.page-products .feature-card--accent h3 {
  color: var(--white);
}

.page-products .feature-card p {
  font-size: 14px;
  line-height: 1.75;
  color: var(--gray-700);
  margin: 0;
}

.page-products .feature-card--accent p {
  color: rgba(255,255,255,0.78);
}

.page-products .feature-strip__visual {
  margin: 0;
}

.page-products .feature-strip__img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--shelf-radius);
  box-shadow: var(--shelf-shadow);
}

.page-products .get-app {
  background: var(--navy-900);
  color: var(--white);
  padding: 56px 0;
}

.page-products .get-app .section-head__kicker {
  color: var(--orange-400);
  font-family: var(--font-mono);
  letter-spacing: 0.1em;
}

.page-products .get-app h2 {
  color: var(--white);
}

.page-products .get-app .section-head__desc {
  color: rgba(255,255,255,0.78);
}

.page-products .get-app__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 24px;
}

.page-products .get-app__note {
  background: rgba(255,107,44,0.14);
  border: 1px solid rgba(255,107,44,0.45);
  border-radius: 8px;
  color: var(--orange-400);
  padding: 9px 12px;
  font-size: 13px;
  font-family: var(--font-mono);
  line-height: 1.5;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.page-products .get-app__actions:hover .get-app__note,
.page-products .get-app__actions:focus-within .get-app__note {
  background: rgba(255,107,44,0.28);
  border-color: var(--orange-400);
}

.page-products .version-timeline {
  padding: 56px 0;
}

.page-products .version-timeline__layout {
  display: grid;
  gap: 28px;
  margin-top: 28px;
}

.page-products .timeline {
  list-style: none;
  margin: 0;
  padding: 0 0 0 30px;
  position: relative;
}

.page-products .timeline::before {
  content: "";
  position: absolute;
  left: 6px;
  top: 4px;
  bottom: 4px;
  width: 3px;
  background: linear-gradient(180deg, var(--navy-700), var(--orange-500));
}

.page-products .timeline__item {
  position: relative;
  margin-bottom: 30px;
  padding-left: 18px;
}

.page-products .timeline__item:last-child {
  margin-bottom: 0;
}

.page-products .timeline__item::before {
  content: "";
  position: absolute;
  left: -30px;
  top: 4px;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: var(--white);
  border: 4px solid var(--white);
  box-shadow: 0 0 0 3px var(--navy-700);
}

.page-products .timeline__item--current::before {
  background: var(--orange-500);
  box-shadow: 0 0 0 3px var(--orange-500);
}

.page-products .timeline__ver {
  font-family: var(--font-mono);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--navy-900);
}

.page-products .timeline__item--current .timeline__ver {
  color: var(--orange-500);
}

.page-products .timeline__body h3 {
  font-size: 18px;
  line-height: 1.4;
  margin: 6px 0 4px;
  color: var(--gray-900);
  font-weight: 800;
}

.page-products .timeline__body p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--gray-700);
  margin: 0;
}

.page-products .version-timeline__badge {
  margin: 0;
  align-self: center;
}

.page-products .version-timeline__img {
  display: block;
  width: 100%;
  max-width: 220px;
  height: auto;
  margin: 0 auto;
  border-radius: 16px;
  border: 1px solid var(--gray-300);
  box-shadow: var(--shelf-shadow);
}

@media (min-width: 640px) {
  .page-products .cabinet-hero h1 {
    font-size: 38px;
  }

  .page-products .feature-card-list {
    grid-template-columns: repeat(2, 1fr);
  }

  .page-products .feature-card:last-child {
    grid-column: 1 / -1;
  }

  .page-products .shelf-card__stats {
    gap: 12px;
  }
}

@media (min-width: 1024px) {
  .page-products .cabinet-hero {
    padding: 48px 0 64px;
  }

  .page-products .cabinet-hero__grid {
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 56px;
  }

  .page-products .cabinet-hero h1 {
    font-size: 46px;
  }

  .page-products .cabinet-hero__lead {
    font-size: 18px;
  }

  .page-products .cabinet-hero__img {
    max-width: 320px;
  }

  .page-products .cabinet-exhibit__outline {
    grid-template-columns: 300px minmax(0, 1fr);
    gap: 48px;
    align-items: start;
  }

  .page-products .cabinet-exhibit__tree {
    position: sticky;
    top: 96px;
  }

  .page-products .feature-strip__layout {
    grid-template-columns: minmax(0, 1fr) 400px;
    gap: 48px;
    align-items: center;
  }

  .page-products .feature-card-list {
    grid-template-columns: 1fr;
  }

  .page-products .feature-card:last-child {
    grid-column: auto;
  }

  .page-products .version-timeline__layout {
    grid-template-columns: minmax(0, 1fr) 280px;
    gap: 48px;
    align-items: center;
  }

  .page-products .version-timeline__img {
    max-width: 260px;
  }
}
