/* RUN UI Polish R3 — Product column and responsive actions. PREVIEW ONLY.
   Existing 5 DOM cells remain intact: integration selectors and internal SKU keys remain stable.
   First SKU column hidden visually and screen readers; source code attached to product title only if present. */
@media (min-width:701px) {
  #catalog .table-wrap table {width:100%!important;table-layout:fixed!important;}
  #catalog .table-wrap table thead th:nth-child(2),
  #productTableBody > tr > td:nth-child(2) {width:39%!important;}
  #catalog .table-wrap table thead th:nth-child(3),
  #productTableBody > tr > td:nth-child(3) {width:16%!important;}
  #catalog .table-wrap table thead th:nth-child(4),
  #productTableBody > tr > td:nth-child(4) {width:14%!important;}
  #catalog .table-wrap table thead th:nth-child(5),
  #productTableBody > tr > td:nth-child(5) {width:31%!important;}
  #productTableBody td:nth-child(5) .price-brand-cell {display:grid!important;grid-template-columns:minmax(0,1fr) 64px!important;gap:10px!important;align-items:center!important;}
  #productTableBody td:nth-child(5) .price-brand-cell .run-price-stack {width:100%!important;min-width:0!important;}
  #productTableBody td:nth-child(5) .price-brand-cell .run-price-stack .run-row-actions:not(.run-row-actions-digital),
  #productTableBody td:nth-child(5) .run-rc3a1-price-stack .run-row-actions-digital {
    display:flex!important; flex-wrap:wrap!important; justify-content:center!important;align-items:center!important;
    width:100%!important;gap:7px!important;margin:0!important;
  }
  #productTableBody td:nth-child(5) .price-brand-cell .run-row-actions button {
    min-height:42px!important;max-width:100%!important;white-space:nowrap!important;
    padding:9px clamp(6px,0.55vw,12px)!important;font-size:clamp(11px,0.9vw,13px)!important;
    font-weight:700!important;line-height:1.1!important;text-align:center!important;
  }
  #productTableBody td:nth-child(5) .price-brand-cell .run-row-actions button[data-run-action="delivery"] {flex:0 1 auto!important;}
  #productTableBody td:nth-child(5) .price-brand-cell .run-row-actions button[data-run-action="add"] {flex:0 1 auto!important;}
}
/* Hide internal SKU column while retaining DOM indices used by existing modules. */
#catalog .table-wrap table thead th:first-child,
#productTableBody > tr > td:first-child {display:none!important;}
#productTableBody .run-product-source-code {display:inline!important;color:#52708e!important;font-size:.88em!important;font-weight:600!important;white-space:normal!important;overflow-wrap:anywhere!important;}
/* For medium laptop windows allow buttons to stack without being clipped or shrinking labels. */
@media (min-width:701px) and (max-width:1050px) {
  #catalog .table-wrap table thead th:nth-child(2), #productTableBody > tr > td:nth-child(2){width:35%!important;}
  #catalog .table-wrap table thead th:nth-child(5), #productTableBody > tr > td:nth-child(5){width:35%!important;}
  #productTableBody td:nth-child(5) .price-brand-cell{grid-template-columns:minmax(0,1fr) 45px!important;gap:5px!important;}
  #productTableBody td:nth-child(5) .price-brand-cell .run-row-actions:not(.run-row-actions-digital){gap:5px!important;}
  #productTableBody td:nth-child(5) .price-brand-cell .run-row-actions button{font-size:11px!important;padding:7px 6px!important;min-height:40px!important;}
}
@media (max-width:700px) {
  #productTableBody > tr > td:nth-child(2) .product-link {overflow-wrap:anywhere!important;}
  #productTableBody td:nth-child(5) .run-row-actions button {white-space:nowrap!important;}
}
