/* Approved card-sizes-v2, variant C. Align whole title/facts blocks by grid row. */
.ct-product-grid,.home-products{--pc-row-space:24px;row-gap:0;margin-bottom:calc(0px - var(--pc-row-space))}
/* Keep row spacing in its own track: gaps inflate the empty live-status track,
   while margins on subgrid items produce unstable WebKit intrinsic sizing. */
.ct-product-slot,.pc-card-slot{display:grid;grid-template-rows:subgrid;grid-row:span 8;row-gap:0;min-width:0;margin-bottom:0}
.ct-product-slot:after,.pc-card-slot:after{content:'';grid-row:8;min-height:var(--pc-row-space,24px);pointer-events:none}
.product-card.pc-v2{display:grid;grid-template-rows:subgrid;grid-row:span 7;row-gap:0;border-radius:12px}
.ct-product-slot>.product-card.pc-v2,.pc-card-slot>.product-card.pc-v2{height:auto}
.pc-v2 .product-card-photo{grid-row:1;align-self:start;min-width:0}
.pc-v2 .product-card-photo img,.ct-product-grid .pc-v2 .product-card-photo img{aspect-ratio:1.62;object-fit:cover}
.product-inches{position:absolute;top:12px;left:12px;display:flex;flex-wrap:wrap;gap:0 4px;max-width:calc(100% - 24px);padding:5px 12px;border-radius:20px;background:#fff;color:#344863;font-size:11px;font-weight:400;line-height:1.55}
.product-inches>span{white-space:nowrap}
.pc-v2 .product-card-body{display:grid;grid-template-rows:subgrid;grid-row:2/span 6;row-gap:0;padding:14px 16px;min-width:0}
.pc-v2 .product-card-title{font-size:17px;font-weight:700;line-height:1.4;letter-spacing:-.2px;margin:0 0 8px;overflow-wrap:anywhere}
.product-facts{display:flex;flex-direction:column;gap:2px;min-width:0}
.pc-v2 .product-facts>p{margin:0;min-height:0;font-size:13px;font-weight:400;line-height:1.45;color:#677384;overflow-wrap:anywhere}
.pc-v2 .product-availability{font-size:11px;line-height:1.5;color:#6b7787;margin:8px 0 6px;white-space:normal;align-self:start}
.pc-v2 .product-availability:before{width:6px;height:6px;background:#44765e;border-radius:50%;mask:none;margin-right:6px}
.pc-v2 .product-unavailable:before{content:none}
.pc-v2 .product-price{display:flex;flex-wrap:wrap;align-items:baseline;align-content:start;gap:0 6px;line-height:1.3;margin:0 0 10px;min-width:0}
.pc-v2 .product-price strong{font-size:29px;font-weight:700;line-height:1.3;letter-spacing:0;white-space:nowrap}
.pc-v2 .product-price span{font-size:11px;font-weight:400;color:var(--muted);white-space:nowrap}
.pc-v2 .product-buy{display:flex;align-items:stretch;align-self:end;gap:10px;padding:0;margin:0;min-width:0;flex-wrap:nowrap}
.pc-v2 .product-buy:before{content:none}
.pc-v2 .product-buy .quantity{display:grid;grid-template-columns:44px minmax(0,1fr) 44px;flex:0 0 134px;width:134px;min-width:0;height:46px}
.pc-v2 .quantity button{width:44px;min-width:44px;height:44px;min-height:44px;display:grid;place-items:center}
.pc-v2 .quantity button .icon{width:14px;height:14px}
.pc-v2 .quantity input{width:100%!important;min-width:0;min-height:44px!important;height:44px;padding:0!important;font-size:13px}
.pc-v2 .product-buy>.btn{flex:1;min-width:0;min-height:46px;padding:8px;font-size:13px;gap:8px;white-space:nowrap}
.pc-v2 .product-buy>.btn .icon{width:22px;height:22px}
.pc-v2 .product-status{grid-row:6;min-width:0;overflow-wrap:anywhere}
.pc-v2 .product-status:empty{display:none}
@media(min-width:1024px) and (max-width:1350px){
 .pc-v2 .product-buy{flex-direction:column;gap:8px}
 .pc-v2 .product-buy .quantity{flex-basis:auto;width:100%}
 .pc-v2 .product-buy>.btn{flex:none;min-height:48px}
}
@media(max-width:767px){
 .ct-product-grid,.home-products{--pc-row-space:16px;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:12px}
 [data-page=home] .home-products .product-card:nth-child(n){display:grid}
 .pc-v2 .product-card-photo img,.ct-product-grid .pc-v2 .product-card-photo img{aspect-ratio:1.45}
 .product-inches{top:8px;left:8px;max-width:calc(100% - 16px);gap:0 2px;padding:4px 8px}
 .pc-v2 .product-card-body{padding:10px 11px}
 .pc-v2 .product-card-title{font-size:14px;line-height:1.4;letter-spacing:0;margin-bottom:8px}
 .pc-v2 .product-facts>p{font-size:12px}
 .pc-v2 .product-availability{font-size:10px;margin:8px 0 6px}
 .pc-v2 .product-price{display:block;margin-bottom:10px}
 .pc-v2 .product-price strong{display:block;font-size:25px}
 .pc-v2 .product-price span{display:block;margin-top:1px;font-size:10px}
 .pc-v2 .product-buy{flex-direction:column;gap:8px}
 .pc-v2 .product-buy .quantity{flex-basis:auto;width:100%}
 .pc-v2 .product-buy>.btn{flex:none;min-height:48px;font-size:12px;gap:6px}
 .pc-v2 .product-buy>.btn .icon{width:20px;height:20px}
}
@media(max-width:374px){
 .pc-v2 .product-card-body{padding:9px 6px}
 .pc-v2 .product-card-title{font-size:13px}
 .pc-v2 .product-price strong{font-size:23px}
 .product-inches{padding:4px 6px}
}
/* Native Woo list and nested price/quantity markup adapters. */
.woocommerce ul.products:has(>.pc-card-slot),.home-products:has(>.pc-card-slot){--pc-row-space:24px;row-gap:0;margin-bottom:calc(0px - var(--pc-row-space))}
.woocommerce ul.products li.product.pc-card-slot,.home-products>.pc-card-slot{list-style:none;width:auto;float:none;margin:0;padding:0;min-width:0}
.mc-home-content .home-products .product-card.pc-v2{display:grid}
.woocommerce ul.products .pc-card-slot .product-card-photo img,.home-products .pc-v2 .product-card-photo img{aspect-ratio:1.62;object-fit:contain}
.pc-v2 .product-price strong .amount,.pc-v2 .product-price strong .woocommerce-Price-currencySymbol{font:inherit;color:inherit;letter-spacing:inherit;display:inline;margin:0}
.pc-v2 .product-price del{font-size:16px;color:var(--muted)}
.pc-v2 .product-price del .amount{font-weight:400}
.pc-v2 .product-price ins{text-decoration:none}
.pc-v2 .product-price .product-unit{font-size:11px}
.pc-v2 .product-buy .quantity .quantity{display:contents}
.pc-v2 .product-status:not(:empty){display:flex;flex-direction:column;margin:8px 0 0;font-size:11px;line-height:1.5;color:var(--muted)}
.pc-v2 .product-status .added_to_cart{display:flex;align-items:center;min-height:44px;color:var(--red);font-size:12px}
@media(max-width:767px){
 .woocommerce ul.products:has(>.pc-card-slot),.home-products:has(>.pc-card-slot){--pc-row-space:16px;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:12px;row-gap:0}
 .woocommerce ul.products .pc-card-slot .product-card-photo img,.home-products .pc-v2 .product-card-photo img{aspect-ratio:1.45}
 .pc-v2 .product-price .product-unit{font-size:10px}
}
