/* v84 - final tidy product master page. Visual-only, production-ready wording, no behavior changes. */
.tk-page-products .content{max-width:1560px!important}
.tk-page-products .product-import-card,
.tk-page-products .product-editor-card,
.tk-page-products .product-list-card,
.tk-page-products .product-links-card{padding:14px 16px!important}
.tk-page-products .product-import-card .row,
.tk-page-products .product-links-card.row{gap:8px!important}
.tk-page-products .product-import-card input[type=file]{max-width:340px!important}
.tk-page-products .product-import-card .muted{font-size:12px!important;line-height:1.25!important}
.tk-page-products .product-editor-card h3,
.tk-page-products .product-list-card h3{margin:0!important}
.tk-page-products .product-editor-card .form-grid{gap:8px 10px!important}
.tk-page-products .product-editor-card label{font-size:12px!important;line-height:1.15!important;margin:4px 0 4px!important}
.tk-page-products .product-editor-card input,
.tk-page-products .product-editor-card select{min-height:36px!important;height:36px!important;padding:7px 10px!important;font-size:13px!important}
.tk-page-products .product-editor-card small.muted{display:block!important;font-size:11px!important;line-height:1.2!important;margin-top:3px!important}
.tk-page-products .product-margin-confirm{display:flex!important;align-items:flex-start!important;gap:8px!important;margin:10px 0 0!important;font-size:12px!important;font-weight:700!important;line-height:1.35!important}
.tk-page-products .product-margin-confirm input{width:16px!important;height:16px!important;min-height:16px!important;flex:0 0 16px!important;margin:1px 0 0!important;padding:0!important}
.tk-page-products #productMarginWarning{margin-top:10px!important;padding:10px 12px!important;border-radius:10px!important;font-size:12px!important;line-height:1.35!important}
.tk-page-products .product-form-actions{margin-top:10px!important}
.tk-page-products .product-form-actions .btn,
.tk-page-products .product-form-actions button{min-height:34px!important;padding:7px 14px!important;font-size:13px!important;font-weight:800!important}

.tk-page-products .product-list-card .product-list-head{display:flex!important;align-items:center!important;gap:10px!important;justify-content:space-between!important;margin-bottom:10px!important;flex-wrap:wrap!important}
.tk-page-products .product-list-card .product-list-head .muted{font-size:12px!important;white-space:nowrap!important}
.tk-page-products .product-search-toolbar{display:grid!important;grid-template-columns:minmax(0,1fr) auto auto auto!important;gap:8px!important;align-items:center!important;margin-bottom:8px!important}
.tk-page-products .product-search-toolbar input[name=q]{max-width:none!important;width:100%!important;min-height:38px!important;height:38px!important;padding:8px 12px!important;font-size:13px!important}
.tk-page-products .product-search-toolbar .btn,
.tk-page-products .product-search-toolbar button{min-height:38px!important;height:38px!important;padding:8px 12px!important;font-size:12.5px!important;font-weight:800!important;white-space:nowrap!important}
.tk-page-products .product-list-card .search-suggestions{margin:0 0 8px!important}
.tk-page-products .product-camera-panel{margin:0 0 8px!important}
.tk-page-products .product-camera-panel .row{gap:8px!important}
.tk-page-products .product-camera-panel button{min-height:34px!important;padding:7px 11px!important}
.tk-page-products .product-list-card .table-wrap{overflow-x:auto!important}
.tk-page-products .product-master-table{width:100%!important;min-width:1120px!important;table-layout:fixed!important}
.tk-page-products .product-master-table th{padding:7px 8px!important;font-size:11.5px!important;line-height:1.1!important;white-space:nowrap!important}
.tk-page-products .product-master-table td{padding:7px 8px!important;font-size:12.25px!important;line-height:1.22!important;vertical-align:middle!important}
.tk-page-products .product-master-table td .muted{display:block!important;margin-top:2px!important;font-size:11px!important;line-height:1.2!important}
.tk-page-products .product-master-table th:nth-child(1), .tk-page-products .product-master-table td:nth-child(1){width:96px!important;white-space:nowrap!important}
.tk-page-products .product-master-table th:nth-child(2), .tk-page-products .product-master-table td:nth-child(2){width:230px!important}
.tk-page-products .product-master-table th:nth-child(3), .tk-page-products .product-master-table td:nth-child(3),
.tk-page-products .product-master-table th:nth-child(4), .tk-page-products .product-master-table td:nth-child(4){width:98px!important;white-space:nowrap!important}
.tk-page-products .product-master-table th:nth-child(5), .tk-page-products .product-master-table td:nth-child(5){width:70px!important;white-space:nowrap!important}
.tk-page-products .product-master-table th:nth-child(6), .tk-page-products .product-master-table td:nth-child(6){width:110px!important}
.tk-page-products .product-master-table th:nth-child(7), .tk-page-products .product-master-table td:nth-child(7){width:60px!important;white-space:nowrap!important}
.tk-page-products .product-master-table th:nth-child(8), .tk-page-products .product-master-table td:nth-child(8){width:130px!important}
.tk-page-products .product-master-table th:nth-child(9), .tk-page-products .product-master-table td:nth-child(9){width:88px!important;white-space:nowrap!important}
.tk-page-products .product-master-table th:nth-child(10), .tk-page-products .product-master-table td:nth-child(10){width:158px!important;white-space:nowrap!important}
.tk-page-products .product-actions{display:flex!important;align-items:center!important;gap:5px!important;flex-wrap:nowrap!important;justify-content:flex-start!important}
.tk-page-products .product-actions form{display:inline-flex!important;margin:0!important;min-width:0!important}
.tk-page-products .product-actions .btn,
.tk-page-products .product-actions button{min-height:29px!important;height:29px!important;padding:4px 9px!important;font-size:11.5px!important;line-height:1!important;font-weight:800!important;border-radius:9px!important;margin:0!important}
.tk-page-products .product-links-card{display:flex!important;gap:8px!important;flex-wrap:wrap!important}
.tk-page-products .product-links-card .btn{min-height:34px!important;padding:8px 12px!important}
@media (max-width:900px){
  .tk-page-products .product-search-toolbar{grid-template-columns:1fr 1fr!important}
  .tk-page-products .product-search-toolbar input[name=q]{grid-column:1/-1!important}
  .tk-page-products .product-master-table{min-width:1020px!important}
  .tk-page-products .product-import-card,
  .tk-page-products .product-editor-card,
  .tk-page-products .product-list-card,
  .tk-page-products .product-links-card{padding:12px!important}
}