body {
  background: #f6f6f4;
}

.category-page {
  padding: 58px 0 90px;
}

.breadcrumbs {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-bottom: 34px;
  color: #6f7785;
  font-size: 15px;
  font-weight: 700;
}

.breadcrumbs a {
  color: inherit;
  text-decoration: none;
}

.breadcrumbs a:hover {
  color: #111;
}

.category-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 32px;
  align-items: end;
  margin-bottom: 42px;
}

.category-hero h1 {
  margin: 0 0 18px;
  color: #252525;
  font-size: clamp(44px, 6.8vw, 94px);
  line-height: 0.95;
  letter-spacing: -0.03em;
  text-transform: uppercase;
}

.category-hero p {
  max-width: 940px;
  margin: 0;
  color: #333;
  font-size: clamp(18px, 1.6vw, 26px);
  line-height: 1.42;
}

.category-summary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 58px;
  padding: 0 24px;
  border-radius: 999px;
  background: #111;
  color: #fff;
  font-size: 17px;
  font-weight: 900;
  text-transform: uppercase;
}

.model-tools {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 220px;
  gap: 16px;
  margin-bottom: 26px;
  padding: 18px;
  border: 1px solid #e1e1dd;
  border-radius: 24px;
  background: #fff;
}

.model-tools input,
.model-tools select {
  width: 100%;
  min-height: 58px;
  padding: 0 18px;
  border: 1px solid #d8d8d2;
  border-radius: 16px;
  background: #fff;
  color: #111;
  font: inherit;
  font-weight: 700;
}

.model-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.model-card {
  display: grid;
  grid-template-columns: 44% minmax(0, 1fr);
  min-height: 260px;
  overflow: hidden;
  border: 1px solid #e1e1dd;
  border-radius: 22px;
  background: #fff;
  cursor: pointer;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.model-card[hidden] {
  display: none !important;
}

.model-card:hover {
  transform: translateY(-5px);
  border-color: #f2cf4a;
  box-shadow: 0 22px 55px rgba(20, 20, 20, 0.11);
}

.model-card.is-highlighted {
  transform: translateY(-8px);
  border-color: #f2cf4a;
  box-shadow: 0 24px 60px rgba(255, 211, 63, 0.34);
}

.model-card__media {
  display: grid;
  min-height: 260px;
  place-items: center;
  padding: 22px;
  background:
    linear-gradient(135deg, rgba(255, 219, 80, 0.24), rgba(255, 255, 255, 0.84)),
    repeating-linear-gradient(120deg, rgba(255, 219, 80, 0.42) 0 18px, transparent 18px 34px);
}

.model-card__placeholder {
  display: grid;
  width: 100%;
  min-height: 190px;
  place-items: center;
  border: 2px dashed rgba(17, 17, 17, 0.22);
  border-radius: 18px;
  color: rgba(17, 17, 17, 0.58);
  font-size: 15px;
  font-weight: 900;
  text-align: center;
  text-transform: uppercase;
}

.model-card__body {
  display: flex;
  flex-direction: column;
  padding: 28px;
}

.model-card h2 {
  margin: 0 0 14px;
  color: #111;
  font-size: clamp(26px, 2.2vw, 38px);
  line-height: 1.08;
}

.model-card__meta {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
  margin: 0 0 24px;
}

.model-card__meta span {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  border-radius: 999px;
  padding: 0 12px;
  background: #f3f3ef;
  color: #596171;
  font-size: 15px;
  font-weight: 900;
}

.model-card__actions {
  display: flex;
  gap: 12px;
  margin-top: auto;
  flex-wrap: wrap;
}

.model-card__actions a,
.model-card__actions button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  padding: 0 18px;
  color: #111;
  background: #ffdb50;
  font: inherit;
  font-weight: 900;
  text-decoration: none;
}

.model-card__actions button {
  background: #111;
  color: #fff;
}

.category-empty {
  margin-top: 24px;
  padding: 34px;
  border-radius: 22px;
  background: #111;
  color: #fff;
}

.category-empty[hidden] {
  display: none;
}

@media (max-width: 1100px) {
  .category-hero,
  .model-tools {
    grid-template-columns: 1fr;
  }

  .model-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  .category-page {
    padding-top: 34px;
  }

  .model-card {
    grid-template-columns: 1fr;
  }

  .model-card__media {
    min-height: 220px;
  }
}
