/* Jiawaz Modern AJAX Cart */
.jmw-cart-trigger{display:inline-flex;align-items:center;gap:9px;border:1px solid #e8e8ec;background:#fff;color:#18181b;border-radius:999px;padding:10px 15px;font:inherit;font-size:14px;cursor:pointer;box-shadow:0 5px 18px rgba(20,20,30,.06);transition:transform .2s,box-shadow .2s}
.jmw-cart-trigger:hover{transform:translateY(-1px);box-shadow:0 8px 22px rgba(20,20,30,.1)}
.jmw-cart-trigger-icon{font-size:19px;line-height:1}
.jmw-cart-count{display:inline-flex;align-items:center;justify-content:center;min-width:22px;height:22px;padding:0 5px;border-radius:99px;background:#171717;color:#fff;font-size:11px;font-weight:700}
.jmw-cart-overlay{position:fixed;inset:0;background:rgba(13,16,25,.48);backdrop-filter:blur(3px);z-index:99998;opacity:0;transition:opacity .25s}
.jmw-cart-overlay:not([hidden]){display:block;opacity:1}
.jmw-cart-drawer{position:fixed;z-index:99999;top:0;right:0;width:min(440px,100vw);height:100vh;height:100dvh;max-height:100dvh;background:#fff;color:#171717;display:flex;flex-direction:column;box-shadow:-20px 0 70px rgba(0,0,0,.16);transform:translateX(105%);transition:transform .28s ease;direction:rtl;visibility:hidden}
.jmw-cart-drawer.jmw-open{transform:translateX(0);visibility:visible}
.jmw-cart-header{display:flex;align-items:center;justify-content:space-between;padding:22px 22px 17px;border-bottom:1px solid #f0f0f2;flex:0 0 auto}
.jmw-cart-kicker{font-size:11px;color:#8b8b96;letter-spacing:.04em}
.jmw-cart-header h2{font-size:22px;line-height:1.4;margin:3px 0 0;font-weight:800;color:#171717}
.jmw-header-count{font-size:13px;color:#8b8b96;font-weight:500}
.jmw-cart-close{width:38px;height:38px;border:0;border-radius:50%;background:#f5f5f7;color:#333;font-size:28px;line-height:1;cursor:pointer}
.jmw-cart-progress{height:3px;background:#f5f5f5;flex:0 0 auto}
.jmw-cart-progress span{display:block;width:100%;height:100%;background:linear-gradient(90deg,#b5e4d2,#2e9d79)}
.jmw-cart-drawer-content{flex:1 1 auto;min-height:0;overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;touch-action:pan-y;padding:0 20px}
.jmw-cart-items{display:flex;flex-direction:column}
.jmw-cart-item{display:grid;grid-template-columns:76px minmax(0,1fr) 28px;gap:13px;align-items:start;padding:19px 0;border-bottom:1px solid #f0f0f2;position:relative}
.jmw-item-image{display:block;width:76px;height:86px;border-radius:13px;background:#f7f7f8;overflow:hidden}
.jmw-item-image img{width:100%;height:100%;object-fit:cover;display:block}
.jmw-item-info{min-width:0;padding-top:2px}
.jmw-item-name{display:block;color:#171717;text-decoration:none;font-size:14px;line-height:1.7;font-weight:700;margin-bottom:5px}
.jmw-item-price{font-size:13px;color:#5e5e68;margin-bottom:12px}
.jmw-qty-control{display:inline-flex;align-items:center;gap:0;border:1px solid #e8e8ec;border-radius:9px;overflow:hidden;height:31px}
.jmw-qty-btn{border:0;background:#fafafa;width:31px;height:31px;color:#171717;font-size:18px;cursor:pointer}
.jmw-qty{min-width:29px;text-align:center;font-size:12px;font-weight:700}
.jmw-remove{border:0;background:transparent;color:#a0a0a8;font-size:24px;line-height:25px;cursor:pointer;padding:0}
.jmw-remove:hover{color:#c33}
.jmw-cart-summary{padding:18px 0 14px}
.jmw-subtotal-row{display:flex;align-items:center;justify-content:space-between;font-size:14px;color:#555}
.jmw-subtotal-row strong{font-size:17px;color:#171717}
.jmw-shipping-note{font-size:11px;line-height:1.8;color:#92929b;margin:8px 0 0}
.jmw-cart-footer{flex:0 0 auto;padding:16px 20px max(16px,env(safe-area-inset-bottom));border-top:1px solid #eeeef1;background:#fff;box-shadow:0 -8px 25px rgba(20,20,30,.035)}
.jmw-checkout-btn{display:flex;align-items:center;justify-content:space-between;gap:12px;background:#171717;color:#fff!important;text-decoration:none!important;border-radius:12px;padding:16px 18px;font-size:14px;font-weight:700;min-height:52px;transition:background .2s}
.jmw-checkout-btn:hover{background:#333;color:#fff}
.jmw-checkout-btn span{font-size:19px}
.jmw-view-cart{display:block;text-align:center;text-decoration:none!important;color:#686873!important;font-size:12px;padding-top:13px}
.jmw-cart-empty{min-height:260px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:35px 15px;color:#171717}
.jmw-empty-icon{font-size:38px;margin-bottom:14px}
.jmw-cart-empty strong{font-size:17px}
.jmw-cart-empty p{font-size:13px;color:#85858f;line-height:1.8}
.jmw-continue{display:inline-flex;margin-top:8px;background:#171717;color:#fff!important;text-decoration:none!important;padding:12px 20px;border-radius:10px;font-size:13px}
.jmw-cart-drawer.jmw-busy .jmw-cart-drawer-content{opacity:.55;pointer-events:none}
body.jmw-cart-open{overflow:hidden!important}
@media(max-width:767px){.jmw-cart-drawer{width:100vw;right:0}.jmw-cart-header{padding:17px 17px 14px}.jmw-cart-drawer-content{padding:0 16px}.jmw-cart-footer{padding:13px 16px max(13px,env(safe-area-inset-bottom))}.jmw-cart-item{grid-template-columns:68px minmax(0,1fr) 25px;gap:11px;padding:16px 0}.jmw-item-image{width:68px;height:78px}.jmw-cart-header h2{font-size:20px}.jmw-cart-trigger-label{display:none}}
@media(prefers-reduced-motion:reduce){.jmw-cart-drawer,.jmw-cart-overlay{transition:none}}
