:root {
  --site-content-max: 80rem;
}

html {
  scroll-behavior: smooth;
}

/* Align main content with header/footer shell (80rem) */
.site-shell {
  width: 100%;
  max-width: var(--site-content-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

@media (min-width: 768px) {
  .site-shell {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

body {
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  background-image: radial-gradient(circle at top right, rgba(56, 189, 248, 0.08), transparent 40%);
  overflow-x: hidden;
  color: rgb(51 65 85);
  -webkit-text-size-adjust: 100%;
}

.sticky-utility {
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: blur(6px);
  box-shadow: 0 1px 0 rgba(15, 23, 42, 0.08);
}

.comparison-shell section {
  border-color: rgb(203 213 225);
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.comparison-shell #verdict-section {
  background: rgb(248 250 252);
}

.comparison-shell #affiliate-section {
  border-style: dashed;
}

.comparison-page .sticky-utility {
  font-size: 0.875rem;
}

.comparison-page main.comparison-shell {
  max-width: 1160px;
  margin: 0 auto;
}

.comparison-page #breadcrumb-section {
  font-size: 0.85rem;
}

.comparison-page #page-title {
  font-size: clamp(1.7rem, 2.6vw, 2.25rem);
  line-height: 1.2;
}

.comparison-page #context-section p,
.comparison-page #verdict-section p,
.comparison-page #methodology p {
  font-size: 0.95rem;
  line-height: 1.7;
}

.comparison-page #table-head-row th {
  font-size: 0.72rem;
  letter-spacing: 0.03em;
}

.comparison-page #table-body td {
  font-size: 0.86rem;
}

/* Shared footer (site-footer.js) */
.site-footer {
  margin-top: 2rem;
  padding-bottom: 1.5rem;
}

.compare-page .site-footer,
.database-page .site-footer {
  margin-top: 1.5rem;
}

@media (min-width: 768px) {
  .site-footer {
    padding-bottom: 2rem;
  }
}

.site-footer__inner {
  border: 1px solid rgb(226 232 240);
  border-radius: 0.75rem;
  background: linear-gradient(
    180deg,
    rgb(255 255 255) 0%,
    rgb(248 250 252 / 0.95) 100%
  );
  padding: 1.25rem 1.25rem 1rem;
  box-shadow: 0 1px 2px rgb(15 23 42 / 0.04);
}

@media (min-width: 768px) {
  .site-footer__inner {
    padding: 1.5rem 1.75rem 1.15rem;
  }
}

.site-footer__grid {
  display: grid;
  gap: 1.25rem 2rem;
}

.site-footer__brand,
.site-footer__col {
  align-self: start;
}

@media (min-width: 768px) {
  .site-footer__grid {
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.75fr) minmax(0, 1fr);
    align-items: start;
  }
}

/* Compare index (/compare/) — list of all pairs */
.compare-index-panel {
  margin-bottom: 0;
}

.compare-index-panel__head {
  margin-bottom: 0.75rem;
}

.compare-index-panel__title {
  font-size: 1.125rem;
  font-weight: 600;
  color: rgb(15 23 42);
}

.compare-index-panel__lede {
  margin-top: 0.25rem;
  font-size: 0.875rem;
  line-height: 1.5;
  color: rgb(100 116 139);
}

.compare-index-panel__hint {
  margin-top: 0.35rem;
  font-size: 0.8125rem;
  line-height: 1.55;
  color: rgb(100 116 139);
}

.compare-index-panel__hint a {
  font-weight: 600;
  color: rgb(3 105 161);
  text-decoration: underline;
}

.compare-index-panel__hint a:hover {
  color: rgb(2 132 199);
}

.compare-index-toolbar {
  display: grid;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

@media (min-width: 768px) {
  .compare-index-toolbar {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: start;
  }
}

.compare-index-toolbar__search {
  width: 100%;
  border-radius: 0.375rem;
  border: 1px solid rgb(203 213 225);
  background: rgb(255 255 255);
  padding: 0.5rem 0.75rem;
  font-size: 0.875rem;
  outline: none;
}

.compare-index-toolbar__search:focus {
  box-shadow: 0 0 0 2px rgb(56 189 248 / 0.45);
}

.compare-index-toolbar__filters {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
}

.compare-index-cohort {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.compare-index-cohort__btn {
  border-radius: 9999px;
  border: 1px solid rgb(226 232 240);
  background: rgb(255 255 255);
  padding: 0.35rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: rgb(51 65 85);
  transition:
    border-color 0.15s ease,
    background 0.15s ease,
    color 0.15s ease;
}

.compare-index-cohort__btn:hover {
  border-color: rgb(125 211 252);
  color: rgb(3 105 161);
}

.compare-index-cohort__btn.is-active {
  border-color: rgb(125 211 252);
  background: rgb(224 242 254);
  color: rgb(3 105 161);
}

.compare-index-band {
  min-width: 10rem;
  border-radius: 0.375rem;
  border: 1px solid rgb(203 213 225);
  background: rgb(255 255 255);
  padding: 0.4rem 0.65rem;
  font-size: 0.8125rem;
  outline: none;
}

.compare-index-band:focus {
  box-shadow: 0 0 0 2px rgb(56 189 248 / 0.45);
}

.compare-index-count {
  margin-bottom: 0.5rem;
  font-size: 0.8125rem;
  color: rgb(100 116 139);
}

.compare-index-empty {
  border-radius: 0.5rem;
  border: 1px dashed rgb(203 213 225);
  background: rgb(248 250 252);
  padding: 1rem 1.25rem;
  font-size: 0.875rem;
  line-height: 1.55;
  color: rgb(71 85 105);
}

.compare-index-empty a {
  font-weight: 600;
  color: rgb(3 105 161);
  text-decoration: underline;
}

.compare-index-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  max-height: min(70vh, 42rem);
  overflow-y: auto;
  padding-right: 0.25rem;
}

.compare-page main {
  padding-bottom: 1.25rem;
}

.site-footer__brand-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  color: rgb(15 23 42);
}

