/* Vape Center 3.9.24 — homepage WooCommerce shortcode card layout.
   Scope: featured/recent/home product grids only. No WooCommerce hooks are changed. */
body.home .vcc-home-product-cards .woocommerce ul.products,
body.home .vcc-home-product-cards ul.products {
  display:grid !important;
  align-items:stretch !important;
  gap:18px !important;
  margin:0 !important;
  padding:0 !important;
}
body.home .vcc-home-product-cards .woocommerce ul.products::before,
body.home .vcc-home-product-cards .woocommerce ul.products::after {content:none !important;display:none !important}
body.home .vcc-home-product-cards .woocommerce ul.products li.product,
body.home .vcc-home-product-cards ul.products li.product {
  float:none !important;
  position:relative;
  width:auto !important;
  margin:0 !important;
  padding:0 0 14px !important;
  min-width:0;
  height:100%;
  display:flex !important;
  flex-direction:column !important;
  align-items:stretch !important;
  overflow:hidden;
  border:1px solid #e1e9e9 !important;
  border-radius:14px !important;
  background:#fff;
  box-shadow:0 5px 20px rgba(20,49,52,.045);
}
/* Woo's standard product link holds image, title and price; stretch it to align actions. */
body.home .vcc-home-product-cards ul.products li.product > a.woocommerce-LoopProduct-link,
body.home .vcc-home-product-cards ul.products li.product > a.woocommerce-loop-product__link {
  display:flex !important;
  flex-direction:column !important;
  align-items:stretch !important;
  flex:1 1 auto;
  min-width:0;
  margin:0 !important;
  text-decoration:none;
}
body.home .vcc-home-product-cards ul.products li.product > a.woocommerce-LoopProduct-link > img,
body.home .vcc-home-product-cards ul.products li.product > a.woocommerce-loop-product__link > img {
  display:block !important;
  width:100% !important;
  height:220px !important;
  max-height:220px !important;
  aspect-ratio:auto !important;
  margin:0 0 12px !important;
  padding:13px !important;
  object-fit:contain !important;
  background:#f7f9f9 !important;
  box-sizing:border-box;
}
body.home .vcc-home-product-cards ul.products li.product .woocommerce-loop-product__title {
  display:-webkit-box;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:2;
  line-clamp:2;
  overflow:hidden;
  min-height:3.1em !important;
  max-height:3.1em;
  line-height:1.55 !important;
  font-size:14px !important;
  font-weight:750 !important;
  padding:0 14px !important;
  margin:0 0 10px !important;
  overflow-wrap:anywhere;
}
body.home .vcc-home-product-cards ul.products li.product .price {
  display:block !important;
  min-height:26px;
  padding:0 14px !important;
  margin:0 0 7px !important;
  font-size:16px !important;
  line-height:1.5 !important;
  font-weight:800 !important;
  color:#087f74 !important;
}
body.home .vcc-home-product-cards ul.products li.product .vcc-stock-indicator {
  margin:0 0 8px !important;
  padding:0 14px !important;
  min-height:18px;
  font-size:11px;
}
body.home .vcc-home-product-cards ul.products li.product > a.button,
body.home .vcc-home-product-cards ul.products li.product > a.add_to_cart_button,
body.home .vcc-home-product-cards ul.products li.product > a.product_type_variable,
body.home .vcc-home-product-cards ul.products li.product > a.product_type_simple,
body.home .vcc-home-product-cards ul.products li.product > a.product_type_external {
  box-sizing:border-box !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  width:calc(100% - 28px) !important;
  min-height:43px !important;
  margin:7px 14px 0 !important;
  padding:11px 9px !important;
  font-size:12px !important;
  line-height:1.3 !important;
  text-align:center !important;
  border-radius:8px !important;
  white-space:normal;
}
body.home .vcc-home-product-cards ul.products li.product > .vcc-v340-quick {
  display:flex !important;
  align-items:center;
  justify-content:center;
  box-sizing:border-box;
  width:calc(100% - 28px) !important;
  min-height:40px;
  padding:9px !important;
  margin:7px 14px 0 !important;
  border:1px solid #c9dedc;
  border-radius:8px;
  font-size:12px;
  font-weight:650;
  text-align:center;
}
body.home .vcc-home-product-cards ul.products li.product > .vcc-v350-actions {
  box-sizing:border-box !important;
  display:grid !important;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:8px !important;
  align-items:stretch;
  width:calc(100% - 28px) !important;
  margin:8px 14px 0 !important;
  padding:0 !important;
}
body.home .vcc-home-product-cards ul.products li.product > .vcc-v350-actions > button {
  box-sizing:border-box;
  width:100%;
  min-width:0;
  min-height:38px;
  margin:0 !important;
  padding:8px 4px !important;
  font-size:12px;
  line-height:1.3;
  border-radius:8px;
  text-align:center;
  white-space:normal;
}
body.home .vcc-home-product-cards ul.products li.product > .vcc-v350-actions > button:only-child {grid-column:1/-1}
body.home .vcc-home-product-cards ul.products li.product > .added_to_cart {
  margin:7px 14px 0;
  text-align:center;
  font-size:12px;
}
@media(max-width:900px){
  body.home .vcc-home-product-cards ul.products li.product > a.woocommerce-LoopProduct-link > img,
  body.home .vcc-home-product-cards ul.products li.product > a.woocommerce-loop-product__link > img {height:180px !important;max-height:180px !important}
}
@media(max-width:700px){
  body.home .vcc-home-product-cards .woocommerce ul.products,
  body.home .vcc-home-product-cards ul.products {gap:11px !important}
  body.home .vcc-home-product-cards ul.products li.product > a.woocommerce-LoopProduct-link > img,
  body.home .vcc-home-product-cards ul.products li.product > a.woocommerce-loop-product__link > img {height:150px !important;max-height:150px !important;padding:8px !important}
  body.home .vcc-home-product-cards ul.products li.product .woocommerce-loop-product__title {font-size:12px !important;padding:0 9px !important;min-height:3.1em !important}
  body.home .vcc-home-product-cards ul.products li.product .price {font-size:14px !important;padding:0 9px !important}
  body.home .vcc-home-product-cards ul.products li.product .vcc-stock-indicator {padding:0 9px !important}
  body.home .vcc-home-product-cards ul.products li.product > a.button,
  body.home .vcc-home-product-cards ul.products li.product > a.add_to_cart_button,
  body.home .vcc-home-product-cards ul.products li.product > a.product_type_variable,
  body.home .vcc-home-product-cards ul.products li.product > a.product_type_simple,
  body.home .vcc-home-product-cards ul.products li.product > a.product_type_external {width:calc(100% - 18px) !important;margin:6px 9px 0 !important;font-size:11px !important;min-height:40px !important}
  body.home .vcc-home-product-cards ul.products li.product > .vcc-v340-quick {width:calc(100% - 18px) !important;margin:6px 9px 0 !important;min-height:38px;font-size:11px}
  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.home .vcc-home-product-cards ul.products li.product > .vcc-v350-actions button {font-size:10px;padding:7px 3px !important;min-height:34px}
  /* Respect the existing theme's Quick View preference for smaller screens. */
  body.home .vcc-home-product-cards ul.products li.product > .vcc-v340-quick {display:none !important}
  body.home .vcc-home-product-cards.vcc-home-mobile-quick ul.products li.product > .vcc-v340-quick {display:flex !important}
}
