/* Vozol Dubai cart panel. Replaces Side Cart's stylesheet and icon font. Desktop: right panel. Phone: bottom sheet. */
.xoo-wsc-markup{
  --vc-dark:#0E0E10;--vc-soft:#F6F2EC;--vc-acc:#F7941D;--vc-onacc:#111;--vc-line:#ECE7DF;--vc-mute:#6C6760;--vc-wa:#25D366;
  --vc-font:'Archivo',system-ui,-apple-system,'Segoe UI',Roboto,sans-serif;--vc-disp:'Unbounded','Archivo',sans-serif;
  --vc-in:.2s cubic-bezier(.22,1,.36,1);--vc-out:.12s cubic-bezier(.4,0,1,1);
}
.xoo-wsc-modal{position:fixed;inset:0;z-index:999999;pointer-events:none;font-family:var(--vc-font);color:var(--vc-dark);-webkit-font-smoothing:antialiased}
.xoo-wsc-modal *{box-sizing:border-box}
.xoo-wsc-opac{position:fixed;inset:0;display:block;background:rgba(10,10,12,.62);-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);opacity:0;visibility:hidden;transition:opacity var(--vc-out),visibility 0s linear .12s}
.xoo-wsc-cart-active .xoo-wsc-opac{opacity:1;visibility:visible;pointer-events:auto;cursor:pointer;transition:opacity var(--vc-in),visibility 0s}
html.xoo-wsc-cart-active,body.xoo-wsc-cart-active{overflow:hidden}

/* panel */
.vxc{position:absolute;top:10px;right:10px;bottom:10px;width:min(430px,calc(100vw - 20px));background:#fff;border-radius:22px;display:flex;flex-direction:column;overflow:hidden;
  box-shadow:0 30px 80px -20px rgba(0,0,0,.45);transform:translate3d(calc(100% + 24px),0,0);transition:transform var(--vc-out);will-change:transform;pointer-events:auto}
.xoo-wsc-cart-active .vxc{transform:none;transition:transform var(--vc-in)}
.vxc a{color:inherit;text-decoration:none}
.vxc button{font:inherit;color:inherit;background:none;border:0;padding:0;margin:0;cursor:pointer;box-shadow:none;text-transform:none;letter-spacing:normal;line-height:inherit}
.vxc button:hover,.vxc button:focus{background:none;color:inherit}
.vxc :focus-visible{outline:3px solid var(--vc-acc);outline-offset:2px;border-radius:8px}
.vxc svg{display:block;flex:none}
.vxc p{margin:0}