.site-footer__brand-link:hover .site-footer__wordmark {
  color: rgb(2 132 199);
}

.site-footer__logo {
  height: 1.75rem;
  width: 1.75rem;
  border-radius: 0.375rem;
  object-fit: contain;
}

.site-footer__wordmark {
  font-size: 0.9375rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  transition: color 0.15s ease;
}

.site-footer__tagline {
  margin-top: 0.5rem;
  max-width: 22rem;
  font-size: 0.8125rem;
  line-height: 1.55;
  color: rgb(100 116 139);
}

.site-footer__heading {
  margin: 0;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgb(51 65 85);
}

.site-footer__nav {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-top: 0.5rem;
}

@media (min-width: 480px) {
  .site-footer__nav {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0.35rem 1rem;
  }
}

.site-footer__nav a {
  font-size: 0.8125rem;
  font-weight: 500;
  color: rgb(71 85 105);
  text-decoration: none;
}

.site-footer__nav a:hover {
  color: rgb(3 105 161);
}

.site-footer__note {
  margin-top: 0.5rem;
  font-size: 0.8125rem;
  line-height: 1.55;
  color: rgb(100 116 139);
}

.site-footer__bottom {
  margin-top: 1.15rem;
  padding-top: 1rem;
  border-top: 1px solid rgb(226 232 240);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.35rem 1rem;
  font-size: 0.75rem;
  color: rgb(100 116 139);
}

/* Specification matrix: fits card width; horizontal scroll only if viewport is very narrow */
.matrix-table-wrap {
  margin-top: 0;
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
}

.matrix-table-wrap table.spec-matrix-table {
  width: 100%;
  min-width: 48rem;
  max-width: 100%;
  border-collapse: collapse;
  table-layout: auto;
}

.matrix-table-wrap .spec-matrix-table thead th {
  vertical-align: bottom;
}

.matrix-table-wrap .spec-matrix-table tbody td {
  vertical-align: middle;
}

/* Matrix columns (see render.js): Compare | Image | Product | Performance | Extra | Score | Shop */
.matrix-table-wrap .matrix-col-cb {
  width: 2.75rem;
}

.matrix-table-wrap td.matrix-col-cb .compare-cb {
  display: block;
  margin: 0 auto;
}

.matrix-table-wrap .matrix-col-img {
  width: 5rem;
  min-width: 5rem;
}

.matrix-table-wrap td.matrix-col-img {
  vertical-align: middle;
}

.matrix-table-wrap .matrix-image-cell {
  flex-shrink: 0;
}

.matrix-table-wrap .matrix-col-product {
  width: 9rem;
  min-width: 8rem;
}

.matrix-table-wrap .matrix-col-metrics {
  width: auto;
  min-width: 14rem;
  max-width: 20rem;
}

.matrix-table-wrap td.matrix-col-metrics .spec-perf-grid {
  max-width: 100%;
}

.matrix-table-wrap .matrix-col-specs {
  width: auto;
  min-width: 11rem;
  max-width: 16rem;
}

.matrix-table-wrap .matrix-col-score {
  width: 7.5rem;
  min-width: 7rem;
}

.matrix-table-wrap td.matrix-col-score {
  text-align: center;
  vertical-align: middle;
}

.matrix-table-wrap .matrix-col-shop {
  width: 7rem;
  min-width: 6.75rem;
}

.matrix-table-wrap td.matrix-col-shop {
  text-align: left;
  vertical-align: middle;
}

.matrix-table-wrap td.matrix-col-shop .spec-shop-btn {
  margin-left: 0;
}

.matrix-table-wrap .matrix-product-note {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

.matrix-table-wrap thead.spec-matrix-thead th {
  position: sticky;
  top: 0;
  z-index: 15;
  background: rgb(248 250 252);
  box-shadow: inset 0 -1px 0 rgb(226 232 240);
}


.matrix-table-wrap .spec-line + .spec-line {
  margin-top: 0.15rem;
}

.matrix-table-wrap table {
  margin: 0;
}

.matrix-scroll {
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

thead.sticky th {
  position: sticky;
  top: 0;
  z-index: 12;
  background: rgb(248 250 252);
}

#methodology {
  scroll-margin-top: 6rem;
}

.compare-page #compare-table-shell table {
  table-layout: fixed;
  width: 100%;
  min-width: 0;
}

.compare-page #compare-table-shell .compare-metric-label {
  width: 7.5rem;
}

.compare-page #compare-col-left,
.compare-page #compare-col-right {
  width: auto;
  min-width: 0;
}

/*
 * Product / diagram images (sitewide)
 * Export masters at 400×500px (4:5), white background, subject centred with ~8% margin.
 * object-fit: contain keeps diagrams and photos inside fixed slots without cropping.
 */
.spec-product-media {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-sizing: border-box;
  border: none;
  border-radius: 0.375rem;
  background: rgb(255 255 255);
}

.spec-product-media img {
  display: block;
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}

@media (prefers-color-scheme: dark) {
  .spec-product-media {
    background: rgb(248 250 252);
  }
}

.spec-product-media--thumb {
  width: 3rem;
  height: 3rem;
  aspect-ratio: 1 / 1;
  padding: 0.25rem;
}

@media (min-width: 768px) {
  .spec-product-media--thumb {
    width: 4rem;
    height: 4rem;
  }
}

