/* ═══════════════════════════════════════════════════════════════════════
   ChinaHub — ch-chrome-v2.css   (loaded by nav.php right after nav.css)
   Header and footer polish, site-wide. Overrides only; remove this file to
   go back to the previous look.
   ═══════════════════════════════════════════════════════════════════════ */
:root{--chv-ink:#16181D;--chv-ink2:#4A4F59;--chv-ink3:#8C919B;--chv-line:#ECECEE;--chv-brand:#FF5A00;--chv-gold:#FFB400}

/* ── top strip (desktop) ──────────────────────────────────────────────── */
#perks{background:#111214!important;border:0!important}
#perks .w{min-height:38px!important;padding-top:0!important;padding-bottom:0!important}
#perks .perks-cell{padding:5px 12px!important;border-radius:8px!important}
#perks .perks-text .t{font-size:12.5px!important;font-weight:700!important;letter-spacing:0!important}
#perks .perks-text .s{font-size:11px!important;opacity:.7}
#perks .perks-ico{width:26px!important;height:26px!important;border-radius:7px!important}

/* ── main header ──────────────────────────────────────────────────────── */
#ch-main-header.hdr{box-shadow:0 1px 0 var(--chv-line)!important;border:0!important}
#ch-main-header.hdr .w{padding-top:10px!important;padding-bottom:10px!important}
#ch-main-header .hdr-in{gap:16px!important}
#ch-main-header .cat-btn{height:44px!important;border-radius:999px!important;border:1.5px solid var(--chv-line)!important;
  background:#fff!important;font-weight:700!important;padding:0 16px!important;box-shadow:none!important}
#ch-main-header .cat-btn:hover{border-color:var(--chv-ink)!important}
/* search: one clean pill, the button inside it, the placeholder readable */
#ch-main-header.hdr .srch{height:46px!important;border:2px solid var(--chv-ink)!important;border-radius:999px!important;
  padding-inline:16px 4px!important;background:#fff!important;gap:6px!important;box-shadow:none!important}
#ch-main-header.hdr .srch:focus-within{border-color:var(--chv-brand)!important;box-shadow:0 0 0 4px rgba(255,90,0,.12)!important}
#ch-main-header.hdr .srch-in{font-size:14.5px!important;min-width:0}
#ch-main-header .srch-suggest{display:none!important}           /* trending terms live in the dropdown, not inside the input */
#ch-main-header.hdr .srch-btn{height:36px!important;border-radius:999px!important;padding:0 18px!important;margin:0!important;
  background:var(--chv-brand)!important;box-shadow:none!important;position:static!important;transform:none!important;font-weight:800!important}
#ch-main-header.hdr .srch-btn:hover{background:#E65100!important}
#ch-main-header.hdr .srch-cam{width:34px!important;height:34px!important}
#ch-main-header .act{border-radius:12px!important;padding:6px 10px!important}
#ch-main-header .act:hover{background:#F5F5F6!important}

/* ── category row ─────────────────────────────────────────────────────── */
#ch-cat-nav.cat-nav{border-bottom:1px solid var(--chv-line)!important;box-shadow:none!important}
#ch-cat-nav a{font-weight:700!important;font-size:14px!important}

