/* AutoFlow Connect Pro – vergelijken (beide routes). Kleuren volgen het thema via currentColor en --afs-* waar beschikbaar. */
.af-compare-btn { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border: 1px solid currentColor; border-radius: 999px; background: transparent; color: inherit; font: inherit; font-size: 13px; line-height: 1.2; cursor: pointer; opacity: .85; }
.af-compare-btn:hover, .af-compare-btn:focus-visible { opacity: 1; }
.af-compare-btn.is-active { background: var(--afs-accent, #1d4ed8); border-color: var(--afs-accent, #1d4ed8); color: var(--afs-on-accent, #fff); opacity: 1; }
.af-compare-bar { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 9990; display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; max-width: 960px; margin: 0 auto; padding: 10px 12px; border-radius: 12px; background: var(--afs-panel, #111827); color: var(--afs-text, #f9fafb); box-shadow: 0 10px 30px rgba(0,0,0,.25); font-size: 14px; }
.af-compare-bar[hidden] { display: none; }
.af-compare-bar__items { display: flex; gap: 8px; margin: 0; padding: 0; list-style: none; flex-wrap: wrap; min-width: 0; }
.af-compare-bar__item { display: flex; align-items: center; gap: 6px; max-width: 220px; padding: 4px 6px; border-radius: 8px; background: rgba(127,127,127,.18); }
.af-compare-bar__item img { width: 40px; height: 30px; object-fit: cover; border-radius: 4px; }
.af-compare-bar__title { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-size: 13px; }
.af-compare-bar .af-compare-bar__remove, .af-compare-bar .af-compare-bar__clear { all: unset; box-sizing: border-box; color: inherit; cursor: pointer; font-size: 14px; line-height: 1; opacity: .8; padding: 4px; }
.af-compare-bar .af-compare-bar__clear { text-decoration: underline; font-size: 13px; }
.af-compare-bar .af-compare-bar__remove:focus-visible, .af-compare-bar .af-compare-bar__clear:focus-visible { outline: 2px solid currentColor; outline-offset: 2px; }
.af-compare-bar__actions { display: flex; align-items: center; gap: 10px; }
.af-compare-bar__go { padding: 8px 16px; border-radius: 999px; background: var(--afs-accent, #1d4ed8); color: var(--afs-on-accent, #fff) !important; text-decoration: none; font-weight: 600; }
.af-compare { box-sizing: border-box; width: 100%; max-width: 1200px; margin: 0 auto 32px; padding: 24px 16px 0; }
.af-compare__bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 12px; }
.af-compare__count { margin: 0; font-weight: 600; }
.af-compare__scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.af-compare__table { width: 100%; min-width: 560px; border-collapse: collapse; table-layout: fixed; }
.af-compare__table th, .af-compare__table td { padding: 10px 12px; border-bottom: 1px solid rgba(127,127,127,.25); text-align: left; vertical-align: top; }
.af-compare__table tbody th { width: 22%; font-weight: 500; opacity: .75; }
.af-compare__head { position: relative; font-weight: 400; }
.af-compare__img { display: block; width: 100%; height: auto; aspect-ratio: 4/3; object-fit: cover; border-radius: 8px; margin-bottom: 8px; }
.af-compare__link { color: inherit; text-decoration: none; }
.af-compare__title { display: block; font-weight: 600; line-height: 1.3; }
.af-compare__price { display: block; margin-top: 4px; font-size: 1.1em; font-weight: 700; color: var(--afs-accent, inherit); }
.af-compare__remove { position: absolute; top: 14px; right: 16px; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: rgba(0,0,0,.6); color: #fff !important; text-decoration: none; font-size: 18px; line-height: 1; }
.af-compare tr.is-diff td { font-weight: 600; }
.af-compare.is-diff-only tr.is-same { display: none; }
.af-compare__none { opacity: .45; }
.af-compare__empty { padding: 24px; border: 1px dashed rgba(127,127,127,.5); border-radius: 12px; text-align: center; }
@media (max-width: 600px) {
  .af-compare-bar { left: 8px; right: 8px; bottom: 8px; padding: 8px; gap: 8px; flex-wrap: nowrap; }
  .af-compare-bar__items { flex-wrap: nowrap; gap: 4px; }
  .af-compare-bar__item { padding: 2px; position: relative; }
  .af-compare-bar__title { display: none; }
  .af-compare-bar__item img { width: 44px; height: 33px; }
  .af-compare-bar .af-compare-bar__remove { position: absolute; top: -6px; right: -6px; width: 18px; height: 18px; padding: 0; display: grid; place-items: center; border-radius: 50%; background: #000; color: #fff; font-size: 12px; opacity: 1; }
  .af-compare-bar__actions { flex-shrink: 0; gap: 6px; }
  .af-compare-bar__go { padding: 8px 12px; font-size: 13px; }
}
