.woocommerce-shop #main ul.products:has(>.nh-store-category-card){display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:24px!important;align-items:stretch}
.woocommerce-shop #main ul.products li.nh-store-category-card{display:block!important;min-width:0;margin:0!important;padding:0!important;border:1px solid #e5dcd5!important;border-radius:12px!important;overflow:hidden;background:#fff!important;box-shadow:none;transition:border-color .2s,box-shadow .2s}
.woocommerce-shop #main .nh-store-category-link{display:flex;flex-direction:column;height:100%;color:#321e32;text-decoration:none}
.woocommerce-shop #main .nh-store-category-image{aspect-ratio:4/3;display:flex;align-items:center;justify-content:center;overflow:hidden;background:#f7f2ed;padding:18px}
.woocommerce-shop #main li.nh-store-category-card img{position:static!important;display:block;width:100%!important;height:100%!important;max-height:none!important;max-width:100%!important;aspect-ratio:auto!important;object-fit:contain!important;transform:none!important;background:transparent!important;margin:0!important}
.woocommerce-shop #main li.nh-store-category-card h2.nh-store-category-name{position:static;display:flex;align-items:center;justify-content:space-between;gap:12px;flex:1;min-height:64px;margin:0!important;padding:16px 20px!important;color:#321e32;font-size:18px;line-height:1.35;font-weight:600;text-transform:none;letter-spacing:0;background:#fff}
.nh-store-category-name span{flex-shrink:0}
.woocommerce-shop #main .nh-store-category-link:focus-visible{outline:3px solid #9c3229;outline-offset:-3px}
@media(hover:hover){.woocommerce-shop #main li.nh-store-category-card:hover{border-color:#b89baf!important;box-shadow:0 6px 18px #321e3210}}
@media(max-width:699px){.woocommerce-shop #main ul.products:has(>.nh-store-category-card){grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important}.woocommerce-shop #main .nh-store-category-image{padding:10px;aspect-ratio:1}.woocommerce-shop #main li.nh-store-category-card h2.nh-store-category-name{font-size:15px;min-height:64px;padding:12px!important;gap:6px}}
@media(prefers-reduced-motion:reduce){.woocommerce-shop #main li.nh-store-category-card{transition:none}}

/* Keep mobile category labels aligned with the card padding. */
.woocommerce-shop #main li.nh-store-category-card h2.nh-store-category-name{text-align:left!important;width:100%;box-sizing:border-box}

.woocommerce-shop #main li.nh-store-category-card h2.nh-store-category-name{align-self:stretch!important;grid-column:auto!important;width:100%!important;max-width:none!important;text-align:left!important}