.spec-product-media--matrix {
  width: 3rem;
  height: 3rem;
  aspect-ratio: 1 / 1;
  padding: 0.2rem;
}

@media (min-width: 768px) {
  .spec-product-media--matrix {
    width: 4rem;
    height: 4rem;
  }
}

.db-image-cell,
.matrix-image-cell,
.db-image-slot,
.matrix-image-slot {
  display: flex;
  width: 4rem;
  height: 4rem;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
}

@media (min-width: 768px) {
  .db-image-cell,
  .matrix-image-cell,
  .db-image-slot,
  .matrix-image-slot {
    width: 5rem;
    height: 5rem;
  }
}

/* Inline performance metrics (one line per metric: label + value) */
.spec-perf-grid {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.25rem 1rem;
  max-width: 100%;
  line-height: 1.4;
}

.spec-perf-grid__item {
  display: inline-flex;
  align-items: baseline;
  gap: 0.3rem;
  white-space: nowrap;
}

.spec-perf-grid__label {
  font-size: 0.6875rem;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgb(148 163 184);
}

.spec-perf-grid__label::after {
  content: ":";
  margin-left: 0.05rem;
}

.spec-perf-grid__value {
  font-size: 0.8125rem;
  font-weight: 500;
  line-height: 1.3;
  color: rgb(30 41 59);
  font-variant-numeric: tabular-nums;
}

.spec-extra-specs__primary {
  margin: 0;
  font-size: 0.75rem;
  line-height: 1.45;
  color: rgb(71 85 105);
}

.spec-extra-specs__dims,
.spec-extra-specs__kit {
  margin: 0.25rem 0 0;
  font-size: 0.6875rem;
  line-height: 1.4;
  color: rgb(100 116 139);
}

.spec-extra-specs__dims {
  font-variant-numeric: tabular-nums;
}

.db-product-stack,
.matrix-product-stack {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  gap: 0.125rem;
}

.metric-stack__row + .metric-stack__row {
  margin-top: 0.2rem;
}

.metric-stack__label {
  color: rgb(148 163 184);
  font-weight: 500;
}

.metric-stack__value {
  color: rgb(30 41 59);
  font-weight: 600;
}

.metric-stack__unit {
  color: rgb(100 116 139);
  font-weight: 400;
}

.spec-more-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.spec-more-list__item + .spec-more-list__item {
  margin-top: 0.25rem;
}

.spec-more-badge {
  display: inline-block;
  max-width: 100%;
  border-radius: 0.25rem;
  border: 1px solid rgb(226 232 240);
  background: rgb(248 250 252);
  padding: 0.125rem 0.375rem;
  font-size: 0.75rem;
  line-height: 1.25;
  color: rgb(51 65 85);
  overflow-wrap: anywhere;
}

.database-scroll-wrap {
  scrollbar-width: thin;
}

.database-scroll-wrap .database-table {
  table-layout: fixed;
  width: 100%;
  min-width: 56rem;
  font-size: 0.8125rem;
}

.database-scroll-wrap .database-table--filtered {
  min-width: 44rem;
}

.database-scroll-wrap .database-table--heating.database-table--filtered {
  min-width: 52rem;
}

.database-scroll-wrap .database-table thead th {
  vertical-align: bottom;
}

.database-scroll-wrap .database-table tbody td {
  vertical-align: middle;
}

.database-scroll-wrap .database-table thead th {
  white-space: nowrap;
  font-size: 0.6875rem;
  letter-spacing: 0.04em;
}

.database-scroll-wrap .database-table thead th.db-col-wrap,
.database-scroll-wrap .database-table thead th.db-col-performance,
.database-scroll-wrap .database-table thead th.db-col-details,
.database-scroll-wrap .database-table thead th.db-col-num,
.database-scroll-wrap .database-table thead th.db-col-annual,
.database-scroll-wrap .database-table thead th.db-col-score,
.database-scroll-wrap .database-table thead th.db-col-shop {
  white-space: normal;
  line-height: 1.25;
}

.database-scroll-wrap .db-col-cb {
  width: 2.75rem;
}

.database-scroll-wrap .db-col-image {
  width: 5rem;
  min-width: 5rem;
}

.database-scroll-wrap td.db-col-image {
  vertical-align: middle;
}

.database-scroll-wrap .db-col-brand {
  width: 5.5rem;
}

.database-scroll-wrap .db-col-cohort {
  width: 6.5rem;
}

.database-scroll-wrap .database-table--filtered .db-col-brand {
  width: 5rem;
}

.database-scroll-wrap .db-col-model {
  width: 9.5rem;
  white-space: normal;
}

.database-scroll-wrap .db-model-link {
  text-decoration-thickness: 1px;
}

.database-scroll-wrap .db-model-link:focus-visible {
  border-radius: 0.125rem;
  outline: 2px solid rgb(56 189 248);
  outline-offset: 2px;
}

.database-scroll-wrap .database-table--filtered .db-col-model {
  width: 8.5rem;
}

.database-scroll-wrap .db-col-performance {
  width: 14rem;
  min-width: 12rem;
  white-space: normal;
}

.database-scroll-wrap .database-table thead th.db-col-performance {
  white-space: normal;
  line-height: 1.3;
}

.database-scroll-wrap .db-col-num {
  width: 5.25rem;
  min-width: 5rem;
}

.database-scroll-wrap td.db-col-num {
  white-space: nowrap;
}

.database-scroll-wrap .db-col-annual {
  width: 6.75rem;
  min-width: 6.5rem;
}

.database-scroll-wrap td.db-col-annual {
  white-space: nowrap;
}

