/* Migo CRM v8.5.21.96 — Products Variant Grouping + Grid Layout */
body.crm-app #productsView .migo-v96-mode-switch{
  display:inline-flex;align-items:center;gap:2px;padding:2px;border:1px solid #dfe5ec;border-radius:7px;background:#f4f6f8;white-space:nowrap
}
body.crm-app #productsView .migo-v96-mode-switch button{
  min-height:28px;padding:4px 9px;border:0;border-radius:5px;background:transparent;color:#667085;font-size:10px;font-weight:750;cursor:pointer
}
body.crm-app #productsView .migo-v96-mode-switch button.is-active{background:#fff;color:#101828;box-shadow:0 1px 3px rgba(15,23,42,.10)}
body.crm-app #productsView .migo-products-list-head-v3057{
  grid-template-columns:28px 44px minmax(250px,1.45fr) minmax(180px,.8fr) minmax(140px,.55fr) minmax(120px,.5fr) 76px!important;
  column-gap:10px!important
}
body.crm-app #productsView .migo-products-list-head-v3057>span:nth-child(1),
body.crm-app #productsView .migo-products-list-head-v3057>span:nth-child(2){visibility:hidden}
body.crm-app #productsView .migo-products-workspace-v3090[data-products-view-v3057="list"] .migo-products-list{
  display:block!important;width:100%!important;max-width:100%!important;min-width:0!important;overflow:visible!important
}
body.crm-app #productsView .migo-v96-product.migo-v96-list-parent,
body.crm-app #productsView .migo-v96-product.migo-v96-list-all{
  display:grid;grid-template-columns:28px 44px minmax(250px,1.45fr) minmax(180px,.8fr) minmax(140px,.55fr) minmax(120px,.5fr) 76px;
  align-items:center;column-gap:10px;min-width:0;padding:8px 10px;border-bottom:1px solid #edf0f3;background:#fff
}
body.crm-app #productsView .migo-v96-product:hover{background:#fafcff}
body.crm-app #productsView .migo-v96-expand{width:26px;height:26px;display:grid;place-items:center;padding:0;border:1px solid #dfe4eb;border-radius:6px;background:#fff;color:#475467;cursor:pointer}
body.crm-app #productsView .migo-v96-expand.is-empty{border-color:transparent;background:transparent;cursor:default}
body.crm-app #productsView .migo-v96-expand svg{width:13px!important;height:13px!important}
body.crm-app #productsView .migo-v96-media{width:42px;height:42px;display:grid;place-items:center;overflow:hidden;border:1px solid #edf0f3;border-radius:7px;background:#fff;color:#34539a;font-weight:800;cursor:pointer}
body.crm-app #productsView .migo-v96-media img{width:100%;height:100%;padding:3px;box-sizing:border-box;object-fit:contain;object-position:center}
body.crm-app #productsView .migo-v96-main{min-width:0;display:grid;gap:3px}
body.crm-app #productsView .migo-v96-title{display:flex;align-items:center;gap:7px;min-width:0}
body.crm-app #productsView .migo-v96-title>button{min-width:0;padding:0;border:0;background:transparent;color:#101828;font:inherit;font-size:11px;font-weight:800;text-align:left;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;cursor:pointer}
body.crm-app #productsView .migo-v96-title .migo-product-status-v3057{flex:0 0 auto}
body.crm-app #productsView .migo-v96-meta{display:flex;align-items:center;gap:0;min-width:0;color:#98a2b3;font-size:8px;overflow:hidden;white-space:nowrap}
body.crm-app #productsView .migo-v96-meta>*+*::before{content:'·';margin:0 6px;color:#c6ccd5}
body.crm-app #productsView .migo-v96-meta code{font:inherit;color:#667085}
body.crm-app #productsView .migo-v96-main p{margin:0;color:#667085;font-size:8px;line-height:1.35;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
body.crm-app #productsView .migo-v96-variants-cell,
body.crm-app #productsView .migo-v96-price,
body.crm-app #productsView .migo-v96-margin{min-width:0;display:grid;gap:2px}
body.crm-app #productsView .migo-v96-variants-cell>strong,
body.crm-app #productsView .migo-v96-price>strong,
body.crm-app #productsView .migo-v96-margin>strong{font-size:10px;color:#344054;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
body.crm-app #productsView .migo-v96-variants-cell>small,
body.crm-app #productsView .migo-v96-price>small,
body.crm-app #productsView .migo-v96-margin>small{font-size:8px;color:#98a2b3}
body.crm-app #productsView .migo-v96-variant-chips{display:flex;align-items:center;gap:3px;min-width:0;overflow:hidden}
body.crm-app #productsView .migo-v96-variant-chips span,
body.crm-app #productsView .migo-v96-variant-badge{display:inline-flex;align-items:center;min-height:18px;padding:1px 6px;border-radius:999px;background:#eef3f9;color:#475467;font-size:8px;font-weight:750;white-space:nowrap}
body.crm-app #productsView .migo-v96-no-variants{font-size:9px;color:#98a2b3}
body.crm-app #productsView .migo-v96-actions{display:flex;align-items:center;justify-content:flex-end;gap:4px}
body.crm-app #productsView .migo-v96-actions>.migo-ws-icon-button-v3067,
body.crm-app #productsView .migo-v96-actions .migo-product-row-menu-wrap-v3057>.migo-ws-icon-button-v3067{width:30px!important;height:30px!important;min-width:30px!important;padding:0!important}
body.crm-app #productsView .migo-v96-variant-row{
  display:grid;grid-template-columns:82px minmax(190px,1.45fr) minmax(180px,.8fr) minmax(140px,.55fr) minmax(120px,.5fr) 120px;
  align-items:center;column-gap:10px;min-width:0;padding:6px 10px;border-bottom:1px solid #f0f2f5;background:#fafbfd;color:#475467
}
body.crm-app #productsView .migo-v96-variant-indent{height:100%;border-right:1px solid #d9e0e8;position:relative}
body.crm-app #productsView .migo-v96-variant-indent::after{content:'';position:absolute;right:-1px;top:50%;width:18px;border-top:1px solid #d9e0e8}
body.crm-app #productsView .migo-v96-variant-name{display:grid;gap:1px}.migo-v96-variant-name strong{font-size:10px}.migo-v96-variant-name small,.migo-v96-variant-sku,.migo-v96-variant-price small{font-size:8px;color:#98a2b3}
body.crm-app #productsView .migo-v96-variant-price{display:grid;gap:1px}.migo-v96-variant-price strong{font-size:10px;color:#344054}
body.crm-app #productsView .migo-v96-variant-edit{justify-self:end;padding:5px 8px;border:1px solid #dfe4eb;border-radius:6px;background:#fff;color:#475467;font-size:9px;font-weight:700;cursor:pointer}
body.crm-app #productsView .migo-v96-empty{padding:42px 18px;text-align:center;color:#98a2b3}.migo-v96-empty strong,.migo-v96-empty span{display:block}.migo-v96-empty strong{color:#344054;font-size:12px}.migo-v96-empty span{margin-top:4px;font-size:10px}

