/* Product catalog and picture editor. */
.catalog-summary{display:flex;align-items:center;gap:30px;padding:25px 28px;margin-bottom:28px;border:1px solid #d5e5df;border-radius:20px;background:linear-gradient(110deg,#e5f4ee,#f9fcfa)}
.catalog-summary-intro{display:flex;align-items:center;gap:16px;margin-right:auto}.catalog-summary-icon{display:grid;place-items:center;flex-shrink:0;width:49px;height:49px;border-radius:15px;background:#123e3c;color:#bbf4df;box-shadow:0 8px 18px #123e3c20}.catalog-summary-icon svg{width:25px;height:25px}.catalog-summary-intro strong{font-size:15px;letter-spacing:-.025em}.catalog-summary-intro p{margin:5px 0 0;color:#6c827b;font-size:12px}
.catalog-metric{padding-left:25px;border-left:1px solid #c9dfd5;white-space:nowrap}.catalog-metric strong{display:block;font-size:25px;font-weight:750;letter-spacing:-.04em}.catalog-metric span{color:#6a8079;font-size:11px}.catalog-metric.needs-attention strong{color:#ab6a26}
.catalog-toolbar{display:flex;flex-wrap:wrap;align-items:center;gap:12px;padding:17px;border:1px solid #e1e9e6;background:#fff;border-radius:16px;box-shadow:0 5px 16px #163c3405}.catalog-search{position:relative;flex:1 1 220px}.catalog-search>svg{position:absolute;left:14px;top:13px;width:18px;height:18px;color:#739088}.catalog-search .form-control{padding-left:43px;max-width:none;height:44px;background:#f7faf9}.catalog-toolbar>.form-select{width:185px;height:44px}.catalog-toolbar>.btn{height:44px;font-size:12px}.catalog-view-toggle{display:flex;padding:4px;gap:3px;border:1px solid #e0e9e5;border-radius:11px;background:#f4f8f6}.catalog-view-toggle button{display:grid;place-items:center;width:35px;height:34px;border:0;border-radius:7px;background:transparent;color:#718880}.catalog-view-toggle svg{width:17px;height:17px}.catalog-view-toggle button[aria-pressed="true"]{background:#143e3a;color:#d5fae8;box-shadow:0 3px 7px #143e3a22}.catalog-results{display:flex;justify-content:space-between;padding:20px 3px 16px;color:#7c9189;font-size:11px}.catalog-results #result-count{color:#3c5b50;font-weight:650}
.product-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}.product-card{min-width:0;border:1px solid #e0e9e4;border-radius:19px;background:#fff;overflow:hidden;box-shadow:0 7px 22px #183e3506;transition:transform .2s ease,box-shadow .2s ease}.product-card:hover{transform:translateY(-4px);box-shadow:0 18px 38px #183e3515}.product-card-media{position:relative;padding:10px 10px 0}.product-picture{position:relative;display:grid;place-items:center;width:100%;aspect-ratio:4/3;overflow:hidden;border-radius:12px;background:#f1f4f3}.product-picture img{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;mix-blend-mode:multiply}.product-picture-placeholder{display:flex;flex-direction:column;align-items:center;gap:10px;color:#79948a;font-size:11px}.product-picture-placeholder svg{width:38px;height:38px;stroke-width:1}.product-picture.has-photo .product-picture-placeholder{display:none}.product-picture img[hidden]{display:none}.product-sample-label{position:absolute;right:10px;bottom:9px;color:#5b7068;font-size:9px;padding:3px 7px;background:#ffffffdb;border-radius:5px}.product-category{position:absolute;left:22px;top:22px;border:1px solid #ffffffa8;background:#fffffff0;color:#446354;padding:5px 9px;border-radius:7px;font-size:10px;font-weight:650;box-shadow:0 3px 10px #294e3f08}
.product-card-body{padding:19px 20px 0}.product-card-meta{display:flex;justify-content:space-between;align-items:center;gap:6px}.product-sku{font-size:9px;letter-spacing:.09em;color:#819288;font-weight:650;overflow-wrap:anywhere}.product-stock{display:inline-flex;align-items:center;flex-shrink:0;gap:5px;color:#298563;font-size:10px;font-weight:650;white-space:nowrap}.product-stock>span{width:5px;height:5px;border-radius:50%;background:currentColor}.product-stock.is-low{color:#b07628}.product-card h3{min-height:42px;margin:12px 0 15px;font-size:16px;font-weight:700;letter-spacing:-.03em;line-height:1.4;overflow-wrap:anywhere}.product-card-numbers{display:flex;align-items:center;justify-content:space-between;padding-bottom:18px}.product-card-numbers small{display:block;color:#84958b;font-size:10px;margin-bottom:3px}.product-card-numbers strong{display:block;color:#1e4c3b;font-size:23px;letter-spacing:-.035em;line-height:1.2}.product-card-numbers .product-quantity{text-align:right}.product-quantity strong{font-size:20px;color:#38564b}.product-quantity small{margin:3px 0 0}.product-card-footer{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:10px;padding:13px 0;border-top:1px solid #edf1ee}.product-card-footer>span{font-size:10px;color:#819389}.product-card-footer>div{display:flex;gap:4px}.product-card-footer .btn{padding:5px 8px;min-height:29px;font-size:10px;border-radius:7px}.product-card-footer .product-archive{background:none;border-color:transparent;color:#87978d}.product-card-footer .product-archive:hover{color:#a64a3f;background:#fff3ee}
.product-table{margin:0;background:#fff}.product-table-name{display:flex;align-items:center;gap:13px;min-width:240px}.product-thumbnail{width:65px;height:60px;aspect-ratio:auto;flex-shrink:0;border:1px solid #e8eeea;border-radius:10px}.product-thumbnail .product-sample-label,.product-thumbnail .product-picture-placeholder span{display:none}.product-thumbnail .product-picture-placeholder svg{width:25px;height:25px}.product-table-price{font-weight:700;white-space:nowrap}#catalog-items>.table-responsive{border:1px solid #e0e9e4;border-radius:16px}
.product-image-editor{display:grid;grid-template-columns:148px minmax(0,1fr);gap:22px;align-items:center;margin-top:12px;padding:18px;border:1px dashed #bdd8ca;border-radius:14px;background:#f6fbf8}.product-image-editor .product-picture{aspect-ratio:1;border:1px solid #e0eae3;background:#edf3ee}.product-image-fields .form-label{margin:0 0 4px;font-weight:750;font-size:13px}.product-image-fields p{margin:0 0 11px;font-size:11px;color:#779184}.product-image-fields input[type="file"]{max-width:100%;font-size:11px;padding:8px;background:#fff}.product-image-fields small{display:block;margin-top:8px;font-size:10px;color:#7c9185}.product-remove-image{display:flex;gap:7px;align-items:center;margin-top:12px;font-size:11px;color:#64796a}.product-remove-image input{accent-color:#087a69}#product-image-selection{display:block;margin-top:8px;font-size:11px;color:#356f53}[data-search][hidden],#catalog-no-results[hidden]{display:none!important}
@media(min-width:1600px){.product-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:1200px){.product-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.catalog-summary{flex-wrap:wrap;gap:22px}.catalog-summary-intro{flex-basis:100%}.catalog-metric{flex:1}.catalog-metric:nth-child(2){border-left:0;padding-left:0}}
@media(max-width:767px){.catalog-summary{padding:21px;gap:18px}.catalog-summary-intro{align-items:flex-start}.catalog-summary-intro strong{font-size:14px}.catalog-metric{padding-left:15px}.catalog-metric strong{font-size:22px}.catalog-metric:last-child{flex-basis:100%;padding:14px 0 0;border-left:0;border-top:1px solid #c9dfd5}.catalog-toolbar{gap:10px;padding:13px}.catalog-search{flex-basis:100%}.catalog-toolbar>.form-select{flex:1;min-width:140px}.catalog-toolbar>.btn{flex:1;white-space:nowrap}.product-grid{gap:16px}.product-card-body{padding:16px 16px 0}}
@media(max-width:540px){.product-grid{grid-template-columns:1fr}.product-card-media .product-picture{aspect-ratio:3/2}.product-card h3{min-height:0;font-size:17px}.product-card-footer .btn{font-size:11px;padding:6px 10px}.product-image-editor{grid-template-columns:1fr;padding:15px;gap:15px}#product-image-preview{width:135px;margin:auto}}
@media(prefers-reduced-motion:reduce){.product-card{transition:none}}
