/* v0.4 catalog and inventory */
.stock-loading{padding:52px 24px;text-align:center;color:var(--muted,#6e7e74)}
.stock-filters{display:grid;grid-template-columns:minmax(180px,2fr) minmax(150px,1fr) minmax(150px,1fr) auto;gap:14px;align-items:end;margin:24px 0}.stock-filters .field{margin:0}.stock-filters .button{height:47px}
.stock-summary{display:grid;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:16px;margin:0 0 24px}.stock-summary>div{padding:22px 26px;background:#fff;border:1px solid #dfe6db;border-radius:18px;display:flex;flex-direction:column;gap:12px}.stock-summary span{font-size:13px;color:#6e7e74}.stock-summary strong{font-size:32px;line-height:1.2}.stock-summary .stock-attention{background:#fff8ed;border-color:#eedfc5}.stock-attention strong{color:#976229}
.stock-catalog-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}.stock-product-card{background:#fff;border:1px solid #dfe6db;border-radius:20px;overflow:hidden;display:flex;flex-direction:column}.stock-product-image{background:#edf1e5;aspect-ratio:16/10;overflow:hidden;display:grid;place-items:center}.stock-product-image img{width:100%;height:100%;object-fit:contain;display:block}.stock-image-empty{display:flex;flex-direction:column;align-items:center;gap:16px;color:#6e7e74;font-size:12px}.stock-image-empty .product-icon{width:70px;height:70px;font-size:36px}.stock-product-copy{padding:24px;display:flex;flex-direction:column;flex:1}.stock-category-label{font-size:11px;letter-spacing:.06em;text-transform:uppercase;font-weight:800;color:#55764f}.stock-product-copy small{color:#7a887d;font-size:11px}.stock-product-copy h2{font-size:21px;margin:14px 0 10px;line-height:1.35}.stock-description{font-size:13px;line-height:1.7;color:#6e7e74;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;margin:0 0 18px}.stock-product-meta{margin-top:auto;gap:8px;font-size:12px;padding:16px 0;border-top:1px solid #edf0e8}.stock-product-meta strong{font-size:16px}.stock-product-meta strong small{display:block;font-weight:400;text-align:right}.stock-card-actions{display:flex;gap:8px;flex-wrap:wrap}.stock-card-actions .button{flex:1;white-space:nowrap;justify-content:center}.stock-product-detail{display:grid;grid-template-columns:1fr 1fr;gap:28px;align-items:start}.stock-product-image.large{border-radius:15px;max-height:320px;width:100%;aspect-ratio:4/3}.stock-product-description{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.8;color:#65776b;font-size:14px}.stock-list-tools{display:flex;justify-content:space-between;align-items:center;gap:16px;margin:0 0 16px}.stock-list-tools p{margin:0}.stock-row-actions{display:flex;gap:8px;flex-wrap:wrap}.stock-low{display:block;font-size:10px;color:#99601f;font-weight:800;margin-top:4px}.stock-timeline{list-style:none;margin:0;padding:0}.stock-timeline>li{border-bottom:1px solid #e5eade;padding:20px 0}.stock-timeline time,.stock-timeline small{font-size:11px;color:#718075}.stock-timeline p{font-size:13px;line-height:1.6;white-space:pre-wrap;overflow-wrap:anywhere}.stock-event-values{display:flex;flex-wrap:wrap;gap:8px 16px;margin:12px 0;font-size:11px;color:#687b6f}.stock-event-values b{color:#254838}.stock-remove-image{padding-top:20px;border-top:1px solid #e5eade;margin-top:24px}
@media(min-width:1700px){.stock-catalog-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:1250px){.stock-catalog-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.stock-filters{grid-template-columns:1fr 1fr}}
@media(max-width:650px){.stock-catalog-grid{grid-template-columns:1fr}.stock-filters{grid-template-columns:1fr}.stock-summary{grid-template-columns:1fr 1fr;gap:10px}.stock-summary>div{padding:18px}.stock-summary strong{font-size:28px}.stock-product-detail{grid-template-columns:1fr}.stock-list-tools{align-items:stretch;flex-direction:column}.stock-product-copy{padding:20px}}
