/** Shopify CDN: Minification failed

Line 8:0 Unexpected "<"
Line 25:49 Comments in CSS use "/* ... */" instead of "//"
Line 30:6 Comments in CSS use "/* ... */" instead of "//"

**/
<button
  type="button"
  data-valor-add
  data-variant-id="{{ product.selected_or_first_available_variant.id }}"
>
  Add to cart
</button>

<script>
  document.addEventListener('click', async (e) => {
    const btn = e.target.closest('[data-valor-add]');
    if (!btn) return;

    try {
      await window.ValorCart.addToCart({
        variantId: Number(btn.getAttribute('data-variant-id')),
        quantity: 1,
        properties: { Flavor: 'Blue Raspberry' } // optional
      });

      const cart = await window.ValorCart.getCart();
      console.log('Cart count:', window.ValorCart.cartCount(cart));
      // If you use Dawn cart drawer, you can trigger a refresh/open here.
    } catch (err) {
      console.error(err);
    }
  });
</script>


/* Keep header above Valor Elite section */
.valor-header {
  position: fixed !important;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 99999 !important;
}

/* Ensure Valor Elite section doesn’t block the header */
#ValorEliteProducts-template--17611279171683__custom_eliteproduct_section_VpdWAK {
  z-index: 2;
  position: relative; /* keep stacking context */
}

/* Ensure Valor Elite section doesn’t block the header */
#ValorAboutMission-template--17611279171683__custom_about_section_4A4EyU  {
  z-index: 2;
  position: relative; /* keep stacking context */
}

/* Ensure Valor Elite section doesn’t block the header */
#valor-about-values-template--18196182433891__custom_about_values_egANjq {
  z-index: 2;
  position: relative; /* keep stacking context */
}

/* Ensure Valor Elite section doesn’t block the header */
  #valor-about-team-template--18196182433891__custom_valor_about_team_QjMhp9  {
  z-index: 2;
  position: relative; /* keep stacking context */
}

/* Ensure Valor Elite section doesn’t block the header */
#valor-about-cta-template--18196182433891__custom_valor_productcard_UVR8ac  {
  z-index: 2;
  position: relative; /* keep stacking context */
}