#compare-two-filters[hidden]{display:none}
#compare-two-filters summary{cursor:pointer;padding:.6rem 0;color:#08356d}
.aq-pair-fields{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,13rem),1fr));gap:1rem}
.aq-pair-fields label,.aq-pair-fields select{display:block;width:100%;min-width:0}
.aq-pair-fields select{min-height:44px;margin-top:.3rem}
#aq-pair-result table{table-layout:fixed;width:100%;min-width:0;border-collapse:collapse}
#aq-pair-result th,#aq-pair-result td{overflow-wrap:anywhere;vertical-align:top;text-align:left;border-bottom:1px solid #dbe7f0;padding:.5rem}
#aq-pair-result th:first-child{width:24%}
#aq-pair-result thead{background:#edf5ff}
#aq-pair-result small{display:block}
#under-sink-shortlist-controls[hidden],
[data-under-sink-group][hidden] { display: none !important; }
#under-sink-shortlist .field { max-width: 36rem; }
#under-sink-installation { max-width: 100%; }
.under-sink-quick-links { display: flex; flex-wrap: wrap; gap: .65rem; margin: 1rem 0; }
.under-sink-quick-links .btn,
#under-sink-show-all,
#under-sink-installation { min-height: 48px; }
.under-sink-quick-links .btn:focus-visible,
#under-sink-show-all:focus-visible,
#under-sink-installation:focus-visible { outline: 3px solid #0d59bd; outline-offset: 3px; }
#under-sink-model-table { margin-bottom: 1.5rem; }
.under-sink-fit-type, .under-sink-price-date { display: block; }
.under-sink-cell-label { display: none; }
@media (max-width: 900px) {
  #under-sink-model-table { overflow: visible; border: 0; border-radius: 0; background: transparent; }
  #under-sink-model-table table { min-width: 0; width: 100%; display: block; }
  #under-sink-model-table thead { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  #under-sink-model-table tbody { display: grid; gap: .75rem; }
  #under-sink-model-table tbody tr { display: grid; min-width: 0; border: 1px solid #dbe7f0; border-radius: 14px; background: #fff; padding: .55rem .75rem; }
  #under-sink-model-table td { display: grid; grid-template-columns: minmax(5.8rem, 29%) minmax(0, 1fr); gap: .5rem; padding: .5rem 0; overflow-wrap: anywhere; }
  #under-sink-model-table td:first-child { display: block; padding-top: 0; }
  #under-sink-model-table td:last-child { border-bottom: 0; }
  #under-sink-model-table .compare-product { min-width: 0; min-height: 48px; margin: 0; }
  #under-sink-model-table .compare-product img { width: 44px; height: 48px; flex-basis: 44px; }
  #under-sink-model-table .under-sink-cell-label { display: block; font-weight: 650; color: #08356d; }
}
@media (max-width: 540px) {
  .under-sink-quick-links .btn { flex: 1 1 100%; }
}

/* Keep replacement checks next to the buying decision. */
#under-sink-models .system-replacement-check {
  margin: 1rem 0; padding: .85rem 1rem;
  border: 1px solid #cbdff4; border-left: 4px solid #0967ce;
  border-radius: 12px; background: #f2f8ff; color: #12365c;
}
#under-sink-models .system-replacement-check > strong { display: block; font-size: .92rem; }
#under-sink-models .system-replacement-check > a {
  display: inline-flex; align-items: center; gap: .4rem;
  min-height: 44px; max-width: 100%; padding: .35rem 0;
  white-space: normal; overflow-wrap: anywhere; line-height: 1.45;
}
#under-sink-models .system-replacement-check > a:focus-visible {
  outline: 3px solid #0d59bd; outline-offset: 3px; border-radius: 3px;
}
#under-sink-models .system-replacement-check > p { margin: .15rem 0 0; font-size: .875rem; line-height: 1.55; }
