.products-grid{grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:16px;display:grid}.product-card{flex-direction:column;display:flex;overflow:hidden}.product-card .card-body{padding:14px 16px 12px}.product-card h3{font-family:var(--font-display);text-overflow:ellipsis;-webkit-line-clamp:2;-webkit-box-orient:vertical;font-size:15px;font-weight:600;line-height:1.3;display:-webkit-box;overflow:hidden}.product-card .price{color:var(--brand);white-space:nowrap;font-size:13px;font-weight:600}.product-card-photo{aspect-ratio:4/3;background:var(--bg-subtle) center / cover no-repeat;place-items:center;display:grid;position:relative}.product-card-photo .count{position:absolute;bottom:8px;right:8px}.product-form-row{grid-template-columns:1fr 110px 1fr;gap:12px;display:grid}.product-photos{grid-template-columns:repeat(auto-fill,minmax(84px,1fr));gap:8px;display:grid}.product-photo{aspect-ratio:1;border-radius:var(--r-3);background:var(--bg-subtle) center / cover no-repeat;position:relative}.product-photo .n{background:var(--brand);min-width:18px;height:18px;color:var(--ink-on-dark);border-radius:999px;place-items:center;padding:0 5px;font-size:11px;font-weight:700;display:grid;position:absolute;top:4px;left:4px}.product-photo>button{color:#fff;cursor:pointer;background:#0000008c;border:0;border-radius:999px;place-items:center;width:20px;height:20px;display:grid;position:absolute;top:4px;right:4px}.product-photo.add{border:1.5px dashed var(--bg-sand);color:var(--ink-tertiary);cursor:pointer;background:0 0;flex-direction:column;justify-content:center;align-items:center;gap:4px;font-size:11px;display:flex}.product-photo.add:disabled{opacity:.6;cursor:default}.field>span{color:var(--ink-secondary);font-size:12px;font-weight:600}