/* Grid: fluid columns, no dead right-side area, full product image visible. */
body.crm-app #productsView .migo-products-workspace-v3090[data-products-view-v3057="grid"] .migo-products-list{
  display:grid!important;grid-template-columns:repeat(auto-fit,minmax(230px,1fr))!important;gap:10px!important;width:100%!important;max-width:none!important;min-width:0!important;align-items:stretch!important
}
body.crm-app #productsView .migo-products-workspace-v3090[data-products-view-v3057="grid"] .migo-v96-grid-card{
  position:relative;display:grid!important;grid-template-rows:150px minmax(0,1fr) auto!important;min-width:0!important;width:auto!important;max-width:none!important;padding:0!important;border:1px solid #e6eaf0!important;border-radius:9px!important;background:#fff!important;overflow:visible!important;box-shadow:none!important
}
body.crm-app #productsView .migo-v96-grid-media{width:100%;height:150px;display:grid;place-items:center;overflow:hidden;padding:10px;box-sizing:border-box;border-bottom:1px solid #eef1f5;border-radius:9px 9px 0 0;background:#fff;cursor:pointer}
body.crm-app #productsView .migo-v96-grid-media img{width:100%;height:100%;max-width:100%;max-height:100%;object-fit:contain!important;object-position:center!important}
body.crm-app #productsView .migo-v96-grid-media>span{font-size:38px;color:#34539a;font-weight:800}
body.crm-app #productsView .migo-v96-grid-actions{position:absolute;top:7px;right:7px;z-index:3}.migo-v96-grid-actions .migo-v96-actions{padding:2px;border-radius:7px;background:rgba(255,255,255,.92);backdrop-filter:blur(4px)}
body.crm-app #productsView .migo-v96-grid-body{min-width:0;display:grid;align-content:start;gap:5px;padding:10px 11px 8px}
body.crm-app #productsView .migo-v96-grid-body p{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;min-height:28px;margin:0;overflow:hidden;color:#667085;font-size:9px;line-height:1.45}
body.crm-app #productsView .migo-v96-grid-variants{display:grid;gap:4px;padding-top:3px}.migo-v96-grid-variants>strong{font-size:9px;color:#667085}
body.crm-app #productsView .migo-v96-grid-footer{display:grid;grid-template-columns:minmax(0,1fr) minmax(82px,.6fr);gap:0;border-top:1px solid #eef1f5;background:#fbfcfd;border-radius:0 0 9px 9px;overflow:hidden}
body.crm-app #productsView .migo-v96-grid-footer>div{min-width:0;display:grid;gap:2px;padding:8px 10px}.migo-v96-grid-footer>div+div{border-left:1px solid #eef1f5}.migo-v96-grid-footer span,.migo-v96-grid-footer small{font-size:8px;color:#98a2b3}.migo-v96-grid-footer strong{font-size:10px;color:#344054;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}

