.subcategory-catalog { padding:48px 0 88px; background:#f7f9f8; }
.subcategory-breadcrumb { display:flex; flex-wrap:wrap; align-items:center; gap:8px; margin-bottom:30px; color:#68746c; font-size:13px; }
.subcategory-breadcrumb a { color:#28653a; font-weight:700; text-decoration:none; }
.subcategory-breadcrumb a:hover { color:#1d8b3b; text-decoration:underline; }
.subcategory-heading { max-width:760px; margin-bottom:26px; }
.subcategory-heading > span { display:block; margin-bottom:7px; color:#218838; font-size:14px; font-weight:800; letter-spacing:0; }
.subcategory-heading h1 { margin:0 0 8px; color:#26352b; font-size:36px; line-height:1.2; overflow-wrap:anywhere; }
.subcategory-heading p { margin:0; color:#657169; font-size:15px; line-height:1.5; }
.subcategory-model-filter { display:flex; align-items:flex-start; gap:18px; margin-bottom:26px; padding:16px 18px; border:1px solid #dfe7e1; border-radius:8px; background:#fff; box-shadow:0 8px 26px rgba(39,66,46,.06); }
.subcategory-model-filter strong { flex:0 0 auto; padding-top:8px; color:#29382f; font-size:14px; }
.subcategory-model-filter > div { display:flex; flex-wrap:wrap; gap:8px; min-width:0; }
.subcategory-model-filter a { display:inline-flex; align-items:center; justify-content:center; min-height:38px; padding:7px 13px; border:1px solid #d7e1da; border-radius:999px; color:#34463a; background:#f8faf9; font-size:13px; font-weight:700; text-decoration:none; white-space:nowrap; }
.subcategory-model-filter a:hover,
.subcategory-model-filter a.active { color:#fff; border-color:#218838; background:#218838; }
.subcategory-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:18px; }
.subcategory-card { display:flex; flex-direction:column; min-width:0; min-height:100%; overflow:hidden; border:1px solid #e0e7e2; border-radius:8px; background:#fff; box-shadow:0 10px 28px rgba(42,64,47,.07); transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease; }
.subcategory-card:hover { transform:translateY(-3px); border-color:#b9d4bf; box-shadow:0 16px 38px rgba(42,64,47,.12); }
.subcategory-card-image { position:relative; display:flex; align-items:center; justify-content:center; aspect-ratio:1/1; overflow:hidden; background:#f3f5f4; }
.subcategory-card-image img { width:100%; height:100%; padding:14px; object-fit:contain; }
.subcategory-badge { position:absolute; z-index:2; top:12px; left:12px; padding:6px 10px; border-radius:999px; color:#fff; background:#218838; font-size:12px; font-weight:800; }
.subcategory-badge-sale { background:#c62828; }
.subcategory-card-body { display:flex; flex:1; flex-direction:column; padding:16px; }
.subcategory-card-model { align-self:flex-start; min-height:24px; margin-bottom:9px; padding:4px 8px; border-radius:999px; color:#47584d; background:#edf2ee; font-size:11px; font-weight:800; }
.subcategory-card h2 { min-height:70px; margin:0 0 12px; font-size:17px; line-height:1.38; overflow-wrap:anywhere; }
.subcategory-card h2 a { color:#26352b; text-decoration:none; }
.subcategory-card h2 a:hover { color:#218838; }
.subcategory-prices { display:grid; gap:2px; margin-top:auto; padding-top:8px; }
.subcategory-prices span { color:#8b938d; font-size:13px; text-decoration:line-through; }
.subcategory-prices strong { color:#218838; font-size:22px; line-height:1.2; }
.subcategory-action { display:flex; align-items:center; justify-content:center; min-height:42px; margin-top:14px; padding:8px 12px; border-radius:6px; color:#fff !important; background:#26352b; font-weight:800; text-decoration:none !important; }
.subcategory-action:hover { background:#218838; }
.subcategory-empty { padding:46px 22px; border:1px dashed #cbd8ce; border-radius:8px; background:#fff; text-align:center; }
.subcategory-empty h2 { margin:0 0 8px; color:#26352b; font-size:23px; }
.subcategory-empty p { margin:0 0 18px; color:#657169; }
.subcategory-empty a { display:inline-flex; min-height:42px; align-items:center; padding:8px 16px; border-radius:6px; color:#fff; background:#218838; font-weight:700; }
.subcategory-pagination { display:flex; flex-wrap:wrap; justify-content:center; gap:8px; margin-top:34px; }
.subcategory-pagination a { display:grid; place-items:center; min-width:42px; height:42px; padding:0 13px; border:1px solid #dce6df; border-radius:6px; color:#304138; background:#fff; font-weight:700; text-decoration:none; }
.subcategory-pagination a:hover,
.subcategory-pagination a.active { color:#fff; border-color:#218838; background:#218838; }
@media (max-width:1199px) {
    .subcategory-grid { grid-template-columns:repeat(3,minmax(0,1fr)); }
}
@media (max-width:767px) {
    .subcategory-catalog { padding:34px 0 68px; }
    .subcategory-breadcrumb { margin-bottom:22px; }
    .subcategory-heading h1 { font-size:28px; }
    .subcategory-model-filter { display:block; padding:14px; }
    .subcategory-model-filter strong { display:block; margin-bottom:10px; padding:0; }
    .subcategory-model-filter > div { flex-wrap:nowrap; overflow-x:auto; padding-bottom:3px; scrollbar-width:thin; }
    .subcategory-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; }
    .subcategory-card-body { padding:13px; }
    .subcategory-card h2 { min-height:62px; font-size:15px; }
    .subcategory-prices strong { font-size:19px; }
}
@media (max-width:480px) {
    .subcategory-grid { grid-template-columns:1fr; }
    .subcategory-card h2 { min-height:0; }
}
