.crm-products .section-head{align-items:center}.crm-products .section-head p{max-width:560px}.crm-product-filters{display:grid;grid-template-columns:minmax(220px,2fr) repeat(4,minmax(120px,1fr));gap:8px;margin:18px 0 12px}.crm-product-filters input,.crm-product-filters select,.crm-product-count select{min-width:0;width:100%;padding:9px 10px;border:1px solid #dce2e8;border-radius:7px;background:#fff;color:#23394d;font:inherit;font-size:12px}.crm-product-count{display:flex;align-items:center;justify-content:space-between;color:#67788a;font-size:12px;padding:8px 0}.crm-product-count label{display:flex;align-items:center;gap:8px}.crm-product-count select{width:72px}.crm-product-table{font-size:12px}.crm-product-table td{max-width:280px;vertical-align:middle}.crm-product-table td small{display:block;max-width:260px;color:#6b7c8d;font-size:10px;overflow:hidden;text-overflow:ellipsis}.crm-product-table img{width:42px;height:42px;object-fit:contain;border-radius:6px;background:#f7f9fb}.crm-product-table th button{border:0;background:transparent;color:inherit;font:inherit;white-space:nowrap;padding:4px 0;cursor:pointer}.crm-product-table .toolbar{flex-wrap:nowrap}.crm-product-table .btn{padding:6px 9px;font-size:11px;min-height:30px}.crm-product-link{font:inherit;font-weight:600;color:#245d86;background:none;border:0;padding:0;text-align:left;cursor:pointer}.crm-product-pagination{display:flex;justify-content:flex-end;align-items:center;gap:14px;padding-top:14px;font-size:12px}.crm-product-no-photo{display:grid;place-items:center;width:42px;height:42px;border:1px dashed #d7dfe7;border-radius:6px;color:#9ba9b5}.crm-product-dialog{width:min(1000px,94vw);max-height:90dvh;box-sizing:border-box;overflow:auto;border:1px solid #dce2e7;border-radius:12px;padding:22px;color:#19344d;background:#fff;box-shadow:0 24px 80px #15253d40}.crm-product-dialog::backdrop{background:#15253d80}.crm-product-dialog h2{font-size:19px;margin:0 0 18px}.crm-product-dialog>footer{display:flex;justify-content:flex-end;gap:8px;margin-top:18px}.crm-product-tabs{display:flex;flex-wrap:wrap;gap:5px;border-bottom:1px solid #e2e7ed;padding-bottom:10px;margin-bottom:16px;grid-column:1/-1}.crm-product-tabs .btn{padding:8px 12px;min-height:34px;font-size:12px;background:#f6f8fa;border-color:transparent}.crm-product-tabs [aria-selected=true]{background:#e8f0f8;color:#205d91;border-color:#cbddec}.crm-product-detail-main{display:grid;grid-template-columns:210px 1fr;gap:22px}.crm-product-hero-photo{display:grid;place-items:center;min-height:210px;background:#f8fafb;border:1px solid #e2e7ed;border-radius:10px}.crm-product-hero-photo img{width:100%;height:220px;object-fit:contain}.crm-product-info{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 20px;margin:12px 0}.crm-product-info dt{font-size:11px;color:#718294;margin-bottom:4px}.crm-product-info dd{font-size:13px;margin:0;overflow-wrap:anywhere}.crm-product-price-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.crm-product-price-grid>section{border:1px solid #e2e7ed;border-radius:8px;padding:14px}.crm-product-price-grid h3{font-size:14px}.crm-product-price-grid .crm-product-info{grid-template-columns:1fr}.crm-product-column-picker{display:grid;grid-template-columns:repeat(3,1fr);gap:9px;font-size:12px}.crm-product-column-picker label{display:flex;gap:8px;align-items:center}.crm-product-form #utilityFields{display:block}.crm-product-form-panel{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.crm-product-form-panel .full{grid-column:1/-1}.crm-product-form-panel[hidden],.crm-product-dialog [hidden]{display:none!important}.crm-product-form-panel .crm-field-hint{grid-column:1/-1}.crm-customs>input{padding:10px 12px;border:1px solid #dce2e7;border-radius:7px;margin:12px 0;width:min(100%,450px);box-sizing:border-box}.crm-customs details{margin-top:14px;padding:12px;background:#fff8e8;border-radius:7px;font-size:12px}.crm-product-print{overflow:auto}.crm-product-print td,.crm-product-print th{padding:8px;border:1px solid #ddd;text-align:left;font-size:11px}.crm-product-print table{border-collapse:collapse;width:100%}
@media(max-width:1100px){.crm-product-filters{grid-template-columns:repeat(3,minmax(0,1fr))}.crm-product-filters>input{grid-column:1/-1}.crm-products .section-head{display:block}.crm-products .section-head .toolbar{margin-top:12px;flex-wrap:wrap}}
@media(max-width:640px){.crm-product-filters{grid-template-columns:repeat(2,minmax(0,1fr))}.crm-product-filters input,.crm-product-filters select,.crm-product-count select{font-size:16px}.crm-product-form-panel{grid-template-columns:1fr}.crm-product-detail-main{grid-template-columns:1fr}.crm-product-hero-photo{min-height:150px}.crm-product-hero-photo img{height:170px}.crm-product-price-grid{grid-template-columns:1fr}.crm-product-column-picker{grid-template-columns:repeat(2,minmax(0,1fr))}.crm-product-dialog{padding:16px;max-height:94dvh}.crm-product-dialog>footer{flex-wrap:wrap}.crm-product-dialog h2{font-size:17px}.crm-product-count{gap:8px}.crm-product-tabs{position:sticky;top:0;background:white;z-index:1}.crm-product-table td{max-width:190px}.crm-product-form-panel label input,.crm-product-form-panel label select,.crm-product-form-panel textarea{font-size:16px!important}}
.crm-product-location{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;border:1px solid #dce2e7;border-radius:8px;padding:14px}.crm-product-location legend{font-size:12px;font-weight:600}.crm-product-location input{max-width:100%;box-sizing:border-box}@media(max-width:640px){.crm-product-location{grid-template-columns:1fr}}
@media print{body:has(.crm-product-print-dialog[open])>*:not(.crm-product-print-dialog){display:none!important}.crm-product-print-dialog[open]{position:static;width:100%;max-height:none;border:0;padding:0;box-shadow:none;overflow:visible}.crm-product-print-dialog>footer{display:none}.crm-product-print{overflow:visible}}
.crm-products .table-wrap{overflow-x:auto}.crm-product-table{table-layout:fixed;max-width:none}.crm-product-table th,.crm-product-table td{box-sizing:border-box;overflow:hidden}.crm-product-table .crm-product-link,.crm-product-table td small,.crm-product-cell-text{display:block;width:100%;max-width:100%;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.crm-product-table th button{max-width:100%;overflow:hidden;text-overflow:ellipsis}.crm-product-cell-text:focus{white-space:normal;overflow-wrap:anywhere}.crm-product-photo-button{display:inline-grid;place-items:center;padding:0;border:0;background:transparent;cursor:zoom-in;max-width:100%}.crm-product-photo-dialog img{display:block;max-width:100%;max-height:72dvh;width:auto;height:auto;margin:auto;object-fit:contain}.crm-product-column-picker{grid-template-columns:1fr}.crm-product-column-row{display:flex;align-items:center;gap:8px}.crm-product-column-row label{flex:1;min-width:0}.crm-product-column-row .btn{font-size:11px;padding:6px}

@media screen{html body:not(.crm-printing) #content .crm-product-table{height:auto!important;table-layout:fixed}html body:not(.crm-printing) #content .crm-product-table :is(thead,tbody,tr,td){height:auto!important;min-height:0!important}html body:not(.crm-printing) #content .crm-product-table td{padding:9px 10px;vertical-align:top;overflow:hidden;overflow-wrap:anywhere;white-space:normal}html body:not(.crm-printing) #content .crm-product-table th{white-space:normal;overflow-wrap:anywhere;line-height:1.5}html body:not(.crm-printing) #content .crm-product-table th button{white-space:normal}}

.crm-product-no-photo{box-sizing:border-box;font-size:10px;text-align:center;line-height:1.2;padding:3px;overflow-wrap:anywhere}.crm-product-hero-photo .crm-product-no-photo,.crm-product-photo-dialog .crm-product-no-photo{width:180px;height:140px;font-size:14px;margin:auto}.crm-product-url-preview{margin-top:8px}.crm-product-url-preview img{display:block;max-width:160px;max-height:120px;object-fit:contain}

.crm-product-edit-photo{max-width:160px;max-height:120px;object-fit:contain}
