/* Keep wide product tables inside their own touch-scroll region. */
body.single-product div.product .woocommerce-tabs,
body.single-product .woocommerce-tabs>article,
body.single-product .woocommerce-tabs .woocommerce-Tabs-panel{min-width:0;max-width:100%;box-sizing:border-box}
body.single-product div.product .woocommerce-tabs{width:100%}
body.single-product .woocommerce-Tabs-panel .wptb-container-legacy,
body.single-product .woocommerce-Tabs-panel .wptb-table-container,
body.single-product .gps-detail-table-scroll{display:block;box-sizing:border-box;width:100%;min-width:0;max-width:100%!important;overflow-x:auto!important;overflow-y:auto;-webkit-overflow-scrolling:touch;touch-action:pan-x pan-y pinch-zoom;overscroll-behavior-x:contain;scrollbar-width:auto}
body.single-product .gps-detail-table-scroll table{max-width:none!important}
body.single-product .gps-detail-table-scroll:focus-visible{outline:2px solid var(--theme-palette-color-1,#2b5eb1);outline-offset:3px}

/* GPCN draft tables: match the existing grey/white, black-grid detail tables. */
body.single-product .woocommerce-Tabs-panel > .gps-gpcn-tables{box-sizing:border-box;width:var(--theme-container-width,90%);max-width:var(--theme-normal-container-max-width,1290px)!important;margin-inline:auto}
body.single-product .gps-gpcn-tables .gps-product-spec-table{width:100%;min-width:700px;max-width:none;border-collapse:collapse;border:1px solid #000;font:inherit;font-size:15px;color:inherit;table-layout:auto;margin:0}
body.single-product .gps-gpcn-tables .gps-product-spec-table + .gps-product-spec-table{margin-top:-1px}
body.single-product .gps-gpcn-tables .gps-product-spec-table th,
body.single-product .gps-gpcn-tables .gps-product-spec-table td{padding:10px;border:1px solid #000;vertical-align:middle;font-family:inherit;font-size:inherit;line-height:inherit;color:inherit}
body.single-product .gps-gpcn-tables .gps-product-spec-table tr:nth-child(odd){background:#eee}
body.single-product .gps-gpcn-tables .gps-product-spec-table tr:nth-child(even){background:#fff}
body.single-product .gps-gpcn-tables .gps-product-spec-table th{font-weight:700;text-align:center;background:#eee}
body.single-product .gps-gpcn-tables .gps-product-spec-table .gps-spec-group{text-align:center}
body.single-product .gps-gpcn-tables .gps-product-spec-table .gps-spec-section{text-align:center;background:#eee}
body.single-product .gps-gpcn-tables .gps-gpcn-models{min-width:900px;text-align:center}
body.single-product .gps-gpcn-tables .gps-gpcn-models td:first-child{white-space:nowrap}
body.single-product .gps-gpcn-tables > p{margin-block:1em}
