.catalog-brand-filter{min-width:0;margin:0 0 18px;padding:12px 15px;border:1px solid #dce6ee;border-radius:10px;background:#f4f9fb;color:#16334e}
.catalog-brand-filter legend{padding:0 6px;font-weight:750}
.catalog-brand-options{display:flex;flex-wrap:wrap;align-items:center;gap:8px 12px}
.catalog-brand-options label{display:inline-flex;align-items:center;gap:6px;max-width:100%;padding:5px 9px;border:1px solid #dce6ee;border-radius:7px;background:#fff;overflow-wrap:anywhere;cursor:pointer}
.catalog-brand-options input{margin:0;accent-color:#087f7c}
.catalog-brand-actions{display:flex;align-items:center;flex-wrap:wrap;gap:8px 14px;margin-top:10px}
.catalog-brand-actions button{font:inherit;cursor:pointer}
.catalog-brand-clear{padding:0;border:0;background:none;color:#075f60;font-weight:700;text-decoration:underline}
.catalog-brand-apply{padding:6px 12px;border:1px solid #087f7c;border-radius:6px;background:#087f7c;color:#fff}
.catalog-brand-filter[hidden],.catalog-brand-options [hidden]{display:none!important}
.sorpa-category-card-brand{color:#52697b;font-size:14px}

#sorpaProductGrid .sorpa-product-card > p,
.sorpa-product-list .sorpa-product-item > p {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    flex: 0 0 auto;
    overflow: hidden;
}

.catalog-pagination{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:7px;margin:26px 0 0}
.catalog-pagination[hidden]{display:none!important}
.catalog-pagination a,.catalog-pagination button,.catalog-pagination span{display:inline-flex;align-items:center;justify-content:center;min-width:40px;min-height:40px;padding:8px 12px;box-sizing:border-box;border:1px solid #dce6ee;border-radius:8px;background:#fff;color:#16334e;font:inherit;font-size:14px;line-height:1.3;text-decoration:none}
.catalog-pagination button{cursor:pointer}
.catalog-pagination a:hover,.catalog-pagination button:hover:not(:disabled){border-color:#087f7c;color:#087f7c}
.catalog-pagination [aria-current="page"]{background:#087f7c;color:#fff;border-color:#087f7c;font-weight:700}
.catalog-pagination [aria-current="page"]:hover{background:#075d5b;color:#fff}
.catalog-pagination button:disabled,.catalog-pagination [aria-disabled="true"]{opacity:.45;cursor:default}
.catalog-pagination [aria-hidden="true"]{border:0;background:none;min-width:20px;padding:4px}
.catalog-pagination :focus-visible{outline:3px solid #00b7b0;outline-offset:3px}
#sorpaCatalogTitle{scroll-margin-top:20px}

/* Mobile pagination must stay in document flow, outside generic nav positioning. */
@media screen and (max-width:720px){
 html body nav.catalog-pagination{
  position:static!important;
  inset:auto!important;
  float:none;
  clear:both;
  transform:none;
  display:flex;
  flex-direction:row!important;
  flex-wrap:wrap;
  align-items:center;
  justify-content:center;
  gap:5px;
  width:100%;
  max-width:100%;
  min-height:0;
  height:auto;
  padding:0!important;
  margin:24px 0 0;
  background:transparent!important;
  border:0;
  border-radius:0;
  box-shadow:none!important;
  z-index:auto;
 }
 html body nav.catalog-pagination[hidden]{display:none!important}
 html body nav.catalog-pagination a,html body nav.catalog-pagination button,html body nav.catalog-pagination span{
  flex:0 0 auto;
  min-width:36px;
  min-height:40px;
  margin:0;
  padding:8px 10px;
  border-radius:9px;
  font-size:14px;
  line-height:1.3;
  letter-spacing:0;
 }
 html body nav.catalog-pagination [data-page-direction]{width:40px;font-size:0}
 html body nav.catalog-pagination [data-page-direction]::before{font:26px/1 Arial,sans-serif}
 html body nav.catalog-pagination [data-page-direction="prev"]::before{content:'‹'}
 html body nav.catalog-pagination [data-page-direction="next"]::before{content:'›'}
 html body nav.catalog-pagination [aria-hidden="true"]{min-width:14px;padding:0}
}
