/* Readable tables in catalogue descriptions and editorial content. */
:root {
  --tm-table-accent: var(--primary, #cc7f32);
  --tm-table-line: #e7d6c3;
  --tm-table-stripe: #faf5ee;
  --tm-table-ink: #241b12;
}
:is(.wd-product-descriptions, .tf-product-info-wrap, .CLASSES_FOR_PAGES, .entry-content, .seo-oct26, .kontr-bolts-nov26, .transmet-editorial) table {
  width: 100%;
  max-width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border: 1px solid var(--tm-table-line);
  border-radius: 10px;
  background: #fff;
  margin: 16px 0 24px;
  color: var(--tm-table-ink);
  font-size: 16px;
  line-height: 1.5;
  text-align: left;
}
:is(.wd-product-descriptions, .tf-product-info-wrap, .CLASSES_FOR_PAGES, .entry-content, .seo-oct26, .kontr-bolts-nov26, .transmet-editorial) table :is(th, td) {
  padding: 12px 16px;
  border: 0 !important;
  border-bottom: 1px solid var(--tm-table-line) !important;
  border-right: 1px solid var(--tm-table-line) !important;
  vertical-align: top;
  text-align: left;
  overflow-wrap: break-word;
  box-shadow: none;
}
:is(.wd-product-descriptions, .tf-product-info-wrap, .CLASSES_FOR_PAGES, .entry-content, .seo-oct26, .kontr-bolts-nov26, .transmet-editorial) table tr > :last-child { border-right: 0 !important; }
:is(.wd-product-descriptions, .tf-product-info-wrap, .CLASSES_FOR_PAGES, .entry-content, .seo-oct26, .kontr-bolts-nov26, .transmet-editorial) table tbody > tr:last-child > * { border-bottom: 0 !important; }
:is(.wd-product-descriptions, .tf-product-info-wrap, .CLASSES_FOR_PAGES, .entry-content, .seo-oct26, .kontr-bolts-nov26, .transmet-editorial) table thead :is(th, td) {
  background: var(--tm-table-accent) !important;
  color: #241b12 !important;
  font-weight: 700;
  border-color: #b96d24 !important;
  vertical-align: middle;
}
:is(.wd-product-descriptions, .tf-product-info-wrap, .CLASSES_FOR_PAGES, .entry-content, .seo-oct26, .kontr-bolts-nov26, .transmet-editorial) table thead tr:first-child > :first-child { border-top-left-radius: 9px; }
:is(.wd-product-descriptions, .tf-product-info-wrap, .CLASSES_FOR_PAGES, .entry-content, .seo-oct26, .kontr-bolts-nov26, .transmet-editorial) table thead tr:first-child > :last-child { border-top-right-radius: 9px; }
:is(.wd-product-descriptions, .tf-product-info-wrap, .CLASSES_FOR_PAGES, .entry-content, .seo-oct26, .kontr-bolts-nov26, .transmet-editorial) table tbody > tr:nth-child(odd) > * { background: var(--tm-table-stripe) !important; }
:is(.wd-product-descriptions, .tf-product-info-wrap, .CLASSES_FOR_PAGES, .entry-content, .seo-oct26, .kontr-bolts-nov26, .transmet-editorial) table tbody > tr:nth-child(even) > * { background: #fff !important; }
:is(.wd-product-descriptions, .tf-product-info-wrap, .CLASSES_FOR_PAGES, .entry-content, .seo-oct26, .kontr-bolts-nov26, .transmet-editorial) table tbody th { font-weight: 600; }
:is(.wd-product-descriptions, .tf-product-info-wrap, .CLASSES_FOR_PAGES, .entry-content, .seo-oct26, .kontr-bolts-nov26, .transmet-editorial) table caption {
  caption-side: top;
  padding: 0 0 10px;
  color: #655343;
  text-align: left;
  font-size: 14px;
  line-height: 1.4;
}
:is(.wd-product-descriptions, .tf-product-info-wrap, .CLASSES_FOR_PAGES, .entry-content, .seo-oct26, .kontr-bolts-nov26, .transmet-editorial) table a { text-decoration: underline; text-underline-offset: 3px; }
.tm-table-scroll, .kontr-bolts-nov26 .table-responsive { max-width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.tm-table-scroll:focus-visible, .kontr-bolts-nov26 .table-responsive:focus-visible { outline: 3px solid #a85e20; outline-offset: 3px; }
.tm-table-scroll > table { min-width: 560px; }
.tm-size-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; align-items: start; margin: 24px 0; }
.tm-size-panel { min-width: 0; }
.tm-size-panel h3 { font-size: 20px; line-height: 1.35; margin: 0 0 12px; }
.tm-size-panel .kontr-lengths { margin: 0; font-variant-numeric: tabular-nums; }
.tm-size-panel .kontr-lengths :is(th, td) { padding: 8px 14px; line-height: 1.35; }
.tm-size-panel .kontr-lengths tbody th { width: 38%; }
.tm-size-panel .kontr-lengths td { white-space: nowrap; }
.tm-product-comparison { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin: 24px 0; }
.tm-product-comparison figure { min-width: 0; margin: 0; border: 1px solid var(--tm-table-line); border-radius: 12px; overflow: hidden; background: #fff; }
.tm-product-comparison img { display: block; width: 100%; height: auto; }
.tm-product-comparison figcaption { padding: 12px 16px; font-weight: 600; background: var(--tm-table-stripe); }
.transmet-editorial .tm-callout { padding: 20px 24px; margin: 24px 0; border-left: 4px solid var(--tm-table-accent); border-radius: 0 10px 10px 0; background: var(--tm-table-stripe); }
.transmet-editorial .tm-toc { padding: 20px 24px; margin: 24px 0; border: 1px solid var(--tm-table-line); border-radius: 12px; background: #faf8f5; }
.transmet-editorial h2[id] { scroll-margin-top: 100px; }
@media (hover: hover) {
  :is(.wd-product-descriptions, .tf-product-info-wrap, .CLASSES_FOR_PAGES, .entry-content, .seo-oct26, .kontr-bolts-nov26, .transmet-editorial) table tbody > tr:hover > * { background: #f5e7d6 !important; }
}
@media (max-width: 699px) {
  .tm-size-grid { grid-template-columns: 1fr; gap: 24px; }
  .tm-product-comparison { gap: 12px; }
  .tm-product-comparison figcaption { font-size: 14px; padding: 10px; }
  :is(.wd-product-descriptions, .tf-product-info-wrap, .CLASSES_FOR_PAGES, .entry-content, .seo-oct26, .kontr-bolts-nov26, .transmet-editorial) table { font-size: 14px; }
  :is(.wd-product-descriptions, .tf-product-info-wrap, .CLASSES_FOR_PAGES, .entry-content, .seo-oct26, .kontr-bolts-nov26, .transmet-editorial) table :is(th, td) { padding: 10px 12px; }
  .tm-size-panel .kontr-lengths :is(th, td) { padding: 8px 12px; }
  .transmet-editorial .tm-callout, .transmet-editorial .tm-toc { padding: 16px; }
}
