/* Product images V1 */
.product-thumb{
  width:42px;
  height:42px;
  flex:0 0 42px;
  border:1px solid var(--line);
  border-radius:10px;
  background:#fff;
  overflow:hidden;
  display:grid;
  place-items:center;
}
.product-thumb img{
  width:100%;
  height:100%;
  object-fit:contain;
  display:block;
}
.product-thumb-empty{
  background:var(--line-soft);
  color:var(--muted-2);
  font-size:16px;
}
.product-name-with-image{
  display:flex;
  align-items:center;
  gap:10px;
  min-width:180px;
}
.product-table-thumb{
  width:40px;
  height:40px;
  flex-basis:40px;
}
.sale-result-thumb{
  width:46px;
  height:46px;
  flex-basis:46px;
}
.cart-product-thumb{
  width:46px;
  height:46px;
  flex-basis:46px;
}
.product-image-editor{
  display:grid;
  grid-template-columns:118px minmax(0,1fr);
  gap:16px;
  align-items:center;
  padding:14px;
  border:1px solid var(--line);
  border-radius:14px;
  background:#fafbfa;
}
.product-image-preview{
  width:118px;
  height:118px;
  border:1px dashed var(--line);
  border-radius:14px;
  background:#fff;
  overflow:hidden;
  display:grid;
  place-items:center;
}
.product-image-preview img{
  width:100%;
  height:100%;
  object-fit:contain;
  display:block;
}
.product-image-placeholder{
  display:grid;
  place-items:center;
  gap:6px;
  color:var(--muted-2);
  font-size:24px;
}
.product-image-placeholder small{
  font-size:11px;
  color:var(--muted);
}
.product-image-editor-copy{
  min-width:0;
}
.product-image-editor-copy>b{
  display:block;
  font-size:14px;
  margin-bottom:3px;
}
.product-image-editor-copy>small{
  display:block;
  color:var(--muted);
  font-size:12px;
  line-height:1.4;
}
.product-image-actions{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin:10px 0 4px;
}
@media(max-width:700px){
  .product-image-editor{
    grid-template-columns:86px minmax(0,1fr);
    gap:12px;
  }
  .product-image-preview{
    width:86px;
    height:86px;
  }
  .cart-product-thumb{
    width:40px;
    height:40px;
    flex-basis:40px;
  }
}
@media(max-width:520px){
  .product-image-editor{
    grid-template-columns:1fr;
  }
  .product-image-preview{
    width:110px;
    height:110px;
  }
}
