/* Shared card design: homepage and catalog. Keep link/quote behavior unchanged. */
:is(.lr-shop,.section-featured,.lrp-related) :is(.lr-shop-product,.product-card){display:flex;flex-direction:column;min-width:0;overflow:hidden;border:1px solid #e2e2e2;border-radius:0;background:#fff;box-shadow:none;transform:none;transition:none}
:is(.lr-shop,.section-featured,.lrp-related) :is(.lr-shop-product,.product-card):hover{transform:none;box-shadow:none}
:is(.lr-shop,.section-featured,.lrp-related) :is(.lr-shop-product-image,.product-media){display:flex;align-items:center;justify-content:center;aspect-ratio:5/4;height:auto;padding:0;background:#fff;border-bottom:1px solid #e8e8e8;overflow:hidden}
:is(.lr-shop,.section-featured,.lrp-related) :is(.lr-shop-product-image,.product-media) img{display:block;width:100%;height:100%;max-width:100%;max-height:100%;object-fit:contain;object-position:center;transform:none;transition:none}
:is(.lr-shop,.section-featured,.lrp-related) :is(.lr-shop-product-body,.product-info){display:flex;flex-direction:column;flex:1;padding:12px}
:is(.lr-shop,.section-featured,.lrp-related) :is(.lr-shop-product-name,.product-name){display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;font:500 13px/1.8 Prompt,sans-serif;min-height:47px;color:#292929;margin:0;overflow-wrap:anywhere}
:is(.lr-shop,.section-featured,.lrp-related) :is(.lr-shop-product-model,.product-meta){display:none;font:11px/1.8 'IBM Plex Sans',Prompt,sans-serif;color:#888;margin-top:7px;overflow-wrap:anywhere}
:is(.lr-shop,.section-featured,.lrp-related) :is(.lr-shop-product-quote,.product-buy){display:flex;align-items:center;justify-content:center;gap:10px;min-height:42px;padding:10px 9px;margin-top:10px;border:1px solid #ffcb05;border-radius:0;background:#ffcb05;color:#171717;font:500 11px/1.5 Prompt,sans-serif;box-shadow:none;transform:none;cursor:pointer;white-space:normal;text-align:center}
:is(.lr-shop,.section-featured,.lrp-related) :is(.lr-shop-product-quote,.product-buy):hover{background:#ffcb05;color:#171717;border-color:#ffcb05;transform:none;box-shadow:none}
:is(.section-featured,.lrp-related,.lr-shop) .product-price{display:flex;align-items:baseline;flex-wrap:wrap;gap:4px 10px;margin-top:auto;padding-top:8px;font:600 18px/1.5 'IBM Plex Sans',Prompt,sans-serif;color:#252525}
:is(.section-featured,.lrp-related,.lr-shop) .product-price del{font-size:12px;font-weight:400;color:#858585;text-decoration:line-through}
:is(.section-featured,.lrp-related,.lr-shop) .product-price ins,:is(.section-featured,.lrp-related,.lr-shop) .product-price ins *{background:none;text-decoration:none;color:#252525}
:is(.section-featured,.lrp-related,.lr-shop) .product-price .woocommerce-Price-currencySymbol{margin-right:2px}
.section-featured{background:#f5f5f5}.section-featured .featured-grid{align-items:stretch;gap:12px}.section-featured .text-arrow{color:#444;border-bottom:2px solid #ffcb05;padding-bottom:8px}
.lr-shop .lr-shop-products.is-list .lr-shop-product{display:grid;grid-template-columns:220px minmax(0,1fr)}
.lr-shop .lr-shop-products.is-list .lr-shop-product-image{height:100%;aspect-ratio:auto;min-height:200px;border-right:1px solid #e4e4e4}
@media(max-width:1100px){:is(.lr-shop,.section-featured,.lrp-related) :is(.lr-shop-product-body,.product-info){padding:12px}:is(.lr-shop,.section-featured,.lrp-related) :is(.lr-shop-product-name,.product-name){font-size:12px}}

@media(max-width:650px){:is(.lr-shop,.section-featured,.lrp-related) :is(.lr-shop-product-body,.product-info){padding:11px}:is(.lr-shop,.section-featured,.lrp-related) :is(.lr-shop-product-name,.product-name){font-size:12px;min-height:44px}:is(.lr-shop,.section-featured,.lrp-related) :is(.lr-shop-product-model,.product-meta){font-size:10px}:is(.lr-shop,.section-featured,.lrp-related) :is(.lr-shop-product-quote,.product-buy){font-size:10px;gap:6px;padding:9px 5px;margin-top:10px}:is(.section-featured,.lrp-related,.lr-shop) .product-price{min-height:44px;align-content:end;font-size:17px;gap:3px 8px}:is(.section-featured,.lrp-related,.lr-shop) .product-price del{font-size:11px}.lr-shop .lr-shop-products.is-list .lr-shop-product{grid-template-columns:105px minmax(0,1fr)}.lr-shop .lr-shop-products.is-list .lr-shop-product-image{min-height:170px}}
@media(max-width:400px){:is(.lr-shop,.section-featured,.lrp-related) :is(.lr-shop-product-body,.product-info){padding:11px 9px}:is(.lr-shop,.section-featured,.lrp-related) :is(.lr-shop-product-name,.product-name){font-size:11px;min-height:42px}:is(.lr-shop,.section-featured,.lrp-related) :is(.lr-shop-product-quote,.product-buy){font-size:9px}}

/* Related products use the exact same product-card markup as home cards. */
.lrp-live .lrp-related-list{display:grid;gap:12px;align-items:stretch;margin-top:10px}
.lrp-related .product-price{display:flex;flex-wrap:wrap;align-items:baseline}
.lrp-related .product-card{padding:0;gap:0;align-items:stretch}
.lrp-related .product-info{gap:0;align-items:stretch;width:100%}



/* Fluid cards: fill every available row width without an unused reserved column. */
:is(.lr-shop,.section-featured,.lrp-related){--lr-card-width:240px;--lr-card-height:380px;--lr-card-gap:12px}
.section-featured .featured-grid,.lr-shop .lr-shop-products:not(.is-list),.lrp-live .lrp-related-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,200px),1fr));gap:var(--lr-card-gap);align-items:stretch;justify-content:stretch}
:is(.lr-shop,.section-featured,.lrp-related) :is(.lr-shop-product,.product-card){width:100%}
@media(max-width:650px){
 :is(.lr-shop,.section-featured,.lrp-related){--lr-card-width:160px;--lr-card-height:330px;--lr-card-gap:10px}
 .section-featured .featured-grid,.lr-shop .lr-shop-products:not(.is-list),.lrp-live .lrp-related-list{grid-template-columns:repeat(auto-fit,minmax(min(100%,140px),1fr))}
}
@media(max-width:380px){
 :is(.lr-shop,.section-featured,.lrp-related){--lr-card-width:140px;--lr-card-height:310px}
}

:is(.featured-grid,.lr-shop-products:not(.is-list),.lrp-related-list)>:is(.product-card,.lr-shop-product){height:var(--lr-card-height)}

/* Sale price first, original price smaller and muted. */
:is(.section-featured,.lrp-related,.lr-shop) .product-price{font-size:16px;gap:4px 8px}
:is(.section-featured,.lrp-related,.lr-shop) .product-price ins{order:-1;font-size:16px;font-weight:600;text-decoration:none}
:is(.section-featured,.lrp-related,.lr-shop) .product-price del{order:1;font-size:10px;font-weight:400;color:#909090;text-decoration:line-through}
@media(max-width:650px){:is(.section-featured,.lrp-related,.lr-shop) .product-price,:is(.section-featured,.lrp-related,.lr-shop) .product-price ins{font-size:15px}}
