/* Supplier-specific matrix: no selectors for MidOcean, Xindao or Print.com. */
.pfp-matrix-wrap{margin:20px 0 28px;font-size:14px;max-width:100%}
.pfp-matrix-wrap h3{margin:0 0 10px;font-size:20px;line-height:1.3}
.pfp-matrix-lead{color:#475569;margin:0 0 17px;line-height:1.6}
.pfp-matrix-tools{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-bottom:14px}
.pfp-matrix-tools label{font-weight:650}
.woocommerce div.product .summary .pfp-matrix-tools input[type="search"]{border:1px solid #cbd5e1;border-radius:7px;padding:8px 10px;min-width:180px;max-width:260px;min-height:42px;background:#fff}
.woocommerce div.product .summary .pfp-matrix-tools .button{min-height:40px;padding:8px 14px}
.pfp-matrix-scroll{width:100%;overflow:auto;max-height:510px;border:1px solid #dce3eb;border-radius:9px;background:#fff;overscroll-behavior:contain}
.pfp-matrix-table{border-collapse:separate;border-spacing:0;width:100%;min-width:max-content;margin:0!important;font-size:13px}
.pfp-matrix-table th,.pfp-matrix-table td{border-bottom:1px solid #e7edf3!important;text-align:center;padding:8px 10px!important;vertical-align:middle;white-space:nowrap}
.pfp-matrix-table th:first-child{position:sticky;left:0;z-index:2;text-align:left;min-width:105px;background:#fff;box-shadow:2px 0 3px #0000000a}
.pfp-matrix-table thead th{position:sticky;top:0;z-index:3;background:#f3f6f9!important;font-weight:750}
.pfp-matrix-table thead th:first-child{z-index:4}
.pfp-matrix-table tbody tr:hover th,.pfp-matrix-table tbody tr:hover td{background:#f8fbfd}
.pfp-matrix-table tr[hidden]{display:none!important}
.pfp-matrix-color{display:inline-flex;gap:8px;align-items:center;font-weight:650;max-width:155px;white-space:normal;line-height:1.3}
.pfp-matrix-swatch{width:16px;height:16px;flex:0 0 16px;display:inline-block;border:1px solid #9ba8b5;border-radius:50%}
.woocommerce div.product .summary .pfp-matrix-table input[type="number"]{box-sizing:border-box;width:62px!important;min-width:0!important;height:38px!important;min-height:0!important;padding:5px 3px;text-align:center;border:1px solid #aeb9c5;border-radius:6px;appearance:textfield;font-size:14px;font-weight:650;background:#fff;color:#0f172a}
.pfp-matrix-table input[type="number"]::-webkit-inner-spin-button{opacity:1}
.pfp-matrix-thumb{width:36px!important;height:36px!important;max-width:36px;object-fit:contain;border-radius:4px;background:#fff;border:1px solid #dbe2e8}
.pfp-matrix-cell small{display:block;margin:3px auto 0;color:#718096;font-size:10px;line-height:1.2}
.pfp-matrix-cell .pfp-matrix-cell-price{color:#334155;font-weight:600}
.pfp-matrix-cell.is-unavailable input{opacity:.4}
.pfp-matrix-unavailable{color:#94a3b8;background:#fafafa}
.pfp-matrix-stock-note{font-size:12px;color:#64748b;margin:9px 0 23px}
.pfp-matrix-summary{background:#f6f8fa;border:1px solid #dce4ec;border-radius:9px;margin:18px 0;padding:17px}
.pfp-matrix-summary h4{font-size:16px;margin:0 0 8px}
.pfp-matrix-summary [data-pfp-matrix-lines]{font-size:13px;line-height:1.55;color:#64748b;max-height:95px;overflow:auto;overflow-wrap:break-word}
.pfp-matrix-summary dl{margin:13px 0;display:grid;gap:7px}
.pfp-matrix-summary dl>div{display:flex;justify-content:space-between;gap:16px}
.pfp-matrix-summary dt,.pfp-matrix-summary dd{margin:0}
.pfp-matrix-summary dd{font-weight:700;white-space:nowrap}
.pfp-matrix-summary .pfp-matrix-grand{border-top:1px solid #d4dce4;padding-top:11px;margin-top:4px;font-size:17px;font-weight:750}
.pfp-matrix-summary small{color:#64748b;line-height:1.55;display:block}
.pfp-matrix-error{color:#991b1b;background:#fff2f2;border:1px solid #fecaca;padding:10px;border-radius:6px}
.woocommerce div.product .summary .pfp-matrix-submit{width:100%;white-space:normal;text-align:center;margin:0 0 8px;min-height:50px}
.pfp-matrix-wrap .pfp-print{margin-top:18px}
@media(max-width:768px){.pfp-matrix-wrap{width:100%;min-width:0}.pfp-matrix-tools{align-items:stretch}.pfp-matrix-tools label{flex:0 0 100%}.woocommerce div.product .summary .pfp-matrix-tools input[type="search"]{max-width:100%;flex:1 1 170px}.pfp-matrix-table th,.pfp-matrix-table td{padding:8px 6px!important}.pfp-matrix-scroll{max-height:440px}.pfp-matrix-table th:first-child{min-width:88px}.pfp-matrix-summary{padding:14px}}
