.catalog-page { padding: 24px 0; }

.catalog-toolbar {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-bottom: 12px;
}

.catalog-toolbar input{
  flex: 1;
  max-width: 480px;
  height: 40px;
  padding: 0 12px;
  border: 1px solid #ddd;
  border-radius: 10px;
  outline: none;
}

.catalog-toolbar button{
  height: 40px;
  padding: 0 14px;
  border: 1px solid #111;
  background: #111;
  color: #fff;
  border-radius: 10px;
  cursor: pointer;
}

.reset-link { color: #666; text-decoration: none; margin-left: 6px; }

.catalog-meta { color: #666; margin: 8px 0 14px; }

.catalog-grid{
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 14px;
}

.product-card{
  border: 1px solid #eee;
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
  display: flex;
  flex-direction: column;
}

.product-img{
  height: 160px;
  background: #fafafa;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-img img{
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.img-placeholder{
  color: #999;
  font-size: 14px;
}

.product-body{ padding: 12px; }
.product-title{ font-size: 14px; line-height: 1.3; margin-bottom: 6px; }
.product-sku{ font-size: 13px; color: #666; }

.pagination{
  margin-top: 18px;
  display: flex;
  gap: 8px;
  align-items: center;
}

.page{
  padding: 8px 10px;
  border: 1px solid #eee;
  border-radius: 10px;
  text-decoration: none;
  color: #111;
}

.page.current{ border-color:#111; }
.page.disabled{ color:#999; background:#f7f7f7; border-color:#f0f0f0; }
.empty{ color:#666; padding: 20px 0; }
