/* ==========================================================================
   SECTION.CSS - Секции товаров (минималистичный стиль)
   Размер: ~2 KB | Загрузка: MainView
   ========================================================================== */

.product-section {
  padding: var(--space-3xl) 0;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--space-2xl);
  padding-bottom: var(--space-md);
  border-bottom: 1px solid var(--c-border);
}

.section-title {
  font-size: 18px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: #000;
}

.section-subtitle {
  font-size: var(--text-sm);
  color: var(--c-text-light);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: var(--space-xs);
}

.section-link {
  font-size: 13px;
  color: #000;
  text-decoration: none;
  text-transform: none;
  letter-spacing: 0.5px;
  transition: opacity 0.3s ease;
  position: relative;
  padding-right: 20px;
}
.section-link::after {
  content: '→';
  position: absolute;
  right: 0;
  transition: transform 0.3s ease;
}
.section-link:hover {
  opacity: 0.6;
}
.section-link:hover::after {
  transform: translateX(4px);
}

/* Горизонтальный скролл товаров */
.products-scroll {
  display: flex;
  gap: var(--space-lg);
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.products-scroll::-webkit-scrollbar {
  display: none;
}

.products-scroll .product-card {
  flex: 0 0 280px;
  width: 280px;
}

@media (max-width: 767px) {
  .section-header {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-md);
  }
  .section-title {
    font-size: var(--text-xl);
  }
  .products-scroll {
    gap: var(--space-md);
  }
  .products-scroll .product-card {
    flex: 0 0 200px;
    width: 200px;
  }
}
