/* Match the catalogue accordion and technical table borders across product pages. */
.tz-cat-appendix > .product-technical-width,
section > .product-technical-width,
section#tchvs-ek-teknik > .product-technical-width {
  box-sizing: border-box;
  width: min(1180px, calc(100% - 36px));
  max-width: none;
  min-width: 0;
  margin-inline: auto;
  padding-inline: 0;
}

main > .product-catalogue-host {
  width: 100%;
  max-width: none;
  padding-inline: 0;
}

/* Tables own the whole technical frame, including on pages with adjoining notes. */
.product-technical-width .product-table-grid {
  grid-template-columns: minmax(0, 1fr);
}

.product-technical-width .product-table-grid > * {
  min-width: 0;
}

#tchvs-ek-teknik .product-technical-width .product-table-card {
  padding-inline: 0;
  border-inline: 0;
}

#tchvs-ek-teknik .product-technical-width .product-table-card > :not(.product-table-scroll) {
  margin-inline: 16px;
}

.product-technical-width .product-table-scroll {
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  overflow-x: auto;
}

/* The TCH supplements previously clipped the right side of wide tables. */
#tchvs-ek-teknik .product-table-scroll {
  overflow-x: auto !important;
}

.product-technical-width .product-table-scroll > table {
  width: 100%;
}

/* Center the accordion within the existing 10px vertical gutter. */
section.tz-cat-appendix {
  padding-block: 5px !important;
}

.tz-cat-appendix .tz-cat-outer > summary {
  min-height: 52px;
  padding: 10px 18px;
}

@media (max-width: 650px) {
  .tz-cat-appendix > .product-technical-width,
  section > .product-technical-width,
  section#tchvs-ek-teknik > .product-technical-width {
    width: calc(100% - 24px);
    padding-inline: 0;
  }

  .tz-cat-appendix .tz-cat-outer > summary {
    min-height: 52px;
    padding: 11px 12px;
  }
}
