/* BlueVitalis: isolated product card layout. Loaded LAST to override legacy styles. */
.bv-storefront .bv-product-grid{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:18px!important;align-items:stretch!important}
.bv-storefront .bv-product-grid.bv-shop-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}
.bv-storefront .bv-product-grid > .bv-v2-card{display:flex!important;flex-direction:column!important;position:relative!important;min-width:0!important;width:100%!important;height:auto!important;overflow:hidden!important;box-sizing:border-box!important;border:1px solid #d9e7e2!important;border-radius:16px!important;background:#fff!important;box-shadow:0 5px 20px #153e320b!important}
.bv-storefront .bv-product-grid > .bv-v2-card > .bv-v2-media{display:block!important;position:relative!important;flex:0 0 230px!important;width:100%!important;height:230px!important;min-height:230px!important;max-height:230px!important;box-sizing:border-box!important;padding:37px 14px 12px!important;overflow:hidden!important;background:#f6faf8!important;border-bottom:1px solid #e9f0ed!important}
.bv-storefront .bv-product-grid .bv-v2-media > .bv-v2-image{display:flex!important;align-items:center!important;justify-content:center!important;position:relative!important;width:100%!important;height:100%!important;min-width:0!important;min-height:0!important;overflow:hidden!important}
.bv-storefront .bv-product-grid .bv-v2-media > .bv-v2-image > img{display:block!important;position:static!important;float:none!important;width:100%!important;height:100%!important;min-height:0!important;max-height:100%!important;max-width:100%!important;object-fit:contain!important;object-position:center!important;margin:0!important;padding:0!important;transform:none!important}
.bv-storefront .bv-product-grid .bv-v2-topbadges{position:absolute!important;top:10px!important;left:10px!important;right:10px!important;z-index:2!important;display:flex!important;flex-wrap:wrap!important;gap:5px!important}
.bv-storefront .bv-product-grid .bv-v2-placeholder{display:flex!important;flex-direction:column!important;justify-content:center!important;align-items:center!important;gap:7px!important;width:100%!important;height:100%!important;text-align:center!important}
.bv-storefront .bv-product-grid .bv-v2-placeholder svg{width:43px!important;height:43px!important;flex:none!important}
.bv-storefront .bv-product-grid .bv-v2-placeholder span{font-size:13px!important;line-height:1.3!important}
.bv-storefront .bv-product-grid .bv-v2-placeholder small{font-size:10px!important;line-height:1.4!important}
.bv-storefront .bv-product-grid > .bv-v2-card > .bv-v2-info{display:flex!important;flex:1 1 auto!important;flex-direction:column!important;min-width:0!important;width:100%!important;box-sizing:border-box!important;padding:16px!important;gap:0!important}
.bv-storefront .bv-product-grid .bv-v2-meta{display:flex!important;align-items:center!important;justify-content:space-between!important;flex-wrap:wrap!important;gap:6px!important}
.bv-storefront .bv-product-grid .bv-v2-card h3{font-size:17px!important;line-height:1.3!important;margin:12px 0 8px!important;min-height:0!important}
.bv-storefront .bv-product-grid .bv-v2-description{font-size:12px!important;line-height:1.5!important;margin:4px 0 12px!important;min-height:0!important;display:-webkit-box!important;-webkit-line-clamp:2!important;-webkit-box-orient:vertical!important;overflow:hidden!important}
.bv-storefront .bv-product-grid .bv-v2-footer{display:flex!important;flex-direction:column!important;gap:10px!important;margin-top:auto!important;padding-top:13px!important;width:100%!important;min-width:0!important}
.bv-storefront .bv-product-grid .bv-v2-price{display:flex!important;align-items:baseline!important;flex-wrap:wrap!important;gap:5px 8px!important}
.bv-storefront .bv-product-grid .bv-v2-actions,.bv-storefront .bv-product-grid .bv-v2-actions .bv-cart-control,.bv-storefront .bv-product-grid .bv-v2-actions form{display:block!important;width:100%!important;max-width:100%!important;min-width:0!important;margin:0!important}
.bv-storefront .bv-product-grid .bv-v2-actions .bv-cart-add{display:block!important;width:100%!important;min-height:41px!important;border-radius:22px!important}
.bv-storefront .bv-product-grid .bv-v2-actions .bv-cart-stepper[hidden]{display:none!important}
.bv-storefront .bv-product-grid .bv-v2-actions .bv-cart-stepper:not([hidden]){display:flex!important;align-items:center!important;justify-content:space-between!important;width:100%!important}
.bv-storefront .bv-product-grid .bv-v2-details{display:flex!important;align-items:center!important;justify-content:center!important;min-height:39px!important;text-decoration:none!important}
@media(max-width:1050px){.bv-storefront .bv-product-grid,.bv-storefront .bv-product-grid.bv-shop-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:560px){.bv-storefront .bv-product-grid,.bv-storefront .bv-product-grid.bv-shop-grid{gap:10px!important}.bv-storefront .bv-product-grid > .bv-v2-card > .bv-v2-media{flex-basis:160px!important;height:160px!important;min-height:160px!important;max-height:160px!important;padding:32px 8px 8px!important}.bv-storefront .bv-product-grid > .bv-v2-card > .bv-v2-info{padding:11px!important}.bv-storefront .bv-product-grid .bv-v2-card h3{font-size:14px!important}}
@media(max-width:370px){.bv-storefront .bv-product-grid,.bv-storefront .bv-product-grid.bv-shop-grid{grid-template-columns:minmax(0,1fr)!important}}



/* Final storefront card correction: single control and compact horizontal footer.
   Scope to product cards only; no header, marquee or page layout changes. */
.bv-storefront .bv-product-grid > .bv-v2-card .bv-v2-footer {
  display:grid!important;
  grid-template-columns:minmax(0,1fr) auto!important;
  align-items:center!important;
  gap:10px!important;
  margin-top:auto!important;
  width:100%!important;
  min-height:58px!important;
}
.bv-storefront .bv-product-grid > .bv-v2-card .bv-v2-price {
  grid-column:1!important;grid-row:1!important;
  min-width:0!important;align-self:center!important;
}
.bv-storefront .bv-product-grid > .bv-v2-card .bv-v2-price strong {
  font-size:17px!important;font-weight:650!important;
}
.bv-storefront .bv-product-grid > .bv-v2-card .bv-v2-actions {
  grid-column:2!important;grid-row:1!important;
  display:flex!important;align-items:center!important;justify-content:flex-end!important;
  width:auto!important;min-width:0!important;max-width:100%!important;
  align-self:center!important;margin:0!important;
}
.bv-storefront .bv-product-grid > .bv-v2-card .bv-cart-control {
  display:flex!important;align-items:center!important;justify-content:flex-end!important;
  width:auto!important;min-width:0!important;height:40px!important;margin:0!important;
}
.bv-storefront .bv-product-grid > .bv-v2-card .bv-cart-add-form {
  display:block!important;width:auto!important;margin:0!important;
}
.bv-storefront .bv-product-grid > .bv-v2-card .bv-cart-add {
  display:inline-flex!important;align-items:center!important;justify-content:center!important;
  width:auto!important;min-width:112px!important;height:40px!important;min-height:40px!important;
  padding:0 14px!important;font-size:13px!important;font-weight:600!important;
  border-radius:10px!important;white-space:nowrap!important;
}
.bv-storefront .bv-product-grid > .bv-v2-card .bv-cart-stepper[hidden] {
  display:none!important;
}
.bv-storefront .bv-product-grid > .bv-v2-card .bv-cart-stepper:not([hidden]) {
  display:grid!important;grid-template-columns:36px 38px 36px!important;
  width:110px!important;min-width:110px!important;max-width:110px!important;
  height:40px!important;min-height:40px!important;align-items:stretch!important;
  margin:0!important;overflow:hidden!important;
}
.bv-storefront .bv-product-grid > .bv-v2-card .bv-cart-stepper:not([hidden]) button {
  display:flex!important;align-items:center!important;justify-content:center!important;
  width:36px!important;height:40px!important;min-height:0!important;
  padding:0!important;margin:0!important;line-height:1!important;
}
.bv-storefront .bv-product-grid > .bv-v2-card .bv-cart-stepper:not([hidden]) .bv-cart-qty {
  display:flex!important;align-items:center!important;justify-content:center!important;
  width:38px!important;height:40px!important;line-height:1!important;
}
/* When cart JS activates the stepper, remove the Add button entirely. */
.bv-storefront .bv-product-grid > .bv-v2-card .bv-cart-control:has(.bv-cart-stepper:not([hidden])) > .bv-cart-add-form {
  display:none!important;
}
.bv-storefront .bv-product-grid > .bv-v2-card .bv-v2-details {display:none!important}
@media(max-width:420px) {
 .bv-storefront .bv-product-grid > .bv-v2-card .bv-v2-footer {gap:5px!important}
 .bv-storefront .bv-product-grid > .bv-v2-card .bv-cart-add {min-width:88px!important;padding:0 8px!important;font-size:11px!important}
 .bv-storefront .bv-product-grid > .bv-v2-card .bv-cart-stepper:not([hidden]) {
   grid-template-columns:28px 30px 28px!important;width:86px!important;min-width:86px!important;max-width:86px!important
 }
 .bv-storefront .bv-product-grid > .bv-v2-card .bv-cart-stepper:not([hidden]) button {width:28px!important}
 .bv-storefront .bv-product-grid > .bv-v2-card .bv-cart-stepper:not([hidden]) .bv-cart-qty {width:30px!important}
}


/* VERIFIED card markup: compact typography override */
.bv-storefront .bv-product-grid > article.bv-v2-card .bv-v2-info h3,
.bv-storefront .bv-product-grid > article.bv-v2-card .bv-v2-info h3 a {
 font-size:15px!important;line-height:1.3!important;font-weight:650!important;letter-spacing:-.2px!important;
}
.bv-storefront .bv-product-grid > article.bv-v2-card .bv-v2-info h3 {margin:9px 0 7px!important}
.bv-storefront .bv-product-grid > article.bv-v2-card .bv-v2-category,
.bv-storefront .bv-product-grid > article.bv-v2-card .bv-v2-stock,
.bv-storefront .bv-product-grid > article.bv-v2-card .bv-v2-discount,
.bv-storefront .bv-product-grid > article.bv-v2-card .bv-v2-tag {
 font-size:11px!important;line-height:1.3!important;font-weight:600!important;
}
.bv-storefront .bv-product-grid > article.bv-v2-card .bv-v2-generic,
.bv-storefront .bv-product-grid > article.bv-v2-card .bv-v2-specs,
.bv-storefront .bv-product-grid > article.bv-v2-card .bv-v2-specs span,
.bv-storefront .bv-product-grid > article.bv-v2-card .bv-v2-specs strong {
 font-size:12px!important;line-height:1.4!important;font-weight:450!important;
}
.bv-storefront .bv-product-grid > article.bv-v2-card .bv-v2-description {
 font-size:12px!important;line-height:1.45!important;font-weight:400!important;
}
.bv-storefront .bv-product-grid > article.bv-v2-card .bv-v2-price strong {
 font-size:16px!important;line-height:1.25!important;font-weight:650!important;
}
.bv-storefront .bv-product-grid > article.bv-v2-card .bv-v2-price del,
.bv-storefront .bv-product-grid > article.bv-v2-card .bv-v2-price small {
 font-size:10px!important;line-height:1.3!important;font-weight:400!important;
}
.bv-storefront .bv-product-grid > article.bv-v2-card .bv-cart-add {
 font-size:12px!important;font-weight:600!important;
}
@media(max-width:560px){
 .bv-storefront .bv-product-grid > article.bv-v2-card .bv-v2-info h3,
 .bv-storefront .bv-product-grid > article.bv-v2-card .bv-v2-info h3 a {font-size:14px!important}
 .bv-storefront .bv-product-grid > article.bv-v2-card .bv-v2-price strong {font-size:15px!important}
}
