/* v3.9.26: final card presentation layer for WooCommerce product loops.
 * Runs after earlier theme card styles. Does not replace WooCommerce markup or JS. */
body.home .vcc-home-product-cards ul.products,
body.post-type-archive-product .woocommerce ul.products,
body.tax-product_cat .woocommerce ul.products,
body.tax-product_tag .woocommerce ul.products {
  align-items:stretch !important;
  row-gap:22px !important;
}
body .woocommerce ul.products li.product.vcc-unified-card,
body.home .vcc-home-product-cards ul.products li.product {
  box-sizing:border-box !important;
  width:auto !important;
  margin:0 !important;
  padding:0 0 14px !important;
  display:flex !important;
  flex-direction:column !important;
  align-items:stretch !important;
  min-width:0;
  height:100%;
  border-radius:14px !important;
  border:1px solid #e1e9e9 !important;
  background:#fff;
  box-shadow:0 6px 18px rgba(11,37,45,.055);
  overflow:hidden;
}
body .woocommerce ul.products li.product.vcc-unified-card > a.woocommerce-LoopProduct-link,
body .woocommerce ul.products li.product.vcc-unified-card > a.woocommerce-loop-product__link,
body.home .vcc-home-product-cards ul.products li.product > a.woocommerce-loop-product__link {
  display:flex !important;
  flex:1 1 auto !important;
  flex-direction:column !important;
  align-items:stretch !important;
  min-width:0;
  margin:0 !important;
  text-decoration:none;
}
body .woocommerce ul.products li.product.vcc-unified-card a.woocommerce-loop-product__link > img,
body .woocommerce ul.products li.product.vcc-unified-card a.woocommerce-LoopProduct-link > img,
body.home .vcc-home-product-cards ul.products li.product > a.woocommerce-loop-product__link > img {
  width:100% !important;
  height:220px !important;
  max-height:220px !important;
  min-height:0;
  aspect-ratio:auto !important;
  margin:0 0 12px !important;
  padding:16px !important;
  object-fit:contain !important;
  background:#f7f9f9 !important;
  box-sizing:border-box;
}
body .woocommerce ul.products li.product.vcc-unified-card .woocommerce-loop-product__title,
body.home .vcc-home-product-cards ul.products li.product .woocommerce-loop-product__title {
  font-size:13px !important;
  line-height:1.5 !important;
  min-height:3em !important;
  max-height:3em;
  padding:0 14px !important;
  margin:0 0 9px !important;
  display:-webkit-box;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:2;
  overflow:hidden;
  overflow-wrap:anywhere;
}
body .woocommerce ul.products li.product.vcc-unified-card .price,
body.home .vcc-home-product-cards ul.products li.product .price {
  display:block !important;
  padding:0 14px !important;
  margin:0 0 8px !important;
  min-height:24px;
  font-weight:800 !important;
  color:#087f74 !important;
}
body .woocommerce ul.products li.product.vcc-unified-card .vcc-stock-indicator,
body.home .vcc-home-product-cards ul.products li.product .vcc-stock-indicator {
  margin:0 0 6px !important;
  min-height:21px;
  padding:0 14px !important;
  line-height:1.55;
  font-size:11px;
}
/* Normal WooCommerce action link and any theme-provided Quick View button. */
body .woocommerce ul.products li.product.vcc-unified-card > a.button,
body.home .vcc-home-product-cards ul.products li.product > a.button,
body .woocommerce ul.products li.product.vcc-unified-card > button.vcc-v340-quick,
body.home .vcc-home-product-cards ul.products li.product > button.vcc-v340-quick {
  box-sizing:border-box !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  width:calc(100% - 28px) !important;
  max-width:none !important;
  min-height:42px !important;
  margin:7px 14px 0 !important;
  padding:9px 12px !important;
  border-radius:9px !important;
  line-height:1.35 !important;
  text-align:center !important;
  font-size:12px !important;
  white-space:normal;
}
body .woocommerce ul.products li.product.vcc-unified-card > .vcc-v350-actions,
body.home .vcc-home-product-cards ul.products li.product > .vcc-v350-actions {
  display:grid !important;
  grid-template-columns:repeat(2,minmax(0,1fr)) !important;
  flex:0 0 auto;
  gap:8px !important;
  width:calc(100% - 28px) !important;
  margin:8px 14px 0 !important;
  padding:0 !important;
  box-sizing:border-box;
}
body .woocommerce ul.products li.product.vcc-unified-card > .vcc-v350-actions > button,
body.home .vcc-home-product-cards ul.products li.product > .vcc-v350-actions > button {
  display:flex;
  align-items:center;
  justify-content:center;
  width:100%;
  min-width:0;
  min-height:40px;
  margin:0 !important;
  padding:6px 4px !important;
  box-sizing:border-box;
  font-size:12px;
  line-height:1.3;
  text-align:center;
  border-radius:8px;
}
body .woocommerce ul.products li.product.vcc-unified-card > .vcc-v350-actions > button:only-child,
body.home .vcc-home-product-cards ul.products li.product > .vcc-v350-actions > button:only-child {grid-column:1/-1}
body .woocommerce ul.products li.product.vcc-unified-card :is(a,button):focus-visible,
body.home .vcc-home-product-cards ul.products li.product :is(a,button):focus-visible {
  outline:3px solid #078f87;
  outline-offset:2px;
}
/* Respect Quick View mobile setting.  "mobile quick view" class is added by the theme. */
@media(max-width:700px){
  body .woocommerce ul.products li.product.vcc-unified-card a.woocommerce-loop-product__link > img,
  body.home .vcc-home-product-cards ul.products li.product > a.woocommerce-loop-product__link > img {
    height:155px !important;max-height:155px !important;padding:8px !important;
  }
  body .woocommerce ul.products li.product.vcc-unified-card .woocommerce-loop-product__title,
  body.home .vcc-home-product-cards ul.products li.product .woocommerce-loop-product__title {font-size:12px !important;padding:0 9px !important}
  body .woocommerce ul.products li.product.vcc-unified-card .price,
  body.home .vcc-home-product-cards ul.products li.product .price,
  body .woocommerce ul.products li.product.vcc-unified-card .vcc-stock-indicator,
  body.home .vcc-home-product-cards ul.products li.product .vcc-stock-indicator {padding-left:9px !important;padding-right:9px !important}
  body .woocommerce ul.products li.product.vcc-unified-card > a.button,
  body.home .vcc-home-product-cards ul.products li.product > a.button,
  body .woocommerce ul.products li.product.vcc-unified-card > button.vcc-v340-quick,
  body.home .vcc-home-product-cards ul.products li.product > button.vcc-v340-quick {
    width:calc(100% - 18px) !important;margin:6px 9px 0 !important;font-size:11px !important;min-height:40px !important;
  }
  body .woocommerce ul.products li.product.vcc-unified-card > .vcc-v350-actions,
  body.home .vcc-home-product-cards ul.products li.product > .vcc-v350-actions {width:calc(100% - 18px) !important;margin:6px 9px 0 !important;gap:5px !important}
  body .woocommerce ul.products li.product.vcc-unified-card > .vcc-v350-actions > button,
  body.home .vcc-home-product-cards ul.products li.product > .vcc-v350-actions > button {font-size:11px;min-height:38px}
  body .woocommerce ul.products li.product.vcc-unified-card > button.vcc-v340-quick,
  body.home .vcc-home-product-cards ul.products li.product > button.vcc-v340-quick {display:none !important}
  body.home .vcc-home-product-cards.vcc-home-mobile-quick ul.products li.product > button.vcc-v340-quick {display:flex !important}
  body.vcc-v340-mobile-quick .woocommerce ul.products li.product.vcc-unified-card > button.vcc-v340-quick {display:flex !important}
}
