/* Northern Tides Christmas 2026 — uniform product cards in catalog.
   Draft-only visual adjustment. No alteration to product images, pricing,
   stock, sale tiers, cart logic or home-page hero. */

/* Equal tracks across the full catalog, not just each individual row. */
body.products-page .listing-product-grid {
  align-items:stretch !important;
  grid-auto-rows: minmax(0, 1fr) !important;
}
body.products-page .listing-product-grid > .listing-product-card {
  box-sizing:border-box !important;
  height:100% !important;
  min-height:452px !important;
  min-width:0 !important;
  padding:18px 16px 14px !important;
  margin:0 !important;
  display:flex !important;
  flex-direction:column !important;
  overflow:hidden !important;
}

/* Every card reserves the same space for headings, price and descriptions. */
body.products-page .listing-product-grid > .listing-product-card h3 {
  order:0;
  flex:0 0 48px;
  min-height:48px !important;
  max-height:48px;
  margin:0 0 5px !important;
  max-width:100% !important;
  overflow-wrap:break-word !important;
  overflow:hidden;
  font-size:17px !important;
  line-height:22px !important;
}
body.products-page .listing-product-grid > .listing-product-card .price {
  order:1;
  flex:0 0 49px;
  min-height:49px !important;
  margin:0 0 4px !important;
  max-width:100% !important;
  align-self:stretch !important;
  overflow:visible;
}
body.products-page .listing-product-grid > .listing-product-card > p {
  order:2;
  flex:0 0 45px;
  min-height:45px !important;
  max-height:45px;
  margin:0 !important;
  overflow:visible;
  font-size:13px !important;
  line-height:19px !important;
}

/* Fixed, centered image stage so BAC Water, BPC-157, Melanotan MT-2,
   Retatrutide, SS-31 and TB-500 align with every other product. */
body.products-page .listing-product-grid > .listing-product-card .product-vials {
  order:3;
  flex:1 1 auto !important;
  height:auto;
  min-height:178px !important;
  margin:8px 0 12px !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  background-position:center top !important;
}
body.products-page .listing-product-grid > .listing-product-card .product-vials img {
  display:block !important;
  flex:0 0 auto;
  width:min(100%,174px) !important;
  height:174px !important;
  max-width:174px !important;
  max-height:174px !important;
  object-fit:contain !important;
  object-position:center center !important;
  transform:none !important;
}
/* Slightly reduce oversized source artwork within the standard image frame. */
body.products-page .listing-product-card .product-vials img[src*="retatrutide"] {
  transform:scale(.88) !important;
}
body.products-page .listing-product-card .product-vials img[src*="melanotan-mt-2"],
body.products-page .listing-product-card .product-vials img[src*="ss-31"],
body.products-page .listing-product-card .product-vials img[src*="tb-500"] {
  transform:scale(.94) !important;
}

/* Remove synthetic ridge; photographic snow in the supplied scene remains. */
body.products-page .listing-product-card .product-vials::after,
body.single-product .product-detail__image::after {
  content:none !important;
}
body.single-product .product-detail__image img {
  transform:none !important;
}
body.products-page .listing-product-grid > .listing-product-card .card-actions {
  order:4;
  flex:0 0 auto;
  width:100%;
  min-height:41px;
  margin-top:auto !important;
  align-self:stretch;
}
body.products-page .listing-product-card.is-out-of-stock .card-actions::after {
  min-height:41px !important;
}
@media(max-width:699px) {
  body.products-page .listing-product-grid > .listing-product-card {
    min-height:452px !important;
  }
  body.products-page .listing-product-grid > .listing-product-card h3 {
    font-size:20px !important;
    line-height:24px !important;
    min-height:50px !important;
    max-height:50px;
    flex-basis:50px;
  }
  body.products-page .listing-product-grid > .listing-product-card .product-vials {
    min-height:182px !important;
  }
  body.products-page .listing-product-grid > .listing-product-card .product-vials img {
    width:180px !important;
    height:180px !important;
    max-width:180px !important;
    max-height:180px !important;
  }
}