/* Mira Beauty v4 visual language: #071E22 / #9EADC8 / #EA638C. Scoped to plugin only. */
.mwl-widget,.mwl-page,.mwl-drawer,.mwl-toast{--mwl-ink:#071e22;--mwl-pink:#ea638c;--mwl-blue:#9eadc8;--mwl-rose:#ffecf2;--mwl-border:#e3e8ed;font-family:YekanBakhFaNum,YekanBakh,Vazirmatn,Tahoma,Arial,sans-serif;direction:rtl;text-align:right;box-sizing:border-box}
.mwl-widget *,.mwl-page *,.mwl-drawer *,.mwl-toast *{box-sizing:border-box}
.mwl-widget .mwl-btn{appearance:none;-webkit-appearance:none;border:0 solid transparent;outline-offset:4px;display:inline-flex !important;flex-flow:row nowrap;align-items:center;justify-content:center;gap:9px;direction:rtl;vertical-align:middle;font-family:inherit;font-size:13px;font-weight:750;line-height:1.55;text-decoration:none !important;text-transform:none;white-space:nowrap;cursor:pointer;position:relative;box-shadow:none;transition:background-color .25s ease,color .25s ease,border-color .25s ease,box-shadow .25s ease;transform:none !important;will-change:auto;}
.mwl-widget .mwl-btn:focus-visible,.mwl-drawer button:focus-visible,.mwl-drawer a:focus-visible,.mwl-page a:focus-visible,.mwl-page button:focus-visible{outline:2px solid #ea638c;outline-offset:3px}
.mwl-widget .mwl-btn-icon{display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;line-height:1;pointer-events:none}
.mwl-widget .mwl-btn-icon svg{width:21px;height:21px;display:block;flex:none;fill:none;stroke:currentColor;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round;overflow:visible;transition:fill .24s ease,stroke .24s ease}
.mwl-widget .mwl-btn-icon i{font-size:21px;line-height:1;transition:color .24s}
.mwl-widget .mwl-btn-label{display:inline-block;line-height:1.7;white-space:normal;text-align:start}
.mwl-widget .mwl-btn.is-active .mwl-btn-icon svg path{fill:currentColor;stroke:currentColor}
.mwl-widget .mwl-btn.is-active .mwl-btn-icon i{font-weight:900}
.mwl-widget .mwl-btn:disabled{opacity:.5;cursor:default}
.mwl-widget-loop .mwl-btn{width:37px;height:37px;min-height:37px;padding:0;border-radius:10px;color:#4d626e;background:#fff;}
.mwl-widget-loop .mwl-btn:hover,.mwl-widget-loop .mwl-btn.is-active{color:#ea638c;background:#ffecf2}
.mwl-widget-product .mwl-btn{padding:10px 17px;min-height:44px;border-radius:11px;color:#4d626e;background:#fff;box-shadow:inset 0 0 0 1px #e3e8ed}
.mwl-widget-product .mwl-btn.mwl-mode-icon_only{width:44px;height:44px;padding:0}
.mwl-widget-product .mwl-btn:hover,.mwl-widget-product .mwl-btn.is-active{color:#ea638c;background:#ffecf2}
.mwl-widget-header .mwl-btn{min-width:44px;height:44px;min-height:44px;padding:0;border-radius:14px;color:#071e22;background:transparent;}
.mwl-widget-header .mwl-btn-icon svg{width:27px;height:27px}
.mwl-widget-header .mwl-btn.mwl-mode-icon_text{padding:7px 12px;gap:9px}
.mwl-widget-header .mwl-btn:hover{color:#c83e6d;background:#eef1f5}
.mwl-widget-header .mwl-btn.is-open{color:#ea638c;background:#ffecf2}
.mwl-widget-header .mwl-badge{position:absolute;top:0;left:0;display:grid;place-items:center;min-width:18px;height:18px;padding:0 3px;border-radius:99px;background:#ea638c;color:white;font-family:inherit;font-size:10px;font-weight:750;line-height:1;pointer-events:none;font-variant-numeric:tabular-nums;}
.mwl-widget-header .mwl-badge[data-mwl-badge-mode=nonzero][data-mwl-empty=true]{display:none}
.mwl-widget-header .mwl-btn.mwl-mode-icon_text .mwl-badge{left:-7px;top:-5px}
/* Sheet: side placement matches the existing Mira Beauty cart drawer (left in RTL). */
.mwl-overlay{position:fixed;z-index:999980;inset:0;background:rgba(7,30,34,.56);opacity:0;visibility:hidden;transition:opacity .3s,visibility .3s}
.mwl-overlay[hidden]{display:none !important}
.mwl-overlay.is-open{opacity:1;visibility:visible}
.mwl-drawer{--mwl-drawer-width:430px;--mwl-drawer-bg:#fff;--mwl-drawer-accent:#ea638c;--mwl-drawer-text:#071e22;--mwl-drawer-border:#e3e8ed;position:fixed !important;z-index:999981 !important;top:0 !important;bottom:0 !important;left:0 !important;right:auto !important;width:min(var(--mwl-drawer-width),100vw) !important;max-width:100%;height:100dvh;background:var(--mwl-drawer-bg) !important;color:var(--mwl-drawer-text);box-shadow:15px 0 40px rgba(7,30,34,.12);display:flex;flex-direction:column;transform:translateX(-105%);visibility:hidden;pointer-events:none;transition:transform .34s cubic-bezier(.2,.65,.3,1),visibility .34s;overflow:hidden}
.mwl-drawer.is-open{transform:translateX(0);visibility:visible;pointer-events:auto}
body.mwl-lock{overflow:hidden !important}
.mwl-drawer-head{padding:22px 25px;display:flex;align-items:center;justify-content:space-between;gap:12px;border-bottom:1px solid var(--mwl-drawer-border);flex-shrink:0}
.mwl-drawer-head h2{font-family:inherit !important;font-size:21px !important;line-height:1.7 !important;font-weight:850 !important;margin:0 !important;color:var(--mwl-drawer-text) !important}
.mwl-drawer-head h2 small{font-size:14px !important;color:#697a83;font-weight:550}
.mwl-drawer .mwl-close,.mwl-drawer .mwl-item-remove{border:0 !important;box-shadow:none !important;padding:0 !important;display:grid;place-items:center;flex:0 0 auto;cursor:pointer;transition:color .2s,background-color .2s;color:#50636b;background:transparent !important;}
.mwl-drawer .mwl-close{width:38px;height:38px;border-radius:10px}
.mwl-drawer .mwl-close:hover{color:var(--mwl-drawer-accent);background:#fff0f5 !important}
.mwl-drawer svg,.mwl-page svg,.mwl-toast svg{width:20px;height:20px;display:block;fill:none;stroke:currentColor;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round}
.mwl-drawer .mwl-close svg{width:21px;height:21px}
.mwl-drawer-list{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:12px 25px;scrollbar-width:thin}
.mwl-item{display:grid;grid-template-columns:76px minmax(0,1fr) 31px;gap:12px;align-items:center;padding:15px 0;border-bottom:1px solid var(--mwl-drawer-border);min-width:0}
.mwl-item-image{display:flex;align-items:center;justify-content:center;background:#f5f6f9;border-radius:11px;overflow:hidden;width:76px;height:87px}
.mwl-item-image img{width:100% !important;height:100% !important;object-fit:contain !important;margin:0 !important;display:block}
.mwl-item-info{min-width:0;display:flex;flex-direction:column;gap:6px;align-items:flex-start}
.mwl-item-info a{text-decoration:none !important}
.mwl-item-title{color:var(--mwl-drawer-text) !important;font-size:13px;font-weight:750;line-height:1.8;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.mwl-item-title:hover,.mwl-item-link:hover{color:var(--mwl-drawer-accent) !important}
.mwl-item-price{color:var(--mwl-drawer-text);font-size:12px;line-height:1.7;font-weight:850}
.mwl-item-price del{font-size:10px;color:#93a0a8;opacity:.8;margin-inline-end:5px;font-weight:450}
.mwl-item-price ins{text-decoration:none;color:var(--mwl-drawer-accent)}
.mwl-item-link{display:inline-flex;gap:6px;align-items:center;color:#71828b !important;font-size:11px;font-weight:600}
.mwl-item-link svg{width:14px;height:14px}
.mwl-drawer .mwl-item-remove,.mwl-page .mwl-item-remove{width:31px;height:31px;background:#fff0f5 !important;border-radius:8px;color:#bd4268;cursor:pointer;border:0 !important}
.mwl-drawer .mwl-item-remove:hover,.mwl-page .mwl-item-remove:hover{color:#fff;background:#d64f7a !important}
.mwl-item-remove svg{width:16px;height:16px}
.mwl-drawer-footer{display:flex;flex-direction:column;gap:10px;padding:20px 25px 26px;border-top:1px solid var(--mwl-drawer-border);flex-shrink:0}
.mwl-drawer-footer a,.mwl-drawer-footer button{min-height:48px;width:100%;padding:11px 16px !important;border-radius:11px !important;font-family:inherit;font-size:13px;font-weight:750;line-height:1.8;text-decoration:none !important;display:flex;justify-content:center;gap:12px;align-items:center;cursor:pointer;transition:background-color .2s,color .2s;box-shadow:none !important}
.mwl-drawer .mwl-drawer-view{background:var(--mwl-drawer-accent) !important;color:#fff !important;border:1px solid var(--mwl-drawer-accent) !important}
.mwl-drawer .mwl-drawer-view:hover{background:#d64f7a !important}
.mwl-drawer .mwl-drawer-continue{background:#f5f6f9 !important;color:var(--mwl-drawer-text) !important;border:1px solid var(--mwl-drawer-border) !important}
.mwl-drawer .mwl-drawer-continue:hover{background:#e9edf3 !important}
.mwl-empty{width:100%;padding:55px 16px;display:flex;align-items:center;flex-direction:column;gap:12px;text-align:center;color:#697a83;font-family:inherit}
.mwl-empty-icon{width:66px;height:66px;border-radius:22px;display:grid;place-items:center;background:#fff0f5;color:#ea638c;margin-bottom:5px}
.mwl-empty-icon svg{width:30px;height:30px}
.mwl-empty strong{color:#071e22;font-size:15px;font-weight:800}
.mwl-empty p{max-width:270px;color:#71838c;font-size:12px;line-height:2;margin:0}
/* Toast intentionally bottom RIGHT per project requirement. */
.mwl-toast{position:fixed !important;right:var(--mwl-toast-right,20px) !important;left:auto !important;bottom:var(--mwl-toast-bottom,20px) !important;z-index:999990 !important;max-width:min(380px,calc(100% - 40px));display:flex;align-items:center;gap:11px;min-height:53px;background:var(--mwl-toast-bg,#071e22) !important;color:var(--mwl-toast-color,#fff) !important;padding:13px 17px;border:1px solid rgba(234,99,140,.18);border-radius:var(--mwl-toast-radius,12px);font-size:var(--mwl-toast-font-size,13px);font-weight:650;line-height:1.8;box-shadow:0 12px 34px rgba(7,30,34,.2);opacity:0;transform:translateY(18px);visibility:hidden;pointer-events:none;transition:transform .26s ease,opacity .26s ease,visibility .26s;}
.mwl-toast.is-visible{opacity:1;transform:translateY(0);visibility:visible}
.mwl-toast-icon{display:grid;place-items:center;flex:0 0 auto;color:var(--mwl-toast-icon,#ea638c);width:25px;height:25px;border-radius:50%;background:rgba(234,99,140,.13)}
.mwl-toast-icon svg{width:16px;height:16px}
.mwl-toast.is-removal .mwl-toast-icon{color:#9eadc8;background:rgba(158,173,200,.13)}
.mwl-page{width:100%;padding:20px 0;min-height:220px}
.mwl-page-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:22px;border-bottom:1px solid #e3e8ed;padding-bottom:16px}
.mwl-page-heading h2{font-family:inherit !important;font-size:clamp(22px,2.5vw,33px) !important;font-weight:850 !important;color:#071e22 !important;margin:0 !important;line-height:1.5}
.mwl-page-count{font-size:12px;font-weight:850;color:#ea638c;background:#ffecf2;padding:6px 10px;border-radius:9px}
.mwl-page-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.mwl-page-grid .mwl-item{grid-template-columns:90px minmax(0,1fr) 30px;gap:12px;border:1px solid #e3e8ed;background:#fff;border-radius:15px;padding:15px;min-width:0}
.mwl-page-grid .mwl-item-image{width:90px;height:100px}
.mwl-page-grid .mwl-empty{grid-column:1/-1;background:#fff;border-radius:18px;border:1px solid #e3e8ed}
.mwl-page .mwl-item-remove{display:grid;place-items:center;flex:0 0 auto;padding:0}
@media(max-width:990px){.mwl-page-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){.mwl-drawer-head{padding:18px 17px}.mwl-drawer-head h2{font-size:18px !important}.mwl-drawer-list{padding:10px 17px}.mwl-drawer-footer{padding:18px 17px 24px}.mwl-item{grid-template-columns:67px minmax(0,1fr) 30px;gap:9px}.mwl-item-image{width:67px;height:78px}.mwl-toast{right:var(--mwl-toast-right,12px) !important;bottom:var(--mwl-toast-bottom,12px) !important;max-width:calc(100% - 24px);font-size:12px;padding:12px 14px}.mwl-page-grid{grid-template-columns:1fr;gap:10px}.mwl-page-grid .mwl-item{padding:12px}.mwl-page-grid .mwl-item-image{width:75px;height:86px}.mwl-page-grid .mwl-item{grid-template-columns:75px minmax(0,1fr) 30px}}
@media(prefers-reduced-motion:reduce){.mwl-widget .mwl-btn,.mwl-overlay,.mwl-drawer,.mwl-toast{transition:none !important}}
