/* Category gallery, shared across mobile and desktop. */
body[data-theme] .shop-layout{display:block;grid-template-columns:minmax(0,1fr)}
body[data-theme] #categorias{position:static;width:100%;max-width:none;padding:20px 0 14px;margin:0 0 22px;border:0;border-radius:0;background:transparent;box-shadow:none;min-width:0}
body[data-theme] #categorias .sidebar-heading{padding:0 0 14px;gap:10px;justify-content:flex-start}
body[data-theme] #categorias .sidebar-heading h2{font-size:22px;letter-spacing:-.5px}
body[data-theme] #categorias #category-count{font-size:11px;padding:4px 7px;background:#eaf3fc;color:#45627a}
#category-toggle{margin-left:auto;border:0;background:transparent;padding:9px 3px;font:inherit;font-size:13px;font-weight:700;color:#0963b6;cursor:pointer;white-space:nowrap}
body[data-theme] #categorias .category-search-box{max-width:320px;margin:0 0 14px;background:#fff;border:1px solid #dbe6ef;border-radius:24px;padding:0 14px}
body[data-theme] #categorias .category-search-box input{font-size:13px;padding:10px 0}
body[data-theme] #categorias #categories{display:flex;gap:18px;overflow-x:auto;overflow-y:hidden;max-height:none;scroll-snap-type:x proximity;padding:6px 4px 12px;scrollbar-width:thin;scrollbar-color:#b7d4ed transparent}
body[data-theme] #categorias .category{position:relative;display:flex;flex-direction:column;justify-content:flex-start;align-items:center;gap:8px;flex:0 0 104px;width:104px;min-height:0;padding:0 2px;margin:0;background:transparent;border:0;border-radius:0;box-shadow:none;text-align:center;color:#193c57;scroll-snap-align:start;transform:none}
body[data-theme] #categorias .category .category-icon{display:grid;place-items:center;width:86px;height:86px;flex:0 0 86px;border-radius:50%;background:var(--category-bg);color:var(--category-ink);border:3px solid transparent;box-shadow:0 3px 12px #123c5710;overflow:hidden;transition:transform .18s,box-shadow .18s}
body[data-theme] #categorias .category .category-icon svg{width:38px;height:38px;stroke-width:1.6}
body[data-theme] #categorias .category .category-icon img{width:72%;height:72%;object-fit:contain;mix-blend-mode:multiply}
body[data-theme] #categorias .category .category-name{display:block;min-height:34px;font-size:13px;line-height:1.3;font-weight:700;overflow-wrap:anywhere;text-transform:none}
body[data-theme] #categorias .category small{display:block;background:none;color:#698094;padding:0;margin-top:-4px;font-size:10px;font-weight:400}
body[data-theme] #categorias .category.active{background:transparent;color:#0963b6;border:0}
body[data-theme] #categorias .category.active .category-icon{border-color:#0963b6;box-shadow:0 0 0 3px #cce6ff;background:var(--category-bg);color:var(--category-ink)}
body[data-theme] #categorias .category:hover{background:transparent;transform:none}
body[data-theme] #categorias .category:hover .category-icon{transform:translateY(-3px)}
body[data-theme] #categorias .category:focus-visible{outline:2px solid #0963b6;outline-offset:2px;border-radius:12px}
body[data-theme] #categorias .sidebar-tools,body[data-theme] #categorias .sidebar-foot{display:none}
body[data-theme] #categorias .category-search-feedback{font-size:11px;margin:4px 0 0;color:#637c90}
body[data-theme] #categorias.categories-expanded #categories{display:grid;grid-template-columns:repeat(auto-fill,minmax(100px,1fr));max-height:440px;overflow-y:auto;overflow-x:hidden;gap:20px 12px;scroll-snap-type:none}
body[data-theme] #categorias.categories-expanded .category{width:100%}
@media(max-width:600px){body[data-theme] #categorias{padding:12px 0 10px;margin-bottom:16px}body[data-theme] #categorias .sidebar-heading h2{font-size:19px}body[data-theme] #categorias #categories{gap:10px}body[data-theme] #categorias .category{flex-basis:78px;width:78px;gap:7px}body[data-theme] #categorias .category .category-icon{width:68px;height:68px;flex-basis:68px}body[data-theme] #categorias .category .category-icon svg{width:30px;height:30px}body[data-theme] #categorias .category .category-name{font-size:12px;min-height:31px}body[data-theme] #categorias .category small{font-size:9px}body[data-theme] #categorias.categories-expanded #categories{grid-template-columns:repeat(3,minmax(0,1fr));gap:18px 8px;max-height:380px}body[data-theme] #categorias .category-search-box{max-width:none}}
@media(prefers-reduced-motion:reduce){body[data-theme] #categorias .category .category-icon{transition:none;transform:none!important}}
