/**
 * VIEW: STOCK
 * Root PHP: .ec-view--stock / [data-ec-view="stock"]
 * Arquivo exclusivo da view stock.
 */
.ec-front-nav[data-target="estoque"]::before{-webkit-mask-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M4%207l8-4%208%204-8%204-8-4z%22/%3E%3Cpath%20d%3D%22M4%2012l8%204%208-4%22/%3E%3Cpath%20d%3D%22M4%2017l8%204%208-4%22/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M4%207l8-4%208%204-8%204-8-4z%22/%3E%3Cpath%20d%3D%22M4%2012l8%204%208-4%22/%3E%3Cpath%20d%3D%22M4%2017l8%204%208-4%22/%3E%3C/svg%3E");}

/* v3.17.2 - modal Adicionar Estoque */
.ec-modal-form--stock-entry .ec-stock-entry-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:18px 22px;align-items:start}
.ec-modal-form--stock-entry .ec-stock-entry-field{display:flex;flex-direction:column;gap:8px;margin:0;min-width:0}
.ec-modal-form--stock-entry .ec-stock-entry-field>span{font-size:12px;font-weight:800;letter-spacing:.045em;text-transform:uppercase}
.ec-modal-form--stock-entry .ec-stock-entry-full,.ec-modal-form--stock-entry .ec-stock-entry-product{grid-column:1/-1}
.ec-modal-form--stock-entry input,.ec-modal-form--stock-entry textarea{width:100%;box-sizing:border-box}
.ec-modal-form--stock-entry textarea{min-height:96px;resize:vertical}
.ec-modal-form--stock-entry input[readonly]{background:#f3f3f3;cursor:not-allowed}
.ec-modal-form--stock-entry .ec-stock-entry-actions{display:flex;justify-content:center;align-items:center;margin-top:24px}
.ec-modal-form--stock-entry .ec-stock-entry-submit{margin:0 auto;min-width:220px}
.ec-modal-form--stock-entry .ec-stock-entry-submit::before{display:none!important;content:none!important}
@media(max-width:720px){.ec-modal-form--stock-entry .ec-stock-entry-grid{grid-template-columns:1fr}.ec-modal-form--stock-entry .ec-stock-entry-full,.ec-modal-form--stock-entry .ec-stock-entry-product{grid-column:auto}}


/* v3.17.4 - modal Transferir Estoque */
.ec-modal-form--stock-transfer .ec-stock-transfer-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:18px 22px;align-items:start}
.ec-modal-form--stock-transfer .ec-stock-transfer-field{display:flex;flex-direction:column;gap:8px;margin:0;min-width:0}
.ec-modal-form--stock-transfer .ec-stock-transfer-field>span{font-size:12px;font-weight:800;letter-spacing:.045em;text-transform:uppercase}
.ec-modal-form--stock-transfer .ec-stock-transfer-product,.ec-modal-form--stock-transfer .ec-stock-transfer-full{grid-column:1/-1}
.ec-modal-form--stock-transfer .ec-stock-transfer-quantity-row{grid-column:1/-1;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:18px 22px}

