/* ===== CATEGORY DETAIL (claudedocs/HTML/products (2).html, suppliers (1).html) =====
   Only rules this page uses. Shared (site.css): dark hero .sh, list layout / filters / toolbar /
   chips / drawer, product grid .pl-g, business grid .pp-g.sl-g, cards, Load more, empty state, CTA.
   The heading above the list chooses Products or Businesses: "Products ▾ in {category} (14)",
   a <details> menu of links (claudedocs/ui-integration/category-detail.md, section 0). */

.cd-head{margin:0 0 1.4rem}
.cd-head h2{display:flex;align-items:baseline;flex-wrap:wrap;gap:.4rem 1rem;margin:0;font:800 clamp(2.2rem,2.6vw,3rem)/1.25 var(--secondaryFont);letter-spacing:-.02em;color:var(--blueText)}
.cd-in{font-weight:700;color:var(--blueText)}
.cd-n{font:700 1.6rem var(--primaryFont);color:var(--grey)}

/* the dropdown word ("Products ▾") */
.cd-show{position:relative;display:inline-block}
.cd-show summary{display:inline-flex;align-items:center;gap:.8rem;padding:.2rem 1.2rem .4rem;margin-left:-1.2rem;border-radius:1.2rem;color:var(--accent);cursor:pointer;list-style:none;transition:background .2s}
.cd-show summary::-webkit-details-marker{display:none}
.cd-show summary:hover,.cd-show[open] summary{background:var(--tint)}
.cd-show summary:focus-visible{outline:.3rem solid var(--accent2);outline-offset:.2rem}
.cd-ar{width:1rem;height:1rem;margin-top:-.4rem;border-right:.3rem solid currentColor;border-bottom:.3rem solid currentColor;transform:rotate(45deg);transition:transform .2s}
.cd-show[open] .cd-ar{margin-top:.4rem;transform:rotate(-135deg)}

/* the menu */
.cd-menu{position:absolute;left:-1.2rem;top:calc(100% + .6rem);z-index:30;min-width:24rem;margin:0;padding:.8rem;list-style:none;border:.1rem solid #dfe8fb;border-radius:1.8rem;background:#fff;box-shadow:0 1.8rem 4.4rem rgba(10,42,107,.18)}
.cd-menu a{display:flex;align-items:center;justify-content:space-between;gap:1.6rem;padding:1.1rem 1.4rem;border-radius:1.2rem;font:700 1.5rem var(--primaryFont);letter-spacing:0;color:var(--blueText)}
.cd-menu a:hover{background:var(--grey2);opacity:1}
.cd-menu a.on{background:var(--tint);color:var(--headerBg)}
.cd-menu a.on span:before{content:"✓";margin-right:.8rem;color:var(--accent)}
.cd-menu em{padding:.3rem 1rem;border-radius:3rem;background:var(--grey2);font:800 1.2rem var(--secondaryFont);font-style:normal;color:var(--headerBg)}
.cd-menu a.on em{background:#fff}

.cd-none{margin:.4rem .6rem 1rem;font-size:1.35rem;color:var(--grey)}

@media(max-width:575px){
    /* one flowing sentence ("Products ▾ in … (6)") instead of three stacked pieces */
    .cd-head h2{display:block;font-size:2.2rem;line-height:1.4}
    .cd-show{margin-right:.4rem}
    .cd-n{margin-left:.4rem;white-space:nowrap}
    .cd-n{font-size:1.4rem}
    .cd-menu{min-width:22rem}
}
