/*
 * The site's cart (inc/site-cart): the same drawer as on the new pages (category v7), on every other page.
 * Everything is scoped to .amox-sc, so the theme's styles stay out and these stay in.
 */
.amox-sc{--paper:#FAF6EF;--card:#FFFDF9;--green:#2F4332;--ink:#1C2620;--body:#3A423B;--muted:#5D5F57;
  --gold-ink:#805C2C;--gold-soft:#E7D3B0;--line:#E7DED1;--line-strong:#CDBFAB;--ok:#2B6643;--rust:#A2563D;
  --f-body:'IBM Plex Sans Hebrew','Heebo','Assistant','Liberation Sans',Arial,sans-serif;
  direction:rtl;text-align:right;color:var(--body);font:16px/1.6 var(--f-body);-webkit-font-smoothing:antialiased}
.amox-sc *,.amox-sc *::before,.amox-sc *::after{box-sizing:border-box}
.amox-sc h2,.amox-sc p{margin:0;padding:0;letter-spacing:normal;text-transform:none}
.amox-sc img{display:block;max-width:100%;height:auto}
.amox-sc button{font:inherit;color:inherit;cursor:pointer;margin:0;letter-spacing:normal;text-transform:none;box-shadow:none;min-width:0;line-height:inherit}
.amox-sc button:hover,.amox-sc button:focus{background-image:none}
/* the theme draws a coloured layer on buttons and links (::before/::after); not in here */
.amox-sc button::before,.amox-sc button::after,.amox-sc a::before,.amox-sc a::after{content:none!important;display:none!important}
.amox-sc button{position:relative;overflow:visible}
.amox-sc bdi{unicode-bidi:isolate}
.amox-sc [hidden]{display:none!important}
.amox-sc :focus-visible{outline:2px solid var(--gold-ink);outline-offset:2px}
.amox-sc .ico{width:20px;height:20px;flex:none;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.amox-sc .sc-sr{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}

html.amox-sc-lock{overflow:hidden;scrollbar-gutter:stable}
html.amox-sc-lock body{overflow:hidden}
/* the floating chat buttons stay out of the way while the cart is open */
html.amox-sc-lock .joinchat,html.amox-sc-lock .ht-ctc,html.amox-sc-lock .wa__btn_popup,html.amox-sc-lock #wh-widget-send-button,html.amox-sc-lock .amox-wa-float{visibility:hidden}
/* one cart: the theme's side cart stays closed (the header icon opens this drawer) */
body.amox-sc-on #cart-panel{display:none!important}

.amox-sc .sc-scrim{position:fixed;inset:0;background:rgba(28,38,32,.45);z-index:99990;opacity:0;pointer-events:none;transition:opacity .2s}
.amox-sc .sc-scrim.on{opacity:1;pointer-events:auto}
.amox-sc .sc-drawer{position:fixed;top:0;bottom:0;right:0;left:auto;width:min(420px,92vw);background:var(--card);z-index:99991;transform:translateX(105%);transition:transform .25s ease;display:flex;flex-direction:column;box-shadow:0 0 40px rgba(0,0,0,.18)}
.amox-sc .sc-drawer.on{transform:none}
@media (prefers-reduced-motion:reduce){.amox-sc .sc-drawer,.amox-sc .sc-scrim{transition:none}}
.amox-sc .sc-head{display:flex;align-items:center;justify-content:space-between;padding:14px 16px;border-bottom:1px solid var(--line)}
.amox-sc .sc-head h2{font-size:18px;font-weight:700;color:var(--ink);display:flex;align-items:center;gap:8px;font-family:var(--f-body)}
.amox-sc .sc-head h2 .ico{color:var(--ok)}
.amox-sc .sc-icon{width:40px;height:40px;display:grid;place-items:center;border:0;background:none;border-radius:8px;color:var(--ink);padding:0}
.amox-sc .sc-body{flex:1;overflow:auto;padding:14px 16px;display:grid;gap:14px;align-content:start}
.amox-sc .sc-items{display:grid;gap:14px}
.amox-sc .sc-item{display:grid;grid-template-columns:60px 1fr auto;gap:12px;align-items:start}
.amox-sc .sc-item img{width:60px;height:60px;border-radius:6px;object-fit:cover;background:#fff;border:1px solid var(--line)}
.amox-sc .sc-item .nm{display:block;font-size:15px;font-weight:700;color:var(--ink);line-height:1.35}
.amox-sc .sc-item .pr{font-weight:700;color:var(--ink);white-space:nowrap}
.amox-sc .sc-qty{display:inline-flex;align-items:center;border:1px solid var(--line-strong);border-radius:5px;margin-top:6px;background:#fff}
.amox-sc .sc-qty button{width:30px;height:30px;border:0;background:none;font-size:17px;padding:0;color:var(--ink)}
.amox-sc .sc-qty button:disabled{opacity:.35;cursor:default}
.amox-sc .sc-qty output{min-width:24px;text-align:center;font-weight:700}
.amox-sc .sc-remove{display:block;min-height:28px;border:0;background:none;padding:4px 0;margin-top:6px;font-size:13.5px;color:var(--muted);text-decoration:underline}
.amox-sc .sc-empty{font-size:15px;color:var(--muted);padding:8px 0}
.amox-sc .sc-error{color:var(--rust);font-size:14px;font-weight:600}

.amox-sc .sc-up{border:1px solid var(--line);border-radius:10px;padding:12px;background:var(--paper)}
.amox-sc .sc-up .k{font-size:12.5px;font-weight:700;color:var(--gold-ink)}
.amox-sc .sc-up-row{display:grid;grid-template-columns:52px 1fr;gap:10px;margin-top:6px}
.amox-sc .sc-up-row img{width:52px;height:52px;border-radius:6px;object-fit:cover;background:#fff}
.amox-sc .sc-up-row b{display:block;font-size:15px;color:var(--ink)}
.amox-sc .sc-up-row span{display:block;font-size:13.5px;color:var(--muted);line-height:1.45}
.amox-sc .sc-up-acts{display:flex;align-items:center;justify-content:space-between;margin-top:10px;gap:10px}
.amox-sc .sc-up-acts .add{flex:1;min-height:42px;height:auto;padding:6px 10px;line-height:1.35;border:1.5px solid var(--green);border-radius:5px;background:var(--card);font-weight:700;color:var(--green)}
.amox-sc .sc-up-acts .add[aria-busy="true"]{opacity:.7;cursor:progress}
.amox-sc .sc-up-acts .no{border:0;background:none;font-size:13.5px;color:var(--muted);text-decoration:underline;padding:4px}
.amox-sc .sc-opts{display:grid;gap:8px;margin-top:10px}
.amox-sc .is-choice .sc-up-row{grid-template-columns:1fr}
.amox-sc .is-choice .sc-up-acts{position:sticky;bottom:0;z-index:2;background:var(--paper);margin-inline:-12px;padding:8px 12px;box-shadow:0 -10px 14px -12px rgba(0,0,0,.35)}
.amox-sc .sc-opt{display:grid;grid-template-columns:44px minmax(0,1fr) auto;gap:10px;align-items:center;width:100%;min-height:58px;padding:8px 10px;text-align:right;border:1.5px solid var(--line-strong);border-radius:8px;background:#fff}
.amox-sc .sc-opt img{width:44px;height:44px;object-fit:cover;border-radius:5px;background:#fff}
.amox-sc .sc-opt b{display:block;font-size:14.5px;line-height:1.3;color:var(--ink)}
.amox-sc .sc-opt .t span{display:block;font-size:12.5px;line-height:1.4;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.amox-sc .sc-opt .p{font-size:15px;font-weight:700;color:var(--ink);font-variant-numeric:tabular-nums;white-space:nowrap}
.amox-sc .sc-opt[aria-checked="true"]{border-color:var(--green);background:#F3F6F1;box-shadow:inset 0 0 0 1px var(--green)}
@media (max-width:759px){
  .amox-sc .sc-opts{gap:6px;margin-top:8px}
  .amox-sc .sc-opt{grid-template-columns:36px minmax(0,1fr) auto;min-height:48px;padding:5px 10px;gap:8px}
  .amox-sc .sc-opt img{width:36px;height:36px}
  .amox-sc .sc-opt b{font-size:14px}}
@media (max-width:759px) and (max-height:720px){.amox-sc .sc-drawer.has-choice .sc-row:not(.total),.amox-sc .sc-drawer.has-choice .sc-note,.amox-sc .sc-drawer.has-choice .sc-continue,.amox-sc .is-choice .sc-up-row span{display:none}}

.amox-sc .sc-foot{border-top:1px solid var(--line);padding:14px 16px 16px;display:grid;gap:8px;font-size:14.5px}
.amox-sc .sc-sum{display:grid;gap:8px}
.amox-sc .sc-row{display:flex;justify-content:space-between;gap:10px}
.amox-sc .sc-row.total{font-size:17px;font-weight:700;color:var(--ink)}
.amox-sc .sc-bar{height:6px;border-radius:4px;background:var(--line);overflow:hidden}
.amox-sc .sc-bar i{display:block;height:100%;background:var(--ok);border-radius:4px;width:0}
.amox-sc .sc-free{font-size:13.5px;font-weight:600;color:var(--ok)}
.amox-sc .sc-free.short{color:var(--gold-ink)}
.amox-sc .sc-note{font-size:13px;color:var(--muted)}
.amox-sc a.sc-checkout{display:grid;place-items:center;height:50px;border:0;border-radius:5px;background:var(--green);color:#fff;font-weight:700;font-size:16px;margin-top:4px;text-decoration:none}
.amox-sc a.sc-checkout:hover,.amox-sc a.sc-checkout:focus{color:#fff;background:#3B5340}
.amox-sc a.sc-checkout[aria-disabled="true"]{opacity:.45;pointer-events:none}
.amox-sc .sc-continue{border:0;background:none;text-decoration:underline;color:var(--ink);font-size:14px;padding:4px}
.amox-sc .sc-drawer.busy .sc-body,.amox-sc .sc-drawer.busy .sc-foot{opacity:.6;pointer-events:none;transition:opacity .15s}
