/* Real primary-category navigation; no truncated or hard-coded category menu. */
.buyer-body .home-page .cat-wall { display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); gap:12px 8px; padding:12px 14px; overflow:visible; }
.buyer-body .home-page .cat-wall .cat-tab { display:flex; flex-direction:column; align-items:center; justify-content:flex-start; width:auto; height:auto; min-width:0; gap:7px; padding:8px 2px; color:inherit; text-decoration:none; }
.buyer-body .home-page .cat-wall .cat-name { width:100%; max-width:none; height:auto; white-space:normal; overflow:visible; text-overflow:clip; font-size:12px; line-height:1.4; overflow-wrap:anywhere; }
.buyer-body .home-category-section { margin:24px 0; min-width:0; }
.buyer-body .home-category-heading { display:flex; align-items:center; justify-content:space-between; gap:16px; padding:0 14px 8px; }
.buyer-body .home-category-heading h2 { min-width:0; margin:0; font-size:18px; line-height:1.4; overflow-wrap:anywhere; }
.buyer-body .home-category-heading a { flex-shrink:0; font-size:13px; color:#d9002b; text-decoration:none; }
.buyer-body .home-category-section .goods-card { min-width:0; color:inherit; text-decoration:none; }
.buyer-body .home-catalog-state { padding:24px 14px; text-align:center; color:#667085; }
.buyer-body .home-category-more { padding:8px 14px 28px; text-align:center; }
.buyer-body .home-category-more button { width:auto; min-width:160px; padding:12px 24px; }
.buyer-body .home-page :is(.cat-tab,.home-category-heading a,.goods-card):focus-visible { outline:2px solid #d9002b; outline-offset:3px; }
@media (max-width:374px) { .buyer-body .home-page .cat-wall { grid-template-columns:repeat(4,minmax(0,1fr)); } }
@media (min-width:768px) {
  html:not(.force-h5) .buyer-body .home-page .cat-wall { grid-template-columns:repeat(8,minmax(0,1fr)); gap:18px 12px; padding:8px 0; }
  html:not(.force-h5) .buyer-body .home-category-section { margin:40px 0; }
  html:not(.force-h5) .buyer-body .home-category-heading { padding:0 0 18px; }
  html:not(.force-h5) .buyer-body .home-category-heading h2 { font-size:22px; }
  html:not(.force-h5) .buyer-body .home-category-section .goods-grid { grid-template-columns:repeat(3,minmax(0,1fr)); padding:0; }
}
@media (min-width:1200px) { html:not(.force-h5) .buyer-body .home-category-section .goods-grid { grid-template-columns:repeat(6,minmax(0,1fr)); } }
@media (min-width:1280px) { html:not(.force-h5) .buyer-body .home-page .cat-wall { grid-template-columns:repeat(11,minmax(0,1fr)); } }
