/* Balanced catalogue cards: full cover and concise summary. */
#products.grid{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:14px!important}
#products .card{grid-template-columns:minmax(0,40%) minmax(0,60%)!important;min-height:260px!important;align-items:stretch!important}
#products .card>.cover,#products .card>.cover-wrap,#products .card>.product-cover{width:auto!important;min-width:0!important;height:auto!important;min-height:260px!important;padding:10px!important;box-sizing:border-box!important;overflow:hidden!important;background:#101b15!important}
#products .card .cover img{width:100%!important;height:230px!important;max-width:100%!important;max-height:230px!important;object-fit:contain!important;object-position:center!important}
#products .card .body{min-width:0!important;padding:12px!important;gap:3px!important}
#products .card .body>p:not(.store-card-actions):not(:last-child){display:-webkit-box!important;-webkit-line-clamp:2!important;-webkit-box-orient:vertical!important;overflow:hidden!important;line-height:1.35!important;font-size:.82rem!important;margin:5px 0!important}
#products .card .generated-cover-fallback{width:100%!important;max-width:100%!important;height:230px!important;min-height:230px!important;margin:0!important;padding:12px!important;overflow:hidden!important;overflow-wrap:anywhere!important;box-sizing:border-box!important}
#products .card .generated-cover-fallback strong{font-size:clamp(1rem,1.2vw,1.35rem)!important;line-height:1.15!important;width:100%!important}
#products .card .generated-cover-fallback span,#products .card .generated-cover-fallback small{font-size:.65rem!important;line-height:1.3!important;letter-spacing:.04em!important;width:100%!important;overflow-wrap:anywhere!important}
#products .card .store-card-actions{grid-template-columns:1fr 1fr!important;gap:6px!important}
#products .card .store-card-actions .buy-product{grid-column:1/-1!important}
#products .card .store-card-actions .btn{min-width:0!important;font-size:.76rem!important;padding:8px 5px!important}
@media(max-width:1180px){#products.grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:760px){#products.grid{grid-template-columns:1fr!important}}
@media(max-width:400px){#products .card{grid-template-columns:minmax(0,38%) minmax(0,62%)!important}#products .card .body{padding:9px!important}#products .card .store-card-actions{grid-template-columns:1fr!important}#products .card .generated-cover-fallback{padding:8px!important}}
/* Keep generated cover labels in three distinct rows. */
#products .card .generated-cover-fallback{display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:16px!important;text-align:center!important;white-space:normal!important}
#products .card .generated-cover-fallback>span,#products .card .generated-cover-fallback>strong,#products .card .generated-cover-fallback>small{display:block!important;position:static!important;float:none!important;flex:0 0 auto!important;margin:0!important;padding:0!important;min-width:0!important;max-width:100%!important;white-space:normal!important;word-break:normal!important;overflow-wrap:break-word!important}
#products .card .generated-cover-fallback>strong{font-family:Georgia,serif!important;font-size:clamp(.95rem,1.15vw,1.25rem)!important;line-height:1.3!important}

/* v250: enlarge cover artwork only. */
#products .card .cover img{height:300px!important;max-height:300px!important;max-width:100%!important;width:100%!important}
#products .card>.cover,#products .card>.cover-wrap,#products .card>.product-cover{padding:4px!important;min-height:308px!important}
