/* Parent buttons row */
.themsah-af .parents {
  display:flex; flex-wrap:wrap; gap:8px; margin:8px 0 16px;
}

/* Checkbox group */
.themsah-af .row.selector { margin-bottom:12px; }
.themsah-af .themsah-checkbox-toolbar { display:flex; gap:8px; margin:6px 0 10px; }
.themsah-af .themsah-checkbox-group { display:flex; flex-direction:column; gap:6px; }
.themsah-af .themsah-checkbox { display:flex; align-items:center; gap:8px; }

/* Actions */
.themsah-af .actions { display:flex; gap:8px; margin-top:10px; align-items:center; }

/* Results grid: 1 / 2 / 3 columns while keeping Woo product card styles intact */
.themsah-af ul.products.themsah-grid {
  display:grid !important;
  grid-template-columns: 1fr;
  gap: var(--themsah-products-gap, 24px);
  list-style:none; padding:0; margin:16px 0;
}
.themsah-af ul.products.themsah-grid li.product { width:100% !important; margin:0 !important; }

/* md ≥ 768px → 2 columns */
@media (min-width: 768px) {
  .themsah-af ul.products.themsah-grid {
    grid-template-columns: repeat(2, minmax(0,1fr));
  }
}
/* lg ≥ 1024px → 3 columns */
@media (min-width: 1024px) {
  .themsah-af ul.products.themsah-grid {
    grid-template-columns: repeat(3, minmax(0,1fr));
  }
}
