/* ArterShop Stock Warning v1 — cosmetic only. Does not change form/basket logic. */
html.as-glass-live .as-wg-cart-item.as-stock-problem-v1,
html.as-glass-live #order-table tr.order-item.as-stock-problem-v1,
.as-wg-cart-item.as-stock-problem-v1,
#order-table tr.order-item.as-stock-problem-v1 {
  background:rgba(140,21,30,.27)!important;
  background-image:none!important;
  outline:2px solid #ff5363!important;
  outline-offset:-2px;
  border-color:#ff6575!important;
  box-shadow:inset 4px 0 0 #ff5363!important;
}
html.as-glass-live .as-wg-cart-item.as-stock-problem-v1 *,
html.as-glass-live #order-table tr.order-item.as-stock-problem-v1 * {
  text-shadow:none;
}
.as-stock-message-v1{
 display:block!important;
 width:fit-content;
 max-width:100%;
 margin-top:6px!important;
 padding:6px 9px!important;
 box-sizing:border-box;
 border-radius:9px;
 color:#fff!important;
 -webkit-text-fill-color:#fff!important;
 background:#a91f32!important;
 font:700 12px/1.4 -apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif!important;
 white-space:normal!important;
 overflow-wrap:break-word!important;
 word-break:normal!important;
}
.as-wg-cart-item.as-stock-problem-v1 .as-wg-cart-content,
#order-table tr.order-item.as-stock-problem-v1 .order-item-name{min-width:0!important}
html.as-glass-live[data-as-glass-theme="light"] .as-wg-cart-item.as-stock-problem-v1,
html.as-glass-live[data-as-glass-theme="light"] #order-table tr.order-item.as-stock-problem-v1{
 background:#ffe7e9!important;
 color:#551323!important;
}
html.as-glass-live[data-as-glass-theme="pink"] .as-wg-cart-item.as-stock-problem-v1,
html.as-glass-live[data-as-glass-theme="pink"] #order-table tr.order-item.as-stock-problem-v1{
 background:#ffdfe9!important;
 color:#571832!important;
}

/* v3: product notice uses a FULL ROW in the purchase CSS grid. */
#as-product-v2 .qty-cart-add .as-stock-product-limit-v3 {
 display:block!important; grid-column:1 / -1!important; grid-row:auto!important;
 flex:0 0 100%!important; order:99!important; min-width:0!important;
 width:100%!important; max-width:100%!important;
 padding:9px 12px; box-sizing:border-box; margin-top:8px;
 border-radius:10px; border:1px solid #ff7b88;
 background:rgba(155,27,48,.20); color:#fff!important;
 font:700 12px/1.4 -apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;
 white-space:normal!important; word-break:normal!important;
 overflow-wrap:normal!important; hyphens:none!important; text-align:left!important;
}
html[data-as-glass-theme="light"] #as-product-v2 .as-stock-product-limit-v3 {
 background:#ffe4e7; color:#771c2b!important;
}
html[data-as-glass-theme="pink"] #as-product-v2 .as-stock-product-limit-v3 {
 background:#ffe1e9; color:#781c3a!important;
}