/* Keep the category action aligned with the select, rather than its helper text. */
.fb-home .home-category-picker{display:grid;grid-template-columns:minmax(220px,320px) max-content;align-items:start;column-gap:12px;row-gap:10px}
.fb-home .home-category-picker label{line-height:18px;margin:0 0 6px}
.fb-home .home-category-picker select{display:block;width:100%;min-width:0;height:44px;box-sizing:border-box}
.fb-home .home-category-picker button{margin-top:24px;height:44px;box-sizing:border-box;white-space:nowrap;line-height:20px}
.fb-home .home-category-picker small{line-height:16px;margin-top:6px}
/* A short row fills the space instead of leaving vacant product-card columns. */
:is(#catalogue,.home-shelf).home-shelf .grid{grid-template-columns:repeat(auto-fit,minmax(240px,1fr));align-items:stretch}
.fb-home .home-shelf .card{min-width:0}
.fb-home .home-shelf .visual{height:205px;min-height:205px;flex-basis:205px}
.fb-home .home-shelf .info h3{min-height:42px}
.fb-home .home-shelf .fb-card-buy{margin-top:auto}
@media(max-width:700px){:is(#catalogue,.home-shelf).home-shelf .grid{grid-template-columns:repeat(2,minmax(0,1fr))}.fb-home .home-category-picker{grid-template-columns:minmax(0,1fr) max-content}.fb-home .home-category-picker select{font-size:14px}.fb-home .home-category-picker button{padding-left:12px;padding-right:12px;font-size:13px}}
@media(max-width:420px){.fb-home .home-shelf .visual{height:150px;min-height:150px;flex-basis:150px}}
@media(max-width:340px){.fb-home .home-category-picker{grid-template-columns:1fr}.fb-home .home-category-picker button{margin-top:0;width:100%}:is(#catalogue,.home-shelf).home-shelf .grid{grid-template-columns:1fr}}
