/* Rich-text tables only; navigation, forms and the product-list tool are excluded. */
.hfs-content-table-scroll {
  max-width: 100%;
  margin: 16px 0;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  -webkit-overflow-scrolling: touch;
}

.hfs-content-table-scroll:focus-visible {
  outline: 2px solid #04a07b;
  outline-offset: 3px;
}

.product-detail-tab table,
.page-product-detail-right .product-detail-item table,
.xypg-detail-con table,
.xypg-right-content > table,
.hfs-content-table-scroll > table {
  width: 100% !important;
  max-width: 100%;
  border: 1px solid #b8c4c0 !important;
  border-collapse: collapse;
  border-spacing: 0;
  table-layout: auto;
  margin: 16px 0;
  background-color: #fff;
}

.hfs-content-table-scroll > table {
  margin: 0 !important;
}

.product-detail-tab table th,
.product-detail-tab table td,
.page-product-detail-right .product-detail-item table th,
.page-product-detail-right .product-detail-item table td,
.xypg-detail-con table th,
.xypg-detail-con table td,
.xypg-right-content > table th,
.xypg-right-content > table td,
.hfs-content-table-scroll > table th,
.hfs-content-table-scroll > table td {
  border: 1px solid #b8c4c0 !important;
  padding: 9px 12px !important;
  vertical-align: top;
  line-height: 1.65;
  white-space: normal;
  overflow-wrap: anywhere;
}

.product-detail-tab table th,
.page-product-detail-right .product-detail-item table th,
.xypg-detail-con table th,
.xypg-right-content > table th,
.hfs-content-table-scroll > table th {
  background-color: #eef4f1;
  color: #34433e;
  font-weight: 600;
  text-align: left;
}

.hfs-content-table-scroll > table caption {
  margin-bottom: 8px;
  text-align: left;
}

@media (max-width: 767px) {
  .page-product-detail-right .product-detail-item > li {
    width: auto !important;
    max-width: 100%;
  }

  .hfs-content-table-scroll > table {
    min-width: var(--hfs-table-min-width, 432px);
    max-width: none;
  }

  .hfs-content-table-scroll > table th {
    min-width: 100px;
  }
}
