/* Centered category artwork. Homepage and shop directory remain text-only. */
body.agp-site.tax-product_cat .agp-brands>a:has(.agm-category-art){display:block;padding:0;overflow:hidden;background:#fff;border:1px solid #dfe5dd;border-radius:8px}
.agp-site .agp-brands .agm-category-art,.agp-site .agm-category-card .agm-category-art{display:block;width:100%;height:auto;aspect-ratio:1;object-fit:contain;margin:0;padding:0;max-width:100%}
.agp-site .agp-brands .agm-brand-caption{display:block;padding:15px 42px 15px 17px;line-height:1.4}
.agp-site .agp-brands .agm-brand-name,.agp-site .agm-category-caption strong{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.agp-site .agp-brands .agm-brand-caption small{display:block;margin:0;color:#53654f;font-size:13px;line-height:1.4}
.agp-site .agp-brands>a:has(.agm-category-art)>b{top:auto;bottom:15px;right:17px;color:#234b36}
.agp-site .agp-brands>a:has(.agm-category-art):hover{border-color:#80977a;background:#fff}
.agm-category-navigation{margin:8px 0 30px}
.agp-site #main .agm-category-navigation h2{font-size:21px;margin:0 0 16px;line-height:1.4}
.agm-category-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}
.agm-category-card{display:block;min-width:0;border:1px solid #dfe5dd;border-radius:8px;overflow:hidden;background:#fff;color:#234b36;transition:border-color .18s,box-shadow .18s}
.agm-category-caption{display:flex;justify-content:space-between;align-items:center;padding:15px 17px;line-height:1.4}
.agm-category-caption::after{content:'→';color:#234b36;font-size:16px;line-height:1}
.agm-category-caption small{display:block;margin:0;font-size:13px;line-height:1.4;color:#53654f}
.agm-category-card:hover{border-color:#80977a;box-shadow:0 4px 14px #173b2c0c}
.agm-category-card:focus-visible{}
@media(max-width:849px){.agm-category-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}}
@media(max-width:549px){.agm-category-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.agp-site .agp-brands .agm-brand-caption{padding:12px 30px 12px 12px}.agp-site .agp-brands .agm-brand-caption small,.agm-category-caption small{font-size:12px}.agm-category-caption{padding:12px}.agp-site .agp-brands>a:has(.agm-category-art)>b{right:12px;bottom:12px}}
@media(prefers-reduced-motion:reduce){.agm-category-card{transition:none}}
