/* Scoped to the size controls; product imagery and commerce styles are unchanged. */
.product-first-home .size-filter{min-width:0;margin:0 0 28px;padding:0;border:0}
.product-first-home .size-filter>legend{font-size:11px;margin-bottom:9px;padding:0}
.product-first-home .size-filter-help,.product-first-home .size-filter-summary{font-size:11px;line-height:1.5;margin:0 0 12px;color:var(--muted)}
.product-first-home .size-filter-group{min-width:0;margin:14px 0 0;padding:0;border:0}
.product-first-home .size-filter-group>legend{font-size:11px;font-weight:600;margin-bottom:8px;padding:0}
.product-first-home .size-filter-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.product-first-home .size-filter-choice{display:flex;align-items:center;gap:7px;min-height:44px;padding:8px;border:1px solid var(--line);font-size:12px;cursor:pointer;overflow-wrap:anywhere}
.product-first-home .size-filter-choice:has(input:checked){border-color:var(--ink);background:#f4f3ef}
.product-first-home .size-filter-choice:focus-within{outline:2px solid var(--accent);outline-offset:2px}
.product-first-home .size-filter-choice input{appearance:auto;flex:none;width:16px;height:16px;margin:0;accent-color:var(--ink)}
.product-first-home .size-filter-choice small{font-size:10px;color:var(--muted)}
.product-first-home .size-filter-actions{display:flex;align-items:baseline;justify-content:space-between;gap:12px;margin-top:12px}
.product-first-home .size-filter-actions .text-button{font-size:11px;text-decoration:underline;min-height:44px}
.product-first-home #filter-dialog .home-drawer-footer{position:sticky;bottom:0;background:#fff;z-index:1;flex-wrap:wrap}
@media(max-width:359px){.product-first-home .size-filter-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.product-first-home #filter-dialog .home-drawer-footer{gap:12px}}
.product-first-home #category-select[hidden]{display:none}
