
/* Shop SEO: unobtrusive, accessible expandable content after pagination. */
body.gt-catalog-layout .gt-shop-seo-details {
 margin:40px 0 48px; border:1px solid #e2e2e2; border-radius:6px; background:#fff;
}
body.gt-catalog-layout .gt-shop-seo-details > summary {
 cursor:pointer; display:flex; justify-content:space-between; align-items:center;
 padding:16px 20px; color:#252525; font-weight:600; list-style:none;
}
body.gt-catalog-layout .gt-shop-seo-details > summary::-webkit-details-marker {display:none;}
body.gt-catalog-layout .gt-shop-seo-details > summary span {font-size:22px; color:#7aa228;}
body.gt-catalog-layout .gt-shop-seo-details[open] > summary span {transform:rotate(45deg);}
body.gt-catalog-layout .gt-shop-seo-content {padding:0 20px 20px;}
body.gt-catalog-layout .gt-shop-seo-content h2 {font-size:clamp(21px,2vw,27px); line-height:1.3;}
body.gt-catalog-layout .gt-shop-seo-content p {line-height:1.65;}

/* Catalog-only equal-height cards, based on Green Techs homepage solution.
   Excludes homepage, product pages and Owl carousels. */
body.gt-catalog-layout ul.products.grid:not(.owl-carousel) {
 display:grid!important;
 grid-template-columns:repeat(4,minmax(0,1fr));
 gap:32px 3%;
 align-items:stretch;
}
body.gt-catalog-layout ul.products.grid:not(.owl-carousel)::before,
body.gt-catalog-layout ul.products.grid:not(.owl-carousel)::after {
 content:none!important; display:none!important;
}
body.gt-catalog-layout ul.products.grid:not(.owl-carousel) > li.product {
 float:none!important; width:auto!important; max-width:none!important;
 margin:0!important; min-width:0; height:100%;
}
body.gt-catalog-layout ul.products.grid:not(.owl-carousel) > li.product > .product,
body.gt-catalog-layout ul.products.grid:not(.owl-carousel) > li.product .product-single,
body.gt-catalog-layout ul.products.grid:not(.owl-carousel) > li.product .product-content-outer,
body.gt-catalog-layout ul.products.grid:not(.owl-carousel) > li.product .product-content {
 display:flex; flex-direction:column; flex:1 0 auto; min-width:0;
}
body.gt-catalog-layout ul.products.grid:not(.owl-carousel) > li.product .product-img {
 flex:0 0 auto;
}
body.gt-catalog-layout ul.products.grid:not(.owl-carousel) > li.product .product-content > h3 {
 flex:1 0 auto;
}
body.gt-catalog-layout ul.products.grid:not(.owl-carousel) > li.product .product-content > .storely-stocks {
 margin-left:0; margin-right:0;
}
body.gt-catalog-layout ul.products.grid:not(.owl-carousel) > li.product .product-content > .price {
 margin-bottom:0;
}
body.gt-catalog-layout ul.products.grid:not(.owl-carousel) > li.product .product-action {
 flex:0 0 auto; width:100%; margin-top:auto;
}
/* Stretch every wrapper to the row's grid height; anchor the action at bottom. */
body.gt-catalog-layout ul.products.grid:not(.owl-carousel) > li.product > .product,
body.gt-catalog-layout ul.products.grid:not(.owl-carousel) > li.product > .product > .product-single {
 height:100%; flex:1 1 auto;
}
body.gt-catalog-layout ul.products.grid:not(.owl-carousel) > li.product .product-content-outer {
 flex:1 1 auto; height:auto;
}
body.gt-catalog-layout ul.products.grid:not(.owl-carousel) > li.product .product-content {
 flex:1 1 auto;
}
@media(max-width:720px) {
 body.gt-catalog-layout ul.products.grid:not(.owl-carousel) {
   grid-template-columns:repeat(2,minmax(0,1fr)); gap:22px 3%;
 }
}

/* Title growth absorbs row height differences; no clipping or fixed title height. */
body.gt-catalog-layout ul.products.grid:not(.owl-carousel) > li.product .product-content > h3,
body.gt-catalog-layout ul.products.grid:not(.owl-carousel) > li.product .product-content > h3 a {
 white-space:normal; overflow-wrap:anywhere; word-break:normal; height:auto; max-height:none;
 -webkit-line-clamp:unset;
}
body.gt-catalog-layout ul.products.grid:not(.owl-carousel) > li.product .product-img {
 aspect-ratio:1; width:100%; min-height:0; overflow:hidden;
}
body.gt-catalog-layout ul.products.grid:not(.owl-carousel) > li.product .product-img img {
 width:100%; height:100%; object-fit:contain;
}
body.gt-catalog-layout ul.products.grid:not(.owl-carousel) > li.product .product-content > .price {
 min-height:3.2em; flex:0 0 auto; display:flex; flex-wrap:wrap; align-content:center; align-items:center; gap:0 .4em;
}
body.gt-catalog-layout ul.products.grid:not(.owl-carousel) > li.product .product-content > .storely-stocks {
 min-height:5em; flex:0 0 auto;
}
body.gt-catalog-layout .gt-shop-seo-details > summary:focus-visible {outline:3px solid #55791b;outline-offset:3px;}
@media(max-width:420px) {
 body.gt-catalog-layout ul.products.grid:not(.owl-carousel) {gap:20px 3%;}
}

/* A product without the optional Storely stock message keeps the same visual slot. */
body.gt-catalog-layout ul.products.grid:not(.owl-carousel) > li.product .product-content:not(:has(> :is(.storely-stocks,.stock,.remaining-out-stock)))::after {
 content:""; display:block; order:99; height:calc(5em + 20px); flex:0 0 auto;
}

body.gt-catalog-layout ul.products.grid:not(.owl-carousel) > li.product .product-content > :is(.stock,.remaining-out-stock) {
 min-height:5em; margin:10px 0; flex:0 0 auto; font-size:16px;
}
