/* HH Product Add-to-Cart UX */

/* Align qty + buttons */
.single-product form.cart{
  display:flex;
  align-items:center;
  gap:12px;
  flex-wrap:wrap;
}

/* Normalize Add to Cart button and View Cart anchor to look identical */
.single-product form.cart .single_add_to_cart_button,
.single-product form.cart .hh-view-cart-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  height:48px;
  padding:0 22px;
  line-height:1;
  font-family:inherit;
  font-size:16px;
  font-weight:600;
  border-radius:6px;
  text-decoration:none;
  color:#fff !important;
  box-sizing:border-box;
}

/* Hide View Cart by default; shown when cart has items */
.single-product .hh-view-cart-btn{
  display:none !important;
}

/* Show when body class indicates cart has items */
body.hh-cart-has-items.single-product .hh-view-cart-btn{
  display:inline-flex !important;
}

/* Inline message under buttons */
.single-product .hh-atc-inline-message{
  margin-top:10px;
  font-size:14px;
  font-weight:500;
  color:#ffffff;
  opacity:0.9;
}

/* Optional: hide Woo default "View cart" link if some plugin injects it */
.single-product a.added_to_cart.wc-forward{
  display:none !important;
}