@media(max-width:1180px){
  body.crm-app #productsView .migo-products-list-head-v3057{display:none!important}
  body.crm-app #productsView .migo-v96-product.migo-v96-list-parent,body.crm-app #productsView .migo-v96-product.migo-v96-list-all{grid-template-columns:28px 42px minmax(220px,1fr) minmax(165px,.8fr) minmax(120px,.55fr) 72px}.migo-v96-margin{display:none!important}
  body.crm-app #productsView .migo-v96-variant-row{grid-template-columns:70px minmax(180px,1fr) minmax(140px,.7fr) minmax(120px,.5fr) 110px}.migo-v96-variant-row>div:nth-of-type(4){display:none}
}
@media(max-width:820px){
  body.crm-app #productsView .migo-v96-mode-switch{order:5;width:100%;justify-content:stretch}.migo-v96-mode-switch button{flex:1}
  body.crm-app #productsView .migo-v96-product.migo-v96-list-parent,body.crm-app #productsView .migo-v96-product.migo-v96-list-all{grid-template-columns:28px 40px minmax(0,1fr) auto;gap:7px;border:1px solid #e6eaf0;border-radius:8px;margin-bottom:7px}.migo-v96-variants-cell{grid-column:3}.migo-v96-price{grid-column:3}.migo-v96-actions{grid-column:4;grid-row:1}.migo-v96-main p{white-space:normal;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}.migo-v96-variant-row{grid-template-columns:40px minmax(0,1fr) auto}.migo-v96-variant-row>*:nth-child(3),.migo-v96-variant-row>*:nth-child(5){display:none}.migo-v96-variant-edit{grid-column:3}
  body.crm-app #productsView .migo-products-workspace-v3090[data-products-view-v3057="grid"] .migo-products-list{grid-template-columns:repeat(auto-fit,minmax(210px,1fr))!important}
}
@media(max-width:520px){body.crm-app #productsView .migo-products-workspace-v3090[data-products-view-v3057="grid"] .migo-products-list{grid-template-columns:1fr!important}}

/* Migo CRM v8.5.21.97 — Product options/editor/grid polish */
body.crm-app #productsView .migo-v96-grid-card{
  min-height:360px!important;
}
body.crm-app #productsView .migo-v96-grid-media{
  height:156px!important;
  padding:12px!important;
  background:#fbfcfd!important;
}
body.crm-app #productsView .migo-v96-grid-media .migo-v97-product-image{
  width:100%!important;
  height:100%!important;
  max-width:100%!important;
  max-height:100%!important;
  object-fit:contain!important;
  object-position:center!important;
}
body.crm-app #productsView .migo-v96-grid-media .migo-v97-media-placeholder{
  display:grid;
  place-items:center;
  width:72px;
  height:72px;
  border-radius:14px;
  background:#f5f7fa;
  color:#34539a;
  font-size:34px!important;
  font-weight:800;
}
body.crm-app #productsView .migo-v96-grid-body{
  min-height:142px;
}
body.crm-app #productsView .migo-v96-grid-variants>strong{
  color:#475467;
}
/* Product editor: make the base 100 ml option explicit and keep one volume badge. */
body.crm-app .migo-product-variant-row-v3112.migo-v97-base-option{
  background:#fbfcfd;
  border-color:#dfe5ec;
}
body.crm-app .migo-v97-base-badge{
  background:#eef7f1!important;
  border-color:#d5eadc!important;
  color:#35624a!important;
}
body.crm-app .migo-v97-base-action{
  align-self:center;
  justify-self:end;
  display:inline-flex;
  align-items:center;
  min-height:30px;
  padding:5px 10px;
  border:1px solid #dfe5ec;
  border-radius:7px;
  background:#f8fafc;
  color:#667085;
  font-size:11px;
  font-weight:700;
  white-space:nowrap;
}

/* Migo CRM v8.5.21.98 — Products canonical table header + row actions */
/* The grouped catalog has two utility columns (expand + media) before Produs.
   Place each semantic heading explicitly so it cannot inherit the legacy
   five-column header order from the original catalog renderer. */
body.crm-app #productsView .migo-products-workspace-v3090[data-products-view-v3057="list"] .migo-products-list-head-v3057{
  display:grid!important;
  grid-template-columns:28px 44px minmax(250px,1.45fr) minmax(180px,.8fr) minmax(140px,.55fr) minmax(120px,.5fr) 76px!important;
  column-gap:10px!important;
  align-items:center!important;
  margin-top:8px!important;
  padding:7px 10px!important;
  border:1px solid #d9e1ec!important;
  border-bottom:0!important;
  border-radius:8px 8px 0 0!important;
  background:#f8fafc!important;
  color:#7c899b!important;
  font-size:9px!important;
  font-weight:780!important;
  text-transform:uppercase!important;
  box-sizing:border-box!important;
}
body.crm-app #productsView .migo-products-list-head-v3057 > .migo-v98-head-product{grid-column:3!important;visibility:visible!important}
body.crm-app #productsView .migo-products-list-head-v3057 > .migo-v98-head-options{grid-column:4!important;visibility:visible!important}
body.crm-app #productsView .migo-products-list-head-v3057 > .migo-v98-head-price{grid-column:5!important;visibility:visible!important}
body.crm-app #productsView .migo-products-list-head-v3057 > .migo-v98-head-margin{grid-column:6!important;visibility:visible!important}
body.crm-app #productsView .migo-products-list-head-v3057 > .migo-v98-head-actions{grid-column:7!important;visibility:visible!important;text-align:right}

