.catalog-header {
  padding: 6rem 0 3rem;
  text-align: center;
  background-color: var(--surface);
  border-bottom: 1px solid var(--border);
}

.catalog-header h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
  color: var(--text);
}

.catalog-header p {
  color: var(--light-txt);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto 2rem;
}

.catalog-search {
  max-width: 500px;
  margin: 0 auto;
  position: relative;
  display: flex;
  align-items: center;
}

.catalog-search input {
  width: 100%;
  padding: 1rem 1rem 1rem 3rem;
  color: var(--text);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 1rem;
  outline: none;
  transition: border-color 0.2s;
}

.catalog-search input:focus { border-color: var(--yellow); }

.catalog-search i,
.catalog-search svg {
  position: absolute;
  left: 1rem;
  color: var(--muted);
  width: 18px;
  height: 18px;
  pointer-events: none;
}

.catalog-grid-section { padding: 5rem 0; }

.category-products {
  padding: 5rem 0;
  background: var(--surface);
}

.category-products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.category-product-card {
  display: flex;
  min-height: 220px;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  padding: 1.5rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.category-product-icon {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  color: var(--dark);
  background: var(--yellow-bg);
  border: 1px solid rgba(245,197,24,0.25);
  border-radius: var(--radius);
}

.category-product-card h3 {
  font-family: 'Oswald', sans-serif;
  font-size: 1.35rem;
  font-weight: 600;
  line-height: 1.15;
  text-transform: uppercase;
}

.catalog-help-section {
  padding: 2rem 0 5rem;
  background: var(--surface);
}

.catalog-help {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: #111;
  color: #fff;
  padding: 3rem 2rem;
  border-radius: 8px;
}

.catalog-help-icon {
  width: 48px;
  height: 48px;
  color: var(--yellow);
  margin-bottom: 1rem;
}

.catalog-help h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.catalog-help p {
  max-width: 600px;
  margin-bottom: 2rem;
  color: #ccc;
}

.catalog-help-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

@media (max-width: 980px) {
  .category-products-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .catalog-header {
    padding: 4rem 0 2.25rem;
  }

  .catalog-header h1 {
    font-size: clamp(2rem, 11vw, 2.75rem);
    line-height: 1.08;
  }

  .catalog-header p {
    font-size: 0.95rem;
    line-height: 1.65;
    margin-bottom: 1.5rem;
  }

  .catalog-search { max-width: none; }

  .catalog-search input {
    min-height: 50px;
    padding: 0.85rem 0.9rem 0.85rem 2.75rem;
    font-size: 0.92rem;
  }

  .catalog-grid-section,
  .category-products {
    padding: 3rem 0;
  }

  .category-product-card {
    min-height: 180px;
    padding: 1.25rem;
  }

  .category-product-card h3 {
    font-size: 1.15rem;
  }

  .catalog-help-section { padding: 1.5rem 0 3rem; }

  .catalog-help {
    padding: 2rem 1rem;
    border-radius: 8px;
  }

  .catalog-help h2 {
    font-size: 1.55rem;
    line-height: 1.15;
  }

  .catalog-help p {
    font-size: 0.92rem;
    line-height: 1.6;
  }

  .catalog-help-actions {
    width: 100%;
    flex-direction: column;
  }

  .catalog-help-actions .btn,
  .catalog-help-actions .btn-outline-white {
    width: 100%;
  }
}

@media (max-width: 560px) {
  .category-products-grid { grid-template-columns: 1fr; }
}
