/* Основные категории — 522:7679: фон #f7f7f7, отступы 100/110, промежуток 60 */
.cats {
  background: var(--paper);
  padding: clamp(56px, 5.2083vw, 100px) var(--gutter);
  display: flex;
  flex-direction: column;
  gap: clamp(32px, 3.125vw, 60px);
}
.cats__title {
  font-size: clamp(30px, 2.7083vw, 52px);
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: 1px;
  color: #000;
}
.cats__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 1.3021vw, 25px);
}
.cat {
  display: flex;
  flex-direction: column;
  border-radius: var(--r-xl);
  background: var(--ink);
  overflow: hidden;
}
.cat__media { height: clamp(220px, 19.0104vw, 365px); }
.cat__media { position: relative; overflow: hidden; }
.cat__media img { width: 100%; height: 100%; object-fit: cover; }


.cat__body {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 20px;
  flex: 1 1 auto;
}
.cat__head {
  display: flex;
  flex-wrap: wrap;     /* «FOR BALCONIES» с ценой не помещались в строку — цена уезжала за край */
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--paper);
}
.cat__name {
  font-size: clamp(20px, 1.3542vw, 26px);
  font-weight: 900;
  line-height: var(--lh-h3);
  letter-spacing: 1px;
  text-transform: uppercase;
  white-space: nowrap;
}
.cat__price {
  font-size: var(--t-body);
  font-weight: 600;
  line-height: var(--lh-h4);
  letter-spacing: 1px;
  white-space: nowrap;
}
.cat__text {
  font-size: var(--t-body);
  font-weight: 600;
  line-height: var(--lh-h4);
  letter-spacing: 1px;
  color: var(--paper);
}
/* см. .ocard__btn: выравниваем низ карточек в ряду */
.cat__btn {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 10px 20px;
  line-height: var(--lh-h4);
  border-radius: var(--r-xl);
  background: var(--gold-grad);
  font-size: var(--t-body);
  font-weight: 600;
  letter-spacing: 1px;
  color: var(--ink);
  transition: transform 240ms cubic-bezier(0.4, 0, 0.2, 1),
              box-shadow 240ms cubic-bezier(0.4, 0, 0.2, 1);
}
.cat__btn img { flex: 0 0 20px; width: 20px; }
.cat__btn:hover { transform: translateY(-1px); box-shadow: 0 8px 24px rgba(184, 138, 52, 0.35); }

@media (max-width: 1279px) {
  .cats__grid { grid-template-columns: repeat(2, 1fr); }
  .cat__name { white-space: normal; }
}
@media (max-width: 767px) {
  .cats__grid { grid-template-columns: 1fr; }
  .cat__head { flex-direction: column; align-items: flex-start; gap: 6px; }
  .cat__text br { display: none; }
}