/* Exact Migo CRM product row action language: compact 30px edit + more buttons,
   neutral border, no custom pill/backdrop wrapper. */
body.crm-app #productsView .migo-v96-actions.migo-products-row-actions-v3093{
  display:flex!important;
  align-items:center!important;
  justify-content:flex-end!important;
  gap:4px!important;
  min-width:0;
}
body.crm-app #productsView .migo-v96-actions.migo-products-row-actions-v3093 > .migo-ws-icon-button-v3067,
body.crm-app #productsView .migo-v96-actions.migo-products-row-actions-v3093 .migo-product-row-menu-wrap-v3057 > .migo-ws-icon-button-v3067,
body.crm-app #productsView .migo-v98-variant-edit{
  display:grid!important;
  place-items:center!important;
  width:30px!important;
  min-width:30px!important;
  height:30px!important;
  min-height:30px!important;
  padding:0!important;
  border:1px solid #d9e1ec!important;
  border-radius:7px!important;
  background:#fff!important;
  color:#475467!important;
  box-shadow:none!important;
  cursor:pointer!important;
}
body.crm-app #productsView .migo-v96-actions.migo-products-row-actions-v3093 > .migo-ws-icon-button-v3067:hover,
body.crm-app #productsView .migo-v96-actions.migo-products-row-actions-v3093 .migo-product-row-menu-wrap-v3057 > .migo-ws-icon-button-v3067:hover,
body.crm-app #productsView .migo-v98-variant-edit:hover{
  border-color:#cbd5e1!important;
  background:#f8fafc!important;
  color:#101828!important;
}
body.crm-app #productsView .migo-v96-actions.migo-products-row-actions-v3093 .migo-ui-icon,
body.crm-app #productsView .migo-v98-variant-edit .migo-ui-icon{
  width:14px!important;
  height:14px!important;
}
body.crm-app #productsView .migo-v96-grid-actions{
  top:8px!important;
  right:8px!important;
}
body.crm-app #productsView .migo-v96-grid-actions .migo-v96-actions{
  padding:0!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  backdrop-filter:none!important;
  box-shadow:none!important;
}
body.crm-app #productsView .migo-v98-variant-edit{justify-self:end}

@media(max-width:1180px){
  body.crm-app #productsView .migo-products-list-head-v3057{display:none!important}
}

/* Migo CRM v8.5.21.99 — Products Grid: Symbol-style product cards */
/* Product media becomes the dominant, square area of each card so photographs
   are shown fully and consistently instead of feeling cropped/too short. */
