/* AVIEN unified customer-facing stock state.
   Presentation only: source of truth stays with product API and checkout validation. */
.photo,.product-visual,.gallery{position:relative}
.avien-stock-badge{
 position:absolute;top:12px;right:12px;z-index:4;
 display:inline-flex;align-items:center;justify-content:center;
 width:max-content;max-width:calc(100% - 24px);
 padding:7px 13px;border-radius:999px;
 background:rgba(255,249,248,.97);
 border:1px solid rgba(154,62,65,.24);
 box-shadow:0 3px 12px rgba(47,38,36,.12);
 color:#923d41;font:700 12px/1.7 Tahoma,Arial,sans-serif;
 white-space:nowrap;direction:rtl;
 pointer-events:none;
}
.avien-stock-badge[hidden]{display:none!important}
.avien-stock-text.is-out{color:#963f42;font-weight:700}
.product .add-cart:disabled,.product-actions button:disabled{
 opacity:.52;cursor:not-allowed;
}
@media(max-width:640px){
 .avien-stock-badge{top:8px;right:8px;padding:5px 9px;font-size:11px}
}
