/* AGC Compatible Products — matches parker-enrichment-design tokens */
.agc-fits { font-family: 'Inter', system-ui, -apple-system, sans-serif; color: var(--agc-ink, #0a0a0a); }
.agc-fits * { box-sizing: border-box; }
.agc-fits-head h2 { margin: 0 0 8px; }
.agc-fits-lead { color: var(--agc-ink-2, #2b2b2b); max-width: 760px; margin: 0 0 28px; }
.agc-fits-group { border: 1px solid var(--agc-line, #e8e8e8); border-radius: var(--agc-radius-lg, 14px); padding: 20px; margin-bottom: 16px; background: #fff; }
.agc-fits-group.role-required { border-color: var(--agc-yellow, #ffce2b); box-shadow: inset 4px 0 0 var(--agc-yellow, #ffce2b); }
.agc-fits-group-head { display: flex; justify-content: space-between; gap: 16px; align-items: flex-start; flex-wrap: wrap; margin-bottom: 12px; }
.agc-fits-group h3 { font-family: 'Inter', system-ui, sans-serif !important; font-size: 17px; font-weight: 700; margin: 0 0 4px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.agc-fits-note { font-size: 14px; color: var(--agc-ink-2, #2b2b2b); margin: 0 !important; }
.agc-fits-src { font-size: 11px; color: var(--agc-ink-3, #6b6b6b); white-space: nowrap; }
.agc-fits-pill { font-size: 10px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; padding: 3px 9px; border-radius: 100px; background: var(--agc-bg-soft, #f7f7f5); color: var(--agc-ink-2, #2b2b2b); border: 1px solid var(--agc-line, #e8e8e8); }
.agc-fits-pill.required { background: var(--agc-yellow, #ffce2b); border-color: var(--agc-yellow-deep, #f5b800); color: #0a0a0a; }
.agc-fits-chips { display: flex; gap: 6px; flex-wrap: wrap; margin: 4px 0 10px; }
.agc-fits-chips button { font: 600 12px 'Inter', sans-serif; padding: 6px 12px; border-radius: 100px; border: 1px solid var(--agc-line, #e8e8e8); background: #fff; color: var(--agc-ink-2, #2b2b2b); cursor: pointer; }
.agc-fits-chips button:hover { border-color: var(--agc-ink, #0a0a0a); }
.agc-fits-chips button.on { background: var(--agc-ink, #0a0a0a); border-color: var(--agc-ink, #0a0a0a); color: #fff; }
.agc-fits-list { list-style: none; margin: 0; padding: 0; }
.agc-fits-row { display: grid; grid-template-columns: 56px minmax(0, 1fr) 150px 112px 96px; gap: 14px; align-items: center; padding: 10px 0; border-top: 1px solid var(--agc-line, #e8e8e8); }
.agc-fits-row:first-child { border-top: 0; }
.agc-fits-row.is-more, .agc-fits-row.is-filtered { display: none; }
.agc-fits-group.show-all .agc-fits-row.is-more:not(.is-filtered) { display: grid; }
.agc-fits-row.is-selected { background: var(--agc-yellow-soft, #fff5cf); border-radius: var(--agc-radius, 8px); }
.agc-fits-img { width: 56px; height: 56px; border-radius: var(--agc-radius, 8px); background: var(--agc-bg-soft, #f7f7f5); display: grid; place-items: center; overflow: hidden; }
.agc-fits-img img { max-width: 100%; max-height: 100%; object-fit: contain; }
.agc-fits-name { font-size: 14px; font-weight: 600; line-height: 1.35; color: var(--agc-ink, #0a0a0a) !important; display: block; }
.agc-fits-name:hover { text-decoration: underline; }
.agc-fits-sub { display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: center; margin-top: 4px; }
.agc-fits .agc-sku { font-family: 'JetBrains Mono', monospace; font-size: 11px; color: var(--agc-ink-3, #6b6b6b); }
.agc-fits-tag { font-size: 11px; font-weight: 600; padding: 1px 7px; border-radius: 4px; background: var(--agc-bg-soft, #f7f7f5); color: var(--agc-ink-2, #2b2b2b); }
.agc-fits .agc-stock-mini { font-size: 12px; font-weight: 600; }
.agc-fits .agc-stock-mini.good { color: var(--agc-good, #1b8a4a); }
.agc-fits .agc-stock-mini.warn { color: var(--agc-warn, #b66a00); }
.agc-fits-price { font-size: 15px; font-weight: 700; text-align: right; }
.agc-fits-price .agc-trade-price-note { display: none; }
.agc-fits-price .woocommerce-Price-amount, .agc-fits-price .amount, .agc-fits-price bdi { color: var(--agc-ink, #0a0a0a) !important; font-weight: 700; }
.agc-fits-por { font-size: 13px; font-weight: 600; color: var(--agc-ink-3, #6b6b6b); }
.agc-fits-qty { display: flex; align-items: center; border: 1px solid var(--agc-line, #e8e8e8); border-radius: var(--agc-radius, 8px); overflow: hidden; height: 36px; }
.agc-fits-qty button { width: 32px; height: 100%; border: 0; background: #fff; font-size: 16px; cursor: pointer; color: var(--agc-ink, #0a0a0a); padding: 0; }
.agc-fits-qty button:hover { background: var(--agc-bg-soft, #f7f7f5); }
.agc-fits-qty input { width: 46px; height: 100%; border: 0 !important; text-align: center; font: 600 14px 'Inter', sans-serif; padding: 0 !important; -moz-appearance: textfield; background: #fff; }
.agc-fits-qty input::-webkit-outer-spin-button, .agc-fits-qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.agc-fits-act { display: flex; justify-content: flex-end; }
.agc-fits-check { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; cursor: pointer; padding: 8px 12px; border: 1.5px solid var(--agc-ink, #0a0a0a); border-radius: var(--agc-radius, 8px); user-select: none; }
.agc-fits-check input { width: 16px; height: 16px; margin: 0; accent-color: #0a0a0a; }
.agc-fits-row.is-selected .agc-fits-check { background: var(--agc-ink, #0a0a0a); color: #fff; }
.agc-fits-quote { font: 600 13px 'Inter', sans-serif; padding: 8px 12px; border: 1.5px solid var(--agc-line, #e8e8e8); border-radius: var(--agc-radius, 8px); background: #fff; cursor: pointer; color: var(--agc-ink, #0a0a0a); white-space: nowrap; }
.agc-fits-quote:hover { border-color: var(--agc-ink, #0a0a0a); }
.agc-fits-more { margin-top: 8px; font: 600 13px 'Inter', sans-serif; background: none; border: 0; padding: 6px 0; cursor: pointer; text-decoration: underline; color: var(--agc-ink, #0a0a0a); }
.agc-fits-group.show-all .agc-fits-more { display: none; }
.agc-fits-bar { position: sticky; bottom: 12px; z-index: 30; display: flex; align-items: center; gap: 16px; justify-content: flex-end; flex-wrap: wrap; padding: 12px 16px; margin-top: 8px; background: #fff; border: 1px solid var(--agc-line, #e8e8e8); border-radius: var(--agc-radius-lg, 14px); box-shadow: 0 8px 24px rgba(0,0,0,.08); }
.agc-fits-bar[hidden] { display: none; }
.agc-fits-count { font-weight: 700; margin-right: auto; }
.agc-fits-msg { font-size: 13px; color: var(--agc-ink-2, #2b2b2b); }
.agc-fits-msg a { text-decoration: underline; font-weight: 600; }
.agc-fits-add[disabled] { opacity: .6; cursor: wait; }
.agc-fits-callout { display: flex; gap: 8px; align-items: center; margin: 12px 0 0; padding: 10px 12px; border-radius: var(--agc-radius, 8px); background: var(--agc-yellow-soft, #fff5cf); font-size: 13px; color: var(--agc-ink, #0a0a0a); }
.agc-fits-callout a { font-weight: 700; text-decoration: underline !important; white-space: nowrap; }
@media (max-width: 800px) {
  .agc-fits-group { padding: 14px; }
  .agc-fits-row { grid-template-columns: 48px minmax(0, 1fr) auto auto; grid-template-areas: "img main main main" "price price qty act"; gap: 8px 10px; }
  .agc-fits-img { grid-area: img; width: 48px; height: 48px; }
  .agc-fits-main { grid-area: main; }
  .agc-fits-price { grid-area: price; text-align: left; }
  .agc-fits-qty { grid-area: qty; }
  .agc-fits-act { grid-area: act; }
  .agc-fits-src { white-space: normal; }
  .agc-fits-bar { bottom: 8px; }
}
.agc-fits-cnt { font-size: 11px; font-weight: 700; min-width: 22px; height: 22px; padding: 0 7px; border-radius: 100px; background: var(--agc-bg-soft, #f7f7f5); border: 1px solid var(--agc-line, #e8e8e8); display: inline-grid; place-items: center; color: var(--agc-ink-2, #2b2b2b); }
#fits-used .agc-fits-group { padding: 16px 20px; }
