/* Related-category navigation is separate from the matching product cards. */
.ag-search-results-v2 .ag-search-related-categories { box-sizing: border-box; margin: 12px 0 16px; padding: 14px; border: 1px solid #d0d0d0; border-radius: 16px; background: #fff; }
.ag-search-results-v2 .ag-search-related-categories h3 { margin: 0 0 8px; color: #888; font-size: 13px; font-weight: normal; line-height: 1.4; }
.ag-search-results-v2 .ag-search-related-parent { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 40px; color: #1b1b1b; font-size: 15px; font-weight: bold; line-height: 1.4; text-decoration: none; }
.ag-search-results-v2 .ag-search-related-parent > span:first-child { min-width: 0; overflow-wrap: anywhere; }
.ag-search-results-v2 .ag-search-related-parent > span:last-child { flex-shrink: 0; color: #888; font-size: 24px; font-weight: normal; }
.ag-search-results-v2 .ag-search-related-children { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.ag-search-results-v2 .ag-search-related-chip { box-sizing: border-box; display: inline-flex; align-items: center; gap: 6px; max-width: 100%; min-height: 44px; padding: 9px 10px; border: 1px solid #e0e0e0; border-radius: 8px; background: #f7f7f7; color: #333; font-size: 13px; line-height: 1.4; text-decoration: none; }
.ag-search-results-v2 .ag-search-related-chip > span:first-child { min-width: 0; word-break: keep-all; overflow-wrap: anywhere; }
.ag-search-results-v2 .ag-search-related-count { flex-shrink: 0; color: #888; font-size: 12px; white-space: nowrap; }
.ag-search-results-v2 .ag-search-related-categories a:focus-visible { outline: 2px solid #16813c; outline-offset: 2px; }