/* header */
.vxc-head{background:var(--vc-dark);color:#fff;padding:16px 16px 0;flex:none}
.vxc-bar{display:flex;align-items:center;justify-content:space-between;gap:12px}
.vxc-grip{display:none}
.vxc-title{margin:0!important;font:800 21px/1.1 var(--vc-disp)!important;color:#fff!important;letter-spacing:-.01em;display:flex;align-items:center;gap:10px}
.vxc-n{min-width:28px;height:28px;padding:0 8px;border-radius:999px;background:var(--vc-acc);color:var(--vc-onacc);font:800 14px/28px var(--vc-font);text-align:center;font-variant-numeric:tabular-nums}
.vxc .vxc-close{width:40px;height:40px;border-radius:50%;background:rgba(255,255,255,.1);color:#fff;display:flex;align-items:center;justify-content:center;transition:background .15s}
.vxc .vxc-close:hover{background:var(--vc-acc);color:var(--vc-onacc)}
.vxc-close svg{width:18px;height:18px}
.vxc-note{display:flex;align-items:center;gap:8px;font-size:12.5px;color:rgba(255,255,255,.7);padding:12px 0 14px}
.vxc-note svg{width:16px;height:16px;color:var(--vc-acc)}
/* notices */
.vxc .xoo-wsc-notice-container{margin:0 -16px;padding:0}
.vxc .xoo-wsc-notices{list-style:none;margin:0;padding:0}
.vxc .xoo-wsc-notices li{padding:10px 16px;font-size:13.5px;background:#1d1d21;color:#fff;border-top:1px solid rgba(255,255,255,.08)}
.vxc .xoo-wsc-notice-error{background:#5c1416!important}
.vxc .xoo-wsc-notices span[class*="icon"]{display:none}

/* items */
.vxc-body{flex:1;overflow-y:auto;overscroll-behavior:contain;background:var(--vc-soft);padding:12px}
.vxc-items{list-style:none!important;margin:0!important;padding:0!important;display:flex;flex-direction:column;gap:10px}
.vxc-item{position:relative;display:grid;grid-template-columns:84px minmax(0,1fr);gap:14px;background:#fff;border-radius:18px;padding:12px 44px 12px 12px;margin:0!important;transition:opacity .15s}
.vxc-img{width:84px;height:84px;border-radius:14px;background:var(--vc-soft);overflow:hidden;display:flex;align-items:center;justify-content:center}
.vxc-img img{width:100%!important;height:100%!important;object-fit:contain;margin:0!important}
.vxc-info{display:flex;flex-direction:column;gap:3px;min-width:0}
.vxc-name{font-size:14.5px;font-weight:700;line-height:1.3;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.vxc-meta{font-size:12px;color:var(--vc-mute)}
.vxc-meta dl,.vxc-meta dd,.vxc-meta dt,.vxc-meta p{display:inline;margin:0;padding:0;font-size:12px}
.vxc-meta dd::after{content:" ";}
.vxc-unit{font-size:12px;color:var(--vc-mute)}
.vxc-unit .amount{font-weight:600}
.vxc-row{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:6px}
.vxc-line{font:800 15.5px/1 var(--vc-font);font-variant-numeric:tabular-nums}
.vxc-qty{font-size:13px;font-weight:600}
.vxc .vxc-del{position:absolute;top:10px;right:10px;width:30px;height:30px;border-radius:50%;display:flex;align-items:center;justify-content:center;color:var(--vc-mute);transition:background .15s,color .15s}
.vxc .vxc-del:hover{background:#FDE8E8;color:#C62828}
.vxc-del svg{width:16px;height:16px}
/* quantity stepper (pill) */
.vxc .xoo-wsc-qty-stepper{display:inline-flex;align-items:center;background:var(--vc-dark);border-radius:999px;padding:3px;gap:0}
.vxc .xoo-wsc-qs-btn{width:30px;height:30px;border-radius:50%;color:#fff!important;font:700 17px/1 var(--vc-font)!important;display:flex;align-items:center;justify-content:center;transition:background .12s}
.vxc .xoo-wsc-qs-btn:hover{background:rgba(255,255,255,.15)!important}
.vxc .xoo-wsc-qs-disabled{opacity:.35;pointer-events:none}
.vxc .xoo-wsc-qs-input{width:30px!important;height:30px!important;border:0!important;background:transparent!important;color:#fff!important;text-align:center;font:800 14px/1 var(--vc-font)!important;padding:0!important;margin:0!important;box-shadow:none!important;font-variant-numeric:tabular-nums}
.vxc .xoo-wsc-qs-remove,.vxc .xoo-wsc-qs-rm{display:none}

/* empty */
.vxc-empty{display:flex;flex-direction:column;align-items:center;text-align:center;gap:6px;padding:34px 10px}
.vxc-empty-mark svg{width:84px;height:84px}
.vxc-empty-h{font:800 20px/1.2 var(--vc-disp);margin-top:8px!important}
.vxc-empty-p{color:var(--vc-mute);font-size:14.5px;margin-bottom:12px!important}
.vxc-flav{list-style:none!important;margin:0 0 16px!important;padding:0!important;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;width:100%}
.vxc-flav a{display:flex;flex-direction:column;align-items:center;gap:6px;background:#fff;border-radius:14px;padding:10px 6px;font-size:12px;font-weight:700;line-height:1.2}
.vxc-flav a:hover{box-shadow:inset 0 0 0 2px var(--vc-acc)}
.vxc-flav img{width:48px;height:48px;border-radius:50%;object-fit:cover}

/* footer */
.vxc-foot{flex:none;background:#fff;border-top:1px solid var(--vc-line);padding:14px 16px calc(14px + env(safe-area-inset-bottom,0px));display:flex;flex-direction:column;gap:8px;box-shadow:0 -10px 24px -18px rgba(0,0,0,.35)}
.vxc-total{display:flex;justify-content:space-between;align-items:baseline}
.vxc-total span{font-size:14px;color:var(--vc-mute);font-weight:600}
.vxc-total strong{font:800 24px/1 var(--vc-disp);font-variant-numeric:tabular-nums}
.vxc-save{font-size:13px;color:#1f7a3f;font-weight:700}
.vxc-small{font-size:12px;color:var(--vc-mute);margin-top:-2px!important}
.vxc-btn{display:flex;align-items:center;justify-content:center;gap:10px;border-radius:14px;padding:15px 18px;font-weight:800;font-size:16px;transition:transform .12s,background .15s}
.vxc-btn:active{transform:scale(.98)}
.vxc-btn svg{width:20px;height:20px}
.vxc-btn-go{background:var(--vc-acc);color:var(--vc-onacc)!important}
.vxc-btn-go:hover{background:var(--vc-dark);color:#fff!important}
.vxc-btn-dark{background:var(--vc-dark);color:#fff!important;width:100%}
.vxc-alt{display:flex;gap:8px;align-items:stretch}
.vxc-btn-wa{flex:1;background:#E9F9EF;color:#0B5A2B!important;font-size:14.5px;padding:12px 14px}
.vxc-btn-wa svg{color:#1DA851;width:18px;height:18px}
.vxc-btn-wa:hover{background:var(--vc-wa);color:#06301A!important}
.vxc-link{display:flex;align-items:center;justify-content:center;padding:0 16px;border-radius:14px;border:1.5px solid var(--vc-line);font-weight:700;font-size:14.5px}
.vxc-link:hover{border-color:var(--vc-dark)}

/* loading: thin progress bar, items dim */
.vxc-progress{position:absolute;left:0;top:0;height:3px;width:100%;background:linear-gradient(90deg,transparent,var(--vc-acc),transparent);background-size:50% 100%;background-repeat:no-repeat;opacity:0;z-index:3}
.xoo-wsc-loading .vxc-progress{opacity:1;animation:vxcLoad .8s linear infinite}
.xoo-wsc-loading .vxc-items{opacity:.55;pointer-events:none}
@keyframes vxcLoad{from{background-position:-50% 0}to{background-position:150% 0}}
/* old plugin pieces we don't use */
.xoo-wsc-basket,.xoo-wsc-loader,.xoo-wsc-loader-icon,.xoo-wsc-markup-notices{display:none!important}

/* phone: bottom sheet */
@media (max-width:600px){
  .vxc{top:auto;left:0;right:0;bottom:0;width:100%;max-height:88vh;max-height:88dvh;border-radius:24px 24px 0 0;transform:translate3d(0,100%,0)}
  .vxc-grip{display:block;position:absolute;top:7px;left:50%;width:40px;height:4px;margin-left:-20px;border-radius:2px;background:rgba(255,255,255,.3)}
  .vxc-head{padding-top:20px;position:relative}
  .vxc-item{grid-template-columns:72px minmax(0,1fr);gap:12px}
  .vxc-img{width:72px;height:72px}
}
@media (prefers-reduced-motion:reduce){.vxc,.xoo-wsc-opac{transition:none!important}.xoo-wsc-loading .vxc-progress{animation:none}}

/* Layer order: backdrop behind, panel in front (the backdrop is later in the markup). */
.xoo-wsc-opac{z-index:1}
.vxc{z-index:2}
.xoo-wsc-modal{isolation:isolate} /* only the positioned modal; isolating the static wrapper pushed the cart under the sticky header */

/* minimum order progress */
.vxc-min{display:grid;gap:6px;font-size:13px;color:var(--vc-dark);background:#FFF6EA;border:1px solid #FBD9AE;border-radius:12px;padding:10px 12px}
.vxc-min b{color:#B4630A}
.vxc-min-bar{height:6px;border-radius:3px;background:#F3E3CC;overflow:hidden}
.vxc-min-bar i{display:block;height:100%;background:var(--vc-acc);border-radius:3px;transition:width .3s}
.vxc-min.is-ok{background:#EAF7EF;border-color:#BFE6CC;color:#1F7A3F;font-weight:700}
.vxc-min.is-ok .vxc-min-bar{background:#CDEBD8}.vxc-min.is-ok .vxc-min-bar i{background:#1F7A3F}
.vxc-btn-go.is-locked{background:#ECE7DF;color:var(--vc-mute)!important;cursor:not-allowed;font-size:15px}
.vxc-btn-go.is-locked:hover{background:#ECE7DF;color:var(--vc-mute)!important}

/* Phones: fit under the sticky header (height set by script), smaller type, compact rows. */
@media (max-width:600px){
  .vxc{max-height:var(--vxc-avail,72vh);height:auto}
  .vxc-head{padding:16px 14px 0}
  .vxc-title{font-size:17px!important;gap:8px}
  .vxc-n{min-width:24px;height:24px;font-size:12.5px;line-height:24px}
  .vxc .vxc-close{width:36px;height:36px}
  .vxc-note{font-size:11.5px;padding:8px 0 10px}
  .vxc-body{padding:10px}
  .vxc-items{gap:8px}
  .vxc-item{grid-template-columns:60px minmax(0,1fr);gap:10px;padding:10px 38px 10px 10px;border-radius:14px}
  .vxc-img{width:60px;height:60px;border-radius:12px}
  .vxc-name{font-size:13px}
  .vxc-meta,.vxc-unit{font-size:11.5px}
  .vxc-row{margin-top:4px}
  .vxc-line{font-size:14px}
  .vxc .xoo-wsc-qs-btn{width:26px;height:26px;font-size:15px!important}
  .vxc .xoo-wsc-qs-input{width:24px!important;height:26px!important;font-size:13px!important}
  .vxc .vxc-del{width:26px;height:26px;top:8px;right:8px}
  .vxc-foot{padding:10px 14px calc(10px + env(safe-area-inset-bottom,0px));gap:6px}
  .vxc-total span{font-size:13px}
  .vxc-total strong{font-size:19px}
  .vxc-small{font-size:11px}
  .vxc-min{font-size:12px;padding:8px 10px;gap:5px}
  .vxc-btn{padding:12px 14px;font-size:15px;border-radius:12px}
  .vxc-btn-wa{font-size:13px;padding:10px 12px}
  .vxc-link{font-size:13px;padding:0 12px}
  .vxc-empty{padding:18px 6px}
  .vxc-empty-mark svg{width:60px;height:60px}
  .vxc-empty-h{font-size:17px}
  .vxc-flav a{font-size:11px;padding:8px 4px}.vxc-flav img{width:40px;height:40px}
}

/* "Add AED X more" closes the cart so shoppers keep shopping */
.vxc .vxc-btn-go.is-locked{width:100%;background:#FFF6EA;color:#7A4300!important;box-shadow:inset 0 0 0 1.5px #F2C48C;cursor:pointer;font-size:15px}
.vxc .vxc-btn-go.is-locked:hover{background:#0E0E10;color:#fff!important;box-shadow:none}
.vxc .vxc-btn-go.is-locked::after{content:" →"}
/* Phones: checkout only (no WhatsApp / View bag row) */
@media (max-width:600px){ .vxc-alt{display:none!important} }

/* While the cart is open, hide floating buttons that sit above it (Joinchat WhatsApp bubble, back-to-top). */
html.xoo-wsc-cart-active .joinchat,
body.xoo-wsc-cart-active .joinchat,
body.xoo-wsc-cart-active .vxf-top,
body.xoo-wsc-cart-active .vxpp-sticky{opacity:0!important;visibility:hidden!important;pointer-events:none!important}

/* free delivery progress (side cart, checkout) */
.vxfree{display:grid;gap:6px;font-size:13px;background:#EEF4FF;border:1px solid #C9DAFF;border-radius:12px;padding:10px 12px;margin-top:6px;color:#0E0E10}
.vxfree .vxc-min-bar{height:6px;border-radius:3px;background:#D6E2FF;overflow:hidden;display:block}
.vxfree .vxc-min-bar i{display:block;height:100%;background:#3D6BFF;border-radius:3px}
.vxfree.is-ok{background:#EAF7EF;border-color:#BFE6CC;color:#1F7A3F;font-weight:700}
.vxfree.is-ok .vxc-min-bar{background:#CDEBD8}.vxfree.is-ok .vxc-min-bar i{background:#1F7A3F}
@media (max-width:600px){.vxfree{font-size:12px;padding:8px 10px;gap:5px}}

/* Quantity number is display-only (changed with − / +): tapping it must not open the phone keyboard. */
.vxc .xoo-wsc-qs-input{pointer-events:none;-webkit-user-select:none;user-select:none;caret-color:transparent}
/* Phones: follow the on-screen keyboard (values set by script from the visual viewport). */
@media (max-width:600px){ .vxc{bottom:var(--vxc-kb,0px);transition:transform var(--vc-in),bottom .15s ease} }
