/* Dimension and weight comparison tables below the original product form. */
body.bd-amenities .bd-table-scroll {
  max-width: 100%;
  min-width: 0;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  -webkit-overflow-scrolling: touch;
}

.am-reference-table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
  font-size: 13px;
  line-height: 1.8;
  font-variant-numeric: tabular-nums;
}

.bd-main .am-reference-table :is(th, td) {
  padding: 13px 16px;
  border-bottom: 1px solid var(--bd-line, #cfc2ae);
  text-align: left;
  vertical-align: top;
  font-weight: 400;
}

.bd-main .am-reference-table thead th {
  border-top: 1px solid var(--bd-line, #cfc2ae);
  background: rgba(247, 240, 228, .45);
  color: var(--bd-muted, #786958);
  white-space: nowrap;
}

.bd-main .am-reference-table tbody th { min-width: 135px; font-weight: 500; }
.bd-main .am-reference-table .am-reference-number { min-width: 80px; text-align: right; white-space: nowrap; }
.bd-main .am-reference-table .am-reference-dimensions { min-width: 155px; white-space: nowrap; }
.bd-main .am-reference-table .am-reference-description { min-width: 180px; overflow-wrap: anywhere; }

@media (max-width: 480px) {
  .bd-main .am-reference-table :is(th, td) { padding: 12px; }
}

.am-reference-table.am-reference-table--compact { min-width: 580px; }

.bd-main .am-reference-note { margin-top: 12px; color: var(--bd-muted, #786958); font-size: 12px; line-height: 1.8; }