body.crm-app #productsView .migo-products-workspace-v3090[data-products-view-v3057="grid"] .migo-products-list{
  grid-template-columns:repeat(auto-fit,minmax(250px,1fr))!important;
  gap:12px!important;
  align-items:stretch!important;
}
body.crm-app #productsView .migo-products-workspace-v3090[data-products-view-v3057="grid"] .migo-v96-grid-card{
  grid-template-rows:auto minmax(0,1fr) auto!important;
  min-height:0!important;
  border:1px solid #e5e9ef!important;
  border-radius:10px!important;
  overflow:hidden!important;
  background:#fff!important;
}
body.crm-app #productsView .migo-products-workspace-v3090[data-products-view-v3057="grid"] .migo-v96-grid-media{
  position:relative!important;
  width:100%!important;
  height:auto!important;
  min-height:220px!important;
  aspect-ratio:1 / 1!important;
  padding:18px!important;
  box-sizing:border-box!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  overflow:hidden!important;
  border-bottom:1px solid #eef1f5!important;
  border-radius:10px 10px 0 0!important;
  background:#fafbfc!important;
}
body.crm-app #productsView .migo-products-workspace-v3090[data-products-view-v3057="grid"] .migo-v96-grid-media img,
body.crm-app #productsView .migo-products-workspace-v3090[data-products-view-v3057="grid"] .migo-v96-grid-media .migo-v97-product-image{
  display:block!important;
  width:auto!important;
  height:auto!important;
  max-width:88%!important;
  max-height:88%!important;
  object-fit:contain!important;
  object-position:center center!important;
  margin:auto!important;
}
body.crm-app #productsView .migo-products-workspace-v3090[data-products-view-v3057="grid"] .migo-v96-grid-media .migo-v97-media-placeholder{
  width:76px!important;
  height:76px!important;
  margin:auto!important;
  border-radius:14px!important;
  background:#f3f5f8!important;
}
body.crm-app #productsView .migo-products-workspace-v3090[data-products-view-v3057="grid"] .migo-v96-grid-actions{
  top:10px!important;
  right:10px!important;
}
body.crm-app #productsView .migo-products-workspace-v3090[data-products-view-v3057="grid"] .migo-v96-grid-body{
  min-height:132px!important;
  padding:12px 12px 10px!important;
  gap:6px!important;
  background:#fff!important;
}
body.crm-app #productsView .migo-products-workspace-v3090[data-products-view-v3057="grid"] .migo-v96-grid-title,
body.crm-app #productsView .migo-products-workspace-v3090[data-products-view-v3057="grid"] .migo-v96-title{
  min-height:20px;
}
body.crm-app #productsView .migo-products-workspace-v3090[data-products-view-v3057="grid"] .migo-v96-grid-body p{
  min-height:30px!important;
  -webkit-line-clamp:2!important;
}
body.crm-app #productsView .migo-products-workspace-v3090[data-products-view-v3057="grid"] .migo-v96-grid-variants{
  margin-top:auto;
  padding-top:4px!important;
}
body.crm-app #productsView .migo-products-workspace-v3090[data-products-view-v3057="grid"] .migo-v96-grid-footer{
  background:#fff!important;
  border-top:1px solid #eef1f5!important;
  border-radius:0!important;
}
body.crm-app #productsView .migo-products-workspace-v3090[data-products-view-v3057="grid"] .migo-v96-grid-footer>div{
  padding:10px 12px!important;
}
body.crm-app #productsView .migo-products-workspace-v3090[data-products-view-v3057="grid"] .migo-v96-grid-footer strong{
  font-size:11px!important;
}
@media(max-width:980px){
  body.crm-app #productsView .migo-products-workspace-v3090[data-products-view-v3057="grid"] .migo-products-list{
    grid-template-columns:repeat(auto-fit,minmax(220px,1fr))!important;
  }
  body.crm-app #productsView .migo-products-workspace-v3090[data-products-view-v3057="grid"] .migo-v96-grid-media{
    min-height:200px!important;
  }
}
@media(max-width:560px){
  body.crm-app #productsView .migo-products-workspace-v3090[data-products-view-v3057="grid"] .migo-products-list{
    grid-template-columns:1fr!important;
  }
  body.crm-app #productsView .migo-products-workspace-v3090[data-products-view-v3057="grid"] .migo-v96-grid-media{
    aspect-ratio:4 / 3!important;
    min-height:230px!important;
  }
}

/* Migo CRM v8.5.21.100 — Product Variants Canonical Editor */
/* Existing options use the same compact row language as the rest of Migo CRM,
   instead of large isolated cards with oversized red action buttons. */
