/* Master Barang only: each item owns its selection, details and Edit action. */
.products-page #plist{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;padding:0 0 16px;align-items:stretch;min-width:0}
.products-page .product-master-card{display:flex;flex-direction:column;min-width:0;padding:12px;background:var(--card,#fff);border:1px solid var(--border,#dce5f1);border-radius:16px;box-shadow:0 3px 13px rgba(25,65,110,.04)}
.products-page .product-master-card:has(.product-low){border-color:#ffc3ca;background:var(--card,#fff)}
.products-page .product-master-card:has(input[data-markup-id]:checked){border-color:var(--blue,#0875ed);box-shadow:0 0 0 1px var(--blue,#0875ed)}
.products-page .product-master-card .markup-select-row{margin:0 0 8px;min-width:0}
.products-page .product-master-card .markup-select-row label{display:flex;align-items:center;gap:7px;min-height:36px;font-size:12px;line-height:1.3;cursor:pointer;overflow-wrap:anywhere}
.products-page .product-master-card input[data-markup-id]{width:18px;height:18px;flex:none;margin:0;accent-color:var(--blue,#0875ed)}
.products-page .product-master-card .product{display:flex;flex-direction:column;align-items:flex-start;gap:10px;flex:1;min-width:0;margin:0;padding:0 0 12px;background:transparent;border:0;border-radius:0;box-shadow:none}
.products-page .product-master-card .thumb{width:52px;height:52px;flex:none}
.products-page .product-master-card .product-info{width:100%;min-width:0}
.products-page .product-master-card .product-info h4{white-space:normal;overflow-wrap:anywhere;line-height:1.4;min-height:2.8em;margin:0 0 5px;font-size:14px}
.products-page .product-master-card .product-info>small{display:block;overflow-wrap:anywhere;font-size:11px}
.products-page .product-master-card .price{font-size:16px;line-height:1.4;overflow-wrap:anywhere}
.products-page .product-master-card .stock-line{gap:5px;line-height:1.5}
.products-page .product-master-card .stock-min{font-size:11px;line-height:1.5;margin-top:5px}
.products-page .product-master-card .product-edit{width:100%;min-height:42px;margin:0;padding:10px 8px;border-radius:10px;font-size:12px;line-height:1.4}
.products-page #plist>.empty{grid-column:1/-1}
@media(min-width:700px){.products-page #plist{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}}
@media(min-width:1280px){.products-page #plist{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(min-width:1680px){.products-page #plist{grid-template-columns:repeat(5,minmax(0,1fr))}}
@media(max-width:359px){.products-page #plist{gap:8px}.products-page .product-master-card{padding:9px}.products-page .product-master-card .product-info h4{font-size:13px}}
