/* Product tiles only: category entrance and individual product forms stay native. */
#main ul.products:has(> .nh-product-card){display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:38px 24px!important;align-items:start}
#main ul.products li.nh-product-card{display:flex!important;flex-direction:column;min-width:0;margin:0!important;padding:0!important;border:0!important;border-radius:0!important;background:transparent!important;overflow:visible;gap:0!important;box-shadow:none!important}
#main ul.products li.nh-product-card[hidden]{display:none!important}
#main .nh-card-media{position:relative;aspect-ratio:4/5;overflow:hidden;background:#f3f1ee;border-radius:3px}
#main .nh-card-image-link{display:block;position:relative;width:100%;height:100%;overflow:hidden;touch-action:pan-y}
#main .nh-card-media img{display:block;width:100%!important;height:100%!important;max-height:none!important;aspect-ratio:4/5!important;object-fit:contain!important;background:transparent!important;padding:12px;transition:opacity .3s ease,transform .45s ease}
#main .nh-card-media .nh-card-secondary{position:absolute;inset:0;opacity:0;pointer-events:none}
#main .nh-card-image-link:focus-visible{outline:3px solid #9c3229;outline-offset:-4px}
#main .nh-favorite-button{position:absolute;top:12px;right:12px;z-index:2;display:grid;place-items:center;width:44px;height:44px;min-height:44px;padding:0;border:0;border-radius:50%;color:#321e32;background:#ffffffed;box-shadow:0 2px 10px #321e3209;cursor:pointer;transition:background .2s,color .2s,transform .2s;line-height:1}
#main .nh-favorite-button:disabled{opacity:.65;cursor:default}
#main .nh-favorite-button[aria-pressed=true]{color:#9c3229;background:#fff}
#main .nh-favorite-button[aria-pressed=true] svg{fill:currentColor}
#main .nh-favorite-button:focus-visible{outline:2px solid #9c3229;outline-offset:3px}
#main ul.products li.nh-product-card .nh-card-info{display:grid;gap:5px;padding:14px 1px 0!important;margin:0!important;width:100%;text-align:left}
#main .nh-product-card .nh-card-title{font-size:16px!important;font-weight:500!important;line-height:1.4;letter-spacing:-.015em;color:#321e32;margin:0!important;padding:0!important;min-height:0!important}
#main .nh-card-title a{color:inherit;text-decoration:none}
#main .nh-card-title a:hover{text-decoration:underline;text-underline-offset:4px}
#main .nh-product-card .nh-card-price{display:block;margin:0!important;font-size:16px!important;font-weight:650;line-height:1.5;color:#321e32}
#main .nh-card-sizes{font-size:12px;line-height:1.5;color:#776f75}
.nh-favorites-link{display:inline-flex;align-items:center;gap:8px;float:right;margin:0 16px 20px 0;min-height:40px;font-size:13px;color:#321e32;text-decoration:none}
.nh-favorites-link svg{width:18px;height:18px}
.nh-favorites-link [data-nh-favorites-count]{display:grid;place-items:center;min-width:23px;height:23px;padding:0 5px;background:#f3f1ee;border-radius:50%;font-size:11px}
.nh-favorites-page{max-width:1290px;margin-inline:auto}
.nh-favorites-page>p{color:#6b6068}
.nh-favorites-empty{padding:32px 0}
.nh-favorites-grid{list-style:none;padding:0;margin-top:30px}
.nh-favorites-empty[hidden]{display:none}
.nh-tax-note{font-size:12px;color:#776f75;margin:0 0 14px}
.nh-favorite-status{position:fixed!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(hover:hover){#main .nh-card-image-link:hover .nh-card-primary{transform:scale(1.035)}#main .nh-card-image-link.nh-alt-ready:hover .nh-card-primary{opacity:0}#main .nh-card-image-link.nh-alt-ready:hover .nh-card-secondary{opacity:1;transform:scale(1.035)}#main .nh-favorite-button:hover{background:#fff;transform:translateY(-2px)}}
#main .nh-card-image-link.nh-alt-ready:focus-visible .nh-card-secondary{opacity:1}
@media(max-width:899px){#main ul.products:has(> .nh-product-card){grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:28px 18px!important}}
@media(max-width:599px){#main ul.products:has(> .nh-product-card){gap:26px 12px!important}#main .nh-card-media img{padding:5px}#main .nh-favorite-button{top:8px;right:8px;width:40px;height:40px;min-height:40px}#main .nh-card-info{padding-top:10px;gap:4px}#main .nh-product-card .nh-card-title{font-size:13px!important;line-height:1.45}#main .nh-product-card .nh-card-price{font-size:14px!important}#main .nh-card-sizes{font-size:11px}.nh-favorites-link{float:none;margin:0 0 14px;display:flex;width:fit-content}}
@media(prefers-reduced-motion:reduce){#main .nh-card-media img,#main .nh-favorite-button{transition:none!important}}

/* Highlight sale prices, including discounted ranges and selected variations. */
#main .price ins,
#main .price ins .woocommerce-Price-amount,
#main .price ins .woocommerce-Price-currencySymbol,
#main .nh-product-card.sale .nh-card-price,
#main .product.sale .summary>.price:not(:has(ins)){color:#b42318}
#main .price del,
#main .price del .woocommerce-Price-amount,
#main .price del .woocommerce-Price-currencySymbol{color:#776f75}
