/* Родные Травы · Каталог, разделы и подборки по задаче: плитки, фильтры, SEO-текст.
   Перенесено из style.css исходного сайта без изменений значений. */

@media (max-width: 720px) {
  .fbar__right { flex-wrap: wrap; row-gap: 8px; }
}
.cats--compact { grid-template-columns: repeat(4, 1fr); gap: 14px; }
.cats--compact .cat { padding: 18px 18px 18px 22px; grid-template-columns: 1fr 84px; }
.cats--compact .cat h3 { font-size: 20px; margin-bottom: 4px; }
.cats--compact .cat p { font-size: 14px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.cats--compact .cat img { width: 84px; height: 84px; }
.cats--compact .cat .arrow { display: none; }
.cats--compact .cat .n { position: static; display: block; margin-top: 8px; }
.fbar { margin-bottom: 26px; }
.fbar__row { display: flex; justify-content: space-between; gap: 16px; align-items: center; flex-wrap: wrap; }
.fbar__right { display: flex; gap: 10px; align-items: center; margin-left: auto; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { font: inherit; font-size: 14.5px; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--white); color: var(--ink-2); transition: all .22s; }
.chip:hover { border-color: var(--olive); color: var(--forest); }
.chip.on { background: var(--forest); color: var(--paper); border-color: var(--forest); }
.fbtn { font: inherit; font-size: 15px; font-weight: 600; display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--white); color: var(--forest); transition: all .22s; }
.fbtn svg { width: 18px; height: 18px; }
.fbtn:hover, .fbtn[aria-expanded="true"] { background: var(--paper-3); }
.fbtn--reset { border-style: dashed; align-self: end; }
.fcount { background: var(--ochre); color: var(--ink); border-radius: 999px; min-width: 20px; height: 20px; font-size: 12px; display: grid; place-items: center; padding: 0 5px; }
.fbar__more { display: grid; grid-template-columns: repeat(4, 1fr) auto; gap: 18px; margin-top: 16px; padding: 20px 22px; background: var(--white); border: 1px solid var(--line); border-radius: var(--r); animation: dropin .35s cubic-bezier(.2,.7,.2,1); }
.fbar__more fieldset { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px; align-content: start; }
.fbar__more legend { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); font-weight: 700; margin-bottom: 10px; }
.fbar__more .chip { font-size: 13.5px; padding: 6px 12px; }
.fbar__status { display: flex; justify-content: space-between; gap: 12px; margin-top: 14px; font-size: 14.5px; color: var(--ink-3); }
.cathead__grid { display: grid; grid-template-columns: 1fr 260px; gap: 40px; align-items: center; }
.cathead__pic img { width: 260px; height: 260px; border-radius: 50%; object-fit: cover; background: var(--white); box-shadow: var(--shadow); animation: float 9s ease-in-out infinite; }
.seo { max-width: 860px; }
.seo h2 { font-size: clamp(24px, 2.4vw, 30px); margin: 28px 0 10px; }
.seo h2:first-child { margin-top: 0; }
.seo p { color: var(--ink-2); font-size: 17px; }
@media (max-width: 1100px) {
  .cats--compact { grid-template-columns: repeat(2, 1fr); }
  .fbar__more { grid-template-columns: 1fr 1fr; }
  .cathead__grid { grid-template-columns: 1fr; }
  .cathead__pic { display: flex; justify-content: flex-start; }
  .cathead__pic img { width: 160px; height: 160px; }
}
@media (max-width: 720px) {
  .cats--compact, .fbar__more { grid-template-columns: 1fr; }
  .fbar__row { flex-direction: column; align-items: stretch; }
  .fbar__right { margin-left: 0; justify-content: space-between; }
  .chips { overflow-x: auto; flex-wrap: nowrap; padding-bottom: 6px; -webkit-overflow-scrolling: touch; }
  .chip { white-space: nowrap; }
}
