/* Native WooCommerce product loops. No plugin classes or form buttons are targeted. */
body .site-main ul.products{
 --sg-product-columns:3;
 display:grid;
 grid-template-columns:repeat(var(--sg-product-columns),minmax(0,1fr));
 gap:28px;
 list-style:none;
 padding:0;
 margin:0 0 32px;
 align-items:stretch;
}
body .site-main ul.products::before,body .site-main ul.products::after{content:none;display:none}
body .site-main ul.products.columns-1{--sg-product-columns:1}
body .site-main ul.products.columns-2{--sg-product-columns:2}
body .site-main ul.products.columns-4{--sg-product-columns:4}
body .site-main ul.products.columns-5{--sg-product-columns:5}
body .site-main ul.products.columns-6{--sg-product-columns:6}
body .site-main ul.products li.product{
 display:flex;
 flex-direction:column;
 float:none;
 clear:none;
 width:auto;
 min-width:0;
 margin:0;
 padding:0;
 position:relative;
 box-sizing:border-box;
 border:1px solid #dce3dc;
 border-radius:11px;
 background:var(--sg-surface);
 text-align:left;
 overflow:visible;
 box-shadow:0 1px 2px #123d2205;
}
body .site-main ul.products li.product>a.woocommerce-loop-product__link,
body .site-main ul.products li.product>a.woocommerce-LoopProduct-link{
 display:flex;
 flex-direction:column;
 flex:1 1 auto;
 min-width:0;
 color:var(--sg-subheading);
 text-decoration:none;
 border-radius:10px 10px 0 0;
}
body .site-main ul.products li.product a img{
 display:block;
 box-sizing:border-box;
 width:100%;
 max-width:100%;
 height:auto;
 aspect-ratio:16/9;
 object-fit:cover;
 border-radius:10px 10px 0 0;
 margin:0 0 14px;
}
body .site-main ul.products li.product .woocommerce-loop-product__title,
body .site-main ul.products li.product .woocommerce-loop-category__title{
 color:var(--sg-subheading);
 font-size:18px;
 font-weight:650;
 line-height:1.35;
 letter-spacing:-.2px;
 text-align:left;
 padding:0;
 margin:0 16px 12px;
 overflow-wrap:anywhere;
}
body .site-main ul.products li.product .onsale{
 position:static;
 display:inline-block;
 align-self:flex-start;
 width:auto;
 min-height:0;
 min-width:0;
 padding:3px 9px;
 margin:0 16px 12px;
 border:0;
 border-radius:20px;
 background:var(--sg-badge-bg);
 color:var(--sg-subheading);
 font-size:11px;
 line-height:1.5;
 font-weight:650;
}
body .site-main ul.products li.product .star-rating{margin:0 16px 12px;font-size:13px;align-self:flex-start}
body .site-main ul.products li.product .price{
 display:flex;
 flex-wrap:wrap;
 align-items:baseline;
 gap:4px 8px;
 color:var(--sg-subheading);
 font-weight:750;
 font-size:21px;
 line-height:1.4;
 text-align:left;
 margin: auto 16px 16px;
 padding-top:4px;
}
body .site-main ul.products li.product .price del{
 color:#828982;
 opacity:1;
 font-size:14px;
 font-weight:400;
}
body .site-main ul.products li.product .price ins{background:none;color:var(--sg-subheading);text-decoration:none;font-weight:750}
body .site-main ul.products li.product>.button,
body .site-main ul.products li.product>.added_to_cart{
 display:block;
 box-sizing:border-box;
 width:calc(100% - 32px);
 margin:0 16px 16px;
 padding:12px 14px;
 border-radius:6px;
 background:var(--sg-button);
 color:var(--sg-button-text);
 text-align:center;
 font-size:15px;
 font-weight:650;
 line-height:1.4;
 white-space:normal;
 text-decoration:none;
}
body .site-main ul.products li.product>.button:hover,
body .site-main ul.products li.product>.added_to_cart:hover{background:var(--sg-button-hover);color:var(--sg-button-text)}
body .site-main ul.products li.product a:focus-visible{outline:3px solid var(--sg-button-hover);outline-offset:3px}
@media(max-width:1023px){body .site-main ul.products{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}}
@media(max-width:599px){body .site-main ul.products{grid-template-columns:1fr;gap:20px}}

/* Storefront column selectors otherwise apply percentage widths inside grid cells. */
#page .site-main ul.products > li.product{
 width:100%;
 max-width:none;
 min-width:0;
 margin:0;
 float:none;
 clear:none;
 justify-self:stretch;
}
body .site-main ul.products li.product>.button:focus-visible,
body .site-main ul.products li.product>.added_to_cart:focus-visible{background:var(--sg-button-hover);color:var(--sg-button-text)}
