/* Gospel & Gear catalog consistency fixes: archive, homepage and related products. */
/* WooCommerce product loop markup uses UL > LI on every page. */
.gg-home-catalog ul.featured-products,
.gg-commerce-main ul.products,
.gg-commerce-main .related ul.products,
.gg-commerce-main .upsells ul.products {
 display:grid!important; grid-template-columns:repeat(var(--gg-grid-cols,4),minmax(0,1fr));
 gap:clamp(14px,2vw,24px)!important; margin:0!important; padding:0!important; list-style:none;
 align-items:stretch; clear:both;
}
.gg-home-catalog ul.products::before,.gg-home-catalog ul.products::after {display:none!important}
.gg-home-catalog ul.products li.product,
.gg-commerce-main ul.products li.product {
 box-sizing:border-box; display:flex!important; flex-direction:column; min-width:0;
 width:auto!important; float:none!important; clear:none!important; margin:0!important;
 padding:0 0 16px!important; background:var(--gg-card-bg,transparent); height:100%;
}
.gg-home-catalog ul.products li.product > a.woocommerce-LoopProduct-link,
.gg-commerce-main ul.products li.product > a.woocommerce-LoopProduct-link {display:block; min-width:0; color:inherit; text-decoration:none}
.gg-home-catalog ul.products li.product a img,
.gg-commerce-main ul.products li.product a img {
 display:block!important; width:100%!important; height:auto!important;
 aspect-ratio:var(--gg-product-ratio,4/5); object-fit:cover;
 margin:0 0 13px!important; border-radius:var(--gg-card-radius,0px);
 background:var(--cream,#efeee8);
}
.gg-home-catalog ul.products li.product .woocommerce-loop-product__title,
.gg-commerce-main ul.products li.product .woocommerce-loop-product__title {
 color:var(--ink,#171715); font-family:var(--font,'Space Grotesk',sans-serif);
 font-size:clamp(14px,1.25vw,17px)!important; font-weight:750;
 line-height:1.3!important; margin:0 0 9px!important; padding:0!important; letter-spacing:-.025em;
 overflow-wrap:anywhere;
}
.gg-home-catalog ul.products li.product .price,
.gg-commerce-main ul.products li.product .price {
 display:block!important; color:var(--ink,#171715)!important;
 font-size:15px!important; font-weight:750!important; line-height:1.45;
 margin:0 0 14px!important;
}
.gg-home-catalog ul.products li.product > a.button,
.gg-commerce-main ul.products li.product > a.button {
 display:inline-flex!important; align-items:center; justify-content:center;
 width:max-content; max-width:100%; min-height:42px;
 margin: auto 0 0!important; padding:11px 16px!important;
 color:#fff!important; background:var(--ink,#171715)!important;
 border:1px solid var(--ink,#171715)!important; border-radius:var(--gg-button-radius,0px)!important;
 font-family:var(--font,'Space Grotesk',sans-serif); font-size:11px!important;
 font-weight:800!important; letter-spacing:.035em; line-height:1.25!important;
 text-align:center; text-transform:uppercase; text-decoration:none!important;
 box-shadow:none; cursor:pointer; white-space:normal;
}
.gg-home-catalog ul.products li.product > a.button:hover,
.gg-commerce-main ul.products li.product > a.button:hover {background:var(--yellow,#f3c317)!important; border-color:var(--yellow,#f3c317)!important; color:var(--ink,#171715)!important}
.gg-home-catalog ul.products li.product > .gg-quick-open,
.gg-commerce-main ul.products li.product > .gg-quick-open {
 display:inline-flex!important; align-items:center; justify-content:center;
 width:max-content; max-width:100%; min-height:38px;
 margin:8px 0 0!important; padding:9px 15px!important;
 background:transparent!important; color:var(--ink,#171715)!important;
 border:1px solid var(--ink,#171715)!important;
 border-radius:var(--gg-button-radius,0px)!important;
 font-size:11px!important; font-weight:800; line-height:1.25; text-transform:uppercase; cursor:pointer;
}
.gg-home-catalog ul.products li.product > .gg-quick-open:hover,
.gg-commerce-main ul.products li.product > .gg-quick-open:hover {background:var(--cream,#efeee8)!important}
.gg-home-catalog ul.products li.product .onsale,.gg-commerce-main ul.products li.product .onsale {z-index:2}
.gg-home-catalog ul.products li.product .gg-sale-pill,.gg-commerce-main ul.products li.product .gg-sale-pill {z-index:2}
@media(max-width:1000px){
 .gg-home-catalog ul.featured-products,.gg-commerce-main ul.products,.gg-commerce-main .related ul.products,.gg-commerce-main .upsells ul.products {grid-template-columns:repeat(var(--gg-tablet-cols,2),minmax(0,1fr))}
}
@media(max-width:700px){
 .gg-home-catalog ul.featured-products,.gg-commerce-main ul.products,.gg-commerce-main .related ul.products,.gg-commerce-main .upsells ul.products {grid-template-columns:repeat(var(--gg-mobile-cols,2),minmax(0,1fr));gap:22px 12px!important}
 .gg-home-catalog ul.products li.product .woocommerce-loop-product__title,.gg-commerce-main ul.products li.product .woocommerce-loop-product__title {font-size:13px!important}
 .gg-home-catalog ul.products li.product > a.button,.gg-commerce-main ul.products li.product > a.button {font-size:10px!important;padding:10px 11px!important;min-height:40px}
 .gg-home-catalog ul.products li.product > .gg-quick-open,.gg-commerce-main ul.products li.product > .gg-quick-open {font-size:10px!important;padding:9px 11px!important}
}
