/* Stack18 category guide components (cx-). Builds on marketplace.css tokens. */
.cx-page{--cx-line:var(--mph-line,#E6E1D5);--cx-shadow:var(--mph-shadow,0 22px 44px -26px rgba(11,20,38,.26));--cx-shadow-h:var(--mph-shadow-h,0 30px 56px -24px rgba(11,20,38,.34))}
.cx-hero-ic{display:inline-grid;place-items:center;width:64px;height:64px;border-radius:20px;background:linear-gradient(145deg,#FFD38A,#F2A93B);color:#0B1426;box-shadow:0 18px 36px -18px rgba(242,169,59,.9),inset 0 1px 0 rgba(255,255,255,.5);margin-bottom:18px}
.cx-hero-ic svg{width:30px;height:30px}
.cx-hero-btns{display:flex;flex-wrap:wrap;gap:12px;margin-top:26px}
.cx-aka{margin:14px 0 0;font-size:.9rem;color:var(--text-dark-muted,#9FA7BA)}
.cx-aka b{color:#E9E4D8;font-weight:600}
.cx-facts a{color:inherit;text-decoration:underline;text-underline-offset:3px}
/* overview */
.cx-ov{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:18px}
.cx-ov-b{padding:26px 26px 24px;border-radius:20px;background:#fff;border:1px solid var(--cx-line);box-shadow:var(--cx-shadow)}
.cx-ov-b h3{display:flex;align-items:center;gap:12px;font-size:1.06rem;margin:0 0 10px;letter-spacing:-.01em}
.cx-ov-b p{margin:0;font-size:.95rem;line-height:1.7;color:var(--text-light-muted,#565C6E)}
.cx-ov-b .mph-ic.sm{width:34px;height:34px}
/* features */
.cx-feat{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:16px}
.cx-feat li{position:relative;padding:24px 22px;border-radius:18px;background:#fff;border:1px solid var(--cx-line);transition:transform .25s ease,box-shadow .25s ease,border-color .25s ease}
.cx-feat li:hover{transform:translateY(-3px);box-shadow:var(--cx-shadow-h);border-color:#EBCF9C}
.cx-feat h3{font-size:1rem;margin:14px 0 6px;letter-spacing:-.01em}
.cx-feat p{margin:0;font-size:.9rem;line-height:1.62;color:var(--text-light-muted,#565C6E)}
/* use cases */
.cx-uc{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(auto-fill,minmax(330px,1fr));gap:0;border-top:1px solid var(--cx-line)}
.cx-uc li{display:grid;grid-template-columns:52px 1fr;gap:14px;padding:24px 18px 24px 0;border-bottom:1px solid var(--cx-line)}
.cx-uc .cx-n{font-family:var(--font-display);font-size:1.6rem;line-height:1;color:#D58A17}
.cx-uc h3{font-size:1.02rem;margin:2px 0 6px}
.cx-uc p{margin:0;font-size:.93rem;line-height:1.65;color:var(--text-light-muted,#565C6E)}
/* audiences */
.cx-aud{display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:16px}
.cx-aud div{padding:22px;border-radius:18px;background:linear-gradient(160deg,#FFFDF8,#FBF4E6);border:1px solid #EFE3C9}
.cx-aud h3{font-size:1rem;margin:0 0 6px}
.cx-aud p{margin:0;font-size:.9rem;line-height:1.62;color:var(--text-light-muted,#565C6E)}
/* benefits */
.cx-ben{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:16px}
.cx-ben div{position:relative;padding:24px 22px 22px 22px;border-radius:18px;background:#0F1A31;color:#E9E4D8;border:1px solid rgba(255,255,255,.08)}
.cx-ben h3{color:#fff;font-size:1rem;margin:12px 0 6px}
.cx-ben p{margin:0;font-size:.9rem;line-height:1.62;color:#B7C0D4}
.cx-ben svg{width:22px;height:22px;color:#F2C176}
/* buying guide */
.cx-guide{display:grid;grid-template-columns:repeat(auto-fill,minmax(270px,1fr));gap:14px;counter-reset:cxg}
.cx-guide div{padding:22px;border-radius:16px;background:#fff;border:1px solid var(--cx-line)}
.cx-guide h3{font-size:.98rem;margin:0 0 6px;display:flex;gap:10px;align-items:baseline}
.cx-guide h3::before{counter-increment:cxg;content:counter(cxg,decimal-leading-zero);font-size:.78rem;font-weight:700;color:#C27A0E;letter-spacing:.04em}
.cx-guide p{margin:0;font-size:.9rem;line-height:1.62;color:var(--text-light-muted,#565C6E)}
.cx-qs{margin-top:28px;padding:28px;border-radius:20px;background:#FBF4E6;border:1px solid #EFE3C9}
.cx-qs h3{margin:0 0 14px;font-size:1.08rem}
.cx-qs ul{margin:0;padding:0;list-style:none;display:grid;grid-template-columns:repeat(auto-fill,minmax(320px,1fr));gap:10px 26px}
.cx-qs li{position:relative;padding-left:26px;font-size:.94rem;line-height:1.6}
.cx-qs li::before{content:"?";position:absolute;left:0;top:1px;width:18px;height:18px;border-radius:50%;background:#F2A93B;color:#0B1426;font-size:.72rem;font-weight:700;display:grid;place-items:center}
/* listings area */
.cx-empty{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr);gap:36px;align-items:center;padding:44px;border-radius:26px;background:#fff;border:1px dashed #E2CFA8;box-shadow:var(--cx-shadow)}
.cx-empty h3{font-family:var(--font-display);font-size:clamp(1.4rem,2.4vw,1.9rem);letter-spacing:-.02em;margin:10px 0 10px}
.cx-empty p{margin:0 0 10px;color:var(--text-light-muted,#565C6E);line-height:1.7}
.cx-empty-k{display:inline-flex;align-items:center;gap:8px;font-size:.78rem;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:#A85A00}
.cx-empty-k i{width:8px;height:8px;border-radius:50%;background:#F2A93B;box-shadow:0 0 0 4px rgba(242,169,59,.2)}
.cx-empty-btns{display:flex;flex-wrap:wrap;gap:10px;margin-top:18px}
.cx-ghost{display:grid;gap:12px}
.cx-ghost span{display:flex;align-items:center;gap:14px;padding:16px;border-radius:14px;border:1px solid var(--cx-line);background:linear-gradient(90deg,#FBF8F1,#fff)}
.cx-ghost span::before{content:"";width:40px;height:40px;border-radius:12px;background:#F3ECDD;flex:none}
.cx-ghost span::after{content:"";height:10px;border-radius:6px;background:#EFE7D6;flex:1;max-width:70%}
.cx-chips{display:flex;flex-wrap:wrap;gap:8px;margin:16px 0 0;padding:0;list-style:none}
.cx-chips a{display:inline-flex;padding:7px 12px;border-radius:999px;border:1px solid var(--cx-line);background:#fff;font-size:.86rem;font-weight:600;color:var(--text-light,#101524);text-decoration:none}
.cx-chips a:hover{border-color:#F2A93B}
/* categories grid (subcategories and related) */
.cx-cats{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:14px}
.cx-cat{display:flex;flex-direction:column;gap:8px;height:100%;padding:22px;border-radius:18px;background:#fff;border:1px solid var(--cx-line);text-decoration:none;color:inherit;transition:transform .25s ease,box-shadow .25s ease,border-color .25s ease}
.cx-cat:hover,.cx-cat:focus-visible{transform:translateY(-3px);box-shadow:var(--cx-shadow-h);border-color:#EBCF9C}
.cx-cat small{font-size:.72rem;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:#A85A00}
.cx-cat b{font-size:1.02rem;letter-spacing:-.01em;color:var(--text-light,#101524)}
.cx-cat p{margin:0;font-size:.88rem;line-height:1.6;color:var(--text-light-muted,#565C6E)}
.cx-cat em{margin-top:auto;font-style:normal;font-size:.84rem;font-weight:600;color:#A85A00}
/* category index groups */
.cx-groups{display:grid;gap:22px}
.cx-group{padding:28px;border-radius:24px;background:#fff;border:1px solid var(--cx-line);box-shadow:var(--cx-shadow)}
.cx-group-h{display:flex;flex-wrap:wrap;align-items:flex-start;justify-content:space-between;gap:12px 24px;margin-bottom:18px}
.cx-group-h h3{margin:0 0 4px;font-size:1.2rem;letter-spacing:-.01em}
.cx-group-h h3 a{color:inherit;text-decoration:none}
.cx-group-h h3 a:hover{text-decoration:underline;text-underline-offset:4px}
.cx-group-h p{margin:0;color:var(--text-light-muted,#565C6E);font-size:.93rem}
.cx-group-h .mph-ic{width:42px;height:42px}
.cx-group-t{display:flex;gap:16px;align-items:flex-start}
.cx-links{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(auto-fill,minmax(230px,1fr));gap:6px 18px}
.cx-links a{display:flex;justify-content:space-between;gap:10px;padding:9px 0;border-bottom:1px solid #F0EBE0;color:var(--text-light,#101524);text-decoration:none;font-size:.93rem}
.cx-links a:hover{color:#A85A00}
.cx-links em{font-style:normal;font-size:.78rem;color:var(--text-light-muted,#565C6E);white-space:nowrap}
.cx-gnav{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 26px;padding:0;list-style:none}
.cx-gnav a{display:inline-flex;padding:8px 14px;border-radius:999px;background:#fff;border:1px solid var(--cx-line);font-size:.86rem;font-weight:600;color:var(--text-light,#101524);text-decoration:none}
.cx-gnav a:hover{border-color:#F2A93B}
@media (max-width:860px){.cx-empty{grid-template-columns:1fr;padding:28px}.cx-ghost{display:none}.cx-uc{grid-template-columns:1fr}.cx-uc li{padding-right:0}}
@media (max-width:480px){.cx-qs{padding:22px}.cx-qs ul{grid-template-columns:1fr}.cx-group{padding:22px}.cx-feat,.cx-ov,.cx-aud,.cx-ben,.cx-guide,.cx-cats{grid-template-columns:1fr}}
@media (prefers-reduced-motion:reduce){.cx-feat li,.cx-cat{transition:none}.cx-feat li:hover,.cx-cat:hover{transform:none}}
@media (max-width:640px){.cx-gnav{flex-wrap:nowrap;overflow-x:auto;padding-bottom:6px;-webkit-overflow-scrolling:touch}.cx-gnav li{flex:none}.cx-gnav a{border-color:#E2D9C6}}
