  /* ===== Modal / bottom sheets ===== */
  html.sheet-open, body.sheet-open{ overscroll-behavior:none; }
  .overlay{
    position:fixed; inset:0; background:rgba(8,8,8,.78); z-index:50;
    opacity:0; pointer-events:none; transition:opacity .25s;
    backdrop-filter:blur(2px); -webkit-backdrop-filter:blur(2px);
    will-change:backdrop-filter; transform:translateZ(0);
  }
  .overlay.show{ opacity:1; pointer-events:auto; }
  .sheet{
    position:fixed; right:50%; transform:translate(50%, 100%); bottom:0; z-index:51;
    width:100%; max-width:520px;
    background:var(--card2); border-radius:18px 18px 0 0;
    padding:14px 16px 20px; max-height:82vh; overflow-y:auto;
    transition:transform .35s cubic-bezier(.2,.8,.2,1);
    touch-action:pan-y; overscroll-behavior:contain;
  }
  .sheet.show{ transform:translate(50%, 0); }
  .sheet-handle{ width:38px; height:4px; background:#3a3a3a; border-radius:2px; margin:0 auto 14px; }
  .sheet h3{ color:var(--gold); font-size:16px; margin:0 0 10px; display:flex; align-items:center; gap:8px; }
  .cart-empty{ text-align:center; color:#555; padding:30px 0; }
  .sheet-cart{ display:flex; flex-direction:column; max-height:74vh; padding-bottom:14px; }
  .sheet-cart h3{ flex:0 0 auto; }
  .cart-items-scroll{ flex:1 1 auto; overflow-y:auto; min-height:0; margin:0 -4px; padding:2px 4px 4px; touch-action:pan-y; overscroll-behavior:contain; }
  .cart-items-scroll::-webkit-scrollbar{ width:4px; }
  .cart-items-scroll::-webkit-scrollbar-thumb{ background:rgba(201,162,75,.35); border-radius:4px; }

  .sheet-howto{ display:flex; flex-direction:column; max-height:82vh; padding-bottom:14px; }
  .sheet-howto h3{ flex:0 0 auto; }
  .howto-scroll{ flex:1 1 auto; overflow-y:auto; min-height:0; margin:0 -4px; padding:2px 4px 4px; touch-action:pan-y; overscroll-behavior:contain; }
  .howto-scroll::-webkit-scrollbar{ width:4px; }
  .howto-scroll::-webkit-scrollbar-thumb{ background:rgba(201,162,75,.35); border-radius:4px; }
  .cart-row{
    display:flex; align-items:center; gap:9px; padding:9px 10px;
    background:rgba(255,255,255,.035); border:1px solid rgba(255,255,255,.05);
    border-radius:12px; margin-bottom:7px;
  }
  .cart-row .del{ color:#e57373; font-size:16px; cursor:pointer; background:none; border:none; padding:2px; flex:0 0 auto; }
  .cart-row .info{ flex:1; min-width:0; }
  .cart-row .cname{ color:#fff; font-weight:bold; font-size:12.5px; line-height:1.3; }
  .cart-row .cprice{ color:#999; font-size:10.5px; margin-top:1px; }
  .cart-row .note-link{ color:rgba(201,162,75,.85); font-size:10px; font-style:italic; margin-top:3px; cursor:pointer; display:block; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; max-width:150px; }
  .qty-ctrl{ display:flex; align-items:center; gap:6px; flex:0 0 auto; }
  .qbtn{
    width:23px; height:23px; border-radius:50%; border:none; cursor:pointer;
    display:flex; align-items:center; justify-content:center; font-size:13px; font-weight:bold;
  }
  .qbtn.minus{ background:rgba(255,255,255,.08); color:#fff; }
  .qbtn.plus{ background:var(--gold); color:#000; }
  .qty-num{ width:18px; text-align:center; color:#fff; font-weight:bold; font-size:12.5px; }
  .cart-total-row{ display:flex; justify-content:space-between; align-items:center; margin-top:10px; padding-top:10px; border-top:1px solid rgba(255,255,255,.08); flex:0 0 auto; }
  .coupon-row{ display:flex; gap:6px; margin-top:8px; flex:0 0 auto; }
  .coupon-row input{
    flex:1; min-width:0; background:var(--card); border:1px solid rgba(255,255,255,.12); color:#fff;
    border-radius:8px; padding:9px 10px; font-size:12.5px; font-family:inherit; text-transform:uppercase;
  }
  .coupon-row button{
    background:rgba(201,162,75,.15); border:1px solid rgba(201,162,75,.4); color:var(--gold);
    border-radius:8px; padding:0 14px; font-size:12px; font-weight:700; cursor:pointer; flex:0 0 auto;
  }
  .coupon-applied{
    display:flex; align-items:center; justify-content:space-between; gap:8px; margin-top:8px;
    background:rgba(46,204,113,.1); border:1px solid rgba(46,204,113,.35); border-radius:8px;
    padding:8px 10px; font-size:12px; color:#7fdb9c; flex:0 0 auto;
  }
  .coupon-applied button{ background:none; border:none; color:#e88; font-size:16px; cursor:pointer; line-height:1; padding:0 4px; }
  .cart-discount-row .val{ color:#7fdb9c; }
  .cart-total-row .lbl{ color:#bbb; font-size:14px; }
  .cart-total-row .val{ color:var(--gold); font-weight:800; font-size:19px; }
  .send-btn{
    margin-top:10px; width:100%; background:var(--red); color:#fff; font-weight:bold; font-size:13.5px;
    border:none; border-radius:10px; padding:13px; cursor:pointer; display:flex; align-items:center; justify-content:center; gap:8px;
    flex:0 0 auto;
  }
  .send-btn:active{ opacity:.85; }

  textarea.note-input{
    width:100%; background:var(--card2 ); background:#141414; border:none; border-radius:10px;
    color:#fff; font-family:inherit; font-size:13px; padding:12px; resize:none; min-height:80px; outline:none;
  }
  textarea.note-input::placeholder{ color:#777; }
  .save-note-btn{
    margin-top:12px; width:100%; background:var(--gold); color:#000; font-weight:bold; font-size:13px;
    border:none; border-radius:10px; padding:12px; cursor:pointer;
  }

  .variant-note-list{ display:flex; flex-direction:column; gap:8px; margin-top:6px; }
  .variant-note-item{
    display:flex; align-items:center; justify-content:space-between; gap:10px;
    background:var(--card2); border:1px solid rgba(201,162,75,.25); border-radius:10px;
    padding:12px 14px; cursor:pointer; text-align:right; font-family:inherit;
  }
  .variant-note-item .vni-label{ font-size:13px; font-weight:700; color:#eee; }
  .variant-note-item .vni-sub{ font-size:11px; color:#999; margin-top:2px; }
  .variant-note-item svg{ width:16px; height:16px; stroke:var(--gold); fill:none; stroke-width:1.8; flex:0 0 auto; }
  .variant-note-item.has-note svg{ stroke:var(--red); }
  .variant-note-item.has-note .vni-sub{ color:var(--gold); }

  .toast{
    position:fixed; bottom:24px; right:50%; transform:translateX(50%);
    background:var(--red); color:#fff; font-size:12.5px; font-weight:600;
    padding:10px 18px; border-radius:10px; z-index:80; box-shadow:0 8px 20px rgba(0,0,0,.4);
    opacity:0; transition:opacity .25s; text-align:center; max-width:88%;
    pointer-events:none; /* لازم يفضل كده عشان ميحجبش أي زرار تحته حتى وهو مخفي */
  }
  .toast.show{ opacity:1; }

  .isvg{width:14px;height:14px;display:inline-block;vertical-align:-2px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;}
  .chip-icon{width:15px;height:15px;display:inline-block;vertical-align:-3px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;}
  .promo .badge-icon svg{width:22px;height:22px;fill:none;stroke:var(--gold);stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;}
  .fab .cart-ic svg{width:17px;height:17px;vertical-align:-3px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;}
  .sheet h3 svg{width:16px;height:16px;vertical-align:-2px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;}
  .note-badge svg{width:11px;height:11px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;}
  .note-link svg{width:10px;height:10px;vertical-align:-1px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;}
  .cart-row .del svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;}
  .send-btn svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;}
  .complaint-fab svg{fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;}

