/* Category navigation follows the compact On4tech layout, in Electrocorroios colours. */
.ec-storefront .ec-category-intro{display:none;margin:0 0 24px;padding:0 16px}
.ec-storefront .ec-category-results>.ec-category-intro{display:block}
.ec-storefront .ec-category-intro h1{font:700 clamp(24px,2.2vw,32px)/1.3 var(--ec-title-font);color:var(--ec-ink);margin:0 0 8px;overflow-wrap:anywhere}
.ec-storefront .ec-category-intro p{font-size:15px;color:var(--ec-muted);margin:0}
.ec-storefront .ec-category-results .catprod_wrap{min-height:0}
/* Product controls do not apply to category-only results; keep category pagination. */
.ec-storefront .ec-category-navigation>.filtros_bt_mobile,
.ec-storefront .ec-category-navigation>.catalogo_mobile_filtros,
.ec-storefront .ec-category-navigation>.catalogo_mobile_pesquisa>.pesq_txt_padding,
.ec-storefront .ec-category-navigation .catalogo_topo_filtros .filtro_order,
.ec-storefront .ec-category-navigation .catalogo_topo_filtros .filtro_view,
.ec-storefront .ec-category-navigation .catalogo_topo_filtros .vista-catalogo{display:none!important}
.ec-storefront .ec-category-navigation>.catalogo_mobile_pesquisa{height:auto;min-height:0;margin:0;padding:0}
.ec-storefront .ec-category-navigation>.catalogo_mobile_pesquisa .paginacao{margin-top:0}
.ec-storefront #product_show.ec-category-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin:0 0 24px;padding:0}
.ec-storefront .ec-category-card{min-width:0;background:#fff;border:1px solid #e3e5e8;border-radius:14px;padding:16px;transition:transform 180ms,box-shadow 180ms,border-color 180ms}
.ec-storefront .ec-category-main{display:flex;align-items:center;gap:12px;min-height:58px;color:var(--ec-ink);text-decoration:none}
.ec-storefront .ec-category-image{display:grid;place-items:center;flex:0 0 58px;width:58px;height:58px;border-radius:50%;background:#f5f6f7;overflow:hidden;color:var(--ec-red);font-size:24px;font-weight:700}
.ec-storefront .ec-category-image img{width:58px;height:58px;object-fit:contain;padding:5px}
.ec-storefront .ec-category-name{min-width:0}
.ec-storefront .ec-category-name strong{display:block;font-size:15px;font-weight:700;line-height:1.4;overflow-wrap:anywhere}
.ec-storefront .ec-category-name small{display:block;font-size:12px;line-height:1.5;color:var(--ec-muted);margin-top:4px}
.ec-storefront .ec-category-children{display:flex;flex-wrap:wrap;gap:8px;margin-top:16px;background:transparent;height:auto;line-height:normal}
.ec-storefront .ec-category-children a{display:flex;align-items:center;min-height:36px;max-width:100%;padding:7px 10px;border:1px solid #e3e5e8;border-radius:20px;background:#fafafa;color:#454b55;font-size:12px;line-height:1.45;overflow-wrap:anywhere;text-decoration:none;transition:color 180ms,background-color 180ms,border-color 180ms}
.ec-storefront .ec-category-card a:focus-visible{outline:3px solid var(--ec-red);outline-offset:4px;border-radius:8px}
.ec-storefront .ec-category-card a:active{color:var(--ec-red);background:#fff1f2}
@media(hover:hover){.ec-storefront .ec-category-card:hover{transform:translateY(-2px);border-color:var(--ec-red);box-shadow:0 8px 24px #2528300d}.ec-storefront .ec-category-main:hover strong{color:var(--ec-red)}.ec-storefront .ec-category-children a:hover{color:#b51720;border-color:#e7b8bb;background:#fff1f2}}
@media(max-width:1440px){.ec-storefront #product_show.ec-category-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:1100px){.ec-storefront #product_show.ec-category-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:560px){.ec-storefront #product_show.ec-category-grid{grid-template-columns:minmax(0,1fr);gap:12px}.ec-storefront .ec-category-children a{min-height:44px}.ec-storefront .ec-category-intro{margin-bottom:16px}}
@media(prefers-reduced-motion:reduce){.ec-storefront .ec-category-card,.ec-storefront .ec-category-children a{transition:none}.ec-storefront .ec-category-card:hover{transform:none}}
