/* Hotfix styles */

/* Pricing reference tool: Cake 2 pinned this column at 210px / 174px content.
   Auto table layout lets large isometric assets expand the cells, so lock the
   table and scale thumbs to the sidebar. */
.subpage-sidebar .product-ref-content table {
  table-layout: fixed;
}

.subpage-sidebar .product-ref-content a img {
  width: 100%;
  max-width: 100%;
  height: auto;
}

/* Temporary finish-samples note (templates/element/finish_samples_notice.php).
   Beside the title on finish category pages, in the sidebar of the product
   Finishes module. Remove with the notice. */
.finish-note {
  background: #f0efed;
  border-left: 4px solid #f1c850;
  color: #1a1d1b;
  max-width: 804px;
  padding: 16px 20px;
}

.finish-note--rail {
  font-size: 15px;
  line-height: 1.5;
  margin: 24px 0 0;
  padding: 14px 16px;
}

.finish-note p {
  margin: 0;
}

.finish-note strong {
  font-weight: 600;
}

@media (max-width: 767px) {
  .finish-note {
    padding: 14px 16px;
  }

  .finish-note--rail {
    margin: 20px 0 24px;
  }
}

/* Sustainability: Health Product Declaration card spans the full row, with
   its certificate links in two lists (seating | tables) side by side. */
.grid-tmb-doc .column--full {
  flex-basis: 100%;
  max-width: 100%;
  min-width: 100%;
}

.hpd-lists {
  display: grid;
  gap: 0 40px;
  grid-template-columns: 1fr;
}

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

.hpd-list li {
  margin: 0 0 8px;
}

/* Same as the site's `p a` link style. */
.hpd-list a {
  color: #08a2ba;
  font-family: inherit;
  font-size: inherit;
  font-weight: inherit;
  text-decoration: none;
}

.hpd-list a:hover {
  color: #08a2ba;
  text-decoration: underline;
}

@media (min-width: 64em) {
  .hpd-lists {
    grid-template-columns: 1fr 1fr;
  }
}
