.reference-catalog{max-width:1320px;margin:3rem auto 4rem;padding:0 24px}
.reference-catalog h1{font-size:1.45rem;font-weight:600;margin:0 0 1rem}
.catalog-crumbs{font-size:.875rem;margin-bottom:1rem}
.catalog-crumbs a{color:var(--brand)}
.catalog-tabs{display:flex;gap:.6rem;overflow:auto;padding-bottom:.4rem;margin-bottom:.8rem}
.catalog-tabs a{display:flex;align-items:center;gap:.7rem;border:1px solid var(--line);padding:.75rem 1rem;white-space:nowrap;background:white;font-size:.9rem}
.catalog-tabs img{width:36px;height:36px;object-fit:cover}
.catalog-tabs [aria-current]{border-color:var(--brand);background:var(--paper);color:var(--brand)}
.catalog-controls{display:flex;align-items:center;gap:1rem;margin-bottom:1rem;flex-wrap:wrap}
.catalog-search,.catalog-sort{display:flex;align-items:center;margin:0;gap:.5rem}
.catalog-search{background:#f0f2f5;width:min(100%,360px)}
.catalog-search input,.catalog-search button{margin:0;border:0;background:transparent;border-radius:0}
.catalog-search button{padding:.6rem}.catalog-search svg,.reference-cart-button svg{width:1.1rem;height:1.1rem}
.catalog-sort{margin-left:auto}.catalog-sort select,.catalog-filter summary,.catalog-filter button{padding:.6rem;border:1px solid var(--line);background:#f0f2f5;color:var(--ink)}
.catalog-filter label{margin:.4rem 0}.catalog-filter input{width:auto;display:inline}
.reference-product-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:1rem}
.reference-product-card{display:flex;flex-direction:column;gap:.55rem;min-width:0;padding:.75rem;border:1px solid var(--line);border-radius:1rem;background:white}
.reference-product-photo{position:relative;aspect-ratio:6/5;display:grid;place-items:center;overflow:hidden;background:#fafbfc}
.reference-product-photo img{width:100%;height:100%;object-fit:contain}.reference-product-photo svg{width:2rem;height:2rem}
.reference-product-card h2{font-size:.95rem;line-height:1.25;font-weight:500;margin:0}
.reference-product-card strong{font-size:.8rem}
.reference-product-actions{margin-top:auto;padding-top:.25rem}
.reference-cart-button{display:inline-grid;place-items:center;background:var(--brand);color:white;border:0;border-radius:2px;width:2.3rem;height:2.3rem}
.catalog-stock-ribbon{position:absolute;top:1.05rem;left:-2.1rem;width:8rem;text-align:center;transform:rotate(-45deg);background:#ffbd00;color:#14202e;font-size:.65rem;padding:.25rem}
.reference-pagination{display:flex;justify-content:center;gap:1.1rem;align-items:center;margin-top:2rem}
.reference-pagination [aria-current]{border-radius:50%;background:var(--brand);color:white;padding:.45rem .75rem}
.catalog-sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
@media(max-width:1000px){.reference-product-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:760px){.reference-product-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:520px){.reference-catalog{padding:0 14px;margin-top:1.5rem}.reference-product-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:.65rem}.catalog-sort{margin-left:0}}

.home-category-cover{position:relative;display:block;overflow:hidden;border-radius:3px;background:#14202e}
.home-category-media{aspect-ratio:10/11;position:relative}
.home-category-media img{width:100%;height:100%;object-fit:cover}
.home-category-media::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,#14202e70,transparent 46%);pointer-events:none}
.home-category-label{position:absolute;top:0;left:0;margin:0;padding:.7rem;color:white;font-size:1rem;font-weight:500}

#wrapwrap > main:has(> .reference-catalog){width:100%;min-width:0;max-width:100%}
.reference-pagination{flex-wrap:wrap}

#wrapwrap .storefront-success{
    max-width:1320px;
    margin-inline:auto;
    background:#e9f6ee;
    color:#14532d;
    border-color:#a9d6b9;
}
#wrapwrap .storefront-success a{color:inherit;font-weight:600;text-decoration:underline}