body.crm-app .migo-products-editor-dialog-v3094 .migo-product-variants-box-v3112{
  padding:0!important;
  overflow:hidden!important;
  border:1px solid #d9e1ea!important;
  border-radius:8px!important;
  background:#fff!important;
}
body.crm-app .migo-products-editor-dialog-v3094 .migo-product-variants-head{
  margin:0!important;
  padding:13px 14px 11px!important;
  border-bottom:1px solid #e7ecf2!important;
  background:#fff!important;
}
body.crm-app .migo-products-editor-dialog-v3094 .migo-product-variants-head strong{
  color:#101828!important;
  font-size:13px!important;
  font-weight:750!important;
}
body.crm-app .migo-products-editor-dialog-v3094 .migo-product-variants-head p{
  margin-top:2px!important;
  color:#667085!important;
  font-size:10.5px!important;
}
body.crm-app .migo-products-editor-dialog-v3094 .migo-v100-variant-list-head{
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(150px,auto) 34px;
  gap:10px;
  align-items:center;
  padding:7px 12px;
  border-bottom:1px solid #e7ecf2;
  background:#f8fafc;
  color:#7a8797;
  font-size:9px;
  font-weight:780;
  letter-spacing:.02em;
  text-transform:uppercase;
}
body.crm-app .migo-products-editor-dialog-v3094 .migo-v100-variant-list-head span:nth-child(2){text-align:right}
body.crm-app .migo-products-editor-dialog-v3094 .migo-v100-variant-list-head span:nth-child(3){text-align:center}
body.crm-app .migo-products-editor-dialog-v3094 .migo-product-variants-list-v3112{
  display:grid!important;
  gap:0!important;
  margin:0!important;
  background:#fff!important;
}
body.crm-app .migo-products-editor-dialog-v3094 .migo-product-variant-row-v3112{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) minmax(150px,auto) 34px!important;
  gap:10px!important;
  align-items:center!important;
  margin:0!important;
  padding:10px 12px!important;
  border:0!important;
  border-bottom:1px solid #edf0f4!important;
  border-radius:0!important;
  background:#fff!important;
  box-shadow:none!important;
}
body.crm-app .migo-products-editor-dialog-v3094 .migo-product-variant-row-v3112:last-child{
  border-bottom:0!important;
}
body.crm-app .migo-products-editor-dialog-v3094 .migo-product-variant-row-v3112:hover{
  background:#fbfcfd!important;
}
body.crm-app .migo-products-editor-dialog-v3094 .migo-product-variant-row-v3112.migo-v97-base-option{
  background:#fcfdfd!important;
}
body.crm-app .migo-products-editor-dialog-v3094 .migo-product-variant-main-v3112{
  min-width:0!important;
  display:grid!important;
  gap:3px!important;
}
body.crm-app .migo-products-editor-dialog-v3094 .migo-product-variant-title-v3112{
  display:flex!important;
  align-items:center!important;
  gap:7px!important;
  margin:0!important;
}
body.crm-app .migo-products-editor-dialog-v3094 .migo-product-variant-title-v3112 strong{
  color:#101828!important;
  font-size:12px!important;
  font-weight:750!important;
}
body.crm-app .migo-products-editor-dialog-v3094 .migo-product-variant-main-v3112 > small{
  color:#667085!important;
  font-size:9.5px!important;
  line-height:1.35!important;
}
body.crm-app .migo-products-editor-dialog-v3094 .migo-product-variant-badges-v3112{
  display:flex!important;
  flex-wrap:wrap!important;
  gap:4px!important;
  margin:2px 0 0!important;
}
body.crm-app .migo-products-editor-dialog-v3094 .migo-product-variant-badges-v3112 span{
  display:inline-flex!important;
  align-items:center!important;
  min-height:20px!important;
  padding:2px 6px!important;
  border:1px solid #dbe5f3!important;
  border-radius:5px!important;
  background:#f5f8fc!important;
  color:#345a93!important;
  font-size:9px!important;
  font-weight:700!important;
}
body.crm-app .migo-products-editor-dialog-v3094 .migo-v97-base-badge{
  border-color:#dce9df!important;
  background:#f3f8f4!important;
  color:#35624a!important;
}
body.crm-app .migo-products-editor-dialog-v3094 .migo-product-variant-main-v3112 p.muted{
  margin:3px 0 0!important;
  color:#667085!important;
  font-size:10px!important;
  line-height:1.4!important;
}
body.crm-app .migo-products-editor-dialog-v3094 .migo-product-variant-price-v3112{
  display:grid!important;
  gap:2px!important;
  justify-items:end!important;
  text-align:right!important;
  color:#101828!important;
  font-size:12px!important;
  font-weight:800!important;
  white-space:nowrap!important;
}
body.crm-app .migo-products-editor-dialog-v3094 .migo-product-variant-price-v3112 small{
  color:#667085!important;
  font-size:9.5px!important;
  font-weight:600!important;
}
body.crm-app .migo-products-editor-dialog-v3094 .migo-v100-base-state{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  justify-self:end!important;
  min-width:0!important;
  min-height:24px!important;
  padding:3px 7px!important;
  border:1px solid #dce9df!important;
  border-radius:6px!important;
  background:#f3f8f4!important;
  color:#35624a!important;
  font-size:9px!important;
  font-weight:750!important;
  white-space:nowrap!important;
}
body.crm-app .migo-products-editor-dialog-v3094 .migo-v100-variant-delete{
  width:30px!important;
  min-width:30px!important;
  height:30px!important;
  min-height:30px!important;
  padding:0!important;
  display:grid!important;
  place-items:center!important;
  justify-self:end!important;
  border:1px solid #d9e1ea!important;
  border-radius:6px!important;
  background:#fff!important;
  color:#667085!important;
  box-shadow:none!important;
}
body.crm-app .migo-products-editor-dialog-v3094 .migo-v100-variant-delete:hover{
  border-color:#f0b7b7!important;
  background:#fff5f5!important;
  color:#b42318!important;
}
body.crm-app .migo-products-editor-dialog-v3094 .migo-v100-variant-delete .migo-ui-icon{
  width:14px!important;
  height:14px!important;
}
/* New variation form becomes a canonical subsection of the editor. */
body.crm-app .migo-products-editor-dialog-v3094 .migo-product-variant-form-v3112{
  margin:0!important;
  padding:13px 14px 14px!important;
  border-top:1px solid #e7ecf2!important;
  background:#fbfcfd!important;
}
body.crm-app .migo-products-editor-dialog-v3094 .migo-v100-variant-form-head{
  grid-column:1/-1!important;
  display:flex!important;
  align-items:flex-start!important;
  justify-content:space-between!important;
  gap:12px!important;
  width:100%!important;
  margin:0 0 2px!important;
}
body.crm-app .migo-products-editor-dialog-v3094 .migo-v100-variant-form-head strong,
body.crm-app .migo-products-editor-dialog-v3094 .migo-v100-variant-form-head span{
  display:block!important;
}
body.crm-app .migo-products-editor-dialog-v3094 .migo-v100-variant-form-head strong{
  color:#344054!important;
  font-size:11px!important;
  font-weight:750!important;
}
body.crm-app .migo-products-editor-dialog-v3094 .migo-v100-variant-form-head span{
  margin-top:2px!important;
  color:#667085!important;
  font-size:9.5px!important;
}
body.crm-app .migo-products-editor-dialog-v3094 .migo-product-variant-form-grid-v3112{
  gap:8px 10px!important;
}
body.crm-app .migo-products-editor-dialog-v3094 .migo-product-variant-form-grid-v3112 label,
body.crm-app .migo-products-editor-dialog-v3094 .migo-product-variant-color-grid-v3112 label{
  color:#344054!important;
  font-size:10px!important;
  font-weight:700!important;
}
body.crm-app .migo-products-editor-dialog-v3094 .migo-product-variant-form-grid-v3112 input,
body.crm-app .migo-products-editor-dialog-v3094 .migo-product-variant-form-grid-v3112 select,
body.crm-app .migo-products-editor-dialog-v3094 .migo-product-variant-form-grid-v3112 textarea{
  min-height:38px!important;
  padding:8px 10px!important;
  border:1px solid #cfd8e3!important;
  border-radius:6px!important;
  background:#fff!important;
  color:#101828!important;
  font-size:12px!important;
  box-shadow:none!important;
}
body.crm-app .migo-products-editor-dialog-v3094 .migo-product-variant-form-grid-v3112 textarea{
  min-height:68px!important;
}
body.crm-app .migo-products-editor-dialog-v3094 .migo-product-variant-actions-v3112{
  padding-top:2px!important;
}
body.crm-app .migo-products-editor-dialog-v3094 .migo-product-variant-hint-v3112{
  max-width:760px!important;
  color:#667085!important;
  font-size:9.5px!important;
  line-height:1.4!important;
}
body.crm-app .migo-products-editor-dialog-v3094 .migo-v100-add-variant{
  min-height:32px!important;
  height:32px!important;
  padding:0 11px!important;
  border-radius:6px!important;
  font-size:10px!important;
  font-weight:750!important;
}
@media(max-width:760px){
  body.crm-app .migo-products-editor-dialog-v3094 .migo-v100-variant-list-head{display:none!important}
  body.crm-app .migo-products-editor-dialog-v3094 .migo-product-variant-row-v3112{
    grid-template-columns:minmax(0,1fr) auto!important;
  }
  body.crm-app .migo-products-editor-dialog-v3094 .migo-product-variant-price-v3112{
    grid-column:1/2!important;
    justify-items:start!important;
    text-align:left!important;
  }
  body.crm-app .migo-products-editor-dialog-v3094 .migo-v100-base-state,
  body.crm-app .migo-products-editor-dialog-v3094 .migo-v100-variant-delete{
    grid-column:2/3!important;
    grid-row:1/3!important;
    align-self:center!important;
  }
}


