/* ChinaHub — categories page (CH-CATS v5) · kept by the browser between pages
   White bands for the page head, the tiles and the filter bar; the real product cards sit on the site's light grey,
   exactly as on the home page. The ChinaHub orange is kept for buttons and active states. */
.chc{--o:#EE5A00;--o-d:#C84B00;--o-bg:#FFF4EC;--ink:#1A1A1A;--t:#333;--mute:#6E6E6E;--mute2:#9A9A9A;--line:#ECECEC;--soft:#F5F5F6;--disc:#F2F3F5;
  --r:14px;--shadow:0 18px 44px -14px rgba(17,17,17,.20),0 2px 6px rgba(17,17,17,.05);
  color:var(--t);font-family:inherit;-webkit-font-smoothing:antialiased;padding-bottom:28px}
.chc *{box-sizing:border-box}
.chc a{color:inherit;text-decoration:none}
.chc [hidden]{display:none!important}
.chc .chc-i{width:16px;height:16px;flex:none;display:block}
.chc-in{max-width:1400px;margin:0 auto;padding:0 12px}
/* a white band reaching the screen edges — painted sideways only (border-image), so it never covers what is above
   or below it and never makes the page scroll sideways */
.chc-band{position:relative;border-image:conic-gradient(#fff 0 0) fill 0 // 0 100vmax}

/* ── head ── */
.chc-bc{display:flex;flex-wrap:wrap;align-items:center;gap:6px;font-size:12px;color:var(--mute2);padding:10px 0 0}
.chc-bc a:hover{color:var(--ink)}
.chc-bc i{font-style:normal;color:#C8C8C8}
.chc-bc span{color:var(--mute)}
.chc-note{background:#FFF8E6;border:1px solid #F7E2AE;color:#7A5200;border-radius:12px;padding:10px 14px;font-size:13px;margin:8px 0}
.chc-head{display:flex;align-items:baseline;flex-wrap:wrap;gap:2px 10px;padding:2px 0 10px}
.chc-head h1{font-size:21px;line-height:1.25;font-weight:800;margin:0;color:var(--ink);letter-spacing:-.01em}
.chc-h2{font-size:17px;font-weight:800;color:var(--ink);margin:20px 0 12px}

/* ── a category picture: the whole picture on a quiet grey disc ── */
.chc-disc{position:relative;flex:none;display:grid;place-items:center;width:72px;height:72px;border-radius:50%;background:var(--disc);overflow:hidden;
  transition:box-shadow .2s,transform .2s}
.chc-disc img{width:100%;height:100%;object-fit:cover;display:block}     /* the picture fills its circle */
.chc-disc:has(img){background:#fff;box-shadow:inset 0 0 0 1px rgba(0,0,0,.06)}
.chc-disc-l{color:#4B5563;font-weight:700;font-size:24px}
.chc-disc-all{color:var(--ink)}
.chc-disc-all svg{width:38%;height:38%}
.chc-disc.noimg::after{content:"";width:34%;height:34%;border-radius:8px;background:#E3E5E8}

/* ── tiles ── */
.chc-tile{flex:none;width:80px;display:flex;flex-direction:column;align-items:center;gap:6px;text-align:center}
.chc-tile-n{width:100%;font-size:12.5px;line-height:1.3;font-weight:600;color:var(--t);display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;word-break:break-word}
@media (hover:hover){.chc-tile:hover .chc-disc{transform:translateY(-2px);box-shadow:0 10px 20px -14px rgba(0,0,0,.45)}.chc-tile:hover .chc-tile-n{color:var(--ink)}}
.chc-tile.on .chc-disc{box-shadow:0 0 0 2px #fff,0 0 0 4px var(--o)!important}
.chc-tile.on .chc-tile-n{color:var(--o);font-weight:700}

.chc-row-w{position:relative;margin:0 -12px}
.chc-row{display:flex;gap:4px;overflow-x:auto;scroll-snap-type:x proximity;scroll-padding-inline:12px;padding:6px 12px 12px;scrollbar-width:none;-webkit-overflow-scrolling:touch;overscroll-behavior-x:contain}
.chc-row::-webkit-scrollbar{display:none}
.chc-row .chc-tile{scroll-snap-align:start}
.chc-row-nav{position:absolute;top:30px;width:36px;height:36px;border-radius:50%;border:1px solid var(--line);background:#fff;box-shadow:0 8px 20px -10px rgba(0,0,0,.35);
  display:none;place-items:center;color:var(--ink);cursor:pointer;padding:0;z-index:2}
.chc-row-nav .chc-i{width:18px;height:18px}
.chc-row-nav.prev{inset-inline-start:-6px}.chc-row-nav.prev .chc-i{transform:rotate(90deg)}
.chc-row-nav.next{inset-inline-end:-6px}.chc-row-nav.next .chc-i{transform:rotate(-90deg)}
[dir=rtl] .chc-row-nav.prev .chc-i{transform:rotate(-90deg)}
[dir=rtl] .chc-row-nav.next .chc-i{transform:rotate(90deg)}

/* ── banner ── */
.chc-banner{display:block;border-radius:var(--r);overflow:hidden;margin:12px 0 0;background:var(--soft)}
.chc-banner img{display:block;width:100%;height:auto;max-height:280px;object-fit:cover}

/* ── all categories: a sticky side list + every main category, one after another ── */
.chc-dir{display:grid;grid-template-columns:118px minmax(0,1fr);background:#fff;margin:0 -12px;border-top:1px solid var(--line)}
.chc-dir-nav{position:sticky;top:var(--chc-top,0px);align-self:start;max-height:calc(100vh - var(--chc-top,0px));overflow-y:auto;background:var(--soft);scrollbar-width:none;padding:4px 0}
.chc-dir-nav::-webkit-scrollbar{display:none}
.chc-dir-link{position:relative;display:block;padding:12px 10px 12px 12px;font-size:12.5px;line-height:1.35;font-weight:600;color:#4A4A4A}
[dir=rtl] .chc-dir-link{padding:12px 12px 12px 10px}
.chc-dir-link.on{background:#fff;color:var(--ink);font-weight:800}
.chc-dir-link.on::before{content:"";position:absolute;inset-block:12px;inset-inline-start:0;width:3px;border-radius:0 3px 3px 0;background:var(--o)}
[dir=rtl] .chc-dir-link.on::before{border-radius:3px 0 0 3px}
.chc-dir-body{min-width:0;padding:4px 12px 16px}
.chc-dir-sec{padding:14px 0 18px;border-bottom:1px solid var(--line);scroll-margin-top:calc(var(--chc-top,0px) + 8px)}
.chc-dir-sec:last-child{border-bottom:0}
.chc-dir-head{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:14px}
.chc-dir-head h2{font-size:15px;font-weight:800;color:var(--ink);margin:0}
.chc-dir-head span{flex:none;font-size:12px;font-weight:700;color:var(--mute)}
.chc-dir-head span i{font-style:normal}
.chc-dir-head:hover span{color:var(--o)}
.chc-tiles{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px 6px}
.chc-tiles .chc-tile{width:auto}
.chc-tiles .chc-disc{width:64px;height:64px}

/* ═══ the filter bar ═══ */
.chc-fbar{position:sticky;top:var(--chc-top,0px);z-index:40;border-image:linear-gradient(to bottom,#fff calc(100% - 1px),var(--line) 0) fill 0 // 0 100vmax}
.chc-fbar-row{display:flex;align-items:center;gap:12px}
.chc-fbar-in{flex:1;min-width:0;display:flex;align-items:center;gap:8px;padding:8px 0;overflow-x:auto;scrollbar-width:none;-webkit-overflow-scrolling:touch;overscroll-behavior-x:contain;
  -webkit-mask-image:linear-gradient(to var(--fade-dir,right),#000 calc(100% - 28px),transparent);mask-image:linear-gradient(to var(--fade-dir,right),#000 calc(100% - 28px),transparent)}
[dir=rtl] .chc-fbar-in{--fade-dir:left}
.chc-fbar-in.end{-webkit-mask-image:none;mask-image:none}
.chc-fbar-in::-webkit-scrollbar{display:none}
.chc-sep{flex:none;width:1px;height:20px;background:#E4E4E4;margin:0 2px}
.chc-pill{flex:none;display:inline-flex;align-items:center;gap:6px;height:36px;padding:0 14px;border:1px solid #E2E2E2;border-radius:999px;background:#fff;
  font:inherit;font-size:13.5px;font-weight:600;color:var(--ink);white-space:nowrap;cursor:pointer;transition:border-color .15s,background .15s,color .15s}
@media (hover:hover){.chc-pill:hover{border-color:#BDBDBD}}
.chc-pill .chc-i{width:15px;height:15px;color:#555}
.chc-pill .chc-chev{transition:transform .2s}
.chc-pill.open{border-color:var(--ink)}
.chc-pill.open .chc-chev{transform:rotate(180deg)}
.chc-pill.set{border-color:var(--o);background:var(--o-bg);color:var(--o-d);font-weight:700}
.chc-pill.set .chc-i{color:var(--o)}
.chc-pill span{max-width:200px;overflow:hidden;text-overflow:ellipsis}

/* ── popovers: a bottom sheet on a phone ── */
.chc-pop{position:fixed;inset-inline:0;bottom:0;z-index:1201;background:#fff;border-radius:20px 20px 0 0;max-height:82vh;display:flex;flex-direction:column;
  transform:translateY(104%);visibility:hidden;transition:transform .3s cubic-bezier(.2,.8,.2,1),visibility 0s .3s;box-shadow:0 -20px 50px -20px rgba(0,0,0,.4)}
.chc-pop.open{transform:none;visibility:visible;transition:transform .3s cubic-bezier(.2,.8,.2,1)}
.chc-pop-grab{flex:none;width:38px;height:4px;border-radius:2px;background:#DADADA;margin:8px auto 0}
.chc-pop-h{flex:none;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 16px 12px 20px}
[dir=rtl] .chc-pop-h{padding:10px 20px 12px 16px}
.chc-pop-h b{font-size:16.5px;font-weight:800;color:var(--ink)}
.chc-x{flex:none;width:36px;height:36px;display:grid;place-items:center;border-radius:50%;border:0;background:var(--soft);cursor:pointer;color:var(--ink);padding:0}
.chc-x .chc-i{width:18px;height:18px}
.chc-pop-b{flex:1 1 auto;min-height:0;overflow-y:auto;-webkit-overflow-scrolling:touch;overscroll-behavior:contain}
.chc-list{padding:0 8px 8px}
.chc-opt{display:flex;align-items:center;gap:14px;min-height:52px;padding:0 12px;border-radius:12px;font-size:14.5px;font-weight:600;color:var(--ink)}
.chc-opt small{color:var(--mute2);font-weight:600;margin-inline-start:4px}
.chc-opt.on{font-weight:800}
.chc-radio{flex:none;width:20px;height:20px;border-radius:50%;border:2px solid #CFCFCF;display:grid;place-items:center;transition:border-color .15s}
.chc-opt.on .chc-radio{border-color:var(--o)}
.chc-opt.on .chc-radio::after{content:"";width:10px;height:10px;border-radius:50%;background:var(--o)}
@media (hover:hover){.chc-opt:hover{background:var(--soft)}}
.chc-pop-f{flex:none;display:flex;gap:10px;padding:12px 16px calc(12px + env(safe-area-inset-bottom,0px));border-top:1px solid var(--line);background:#fff}
.chc-pop-f .chc-btn{flex:1;height:48px}
.chc-scrim{position:fixed;inset:0;z-index:1200;background:rgba(17,17,17,.45);opacity:0;transition:opacity .25s}
.chc-scrim.on{opacity:1}
html.chc-lock,html.chc-lock body{overflow:hidden}
html.chc-lock .chc-fbar{z-index:1202}                 /* the bar (and its open sheet) above the dimmed page */
html.chc-lock .chc-fbar-row{filter:brightness(.55);pointer-events:none}   /* …with its own pills dimmed like the page */

/* price */
.chc-price{display:flex;flex-direction:column}
.chc-ranges{display:flex;flex-wrap:wrap;gap:8px;padding:2px 20px 16px}
.chc-chip{display:inline-flex;align-items:center;height:38px;padding:0 14px;border:1px solid #E2E2E2;border-radius:999px;font-size:13.5px;font-weight:600;color:var(--ink);background:#fff}
@media (hover:hover){.chc-chip:hover{border-color:#BDBDBD}}
.chc-chip.on{border-color:var(--o);background:var(--o-bg);color:var(--o-d);font-weight:700}
.chc-minmax{display:flex;align-items:flex-end;gap:10px;padding:0 20px 18px}
.chc-minmax label{flex:1;min-width:0;display:flex;flex-direction:column;gap:6px}
.chc-minmax label span{font-size:12px;font-weight:700;color:var(--mute)}
.chc-minmax i{width:12px;height:2px;background:#CFCFCF;margin-bottom:22px;flex:none}
.chc-minmax input{width:100%;height:46px;border:1px solid #DCDCDC;border-radius:12px;padding:0 14px;font:inherit;font-size:15px;font-weight:600;background:#fff;color:var(--ink);-moz-appearance:textfield}
.chc-minmax input::-webkit-outer-spin-button,.chc-minmax input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}
.chc-minmax input:focus{outline:none;border-color:var(--ink);box-shadow:0 0 0 3px rgba(26,26,26,.08)}
.chc-price .chc-pop-f{position:sticky;bottom:0;margin-top:auto}

/* drawn stars */
.chc-stars{position:relative;display:inline-block;font-size:14px;letter-spacing:1px;line-height:1;color:#DEDEDE;vertical-align:-1px}
.chc-stars::before{content:"★★★★★"}
.chc-stars::after{content:"★★★★★";position:absolute;inset-block-start:0;inset-inline-start:0;width:calc(var(--v) / 5 * 100%);overflow:hidden;color:#F5A623;white-space:nowrap}

/* buttons, tags */
.chc-btn{display:inline-flex;align-items:center;justify-content:center;gap:6px;height:44px;padding:0 22px;border:0;border-radius:999px;background:var(--o);color:#fff!important;
  font:inherit;font-size:14.5px;font-weight:800;cursor:pointer;transition:background .15s,border-color .15s}
@media (hover:hover){.chc-btn:hover{background:var(--o-d)}}
.chc-btn.ghost{background:#fff;color:var(--ink)!important;border:1px solid #D6D6D6}
@media (hover:hover){.chc-btn.ghost:hover{border-color:var(--ink);background:#fff}}
.chc-tags{display:flex;flex-wrap:wrap;gap:8px;align-items:center;padding:12px 0 0}
.chc-tag{display:inline-flex;align-items:center;gap:6px;height:30px;padding:0 10px 0 12px;border-radius:999px;background:#fff;border:1px solid var(--line);color:var(--ink);font-size:12.5px;font-weight:700}
[dir=rtl] .chc-tag{padding:0 12px 0 10px}
.chc-tag .chc-i{width:13px;height:13px;color:var(--mute2)}
@media (hover:hover){.chc-tag:hover{border-color:#BDBDBD}}
.chc-tag-clear{font-size:12.5px;font-weight:700;color:var(--o-d);padding:0 4px}

/* ── product grid: the shop's own cards on the light grey ── */
.chc .cv4-grid-wrap{padding:0!important;margin:10px 0 0!important;background:none!important;border:0!important;box-shadow:none!important}
#chcGrid.chc-grid,.chc-grid.prd-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important;margin:0!important;padding:0!important;background:none!important}
.chc-grid>*{min-width:0;max-width:none!important;width:auto!important;margin:0!important}

/* empty states */
.chc-empty{text-align:center;padding:36px 20px 32px;background:#fff;border-radius:var(--r);margin-top:12px}
.chc-empty-i{width:56px;height:56px;margin:0 auto 12px;color:#C9C9C9}
.chc-empty-i svg{width:100%;height:100%}
.chc-empty h2{font-size:17px;font-weight:800;color:var(--ink);margin:0 0 6px}
.chc-empty p{color:var(--mute);font-size:14px;margin:0 0 18px}

/* see more + pages */
.chc-more-w{display:flex;flex-direction:column;align-items:center;gap:14px;margin:24px 0 6px}
.chc-more{min-width:240px}
.chc-more.busy{opacity:.6;pointer-events:none}
.chc-more.busy .chc-i{animation:chcBob .6s ease-in-out infinite alternate}
@keyframes chcBob{to{transform:translateY(3px)}}
.chc-pgn{display:flex;flex-wrap:wrap;justify-content:center;gap:4px}
.chc-pgn a,.chc-pgn span{min-width:34px;height:34px;display:inline-grid;place-items:center;padding:0 8px;border-radius:8px;font-size:13px;font-weight:700;color:var(--mute)}
@media (hover:hover){.chc-pgn a:hover{background:#fff;color:var(--ink)}}
.chc-pgn .on{background:var(--ink);color:#fff}

/* about */
.chc-about{margin:24px 0 0;padding:16px 18px;background:#fff;border-radius:var(--r)}
.chc-about h2{font-size:14.5px;font-weight:800;color:var(--ink);margin:0 0 6px}
.chc-about p{margin:0;color:var(--mute);font-size:13px;line-height:1.8}

@media (min-width:600px){
  #chcGrid.chc-grid,.chc-grid.prd-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:10px!important}
  .chc-tiles{grid-template-columns:repeat(4,minmax(0,1fr))}
}
@media (min-width:900px){
  #chcGrid.chc-grid,.chc-grid.prd-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:12px!important}
}

/* ═══ computer ═══ */
@media (min-width:981px){
  .chc{padding-bottom:44px}
  .chc-in{padding:0 24px}
  .chc-bc{padding-top:12px}
  .chc-head{padding:2px 0 12px}
  .chc-head h1{font-size:26px}
  .chc-disc{width:84px;height:84px}
  .chc-tile{width:100px;gap:8px}
  .chc-tile-n{font-size:13px}
  .chc-row-w{margin:0}
  .chc-row{gap:8px;padding:6px 6px 14px;scroll-padding-inline:6px}
  .chc-row-nav{display:grid;top:30px}
  .chc-row-nav[hidden]{display:none!important}

  .chc-dir{grid-template-columns:240px minmax(0,1fr);margin:0;border:1px solid var(--line);border-radius:var(--r);overflow:clip}
  .chc-dir-nav{padding:8px 0;border-inline-end:1px solid var(--line);background:#FAFAFA}
  .chc-dir-link{padding:12px 20px;font-size:14px}
  [dir=rtl] .chc-dir-link{padding:12px 20px}
  .chc-dir-link.on::before{inset-block:10px}
  @media (hover:hover){.chc-dir-link:hover{color:var(--ink);background:#fff}}
  .chc-dir-body{padding:6px 28px 20px}
  .chc-dir-sec{padding:20px 0 24px}
  .chc-dir-head h2{font-size:18px}
  .chc-dir-head span{font-size:13px}
  .chc-tiles{grid-template-columns:repeat(auto-fill,minmax(112px,1fr));gap:24px 12px}
  .chc-tiles .chc-disc{width:88px;height:88px}

  .chc-fbar-in{flex-wrap:nowrap;padding:10px 0;gap:8px}
  .chc-pop,.chc-pop.open{position:absolute;inset:auto;top:calc(100% + 6px);bottom:auto;transform:none;visibility:visible;transition:none;
    width:300px;max-height:min(440px,70vh);border-radius:var(--r);border:1px solid #EFEFEF;box-shadow:var(--shadow)}
  .chc-pop{display:none}
  .chc-pop.open{display:flex}
  #chcPop-price{width:340px}
  .chc-pop-grab,.chc-pop-h{display:none}
  .chc-pop.is-list .chc-pop-f{display:none}
  .chc-list{padding:6px}
  .chc-opt{min-height:42px;font-size:14px;gap:12px;border-radius:10px}
  .chc-radio{width:18px;height:18px}
  .chc-opt.on .chc-radio::after{width:8px;height:8px}
  .chc-ranges{padding:16px 16px 14px}
  .chc-minmax{padding:0 16px 16px}
  .chc-pop-f{padding:12px 16px}
  .chc-pop-f .chc-btn{height:42px}
  .chc-scrim{display:none!important}

  .chc .cv4-grid-wrap{margin-top:12px!important}
  .chc-grid.prd-grid,#chcGrid.chc-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:10px!important}
}
@media (min-width:1080px){
  #chcGrid.chc-grid,.chc-grid.prd-grid{grid-template-columns:repeat(5,minmax(0,1fr))!important}
}
@media (min-width:1240px){                                   /* six across on a computer */
  #chcGrid.chc-grid,.chc-grid.prd-grid{grid-template-columns:repeat(6,minmax(0,1fr))!important}
}

/* ═══ denser (v7) — a tighter page, and in this grid only, the shop's card without the repeated
   "buyer protection" strip and its divider (the deal countdown, price, saving and delivery stay) ═══ */
.chc-bc{padding-top:8px}
.chc-head{padding:0 0 8px}
.chc-head h1{font-size:19px}
.chc-tile{width:72px;gap:5px}
.chc-disc{width:64px;height:64px}
.chc-tile-n{font-size:11.5px;line-height:1.25}
.chc-row{gap:2px;padding:4px 12px 10px}
.chc-row-nav{top:20px}
.chc-fbar-in{padding:6px 0;gap:6px}
.chc-pill{height:34px;padding:0 12px;font-size:13px}
.chc-sep{height:18px}
.chc .cv4-grid-wrap{margin-top:8px!important}
#chcGrid.chc-grid,.chc-grid.prd-grid{gap:6px!important}
.chc-grid .pc2-bar.trust,.chc-grid .pc2-rule{display:none!important}
.chc-grid .pc2-body{padding-bottom:7px}
.chc-tags{padding-top:8px;gap:6px}
.chc-more-w{margin-top:18px}
.chc-dir-sec{padding:12px 0 14px}
.chc-dir-head{margin-bottom:10px}
.chc-tiles{gap:12px 4px}
.chc-tiles .chc-disc{width:60px;height:60px}
.chc-dir-link{padding-block:10px}
@media (min-width:600px){ #chcGrid.chc-grid,.chc-grid.prd-grid{gap:8px!important} }
@media (min-width:981px){
  .chc-in{padding:0 20px}
  .chc-bc{padding-top:10px}
  .chc-head{padding:0 0 8px}
  .chc-head h1{font-size:23px}
  .chc-tile{width:90px;gap:6px}
  .chc-disc{width:76px;height:76px}
  .chc-tile-n{font-size:12.5px}
  .chc-row{gap:6px;padding:4px 4px 10px}
  .chc-row-nav{top:24px;width:32px;height:32px}
  .chc-fbar-in{padding:8px 0;gap:6px}
  .chc-pill{height:34px}
  .chc .cv4-grid-wrap{margin-top:10px!important}
  #chcGrid.chc-grid,.chc-grid.prd-grid{gap:8px!important}
  .chc-dir-sec{padding:14px 0 16px}
  .chc-dir-body{padding:4px 24px 14px}
  .chc-dir-head h2{font-size:16px}
  .chc-tiles{grid-template-columns:repeat(auto-fill,minmax(96px,1fr));gap:16px 8px}
  .chc-tiles .chc-disc{width:76px;height:76px}
  .chc-dir-link{padding:10px 20px;font-size:13.5px}
}

/* ═══ v8 — the site's own palette (head of every page: --ch-p, --ch-p-press, --ch-p-tint, --ch-ink, --ch-muted,
   --ch-border), a tighter head so the first card shows whole, and six products a row from 1100px ═══ */
.chc{--o:var(--ch-p,#FA5B00);--o-d:var(--ch-p-press,#E04E00);--o-bg:var(--ch-p-tint,#FFF7ED);
  --ink:var(--ch-ink,#0F172A);--t:#334155;--mute:var(--ch-muted,#64748B);--mute2:#94A3B8;--line:var(--ch-border,#E5E7EB)}
.chc-pill{border-color:var(--line);color:var(--ink)}
@media (hover:hover){.chc-pill:hover{border-color:#CBD5E1}}
.chc-pill .chc-i{color:var(--mute)}
.chc-pill.set{border-color:var(--o);background:var(--o-bg);color:var(--o-d)}
.chc-pill.set .chc-i{color:var(--o)}
.chc-disc-all{background:var(--o-bg);color:var(--o)}
.chc-tile.on .chc-disc-all{background:var(--o-bg)}
.chc-chip{border-color:var(--line)}
.chc-chip.on{border-color:var(--o);background:var(--o-bg);color:var(--o-d)}
.chc-tag{border-color:var(--line)}
.chc-dir-link.on{color:var(--ink)}
.chc-btn{background:var(--o)}
@media (hover:hover){.chc-btn:hover{background:var(--o-d)}}
.chc-btn.ghost{border-color:#CBD5E1}

@media (min-width:981px){
  .chc-in{padding:0 20px}
  .chc-bc{padding-top:8px;font-size:12px}
  .chc-head{padding:0 0 6px}
  .chc-head h1{font-size:22px}
  .chc-tile{width:84px;gap:5px}
  .chc-disc{width:64px;height:64px}
  .chc-tile-n{font-size:12px}
  .chc-row{gap:4px;padding:3px 4px 8px}
  .chc-row-nav{top:18px;width:30px;height:30px}
  .chc-fbar-in{padding:6px 0;gap:6px}
  .chc-pill{height:32px;padding:0 12px;font-size:13px}
  .chc-sep{height:16px}
  .chc .cv4-grid-wrap{margin-top:8px!important}
  #chcGrid.chc-grid,.chc-grid.prd-grid{grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:8px!important}
}
@media (min-width:1100px){ #chcGrid.chc-grid,.chc-grid.prd-grid{grid-template-columns:repeat(6,minmax(0,1fr))!important} }
@media (min-width:1340px){ #chcGrid.chc-grid,.chc-grid.prd-grid{grid-template-columns:repeat(7,minmax(0,1fr))!important} }   /* wide screens: seven */
/* computer: the breadcrumb shares the title's line (at the far end), so the first row of products shows whole */
@media (min-width:981px){
  .chc-bc{position:absolute;top:13px;inset-inline-end:0;max-width:48%;padding:0;justify-content:flex-end;white-space:nowrap;overflow:hidden}
  .chc-head{padding:9px 0 6px;max-width:52%}
}
/* one badge line per card in this grid: a second, softer badge line made a whole row taller */
.chc-grid .chpb-main ~ .chpb-soft{display:none!important}
/* every card's price and cart button on one line across the row (cards without a badge no longer float higher) */
.chc-grid .pc2{display:flex!important;flex-direction:column}
.chc-grid .pc2-body{flex:1 1 auto}
.chc-grid .pc2-price-row{margin-top:auto}

/* ═══ v9 — finishing touches ═══ */
/* a faint warm wash of the site's tint behind the category head */
.chc-band{border-image:linear-gradient(180deg,var(--o-bg) 0%,#fff 78%) fill 0 // 0 100vmax}
/* sort: short on a phone; "Sort by: Recommended" at the far end of the bar on a computer */
.chc-pill .chc-lg{display:none}
.chc-pill .chc-lg b{font-weight:700;color:var(--ink)}
.chc-pill.set .chc-lg b{color:var(--o-d)}
/* the banner sits beside the tiles on a computer, below them on a phone */
.chc-tiles-line .chc-banner{margin:0 0 10px}
@media (min-width:981px){
  .chc-fbar-in [data-chc-dd="sort"]{order:99;margin-inline-start:auto}
  .chc-pill .chc-sm{display:none}
  .chc-pill .chc-lg{display:inline;color:var(--mute);font-weight:600}
  .chc-tiles-line.has-banner{display:flex;align-items:center;gap:20px}
  .chc-tiles-line.has-banner .chc-row-w{flex:1 1 auto;min-width:0}
  .chc-tiles-line .chc-banner{flex:none;width:clamp(280px,34%,460px);margin:0 0 8px;border-radius:12px;box-shadow:0 8px 22px -16px rgba(15,23,42,.45)}
  .chc-tiles-line .chc-banner img{height:104px;max-height:none;object-fit:cover}
}
/* gentle motion: tiles get a soft orange ring, cards lift a little */
@media (hover:hover){
  .chc-tile:not(.on):hover .chc-disc{box-shadow:0 0 0 2px #fff,0 0 0 4px rgba(250,91,0,.28)}
  .chc-grid .pc2{transition:transform .22s cubic-bezier(.2,.8,.2,1),box-shadow .22s}
  .chc-grid .pc2:hover{transform:translateY(-3px);box-shadow:0 16px 30px -18px rgba(15,23,42,.38)}
}

/* ═══ v10 — tidy rings around the category pictures: a thin grey ring, a white gap, the picture cut to a circle;
   orange ring for the chosen one, a light orange one on hover ═══ */
.chc-disc,.chc-disc:has(img){padding:3px;background:#fff;box-shadow:0 0 0 1px #E2E8F0;transition:box-shadow .18s,transform .18s}
.chc-disc img{width:100%;height:100%;border-radius:50%;object-fit:cover;background:#F8FAFC}
.chc-disc-all{background:#fff}
.chc-disc-all svg{width:100%;height:100%;padding:28%;border-radius:50%;background:var(--o-bg);color:var(--o);box-sizing:border-box}
.chc-disc-l{background:#F8FAFC;color:#475569}
.chc-tile.on .chc-disc{box-shadow:0 0 0 2px var(--o)!important}
@media (hover:hover){
  .chc-tile:not(.on):hover .chc-disc{box-shadow:0 0 0 1.5px rgba(250,91,0,.55)!important;transform:translateY(-2px)}
}

/* ═══ v11 — a richer look within the same height ═══ */
/* the title: a short brand accent before it */
.chc-head h1::before{content:"";display:inline-block;width:4px;height:.86em;border-radius:3px;background:linear-gradient(180deg,var(--o),#FFB070);margin-inline-end:10px;vertical-align:-.06em}
/* circles: a soft shadow; the chosen one wears a gradient ring (white gap kept by the picture's own border) */
.chc-disc,.chc-disc:has(img){box-shadow:0 0 0 1px #E2E8F0,0 8px 18px -12px rgba(15,23,42,.38)}
.chc-disc img,.chc-disc-all svg{border:2px solid #fff;box-sizing:border-box}
.chc-tile.on .chc-disc{background:linear-gradient(135deg,var(--o) 0%,#FFB070 100%)!important;box-shadow:0 10px 22px -12px rgba(250,91,0,.65)!important}
@media (hover:hover){ .chc-tile:not(.on):hover .chc-disc{box-shadow:0 0 0 1.5px rgba(250,91,0,.55),0 12px 22px -12px rgba(250,91,0,.45)!important} }
/* pills: quiet icons that turn orange when on */
.chc-pill .chc-i{width:15px;height:15px;color:#64748B}
.chc-pill .chc-chev{width:14px;height:14px;color:#94A3B8}
.chc-pill.set .chc-i,.chc-pill.set .chc-chev{color:var(--o)}
.chc-pill.chc-tog.set{background:var(--o-bg)}
/* the category's own picture on the empty side of the head (computer only; a banner takes its place) */
.chc-art{display:none}
@media (min-width:981px){
  .chc-art{display:block;position:absolute;z-index:0;pointer-events:none;inset-inline-end:0;top:30px;bottom:4px;width:min(40%,470px)}
  /* soft on every edge, so any picture melts in — a collage on white or a photo with its own background */
  .chc-art img{position:absolute;inset-inline-end:28px;top:50%;transform:translateY(-50%);height:126px;width:auto;max-width:320px;object-fit:contain;mix-blend-mode:multiply;
    -webkit-mask-image:radial-gradient(ellipse 50% 50% at 50% 50%,#000 58%,transparent 100%);mask-image:radial-gradient(ellipse 50% 50% at 50% 50%,#000 58%,transparent 100%)}
  .chc-art-b1,.chc-art-b2{position:absolute;border-radius:50%}
  .chc-art-b1{width:250px;height:250px;inset-inline-end:40px;top:50%;transform:translateY(-50%);background:radial-gradient(circle,rgba(250,91,0,.13) 0%,rgba(250,91,0,.05) 45%,rgba(250,91,0,0) 70%)}
  .chc-art-b2{width:112px;height:112px;inset-inline-end:262px;top:-4px;border:1.5px solid rgba(250,91,0,.13)}
  .chc-band:has(.chc-art) .chc-row-w{margin-inline-end:min(40%,470px)}
  .chc-head,.chc-row-w{position:relative;z-index:1}
  .chc-bc{z-index:2}                                  /* stays where it is: on the title's line */
}

/* ═══ v12 — "Up to N% off" beside the title; the category picture in a halo, floating gently ═══ */
.chc-head{align-items:center}
.chc-deal{display:inline-flex;align-items:center;gap:5px;height:26px;padding:0 11px 0 9px;border-radius:999px;background:linear-gradient(90deg,#FF5A00,#FF9A3D);color:#fff;
  font-size:12.5px;font-weight:800;white-space:nowrap;box-shadow:0 8px 16px -10px rgba(250,91,0,.75)}
[dir=rtl] .chc-deal{padding:0 9px 0 11px}
.chc-deal svg{width:14px;height:14px}
@media (min-width:981px){
  .chc-art{top:24px;bottom:0;width:min(38%,440px)}
  .chc-art-in{position:absolute;inset-inline-end:36px;top:50%;width:270px;height:156px;transform:translateY(-50%)}
  .chc-art img{position:absolute;inset:0;margin:auto;transform:none;height:142px;max-width:270px;width:auto;object-fit:contain;animation:chcFloat 7s ease-in-out infinite}
  .chc-art-b1,.chc-art-b2,.chc-art-b3{position:absolute;border-radius:50%;left:50%;top:50%;transform:translate(-50%,-50%)}
  .chc-art-b1{width:270px;height:270px;background:radial-gradient(circle,rgba(250,91,0,.16) 0%,rgba(250,91,0,.06) 42%,rgba(250,91,0,0) 68%);inset:auto}
  .chc-art-b2{width:196px;height:196px;border:1.5px solid rgba(250,91,0,.14);inset:auto}
  .chc-art-b3{width:236px;height:236px;border:1px dashed rgba(250,91,0,.12);inset:auto;animation:chcSpin 60s linear infinite}
  .chc-band:has(.chc-art) .chc-row-w{margin-inline-end:min(38%,440px)}
}
@keyframes chcFloat{0%,100%{transform:translateY(0)}50%{transform:translateY(-5px)}}
@keyframes chcSpin{to{transform:translate(-50%,-50%) rotate(360deg)}}
@media (prefers-reduced-motion:reduce){.chc-art img,.chc-art-b3{animation:none}}
/* v12.1 — the halo centred on the picture, all of it inside the head */
@media (min-width:981px){
  .chc-art{top:30px;bottom:2px;overflow:hidden}
  .chc-art-in{display:flex;align-items:center;justify-content:center;top:0;bottom:0;height:auto;transform:none;width:250px}
  .chc-art img{position:relative;inset:auto;margin:0;height:128px;max-width:240px;z-index:1}
  .chc-art-b1{width:230px;height:230px}
  .chc-art-b2{width:150px;height:150px}
  .chc-art-b3{width:174px;height:174px}
}
@media (min-width:981px){
  .chc-art-b1,.chc-art-b2,.chc-art-b3{left:50%!important;top:50%!important;right:auto!important;bottom:auto!important}
}

/* ═══ v13 — loading looks, the bar's title, back to top, best sellers row, the empty state ═══ */
/* shimmering placeholders (see more) */
.chc-skel{border-radius:12px;background:#fff;overflow:hidden;display:flex;flex-direction:column;gap:8px;padding-bottom:12px}
.chc-skel i{display:block;border-radius:6px;background:linear-gradient(90deg,#F1F5F9 0%,#E2E8F0 40%,#F1F5F9 80%);background-size:300% 100%;animation:chcShim 1.2s linear infinite}
.chc-skel-img{aspect-ratio:1/1;border-radius:0!important}
.chc-skel-l{height:10px;margin:0 10px}
.chc-skel-l.s{width:55%}
.chc-skel-p{height:16px;width:40%;margin:4px 10px 0}
@keyframes chcShim{from{background-position:100% 0}to{background-position:-100% 0}}
/* following a filter / a page: the products dim and shimmer, a thin bar runs under the filter bar */
.chc.is-busy #chcGrid > *,.chc.is-busy .chc-grid > *{opacity:.4;filter:saturate(.5);transition:opacity .2s}
.chc.is-busy .cv4-grid-wrap{position:relative}
.chc.is-busy .cv4-grid-wrap::after{content:"";position:absolute;inset:0;background:linear-gradient(100deg,transparent 30%,rgba(255,255,255,.55) 50%,transparent 70%);background-size:250% 100%;animation:chcShim 1.1s linear infinite;pointer-events:none}
.chc-fbar{position:sticky}
.chc.is-busy .chc-fbar::after{content:"";position:absolute;inset-inline-start:0;bottom:-1px;height:2px;width:35%;background:var(--o);border-radius:2px;animation:chcProg 1s ease-in-out infinite}
@keyframes chcProg{0%{transform:translateX(-100%)}100%{transform:translateX(300%)}}
[dir=rtl] .chc.is-busy .chc-fbar::after{animation-name:chcProgR}
@keyframes chcProgR{0%{transform:translateX(100%)}100%{transform:translateX(-300%)}}
/* the category's name in the bar once it sticks (computer) */
.chc-bar-sent{height:0}
.chc-fbar-t{display:none}
@media (min-width:981px){
  .chc-fbar.is-stuck .chc-fbar-t{display:inline-flex;align-items:center;flex:none;max-width:240px;padding-inline-end:12px;margin-inline-end:4px;border-inline-end:1px solid var(--line);
    font-size:15px;font-weight:800;color:var(--ink);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;animation:chcIn .2s ease-out}
  .chc-fbar.is-stuck{box-shadow:0 8px 18px -16px rgba(15,23,42,.45)}
}
@keyframes chcIn{from{opacity:0;transform:translateY(-4px)}to{opacity:1;transform:none}}
/* back to top */
.chc-totop{position:fixed;z-index:1190;inset-inline-end:24px;bottom:24px;width:46px;height:46px;border-radius:50%;border:1px solid var(--line);background:#fff;color:var(--ink);
  display:grid;place-items:center;cursor:pointer;box-shadow:0 12px 26px -14px rgba(15,23,42,.45);transition:transform .2s,box-shadow .2s;animation:chcIn .2s ease-out}
.chc-totop[hidden]{display:none}
.chc-totop svg{width:20px;height:20px}
@media (hover:hover){.chc-totop:hover{transform:translateY(-2px);color:var(--o);border-color:rgba(250,91,0,.45)}}
@media (max-width:980px){.chc-totop{inset-inline-end:14px;bottom:calc(84px + env(safe-area-inset-bottom,0px));width:42px;height:42px}}
/* best sellers row (the script places it after the first two rows) */
.chc-top{margin:14px 0 4px;padding:14px 0 12px;border-radius:16px;background:linear-gradient(180deg,var(--o-bg),#fff 70%);border:1px solid #FDE7D3}
.chc-top.in-grid{grid-column:1/-1;margin:6px 0}
.chc-top-h{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:0 14px 10px}
.chc-top-h h2{display:flex;align-items:center;gap:8px;margin:0;font-size:16px;font-weight:800;color:var(--ink)}
.chc-top-h h2 svg{width:22px;height:22px;color:var(--o);flex:none}
.chc-top-nav{display:none;gap:6px}
.chc-top.can-scroll .chc-top-nav{display:flex}
.chc-top-nav button{width:32px;height:32px;border-radius:50%;border:1px solid var(--line);background:#fff;color:var(--ink);display:grid;place-items:center;cursor:pointer;padding:0}
.chc-top-nav button svg{width:16px;height:16px}
.chc-top-nav .prev svg{transform:rotate(90deg)} .chc-top-nav .next svg{transform:rotate(-90deg)}
[dir=rtl] .chc-top-nav .prev svg{transform:rotate(-90deg)} [dir=rtl] .chc-top-nav .next svg{transform:rotate(90deg)}
.chc-top-nav button:disabled{opacity:.35;cursor:default}
.chc-top-row{display:flex;gap:10px;overflow-x:auto;scroll-snap-type:x mandatory;scroll-padding-inline:14px;padding:2px 14px 4px;scrollbar-width:none}
.chc-top-row::-webkit-scrollbar{display:none}
.chc-tc{flex:none;width:136px;scroll-snap-align:start;text-decoration:none;color:var(--ink);display:flex;flex-direction:column;gap:5px}
.chc-tc-img{position:relative;display:block;aspect-ratio:1/1;border-radius:12px;overflow:hidden;background:#fff;box-shadow:0 0 0 1px #EEF2F6}
.chc-tc-img img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .3s}
@media (hover:hover){.chc-tc:hover .chc-tc-img img{transform:scale(1.05)}}
.chc-tc-r{position:absolute;inset-inline-start:6px;top:6px;min-width:26px;height:26px;padding:0 6px;border-radius:8px;display:grid;place-items:center;font-size:13px;font-weight:900;color:#fff;background:#64748B;box-shadow:0 4px 10px -4px rgba(15,23,42,.5)}
.chc-tc-r.r1{background:linear-gradient(135deg,#F59E0B,#FBBF24)} .chc-tc-r.r2{background:linear-gradient(135deg,#94A3B8,#CBD5E1)} .chc-tc-r.r3{background:linear-gradient(135deg,#B45309,#D97706)}
.chc-tc-n{font-size:12.5px;line-height:1.3;color:#334155;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;min-height:2.6em}
.chc-tc-p{display:flex;align-items:baseline;gap:6px;flex-wrap:wrap}
.chc-tc-p > bdi{color:var(--ch-price,#FB4E00);font-weight:800;font-size:13px}
.chc-tc-p > bdi b{font-size:16px}
.chc-tc-p small{font-size:10.5px;font-weight:800}
.chc-tc-p s{font-size:11px;color:#94A3B8}
@media (min-width:981px){ .chc-tc{width:152px} .chc-top-h h2{font-size:17px} }
/* the empty state */
.chc-empty{padding:34px 16px 26px}
.chc-empty-i{width:150px;height:auto;margin:0 auto 6px;color:#94A3B8;background:none}
.chc-empty-i svg{width:100%;height:auto;display:block}
.chc-empty h2{font-size:18px}
@media (prefers-reduced-motion:reduce){.chc-skel i,.chc.is-busy .cv4-grid-wrap::after,.chc.is-busy .chc-fbar::after{animation:none}}
