/* Aveltrim - Reposicao V3. Native details, no DOM mutation. */
html body :is([data-view="vending"],[data-view="vm-stock"]) #vmAlerts {
  box-sizing:border-box; width:100%; max-width:1440px; min-width:0; margin-inline:auto;
}
html body #vmAlerts > details.vm-stock-alert {
  box-sizing:border-box!important; width:100%!important; min-width:0; margin:0 0 18px!important;
  padding:0!important; border:1px solid #ead7ae!important; border-radius:11px!important;
  background:#fffbf3!important; color:#785319!important; box-shadow:none!important;
}
html body #vmAlerts > details.vm-stock-alert > summary {
  box-sizing:border-box; display:flex!important; align-items:center!important; justify-content:space-between!important;
  gap:14px!important; padding:14px 16px!important; margin:0!important; min-height:68px;
  border:0!important; border-radius:10px; list-style:none!important; cursor:pointer;
  color:#785319!important; background:transparent!important; font-size:13px!important; line-height:1.4!important;
}
html body #vmAlerts > details.vm-stock-alert > summary::-webkit-details-marker {display:none!important}
html body #vmAlerts > details.vm-stock-alert > summary::marker {content:''}
html body #vmAlerts > details.vm-stock-alert > summary::before,
html body #vmAlerts > details.vm-stock-alert > summary::after {content:none!important;display:none!important}
html body #vmAlerts > details.vm-stock-alert > summary > span:first-child {
  display:grid!important; grid-template-columns:34px minmax(0,1fr); column-gap:10px!important; row-gap:3px!important;
  align-items:center; min-width:0; flex:1 1 auto; margin:0!important; padding:0!important;
}
html body #vmAlerts > details.vm-stock-alert > summary > span:first-child::before {
  content:''; grid-column:1; grid-row:1 / span 2; width:34px; height:34px; border-radius:8px;
  background:#f9edcf center/19px no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23926316' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3 2 20h20L12 3ZM12 9v5m0 3v.01'/%3E%3C/svg%3E");
}
html body #vmAlerts > details.vm-stock-alert > summary > span:first-child > b {
  grid-column:2; grid-row:1; display:block!important; margin:0!important; padding:0!important;
  color:#785319!important; font-size:14px!important; line-height:1.4!important; font-weight:700!important; overflow-wrap:anywhere;
}
html body #vmAlerts > details.vm-stock-alert > summary > span:first-child > small {
  grid-column:2; grid-row:2; display:block!important; margin:0!important; padding:0!important;
  font-size:12px!important; line-height:1.4!important; color:#806f52!important; font-weight:400!important;
}
html body #vmAlerts > details.vm-stock-alert > summary > span:last-child {
  position:static!important; display:inline-flex!important; flex:0 0 auto; align-items:center; justify-content:center; gap:9px;
  min-height:34px; box-sizing:border-box; padding:7px 11px!important; margin:0!important; border:1px solid #e7d6b5;
  border-radius:7px; background:#fff; color:#785319!important; font-size:12px!important; font-weight:650!important; white-space:nowrap;
}
html body #vmAlerts > details.vm-stock-alert > summary > span:last-child::after {
  content:''; display:block; width:7px; height:7px; border-right:1.5px solid currentColor; border-bottom:1.5px solid currentColor;
  transform:translateY(-2px) rotate(45deg); flex:none;
}
html body #vmAlerts > details.vm-stock-alert[open] > summary > span:last-child::after {transform:translateY(2px) rotate(225deg)}
html body #vmAlerts > details.vm-stock-alert > summary:hover > span:last-child {background:#fcf1d9}
/* Never expose content of a closed native details element. */
html body #vmAlerts > details.vm-stock-alert:not([open]) > :not(summary) {display:none!important}
html body #vmAlerts > details.vm-stock-alert[open] > .vm-stock-alert-list {
  box-sizing:border-box; margin:0 16px!important; padding:0!important; border:1px solid #eadfc8;
  border-radius:8px; background:#fff; max-height:260px; overflow:auto;
}
html body #vmAlerts > details.vm-stock-alert > .vm-stock-alert-list > div {
  display:flex!important; align-items:center!important; justify-content:space-between!important; gap:12px!important;
  padding:10px 12px!important; margin:0!important; border:0!important; border-bottom:1px solid #efe7d8!important; font-size:13px!important;
}
html body #vmAlerts > details.vm-stock-alert > .vm-stock-alert-list > div:last-child {border-bottom:0!important}
html body #vmAlerts > details.vm-stock-alert > .vm-stock-alert-list > div > span:first-child {display:grid!important; gap:4px; min-width:0; overflow-wrap:anywhere}
html body #vmAlerts > details.vm-stock-alert > .vm-stock-alert-list > div > span:first-child > b {display:block!important; color:#173329!important; font-size:13px!important; line-height:1.35!important; margin:0!important}
html body #vmAlerts > details.vm-stock-alert > .vm-stock-alert-list > div > span:first-child > small {display:block!important; color:#66766d!important; font-size:12px!important; line-height:1.4!important; margin:0!important}
html body #vmAlerts > details.vm-stock-alert > .vm-stock-alert-list > div > span:last-child {
  display:inline-flex!important; align-items:center; justify-content:center; flex:none; min-width:58px; padding:5px 9px;
  border:1px solid #ead7ae; background:#fffbf3; border-radius:999px; font-size:12px!important; color:#785319!important;
  font-weight:700; font-variant-numeric:tabular-nums; white-space:nowrap;
}
html body #vmAlerts > details.vm-stock-alert[open] > button.action {
  box-sizing:border-box!important; display:inline-flex!important; align-items:center!important; justify-content:center!important;
  gap:7px!important; width:auto!important; min-height:38px!important; height:auto!important; padding:8px 13px!important;
  margin:12px 0 14px 16px!important; border:1px solid #d5e3da!important; border-radius:8px!important;
  background:#fff!important; color:#173329!important; font-size:13px!important; font-weight:650!important;
  line-height:1.35!important; white-space:normal!important; box-shadow:none!important; vertical-align:middle;
}
html body #vmAlerts > details.vm-stock-alert[open] > button.action + button.action {margin-left:8px!important}
html body #vmAlerts > details.vm-stock-alert[open] > button.action[data-tab="stock"],
html body #vmAlerts > details.vm-stock-alert[open] > button.action[data-purchase-suggest]:only-of-type {background:#176b47!important;border-color:#176b47!important;color:#fff!important}
html body #vmAlerts > details.vm-stock-alert[open] > button.action:hover:not(:disabled) {border-color:#aac7b5!important;background:#f1f7f3!important;color:#173329!important}
html body #vmAlerts > details.vm-stock-alert[open] > button.action[data-tab="stock"]:hover:not(:disabled),
html body #vmAlerts > details.vm-stock-alert[open] > button.action[data-purchase-suggest]:only-of-type:hover:not(:disabled) {background:#125339!important;border-color:#125339!important;color:#fff!important}
html body #vmAlerts > details.vm-stock-alert :is(summary,button):focus-visible {outline:2px solid #176b47!important;outline-offset:-3px!important}
@media(max-width:550px){
 html body #vmAlerts > details.vm-stock-alert > summary {flex-wrap:wrap;gap:8px!important;padding:12px!important}
 html body #vmAlerts > details.vm-stock-alert > summary > span:first-child {flex-basis:100%}
 html body #vmAlerts > details.vm-stock-alert > summary > span:last-child {margin-left:44px!important}
 html body #vmAlerts > details.vm-stock-alert[open] > .vm-stock-alert-list {margin-inline:12px!important}
 html body #vmAlerts > details.vm-stock-alert[open] > button.action {margin:10px 12px 0!important;max-width:calc(100% - 24px)}
 html body #vmAlerts > details.vm-stock-alert[open] > button.action:last-child {margin-bottom:12px!important}
}
