.catalog-page {
  min-height: 100vh;
}

.layout {
  display: flex;
  max-width: 1480px;
  margin: 0 auto;
  padding: 28px 28px 60px;
  gap: 40px;
}

.catalog-main {
  flex: 1;
  min-width: 0;
}

.toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 22px;
  flex-wrap: wrap;
  gap: 10px;
}

.toolbar-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.count-label {
  font-size: 13px;
  color: var(--soft);
}

.sort-select {
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 8px 36px 8px 14px;
  font-family: var(--font-b);
  font-size: 12px;
  cursor: pointer;
  outline: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%23555'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  letter-spacing: 0.05em;
}

.empty-state {
  text-align: center;
  padding: 80px 20px;
  color: var(--soft);
}

.empty-state.is-hidden {
  display: none;
}

.empty-icon {
  font-size: 44px;
  opacity: 0.15;
  margin-bottom: 20px;
}

.empty-title {
  font-size: 17px;
  margin-bottom: 8px;
  color: var(--text);
}

.empty-sub {
  font-size: 13px;
  margin-bottom: 28px;
}

.btn-reset-filters {
  padding: 11px 28px;
  background: var(--accent);
  border: none;
  color: #fff;
  cursor: pointer;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-family: var(--font-b);
  transition: opacity 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-reset-filters:hover {
  opacity: 0.88;
}

.products-grid-wrap.is-hidden {
  display: none;
}

@media (prefers-reduced-motion: reduce) {
  .product-card,
  .drawer,
  .card-hover-layer,
  .hbtn,
  .chip {
    transition: none;
    animation: none;
  }
}
