/* Product format and view choice share one row beneath the set browser. */
.catalog-format-row{display:flex;align-items:center;flex-wrap:wrap;gap:20px;margin:20px 0 24px}
.catalog-format-row:has(>section:not([hidden])){padding:16px 20px;border:1px solid #d7e3f4;border-radius:14px;background:linear-gradient(135deg,#fff,#f5f8ff)}
.catalog-format-row>.collection-subcategories{display:flex;align-items:center;flex:1 1 480px;min-width:0;gap:18px;margin:0;padding:0;border:0;border-radius:0;background:none;box-shadow:none}
.catalog-format-row>.collection-subcategories[hidden]{display:none}
.catalog-format-row .subdivision-heading{min-width:0;max-width:180px;flex:0 1 auto;margin:0}
.catalog-format-row .subtype-dropdown-host{flex:1;min-width:0}
.catalog-format-row>.catalog-view-controls{margin-inline-start:auto;align-self:center}
@media(max-width:900px){.catalog-format-row{gap:14px}.catalog-format-row>.collection-subcategories{flex-basis:100%}}
@media(max-width:600px){
 .catalog-format-row:has(>section:not([hidden])){padding:14px}
 .catalog-format-row>.collection-subcategories{display:block}
 .catalog-format-row .subdivision-heading{max-width:none;margin-bottom:10px}
 .catalog-format-row>.catalog-view-controls{max-width:100%;box-sizing:border-box}
 .catalog-format-row>.catalog-view-controls button{flex:1;min-width:0}
}