/* Migo CRM v8.5.21.102 — Base product Actions column cleanup */
/* "Produs de bază" is already shown in the option badges. Never let a stale
   action-state badge occupy/overflow the 34px Actions column. */
body.crm-app .migo-products-editor-dialog-v3094 .migo-v97-base-action,
body.crm-app .migo-products-editor-dialog-v3094 .migo-v100-base-state{
  display:none!important;
}


/* Migo CRM v8.5.21.103 — Editable product variations */
body.crm-app .migo-products-editor-dialog-v3094 .migo-v100-variant-list-head,
body.crm-app .migo-products-editor-dialog-v3094 .migo-product-variant-row-v3112{
  grid-template-columns:minmax(0,1fr) minmax(150px,auto) 68px!important;
}
body.crm-app .migo-products-editor-dialog-v3094 .migo-v103-variant-actions{
  width:68px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:flex-end!important;
  gap:4px!important;
  justify-self:end!important;
}
body.crm-app .migo-products-editor-dialog-v3094 .migo-v103-variant-edit{
  width:30px!important;
  min-width:30px!important;
  height:30px!important;
  min-height:30px!important;
  padding:0!important;
  display:grid!important;
  place-items:center!important;
  border:1px solid #d9e1ea!important;
  border-radius:6px!important;
  background:#fff!important;
  color:#667085!important;
  box-shadow:none!important;
}
body.crm-app .migo-products-editor-dialog-v3094 .migo-v103-variant-edit:hover{
  border-color:#b9c9dd!important;
  background:#f7f9fc!important;
  color:#344054!important;
}
body.crm-app .migo-products-editor-dialog-v3094 .migo-v103-variant-edit .migo-ui-icon{
  width:14px!important;
  height:14px!important;
}
body.crm-app .migo-products-editor-dialog-v3094 .migo-product-variant-form-v3112.migo-v103-is-editing{
  background:#f8fafc!important;
}
body.crm-app .migo-products-editor-dialog-v3094 .migo-v103-variant-cancel{
  min-height:32px!important;
  height:32px!important;
  padding:0 11px!important;
  border-radius:6px!important;
  font-size:10px!important;
  font-weight:750!important;
}
@media(max-width:760px){
  body.crm-app .migo-products-editor-dialog-v3094 .migo-product-variant-row-v3112{
    grid-template-columns:minmax(0,1fr) 68px!important;
  }
  body.crm-app .migo-products-editor-dialog-v3094 .migo-v103-variant-actions{
    grid-column:2/3!important;
    grid-row:1/3!important;
    align-self:center!important;
  }
}