.database-scroll-wrap .db-col-element {
  width: 4.75rem;
  min-width: 4.75rem;
  white-space: nowrap;
}

.database-scroll-wrap .db-col-heater-type {
  width: 6.75rem;
  min-width: 6.75rem;
  white-space: nowrap;
}

.database-scroll-wrap td.db-col-element,
.database-scroll-wrap td.db-col-heater-type {
  text-transform: capitalize;
}

.database-scroll-wrap .db-col-spec-wrap {
  width: 5.5rem;
  white-space: normal;
}

.database-scroll-wrap .db-col-details {
  width: 11rem;
  white-space: normal;
}

.database-scroll-wrap .db-col-score {
  width: 8rem;
  min-width: 7.75rem;
}

.database-scroll-wrap td.db-col-score {
  text-align: center;
  vertical-align: middle;
}

.database-scroll-wrap .db-col-shop {
  width: 7rem;
  min-width: 7rem;
  white-space: nowrap;
}

.database-scroll-wrap td.db-col-shop {
  padding-left: 0.625rem;
  padding-right: 0.625rem;
  vertical-align: middle;
  text-align: left;
}

.database-scroll-wrap td.db-col-shop .spec-shop-btn {
  margin-left: 0;
  margin-right: 0;
}

.database-scroll-wrap td.db-col-cb {
  vertical-align: middle;
}

.database-scroll-wrap td.db-col-cb .db-compare-cb {
  display: block;
  margin: 0 auto;
}

.database-scroll-wrap .db-col-wrap {
  white-space: normal;
}

.database-scroll-wrap .db-more-specs-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.database-scroll-wrap .db-more-specs-list__item + .db-more-specs-list__item {
  margin-top: 0.3rem;
}

.database-scroll-wrap .db-more-specs-list__label {
  display: block;
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgb(148 163 184);
}

.database-scroll-wrap .db-more-specs-list__value {
  display: block;
  font-size: 0.75rem;
  line-height: 1.35;
  color: rgb(71 85 105);
  overflow-wrap: anywhere;
}

.database-scroll-wrap .db-more-specs-list__item:first-child .db-more-specs-list__value {
  font-variant-numeric: tabular-nums;
}

.database-scroll-wrap .db-product-note {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

.database-scroll-wrap .db-col-performance-cell .spec-perf-grid {
  max-width: 15.5rem;
}

.database-scroll-wrap .database-table--heating .db-col-performance-cell .spec-perf-grid {
  max-width: 16.5rem;
  column-gap: 0.65rem;
  row-gap: 0.35rem;
}

.database-scroll-wrap .database-table--overview td.db-col-num {
  line-height: 1.35;
}

.database-scroll-wrap .spec-shop-btn,
.database-scroll-wrap .db-shop-btn {
  max-width: 100%;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

.spec-verdict-card {
  border: 1px solid rgb(191 219 254);
  border-radius: 1rem;
  background: linear-gradient(135deg, rgb(239 246 255) 0%, rgb(240 253 244) 100%);
  padding: 1.125rem 1.25rem;
}

@media (min-width: 768px) {
  .spec-verdict-card {
    padding: 1.25rem 1.5rem;
  }
}

.spec-verdict-card__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0.625rem;
  margin-bottom: 0.75rem;
}

.spec-verdict-card__head h2 {
  margin: 0;
  font-size: 1.0625rem;
  font-weight: 700;
  color: rgb(30 41 59);
}

.spec-verdict-card__badge {
  border-radius: 9999px;
  background: rgb(209 250 229);
  padding: 0.25rem 0.625rem;
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: rgb(6 95 70);
  box-shadow: 0 0 0 2px rgb(110 231 183), 0 2px 6px rgba(16, 185, 129, 0.2);
}

.spec-verdict-card__body {
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
}

@media (min-width: 768px) {
  .spec-verdict-card__body {
    flex-direction: row;
    align-items: center;
    gap: 1.25rem;
  }
}

.spec-verdict-card__copy {
  margin: 0;
  flex: 1 1 auto;
  min-width: 0;
  font-size: 0.875rem;
  line-height: 1.65;
  color: rgb(51 65 85);
}

.spec-verdict-card__actions {
  display: flex;
  flex-shrink: 0;
  flex-direction: column;
  align-items: stretch;
  gap: 0.5rem;
}

@media (min-width: 768px) {
  .spec-verdict-card__actions {
    align-items: flex-end;
    min-width: 12rem;
  }
}

.spec-verdict-card__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: 0.625rem;
  background: rgb(14 165 233);
  padding: 0.75rem 1.25rem;
  font-size: 0.875rem;
  font-weight: 700;
  color: rgb(255 255 255);
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(14, 165, 233, 0.32);
}

.spec-verdict-card__cta:hover {
  background: rgb(2 132 199);
}

.spec-verdict-card__compare {
  font-size: 0.8125rem;
  font-weight: 500;
  line-height: 1.4;
  color: rgb(100 116 139);
  text-decoration: none;
  border-bottom: 1px dotted rgb(148 163 184);
}

.spec-verdict-card__compare:hover {
  color: rgb(71 85 105);
  border-bottom-color: rgb(100 116 139);
}

.spec-product-media--compare {
  width: 3.5rem;
  height: 3.5rem;
  padding: 0.25rem;
}

/* Compare table: image scales to content (no fixed 7rem empty box) */
.compare-page .spec-product-media--compare-hero {
  width: auto;
  max-width: 5.5rem;
  height: auto;
  max-height: 5.25rem;
  min-height: 0;
  padding: 0.125rem 0.25rem;
}

.compare-page .spec-product-media--compare-hero img {
  max-height: 5rem;
  max-width: 5.25rem;
}

