/* Presentation before the category landing page was introduced. */
.catalog-modes{display:none}
.catalog-layout{grid-template-columns:190px minmax(0,1fr);gap:24px}
.sidebar{background:#fff;padding:22px 16px;border-radius:18px;border:0}
.sidebar h3{font-size:16px;margin-bottom:20px}
#categoryButtons{display:grid;gap:5px}
#categoryButtons button{padding:12px 10px;font-size:12px;background:transparent;color:#414650;border-radius:10px}
#categoryButtons button.active{background:#ffcf26;color:#202124}
.toolbar{margin-bottom:20px}
.products{grid-template-columns:repeat(4,minmax(0,1fr));gap:22px}

@media(min-width:1700px){.products{grid-template-columns:repeat(5,minmax(0,1fr))}}
@media(max-width:1250px){.products{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:850px){.products{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){.catalog-layout{grid-template-columns:1fr}.sidebar{padding:0;background:transparent}#categoryButtons{display:flex;overflow-x:auto;flex-wrap:nowrap;gap:7px}.products{gap:18px 12px}}
.sidebar-group{display:block;font-size:10px;line-height:1.6;letter-spacing:.06em;text-transform:uppercase;color:#9298a3;margin:18px 10px 7px}.product-title{min-height:66px}@media(max-width:700px){.sidebar-group{display:none}.product-title{min-height:62px}}

/* Readable, expandable category navigation. */
.catalog-layout{grid-template-columns:250px minmax(0,1fr)}
.sidebar,#categoryButtons button{font-family:Arial,"Segoe UI",sans-serif}
#categoryButtons{display:grid;gap:4px}
#categoryButtons .category-link{display:flex;align-items:center;justify-content:space-between;gap:10px;width:100%;min-height:46px;padding:11px 12px;text-align:left;font-size:15px;line-height:1.4;font-weight:400;color:#30343b;white-space:normal}
#categoryButtons .category-link:hover{background:#fff5cf}
#categoryButtons .category-link.active{font-weight:700;background:#ffcf26;color:#17191c}
#categoryButtons .category-link.ancestor{font-weight:700}
#categoryButtons .category-count{font-size:12px;color:#737a84;flex-shrink:0}
.category-parent-row{display:flex;align-items:center;margin-top:8px}
#categoryButtons .category-parent-row .category-link{flex:1;min-width:0}
#categoryButtons .category-toggle{flex:0 0 32px;min-height:44px;padding:6px;font-size:22px;color:#424853}
#categoryButtons button:focus-visible{outline:2px solid #a67b00;outline-offset:2px}
.category-children{display:grid;gap:3px;margin:2px 0 10px 12px;padding-left:8px;border-left:2px solid #eceef1}
.category-children[hidden]{display:none}
#categoryButtons .category-child{font-size:14px;min-height:42px}
@media(max-width:700px){.catalog-layout{grid-template-columns:1fr}.sidebar{background:#fff;padding:16px;border-radius:16px}#categoryButtons{display:grid;overflow:visible}.category-children{margin-bottom:6px}}
