/* Quick navigation between the product description and specification sections. */
#product-about,
#product-specifications {
  scroll-margin-top: 112px;
}

.product-section-jump {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: 100%;
  max-width: 300px;
  margin-bottom: 24px;
  padding: 14px 0;
  border-top: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
  cursor: pointer;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.product-section-jump::after {
  color: var(--text-dim);
  font: 600 10px/1.2 var(--ui);
  letter-spacing: 0.08em;
  white-space: nowrap;
  text-transform: uppercase;
  transition: color 0.2s ease, transform 0.2s ease;
}

#product-about .product-section-jump::after {
  content: "Характеристики ↓";
}

#product-specifications .product-section-jump::after {
  content: "О модели ↑";
}

.product-section-jump:hover,
.product-section-jump:focus-visible {
  color: var(--red-bright);
  border-color: var(--red);
}

.product-section-jump:hover::after,
.product-section-jump:focus-visible::after {
  color: var(--red-bright);
  transform: translateY(2px);
}

#product-specifications .product-section-jump:hover::after,
#product-specifications .product-section-jump:focus-visible::after {
  transform: translateY(-2px);
}

@media (max-width: 760px) {
  #product-about,
  #product-specifications {
    scroll-margin-top: 86px;
  }

  .product-section-jump {
    max-width: none;
  }
}