.compare-product-stack {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.375rem;
  max-width: 11rem;
  margin: 0 auto;
}

.compare-name-block {
  text-align: center;
  width: 100%;
}

.compare-page #compare-table-shell thead th {
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}

.compare-page #compare-table-body .compare-row-product td {
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
  vertical-align: top;
}

.compare-page #compare-table-body tr:not(.compare-row-product) td {
  padding-top: 0.375rem !important;
  padding-bottom: 0.375rem !important;
  vertical-align: top;
}

.spec-product-media--compare-lg {
  width: 4rem;
  height: 4rem;
  padding: 0.3rem;
}

.spec-product-media--mini {
  width: 2.25rem;
  height: 2.25rem;
  padding: 0.15rem;
  border-radius: 0.25rem;
}

.spec-product-media--pdp {
  width: 8rem;
  height: 10rem;
  padding: 0.5rem;
  border-radius: 0.75rem;
}

@media (min-width: 640px) {
  .spec-product-media--pdp {
    width: 10rem;
    height: 12.5rem;
    padding: 0.625rem;
  }
}

.spec-product-media--empty {
  border-style: dashed;
  background: rgb(248 250 252);
  color: rgb(148 163 184);
  font-size: 0.5625rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.spec-product-media--empty span {
  line-height: 1.15;
  text-align: center;
  padding: 0.125rem;
}

.spec-product-media--img-error {
  border-style: dashed;
  background: rgb(248 250 252);
}

.spec-product-media--img-error::after {
  content: "—";
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  font-size: 0.75rem;
  font-weight: 600;
  color: rgb(148 163 184);
}

.pdp-gauge-track {
  height: 0.625rem;
  overflow: hidden;
  border-radius: 9999px;
  background: rgb(241 245 249);
}

.pdp-gauge-fill {
  height: 100%;
  border-radius: 9999px;
  transition: width 0.25s ease-out;
}

.pdp-curve-svg {
  display: block;
  height: auto;
  max-height: min(280px, 70vh);
  width: 100%;
}

/* PDP report header: diagram column + verdict column */
.pdp-report-header .spec-diagram-figure {
  width: 100%;
  max-width: 10rem;
  margin-inline: auto;
  align-items: center;
}

@media (min-width: 768px) {
  .pdp-report-header .spec-diagram-figure {
    max-width: none;
    margin-inline: 0;
    align-items: flex-start;
  }
}

.pdp-report-header .spec-diagram-caption--short {
  text-align: center;
}

@media (min-width: 768px) {
  .pdp-report-header .spec-diagram-caption--short {
    text-align: left;
  }
}

.pdp-header-cta {
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid rgb(241 245 249);
}

.pdp-header-cta__btn {
  display: inline-flex;
  max-width: 100%;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
}

.pdp-header-cta__btn img {
  height: 1rem;
  width: 1rem;
  flex-shrink: 0;
  border-radius: 0.125rem;
}

.pdp-header-cta__note {
  margin: 0.375rem 0 0;
  font-size: 0.6875rem;
  line-height: 1.35;
  color: rgb(148 163 184);
}

.pdp-next-step {
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid rgb(241 245 249);
}

.pdp-next-step__inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.75rem;
}

.pdp-next-step__copy {
  margin: 0;
  max-width: 36rem;
  font-size: 0.875rem;
  line-height: 1.55;
  color: rgb(71 85 105);
}

.pdp-next-step__action {
  flex-shrink: 0;
}

@media (min-width: 640px) {
  .pdp-next-step__inner {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem 1.25rem;
  }

  .pdp-next-step__copy {
    flex: 1 1 14rem;
    min-width: 0;
  }
}

/* PDP technical diagram + Fair Dealing caption (caption outside image box) */
.spec-diagram-figure {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.spec-diagram-media {
  line-height: 0;
}

.spec-diagram-caption {
  max-width: 10rem;
  text-wrap: pretty;
}

.spec-diagram-caption--short {
  max-width: 100%;
  text-wrap: balance;
}

.truncate-two-lines {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.spec-diagram-zoom-btn .spec-product-media {
  transition: box-shadow 0.15s ease, transform 0.15s ease;
}

.spec-diagram-zoom-btn:hover .spec-product-media,
.spec-diagram-zoom-btn:focus-visible .spec-product-media {
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.12);
}

.spec-diagram-lightbox {
  display: none;
}

.spec-diagram-lightbox.is-open {
  display: flex;
}

.spec-diagram-lightbox__dialog {
  position: relative;
  max-height: min(92vh, 900px);
  max-width: min(92vw, 56rem);
}

.spec-diagram-lightbox__img {
  display: block;
  max-height: min(92vh, 900px);
  max-width: min(92vw, 56rem);
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 0.5rem;
  background: rgb(255 255 255);
}

@media (min-width: 640px) {
  .spec-diagram-caption:not(.spec-diagram-caption--short) {
    max-width: 12.5rem;
  }
}

/* Site header — single sticky bar (rendered by site-nav.js) */
.site-header {
  position: relative;
  border-bottom: 1px solid rgb(203 213 225 / 0.65);
  background: linear-gradient(
    180deg,
    rgb(255 255 255) 0%,
    rgb(248 250 252 / 0.98) 55%,
    rgb(239 246 255 / 0.92) 100%
  );
  backdrop-filter: blur(12px);
  box-shadow:
    0 1px 0 rgb(255 255 255 / 0.9) inset,
    0 4px 24px rgb(14 116 144 / 0.06);
}

.site-header::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: linear-gradient(
    90deg,
    rgb(14 165 233 / 0.15) 0%,
    rgb(14 165 233 / 0.55) 35%,
    rgb(56 189 248 / 0.35) 65%,
    rgb(14 165 233 / 0.1) 100%
  );
  pointer-events: none;
}

