/* The spec table on every product page (2026-11). Stored tables carry their own look inline: 12 px, bold labels,
   orange stripes (NewProduct's table_edit, about 4,600 products) or anything pasted in the admin. Only the look is
   replaced here; the stored HTML is not changed. Places: the side box and its "Xem thêm" popup (#full-spec, moved out
   of the box while open) on the normal page, .pv2-spec on the redesigned one.
   A header row is a <thead> row, a first row of only <th> cells, or one merged cell alone in its row. NewProduct bolds its
   first row whatever it holds, so stored bold is not read as a header. */
:is(.box-product-n-spec .list-n,#full-spec,.pv2-spec) table{width:100%!important;border-collapse:collapse;height:auto!important;background:transparent!important;border:0!important}
:is(.box-product-n-spec .list-n,#full-spec,.pv2-spec) tr{background:transparent!important}
:is(.box-product-n-spec .list-n,#full-spec,.pv2-spec) td,:is(.box-product-n-spec .list-n,#full-spec,.pv2-spec) th{padding:9px 12px!important;border:0!important;border-bottom:1px solid #e8e8ec!important;background:transparent!important;height:auto!important;width:auto!important;vertical-align:top!important;font-size:14px!important;font-weight:400!important;line-height:1.5;color:#1d1d1f!important;overflow-wrap:anywhere}
/* three columns or more (Bộ PC): words stay whole, or "Bảo hành" breaks letter by letter */
:is(.box-product-n-spec .list-n,#full-spec,.pv2-spec) tr:has(>:nth-child(3))>*{overflow-wrap:break-word}
:is(.box-product-n-spec .list-n,#full-spec,.pv2-spec) td,:is(.box-product-n-spec .list-n,#full-spec,.pv2-spec) th,:is(.box-product-n-spec .list-n,#full-spec,.pv2-spec) td *,:is(.box-product-n-spec .list-n,#full-spec,.pv2-spec) th *{font-family:inherit!important;text-align:left!important}
:is(.box-product-n-spec .list-n,#full-spec,.pv2-spec) td :not(sup):not(sub):not(a),:is(.box-product-n-spec .list-n,#full-spec,.pv2-spec) th :not(sup):not(sub):not(a){font-size:inherit!important;font-weight:inherit!important;color:inherit!important;background:transparent!important}
:is(.box-product-n-spec .list-n,#full-spec,.pv2-spec) td a,:is(.box-product-n-spec .list-n,#full-spec,.pv2-spec) th a{color:#be4a00!important;text-decoration:underline!important;font-size:inherit!important}
:is(.box-product-n-spec .list-n,#full-spec,.pv2-spec) tbody tr:nth-child(odd) td,:is(.box-product-n-spec .list-n,#full-spec,.pv2-spec) tbody tr:nth-child(odd) th{background:#fafafb!important}
:is(.box-product-n-spec .list-n,#full-spec,.pv2-spec) td:first-child,:is(.box-product-n-spec .list-n,#full-spec,.pv2-spec) th:first-child{color:#667085!important}
/* label column: two-column tables only (Bộ PC tables have Mã | Tên linh kiện | Bảo hành) */
:is(.box-product-n-spec .list-n,#full-spec,.pv2-spec) td:first-child:nth-last-child(2),:is(.box-product-n-spec .list-n,#full-spec,.pv2-spec) th:first-child:nth-last-child(2){width:38%!important}
:is(.box-product-n-spec .list-n,#full-spec,.pv2-spec) thead td:nth-child(n),:is(.box-product-n-spec .list-n,#full-spec,.pv2-spec) thead th:nth-child(n),:is(.box-product-n-spec .list-n,#full-spec,.pv2-spec) tr:first-child:not(:has(>td))>th,:is(.box-product-n-spec .list-n,#full-spec,.pv2-spec) td[colspan]:only-child:not([colspan="1"]),:is(.box-product-n-spec .list-n,#full-spec,.pv2-spec) th[colspan]:only-child:not([colspan="1"]){color:#1d1d1f!important;font-weight:700!important;width:auto!important}
/* a table inside a cell: the popup's own 750 px minimum (style.css #full-spec table) is for the outer table only */
#full-spec td table{min-width:0!important;float:none!important}
