
/* Product card v10, 4 Dec 2026: no cart button on cards (tap the card to open the product);
   discount tag in a deeper green that reads well with white text.
   v12: no reserved empty space at the bottom of the card; the price sits at the bottom edge, so prices line
   up across a row. Cards with a warranty line or Out of Stock keep the room for it.
   v13: regular and sale price sit on one line.
   v16: photo on a soft grey tile with less padding (larger game covers); titles run to 3 lines.
   Loads after style.css (see inc/cards-v10.php), so it wins; empty this file to roll back. */
html:root body ul.products li.product a.button,
html:root body ul.products li.product a.add_to_cart_button { display: none !important; }
html:root body ul.products li.product a.woocommerce-LoopProduct-link { padding-bottom: 16px !important; }
html:root body ul.products li.product.outofstock a.woocommerce-LoopProduct-link,
html:root body ul.products li.product:has(.mw-badges--card .gexc-badge-warranty) a.woocommerce-LoopProduct-link { padding-bottom: 44px !important; }
html:root body ul.products li.product .price { min-height: 0 !important; margin-top: auto; flex-direction: row !important; justify-content: flex-start !important; flex-wrap: wrap; align-items: baseline; column-gap: 8px; }
html:root body ul.products li.product .price del { font-size: .8em; }
html:root body ul.products li.product .mw-badges--card .gexc-badge-warranty,
html:root body ul.products li.product.outofstock a.woocommerce-LoopProduct-link::after { bottom: 14px; }
html:root body ul.products li.product .mw-badges--card .gexc-badge-warranty { max-width: calc(100% - 24px); }
html:root body ul.products li.product .onsale,
html:root body ul.products li.product.outofstock .onsale { background: #3d7a0a !important; color: #fff !important; }
@container (max-width: 125px) {
    html:root body ul.products li.product .mw-badges--card .gexc-badge-warranty { max-width: calc(100% - 20px); }
}
/* v16: cover area. The photo sits on a soft grey tile (white photo backgrounds melt into it), with less
   padding around it so game covers show larger. Titles run to 3 lines. */
html:root body ul.products li.product a.woocommerce-LoopProduct-link { position: relative; }
html:root body ul.products li.product a.woocommerce-LoopProduct-link::before { content: ""; position: absolute; left: 0; right: 0; top: 0; aspect-ratio: 1 / 1; background: #eceff4; pointer-events: none; }
html:root body ul.products li.product a.woocommerce-LoopProduct-link > img { position: relative; padding: 4px !important; background: transparent !important; mix-blend-mode: multiply; }
html:root body ul.products li.product .woocommerce-loop-product__title { display: -webkit-box !important; -webkit-box-orient: vertical; -webkit-line-clamp: 3 !important; line-clamp: 3 !important; height: auto !important; max-height: none !important; overflow: hidden; }