.site-header__bar {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 1rem;
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
}

@media (min-width: 768px) {
  .site-header__bar {
    padding-top: 0.85rem;
    padding-bottom: 0.85rem;
  }
}

.site-header__brand {
  display: inline-flex;
  min-width: 0;
  flex-shrink: 0;
  align-items: center;
  gap: 0.625rem;
  text-decoration: none;
  color: rgb(15 23 42);
}

.site-header__brand:hover .site-header__wordmark {
  color: rgb(2 132 199);
}

.site-header__logo {
  height: 2.5rem;
  width: 2.5rem;
  flex-shrink: 0;
  border-radius: 0.5rem;
  object-fit: contain;
  box-shadow: 0 2px 8px rgb(15 23 42 / 0.08);
}

.site-header__wordmark {
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  transition: color 0.15s ease;
}

.site-header__nav {
  margin-left: auto;
  display: none;
  align-items: center;
  gap: 1.75rem;
}

@media (min-width: 768px) {
  .site-header__nav {
    display: flex;
  }
}

.site-header__nav-link {
  font-size: 0.9375rem;
  line-height: 1.25;
  text-decoration: none;
  transition: color 0.15s ease;
}

.site-header__nav-link--active {
  font-weight: 600;
  color: rgb(15 23 42);
}

.site-header__nav-link--idle {
  font-weight: 500;
  color: rgb(51 65 85);
}

.site-header__nav-link--idle:hover {
  color: rgb(15 23 42);
}

.site-header__menu-btn {
  margin-left: auto;
  border-radius: 0.375rem;
  border: 1px solid rgb(226 232 240);
  padding: 0.375rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: rgb(51 65 85);
}

@media (min-width: 768px) {
  .site-header__menu-btn {
    display: none;
  }
}

/* In-page tool banners (database, compare, etc.) */
.page-banner {
  position: relative;
  overflow: hidden;
  margin-bottom: 1.5rem;
  border-radius: 0.75rem;
  border: 1px solid rgb(226 232 240);
  background: linear-gradient(
    125deg,
    rgb(255 255 255) 0%,
    rgb(248 250 252) 45%,
    rgb(224 242 254 / 0.5) 100%
  );
  padding: 1.35rem 1.5rem;
  box-shadow: 0 1px 2px rgb(15 23 42 / 0.04);
}

@media (min-width: 768px) {
  .page-banner {
    padding: 1.75rem 2rem;
  }
}

.page-banner::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 12rem;
  height: 12rem;
  background: radial-gradient(circle, rgb(56 189 248 / 0.12) 0%, transparent 70%);
  pointer-events: none;
}

.page-banner__kicker {
  position: relative;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgb(3 105 161);
}

