/* Small product thumbnails share existing materials typography and spacing. */
.mat-sku-row{display:flex;align-items:center;gap:10px;padding:12px 0;border-bottom:1px solid var(--border,#e2e2e2)}
.mat-sku-info{flex:1;min-width:0}.mat-sku-info .mat-part-name{overflow-wrap:anywhere}
.mat-product-photo,.mat-product-placeholder{width:64px;height:64px;flex:0 0 64px;border:1px solid var(--border,#ddd);border-radius:10px;overflow:hidden;background:#fff;display:flex;align-items:center;justify-content:center;padding:3px}
.mat-product-photo{cursor:pointer}.mat-product-photo img{width:100%;height:100%;object-fit:contain}
.mat-product-placeholder{font-size:11px;color:#777;background:var(--surface,#f4f4f4)}
.mat-length-options{display:flex;flex-wrap:wrap;gap:10px}.mat-length-option{display:flex;align-items:center;gap:6px;border-radius:12px}.mat-length-option .mat-chip{min-width:100px}
.mat-parts-title{font-size:14px;margin:18px 0 0}.mat-price-refresh{border:0;background:none;color:var(--accent,#5265ad);text-decoration:underline;font:inherit;font-size:12px;padding:12px 0;cursor:pointer}
.mat-price-review{font-size:13px;padding:12px 0;display:flex;gap:12px;align-items:center;flex-wrap:wrap}.mat-price-review .mat-chip{font-size:12px}
.mat-summary-btns button:disabled{opacity:.45;cursor:not-allowed}.mat-card-head>.mat-product-photo{width:56px;height:56px;flex-basis:56px}.mat-preview-line>span:first-child{min-width:0;overflow-wrap:anywhere}.mat-preview-line>b{white-space:nowrap}
@media(max-width:420px){.mat-sku-row{gap:7px}.mat-sku-row .mat-product-photo{width:56px;height:56px;flex-basis:56px}.mat-sku-row .qty-btn{width:30px;height:34px}.mat-sku-row .mat-qty{min-width:20px}.mat-sku-info .mat-part-sub{font-size:11px}.mat-length-option .mat-product-photo{width:56px;height:56px;flex-basis:56px}.mat-length-options{gap:8px}.mat-card-head>.mat-product-photo{display:none}}
.mat-room-enable { margin: 12px 0; }
#selected-products { margin: 12px 0 22px; }
.mat-selected-product { display:flex; flex-wrap:wrap; gap:12px; align-items:center; padding:14px 0; border-bottom:1px solid var(--bdr); }
.mat-selected-product > div:first-child { flex:1; min-width:150px; }
.mat-selected-product strong,.mat-selected-product small,.mat-selected-product b { display:block; margin:4px 0; }
.mat-selected-product small { color:var(--t2); font-size:12px; }
.mat-selected-product details { flex-basis:100%; }
.mat-selected-product summary { cursor:pointer; padding:8px 0; }
.mat-sale-price { display:grid; grid-column:1/-1; grid-template-columns:minmax(130px,1fr) minmax(90px,140px); gap:6px 12px; align-items:center; padding:8px 0; font-size:12px; }
.mat-sale-price input { width:100%; min-width:0; padding:9px; border:1px solid var(--bdr); border-radius:8px; background:var(--surf); color:var(--t1); font:inherit; }
.mat-sale-price small { grid-column:1/-1; color:var(--t2); font-size:11px; }
.mat-room-controls { display: grid; gap: 12px; padding: 16px; margin: 12px 0; border: 1px solid var(--border, #ddd); border-radius: 12px; }
.estimate-room { margin: 20px 0; padding-bottom: 18px; border-bottom: 1px solid var(--border, #ddd); }
.estimate-room > h2 { margin-bottom: 14px; font-size: 20px; }
.mat-room-controls label, .mat-room-move { display: grid; gap: 6px; font-size: 13px; }
.mat-room-controls select, .mat-room-controls input, .mat-room-move select { box-sizing: border-box; width: 100%; min-width: 0; min-height: 42px; padding: 8px 10px; border: 1px solid var(--border, #ddd); border-radius: 8px; background: var(--bg, #fff); color: var(--t1, #222); font: inherit; }
.mat-room-actions { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.mat-room-actions .mat-clear { margin: 0; }
.mat-room-heading { display: flex; justify-content: space-between; gap: 12px; align-items: center; padding: 8px 0; }
.mat-room-heading h3 { margin: 0; overflow-wrap: anywhere; }
.mat-room-heading b { white-space: nowrap; }
.mat-room-move { margin: 8px 0 12px; }
