/* ETOP product description and specification tables, desktop + mobile.
   Scoped exclusively to product page content, not checkout/cart or admin. */

body.hitop-route-product-product #tab-description table,
body.hitop-route-product-product .hitop-mobile-product__tabpanel[data-panel="description"] table,
body.hitop-route-product-product .hitop-mobile-product__tabpanel[data-panel="specs"] table,
body.hitop-route-product-product #tab-attribute table {
  width:100% !important;
  max-width:100% !important;
  margin:14px 0 22px !important;
  border:1px solid #dbe8f1 !important;
  border-collapse:separate !important;
  border-spacing:0 !important;
  border-radius:12px !important;
  background:#fff !important;
  box-shadow:0 2px 12px rgba(8,65,103,.045) !important;
  table-layout:auto;
}

body.hitop-route-product-product #tab-description table tr > td,
body.hitop-route-product-product #tab-description table tr > th,
body.hitop-route-product-product .hitop-mobile-product__tabpanel[data-panel="description"] table tr > td,
body.hitop-route-product-product .hitop-mobile-product__tabpanel[data-panel="description"] table tr > th,
body.hitop-route-product-product .hitop-mobile-product__tabpanel[data-panel="specs"] table tr > td,
body.hitop-route-product-product .hitop-mobile-product__tabpanel[data-panel="specs"] table tr > th,
body.hitop-route-product-product #tab-attribute table tr > td,
body.hitop-route-product-product #tab-attribute table tr > th {
  display:table-cell !important;
  padding:13px 16px !important;
  border:0 !important;
  border-bottom:1px solid #e8eff4 !important;
  box-sizing:border-box !important;
  vertical-align:middle !important;
  font-size:15px !important;
  line-height:1.5 !important;
  color:#123e61 !important;
  text-align:left !important;
  white-space:normal !important;
  overflow-wrap:anywhere;
  word-break:normal;
  background:transparent !important;
  height:auto !important;
}

/* Subtle alternating row fills, no vertical dividers. */
body.hitop-route-product-product #tab-description table tr:nth-child(odd),
body.hitop-route-product-product .hitop-mobile-product__tabpanel[data-panel="description"] table tr:nth-child(odd),
body.hitop-route-product-product .hitop-mobile-product__tabpanel[data-panel="specs"] table tr:nth-child(odd),
body.hitop-route-product-product #tab-attribute table tr:nth-child(odd) {
  background:#f7fafc !important;
}
body.hitop-route-product-product #tab-description table tr:nth-child(even),
body.hitop-route-product-product .hitop-mobile-product__tabpanel[data-panel="description"] table tr:nth-child(even),
body.hitop-route-product-product .hitop-mobile-product__tabpanel[data-panel="specs"] table tr:nth-child(even),
body.hitop-route-product-product #tab-attribute table tr:nth-child(even) {
  background:#fff !important;
}

body.hitop-route-product-product #tab-description table tr > :first-child,
body.hitop-route-product-product .hitop-mobile-product__tabpanel[data-panel="description"] table tr > :first-child,
body.hitop-route-product-product .hitop-mobile-product__tabpanel[data-panel="specs"] table tr > :first-child,
body.hitop-route-product-product #tab-attribute table tr > :first-child {
  color:#56758c !important;
  font-weight:500 !important;
}
body.hitop-route-product-product #tab-description table tr > :not(:first-child),
body.hitop-route-product-product .hitop-mobile-product__tabpanel[data-panel="description"] table tr > :not(:first-child),
body.hitop-route-product-product .hitop-mobile-product__tabpanel[data-panel="specs"] table tr > :not(:first-child),
body.hitop-route-product-product #tab-attribute table tr > :not(:first-child) {
  font-weight:600 !important;
  color:#073c64 !important;
}

/* Real table headings and attribute-group headings. */
body.hitop-route-product-product #tab-description table th,
body.hitop-route-product-product .hitop-mobile-product__tabpanel[data-panel="description"] table th,
body.hitop-route-product-product .hitop-mobile-product__tabpanel[data-panel="specs"] table th,
body.hitop-route-product-product #tab-attribute table th {
  color:#073c64 !important;
  font-weight:700 !important;
  background:#eaf4fb !important;
}

/* Remove the final horizontal rule. */
body.hitop-route-product-product #tab-description table tr:last-child > td,
body.hitop-route-product-product #tab-description table tr:last-child > th,
body.hitop-route-product-product .hitop-mobile-product__tabpanel[data-panel="description"] table tr:last-child > td,
body.hitop-route-product-product .hitop-mobile-product__tabpanel[data-panel="description"] table tr:last-child > th,
body.hitop-route-product-product .hitop-mobile-product__tabpanel[data-panel="specs"] table tr:last-child > td,
body.hitop-route-product-product .hitop-mobile-product__tabpanel[data-panel="specs"] table tr:last-child > th,
body.hitop-route-product-product #tab-attribute table tr:last-child > td,
body.hitop-route-product-product #tab-attribute table tr:last-child > th {
  border-bottom:0 !important;
}

/* Legacy global b,strong width:103% must not break inline values in cells. */
body.hitop-route-product-product #tab-description table :is(b,strong),
body.hitop-route-product-product .hitop-mobile-product__tabpanel table :is(b,strong),
body.hitop-route-product-product #tab-attribute table :is(b,strong) {
  display:inline !important; width:auto !important; max-width:none !important;
}

@media only screen and (max-width:991px) {
  body.hitop-route-product-product #tab-description table,
  body.hitop-route-product-product .hitop-mobile-product__tabpanel[data-panel="description"] table,
  body.hitop-route-product-product .hitop-mobile-product__tabpanel[data-panel="specs"] table {
    margin:12px 0 18px !important;
    border-radius:10px !important;
  }
  body.hitop-route-product-product .hitop-mobile-product__tabpanel[data-panel="description"] table tr > :is(td,th),
  body.hitop-route-product-product .hitop-mobile-product__tabpanel[data-panel="specs"] table tr > :is(td,th) {
    padding:11px 10px !important;
    font-size:14px !important;
    line-height:1.45 !important;
  }
}