.page-banner__title {
  position: relative;
  margin-top: 0.5rem;
  font-size: clamp(1.5rem, 3vw, 1.875rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: rgb(15 23 42);
}

.page-banner__lede {
  position: relative;
  margin-top: 0.5rem;
  max-width: 42rem;
  font-size: 0.875rem;
  line-height: 1.6;
  color: rgb(71 85 105);
}

.site-header__mobile {
  display: none;
  border-top: 1px solid rgb(241 245 249);
}

.site-header__mobile.is-open {
  display: block;
}

.site-header__mobile-inner {
  padding-top: 0.5rem;
  padding-bottom: 0.75rem;
}

@media (min-width: 768px) {
  .site-header__mobile {
    display: none !important;
  }
}

/* Homepage hero */
.home-hero {
  overflow: hidden;
  border-radius: 0.75rem;
  border: 1px solid rgb(226 232 240);
  background: linear-gradient(
    128deg,
    rgb(255 255 255) 0%,
    rgb(248 250 252) 38%,
    rgb(224 242 254 / 0.55) 100%
  );
  box-shadow:
    0 1px 2px rgb(15 23 42 / 0.04),
    0 12px 40px rgb(14 116 144 / 0.08);
}

.home-hero__inner {
  display: grid;
  gap: 1.5rem;
  padding: 1.5rem;
}

@media (min-width: 768px) {
  .home-hero__inner {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    align-items: center;
    gap: 2rem;
    padding: 2rem 2.25rem;
  }
}

.home-hero__brand-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.home-hero__mark {
  height: 3rem;
  width: 3rem;
  border-radius: 0.625rem;
  object-fit: contain;
  box-shadow: 0 2px 8px rgb(15 23 42 / 0.08);
}

.home-hero__kicker {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgb(3 105 161);
}

.home-hero__title {
  margin-top: 1rem;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: rgb(15 23 42);
}

.home-hero__lede {
  margin-top: 0.75rem;
  max-width: 36rem;
  font-size: 0.9375rem;
  line-height: 1.65;
  color: rgb(71 85 105);
}

.home-hero__actions {
  margin-top: 1.25rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.home-hero__btn {
  display: inline-flex;
  align-items: center;
  border-radius: 0.5rem;
  padding: 0.5rem 1rem;
  font-size: 0.8125rem;
  font-weight: 600;
  text-decoration: none;
  transition:
    background-color 0.15s ease,
    border-color 0.15s ease,
    color 0.15s ease;
}

.home-hero__btn--primary {
  background: rgb(15 23 42);
  color: rgb(255 255 255);
}

.home-hero__btn--primary:hover {
  background: rgb(30 41 59);
}

.home-hero__btn--secondary {
  border: 1px solid rgb(203 213 225);
  background: rgb(255 255 255);
  color: rgb(51 65 85);
}

.home-hero__btn--secondary:hover {
  border-color: rgb(125 211 252);
  color: rgb(3 105 161);
}

.home-hero__mosaic {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.5rem;
}

.home-hero__tile {
  overflow: hidden;
  border-radius: 0.5rem;
  border: 1px solid rgb(255 255 255 / 0.8);
  aspect-ratio: 4 / 3;
  box-shadow: 0 4px 14px rgb(15 23 42 / 0.1);
}

.home-hero__tile img {
  display: block;
  height: 100%;
  width: 100%;
  object-fit: cover;
}

.home-hero__tile--accent {
  grid-column: span 2;
  aspect-ratio: 21 / 9;
}

.home-category-card {
  display: block;
  border-radius: 0.5rem;
  border: 1px solid rgb(226 232 240);
  background: rgb(248 250 252);
  padding: 1.25rem;
  text-decoration: none;
  color: inherit;
  transition:
    border-color 0.15s ease,
    background-color 0.15s ease,
    box-shadow 0.15s ease;
}

.home-category-card:hover {
  border-color: rgb(125 211 252);
  background: rgb(255 255 255);
  box-shadow: 0 4px 14px rgb(14 116 144 / 0.08);
}

/* Category hub (e.g. /aquatics/). Data-driven from assets/js/data.js */
.category-hub-hero.page-banner {
  margin-bottom: 2rem;
}

.category-hub-live {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1rem;
}

.category-hub-live__label {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgb(100 116 139);
}

.category-hub-live__pill {
  border-radius: 9999px;
  border: 1px solid rgb(186 230 253);
  background: rgb(240 249 255);
  padding: 0.2rem 0.65rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: rgb(3 105 161);
  text-decoration: none;
  transition:
    background-color 0.15s ease,
    border-color 0.15s ease;
}

.category-hub-live__pill:hover {
  border-color: rgb(56 189 248);
  background: rgb(224 242 254);
}

.category-hub-steps {
  position: relative;
  margin-top: 1.25rem;
  max-width: 42rem;
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.category-hub-ctas {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.25rem;
}

.category-hub-cta {
  display: inline-flex;
  align-items: center;
  border-radius: 0.5rem;
  padding: 0.5rem 1rem;
  font-size: 0.8125rem;
  font-weight: 600;
  text-decoration: none;
  transition:
    background-color 0.15s ease,
    border-color 0.15s ease,
    color 0.15s ease;
}

.category-hub-cta--primary {
  background: rgb(15 23 42);
  color: rgb(255 255 255);
}

.category-hub-cta--primary:hover {
  background: rgb(30 41 59);
}

.category-hub-cta--secondary {
  border: 1px solid rgb(203 213 225);
  background: rgb(255 255 255);
  color: rgb(51 65 85);
}

.category-hub-cta--secondary:hover {
  border-color: rgb(125 211 252);
  color: rgb(3 105 161);
}

.category-hub-lanes {
  scroll-margin-top: 5.5rem;
}

.category-hub-hero {
  background: linear-gradient(
    135deg,
    rgb(248 250 252) 0%,
    rgb(255 255 255) 42%,
    rgb(239 246 255 / 0.85) 100%
  );
}

/* Tank size cards — shared silhouettes (hub + sub-category router) */
.spec-tank-silhouette {
  color: rgb(71 85 105);
  transition: color 0.15s ease;
}

.group:hover .spec-tank-silhouette {
  color: rgb(14 116 144);
}

.spec-tank-card__art {
  pointer-events: none;
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem;
}

.spec-tank-card__art--compact {
  width: 4.5rem;
}

.spec-tank-card__art--hub {
  width: 6.75rem;
  padding-right: 0.75rem;
}

.spec-tank-card__art--router {
  width: 5.5rem;
}

.spec-tank-silhouette__svg {
  max-height: 100%;
  max-width: 100%;
}

.category-hub-tank-routes .spec-tank-card--hub {
  background: rgb(255 255 255);
}

.category-hub-featured .category-hub-tank-routes {
  position: relative;
  z-index: 1;
}

/* Popular comparison lanes (sub-category router + hub) */
.spec-compare-lane {
  display: flex;
  width: 100%;
  align-items: center;
  gap: 0.75rem;
  border-radius: 0.75rem;
  border: 1px solid rgb(226 232 240);
  background: rgb(255 255 255);
  padding: 0.625rem 0.875rem;
  text-decoration: none;
  color: inherit;
  transition:
    border-color 0.15s ease,
    background-color 0.15s ease,
    box-shadow 0.15s ease;
}

.spec-compare-lane:hover {
  border-color: rgb(125 211 252);
  background: rgb(248 250 252);
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.06);
}

.spec-compare-lane__avatars {
  display: flex;
  flex-shrink: 0;
  align-items: center;
}

.spec-compare-lane__thumb {
  display: flex;
  height: 2.5rem;
  width: 2.5rem;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 0.5rem;
  border: 1px solid rgb(226 232 240);
  background: rgb(248 250 252);
  padding: 0.2rem;
  line-height: 0;
}

.spec-compare-lane__thumb--overlap {
  position: relative;
  z-index: 1;
  margin-left: -0.65rem;
  background: rgb(255 255 255);
  box-shadow: -2px 0 0 rgb(255 255 255);
}

.spec-compare-lane__thumb .spec-product-media {
  display: flex;
  height: 100%;
  width: 100%;
  align-items: center;
  justify-content: center;
  border: none;
  background: transparent;
  padding: 0;
}

.spec-compare-lane__thumb .spec-product-media img {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
}

.spec-compare-lane__thumb .spec-product-media--mini {
  width: 100%;
  height: 100%;
  padding: 0;
  border-radius: 0;
}

.spec-compare-lane__thumb .spec-product-media--empty {
  min-height: 0;
  font-size: 0.625rem;
}

.spec-compare-lane > * {
  align-self: center;
}

.spec-compare-lane__placeholder {
  font-size: 0.625rem;
  font-weight: 600;
  color: rgb(148 163 184);
}

.spec-compare-lane__vs {
  flex-shrink: 0;
  border-radius: 0.25rem;
  border: 1px solid rgb(226 232 240);
  background: rgb(241 245 249);
  padding: 0.125rem 0.375rem;
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgb(100 116 139);
  line-height: 1.2;
}

.spec-compare-lane__label {
  min-width: 0;
  flex: 1 1 auto;
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.35;
  color: rgb(30 41 59);
}

.spec-compare-lane__cta {
  flex-shrink: 0;
  font-size: 0.75rem;
  font-weight: 600;
  color: rgb(2 132 199);
  white-space: nowrap;
}

.category-router-comparisons .flex.flex-col {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

@media (max-width: 639px) {
  .spec-compare-lane {
    flex-wrap: wrap;
    row-gap: 0.5rem;
  }

  .spec-compare-lane__label {
    flex: 1 1 100%;
    order: 3;
  }

  .spec-compare-lane__cta {
    margin-left: auto;
    order: 4;
  }
}

.category-hub-stat {
  transition: box-shadow 0.15s ease, border-color 0.15s ease;
}

.category-hub-stat:hover {
  border-color: rgb(203 213 225);
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.06);
}

@media (min-width: 768px) and (max-width: 1279px) {
  .comparison-page aside {
    display: none;
  }

  .comparison-page .comparison-layout {
    grid-template-columns: minmax(0, 1fr) !important;
  }
}

@media (min-width: 1280px) {
  .comparison-page #top-nav {
    display: none !important;
  }
}

@media (max-width: 767px) {
  /* Phones: legible type; tables scroll sideways instead of shrinking */
  main {
    padding-left: max(0.75rem, env(safe-area-inset-left));
    padding-right: max(0.75rem, env(safe-area-inset-right));
  }

  .matrix-table-wrap.matrix-scroll {
    margin-left: -0.25rem;
    margin-right: -0.25rem;
    padding-bottom: 0.35rem;
    scrollbar-width: thin;
    touch-action: pan-x pan-y;
  }

  .matrix-table-wrap.matrix-scroll table.spec-matrix-table {
    width: max-content;
    min-width: 760px;
    max-width: none;
    table-layout: auto;
    font-size: 0.8125rem;
  }

  .matrix-table-wrap .matrix-col-cb {
    width: auto;
    min-width: 2.75rem;
  }

  .matrix-table-wrap .matrix-col-img {
    width: auto;
    min-width: 3.25rem;
  }

  .matrix-table-wrap .matrix-col-product {
    width: auto;
    min-width: 10.5rem;
  }

  .matrix-table-wrap .matrix-col-shop {
    width: auto;
    min-width: 8.75rem;
  }

  .matrix-table-wrap .matrix-col-metrics {
    width: auto;
    min-width: 8rem;
  }

  .matrix-table-wrap .matrix-col-specs {
    width: auto;
    min-width: 9.5rem;
    max-width: 14rem;
    overflow-wrap: normal;
    word-break: normal;
    hyphens: none;
  }

  .matrix-table-wrap .matrix-col-score {
    width: auto;
    min-width: 7.5rem;
  }

  .matrix-table-wrap thead.spec-matrix-thead th {
    white-space: nowrap;
    font-size: 0.65rem;
  }

  .database-scroll-wrap {
    margin-left: -0.25rem;
    margin-right: -0.25rem;
    padding-bottom: 0.35rem;
    touch-action: pan-x pan-y;
  }

  .compare-page #compare-table-shell .matrix-scroll table {
    width: 100%;
    min-width: 0;
    max-width: 100%;
  }

  .comparison-page main.comparison-shell {
    max-width: 100%;
    padding: 0.75rem;
  }

  .comparison-page aside {
    border-radius: 0.75rem;
    border: 1px solid rgb(226 232 240);
    margin-bottom: 0.75rem;
    padding: 0.75rem;
    background: rgb(255 255 255 / 0.92);
  }

  .comparison-page #category-nav {
    display: flex;
    gap: 0.5rem;
    overflow-x: auto;
    white-space: nowrap;
    padding-bottom: 0.2rem;
    margin-top: 0.75rem;
  }

  .comparison-page #category-nav h2 {
    display: none;
  }

  .comparison-page #category-nav a {
    display: inline-flex !important;
    align-items: center;
    min-height: 2.1rem;
    border: 1px solid rgb(226 232 240);
    border-radius: 9999px;
    padding: 0.35rem 0.75rem !important;
    background: white;
    white-space: nowrap;
    font-size: 0.75rem;
  }

  .comparison-page #page-title {
    font-size: 1.35rem;
    line-height: 1.28;
  }

  .comparison-page #breadcrumb-section {
    font-size: 0.74rem;
  }

  .comparison-page .comparison-shell section {
    padding: 1rem !important;
  }

  .comparison-page #table-head-row th {
    font-size: 0.68rem;
  }

  .comparison-page #table-body td {
    font-size: 0.8rem;
  }

  .matrix-scroll .matrix-col-shop th,
  .matrix-scroll .matrix-col-shop td {
    white-space: nowrap;
  }

  #compare-float-btn,
  #database-compare-float-btn {
    bottom: max(1rem, env(safe-area-inset-bottom, 0px));
    padding-left: max(1rem, env(safe-area-inset-left, 0px));
    padding-right: max(1rem, env(safe-area-inset-right, 0px));
  }
}
