.tg-catalog { padding: 44px 0 64px; background: #fbfcfa; }
.tg-catalog-nav { padding: 22px 24px 18px; margin-bottom: 34px; border: 1px solid #e1e8dd; border-radius: 18px; background: #fff; }
.tg-catalog-nav__label { display: flex; align-items: center; gap: 9px; margin-bottom: 16px; color: #183e50; font-size: 15px; font-weight: 700; }
.tg-catalog-nav__label > span { color: #73a82c; font-size: 23px; line-height: 1; }
.tg-catalog-nav ul, .tg-catalog-nav li { margin: 0; padding: 0; list-style: none; }
.tg-catalog-nav .tg-cat-list { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 8px; }
.tg-catalog-nav .tg-cat-item { display: contents; }
.tg-catalog-nav .tg-cat-row { display: flex; align-items: center; gap: 0; order: 0; border: 1px solid #e5eade; border-radius: 10px; background: #f8faf5; }
.tg-catalog-nav .tg-cat-link, .tg-catalog-nav .tg-cat-child-link { display: inline-flex; align-items: center; min-height: 42px; padding: 9px 13px; border-radius: 9px; color: #3c4c43; font-size: 14px; font-weight: 500; line-height: 1.4; text-decoration: none; transition: background .2s, color .2s; }
.tg-catalog-nav .tg-cat-link:hover, .tg-catalog-nav .tg-cat-child-link:hover { background: #edf5df; color: #4b761d; }
.tg-catalog-nav .tg-cat-link.active { color: #fff; background: #6fa52c; font-weight: 600; }
.tg-catalog-nav .tg-cat-toggle { display: flex; align-items: center; justify-content: center; width: 30px; height: 30px; padding: 0; margin-right: 5px; color: #718063; border: 0; border-radius: 6px; background: transparent; cursor: pointer; }
.tg-catalog-nav .tg-cat-toggle:hover { background: #e8f0dd; }
.tg-catalog-nav .tg-plus { display: block; width: 8px; height: 8px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg) translateY(-2px); transition: transform .2s; }
.tg-catalog-nav .is-open .tg-plus { transform: rotate(225deg) translate(-1px, -1px); }
.tg-catalog-nav .tg-cat-children { display: none; flex: 0 0 100%; order: 1; flex-wrap: wrap; align-items: center; gap: 6px; padding: 14px 0 0; margin-top: 4px; border-top: 1px solid #edf0e8; }
.tg-catalog-nav .is-open > .tg-cat-children { display: flex; }
.tg-catalog-nav .tg-cat-child-link { min-height: 34px; padding: 6px 12px; font-size: 13px; }
.tg-catalog-nav .tg-cat-child-link.active { background: #edf5df; color: #4b761d; font-weight: 700; }
.tg-catalog-nav__group { display: flex; align-items: center; gap: 14px; margin-right: 4px !important; color: #879180; font-size: 13px; }
.tg-catalog-nav__group span { color: #c1cbbb; }
.tg-catalog-heading { display: flex; align-items: end; justify-content: space-between; flex-wrap: wrap; gap: 12px 24px; margin-bottom: 24px; }
.tg-catalog-heading__eyebrow { display: block; margin-bottom: 8px; color: #78955b; font-size: 11px; font-weight: 700; letter-spacing: .15em; }
.tg-catalog-heading h1 { margin: 0; color: #183e50; font-size: clamp(25px, 2.6vw, 34px); line-height: 1.25; font-weight: 700; }
.tg-catalog-heading p { margin: 0 0 3px; color: #7b857c; font-size: 14px; }
.tg-catalog .tg-catalog-tools { box-shadow: none; border-color: #e3e9df; border-radius: 14px; padding: 16px 18px; margin-bottom: 18px; }
.tg-catalog .tg-catalog-tools input[type="search"], .tg-catalog .tg-catalog-tools select { background-color: #fbfcfa; border-width: 1px; border-color: #dfe6da; font-size: 14px; height: 44px; border-radius: 8px; }
.tg-catalog .tg-catalog-tools__submit { height: 44px; border-radius: 8px; }
.tg-catalog .tg-catalog-summary { margin-bottom: 22px; font-size: 14px; }
.tg-catalog .tg-catalog-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 22px 16px; margin: 0; transition: opacity .2s; }
.tg-catalog-grid > .tg-category-item { width: auto; max-width: none; min-width: 0; padding: 0; }
.tg-catalog-grid > .tg-catalog-grid-empty { grid-column: 1 / -1; min-width: 0; }
.tg-catalog .tg-product-card { display: flex; flex-direction: column; height: 100%; overflow: hidden; background: #fff; border: 1px solid #e4e9e0; border-radius: 14px; transition: border-color .2s, box-shadow .2s, transform .2s; }
.tg-catalog .tg-product-card:hover { transform: translateY(-4px); border-color: #c9d9b8; box-shadow: 0 10px 24px rgba(36, 65, 27, .07); }
.tg-catalog .tg-product-card .thumb { border-radius: 0; }
.tg-catalog .tg-product-card .thumb a { display: block; }
.tg-catalog .tg-product-card .thumb a::before { display: none; }
.tg-catalog .tg-product-card .thumb figure { aspect-ratio: 1; margin: 0; overflow: hidden; border-radius: 0; background: #fff; }
.tg-catalog .tg-product-card .thumb figure img { display: block; width: 100%; height: 100%; object-fit: contain; border-radius: 0; transition: transform .35s; }
.tg-catalog .tg-product-card:hover .thumb img { transform: scale(1.04); }
.tg-catalog .tg-product-card .content { display: flex; flex: 1; flex-direction: column; padding: 16px 12px 14px; margin: 0; border-top: 1px solid #f1f3ed; }
.tg-catalog .tg-product-card .content > .title { display: flex; align-items: center; justify-content: center; flex: 1; margin: 0 0 12px; min-height: 40px; font-size: 14px; line-height: 1.45; font-weight: 600; }
.tg-catalog .tg-product-card .content > .title a { color: #284451; }
.tg-catalog .tg-product-card .content > .title a:hover { color: #6c9d2e; }
.tg-catalog .tg-product-card .bd-meta { width: 100%; margin: 0 !important; opacity: 1; visibility: visible; transform: none; }
.tg-catalog .tg-product-card .meta-item { width: 100%; }
.tg-catalog .all-products-buy-btn { display: inline-flex; align-items: center; justify-content: center; width: 100%; min-height: 36px; padding: 7px 5px; border: 1px solid #d9e9c7; border-radius: 8px; background: #f1f7e8; color: #557e27; font-size: 12px; font-weight: 600; line-height: 1.4; letter-spacing: 0; box-shadow: none; white-space: normal; cursor: pointer; transition: background .2s, color .2s; }
.tg-catalog .all-products-buy-btn:hover { background: #70a72c; border-color: #70a72c; color: #fff; transform: none; box-shadow: none; }
.tg-catalog-pagination { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; padding-top: 28px; margin-top: 32px; border-top: 1px solid #e3e9df; }
.tg-catalog-pagination > p { margin: 0; color: #7a8579; font-size: 13px; }
.tg-catalog-pagination strong { color: #3f5746; font-weight: 600; }
.tg-catalog-pager { display: flex; align-items: center; gap: 6px; margin: 0; padding: 0; list-style: none; }
.tg-catalog-pager li { margin: 0; padding: 0; }
.tg-catalog-pager__link { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-width: 40px; height: 40px; padding: 0 12px; border: 1px solid #dfe6d8; border-radius: 9px; background: #fff; color: #435344; font-size: 14px; font-weight: 500; text-decoration: none; transition: background .2s, border-color .2s, color .2s; }
.tg-catalog-pager a:hover { background: #edf5e2; border-color: #9fbd7c; color: #507526; }
.tg-catalog-pager .active .tg-catalog-pager__link { background: #6fa52c; border-color: #6fa52c; color: #fff; box-shadow: 0 4px 10px rgba(111, 165, 44, .14); }
.tg-catalog-pager .disabled .tg-catalog-pager__link { color: #b0b8aa; background: transparent; border-color: #e7ebe2; }
.tg-catalog :is(a, button):focus-visible { outline: 3px solid #247fa6; outline-offset: 3px; }
@media (max-width: 1099.98px) { .tg-catalog .tg-catalog-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 767.98px) {
    .tg-catalog { padding: 26px 0 40px; }
    .tg-catalog-nav { padding: 16px; margin-bottom: 24px; border-radius: 14px; }
    .tg-catalog-nav .tg-cat-list { gap: 8px 6px; }
    .tg-catalog-nav .tg-cat-link { font-size: 12px; padding: 8px 10px; min-height: 38px; }
    .tg-catalog-nav .tg-cat-toggle { width: 24px; }
    .tg-catalog-nav__group { display: none; }
    .tg-catalog-heading { margin-bottom: 18px; }
    .tg-catalog-heading p { font-size: 13px; }
    .tg-catalog .tg-catalog-tools { padding: 12px; }
    .tg-catalog .tg-catalog-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px 12px; }
    .tg-catalog-pagination { justify-content: center; margin-top: 24px; padding-top: 22px; }
}
@media (max-width: 575.98px) {
    .tg-catalog .tg-catalog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .tg-catalog-grid > .tg-category-item { width: auto !important; max-width: none !important; }
    .tg-catalog .tg-product-card .content { padding: 12px 10px; }
    .tg-catalog .tg-product-card .content > .title { font-size: 13px; }
    .tg-catalog-pager__link { min-width: 35px; height: 38px; padding: 0 10px; }
    .tg-catalog-pager__label { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
}
@media (prefers-reduced-motion: reduce) { .tg-catalog *, .tg-catalog *::before { transition: none !important; } }
