
.kat-page { padding-top: 0; background: #fff; }
.kat-hero {
  background: linear-gradient(135deg, #1a5e96 0%, #2680c8 100%);
  padding: 60px 20px 50px;
  text-align: center;
  color: #fff;
}
.kat-hero h1 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800;
  font-size: clamp(32px, 5vw, 52px);
  margin: 0 0 12px;
  letter-spacing: -0.02em;
}
.kat-hero p {
  max-width: 640px;
  margin: 0 auto;
  font-size: 17px;
  opacity: 0.9;
  line-height: 1.55;
}
.kat-main {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 28px;
  max-width: 1320px;
  margin: 0 auto;
  padding: 40px 20px 80px;
}
.kat-filters__inner {
  position: sticky;
  top: 20px;
  background: #f7f8fa;
  border-radius: 16px;
  padding: 24px 22px;
  border: 1px solid #e6e8ec;
}
.kat-filters__title {
  margin: 0 0 18px;
  font-size: 18px;
  font-weight: 700;
  color: #0a0a0a;
}
.kat-filter { margin-bottom: 18px; }
.kat-filter__label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #6b7280;
  margin-bottom: 8px;
}
.kat-filter__brands {
  display: flex;
  flex-direction: column;
  gap: 6px;
  max-height: 260px;
  overflow-y: auto;
}
.kat-filter__brands label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  cursor: pointer;
  padding: 4px 6px;
  border-radius: 6px;
  transition: background 0.15s;
}
.kat-filter__brands label:hover { background: #e9edf3; }
.kat-filter__brands input[type=checkbox] {
  accent-color: #2680c8;
  width: 16px;
  height: 16px;
}
.kat-filter__brands .count {
  margin-left: auto;
  font-size: 12px;
  color: #9ca3af;
}
.kat-filter__select {
  width: 100%;
  padding: 9px 12px;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  background: #fff;
  font-size: 14px;
  font-family: inherit;
  color: #0a0a0a;
}
.kat-filter__select--inline { width: auto; min-width: 220px; }
.kat-filter__range { display: flex; align-items: center; gap: 6px; }
.kat-filter__range span { color: #9ca3af; }
.kat-filter__num {
  flex: 1;
  min-width: 0;
  padding: 9px 10px;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  font-size: 14px;
  font-family: inherit;
}
.kat-btn {
  padding: 11px 18px;
  border: 1px solid #2680c8;
  background: #2680c8;
  color: #fff;
  border-radius: 8px;
  font-weight: 700;
  cursor: pointer;
  font-size: 14px;
  transition: background 0.2s;
  font-family: inherit;
}
.kat-btn:hover { background: #1a5e96; }
.kat-btn--reset {
  width: 100%;
  background: transparent;
  color: #2680c8;
}
.kat-btn--reset:hover { background: #2680c8; color: #fff; }

.kat-results__bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  gap: 12px;
  flex-wrap: wrap;
}
#kat-count {
  font-size: 15px;
  font-weight: 600;
  color: #0a0a0a;
}
.kat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 22px;
}
.kat-card {
  background: #fff;
  border: 1px solid #e6e8ec;
  border-radius: 14px;
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
  display: flex;
  flex-direction: column;
}
.kat-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(38,128,200,0.18);
  border-color: #2680c8;
}
.kat-card__img {
  aspect-ratio: 4 / 3;
  background: #f3f4f6 center/cover no-repeat;
  position: relative;
}
.kat-card__brand {
  position: absolute;
  top: 10px;
  left: 10px;
  background: rgba(255,255,255,0.95);
  border-radius: 6px;
  padding: 4px 10px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #1a5e96;
}
.kat-card__body { padding: 16px 16px 18px; flex: 1; display: flex; flex-direction: column; }
.kat-card__title {
  font-size: 16px;
  font-weight: 700;
  color: #0a0a0a;
  margin: 0 0 6px;
  line-height: 1.3;
}
.kat-card__specs {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 12px;
  font-size: 13px;
  color: #6b7280;
  margin-bottom: 14px;
}
.kat-card__specs span::before { content: "• "; color: #d1d5db; }
.kat-card__specs span:first-child::before { content: ""; }
.kat-card__bottom {
  margin-top: auto;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 10px;
}
.kat-card__price {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 20px;
  font-weight: 800;
  color: #2680c8;
}
.kat-card__btn {
  background: #0a0a0a;
  color: #fff;
  border: none;
  padding: 9px 14px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
  white-space: nowrap;
}
.kat-card__btn:hover { background: #2680c8; }
.kat-empty {
  text-align: center;
  padding: 60px 20px;
  color: #6b7280;
}
.kat-empty p { font-size: 17px; margin-bottom: 18px; }

/* mobile */
@media (max-width: 900px) {
  .kat-main { grid-template-columns: 1fr; }
  .kat-filters__inner { position: static; }
}

/* extras for DB-driven cards */
.kat-card__img { position: relative; }