/* ═══ FOOTER ════════════════════════════════════════════════════════════ */
.cf2{background:#0F1012!important}
.cf2 .cf-main{padding-top:30px!important;padding-bottom:24px!important}
.cf2 .cf-brand-name{font-size:26px!important}
.cf2 .cf-brand-desc{color:rgba(255,255,255,.6)!important;font-size:13.5px!important;line-height:1.7!important}
.cf2 .cf-col-title,.cf2 h4{font-size:13px!important;letter-spacing:.3px!important;color:#fff!important}
.cf2 .cf-main a{color:rgba(255,255,255,.66)!important}
.cf2 .cf-main a:hover{color:#fff!important}

.cf2-pay{border-top:1px solid rgba(255,255,255,.07)}
.cf2-pay-in{max-width:1180px;margin:0 auto;padding:16px;display:flex;align-items:center;justify-content:space-between;gap:12px 20px;flex-wrap:wrap}
.cf2-pay-lbl{display:flex;align-items:center;gap:8px;color:rgba(255,255,255,.8);font-size:13px;font-weight:700;white-space:nowrap}
.cf2-pay-lbl svg{width:17px;height:17px;color:#34D399}
.cf2-pay-logos{display:flex;flex-wrap:wrap;gap:8px;align-items:center}
.cf2-pay-l{display:inline-grid;place-items:center;width:52px;height:34px;border-radius:7px;background:#fff;overflow:hidden;box-shadow:0 0 0 1px rgba(255,255,255,.08)}
.cf2-pay-l img{max-width:100%;max-height:100%;object-fit:contain;display:block}
.cf2-cod{display:inline-flex;align-items:center;gap:6px;height:34px;padding:0 12px;border-radius:7px;background:rgba(52,211,153,.12);color:#6EE7B7;font-size:12.5px;font-weight:800;white-space:nowrap}
.cf2-cod svg{width:17px;height:17px}
@media (max-width:640px){.cf2-pay-in{justify-content:center;text-align:center}.cf2-pay-logos{justify-content:center}.cf2-pay-l{width:46px;height:30px}}
.cf2 .cf-bottom{background:#0B0C0E!important}
.cf2{padding-top:0!important}

/* company card + contact tiles */
.cf2-co{display:flex;align-items:center;gap:12px;margin-top:14px;padding:12px 14px;border-radius:14px;background:rgba(255,255,255,.04);border:1px solid rgba(255,255,255,.08);max-width:360px}
.cf2-co-ic{flex:none;width:42px;height:42px;border-radius:12px;background:linear-gradient(135deg,#FF7A2E,#FF5A00);color:#fff;display:grid;place-items:center}
.cf2-co-ic svg{width:22px;height:22px}
.cf2-co-tx{display:flex;flex-direction:column;min-width:0}
.cf2-co-tx small{font-size:11.5px;color:rgba(255,255,255,.55)}
.cf2-co-tx b{font-size:16px;font-weight:800;color:#fff;letter-spacing:.2px}
.cf2-co-tx em{font-style:normal;font-size:12px;color:rgba(255,255,255,.55)}
.cf2-ct{display:grid;grid-template-columns:1fr;gap:8px;margin-bottom:14px;max-width:360px}
.cf2-ct-i{display:flex;align-items:center;gap:10px;padding:10px 12px;border-radius:12px;background:rgba(255,255,255,.04);border:1px solid rgba(255,255,255,.08);text-decoration:none;color:#fff;min-width:0;transition:background .15s,border-color .15s}
a.cf2-ct-i:hover{background:rgba(255,255,255,.08);border-color:rgba(255,255,255,.16)}
.cf2-ct-ic{flex:none;width:36px;height:36px;border-radius:10px;background:rgba(255,255,255,.08);color:#fff;display:grid;place-items:center}
.cf2-ct-ic svg{width:19px;height:19px}
.cf2-ct-tx{display:flex;flex-direction:column;min-width:0}
.cf2-ct-tx small{font-size:11.5px;color:rgba(255,255,255,.55)}
.cf2-ct-tx b{font-size:14px;font-weight:700;color:#fff;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.cf2-ct-wa{background:rgba(37,211,102,.1);border-color:rgba(37,211,102,.25)}
.cf2-ct-wa .cf2-ct-ic{background:#25D366;color:#fff}
a.cf2-ct-wa:hover{background:rgba(37,211,102,.16)}
@media (max-width:640px){.cf2-co,.cf2-ct{max-width:none;margin-inline:auto}.cf2-co{text-align:start}}
.cf2 .cf-mob-quick{display:none!important}          /* the contact tiles above already show email + WhatsApp */
.cf2-co{margin-bottom:10px}
.cf2-ct{margin-top:0}
@media (max-width:640px){.cf2 .cf-brand-col{gap:0!important}.cf2-co-tx em bdi{white-space:nowrap}}

/* ═══ v2.1 — compact footer ═══ */
/* footer: less padding, smaller type, contacts as one row of chips */
.cf2 .cf-main{padding-top:18px!important;padding-bottom:12px!important}
.cf2 .cf-main-inner{gap:18px 28px!important}
.cf2 .cf-brand-name{font-size:21px!important;margin-bottom:4px!important}
.cf2 .cf-brand-desc{font-size:12.5px!important;line-height:1.6!important;margin:0 0 8px!important;max-width:340px}
.cf2 .cf-col-title,.cf2 .cf-col-h,.cf2 h4{font-size:12.5px!important;margin-bottom:8px!important}
.cf2 .cf-link,.cf2 .cf-main a.cf-link{font-size:12.5px!important;line-height:1.5!important;padding:3px 0!important}

.cf2-co{display:block;margin:0 0 8px!important;padding:0!important;background:none!important;border:0!important;max-width:none}
.cf2-co-ic{display:none!important}
.cf2-co-tx{display:block}
.cf2-co-tx small,.cf2-co-tx b,.cf2-co-tx em{display:inline;font-size:12px!important;font-weight:600}
.cf2-co-tx small{color:rgba(255,255,255,.5)}
.cf2-co-tx b{color:rgba(255,255,255,.85);letter-spacing:0;margin-inline:3px}
.cf2-co-tx em{color:rgba(255,255,255,.45)}
.cf2-co-tx em::before{content:"· "}

.cf2-ct{display:flex!important;flex-wrap:wrap;gap:6px!important;margin:0 0 10px!important;max-width:none}
.cf2-ct-i{padding:5px 10px 5px 6px!important;gap:6px!important;border-radius:999px!important;background:rgba(255,255,255,.05)!important;border:1px solid rgba(255,255,255,.08)!important}
[dir="rtl"] .cf2-ct-i{padding:5px 6px 5px 10px!important}
.cf2-ct-ic{width:24px!important;height:24px!important;border-radius:50%!important}
.cf2-ct-ic svg{width:14px!important;height:14px!important}
.cf2-ct-tx small{display:none!important}
.cf2-ct-tx b{font-size:12.5px!important;font-weight:600!important}
.cf2-ct-wa{background:rgba(37,211,102,.12)!important;border-color:rgba(37,211,102,.25)!important}

.cf2 .cf-social{gap:6px!important;margin-top:0!important}
.cf2 .cf-soc{width:30px!important;height:30px!important;border-radius:8px!important}
.cf2 .cf-soc svg{width:14px!important;height:14px!important}

.cf2-pay-in{padding:10px 16px!important;gap:8px 14px!important}
.cf2-pay-lbl{font-size:12px!important}
.cf2-pay-l{width:40px!important;height:26px!important;border-radius:5px!important}
.cf2-cod{height:26px!important;padding:0 9px!important;font-size:11.5px!important;border-radius:5px!important}
.cf2-cod svg{width:14px!important;height:14px!important}
.cf2-pay-logos{gap:5px!important}
.cf2 .cf-bottom{padding:8px 16px!important}
.cf2 .cf-copy{font-size:11px!important}
.cf-foot.cf2{margin-top:24px!important}

@media (max-width:640px){
  .cf2 .cf-main{padding-top:14px!important}
  .cf2 .cf-brand-col{text-align:center}
  .cf2 .cf-brand-desc{margin-inline:auto!important;font-size:12px!important}
  .cf2-co{text-align:center}
  .cf2-ct{justify-content:center}
  .cf2 .cf-col-h{padding:9px 0!important;font-size:13px!important}
  .cf2 .cf-mob-contact{padding-top:8px!important;padding-bottom:4px!important;gap:8px!important}
  .cf2-pay-in{padding:10px 12px!important}
  .cf2-pay-l{width:36px!important;height:24px!important}
}
.cf2 .cf-main-inner a{padding-top:2px!important;padding-bottom:2px!important;margin-top:0!important;margin-bottom:0!important;line-height:1.55!important;min-height:0!important}
.cf2 .cf-col-links,.cf2 .cf-links,.cf2 details > div{gap:2px!important}
.cf2 details > summary,.cf2 .cf-col-h{padding-top:8px!important;padding-bottom:8px!important;min-height:0!important}
.cf2 .cf-mob-contact{margin-top:6px!important}
@media (max-width:640px){.cf2 .cf-main-inner{gap:0!important}.cf2 .cf-brand-col{margin-bottom:10px!important}.cf2 details.cf-col{border-color:rgba(255,255,255,.07)!important}}

/* ═══════════════════════════════════════════════════════════════════════
   CART DRAWER v2 — side panel on desktop, bottom sheet on phones
   ═══════════════════════════════════════════════════════════════════════ */
html body .chd{width:min(440px,100vw)!important;background:#F6F6F7!important;font-family:inherit!important;border-radius:0}
html body .chd .chd-hd{background:#fff!important;padding:14px 16px!important;border-bottom:1px solid #EEEEF0!important}
html body .chd .chd-ttl{font-size:17px!important}
html body .chd .chd-count{background:#FF5A00!important;color:#fff!important;border-radius:999px!important;font-size:12px!important;min-width:22px;height:22px;display:inline-grid;place-items:center;padding:0 6px}
html body .chd .chd-x{width:36px!important;height:36px!important;border-radius:50%!important;background:#F2F2F4!important;border:0!important}

/* phones: a bottom sheet with a grab handle */
.chd2-grip{display:none}
@media (max-width:640px){
  html body .chd.chd2-sheet{top:auto!important;bottom:0!important;inset-inline:0!important;width:100%!important;height:min(88vh,760px)!important;
    border-radius:22px 22px 0 0!important;transform:translateY(105%)!important;box-shadow:0 -14px 40px rgba(15,23,42,.22)!important;overflow:hidden}
  html body .chd.chd2-sheet.chd-on{transform:translateY(0)!important}
  .chd.chd2-sheet .chd2-grip{display:block;width:42px;height:5px;border-radius:5px;background:#D6D7DB;margin:8px auto 0;flex:none}
  html body .chd.chd2-sheet .chd-hd{border-radius:22px 22px 0 0;padding-top:8px!important}
}

/* celebration strip */
.chd2-cele{display:flex;align-items:center;gap:12px;margin:10px 12px 0;padding:10px 12px;border-radius:14px;
  background:linear-gradient(100deg,#E9F8EF,#F4FBF6);border:1px solid #CBEBD7;color:#0B5A2E}
.chd2-cele[hidden]{display:none}
.chd2-cele.is-on{animation:chd2Drop .5s cubic-bezier(.2,.9,.3,1.2)}
@keyframes chd2Drop{from{opacity:0;transform:translateY(-10px) scale(.97)}to{opacity:1;transform:none}}
.chd2-ck{position:relative;flex:none;width:34px;height:34px;border-radius:50%;background:#16A34A;color:#fff;display:grid;place-items:center;animation:chd2Pop .55s cubic-bezier(.3,1.6,.5,1)}
.chd2-ck svg{width:20px;height:20px}
@keyframes chd2Pop{0%{transform:scale(.2)}70%{transform:scale(1.15)}100%{transform:scale(1)}}
.chd2-spark{position:absolute;left:50%;top:50%;width:6px;height:6px;border-radius:2px;pointer-events:none}
.chd2-cele-tx{flex:1;min-width:0;display:flex;flex-direction:column}
.chd2-cele-tx b{font-size:14.5px;font-weight:800}
.chd2-cele-tx small{font-size:12px;color:#2F6B47}
.chd2-cele img{flex:none;width:42px;height:42px;border-radius:10px;object-fit:cover;background:#fff;box-shadow:0 0 0 2px #fff}

/* free shipping */
html body .chd .chd-ship{margin:10px 12px 0!important;padding:10px 12px 12px!important;background:#fff!important;border:1px solid #EEEEF0!important;border-radius:14px!important}
html body .chd .chd-ship-txt{font-size:13px!important;margin:0 0 9px!important;color:#3F434B!important}
html body .chd .chd-ship-txt b{color:#FF5A00}
html body .chd .chd-ship.chd-done .chd-ship-txt b{color:#0F7B3F}
html body .chd .chd-ship-track{position:relative!important;height:8px!important;border-radius:8px!important;background:#F0F0F2!important;overflow:visible!important}
html body .chd .chd-ship-fill{height:100%!important;border-radius:8px!important;background:linear-gradient(90deg,#FF8A3D,#FF5A00)!important;transition:width .7s cubic-bezier(.2,.8,.2,1)!important}
html body .chd .chd-ship.chd-done .chd-ship-fill{background:linear-gradient(90deg,#34D399,#16A34A)!important}
.chd2-truck{position:absolute;top:50%;width:26px;height:26px;margin-top:-13px;border-radius:50%;background:#fff;color:#FF5A00;display:grid;place-items:center;
  box-shadow:0 2px 8px rgba(20,22,28,.18);transition:inset-inline-start .7s cubic-bezier(.2,.8,.2,1)}
.chd-done .chd2-truck{color:#16A34A}
.chd2-truck svg{width:16px;height:16px}
[dir="rtl"] .chd2-truck svg{transform:scaleX(-1)}
.chd2-party{display:inline-block;animation:chd2Pop .6s cubic-bezier(.3,1.6,.5,1)}

/* items */
html body .chd .chd-body{padding:10px 12px 14px!important}
html body .chd .chd-list{display:grid;gap:10px;margin:0;padding:0}
html body .chd .chd2-li{position:relative;display:flex!important;gap:12px;padding:10px!important;background:#fff!important;border-radius:16px!important;border:1px solid #EEEEF0!important;
  align-items:stretch!important;transition:transform .25s ease,opacity .25s ease}
html body .chd .chd2-li.is-new{border:2px solid #FF5A00!important;box-shadow:0 6px 22px rgba(255,90,0,.14);animation:chd2In .55s cubic-bezier(.2,.9,.3,1.15)}
@keyframes chd2In{from{opacity:0;transform:translateY(-14px) scale(.96)}to{opacity:1;transform:none}}
html body .chd .chd2-img{flex:none;width:86px!important;height:86px!important;border-radius:12px!important;overflow:hidden;background:#F4F4F5}
html body .chd .chd2-img img{width:100%!important;height:100%!important;object-fit:cover!important}
html body .chd .chd2-info{flex:1;min-width:0;display:flex!important;flex-direction:column;gap:4px}
.chd2-new{align-self:flex-start;font-size:11px;font-weight:800;color:#fff;background:#FF5A00;border-radius:999px;padding:1px 8px}
html body .chd .chd2-nm{font-size:13.5px!important;font-weight:700!important;line-height:1.4!important;color:#16181D!important;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;text-decoration:none;padding-inline-end:24px}
.chd2-opts{display:flex;flex-wrap:wrap;gap:5px}
.chd2-opt{display:inline-flex;align-items:center;gap:5px;font-size:12px;font-weight:600;color:#3F434B;background:#F4F4F6;border-radius:999px;padding:2px 9px 2px 7px}
.chd2-opt em{font-style:normal;color:#8C919B;font-weight:500}
.chd2-opt i{width:12px;height:12px;border-radius:50%;box-shadow:inset 0 0 0 1px rgba(0,0,0,.15)}
html body .chd .chd2-row{display:flex!important;align-items:center;justify-content:space-between;gap:8px;margin-top:auto!important}
.chd2-pr{display:flex;align-items:baseline;gap:6px;direction:ltr;unicode-bidi:isolate}
html body .chd .chd2-pr .chd-price{font-size:16px!important;font-weight:900!important;color:#FF5A00!important}
.chd2-pr s{font-size:12px;color:#8C919B}
html body .chd .chd2-qty{display:inline-flex!important;align-items:center;height:32px;border-radius:999px!important;border:1.5px solid #E6E6EA!important;background:#fff!important;overflow:hidden}
html body .chd .chd2-qty button{width:30px!important;height:30px!important;border:0!important;background:none!important;font-size:17px!important;color:#16181D!important;cursor:pointer}
html body .chd .chd2-qty button:disabled{color:#C4C6CC!important}
html body .chd .chd2-qty span{min-width:22px;text-align:center;font-weight:800;font-size:14px}
html body .chd .chd2-rm{position:absolute!important;top:8px;inset-inline-end:8px;width:28px!important;height:28px!important;border-radius:50%!important;border:0!important;
  background:transparent!important;color:#A2A6AE!important;display:grid;place-items:center;padding:0!important;font-size:0!important}
html body .chd .chd2-rm:hover{background:#FDECEC!important;color:#C0262D!important}
.chd2-rm svg{width:16px;height:16px}

/* goes well with it */
.chd2-recs{margin-top:14px}
.chd2-recs[hidden]{display:none}
.chd2-recs h3{font-size:14px;font-weight:800;margin:0 2px 8px;color:#16181D}
.chd2-recs-row{display:flex;gap:8px;overflow-x:auto;scrollbar-width:none;padding-bottom:2px;scroll-snap-type:x mandatory}
.chd2-recs-row::-webkit-scrollbar{display:none}
.chd2-rc{flex:0 0 128px;scroll-snap-align:start;background:#fff;border-radius:14px;border:1px solid #EEEEF0;overflow:hidden;display:flex;flex-direction:column}
.chd2-rc-img{position:relative;display:block;aspect-ratio:1/1;background:#F4F4F5}
.chd2-rc-img img{width:100%;height:100%;object-fit:cover;display:block}
.chd2-rc-img span{position:absolute;top:5px;inset-inline-start:5px;background:#FF5A00;color:#fff;font-size:10.5px;font-weight:800;border-radius:4px;padding:1px 5px;direction:ltr}
.chd2-rc-nm{font-size:12px;line-height:1.35;color:#16181D;text-decoration:none;padding:6px 8px 0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.chd2-rc-ft{display:flex;align-items:center;justify-content:space-between;gap:4px;padding:4px 8px 8px}
.chd2-rc-ft b{font-size:13px;font-weight:900;color:#FF5A00;direction:ltr;unicode-bidi:isolate}
.chd2-rc-add{flex:none;min-width:28px;height:28px;border-radius:999px;border:0;background:#16181D;color:#fff;font:inherit;font-size:17px;font-weight:800;cursor:pointer;
  display:grid;place-items:center;text-decoration:none;padding:0 8px}
a.chd2-rc-add{font-size:11.5px}
.chd2-rc-add.is-busy{opacity:.5}

/* footer */
html body .chd .chd-ft{background:#fff!important;padding:12px 14px calc(12px + env(safe-area-inset-bottom,0px))!important;border-top:1px solid #EEEEF0!important;
  box-shadow:0 -8px 24px rgba(15,23,42,.06);display:flex!important;flex-direction:column;gap:8px}
html body .chd .chd-saved{display:flex;justify-content:space-between;align-items:center;background:#EAF7EF!important;color:#0F7B3F!important;border-radius:10px!important;padding:7px 10px!important;font-size:13px!important;font-weight:700}
html body .chd .chd-saved[hidden]{display:none!important}
html body .chd .chd-sum{display:flex;justify-content:space-between;align-items:baseline;font-size:14px!important;margin:0!important}
html body .chd .chd-sub{font-size:19px!important;font-weight:900!important;direction:ltr;unicode-bidi:isolate}
html body .chd .chd-btn-primary{display:flex!important;align-items:center;justify-content:center;gap:8px;height:54px!important;border-radius:16px!important;
  background:linear-gradient(90deg,#FF7A1A,#FF5A00)!important;color:#fff!important;font-size:16.5px!important;font-weight:900!important;text-decoration:none!important;
  box-shadow:0 8px 20px rgba(255,90,0,.30)!important;position:relative;overflow:hidden}
html body .chd .chd-btn-primary::after{content:"";position:absolute;inset:0;background:linear-gradient(110deg,transparent 30%,rgba(255,255,255,.35) 50%,transparent 70%);
  transform:translateX(-120%);animation:chd2Shine 2.8s ease-in-out 1s infinite}
@keyframes chd2Shine{0%,60%{transform:translateX(-120%)}100%{transform:translateX(120%)}}
.chd2-lock{display:inline-grid}
.chd2-lock svg{width:18px;height:18px}
.chd2-ck-tot{margin-inline-start:4px;padding-inline-start:10px;border-inline-start:1px solid rgba(255,255,255,.4);direction:ltr;unicode-bidi:isolate}
html body .chd .chd-btn-ghost{height:42px!important;border-radius:14px!important;font-weight:800!important;font-size:14px!important;display:flex!important;align-items:center;justify-content:center}
.chd2-pay{display:flex;justify-content:center}
.chd2-sec{display:inline-flex;align-items:center;gap:6px;font-size:12px;color:#6B7079;font-weight:600}
.chd2-sec svg{width:14px;height:14px;color:#16A34A}
@media (prefers-reduced-motion:reduce){.chd2-cele.is-on,.chd2-ck,.chd2-li.is-new,html body .chd .chd-btn-primary::after{animation:none!important}}
.chd2-btnrow{display:grid;grid-template-columns:1fr 1fr;gap:8px}
html body .chd .chd2-btnrow .chd-btn-ghost{margin:0!important;width:100%;height:44px!important;border:1.5px solid #E3E4E8!important;background:#fff!important;color:#16181D!important;cursor:pointer;font-family:inherit}
html body .chd .chd2-btnrow .chd-btn-ghost:hover{border-color:#16181D!important}
/* social icons with no address configured were dead "#" links */ .cf-soc[href="#"],.cf-soc[href=""]{display:none!important}
/* the drawer footer must stay hidden when the cart is empty (display:flex above overrode [hidden]) */ html body .chd .chd-ft[hidden],html body .chd .chd-ship[hidden],html body .chd .chd-list[hidden],html body .chd .chd-empty[hidden]{display:none!important}

/* ═══ Unified mobile header + search panel (shared by every page; was product-only) ═══ */
:root{--pdp2-brand:#FF5A00;--pdp2-brand-ink:#C2410C;--pdp2-brand-bg:#FFF4ED;--pdp2-ink:#16181D;--pdp2-ink2:#4B5060;--pdp2-ink3:#8A8F9C;--pdp2-line:#ECECEE}
/* ── mobile top bar (product page only) ───────────────────────────────── */
.pdp2-mtop{display:none}
@media (max-width:980px){
  .pdp2-mtop{display:flex;align-items:center;gap:6px;position:sticky;top:0;z-index:60;background:#fff;
    border-bottom:1px solid var(--pdp2-line);padding:8px 10px;padding-top:calc(8px + env(safe-area-inset-top,0px))}
  .pdp2-mtop-ic{flex:none;width:40px;height:40px;border-radius:12px;display:grid;place-items:center;color:var(--pdp2-ink);position:relative;text-decoration:none}
  .pdp2-mtop-ic svg{width:22px;height:22px}
  .pdp2-mtop-logo{flex:none;font-weight:800;font-size:17px;color:var(--pdp2-brand);text-decoration:none;letter-spacing:.2px;padding:0 2px}
  .pdp2-mtop-srch{flex:1;min-width:0;display:flex;align-items:center;gap:6px;height:38px;border-radius:999px;background:#F3F3F5;padding:0 12px}
  .pdp2-mtop-srch svg{width:17px;height:17px;flex:none;color:var(--pdp2-ink3)}
  .pdp2-mtop-srch input{flex:1;min-width:0;border:0;background:none;outline:0;font:inherit;font-size:14px;color:var(--pdp2-ink)}
  .pdp2-mtop-n{position:absolute;top:3px;inset-inline-end:2px;min-width:17px;height:17px;border-radius:9px;background:var(--pdp2-brand);
    color:#fff;font-size:11px;font-weight:800;display:grid;place-items:center;padding:0 4px;line-height:1}
}
@media (max-width:980px){
  .pdp2-mtop-srch{height:40px;padding:0 4px 0 12px;border:1.5px solid var(--pdp2-ink);background:#fff}
  [dir="rtl"] .pdp2-mtop-srch{padding:0 12px 0 4px}
  .pdp2-mtop-srch input::placeholder{color:#8C919B;transition:opacity .3s}
  .pdp2-s-cam{flex:none;width:32px;height:32px;border:0;border-radius:50%;background:none;color:var(--pdp2-ink2);display:grid;place-items:center;cursor:pointer}
  .pdp2-s-cam svg{width:19px;height:19px}
  .pdp2-sp{position:fixed;inset:calc(57px + env(safe-area-inset-top,0px)) 0 0 0;z-index:2147482000;background:#fff;overflow:auto;padding:12px 14px 30px}
  html.pdp2-sp-on,html.pdp2-sp-on body{overflow:hidden}
}
.pdp2-sp[hidden]{display:none!important}
@media (min-width:981px){.pdp2-sp{display:none!important}}
.pdp2-sp.is-busy{opacity:.6}
.pdp2-sp-sec{margin-bottom:16px}
.pdp2-sp-hd{display:flex;align-items:center;justify-content:space-between;margin-bottom:8px;font-size:14px}
.pdp2-sp-clr{border:0;background:none;color:var(--pdp2-ink3);font:inherit;font-size:13px;cursor:pointer}
.pdp2-sp-chips{display:flex;flex-wrap:wrap;gap:8px}
.pdp2-sp-chip{display:inline-block;padding:7px 13px;border-radius:999px;background:#F3F3F5;color:var(--pdp2-ink);font-size:13.5px;text-decoration:none;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.pdp2-sp-list{border-bottom:1px solid var(--pdp2-line);margin-bottom:12px}
.pdp2-sp-row{display:flex;align-items:center;gap:10px;padding:11px 2px;color:var(--pdp2-ink);text-decoration:none;font-size:14.5px}
.pdp2-sp-row svg{width:17px;height:17px;color:var(--pdp2-ink3);flex:none}
.pdp2-sp-prods{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px 8px;margin-bottom:12px}
.pdp2-sp-p{display:flex;flex-direction:column;gap:3px;text-decoration:none;color:var(--pdp2-ink);min-width:0}
.pdp2-sp-p img{width:100%;aspect-ratio:1/1;object-fit:cover;border-radius:10px;background:#F4F4F5}
.pdp2-sp-pn{font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.pdp2-sp-pp{font-size:13px;font-weight:800;color:var(--pdp2-brand)}
.pdp2-sp-pp s{font-weight:400;color:var(--pdp2-ink3);font-size:11px}
.pdp2-sp-all{display:block;text-align:center;padding:12px;border-radius:12px;background:#F6F6F7;color:var(--pdp2-ink);font-weight:800;text-decoration:none;font-size:14px}
.pdp2-sp-fix{font-size:13.5px;margin-bottom:10px;color:var(--pdp2-ink2)}
.pdp2-sp-fix a{color:var(--pdp2-brand-ink);font-weight:800}
.pdp2-sp-empty{color:var(--pdp2-ink3);font-size:14px;text-align:center;padding:30px 0}
.pdp2-sp-pp{direction:ltr;unicode-bidi:isolate;text-align:start}
@media (max-width:980px){
  .pdp2-mtop-cart{width:42px!important;height:42px!important;border-radius:50%!important;background:#F3F3F5;color:var(--pdp2-ink)!important;transition:background .15s}
  .pdp2-mtop-cart:active{background:#E8E8EB}
  .pdp2-mtop-cart svg{width:22px!important;height:22px!important}
  .pdp2-mtop-n{top:-2px!important;inset-inline-end:-3px!important;min-width:19px!important;height:19px!important;border-radius:10px!important;
    font-size:11px!important;border:2px solid #fff;box-shadow:0 1px 3px rgba(0,0,0,.15)}
}
@media (max-width:980px){
  /* compact header: one thin promo line + 48px bar */
  .m-promo-cell{padding:3px 6px!important}
  .m-promo-cell .sub{display:none!important}
  .m-promo-cell .title{font-size:11px!important;line-height:1.25!important}
  .m-promo-cell svg,.m-promo-ico{width:14px!important;height:14px!important}
  .pdp2-mtop{padding:5px 8px!important;gap:4px!important}
  .pdp2-mtop-ic{width:36px!important;height:36px!important}
  .pdp2-mtop-cart{width:38px!important;height:38px!important}
  .pdp2-mtop-logo{font-size:15px!important}
  .pdp2-mtop-srch{height:36px!important}
  /* gallery: never more than ~44% of the screen */
  .gal-main{aspect-ratio:auto!important;height:min(100vw, 44vh)!important;background:#fff!important}
  .gal-main .gal-slide img{object-fit:contain!important;width:100%!important;height:100%!important}
  .gal-slides,.gal-slide{height:100%!important}
  .info-col{padding:10px 12px 0!important}
  h1.prod-title{font-size:16px!important;line-height:1.4!important;margin:0 0 4px!important}
  .pdp2-card{margin:6px 0 8px!important;border-radius:14px!important;box-shadow:0 1px 2px rgba(20,22,28,.04)!important}
  .pdp2-body{padding:12px!important}
  .pdp2-price .pp-int{font-size:30px}
  .pdp2-price .pp-dec{font-size:18px}
  .pdp2-save{font-size:13px;margin-top:3px}
  .pdp2-card .var-block{margin-top:10px!important;padding-top:10px!important}
  /* the sticky bar is the buy action on phones; the in-page buttons would repeat it */
  .pdp2-card .pdp2-buyrow{margin-top:8px!important;grid-template-columns:auto!important;justify-content:start}
  .pdp2-card .pdp2-buyrow .pdp2-btn-cart,.pdp2-card .pdp2-buyrow .btn-buy{display:none!important}
  .pdp2-card .pdp2-buyrow .qty{height:40px!important}
  #temuShipBlock.temu-block{margin:8px 0!important}
  .pdp2-desc{padding:12px!important;margin-top:8px!important;border-radius:14px!important}
  .pdp2-desc-h,.pdp2-recs-hd h2{font-size:15px!important}
  .pdp2-desc-body{font-size:13.5px!important;line-height:1.65!important}
  .cq-card{padding:12px!important;border-radius:14px!important;margin:8px 0!important}
  .cq-title{font-size:15px!important}
  .cq-subtitle{display:none!important}
  .cq-item{padding:10px 12px!important;margin-top:6px!important;border-radius:12px!important}
  .cq-q-text{font-size:13.5px!important}
  .cq-q-icon{width:28px!important;height:28px!important;font-size:15px!important}
  .pdp2-recs,.pdp2-rv{margin-top:12px!important;padding:0 10px!important}
  /* sticky bar: compact, price on the side, safe area respected */
  html body #ch-cbar.pdp2-cbar-hide{transform:none!important}
  #ch-cbar .ch-cbar-btns{display:flex!important;align-items:center;gap:8px!important;padding:8px 10px calc(8px + env(safe-area-inset-bottom,0px))!important}
  #ch-cbar .ch-cbar-btn{height:44px!important;min-height:44px!important;font-size:14px!important;flex:1 1 0;padding:0 8px!important}
  #ch-cbar .ch-cbar-btn-buy{flex:1.25 1 0}
  #ch-cbar .ch-cbar-ship{display:none!important}
  .pdp2-cbar-price{flex:none;display:flex;flex-direction:column;line-height:1.1;padding-inline-end:2px;min-width:64px}
  .pdp2-cbar-now{display:inline-flex;align-items:baseline;color:var(--pdp2-brand);font-weight:900;direction:ltr;unicode-bidi:isolate}
  .pdp2-cbar-now .pp-int{font-size:19px}.pdp2-cbar-now .pp-dec{font-size:12px}.pdp2-cbar-now .pp-sym{font-size:11px;margin-inline-end:1px}.pdp2-cbar-now .pp-sym-after{margin-inline:2px 0}
  .pdp2-cbar-price s{font-size:11px;color:var(--pdp2-ink3);direction:ltr;unicode-bidi:isolate}
  body{padding-bottom:calc(64px + env(safe-area-inset-bottom,0px))!important}
}
.pdp2-spec-h{font-size:14px;font-weight:800;margin:12px 0 6px;color:var(--pdp2-ink)}
.pdp2-spec{width:100%;border-collapse:collapse;font-size:13px;margin-bottom:6px}
.pdp2-spec th,.pdp2-spec td{text-align:start;padding:7px 8px;border-bottom:1px solid #F0F0F2;vertical-align:top}
.pdp2-spec th{width:38%;color:var(--pdp2-ink3);font-weight:600}
.pdp2-spec td{color:var(--pdp2-ink);font-weight:600;overflow-wrap:anywhere}
.pdp2-spec tr:last-child th,.pdp2-spec tr:last-child td{border-bottom:0}
.pdp2-spec{width:100%!important;display:table!important;table-layout:fixed}
.pdp2-sp-cancel{flex:none;border:0;background:none;font:inherit;font-weight:800;font-size:14px;color:var(--pdp2-ink);padding:0 6px;cursor:pointer}
.pdp2-sp-cancel[hidden]{display:none}
html.pdp2-sp-on .pdp2-mtop-cart{display:none!important}
.chv-mhdr{display:none}
@media (max-width:980px){
  .chv-mhdr{display:flex!important;position:sticky;top:0;z-index:900;background:#fff;border-bottom:1px solid #EFEFF1}
  /* the home page's older orange header is replaced by this one */
  .m-wrap .m-top{display:none!important}
}
/* sticky needs a clip, not a scroll container: overflow-x:hidden on html/body
   silently disabled every sticky header on phones */
@supports (overflow:clip){html,body{overflow-x:clip!important}}
/* desktop top strip: the three offers + Track order + the app; help and selling live in the footer */
@media (min-width:981px){
  #perks .perks-r a[href="/help.php"],#perks .perks-r a[href="/sell.php"]{display:none!important}
  #perks .perks-r a[href="/help.php"] + .pr-dot,#perks .perks-r a[href="/sell.php"] + .pr-dot{display:none!important}
}
/* "More" menu in the category row */
.chv-more{position:relative;flex:none}
.chv-more-b{border:0;background:none;font:inherit;font-weight:700;font-size:14px;color:var(--pdp2-ink);padding:0 12px;height:42px;cursor:pointer;white-space:nowrap}
.chv-more-m{position:absolute;top:100%;inset-inline-end:0;z-index:950;min-width:200px;background:#fff;border-radius:12px;box-shadow:0 12px 32px rgba(20,22,28,.16);padding:6px;display:flex;flex-direction:column}
.chv-more-m[hidden]{display:none}
.chv-more-m a{padding:9px 12px!important;border-radius:8px;white-space:nowrap;height:auto!important}
.chv-more-m a:hover{background:#F5F5F6}
#ch-cat-nav .cat-nav-list:has(.chv-more){overflow:visible!important}

/* ═══ v5.2 — mobile black strip: the original three messages (icon, title, line),
   just tighter and tidier ═══ */
@media (max-width:980px){
  html body .m-promo{background:#111214!important;padding:0!important}
  html body .m-promo-row{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:0!important;animation:none!important;transform:none!important;width:auto!important}
  html body .m-promo-cell{display:flex!important;flex-direction:row!important;align-items:center!important;justify-content:flex-start!important;gap:6px!important;
    padding:5px 8px!important;min-width:0!important;max-width:none!important;border:0!important;border-inline-start:1px solid rgba(255,255,255,.09)!important;text-align:start!important}
  html body .m-promo-cell:first-child{border-inline-start:0!important}
  html body .m-promo-cell svg,html body .m-promo-ico,html body .m-promo-cell [class*="ico"]{display:grid!important;flex:none!important;width:22px!important;height:22px!important;border-radius:6px!important}
  html body .m-promo-cell [class*="ico"] svg{width:13px!important;height:13px!important}
  html body .m-promo-text{display:flex!important;flex-direction:column!important;align-items:flex-start!important;min-width:0!important;gap:0!important}
  html body .m-promo-cell .title{display:block!important;font-size:11px!important;font-weight:800!important;line-height:1.2!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;max-width:100%!important}
  html body .m-promo-cell .sub{display:block!important;font-size:9.5px!important;line-height:1.2!important;opacity:.65;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;max-width:100%!important}
}

/* home page: its older fixed header reserved 90px and hid the black strip; the unified header replaces both */
@media (max-width:980px){
  html:has(.m-wrap) body{padding-top:0!important}
  html:has(.m-wrap) .m-promo{display:block!important}
}
/* the home page script also set 90px on desktop, where its header is hidden */ html:has(.m-wrap) body{padding-top:0!important}

/* ═══ bottom tab bar on inner pages (phones) ═══ */
.chv-tabbar{display:none}
@media (max-width:980px){
  .chv-tabbar{display:grid;grid-template-columns:repeat(5,1fr);position:fixed;left:0;right:0;bottom:0;z-index:880;background:rgba(255,255,255,.97);
    backdrop-filter:saturate(1.4) blur(10px);-webkit-backdrop-filter:saturate(1.4) blur(10px);border-top:1px solid #ECECEE;padding:4px 0 calc(4px + env(safe-area-inset-bottom,0px))}
  .chv-tb{display:flex;flex-direction:column;align-items:center;gap:2px;padding:4px 0;color:#6B7079;text-decoration:none;font-size:10.5px;font-weight:700}
  .chv-tb svg{width:22px;height:22px}
  .chv-tb.on{color:#FF5A00}
  html:has(.chv-tabbar) body{padding-bottom:calc(62px + env(safe-area-inset-bottom,0px))!important}
}
/* while searching, the box takes the whole bar (logo and back step aside) */ @media (max-width:980px){html.pdp2-sp-on .chv-mhdr .pdp2-mtop-logo,html.pdp2-sp-on .chv-mhdr > .pdp2-mtop-ic:not(.pdp2-mtop-cart){display:none!important}html.pdp2-sp-on .chv-mhdr .pdp2-mtop-srch{flex:1 1 auto}}
@media (max-width:980px){html.pdp2-sp-on .chv-mhdr{gap:8px!important;padding-inline:10px!important}html.pdp2-sp-on .chv-mhdr .pdp2-mtop-srch{flex:1 1 0!important;min-width:0!important;width:auto!important;max-width:none!important;margin:0!important}html.pdp2-sp-on .chv-mhdr .pdp2-mtop-srch input{min-width:0!important;width:100%!important}.chv-mhdr .pdp2-sp-cancel{flex:none!important}}

/* ═══ home: trust row as a tidy 2×2 grid on phones (Arabic lines no longer squeeze into thin columns) ═══ */
@media (max-width:980px){
  .trust{display:grid!important;grid-template-columns:1fr 1fr!important;gap:8px!important;padding:10px 12px!important}
  .trust .trust-item{display:flex!important;align-items:center!important;gap:8px!important;padding:10px!important;border-radius:12px!important;background:#fff!important;border:1px solid #EFEFF1!important;min-width:0!important}
  .trust .trust-icon{flex:none!important;width:32px!important;height:32px!important;font-size:16px!important}
  .trust .trust-ttl{font-size:12.5px!important;font-weight:800!important;line-height:1.25!important}
  .trust .trust-sub{font-size:11px!important;line-height:1.3!important;color:#6B7079!important}
}

/* ═══ mobile home — app-style tabs and category circles (Temu colours) ═══ */
@media (max-width:980px){
  .chv-tabs{position:sticky!important;top:49px;z-index:850;display:flex!important;gap:2px!important;overflow-x:auto!important;scrollbar-width:none;background:#fff!important;
    border-bottom:1px solid #F0F0F2!important;padding:0 8px!important;height:42px!important;align-items:stretch!important;scroll-snap-type:x proximity;margin:0!important;
    -webkit-mask-image:linear-gradient(90deg,transparent 0,#000 14px,#000 calc(100% - 14px),transparent 100%);mask-image:linear-gradient(90deg,transparent 0,#000 14px,#000 calc(100% - 14px),transparent 100%)}
  .chv-tabs::-webkit-scrollbar{display:none}
  .chv-tabs a{flex:none!important;display:inline-flex!important;align-items:center!important;gap:3px;padding:0 11px!important;font-size:14px!important;font-weight:600!important;color:#5C6170!important;
    text-decoration:none!important;position:relative;scroll-snap-align:center;white-space:nowrap;border:0!important;background:none!important;height:auto!important}
  .chv-tabs a.on{color:#16181D!important;font-weight:800!important;font-size:15px!important}
  .chv-tabs a.on::after{content:"";position:absolute;left:11px;right:11px;bottom:4px;height:3px;border-radius:3px;background:#FB7701}
  .chv-tabs-ic{font-size:13px}
  /* category circles: two neat rows, swipe sideways */
  #mob-subcats{background:#fff!important;padding:10px 0 6px!important;margin:0 0 8px!important}
  #mob-subcats .mob-subcats-row{display:grid!important;grid-auto-flow:column!important;grid-template-rows:repeat(2,auto)!important;grid-auto-columns:76px!important;
    gap:10px 2px!important;overflow-x:auto!important;scrollbar-width:none;padding:0 10px!important;scroll-snap-type:x proximity}
  #mob-subcats .mob-subcats-row::-webkit-scrollbar{display:none}
  #mob-subcats .msc-item{display:flex!important;flex-direction:column!important;align-items:center!important;gap:5px!important;text-decoration:none!important;scroll-snap-align:start;width:76px!important;min-width:0!important}
  #mob-subcats .msc-circle{width:58px!important;height:58px!important;border-radius:50%!important;overflow:hidden!important;background:#F6F6F7!important;display:grid!important;place-items:center!important;
    box-shadow:inset 0 0 0 1px #EDEDF0!important;border:0!important}
  #mob-subcats .msc-circle img{width:100%!important;height:100%!important;object-fit:cover!important}
  #mob-subcats .msc-all-circle{background:linear-gradient(135deg,#FF8A1F,#FB5A00)!important;color:#fff!important;box-shadow:none!important}
  #mob-subcats .msc-all-circle svg{width:24px;height:24px}
  #mob-subcats .msc-letter{font-size:22px;font-weight:900;color:#FB7701}
  #mob-subcats .msc-label{font-size:11.5px!important;font-weight:600!important;color:#2F333B!important;line-height:1.25!important;text-align:center!important;max-width:72px;
    display:-webkit-box!important;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden!important;white-space:normal!important}
  #mob-subcats .msc-item.on .msc-label{color:#FB7701!important;font-weight:800!important}
  #mob-subcats .msc-dots{display:none!important}
}
@media (max-width:980px){#mob-subcats{height:auto!important;max-height:none!important;overflow:visible!important}#mob-subcats .mob-subcats-row{height:auto!important;max-height:none!important}}
@media (max-width:980px){html body #mob-tab-strip.chv-tabs{position:sticky!important;top:49px!important;z-index:850!important}}

/* ═══ bottom tab bar v2 — one bar on every page (the home page's own bar is retired) ═══ */
@media (max-width:980px){
  .mob-nav{display:none!important}
  html body .chv-tabbar{box-shadow:0 -4px 16px rgba(20,22,28,.06);border-top:0!important;padding-top:5px!important}
  html body .chv-tb{position:relative;gap:3px!important;font-size:10.5px!important;font-weight:700!important;color:#7A7F8A!important;-webkit-tap-highlight-color:transparent;transition:color .15s}
  html body .chv-tb svg{width:23px!important;height:23px!important;transition:transform .18s}
  html body .chv-tb:active svg{transform:scale(.86)}
  html body .chv-tb.on{color:#FB7701!important}
  html body .chv-tb.on svg{stroke-width:2.3}
  html body .chv-tb.on:not(.chv-tb-cart) svg{fill:rgba(251,119,1,.14)}
  html body .chv-tb.on::before{content:"";position:absolute;top:-5px;left:50%;width:22px;height:3px;margin-left:-11px;border-radius:0 0 3px 3px;background:#FB7701}
  .chv-tb-ic{position:relative;display:inline-grid}
  .chv-tb-n{position:absolute;top:-6px;inset-inline-end:-10px;min-width:17px;height:17px;padding:0 4px;border-radius:9px;background:#FB3B00;color:#fff;font-size:10px;font-weight:900;
    display:grid;place-items:center;border:2px solid #fff;font-style:normal;line-height:1}
}

/* ═══ mobile header v3 (Temu layout): logo · search · ☰ catalog · account · cart ═══ */
.chv-sr{position:absolute!important;width:1px!important;height:1px!important;margin:-1px!important;padding:0!important;overflow:hidden!important;clip:rect(0 0 0 0)!important;white-space:nowrap!important;border:0!important}
@media (max-width:980px){
  html body .chv-mhdr{gap:4px!important;padding:6px 8px!important}
  html body .chv-mhdr .pdp2-mtop-srch{flex:1 1 0!important;min-width:0!important}
  html body .chv-mhdr .pdp2-mtop-ic{flex:none;width:36px!important;height:36px!important;border-radius:50%;display:grid;place-items:center;background:none!important;color:#16181D}
  html body .chv-mhdr .pdp2-mtop-ic svg{width:24px!important;height:24px!important}
  html body .chv-mhdr .pdp2-mtop-ic:active{background:#F2F2F4!important}
  html body .chv-mhdr .pdp2-mtop-logo{font-size:19px!important;margin-inline-end:2px}
  html.pdp2-sp-on .chv-mhdr .chv-mh-menu,html.pdp2-sp-on .chv-mhdr .chv-mh-acc{display:none!important}
}
/* very narrow phones on inner pages: the back arrow + logo + 3 icons don't leave room to search */
@media (max-width:374px){ html body .chv-mhdr:not(.is-home) .pdp2-mtop-logo{display:none!important} }
/* inner pages: back arrow instead of the logo, so search keeps its width (home keeps the logo) */ @media (max-width:980px){html body .chv-mhdr:not(.is-home) .pdp2-mtop-logo{display:none!important}}
@media (max-width:980px){html body .chv-mhdr.is-home .pdp2-mtop-logo{font-size:17px!important;letter-spacing:-.3px}html body .chv-mhdr .pdp2-mtop-ic{width:33px!important;height:33px!important}html body .chv-mhdr .pdp2-mtop-ic svg{width:22px!important;height:22px!important}html body .chv-mhdr{gap:3px!important}}

/* ═══ "Why choose ChinaHub?" — slim green bar + facts sheet (Temu pattern) ═══ */
.chw{padding:0 10px 8px;background:#fff}
@media (min-width:981px){.chw{max-width:1280px;margin:12px auto 0;padding:0 24px;background:none}}
.chw-bar{display:flex;align-items:center;justify-content:space-between;gap:10px;width:100%;height:40px;padding:0 12px;border:0;border-radius:10px;background:#2E8B2E;color:#fff;font:inherit;cursor:pointer;-webkit-tap-highlight-color:transparent}
.chw-bar:active{filter:brightness(.95)}
.chw-l{display:flex;align-items:center;gap:7px;font-size:14px;font-weight:800;white-space:nowrap}
.chw-l svg{width:19px;height:19px;flex:none}
.chw-r{display:flex;align-items:center;gap:4px;font-size:13px;font-weight:600;min-width:0}
.chw-r svg{width:15px;height:15px;flex:none}
.chw-rot{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;transition:opacity .2s,transform .2s}
.chw-rot.out{opacity:0;transform:translateY(-6px)}
.chw-wrap{position:fixed;inset:0;z-index:2147483200}
.chw-wrap[hidden]{display:none}
.chw-bg{position:absolute;inset:0;background:rgba(12,13,16,.5);opacity:0;transition:opacity .2s}
.chw-box{position:absolute;left:0;right:0;bottom:0;max-width:480px;margin:0 auto;max-height:86vh;overflow:auto;background:#fff;border-radius:20px 20px 0 0;padding:20px 16px calc(16px + env(safe-area-inset-bottom,0px));transform:translateY(105%);transition:transform .26s cubic-bezier(.2,.8,.2,1)}
@media (min-width:700px){.chw-box{bottom:auto;top:50%;border-radius:20px;transform:translateY(-45%) scale(.97);opacity:0;transition:transform .24s,opacity .2s}.chw-wrap.on .chw-box{transform:translateY(-50%) scale(1);opacity:1}}
.chw-wrap.on .chw-bg{opacity:1}.chw-wrap.on .chw-box{transform:none}
@media (min-width:700px){.chw-wrap.on .chw-box{transform:translateY(-50%) scale(1)}}
html.chw-lock,html.chw-lock body{overflow:hidden}
.chw-x{position:absolute;top:10px;inset-inline-end:10px;width:34px;height:34px;border-radius:50%;border:0;background:#F2F2F4;font-size:22px;cursor:pointer}
.chw-h{font-size:18px;font-weight:900;margin:2px 0 12px;color:#16181D}
.chw-list{display:grid;gap:8px}
.chw-it{display:flex;gap:10px;padding:12px;border-radius:14px;background:#F7F8FA}
.chw-ic{flex:none;width:36px;height:36px;border-radius:50%;background:#fff;display:grid;place-items:center;font-size:18px}
.chw-it b{display:block;font-size:14.5px;color:#16181D;margin-bottom:2px}
.chw-it > div > span{display:block;font-size:13px;color:#4B5060;line-height:1.5}
.chw-it > div > em{display:block;font-style:normal;font-size:12.5px;color:#2E7D32;font-weight:700;margin-top:4px;line-height:1.5}
.chw-it em a{color:#FB7701;text-decoration:none}
/* why sheet v2: SVG icons, payment logos, buttons */
.chw-h{display:flex;align-items:center;gap:8px}
.chw-hm{width:30px;height:30px;border-radius:50%;background:#E8F5E9;color:#2E8B2E;display:grid;place-items:center}
.chw-hm svg{width:18px;height:18px}
.chw-ic{color:#16181D}
.chw-ic svg{width:20px;height:20px}
.chw-ic.is-pay{background:#E8F5E9!important;color:#2E8B2E}
.chw-ic.is-ship{background:#FFF1E6!important;color:#FB7701}
.chw-ic.is-ret{background:#EAF2FF!important;color:#2563EB}
.chw-ic.is-help{background:#F1EAFE!important;color:#7C3AED}
.chw-it{background:#fff!important;border:1px solid #EFEFF1}
.chw-sm{display:block;font-size:11.5px;font-weight:700;color:#8A8F9C;margin:8px 0 6px}
.chw-pms{display:flex;flex-wrap:wrap;gap:6px}
.chw-pm{display:inline-grid;place-items:center;height:28px;min-width:44px;padding:0 6px;border-radius:6px;background:#fff;box-shadow:inset 0 0 0 1px #E3E4E8}
.chw-pm img{height:18px;max-width:52px;object-fit:contain}
.chw-pm em{font-style:normal;font-size:11px;font-weight:800;color:#2F333B;white-space:nowrap}
.chw-cod{background:#EAF7EF;box-shadow:inset 0 0 0 1px #CBEBD7}.chw-cod em{color:#0F7B3F}
.chw-btns{display:flex;flex-wrap:wrap;gap:6px;margin-top:8px}
.chw-b{display:inline-flex;align-items:center;height:32px;padding:0 12px;border-radius:999px;background:#F2F2F4;color:#16181D;font-size:12.5px;font-weight:800;text-decoration:none}
.chw-b.is-wa{background:#25D366;color:#fff}

/* ═══ SVG icons instead of emoji; bold tabs (home) ═══ */
.chv-i{width:1em;height:1em;flex:none;vertical-align:-.12em}
.chv-tabs .chv-i{width:14px;height:14px;margin-inline-end:3px}
.chv-tabs a:nth-child(2) .chv-i{color:#FB7701}
.chv-tabs a:nth-child(3) .chv-i{color:#F04438}
@media (max-width:980px){
  html body .mpg-tabs .mpg-tab{display:inline-flex!important;align-items:center!important;gap:4px!important;font-weight:800!important;font-size:14px!important;color:#5C6170!important}
  html body .mpg-tabs .mpg-tab.on{color:#16181D!important}
  html body .mpg-tabs .mpg-tab .chv-i{width:15px;height:15px}
  html body .mpg-tabs .mpg-tab:nth-child(2) .chv-i{color:#FB7701}
  html body .mpg-tabs .mpg-tab:nth-child(3) .chv-i{color:#F5B400}
  html body .mpg-tabs .mpg-tab:nth-child(4) .chv-i{color:#FB7701}
  html body .mpg-tabs .mpg-tab:nth-child(5) .chv-i{color:#7C3AED}
}
.dc-title{display:inline-flex!important;align-items:center;gap:5px;font-weight:900!important}
.dc-title .chv-i{width:16px;height:16px}
.mpg-banner-ic{display:grid;place-items:center;width:30px;height:30px;border-radius:50%;background:rgba(255,255,255,.22);color:#fff}
.mpg-banner-ic .chv-i{width:17px;height:17px}
.mfl-bolt .chv-i{width:16px;height:16px;color:#FB7701}

/* ═══ mobile header v4: logo next to search on every page; no back arrow (the phone has its own) ═══ */
@media (max-width:980px){
  html body .chv-mhdr > a.pdp2-mtop-ic:not(.chv-mh-menu):not(.chv-mh-acc):not(.pdp2-mtop-cart){display:none!important}
  html body .chv-mhdr .pdp2-mtop-logo,html body .chv-mhdr:not(.is-home) .pdp2-mtop-logo{display:inline-flex!important;font-size:17px!important;letter-spacing:-.3px}
}
@media (max-width:359px){ html body .chv-mhdr .pdp2-mtop-logo{font-size:15px!important} html body .chv-mhdr .chv-mh-acc{display:none!important} }
/* wishlist heart (SVG) */
.wish-f{display:grid!important;place-items:center!important;color:#16181D}
.wish-f.is-on{color:#F04438}
.wish-f svg{width:20px;height:20px}
/* FAQ icons (SVG) */
.cq-q-icon svg{width:18px;height:18px;color:#FB7701}
.cq-check-ic svg{display:block}
.chd-empty-ic{color:#C9CCD2}
.chv-hot{display:inline-flex;color:#F04438;margin-inline-end:3px}
.chv-mhdr .pdp2-mtop-logo{direction:ltr!important;unicode-bidi:isolate!important}

/* ═══ payment logos: always inside their box, whatever size the logo file is
   (some site-wide image rules and large logo files were pushing them out) ═══ */
.chw-it > div > span{display:block}
html body .chw-pms .chw-pm,html body .pdp2-pm{display:inline-flex!important;align-items:center!important;justify-content:center!important;flex:none!important;
  width:46px!important;height:30px!important;padding:0 4px!important;box-sizing:border-box!important;overflow:hidden!important;border-radius:6px!important;background:#fff!important;
  box-shadow:inset 0 0 0 1px #E3E4E8!important;font-size:inherit!important;line-height:1!important;vertical-align:middle}
html body .chw-pms .chw-pm img,html body .pdp2-pm img{display:block!important;position:static!important;transform:none!important;margin:0!important;
  width:auto!important;height:auto!important;max-width:100%!important;max-height:20px!important;object-fit:contain!important;border-radius:0!important}
html body .chw-pms .chw-pm:has(em),html body .pdp2-pm:has(em){width:auto!important;min-width:46px!important;padding:0 8px!important}
html body .chw-pms .chw-pm em,html body .pdp2-pm em{display:block!important;font-style:normal!important;font-size:11px!important;font-weight:800!important;color:#2F333B!important;white-space:nowrap!important}
html body .chw-pms .chw-cod{background:#EAF7EF!important;box-shadow:inset 0 0 0 1px #CBEBD7!important}
html body .chw-pms .chw-cod em{color:#0F7B3F!important}
html body .pdp2-ib-pays .pdp2-pm{width:40px!important;height:26px!important}
html body .pdp2-ib-pays .pdp2-pm img{max-height:17px!important}
html body .pdp2-shp-i .pdp2-pm{width:42px!important;height:26px!important}
/* footer logos */
html body .cf2-pay-logos img{display:block!important;width:auto!important;height:24px!important;max-width:44px!important;object-fit:contain!important}

/* ═══ why sheet v3 — icons centred in their circles; payment logos as an even grid of cards ═══ */
html body .chw-it{display:flex!important;align-items:flex-start!important;gap:12px!important;padding:14px!important;border-radius:16px!important}
html body .chw-it .chw-ic{display:flex!important;align-items:center!important;justify-content:center!important;flex:none!important;width:40px!important;height:40px!important;border-radius:50%!important;padding:0!important;line-height:0!important}
html body .chw-it .chw-ic svg{display:block!important;width:20px!important;height:20px!important;margin:0!important}
html body .chw-it > div{flex:1;min-width:0;padding-top:1px}
html body .chw-pms{display:grid!important;grid-template-columns:repeat(auto-fill,minmax(54px,1fr))!important;gap:6px!important;margin-top:2px}
html body .chw-pms .chw-pm{display:flex!important;width:100%!important;height:34px!important;padding:4px 6px!important;border-radius:8px!important;background:#fff!important;box-shadow:inset 0 0 0 1px #E6E7EB!important}
html body .chw-pms .chw-pm img{width:100%!important;height:100%!important;max-width:100%!important;max-height:100%!important;object-fit:contain!important}
html body .chw-pms .chw-pm:has(em){min-width:0!important;padding:0 6px!important}
html body .chw-pms .chw-cod{grid-column:span 2}
html body .chw-sm{margin:10px 0 6px!important}
@media (min-width:700px){html body .chw-pms{grid-template-columns:repeat(6,1fr)!important}}
html body .chw-pms .chw-pm.is-wide{grid-column:span 2}html body .chw-pms .chw-pm em{overflow:hidden;text-overflow:ellipsis;max-width:100%}
/* flag button (country · language · currency) in the phone header */
.chv-mh-flag{border:0;background:none;padding:0;cursor:pointer}
html body .chv-mhdr .chv-mh-flag img{width:22px!important;height:22px!important;border-radius:50%!important;object-fit:cover!important;box-shadow:0 0 0 1.5px #E3E4E8}
@media (max-width:389px){ html body .chv-mhdr .chv-mh-acc{display:none!important} }   /* "Me" is in the bottom bar */

/* ═══ Region & language sheet ═══ */
.chl{position:fixed;inset:0;z-index:2147483300;font-family:inherit;color:#16181D}
.chl[hidden]{display:none}
.chl-bg{position:absolute;inset:0;background:rgba(12,13,16,.48);opacity:0;transition:opacity .2s}
.chl-box{position:absolute;left:0;right:0;bottom:0;margin:0 auto;max-width:520px;height:min(86vh,680px);background:#fff;border-radius:20px 20px 0 0;overflow:hidden;
  transform:translateY(102%);transition:transform .28s cubic-bezier(.2,.8,.2,1);display:flex;flex-direction:column;padding-bottom:env(safe-area-inset-bottom,0px)}
@media (min-width:700px){.chl-box{bottom:auto;top:50%;border-radius:20px;height:min(80vh,640px);transform:translateY(-46%) scale(.98);opacity:0;transition:transform .24s,opacity .2s}
  .chl.on .chl-box{transform:translateY(-50%) scale(1);opacity:1}}
.chl.on .chl-bg{opacity:1}.chl.on .chl-box{transform:none}
@media (min-width:700px){.chl.on .chl-box{transform:translateY(-50%) scale(1)}}
html.chl-lock,html.chl-lock body{overflow:hidden}
.chl-views{flex:1;min-height:0;display:flex}
.chl-v{flex:1;min-width:0;display:flex;flex-direction:column;animation:chlIn .22s ease}
.chl-v.from-r{animation-name:chlInR}
@keyframes chlIn{from{opacity:0;transform:translateX(-12px)}to{opacity:1;transform:none}}
@keyframes chlInR{from{opacity:0;transform:translateX(12px)}to{opacity:1;transform:none}}
[dir=rtl] .chl-v{animation-name:chlInR}[dir=rtl] .chl-v.from-r{animation-name:chlIn}
.chl-hd{display:flex;align-items:center;gap:8px;padding:16px 16px 10px}
.chl-hd h2{flex:1;margin:0;font-size:18px;font-weight:900;letter-spacing:-.2px}
.chl-x,.chl-back{flex:none;width:36px;height:36px;border-radius:50%;border:0;background:#F2F2F4;display:grid;place-items:center;cursor:pointer;font-size:22px;line-height:1;color:#16181D}
.chl-back svg{width:20px;height:20px}
.chl-rows{margin:4px 16px 0;border:1px solid #ECECEE;border-radius:16px;overflow:hidden}
.chl-row{display:flex;align-items:center;gap:10px;width:100%;min-height:58px;padding:10px 14px;border:0;background:#fff;font:inherit;text-align:start;cursor:pointer;color:inherit}
.chl-row + .chl-row{border-top:1px solid #F0F0F2}
.chl-row:not(.is-static):hover{background:#FAFAFB}
.chl-row:focus-visible,.chl-it:focus-visible,.chl-btn:focus-visible{outline:2px solid #FB7701;outline-offset:-2px}
.chl-k{flex:none;width:96px;font-size:13px;color:#6B7079;font-weight:600}
.chl-v2{flex:1;min-width:0;display:flex;align-items:center;gap:8px}
.chl-v2 b{font-size:15px;font-weight:800;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.chl-v2 small{font-size:12.5px;color:#6B7079;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.chl-chev{flex:none;width:18px;height:18px;color:#B5B8C0}
.chl-tag{flex:none;font-size:11px;font-weight:700;color:#6B7079;background:#F2F2F4;border-radius:999px;padding:3px 8px}
.chl-flag{flex:none;width:24px!important;height:24px!important;border-radius:50%!important;object-fit:cover!important;box-shadow:0 0 0 1px rgba(0,0,0,.08);background:#F2F2F4}
.chl-note{margin:12px 18px 0;font-size:12.5px;line-height:1.6;color:#6B7079}
.chl-ft{margin-top:auto;display:flex;gap:8px;padding:14px 16px 16px;border-top:1px solid #F0F0F2}
.chl-btn{flex:1;height:48px;border:0;border-radius:14px;background:#FB7701;color:#fff;font:inherit;font-weight:900;font-size:15px;cursor:pointer}
.chl-btn:disabled{background:#F4D7C0;cursor:default}
.chl-btn.is-ghost{flex:0 0 34%;background:#F2F2F4;color:#16181D}
.chl-srch{display:flex;align-items:center;gap:8px;margin:0 16px 8px;height:44px;padding:0 12px;border-radius:12px;background:#F4F5F7}
.chl-srch svg{width:18px;height:18px;color:#8A8F9C;flex:none}
.chl-srch input{flex:1;min-width:0;border:0;background:none;font:inherit;font-size:15px;outline:none;color:#16181D}
.chl-items{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:0 8px 12px}
.chl-letter{position:sticky;top:0;z-index:1;background:#fff;padding:10px 10px 4px;font-size:12px;font-weight:900;color:#8A8F9C}
.chl-it{display:flex;align-items:center;gap:12px;width:100%;min-height:52px;padding:8px 10px;border:0;border-radius:12px;background:none;font:inherit;text-align:start;cursor:pointer;color:inherit}
.chl-it:hover{background:#F7F8FA}
.chl-it.on{background:#FFF4EC}
.chl-n{flex:1;min-width:0;display:flex;flex-direction:column;font-size:15px;font-weight:700}
.chl-n small{font-size:12px;font-weight:500;color:#8A8F9C}
.chl-cur{flex:none;font-size:12px;font-weight:700;color:#6B7079}
.chl-code{flex:none;width:32px;height:24px;border-radius:6px;background:#F2F2F4;display:grid;place-items:center;font-size:11px;font-weight:900;color:#4B5060}
.chl-check{flex:none;width:18px;height:18px;color:#FB7701}
.chl-none{text-align:center;color:#8A8F9C;padding:30px 0}
/* the old picker never opens now */
.picker,.picker-overlay{display:none!important}
@media (max-width:420px){.chl-tag{display:none}.chl-k{width:84px}}
/* drawer: coupon + total */
html body .chd .chd-cpn{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:6px 10px;margin:2px 0 6px;border-radius:10px;background:#EAF7EF;color:#0B5A2E;font-size:13px}
html body .chd .chd-cpn[hidden],html body .chd .chd-sum-t[hidden]{display:none!important}
html body .chd .chd-cpn > span{display:inline-flex;align-items:center;gap:6px}
html body .chd .chd-cpn code{font-family:ui-monospace,Menlo,monospace;font-weight:900;font-size:12px}
html body .chd .chd-cpn b{font-weight:900}
html body .chd .chd-sum-t{border-top:1px dashed #E3E4E8;padding-top:8px;margin-top:2px}
html body .chd .chd-sum-t b{font-size:19px;font-weight:900}
/* header fits logo + search + 4 icons on 390px phones */
@media (max-width:980px){
  html body .chv-mhdr{gap:2px!important;padding:6px 6px!important}
  html body .chv-mhdr .pdp2-mtop-ic{width:31px!important;height:31px!important}
  html body .chv-mhdr .pdp2-mtop-ic svg{width:21px!important;height:21px!important}
  html body .chv-mhdr .chv-mh-flag img{width:20px!important;height:20px!important}
  html body .chv-mhdr .pdp2-mtop-logo,html body .chv-mhdr.is-home .pdp2-mtop-logo{font-size:16px!important;margin-inline-end:2px!important}
  html body .chv-mhdr .pdp2-mtop-srch input{font-size:14px!important}
  html body .chv-mhdr .pdp2-s-cam{display:none!important}   /* the camera button comes back when the box has room */
}
@media (min-width:420px) and (max-width:980px){ html body .chv-mhdr .pdp2-s-cam{display:grid!important} }

/* ═══ Region & language v2 — a centred card on every screen (phones too); Save sits right under the settings ═══ */
html body .chl-box{top:50%!important;bottom:auto!important;left:50%!important;right:auto!important;margin:0!important;
  width:min(92vw,440px)!important;max-width:none!important;height:auto!important;max-height:min(86vh,640px)!important;border-radius:22px!important;
  transform:translate(-50%,-46%) scale(.96)!important;opacity:0;transition:transform .24s cubic-bezier(.2,.8,.2,1),opacity .2s!important;padding-bottom:0!important;
  box-shadow:0 24px 60px rgba(12,13,16,.28)}
html body .chl.on .chl-box{transform:translate(-50%,-50%) scale(1)!important;opacity:1}
html body .chl-box.is-list{height:min(78vh,600px)!important}
html body .chl-main .chl-ft{margin-top:0!important;border-top:0!important;padding:14px 16px 18px!important}
html body .chl-main .chl-note{margin:12px 18px 0!important;text-align:center}
html body .chl-main .chl-hd{padding:18px 16px 8px!important}
html body .chl-main .chl-hd h2{text-align:center;padding-inline-start:36px}   /* centred title, balanced against the close button */
html body .chl-main .chl-btn{height:50px}
@media (max-width:380px){ html body .chl-k{width:76px!important} }

/* ═══ cart drawer — desktop v3: calm, tidy, one clear action ═══ */
@media (min-width:641px){
  html body .chd{width:440px!important;max-width:100vw!important;border-radius:18px 0 0 18px!important;box-shadow:-18px 0 48px rgba(12,13,16,.18)!important}
  html[dir="rtl"] body .chd{border-radius:0 18px 18px 0!important;box-shadow:18px 0 48px rgba(12,13,16,.18)!important}
  html body .chd .chd-hd{padding:16px 18px!important;border-bottom:1px solid #F0F0F2!important;background:#fff!important}
  html body .chd .chd-ttl{font-size:18px!important;font-weight:900!important;letter-spacing:-.2px}
  html body .chd .chd-count{min-width:22px!important;height:22px!important;font-size:12px!important;background:#FF5A00!important}
  html body .chd .chd-x{width:36px!important;height:36px!important;border-radius:50%!important;background:#F2F2F4!important;border:0!important;box-shadow:none!important;outline:none!important;color:#16181D!important}
  html body .chd .chd-x:hover{background:#E8E8EB!important}
  html body .chd .chd-x:focus-visible{outline:2px solid #FB7701!important;outline-offset:2px}
  html body .chd .chd-body{background:#fff!important;padding:0 18px!important}
  /* "added" note: one quiet line that folds away after a few seconds */
  html body .chd .chd2-cele{margin:12px 0 4px!important;padding:8px 10px!important;border-radius:12px!important;min-height:0!important;box-shadow:none!important;
    animation:chdCeleOut .35s ease 3.6s forwards}
  html body .chd .chd2-cele .chd2-cele-tx b,html body .chd .chd2-cele .chd2-cele-tx strong{font-size:14px!important}
  html body .chd .chd2-cele .chd2-cele-tx span,html body .chd .chd2-cele .chd2-cele-tx small{display:none!important}
  html body .chd .chd2-spark{display:none!important}
  @keyframes chdCeleOut{to{opacity:0;max-height:0;margin:0;padding-top:0;padding-bottom:0;overflow:hidden}}
  html body .chd .chd-ship{margin:8px 0 2px!important;padding:10px 12px!important;border-radius:12px!important;background:#F7F8FA!important;border:0!important;box-shadow:none!important}
  html body .chd .chd-ship-txt{font-size:13px!important}
  /* items: a clean list, no boxes */
  html body .chd .chd-list{margin:6px 0 0!important}
  html body .chd .chd2-li{border:0!important;border-bottom:1px solid #F0F0F2!important;border-radius:0!important;box-shadow:none!important;padding:14px 0!important;margin:0!important;background:none!important;
    display:grid!important;grid-template-columns:76px minmax(0,1fr) auto!important;gap:12px!important;align-items:start!important}
  html body .chd .chd2-li.chd2-new{animation:chdNewFade 2.4s ease}
  @keyframes chdNewFade{0%{background:#FFF4EC}100%{background:transparent}}
  html body .chd .chd2-img{width:76px!important;height:76px!important;border-radius:12px!important;background:#F6F6F7!important;border:1px solid #F0F0F2!important;overflow:hidden}
  html body .chd .chd2-img img{width:100%!important;height:100%!important;object-fit:contain!important}
  html body .chd .chd2-nm{font-size:13.5px!important;font-weight:700!important;line-height:1.4!important;-webkit-line-clamp:2!important}
  html body .chd .chd2-opts{margin-top:4px!important}
  html body .chd .chd2-opt{font-size:11.5px!important;background:#F4F5F7!important;border-radius:999px!important;padding:2px 8px!important}
  html body .chd .chd2-row{margin-top:8px!important;display:flex!important;align-items:center!important;justify-content:space-between!important;gap:8px}
  html body .chd .chd2-pr{font-size:15px!important;font-weight:900!important;color:#FF5A00!important}
  html body .chd .chd2-qty{height:32px!important;border-radius:999px!important;border:1.5px solid #E3E4E8!important;background:#fff!important}
  html body .chd .chd2-qty button{width:30px!important;font-size:16px!important}
  html body .chd .chd2-rm{width:30px!important;height:30px!important;border-radius:50%!important;background:none!important;color:#8A8F9C!important}
  html body .chd .chd2-rm:hover{background:#FEF3F2!important;color:#D92D20!important}
  /* recommendations: smaller, one tidy row */
  html body .chd .chd2-recs{margin:14px 0 8px!important;padding:0!important;background:none!important;border:0!important}
  html body .chd .chd2-recs h3,html body .chd .chd2-recs .chd2-sec{font-size:14px!important;font-weight:900!important;margin:0 0 8px!important}
  html body .chd .chd2-rc{width:118px!important;flex:0 0 118px!important;border-radius:12px!important;border:1px solid #F0F0F2!important;box-shadow:none!important}
  html body .chd .chd2-rc-img{height:110px!important}
  html body .chd .chd2-rc-nm{font-size:12px!important}
  /* footer: totals, one strong button, two quiet links */
  html body .chd .chd-ft{padding:12px 18px 16px!important;border-top:1px solid #F0F0F2!important;background:#fff!important;box-shadow:0 -10px 24px rgba(12,13,16,.05)!important}
  html body .chd .chd-saved{display:flex!important;justify-content:space-between!important;background:none!important;padding:0 0 4px!important;font-size:13px!important;color:#0F7B3F!important;border:0!important}
  html body .chd .chd-sum{display:flex!important;justify-content:space-between!important;align-items:baseline!important;padding:4px 0!important}
  html body .chd .chd-sum b{font-size:20px!important;font-weight:900!important}
  html body .chd .chd-btn-primary,html body .chd .chd2-ck{height:52px!important;border-radius:14px!important;font-size:16px!important;font-weight:900!important;margin-top:10px!important}
  html body .chd .chd2-btnrow{display:flex!important;justify-content:center!important;gap:18px!important;margin-top:8px!important}
  html body .chd .chd2-btnrow .chd-btn,html body .chd .chd-btn-ghost{height:auto!important;padding:6px 4px!important;border:0!important;background:none!important;box-shadow:none!important;
    color:#4B5060!important;font-size:13.5px!important;font-weight:800!important;text-decoration:underline;text-underline-offset:3px}
  html body .chd .chd2-btnrow .chd-btn:hover{color:#16181D!important}
  html body .chd .chd2-lock,html body .chd .chd2-pay{font-size:11.5px!important;color:#8A8F9C!important;margin-top:6px!important}
}
@media (min-width:641px){
  html body .chd .chd2-li.is-new{border:0!important;border-bottom:1px solid #F0F0F2!important;border-radius:0!important;animation:chdNewFade 2.4s ease}
  html body .chd .chd-body > *{box-shadow:none}
}
@media (min-width:641px){
  html body .chd,html body .chd .chd-body,html body .chd .chd-list{background:#fff!important}
  html body .chd .chd2-cele{max-height:80px;overflow:hidden}
  html body .chd .chd-ship{margin-top:12px!important}
}

/* drawer nudges — friendly, never alarming */
.chd2-notes{display:flex;flex-wrap:wrap;gap:5px;margin-top:5px}
.chd2-note{font-size:11.5px;font-weight:800;border-radius:6px;padding:2px 7px}
.chd2-note.is-drop{background:#EAF7EF;color:#0B5A2E}
.chd2-note.is-left{background:#FFF4E5;color:#8A4B00}
.chd2-rc{position:relative}
.chd2-rc.is-closes{border-color:#9ED8B4!important;box-shadow:0 0 0 1px #9ED8B4!important}
.chd2-rc-tag{position:absolute;top:6px;inset-inline-start:6px;z-index:2;background:#0F7B3F;color:#fff;font-size:10px;font-weight:900;border-radius:999px;padding:2px 7px;max-width:calc(100% - 12px);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.chd2-arr{display:flex;align-items:center;gap:7px;font-size:13px;color:#0B5A2E;padding:2px 0 6px}
.chd2-arr[hidden]{display:none}
.chd2-arr svg{width:16px;height:16px;flex:none}
/* welcome-back note */
.ch-wb{position:fixed;z-index:2147482000;left:50%;bottom:calc(76px + env(safe-area-inset-bottom,0px));transform:translate(-50%,24px);opacity:0;transition:transform .3s,opacity .3s;
  display:flex;align-items:center;gap:10px;max-width:min(560px,calc(100vw - 20px));padding:10px 10px 10px 14px;border-radius:14px;background:#16181D;color:#fff;font-size:13.5px;box-shadow:0 12px 30px rgba(12,13,16,.28)}
.ch-wb.on{transform:translate(-50%,0);opacity:1}
.ch-wb a{flex:none;background:#FB7701;color:#fff;font-weight:900;border-radius:10px;padding:8px 12px;text-decoration:none;white-space:nowrap}
.ch-wb button{flex:none;width:28px;height:28px;border:0;border-radius:50%;background:rgba(255,255,255,.12);color:#fff;font-size:16px;cursor:pointer}
@media (min-width:981px){.ch-wb{bottom:24px}}
/* drawer: almost-gone items */
html body .chd .chd2-note.is-left{background:linear-gradient(90deg,#FF5A1F,#FF8A3D)!important;color:#fff!important;font-weight:900;box-shadow:0 2px 6px rgba(255,90,31,.25)}
html body .chd .chd2-li.is-low{background:linear-gradient(90deg,rgba(255,138,61,.07),transparent 60%)!important}
.chd2-lownote{display:flex;align-items:center;gap:7px;margin:10px 0 2px;padding:9px 12px;border-radius:12px;background:#FFF1E6;border:1px solid #FFD2B0;color:#9A3A00;font-size:13px;line-height:1.4}
.chd2-lownote svg{flex:none;color:#FF5A1F;animation:chdFlick 1.6s ease-in-out infinite}
@keyframes chdFlick{0%,100%{transform:scale(1)}50%{transform:scale(1.15)}}
.chd2-li.chd2-shake .chd2-img{animation:chdShake .6s cubic-bezier(.36,.07,.19,.97)}
@keyframes chdShake{10%,90%{transform:translateX(-1px) rotate(-1deg)}20%,80%{transform:translateX(2px) rotate(1.5deg)}30%,50%,70%{transform:translateX(-4px) rotate(-2.5deg)}40%,60%{transform:translateX(4px) rotate(2.5deg)}}

/* ═══ cart drawer — phone v3: the products get the room ═══ */
@media (max-width:640px){
  html body .chd{height:min(92dvh,92vh)!important;max-height:none!important;border-radius:20px 20px 0 0!important;background:#fff!important}
  html body .chd .chd-hd{padding:12px 14px!important;border-bottom:1px solid #F0F0F2!important}
  html body .chd .chd-ttl{font-size:17px!important}
  html body .chd .chd-x{width:34px!important;height:34px!important;background:#F2F2F4!important;border:0!important;box-shadow:none!important;outline:none!important}
  html body .chd .chd-x:focus-visible{outline:2px solid #FB7701!important}
  html body .chd .chd-body{background:#fff!important;padding:0 14px!important;flex:1 1 auto!important;min-height:0!important;overflow-y:auto!important}
  /* "added" note: one line, folds away */
  html body .chd .chd2-cele{margin:10px 0 4px!important;padding:7px 10px!important;border-radius:12px!important;max-height:64px;overflow:hidden;animation:chdCeleOut .35s ease 3s forwards}
  html body .chd .chd2-cele .chd2-cele-tx span,html body .chd .chd2-cele .chd2-cele-tx small,html body .chd .chd2-cele img,html body .chd .chd2-cele .chd2-cele-img{display:none!important}
  html body .chd .chd2-cele .chd2-cele-tx b,html body .chd .chd2-cele .chd2-cele-tx strong{font-size:14px!important}
  /* free shipping: one slim line */
  html body .chd .chd-ship{margin:8px 0 2px!important;padding:8px 10px!important;border-radius:10px!important;background:#F7F8FA!important;border:0!important;box-shadow:none!important}
  html body .chd .chd-ship-txt{font-size:12.5px!important;margin-bottom:5px!important}
  html body .chd .chd-ship .chd-bar,html body .chd .chd-ship [class*="bar"]{height:5px!important}
  html body .chd .chd-ship [class*="truck"],html body .chd .chd-ship .chd2-truck{width:22px!important;height:22px!important}
  /* items: clean list, room to breathe */
  html body .chd .chd2-li,html body .chd .chd2-li.is-new{border:0!important;border-bottom:1px solid #F0F0F2!important;border-radius:0!important;box-shadow:none!important;padding:12px 0!important;margin:0!important;
    display:grid!important;grid-template-columns:72px minmax(0,1fr)!important;gap:10px!important;background:none!important}
  html body .chd .chd2-li.is-low{background:linear-gradient(90deg,rgba(255,138,61,.08),transparent 70%)!important}
  html body .chd .chd2-img{width:72px!important;height:72px!important;border-radius:12px!important}
  html body .chd .chd2-nm{font-size:13.5px!important;-webkit-line-clamp:2!important}
  html body .chd .chd2-recs{margin:12px 0 6px!important}
  html body .chd .chd2-rc{width:108px!important;flex:0 0 108px!important}
  html body .chd .chd2-rc-img{height:100px!important}
  /* footer: saved + arrival on one line, the button carries the total */
  html body .chd .chd-ft{padding:8px 14px calc(10px + env(safe-area-inset-bottom,0px))!important;border-top:1px solid #F0F0F2!important;box-shadow:0 -8px 20px rgba(12,13,16,.06)!important;background:#fff!important}
  html body .chd .chd-saved{display:flex!important;justify-content:space-between;align-items:center;background:none!important;border:0!important;padding:0!important;margin:0 0 2px!important;font-size:12.5px!important;color:#0F7B3F!important}
  html body .chd .chd2-arr{font-size:12.5px!important;padding:2px 0 4px!important}
  html body .chd .chd-sum-s{display:none!important}   /* the total is on the button */
  html body .chd .chd-cpn{margin:2px 0 4px!important;padding:5px 9px!important;font-size:12.5px!important}
  html body .chd .chd-sum-t b{font-size:17px!important}
  html body .chd .chd-btn-primary,html body .chd .chd2-ck{height:50px!important;border-radius:14px!important;margin-top:6px!important;font-size:15.5px!important}
  html body .chd .chd2-btnrow{display:flex!important;justify-content:center!important;gap:22px!important;margin-top:4px!important}
  html body .chd .chd2-btnrow .chd-btn,html body .chd .chd-btn-ghost{height:auto!important;padding:6px 2px!important;border:0!important;background:none!important;box-shadow:none!important;
    color:#4B5060!important;font-size:13px!important;font-weight:800!important;text-decoration:underline;text-underline-offset:3px}
  html body .chd .chd2-lock,html body .chd .chd2-pay{display:none!important}
  html body .chd .chd2-lownote{margin:8px 0 2px!important;padding:7px 10px!important;font-size:12.5px!important}
}
@media (max-width:640px),(hover:none){html body .chd .chd-x:focus,html body .chd .chd-x:focus-visible{outline:none!important;box-shadow:none!important}}

/* drawer: compact rows so three or more items fit without scrolling */
html body .chd .chd2-li,html body .chd .chd2-li.is-new{grid-template-columns:64px minmax(0,1fr)!important;gap:10px!important;padding:10px 0!important}
html body .chd .chd2-img{width:64px!important;height:64px!important}
html body .chd .chd2-nm{font-size:13px!important;line-height:1.35!important;-webkit-line-clamp:2!important}
html body .chd .chd2-notes{margin-top:3px!important}
html body .chd .chd2-row{margin-top:5px!important}
html body .chd .chd2-pr{font-size:14.5px!important}
html body .chd .chd2-qty{height:28px!important}
html body .chd .chd2-qty button{width:26px!important}
html body .chd .chd2-was{font-size:11.5px!important}
@media (max-width:640px){
  html body .chd .chd-ship{padding:6px 10px!important;margin-top:6px!important}
  html body .chd .chd2-lownote{margin:6px 0 0!important;padding:6px 10px!important}
  html body .chd .chd-saved{display:none!important}   /* the savings show on each item; the button carries the total */
  html body .chd .chd2-recs{margin-top:8px!important}
}
@media (max-width:640px){
  html body .chd .chd2-nm{-webkit-line-clamp:1!important;display:-webkit-box!important;overflow:hidden!important}
  html body .chd .chd2-li,html body .chd .chd2-li.is-new{padding:9px 0!important}
  html body .chd .chd2-opts{margin-top:2px!important}
}

/* ═══ drawer footer — dense summary (arrival · subtotal · coupon · saved · total), then one button ═══ */
html body .chd .chd-ft{display:flex!important;flex-direction:column!important;gap:0!important;padding:8px 14px calc(10px + env(safe-area-inset-bottom,0px))!important}
html body .chd .chd-ft > *{margin-top:0!important;margin-bottom:0!important}
html body .chd .chd-ft .chd2-arr{order:1;font-size:12px!important;padding:0 0 6px!important;margin-bottom:4px!important;border-bottom:1px dashed #ECECEE}
html body .chd .chd-ft .chd2-arr svg{width:14px!important;height:14px!important}
html body .chd .chd-ft .chd-sum-s{order:2;display:flex!important}
html body .chd .chd-ft .chd-cpn{order:3}
html body .chd .chd-ft .chd-saved{order:4;display:flex!important}
html body .chd .chd-ft .chd-sum-t{order:5}
html body .chd .chd-ft .chd-btn-primary,html body .chd .chd-ft .chd2-ck{order:6;margin-top:8px!important}
html body .chd .chd-ft .chd2-btnrow,html body .chd .chd-ft .chd-btn-ghost{order:7}
html body .chd .chd-ft .chd2-lock,html body .chd .chd-ft .chd2-pay{order:8}
/* every summary row: one compact line, label left, amount right */
html body .chd .chd-ft .chd-sum,html body .chd .chd-ft .chd-cpn,html body .chd .chd-ft .chd-saved{justify-content:space-between!important;align-items:center!important;gap:8px!important;
  padding:1px 0!important;min-height:0!important;background:none!important;border:0!important;border-radius:0!important;font-size:12.5px!important;line-height:1.5!important}
html body .chd .chd-ft .chd-sum-s span,html body .chd .chd-ft .chd-sum-s b{font-size:12.5px!important;font-weight:600!important;color:#4B5060!important}
html body .chd .chd-ft .chd-cpn{color:#0F7B3F!important}
html body .chd .chd-ft .chd-cpn > span{gap:4px!important}
html body .chd .chd-ft .chd-cpn code{font-size:11px!important;background:#EAF7EF;border-radius:4px;padding:0 5px}
html body .chd .chd-ft .chd-cpn b{font-weight:800!important}
html body .chd .chd-ft .chd-saved{color:#0F7B3F!important;font-weight:700}
html body .chd .chd-ft .chd-saved b{font-weight:800!important}
html body .chd .chd-ft .chd-sum-t{border-top:1px solid #F0F0F2!important;margin-top:3px!important;padding-top:4px!important}
html body .chd .chd-ft .chd-sum-t span{font-size:13.5px!important;font-weight:900!important;color:#16181D!important}
html body .chd .chd-ft .chd-sum-t b{font-size:17px!important;font-weight:900!important}
html body .chd .chd-ft .chd-sum b,html body .chd .chd-ft .chd-cpn b,html body .chd .chd-ft .chd-saved b{direction:ltr;unicode-bidi:isolate}
html body .chd .chd-ft .chd2-btnrow{margin-top:2px!important}
/* with no coupon the subtotal is the total: show it as the total line */
html body .chd .chd-ft .chd-sum-t[hidden] ~ .chd-sum-s,html body .chd .chd-ft:not(:has(.chd-sum-t:not([hidden]))) .chd-sum-s span{font-weight:900!important;color:#16181D!important;font-size:13.5px!important}
html body .chd .chd-ft:not(:has(.chd-sum-t:not([hidden]))) .chd-sum-s b{font-size:17px!important;font-weight:900!important;color:#16181D!important}
html body .chd .chd-ft:not(:has(.chd-sum-t:not([hidden]))) .chd-sum-s{order:5;border-top:1px solid #F0F0F2!important;margin-top:3px!important;padding-top:4px!important}

/* items: neat rows — picture, name, options, price with the old price, quantity on the same line */
html body .chd .chd-list{margin:4px 0 0!important}
html body .chd .chd2-li{align-items:center!important}
html body .chd .chd2-li .chd2-row{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:8px!important}
html body .chd .chd2-li .chd2-pr{white-space:nowrap}
html body .chd .chd2-li .chd2-was{color:#A0A4AD!important;text-decoration:line-through;font-size:11px!important;margin-inline-start:4px}
html body .chd .chd2-li .chd2-rm{opacity:.7}
@media (max-width:640px){
  html body .chd .chd-ft .chd-sum,html body .chd .chd-ft .chd-cpn,html body .chd .chd-ft .chd-saved{font-size:12px!important;line-height:1.35!important}
  html body .chd .chd-ft .chd-sum-s span,html body .chd .chd-ft .chd-sum-s b{font-size:12px!important}
  html body .chd .chd-ft .chd-sum-t b{font-size:15px!important}
  html body .chd .chd-ft .chd2-arr{padding-bottom:4px!important;margin-bottom:3px!important}
  html body .chd .chd-ft .chd-btn-primary,html body .chd .chd-ft .chd2-ck{height:46px!important;margin-top:6px!important}
  html body .chd .chd-ft .chd2-btnrow .chd-btn{padding:4px 2px!important}
}

/* ═══ drawer items — dense: as many products on screen as possible ═══ */
html body .chd .chd2-li,html body .chd .chd2-li.is-new,html body .chd .chd2-li.is-low{grid-template-columns:52px minmax(0,1fr)!important;gap:9px!important;padding:7px 0!important;align-items:center!important}
html body .chd .chd2-img{width:52px!important;height:52px!important;border-radius:9px!important}
html body .chd .chd2-nm{font-size:12.5px!important;font-weight:700!important;line-height:1.3!important;-webkit-line-clamp:1!important;display:-webkit-box!important;overflow:hidden!important;margin:0!important}
html body .chd .chd2-opts{margin-top:1px!important;gap:3px!important}
html body .chd .chd2-opt{font-size:10.5px!important;padding:0 6px!important;line-height:1.6!important}
html body .chd .chd2-notes{margin-top:2px!important;gap:3px!important}
html body .chd .chd2-note{font-size:10.5px!important;padding:0 6px!important;line-height:1.6!important;border-radius:5px!important}
html body .chd .chd2-row{margin-top:3px!important;gap:6px!important}
html body .chd .chd2-pr{font-size:13.5px!important}
html body .chd .chd2-li .chd2-was{font-size:10.5px!important}
html body .chd .chd2-qty{height:24px!important;border-width:1px!important}
html body .chd .chd2-qty button{width:24px!important;font-size:14px!important}
html body .chd .chd2-qty span{font-size:12.5px!important;min-width:18px!important}
html body .chd .chd2-rm{width:24px!important;height:24px!important}
html body .chd .chd2-rm svg{width:14px!important;height:14px!important}
html body .chd .chd2-tag,html body .chd .chd2-li .chd2-new-tag,html body .chd .chd2-li [class*="just"]{font-size:9.5px!important;padding:0 5px!important;line-height:1.6!important}
/* the strip above the list stays slim */
html body .chd .chd-ship{padding:5px 10px!important;margin:6px 0 2px!important}
html body .chd .chd-ship-txt{font-size:12px!important;margin-bottom:3px!important}
html body .chd .chd2-lownote{margin:5px 0 2px!important;padding:5px 9px!important;font-size:12px!important;line-height:1.35!important}
html body .chd .chd2-lownote svg{width:14px!important;height:14px!important}
html body .chd .chd2-recs h3,html body .chd .chd2-recs .chd2-sec{font-size:13px!important;margin-bottom:6px!important}

/* ═══ prices always read left-to-right (JOD 21.27), also inside Arabic cards ═══ */
.pc-now,.pc-was,.pc2-now,.pc2-was,.prc-now,.prc-was,.pdp2-price,.pdp2-was,.pdp2-cbar-now,.chd2-pr,.chd2-was,.cr-item-price,.cr-price,.pc2-cur,
[class*="-price-now"],[class*="price-old"],.dd-price,.mfl-price,.mpg-price,.dc-price,.fs-price,.msc-price,.srch-dd-row .price{
  direction:ltr!important;unicode-bidi:isolate!important;display:inline-flex;align-items:baseline;white-space:nowrap}
.pc-save,.pc2-save{unicode-bidi:plaintext}

/* ═══════════════════════════════════════════════════════════════════════
   CART DRAWER v4 — tidier, roomier, easier
   grey canvas + white item cards · bigger photos · trash in its own corner ·
   summary in reading order (subtotal → coupon → total → you saved) · one clear button
   ═══════════════════════════════════════════════════════════════════════ */
#chdDrawer{--d-pad:16px;--d-ink:#16181D;--d-ink2:#4B5060;--d-ink3:#8A8F9C;--d-line:#EEEFF1;--d-bg:#F5F5F6;--d-or:#FB7701;--d-or2:#FF5A00;--d-green:#0F7B3F;background:var(--d-bg)!important}
@media (min-width:761px){#chdDrawer{width:min(460px,100vw)!important;box-shadow:-24px 0 60px rgba(10,12,18,.18)!important;border-radius:0!important}}
/* header */
#chdDrawer .chd-hd{background:#fff!important;padding:14px var(--d-pad)!important;border-bottom:1px solid var(--d-line)!important;min-height:0!important}
#chdDrawer .chd-ttl{display:flex;align-items:center;gap:8px;font-size:18px!important;font-weight:900!important;color:var(--d-ink)!important;margin:0}
#chdDrawer .chd-ttl svg{width:22px;height:22px;color:var(--d-or)}
#chdDrawer .chd-count{min-width:22px;height:22px;padding:0 7px;border-radius:999px;background:var(--d-or2);color:#fff;font-size:12px;font-weight:900;display:inline-grid;place-items:center}
#chdDrawer .chd-x{width:36px!important;height:36px!important;border-radius:50%!important;background:#F2F2F4!important;border:0!important;color:var(--d-ink)!important;font-size:15px!important;display:grid;place-items:center;transition:background .15s}
#chdDrawer .chd-x:hover{background:#E8E8EB!important}
/* free-shipping progress: a slim card, nothing hanging off the edge */
#chdDrawer .chd-ship{margin:12px var(--d-pad) 0!important;padding:10px 12px!important;background:#fff!important;border-radius:12px!important;border:1px solid var(--d-line)!important}
#chdDrawer .chd-ship-txt{margin:0 0 7px!important;font-size:13px!important;color:var(--d-ink2)!important}
#chdDrawer .chd-ship.chd-done .chd-ship-txt b{color:var(--d-green)!important}
#chdDrawer .chd-ship-track{position:relative;height:6px!important;border-radius:6px!important;background:#EEEFF1!important;overflow:visible}
#chdDrawer .chd-ship-fill{height:100%;border-radius:6px!important;background:linear-gradient(90deg,#22C55E,#16A34A)!important}
#chdDrawer .chd2-truck{display:none!important}
/* body */
#chdDrawer .chd-body{background:var(--d-bg)!important;padding:10px var(--d-pad) 14px!important}
#chdDrawer .chd2-lownote{display:flex!important;align-items:center;gap:8px;margin:0 0 10px!important;padding:8px 12px!important;border-radius:10px!important;background:#FFF4EC!important;border:1px solid #FFE1CC!important;color:#B44700!important;font-size:12.5px!important;line-height:1.45}
#chdDrawer .chd2-lownote svg{flex:none;width:15px;height:15px}
#chdDrawer .chd2-lownote b{color:#9A3412}
#chdDrawer .chd-list{display:flex!important;flex-direction:column;gap:8px!important;margin:0!important;padding:0!important}
/* each item: a white card — photo | name (2 lines) · options · price + quantity — trash in the corner */
#chdDrawer .chd-li{position:relative!important;display:grid!important;grid-template-columns:78px minmax(0,1fr)!important;gap:12px!important;align-items:start;padding:10px!important;margin:0!important;background:#fff!important;border:1px solid var(--d-line)!important;border-radius:14px!important;box-shadow:none!important}
#chdDrawer .chd-li::after,#chdDrawer .chd-li::before{display:none!important}
#chdDrawer .chd-img{width:78px!important;height:78px!important;border-radius:10px!important;overflow:hidden;background:#F4F5F7!important;border:0!important;display:block}
#chdDrawer .chd-img img{width:100%!important;height:100%!important;object-fit:cover!important}
#chdDrawer .chd-info{min-width:0;display:flex;flex-direction:column;gap:6px;padding-inline-end:26px}
#chdDrawer .chd-nm{display:-webkit-box!important;-webkit-line-clamp:2!important;line-clamp:2;-webkit-box-orient:vertical!important;overflow:hidden!important;white-space:normal!important;text-overflow:clip!important;max-height:none!important;height:auto!important;font-size:13.5px!important;font-weight:700!important;line-height:1.35!important;color:var(--d-ink)!important;text-decoration:none}
#chdDrawer .chd-nm:hover{color:var(--d-or2)!important}
#chdDrawer .chd2-opts{display:flex;flex-wrap:wrap;gap:4px}
#chdDrawer .chd2-opt{display:inline-flex;align-items:center;gap:5px;padding:2px 8px!important;border-radius:6px!important;background:#F4F5F7!important;font-size:11.5px!important;color:var(--d-ink2)!important}
#chdDrawer .chd-row{display:flex!important;align-items:center;justify-content:space-between;gap:8px;margin-top:auto}
#chdDrawer .chd2-pr{display:flex;align-items:baseline;gap:6px;flex-wrap:wrap;direction:ltr}
#chdDrawer .chd-price{font-size:16px!important;font-weight:900!important;color:var(--d-or2)!important}
#chdDrawer .chd2-pr s{font-size:12px!important;color:var(--d-ink3)!important}
#chdDrawer .chd-qty{flex:none;display:inline-flex!important;align-items:center;height:32px!important;border:1px solid #E3E4E8!important;border-radius:999px!important;background:#fff!important;overflow:hidden}
#chdDrawer .chd-qty button{width:32px!important;height:32px!important;border:0!important;background:none!important;color:var(--d-ink)!important;font-size:17px!important;font-weight:700!important;cursor:pointer;display:grid;place-items:center}
#chdDrawer .chd-qty button:hover:not(:disabled){background:#F4F5F7!important}
#chdDrawer .chd-qty button:disabled{color:#C9CBD1!important;cursor:default}
#chdDrawer .chd-qty span{min-width:22px;text-align:center;font-size:14px!important;font-weight:800!important}
#chdDrawer .chd-rm{position:absolute!important;top:8px!important;inset-inline-end:8px!important;width:28px!important;height:28px!important;border-radius:8px!important;border:0!important;background:none!important;color:#A2A6AF!important;display:grid!important;place-items:center;cursor:pointer;margin:0!important}
#chdDrawer .chd-rm:hover{background:#FEF3F2!important;color:#D92D20!important}
#chdDrawer .chd-rm svg{width:16px!important;height:16px!important}
/* footer — summary in reading order, then one clear button */
#chdDrawer .chd-ft{display:flex!important;flex-direction:column;gap:0;background:#fff!important;padding:12px var(--d-pad) calc(12px + env(safe-area-inset-bottom,0px))!important;border-top:1px solid var(--d-line)!important;box-shadow:0 -10px 24px rgba(10,12,18,.06)!important}
#chdDrawer .chd2-arr{order:1;display:flex!important;align-items:center;gap:6px;margin:0 0 8px!important;padding:0 0 8px!important;border-bottom:1px dashed var(--d-line);font-size:12.5px!important;color:var(--d-ink2)!important}
#chdDrawer .chd2-arr svg{width:15px;height:15px;color:var(--d-green)}
#chdDrawer .chd2-arr b{color:var(--d-ink)}
#chdDrawer .chd-sum-s{order:2}
#chdDrawer .chd-cpn{order:3}
#chdDrawer .chd-sum-t{order:4}
#chdDrawer .chd-saved{order:5}
#chdDrawer [data-chd="checkout"]{order:6}
#chdDrawer .chd2-btnrow{order:7}
#chdDrawer .chd2-pay{order:8}
#chdDrawer .chd-sum,#chdDrawer .chd-cpn{display:flex!important;align-items:center;justify-content:space-between;gap:10px;padding:3px 0!important;margin:0!important;font-size:13.5px!important;color:var(--d-ink2)!important;border:0!important}
#chdDrawer .chd-cpn[hidden],#chdDrawer .chd-sum[hidden],#chdDrawer .chd-saved[hidden]{display:none!important}
#chdDrawer .chd-sum b,#chdDrawer .chd-cpn b{color:var(--d-ink)!important;font-weight:800!important;direction:ltr}
#chdDrawer .chd-cpn{color:var(--d-green)!important}
#chdDrawer .chd-cpn b{color:var(--d-green)!important}
#chdDrawer .chd-cpn code{padding:1px 6px;border-radius:5px;background:#EAF7EF;color:var(--d-green);font-size:11.5px;font-weight:800}
#chdDrawer .chd-sum-t{margin-top:6px!important;padding-top:8px!important;border-top:1px solid var(--d-line)!important;font-size:15px!important;color:var(--d-ink)!important;font-weight:800}
#chdDrawer .chd-sum-t b{font-size:20px!important;font-weight:900!important}
/* when there is no coupon, the subtotal is the total — make it look like one */
#chdDrawer .chd-ft:has(.chd-sum-t[hidden]) .chd-sum-s{font-size:15px!important;color:var(--d-ink)!important;font-weight:800;padding-top:2px!important}
#chdDrawer .chd-ft:has(.chd-sum-t[hidden]) .chd-sum-s b{font-size:20px!important;font-weight:900!important}
#chdDrawer .chd-saved{display:flex!important;align-self:flex-end;align-items:center;gap:5px;margin:4px 0 2px!important;padding:3px 10px!important;border-radius:999px!important;background:#EAF7EF!important;color:var(--d-green)!important;font-size:12.5px!important;font-weight:700!important;border:0!important}
#chdDrawer .chd-saved b{color:var(--d-green)!important;font-weight:900!important;direction:ltr}
#chdDrawer [data-chd="checkout"]{display:flex!important;align-items:center;justify-content:center;gap:10px;height:52px!important;margin:10px 0 0!important;border-radius:14px!important;background:linear-gradient(90deg,var(--d-or),var(--d-or2))!important;color:#fff!important;font-size:16px!important;font-weight:900!important;text-decoration:none;box-shadow:0 10px 22px rgba(255,90,0,.28)!important;transition:transform .12s,box-shadow .15s}
#chdDrawer [data-chd="checkout"]:hover{box-shadow:0 12px 26px rgba(255,90,0,.36)!important}
#chdDrawer [data-chd="checkout"]:active{transform:scale(.99)}
#chdDrawer .chd2-ck-tot{padding-inline-start:10px;border-inline-start:1px solid rgba(255,255,255,.4);direction:ltr}
#chdDrawer .chd2-lock svg{width:15px;height:15px;opacity:.9}
#chdDrawer .chd2-btnrow{display:flex!important;gap:8px;margin:8px 0 0!important}
#chdDrawer .chd2-btnrow .chd-btn{flex:1;height:40px!important;display:flex!important;align-items:center;justify-content:center;border-radius:12px!important;border:1px solid #E3E4E8!important;background:#fff!important;color:var(--d-ink)!important;font-size:13.5px!important;font-weight:800!important;text-decoration:none!important;margin:0!important}
#chdDrawer .chd2-btnrow .chd-btn:hover{border-color:var(--d-ink)!important}
#chdDrawer .chd2-pay{margin-top:8px!important;text-align:center}
#chdDrawer .chd2-sec{display:inline-flex;align-items:center;gap:5px;font-size:11.5px!important;color:var(--d-ink3)!important}
#chdDrawer .chd2-sec svg{width:12px;height:12px}
/* recommendations inside the drawer keep the same card feel */
#chdDrawer .chd2-recs-row{gap:8px}
@media (max-width:760px){
  #chdDrawer{--d-pad:12px}
  #chdDrawer .chd-li{grid-template-columns:70px minmax(0,1fr)!important;gap:10px!important;padding:9px!important}
  #chdDrawer .chd-img{width:70px!important;height:70px!important}
  #chdDrawer .chd2-btnrow .chd2-cont{display:none!important}
}

/* ═══ CART DRAWER v4.1 — phones with short screens (Safari bars) ═══
   the item always shows · no glare on the button · "Added" strip inside the margins */
#chdDrawer [data-chd="checkout"]::before,#chdDrawer [data-chd="checkout"]::after,#chdDrawer .chd-btn::before,#chdDrawer .chd-btn::after{display:none!important;content:none!important;animation:none!important}
#chdDrawer [data-chd="checkout"]{background:linear-gradient(90deg,#FB7701,#FF5A00)!important;background-size:100% 100%!important;animation:none!important}
#chdDrawer .chd2-cele{display:flex!important;align-items:center;gap:8px;margin:10px var(--d-pad) 0!important;padding:7px 10px!important;border-radius:12px!important;background:#EAF7EF!important;border:1px solid #BFE6CD!important;width:auto!important;box-sizing:border-box;overflow:hidden;animation:none!important}
#chdDrawer .chd2-cele[hidden]{display:none!important}
#chdDrawer .chd2-ck{flex:none;width:24px!important;height:24px!important;border-radius:50%!important;background:#16A34A!important;color:#fff;display:grid!important;place-items:center;margin:0!important}
#chdDrawer .chd2-ck svg{width:14px;height:14px}
#chdDrawer .chd2-cele-tx b{font-size:13.5px!important;color:#0F7B3F!important}
#chdDrawer .chd2-cele-tx small{display:none}
#chdDrawer .chd-body{min-height:150px}
@media (max-width:760px){
  #chdDrawer{height:auto!important;max-height:92dvh!important}
  #chdDrawer .chd-hd{padding:10px 12px!important}
  #chdDrawer .chd-ttl{font-size:17px!important}
  #chdDrawer .chd-x{width:32px!important;height:32px!important}
  #chdDrawer .chd-ship{margin-top:8px!important;padding:8px 10px!important}
  #chdDrawer .chd-ship-txt{margin-bottom:6px!important;font-size:12.5px!important}
  /* the weekly-deal line: one line on phones */
  #chdDrawer .chd2-lownote{padding:6px 10px!important;margin-bottom:8px!important;font-size:12px!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block!important}
  #chdDrawer .chd2-lownote svg{display:inline-block;vertical-align:-2px;margin-inline-end:4px}
  #chdDrawer .chd-body{padding:8px 12px 10px!important}
  /* footer: arrival + total on two tight lines, then the two buttons side by side */
  #chdDrawer .chd-ft{display:grid!important;grid-template-columns:1fr 1.7fr;column-gap:8px;padding:8px 12px calc(8px + env(safe-area-inset-bottom,0px))!important}
  #chdDrawer .chd-ft > *{grid-column:1 / -1}
  #chdDrawer .chd2-arr{margin-bottom:4px!important;padding-bottom:6px!important;font-size:12px!important}
  #chdDrawer .chd-sum-t b,#chdDrawer .chd-ft:has(.chd-sum-t[hidden]) .chd-sum-s b{font-size:18px!important}
  #chdDrawer .chd-saved{margin:2px 0 0!important}
  #chdDrawer .chd2-btnrow{grid-column:1 / 2!important;grid-row:auto;order:6!important;margin:8px 0 0!important}
  #chdDrawer [data-chd="checkout"]{grid-column:2 / 3!important;order:7!important;height:48px!important;margin-top:8px!important;font-size:15px!important}
  #chdDrawer .chd2-btnrow .chd-btn{height:48px!important;border-radius:14px!important;font-size:13px!important}
  #chdDrawer .chd2-btnrow .chd2-cont{display:none!important}
  #chdDrawer .chd2-pay{display:none!important}
  #chdDrawer .chd2-recs-row{max-height:none}
}
@media (max-width:760px){#chdDrawer .chd-saved{justify-self:end!important;width:auto!important}}

/* ═══ cart drawer on phones with 3+ items: compact rows, so 4–5 items show at once and the list is easy to move through ═══ */
@media (max-width:760px){
  #chdDrawer .chd-list:has(> .chd-li:nth-child(3)) .chd-li{grid-template-columns:58px minmax(0,1fr)!important;gap:10px!important;padding:8px!important;border-radius:12px!important}
  #chdDrawer .chd-list:has(> .chd-li:nth-child(3)) .chd-img{width:58px!important;height:58px!important;border-radius:8px!important}
  #chdDrawer .chd-list:has(> .chd-li:nth-child(3)) .chd-info{gap:3px!important}
  #chdDrawer .chd-list:has(> .chd-li:nth-child(3)) .chd-nm{-webkit-line-clamp:1!important;font-size:13px!important}
  #chdDrawer .chd-list:has(> .chd-li:nth-child(3)) .chd-price{font-size:14.5px!important}
  #chdDrawer .chd-list:has(> .chd-li:nth-child(3)) .chd2-pr s{font-size:11px!important}
  #chdDrawer .chd-list:has(> .chd-li:nth-child(3)) .chd-qty{height:28px!important}
  #chdDrawer .chd-list:has(> .chd-li:nth-child(3)) .chd-qty button{width:28px!important;height:28px!important;font-size:15px!important}
  #chdDrawer .chd-list:has(> .chd-li:nth-child(3)) .chd2-opt{padding:1px 6px!important;font-size:11px!important}
  #chdDrawer .chd-list:has(> .chd-li:nth-child(3)) {gap:6px!important}
  /* with several items the "goes well with it" picks give their space to the cart */
  #chdDrawer .chd-body:has(.chd-li:nth-child(3)) .chd2-sec:has(.chd2-recs-row){display:none!important}
}

/* ═══ HOME — one colour family: the brand orange leads, everything else is calm ═══
   the bright green bar and the red "Flash Deals" fought with the orange; now:
   · trust bar  → a soft warm tint with ink text and orange ticks (same family as the brand)
   · Flash Deals → brand orange, not red
   · one orange everywhere (#FF5A00), one ink (#16181D), one soft surface (#FFF4EC)      */
:root{--ch-or:#FF5A00;--ch-or-soft:#FFF4EC;--ch-or-line:#FFE2CF;--ch-ink:#16181D}
.cat-nav-list a.deal{color:var(--ch-or)!important}
.cat-nav-list a.deal .live{background:var(--ch-or)!important}

/* ═══ HOME — dense top: on a laptop the first products show on the first screen ═══
   all blocks share one edge · trust bar slimmer · categories smaller circles · Explore header light
   and on one line with its tabs · one discount badge style                                         */
@media (min-width:900px){
  .dcat{padding:4px 0 0!important;margin-top:6px!important}
  .dcat-scroll{grid-auto-columns:minmax(92px,1fr)!important;padding:4px 2px 2px!important}
  .dcat-it{gap:6px!important;padding:2px 0!important}
  .dcat-it .ci{width:72px!important;height:72px!important}
  .dcat-it .nm{font-size:12px!important;min-height:2.5em}
  .dcat-arr{margin-bottom:28px!important;width:34px!important;height:34px!important}
  /* Explore: the orange header stays (it is the page's signature) — just slimmer, on one line */
  .chx-hd{padding:7px 10px 7px 12px!important;border-radius:14px!important;min-height:0}
  .chx-ic{width:30px!important;height:30px!important;border-radius:9px!important}
  .chx-ic svg{width:17px;height:17px}
  .chx-ttl h2{font-size:18px!important;margin:0!important;line-height:1.2}
  .chx-ttl p{margin:0!important;font-size:12.5px!important}
  .chx-ttl > div{display:flex;align-items:baseline;gap:10px}
  .chx-all{height:30px!important;font-size:12.5px!important}
  .chx-tabs{padding:8px 0 6px!important;margin:0 0 2px!important}
  .chx-tab{height:30px!important;font-size:12.5px!important;padding:0 13px!important}
}


/* trust bar: the same green, one step fresher — sits better next to the orange */
.chw-bar{background:#2E9E57!important}
.chw-bar:hover{background:#2A9150!important}

/* phone cards: the little rows stay on one line (badges wrapped to two lines; "🔥" sat above "7.7K+") */
.pc .chpb-row{display:flex!important;flex-wrap:nowrap!important;gap:4px!important;overflow:hidden;white-space:nowrap;max-height:22px}
.pc .chpb-row > *{flex:none}
.pc .pc-stars-row{display:flex!important;flex-wrap:nowrap!important;align-items:center;gap:4px!important;white-space:nowrap;overflow:hidden}
.pc .pc-stars-row > *:nth-child(n+4){display:none!important}
.pc .pc-sold-x{white-space:nowrap;display:inline-flex;align-items:center;gap:2px}
/* Explore starts right under the category row */
@media (min-width:900px){.chx{margin-top:0!important}}

/* ═══ TOP BAR — icons the height of the two lines beside them; links on the right in bold ═══ */
#perks .perks-cell{align-items:center!important;gap:9px!important}
#perks .perks-ico{width:30px!important;height:30px!important;border-radius:8px!important;flex:none}
#perks .perks-ico svg{width:17px!important;height:17px!important}
#perks .perks-text{line-height:1.25!important;justify-content:center}
#perks .perks-r a{font-weight:800!important;opacity:1!important;color:#fff!important}
#perks .perks-r a svg{width:14px!important;height:14px!important}

/* ═══ SEARCH (computer) — one clean pill: text, camera, then the button inside ═══ */
@media (min-width:900px){
  #ch-main-header .srch{height:46px!important;border:2px solid #16181D!important;border-radius:999px!important;background:#fff!important;padding:3px!important;box-shadow:none!important;align-items:center!important;transition:border-color .15s,box-shadow .15s}
  #ch-main-header .srch:focus-within{border-color:#FF5A00!important;box-shadow:0 0 0 4px rgba(255,90,0,.12)!important}
  #ch-main-header .srch .sic-w{display:none!important}
  #ch-main-header .srch-in{padding:0 8px 0 16px!important;font-size:14.5px!important;color:#16181D!important;height:100%}
  [dir="rtl"] #ch-main-header .srch-in{padding:0 16px 0 8px!important}
  #ch-main-header .srch-in::placeholder{color:#8A8F9C!important}
  #ch-main-header .srch-cam{width:36px!important;height:36px!important;border-radius:50%!important;border:0!important;color:#4B5060!important;margin-inline-end:6px;transition:background .15s,color .15s}
  #ch-main-header .srch-cam:hover{background:#F2F3F5!important;color:#16181D!important}
  #ch-main-header .srch-cam svg{width:19px;height:19px}
  #ch-main-header .srch-btn{height:36px!important;padding:0 20px!important;border-radius:999px!important;font-size:14px!important;font-weight:800!important;gap:6px!important;box-shadow:0 4px 12px -4px rgba(255,90,0,.5)!important;transition:filter .15s,transform .1s}
  #ch-main-header .srch-btn:hover{filter:brightness(1.06)}
  #ch-main-header .srch-btn:active{transform:scale(.97)}
  #ch-main-header .srch-btn svg{width:16px;height:16px}
}

/* ═══ top-bar links: same pill as "Get the App", bigger clear icons, no stray dots ═══ */
#perks .perks-r{display:flex!important;align-items:center!important;gap:8px!important}
#perks .perks-r .pr-dot{display:none!important}
#perks .perks-r > a{display:inline-flex!important;align-items:center!important;gap:7px!important;height:32px!important;padding:0 13px!important;border-radius:999px!important;border:1px solid rgba(255,255,255,.22)!important;background:rgba(255,255,255,.04)!important;font-size:13px!important;line-height:1!important;transition:background .15s,border-color .15s}
#perks .perks-r > a:hover{background:rgba(255,255,255,.12)!important;border-color:rgba(255,255,255,.4)!important}
#perks .perks-r > a svg{width:17px!important;height:17px!important;flex:none;stroke-width:2.1;opacity:1!important}

/* ═══ HEADER ICONS — warmer and richer: brand-tinted circles, clear strokes, a proper cart badge ═══ */
@media (min-width:900px){
  #ch-main-header .acts{gap:14px!important}
  #ch-main-header .act,#ch-main-header .act-cart{gap:10px!important;padding:4px 6px!important;border-radius:14px!important;background:none!important;transition:background .15s}
  #ch-main-header .act:hover,#ch-main-header .act-cart:hover{background:#FFF6EF!important}
  #ch-main-header .act-ico,#ch-main-header .cart-ic{position:relative;width:40px!important;height:40px!important;border-radius:50%!important;display:grid!important;place-items:center!important;background:linear-gradient(145deg,#FFF4EA,#FFE6D3)!important;color:#FF5A00!important;box-shadow:inset 0 0 0 1px rgba(255,90,0,.14)!important;transition:background .2s,color .2s,transform .2s,box-shadow .2s;flex:none}
  #ch-main-header .act-ico svg,#ch-main-header .cart-ic svg{width:20px!important;height:20px!important;stroke-width:2!important}
  #ch-main-header .act:hover .act-ico,#ch-main-header .act-cart:hover .cart-ic{background:linear-gradient(145deg,#FF7A1A,#FF5A00)!important;color:#fff!important;box-shadow:0 8px 16px -6px rgba(255,90,0,.55)!important;transform:translateY(-1px)}
  #ch-main-header .act-flag .flag{width:40px!important;height:40px!important;border-radius:50%!important;overflow:hidden;box-shadow:0 0 0 2px #fff,0 0 0 3px #FFD9C2,0 4px 10px -4px rgba(16,18,24,.25)!important;flex:none}
  #ch-main-header .act-flag .flag img{width:100%!important;height:100%!important;object-fit:cover!important;transform:scale(1.35)}
  #ch-main-header .act-text .top{font-size:11.5px!important;color:#8A8F9C!important;font-weight:600!important;line-height:1.2}
  #ch-main-header .act-text .btm{font-size:13.5px!important;color:#16181D!important;font-weight:800!important;line-height:1.25}
  #ch-main-header .act-cart{position:relative}
  #ch-main-header .act-cart-badge{position:absolute!important;top:0!important;inset-inline-start:34px!important;min-width:20px!important;height:20px!important;padding:0 5px!important;border-radius:999px!important;background:#FF3B1F!important;color:#fff!important;font-size:11px!important;font-weight:900!important;line-height:20px!important;text-align:center;box-shadow:0 0 0 2px #fff!important}
  /* All categories */
  #ch-main-header .cat-btn{height:44px!important;padding:0 14px 0 6px!important;gap:9px!important;border:1.5px solid #E6E7EB!important;border-radius:999px!important;background:#fff!important;font-weight:800!important;font-size:14.5px!important;color:#16181D!important;transition:border-color .15s,box-shadow .15s}
  [dir="rtl"] #ch-main-header .cat-btn{padding:0 6px 0 14px!important}
  #ch-main-header .cat-btn:hover{border-color:#16181D!important;box-shadow:0 6px 16px -10px rgba(16,18,24,.35)!important}
  #ch-main-header .cat-btn > svg:first-child{box-sizing:content-box;width:16px!important;height:16px!important;padding:8px;border-radius:50%;background:linear-gradient(145deg,#FF7A1A,#FF5A00);color:#fff!important;fill:#fff;box-shadow:0 4px 10px -4px rgba(255,90,0,.6)}
  #ch-main-header .cat-btn > svg:last-child{width:12px!important;height:12px!important;color:#8A8F9C!important;transition:transform .2s}
  #ch-main-header .cat-btn:hover > svg:last-child{transform:translateY(1px)}
}

/* header icons one step smaller (they were too big) */
@media (min-width:900px){
  #ch-main-header .acts{gap:8px!important}
  #ch-main-header .act,#ch-main-header .act-cart{gap:8px!important;padding:3px 5px!important}
  #ch-main-header .act-ico,#ch-main-header .cart-ic{width:32px!important;height:32px!important}
  #ch-main-header .act-ico svg,#ch-main-header .cart-ic svg{width:17px!important;height:17px!important;stroke-width:1.9!important}
  #ch-main-header .act-flag .flag{width:30px!important;height:30px!important;box-shadow:0 0 0 1.5px #fff,0 0 0 2.5px #FFD9C2!important}
  #ch-main-header .act-text .top{font-size:11px!important}
  #ch-main-header .act-text .btm{font-size:13px!important}
  #ch-main-header .act-cart-badge{inset-inline-start:26px!important;min-width:18px!important;height:18px!important;line-height:18px!important;font-size:10.5px!important}
  #ch-main-header .cat-btn{height:40px!important;gap:7px!important;padding:0 12px 0 5px!important;font-size:14px!important}
  [dir="rtl"] #ch-main-header .cat-btn{padding:0 5px 0 12px!important}
  #ch-main-header .cat-btn > svg:first-child{width:14px!important;height:14px!important;padding:7px!important}
}

/* ═══ CART IN THE HEADER — shows clearly when something is in it ═══
   empty: the soft orange circle · with items: a full orange circle, white cart, a red count badge,
   the count in words under "Cart" in orange · on add: a short bounce and a ring that spreads out    */
@media (min-width:900px){
  #ch-main-header .act-cart-badge:not([style*="none"]){display:inline-grid!important;place-items:center}
  #ch-main-header .act-cart-badge{top:-2px!important;animation:none}
  #ch-main-header .act-cart.has-items .cart-ic{background:linear-gradient(145deg,#FF7A1A,#FF5A00)!important;color:#fff!important;box-shadow:0 6px 14px -6px rgba(255,90,0,.6)!important}
  #ch-main-header .act-cart.has-items .act-text .btm{color:#FF5A00!important}
  #ch-main-header .act-cart.bump .cart-ic{animation:chCartBounce .6s cubic-bezier(.3,1.6,.5,1)}
  #ch-main-header .act-cart.has-ring .cart-ic::after{content:"";position:absolute;inset:0;border-radius:50%;border:2px solid #FF5A00;animation:chCartRing .8s ease-out forwards;pointer-events:none}
  #ch-main-header .act-cart.bump .act-cart-badge{animation:chBadgePop .5s cubic-bezier(.3,1.8,.5,1)}
}
/* phone header: the small count on the cart — round, red, white ring, pops on add */
.pdp2-mtop-cart{position:relative}
.pdp2-mtop-n{min-width:17px!important;height:17px!important;padding:0 4px!important;border-radius:999px!important;background:#FF3B1F!important;color:#fff!important;font-size:10.5px!important;font-weight:900!important;line-height:17px!important;text-align:center;box-shadow:0 0 0 2px #fff!important}
.pdp2-mtop-cart.bump{animation:chCartBounce .6s cubic-bezier(.3,1.6,.5,1)}
@keyframes chCartBounce{0%{transform:scale(1)}30%{transform:scale(1.18) rotate(-6deg)}60%{transform:scale(.94) rotate(3deg)}100%{transform:scale(1)}}
@keyframes chCartRing{from{transform:scale(1);opacity:.9}to{transform:scale(1.8);opacity:0}}
@keyframes chBadgePop{0%{transform:scale(.4)}70%{transform:scale(1.25)}100%{transform:scale(1)}}
@media (prefers-reduced-motion:reduce){#ch-main-header .act-cart .cart-ic,#ch-main-header .act-cart-badge,.pdp2-mtop-cart{animation:none!important}}

/* ═══ header, one more step tidier ═══ */
@media (min-width:900px){
  /* the right-hand group a little smaller */
  #ch-main-header .acts{gap:6px!important}
  #ch-main-header .act,#ch-main-header .act-cart{gap:7px!important;padding:3px 4px!important}
  #ch-main-header .act-ico,#ch-main-header .cart-ic{width:30px!important;height:30px!important}
  #ch-main-header .act-ico svg,#ch-main-header .cart-ic svg{width:16px!important;height:16px!important}
  #ch-main-header .act-text .top{font-size:10.5px!important}
  #ch-main-header .act-text .btm{font-size:12.5px!important}
  #ch-main-header .act-cart-badge{inset-inline-start:22px!important;top:-3px!important;min-width:17px!important;height:17px!important;line-height:17px!important;font-size:10px!important}
  /* the flag: the whole flag, no zoom — a neat rounded rectangle */
  #ch-main-header .act-flag .flag{width:28px!important;height:20px!important;border-radius:4px!important;box-shadow:0 0 0 1px rgba(16,18,24,.14),0 2px 6px -2px rgba(16,18,24,.25)!important;overflow:hidden}
  #ch-main-header .act-flag .flag img{transform:none!important;width:100%!important;height:100%!important;object-fit:cover!important;border-radius:0!important}
  /* search icons: fixed sizes, so no page can squash them */
  #ch-main-header .srch-btn svg{width:16px!important;height:16px!important;min-width:16px;flex:none!important;display:block!important;max-width:none!important}
  #ch-main-header .srch-cam svg{width:19px!important;height:19px!important;min-width:19px;flex:none!important;display:block!important;max-width:none!important}
}
.pdp2-mtop-srch svg{width:17px!important;height:17px!important;min-width:17px;flex:none!important;max-width:none!important}
/* top-bar links: smaller type */
#perks .perks-r > a{height:28px!important;padding:0 11px!important;font-size:12px!important;gap:6px!important}
#perks .perks-r > a svg{width:15px!important;height:15px!important}
#perks .perks-r .badge-new,#perks .perks-r [class*="new"]{font-size:9.5px!important}

/* ═══ SEARCH DROPDOWN — clean rows like the big apps ═══ */
.srch-dd{border-radius:16px!important;box-shadow:0 18px 40px -12px rgba(16,18,24,.28)!important;border:1px solid #ECEDF0!important;overflow:hidden}
.srch-dd-head{font-size:12px!important;font-weight:800!important;color:#6B7079!important;letter-spacing:.02em}
/* categories in the empty state: neat chips instead of letter badges */
.dd-cats{display:flex!important;flex-wrap:wrap!important;gap:6px!important}
.dd-cats .dc{display:inline-flex!important;flex-direction:row!important;align-items:center;height:32px;padding:0 13px!important;border-radius:999px;border:1px solid #E6E7EB;background:#fff;font-size:12.5px!important;font-weight:700;color:#16181D!important;width:auto!important;transition:border-color .15s,background .15s}
.dd-cats .dc:hover{border-color:#FF5A00;background:#FFF6EF}
.dd-cats .dc span{display:none!important}
.dd-tag{border-radius:999px!important;font-weight:700!important}
/* while typing: results take the whole box */
.srch-dd:has(.srch-dd-results:not(:empty)) .srch-dd-cats,.srch-dd:has(.srch-dd-results:not(:empty)) .srch-dd-trending,.srch-dd:has(.srch-dd-results:not(:empty)) .srch-dd-recent{display:none!important}
/* product rows */
.srch-dd-row{display:grid!important;grid-template-columns:52px minmax(0,1fr) auto;align-items:center;gap:12px!important;padding:8px 14px!important;border-radius:12px;margin:0 6px;transition:background .12s}
.srch-dd-row:hover,.srch-dd-row.active{background:#F6F6F7!important}
.srch-dd-row .img{width:52px!important;height:52px!important;border-radius:10px!important;overflow:hidden;background:#F4F5F7!important;display:block}
.srch-dd-row .img img{width:100%!important;height:100%!important;object-fit:cover!important}
.srch-dd-row .name{font-size:13.5px!important;font-weight:600!important;color:#16181D!important;line-height:1.35!important;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;white-space:normal!important}
.srch-dd-row .name mark{background:none!important;color:#FF5A00!important;font-weight:800}
.srch-dd-row .meta{font-size:11.5px!important;color:#8A8F9C!important;margin-top:2px}
.srch-dd-row .price{display:flex;flex-direction:column;align-items:flex-end;gap:1px;font-size:14px!important;font-weight:900!important;color:#FF5A00!important;direction:ltr;white-space:nowrap}
[dir="rtl"] .srch-dd-row .price{align-items:flex-start}
.srch-dd-row .price .was{font-size:11px!important;font-weight:600!important;color:#9A9EA8!important;text-decoration:line-through;margin:0!important}
/* suggestion / category / "did you mean" rows */
.srch-dd-sugrow{display:flex!important;align-items:center;gap:10px;padding:8px 14px!important;margin:0 6px;border-radius:10px;font-size:14px!important;color:#16181D!important}
.srch-dd-sugrow:hover{background:#F6F6F7!important}
.srch-dd-sugrow .sicon{width:30px!important;height:30px!important;border-radius:50%!important;display:grid!important;place-items:center;background:#F2F3F5!important;color:#4B5060!important;flex:none}
.srch-dd-sugrow[data-correct]{background:#FFF6EF!important;margin:6px!important}
.srch-dd-sugrow[data-correct] mark{background:none!important;color:#FF5A00!important;font-weight:900}
.srch-dd-label{font-size:11.5px!important;font-weight:800!important;color:#8A8F9C!important;text-transform:uppercase;letter-spacing:.05em;padding:10px 20px 4px!important}
.srch-dd-footer a{font-weight:800!important;color:#FF5A00!important}
/* chips on one line each; the empty-state blocks hide as soon as there are results */
.dd-cats .dc{white-space:nowrap!important;flex:none!important;max-width:none!important;min-width:0!important;line-height:1!important}
[class*="srch-dd"]:has(#srchDdResults:not(:empty)) #srchDdCats,[class*="srch-dd"]:has(#srchDdResults:not(:empty)) .srch-dd-trending,[class*="srch-dd"]:has(#srchDdResults:not(:empty)) .srch-dd-recent{display:none!important}
/* the dropdown's empty-state blocks step aside while the shopper is typing */
.srch-wrap.typing #srchDdCats,.srch-wrap.typing .srch-dd-trending,.srch-wrap.typing .srch-dd-recent,#srchDropdown:has(#srchDdResults:not(:empty)) #srchDdCats{display:none!important}
#srchDropdown{border-radius:16px!important;box-shadow:0 18px 40px -12px rgba(16,18,24,.28)!important;border:1px solid #ECEDF0!important;overflow:hidden}

/* ═══ camera search: crop box on the chosen photo ═══ */
.vs-crop{position:relative;display:inline-block;max-width:100%;touch-action:none;user-select:none;-webkit-user-select:none;line-height:0}
.vs-crop img{max-width:100%;max-height:52vh;display:block;border-radius:12px}
.vs-crop-box{position:absolute;border:2px solid #fff;border-radius:8px;box-shadow:0 0 0 9999px rgba(10,12,16,.45),0 0 0 1px rgba(0,0,0,.25) inset;cursor:move}
.vs-crop-k{position:absolute;width:22px;height:22px;border:3px solid #FF5A00;background:transparent}
.vs-crop-k.nw{left:-4px;top:-4px;border-right:0;border-bottom:0;border-top-left-radius:8px;cursor:nwse-resize}
.vs-crop-k.ne{right:-4px;top:-4px;border-left:0;border-bottom:0;border-top-right-radius:8px;cursor:nesw-resize}
.vs-crop-k.sw{left:-4px;bottom:-4px;border-right:0;border-top:0;border-bottom-left-radius:8px;cursor:nesw-resize}
.vs-crop-k.se{right:-4px;bottom:-4px;border-left:0;border-top:0;border-bottom-right-radius:8px;cursor:nwse-resize}
.vs-crop-hint{margin:8px 0 0;font-size:12.5px;color:#6B7079;text-align:center}
