/* MetalinkPro v27 Partner Cabinet & Product Catalog. Scoped to new pages. */
main.wide{max-width:1220px}.dashboardAuth{margin-bottom:18px}.login-inline{display:grid;grid-template-columns:minmax(150px,1fr) minmax(150px,1fr) auto;gap:12px;align-items:end}.spread{justify-content:space-between}.shop-summary{margin-bottom:18px}.dashboard-grid{display:grid;grid-template-columns:minmax(290px,.9fr) minmax(0,1.1fr);gap:17px;align-items:start}.dashboard-grid .panel{min-width:0}
.button-link{display:inline-flex;align-items:center;text-decoration:none;font-size:13px;font-weight:800;border-radius:11px;padding:11px 15px;border:1px solid #566f90;color:#ffca55}.product-list{gap:12px;margin-top:15px}.product-list .shopRow{margin:0}.product-price{font-size:23px;font-weight:900;color:#ffcd67;margin:8px 0}.product-media{width:100%;height:160px;object-fit:contain;border-radius:11px;background:#0b182b}.product-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px;margin-top:17px}.product-grid article{min-width:0;border:1px solid #3c5676;border-radius:16px;background:#0d1d30;padding:17px;display:flex;flex-direction:column;gap:9px}.product-grid h3{margin:0;font-size:18px;line-height:1.3;overflow-wrap:anywhere}.product-grid p{font-size:13px;margin:0;color:#adc0d9;overflow-wrap:anywhere}.product-grid .tiny{margin:0}.catalogFilters{display:grid;grid-template-columns:minmax(170px,2fr) repeat(2,minmax(145px,1fr));gap:12px}.product-stack{border-top:1px solid #375070;padding:10px 0 4px;margin-top:13px}.product-stack .cols{grid-template-columns:repeat(3,minmax(0,1fr))}.seller-compact-input{min-width:0}.stock-pill{color:#b8f2dc;font-size:12px;font-weight:700}.stock-pill.no{color:#f9a5a5}.product-action-row{display:flex;gap:8px;flex-wrap:wrap;margin-top:12px}.product-action-row button{font-size:13px}.notice.success{border-color:#237d5f;color:#bcf1db}.notice.error{border-color:#d16b67;color:#ffc0b6}.info-chip{font-size:12px;background:#24374d;padding:5px 9px;border-radius:9px}.truncate{overflow-wrap:anywhere}
@media(max-width:900px){.dashboard-grid{grid-template-columns:1fr}.product-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:620px){.login-inline,.catalogFilters,.product-grid,.product-stack .cols{grid-template-columns:1fr}.dashboard-grid .panel{padding:16px}.product-media{height:130px}}
/* v27.1: mobile media uploader, multi-image product cards and direct supplier order dialog */
.photo-editor{border:1px solid #4c6682;border-radius:13px;margin:4px 0 0;padding:15px;min-width:0}
.photo-editor legend{font-weight:850;color:#ffd06b;padding:0 9px}.photo-editor input[type=file]{padding:10px;font-size:12px}
.seller-photo-grid,.seller-item-photos{display:flex;flex-wrap:wrap;gap:9px;margin-top:10px}.seller-photo{position:relative;width:100px;min-height:86px;border:1px solid #516985;border-radius:11px;background:#0d192b;padding:4px;text-align:center;overflow:hidden}.seller-photo img,.seller-item-photos img{width:100%;height:74px;object-fit:contain;border-radius:7px}.seller-photo small{font-size:10px;word-break:break-all;color:#a9c4dc}.seller-photo.photo-marked{opacity:.5;border-color:#ed7777}.photo-remove{font-size:11px;min-height:32px;padding:4px 8px;margin-top:4px}.seller-item-photos img{max-width:100px;border:1px solid #4b6680}
.product-gallery{display:flex;flex-direction:column;gap:7px}.product-stage{display:flex;align-items:center;justify-content:center;width:100%;height:200px;background:#0b182b;border:1px solid #38506b;padding:0;border-radius:12px;color:#aebfd4;overflow:hidden}.product-stage .product-media{width:100%;height:100%;object-fit:contain;background:transparent}.product-stage:not(:disabled){cursor:zoom-in}.product-stage.media-placeholder{flex-direction:column;gap:8px}.placeholder-icon{font-size:42px}.product-thumbs{display:flex;gap:6px;min-height:0;flex-wrap:wrap}.thumb-button{width:44px;height:44px;min-height:44px;border:1px solid #4b6484;padding:2px;background:#0b182b;border-radius:8px;color:#fff;font-size:12px}.thumb-button img{width:100%;height:100%;object-fit:cover}.thumb-button.selected{border:2px solid #ffbd37}.product-grid .order-trigger{width:100%;margin-top:auto;font-size:14px}.product-desc{white-space:pre-line;max-height:130px;overflow:auto}
.mlp-dialog,.mlp-photo-dialog{color:#ecf4ff;background:#13243a;border:1px solid #617a9d;border-radius:18px;padding:22px;box-shadow:0 12px 60px #000b;max-width:min(94vw,590px);max-height:92vh;overflow:auto}.mlp-dialog::backdrop,.mlp-photo-dialog::backdrop{background:#000a}.mlp-dialog h2{margin:0;font-size:22px}.mlp-dialog label{margin:13px 0}.mlp-dialog .order-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin-top:12px}.modal-top{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:14px}.modal-top button{white-space:nowrap}.order-product{font-weight:800;background:#0b182b;border-radius:12px;padding:12px;margin:10px 0}.mlp-dialog .tiny{line-height:1.5}.mlp-photo-dialog{max-width:94vw}.mlp-photo-dialog img{display:block;max-width:88vw;max-height:78vh;object-fit:contain}
@media(max-width:620px){.mlp-dialog .order-actions{grid-template-columns:1fr}.mlp-dialog,.mlp-photo-dialog{padding:14px}.product-stage{height:175px}}
