/* Faramoallem AJAX cart. Fully namespaced to avoid Avada/other Woo elements. */
.wms-cart-root,
.wms-cart-root * { box-sizing: border-box; }
.wms-cart-root[hidden], .wms-cart-fab[hidden], .wms-cart-bottom[hidden], .wms-cart-alert[hidden] { display: none !important; }
.wms-cart-root { font-family: inherit; direction: rtl; color:#18233c; position:fixed; inset:0; z-index:2147482000; isolation:isolate; }
.wms-cart-overlay { position:absolute; inset:0; background:rgba(15,30,48,.55); backdrop-filter:blur(5px); opacity:0; transition:opacity .22s ease; }
.wms-cart-panel { position:absolute; top:50%; right:50%; transform:translate(50%,-47%) scale(.975); width:min(94vw,565px); max-height:min(86vh,825px); background:#fff; border:1px solid rgba(255,255,255,.9); border-radius:25px; box-shadow:0 35px 110px rgba(5,28,48,.32); display:flex; flex-direction:column; text-align:right; overflow:hidden; opacity:0; transition:opacity .22s ease, transform .22s ease; outline:none; }
.wms-cart-root.is-open .wms-cart-overlay { opacity:1; }
.wms-cart-root.is-open .wms-cart-panel { opacity:1; transform:translate(50%,-50%) scale(1); }
body.wms-cart-open { overflow:hidden !important; }
.wms-cart-head { flex:0 0 auto; display:flex; align-items:center; justify-content:space-between; gap:12px; padding:20px 23px 19px; background:linear-gradient(118deg,#f0fcf9,#f6faff 85%); border-bottom:1px solid #e5efed; }
.wms-cart-heading-wrap { display:flex; gap:12px; align-items:center; min-width:0; }
.wms-cart-heading-icon { width:45px; height:45px; flex:0 0 45px; display:grid; place-items:center; border-radius:14px; color:#fff; background:linear-gradient(145deg,#069b8a,#097979); box-shadow:0 6px 15px rgba(0,133,120,.2); }
.wms-cart-heading-wrap strong { font-size:20px; font-weight:800; color:#17253c; display:block; line-height:1.6; }
.wms-cart-heading-sub { display:block; font-size:12px; color:#6b7b8d; line-height:1.8; }
.wms-cart-header-actions { display:flex; align-items:center; gap:9px; }
.wms-cart-count-pill { min-width:30px; height:30px; padding:4px 9px; border-radius:9px; display:grid; place-items:center; background:#e0f5f0; color:#047f75; font-weight:800; font-size:13px; }
.wms-cart-root .wms-cart-close { appearance:none; width:34px; height:34px; padding:0; border:1px solid #e1e8ed; border-radius:11px; background:white; color:#67788a; font:400 27px/1 sans-serif; cursor:pointer; display:grid; place-items:center; transition:background .15s,color .15s; }
.wms-cart-root .wms-cart-close:hover { color:#e13f52; background:#fff4f5; }
.wms-cart-alert { margin:12px 22px 0; padding:10px 13px; background:#fff7ef; border:1px solid #ffe0c0; color:#99500b; border-radius:11px; font-size:13px; line-height:1.9; }
.wms-cart-alert.is-positive { background:#eafaf5; border-color:#c1eade; color:#0b7667; }
.wms-cart-content { overflow-y:auto; overscroll-behavior:contain; min-height:120px; padding:10px 22px; scrollbar-width:thin; flex:1 1 auto; }
.wms-cart-items { list-style:none !important; margin:0!important; padding:0!important; }
.wms-cart-item { padding:17px 0; margin:0!important; display:flex; align-items:flex-start; gap:14px; border-bottom:1px solid #eef2f5; list-style:none!important; }
.wms-cart-item:last-child { border-bottom:0; }
.wms-cart-item-cover { display:flex; flex:0 0 88px; width:88px; height:91px; align-items:center; justify-content:center; background:#f3f7fb; border:1px solid #ebf0f5; border-radius:14px; overflow:hidden; color:#8ca1b1; text-decoration:none!important; }
.wms-cart-item-cover img { width:100%!important; height:100%!important; object-fit:cover; margin:0!important; max-width:none!important; }
.wms-cart-item-center { min-width:0; flex:1 1 auto; }
.wms-cart-item-name { display:block; font-size:14px; line-height:1.85; color:#1d2d42!important; font-weight:750; text-decoration:none!important; word-break:break-word; }
.wms-cart-item-name:hover { color:#008f83!important; }
.wms-cart-item-variation { color:#718092; display:block; margin-top:1px; font-size:11px; line-height:1.7; }
.wms-cart-item-unit { margin-top:5px; color:#008679; font-size:13px; font-weight:800; line-height:1.9; }
.wms-cart-item-unit .amount, .wms-cart-total .amount { color:inherit!important; }
.wms-cart-item-actions { display:flex; justify-content:space-between; align-items:center; margin-top:10px; }
.wms-cart-quantity { display:inline-flex; align-items:center; border:1px solid #dde7ed; background:#f9fbfc; border-radius:10px; overflow:hidden; height:33px; }
.wms-cart-root .wms-cart-qty-btn { background:none!important; border:0!important; border-radius:0!important; color:#19645e!important; font-weight:700!important; font-size:18px!important; width:34px!important; min-width:34px; height:32px!important; padding:0!important; margin:0!important; line-height:1!important; cursor:pointer; }
.wms-cart-root .wms-cart-qty-btn:disabled { opacity:.3; cursor:not-allowed; }
.wms-cart-root .wms-cart-qty-number { min-width:28px; display:inline-flex; justify-content:center; color:#27384d; font-weight:750; font-size:13px; font-variant-numeric:tabular-nums; }
.wms-cart-single-item { font-size:12px; color:#6c8390; }
.wms-cart-root .wms-cart-remove { background:#fff3f4!important; border:0!important; color:#d65366!important; cursor:pointer; padding:0!important; width:31px; height:31px; border-radius:9px!important; display:grid; place-items:center; margin:0!important; }
.wms-cart-root .wms-cart-remove:hover { background:#ffe4e8!important; }
.wms-cart-panel.is-busy .wms-cart-items { opacity:.55; pointer-events:none; }
.wms-cart-bottom { background:#fff; padding:16px 22px 19px; border-top:1px solid #e8eff2; box-shadow:0 -8px 30px rgba(24,58,76,.025); }
.wms-cart-totals { display:flex; justify-content:space-between; align-items:center; gap:10px; margin-bottom:14px; color:#6d798c; font-size:14px; }
.wms-cart-totals strong { color:#046e67; font-size:19px; font-weight:900; line-height:1.7; text-align:left; }
.wms-cart-root .wms-cart-checkout { min-height:51px; background:linear-gradient(108deg,#059787,#08716e); color:#fff!important; display:flex; justify-content:center; align-items:center; gap:9px; width:100%; font-size:15px; font-weight:800; border-radius:13px; text-decoration:none!important; box-shadow:0 6px 15px rgba(4,128,114,.17); transition:filter .2s,transform .2s; }
.wms-cart-root .wms-cart-checkout:hover { filter:brightness(1.06); transform:translateY(-1px); }
.wms-cart-bottom-links { display:flex; align-items:center; justify-content:space-between; margin-top:13px; gap:10px; }
.wms-cart-root .wms-cart-bottom-links a, .wms-cart-root .wms-cart-bottom-links button { font-family:inherit; font-size:13px!important; text-decoration:none!important; background:none!important; border:0!important; color:#57697a!important; padding:4px!important; cursor:pointer; box-shadow:none!important; }
.wms-cart-root .wms-cart-bottom-links a { color:#0c827a!important; font-weight:700; }
.wms-cart-empty { padding:32px 16px 39px; display:flex; flex-direction:column; align-items:center; justify-content:center; text-align:center; }
.wms-cart-empty-art { display:grid; place-items:center; height:84px; width:84px; background:#eaf9f5; border-radius:27px; color:#0a9a86; margin-bottom:16px; }
.wms-cart-empty-art svg { width:44px; height:44px; }
.wms-cart-empty strong { font-size:18px; color:#26384d; }
.wms-cart-empty p { max-width:300px; line-height:2; color:#7b8b9c; font-size:13px; margin:8px 0 19px!important; }
.wms-cart-root .wms-cart-empty-shop, .wms-cart-root .wms-cart-retry { border:1px solid #b8ded9!important; background:#eefaf7!important; color:#09786e!important; border-radius:10px!important; padding:10px 20px!important; font-size:13px!important; cursor:pointer; font-weight:700; font-family:inherit; }
.wms-cart-skeleton { padding:18px 3px; }
.wms-cart-skeleton i { display:block; height:66px; margin:14px 0; border-radius:13px; background:linear-gradient(90deg,#f4f6f9,#e9eef2,#f4f6f9); background-size:200% 100%; animation:wmsCartShimmer 1.35s ease-in-out infinite; }
.wms-cart-skeleton p { font-size:12px; text-align:center; color:#8593a3; }
@keyframes wmsCartShimmer { from{background-position:100% 0}to{background-position:-100% 0} }
.wms-cart-fab { position:fixed; z-index:99998; bottom:25px; left:23px; border:0!important; border-radius:18px!important; width:58px; height:58px; padding:0!important; background:linear-gradient(145deg,#04a391,#075f63)!important; color:#fff!important; box-shadow:0 8px 24px rgba(4,116,108,.3); cursor:pointer; align-items:center; justify-content:center; display:flex; }
.wms-cart-fab-count { position:absolute; top:-5px; right:-4px; color:#fff; background:#213b67; height:24px; min-width:24px; border:2px solid #fff; border-radius:99px; padding:0 4px; display:grid; place-items:center; font-size:12px; font-weight:800; }
.wms-cart-shortcode-trigger { cursor:pointer; border:1px solid #b8e3da; border-radius:11px; background:#edfaf6; color:#08766d; font-family:inherit; padding:9px 14px; }
@media (max-width:640px) {
 .wms-cart-panel { width:100%; right:0; top:auto; bottom:0; border-radius:24px 24px 0 0; max-height:92vh; max-height:92dvh; transform:translateY(28px); }
 .wms-cart-root.is-open .wms-cart-panel { transform:translateY(0); }
 .wms-cart-head { padding:17px 17px 16px; }
 .wms-cart-heading-wrap strong { font-size:18px; }
 .wms-cart-content { padding:5px 16px; }
 .wms-cart-item { gap:11px; padding:14px 0; }
 .wms-cart-item-cover { flex-basis:73px; width:73px; height:78px; }
 .wms-cart-item-name { font-size:13px; }
 .wms-cart-bottom { padding:14px 16px calc(16px + env(safe-area-inset-bottom)); }
 .wms-cart-fab { left:13px; bottom:16px; width:52px; height:52px; }
}
@media (prefers-reduced-motion:reduce) { .wms-cart-root *, .wms-cart-fab { transition:none!important; animation:none!important; } }
