/* Category visual rules adapted verbatim from POCO-SITES-HOMEPAGE-CATEGORY-V1
 * project/dist/lab.css (catalog-page through root-tile and responsive overrides).
 * Selectors are namespaced; no Sites navigation, global resets or demo data.
 */
@font-face {font-family:'POCO Inter';font-style:normal;font-weight:100 900;font-display:swap;src:url('../fonts/InterVariable.woff2') format('woff2')}
.poco-category-browser {--poco-blue:#0b3b7e;--poco-line:#d8e1ec;--poco-ink:#111827;--poco-muted:#667085;--poco-orange:#ff5a36;font-family:'POCO Inter',Arial,sans-serif;font-size:16px;line-height:1.45;color:var(--poco-ink);background:#fffdf9;min-width:0;position:relative}
.poco-category-browser [hidden]{display:none!important}
.poco-category-browser a {text-decoration:none;color:inherit}
:where(.poco-category-browser) button,:where(.poco-category-browser) input{font:inherit;outline-offset:4px}
:where(.poco-category-browser) button{border:0;background:none;color:inherit;cursor:pointer}
.poco-category-browser :is(button,a):focus-visible{outline:3px solid #6094d7}
.poco-category-browser .screen-reader-text{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}
.poco-category-browser{padding:40px 0 60px;min-height:650px}
.poco-category-browser .breadcrumb{display:flex;flex-wrap:wrap;gap:8px;align-items:center;color:var(--poco-muted);font-size:11px;margin-bottom:23px}
.poco-category-browser .breadcrumb a{color:var(--poco-blue)}
.poco-category-browser .catalog-title{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:25px}
.poco-category-browser .catalog-title h1{font-size:28px;margin:0 0 10px;color:var(--poco-blue)}
.poco-category-browser .catalog-title p{font-size:12px;color:var(--poco-muted);margin:0}
.poco-category-browser .catalog-search{display:flex;align-items:center;border:1px solid var(--poco-line);border-radius:12px;min-height:45px;max-width:410px;background:white;flex:1}
.poco-category-browser .catalog-search input{min-width:0;flex:1;border:0;background:none;padding:12px;font-size:12px}
.poco-category-browser .catalog-search button{font-size:12px;padding:10px;color:var(--poco-blue)}
.poco-category-browser .catalog-layout{display:grid;grid-template-columns:220px 1fr;gap:25px;align-items:start}
.poco-category-browser .l1-list{display:flex;flex-direction:column;max-height:70vh;overflow:auto;position:sticky;top:15px;padding-right:4px;gap:1px}
.poco-category-browser .l1-list a{border:1px solid var(--poco-line);border-radius:12px;background:white;min-height:44px;display:flex;align-items:center;justify-content:center;font-size:12px;font-weight:500;padding:9px;text-align:center}
.poco-category-browser .l1-list a[aria-current]{color:var(--poco-blue);background:#eaf2ff;font-weight:700}
.poco-category-browser .category-groups{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
.poco-category-browser .category-group{border-radius:18px;background:#fffcf8;padding:20px;min-width:0}
.poco-category-browser .category-group h2{font-size:18px;color:var(--poco-blue);border-bottom:1px solid var(--poco-line);padding-bottom:12px;margin:0 0 12px}
.poco-category-browser .category-group .leaf-list{display:grid;gap:0}
.poco-category-browser .leaf-list>a{font-size:12px;line-height:1.5;padding:8px 0;display:flex;align-items:center;justify-content:space-between;min-height:34px}
.poco-category-browser .leaf-list>a:hover{color:var(--poco-orange)}
.poco-category-browser .category-group .view-products{display:block;font-size:10px;color:var(--poco-blue);margin-bottom:15px;text-decoration:underline}
.poco-category-browser .category-search-results{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.poco-category-browser .search-result{border:1px solid var(--poco-line);border-radius:12px;padding:17px;background:white;display:block}
.poco-category-browser .search-result strong{font-size:13px;color:var(--poco-blue)}
.poco-category-browser .search-result small{display:block;font-size:10px;color:var(--poco-muted);margin-top:8px;line-height:1.7}
.poco-category-browser .pagination{display:flex;justify-content:center;gap:16px;padding:28px}
.poco-category-browser .pagination button{border:1px solid var(--poco-line);padding:10px 18px;border-radius:8px;color:var(--poco-blue);font-size:12px}
.poco-category-browser .pagination button:disabled{opacity:.35;cursor:default}
.poco-category-browser .root-tiles{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
.poco-category-browser .root-tile{border:1px solid var(--poco-line);border-radius:14px;padding:21px;background:white;color:var(--poco-blue);font-size:13px;min-height:90px;display:flex;justify-content:space-between;align-items:center}
.poco-category-browser .root-tile small{font-size:10px;color:var(--poco-muted)}
.poco-category-browser .empty-view{grid-column:1/-1;text-align:center;min-height:240px;padding:50px 24px;border:1px dashed var(--poco-line);border-radius:16px;background:#fff;display:grid;justify-items:center;align-content:center}
.poco-category-browser .empty-view h2{font-size:21px;color:var(--poco-blue);margin:0 0 12px}
.poco-category-browser .empty-view p{font-size:12px;color:var(--poco-muted);line-height:1.9;max-width:480px;margin:0 0 22px}
.poco-category-browser .empty-actions{display:flex;gap:12px;flex-wrap:wrap;justify-content:center}
.poco-category-browser .empty-actions button,.poco-category-browser .empty-actions a{font-size:12px}
.poco-category-browser .back-mobile{display:none}
@media(max-width:1200px){
.poco-category-browser .category-groups{gap:12px}
.poco-category-browser .category-group{padding:16px}
.poco-category-browser .catalog-layout{grid-template-columns:180px 1fr}
}
@media(max-width:900px){
.poco-category-browser .catalog-title{align-items:flex-start}
.poco-category-browser .catalog-layout{grid-template-columns:150px 1fr}
.poco-category-browser .category-groups{grid-template-columns:repeat(2,minmax(0,1fr))}
.poco-category-browser .root-tiles{grid-template-columns:repeat(2,1fr)}
.poco-category-browser .category-search-results{grid-template-columns:repeat(2,1fr)}
}
@media(max-width:600px){
.poco-category-browser{padding:25px 0 40px}
.poco-category-browser .catalog-title{display:block;margin-bottom:22px}
.poco-category-browser .catalog-title h1{font-size:24px}
.poco-category-browser .catalog-title p{font-size:10px;line-height:1.8}
.poco-category-browser .catalog-search{margin-top:17px;max-width:none;width:100%;min-height:42px}
.poco-category-browser .catalog-layout{display:block}
.poco-category-browser .catalog-layout>.l1-list{display:none}
.poco-category-browser .category-groups{display:block}
.poco-category-browser .category-group{background:transparent;padding:0;border-radius:0}
.poco-category-browser .category-group h2{font-size:20px;margin-bottom:8px}
.poco-category-browser .category-group .leaf-list a{border-bottom:1px solid #e6ebf2;min-height:56px;padding:16px 9px;font-size:13px}
.poco-category-browser .category-group .view-products{margin:15px 0 20px;font-size:11px}
.poco-category-browser .category-group+.category-group{margin-top:25px}
.poco-category-browser .root-tiles{grid-template-columns:1fr;gap:0}
.poco-category-browser .root-tile{border:0;border-bottom:1px solid #e6ebf2;border-radius:0;background:transparent;padding:18px 6px;min-height:60px;font-size:13px}
.poco-category-browser .root-tile small{font-size:10px}
.poco-category-browser .back-mobile{display:block;font-size:12px;color:var(--poco-blue);margin-bottom:21px}
.poco-category-browser .category-search-results{grid-template-columns:1fr}
.poco-category-browser .search-result{padding:16px}
.poco-category-browser .breadcrumb{font-size:10px;gap:6px;margin-bottom:21px}
.poco-category-browser .empty-view{padding:35px 18px;min-height:260px}
.poco-category-browser .empty-view h2{font-size:20px}
.poco-category-browser .empty-view p{font-size:11px}
.poco-category-browser .empty-actions{gap:10px}
.poco-category-browser .empty-actions button,.poco-category-browser .empty-actions a{font-size:11px;padding:10px 14px}
}
.poco-category-browser .mobile-l2{display:none}
@media(max-width:600px){
.poco-category-browser .mobile-l2{display:grid}
.poco-category-browser .desktop-groups{display:none}
}
/* Native progressive-enhancement shell only; consumer content has no QA notes. */
.poco-category-panel{border:0;margin:0}
.poco-category-panel>summary{cursor:pointer;padding:16px 0;color:var(--poco-navy)}
.poco-category-panel[open]>summary{display:none}
.poco-plp:has(.poco-category-panel[open]){padding-top:0}
.poco-plp:has(.poco-category-panel[open])>.poco-wrap>:is(.woocommerce-breadcrumb,.woocommerce-products-header){display:none}
.poco-category-dialog{width:min(1440px,calc(100% - 32px));max-height:94dvh;padding:0 24px;border:1px solid var(--poco-line);border-radius:18px;overscroll-behavior:contain}
.poco-category-dialog::backdrop{background:#081f3c77;backdrop-filter:blur(2px)}
.poco-category-browser>[data-category-close]{position:absolute;right:0;top:8px;white-space:nowrap;z-index:1}
.poco-category-browser [data-category-fallback] ul{list-style:none;margin:0;padding:0}
.poco-category-browser [data-category-fallback]>ul{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
.poco-category-browser [data-category-fallback] a{display:block;padding:8px;color:var(--poco-blue)}
/* Sites' approved Homepage Category Tile overrides, bounded to the category section. */
.home #categorias{--poco-blue:#0b3b7e;--poco-line:#d8e1ec;--poco-ink:#111827;--poco-muted:#667085;color:var(--poco-ink);background:#fffdf9}
.home #categorias .poco-section-head h2{letter-spacing:0}
.home #categorias .poco-link{font-size:12px;color:var(--poco-blue);font-weight:600}
.home #categorias .poco-category{display:block;color:#111827}
.home #categorias .poco-category__thumb img{object-fit:contain}
@media(max-width:1200px){.home #categorias .poco-categories{gap:12px}}
@media(max-width:900px){.home #categorias .poco-categories{grid-template-columns:repeat(5,1fr)}}
@media(max-width:600px){
 .home #categorias{padding:28px 0}
 .home #categorias .poco-section-head{align-items:center;gap:15px;margin-bottom:18px}
 .home #categorias .poco-section-head h2{font-size:20px;letter-spacing:0}
 .home #categorias .poco-section-head p{font-size:10px;max-width:225px;line-height:1.6}
 .home #categorias .poco-link{font-size:10px;white-space:nowrap}
 .home #categorias .poco-categories{display:flex;overflow:auto;gap:10px;padding:2px 0 12px}
 .home #categorias .poco-category{flex:0 0 76px;min-height:113px;padding:10px 4px;font-size:10px;border-radius:12px}
 .home #categorias .poco-category__thumb{width:52px;height:52px;margin-bottom:11px}
 .home #categorias .poco-category__thumb img{width:40px;height:40px}
 .poco-category-browser [data-category-fallback]>ul{grid-template-columns:1fr}
}