.ec-modal-form--stock-transfer .ec-stock-transfer-quantity-row.is-locked input{background:#f1f1f1!important;border-color:#d8d8d8!important;color:#9a9a9a!important;cursor:not-allowed!important;box-shadow:none!important;pointer-events:none;opacity:1}
.ec-modal-form--stock-transfer .ec-stock-transfer-quantity-row:not(.is-locked) .ec-transfer-available{background:#fff;color:inherit;cursor:default}
.ec-modal-form--stock-transfer .ec-stock-transfer-quantity-row:not(.is-locked) .ec-transfer-quantity:not(:disabled){background:#fff;color:inherit;cursor:text;pointer-events:auto}
.ec-modal-form--stock-transfer input,.ec-modal-form--stock-transfer select,.ec-modal-form--stock-transfer textarea{width:100%;box-sizing:border-box}
.ec-modal-form--stock-transfer textarea{min-height:96px;resize:vertical}
.ec-modal-form--stock-transfer input[readonly]{background:#f3f3f3;cursor:not-allowed}
.ec-modal-form--stock-transfer .ec-stock-transfer-actions{display:flex;justify-content:center;align-items:center;margin-top:24px}
.ec-modal-form--stock-transfer .ec-stock-transfer-submit{margin:0 auto;min-width:220px}
.ec-modal-form--stock-transfer .ec-stock-transfer-submit::before{display:none!important;content:none!important}
@media(max-width:720px){.ec-modal-form--stock-transfer .ec-stock-transfer-grid,.ec-modal-form--stock-transfer .ec-stock-transfer-quantity-row{grid-template-columns:1fr}.ec-modal-form--stock-transfer .ec-stock-transfer-product,.ec-modal-form--stock-transfer .ec-stock-transfer-full{grid-column:auto}}

/* v3.17.9 - alinhamento e formato da coluna MÍNIMO */
.ec-stock-table th.ec-stock-qty-col,
.ec-stock-table td.ec-stock-qty-col,
.ec-stock-table th.ec-stock-min-col,
.ec-stock-table td.ec-stock-min-col,
.ec-stock-table th.ec-stock-cost-col,
.ec-stock-table td.ec-stock-cost-col {
    text-align: center !important;
    vertical-align: middle !important;
}

.ec-stock-table th.ec-stock-min-col,
.ec-stock-table td.ec-stock-min-col {
    width: 110px !important;
    min-width: 110px !important;
    padding-left: 12px !important;
    padding-right: 12px !important;
    font-variant-numeric: tabular-nums;
}


/* v3.18.0 - filtros por depósito e categoria */
/* v3.18.1 - proporção dos filtros: depósito 22%, categoria 22%, busca 56% */
.ec-stock-filterbar .ec-stock-filter-controls{
    display:grid;
    grid-template-columns:minmax(0,22fr) minmax(0,22fr) minmax(0,56fr);
    gap:10px;
    align-items:center;
}
.ec-stock-filterbar .ec-stock-filter-select{width:100%;height:38px;border:1px solid var(--ec-border,#d9d9d9);border-radius:var(--ec-input-radius,6px);background:#fff;padding:0 34px 0 12px;font-size:13px;box-sizing:border-box}
.ec-stock-filterbar .ec-stock-filter-search{display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:10px;align-items:center;min-width:0}
.ec-stock-filterbar .ec-stock-filter-search .ec-list-filter-input{width:100%;min-width:0}
@media(max-width:900px){
    .ec-stock-filterbar .ec-stock-filter-controls{grid-template-columns:1fr 1fr}
    .ec-stock-filterbar .ec-stock-filter-search{grid-column:1/-1}
}
@media(max-width:620px){
    .ec-stock-filterbar .ec-stock-filter-controls{grid-template-columns:1fr}
    .ec-stock-filterbar .ec-stock-filter-search{grid-column:auto;grid-template-columns:minmax(0,1fr) auto auto}
}

/* v3.18.2 - correção definitiva da proporção e remoção da rolagem horizontal */
.ec-front-filterbar.ec-stock-filterbar{
    overflow-x:hidden !important;
}
.ec-stock-filterbar .ec-filter-input-wrap.ec-stock-filter-controls{
    display:grid !important;
    grid-template-columns:minmax(0,22fr) minmax(0,22fr) minmax(0,56fr) !important;
    gap:10px !important;
    width:100% !important;
    min-width:0 !important;
    align-items:center !important;
}
.ec-stock-filterbar .ec-stock-filter-controls > *{
    min-width:0 !important;
    max-width:100% !important;
    box-sizing:border-box !important;
}
.ec-stock-filterbar .ec-stock-filter-search{
    display:grid !important;
    grid-template-columns:minmax(0,1fr) 42px auto !important;
    gap:10px !important;
    width:100% !important;
    min-width:0 !important;
}
.ec-stock-filterbar .ec-list-filter-input,
.ec-stock-filterbar .ec-stock-filter-select{
    width:100% !important;
    min-width:0 !important;
    height:38px !important;
    box-sizing:border-box !important;
}
.ec-stock-filterbar .ec-list-filter-button{
    width:42px !important;
    min-width:42px !important;
    height:38px !important;
}
.ec-stock-filterbar .ec-list-filter-clear{
    height:38px !important;
    white-space:nowrap !important;
}
@media(max-width:900px){
    .ec-stock-filterbar .ec-filter-input-wrap.ec-stock-filter-controls{
        grid-template-columns:minmax(0,1fr) minmax(0,1fr) !important;
    }
    .ec-stock-filterbar .ec-stock-filter-search{grid-column:1/-1 !important;}
}
@media(max-width:620px){
    .ec-stock-filterbar .ec-filter-input-wrap.ec-stock-filter-controls{
        grid-template-columns:minmax(0,1fr) !important;
    }
    .ec-stock-filterbar .ec-stock-filter-search{grid-column:auto !important;}
}

/* v3.21.1 - Planilha de transferências no padrão da aba Gerenciar */
.ec-view--transfer-approvals .ec-transfer-filterbar{display:grid;grid-template-columns:20% 20% 20% minmax(0,40%);gap:10px;margin:0 0 14px}
.ec-view--transfer-approvals .ec-transfer-filterbar select,.ec-view--transfer-approvals .ec-transfer-filterbar input{height:38px;min-width:0;border:1px solid #d9d9d9;background:#fff;padding:0 12px;font-size:12px;font-weight:700;box-sizing:border-box}
.ec-view--transfer-approvals .ec-transfer-approval-wrap{overflow:auto;max-height:610px;border:1px solid #e5e5e5;background:#fff}
.ec-view--transfer-approvals .ec-transfer-approval-table{width:100%;border-collapse:collapse;min-width:1120px}
.ec-view--transfer-approvals .ec-transfer-approval-table thead th{position:sticky;top:0;z-index:2;background:#111;color:#fff;font-size:12px;text-transform:uppercase;letter-spacing:.04em;border-bottom:3px solid var(--ec-accent,#fd342f);padding:13px 12px;text-align:left}
.ec-view--transfer-approvals .ec-transfer-approval-table td{padding:11px 12px;border-bottom:1px solid #ededed;font-size:13px;vertical-align:middle}
.ec-view--transfer-approvals .ec-transfer-approval-table tbody tr:hover{background:#fafafa}
.ec-view--transfer-approvals .ec-transfer-product-cell{display:flex;align-items:center;gap:10px;min-width:235px}
.ec-view--transfer-approvals .ec-transfer-product-thumb{width:42px;height:42px;flex:0 0 42px;border:1px solid #e3e3e3;background:#f7f7f7;display:flex;align-items:center;justify-content:center;overflow:hidden}
.ec-view--transfer-approvals .ec-transfer-product-thumb img{width:100%;height:100%;object-fit:cover}
.ec-view--transfer-approvals .ec-transfer-product-cell strong{display:block;font-size:13px;text-transform:uppercase}
.ec-view--transfer-approvals .ec-transfer-product-cell small{display:block;color:#777;margin-top:3px;font-size:11px;text-transform:uppercase}
.ec-view--transfer-approvals .ec-transfer-qty{font-weight:900}
.ec-view--transfer-approvals .ec-transfer-status{display:inline-flex;padding:5px 9px;border-radius:999px;font-size:11px;font-weight:900}
.ec-view--transfer-approvals .ec-transfer-status--pending{background:#fff3c4;color:#7c6200}.ec-view--transfer-approvals .ec-transfer-status--approved{background:#dcf8dc;color:#176a17}.ec-view--transfer-approvals .ec-transfer-status--rejected{background:#ffe0dd;color:#9d2017}
.ec-view--transfer-approvals .ec-transfer-actions{display:flex;gap:7px;white-space:nowrap}.ec-view--transfer-approvals .ec-transfer-decision{border:0;color:#fff;font-size:11px;font-weight:900;padding:8px 11px;cursor:pointer}.ec-view--transfer-approvals .ec-transfer-approve{background:#3dc302}.ec-view--transfer-approvals .ec-transfer-approve:hover{background:#33a203}.ec-view--transfer-approvals .ec-transfer-reject{background:#fd342f}.ec-view--transfer-approvals .ec-transfer-reject:hover{background:#c6261d}
.ec-view--transfer-approvals .ec-transfer-pagination{display:flex;justify-content:flex-end;gap:6px;padding:14px 0 0}
.ec-view--transfer-approvals .ec-transfer-pagination button{min-width:34px;height:34px;border:1px solid #ddd;background:#fff;font-size:12px;font-weight:800;cursor:pointer}
.ec-view--transfer-approvals .ec-transfer-pagination button.is-active{background:#111;color:#fff;border-color:#111}
.ec-view--transfer-approvals .ec-transfer-approval-empty,.ec-view--transfer-approvals .ec-transfer-filter-empty{padding:30px;text-align:center;color:#777;font-weight:700}
@media(max-width:900px){.ec-view--transfer-approvals .ec-transfer-filterbar{grid-template-columns:1fr 1fr}.ec-view--transfer-approvals .ec-transfer-filter-search{grid-column:1/-1}}
@media(max-width:620px){.ec-view--transfer-approvals .ec-transfer-filterbar{grid-template-columns:1fr}.ec-view--transfer-approvals .ec-transfer-filter-search{grid-column:auto}}


/* v3.21.3 - transferências pendentes no sino de notificações existente */
.ec-front-notification-btn{
    position:relative;
}
.ec-front-notification-badge{
    position:absolute;
    top:-4px;
    right:-5px;
    min-width:18px;
    height:18px;
    padding:0 4px;
    border-radius:999px;
    background:#ff4b4b;
    color:#fff;
    border:2px solid var(--ec-header-bg,#111);
    box-shadow:0 2px 6px rgba(0,0,0,.28);
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:10px;
    font-weight:800;
    line-height:1;
    pointer-events:none;
}


/* v3.21.5 - botão de impressão no padrão visual do botão MAPA */
.ec-view--transfer-approvals .ec-transfer-print{
    width:38px;
    height:38px;
    min-width:38px;
    padding:0;
    border:1px solid var(--ec-map-button-bg,#0060ff) !important;
    background:var(--ec-map-button-bg,#0060ff) !important;
    color:#fff !important;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    cursor:pointer;
    line-height:1;
    box-sizing:border-box;
    transition:background .18s ease,border-color .18s ease,transform .18s ease;
}
.ec-view--transfer-approvals .ec-transfer-print:hover,
.ec-view--transfer-approvals .ec-transfer-print:focus-visible{
    background:var(--ec-map-button-hover,#0151d5) !important;
    border-color:var(--ec-map-button-hover,#0151d5) !important;
    color:#fff !important;
}
.ec-view--transfer-approvals .ec-transfer-print:active{transform:translateY(1px)}
.ec-view--transfer-approvals .ec-transfer-print-icon{width:17px;height:17px;display:block;pointer-events:none;color:#fff}


/* v3.21.6 - ícone de impressão SVG branco e estável */
.ec-view--transfer-approvals .ec-transfer-print{font-size:0 !important;}
.ec-view--transfer-approvals .ec-transfer-print-icon{width:18px !important;height:18px !important;display:block !important;color:#fff !important;stroke:#fff !important;fill:none;}
.ec-view--transfer-approvals .ec-transfer-print-icon circle{fill:#fff !important;stroke:none !important;}
.ec-view--transfer-approvals .ec-transfer-print .screen-reader-text{position:absolute !important;width:1px !important;height:1px !important;padding:0 !important;margin:-1px !important;overflow:hidden !important;clip:rect(0,0,0,0) !important;white-space:nowrap !important;border:0 !important;}


/* v3.21.7 - impressora renderizada como background SVG; imune a Font Awesome e pseudo-elementos do tema */
.ec-view--transfer-approvals button.ec-transfer-print,
.ec-view--transfer-approvals button.ec-transfer-print:hover,
.ec-view--transfer-approvals button.ec-transfer-print:focus,
.ec-view--transfer-approvals button.ec-transfer-print:focus-visible,
.ec-view--transfer-approvals button.ec-transfer-print:active{
    font-size:0 !important;
    text-indent:-9999px !important;
    overflow:hidden !important;
    background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 8V3h10v5'/%3E%3Cpath d='M6 17H3v-7a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2v7h-3'/%3E%3Crect x='7' y='14' width='10' height='7' rx='1'/%3E%3C/g%3E%3Ccircle cx='18' cy='11' r='1' fill='%23fff'/%3E%3C/svg%3E") !important;
    background-repeat:no-repeat !important;
    background-position:center !important;
    background-size:18px 18px !important;
}
.ec-view--transfer-approvals button.ec-transfer-print{
    background-color:var(--ec-map-button-bg,#0060ff) !important;
}
.ec-view--transfer-approvals button.ec-transfer-print:hover,
.ec-view--transfer-approvals button.ec-transfer-print:focus-visible{
    background-color:var(--ec-map-button-hover,#0151d5) !important;
}
.ec-view--transfer-approvals button.ec-transfer-print::before,
.ec-view--transfer-approvals button.ec-transfer-print::after{
    content:none !important;
    display:none !important;
}
.ec-view--transfer-approvals button.ec-transfer-print > *{
    display:none !important;
}


/* v3.21.8 - visualizar transferência */
.ec-view--transfer-approvals a.ec-transfer-view{
  border:0;
  color:#fff;
  font-size:10px;
  font-weight:900;
  width:38px;
  height:38px;
  min-width:38px;
  padding:0;
  border-radius:3px;
  cursor:pointer;
  background:#c2a004;
  border-color:#c2a004;
  display:inline-flex;
  text-decoration:none !important;
  line-height:1 !important;
  align-items:center;
  justify-content:center;
}
.ec-view--transfer-approvals a.ec-transfer-view:hover,.ec-view--transfer-approvals a.ec-transfer-view:focus-visible{background:#af9104;border-color:#af9104}
.ec-view--transfer-approvals a.ec-transfer-view::before,.ec-view--transfer-approvals a.ec-transfer-view::after{content:none!important;display:none!important}
.ec-view--transfer-approvals a.ec-transfer-view .ec-transfer-view-icon{width:18px;height:18px;display:block;fill:none;stroke:#fff;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;pointer-events:none}
.ec-view--transfer-approvals a.ec-transfer-view>i,.ec-view--transfer-approvals a.ec-transfer-view>span{display:none!important}
.ec-transfer-view-modal{position:fixed;inset:0;z-index:100000;background:rgba(0,0,0,.58);backdrop-filter:blur(5px);display:none;align-items:center;justify-content:center;padding:24px}
.ec-transfer-view-modal.is-open{display:flex}
.ec-transfer-view-dialog{width:min(820px,100%);max-height:90vh;overflow:auto;background:#fff;box-shadow:0 20px 60px rgba(0,0,0,.35)}
.ec-transfer-view-header{height:58px;background:#111;color:#fff;border-bottom:3px solid var(--ec-accent,#fd342f);display:flex;align-items:center;justify-content:space-between;padding:0 20px}
.ec-transfer-view-header strong{font-size:15px;letter-spacing:.04em}
.ec-transfer-view-header button{width:36px;height:36px;border:0;background:#fd342f;color:#fff;font-size:24px;line-height:1;cursor:pointer}
.ec-transfer-view-header button:hover{background:#c6261d}
.ec-transfer-view-body{padding:24px}
.ec-transfer-view-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-bottom:24px}
.ec-transfer-view-grid>div{border:1px solid #e2e2e2;background:#fafafa;padding:12px}
.ec-transfer-view-grid small{display:block;color:#777;font-size:10px;font-weight:800;margin-bottom:5px}
.ec-transfer-view-grid strong{display:block;font-size:13px;text-transform:uppercase}
.ec-transfer-view-body h3{margin:0 0 10px;font-size:13px}
.ec-transfer-view-table-wrap{overflow:auto}
.ec-transfer-view-table{width:100%;border-collapse:collapse;min-width:560px}
.ec-transfer-view-table th{background:#111;color:#fff;border-bottom:3px solid var(--ec-accent,#fd342f);padding:11px;text-align:left;font-size:11px}
.ec-transfer-view-table td{border:1px solid #e1e1e1;padding:12px;font-size:13px}
.ec-transfer-view-footer{display:flex;justify-content:flex-end;padding:0 24px 24px}
.ec-transfer-view-footer button{height:38px;border:0;background:#777;color:#fff;padding:0 20px;font-weight:900;cursor:pointer}
.ec-transfer-view-footer button:hover{background:#555}
html.ec-transfer-modal-open{overflow:hidden}
@media(max-width:620px){.ec-transfer-view-grid{grid-template-columns:1fr}.ec-transfer-view-modal{padding:10px}.ec-transfer-view-body{padding:16px}.ec-transfer-view-footer{padding:0 16px 16px}}


/* v3.22.4 - lista dinâmica de produtos */
.ec-dynamic-products{grid-column:1/-1;display:flex;flex-direction:column;gap:14px;min-width:0}
.ec-dynamic-product-row{position:relative;display:grid;gap:14px 18px;padding:16px;border:1px solid #dedede;border-radius:8px;background:#fafafa;align-items:end}
.ec-stock-entry-product-row{grid-template-columns:minmax(0,1fr) minmax(150px,220px) auto}
.ec-stock-transfer-product-row{grid-template-columns:minmax(0,1.4fr) minmax(140px,.55fr) minmax(170px,.65fr) auto}
.ec-dynamic-product-row .ec-stock-entry-product,
.ec-dynamic-product-row .ec-stock-transfer-product{grid-column:auto!important}
.ec-add-product-wrap{grid-column:1/-1;display:flex;justify-content:flex-start;margin-top:-4px}
.ec-add-product,.ec-remove-product{height:38px;border:0;border-radius:6px;font-size:12px;font-weight:800;letter-spacing:.03em;cursor:pointer;text-transform:uppercase}
.ec-add-product{min-width:130px;padding:0 18px;background:#fd342f;color:#fff}
.ec-add-product:hover{background:#c6261d;color:#fff}
.ec-remove-product{padding:0 14px;background:#e7e7e7;color:#222}
.ec-remove-product:hover{background:#d3d3d3;color:#111}
.ec-remove-product[hidden]{display:none!important}
.ec-stock-transfer-product-row.is-locked .ec-transfer-available,
.ec-stock-transfer-product-row.is-locked .ec-transfer-quantity{background:#f1f1f1!important;border-color:#d8d8d8!important;color:#9a9a9a!important;cursor:not-allowed!important;box-shadow:none!important;opacity:1}
.ec-stock-transfer-product-row:not(.is-locked) .ec-transfer-available{background:#fff;color:inherit}
.ec-stock-transfer-product-row:not(.is-locked) .ec-transfer-quantity:not(:disabled){background:#fff;color:inherit;cursor:text}
@media(max-width:900px){
  .ec-stock-transfer-product-row{grid-template-columns:minmax(0,1fr) minmax(130px,.5fr) minmax(150px,.6fr)}
  .ec-stock-transfer-product-row .ec-remove-product{grid-column:1/-1;justify-self:end}
}
@media(max-width:720px){
  .ec-stock-entry-product-row,.ec-stock-transfer-product-row{grid-template-columns:1fr}
  .ec-dynamic-product-row .ec-remove-product{grid-column:auto;justify-self:stretch}
}


/* v3.22.5 - Linhas dinâmicas alinhadas em 70% / 20% / 10% */
.ec-dynamic-product-row{
  grid-template-columns:minmax(0,7fr) minmax(130px,2fr) minmax(42px,1fr)!important;
  gap:0!important;
  padding:0!important;
  border:1px solid #dedede!important;
  border-radius:0!important;
  background:#fff!important;
  align-items:stretch!important;
  overflow:visible;
}
.ec-dynamic-product-row > .ec-stock-entry-product,
.ec-dynamic-product-row > .ec-stock-entry-quantity,
.ec-dynamic-product-row > .ec-stock-transfer-product,
.ec-dynamic-product-row > .ec-transfer-quantity-group{
  min-width:0;
  margin:0!important;
  padding:10px!important;
  box-sizing:border-box;
}
.ec-dynamic-product-row > .ec-stock-entry-quantity,
.ec-dynamic-product-row > .ec-transfer-quantity-group{border-left:1px solid #dedede}
.ec-dynamic-product-row input,.ec-dynamic-product-row select{width:100%!important;box-sizing:border-box!important}
.ec-transfer-quantity-group{display:grid;grid-template-columns:1fr 1fr;gap:8px;align-items:end}
.ec-transfer-quantity-group .ec-stock-transfer-field{min-width:0;margin:0!important}
.ec-transfer-quantity-group .ec-stock-transfer-field span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ec-remove-product{
  align-self:stretch!important;justify-self:stretch!important;width:100%!important;min-width:42px!important;
  height:auto!important;min-height:100%!important;margin:0!important;padding:0!important;border:0!important;
  border-left:1px solid #c6261d!important;border-radius:0!important;background:#fd342f!important;color:#fff!important;
  font-size:18px!important;font-weight:900!important;line-height:1!important;display:flex;align-items:center;justify-content:center;
}
.ec-remove-product:hover,.ec-remove-product:focus{background:#c6261d!important;color:#fff!important}
.ec-remove-product[hidden]{display:none!important}
@media (max-width:900px){
  .ec-dynamic-product-row{grid-template-columns:minmax(0,7fr) minmax(115px,2fr) minmax(42px,1fr)!important}
  .ec-transfer-quantity-group{grid-template-columns:1fr;gap:6px}
}
@media (max-width:620px){
  .ec-dynamic-product-row{grid-template-columns:minmax(0,1fr) 96px 42px!important}
  .ec-dynamic-product-row > .ec-stock-entry-product,.ec-dynamic-product-row > .ec-stock-entry-quantity,
  .ec-dynamic-product-row > .ec-stock-transfer-product,.ec-dynamic-product-row > .ec-transfer-quantity-group{padding:8px!important}
  .ec-dynamic-product-row label > span{font-size:10px!important}
}

/* v3.22.7 - espaçamento compacto entre produtos */
.ec-dynamic-product-row{column-gap:2px!important;row-gap:2px!important}
.ec-dynamic-product-row>.ec-remove-product{width:38px!important;min-width:38px!important;height:38px!important;justify-self:center!important;padding:0!important;border-radius:0!important}

/* v3.22.7 - ajuste de altura do remover e largura dos modais de estoque */
.ec-modal-form--stock-entry .ec-dynamic-product-row > .ec-remove-product{
  width:46px!important;
  min-width:46px!important;
  height:46px!important;
  min-height:46px!important;
  align-self:center!important;
  justify-self:center!important;
}


/* v3.22.8 - lista compacta com cabeçalho único nos modais de estoque */
.ec-dynamic-products{gap:2px!important}
.ec-dynamic-products-header{display:grid;align-items:center;background:#111;color:#fff;border-bottom:3px solid var(--ec-accent,#fd342f);font-size:11px;font-weight:900;letter-spacing:.04em;text-transform:uppercase}
.ec-dynamic-products-header>span{padding:10px 12px;box-sizing:border-box}
.ec-stock-entry-products-header{grid-template-columns:minmax(0,7fr) minmax(130px,2fr) 46px;column-gap:2px}
.ec-stock-transfer-products-header{grid-template-columns:minmax(0,7fr) minmax(105px,1.4fr) minmax(120px,1.6fr) 46px;column-gap:2px}
.ec-stock-entry-product-row{grid-template-columns:minmax(0,7fr) minmax(130px,2fr) 46px!important}
.ec-stock-transfer-product-row{grid-template-columns:minmax(0,7fr) minmax(225px,3fr) 46px!important}
.ec-stock-transfer-product-row>.ec-transfer-quantity-group{display:grid!important;grid-template-columns:minmax(105px,1.4fr) minmax(120px,1.6fr)!important;gap:2px!important;padding:0!important;border-left:0!important}
.ec-stock-transfer-product-row>.ec-transfer-quantity-group>.ec-stock-transfer-field{padding:10px!important;justify-content:center}
.ec-stock-transfer-product-row>.ec-transfer-quantity-group>.ec-stock-transfer-field+.ec-stock-transfer-field{border-left:1px solid #dedede}
.ec-dynamic-product-row>.ec-stock-entry-product,.ec-dynamic-product-row>.ec-stock-entry-quantity,.ec-dynamic-product-row>.ec-stock-transfer-product{padding:10px!important;justify-content:center}
.ec-modal-form--stock-entry .ec-dynamic-product-row>.ec-remove-product,.ec-modal-form--stock-transfer .ec-dynamic-product-row>.ec-remove-product{width:46px!important;min-width:46px!important;height:46px!important;min-height:46px!important;align-self:center!important;justify-self:center!important}
@media(max-width:720px){.ec-dynamic-products-header{display:none}.ec-stock-entry-product-row,.ec-stock-transfer-product-row{grid-template-columns:minmax(0,1fr) 96px 46px!important}.ec-stock-transfer-product-row>.ec-transfer-quantity-group{grid-template-columns:1fr!important}}


/* v3.22.9 - coluna AÇÕES somente com múltiplos produtos */
.ec-stock-entry-products:not(.has-multiple-products) .ec-stock-entry-products-header{
    grid-template-columns:minmax(0,7fr) minmax(130px,2fr) !important;
}
.ec-stock-entry-products:not(.has-multiple-products) .ec-stock-entry-products-header>span:last-child{
    display:none !important;
}
.ec-stock-entry-products:not(.has-multiple-products) .ec-stock-entry-product-row{
    grid-template-columns:minmax(0,7fr) minmax(130px,2fr) !important;
}
.ec-stock-transfer-products:not(.has-multiple-products) .ec-stock-transfer-products-header{
    grid-template-columns:minmax(0,7fr) minmax(105px,1.4fr) minmax(120px,1.6fr) !important;
}
.ec-stock-transfer-products:not(.has-multiple-products) .ec-stock-transfer-products-header>span:last-child{
    display:none !important;
}
.ec-stock-transfer-products:not(.has-multiple-products) .ec-stock-transfer-product-row{
    grid-template-columns:minmax(0,7fr) minmax(225px,3fr) !important;
}


/* v3.22.10 - cabeçalhos e linhas alinhados, com AÇÕES legível */
.ec-stock-entry-products.has-multiple-products .ec-stock-entry-products-header,
.ec-stock-entry-products.has-multiple-products .ec-stock-entry-product-row{
    grid-template-columns:minmax(0,70fr) minmax(120px,20fr) 72px!important;
    column-gap:6px!important;
}
.ec-stock-transfer-products.has-multiple-products .ec-stock-transfer-products-header{
    grid-template-columns:minmax(0,58fr) minmax(90px,14fr) minmax(105px,16fr) 76px!important;
    column-gap:6px!important;
}
.ec-stock-transfer-products.has-multiple-products .ec-stock-transfer-product-row{
    grid-template-columns:minmax(0,58fr) minmax(201px,30fr) 76px!important;
    column-gap:6px!important;
}
.ec-stock-transfer-products.has-multiple-products .ec-stock-transfer-product-row>.ec-transfer-quantity-group{
    grid-template-columns:minmax(90px,14fr) minmax(105px,16fr)!important;
    gap:6px!important;
}
.ec-stock-entry-products.has-multiple-products .ec-dynamic-products-header>span:last-child,
.ec-stock-transfer-products.has-multiple-products .ec-dynamic-products-header>span:last-child{
    padding-left:6px!important;
    padding-right:6px!important;
    text-align:center!important;
    white-space:nowrap!important;
}
.ec-stock-entry-products.has-multiple-products .ec-remove-product,
.ec-stock-transfer-products.has-multiple-products .ec-remove-product{
    justify-self:center!important;
}


/* v3.22.19 - tabela de estoque simplificada */
.ec-stock-table th.ec-stock-qty-col,
.ec-stock-table td.ec-stock-qty-col,
.ec-stock-table th.ec-stock-min-col,
.ec-stock-table td.ec-stock-min-col {
    text-align:center !important;
    vertical-align:middle !important;
}
.ec-stock-table td.ec-stock-min-col {
    font-weight:900 !important;
}
.ec-stock-table td.ec-stock-min--ok {
    color:#278a2d !important;
}
.ec-stock-table td.ec-stock-min--danger {
    color:#c6261d !important;
}