/* Migo CRM v8.5.21.104 — Canonical cross-industry variation taxonomy */
body.crm-app #productsView .migo-products-inline-sync-v3098[data-products-sync-status-v3057]{
  display:none!important;
}
body.crm-app #productsView .migo-v104-variant-filter select{
  min-width:132px!important;
}
body.crm-app .migo-products-editor-dialog-v3094 [data-product-variant-form] input[name="option_group"][readonly]{
  background:#f8fafc!important;
  color:#667085!important;
  cursor:default!important;
}
body.crm-app .migo-products-editor-dialog-v3094 [data-product-variant-form] select[name="variant_kind"]{
  min-width:0!important;
}


/* Migo CRM v8.5.21.106 — stable grid tracks.
   auto-fill keeps empty tracks instead of stretching a single search result across the viewport. */
body.crm-app #productsView .migo-products-workspace-v3090[data-products-view-v3057="grid"] .migo-products-list{
  grid-template-columns:repeat(auto-fill,minmax(250px,1fr))!important;
}
@media(max-width:820px){
  body.crm-app #productsView .migo-products-workspace-v3090[data-products-view-v3057="grid"] .migo-products-list{
    grid-template-columns:repeat(auto-fill,minmax(210px,1fr))!important;
  }
}
@media(max-width:520px){
  body.crm-app #productsView .migo-products-workspace-v3090[data-products-view-v3057="grid"] .migo-products-list{
    grid-template-columns:1fr!important;
  }
}


/* Migo CRM v8.5.21.107 — Product search empty-state stability */
/* Base renderer and canonical overlay use the same visual state, so there is no
   icon/button flash while the debounced search renderer takes ownership. */
body.crm-app #productsView .migo-products-empty-v3057,
body.crm-app #productsView .migo-v96-empty.migo-v107-empty{
  grid-column:1 / -1!important;
  width:100%!important;
  min-width:0!important;
  min-height:clamp(240px,42vh,480px)!important;
  box-sizing:border-box!important;
  display:grid!important;
  grid-auto-flow:row!important;
  place-content:center!important;
  justify-items:center!important;
  align-items:center!important;
  gap:6px!important;
  padding:36px 20px!important;
  margin:0!important;
  color:#98a2b3!important;
  text-align:center!important;
}
body.crm-app #productsView .migo-products-empty-v3057 > .migo-ui-icon,
body.crm-app #productsView .migo-v96-empty.migo-v107-empty > .migo-ui-icon{
  display:block!important;
  visibility:visible!important;
  opacity:1!important;
  width:22px!important;
  height:22px!important;
  margin:0 0 3px!important;
  color:#98a2b3!important;
}
body.crm-app #productsView .migo-products-empty-v3057 > strong,
body.crm-app #productsView .migo-v96-empty.migo-v107-empty > strong{
  display:block!important;
  margin:0!important;
  color:#344054!important;
  font-size:13px!important;
  line-height:1.35!important;
}
body.crm-app #productsView .migo-products-empty-v3057 > span:not(.migo-ui-icon),
body.crm-app #productsView .migo-v96-empty.migo-v107-empty > span:not(.migo-ui-icon){
  display:block!important;
  max-width:440px!important;
  margin:0!important;
  color:#98a2b3!important;
  font-size:10.5px!important;
  line-height:1.45!important;
}
/* Do not offer a reset action inside the empty result itself. The global menu
   keeps its Reset filters command for users who explicitly need it. */
body.crm-app #productsView .migo-products-empty-v3057 > [data-products-clear-filters-v3057]{
  display:none!important;
}
/* Keep the search-field magnifier stable as well, regardless of intermediate
   product-list rerenders. */
body.crm-app #productsView .migo-products-search-v3057 > .migo-ui-icon{
  display:block!important;
  visibility:visible!important;
  opacity:1!important;
  flex:0 0 16px!important;
}
@media(max-width:520px){
  body.crm-app #productsView .migo-products-empty-v3057,
  body.crm-app #productsView .migo-v96-empty.migo-v107-empty{
    min-height:260px!important;
    padding:28px 16px!important;
  }
}


/* v8.5.21.108 — Products actions cleanup.
   Defensive CSS prevents legacy toolbar/menu actions from flashing before the
   v108 canonical cleanup removes them from the DOM. */
#productsView [data-create-quote-product],
#productsView [data-create-payment-account-product],
#productsView [data-products-clear-filters-v3057],
#productsView [data-products-seed],
#productsView .migo-products-more-wrap-v3057 {
  display: none !important;
}
