/* Shared artwork cards and responsive grids; filters remain unchanged. */
body .tt-artwork-card.tt-artwork-card{display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:0!important;box-sizing:border-box;min-width:0;width:100%;height:100%;margin:0!important;padding:0 0 20px!important;border:0!important;border-bottom:1px solid #dedbd7!important;background:transparent;text-align:left!important;box-shadow:none}
body .tt-artwork-card .tt-card-image{display:block!important;position:relative;width:100%;aspect-ratio:1;margin:0 0 16px!important;overflow:hidden;color:inherit}
body .tt-artwork-card .tt-card-image .tc-availability-image{display:block;width:100%;height:100%}
body .tt-artwork-card .tt-card-image img{display:block!important;width:100%!important;height:100%!important;max-height:none!important;aspect-ratio:1!important;object-fit:cover!important;margin:0!important}
body .tt-artwork-card .tt-card-title{font-size:21px!important;font-weight:500!important;line-height:1.25!important;letter-spacing:-.025em!important;margin:0 0 8px!important;padding:0!important;text-align:left!important}
body .tt-artwork-card .tt-card-title a,body .tt-artwork-card .tt-card-artist a{color:inherit!important;text-decoration:none!important}
body .tt-artwork-card .tt-card-title a:hover,body .tt-artwork-card .tt-card-artist a:hover{text-decoration:underline!important}
body .tt-artwork-card .tt-card-artist{font-size:14px!important;line-height:1.5!important;color:#555!important;margin:0 0 6px!important}
body .tt-artwork-card .tt-card-details{font-size:12px!important;line-height:1.5!important;color:#666!important;margin:0 0 8px!important}
body .tt-artwork-card .tt-card-state{font-size:13px!important;line-height:1.5!important;color:#555!important;margin:4px 0 8px!important}
body .tt-artwork-card .tt-card-bottom{display:flex;flex-direction:column;align-items:flex-start;gap:14px;margin-top:auto!important;padding-top:22px!important}
body .tt-artwork-card .tt-card-price{font-size:16px!important;line-height:1.5!important;color:#333!important;margin:0!important}
body .tt-artwork-card .tt-card-button{display:inline-flex!important;align-items:center;justify-content:center;min-height:44px;box-sizing:border-box;padding:12px 22px!important;margin:0!important;background:#c92228!important;color:#fff!important;border:0!important;border-radius:0!important;font-size:14px!important;font-weight:600!important;line-height:1.4!important;text-decoration:none!important}
body .tt-artwork-card .tt-card-button:hover{background:#161616!important;color:#fff!important}
body .tt-artwork-card .tt-card-button:after{content:none!important}
body .tt-artwork-card a:focus-visible{outline:2px solid #222!important;outline-offset:4px}
body .tt-artwork-card .tc-availability-badge{font-size:11px!important;line-height:1.4!important;text-transform:uppercase;top:10px;left:10px}
body .tt-artwork-card .tt-work-meta{display:none!important}
body .wc-block-product-template>li:has(>.tt-artwork-card){display:flex;flex-direction:column;padding:0!important;border:0!important}
@media(max-width:760px){body .tt-artwork-card .tt-card-title{font-size:19px!important}}

/* Match the gallery grid on every product listing, excluding artist/collection index cards. */
body .tc-catalog-grid:has(>.tt-artwork-card),
body .tc-artists-grid:has(>.tt-artwork-card),
body .tc-collections-grid:has(>.tt-artwork-card),
body .tc-shopping-products:has(>.tt-artwork-card),
body ul.wc-block-product-template:has(>li>.tt-artwork-card){display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:32px 24px!important;align-items:stretch!important}
@media(max-width:760px){
 body .tc-catalog-grid:has(>.tt-artwork-card),body .tc-artists-grid:has(>.tt-artwork-card),body .tc-collections-grid:has(>.tt-artwork-card),body .tc-shopping-products:has(>.tt-artwork-card),body ul.wc-block-product-template:has(>li>.tt-artwork-card){grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:24px 16px!important}
}
@media(max-width:420px){
 body .tc-catalog-grid:has(>.tt-artwork-card),body .tc-artists-grid:has(>.tt-artwork-card),body .tc-collections-grid:has(>.tt-artwork-card),body .tc-shopping-products:has(>.tt-artwork-card),body ul.wc-block-product-template:has(>li>.tt-artwork-card){grid-template-columns:1fr!important}
}

/* Recommendations retain four columns and the shared card hierarchy. */
body .tc-recommendations .tc-rec-grid{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:32px 24px!important;align-items:stretch!important}
body .tc-recommendations .tt-card-title{min-height:2.5em;overflow-wrap:anywhere}
@media(max-width:760px){body .tc-recommendations .tc-rec-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:24px 16px!important}}
@media(max-width:420px){body .tc-recommendations .tc-rec-grid{grid-template-columns:1fr!important}}

body .tt-artwork-card .tt-card-type{font-size:12px!important;font-weight:600!important;line-height:1.5!important;color:#9c272a!important;letter-spacing:.03em;margin:4px 0 0!important}

body.single-product main .tt-product-type{color:#9c272a!important;font-size:14px!important;font-weight:600!important;line-height:1.5!important;letter-spacing:.03em;margin:12px 0 20px!important}

/* The Cart block still uses the legacy Newest Products grid. */
body .wc-block-grid .wc-block-grid__products:has(>.tt-grid-item){display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:32px 24px!important;margin:0!important}
body .wc-block-grid .tt-grid-item{list-style:none;min-width:0;margin:0!important;padding:0!important;border:0!important;text-align:left}
@media(max-width:760px){body .wc-block-grid .wc-block-grid__products:has(>.tt-grid-item){grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:24px 16px!important}}
@media(max-width:420px){body .wc-block-grid .wc-block-grid__products:has(>.tt-grid-item){grid-template-columns:1fr!important}}
