/* Shorter product cards: a 4:3 picture box instead of a square, and tighter text blocks.
   Loaded after the other storefront styles (see views/layouts/store.php). The photo still fits inside its box (contain). */
.store-product-card__image { aspect-ratio: 4 / 3 !important; }
.store-product-card__media { padding: 8px 8px 2px !important; }
.store-product-card__body { gap: 4px !important; padding: 6px 10px 10px !important; }
.sc-card-media { aspect-ratio: 4 / 3 !important; min-height: 0 !important; }
.sc-card-body { min-height: 0 !important; padding: 8px 10px 4px !important; }
.sc-card-action { padding: 2px 10px 10px !important; }
.sc-card { min-height: 0 !important; }
/* The Add to cart button sits under the price instead of floating over it on hover, so the price is never covered. */
.sc-card { grid-template-rows: auto 1fr auto !important; }
.sc-card .sc-card-action { position: static !important; opacity: 1 !important; transform: none !important; background: none !important; padding: 2px 10px 10px !important; pointer-events: auto !important; }
