/* Catalog levels stay visible while the selected branch's products scroll. */
.pc-catalog{display:flex;flex-direction:column;min-width:0;height:calc(100dvh - 292px);min-height:440px;border:1px solid var(--border-soft);border-radius:var(--r-lg);overflow:hidden;background:var(--surface)}
.pc-category-strip{display:flex;flex:none;align-items:stretch;min-width:0;border-bottom:1px solid var(--border-soft);background:var(--surface)}
.pc-category-strip nav{display:flex;flex:1;min-width:0;gap:8px;overflow-x:auto;overflow-y:hidden;scrollbar-width:thin;overscroll-behavior-x:contain}
.pc-category-primary{align-items:stretch;padding:12px 16px}
.pc-category-primary button{display:flex;flex:none;flex-direction:column;align-items:center;justify-content:center;gap:8px;min-width:100px;max-width:240px;min-height:88px;padding:10px 16px;border-radius:12px;color:var(--text-2);font-size:14px;font-weight:600}
.pc-category-primary button>span:last-child{white-space:nowrap}
.pc-category-primary .fumio-category-icon{display:grid;place-items:center;position:relative;width:38px;height:38px;border-radius:12px;background:var(--surface-2);font-size:20px}
.pc-category-primary button[aria-pressed=true]{background:var(--accent-soft,#fff0e9);color:var(--accent-buyer-ink,#b63816)}
.pc-category-primary button[aria-pressed=true] .fumio-category-icon{background:var(--accent);color:#fff}
.pc-category-columns{display:grid;grid-template-columns:190px minmax(0,1fr);flex:1;min-height:0;overflow:hidden}
.pc-category-secondary{position:relative;display:flex;flex-direction:column;gap:4px;min-height:0;overflow-y:auto;overflow-x:hidden;padding:12px 10px;background:var(--surface-2);border-right:1px solid var(--border-soft);scrollbar-width:thin;overscroll-behavior:contain}
.pc-category-secondary button{flex:none;min-height:48px;padding:12px 14px;border-radius:10px;text-align:left;line-height:1.6;font-size:14px;color:var(--text-2);overflow-wrap:anywhere}
.pc-category-secondary button[aria-pressed=true]{background:var(--surface);color:var(--accent-buyer-ink,#b63816);font-weight:700;box-shadow:var(--sh-1)}
.pc-category-main{display:flex;flex-direction:column;min-width:0;min-height:0;overflow:hidden}
.pc-category-tertiary{position:relative;align-items:center;padding:12px 16px;min-height:64px}
.pc-category-tertiary button{flex:none;padding:8px 16px;border:1px solid var(--border-soft);border-radius:24px;white-space:nowrap;color:var(--text-2);font-size:13px;min-height:38px}
.pc-category-tertiary button[aria-pressed=true]{background:var(--accent);border-color:var(--accent);color:#fff;font-weight:600}
.pc-category-arrow{display:grid;flex:none;place-items:center;width:32px;padding:0;background:var(--surface);color:var(--text);border-radius:0}
.pc-category-arrow svg{width:20px;height:20px}.pc-category-arrow:disabled{opacity:.3}.pc-category-arrow[hidden]{display:none!important}
.pc-category-products{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:20px;scrollbar-width:thin}
.pc-category-products .section-title{margin-bottom:16px}.pc-category-products h2{font-size:18px;line-height:1.5}
.pc-category-products .prod-grid{grid-template-columns:repeat(auto-fill,minmax(190px,1fr));gap:16px}
.pc-category-status,.pc-category-products .prod-grid>p{grid-column:1/-1;text-align:center;padding:60px 16px;color:var(--text-3);line-height:1.8}
.pc-category-status .btn{margin-top:16px}.pc-catalog button:focus-visible{outline:2px solid var(--accent);outline-offset:-2px}
@media(max-width:1100px){.pc-category-columns{grid-template-columns:160px minmax(0,1fr)}.pc-category-products{padding:16px}.pc-category-products .prod-grid{grid-template-columns:repeat(auto-fill,minmax(170px,1fr))}}
@media(max-width:700px){.pc-catalog{height:calc(100dvh - 240px);min-height:400px}.pc-category-columns{grid-template-columns:112px minmax(0,1fr)}.pc-category-secondary{padding:8px 6px}.pc-category-secondary button{padding:10px 8px;font-size:12px}.pc-category-primary button{min-width:80px;padding:8px 12px;font-size:12px}.pc-category-products{padding:10px}.pc-category-products .prod-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.pc-category-products .p-body{padding:8px}.pc-category-products .p-name{font-size:12px}}
